#mask {
  position:fixed;
  left:0;
  top:0;
  height:100%;
  z-index:999999!important;
  background-color:#000;
  display:none;
}  
#boxes .window {
  position:fixed;
  left:0;
  top:0;
  /*width:440px;
  height:200px;*/
  display:none;
  z-index:9999999!important;
  padding:0px;
  border-radius: 5px;
  text-align: center;
  width:60%;
  background:#fff;
}
#boxes #dialog {
  /*width:450px; 
  height:auto;*/
  padding:0px;
  background-color:#fff;
}
#boxes .window .logo-mob {
display:none;
}
#boxes .window .bg-right {
background:url(../images/popup.jpg) center bottom no-repeat;
background-size:cover;
}
#boxes .window .logo-top {
width:60px;
height:60px;
border-radius:50%;
padding:10px 0px 0px 0px;
background:#fff;
box-shadow:0px 0px 5px #ccc;
position:absolute;
top:-20px;
left:-20px;
}
#boxes .window .logo-top img {
width:40px;
	}

.shut {
  position: absolute;
  width:30px;
  height:30px;
  top: -15px;
  right: -10px;
  padding:2px;
  line-height:24px;
  transition: all 200ms;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #222!important;
  background-color: rgba(255,255,255,.8)!important;
  border: 2px solid #999;
  border-radius: 50px;
  z-index:99999999999999999999999999!important;
}
.shut:hover {
  color: #0DA6F3;
}

/*------------------------------------------------------------------*/

.overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 0px auto;
  padding: 10px;
  background: #fff;
  border-radius: 5px;
  width: 661px;
  position: relative;
  transition: all 5s ease-in-out;
  z-index:99999999999999999999999999!important;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-size:20px;
}
.popup .shut {
  position: absolute;
  top: 10px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
  
  z-index:999999999!important;
}
.popup .shut:hover {
  color: #06D85F;
}
.popup .content {
  /*max-height: 30%;
  overflow: auto;
  padding:10px;*/
}
@media (max-width:768px) {
#boxes .window {
  position:fixed;
  left:5%!important;
  top:0;
  /*width:440px;
  height:200px;*/
  display:none;
  z-index:9999999;
  padding:20px;
  border-radius: 5px;
  text-align: center;
  width:90%;
}
#boxes .window .logo-mob {
display:block;
margin:0px auto;
text-align:center;
}
#boxes .window .logo-mob img {
width:40px;
margin-bottom:20px;
}

.d-mob-none {
display:none;
}


}

.blinking-text {
  animation: blink 1s step-start infinite;
  color: red; /* optional styling */
}

@keyframes blink {
  50% {
    opacity: .5;
  }
}
