.popup {

    background-color: white;
    padding: 20px 30px;
    width: 100%;
    /*max-width: 488px;*/
    margin: 30px auto;
}

.popup__back {
    background: rgba(35, 102, 178, 0.6);
}

.popup__title {
    margin-bottom: 16px;
}

.popup__text {
    font-size: 18px;
    line-height: 1.2;
    color: #333;
    margin-bottom: 16px;
}

.popup__close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 40px;
    height: 40px;
    z-index: 1;
    background: none;
    outline: none;
    border: none;
    padding: 0;
}

.popup__close:hover {
    color: #2366b2;
}

.form__item {
    margin-bottom: 16px;
}

.form__item:last-child {
    margin-bottom: 0;
}

.form__item--button {
    margin-top: 20px;
    text-align: center;
}

.form__label {
    margin-bottom: 6px;
}

.pmu-view-days {
    display: none;
}

.mobile_form_popup_podbor {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile_form_popup_podbor .form__group, .mobile_form_popup_podbor .form__submit-btn {
    margin: 0;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.mobile_form_popup_podbor .form__group {
    margin-bottom: 15px;
}

.datepicker.active {
    z-index: 1050;
}

.result_empty {
    background: var(--gray-light-color);
    padding: 20px 16px;
    width: 100%;
}


@media(max-width:426px) {
    .mobile_form_popup_podbor .form__group .count {
        width: auto;
    }

    .mobile_form_popup_podbor .form__group {
        width: 100%;
    }

    .mobile_form_popup_podbor .form__group:first-child {
        flex-direction: column;
        width: 100%;
    }

    .mobile_form_popup_podbor .form__group:first-child .form__field {
        width: 100%;
        margin-top: 15px;
    }

    .mobile_form_popup_podbor .form__group:first-child .form__field input {
        width: 100%;
    }

    .wis-content .table-wrap table {
        min-width: 350px;
    }
}

.container-price-block {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.container-price-block .price-from {
    display: block;
    margin-top: 16px;
    text-align: center;
    font: 24px / 32px 'Cuprum';
    padding-right: 5px;
}

.footer__contacts_blocks .social {
    margin-left: 0px;
}

.footer__row.inc__logo {
    justify-content: space-between;
}

.main .container .gallery__list {
    min-height: 350px;
}

.footer__contacts_row {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer__contacts_block_btn {
    display: flex;
    align-items: center;
}

.footer__contacts_block_btn a {
    display: block;
}

.aside-nav__sublist-href {
    position: relative;
}

.room-search-form {
    background: hsl(200, 11%, 96%);
    position: relative;
    padding: 15px 0;
}

.ihead-slider__filter.ihead-slider__filter-inner {
    padding: 15px 40px;
}

.room-search-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #283857;
    z-index: 1;
}

.room-search-form .form.form--filter.formmakerent {
    position: relative;
    margin: 0 auto;
    background: #f4f5f6;
    max-width: 1200px;
    display: flex;
    gap: 30px;
    padding: 15px 40px;
}

.room-search-form .form.form--filter.formmakerent .form__submit-btn.btn {
    padding: 11px 20px;
    border-radius: 0;
    border: none;
    margin: auto 0 1px auto;
    height: 40px;
    width: 100%;
    max-width: 220px;
}

.room-search-form .form.form--filter.formmakerent .form__row {
    margin: 0;
}

.footer .footer__row.footer__contacts_blocks {
    margin-top: -65px;
}

.footer .footer__contacts_row {
    position: relative;
}

.footer .footer__contacts_row .footer__contacts_block_btn {
    position: absolute;
    top: 0;
    right: 0;
    margin-top: 75px;
}

.pluses .row .col-xs-12 {
    padding-right: 16px;
    padding-left: 16px;
}


@media (max-width: 1264px) {
    .pluses .row .col-xs-12 {
        padding-right: 12px;
        padding-left: 12px;
    }


    .room-search-form .form.form--filter.formmakerent {
        padding: 15px;
    }

    .room-search-form {
        padding: 5px 0;
    }

}

@media (max-width: 991px) {

    .room-search-form .form.form--filter.formmakerent {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .footer .footer__row.footer__contacts_blocks {
        margin-top: 20px;
    }

    .footer .footer__contacts_row .footer__contacts_block_btn {
        position: relative;
        top: auto;
        right: auto;
        margin-top: 0;
    }

    .footer__contacts_row {
        flex-direction: column-reverse;
        align-items: center;
        gap: 15px;
    }

    .room-search-form .form.form--filter.formmakerent .form__group {
        width: 100%;
    }

    .room-search-form .form.form--filter.formmakerent .form__row {
        width: 100%;
        max-width: 320px;
    }

    .room-search-form .form.form--filter.formmakerent .form__submit-btn.btn {
        max-width: 100%;
    }

    .form__row_block_bottom .form__row-title {
        margin-bottom: 10px;
    }

}

@media (max-width: 767px) {
    .room-search-form .form.form--filter.formmakerent {
        padding: 10px 14px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .pluses .row .col-xs-12 {
        padding-right: 16px;
        padding-left: 16px;
    }
}


@media (max-width: 499px) {
    .room-search-form .form.form--filter.formmakerent .form__submit-btn.btn {
        font-size: 12px;
    }

    .room-search-form .form.form--filter.formmakerent .form__submit-btn.btn {
        padding: 10px;
    }
}

@media (min-width: 992px) {
    .nav__list-item-href--active:before {
        bottom: 10px !important;
    }
}

.datepicker {
    /* position: fixed !important; */
    z-index: 99999 !important;
}

.js-datepicker-from+.datepicker,
.js-datepicker-from~.datepicker {
    left: 20px !important;
    right: auto !important;
    transform: none !important;
}

.js-datepicker-to+.datepicker,
.js-datepicker-to~.datepicker {
    right: 20px !important;
    left: auto !important;
    transform: none !important;
}

@media (max-width: 768px) {
    .datepicker {
        position: absolute !important;
        width: calc(100vw - 40px) !important;
        max-width: 280px !important;
        margin: 0 auto !important;
    }

    .js-datepicker-from+.datepicker,
    .js-datepicker-from~.datepicker,
    .js-datepicker-to+.datepicker,
    .js-datepicker-to~.datepicker {
        left: 20px !important;
        right: 20px !important;
        margin: 0 auto !important;
    }

    .datepicker.-bottom-left-.-from-bottom-.active {
        left: 50px !important;
    }

    .form__field-input, .form__field-textarea {
        font-size: 16px;
    }

    .count__input {
        font-size: 16px;
    }
}

.header__top {
    display: none;
}

.header__bottom {
    padding-top: 20px;
}

.header__bottom .container {
    max-width: 1280px;
}

.header__bottom .container:after {
    display: none;
}

.header__bottom-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.header__bottom-inner::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
}

@media (min-width: 991px) {
    .nav {
        display: flex;
        align-items: flex-end;
    }
}

.header__bottom-inner .header__phone {
    display: flex;
    align-items: flex-end;
    padding-bottom: 16px;
    font-weight: 600;
    font-size: 26px;
    color: #fff;
    white-space: nowrap;
}

.card__descr {
    line-height: 1.2;
}

.header .logo {
    padding-bottom: 16px;
}

.header__bottom-inner:before {
    content: 'Меню';
    display: none;
    position: absolute;
    left: 12px;
    top: 16px;
    font-weight: bold;
    font-size: 13px;
    line-height: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--white-color);
}

.header__bottom .container:before {
    display: none;
}

.text-center {
    text-align: center;
}


.relax__item-detail.common-href-arrow {
    padding: 17px 25px;
    background: #f4f5f6;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #241c4d;
}

.relax__item-detail svg path {
    stroke: #000;
    transition: stroke 0.3s ease;
}

.relax__item-detail.common-href-arrow:hover {
    background: #2f426c;
    color: #fff;
}

.relax__item-detail.common-href-arrow:hover svg path {
    stroke: #fff;
}

.card__details.common-href-arrow {
    padding: 17px 25px;
    background: #f4f5f6;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #241c4d;
}

.card__details.common-href-arrow svg path {
    stroke: #000;
    transition: stroke 0.3s ease;
}

.card__details.common-href-arrow:hover {
    background: #2f426c;
    color: #fff;
}

.card__details.common-href-arrow:hover svg path {
    stroke: #fff;
}

.publ__item-detail.common-href-arrow {
    padding: 17px 25px;
    background: #f4f5f6;
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #241c4d;
}

.publ__item-detail.common-href-arrow svg path {
    stroke: #000;
    transition: stroke 0.3s ease;
}

.publ__item-detail.common-href-arrow:hover {
    background: #2f426c;
    color: #fff;
}

.publ__item-detail.common-href-arrow:hover svg path {
    stroke: #fff;
}

.about .container p {
    text-align: center !important;
}

.footer__top {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer__top-left {
    display: flex;
    gap: 30px;
}

.footer__top-right {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__medium {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 700px;
}

.footer__medium-item {
    display: flex;
    gap: 30px;
}

.footer__contacts_items {
    display: flex;
    gap: 20px;
}

.footer__contacts_items a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__developer {
    display: flex;
    gap: 35px;
}

.footer__developer-link {
    display: flex;
    width: fit-content;
    color: #cccccc;
    text-decoration: none;
    font-weight: 400;
    font-size: 10px;
    transition: all 0.3s ease-in-out;
}

.header .logo-inner {
    display: none;
    max-width: 205px;
}

.header:not(.header--ghost) .logo-inner {
    display: block;
}

.header:not(.header--ghost) .logo-index {
    display: none;
}

.header:not(.header--ghost) .header__bottom-inner .header__phone {
    color: #1c2e3e;
}

.header:not(.header--ghost) .header__bottom-inner:before {
    color: #1c2e3e;
}

.header .nav .nav__sublist {
    padding: 0;
}

.header .nav .nav__sublist-item {
    margin: 0;
    padding: 15px 30px;
    border-top: 1px solid #e8e8e8;
    transition: all 0.3s ease-in-out;
}

.header .nav .nav__sublist-item:first-child {
    border-top: none;
}

.nav__sublist-item:hover {
    background-color: #f5f5f5;
}

.nav__sublist-item:hover .nav__sublist-item-href {
    color: var(--primary-color);
}

.aside-nav .aside-nav__list-item {
    box-sizing: border-box;
    display: block;
    padding: 0;
    background: #fafcff;
}

.aside-nav .aside-nav__list-href {
    display: block;
    padding: 20px 14px;
    font-weight: 500;
    font-size: 14px;
    color: #2b2b2b;
}

.aside-nav .aside-nav__list-item:first-child .aside-nav__list-toggle {
    top: 15px;
}

.aside-nav .aside-nav__list-toggle:after {
    content: '';
    display: block;
    position: absolute;
    right: 7px;
    top: 5px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 5px;
    height: 5px;
    border-right: 2px solid #B7B7B7;
    border-bottom: 2px solid #B7B7B7;
    -webkit-transition: -webkit-transform var(--duration);
    transition: -webkit-transform var(--duration);
    transition: transform var(--duration);
    transition: transform var(--duration), -webkit-transform var(--duration);
}

.aside-nav__list-toggle {
    right: 7px;
}

.aside-nav__sublist .aside-nav__sublist-item {
    background: #fff;
    margin: 0;
    padding: 14px 10px 14px 20px;
}

.aside-nav__sublist .aside-nav__sublist-item .aside-nav__sublist-href {
    font-weight: 500;
    font-size: 14px;
    color: #53525d;
}

.aside-nav__sublist-href.active {
    color: #213966;
}

.aside-nav__sublist-item:has(.aside-nav__sublist-href.active) {
    background: #f6f8ff;
    border-bottom: 1px solid #213966;
}

.main__block-img {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 30px;
}

.main__block-img::after {
    content: "";
    display: block;
    width: 100%;
    padding-top: 37.99%;
}

.main__block-img>img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header:not(.header--ghost) .logo {
    margin-right: -20px;
}

.main__head {
    height: 440px;
    background-position: center 40%;
    padding: 40px 0;
}

.pluses.pluses--bg {
    padding: 64px 0;
    background: var(--gray-light-color);
}

.pluses:not(.pluses--bg) {
    padding: 64px 0;
}


.card__price .price-from {
    color: #2f426c;
    font-size: 20px;
}

.card__price {
    color: #2f426c;
    font-size: 20px;
}

.contacts-info .footer__contacts_items a {
    color: var(--base-color);
}

/* .card__price span:not([class]) {
    color: #000;
    font-size: 16px;
} */

.relax .relax__items {
    margin-top: 20px;
}

.tabs .tabs__nav-list {
    margin-bottom: 28px;
}

.tabs__list .wis-content h2, .wis-content h3, .wis-content h4, .wis-content h5 {
    margin-top: 15px;
}

.tabs__list .wis-content ul {
    margin-top: 5px;
}

.tabs__list .wis-content table th, .wis-content table td {
    padding: 10px 16px 10px 0;
}

.tabs__list .wis-content ul li {
    margin-bottom: 5px;
}

.main__content {
    padding-bottom: 32px;
}

.numbers+.feedback {
    padding-bottom: 64px;
}

.table-wrap table tr:nth-child(odd) {
    background-color: #f5f5f5;
}

@media (max-width: 1299px) {
    .header .logo {
        margin: 0;
    }

    .header__bottom-inner .header__phone {
        font-size: 22px;
    }

    .header .logo {
        max-width: 190px;
    }

    .header .logo-inner {
        max-width: 190px;
    }

    .card__price .price-from {
        font-size: 16px;
    }

    .card__price {
        font-size: 16px;
    }
}

@media (max-width: 1199px) {
    .header__bottom-inner .header__phone {
        font-size: 18px;
    }

    .header .logo {
        max-width: 130px;
    }

    .header .logo-inner {
        max-width: 130px;
    }

    .nav__list-item {
        margin: 0 10px;
    }

}

@media (max-width: 991px) {
    .header__bottom-inner {
        flex-direction: column;
    }

    .header .logo {
        max-width: 155px;
    }

    .header .logo-inner {
        max-width: 155px;
    }

    .header__bottom-inner:before {
        display: block;
    }

    .header__bottom-inner .header__phone {
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        padding-bottom: 0;
    }

    .header .logo {
        position: absolute;
        left: 50%;
        bottom: 40px;
        transform: translateX(-50%);
    }

    .header__bottom {
        padding-top: 100px;
    }

    .header__bottom-inner::after {
        bottom: -12px;
    }

    .footer__top-right {
        position: relative;
        top: auto;
        right: auto;
        align-items: center;
    }

    .footer__top {
        flex-direction: column-reverse;
        gap: 20px;
        margin-bottom: 20px;
    }

    .footer__bottom {
        gap: 0;
        margin-bottom: 35px;
    }

    .footer__developer {
        align-items: center;
        justify-content: center;
    }

    .room-search-form {
        padding: 60px 0 5px;
    }

    .room-search-form::before {
        top: 50px;
    }

    .room-search-form .form__row-title {
        text-align: center;
    }
}

@media (max-width: 767px) {
    .tabs .tabs__nav-list {
        margin-bottom: 24px;
    }

    .header__bottom-inner .header__phone {
        font-size: 18px;
    }

    .header .logo {
        max-width: 155px;
    }

    .header .logo-inner {
        max-width: 155px;
    }

    .header__bottom-inner .header__phone {
        right: auto;
        top: auto;
    }

    .relax__item-detail.common-href-arrow {
        background: #2f426c;
        color: #fff;
        font-size: 10px;
        padding: 10px 15px;
    }

    .relax__item-detail svg {
        width: 24px;
        height: 11px;
    }

    .relax__item-detail svg path {
        stroke: #fff;
    }

    .card__details.common-href-arrow {
        background: #2f426c;
        color: #fff;
        font-size: 10px;
        padding: 10px 15px;
    }

    .card__details.common-href-arrow svg {
        width: 24px;
        height: 11px;
    }

    .card__details.common-href-arrow svg path {
        stroke: #fff;
    }

    .publ__item-detail.common-href-arrow {
        background: #2f426c;
        color: #fff;
        font-size: 10px;
        padding: 10px 15px;
    }

    .publ__item-detail.common-href-arrow svg {
        width: 24px;
        height: 11px;
    }

    .publ__item-detail.common-href-arrow svg path {
        stroke: #fff;
    }


    .footer__top-left {
        flex-direction: column;
        gap: 0;
    }

    .footer__top-left .social {
        margin: 0 auto;
    }

    .footer__top {
        gap: 35px;
        margin-bottom: 35px;
    }

    .footer__medium {
        flex-direction: column;
        align-items: center;
        margin-bottom: 25px;
    }

    .footer__medium .footer__contacts_block_body {
        text-align: center;
    }

    .footer__contacts_items {
        flex-direction: column;
        gap: 5px;
    }

    .footer__copy {
        text-align: center;
    }

    .footer__medium-item {
        flex-direction: column;
        gap: 0;
    }

    .footer__contacts_block {
        align-items: center;
    }

    .footer__nav-list-item {
        margin: 0 8px 20px;
        text-align: center;
    }

    .footer__nav {
        margin-bottom: 15px;
    }

    .footer__bottom {
        gap: 0;
    }

    .footer__menu_2 .footer__nav-list-href {
        text-align: center;
    }

    .faq__item-button {
        color: #000;
        font-weight: normal;
    }

    .footer__developer {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .wis-content ul li {
        margin-bottom: 5px;
    }

    .main__block-img::after {
        padding-top: 43.70%;
    }


    .main__head .container {
        height: 100% !important;
    }

    .main__head {
        height: 240px;
        min-height: 240px;
        background-position: center;
        padding: 20px 0;
    }

    .pluses.pluses--bg {
        padding: 32px 0;
        background: var(--gray-light-color);
    }

    .pluses:not(.pluses--bg) {
        padding: 32px 0;
    }

    .card__price .price-from {
        font-size: 16px;
    }

    .card__price {
        font-size: 16px;
    }

    [class*="col-"]+[class*="col-"] .main__aside {
        margin-top: 0;
    }

    .numbers+.feedback {
        padding-bottom: 32px;
    }
}

@media (max-width: 575px) {
    .main__aside {
        width: calc(100% + 32px);
        margin: 0 -16px 32px;
    }

    .aside-nav .aside-nav__list-href {
        padding: 10px 14px;
        font-size: 12px;
    }

    .aside-nav .aside-nav__list-item:first-child .aside-nav__list-toggle {
        top: 15px;
    }

    .aside-nav .aside-nav__list-toggle:after {
        right: 14px;
    }

    .aside-nav__sublist .aside-nav__sublist-item {
        padding: 10px 10px 10px 20px;
    }

    .aside-nav__sublist .aside-nav__sublist-item .aside-nav__sublist-href {
        font-size: 12px;
    }


    .header:not(.header--ghost) .logo {
        margin-right: 0;
    }

    .main__block-img {
        width: calc(100% + 32px);
        margin: 0 -16px 30px;
    }

    .main__block-img::after {
        padding-top: 53.70%;
    }

}