/**
 * Excursion page
 */
.tour-page .tour-header {
    margin-bottom: 18px;
}

.tour-page .tour-title {
    margin: 8px 0 12px;
}

.tour-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 0;
    color: #1C252E;
    font-size: 16px;
    line-height: 1.45;
}

.tour-meta__item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.tour-meta__item + .tour-meta__item::before {
    content: "•";
    margin: 0 18px;
    color: #27AE4B;
    font-weight: 700;
}

.tour-rating__star {
    margin-right: 4px;
    color: #27AE4B;
    font-size: 18px;
    line-height: 1;
}

.tour-rating__value {
    font-weight: 600;
}

.tour-rating__separator {
    margin: 0 18px;
    color: #27AE4B;
    font-weight: 700;
}

.tour-rating a,
.tour-schedule a {
    color: #2079BF;
    border-bottom: 1px dashed #90C4EC;
    text-decoration: none;
}

.tour-rating a:hover,
.tour-rating a:focus,
.tour-schedule a:hover,
.tour-schedule a:focus {
    color: #27AE4B;
    border-bottom-color: #AEDDA5;
    text-decoration: none;
}

.tour-schedule__icon {
    flex: 0 0 auto;
    width: 19px;
    height: 19px;
    margin-right: 7px;
    color: #4C6379;
}

.tour-schedule__icon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.tour-gallery {
    position: relative;
    width: 100%;
    margin: 0 0 32px;
}

.tour-gallery[data-photo-count="0"] {
    display: none;
}

.tour-gallery__track {
    display: grid;
    width: 100%;
    aspect-ratio: 72 / 23;
    gap: 6px;
    overflow: hidden;
}

.tour-gallery__item {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: 6px;
    background-color: #F7F9FB;
    background-image: url(data:image/gif;base64,R0lGODlhCgAIAIABAN3d3f///yH5BAEAAAEALAAAAAAKAAgAAAINjAOnyJv2oJOrVXrzKQA7);
    cursor: zoom-in;
}

.tour-gallery__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 180ms ease, transform 220ms ease;
}

.tour-gallery__image.is-loaded {
    opacity: 1;
}

.tour-gallery__item:hover .tour-gallery__image {
    transform: scale(1.015);
}

.tour-gallery[data-photo-count="5"] .tour-gallery__track,
.tour-gallery[data-photo-count="4"] .tour-gallery__track {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.tour-gallery[data-photo-count="5"] .tour-gallery__item:nth-child(1),
.tour-gallery[data-photo-count="4"] .tour-gallery__item:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
}

.tour-gallery[data-photo-count="5"] .tour-gallery__item:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.tour-gallery[data-photo-count="5"] .tour-gallery__item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.tour-gallery[data-photo-count="5"] .tour-gallery__item:nth-child(4) {
    grid-column: 3;
    grid-row: 1;
}

.tour-gallery[data-photo-count="5"] .tour-gallery__item:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
}

.tour-gallery[data-photo-count="4"] .tour-gallery__item:nth-child(2) {
    grid-column: 2;
    grid-row: 1 / 3;
}

.tour-gallery[data-photo-count="4"] .tour-gallery__item:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.tour-gallery[data-photo-count="4"] .tour-gallery__item:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
}

.tour-gallery[data-photo-count="3"] .tour-gallery__track {
    grid-template-columns: 2fr 1fr 1fr;
}

.tour-gallery[data-photo-count="2"] .tour-gallery__track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tour-gallery[data-photo-count="1"] .tour-gallery__track {
    grid-template-columns: minmax(0, 1fr);
}

.tour-gallery__dots {
    display: none;
}

.tour-layout {
    display: flow-root;
}

.tour-main {
    float: left;
    width: calc(66.666667% - 20px);
    min-width: 0;
}

.tour-main .topics-list {
    padding-top: 0;
}

.tour-main h2:first-child {
    margin-top: 4px;
}

.tour-booking {
    float: right;
    clear: right;
    width: calc(33.333333% - 10px);
    min-width: 0;
    margin: 3px 0 22px;
}

.tour-booking__price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    margin-bottom: 14px;
    color: #27AE4B;
}

.tour-booking__amount {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
}

.tour-booking__unit {
    margin-left: 7px;
    color: #546D85;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
}

.tour-booking__button,
.tour-booking__button > div {
    width: 100%;
}

.tour-booking__button .btn-success-order,
.tour-booking__button > .btn-action {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.25;
    white-space: normal;
}

.tour-prepayment {
    display: flex;
    align-items: flex-start;
    margin-top: 18px;
    color: #1C252E;
}

.tour-prepayment__icon {
    position: relative;
    flex: 0 0 auto;
    width: 25px;
    height: 20px;
    margin: 1px 10px 0 0;
    color: #27AE4B;
}

.tour-prepayment__icon::before,
.tour-prepayment__icon::after {
    content: "";
    position: absolute;
    top: 3px;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

.tour-prepayment__icon::before {
    left: 1px;
}

.tour-prepayment__icon::after {
    left: 8px;
    background-color: #FFF;
}

.tour-prepayment__title {
    display: block;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.tour-prepayment__description {
    display: block;
    margin-top: 1px;
    color: #546D85;
    font-size: 14px;
    line-height: 1.4;
}

.tour-support {
    float: right;
    clear: right;
    width: calc(33.333333% - 10px);
    min-width: 0;
}

.tour-support > .col-sm-4 {
    float: none;
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.tour-support .o-gid {
    padding-top: 0;
}

.tour-support .gidpad,
.tour-support .aqlink,
.tour-support .garantb,
.tour-support .perelinkcg {
    margin-right: 0;
    margin-left: 0;
}

.tour-similar {
    clear: both;
    width: 100%;
    min-width: 0;
}

.tour-gallery__item:focus,
.tour-gallery__dots button:focus {
    outline: 2px solid #2079BF;
    outline-offset: 2px;
}

@media (max-width: 1199.98px) {
    .tour-meta__schedule {
        flex-basis: 100%;
    }

    .tour-meta__schedule::before {
        display: none;
    }

    .tour-gallery {
        margin-bottom: 20px;
    }

    .tour-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "booking"
            "main"
            "support"
            "similar";
        column-gap: 0;
    }

    .tour-main,
    .tour-booking,
    .tour-support,
    .tour-similar {
        float: none;
        clear: none;
        width: 100%;
    }

    .tour-main {
        grid-area: main;
    }

    .tour-booking {
        grid-area: booking;
        display: grid;
        grid-template-columns: minmax(320px, 0.85fr) minmax(280px, 1.15fr);
        column-gap: 24px;
        align-items: center;
        margin: 0 0 24px;
    }

    .tour-booking__price {
        grid-column: 1 / -1;
        margin-bottom: 12px;
    }

    .tour-prepayment {
        margin-top: 0;
    }

    .tour-main h2:first-child {
        margin-top: 0;
    }

    .tour-support {
        grid-area: support;
        margin-top: 6px;
    }

    .tour-similar {
        grid-area: similar;
    }
}

@media (max-width: 767.98px) {
    .tour-page .tour-header {
        margin-bottom: 12px;
    }

    .tour-page .tour-title {
        margin-bottom: 10px;
    }

    .tour-meta {
        display: block;
        font-size: 14px;
    }

    .tour-meta__item {
        display: flex;
        width: 100%;
        margin-top: 7px;
    }

    .tour-meta__item:first-child {
        margin-top: 0;
    }

    .tour-meta__item + .tour-meta__item::before {
        display: none;
    }

    .tour-gallery {
        margin-bottom: 16px;
    }

    .tour-gallery__track {
        display: flex;
        width: auto;
        margin-right: -15px;
        margin-left: -15px;
        padding: 0 15px;
        gap: 6px;
        aspect-ratio: auto;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .tour-gallery__track::-webkit-scrollbar {
        display: none;
    }

    .tour-gallery__item {
        flex: 0 0 min(calc(100vw - 58px), 360px);
        aspect-ratio: 3 / 3.5;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    .tour-gallery[data-photo-count="1"] .tour-gallery__track {
        padding-right: 0;
        padding-left: 0;
    }

    .tour-gallery[data-photo-count="1"] .tour-gallery__item {
        flex-basis: 100vw;
        border-radius: 0;
    }

    .tour-gallery__item:hover .tour-gallery__image {
        transform: none;
    }

    .tour-gallery__dots {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 12px;
        margin-top: 8px;
        gap: 5px;
    }

    .tour-gallery[data-photo-count="1"] .tour-gallery__dots {
        display: none;
    }

    .tour-gallery__dots button {
        width: 6px;
        height: 6px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background-color: #AAB7C4;
        box-shadow: none;
        transition: background-color 150ms ease, transform 150ms ease;
    }

    .tour-gallery__dots button.is-active {
        background-color: #4C6379;
        transform: scale(1.25);
    }

    .tour-booking {
        display: block;
        margin-bottom: 24px;
    }

    .tour-booking__price {
        margin-bottom: 12px;
    }

    .tour-booking__amount {
        font-size: 24px;
    }

    .tour-booking__button .btn-success-order,
    .tour-booking__button > .btn-action {
        min-height: 46px;
        font-size: 16px;
    }

    .tour-prepayment {
        margin-top: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tour-gallery__image,
    .tour-gallery__dots button {
        transition: none;
    }

    .tour-gallery__track {
        scroll-behavior: auto;
    }
}

/**
 * Tour calendar
 */
.tour-calendar {
    border-bottom: 1px solid #DBE3EC;
    padding: 0 0 1rem;
}

.tour-calendar-box {
    margin: 1.5rem 0 1.5rem;
}

.or-clrd-div {
    padding: 2px 0 0 10px;
}

.cldrblock-out {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    column-gap: 0;
    margin: 2.8rem 0 1.2rem 0;
}

.cldrblock-in {
    width: 50%; padding: 0; margin: 0;
}

.tour-calendar-legend {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    column-gap: 5%;
    margin: 0.2rem 0 1.1rem 0;
}
.tour-calendar-legend__item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.tour-calendar-legend__item-icon {
    width: 30px;
    height: 18px;
    border-radius: 6%;
}
.tour-calendar-legend__item_available .tour-calendar-legend__item-icon {
    background-color: #c3ebc7;
}
.tour-calendar-legend__item_unavailable .tour-calendar-legend__item-icon {
    background-color: #ffd9db;
}
.tour-calendar-legend__item-label {
    padding-left: 1rem;
    padding-right: 2px;
    font-size: 16px;
    line-height: 1.2;
    white-space: nowrap;
    color: #1C252E;
}

.show-calendar {
    position: relative;
}

.show-calendar .show-calendar-nav {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.show-calendar .show-calendar-nav__button {
    padding: 1.2rem 1.6rem 1.2rem 1.2rem;
}
.show-calendar .show-calendar-nav__button span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-top: -4px;
    color: #27AE4B;
    font-size: 3.4em;
    line-height: 1;
    font-weight: bold;
}

.show-calendar .show-calendar-nav__button:not(.disabled) {
    cursor: pointer;
}
.show-calendar .show-calendar-nav__button:not(.disabled):hover span{
    color: #3ba645;
}
.show-calendar .show-calendar-nav__button.disabled span {
    display: none;
}

.show-calendar .show-calendar-tables {
    display: flex;
    column-gap: 2%;
}

.show-calendar .show-calendar-table {
    width: 100%;
    font-size: 15px;
    /*line-height: 1.2;
    text-align: center;*/
}

.show-calendar .show-calendar-table .show-calendar-table__title,
.show-calendar .show-calendar-table .show-calendar-table__weeks {
    font-weight: 600;
}
.show-calendar .show-calendar-table .show-calendar-table__title {
    color: #1C252E;
    font-size: 1.3em;
    line-height: 2.4;
}
.show-calendar .show-calendar-table .show-calendar-table__weeks {
    color: #839ab0;
    font-weight: 400;
    margin: .7rem 0 .8rem;
}

.show-calendar .show-calendar-table tr {
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.show-calendar .show-calendar-table tbody td {
    display: flex;
    align-items: center;
    justify-content: center;
    /*min-width: 30px;*/
    width: calc(100% / 7);
    /*height: 37px;*/
    margin: 2px;
    border-radius: 6%;
    color: #222;
    font-size: 18px;
    font-size: clamp(16px, 4vw, 18px);
    font-weight: 600;
    line-height: 1.5;
    white-space: nowrap;
}
.show-calendar .show-calendar-table tbody td:before {
    content: "";
    padding-top: 100%;
}
.show-calendar .show-calendar-table tbody td:not(.available):not(.empty):not(.disabled) {
    background-color: #ffedee; /*rgba(244, 67, 54, 9%)*/
    color: #ff6266; /*#000*/
    cursor: default;
}
.show-calendar .show-calendar-table tbody td.available {
    background-color: #E2F5E3;
    color: #27AE4B;
    cursor: pointer;
}
.show-calendar .show-calendar-table tbody td.available:hover {
    background-color: #d3f0d5;
    cursor: pointer;
}
.show-calendar .show-calendar-table tbody td.available:active, .show-calendar .show-calendar-table tbody td.available:focus {
    background-color: #cdeed0;
    color: #3ba645;
    box-shadow: inset 0px 0px 6px #93da99;
    cursor: pointer;
}

.show-calendar .show-calendar-table tbody td.unavailable {
    background-color: #ffeaec;
    color: #ff374b;
    cursor: default;
}
.show-calendar .show-calendar-table tbody td.disabled {
    background-color: #f5f7f9;
    color: #b8c5d2;
    cursor: default;
}

.orclink {font-size: 16px; margin-left: 2px;}

.divp {
line-height: 1.5;
color: #1C252E;
font-weight: 400;
}

@media (max-width: 768px) and (min-width: 568px) {

    .show-calendar .show-calendar-table tbody td {
        font-size: 16px;
        font-size: clamp(16px, 2.4vw, 18px);
    }
}

@media (max-width: 568px) {
    .show-calendar .show-calendar-table tbody td {
        font-size: 17px;
        font-size: clamp(16px, 4.6vw, 18px);
    }
    .tour-calendar-legend__item-label {
    padding-right: 10px;
    }
}

@media (max-width: 768px) {
    .cldrblock-in {
    width: 100%;
    padding: 0;
    margin: 0;
    }
    .or-clrd-div {
    padding-left: 0;
    margin-top: 20px;
    }
    .tour-calendar {
    border-bottom: 0 solid #DBE3EC;
    }

}

@media (max-width: 1200px) and (min-width: 992px) {
    .btn-success-clrd {
        font-size: 18px;
        font-weight: 500;
        padding: 13px 2px;
    }
    .orclink {font-size: 14px;}
    
}

@media (max-width: 390px) {
    .btn-success-clrd, .btn-success-order {
        font-size: 18px;
        font-weight: 500;
        font-size: clamp(18px, 5.2vw, 20px);
    }
    .orclink {font-size: 14px;}
    
}
