/*GENERAL*/

.booking-section.main-section {
    position: relative;
    min-height: calc(100vh);
}

.form-wizard {
    background-color: #FFFFFF;
    display: flex;
    padding-left: 16px;
    padding-right: 8px;
    border-radius: 2px;
    flex-direction: column;
    position: relative;
}

.ast-form-group input, .ast-form-group select {
    /*flex-grow: 1*/
}
.form-wizard .ast-form-label{
    width: 120px;
    flex-shrink: 0;
}

.duration-select-group .ast-form-label {
    width: auto!important;
    min-width: 120px;
}

.multi-pax-label {
    width: 70px !important;
}

.pax-form-group .icon-booking-engine-arrow-down {
    flex-grow: 0.3 !important;
}

.duration-select-group .icon-booking-engine-arrow-down {
    width: 8rem;
    flex-grow: 0!important;
}
.duration-select-group {
    width: 100%;
}

/**********************************/
/************* WIDGET *************/
/**********************************/

#search-container p {
    font-family: "Roboto", Roboto, arial, sans-serif;
    font-size: 50px;
    color: #FFFFFF;
    text-shadow: 1px 1px 20px rgba(0, 0, 0, 0.3);
}

/*section recherche*/
section #search-container {
    align-items: center;
    justify-content: center;
}

.ModuleDateSearch, .ModuleDatePicker, .searchDateForm {
    width: 100%;
}

.searchDateForm {
    min-height: 40px;
    display: flex;
    flex-wrap: wrap;
}

.form-wizard .searchDateForm {
    margin: 0;
}

.form-wizard .searchDateForm label {
    font-size: 16px;
}

.form-wizard .channel-deal-container {
    display: flex;
    flex-wrap: wrap;
}

.form-wizard .code-corporate-input{
    flex-grow: 1;
}

/*WIDGET DATE SEARCH*/
.searchDateForm label {
    font-size: 16px;
    color: #757575;
    font-family: "Roboto", Roboto, arial, sans-serif;
    font-weight: inherit;
}

.from-group, .to-group {
    flex-grow: 1;
}

#search {
    font-size: 16px;
}

/*WIDGET SELECTION SITE*/
.form-wizard .selectionSiteWrapper {
    display: flex;
    flex-wrap: wrap;
}

.form-wizard .selectionSiteWrapper select,
.form-wizard .ModuleOccupants select,
.form-wizard .code-corporate-input{
    flex-grow: 1;
}

.form-wizard #occupants-selection select {
    flex-grow: 1;
}

#occupants-selection {
    display: flex;
}

#occupants-selection .ast-form-group,
.form-code-corporate .ast-form-group{
    flex-grow: 1;
}

multi-select-container,
.channel-deal-container .ModuleChannelChoice{
    flex-grow: 1;
}

.channelChoiceWrapper {
    display: flex;
}

.channel-deal-container .ModuleCodeCorporate form {
    flex-grow: 1;
}

#sm-search-btn {
    width: auto;
    margin-top: 4px;
}

#body_background {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-position-y: 5rem;
}

.ModuleDatepicker_dialog #search {
    display: none;
}

#datepicker-custom-container {
    position: absolute;
    top: 0;
    z-index: 2;
}

#ui-datepicker-div{
    -webkit-box-shadow: 0 0 6px 0 rgba(0,0,0,.32) !important;
    box-shadow: 0 0 6px 0 rgba(0,0,0,.32) !important;
    border-radius: 2px;
}

/*WIDGET SELECTION Code corpo*/
.channel-deal-container .ModuleCodeCorporate {
    flex-grow: 1;
}
/*WIDGET SELECTION CHANNEL*/
#channelChoice {
    display: none;
}

/*SECTION*/
/*890 et plus : tablette paysage et PC*/
/*- Entre 700 et 889  : tablette portrait*/
/*- Entre 396 et 699 : smartphone XL*/
/*- Moins de 396 : smartphone*/
@media screen and (min-width: 890px) {

    .form-wizard {
        min-height: 56px;
        /*-webkit-box-shadow: 0 15px 46px rgba(26, 26, 29, .3), 0px 15px 90px !important;*/
        /*box-shadow: 0 15px 46px rgba(26, 26, 29, .3), 0px 15px 90px !important;*/
        -webkit-box-shadow: 0 0 6px 0 rgba(0,0,0,.32) !important;
        box-shadow: 0 0 6px 0 rgba(0,0,0,.32) !important;
        padding: 16px;
    }

    section.booking-section.main-section {
        align-items: center;
    }

    section #search-container, section #multisite-selection-container {
        width: 740px;
        max-width: none;
    }

    section .form-wizard {
        width: 100%;
    }

    section #search-container .search-text {
        order: 1;
    }

    section #search-container .form-wizard {
        order: 2;
    }

    .form-wizard .ast-form-group {
        display: -ms-flexbox;
        display: flex;
        /*-ms-flex: 0 0 auto;*/
        /*flex: 0 0 auto;*/
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
        -ms-flex-align: center;
        align-items: center;
    }

    .from-group, .to-group {
        flex-grow: 1;
    }

    #sm-search-btn {
        display: none;
    }

    #datepicker_shortcut {
        display: none;
    }

    .form-wizard .to-group > .ast-form-label{
        width : auto;
    }
}

@media screen and (min-width: 700px) and (max-width: 889px) {

    .form-wizard {
        min-height: 66px;
        padding-bottom: 16px;
        padding-top: 16px;
        padding-left: 20px;
        padding-right: 20px;
        border-radius: initial;
    }

    section.booking-section.main-section {
        align-items: flex-start;
        justify-content: flex-start;
    }

    section #search-container {
        width: 100%;
        align-items: flex-start;
        justify-content: flex-start;
        /*border-top: solid 1px #e0e0e0;*/
    }

    section .form-wizard {
        width: 100%;
    }

    section #search-container .search-text {
        order: 2;
        margin: auto;
    }

    section #search-container .form-wizard {
        order: 1;
    }

    .searchDateForm .ast-form-group input {
        max-width: none;
    }

    .form-wizard .ast-form-group {
        display: -ms-flexbox;
        display: flex;
        /*-ms-flex: 0 0 auto;*/
        /*flex: 0 0 auto;*/
        -ms-flex-flow: row nowrap;
        flex-flow: row nowrap;
        -ms-flex-align: center;
        align-items: center;
    }

    #sm-search-btn {
        display: none;
    }

    #datepicker_shortcut {
        display: none;
    }

    .form-wizard .to-group > .ast-form-label{
        width : auto;
    }

    .from-group input.ast-form-control, .to-group input.ast-form-control{
        width: 150px;
    }
}

@media screen and (min-width: 396px) and (max-width: 699px) {

    .form-wizard {
        min-height: 66px;
        padding-bottom: 16px;
        padding-top: 16px;
        padding-left: 20px;
        padding-right: 20px;
        border-radius: initial;
    }

    section.booking-section.main-section {
        align-items: flex-start;
        justify-content: flex-start;
        /*padding-top: 0;*/
    }

    section #search-container {
        width: 100%;
        align-items: flex-start;
        justify-content: flex-start;
    }

    section #search-container .search-text {
        order: 2;
        margin: auto;
    }

    section #search-container .search-text > p {
        font-size: 38px;
    }

    section #search-container .form-wizard {
        order: 1;
        width: 100%;
    }

    .searchDateForm {
        flex-direction: column;
        align-items: flex-start;
    }

    .searchDateForm .ast-form-group {
        width: 100%;
    }

    .searchDateForm .ast-form-group input {
        max-width: none;
        flex-grow: 1;
        margin: 0;
        width: auto;
    }

    .form-wizard .ast-form-group {
        display: -ms-flexbox;
        display: flex;
        /*flex-direction: column;*/
    }

    .form-wizard .ast-form-group.from-group {
        margin-bottom: 24px;
    }

    .form-wizard .ast-form-group.btn-search-group {
        display: none;
    }

    .ModuleDatepicker_dialog .check-in {
        pointer-events: none;
    }

    .ModuleDatepicker_dialog .check-out {
        pointer-events: none;
    }
}

@media screen  and (max-width: 396px) {

    .form-wizard {
        min-height: 66px;
        padding-bottom: 16px;
        padding-top: 16px;
        padding-left: 20px;
        padding-right: 20px;
        border-radius: initial;
        height: auto !important;
    }

    section.booking-section.main-section {
        align-items: flex-start;
        justify-content: flex-start;
        /*padding-top: 0;*/
    }

    section #search-container {
        width: 100%;
        align-items: flex-start;
        justify-content: flex-start;
    }

    section #search-container .search-text {
        order: 2;
        margin: auto;
    }

    section #search-container .search-text > p {
        font-size: 28px;
    }

    section #search-container .form-wizard {
        order: 1;
        width: 100%;
    }

    .searchDateForm {
        flex-direction: column;
        align-items: flex-start;
    }

    .searchDateForm .ast-form-group {
        width: 100%;
    }

    .searchDateForm .ast-form-group input {
        max-width: none;
        flex-grow: 1;
        margin: 0;
        width: auto;
    }

    .form-wizard .ast-form-group {
        display: -ms-flexbox;
        display: flex;
        /*flex-direction: column;*/
    }

    .form-wizard .ast-form-group.from-group {
        margin-bottom: 24px;
    }

    .form-wizard .ast-form-group.btn-search-group {
        display: none;
    }

    .form-wizard .ModuleSelectionSite {
        margin-bottom: 20px;
    }

    #categoryChoice {
        margin-bottom: 8px;
    }
}


@media screen  and (max-width: 396px) {
    .form-wizard .ast-form-group {
        display: -ms-flexbox;
        display: flex;
        flex-direction: column;
    }
}


@media screen and (max-width: 699px) {

    .form-wizard > div  {
        flex-shrink: 0;
    }

    .form-wizard {
        display: flex;
        flex-direction: column;
        height: calc(100vh - 96px);
    }
    .ModuleSelectionSite {
        order: 1;
    }
    .ModuleDatepicker {
        order: 2;
    }
    #booking-datepicker {
        order: 3;
        flex-grow: 1;
        height: 50%;
    }
    #sm-search-btn {
        order: 4;
    }
}

