.booking-form {
    margin-top: 65px;
}
.booking-form-container {
    background-repeat: no-repeat; 
    background-size: cover; 
    padding: 2em;
}
.booking-form-container .main-content {
    background-color: #fff; 
    width: 80%;
    margin: auto;
    padding: 2em 1.5em 3em;
    border-radius: 10px;
}
.booking-form-subheading-one { 
    margin-bottom:0; 
}
.booking-form-subheading-two, 
.room-config-subheading-one,
.room-config-subheading-two { 
    margin-top:0; 
}
.room-config-subheading-one { margin-bottom:0; }
.booking-form-subheading-two > span, 
.room-config-subheading-two > span {
    font-weight:600;
}

.travellers { width: 90%; }
.travellers h5 { margin-bottom: .5em; }
#travellers .traveller {
    display: flex;
}

.booking-form-container .main-content #booking_form_details {
    display: flex; 
    justify-content: space-between; 
    flex-wrap: wrap;
}
.booking-form-container .main-content #booking_form_details label,
.booking-form-container .main-content .emergency_contact_section label,
.booking-form-container .main-content .main_contact_section label {
    font-family: Montserrat;
    color: #666;
    line-height: 26px;
    font-size: 16px;
    font-weight: 400;
}
.booking-form-container .main-content #booking_form_details select,
.booking-form-container .main-content #booking_form_details input {
    height: 38px;
    border-style: solid;
    border-width: thin;
    border-color: #999;
    margin-bottom: 0;
    font-size: 16px;
    font-family: Montserrat;
    outline: none;
    background-color: #fff;
    color: #3a3a3a;
    font-weight: 500;
    padding: 10px;
}
.booking-form-container .main-content #booking_form_details select { 
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("data:image/svg+xml;utf8,<svg viewBox='0 0 140 140' width='14' height='14' xmlns='http://www.w3.org/2000/svg'><g><path d='m121.3,34.6c-1.6-1.6-4.2-1.6-5.8,0l-51,51.1-51.1-51.1c-1.6-1.6-4.2-1.6-5.8,0-1.6,1.6-1.6,4.2 0,5.8l53.9,53.9c0.8,0.8 1.8,1.2 2.9,1.2 1,0 2.1-0.4 2.9-1.2l53.9-53.9c1.7-1.6 1.7-4.2 0.1-5.8z' fill='charcoal'/></g></svg>") no-repeat;
    background-position-y: 50%;
    background-position-x: 93%;
}
.booking-form-container .main-content #booking_form_details input[type=checkbox] {
    height: auto;
    margin: 5px 0;
    cursor: pointer;
}
.booking-form-container .main-content #booking_form_details textarea {
    padding: 10px;
    font-family: Montserrat;
    font-size: 16px;
}
::placeholder {
    color: #3a3a3a;
    opacity: 1; /* Firefox */
    line-height: 26px;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #3a3a3a;
    line-height: 26px;
}
::-ms-input-placeholder { /* Microsoft Edge */
    color: #3a3a3a;
    line-height: 26px;
}

.booking-form-container .main-content #booking_form_details .input-section {
    padding-bottom: 1em;
}
.booking-form-container .main-content #booking_form_details .pax-title-container,
.booking-form-container .main-content #booking_form_details .pax-firstname-container,
.booking-form-container .main-content #booking_form_details .pax-lastname-container,
.booking-form-container .main-content #booking_form_details .pax-dob-container,
.booking-form-container .main-content #booking_form_details .pax-nationality-container {
    width: 23%;
}
.booking-form-container .main-content #booking_form_details .pax-allergies-container {
    width: 74%;
    padding-bottom:1em;
    margin-right: 0;
}
.booking-form-container .main-content #booking_form_details .inner-container {
    margin-top: 10px;
}

.booking-form-container .main-content #booking_form_details .booking-form-submit {
    cursor: pointer;
    margin-top: 2.5em;
    border: 0;
}

/*EMERGENCY CONTACT/MAIN CONTACT/ROOM CONFIG*/
.room_config_section,
.main_contact_section,
.emergency_contact_section {
    margin-top: 2.5em;
    width: 91%;
    display: flex;
    flex-direction: column;
}
.room_config_section>div {
    display: flex;
    flex-direction: column;
}
.room_config_section>div textarea {
    outline: 0;
    font-family: Montserrat;
    border-color: #999;
}
.main_contact_section .main_contact_subheading {
    margin-top:0;
}

.main_contact_section div .col-md-4,
.emergency_contact_section div .col-md-4 {
    width: 31%;
    padding: 0;
}

.terms-and-conditions-checkbox.col-md-12 {
    margin-top: 2.5em;
    padding: 0;
}
.terms-and-conditions-checkbox.col-md-12 label p {
    margin-left: 1em;
}
.terms-and-conditions-checkbox.col-md-12 label input {
    width: auto !important;
}

/*ADD/REMOVE TRAVELLER SECTION*/
#booking_form_details .remove-traveller-container .remove-traveller-button-icon,
#booking_form_details .add-traveller-container .add-traveller-button-icon {
    fill: #999;
    display: flex;
}
#booking_form_details .remove-traveller-container,
#booking_form_details .add-traveller-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 10%;
    margin-left: 15px;
    margin-right: 15px;
    text-align: center;
    padding-top: 5em;
    cursor: pointer;
}
#booking_form_details .remove-traveller-container>p,
#booking_form_details .add-traveller-container>p {
    color: #999;
    font-weight: 400;
    margin-top: 0;
    width: 70%;
}

.add-traveller-container, 
.remove-traveller-container {
    display: none;
}
.traveller.canAdd .add-traveller-container,
.traveller.canDelete .remove-traveller-container {
    display: flex;
}

/*Success & Error*/
#booking-error-page .main-content,
#booking-success-page .main-content {
    background-color: #fff;
    width: 50%;
    height: 100%;
    margin: 3.5em auto;
    padding: 2em 1.5em 3em;
    border-radius: 10px;
}
#booking-error-page .main-content #booking_form .error-booking-subheading,
#booking-success-page .main-content #booking_form .success-booking-subheading {
    margin-bottom: 30px;
}
#booking-error-page .main-content #booking_form .error-booking-subheading a,
#booking-success-page .main-content #booking_form .success-booking-subheading a {
    text-transform: lowercase;
    text-decoration: underline;
}
#booking-error-page .main-content #booking_form .error-booking-subheading a:hover,
#booking-success-page .main-content #booking_form .success-booking-subheading a:hover {
    color: #b83426;
}
#booking-error-page .main-content #booking_form .booking-form-error .error-icon,
#booking-success-page .main-content #booking_form .booking-form-success .success-icon  {
    fill: #b83426;
}


@media screen and (max-width: 1260px) {
    #booking_form_details .remove-traveller-container>p, #booking_form_details .add-traveller-container>p {
        font-size: 14px;
        line-height: 24px;
    }
}
@media screen and (max-width: 991px) {
    .wrapper.booking-form { margin-bottom: 0px; }
    .booking-form-container {
        padding: 2.5em 1em;
    }
    .booking-form-container .main-content {
        width: 85%;
    }
    .booking-form-container .booking-form-header-section>div {
        width: 100%;
    }
    .booking-form-container .booking-form-header-section div h4 {
        font-size: 25px;
        line-height: 35px;
        text-align: center;
    }
    .booking-form-subheading-one, .booking-form-subheading-two {
        text-align: center;
        font-size: 15px;
    }
    .traveller {
        display: flex;
        flex-direction: column;
    }
    .traveller .travel-heading {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 15px;
    }
    
    .booking-form-container .main-content #booking_form_details select, 
    .booking-form-container .main-content #booking_form_details input {
        color: #999;
        width: 100%;
    }
    
    .booking-form-container .main-content #booking_form_details .pax-title-container {
        width: 25%;
    }
    .booking-form-container .main-content #booking_form_details .pax-firstname-container {
        width: 72%;
        margin-right: 0;
    }
    .booking-form-container .main-content #booking_form_details .pax-lastname-container,
    .booking-form-container .main-content #booking_form_details .pax-dob-container,
    .booking-form-container .main-content #booking_form_details .pax-nationality-container,
    .booking-form-container .main-content #booking_form_details .pax-allergies-container {
        width: 100%;
        margin-right: 0;
    }
    ::placeholder {
        color: #999;
        opacity: 1; /* Firefox */
        line-height: 26px;
    }
    :-ms-input-placeholder { /* Internet Explorer 10-11 */
        color: #999;
        line-height: 26px;
    }
    ::-ms-input-placeholder { /* Microsoft Edge */
        color: #999;
        line-height: 26px;
    }
    
    /*ADD/REMOVE BUTTONS*/
    #booking_form_details .remove-traveller-container, 
    #booking_form_details .add-traveller-container {
        width: 100%;
        flex-direction: row;
        justify-content: flex-end;
        padding-top: 0;
        height: auto;
    }
    #booking_form_details .remove-traveller-container>p, 
    #booking_form_details .add-traveller-container>p {
        margin: 0;
        margin-left: 5px;
        width: auto;
    }
    #booking_form_details .remove-traveller-container, 
    #booking_form_details .add-traveller-container {
        margin: 0px;
    }
    
    .room_config_section h4,
    .main_contact_section h4,
    .emergency_contact_section h4 {
        font-size: 25px;
        line-height: 35px;
        margin-bottom: 10px;
    }
    .room_config_section, .main_contact_section, .emergency_contact_section {
        width: 100%;
    }
    
    /*EMERGENCY CONTACT/MAIN CONTACT/ROOM CONFIG*/
    .main_contact_section div .col-md-4, 
    .emergency_contact_section div .col-md-4 {
        width: 100%;
        margin-bottom: 10px;
    }
}
@media screen and (max-width: 768px) {
    .booking-form-container .main-content {
        width: 90%;
    }
    #booking-error-page .main-content, 
    #booking-success-page .main-content {
        width: 90%;
        text-align: center;
    }
    #booking-error-page .main-content #booking_form .booking-form-error .error-icon,
    #booking-success-page .main-content #booking_form .booking-form-success .success-icon {
        width: 100px;
        height: 100px;
    }
}
@media screen and (max-width: 660px) {
    .booking-form-container .main-content #booking_form_details .input-section:nth-child(1) {
        width: 22%;
    }
}
@media screen and (max-width: 520px) {
    .booking-form { margin-top: 0px; }
    .booking-form-container .main-content {
        width: 100%;
    }
    #booking-error-page .main-content, 
    #booking-success-page .main-content {
        width: 95%;
        margin: 0 auto;
    }
    #booking-error-page .main-content #booking_form .booking-form-error .error-icon,
    #booking-success-page .main-content #booking_form .booking-form-success .success-icon {
        width: 90px;
        height: 90px;
    }
}
@media screen and (max-width: 360px) {
    .booking-form-container .main-content #booking_form_details .input-section:nth-child(2) { width: 71%; }
}
