@-webkit-keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load3 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

.n-room-modal {
    width: 100%;
    max-width: 1200px;
    padding: 0;
}

.n-room-modal-wrap {
    /*display:flex;
    flex-flow:row nowrap;
    justify-content: flex-start;
    align-items: stretch;*/
}

.n-room-modal-wrap .loader:not(.n-room-modal-wrap.loading .loader) {
    display: none;
}

.n-room-modal-wrap .loader {
    overflow: hidden;
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 10px;
    margin: 0 0 0 -3em;
    width: 6em;
    height: 6em;
    border-radius: 50%;
    background: #ffffff;
    background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 42%);
    animation: load3 1.4s infinite linear;
    transform: translateZ(0);
}

.n-room-modal-wrap .loader:before {
    width: 50%;
    height: 50%;
    background: #ffffff;
    border-radius: 100% 0 0 0;
    position: absolute;
    top: 0;
    left: 0;
    content: '';
}

.n-room-modal-wrap .loader:after {
    background: #292d33;
    width: 75%;
    height: 75%;
    border-radius: 50%;
    content: '';
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/*.n-room-modal-wrap.loading {
    background: #292D33;
}*/
.n-room-modal-wrap.loading iframe {
    opacity: 0;
    visibility: hidden;
}

.n-room-modal-wrap.information .n-room-more-info {
    font-size: 0;
}

.n-room-modal-wrap.information .n-room-more-info:before {
    content: "Свернуть";
    font-size: 14px;
}

.n-room-content {
    display: flex;
    padding: 40px 50px 30px;
}

.n-room-content:not(.opened) {
    display: none;
}

.n-room-information {
    flex: 0 0 50%;
    margin-right: 40px;
}

.n-room-modal-pic-col {
    position: relative;
    /*    width:45%;*/
}

.n-room-modal-pic-carousel {
    width: 100%;
    /*    display: none;*/
    height: 100%;
}

.n-room-modal-pic-carousel:not(.slick-initialized) {
    display: flex;
    flex-wrap: nowrap;
    overflow: hidden;
}

.n-room-modal-pic-carousel:not(.slick-initialized) .n-room-modal-pic-unit {
    flex: 0 0 100%;
    position: relative;
}

.n-room-modal-pic-carousel:not(.slick-initialized) .n-room-modal-pic-unit img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.n-room-modal-pic-carousel.slick-initialized {
    display: block;
}

.n-room-text-col {
    width: 55%;
    padding: 40px;
    box-sizing: border-box;
    overflow: auto;
}


/* width */
.n-room-text-col::-webkit-scrollbar {
    width: 4px;
}

/* Track */
.n-room-text-col::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
.n-room-text-col::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
.n-room-text-col::-webkit-scrollbar-thumb:hover {
    background: #555;
}


.n-room-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.n-room-text-col .text-panel {
    margin-bottom: 35px;
    text-align: center;
}

.n-room-win-arrow {
    width: 80px;
    height: 80px;
    background: url(../img/ven-arrow.svg)no-repeat;
    background-size: contain;
    background-position: center;
    cursor: pointer;
}

.fancybox-can-swipe .fancybox-content.n-room-modal {
    cursor: initial;
}

.n-room-next-arrow {
    transform: rotate(180deg);
}

.n-room-win-title {
    font-size: 36px;
    font-family: 'Goldenbook', serif;
    font-weight: normal;
    position: relative;
    margin-bottom: 0;
    /*    transform: translateY(7px);*/
    text-align: left;
    padding-bottom: 0;
}

.n-room-win-title:after {
    display: none;
}

.n-room-modal-wrap .slick-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
}

.n-room-adv-icon-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.n-room-modal-wrap .slick-dots button {
    border: 1px solid #fff;
    background: transparent;
    font-size: 0;
    width: 13px;
    height: 13px;
    margin: 0 4px;
    border-radius: 13px;
    outline: none;
}

.n-room-modal-wrap .slick-dots .slick-active button {
    background-color: #fff;
}

.n-room-adv-list-wr {
    flex: 1 1 0;
}

.n-room-adv-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    column-gap: 50px;
    row-gap: 24px;
}

.n-room-adv-unit p {
    font-size: 14px;
    text-align: center;
}

.n-room-modal .slick-list {
    height: 100%;
}

.n-room-modal .slick-track {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.n-room-modal .slick-slide {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.n-room-modal .slick-slide img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.n-room-review {
    position: relative;
    overflow: hidden;
}

.n-room-modal-pic-unit {
    font-size: 0;
    color: #fff;
}

.n-room-modal-pic-unit:before,
.n-room-review:before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.n-room-review iframe {
    position: absolute;
    left: 0;
    right: 0;
    top: -55px;
    bottom: 0;
    width: 100% !important;
    height: calc(100% + 55px) !important;
    transition: opacity 0.3s ease-in;
}

.n-room-more-info {
    position: absolute;
    right: 0;
    bottom: 0;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #FFFFFF;
    border: none;
    outline: none;
    background: rgba(41, 45, 51, 0.92);
    backdrop-filter: blur(9px);
    padding: 30px 40px;
    cursor: pointer;
    z-index: 1;
}

.n22-new-modal .n22-room-modal-type-selector-row {
    background: #F2F2F3;
    padding: 25px 27px 20px;
    box-sizing: border-box;
}

.n22-new-modal .n22-room-modal-type-selector {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-flow: row wrap;
}

.n-room-modal-wrap .n-room-win-arrow {
    display: none;
}

.n22-new-modal .n22-room-modal-type-selector .fh-plan-legend-unit {
    margin-right: 32px;
    opacity: 1;
    margin-bottom: 12px;
    padding-left: 34px;
    font-size: 16px;
}

.n22-new-modal .fh-plan-legend-unit>span,
.n22-new-modal .fh-plan-legend-unit::after {
    width: 22px;
    height: 22px;
    top: 0;
}

.n22-new-modal .fh-plan-legend-unit:not(.active)::after {
    background: #FFFFFF;
    border: 1px solid #767B83;
}

.fh-plan-pic-holder img {
    width: 100%;
    height: auto;
}

.fh-plan-pic-holder {
    display: none;
    align-items: center;
    justify-content: center;
}

.fh-plan-pic-holder.active {
    display: flex;

}

.fh-plan-selector {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-flow: row nowrap;
    margin-bottom: 90px;
}

.fh-plan-selector-unit {
    font-family: 'Goldenbook', serif;
    font-weight: normal;
    font-size: 1.125rem;
    line-height: 1.3;
    position: relative;
    padding-left: 3.75rem;
    box-sizing: border-box;
    text-transform: uppercase;
    margin: 0 1.25rem;
    cursor: pointer;
    user-select: none;
}

.fh-plan-selector-unit::after {
    content: '';
    position: absolute;
    left: 0;
    top: -0.5rem;
    bottom: 0;
    width: 2.375rem;
    height: 2.375rem;
    border-radius: 2.375rem;
    background-color: #fff;
    box-sizing: border-box;
    border: 1px solid #767B83;
    transition: 0.2s;
}

.fh-plan-selector-unit:hover::after {
    background-color: #f0e4ce;
}

.fh-plan-selector-unit.active::after {
    content: '';
    background-color: #EECB8E;
    border: 1px solid #EECB8E;
}

.fh-plan-top-panel {
    margin-bottom: 76px;
}

.fh-plan-top-pic-wrap {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.fh-plan-top-pic-wrap:before {
    content: "";
    display: block;
    padding-top: 15%;
}

.fh-plan-top-pic-wrap img {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fh-plan-top-pic-wrap.active {
    display: flex;
}

.fh-plan-legend-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.fh-plan-legend-unit {
    font-family: 'Goldenbook', serif;
    font-weight: normal;
    font-size: 18px;
    line-height: 1.5;
    position: relative;
    padding-left: 60px;
    box-sizing: border-box;
    text-transform: uppercase;
    margin-bottom: 38px;
    cursor: pointer;
    user-select: none;
    transition: 0.2s;
}

.fh-plan-legend-unit {
    opacity: 0.2;
}

.fh-plan-legend-unit.active {
    opacity: 1;
}

.fh-plan-legend-unit:last-child {
    margin-bottom: 0;
}

.fh-plan-legend-unit>span,
.fh-plan-legend-unit::after {
    content: '';
    position: absolute;
    left: 0;
    top: -8px;
    bottom: 0;
    width: 38px;
    height: 38px;
    border-radius: 38px;
    background-color: #fff;
    box-sizing: border-box;
    border: 1px solid #767B83;
    transition: 0.2s;
}

.fh-plan-legend-unit>span {
    opacity: 0;
    z-index: 1;
    border-color: transparent;
}

.fh-plan-legend-panel {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: flex-start;
}

.fh-plan-legend-list {
    width: 30%;
    padding-right: 30px;
    box-sizing: border-box;
}

.fh-plan-legend-list .fh-plan-legend-unit>span,
.fh-plan-legend-unit.active>span {
    opacity: 1;
}

.fh-plan-legend-unit.standart-unit::after {
    border: 1px solid #E9EC9A;
    background-color: #E9EC9A;
}

.fh-plan-legend-unit.superior-unit::after {
    border: 1px solid #CDE6C1;
    background-color: #CDE6C1;
}

.fh-plan-legend-unit.double-deluxe-unit::after {
    border: 1px solid #86B9E4;
    background-color: #86B9E4;
}

.fh-plan-legend-unit.deluxe-twin::after {
    border: 1px solid #49BBDD;
    background-color: #49BBDD;
}

.fh-plan-legend-unit.pos-unit::after {
    border: 1px solid #EDA34C;
    background-color: #EDA34C;
}

.fh-plan-legend-unit.dip-unit::after {
    border: 1px solid #F05A22;
    background-color: #F05A22;
}

.fh-plan-legend-unit.pres-unit::after {
    border: 1px solid #DD3333;
    background-color: #DD3333;
}

.fh-plan-legend-unit.one-standart-unit::after {
    border: 1px solid #2DBCB5;
    background-color: #2DBCB5;
}

.fh-plan-legend-unit.one-superior-unit::after {
    border: 1px solid #A87FB9;
    background-color: #A87FB9;
}

/*.fh-cont-panel .floating-hotel-list{
    padding-top:60px;
    box-sizing: border-box;
}*/

.n-room-ship-stage {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.n-room-ship-stage img {
    max-width: 100%;
    mix-blend-mode: multiply;
    filter: brightness(1.07);
}

.fp-modal .section-title.nobefore::before {
    display: none;
}

.fp-modal .section-title>span,
.fp-modal .section-title::before {
    position: relative;
    content: '';
    width: 24px;
    height: 24px;
    display: inline-flex;
    border-radius: 24px;
    margin-right: 24px;
}

.n-room-adv-title {
    font-size: 24px;
    font-family: 'Goldenbook', serif;
    font-weight: normal;
    margin-bottom: 20px;
    font-weight: normal;
}

@media screen and (max-width: 1022px) {
    .n22-new-modal .n22-room-modal-type-selector {
        display: block;
        white-space: nowrap;
        overflow: auto;
        padding-left: 20px;
        padding-right: 20px;
    }

    .n22-new-modal .n22-room-modal-type-selector .fh-plan-legend-unit {
        display: inline-block;
    }

    .n22-new-modal .n22-room-modal-type-selector-row {
        padding-right: 0;
        padding-left: 0;
        padding-top: 40px;
    }

    .n-room-adv-unit p {
        font-size: 11px;
    }

    .section-title {
        font-size: 24px;
    }

    .n-room-adv-list {
        column-gap: 40px;
        row-gap: 14px;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .n-room-modal .article-text-block__image-slider-pagination {
        display: block;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 15px;
        z-index: 1;
        text-align: center;
    }

    .n-room-modal .article-text-block__image-slider-pagination .swiper-pagination-bullet {
        width: 0.5rem;
        height: 0.5rem;
        background: #fff;
        opacity: 1;
    }

    .n-room-modal .article-text-block__image-slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
        background: #014c88;
    }
}

@media screen and (max-width: 768px) {
    .n-room-modal-wrap {
        flex-direction: column;
    }

    .n-room-content {
        padding: 30px 20px 80px;
        display: block;
    }

    .n-room-information {
        margin: 0 0 30px;
    }

    .n-room-review:before {
        padding-top: calc(100vh - 100px);
    }

    .n-room-more-info {
        left: 0;
        width: 100%;
        text-align: center;
        position: static;
    }

    .n-room-modal-pic-unit:before,
    .n-room-review:before {
        padding-top: 56.25%;
    }

    .n-room-modal-wrap.information .n-room-review {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .n-room-modal-wrap.information .n-room-review:before {
        padding-top: 70px;
    }

    .n-room-adv-list {
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 20px;
    }
}