/*
* 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;
    display: flex;
    align-items: center;
}

.site_takeover_left {
    left: 0vw;
    justify-content: flex-end;
}

.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: flex;
    justify-content: 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;
}

body.admin-bar .site_takeover_top_sticky {
    top: 32px;
}

.site_takeover_top_sticky,
.site_takeover_bottom_sticky {
    max-width: var(--st-container-width);
    background: #fff;
    position: fixed;
    margin: 0 auto;
    right: 0;
    left: 0;
    z-index: 9999;
}

.site_takeover_top_sticky {
    top: 0px;
}

.site_takeover_bottom_sticky {
    bottom: 0;
}

body.admin-bar .fixed-nav-appear {
    top: var(--menu-height-in-admin) !important;
}

.fixed-nav-appear {
    top: var(--menu-height) !important;
}

@media screen and (max-width: 767px) {
    .site_takeover_popup_container img {
        max-width: 80vw;
        max-height: 60vh;
    }
    body.admin-bar .site_takeover_top_sticky {
        top: 46px;
    }
    .site_takeover_top_sticky {
        top: 0;
    }
}

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

.site_takeover_link {
    display: flex;
    justify-content: 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%;
        transform: translate(-50%, -50%);
    }
}

@media screen and (max-width: 600px) {
    .site_takeover_popup_container {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    body.admin-bar .site_takeover_top_sticky {
        top: 0px;
    }
}

@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%;
}

.td-boxed-layout .td-header-menu-wrap.td-affix {
    margin-top: var(--menu-height);
}