@font-face{
  font-family: "lato-medium";
  src: url("../fonts/Lato-Medium.woff");
}
@font-face{
  font-family: "lato-light";
  src: url("../fonts/Lato-Light.woff");
}
@font-face{
  font-family: "lato-regular";
  src: url("../fonts/Lato-Regular.woff");
}
body{
  background-color: #e4eef5;
}
.email-alert{
  position: relative;
  background-color: #fff;
  max-width: 505px;
  margin: auto;
  padding: 42px 40px;
  line-height: 6px;
  box-shadow: 0px 0px 50px -20px rgba(0,0,0,0.75);
}
.email-alert b{
  font-family: "lato-medium";
  line-height: 17px;
}
.email-alert p{
  font-family: "lato-light";
  line-height: 17px;
}
.email-alert form{
  margin-top: 28px;
}
.email-alert .btn{
  margin: 0;
  padding: 10px;
  border-radius: 6px;
  background-color: #3b8bae;
  color: #fff;
  box-shadow: 0px 0px 0px 0px #fff;
  border: none;
  font-size: 14px;
  font-family: "lato-regular";
  width: 140px;
  float: right;
}
.email-alert .input-text{
  border: 1px solid #CCCCCC;
  margin: 0;
  padding: 8px 15px;
  border-radius: 6px;
  color: #3b8bae;
  font-size: 14px;
  font-family: "lato-regular";
  line-height: 20px;
  width: 320px;
}
.email-alert .close{
  position: absolute;
  top: -10px;
  right: -10px;
}
#openemail:target{
  opacity:1;
  pointer-events:auto;
}

.open{
  opacity:0;
  pointer-events:none;
  transition: all 1s;
}
@media screen and (max-width: 685px){
  .email-alert{
    padding-bottom: 80px;
  }
  .email-alert .input-text{
    width: 100%;
    margin-bottom: 15px;
    padding: 8px 0;
    text-align: center;
  }
  .email-alert .btn{
    width: 100%;
    margin-bottom: 15px;
  }
}