.ad_slot {
    background-color: #EFEEEF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad_slot.top_wrapper {
    max-width: 100%;
    margin: 10px auto;
    padding: 0 5px;
    min-height: 200px;
}
.ad_slot .ad_wrapper {
    position: relative;
    padding: 9px 0;
    min-width: 56px;
}

.ad_slot .ad_wrapper:before {
    content: "REKLAMA";
    font-size: 9px;
    font-weight: 400;
    line-height: 1;
    color: rgba(0,0,0,.37);
    height: 9px;
    position: absolute;
    top: 0;
    left: 0;
    margin: auto;
    font-family: 'Open Sans';
}

.ad_slot .ad_wrapper:empty:before {
    content: "REKLAMA";
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: rgba(0,0,0,.37);
    width: 56px;
    height: 10px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    font-family: 'Open Sans';
}

.ad_slot .ad_wrapper.gam:before {
    content: "REKLAMA";
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: rgba(0,0,0,.37);
    width: 56px;
    height: 10px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    font-family: 'Open Sans';
}

.ad_slot .ad_wrapper.gam.loaded:before {
    font-size: 9px;
    height: 9px;
    right: unset;
    bottom: unset;
}

.ad_slot .ad_wrapper.active-slot,
.ad_slot.top_wrapper .ad_wrapper {
    display: block!important;
}

.stickyad {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rectangle,
.halfpage {
    text-align: center;
    position: relative;
    overflow: hidden;
    display: none;
}

.rectangle:empty,
.halfpage:empty {
    margin: 0 auto;
}

.rectangle_wrapper {
    display: none;
    margin: 6px auto 30px;
    padding: 9px 0 0 0;
    text-align: center;            
    overflow: hidden;
    height: 250px;
    width: 304px;
}
.halfpage_wrapper {
    height: 618px;
    width: 304px;
    display: none;
}

body {
    background-position-y: 342px;
}

@media(min-width:768px) {
    body {
        background-position-y: 362px;
    }
    .rectangle,
    .halfpage {
        display: block!important;
    }

    .rectangle_wrapper,
    .halfpage_wrapper {
        display: flex;
        float: right;
    }
    .news_aside .halfpage_wrapper {
        margin-top: 95px;
    }

    .halfpage_wrapper,
    .news_aside--listing .halfpage_wrapper {
        margin-top: 61px;
    }
}

@media(min-width:992px) {
    .ad_slot.top_wrapper {
        max-width: 1080px;
        height: 318px;
    }
}