/*** Float */

.form-group {
    margin-bottom: 16px;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    position: relative;
    display: block;
    background-color: transparent;
    margin: 0px auto;
    /*padding: 6px 4px 4px 14px;*/
    outline: none !important;

    transition: all .2s ease-in-out;
}

.form-group label {
    position: absolute;
    top: 17px;
    left: 25px;
    text-align: left;
    display: inline-block;
    padding: 0 4px;
    /* line-height: 14px; */
    font-size: 17px;
    font-weight: 400;
    background: var(--primary-color);
    color: var(--accent-lighter);
    margin: 0px auto;
    cursor: text;
    transition: all .15s ease-in-out;
}

input,select,textarea,
.form-group input:hover,
.form-group input:focus,
.form-group select:hover,
.form-group select:focus,
.form-group textarea:hover,
.form-group textarea:focus {
    border:2px solid var(--accent-lighter);
    color:  var(--accent-lighter)!important;
}

.form-group input:valid + label,
.form-group input:focus + label,
.form-group select:valid + label,
.form-group select:focus + label,
.form-group textarea:valid + label,
.form-group textarea:focus + label {
    top: -12px;

    font-weight: bold;
}

.asterisk {
    background-color: inherit;
    color: var(--secondary);
    padding: 0;
    padding-left: 3px;

}

.asterisk:after {
    content: "*";
}

/**********/


.prev-nxt-wrp {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prev-nxt-wrp a {
    color: var(--secondary);
    cursor: pointer;
}

.next {
    background-color: var(--accent);
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0;
    text-align: center;
    text-decoration: none;
    margin: 0;
    outline: none;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
}

.next:hover,
.next:focus {
    background-color: var(--accent-lighter);
}


.input-wrapper {
    flex-basis: 50%;
}

.f-label {
    margin-top: 0px;
    color:var(--secondary);
    font-size: 2.8rem;
    margin-bottom:15px;
}

.f-label-sub {
    margin-top: 0px;
    color:var(--accent-lighter);
    font-size: 2.5rem;
    margin-bottom:0px;
}

.crd-wrapper {
    display: flex;
    flex-wrap: wrap;
    column-gap:20px;
    justify-content: center;
}

.crd-wrapper .card {
    width: 46%;
    flex-basis: 46%;
}

.crd-nbr p {
    color:#41c3e5!important;
}

.card * {
    cursor: pointer !important;
}



.card {
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.card:hover,
.card:has(input[type="radio"]:checked) {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    background-color: var(--primary-color-lighter);
    border: 1px solid var(--accent);
}

.card:hover span {
    background: var(--accent);
    color: var(--primary-color);
    border:1px solid var(--primary-color);
}

.card:has(input[type="radio"]:checked) span {
    background: var(--accent);
    color: var(--primary-color);
    border:1px solid var(--primary-color);
}


.card input[type="radio"] {
    display: none;

}

.card label {

    padding:3px 15px;
    text-align: center;
    margin: 0;
    display: flex;
    align-items: center;
    gap:15px;
}

.card label img {
    max-height: 155px;
}



.card label span {
    display: block;
    border:1px solid var(--accent-lighter);
    line-height: 10px;
    padding: 6px;
    border-radius: 4px;
}

.card label * {
    color: var(--accent-lighter);
} 

.card label p {
    margin-top: 10px;
    font-weight: 600;
    font-size: 1.6rem;
    
}

 input[type="radio"]:checked + .card {
    background-color: var(--primary-color-lighter);
    
}

.card-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/*******/

.step-elt-wapper {
    display: flex;
    align-items: center;
    justify-content: space-between;

}

.step-elt-wapper svg {
    height:300px;
}

.step {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

.step.active {
    display: flex !important;
    opacity: 1;
    flex-direction: column;
    justify-content: center;
}

.radio-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 18px;
    user-select: none;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}

.radio-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.radio-container input:checked ~ .checkmark {
    background-color: #4CAF50;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked ~ .checkmark:after {
    display: block;
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

/* Styles for the progress bar */
#progressBar {
    background: var(--accent-lighter);;
    height: 10px;
    width: 98%;
    border-radius: 50px;
    margin: 10px auto 30px auto;
}

#progress {
    height: 100%;
    background-color: var(--accent);
    width: 0%;
    border-radius: 50px;
    transition: width 0.5s ease-in-out;
}

/*Multi*/

/*Checkboxes styles*/
input[type="checkbox"] {
    display: none;
}

input[type="checkbox"] + label {
    display: inline;
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    font-weight: 400;


    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

input[type="checkbox"] + label:last-child {
    margin-bottom: 0;
}

input[type="checkbox"] + label:before {
    border-radius: 3px;
    content: '';
    display: inline;
    width: 25px;
    height: 25px;
    border: 2px solid var(--accent);
    position: absolute;
    left: 0;
    top: 5px;
    opacity: 1;
    -webkit-transition: all .12s, border-color .08s;
    transition: all .12s, border-color .08s;
}

input[type="checkbox"]:checked + label:before {
    width: 10px;
    top: -5px;
    left: 5px;
    border-radius: 0;
    opacity: 1;
    border-top-color: transparent;
    border-left-color: transparent;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

textarea {
    resize: vertical;

}

.lu-txt {
    font-size:1.3rem;
    text-align: left;
    color: var(--accent-lighter);
}

.terms {
    padding: 20px 0px;
    display: flex;
}

/* Form */
button[disabled] {
    cursor: not-allowed;
    filter: alpha(opacity=65);
    -webkit-box-shadow: none;
    box-shadow: none;
    opacity: .65;
}

.error {
    border: 2px solid red !important;
}

.success-form {
    display: none;
    font-size: large;
}

.f-pd-t {
    padding-top: 2%;
}

input[type="date"] :: after {
    color: #111;
    content: attr(placeholder);
}

input[type="date"] {
    display: block;

    /* Solution 1 */
    -webkit-appearance: textfield;
    -moz-appearance: textfield;

    /* Solution 2 */
    min-width: 96%;
}

.alert {
    margin-bottom: 0px!important;
    font-size: 18px;

}


.form-holder {
    background-color: var(--primary-color);
    border:none;
    border-radius: 2.5rem;
    padding: 0rem 3.1rem;
    transition: transform .6s cubic-bezier(.165, .84, .44, 1);
    animation-duration: 1.4s;
    animation-delay: .3s;
    animation-timing-function: cubic-bezier(.19, 1, .22, 1);
    color: #202020;
}

.form-body {
    padding: 30px 15px 30px 15px;
}

.form-header {
    border-radius: 2.5rem;
    padding: 25px;
    background-color: #111;
    color: #fff;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.6em;
}

.cta-holder {
    display: flex;
    flex-direction: column;
}

.cta-holder .sub {
    margin-top: 15px;
    position: relative;
    clear: both;
}

.formulaire1 {
    background-color: #ffffff;
    padding: 60px 40px 35px 40px;
    border-radius: 0px;
    z-index: 800;
    color: #333334;
    cursor: pointer;
    box-shadow: 0 0 0 0 rgba(245, 245, 245, .7);
    -webkit-animation: pulse 2s infinite cubic-bezier(.66, 0, 0, 1);
    -moz-animation: pulse 2s infinite cubic-bezier(.66, 0, 0, 1);
    -ms-animation: pulse 2s infinite cubic-bezier(.66, 0, 0, 1);
    animation: pulse 2s infinite cubic-bezier(.66, 0, 0, 1)
}

.formulaire1:hover,
.register-pop:hover {
    -webkit-animation: none;
    -moz-animation: none;
    -ms-animation: none;
    animation: none
}

@-webkit-keyframes pulse {
    to {
        box-shadow: 0 0 0 20px rgba(232, 76, 61, 0)
    }
}

@-moz-keyframes pulse {
    to {
        box-shadow: 0 0 0 20px rgba(232, 76, 61, 0)
    }
}

@-ms-keyframes pulse {
    to {
        box-shadow: 0 0 0 20px rgba(232, 76, 61, 0)
    }
}

@keyframes pulse {
    to {
        box-shadow: 0 0 0 20px rgba(232, 76, 61, 0)
    }
}

.titref {
    color: #acacac;
    text-align: justify;
    line-height: 1.5em !important;
    font: 700 11px Roboto, sans-serif;
    padding: 20px 3% 10px
}

select.custom {
    background-image: url(../img/drop.png);
    padding-right: 20px;
    background-repeat: no-repeat;
    background-position: 90% center;
    -webkit-appearance: none;
    -moz-appearance: none
}

select.custom::-ms-expand {
    display: none
}



::placeholder {
    /* Firefox, Chrome, Opera */
    color: #111111 !important;
}

:-ms-input-placeholder {
    /* Internet Explorer 10-11 */
    color: #111111 !important;
}

::-ms-input-placeholder {
    /* Microsoft Edge */
    color: #111111 !important;
}

input[type=text] {
    /* Remove First */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}



.form-control {
    height: 60px;
    margin-bottom: 10px;
    padding-left: 25px;
    color:var(--accent-lighter)!important;
    background-color: var(--primary-color);
    border: 2px solid var(--accent-lighter);
    border-radius:10px;
    font-size: 16px;
    letter-spacing: 4px;
}



.form-control:hover,.form-control:focus {
    background-color: var(--primary-color);
    border: 2px solid var(--accent-lighter);
    color: var(--accent-lighter)!important;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s
}

.sub {
    background-color: var(--accent);
    border: none;
    color: var(--primary-color);
    padding: 15px 30px;
    font-size: 15px;
    border-radius: 60px;
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;

}

.w-100 {
    width: 100%;
}



.sub:focus,
.sub:hover,
.sub:active {
    background-color: var(--secondary);
    border: none;
    outline: none;
    color: var(--primary-color);
    moz-transition: all .4s ease-in-out;
    -o-transition: all .4s ease-in-out;
    -webkit-transition: all .4s ease-in-out;
    transition: all .4s ease-in-out;


}


.mention-form {
    color: #1860de;
}

.vcenter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.lu {
    font-size: 15px;
    font-weight: normal;
}

.disable-check {
    display: flex;
    padding: 20px 50px 0px 50px;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;

}

#disableBtn {
    cursor: pointer;
}
