.ml-auto {
    margin-left: auto;
}

.advs-footer {
    /*height: 295px;*/
    max-width: 215px;
    /*margin: auto;*/
}

.advs-footer img {
    object-fit: contain;
    object-position: center;
    border: 1px solid var(--footer-border);
}

@media (min-width: 1380px) {
    .gate_container {
        max-width: 1365px;
    }

    #gate-b-without-side {
        width: 100%;
        max-width: 1365px;
    }

    #gate-b {
        width: 100%;
        max-width: 1365px;
    }
}

#gate-b-without-side img {
    width: 100%;
}

#gate-b img {
    /*box-shadow: 0 0 5px 1px #afafaf;*/
    width: 100%;
    /*max-height: 250px;*/
}

#side-b {
    display: none;
    position: absolute;
    width: 100%;
    max-width: 1365px;
}

#side-b img {
    max-width: 100%;
    position: relative;
    z-index: -1;
    /*box-shadow: 0 5px 5px 1px #afafaf;*/
}

@media (max-width: 767px) {
    .mobile_side_ads {
        display: block!important;
    }
    .desktop_side_ads, .mobile_side_block {
        display: none!important;
    }
}
.mobile_side_ads{
    display: none;
}
.mobile_show_tests {
    display: none !important;
}

@media (min-width: 1380px) {
    #side-b {
        /*display: flex;*/
        display: flex;
        flex-wrap: nowrap
    }

    /*#side-b {*/
    /*    display: none;*/
    /*    position: absolute;*/
    /*    width: 100%;*/
    /*    max-width: 1365px;*/
    /*}*/

}

@media screen and (max-width: 1379px) {
    /*iframe {*/
    /*    height: 90px !important;*/
    /*}*/
    /*.always-banner {*/
    /*    height: 95px !important;*/
    /*    width: 100% !important;*/
    /*}*/
    /*.gate_container {*/
    /*    max-width: 1000px !important;*/
    /*    !*width: 100%;*!*/
    /*}*/
    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 1379px;
    }

    #side-b img {
        max-width: 150px;
    }

}

@media screen and (max-width: 1280px) {
    /*.always-banner span {*/
    /*    right: 15%;*/
    /*}*/
    /*iframe {*/
    /*    height: 90px !important;*/
    /*}*/
    /*.always-banner .container {*/
    /*    width: 920px;*/
    /*}*/
    /*.always-banner {*/
    /*    !*height: 70px !important;*!*/
    /*    width: 1280px !important;*/
    /*}*/
    .gate_container {
        max-width: 920px !important;
        /*width: 100%;*/
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 1280px !important;
    }

    #side-b img {
        max-width: 180px;
    }

}

@media screen and (max-width: 980px) {
    /*iframe {*/
    /*    height: 65px !important;*/
    /*}*/
    /*.always-banner {*/
    /*    height: 65px !important;*/
    /*    width: 100% !important;*/
    /*}*/
    .gate_container {
        max-width: 700px !important;
        /*width: 100%;*/
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 980px;
    }

    #side-b img {
        max-width: 150px;
    }

}

@media screen and (max-width: 800px) {
    /*.always-banner span {*/
    /*    right: 1%;*/
    /*}*/
    /*iframe, .always-banner {*/
    /*    height: 60px !important;*/
    /*}*/
    /*.always-banner {*/
    /*    width: 100% !important;*/
    /*}*/
    .gate_container {
        max-width: 550px !important;
        /*width: 100%;*/
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 800px;
    }

    #side-b img {
        max-width: 125px;
    }

}

@media screen and (max-width: 720px) {
    /*.always-banner span {*/
    /*    right: 1%;*/
    /*}*/
    /*iframe, .always-banner {*/
    /*    height: 55px !important;*/
    /*}*/
    /*.always-banner {*/
    /*    width: 100% !important;*/
    /*}*/
    .gate_container {
        max-width: 520px !important;
        width: 100%;
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 720px;
    }

    #side-b img {
        max-width: 100px;
    }

}

@media screen and (max-width: 700px) {
    /*.always-banner span {*/
    /*    right: 1%;*/
    /*}*/
    /*iframe, .always-banner {*/
    /*    height: 55px !important;*/
    /*}*/
    /*.always-banner {*/
    /*    width: 100% !important;*/
    /*}*/
    .gate_container {
        max-width: 500px !important;
        width: 100%;
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 700px;
    }

    #side-b img {
        max-width: 100px;
    }

}

@media screen and (max-width: 640px) {
    /*.always-banner span {*/
    /*    right: 1%;*/
    /*}*/
    /*iframe, .always-banner {*/
    /*    height: 55px !important;*/
    /*}*/
    /*.always-banner {*/
    /*    width: 100% !important;*/
    /*}*/
    .gate_container {
        max-width: 540px !important;
        width: 100%;
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 640px;
    }

    #side-b img {
        max-width: 100px;
    }

}

@media screen and (max-width: 540px) {
    /*.always-banner span {*/
    /*    right: 1%;*/
    /*}*/
    /*iframe, .always-banner {*/
    /*    height: 50px !important;*/
    /*}*/
    /*.always-banner {*/
    /*    width: 100% !important;*/
    /*}*/
    .gate_container {
        max-width: 400px !important;
        /*width: 100%;*/
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 540px;
    }

    #side-b img {
        max-width: 70px;
    }

}

@media screen and (max-width: 500px) {
    /*.always-banner span {*/
    /*    right: 1%;*/
    /*}*/
    /*iframe, .always-banner {*/
    /*    height: 50px !important;*/
    /*}*/
    /*.always-banner {*/
    /*    width: 100% !important;*/
    /*}*/
    .gate_container {
        max-width: 360px !important;
        /*width: 100%;*/
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 500px;
    }

    #side-b img {
        max-width: 70px;
    }

}

@media screen and (max-width: 480px) {
    /*.always-banner span {*/
    /*    right: 1%;*/
    /*}*/
    /*iframe, .always-banner {*/
    /*    height: 50px !important;*/
    /*}*/
    /*.always-banner {*/
    /*    width: 100% !important;*/
    /*}*/
    .gate_container {
        max-width: 360px !important;
        /*width: 100%;*/
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 480px;
    }

    #side-b img {
        max-width: 60px;
    }

}

@media screen and (max-width: 420px) {
    /*.always-banner span {*/
    /*    right: 1%;*/
    /*}*/
    /*iframe, .always-banner {*/
    /*    height: 45px !important;*/
    /*}*/
    /*.always-banner {*/
    /*    width: 100% !important;*/
    /*}*/
    .gate_container {
        max-width: 320px !important;
        /*width: 100%;*/
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 420px;
    }

    #side-b img {
        max-width: 50px;
    }

}

@media screen and (max-width: 414px) {
    /*.always-banner span {*/
    /*    right: 1%;*/
    /*}*/
    .gate_container {
        max-width: 314px !important;
        /*width: 100%;*/
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 414px;
    }

    #side-b img {
        max-width: 50px;
    }

}

@media screen and (max-width: 412px) {
    /*.always-banner span {*/
    /*    right: 1%;*/
    /*}*/
    .gate_container {
        max-width: 312px !important;
        /*width: 100%;*/
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 412px;
    }

    #side-b img {
        max-width: 50px;
    }

}

@media screen and (max-width: 405px) {
    /*.always-banner span {*/
    /*    right: 1%;*/
    /*}*/
    .gate_container {
        max-width: 305px !important;
        /*width: 100%;*/
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 405px;
    }

    #side-b img {
        max-width: 50px;
    }

}

@media screen and (max-width: 400px) {
    /*.always-banner span {*/
    /*    right: 1%;*/
    /*}*/
    .gate_container {
        max-width: 300px !important;
        /*width: 100%;*/
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 400px;
    }

    #side-b img {
        max-width: 50px;
    }

}

@media screen and (max-width: 393px) {
    /*.always-banner span {*/
    /*    right: 1%;*/
    /*}*/
    .gate_container {
        max-width: 293px !important;
        /*width: 100%;*/
    }

    #side-b {
        display: flex;
        position: absolute;
        /*width: 100%;*/
        max-width: 393px;
    }

    #side-b img {
        max-width: 50px;
    }

}

@media screen and (max-width: 384px) {
    /*.always-banner span {*/
    /*    right: 0.5%;*/
    /*}*/
    .gate_container {
        max-width: 284px !important;
        /*width: 100%;*/
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 384px;
    }

    #side-b img {
        max-width: 50px;
    }

}

@media screen and (max-width: 375px) {
    /*.always-banner span {*/
    /*    right: 0.5%;*/
    /*}*/
    /*iframe, .always-banner {*/
    /*    height: 40px !important;*/
    /*}*/
    /*.always-banner {*/
    /*    width: 100% !important;*/
    /*}*/
    .gate_container {
        max-width: 275px !important;
        /*width: 100%;*/
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 375px;
    }

    #side-b img {
        max-width: 50px;
    }

}

@media screen and (max-width: 360px) {
    /*.always-banner span {*/
    /*    right: 0.5%;*/
    /*}*/
    .gate_container {
        max-width: 260px !important;
        /*width: 100%;*/
    }

    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 360px;
    }

    #side-b img {
        max-width: 50px;
    }

}

@media screen and (max-width: 320px) {
    /*.always-banner span {*/
    /*    right: 1%;*/
    /*}*/
    .gate_container {
        max-width: 220px !important;
        /*width: 100%;*/
    }

    /*iframe, .always-banner {*/
    /*    height: 35px !important;*/
    /*}*/
    /*.always-banner {*/
    /*    width: 100% !important;*/
    /*}*/
    #side-b {
        display: flex;
        position: absolute;
        width: 100%;
        max-width: 320px;
    }

    #side-b img {
        max-width: 50px;
    }

}

#side-b .small-grey {
    bottom: -30px;
    position: absolute;
}

.small-grey {
    color: #9f9f9f;
    font-size: 10px;
    font-family: 'Lato', sans-serif;
    display: block;
    margin-bottom: 7px;
    text-transform: uppercase;

}

footer .small-grey {
    color: #717171;
}


.float-right {
    /*float: right;*/
    margin-left: 50.08%;
}

a {
    position: relative;
    z-index: 1;
}

.always-banner {
    max-height: 100px;
    position: fixed;
    width: 100%;
    bottom: 0;
    z-index: 33;
    background: rgba(255, 255, 255, 0.3);
    /*opacity: 0.3;*/

}

.always-banner img {
    width: 960px;
    height: 95px;
    object-fit: fill;
}

/*.always-banner{*/
/*    bottom: 200px;*/
/*}*/

.always-banner span {
    position: absolute;
    /*top: 5%;*/
    /*right: 1%;*/
    color: darkgray;
    border: none;
    cursor: pointer;
    /*border-radius: 5px;*/
    text-align: center;
    z-index: 99;
}

.hide-always-ad {
    display: none;
}

.over_frame_out {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 9.782608695652174%;
}

.under_frame_out {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 9.782608695652174%;
}

.ad-close {
    position: absolute;
    top: 1%;
    right: 1%;
}

.over_frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.under_frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.always_iframe {
    /*position: relative;*/
    overflow: hidden;
    width: 100%;
    padding-top: 16%;
}

.alw_inner_iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.resp_gif {
    /*position: relative;*/
    overflow: hidden;
    width: 100%;
    /*padding-top: 16%;*/
}

.resp_gif_inner {
    /*position: absolute;*/
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}
.resp_gif img{
    height: auto!important;
}
