.majestic_contact_slider_container {
    width: 100%;
    height: 50vh;
    position: relative;
}

.majestic_contact_slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.majestic_contact_slider_container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.17) 0%, rgba(0, 255, 0, 0) 30%);
    /* background-color: rgba(135, 206, 235, 0.2); */
    z-index: 1;
}

.majestic_contact_slider_img_container {
    width: 100%;
    height: 100%;
    position: relative;
}

.majestic_contact_slider_img {
    width: 100%;
    height: 100%;
    position: relative;
    object-fit: cover;
}

.majestic_contact_slider_img_container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: var(--majestic_video_background); */
    /* background-color: rgba(135, 206, 235, 0.2); */
    z-index: 1;
}

.majestic_contact_slider_text_container {
    width: fit-content;
    bottom: 3%;
    left: 5%;
    position: absolute;
    z-index: 99;
}

.majestic_contact_slider_hotel_title {
    padding: 0;
    margin: 0;
    position: relative;
    text-transform: uppercase;
    font: 100 calc(var(--majestic_default_font_size) * var(--contact_slider_hotel_title)) 'Averta', sans-serif;
    color: #fff;
}

.majestic_contact_slider_hotel_contact {
    padding: 0;
    margin: 0;
    position: relative;
    text-transform: uppercase;
    font: 200 calc(var(--majestic_default_font_size) * var(--contact_slider_hotel_contact)) 'Averta', sans-serif;
    color: #fff;
}

.majestic_contact_slider_left {
    width: 50%;
    height: 100%;
    float: left;
    position: absolute;
    top: 0;
    left: 0;
    cursor: url(../images/left-arrow-slider_small.png), auto!important;
    z-index: 9;
}

.majestic_contact_slider_right {
    width: 50%;
    height: 100%;
    float: right;
    position: absolute;
    top: 0;
    right: 0;
    cursor: url(../images/right-arrow-slider_small.png), auto!important;
    z-index: 9;
}


/*-------------FORM------------*/

.majestic_contact_form_master_container {
    width: 100%;
    position: relative;
    border-bottom: 0.0625rem solid #e6e6e6;
    padding: 0 0 2vmax 0;
}

.majestic_contact_form_container {
    width: 70%;
    margin: 2vmax auto;
    position: relative;
    display: grid;
    grid-column-gap: 10%;
    grid-row-gap: 10px;
    grid-template-columns: 45% 45%;
    grid-template-rows: auto;
    grid-template-areas: "subject name" "email landline" "mobile address" "check-in check-out" "room remarks" "people remarks";
    align-content: stretch;
    align-items: stretch;
}

.majestic_contact_item {
    width: 100%;
    position: relative;
    height: 100%;
}

.majestic_contact_input {
    width: calc(100% - 16px);
    position: relative;
    background-color: transparent;
    border-width: 1px 1px 1px 1px;
    border-style: solid;
    border-color: #dddddd;
    border-radius: 5px;
    padding: 25px 0 5px 15px;
    outline: 0;
    font: 300 calc(var(--majestic_default_font_size) * 0.9) 'Averta', sans-serif;
    color: #fff;
    background-color: rgb(156 127 11 / 40%);
    transition: 0.2s all ease-in-out;
}

.majestic_contact_textarea {
    width: calc(100% - 15px);
    height: calc(100% - 25px);
    position: relative;
    background-color: transparent;
    border-width: 1px 1px 1px 1px;
    border-style: solid;
    border-color: #dddddd;
    border-radius: 5px;
    padding: 25px 0 0px 15px;
    outline: 0;
    font: 300 calc(var(--majestic_default_font_size) * 0.9) 'Averta', sans-serif;
    color: #fff;
    background-color: rgb(156 127 11 / 40%);
    transition: 0.2s all ease-in-out;
}

.majestic_contact_label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font: 300 calc(var(--majestic_default_font_size) * 0.8) 'Averta', sans-serif;
    transition: 0.2s all ease-in-out;
    color: #fff;
    pointer-events: none;
}

.majestic_contact_textarea~.majestic_contact_label {
    top: 15px;
    transform: unset;
}

.majestic_contact_item input:focus,
.majestic_contact_item input:not(:placeholder-shown),
.majestic_contact_textarea:focus,
.majestic_contact_textarea:not(:placeholder-shown) {
    background-color: #9c7f0b;
    transition: 0.2s all ease-in-out;
}

.majestic_contact_item input:focus~.majestic_contact_label,
.majestic_contact_item input:not(:placeholder-shown)~.majestic_contact_label,
select~.majestic_contact_label {
    left: 10px;
    top: 15px;
    font: 300 calc(var(--majestic_default_font_size) * 0.6) 'Averta', sans-serif;
    color: #eeeeee;
    transition: 0.2s all ease-in-out;
}

.majestic_contact_textarea:focus~.majestic_contact_label,
.majestic_contact_textarea:not(:placeholder-shown)~.majestic_contact_label {
    left: 10px;
    top: 5px;
    font: 300 calc(var(--majestic_default_font_size) * 0.6) 'Averta', sans-serif;
    color: #eeeeee;
    transition: 0.2s all ease-in-out;
}

#subject_cont {
    grid-area: subject;
}

#remarks_cont {
    grid-area: remarks;
}

#name_cont {
    grid-area: name;
}

#email_cont {
    grid-area: email;
}

#check_in_cont {
    grid-area: check-in;
}

#check_out_cont {
    grid-area: check-out;
}

#room_cont {
    grid-area: room;
}

#people_cont {
    grid-area: people;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    border-width: 1px 1px 1px 1px;
    border-style: solid;
    border-color: #dddddd;
    border-radius: 5px;
    background-color: #9c7f0b;
    /* padding: 6px 0 6px 0; */
}

#landline_cont {
    grid-area: landline;
}

#mobile_cont {
    grid-area: mobile;
}

#address_cont {
    grid-area: address;
}

.majestic_contact_item_children {
    flex: 0 1 45%;
    position: relative;
    /* padding: 10px 0; */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
    padding: 12px 0 12px 0;
}

.majestic_contact_item_children_text {
    padding: 0;
    margin: 0;
    font: 300 calc(var(--majestic_default_font_size) * 0.9) 'Averta';
    position: relative;
    color: #fff;
}

.flex_booking_minus_button,
.flex_booking_plus_button {
    background-color: rgba(255, 255, 255, 0);
    border: 1px solid rgba(255, 255, 255, 0);
    color: #000;
    font-size: calc(var(--majestic_default_font_size) * 0.9);
    font-family: 'Averta';
    width: 26px;
    cursor: pointer;
    outline: 0;
    border-radius: 5px;
    top: -2px;
    position: relative;
    color: #fff;
}

#contact_form_adults_number,
#contact_form_children_number {
    padding: 0;
    margin: 0 0 0 0;
    font: 300 calc(var(--majestic_default_font_size) * 0.9) 'Averta';
    position: relative;
    width: calc(var(--majestic_default_font_size) * 2);
    text-align: center;
    border: 0;
    outline: none;
    /* pointer-events: none; */
    color: #fff;
}

.majestic_contact_button {
    padding: 10px 15px;
    margin: 0 auto;
    display: block;
    cursor: pointer;
    font: 400 calc(var(--majestic_default_font_size) * 1.2) 'Averta';
    background-color: #c69f44;
    border: 1px solid #c69f44;
    color: #fff;
    transition: 0.2s all ease-in-out;
}

.majestic_contact_button:hover {
    background-color: transparent;
    color: #c69f44;
    transition: 0.2s all ease-in-out;
}

.majestic_footer_newsletter_recaptcha_checkbox.contact_page {
    flex-direction: column-reverse;
}

.contact_page .majestic_footer_newsletter_gdpr_check_container {
    flex: unset;
    width: 80%;
    justify-content: center;
}

.contact_page .majestic_footer_newsletter_gdpr_check_text {
    flex: unset;
}

.majestic_contact_form_container input:-webkit-autofill,
.majestic_contact_form_container input:-webkit-autofill:hover,
.majestic_contact_form_container input:-webkit-autofill:focus {
    color: #fff!important;
    background-color: rgba(0, 104, 128, 1)!important;
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0px 1000px rgba(0, 104, 128, 1) inset;
}


/*-----------------------------------------CUSTOM SELECT-----------------------------------------------------*/


/* The container must be positioned relative: */

.majestic_custom_select {
    position: relative;
    font-family: 'Effra';
}

.majestic_custom_select select {
    display: none;
    background-color: transparent;
    /* border-radius: 0; */
}

.majestic_custom_select select {
    -moz-appearance: none;
    /* Firefox */
    -webkit-appearance: none;
    /* Safari and Chrome */
    appearance: none;
}

.select-selected {
    background-color: transparent;
}


/* Style the arrow inside the select element: */

.select-selected:after {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}


/* Point the arrow upwards when the select box is open (active): */

.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
}


/* style the items (options), including the selected item: */

.select-items div {
    border: none;
    color: #fff;
    padding: 15px 16px;
    cursor: pointer;
    background-color: rgb(156 127 11 / 40%);
    font: 300 calc(var(--majestic_default_font_size) * 0.9) 'Averta';
}

.select-selected {
    padding: 25px 0 5px 15px;
    outline: 0;
    font: 300 calc(var(--majestic_default_font_size) * 0.9) 'Averta', sans-serif;
    background-color: #9c7f0b;
    color: #fff;
    cursor: pointer;
    border-width: 1px 1px 1px 1px;
    border-style: solid;
    border-color: #dddddd;
    border-radius: 5px;
}


/* Style items (options): */

.select-items {
    position: absolute;
    background-color: #fff;
    border: 1px solid #e7e7e7;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999999;
    overflow-y: auto;
    max-height: 300px;
}


/* Hide the items when the select box is closed: */

.select-hide {
    display: none;
}

.select-items div:hover,
.same-as-selected {
    background-color: #9c7f0b;
    border-radius: 5px;
}


/* ------------------------------------------------END CUSTOM SELECT----------------------------------- */

@media screen and (max-width: 1280px) {
    .majestic_contact_form_container {
        width: 95%;
        grid-template-columns: 45% 45%;
        grid-template-rows: auto;
        /* grid-template-areas: unset; */
        grid-template-areas: "subject subject" "name name" "email email" "landline landline" "mobile mobile" "address address" "check-in check-in" "check-out check-out" "room room" "people people" "remarks remarks";
    }
    .majestic_contact_form_master_container .majestic_footer_newsletter_gdpr_check input[type="checkbox"]+label {
        width: 20px;
        height: 20px;
    }
}

@media screen and (orientation: portrait) and (max-width: 1280px) {}

@media screen and (orientation: landscape) and (max-width: 1280px) {
    .majestic_contact_slider_container {
        height: 85vh;
    }
}