.majestic_booking_bar_container {
    width: 100%;
    position: relative;
    backdrop-filter: blur(1px);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: stretch;
}

.majestic_booking_bar_dates {
    flex: 0 1 19%;
    position: relative;
    cursor: pointer;
    border-bottom: 1px solid #fff;
}

.majestic_booking_bar_dates.codes {
    cursor: default;
}

.majestic_dates_input {
    padding: 25px 5px 5px 5px;
    position: absolute;
    pointer-events: none;
    font: 200 calc(var(--majestic_default_font_size) * 1.2) 'Noto Serif', serif;
    color: #fff;
    border: 0;
    outline: 0;
    background-color: transparent;
    text-align: center;
    width: calc(100% - 10px);
    opacity: 0;
}

.majestic_booking_bar_dates_custom {
    padding: 25px 5px 5px 5px;
    position: relative;
    /* pointer-events: none; */
    font: 200 calc(var(--majestic_default_font_size) * 1.2) 'Noto Serif', serif;
    color: #fff;
    border: 0;
    outline: 0;
    background-color: transparent;
    text-align: center;
    width: calc(100% - 10px);
}

.majestic_codes_input {
    padding: 25px 5px 5px 5px;
    position: relative;
    font: 200 1.2vw 'Noto Serif', serif;
    color: #fff;
    border: 0;
    outline: 0;
    background-color: transparent;
    text-align: center;
    width: calc(100% - 10px);
}

.majestic_booking_dates_label {
    position: absolute;
    pointer-events: none;
    left: 0%;
    top: 50%;
    font: 200 calc(var(--majestic_default_font_size) * 1.2) 'Noto Serif', serif;
    transform: translateY(-50%);
    transition: 0.2s ease all;
    color: #fff;
    transition: 0.2s all ease-in-out;
    width: 100%;
    text-align: center;
}

.majestic_dates_input:not(:placeholder-shown)~.majestic_booking_dates_label,
.majestic_codes_input:focus~.majestic_booking_dates_label,
.majestic_codes_input:not(:placeholder-shown)~.majestic_booking_dates_label {
    top: 0px;
    left: 0%;
    transform: unset;
    font: 200 calc(var(--majestic_default_font_size) * 0.8) 'Noto Serif', serif;
    color: #fff;
    opacity: 1;
    transition: 0.2s all ease-in-out;
}

.majestic_calendar_svg {
    width: calc(var(--majestic_default_font_size) * 1.2);
    height: calc(var(--majestic_default_font_size) * 1.2);
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
}

.majestic_calendar_svg path {
    fill: #fff;
}

.majestic_booking_bar_submit {
    flex: 0 1 20%;
    position: relative;
    display: block;
    border: 1px solid #fff;
    font: 200 calc(var(--majestic_default_font_size) * 1.2) 'Noto Serif', serif;
    background-color: transparent;
    cursor: pointer;
    color: #fff;
    transition: 0.2s all ease-in-out;
}

.majestic_booking_bar_submit:hover {
    background-color: #c69f44;
    transition: 0.2s all ease-in-out;
}

.majestic_booking_bar_container input:-webkit-autofill,
.majestic_booking_bar_container input:-webkit-autofill:hover,
.majestic_booking_bar_container input:-webkit-autofill:focus {
    color: #fff!important;
    background-color: transparent!important;
}


/*---------APO HOMEPAGE-----------*/

.majestic_booking_bar_homepage_container {
    width: 80%;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9;
    top: unset;
}

.majestic_booking_bar_homepage_container.scrolled {
    padding: 0 10%;
    background-color: rgba(250, 250, 251, 0.8);
    /* background-color: var(--top_menu_color); */
    left: 0;
    top: var(--top_menu_height);
    position: fixed;
    bottom: unset;
    transform: unset;
    transition: top 0.2s ease-in-out;
}

.majestic_booking_bar_homepage_container.scrolled::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url("../images/booking_bar_bg.jpg");
    background-repeat: repeat;
    background-size: auto;
    background-position: left center;
}

.scrolled .majestic_booking_bar_container input:-webkit-autofill,
.scrolled .majestic_booking_bar_container input:-webkit-autofill:hover,
.scrolled .majestic_booking_bar_container input:-webkit-autofill:focus {
    color: #000!important;
    background-color: transparent!important;
}

.scrolled .majestic_calendar_svg path {
    fill: #000;
}

.scrolled .majestic_booking_bar_submit {
    color: #000!important;
    border: 1px solid #000;
}

.scrolled .majestic_dates_input:not(:placeholder-shown)~.majestic_booking_dates_label,
.scrolled .majestic_codes_input:focus~.majestic_booking_dates_label,
.scrolled .majestic_codes_input:not(:placeholder-shown)~.majestic_booking_dates_label,
.scrolled .majestic_booking_bar_dates_custom,
.scrolled .majestic_codes_input,
.scrolled .majestic_booking_dates_label {
    color: #000!important;
}

.scrolled .majestic_booking_bar_dates {
    border-bottom: 1px solid #000;
    color: #000!important;
}


/*-----------FLOATING BOOKING BAR----------*/

.majestic_booking_bar_rest_pages_container .majestic_dates_input {
    padding: 20px 5px 0px 5px;
    font: 200 1vw 'Noto Serif', serif;
}

.majestic_booking_bar_rest_pages_container .majestic_booking_dates_label {
    font: 200 1vw 'Noto Serif', serif;
}

.majestic_booking_bar_rest_pages_container .majestic_codes_input {
    padding: 20px 5px 0px 5px;
    font: 200 1vw 'Noto Serif', serif;
}

.majestic_booking_bar_rest_pages_container .majestic_booking_bar_container {
    width: 80%;
    padding: 0.5vmax 0;
    margin: 0 auto;
}


/*-----------FLOATING BOOKING BAR----------*/


/*-----------FLOATING HOMEPAGE BOOKING BAR----------*/

.scrolled .majestic_dates_input {
    padding: 20px 5px 0px 5px;
    font: 200 1vw 'Noto Serif', serif;
}

.scrolled .majestic_booking_dates_label {
    font: 200 1vw 'Noto Serif', serif;
}

.scrolled .majestic_codes_input {
    padding: 20px 5px 0px 5px;
    font: 200 1vw 'Noto Serif', serif;
}

.scrolled .majestic_booking_bar_container {
    width: 80%;
    padding: 0.5vmax 0;
    margin: 0 auto;
}


/*-----------FLOATING HOMEPAGE BOOKING BAR----------*/


/* @media screen and (orientation: portrait) and (max-width: 1250px) { */

@media screen and (max-width: 1250px) {
    .majestic_booking_bar_homepage_container {
        width: 100%;
        padding: 0 !important;
    }
    .majestic_booking_bar_rest_pages_container .majestic_booking_bar_container {
        width: 100%;
    }
    .scrolled .majestic_booking_bar_container {
        width: 100%;
        padding: 1vmax 0;
    }
    /* }

@media screen and (orientation: portrait) and (max-width: 500px) { */
    .majestic_calendar_svg {
        display: none;
    }
    .majestic_dates_input,
    .majestic_booking_bar_submit,
    .majestic_booking_dates_label,
    .scrolled .majestic_booking_dates_label {
        /* font: 200 calc(var(--majestic_default_font_size)* 1.1) 'Fira Sans Extra Condensed', serif; */
        font: 200 calc(var(--majestic_default_font_size) * 0.9) 'Fira Sans Extra Condensed', serif!important;
    }
    .majestic_dates_input {
        font: 200 calc(var(--majestic_default_font_size)* 1.0) 'Fira Sans Extra Condensed', serif;
        padding: 25px 0px 5px 0px;
    }
    .scrolled .majestic_codes_input {
        font: 200 calc(var(--majestic_default_font_size)* 1.0) 'Fira Sans Extra Condensed', serif;
        padding: 25px 0px 0px 0px;
    }
    .majestic_booking_bar_dates_custom,
    .majestic_codes_input {
        padding: 25px 0px 0px 0px;
        font: 200 calc(var(--majestic_default_font_size)* 0.9) 'Fira Sans Extra Condensed', serif;
        width: calc(100% - 0px);
    }
    .majestic_dates_input:not(:placeholder-shown)~.majestic_booking_dates_label,
    .majestic_codes_input:focus~.majestic_booking_dates_label,
    .majestic_codes_input:not(:placeholder-shown)~.majestic_booking_dates_label {
        top: -4px;
        left: 0%;
        transform: unset;
        font: 200 calc(var(--majestic_default_font_size) * 0.7) 'Fira Sans Extra Condensed', serif!important;
        color: #fff;
        opacity: 1;
        transition: 0.2s all ease-in-out;
    }
}