body {
    background-color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    line-height: 1.3em;
    color: #393939;
}

strong {
    font-weight: 700 !important;
}

h2, h3 {
    font-family: 'Playfair Display', serif;
}

p {
    line-height: 1.3em;
}

a {
    color: inherit;
}

img {
    align-self: center;
}

sup {
    font-size: 0.6em;
    line-height: 1em;
}

small {
    font-size: 0.8em;
}

.cta, .field {
    display: flex;
    border-radius: 21px;
    background-color: #316cf9;
    text-align: center;
    color: #ffffff;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 42px;
    height: 42px;
    padding: 0 15px;
    text-decoration: none;
    border: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    text-align: center;
    justify-content: center;
}

.field.error {
    border: 1px solid red;
}

.fieldb.error {
    border-bottom: 1px solid red !important;
}


.purple.bg {
    background-color: #a558e5;
}
.lightblue.bg {
    background-color: #00a7e7;
}
.orange.bg {
    background-color: #f6a600;
}
.green.bg {
    background-color: #a5c844;
}
.darkblue.bg {
    background-color: #2e7173;
}

.purple.txt {
    color: #a558e5;
}
.lightblue.txt {
    color: #00a7e7;
}
.orange.txt {
    color: #f6a600;
}
.green.txt {
    color: #a5c844;
}
.darkblue.txt {
    color: #2e7173;
}

.spacer {
    height: 3px;
    width: 50px;
    min-width: 50px;
    max-width: 1px;
    align-self: center;
    margin: 20px 0;
}

.purple.spacer {
    background-color: #a558e5;
}
.lightblue.spacer {
    background-color: #00a7e7;
}
.orange.spacer {
    background-color: #f6a600;
}
.green.spacer {
    background-color: #a5c844;
}
.darkblue.spacer {
    background-color: #2e7173;
}

.field {
    background-color: #eef1f1;
    color: #316cf9;
}

.field:hover, .field.selected {
    background-color: #316cf9;
    color: #FFFFFF;
}

.cta:hover {
    opacity: 0.8;
}

#main-container {
    display: flex;
    flex-direction: column;
}

div {
    display: flex;
    flex-direction: row;
}

.line {
    width: 100%;
    justify-content: center;
}

.line .content {
    max-width: 1150px;
    width: 95%;
    height: auto;
    overflow: hidden;
}

.line0 {
    padding: 10px 0;
}

.line1 {
    background-image: linear-gradient(180deg, rgba(143,211,227,1) 0px, rgba(143,211,227,1) 450px, rgba(255,255,255,1) 450px, rgba(255,255,255,1) 100%);
}

.line1 .content {
    background-image: url('../images/bg@2x.png');
    background-size: auto 450px;
    background-repeat: no-repeat;
    background-position: top center;
}

.line1 .content div.left {
    flex-grow: 2;
    flex-direction: column;
}

.line1 .content .presentation {
    min-height: 450px;
    max-height: 450px;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center
}

.line1 .content .presentation h2, #form.light h2 {
    font-size: 28px;
    font-weight: 400;
    line-height: 1.3em;
    padding: 0 0 50px 0;
    background-image: url('../images/title.svg');
    background-repeat: no-repeat;
    background-position: bottom left -30px;
    max-width: 450px;
}

.line1 .content .presentation p {
    font-size: 18px;
    max-width: 300px;
}

.line1 .content .presentation .cta {
    margin: 30px 0 0 0;
    display: none;
}

.line1 .content .offer {
    flex-grow: 1;
    background-color: #FFFFFF;
    padding: 30px 0;
    justify-content: space-around;
    max-width: 614px;
    width: 614px;
}

.line1 .content .offer div {
    width: 158px;
    height: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    flex-direction: column;
    padding: 20px 10px;
    height: fit-content;
}

.line1 .content .offer h3 {
    font-family: 'Montserrat', sans-serif;
    color: #a558e5;
    font-weight: 500;
    text-align: center;
    font-size: 16px;
    margin: 10px 0;
}

.line1 .content .offer p {
    text-align: center;
    font-weight: 400;
    font-size: 14px;
}

.line1 .content .offer p strong {
    font-weight: 700;
}

.line1 .content div.right {
    flex-basis: 457px;
    max-width: 457px;
    width: auto;
    flex-grow: 1;
    padding: 20px 0;
    flex-direction: column;
}

#form.complex {
    border: 1px solid #316cf9;
    border-radius: 10px;
    background-color: #FFFFFF;
    width: 99%;
    max-width: 99%;
    overflow: hidden;
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 0;
}

#form.light {
    border: 1px solid #316cf9;
    border-radius: 10px;
    background-color: #FFFFFF;
    width: 99%;
    max-width: 99%;
    overflow: hidden;
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 0;
}

#form.complex > div {
    height: auto;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    max-width: 90%;
    width: 100%;
}

#form.light > div {
    height: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    max-width: 85%;
    width: 100%;
}


#form.light > div > div {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
#form.light > div > div > div {
    flex-direction: column;
    align-items: flex-start;
}

#form.light > div > div > div:last-child {
    align-items: flex-end;
}

#form.light input[type="text"],#form.light input[type="email"], #form.light input[type="date"], #form.light select, #form.light textarea {
    border:0;
    outline: none;
    border: 1px solid #a7a7a7;
    border-radius: 10px;
    height: 42px;
    font-size: 16px;
    display: flex;
    font-weight: 400;
    /*width: 95%;*/
    width:170px;
    color: #393939;
    font-size: 13px;
    background-color: #FFFFFF;
    -moz-box-sizing: border-box;
            -webkit-box-sizing: border-box;
            box-sizing: border-box;
            margin: 0 5px 20px 0;
            text-align: 15px;
            padding: 0 15px;
            font-family: 'Montserrat';
}

#form.light input[type="text"]::placeholder,
#form.light input[type="email"]::placeholder,
#form.light input[type="date"]::placeholder,
#form.light select:invalid,
#form.light textarea::placeholder {
    color: #a7a7a7;
    font-size: 16px;
}

#form.light input[type="text"].error,#form.light input[type="email"].error, #form.light input[type="date"].error, #form.light select.error, #form.light textarea.error {
    border-bottom: 3px solid #ce0000;
}

#form.light textarea {
    width: 100%;
    padding: 15px;
    min-height: 150px;
    height: auto;
}

#form.light .mentions {
    color: #a7a7a7;
    font-size: 12px;
}

#form.light > div > div.radio {
    flex-direction: row;
    width: 100%;
    margin: 15px 0 0 0;
    align-items: flex-start;
}
#form.light > div > div.radio.error label {
    color: red;
}

#form.light > div > div.radio > div {
    align-items: flex-start;
    align-content: flex-start;
    justify-content: flex-start;
}

#form.light > div > div.radio > div label.optincommercial {
    margin: 0 0 0 10px;
    font-size: 12px;
}

.col2 input[type="text"],.col2 input[type="email"], .col2 input[type="date"] {
    border:0;
    outline: none;
    border-bottom: 1px solid #a7a7a7;
    font-size: 16px;
    display: flex;
    width: 170px;
    color: #393939;
    font-size: 16px;
}

#form.light .cta {
    align-self:center;
    width: 100%;
    margin: 30px 0 15px 0;
}

#form.simple #step4 p {
    font-size: 16px;
}

.line2 {
    background-color: #f6f8f8;
    padding: 30px 0;
}

.line3 {
    padding: 30px 0;
}

.line2 .content, .line3 .content, .line5 .content, .line6 .content,.line7 .content {
    flex-direction: column;
}


.line2 .content h2, .line3 .content h2, .line5 .content h2, .line6 .content h2, .line7 .content h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 400;
    padding: 0 0 50px 0;
    background-image: url('../images/titre1.svg');
    background-repeat: no-repeat;
    background-position: bottom center;
    line-height: 1.5em;
}

.line2 .content > div, .line3 .content > div {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.line5 .content > div {
    flex-direction: column;
}

.line5 img {
    margin: 30px 0 40px 0;
    width: 90%;
}

.line2 .content > div > div, .line3 .content > div > div {
    flex-basis: 210px;
    max-width: 210px;
    flex-direction: column;
}

.line3 .content h3 {
    text-align: center;
    color: #a558e5;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    margin: 15px 0;
}

.line2 .content p, .line3 .content p, .line5 .content p {
    text-align: center;
    flex-grow: 1;
    font-size: 14px;
}

.line2 .content p span {
    font-size: 20px;
    font-weight: 700;
}

.line2 .content p span span {
    font-size: 14px;
    font-weight: 400;
}

.line2 .content > div > p {
    margin-top: 20px;
}

.line2 .content > p {
    font-size: 12px;
}

.line2 .cta, .line3 .cta {
    margin: 20px 0;
}

.line3 .content > .cta, .line6 .content .cta {
    align-self: center;
    padding: 0 30px;
    margin: 30px 0 10px 0;
}

.line4 {
    background-color: #a558e5;
    padding: 20px 0;
}

.line4 .content {
    flex-direction: column;
}

.line4 p {
    font-size: 14px;
    color: #ffffff;
}

.line4 p.menufooter {
    text-align: center;
    margin: 0 0 20px 0;
}

.line5 {
    padding: 30px 0;
}

.line6 {
    padding: 20px 0;
}

.line6 .content > div {
    flex-direction: column;
}

.line6 .content > div > div {
    flex-wrap: wrap;
    justify-content: space-between;
}
.line6 .content > div > div > div {
    max-width: 526px;
    width: 90%;
    margin: 20px 0;
}

.line6 .content > div > div > div > div {
    flex-direction: column;
}

.line6 .content > div > div > div > div:first-child {
    min-width: 196px;
    width: 90%;
}

.line6 h3 {
    color: #a558e5;
    font-size: 16px;
    font-weight: 500;
    text-align: left;
    margin: 0 0 15px 0;
}

.line6 p {
    color: #393939;
    font-size: 14px;
    font-weight: 400;
    text-align: left;
}

.line6 p span {
    color: #989898;
}

.line6 img {
    align-self: flex-start;
}

.line7 {
    padding: 20px 0 60px 0;
}

.line7 .content {
    overflow:visible;
}

.line7 .content > div > div {
    width: 50%;
    justify-content: space-around
}

.line7 .content > div > div > div {
    flex-direction: column;
    max-width: 168px;
    width: 168px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 10px 0;
    justify-content: flex-start;
    align-items: center;
}

.line7 .content > div > div > div > div {
    max-width: 80%;
}

.line7 .content > div > div > div > div:first-child {
    min-height: 180px;
    height: 180px;
}

.line7 p {
    font-size: 14px;
    text-align: center;
    color: #393939;
}


@media screen and (max-width: 1242px) {
    .line7 .content > div {
        flex-direction: column;
        align-items: center;
    }
    .line7 .content > div > div {
        margin: 10px 0;
        width: 560px;
    }
}

@media screen and (max-width: 1190px) {
    .line6 .content > div > div {
        flex-direction: column;
        align-items: center;
    }
}

@media screen and (max-width: 1162px) {
    .line1 .content {
        flex-direction: column;
        align-items: center;
        background-image: none;
    }
    .line1 .content .presentation {
        align-items: center;
    }
    .line1 .content .presentation h2 {
        text-align: center;
        width: 100%;
        background-position: bottom center;
    }
    .line1 .content .presentation p {
        max-width: 450px;
        width: 90%;
        text-align: center;
    }
    .line2 .content, .line3 .content {
        align-items: center;
    }
    .line2 .content > div, .line3 .content > div {
        max-width: 480px;
    }
    .line1 .content .presentation .cta {
        display: flex;
    }
}

@media screen and (max-width: 720px) {
    .line1 .content .offer {
        width: 250px;
        flex-direction: column;
        align-items: center;
        width: 90%;
    }
    .line1 .content div.left {
        align-items: center;
    }
    .line1 .content .offer div {
        margin-bottom: 20px;
        max-width: none;
        max-height: none;
        min-height: auto;
        width: 100%;
    }
    .line6 .content > div > div > div {
        flex-direction: column;
        align-items: center;
    }
    .line6 .content > div > div > div > div {
        align-content: center;
    }
    .line6 img {
        align-self: center;
        margin: 0 0 20px 0;
    }

    .line6 h3 {
        text-align: center;
    }
    
}

@media screen and (max-width: 580px) {
    .line7 .content > div > div {
        width: 100%;
        flex-direction: column;
        align-items: center;
        margin: 0;
    }
    .line7 .content > div > div > div {
        margin: 10px 0 0 0;
    }
}


@media screen and (max-width: 550px) {
    .line2 .content > div, .line3 .content > div {
        flex-direction: column;
        align-items: center;
    }
    .line2 .content > div > div, .line3 .content > div > div {
        margin-bottom: 20px;
    }
    .col2 input[type="text"], .col2 input[type="email"], .col2 input[type="date"] {
        border: 1px solid #9b9b9b;
        border-radius: 10px;
    height: 30px;
    width: 90%;
    text-align: center;
    }
    .fieldb.error {
        border: 1px solid red !important;
    }
    #form.light > div > div {
        flex-direction: column;
    }
    #form.light > div > div > div, #form.light > div > div > div:last-child {
        width: 100%;
        align-items: center;
    }
    #form.light input[type="text"], #form.light input[type="email"], #form.light input[type="date"], #form.light select, #form.light textarea {
        width: 100%;
    }
    #form.light > div > div.radio > div {
        width: auto;
    }
    .line6 img {
        max-width: 60% !important;
    }
    .line1 {
        background-image: none;
    }
    .line1 .content {
        width: 100%;
    }
    .line1 .content .presentation {
        max-height: none;
        background-color: #8fd2e2;
        padding: 20px 20px;
    }
    .line1 .content div.right {
        max-width: 95%;
    }
    .line1 .content .offer div {
        width: 90%;
    }
    
}


.hide {
    display: none;
}


#loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.7);
    justify-content: center;
    align-content: center;
    align-items: center;
}

#loader {
    display: none;
}

.lds-ellipsis {
    display: flex;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ellipsis div {
position: absolute;
top: 33px;
width: 13px;
height: 13px;
border-radius: 50%;
background: #004B85;
-webkit-animation-timing-function: cubic-bezier(0, 1, 1, 0);
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
left: 8px;
-webkit-animation: lds-ellipsis1 0.6s infinite;
        animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
left: 8px;
-webkit-animation: lds-ellipsis2 0.6s infinite;
        animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
left: 32px;
-webkit-animation: lds-ellipsis2 0.6s infinite;
        animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
left: 56px;
-webkit-animation: lds-ellipsis3 0.6s infinite;
        animation: lds-ellipsis3 0.6s infinite;
}
@-webkit-keyframes lds-ellipsis1 {
0% {
    transform: scale(0);
}
100% {
    transform: scale(1);
}
}
@keyframes lds-ellipsis1 {
0% {
    transform: scale(0);
}
100% {
    transform: scale(1);
}
}
@-webkit-keyframes lds-ellipsis3 {
0% {
    transform: scale(1);
}
100% {
    transform: scale(0);
}
}
@keyframes lds-ellipsis3 {
0% {
    transform: scale(1);
}
100% {
    transform: scale(0);
}
}
@-webkit-keyframes lds-ellipsis2 {
0% {
    transform: translate(0, 0);
}
100% {
    transform: translate(24px, 0);
}
}
@keyframes lds-ellipsis2 {
0% {
    transform: translate(0, 0);
}
100% {
    transform: translate(24px, 0);
}
}

.step {
    display: none;
}

.remodal-overlay, .remodal-wrapper  {
    display: block;
}

.remodal p {
    text-align: left;
    margin: 20px 0 20px 0;
    font-size: 12px;
}


.containercheckbox {
display: block;
position: relative;
padding-left: 20px;
margin-bottom: 12px;
cursor: pointer;
font-size: 22px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}

.containercheckbox input {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}

.checkmark {
position: absolute;
top: 0;
left: 0;
height: 15px;
width: 15px;
background-color: #FFFFFF;
border: 1px solid #a7a7a7;
border-radius: 50%;
}

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

.containercheckbox input:checked ~ .checkmark {
background-color: #316cf9;
}

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

.containercheckbox input:checked ~ .checkmark:after {
display: block;
}

.containercheckbox .checkmark:after {
left: 5px;
top: 5px;
width: 5px;
height: 5px;
background-color: #FFFFFF;
border-radius: 50%;
}