/*!
Theme Name: Baden Baden
Theme URI: http://underscores.me/
Author: Alexandr Vlasov
Author URI: http://alexandr.pw
Description: Description
Version: 1.6.22
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: baden
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
.btn {
    font-size: 16px;
}
.firstScreen_singlePage {
    background-image: url('assets/img/all_header.jpg');
    background-repeat: no-repeat;
    background-size: cover;
}
.firstScreen_singlePage__content h1 {
	font-size: clamp(36px,5vw,80px);
}
.titleBlock h2 {
	font-family: serif;
	color: #0066a4;
	font-size: clamp(32px , 5vw, 52px);
	line-height: 1em;
	margin-bottom: 40px;
    text-transform: none;
}
.contacts__contacts__title {
	display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.contacts__contacts__title h2 {
	font-family: serif;
	color: #0066a4;
	font-size: 52px;
	line-height: 1em;
	margin-bottom: 40px;
	position: relative;
}
.contacts__contacts__title:after {
    content: "";
    display: block;
	background-color: #4e5d70;
    width: 50px;
    height: 1px;
}

.contacts__contacts {
	/* padding: 55px 25px; */
	/* width: 100%; */
}
/* @media screen and (max-width: 767px) {
	.contacts__contacts {
		padding: 55px 45px;
	}
} */
.contacts__contacts__items {
	gap: 50px
}
.contacts__contacts__item div a,
.contacts__contacts__item div span {
	font-size: 16px;
	font-weight: 500;
}
.contacts__contacts__item .location_name {
	text-transform: uppercase;
}
.header {
	position: relative;
	margin-bottom: -100px;
}
body {
	color: #4e5d70;
}
.titleWrapper ul li a {
	color: #4e5d70;
	cursor: pointer;
}
.titleWrapper p {
	font-size: 20px;
	color: #4e5d70;
	text-wrap: auto;
    @media screen and (max-width: 767px) {
        font-size: 16px !important;
    }
    
}
.firstScreen_singlePage__bg img {
    object-fit: cover;
    -o-object-position: top;
    object-position: center top;
}
.specialOffers__item {
	aspect-ratio: 4/5;
}
.accommodation__item {
	height: auto;
}
.swiper.accommodation-slider .swiper-wrapper {
	justify-content: stretch;
}
.header.scrolled {
	background-color: rgb(89 162 212 / 90%);
}
.titleWrapper ul li {
	font-size: 16px;
    text-transform: uppercase;
}
.titleBlock:after {
	background-color: #4e5d70;
	width: 50px;
}
#travelline {
	border: 1px solid rgba(0, 0, 0, .1);
    border-radius: .8rem;
    padding: 10px 30px;
	margin-top: 30px;
}
.page-template-home  #travelline {
	margin-bottom: 60px;
}
@media screen and (min-width: 1700px) {
	.container {
		max-width: 1600px;
	}
}
.accommodation__item {
	padding: 0;
}
/* .btn {
	padding: 20px 50px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
} */
.btn--blue {
	background-color: #57a1d4;
}
.dropdown-toggle::before {
	display: block;
    content: "\f107";
    font-family: "Font Awesome 5 Pro";
    font-weight: 900;
    position: absolute;
    right: 2px;
    font-size: 12px;
    bottom: 12px;
	transition: transform .3s ease-in-out;
}
.dropdown-toggle:hover::before {
	transform: rotateX(-180deg);
}
.dropdown-toggle::after {
	display: none;
}
/* Для обычных экранов — наводим мышью и показываем меню */
@media (min-width: 992px) {
  .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0; /* убираем возможное смещение */
  }
}
#certificate_widget .page__inner {
	padding-top: 20px;
}
.faq-btn__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.offcanvas-header .offcanvas-title .img {
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
}

    .btn__bitrixForm .b24-form-sign {
        display: none;
    }

    .btn__bitrixForm .b24-form-wrapper.b24-form-border-bottom {
        border-bottom: none;
    }

    .btn__bitrixForm .btn-close {
        right: 12px;
        left: auto;
        position: absolute;
        z-index: 20;
    }

    .btn__bitrixForm {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
    }

    .btn__bitrixForm button {
        margin: 0 auto;
    }
.header__social img {
    width: 20px;
    height: 20px;
}
@media screen and (max-width: 767px) {
    .firstScreen__description {
        font-size: 14px;
    }
    .firstScreen__logo img {
        width: 60%;
    }
    .header__logo img {
        max-width: 120px;
    }
}
.page-link {
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5ba6db;
}
.page-item.active .page-link {
    color: #fff;
    background-color: #5ba6db;
    border-color: #5ba6db;
}

.specialOffers__wrapper-akcii {
    display: flex;
    align-items: center;
    justify-content: center;
    /* &:not(:hover) {
        .swiper-button-prev,
        .swiper-button-next {
            opacity: 0;
            top: 20px;
        }
    }
    @media screen and (max-width: 1024px) {
        &:not(:hover) {
            .swiper-button-prev,
            .swiper-button-next {
                opacity: 1;
                top: 0px;
            }
        }
    }
    .swiper-nav {
        position: absolute;
        width: 100%;
    }
    .swiper-button-prev,
    .swiper-button-next {
        opacity: 1;
        top: 50%;
        background-color: hsla(0, 0%, 0%, 0.4);
        border-radius: 90px;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .3s ease-in-out;
        svg {
            width: 20px;
            height: 20px;
        }
    }
    .swiper-button-prev:after,
    .swiper-button-next:after {
        display: none;
    } */
}
.swiper-slide {
    height: 100% !important;
}
.sidebar:not(.sidebar:nth-last-child(1)) {
    margin-bottom: 60px;
}
.sidebar h2 {
    margin-bottom: 0;
}
.sidebar--news ul li a {
    font-size: 20px;
    font-family: serif;
    line-height: 1.2em;
    font-weight: 600;
}
.gridContent__content--text .titleBlock h2 {
    font-size: 32px;
    @media (width <= 768px) {
        font-size: 24px;
        line-height: 1.2em;
    }
}

.file-link-block {
    padding: 12px 0;
}
a.file-link-icon svg{
    width: 40px;
    height: auto;
}
a.file-link-title {
    font-size: 20px;
    color: rgb(78, 93, 112);
    font-size: 16px;
    @media (max-width: 767px) {
        font-size: 14px;
    }
}
.singleArticle--archive .singleArticle__item .article-title h2 {
    margin-bottom: 12px;
}
.singleArticle--archive .singleArticle__item .article-title h2 {
    min-height: 3em;
}
.gridContent__content--image {
    overflow: hidden;
    position: relative;
}
.gridContent__content-swiper {
    height: 100%;
    .swiper-slide {
        height: auto !important;
        max-height: 600px !important;
    }
    .swiper-wrapper {
        justify-content: stretch;
        height: 100% !important;
    }
    img {
        aspect-ratio: auto !important;
        object-fit: cover;
    }
}
.gridContent__content--text {
    padding-top: 32px;
    padding-bottom: 32px;
    .spa__text {
        font-size: 18px;
    }
}
.singleArticle__item .article-title h2 {
    margin-bottom: 20px;
    font-size: clamp(24px,5vw,42px);
}
.wp-block-gallery {
    padding: 0 12px;
    img {
        aspect-ratio: 1 / 1 !important;
        object-fit: cover;
        width: 100%;
        height: auto;
    }
}
.whoceTers-slider:not(:has(.photoSize-1x1)) {
    padding-left: 180px;
    padding-right: 180px;
}
.whoceTers-slider .swiper-slide:not(.photoSize-1x1) {
    aspect-ratio: 16 / 10 !important;
}
.page-template-home #travelline {
    margin-bottom: 40px;
}
.accommodation {
    overflow: hidden;
}
.accommodation-slider {
    overflow: visible;
}
.specialOffers__item {
    border-radius: 0;
}
.specialOffers__item--theme_3 .specialOffers__content a {
    background-color: #57a1d4;
}

/**
 * Draft
 */
.firstScreen_singlePage:has(~ .post_draft) {
    filter: grayscale(1);
}
.post_draft--wrapper {
    padding: 32px;
    -webkit-box-shadow: 0 8px 32px 0 #27294014;
    box-shadow: 0 8px 32px 0 #27294014;
    background-color: #fff;
    border-radius: 32px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    max-width: 720px;
    margin: 0 auto;
    @media screen and (max-width: 767px) {
        flex-direction: column;
    }
}
.post_draft--text {
    font-size: 18px;
    line-height: 22px;
    max-width: 540px;
    font-weight: 500;
    max-width: 460px;
    p {
        margin-bottom: 0;
    }
}
.post_draft--btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 12px;
    .cookies__btn {
        width: 100%;
        text-align: center;
    }
    .cookies__btn:hover {
        color: #fff;
    }
}
.akcii-template-default {
    .article-content {
        container-type: inline-size;
        container-name: specialOffers;
    }
    .specialOffers {
        overflow: hidden;
        width: 100%;
        max-width: 100cqw;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        .swiper {
            width: 100%;
        }
        .titleBlock {
            margin-bottom: 40px;
        }
    }
}

.btn__bitrixForm .b24-form-sign {
    display: none;
}

.btn__bitrixForm .b24-form-wrapper.b24-form-border-bottom {
    border-bottom: none;
}

.btn__bitrixForm .btn-close {
    right: 12px;
    left: auto;
    position: absolute;
    z-index: 20;
}

.btn__bitrixForm {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.btn__bitrixForm button {
    margin: 0 auto;
}
.firstScreen__title {
    display: none !important;
}
.firstScreen_singlePage__content h1 {
    font-size: clamp(36px, 4vw, 80px) !important;
    font-weight: 600 !important;
}
.table-collapsible-controls {
    position: relative;
    padding: 0 20px;
}
.wp-block-table {
    margin-bottom: 40px;
}
.table>:not(:last-child)>:last-child>* {
    vertical-align: middle;
    font-size: 20px;
    line-height: 1.2em;
    font-weight: 600;
    color: #4e5d70;
    background-color: transparent !important;
    @media (max-width: 767px) {
        font-size: 14px !important;
    }
}
.wp-block-table .table-hover tr td {
    font-size: 16px !important;
    color: rgb(78, 93, 112);
    @media (max-width: 767px) {
        font-size: 14px !important;
    }
}
.pricing__content--priceList li {
    font-size: 16px;
}
.wp-block-table {
    margin-bottom: 40px;
    background: rgba(87,161,212,.05);
    border-radius: 12px;
    padding: 12px 4px;
}
.table-collapsible-controls {
    background: transparent;
    padding-bottom: 20px;
}
.table-collapsible.expanded {
    padding-bottom: 20px;
}
.wp-block-table {
    font-size: 14px !important;
}
@media (max-width: 992px) {
    .single-prozhivanie .header .header__mobile .header__menu-btn {
        color: #000;
    }
    body:has(.header__mobile .offcanvas.offcanvas-end.show) {
        overflow: hidden;
    }
    .firstScreen__logo {
        /* display: none; */
    }
    .firstScreen__title {
        font-size: 24px;
    }
    .titleWrapper p {
        font-size: 16px !important;
    }
    
    .header__mobile .offcanvas-body .navbar-nav .dropdown-toggle {
        flex-direction: row-reverse;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
    }
    .dropdown-toggle::before {
        right: -20px;
        font-size: 12px;
        bottom: auto;
        position: relative;
    }
    .footer_v2_contactsBlock-item a {
        color: #4e5d70;
    }
    .whoceTers-slider:not(:has(.photoSize-1x1)) {
        padding: 20px 20px;
    }
}
.footer_v2_contactsBlock-item a {
	color: #4e5d70;
}
.firstScreen::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, hsl(215.29deg 18.28% 18.24% / 70%), transparent 30%);
    opacity: 1;
    z-index: -1;
}
.titleWrapper ul li a,
.nav-tab.btn--link {
    color: #4e5d70;
    cursor: pointer;
    position: relative;
    top: 0;
    transition: all 0.3s;
}
.titleWrapper ul li a:before,
.nav-tab.btn--link:before {
    content: "";
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}
.titleWrapper ul li a:not(.active):hover,
.nav-tab.btn--link:not(.active):hover {
    top: -6px;
}
.titleWrapper ul li a.active,
.nav-tab.btn--link.active {
    top: 0;
    color: #0066a4;
}
.swiper-button-next:after, .swiper-button-prev:after {
    display: none;
}

@media (min-width: 1025px) {
    .accommodation__text {
        padding: 40px 80px;
    }
}

.swiper {
    &:not(:hover) {
        .swiper-button-prev,
        .swiper-button-next {
            opacity: 0;
            top: 20px;
        }
    }
    @media screen and (max-width: 1024px) {
        &:not(:hover),
        &:hover {
            .swiper-button-prev,
            .swiper-button-next {
                opacity: 1;
                top: calc(100% - 40px);
                left: auto;
                right: 4px;
            }
            .swiper-button-prev {
                right: 60px;
            }
        }
    }
}
.swiper-button-next,
.swiper-button-prev {
    background: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 90px;
    transition: all 0.3s;
    opacity: 1;
    top: 50%;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: hsl(204, 59%, 59%, 0.8);
}
.swiper-button-next svg,
.swiper-button-prev svg {
    width: 20px;
    height: auto;
}
.swiper-button-next svg path,
.swiper-button-prev svg path {
    fill: #000;
    /* transition: all 0.1s; */
}
.swiper-button-next:hover svg path,
.swiper-button-prev:hover svg path {
    fill: #fff;
}