body {
    font-family: 'Nunito';
    color: black;
}


/* Style form - input et label */

h3 {
    margin-left: 300px;
}

form {
    height: 100%;
    border: 1px solid rgba(112, 112, 112, .2);
    border-radius: 5px;
    padding: 30px;
    background-color: white;
}

form input {
    height: 40px;
    width: 100%;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 7px;
    border: 1px solid;
    color: #000000;
    text-overflow: ellipsis;
    overflow: hidden;
    box-sizing: border-box;
    text-indent: 10px;
    margin-bottom: 10px;
}

textarea {
    height: 100px;
    width: 300px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 7px;
    border: 1px solid;
    color: #707070;
    text-overflow: ellipsis;
    overflow: hidden;
    box-sizing: border-box;
    text-indent: 10px;
    padding: 5px;
}

input[type="date"] {
    cursor: pointer;
}

label {
    display: inline-block;
    height: 100%;
    font-weight: bolder;
    padding-top: 8px;
}

label:hover {
    cursor: pointer;
}

.container-form {
    width: 100%;
}


/* Style row et section */
/*
.row {
    width: 100%;
    margin-bottom: 10px;
    display: flex;
    margin-top: 5px;
}

.row p {
    margin: 0;
}

.section {
    height: 100%;
    width: 25%;
}

.section-one {
    height: 100%;
    width: 40%;
    margin-right: 10px;
}

.section-one p {
    float: right;
    padding-top: 10px;
}

.section-one label {
    float: right;
    padding-top: 10px;
}

.expert {
    padding-top: 0px !important;
}

.section-two {
    height: 100%;
    width: 60%;
    margin-left: 10px;
}*/


/* Style texte */

.informative-text {
    padding-top: 3px;
    padding-left: 2px;
    font-size: 10px;
    float: none;
    margin: 0;
    font-weight: 500;
}


/* Style radio button */

.custom-radio {
    height: 40px;

    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 7px;
    border: 1px solid;
    color: #707070;
    text-overflow: ellipsis;
    overflow: hidden;
    box-sizing: border-box;
}

.custom-radio:first-child {
    margin-bottom: 10px;
}

.custom-radio input {
    cursor: pointer;
}

.custom-radio:hover {
    background-color: #E9FDF7;
    border-color: #1CD6A0;
}

.custom-radio-checked {
    color: #1CD6A0;
    background-color: #E9FDF7;
    border: 1px solid #1CD6A0;
    background-image: url("../img/checked.png");
    background-repeat: no-repeat;
    background-size: 20px 16px;
    background-position: bottom 11px right 12px;
}

.valid-select {
    color: #1CD6A0;
    background-color: #E9FDF7;
    border: 1px solid #1CD6A0;
    background-image: url("../img/checked.png");
    background-repeat: no-repeat;
    background-size: 20px 16px;
    background-position: bottom 11px right 12px;
}


/* on cache le rond des radio button */

.custom-radio input {
    opacity: 0;
    position: absolute;
}


/* Style des boutons suivant et précédent */

.next {
    height: 50px;
    width: 200px;
    background-color: #E94D5B;
    color: white;
    font-size: 23px;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 20px;
    background-image: url("../img/arrow-right.png");
    background-repeat: no-repeat;
    background-size: 25px 20px;
    background-position: bottom 15px right 30px;
    padding-right: 30px;
    transition: padding-right 0.4s, background-position 0.4s, background-color 0.6s;
}

.next:hover {
    background-color: #D93241;
    padding-right: 40px;
    background-position: bottom 15px right 20px;
    transition: padding-right 0.5s, background-position 0.5s, background-color 0.6s;
}

.previous {
    font-family: 'Nunito';
    height: 40px;
    width: 120px;
    background-color: white;
    color: #707070;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 40px;
    border: 1px solid #707070;
    background-image: url("../img/arrow-left.png");
    background-repeat: no-repeat;
    background-size: 20px 15px;
    background-position: bottom 10px left 20px;
    padding-left: 10px;
    transition: padding-left 0.4s;
    padding-top: 2px;
}

.previous:hover {
    background-color: #707070;
    color: white;
    padding-left: 35px;
    background-position: bottom 10px left 12px;
    transition: padding-left 0.5s, background-position 0.5s, background-color 0.4s;
}


/* Style des étapes */


/* Cache toutes les étapes */

.tab {
    display: none;
}


/* Affiche l'étape */

.step-tab.active {
    opacity: 1;
}


/* Style message d'erreur */

.invalid {
    border: 1px solid red;
}

.invalid-select {
    border: 1px solid red;
}

.invalid-message {
    display: none;
    font-size: 12px;
    color: red;
}

.invalid-message-input {
    display: none;
    font-size: 12px;
    color: red;
}

.invalid-message-select {
    display: none;
    font-size: 12px;
    color: red;
}

.invalid-message-show {
    display: block;
    font-size: 12px;
    color: red;
}

.invalid-select-message-show {
    display: block;
    font-size: 12px;
    color: red;
}


/* Style des select */

select {
    /* styling */
    background-color: white;
    border: thin solid #707070;
    border-radius: 7px;
    display: inline-block;
    font: inherit;
    width: 300px;
    line-height: 1.5em;
    padding: 0.5em 1.5em 0.5em 1em;
    /* reset */
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    color: #707070;
}

select {
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, gray 50%), linear-gradient(135deg, gray 50%, transparent 50%), linear-gradient(to right, #ccc, #ccc);
    background-position: calc(100% - 20px) calc(1em + 2px), calc(100% - 15px) calc(1em + 2px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
    cursor: pointer;
}

.profil select {
    margin-bottom: 10px;
}

select:hover {
    border-color: #1CD6A0;
}

.is-selected {
    color: #1CD6A0;
    background-color: #E9FDF7;
    border: 1px solid #1CD6A0;
    background-image: url("../img/checked.png");
    background-repeat: no-repeat;
    background-size: 27px 20px;
    background-position: bottom 10px right 10px;
}


/* Style de placement d'élément' */

.alignleft {
    float: left;
}

.alignright {
    float: right;
}


/* Style progress bar */

@keyframes bounce {
    0% {
        transform: scale(1);
    }
    33% {
        transform: scale(0.9);
    }
    66% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.container-progress {
    border-radius: 5px;
    padding: 30px;
    background-color: white;
}

.steps {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0 0 2rem 0;
    list-style: none;
}

.step {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex: 1;
    position: relative;
    pointer-events: none;
    z-index: 3;
}

.step--active,
.step--complete {
    cursor: pointer;
    pointer-events: all;
}

.step:not(:last-child):before,
.step:not(:last-child):after {
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 0.25rem;
    content: "";
    transform: translateY(-50%);
    will-change: width;
    z-index: -1;
}

.step:before {
    width: 100%;
    background-color: #e6e7e8;
}

.step:after {
    width: 0;
    background-color: #1CD6A0;
}

.step--complete:after {
    width: 100% !important;
    opacity: 1;
    transition: width 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

.step__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 3rem;
    height: 3rem;
    background-color: #292627;
    border: 0.25rem solid #e6e7e8;
    border-radius: 50%;
    color: transparent;
    font-size: 2rem;
}

.step__icon:before {
    display: block;
    color: #fff;
    content: "✓";
}

.step--complete.step--active .step__icon {
    color: #fff;
    transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.step--incomplete.step--active .step__icon {
    border-color: #1CD6A0;
    transition-delay: 0.5s;
}

.step--complete .step__icon {
    animation: bounce 0.5s ease-in-out;
    background-color: #1CD6A0;
    border-color: #1CD6A0;
    color: #fff;
}

.step__label {
    position: absolute;
    bottom: -2rem;
    left: 50%;
    margin-top: 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.step--incomplete.step--inactive .step__label {
    color: grey;
}

.step--incomplete.step--active .step__label {
    color: grey;
}

.step--active .step__label {
    transition: color 0.3s ease-in-out;
    transition-delay: 0.5s;
}


/* Style bouton étape fin */

.row .endBtn {
    margin-left: auto;
    margin-right: auto;
}

.endBtn {
    height: 50px;
    width: 330px;
    background-color: #E94D5B;
    color: white;
    font-size: 20px;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 20px;
    background-image: url("../img/arrow-right.png");
    background-repeat: no-repeat;
    background-size: 25px 20px;
    background-position: bottom 15px right 30px;
    padding-right: 30px;
    transition: padding-right 0.4s, background-position 0.4s, background-color 0.6s;
}

.endBtn:hover {
    background-color: #D93241;
    padding-right: 40px;
    background-position: bottom 15px right 20px;
    transition: padding-right 0.5s, background-position 0.5s, background-color 0.6s;
}

.endText {
    width: 100%;
    margin-bottom: 20px;
    display: flex;
    margin-top: 30px;
}

.endText p {
    font-size: 18px;
    font-weight: 600;
    margin-left: auto;
    margin-right: auto;
}


/* Style des cases à cocher CGU - Partenaires*/

.tovalidate input {
    height: 10px;
    width: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 7px;
    border: 1px solid;
    color: #707070;
    text-overflow: ellipsis;
    overflow: hidden;
    box-sizing: border-box;
    float: right;
}

.row-tovalidate {
    width: 100%;
    margin-bottom: 6px;
    display: flex;
    margin-top: 6px;
}

.row-tovalidate label {
    padding: 0;
    width: 500px;
}

.section-one-tovalidate {
    height: 50px;
    width: 35%;
    margin-right: 10px;
}

.section-two-tovalidate {
    position: relative;
    height: 40px;
    width: 65%;
    margin-left: 10px;
    margin-bottom: 20px;
}

.section-two-tovalidate p {
    margin: 0;
    left: 0;
}

.section-two-tovalidate a {
    color: black;
}

.row a {
    margin-left: auto;
    margin-right: auto;
}


/* affichage des checkbox sur chrome */

input[type="checkbox"] {
    -webkit-appearance: checkbox;
    border-radius: 0;
    width: 18px;
    height: 18px;
}


/* RESPONSIVE */

@media screen and (min-width: 641px) and (max-width: 729px) {
    .section-one {
        height: 100%;
        width: 100%;
        margin-right: 10px;
    }
    .section-two {
        height: 100%;
        width: 100%;
        margin-left: 10px;
    }
}

@media screen and (max-width: 640px) {
    .section-one {
        height: 100%;
        width: 100%;
        margin-right: 10px;
    }
    .section-two {
        height: 100%;
        width: 100%;
        margin-left: 30px;
    }
    .section-one p {
        float: left;
        padding-top: 10px;
        margin-left: 30px;
        margin-bottom: 10px;
    }
    .section-one label {
        float: left;
        padding: 0;
        margin-left: 30px;
        margin-bottom: 10px;
    }
    .row {
        flex-direction: column;
        margin: 0;
    }
    .row-tovalidate {
        width: 100%;
        display: flex;
        margin: 0;
    }
    .step__label {
        font-size: 12px;
    }
    .previous {
        margin-top: 25px;
    }
    h3 {
        margin: 0;
    }
    .section-one-tovalidate {
        height: 100%;
        width: 5%;
        margin-right: 10px;
    }
    .section-two-tovalidate {
        height: 100%;
        width: 95%;
        margin-left: 10px;
    }
    .row-tovalidate label {
        width: 285px;
    }
}

@media screen and (max-width: 473px) {
    .step__label {
        font-size: 10px;
    }
    .row-tovalidate label {
        width: 250px;
    }
    .section-two-tovalidate {
        height: 70px;
        width: 95%;
        margin-left: 10px;
    }
}

@media screen and (max-width: 422px) {
    .section-one {
        height: 100%;
        width: 100%;
        margin-right: 10px;
    }
    .section-two {
        height: 100%;
        width: 100%;
        margin-left: 0px;
    }
    .section-one label {
        margin-left: 0px;
    }
    form {
        padding: 15px;
    }
    .step__label {
        font-size: 8px;
    }
    .section-one p {
        margin-left: 0px;
    }
    .alignleft {
        float: left;
    }
    .alignright {
        float: left;
    }
    form input {
        width: 230px;
    }
    .custom-radio {
        width: 230px;
    }
    select {
        width: 230px;
    }
    textarea {
        width: 230px;
    }
}

#cgu_form{
    clear:both;
    text-align:justify;
    font-size:0.8em;
    line-height: 1;
    width: 400px;
}