.ad-wrapper {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.ad-placeholder {
    width: 100%;
    background: #F7F7FB;
    margin: 0 auto;
    position: relative;
}

.ad-placeholder.hidden {
    visibility: hidden;
}

.adv-logo {
    width: 80px;
    height: 70px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: .25;
}

.adv-label {
    font-size: 11px;
    line-height: 22px;
    color: #999;
    top: 0;
    left: 50%;
    padding: 2px 6px;
    transform: translateX(-50%);
    z-index: 3;
}

.ad-slot {
    z-index: 2;
    display: flex;
    justify-content: center;
}

.ad-placeholder ~ .ad-slot {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
}

.ad-slot.stuck {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    z-index: 998;
    background: #F7F7FB;
    padding: 10px 0;
}

.ad-slot.stuck-skin {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    transform: none;
    background-color: #efefef;
    z-index: 1021;
    text-align: center;
}

.ad-spacer {
    height: 0;
}

.desktop-adv {
    display: none;
}
@media screen and (min-width: 768px) {
    .desktop-adv {
        display: block;
    }
}

.mobile-adv {
    display: block;
}
@media screen and (min-width: 768px) {
    .mobile-adv {
        display: none;
    }
}
