@import url('https://fonts.googleapis.com/css?family=Poppins');
.overlay {
    position: fixed;
    top: 0; bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 1500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 9999;
}

.background
{
    position: fixed;
    top: 0; bottom: 0;
    left: 0; right: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9998;
}

.subbedmessage 
{
  background: white;
  
  font-family:poppins;
  font-size: 24px;
  text-transform: uppercase;
  color: #000;  
  font-weight: 700;
  letter-spacing: 3px;
  
  border: 2px solid #DCDCDC;
  border-radius: 15px;
  
  padding: 30px 25px 30px 25px;
  text-align: center;
  
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  
  display: none;
}

.overlay:target {
    visibility: visible; opacity: 1;
}
#wotd {
     font-family:poppins;
 }
#wotd .popup {
    margin: 0px auto;
    padding: 50px 20px;
    background: #fff;
    border-radius: 0px;
    height: auto;
    width:35%;
    position: relative;
    text-align:
    center;top: 50% !important;
    position: fixed !important;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);right: 0px; left: 0;
}
#wotd .popup h2 {
     margin-top: 0; 
     color: #133;
 }
#wotd .popup .close {
    position: absolute;
    top: 0px;
    right: 0px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: normal;
    text-decoration: none;
    text-align: center;
    background: #333;
    border-radius: 0;
    cursor: pointer;
    float: right;
    padding: 0;
    color: #fff;
    margin-top: 0;
    margin-right: 0;
    height: 40px;
    width: 40px;
    line-height: 45px;
}
#wotd .popup .close:hover {
    color: #06D85F;
}
#wotd .popup .content {
    max-height: 30%;overflow: auto;
}
#wotd .newletter-title h2 {
    font-size: 24px;
    text-transform: uppercase;
    color: #000;  
    font-weight: 700;
    letter-spacing: 3px;
    margin: 15px 0 20px;
}
#wotd .box-content label {
    font-weight: 400;  
    max-width: 560px;  
    display: inline-block;  
    margin-bottom: 5px;  
    font-size: 14px; 
    line-height: 26px;
}
.newletter-popup {
    background: #fff;  
    top: 50% !important;   
    position: fixed !important; 
    padding: 0;  text-align: center;  
    -moz-transform: translateY(-50%);    
    -webkit-transform: translateY(-50%);  
    -o-transform: translateY(-50%);   
    -ms-transform: translateY(-50%);    
    transform: translateY(-50%);
}
#wotd #frm_subscribe #subscribe_pemail {
    background: #EBEBEB none repeat scroll 0% 0%;
    border: medium none;
    height: 40px;
    width: 65%;
    margin-bottom: 20px;
    padding-left: 15px;
}
#wotd #frm_subscribe a {
    cursor: pointer;
    border: none;
    background: #333;
    padding: 3px 25px;
    text-transform: uppercase;
    font-size: 14px;
    color: #fff;
    font-weight: 600;
    line-height: 34px;
    display: inline-block;
    border-radius: 0;
    letter-spacing: 2px;
}
#wotd .box-content .subscribe-bottom {
    margin-top: 20px;
}
#wotd .box-content .subscribe-bottom #newsletter_popup_dont_show_again {
    display: inline-block;    margin: 0;    vertical-align: middle;    margin-top: -1px;
}
#wotd .box-content .subscribe-bottom label {
    margin: 0;
    font-weight: 400;
    max-width: 650px;
    display: inline-block;
    margin-bottom: 5px;
    font-size: 12px;
}
.mylabel
{
    color:black;
}
.flags{
    margin: 5px 30px 5px 30px;
}
.flag{
    width:30px;
    height: 30px;
    padding: 0 3px 5px 3px;
    cursor: pointer;
    opacity: 0.5;
}

.selectedflag{
    border-bottom: 4px solid red;
    padding: 0 3px 1px 3px;
    opacity: 1.0;
}

#snackbar {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #fff;
  color: #333;
  text-align: center;
  border-radius: 2px;
  padding: 24px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
}

#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 5.5s;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@media screen and (max-width: 1024px) {
      #wotd .popup {
         width: calc(100% - 60px);
      }
      #wotd .popup h2{
         font-size: 18px;
         letter-spacing: 0px;
      }
   }
