/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
    color: #000000;
}

footer {
    margin-top: 2rem;
    text-align: center;
}

section {
    margin-top: 2rem;
}

.site-main {
    /*margin-top: 80px;*/
}

.admin-bar {
    /*padding-top: 80px;*/
    position: relative;
}

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

.hidden {
    display: none !important;
}

.--mrg-top-100px {
    margin-top: 100px;
}

.hamburger-mobile-menu {
    padding: 20px 0;
    cursor: pointer;
}

.mobile-menu-title {
    display: none;
}

.hamburger-menu {
    display: none;
    width: 30px;
    background: black;
    height: 3px;
    margin-right: 6px;
    position: relative;
}

.hamburger-menu:before, .hamburger-menu:after {
    content: "";
    position: absolute;
    height: 3px;
    top: -10px;
    width: 30px;
    background: inherit;
}

.hamburger-menu:after {
    top: 10px;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.--flex-center {
    justify-content: center;
}

.--mrg-1r {
    margin: 1rem;
}

.img-icon {
    width: auto;
    height: 32px;
}

/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
    margin-bottom: 1rem;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    background: lightgrey;
    /*height: 320px;*/
    /*height: calc(100vw / 3.875);*/
    height: calc(100vw / 3);
    /*
    height: calc( 100vw / 16 * 9 );
    min-height: 50vh;
    max-height: 400px;
    */
}

.carousel-item > img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*height: 320px;*/
    /*
      height: calc( 100vw / 16 * 9 );
      min-height: 50vh;
      max-height: 400px;
    */
}

.carousel-indicators {
    top: 1.5rem;
    right: 1.5rem;
    bottom: auto;
    left: auto;
    width: 1rem;
    margin-left: 0;
}

.carousel-indicators > li {
    margin-bottom: .25rem;
}

/* Nav
------------------------- */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
}

.navbar-nav {
    justify-content: space-between;
    flex-direction: unset;
}


.nav-item {
    padding: 0 1rem;
}

.nav-item > a, .menu-phone {
    color: #0056b3;
}

.city-change, .apply-city {
    cursor: pointer;
}

.cities-variants {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
}

.city-change, .apply-city {
    cursor: pointer;
}

.cities-variants .apply-city {
    min-width: 30%;
    text-align: center;
    padding: 2%;
}

#city-detection {
    display: none;
    position: absolute;
    background: #fff;
    padding: 1.2rem;
    border-radius: 0 .5rem;
    border: 1px solid #5d2d1b;
    top: 1rem;
    min-width: 200px;
    box-shadow: 3px 3px 5px 0px rgba(93, 45, 27, 0.3);
    z-index: 900;
}

#city-detection > div {
    padding: .2rem;
    text-align: center;
}

#city-detection > div > span {
    font-weight: 600;
}

#city-detection > div > button {
    all: unset;
    cursor: pointer;
    border-bottom: 1px dashed;
    padding: 0 .3rem;
    margin: 0 .3rem;
}

.btn-no {
    font-size: .8em !important;
}

.all-space {
    flex-grow: 999;
}

.hamburger-mobile-menu {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
}

.menu-phone {
    font-weight: 600;
    font-size: 1.2rem;
}

.mobile-menu-title {
    padding-left: 1rem;
}

.navbar-brand > img {
    height: 10vh;
    width: auto;
    max-height: 80px;
}

.menu-bottom:after {
    content: '';
    position: absolute;
    height: 5px;
    background: linear-gradient(rgba(200, 200, 200, 0.7), transparent);
    top: 100%;
    left: 0;
    right: 0;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
}

.footer-links > li {
    width: 100%;
}

/* Quest-cards CSS
-------------------------------------------------- */
.quest-card {
    margin-bottom: 1.4rem;
    cursor: pointer;
}

.quest-img > img {
    height: inherit;
}

.quest-img {
    height: 320px;
    overflow: hidden;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: no-repeat;
}

.quest-img:after {
    content: '';
    position: absolute;
    background: rgba(0, 0, 0, 0.4);
    top: 0;
    bottom: 0;
    width: calc(100% - 30px);
}

.quest-info {
    position: absolute;
    bottom: 0;
    padding: 1rem;
    color: #fff;
    width: calc(100% - 30px);
}

.quest-title {
    font-size: 1.4rem;
    font-weight: 600;
}

.quest-left-additions, .quest-right-additions {
    position: absolute;
    top: 1rem;
    color: #fff;
    font-weight: 600;
}

.quest-right-additions {
    right: 15px;
}

.quest-tag, .quest-difficulty, .quest-peoples {
    padding: .2rem 1rem;
    border-radius: 0 5px 5px 0;
    font-size: 1.2rem;
}

.pad-right {
    padding-right: .5rem;
}

.quest-adress {
    text-align: right;
}

.quest-block {

}

.block-title {
    font-size: 2rem;
    line-height: 3rem;
    text-align: center;
    margin: 1rem 0;
}

.map-container iframe {
    width: 100%;
}
/* Shedule CSS
-------------------------------------------------- */
.timetable-row {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.timetable > .timetable-row:last-of-type {
    display: none;
}

.slot {
    padding: 4px 8px;
    background: rgba(128, 128, 128, 0.1);
    margin: 4px 6px;
    border-radius: 3px;
    border: 1px solid gray;
    box-sizing: content-box;
    cursor: pointer;
}

.shedule-day {
    padding: 4px 8px;
    margin: 4px 6px;
    min-width: 110px;
    cursor: default;
}

[data-is_free="0"] {
    background: transparent !important;
    color: lightgray;
    cursor: not-allowed;
}

[data-is_free="1"] {
    color: #fff;
    /* text-shadow: 0px 0px 5px grey; */
}

.price {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    margin-right: 5px;
    margin-top: 5px;
    border-radius: 3px;
    border: 1px solid grey;
    color: #fff;
}

.prices {
    order: -1;
    margin-bottom: 1rem;
}

.timetable {
    display: flex;
    flex-direction: column;
}

.table-cell {
    padding: .5rem;
}

.days-separator:first-of-type {
    display: block;
}

.shedule-load-more-container {
    display: none;
    padding: 1rem;
    text-align: center;
}

/* BOOKING POP-UP CSS
-------------------------------------------------- */
#booking-popup .popup-content {
    border-radius: 5px;
}

.booking-input-row {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
}

.booking-input {
    max-width: 50%;
    height: 2rem;
    line-height: 2rem;
    margin-bottom: .5rem;
    outline: none;
    width: 100%;
    border: none;
    background: none;
    border-bottom: 1px solid lightgray;
}

.booking-input:disabled {
    border: none !important;
}

.booking-input-row label {
    width: 30%;
    min-width: 200px;
    text-align: right;
    font-weight: 300;
    margin: 0;
    margin-right: 2rem;
    height: 2rem;
    line-height: 2rem;
}

input[type=checkbox], input[type=radio] {
    width: unset;
}

.dop-booking-text {
    color: grey;
    font-size: .8rem;
}

.booking-btns {
    text-align: center;
    margin-top: 1rem;
}

.booking-btns .btn-cancel {
    color: grey;
    background-color: white;
    border: 1px solid lightgray;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 300;
    padding: 1rem 2rem;
}

.booking-btns .btn-cancel:hover {
    color: white;
}

.booking-btns .btn-book {
    color: white;
    background-color: orange;
    border: 1px solid orange;
    text-shadow: 0px 0 3px black;
    border-radius: 5px;
    font-size: 1rem;
    padding: 1rem 2rem;
}

.booking-btns .btn-book:hover {
    background-color: darkorange;
}

/* POP-UPS CSS
-------------------------------------------------- */
.show-popup {
    cursor: pointer;
}

.popup {
    display: none;
    position: fixed;
    z-index: 999999;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(200, 200, 200, 0.7);
}

.popup-back {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.popup-content {
    min-width: 320px;
    background: #fff;
    width: 60%;
    min-height: 30%;
    max-height: 100%;
    padding: 1rem;
    overflow: auto;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }
}

@media (max-width: 780px) {
    .days-separator {
        display: none;
    }

    .shedule-load-more-container {
        display: block;
    }
}

@media (max-width: 1000px) {
    .navbar {
        position: fixed;
    }

    .navbar-nav {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        right: 0;
        padding: 1rem;
    }

    .hamburger-menu, .mobile-menu-title {
        display: block;
    }

    .mobile-space {
        display: none;
    }

    .carousel-item {
        height: calc(100vw / 2.5);
    }

    .navbar-nav > .nav-item > a {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {

    .timetable-row {
        margin-bottom: 2rem;
    }

    .timetable-row:after {
        content: "";
        width: 100%;
        height: 1px;
        background-color: black;
        margin-top: 1rem;
    }

    .popup-content {
        width: 100%;
    }

    .booking-input,
    .booking-input-row label {
        margin-right: 0;
        max-width: unset;
        width: 100%;
        text-align: center;
    }

    .btn-cancel {
        margin-bottom: 2rem;
    }
}

@media (max-width: 370px) {
    .mobile-menu-title {
        display: none;
    }
}

/* new BEM */

/* Quest Block */
.quest-block {}

.quest-dop-info-block {
    padding-top: 2rem;
}

.quest-block_dark-theme {
    background: #10100B;
    color: #846D5A;
}

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

.quest-block__type {
    line-height: 2rem;
    padding-top: 2rem;
    font-size: calc(1.2rem + 1vw);
}

.quest-block__name {
    font-size: calc(1.8rem + 2vw);
    font-weight: 600;
}

.quest-block__description {
    text-align: center;
    padding: 0 5% 3rem;
    margin: 0;
}


/* Simple Text Block */
.simple-text-block {
    color: black;
}

.simple-text-block__big-title {
    font-size: 2.4rem;
    text-transform: capitalize;
    /*padding: 2rem 0 1rem;*/
    font-weight: 600;
}

.simple-text-block__small-title {
    font-size: 1.6rem;
    padding: 1rem 0;
    font-weight: 600;
}

/* Shedule */
.quest-shedule-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    margin: 1rem 0;
    font-size: 1.6rem;
    line-height: 2rem;
    color: black;
}

.quest-shedule-header__title {
    flex-grow: 1;
    font-size: 1.3em;
    font-weight: 600;
    padding: .6rem 0;
    color: #fff;
}

.quest-shedule-year-title {
    cursor: pointer;
    color: lightgray;
    border-bottom: 1px solid transparent;
}

.custom-select-block__element-selected-value, .quest-shedule-year-select_selected .quest-shedule-year-title {
    color: #fff;
    border-bottom: 1px solid #fff;
    cursor: default;
}

.quest-shedule-year-select {
    display: flex;
    flex-direction: row-reverse;
    padding: .5rem;
    /*min-width: 150px;*/
}
.quest-shedule-year-select .custom-select-block__element-content {
    color: #fff;
}
.quest-shedule-year-select_selected .quest-shedule-month-select {
    display: flex;
    /*justify-content: flex-end;*/
}

.quest-shedule-month-select {
    display: none;
    margin: 0 1.4rem;
    position: relative;
}

.custom-select-block__element {
    cursor: pointer;
}

.custom-select-block__element_selected {
    border-bottom: 1px solid black;
    cursor: default;
}

.quest-shedule-table {
    display: flex;
    max-width: 100%;
    overflow-x: auto;
    display: none;
}

.quest-shedule-table_visible {
    display: flex;
}

.custom-select-block-variants {
    display: none;
    background: white;
    position: absolute;
    z-index: 999;
    top: 100%;
    padding: 1rem;
    left: -1.4rem;
    box-shadow: 0 0 10px white;
}

.quest-shedule-table-month-separator {
    display: none;
    margin: 1.3rem 0;
    font-weight: 600;
    color: black;
    width: 100%;
    text-align: right;
}

.custom-select-block-variants__element {
    padding: 0.3rem 0.5rem;
    color: #6f6f6f;
    cursor: pointer;
}

.custom-select-block-variants__element:hover {
    color: black;
}

.quest-shedule-row {
    display: flex;
    flex-direction: column;
    position: relative;
}
.quest-shedule-row__time-line {
    display: flex;
    flex-wrap: wrap;
    flex-grow: 1;
}

.quest-shedule-row__day-header {
    width: 110px;
    min-width: 110px;
    color: #fff;
    display: none;
}

.quest-shedule-year-select_mobile-control {
    display: none;
}

.quest-shedule-row__day-header-mobile {
    text-align: center;
    color: #fff;
}

.quest-shedule-row__slot {
    position: relative;
    padding: 0.3rem 0.7rem;
    border: 1px solid white;
    box-sizing: border-box;
    min-width: 85px;
    font-size: calc( 0.9rem + 0.5vw );
}

.quest-shedule-row__slot:hover.quest-shedule-row__slot:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    top: 0;
    background: #f9f9f9;
    background: linear-gradient( 135deg, rgba(250, 250, 250, 0.2), transparent);
}

.quest-shedule-row__slot_closed {
    background: rgb(160, 136, 136);
}

.quest-shedule-row__slot_not-available {
    overflow: hidden;
    position: relative;
}
.quest-shedule-row__slot_closed:before,
.quest-shedule-row__slot_closed:after,
.quest-shedule-row__slot_not-available:before,
.quest-shedule-row__slot_not-available:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    background: #F2F2F2;
}

.quest-shedule-row__slot_closed:before,
.quest-shedule-row__slot_not-available:before {
    content: "\f341";
    z-index: 1;
    font-size: 2rem;
    color: #D6D7D6;
    display: flex;
    justify-content: center;
    align-items: center;
}

.get-booking.quest-shedule-row__slot_closed:before {
    content: "\f4d2";
    color: gold;
}

.quest-shedule-row_with-space-before {
    margin: 0 0 0 1rem;
}

.quest-shedule-row_with-space-after {
    margin: 0 1rem 0 0;
}

.quest-shedule-row:last-of-type .quest-shedule-row__slot:first-of-type,
.quest-shedule-row_with-space-after .quest-shedule-row__slot:first-of-type {
    border-radius: 0 0.4rem 0 0;
}
.quest-shedule-row:last-of-type .quest-shedule-row__slot:last-of-type,
.quest-shedule-row_with-space-after .quest-shedule-row__slot:last-of-type {
    border-radius: 0 0 0.4rem 0;
}

.quest-shedule-row:first-of-type .quest-shedule-row__slot:first-of-type,
.quest-shedule-row_with-space-before .quest-shedule-row__slot:first-of-type {
    border-radius: 0.4rem 0 0 0;
}
.quest-shedule-row:first-of-type .quest-shedule-row__slot:last-of-type,
.quest-shedule-row_with-space-before .quest-shedule-row__slot:last-of-type {
    border-radius: 0 0 0 0.4rem;
}

.quest-shedule-timetable-mobile-scroll {
    display: flex;
    margin-left: 2rem;
}

.quest-shedule-timetable-scroll__prev, .quest-shedule-timetable-scroll__next {
    cursor: pointer;
}

.main-menu__phone_mobile {
    display: none;
}

@keyframes pulse {
    0%      { opacity: 0; }
    100%    { opacity: 1; }
}

.line-loading-block {
    display: none;
    width: 100%;
}

.line-loading-block__content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.line-loading-block__element {
    width: 1rem;
    height: 1rem;
    border-radius: 25%;
    background: #826767;
    opacity: 0;
    margin: 0 0.2rem;
}

.line-loading-block__element_pulse {
    animation: pulse 1s ease-in infinite alternate;
}

.line-loading-block__element_pulse:nth-of-type(1) {
    animation-delay: 0.10s;
}
.line-loading-block__element_pulse:nth-of-type(2) {
    animation-delay: 0.30s;
}
.line-loading-block__element_pulse:nth-of-type(3) {
    animation-delay: 0.50s;
}
.line-loading-block__element_pulse:nth-of-type(4) {
    animation-delay: 0.70s;
}
.line-loading-block__element_pulse:nth-of-type(5) {
    animation-delay: 0.90s;
}

@media (min-width: 1000px) {


    .quest-shedule-timetable-mobile-scroll {
        display: none;
    }

    .quest-shedule-table {
        flex-direction: column;
    }

    .quest-shedule-row {
        flex-direction: unset;
    }

    .quest-shedule-row__slot {
        min-width: unset;
        font-size: calc( 0.6rem + 0.4vw );
    }

    .quest-shedule-row_with-space-before {
        margin: 1rem 0 0 0;
    }

    .quest-shedule-row_with-space-after {
        margin: 0 0 1rem 0;
    }
    
    .quest-shedule-row__day-header {
        display: block;
    }

    .quest-shedule-row__day-header-mobile {
        display: none;
    }

    .quest-shedule-row:last-of-type .quest-shedule-row__slot:first-of-type,
    .quest-shedule-row_with-space-after .quest-shedule-row__slot:first-of-type {
        border-radius: 0 0 0 0.4rem;
    }
    .quest-shedule-row:last-of-type .quest-shedule-row__slot:last-of-type,
    .quest-shedule-row_with-space-after .quest-shedule-row__slot:last-of-type {
        border-radius: 0 0 0.4rem 0;
    }
    .quest-shedule-row:first-of-type .quest-shedule-row__slot:first-of-type,
    .quest-shedule-row_with-space-before .quest-shedule-row__slot:first-of-type {
        border-radius: 0.4rem 0 0 0;
    }
    .quest-shedule-row:first-of-type .quest-shedule-row__slot:last-of-type,
    .quest-shedule-row_with-space-before .quest-shedule-row__slot:last-of-type {
        border-radius: 0 0.4rem 0 0;
    }
    
}

@media (min-width: 1370px) {

    .quest-shedule-table-month-separator {
        position: absolute;
        right: -120px;
    }

    .quest-shedule-table {
        overflow-x: unset;
    }

    .quest-shedule-row__day-header {
        position: absolute;
        left: -115px;
        top: 0;
        bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }
}

@media (max-width: 1000px) {

    .navbar-nav {
        background: #10100B;
        color: #846D5A;
    }

    .navbar-nav > .nav-item > a {
        color: #846D5A;
    }

}

@media (max-width: 768px) {
    .main-menu__phone_mobile {
        display: block;
    }

    .main-menu__phone {
        display: none;
    }

    .quest-shedule-header {
        font-size: 1.4rem;
    }

    .quest-shedule-header__title {
        width: 100%;
    }
}

.no-board .main-article {
    border: none !important;
    box-shadow: none !important;
}