#modal-homepopup-open-btn {
  display: none;
}


/* REF: https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_modal2  */

/* The Modal (background) */
#modal-homepopup {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  /*z-index: 1;  Sit on top */
  padding-top: 170px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
body.toolbar-horizontal #modal-homepopup {
  padding-top: 288px;
}



/* Modal Content */
#modal-homepopup .modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 80%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.8s;
  animation-name: animatetop;
  animation-duration: 0.8s
}
.is_mobile #modal-homepopup .modal-content {
  width: 90%;
}


#modal-homepopup .modal-header {
  height: 64px;
  padding: 1px 20px;
  padding-right: 3px;
  background-color: #7fbe25;
}

#modal-homepopup .modal-header h2 {
  color: white;
}

#modal-homepopup .modal-body {
  padding: 20px;
  font-size: 18px;
}

#modal-homepopup .modal-footer {
  padding: 10px 20px;
  background-color: #5cb85c;
  color: white;
}


/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0} 
  to {top:0; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:0; opacity:1}
}

/* The Close Button */
#modal-homepopup-close-btn {
  padding: 9px 20px;
  color: white;
  float: right;
  font-size: 35px;
  font-weight: bold;
  font-family: 'Hind';
}
.font-size-normal #modal-homepopup-close-btn {
  padding: 7px 20px;
}
.font-size-bigger #modal-homepopup-close-btn {
  padding: 5px 20px;
}


#modal-homepopup-close-btn:hover,
#modal-homepopup-close-btn:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}