
/* ================================
    Room Booking Form 
================================ */

.dt-sc-appointment-wrapper .dt-sc-title { margin-bottom: 30px; }
.dt-sc-appointment-wrapper .dt-sc-title h2 { margin: 0px; }

.dt-sc-appointment-wrapper:has(> .dt-booking-form) { background-color: rgba(0,0,0,0.05); padding: 40px; }

.dt-sc-appointment-wrapper .dt-booking-form > div.dt-sc-room--field .frm-control.dt--guests {
    display: -webkit-box; overflow: hidden; text-overflow: ellipsis; }

.dt-sc-appointment-wrapper .dt-booking-form > div.dt-sc-room--field .dt-sc-button {
    padding: 10px; min-height: 50px; margin: 0px; }

.dt-sc-appointment-wrapper .dt-booking-form > div.dt-sc-room--field:not(.dt-sc--booking) { margin-bottom: 16px; }

.wdt-dark-bg.dt-sc-appointment-wrapper .dt-booking-form > div.dt-sc-room--field input[class*="dt-sc-button"]:focus,
.wdt-dark-bg.dt-sc-appointment-wrapper .dt-booking-form > div.dt-sc-room--field input[class*="dt-sc-button"]:hover {
    background-color: var(--wdt_Booking_AccentTxtColor); color: var(--wdt_Booking_HeadAltColor); }

.dt-sc-appointment-wrapper .dt-booking-form > div.dt-sc-room--field .dt-field-label label { 
    margin: 0 0 10px; line-height: normal; display: block; font-family: var(--wdtFontTypo_Alt); font-weight: normal; 
    font-size: clamp(1.375rem, 1.3173rem + 0.2564vw, 1.625rem); /* Min-22 & Max-26 */ }

.dt-sc-appointment-wrapper .dt-booking-form > div.dt-sc-room--field .dt-sc-guests-group,
.dt-sc-appointment-wrapper .dt-booking-form > div.dt-sc-room--field .dt-sc-calendar-group { position: relative; }

.dt-sc-appointment-wrapper .dt-booking-form > div.dt-sc-room--field .dt-sc-guests-group .dt-drop--down { 
    background: currentColor; width: 1em; height: 1em; position: absolute; top: 50%; right: 15px; -webkit-transform: translateY(-50%); 
    transform: translateY(-50%); pointer-events: none; -webkit-user-select: none; user-select: none; font-size: 15px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 100 100' xml:space='preserve'%3E%3Cpath d='M52.1,75.8c-1.1,1.1-3,1.1-4.2,0L1,28.8l5.5-5.5l41.5,41.5c1.1,1.1,3,1.1,4.2,0l41.5-41.5l5.5,5.5L52.1,75.8z'/%3E%3C/svg%3E%0A"); 
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' viewBox='0 0 100 100' xml:space='preserve'%3E%3Cpath d='M52.1,75.8c-1.1,1.1-3,1.1-4.2,0L1,28.8l5.5-5.5l41.5,41.5c1.1,1.1,3,1.1,4.2,0l41.5-41.5l5.5,5.5L52.1,75.8z'/%3E%3C/svg%3E%0A");
    -webkit-mask-position: center center; mask-position: center center; -webkit-mask-size: 90%; mask-size: 90%; 
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }

.dt-sc-appointment-wrapper .dt-booking-form > div.dt-sc-room--field .dt-sc-calendar-group .dt-icon-dt-calendar { 
    width: 1em; height: 1em; position: absolute; top: 50%; right: 15px; -webkit-transform: translateY(-50%); 
    transform: translateY(-50%); pointer-events: none; -webkit-user-select: none; user-select: none; font-size: 1.35rem; }
.dt-sc-appointment-wrapper .dt-booking-form > div.dt-sc-room--field .dt-sc-calendar-group .dt-icon-dt-calendar i { display: flex; }


/* Dropdown Style */

.dt-sc-field-persons { width: 100%; position: absolute; z-index: 999; opacity: 0; visibility: hidden; 
    color: var(--wdt_Booking_HeadAltColor); padding: 20px; margin-top: 10px; background-color: var(--wdt_Booking_TertiaryColor);
	border: 1px solid var(--wdtBorderColor); -webkit-box-shadow: 0px 0px 5px rgba(0,0,0,0.15); box-shadow: 0px 0px 5px rgba(0,0,0,0.15);
    -webkit-transition: var(--wdt_Booking_Ad-Transition); transition: var(--wdt_Booking_Ad-Transition); }

.dt-sc-field-persons.dt--opened { opacity: 1; visibility: visible; }

.dt-sc-field-persons .dt-sc-field-person .dt-sc-e-label { display: flex; flex-wrap: wrap; padding-right: 4px; }
.dt-sc-field-persons .dt-sc-field-person .dt-sc-e-label > span { flex: 0 0 100%; }

.dt-sc-field-persons .dt-sc-field-person .dt-sc-e-label > .dt-sc-e-label-text { 
    font-family: var(--wdtFontTypo_Alt); font-weight: normal; font-size: 18px; }
.dt-sc-field-persons .dt-sc-field-person .dt-sc-e-label > .dt-sc-e-label-description { font-size: 80%; }

.dt-sc-field-persons .dt-sc-field-person > .dt-sc-button { padding: 10px; min-height: 50px; margin: 0px; }


.dt-sc-field-persons .dt-sc-field-person:not(.dt-sc--button) { display: grid; grid-template-columns: 1fr 64px; align-items: center; }
.dt-sc-field-persons .dt-sc-field-person:not(:last-child) { margin-bottom: 10px; }


.dt-sc-field-persons .dt-sc-field-person .select2-results__option, 
.dt-sc-field-persons .dt-sc-field-person .select2-container.select2-container--default .select2-selection--single, 
.dt-sc-field-persons .dt-sc-field-person .select2-container.select2-container--default .select2-selection--multiple { line-height: 34px; }

body:has(> .wrapper .dt-sc-field-persons .select2-container--open) .select2-search--dropdown { display: none; }
body:has(> .wrapper .dt-sc-field-persons.dt--opened) .select2-dropdown { padding: 0px !important; }

.dt-sc-field-persons .dt-sc-field-person .select2-container--default .select2-selection--single .select2-selection__arrow, 
.dt-sc-field-persons .dt-sc-field-person .select2-container--default .select2-selection--multiple .select2-selection__arrow { right: 6px !important; }

.dt-sc-field-persons .dt-sc-field-person .select2-container--default .select2-selection--single .select2-selection__arrow b { font-size: 10px; }

.dt-sc-field-persons .dt-sc-field-person .select2-container.select2-container--default .select2-selection--single .select2-selection__rendered { 
    padding-left: 10px; padding-right: 20px; font-size: 14px; }


/* Service Items */

.extra-services ul { list-style: none; padding: 0px; margin: 0px; }

.extra-services ul li { padding-bottom: 6px; }
.extra-services ul li > label { display: block; font-family: var(--wdtFontTypo_Alt); font-weight: normal; font-size: 18px; margin-bottom: 0px;
    display: flex; align-items: center; flex-wrap: wrap; }

.extra-services ul li > label span.service-label { margin-right: 12px; font-size: 20px; }
.extra-services ul li > label span.service-value { margin-left: auto; font-size: 18px; }


/* Service Pricing */

.dt-sc--price > .frm-group { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    width: auto; margin-left: -10px; margin-right: -10px; }

.dt-sc-appointment-wrapper .dt-booking-form > div.dt-sc-room--field.dt-sc--price > .frm-group .dt-field-label label { margin: 0px; }
.dt-sc--price > .frm-group .dt-sc-m-price { font-family: var(--wdtFontTypo_Alt); font-weight: normal; font-size: 18px; }

.dt-sc--price > .frm-group .dt-field-label,
.dt-sc--price > .frm-group .dt-sc-m-price { padding: 10px; }


/* Checkbox */

.dt-sc-reservation-form.dt-booking-form input[type="checkbox"] { width: 20px; height: 20px; }


/* Button Loading */

.dt-sc-reservation-form.dt-booking-form .dt-sc--booking-wrapper { position: relative; background-color: var(--wdtPrimaryColor); }
.dt-sc-reservation-form.dt-booking-form .dt-sc--booking-wrapper:before {
    position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 2;

    visibility: hidden; width: 25px; height: 25px; margin: auto;

    content: '';
    -webkit-animation: jet-spinner .6s linear infinite;
            animation: jet-spinner .6s linear infinite;

    border: 3px solid #e1e1e1;
    border-top-color: #000000;
    -webkit-border-radius: 50%; border-radius: 50%; }

@-webkit-keyframes jet-spinner {
    to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}
@keyframes jet-spinner {
    to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
}

.dt-sc-reservation-form.dt-booking-form .dt-sc--booking-wrapper.loading:before { visibility: visible; }
.dt-sc-reservation-form.dt-booking-form .dt-sc--booking-wrapper.loading > * { visibility: hidden; }

.dt-sc-reservation-form.dt-booking-form .dt-sc--booking-wrapper:after { content: ''; position: absolute; 
    background-color: var(--wdtPrimaryColor); top: 0; right: 0; width: 100%; height: 100%; visibility: hidden; }

.dt-sc-reservation-form.dt-booking-form .dt-sc--booking-wrapper.loading:after { visibility: visible; }

.dt-sc-reservation-form.dt-booking-form .dt-sc-room--field.dt-sc--booking > .dt-sc-room-info p { padding: 20px 25px; margin-bottom: 0px; 
    color: #d9534f; background-color: #ffcac9; line-height: normal; }

.dt-sc-reservation-form.dt-booking-form .dt-sc-room--field.dt-sc--booking > .dt-sc-room-info ~ .dt-sc--booking-wrapper { display: none; }

.dt-sc-reservation-form.dt-booking-form .dt-sc-room-response:empty { display: none; }
.dt-sc-reservation-form.dt-booking-form .dt-sc-room-response { padding: 10px 20px;
    border: 1px solid var(--wdtBorderColor); border-color: #3db44c; margin-top: 14px; }

/*=========================   
	AT Media Rules - Responsive
========================= */

@media only screen and (max-width: 1024px) {

    .dt-sc-appointment-wrapper:has(> .dt-booking-form) { padding: 30px; }

}

@media only screen and (max-width: 500px) {

    .dt-sc-appointment-wrapper:has(> .dt-booking-form) { padding: 30px 20px; }

}