

/* Start:/local/components/redesign/bannerBase/templates/second-pages-short/style.css?17888743476171*/
#block-search{padding: 0 0 !important;  background-color: rgba(255,255,255,0.4);}
.tl-container {
    margin:0 0 -10px 0 !important;
    padding: 0 !important;
}
.tl-container iframe{
    -webkit-transform: scale(0.94);
    transform: scale(0.94);
}

.hero {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden; /* чтобы фон не вылезал */
}

.hero .like-h1 {
    line-height: 60px;
    font-size: 60px;
}
.hero .like-h1 span {
    display: block;
    font-size: 18px;
    line-height: 18px;
    margin-top:12px;
}

/* Фоновое изображение с затемнением — отдельный слой */
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Затемнение — отдельный слой поверх фона */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    pointer-events: none; /* КЛЮЧЕВОЙ МОМЕНТ: клики проходят сквозь затемнение */
}

/* Контент — поверх всего, кликабельный и выделяемый */
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    padding: 0;
    font-family: Arial, sans-serif;
    user-select: text; /* явно разрешаем выделение */
    width:100%;
}


/* Превращаем .hero-content в вертикальный flex */
.hero-content {
    flex-direction: column;   /* добавляем направление */
}

/* Внутренний контейнер занимает всю доступную высоту */
.hero-content-inner {
    display: flex;
    flex-direction: column;
    flex: 1;                  /* растягивается на всю высоту родителя */
    width: 100%;
}

/* Средний блок занимает всё свободное пространство и центрирует своё содержимое */
.hero-content-middle-inner {
    flex: 1;                  /* заполняет оставшееся место между верхом и низом */
    display: flex;
    align-items: center;
    justify-content: center;  /* содержимое по центру по вертикали и горизонтали */
}

/* Нижний блок прижимается к низу */
.hero-content-bottom-inner {
    margin-top: auto;         /* отталкивается вниз */
    min-height: 90px;
}


/* Общие настройки для контейнера */
.hero-content-inner {
    box-sizing: border-box;          /* чтобы padding не увеличивал ширину */
    width: 100%;                     /* занимает всю доступную ширину родителя */
    margin: 0 auto;                  /* центрирование по горизонтали */
    padding-left: 0;
    padding-right: 0;             /* базовые отступы (можно изменить) */
}

/* При ширине экрана больше 1250px — максимальная ширина 1200px */
@media (min-width: 1251px) {
    .hero-content-inner {
        max-width: 80%;
    }
}

/* При ширине экрана от 901px до 1250px — максимальная ширина 900px */
@media (min-width: 901px) and (max-width: 1250px) {
    .hero-content-inner {
        max-width: 90%;
    }
    .hero .like-h1 {
        line-height: 55px;
        font-size: 55px;
    }
}

/* При ширине экрана 900px и меньше — оставляем 100% ширины с отступами */
@media (max-width: 900px) {
    .hero {
        height: 480px;
    }
    .hero .like-h1 {
        line-height: 45px;
        font-size: 45px;
    }
    .hero-content-inner {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    .hero-content-top-inner {display: none !important;}
}

/* При ширине экрана 900px и меньше — оставляем 100% ширины с отступами */
@media (max-width: 600px) {
    .hero {
        height: 550px;
    }
    .hero .like-h1 {
        line-height: 35px;
        font-size: 35px;
    }

    .hero-content-inner {
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-content-middle-inner{
        padding-left: 15px;
        padding-right: 15px;
    }

}


/* Меню — фон только под пунктами */
.second-menu-list {
    display: inline-flex;        /* ширина по содержимому */
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 16px 0 0 0;
    padding: 0 0;          /* внутренние отступы, чтобы фон был вокруг пунктов */
    background-color: rgba(0, 0, 0, 0.15); /* полупрозрачный тёмный фон */
    gap: 5px;                   /* расстояние между пунктами */
}

.second-menu-item {
    display: inline-block; /* или flex item уже, но можно оставить */
}

.second-menu-link {
    color: #fff;
    text-decoration: none;
    padding: 5px 10px;
    display: flex;

}

.second-menu-link:hover,
.second-menu-link.active-link {
    /* стили для активного пункта, например подчёркивание */
    background-color: rgba(194,24,43,0.99) !important;
}

/* Родитель верхнего блока — центрируем содержимое */
.hero-content-top-inner {
    display: flex;
    justify-content: center;
    width: 100%;
}

/* отступ всем */
.full-text-hotel-kaluga{
    margin-top:24px;
}

/* а обводку только для двух исключений */
.fulltext--hotels-hotel-kaluga-,
.fulltext--hotels-hotel-kaluga-rooms-{
    text-shadow: -1px -1px 0 #000,
    1px -1px 0 #000,
    -1px 1px 0 #000,
    1px 1px 0 #000;
}
/* End */


/* Start:/local/templates/main/components/bitrix/news.list/rooms_cn/style.css?17787277142624*/
/*rooms_start*/
/*.seo-text{
	margin: 15% 0 0 0;
}
.seo-title{
	font-size: 18px;
	margin:  30px 0 10px 0;
}*/
.room-text{
	display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}
.room-detail__carousel-icons{
    display: flex;
    width: 100%;
    border-top: 1px solid;
    border-color: rgba(252, 252, 252, 0.3);
    padding-top: 20px;
    padding: 10px 0 0 0;
    border-top: 1px solid;
}
.room-detail__carousel-icons span {
    display: flex;
    flex-direction: column;
    width: 15%;
    align-items: center;
}
.room-detail__carousel-icons span i {
    font-size: 8px;
    text-align: center;
    margin-top: 5px;
}
.room-feature{
	display: flex;
	justify-content: space-between;
	padding: 0 0 5px 0;
}
.room-title a{
	font-weight: 700;
    display: flex;
    margin: 0 0 10px 0;
}
.room-desc{
	padding: 20px 0 0 0;
}
.container-item-text__value.short .seo-open{
	display: none;
}
.show-more{
	font-weight: bold;
	cursor: pointer;
}
.rooms{
	margin: 45px 0 80px 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.room{
	width: 47%;
	display: flex;
	flex-direction: column;
	margin:  0  0 80px 0;
}
.room a:hover{
	color: #212121;
	text-decoration: underline;
}
.room-title{
	font-size: 18px;
	width: 100%;
	margin: 0 0 3px 0;
}
.room-title a{
	font-size: 18px;
}
.room img{
	width: 100%;
	height: auto;
}
.price{
	display: flex;
	justify-content: space-between;
}
.price span{
	font-size: 18px;
	color: #c2182b;
	margin: 4px 0 0 15px;
}
.price strong{
	font-size: 24px;
	font-family: "GothamPro-Bold";
}
.price .curensy{
	font-size: 24px;
}
.rooms-button{
	font-size: 16px;
	font-family: "GothamPro-Medium";
	color: #ffffff;
	background-color: #c2182b;
	padding: 10px 44px;
}
.rooms-button:hover{
	background-color: #dd1b31;
}
/*rooms-end*/
/*advantages-start*/

.room-title a:hover{
	color: #c41425;
}
/*.rooms-desc{
	display: flex;
    justify-content: space-between;
    align-items: center;
   
}*/
.rooms-desc-img{
	width: 47%;
}
.rooms-desc-img img{
	width: 100%;
}
.rooms-desc-text{
	width: 50%;
}
/*.rooms-title.desc{
	margin: 5% 0 0 0;
}*/
.rooms-desc{
	 margin: 0 0 80px 0;
	display: block;
	min-height: 400px;
}
.rooms-desc-img {
    float: left;
	margin: 0 15px 10px 0;
}
.rooms-desc-text{
	width: auto;
}
@media (max-width: 1440px){
	.rooms-desc-text {
	    font-size: 14px;
	}
}
@media (max-width: 1050px){
	.advantage:nth-last-child(4), .advantage{
		margin: 0 2.15vw 50px 0;
	}
}
@media (max-width: 768px){
	.rooms-desc-img{
		width: 100%;
		margin: 0 0 20px 0;
	}
/*	.rooms-title.desc{
		margin: 10% 0 5% 0;
	}*/
}
/*advantages-end*/
/* End */


/* Start:/local/templates/main/components/bitrix/news.list/demo_gallery/style.css?17821270172185*/
.demo-gallery-carousel-item, .demo-galleries-buttons ul{
	display: flex;
	justify-content: space-between;
}
.demo-galleries-buttons ul{
	flex-wrap: wrap;
}
.demo-galleries-buttons ul li{
	/*width: 19.8%;*/
	cursor: pointer;
}
.demo-galleries-buttons ul li span{
    color: #212121;
    font-size: 16px;
    padding: 4px 12px;
    display: flex;
    justify-content: center;
	transition: all 0.2s;
}
.demo-galleries-buttons ul li span.active, .demo-galleries-buttons ul li span:hover {
	color: #fff;
    background-color: #c2182b;
}
#demo-galleries{
	margin: 8% 0 5% 0;
}
.owl-carousel.demo-gallery-carousel .owl-nav button.owl-next, .owl-carousel.demo-gallery-carousel .owl-nav button.owl-prev{
	position: absolute;
    top: 30%;
    font-size: 80px;
    color: #c2182b;
}
.owl-carousel.demo-gallery-carousel .owl-nav button.owl-next{
	right: 10px;
}
.owl-carousel.demo-gallery-carousel .owl-nav button.owl-prev{
	left: 10px;
}
.demo-gallery-carousel-item div{
	padding: 0 10px 0 0;
}
.demo-gallery-carousel-item div:last-child{
	padding: 0;
}
.demo-galleries-buttons{
    margin: 0 0 20px 0;
}

@media (max-width: 1280px){
	.owl-carousel.demo-gallery-carousel .owl-nav button.owl-next, .owl-carousel.demo-gallery-carousel .owl-nav button.owl-prev{
		font-size: 70px;
	}
}
@media (max-width: 964px){
	.demo-galleries-buttons ul li {
	    width: 49.8%;
    	margin: 0 0 5px 0;
    	border-bottom: 1px solid #c2182b;
	}
	.owl-carousel.demo-gallery-carousel .owl-nav button.owl-next, .owl-carousel.demo-gallery-carousel .owl-nav button.owl-prev {
	    font-size: 55px;
	}
}
@media (max-width: 664px){
	.demo-gallery-carousel-item{
		flex-direction: column;
	}
	.demo-gallery-carousel-item div {
	    padding: 0 0 10px 0;
	}
	.owl-carousel.demo-gallery-carousel{
		margin: 15% 0 0 0;
	}
	.owl-carousel.demo-gallery-carousel .owl-nav button.owl-next, .owl-carousel.demo-gallery-carousel .owl-nav button.owl-prev{
		bottom: 100%;
		top: auto;
	}
	.owl-carousel.demo-gallery-carousel .owl-nav button.owl-prev{
		left: 80%;
	}
}
@media (max-width: 425px){
	.demo-galleries-buttons ul li {
	    width: 100%;
	    margin: 0;
	}
	.owl-carousel.demo-gallery-carousel {
	    margin: 20% 0 0 0;
	}
}
/* End */
/* /local/components/redesign/bannerBase/templates/second-pages-short/style.css?17888743476171 */
/* /local/templates/main/components/bitrix/news.list/rooms_cn/style.css?17787277142624 */
/* /local/templates/main/components/bitrix/news.list/demo_gallery/style.css?17821270172185 */
