#fancybox-wrap.e2ma-modal {
  height: 340px !important;
  width: 30% !important;
  left: 35% !important;
  background: transparent url("../images/glutino-lb.png") no-repeat top center;
}
.e2ma-modal #fancybox-inner { width: 95% !important; top: 20px; }
.e2ma-modal #fancybox-outer { background: transparent; position: unset; }
.e2ma-modal .featured-heading { color: #842b38; margin-bottom: 10px; }
#EmmaSubmit {
  background: #842b38 none repeat scroll 0 0;
  border: 0 none;
  border-radius: 4px;
  color: #ffffff;
  font-size: 12px;
  margin: 0 5px 0 15px;
  padding: 10px 20px;
  text-decoration: none;
  text-transform: uppercase;
}
.e2ma-modal .alert-danger {
  background-color: #f2dede;
  border-color: #ebccd1;
  color: #a94442;
}
.e2ma-modal .alert {
  border: 1px solid transparent;
  border-radius: 4px;
  margin: 0 10px 10px 10px;
  padding: 10px;
}
#id_email, #id_zip {
  width: 90%;
  font-family: "Open Sans",sans-serif;
  font-size: 12px;
  padding: 8px;
  margin: 0 0 20px 10px;
  box-sizing: border-box;
  border: 1px solid #d7d7d7;
}

.e2ma-modal #id_firstname, #id_lastname {
  width: calc(45% - 7px);
  font-family: "Open Sans",sans-serif;
  font-size: 12px;
  padding: 8px;
  margin: 0 0 20px 10px;
  box-sizing: border-box;
  border: 1px solid #d7d7d7;
}
.e2ma-modal .has-error {
  clear: both;
  display: block;
  color: #c00;
  font-size: 14px;
}
.e2ma-modal #thanks { display: none; }
.e2ma-modal .e2malightbox { padding:20px; border: 2px solid #e2e2e2; border-radius: 5px; }
.e2ma-modal .row { margin-bottom: -10px; }
.e2ma-modal #formHeader, #thanks { margin: 10px; }

@media only screen and (max-width:768px) {

  #fancybox-wrap.e2ma-modal { width: 70% !important; top: 5% !important; left: 10% !important; }
  .e2ma-modal #id_email, .e2ma-modal #id_firstname, .e2ma-modal #id_lastname, .e2ma-modal #id_zip { width: 75% !important; }
  .e2ma-modal #id_firstname { margin: 0 0 15px 10px !important; }
  .e2ma-modal #id_lastname { margin: -5px 10px 20px !important;  }
  .e2ma-modal .featured-heading { font-size: 1em !important; }

}

@media only screen and (min-width:1281px) {
  #fancybox-wrap.e2ma-modal { width: 424px !important; left: calc(50% - 232px) !important; }
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  /* IE10+ CSS styles go here */
  .fancy-bg { display: none; }
}
