

/* Start:/local/templates/cheeseria2021/components/bitrix/news/gallery/style.css?1765192615514*/
.panorama-container {
    height: 56rem;
    width: 100%;
    margin-bottom: 50px;
}

@media(max-width: 1919px) {
    .panorama-container {
        height: 47.2rem;
    }
}
@media(max-width: 1365px) {
    .panorama-container {
        height: 42.8rem;
    }
}

@media(max-width: 1279px) {
    .panorama-container {
        height: 34rem;
    }
}
@media(max-width: 1023px) {
    .panorama-container {
        height: 25rem;
    }
}
@media(max-width: 767px) {
    .panorama-container {
        height: 20rem;
    }
}
/* End */


/* Start:/local/templates/cheeseria2021/components/bitrix/news.detail/gallery/style.css?17651926153603*/
.album-gallery__text {
    flex-direction: column;
    align-items: center;
    font-family: "IBM Plex Serif", serif;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 150%;
    margin-top: -2rem;
    text-align: center;
}

.album-gallery__text p {
    max-width: 1010px;
    padding-bottom: 12rem;
}

.balbum-gallery__text h3 {
    font-size: 60px;
    line-height: 117%;
    padding-bottom: 6rem;
}

.album-gallery__gallery {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.album-gallery__item {
    height: 30rem;
}

.album-gallery__item_active {
    grid-column: 1/ span 2;
    grid-row: 1/ span 2;
    height: 63rem;
}

.album-gallery__item-img {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.album-gallery__item-img img{
    display: block;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

@media (max-width: 1919px) {
    .album-gallery__text {
        margin-top: -3rem;
    }

    .album-gallery__text p {
        padding-bottom: 10rem;
    }

    .album-gallery__text h3 {
        font-size: 50px;
        line-height: 120%;
    }

    .album-gallery__item {
        height: 25.1rem;
    }

    .album-gallery__item_active {
        height: 53.2rem;
    }
}

@media (max-width: 1365px) {
    .album-gallery__text {
        margin-top: -2rem;
    }

    .album-gallery__text h3 { 
       padding-bottom: 5rem;
    }

    .album-gallery__item {
        height: 22.5rem;
    }

    .album-gallery__item_active {
        height: 48rem;
    }
 
}

@media (max-width: 1279px) {
    .album-gallery__text p {
        padding-bottom: 8rem;
        max-width: 100%;
    }
    .album-gallery__text h3 {
        padding-bottom: 4rem;
    }

    .album-gallery__item {
        height: 17.5rem;
    }

    .album-gallery__item_active {
        height: 38rem;
    }
}

@media (max-width: 1023px) {
    .album-gallery__text {
        font-size: 1.6rem;
        line-height: 162%;
    }

    .album-gallery__text p {
        padding-bottom: 6rem;
    }

    .album-gallery__text h3 {
        font-size: 40px;
        line-height: 125%;
        padding-bottom: 4rem;
    }
    
    .album-gallery__item {
        height: 12.5rem;
    }

    .album-gallery__item_active {
        height: 28rem;
    }

}

@media (max-width: 767px) {
    .album-gallery__text {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
        font-size: 1.4rem;
        line-height: 143%;
        margin-top: -1rem;
        text-align: left;
        align-items: flex-start;
    }

    .album-gallery__text p {
        padding-bottom: 4rem;
    }

    .album-gallery__text h3 {
        font-size: 24px;
        line-height: 133%;
        padding-bottom: 2rem;
        text-align: left;
    }
    .album-gallery__gallery {
        grid-template-columns: 1fr;
        gap: inherit;
    }
    .album-gallery__item_active {
        grid-column: auto;
        grid-row: auto;
        height: 18rem;
    }
    .album-gallery__item {
        height: 30rem;
        margin-bottom: 2rem;
    }
 
}

@media(max-width: 380px) {
    .album-gallery__item_active {
        height: 18rem;
    }
    .album-gallery__item {
        height: 18rem;
    }
}
/* End */
/* /local/templates/cheeseria2021/components/bitrix/news/gallery/style.css?1765192615514 */
/* /local/templates/cheeseria2021/components/bitrix/news.detail/gallery/style.css?17651926153603 */
