#spb-onclick_request .spb-popup-main-wrapper,
#spb-exitintentpopup .spb-popup-main-wrapper,
#spb-exitintentpopup2 .spb-popup-main-wrapper,
#spb-waitingpopup .spb-popup-main-wrapper,
#spb-waitingpopup2 .spb-popup-main-wrapper,
#spb-onclickpopup .spb-popup-main-wrapper {
  position: fixed;
  padding: 0;
  margin: 10px;
  border: solid 1px #ccc;
  border-radius: 4px;
  background-color: #fff;
  box-sizing: border-box;
  width: 100%!important;
  max-width: 400px!important;
}
#spb-waitingpopup .spb-popup-main-wrapper {
  max-width: 500px!important;
}
#spb-onclick_request .spb_close,
#spb-exitintentpopup .spb_close,
#spb-exitintentpopup2 .spb_close,
#spb-waitingpopup .spb_close,
#spb-waitingpopup2 .spb_close,
#spb-onclickpopup .spb_close {
  border-width: 0;
  margin: 0;
  font-size: 23px;
  padding: 0 2px;
  background: transparent;
}
#spb-exitintentpopup .spb_center,
#spb-exitintentpopup2 .spb_center,
#spb-waitingpopup .spb_center,
#spb-waitingpopup2 .spb_center,
#spb-onclickpopup .spb_center {
  top: 15%;
}
#onclick_request .spb-popup-bgd,
#spb-exitintentpopup .spb-popup-bgd,
#spb-exitintentpopup2 .spb-popup-bgd,
#spb-waitingpopup .spb-popup-bgd,
#spb-waitingpopup2 .spb-popup-bgd,
#spb-onclickpopup .spb-popup-bgd {
  z-index: 9;
  opacity: 0.5;
  background: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
/*
#spb-exitintentpopup .spb-controls,
#spb-waitingpopup .spb-controls,
#spb-onclickpopup .spb-controls {
  right: 23px;
}
*/
@media screen and (max-width: 992px) {
  #spb-onclick_request .spb_center,
  #spb-exitintentpopup .spb_center,
  #spb-exitintentpopup2 .spb_center,
  #spb-waitingpopup .spb_center,
  #spb-waitingpopup2 .spb_center,
  #spb-onclickpopup .spb_center {
    top: 5%;
  }
  #spb-waitingpopup2 > div > div{
    width: 95%!important;
  }
}
@media screen and (max-width: 400px) {
  #spb-onclick_request .spb_center,
  #spb-exitintentpopup .spb_center,
  #spb-exitintentpopup2 .spb_center,
  #spb-waitingpopup .spb_center,
  #spb-waitingpopup2 .spb_center,
  #spb-onclickpopup .spb_center {
    margin-left: -50%!important;
    border: none;
    padding: 4px;  
  }
}
/* web-form fitness first training popup */
#spb-onclick_request .spb_center {
  top: 19%;
}
#spb-onclick_request {
  position: relative;
}
#spb-onclick_request .spb-popup-form-wrap {
  position: absolute;
  background: #fff;
  z-index: 10;
}
#spb-onclick_request .spb_center {
  text-align: center;
  transition: 0.25s;
}
#onclick_request h2 {
  font-size: 23px;
  font-weight: 600;
  color: #444;
  max-width: 300px;
  line-height: 26px;
  margin: 20px auto 5px auto;
}
#onclick_request h2 span {
  display: block;
  letter-spacing: 2px;
}
#onclick_request .message-region {
  position: static;
  padding: 0;
}
#onclick_request .subtitle {
  font-size: 21px;
}
#onclick_request form {
  padding: 0 20px 20px 20px!important;
}
#onclick_request .form-item {
  text-align: left;
  font-weight: normal;
}
#onclick_request .form-item label.option {
  font-size: 15px;
  line-height: 20px;
}
#onclick_request .form-item label.option a {
  color: #e94347;
}
#onclick_request label[data-drupal-selector*=edit-note] {
  text-align: left;
  font-weight: normal;
  font-size: 15px;
  margin: 15px 0;
}
#onclick_request .form-item-corporative,
#onclick_request .form-item-terms-of-service {
  margin-bottom: -10px;
}
#onclick_request input[type=text],
#onclick_request input[type=tel],
#onclick_request input[type=email] {
  width: 100%!important;
  box-sizing: border-box!important;
  background-color: #fff!important;
}
#onclick_request input[type=submit] {
  display: block;
  margin: 5px auto;
}
.spb-popup-bgd {
  pointer-events: all;
}
