:root {
  --cd-header-color: #c08329;
  --cd-bg-color: #222;
  --cd-text-color: #fff;
  --cd-title-color: #fff;
  --cd-contnet-bg: #fff;
  --cd-btn-color: #c08329;
  --cd-btn-text-color: #fff;
  --cd-link-color: #c08329;
  --cd-footer-bg-img: url(../img/footer.jpg);
  --cd-footer-bg-color: #222;
  --cd-footer-text-color: #fff;
  --cd-footer-border: 0 solid #222;
  --cd-popup-ad-bg-color: #222;
  --cd-popup-container-bg-color: #fff;
}

.cmb2-wrap input.cmb2-text-medium,.cmb2-wrap input.cmb2-text-small,.cmb2-wrap input.cmb2-timepicker,.regular-text {
  width: 100%;
}

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

.campaign_dashboard td {
  padding: 10px;
}

div[class$=_ad] > div[id^=campaign] {
  clear: both;
  background: transparent;
  margin-bottom: 0;
  border: 0;
}

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

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

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

div[class$=_ad] input[type=email],[class$=_ad] input.btn {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  -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 .15s ease-in-out .15s;
  -o-transition: border-color ease-in-out .15s ease-in-out .15s;
  transition: border-color ease-in-out .15s ease-in-out .15s;
  border-radius: 0;
  border: 0;
}

div[class$=_ad] input[type=email]: focus,[class$=_ad] input.btn: focus {
  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);
  border-color: #c4c4c4;
}

div[class$=_ad] input.btn {
  color: var(--cd-btn-text-color)!important;
  margin: 0!important;
}

div[class$=_ad] input[type=submit] {
  background: var(--cd-link-color);
}

div[class$=_ad] .ad-header {
  background-color: var(--cd-header-color);
  padding: 5px 20px;
}

div[class$=_ad] .ad-header .ad-title {
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1.5;
  color: var(--cd-title-color);
}

div[class$=_ad] .ad-content {
  background-color: var(--cd-contnet-bg);
  padding: 10px 20px;
  min-height: 200px;
}

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

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

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

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

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

div[class$=_ad] .privacy-text p {
  text-align: center;
  font-size: .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 {
  font: 700 20px 'Open Sans',Arial,sans-serif;
  color: var(--cd-btn-text-color);
  cursor: pointer;
  background: var(--cd-btn-color);
  -webkit-box-shadow: -5px 5px 5px 0 rgba(0,0,0,0.3);
  -moz-box-shadow: -5px 5px 5px 0 rgba(0,0,0,0.3);
  box-shadow: -5px 5px 5px 0 rgba(0,0,0,0.3);
  padding: 10px 15px;
}

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

.toggle-btn {
  display: block;
  width: 50px;
  height: 50px;
  float: right;
  transition: all 1s;
  color: var(--cd-btn-text-color);
  font: 25px/50px 'Open Sans',Arial,sans-serif;
  text-align: center;
  background-color: var(--cd-btn-color);
}

.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;
  background: var(--cd-popup-container-bg-color);
  margin: 0 auto;
}

.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;
}

.footer_ad {
  position: absolute;
  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: .5em;
}

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

#banner_countdown .offer-block > strong {
  background: url(../img/icon-exclamation.jpg) 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: 700;
  font-size: 22px;
}

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

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

div[class$=_ad] a,div[class$=_ad] > div[id^=campaign] a {
  color: var(--cd-link-color);
}

.text-center {
  text-align: center;
}

.ad_content {
  background: var(--cd-contnet-bg);
}

.side_img_ad {
  margin-bottom: 15px;
  margin-top: 10px;
}

.banner_ad {
  margin-bottom: -30px;
  margin-top: 30px;
}

div[class$=_ad] {
  background-color: var(--cd-bg-color);
}

div[class$=_ad] .ad-header h2 {
  color: var(--cd-title-color);
}

div[class$=_ad] .privacy-text {
  color: var(--cd-text-color);
}

div.footer_ad {
  z-index: 9;
}

div.footer_ad,div.side_img_ad,div.in_feed_ad {
  background: none;
}

div.footer_ad > div[id$=footer_ad] {
  background:  var(--cd-footer-bg-img) no-repeat 50% var(--cd-footer-bg-color);
  color: var(--cd-text-color);
  background-size: auto 100%;
  opacity: .96;
  border: var(--cd-footer-border);
}

div.footer_ad .ad-form {
  width: 40%;
  margin: auto;
}

div.footer_ad > div[id$=footer_ad] input {
  border-radius: 0;
}

div.footer_ad > div[id$=footer_ad] input[type=submit] {
  background-color: var(--cd-btn-color);
}

.footer_ad .ad-form .form-group {
  padding: 0;
}

div.footer_ad > div[id$=footer_ad] .ad-content,div.footer_ad > div[id$=footer_ad] .ad-footer.privacy-text {
  background-color: var(--cd-footer-bg-color);
  color: var(--cd-footer-text-color);
  min-height: 0;
}

div.in_post_ad,div.eoa_ad {
  border: 1px solid;
  margin-bottom: 10px;
}

div.in_post_ad .ad-form,div.eoa_ad .ad-form {
  width: 60%;
  margin: auto;
}

div[class$=_ad] a: hover {
  color: var(--cd-btn-color);
}

div[id$=popup_ad] {
  background: var(--cd-popup-ad-bg-color);
}

div.popup_ad {
  background: rgba(0,0,0,0.6);
}

.pf-position-bottom-fixed {
  display: none;
}

.pf-position-bottom-left {
  display: block;
}

.cmb2-metabox .cmb-type-group,div[class$=_ad] * {
  max-width: 100%;
}

.cmb2-postbox .cmb-row,div[class$=_ad] p,[class$=_ad] h1,[class$=_ad] h2 {
  margin: 0;
  padding: 0;
}

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

.hide-btn.active,.toggle-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);
}

@media min-width768px {
  .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;
  }
}

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

@media only screen and (max-width:  720px) {
  .entry-content .ad-content img
  {
    float: right;
    width: 145px!important;
  }
  
  div.in_post_ad .ad-form,div.eoa_ad .ad-form
  {
    width: 100%;
    margin: auto;
  }
}

@media only screen and (max-width: 991.98px) {
  .entry-content .ad-content img
  {
    float: right;
    width: 145px!important;
  }
}

@media only screen and (max-width: 600px) {
  .pf-position-bottom-fixed
  {
    display: block;
  }
  
  .banner_ad,.pf-position-bottom-left
  {
    display: none;
  }
}