/* 
    main AutomatedOnlineQuote css
*/

/*
    loader
*/
.loader
{
    position: fixed;
    top:0px;
    left:0px;

    width:100%;
    height:100%;

    background-color: rgba(255, 255, 255, 0.5) ;

    z-index: 1000;
}

#automated-online-quote-form{
    padding: 0;
}
.automated-online-quote_content{
    background-color: #F0F4FF;
}



/* Step 1 */
    .step {
        padding: 3rem 0;
    }
    .d-flex{
        display: flex;
        justify-content: center;
    }
    .flex-wrap{
        flex-wrap: wrap;
    }
    .step-prise-en-charge-content .field,
    .row-object-type{
        position: relative;
        width: 300px;
        max-width: calc(100% - 30px);
        border-radius: 20px;
        padding: 20px;
        margin: 15px;
        background-color: #fff;
    }
    
    .step-prise-en-charge-content .picture,
    .row-object-type .picture{
        border-radius: 20px;
        max-height:200px;
        margin-bottom: 20px;
        overflow: hidden;
    }

    .row-object-type .picture img{
        height: 200px;
        display: block;
        margin: 0 auto;
    }
    .prise-en-charge-resum .picture img,
    .step-prise-en-charge-content img{
		object-fit: cover;
		font-family: 'object-fit: cover';
		height: 100%;
		width: 100%;
    }
    .prise-en-charge-resum .title,
    .object-type-resum .title,
    .step-prise-en-charge-content .title,
    .row-object-type .title{
        text-transform: uppercase;
        color: #5567c4;
        font-size: 2rem;
    }
    .step-prise-en-charge-content input,
    .row-object-type input{
        display: none;
    }
    .step-prise-en-charge-content input:checked + label::before,
    .row-object-type input:checked + label::before{
        position: absolute;
        content: "";
        display: block;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        border-radius: 20px;
        border: 4px solid #697ddd;
        box-shadow: 4px 4px 10px rgb(0 0 0 / 30%);
    }

    .num{
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #fff;
        border-radius: 50%;
        width: 50px;
        min-width: 50px;
        font-weight: 800;
        font-size: 4rem;
        line-height: 1;
        margin-right: 10px;
        height: 50px;
    }
    .hn-step{
        display: flex;
        align-items: center;
        font-size: 2.8rem;
    }


/*STEP 2:  Origine de l'expédition */
.step-user-data-content,
.step-assurance-content,
.step-prise-en-charge-configuration-content,
.step-object-data-content,
.step-object-status-content,
.step-motif-expedition-content,
.step-origine-content{
    background-color: #fff;
    padding: 30px;
    align-items: center;
    border-radius: 20px;
}
@media (min-width:1200px){
    .step-prise-en-charge-configuration-content .prise-en-charge-resum,
    .step-origine-content .object-type-resum{
        flex: 1 0 30%;
        margin-right: 30px;
        max-width: 30%;
    }
    .step-prise-en-charge-configuration-content .fields,
    .step-origine-content .fields{
        flex: 1 0 calc(70% - 30px);
    }
}


.step-prise-en-charge-configuration-content .field,
.step-origine-content .field{
    border-radius: 20px;
    background-color: #F0F4FF;
    margin-bottom: 30px;
} 
.step-prise-en-charge-configuration-content label,
.step-origine-content label{
    text-transform: uppercase;
    background-color: #697ddd;
    color: #fff;
    border-radius: 20px 20px 0 0;
    padding: 10px;
    font-size: 2rem;
}

.step-prise-en-charge-configuration-content select,
.step-origine-content select{
    border: none;
    min-height: 40px;
    line-height: 40px;
    font-size: 1.5rem;
    background-image: url('/wp-content/plugins/wp-automated-online-quote/assets/picture/arrow.svg');
    background-repeat: no-repeat;
    background-position: calc(100% - 20px) center;
    background-size: 20px 20px;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0 0 20px 20px;
}
.step-origine-content select:focus{
    outline: none;
}



/* Step 3 : motifs de l'expédition */
.row_checkbox input{
    display: none;
}
.row_checkbox label{
    display: flex;
    align-items: flex-start;
    position: relative;
    font-size: 1.8rem;
    margin :10px 0;
}
.row_checkbox label::after,
.row_checkbox label::before{
    display: block;
    content: "";
    border-radius: 50px;
}
.row_checkbox label::before{
    width: 60px;
    min-width: 60px;
    height: 30px;
    margin-right: 10px;
    background-color: #e6e6e6;
    margin-top: -4px;
}
.row_checkbox label::after{
    height: 26px;
    width: 26px;
    background-color: #F0F4FF;
    position: absolute;
    top: -2px;
    left: 2px;
    transition: 0.2s ease-in-out;
}

    
.row_checkbox input:checked + label::after{
    background-color: #697ddd;
    left: 32px;
}



/* Step 4 */
.step-object-data-content{
    overflow: hidden;
}

.field-option label{
    font-size: 1.8rem;
    text-transform: uppercase;
}
.field-option .group-checkbox label{
    text-transform: none;
}

.field-option .group-checkbox{
    display: flex;
    flex-wrap: wrap;
}
.field-option .field-checkbox{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.field-option .field-checkbox label,
.step-object-data .field-option .field-checkbox input{
    height: auto;
    margin: 0;
    width: auto;
}
.field-option .field-checkbox label{
    color: rgb(88, 88, 88);
    order: 2;
}
.step-object-data .field-option .field-checkbox input{
    order: 1;
    margin-right: 20px;
}

/* simple checkbox */
.step .simple-checkbox .field-checkbox{
    flex: 1 0 50%;
}
.step .simple-checkbox .field-checkbox input{
    order: 1;
    width:auto;
}
.step .simple-checkbox .field-checkbox label{
    order: 2;
    width:95%;
    padding-left: 10px;
    font-weight: normal;
}

.heading-form{
    background-color:#697ddd;
    padding: 10px 20px;
    font-size: 2rem;
    border-radius: 20px 20px 0 0;
    text-transform: uppercase;
    color: #fff;
}
.step-user-data .fields,
.step-object-data .fields{
    background-color: #F0F4FF;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    border-radius: 0 0 20px 20px;
}
.step-user-data .fields{
    border-radius: 20px;
}
.step-user-data .field,
.step-object-data .field{
    margin: 5px 0;
} 
@media (min-width:956px){
    .step-user-data .field,
    .step-object-data .field{
        flex: 1 0 50%;
        max-width: 50%;
        padding: 0 15px;
    }
    .field-option .group-checkbox .field-checkbox{
        flex: 1 0 50%;
        max-width: 50%;
        padding: 0 15px;
    }
    
    .step-object-data .field-option {
        padding: 30px 15px 0 15px !important;
        flex: 1 0 100%;
        max-width: 100%;
    }
    
}
.step-user-data label,
.step-object-data label{
    font-weight: bold;
    color: #5567c4;
}
.step-user-data .field input,
.step-object-data .field input{
    height: 40px;
    border-radius: 50px;
    padding: 5px 20px;
    border: none;
    background-color: #fff;
    width: 100%;
}

.btn-userData-submit,
.btn-objectData-submit{
    margin-left: auto;
    float: right;
    border-radius: 50px;
    font-weight: bold;
    margin-bottom: 0;
}
.btn-userData-submit{
    font-size: 2.2rem;
}

/* Step 5 */
.step-prise-en-charge-content label{
    margin: 0;
    text-align: center;
}

.prise-en-charge-resum .title{
    /* text-align: center; */
    font-weight: bold;
}
.prise-en-charge-resum .picture{
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
}
.line-price{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #F0F4FF;
    padding: 10px 20px;
    border-radius: 50px;
    margin:10px 0;
    font-weight: bold;
    font-size: 1.8rem;
}
@media screen and (max-width: 785px) {
    .line-price{
        flex-direction: column;
    }
    .line-price .value {
        font-size: 14px !important;
        margin-top: 16px;
    }  
}
.line-price .value{
    font-size: 2.2rem;
    font-weight: normal;
}


/* Assurance */
.step-assurance-content .fields{
    display: flex;
    flex-wrap: wrap;
}


@media (min-width:956px){
    .step-assurance-content .field{
        flex: 1 0 50%;
        padding: 0 15px;
        flex-direction: column;
    }
    .step-assurance-content .field .description{
        order: 1000;
    }

}

button:focus,
input:focus{
    outline: navajowhite;
}
.step-user-data-content{
    padding-bottom: 40px;
}


#automated-online-quote-form .field{
    position: relative;
    flex-wrap: wrap;
}
#automated-online-quote-form .alert-error{
    background-color: transparent;
    color: rgb(194, 19, 19);
    padding:0;
    
    margin: 0;
}

#automated-online-quote-form .error input{
    box-shadow: 0px 0px 3px 0px rgba(233,104,104,0.75) inset;
    -webkit-box-shadow: 0px 0px 3px 0px rgba(233,104,104,0.75) inset;
    -moz-box-shadow: 0px 0px 3px 0px rgba(233,104,104,0.75) inset;
}



/* Message de validation */

.alert_icone {
    max-width: 120px;
    margin: 20px auto;
    box-shadow: 4px 4px 10px rgb(0 0 0 / 30%);
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    padding: 10px;
}

#automated-online-quote .alert-success{
    background-color: #fad145;
    padding: 10rem 0;
    margin-top : 0px;
}

.alert-success p{
    line-height: 140%;
    text-align: center;
    font-size: 2.3rem;
}

.box-devis
{
    display: none !important;
}


select#acf-field_621882e615353-621c7420b8ab8-field_621882f615354 {
    width: 90% !important;
}
input#acf-field_621882e615353-621c7420b8ab8-field_6218838215356 {
    width: 90% !important;
}
input#acf-field_621882e615353-621c7420b8ab8-field_6218833f15355 {
    width: 90% !important;
}
span.custom_notice {
    font-size: 14px;
}