.cmb2-wrap input.cmb2-text-medium, 
.cmb2-wrap input.cmb2-text-small, 
.cmb2-wrap input.cmb2-timepicker, 
.regular-text {
  width: 100%;
}
.cmb2-metabox .cmb-type-group { max-width:100%; }

.cmb2-postbox .cmb-row { padding: 0; margin: 0; }

.span-inline{ display: inline-block; }

.campaign_dashboard td {
  padding: 10px;
}

div[class$=_ad] > div[id^=campaign] {
  border: 1px solid #000;
  margin-bottom: 15px;
  clear: both;
  background: #fff;
}

div a[href$="action=edit"] {
  color: red !important;
  text-decoration: underline;
}

div[class$=_ad]:empty {
  border: none
}

div[class$=_ad] * {
  max-width: 100%;
}

div[class$=_ad] a {
  text-decoration: underline;
}

div[class$=_ad] a.conversion_item img {
  display: block;
  margin: 0 auto;
}

div[class$=_ad] p, [class$=_ad] h1, [class$=_ad] h2 {
  padding: 0;
  margin: 0;
}

div[class$=_ad] input[type=email], [class$=_ad] input.btn {
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid #c4c4c4;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;	
}

div[class$=_ad] input[type=submit] {
  background: #c4c4c4;
}

div[class$=_ad] input[type=email]:focus, [class$=_ad] input.btn:focus {
  border-color: #c4c4c4;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 49, 108, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(0, 49, 108, 0.6);
}


div[class$=_ad] input.btn {
  color: #fff !important;
  display: block;
  width: 100%;
  padding: 6px 12px;
  margin: 0 !important;
}

div[class$=_ad] .ad-header {
  padding: 5px 20px;
}

div[class$=_ad] .ad-header .ad-title {
  font-weight: bold;
  font-size: 1.2em;
  line-height: 1.5;
}

div[class$=_ad] .ad-content {
  padding: 10px 20px 0;
}

div[class$=_ad] .ad-content p {
  margin-bottom: 0.5em;
}

div[class$=_ad] .ad-content ul, [class$=_ad] .ad-content ol {
  margin: 1em 0; 
  padding-left: 40px;
  list-style: initial;
}

div[class$=_ad] .ad-form .g-recaptcha > div {
  margin: 0 auto;
}

div[class$=_ad] .ad-form .form-group {
  margin-bottom: 0px;
}

div[class$=_ad] .ad-footer, [class$=_ad] .ad-form {
  padding: 5px 20px;
  clear: both;
}

div[class$=_ad] .privacy-text p {
  text-align: center;
}

div[class$=_ad] .privacy-text p {
  font-size: 0.8em;
}

div[class^=popup_] .close-container{ position: absolute; right: 0; }

.close-container .close-btn, .close-container .hide-btn {
  float: right;
  position: relative;
}

.close-btn, .hide-btn {
  background: #001a39;
  margin: 0 auto;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 20px;
  color: #fff;
  cursor: pointer;
  font-family: 'Open Sans', Arial, sans-serif;
}

.hide-btn { 
  display: none;   
  background-image: url('../img/icon-chevron-down.jpg');
  background-repeat: no-repeat;
  transition: all 1s;
}

.hide-btn.active {
  -webkit-transform: rotate(-180deg);
  -moz-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  -o-transform: rotate(-180deg);
  filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=6);
}

/* POPUP STYLES */
.popup_ad {
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: none;
}

.popup_ad .popup-container {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
}

.popup_ad-bg {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
  background: transparent !important;
}

.popup_ad .close-container .close-btn {
  top: -20px;
  left: 25px;
}
/* POPUP STYLES END */

/* FOOTER STYLES */
.footer_ad {
  position: fixed;
  width: 100%;
  bottom: 0;
  font-size: 1.5em;
  transition: all 1s;
}

.footer_ad > div[id^=campaign] {
  margin-bottom: 0 !important;
}

.footer_ad .close-container .close-btn {
  top: 20px;
  right: 15px;
}

.footer_ad .ad-footer.privacy-text p {
  display: inline-block;
  font-size: 0.5em;
}

@media (min-width: 768px) {
  .footer_ad .ad-form {
    font-size: 0;
    padding: 0;
  }

  .footer_ad .ad-form .form-group {
    display: inline-block;
    padding: 0 10px;
  }

  .footer_ad .ad-form .form-group.form-email {
    width: calc(100% - 300px);
  }

  .footer_ad .ad-form .form-group.form-submit {
    width: 300px;    
  }

  .footer_ad .ad-form .form-group > input {
    font-size: initial;
  }
}
/* FOOTER STYLES END */

/* BANNER STYLES */
.banner_ad a, .banner_ad a img, .in_feed_ad a, .in_feed_ad a img {
  display: block;
  margin: 0 auto;
}

#banner_countdown {
  background: #d10000;
  text-align: center;
  padding: 15px;
  color: #fff !important;
  font-family: 'Open Sans';
  font-size: 18px;
}

#banner_countdown .offer-block > strong {
  background-image: url('../img/icon-exclamation.jpg');
  background-repeat: no-repeat;
  padding-left: 45px;
}

#banner_countdown img {
  padding-right: 15px;
  width: initial;
  vertical-align: text-bottom;
}

#banner_countdown span.offer-block, #banner_countdown span.digit {
  font-weight: bold;
  font-size: 22px;
}

#banner_countdown span.offer-block {
  padding-right: 15px;
}

#banner_countdown span.digit {
  background: #000;
  margin-right: 5px;
  padding: 5px 10px;
  border-radius: 5px;
}

@media only screen and (max-width: 991px) {
  #banner_countdown span.offer-block{
    display: block;
    margin-bottom: 20px;  
  }
}
/* BANNER STYLES END */