/** Баннеры **/

.wrap-banner-top {
    background-color: #ececec;
}

.b-banner_slug-top {
    max-width: 1280px;
    max-height: 250px;
    margin: 0 auto;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
    height: auto;
}

.page-is-first-persons .b-banner_slug-top {
    display: none;
}

.b-banner_slug-240_400 {
    width: 300px;
    height: 400px;
    margin: 0 auto;
}

.b-top3_static+.b-banner_slug-240_400 {
    float: right;
    clear: right;
    padding: 30px 0;
    margin-bottom: 40px;
}

.b-banner_slug-mobile_320_100,
.b-banner_slug-mobile_300_250 {
    display: none;
    margin: 0 auto;
    overflow: hidden;
}

.b-check-visible_slug-mobile_320_100,
.b-check-visible_slug-mobile_300_250 {
    display: none;
}

.b-check-visible_slug-top,
.b-check-visible_slug-240_400 {
    display: block;
}

@media (max-width: 767px) {
    .b-items .item_banner-240_400 {
        padding: 0;
    }

    .page-is-first-persons .b-banner_slug-mobile_320_100 {
        margin-top: 60px;
    }

    .b-banner_slug-top,
    .b-check-visible_slug-top {
        display: none;
    }

    .b-check-visible_slug-mobile_320_100,
    .b-check-visible_slug-mobile_300_250 {
        display: block;
    }

    .main-page .logo-kavkaz_moved-banner {
        top: 175px;
    }

    .b-banner_slug-mobile_320_100 {
        display: block;
        width: 320px;
    }

    .b-banner_slug-mobile_300_250 {
        display: block;
        width: 300px;
    }

    .b-page-news .b-banner_slug-240_400,
    .b-page-news .b-check-visible_slug-240_400,
    .b-page-news .b-items .item_banner-240_400,
    .b-banner_slug-240_400,
    .b-check-visible_slug-240_400 {
        display: none;
    }
}

@media(min-width: 768px) and (max-width: 1279px) {
    .b-banner_slug-top {
        width: 768px;
    }
}
