/*  lform témoignages sections  */ 


.custom-multi-step-form {
    font-family: 'Sora', sans-serif !important;
}




.custom-form-step {
    display: none !important;
}

.custom-form-step.active {
    display: block !important;
}

.custom-form-row {
    display: flex !important;
    justify-content:  center !important;
    align-items: flex-start !important;
    gap: 32px !important;
   
   
}

.custom-form.step{
    justify-content: center;
    display: flex !important;
    flex-direction: column;
    align-items: center;
}



.custom-form-left input, .custom-form-inline .custom-form-group input, .custom-form-right textarea {
    border: 1px solid #DDDDDD !important;
    padding: 10px !important;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
    border-radius: 5px !important;
    font-family: 'Sora', sans-serif !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    line-height: 15.12px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}


.custom-form-left input:not(first-child), .custom-form-inline .custom-form-group input:not(first-child), .custom-form-right textarea:not(first-child) {
   
 
  margin-top: 19px !important;
    
}


.custom-form-left input[type="text"],
.custom-form-left input[type="email"],
.custom-form-left input[type="tel"] {
    width: 100% !important;
    height: 51px !important;
}

.custom-form-inline {
    display: flex !important;
    justify-content: space-between !important;
}

.custom-form-inline .custom-form-group:first-child input { 
    height: 51px !important;
}

.custom-form-inline .custom-form-group:last-child input {
    width: 137px !important;
    height: 51px !important;
}

.custom-form-right textarea {
    width: 100% !important;
    height: 327px !important;
}

.custom-upload-area {
    text-align: center !important;
    border: 2px dashed #ddd !important;
    padding: 20px !important;
    border-radius: 10px !important;
}

.custom-upload-area input[type="file"] {
    margin-bottom: 10px !important;
}

.custom-upload-area button {
    margin-top: 10px !important;
    background-color: #f67e42 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 10px 20px !important;
    cursor: pointer !important;
}

.custom-upload-area button:hover {
    background-color: #e55d23 !important;
}

.custom-submit-button {
    width: 158px !important;
    height: 46px !important;
    padding: 11px 31px !important;
    background-color: #f67e42 !important;
    color: white !important;
    border: 1px solid transparent !important;
    border-radius: 50px 0px 0px 0px !important;
    cursor: pointer !important;
    font-family: 'Sora', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 15.12px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    margin-left : 45%;
    margin-top :2%;
}

.custom-submit-button:hover {
    background-color: #e55d23 !important;
}



.custom-confirmation-message {
    text-align: center !important;
    margin-top: 20px !important;
}

.custom-confirmation-message h2 {
    color: #4caf50 !important;
}

.custom-video-preview {
    width: 100% !important;
    max-width: 400px !important;
    margin-top: 10px !important;
}

.dragover {
    border-color: #4caf50 !important;
}

.modal {
    display: none !important;
    position: fixed !important;
    z-index: 1000 !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: auto !important;
    background-color: rgb(0,0,0) !important;
}

.modal-content {
    background-color: #fefefe !important;
    margin: 15% auto !important;
    padding: 20px !important;
    border: 1px solid #888 !important;
    width: 80% !important;
    max-width: 500px !important;
    border-radius: 5px !important;
}

.close {
    color: #aaa !important;
    float: right !important;
    font-size: 28px !important;
    font-weight: bold !important;
}

.close:hover,
.close:focus {
    color: black !important;
    text-decoration: none !important;
    cursor: pointer !important;
}

.custom-next-step {
    width: 264px !important;
    height: 46px !important;
    padding: 11px 31px !important;
    background-color: #f67e42 !important;
    color: white !important;
    border: none !important;
    border-radius: 30px 30px 30px 30px !important;
    cursor: pointer !important;
    font-family: 'Sora', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 15.12px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    opacity: 1 !important;
    margin-left: 40%;
}

.custom-next-step:hover {
    background-color: #e55d23 !important;
}

button {
    background-color: #f67e42 !important;
    color: white !important;
    padding: 10px 20px !important;
    border: none !important;
    border-radius: 5px !important;
    cursor: pointer !important;
}

button:hover {
    background-color: #e55d23 !important;
}


.custom-record-video-button {
    width: 168px !important;
    height: 46px !important;
    padding: 11px 31px !important;
    background-color: #f67e42 !important;
    color: white !important;
    border: 1px solid transparent !important;
    border-radius: 50px 0px 0px 0px !important;
    cursor: pointer !important;
    font-family: 'Sora', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 15.12px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    opacity: 1 !important;

}

.custom-record-video-button :hover {
    background-color: #e55d23 !important;
}
























































































.custom-form-left, .custom-form-right{
    width: 50% !important;
    margin-right: 0px!important;
    margin-left: 0px!important;
}


@media (max-width: 768px) {
    .custom-multi-step-form {
        margin: 0 auto !important;
        padding: 0 10px !important; 
        width: 100% !important;
        box-sizing: border-box !important;
        
    }


    .custom-form-step.step-inscription.active { 
    }
    
     .step-video { 
        width: 100%;
    }
    .no-overflow {
        overflow-x: hidden !important;
    }

    .custom-form-row {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
        margin-left: 0 !important;
    }

    .custom-form-left,
    .custom-form-right {
        width: 100% !important;
        margin: 0 !important;
    }

    .custom-form-inline {
        display: flex !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 5px !important;
    }

    .custom-form-inline .custom-form-group:first-child input {
        /*width: 150px !important;*/
        height: auto !important;
        font-size: 11px !important;
    }

    .custom-form-inline .custom-form-group:last-child input {
        height: auto !important;
        font-size: 11px !important;
    }
    .custom-form-left input[type="text"], 
    .custom-form-left input[type="email"], 
    .custom-form-left input[type="tel"], 
    .custom-form-right textarea {
        height: auto !important;
        font-size: 12px !important; 
    }

    .custom-form-right textarea {
        margin-top: 10px !important; 
        height: 300px !important;
        font-size: 11px !important;
    }

    .custom-submit-button, 
    .custom-record-video-button {
        width: 44% !important;
        margin-left: 24% !important;
        margin-top: 11% !important;
    }
    
    button.custom-next-step {
    width: 95% !important;
    margin-left: 19% !important;
    margin-top: 11% !important;
}
}


#custom-video-modal {
    display: none; /* Doit être défini ainsi pour masquer la modale au départ */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    z-index: 1000;
}


.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.button-container {
    text-align: center;
    margin-top: 20px;
}

.button-container button {
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #4CAF50;
    color: white;
    transition: background-color 0.3s ease;
}

.button-container button:hover {
    background-color: #45a049;
}

.button-container button:focus {
    outline: 2px solid #4CAF50;
}

#stop-record {
    background-color: #f44336;
}

#stop-record:hover {
    background-color: #da190b;
}

#stop-record:focus {
    outline: 2px solid #f44336;
}

#submit-video {
    background-color: #008CBA;
}

#submit-video:hover {
    background-color: #007bb5;
}

#submit-video:focus {
    outline: 2px solid #008CBA;
    
}

.custom-upload-area button {
    margin-top: 10px !important;
    background-color: white !important;
    color: black !important;
    border: none !important;
    border-radius: 50px !important;
    padding: 14px 20px !important;
    cursor: pointer !important;
    width: unset !important;
    font-size: 16px !important;
    margin-left: -1px !important;
    margin-right: -14px !important;
    
}





@media only screen and (max-width: 768px) {
    .custom-upload-area button {
        margin-top: 10px !important;
        background-color: white !important;
        color: black !important;
        border: none !important;
        border-radius: 50px !important;
        padding: 14px 20px !important;
        cursor: pointer !important;
        width: 89% !important;
        font-size: 11px !important;
        margin-left: -1px !important;
        margin-right: -14px !important;
    }
        .custom-upload-area {
        text-align: center !important;
        border: 2px dashed #ddd !important;
        padding: 20px !important;
        border-radius: 10px !important;
        width: 100%;
        margin-left: 0px;
    }
        
    
}

@media only screen and (max-width: 400px) {
    .custom-upload-area button {
        margin-top: 10px !important;
        background-color: white !important;
        color: black !important;
        border: none !important;
        border-radius: 50px !important;
        padding: 14px 20px !important;
        cursor: pointer !important;
        width: 89% !important;
        font-size: 11px !important;
        margin-left: -1px !important;
        margin-right: -14px !important;
    }
        .custom-upload-area {
        text-align: center !important;
        border: 2px dashed #ddd !important;
        padding: 20px !important;
        border-radius: 10px !important;
        width: 101%;
        margin-left: 0px;
    }
        
    
}



/* Images de la barre de progression */

.custom-multi-step-form{
    justify-content: center;
    display: flex !important;
    flex-direction: column;
    align-items: center;
}



.custom-form-row {
    display: flex !important;
    justify-content:  center !important;
    align-items: flex-start !important;
    gap: 32px !important;
   
}

.custom-progress-step img {
    width: 30px !important;
    height: 30px !important;
    margin-right: 10px !important;
    
}

.custom-progress-step {
    display: flex !important;
    align-items: center !important;
    margin-top: 20px;
    width: 50%;
}

.custom-progress-step #step1-label, .custom-progress-step #step2-label {
    border-bottom: 3px solid #DDDDDD;
    width: 100%;
    
}
.custom-progress-step.completed #step1-label, .custom-progress-step.completed #step2-label {
    
    border-bottom: 3px solid #FEA376;
}


#custom-multi-step-form {
    width : 100%;
    padding-inline : 10%;
}

.custom-progress-bar {

    display: flex;
    justify-content:center;
    align-items: center;
    margin-top: 20px;
    gap: 32px;
   
}

@media screen and (max-width: 768px) {
    .custom-progress-step img {
        width: 24px !important;
        height: 24px !important;
        border-radius: 50% !important;
        margin-right: 10px !important;
        margin-bottom: -16px !important;
    }

    .custom-progress-step:last-child::after {
       
    }

    .custom-progress-step:first-child::after {
        
    }
    .custom-progress-bar {
    
    }
    
    #custom-multi-step-form{
        padding-inline: 10px!important;    
    }

}




.progress-step-completed-first::after {
    background-color: #FEA376 !important;
}


.progress-step-completed-second::after {
    background-color: #FEA376 !important;
}

.custom-progress-step.completed::after {
    background-color: #FEA376 !important; /* Couleur après soumission */
}
    
    
    
#goToRgnr {
    background-color: #2C6961 !important;
    border-radius: none !important;
    border: none !important;
    color: white!important;
}

#supportThierry {
background-color: #2C6961 !important;
    border-radius: none !important;
    border: none !important;
    color: white!important;
}


#custom-next-step {
    padding: 8px 11px !important;
    border: none !important;
    border-radius: 30px !important;
    cursor: pointer !important;
    
    max-width: 250px !important;
    font-size: 13px !important;
    margin-top: 37px !important;
    height: 39px !important;
   justify-content:  center !important;
   
}


@media screen and (max-width: 767px){
    #custom-video-preview{
        width: max-content!important; 
    }
} 

@media screen and (min-width: 767px){
    #custom-video-preview{
        width: max-content!important;
        height: 400px;
    }
    #thank-you-buttons{
        display: flex; 
        width: 100%!important;
        margin-left: unset!important;
        flex-wrap: wrap!important;
        justify-content: center!important;
    }
}

#thank-you-buttons{
    display: flex; 
    width: 100%!important;
    margin-left: unset!important;
    flex-wrap: wrap!important;
    justify-content: center!important;
}