/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 3 version
*/

.site_takeover_left,
.site_takeover_right {
    content:'';
    position: fixed;  
    top: 0;
    height: 100vh;
    z-index:998; 
}    
.site_takeover_left {
    left: 0vw;
}
.site_takeover_right {
    left: initial; 
    right: 0vw; 
}

 .site_takeover_popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  z-index: 99999;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
 }
 .site_takeover_popup_backdrop{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  cursor: default;
 }
 .site_takeover_popup_close{
  position: absolute;
  right: 0;
  top: 0;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  z-index: 1;
  cursor: pointer;
  background-size: contain;
  background-color: rgba(0,0,0,.2);
 }
 .site_takeover_popup_close svg, 
 .site_takeover_popup_close svg path {
    fill: #000;
    stroke: #000;
 }
 .site_takeover_popup_container a{
  display: block;
 }
 .site_takeover_popup_container img{
  max-width: 60vw;
  max-height: 70vh;
  border: 1px solid #FFF;
  overflow: hidden;
  border-radius: 0px;
 }

@media screen and (max-width: 767px){
 .site_takeover_popup_container img{
  max-width:80vw;
  max-height:60vh;
 }
}


.site_takeover_left {
    text-align: right;
    text-align: -webkit-right;
    text-align: -moz-right;
}

.aspect-ratio-keeper {
    width: 100%;
    height: 100%;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}

.aspect-ratio-keeper[style*='--aspect-ratio'] > :first-child {
    width: 100%;
}
.aspect-ratio-keeper[style*='--aspect-ratio'] > img {  
    height: auto;
} 
@supports (--custom:property) {
    .aspect-ratio-keeper[style*='--aspect-ratio'] {
        position: relative;
    }
    .aspect-ratio-keeper[style*='--aspect-ratio']::before {
        content: '';
        display: block;
        padding-bottom: calc(100% / (var(--aspect-ratio)));
    }  
    .aspect-ratio-keeper[style*='--aspect-ratio'] > :first-child {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
    }  
}

.site_takeover_link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.site_takeover_popup_container {
    position: absolute;
}

@media screen and (min-width: 601px) {
    .site_takeover_popup_container.left {
        left: 0;
    }
    .site_takeover_popup_container.right {
        right: 0;
    }
    .site_takeover_popup_container.top {
        top: 0;
    }
    .site_takeover_popup_container.bottom {
        bottom: 0;
    }
    .site_takeover_popup_container.center {
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%);
    }
}

@media screen and (max-width: 600px) {
    .site_takeover_popup_container {
        top: 50%;
        left: 50%;
        -webkit-transform: translate(-50%, -50%);
            -ms-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%);
    }
}

@media screen and (min-width: 1200px) {
    .site_takeover_popup:not(.always_visible) {
        display: none;
    }
}

.site_takeover_popup iframe {
    max-width: none;
}

.site_takeover_right .site_takeover_link iframe,
.site_takeover_left .site_takeover_link iframe {
    width: 100%;
    height: 100%;
}