

/* Start:/local/templates/novosvetskiy/components/bitrix/news.list/photo_section_type_tile/style.css?17838409942696*/
.rooms_gallery_tabs {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    gap: 8px;
}

.rooms_gallery_tabs a {
    flex: 0 0 auto;
    margin: 0;
    white-space: nowrap;
}

.rooms_gallery_tabs a:focus-visible {
    outline: 2px solid var(--OPTION_BASE_COLOR);
    outline-offset: 2px;
}

.rooms_gallery_panel[hidden] {
    display: none;
}

.photo_tile {
    margin-bottom: 30px;
}

.photo_tile .item {
    position: relative;
    width: 25%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    text-align: center;
}

.photo_tile .item a {
    display: block;
    width: 100%;
    height: 100%;
}

.photo_tile .item a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.photo_tile .item a::before,
.photo_tile .item a::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    margin-top: -25px;
    margin-left: -25px;
    border-radius: 25px;
    content: "";
    opacity: 0;
    transition: all 0.1s ease-out 0.05s;
}

.photo_tile .item a::before {
    background: var(--OPTION_BASE_COLOR);
}

.photo_tile .item a::after {
    background:
        url("data:image/svg+xml;charset=UTF-8,%3csvg width='800px' height='800px' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='11.5' cy='11.5' r='9.5' stroke='%23FFFFFF' stroke-width='1.5'/%3e%3cpath d='M18.5 18.5L22 22' stroke='%23FFFFFF' stroke-width='1.5' stroke-linecap='round'/%3e%3cpath d='M9 11.5H11.5M11.5 11.5H14M11.5 11.5V14M11.5 11.5V9' stroke='%23FFFFFF' stroke-width='1.5' stroke-linecap='round'/%3e%3c/svg%3e")
        center / 45% no-repeat;
}

.photo_tile .item:hover {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
}

.photo_tile .item:hover a img {
    transform: scale(1.1);
}

.photo_tile .item:hover a::before {
    z-index: 1;
    opacity: 0.75;
}

.photo_tile .item:hover a::after {
    z-index: 2;
    opacity: 1;
}

@media screen and (max-width: 991px) {
    .photo_tile .item {
        width: 33.3333%;
    }
}

@media screen and (max-width: 767px) {
    .rooms_gallery_tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 8px;
    }

    .rooms_gallery .rooms_gallery_tabs a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 48px;
        height: auto;
        padding: 5px 12px;
        line-height: 1.2;
        white-space: normal;
        text-align: center;
    }

    .photo_tile .item {
        width: 50%;
    }
}
/* End */


/* Start:/local/templates/novosvetskiy/components/bitrix/news.list/answers_cat/style.css?17836718531980*/
.answers h3 {margin-top: 30px;}
.answers {margin: 0;}
.answers .item {
    margin: 0 0 5px 0;
    padding: 20px 30px 25px 30px; 
    position: relative;
    cursor: pointer;
    border-radius: 5px;
    background-color: #f8f9fb;
}
.answers .item .name a {font-size: 1.1rem; font-weight: 500; text-decoration: none; padding-right: 30px;}
.answers .item a {color: #000; display: block;}
.answers .list .item a.active {color: #000099;}

.answers .item .answer {display: none; padding: 20px 0 0 0; color: #333333;}
.answers .item .answer a {color: #333333;}



.answers .expand_btn {
    background-color: transparent;
    position: absolute;
    right: 15px;
    top: 10px;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    
    -webkit-transition: -webkit-transform .2s ease-in-out;
    -ms-transition: -ms-transform .2s ease-in-out;
    transition: transform .2s ease-in-out;  
}
.answers .item:hover .expand_btn {background-color: var(--OPTION_BASE_COLOR);}
.answers .item:hover .expand_btn svg path {stroke: #FFF}
.answers .item.active .expand_btn
{
    -ms-transform:rotate(135deg); 
    -webkit-transform:rotate(135deg);
    transform:rotate(135deg);
   
}

/*Темная тема*/
body.SITE_THEME_DARK .answers .item {background-color: var(--THEME_DARK_BG_ITEM_COLOR);}
body.SITE_THEME_DARK .answers .item a, body.SITE_THEME_DARK .answers .item a:hover, body.SITE_THEME_DARK .answers .item .answer {color: var(--TEXT_COLOR_LiGHT)}


@media screen and (max-width: 1348px)
{

}


/*.col-xl-  (>= 1200px)*/
@media screen and (min-width: 1200px)
{
       
}
/*.col-lg-  (>= 992px)*/
@media screen and (max-width: 1200px)
{
     
}
/*.col-md-  (>= 768px)*/
@media screen and (max-width: 991px)
{
    
}
/*.col-sm-  (>= 576px)*/
@media screen and (max-width: 767px)
{
    .answers .item .name a {font-size: 1rem; font-weight: 500;}
}
/*.col-*/
@media screen and (max-width: 575px)
{
    
}
/* End */
/* /local/templates/novosvetskiy/components/bitrix/news.list/photo_section_type_tile/style.css?17838409942696 */
/* /local/templates/novosvetskiy/components/bitrix/news.list/answers_cat/style.css?17836718531980 */
