.wv-popup:not(.preview) {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999999999;
  width: auto;
}
.bg-container{
  overflow: hidden;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}
.wv-popup {
  padding: 0px;
  background: #000;
  box-shadow: 0 0 9px 0px rgba(0, 0, 0, 0.79);
  max-width: 500px;
  text-align: center;
  background-size: cover;
  background-position: center;
  box-sizing: border-box;
}
.wv-popup:not(.preview) {
  max-width: none;
}
.wv-popup-content-image {
  margin-bottom: 0px;
}
.wv-popup-bg{
  position: absolute;
  left: -5px;
  right: -5px;
  top: -5px;
  bottom: -5px;
  background-size: cover;
  background-position: center;
      filter: blur(3px);
}
.wv-popup>div:not(.wv-popup-bg) {
  padding-top: 50px;
  background: rgba(0, 0, 0, 0.7);
  background: #00256e;
}
.wv-popup.preview {
  position: relative;
  float:none;
}
.wv-popup.preview img{
max-width: 100%;
}

.wv-popup-content{
  padding: 20px;
    font-size: 16px;
}
.wv-popup-content p{
  font-size: 16px;
}
.wv-popup-content .code{
  background-color: #d10016;
      padding: 10px 20px;
      margin-top: 10px;
      margin-bottom: 10px;
      display: inline-block;
}



.wv-popup .close {
  position: absolute;
  top: -20px;
  right: -15px;
  background: #fff;
  padding: 5px 7px;
  cursor: pointer;
  border: 1px solid #d10016;
  color: #fff !important;
  font-size: 12pt;
  background: #d10016;
}
.wv-popup .close i{
  position: relative;
  top: 1px;
  left: 0px; 
  font-size: 30px;
}
.wv-popup .close i::before{
  margin-right:0;
}
.wv-popup.preview .close i::before{
  margin-left:0;
}

.wv-popup .uk-button {
  color: #000;
  background: #efefef;
  font-size: 12pt;
}
.wv-popup .uk-button:hover {
  color: #fff;
  background: #000;
}
body .wv-popup h2 {
  color: #fff !important;
  background: #00256e;
  width: 100%;
  font-size: 20px;
      padding: 5px;
}
body.page-id-2198  .wv-popup h2, body.page-id-2192 .wv-popup h2 {
  color: #fff !important;
}

.wv-popup h2::before {
  display: none !important;
}

.wv-popup p {
  font-weight: bold;
  color: #000;
  color: #fff;
}
.wv-popup a{
  color: #fff;
  text-decoration: underline;
}
.wv-popup a:hover{
  color: #fff;
}
.wv-popup>div span.fa{
  color: #fff;
  margin-right: 10px;
  font-size: 16pt;
  text-align: center;
  width: 25px;
}
.wv-popup>div a:hover span.fa{
  color: #000;
}
.wv-popup>div:not(.banner) {
  padding-top: 0px;
  padding-top: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
}
@media (min-width: 768px) {

  .wv-popup h2 {
      position: absolute;
      top: 0;
  }
  

  
}
@media (max-width: 767px) {
  .wv-popup:not(.preview) {
    left: 0px;
    max-width: 100%;
    right: 0px;
    text-align: center;
    bottom: 0px;
  }
  .wv-popup:not(.preview) .close {
    /*
    left: 50%;
    width: auto;
    right: auto;
    */
    transform: translate(0%, -100%);
    top: 0;
    right:0;
  }

  .wv-popup h2 {
    position: absolute;
    top: 30px;
  }
  
}

footer{
  transition: padding-bottom 0.2s ease 0s;
  -webkit-transition: padding-bottom 0.2s ease 0s;
}

.wv-popup .banner{
  display: none;
  cursor: pointer;
}

.wv-popup>div:not(.wv-popup-bg).banner{
  padding-top:0;
  background-image: none;
  background: #d10016;
  padding: 20px 20px;
  
}
.wv-popup>div:not(.wv-popup-bg).banner .btn{
  font-weight: bold;
      color: #fff;
}
.wv-popup:not(.preview).seen {
  display: block;
  width: auto;
  height: auto;
  min-height: 1px;
  background: #d10016;
  right: 85px;
  left: auto;
  bottom:0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 0 4px 0px rgb(0 0 0 / 79%);
  padding: 0 0 40px 0;
  margin-bottom: -40px;
  animation: wiggle 5s infinite;
}
.wv-popup:not(.preview).seen>*  {
  display: none;
}
.wv-popup:not(.preview).seen>.banner  {
  display: block;
}


@keyframes wiggle {
    0% { transform: rotate(0deg); }
   90% { transform: rotate(0deg); }
   93% { transform: rotate(5deg); }
   98% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}


.wv-popup-content .btn{
  padding: 10px;
  background: #000000;
  color: #fff;
  position: absolute;
  bottom:0;
  right:0;
  text-decoration: none;
}
.wv-popup-content .btn:hover{
  background: #000000;
  color: #fff;
  text-decoration: underline;
}


.wv-popup-content .svg{
  width: 100%;
}

.wv-popup-content .text {
    font-weight: bold;
    font-size: 29pt;
    color: #d10016;
}

@media (max-width: 400px) {
  .wv-popup-content .text {
      font-size: 26pt;
  }
}
@media (max-width: 370px) {
  .wv-popup-content .text {
      font-size: 24pt;
  }
}



.wv-popup-content{
  width: 100%;
  padding: 0;
  height: 100%;
}
.wv-popup-content .row{
  display: flex;
  height: 100%;    
}
.wv-popup-content .large{
  font-size: 74pt;
  margin-bottom: 0px;
  /*margin-bottom: 60px;*/
  display: inline-block;
  color: #00256e;
}

.wv-popup-content .large img{
  width: 300px;
  max-width: 100%;
}
.wv-popup-content .medium{
  font-size: 26pt;
}
.wv-popup-content .row>div:nth-child(1){
  background: #fff;
  color: #000;
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  
  padding-left: 20px;
  padding-right: 20px;
}
.wv-popup-content .row>div:nth-child(2){
  background: #c92f24;
  color: #fff;
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  font-size: 22pt;
  line-height: 1.2;
  
  padding-left: 10px;
  padding-right: 10px;
}
.wv-popup-content .date{
  font-size: 16pt;
  letter-spacing: 1px;
}
.wv-popup-content .row>div p:last-child{
  margin-bottom: 0;
}

.wv-popup h2 {
  display: none;
}
.wv-content-container{
  padding-top:0 !important;
  line-height: 0;
}
.wv-popup>div:not(.wv-popup-bg).banner{
  padding: 10px 20px;
}

@media (max-width: 767px) {
  .wv-popup:not(.preview).seen{
    right: 10px;
  }
  .wv-popup-content .large img{
    width: 160px;
    max-width: 100%;
  }
}

@media (max-width: 440px) {
  .wv-popup-content .row{
        flex-wrap: wrap;
        margin-top: 24px;
  }
  .wv-popup-content .row{
        margin-top: 0px;
  }
  .wv-popup-content .row>div:nth-child(1){
    flex: 0 0 100%;
  }
  .wv-popup-content .row>div:nth-child(2){
    font-size: 18pt;
  }
  .wv-popup-content .large{
    font-size: 50pt;
    margin-bottom: 0px;
    /*margin-bottom: 40px;*/
  }
  .wv-popup-content .large img{
    width: 133px;
    max-width: 100%;
  }
  .wv-popup-content .medium{
    font-size: 22pt;
  }
  

  .wv-popup>div:not(.wv-popup-bg).banner{
    padding: 10px 20px;
  }
}