html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

body, html {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 380px;
    min-height: 100vh;
    background-color: #f3f7f3;
}

body * {
    font-family: 'Poppins', Arial, sans-serif;
}

div, h1, h2, h3, p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

img {
    align-self: center;
}

a {
    color: #143d69;
    text-decoration: underline;
}

a:hover {
    color: #000000;
}

small {
    font-size: 0.7em;
}

.line {
    width: 100%;
    overflow: hidden;
}

.content {
    max-width: 1080px;
    width: 100%;
    flex-wrap: wrap;
}

.line1 {
    padding: 20px 0;
    background-color: #FFFFFF;
}

.line2 {
    padding: 20px 0;
    background-color: #f3f7f3;
}

#form {
    width: 90%;
    max-width: 680px;
}

.general {
    margin-bottom: 1.5em;
}

.general h2 {
    font-weight: 600;
    color: #143d69;
    font-size: 32px;
    text-align: center;
    line-height: 1.5em;
}

.general h2.eligible {
    color: #ff5b5b;
}

.general p {
    font-weight: 400;
    color: #143d69;
    font-size: 18px;
    text-align: center;
    line-height: 1.5em;
}

.progress {
    width: 100%;
    max-width: 100%;
    height: 15px;
    background-color: #143d69;
    overflow: hidden;
    border-radius: 10px;
    align-items: flex-start;
    margin: 2em 0;
}

.progress > div {
    max-width: calc(100% - 6px);
    min-width: 10%;
    width: 10%;
    height: 9px;
    margin: 3px;
    overflow: hidden;
    background-color: #FFFFFF;
    border-radius: 10px;
    transition: width 0.5s;
}

.progress[data-progress="10"] > div {
    width: 10%;
}
.progress[data-progress="25"] > div {
    width: 25%;
}
.progress[data-progress="50"] > div {
    width: 50%;
}
.progress[data-progress="75"] > div {
    width: 75%;
}
.progress[data-progress="85"] > div {
    width: 85%;
}
.progress[data-progress="100"] > div {
    width: 100%;
}

.step {
    max-width: 680px;
    width: 90%;
}

.step h3 {
    font-weight: 600;
    color: #143d69;
    font-size: 24px;
    text-align: center;
    line-height: 1.5em;
    max-width: 490px;
    margin-bottom: 0.5em;
}  

.checkb {
    flex-direction: row;
    max-width: 680px;
    flex-wrap: wrap;
}

.checkb > .box {
    min-width: 168px;
    min-height: 168px;
    background-color: #FFFFFF;
    color: #143d69;
    margin: 10px;
    cursor: pointer;
    box-shadow: 0 0 8px 4px rgba(0, 0, 0, 0.1);
}

.checkb > .box:hover {
    background-color: #143d69;
    color: #FFFFFF;
}

.checkb > .box i {
    font-size: 70px;
    margin-bottom: 0.2em;
}

.checkb > .box p {
    font-size: 24px;
    font-weight: 600;
}

.step0 i {
    font-size: 70px;
    margin-bottom: 0.2em;
    color: #143d69;
}

.step4 .checkb {
    justify-content: space-between;
}

.step4 .checkb > .box {
    min-width: 190px;
    max-width: 190px;
    min-height: 190px;
    max-height: 190px;
    overflow: hidden;
    justify-content: flex-start;
    margin: 10px 0;
}

.step4 .checkb > .box p {
    flex-grow: 1;
    text-align: center;
    line-height: 1.3em;
}

.step5 .checkb > .box {
    min-height: 190px;
    max-height: 190px;
    overflow: hidden;
    justify-content: flex-start;
}

.step5 .checkb > .box p {
    flex-grow: 1;
    text-align: center;
    line-height: 1.3em;
}

.step6 {
    background-color: #FFFFFF;
    width: auto;
}

.fields {
    align-items: flex-start;
    background-color: #FFFFFF;
    margin: 20px;
}

.fields label {
    color: #143d69;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5em;
}

.fields input {
    margin-bottom: 0.4em;
    border: 1px solid #143d69;
    height: 40px;
    max-width: 100%;
    overflow: hidden;
    text-indent: 0.2em;
    background-color: #ffffff;
    font-size: 18px;
    color: #143d69;
    transition: 1s;
}

.fields input.error {
    border: 1px solid #ff6c6c;
    background-color: #ff6c6c11;
}

.fields button {
    height: 46px;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    text-indent: 0.2em;
    background-color: #143d69;
    color: #ffffff;
    font-weight: 500;
    font-size: 20px;
    border: none;
    cursor: pointer;
    transition: 1s;
    border: 1px solid #143d69;
    margin-top: 1em;
}

.fields button:hover {
    background-color: #FFFFFF;
    color: #143d69;
}

.line3 {
    background-color: #FFFFFF;
    padding: 2em 0;
}

.line3 .content {
    flex-direction: row;
    justify-content: space-around;
}

.line3 .content > * {
    max-width: 48%;
}

.line3 h3 {
    text-align: left;
    padding-left: 2em;
    background-image: url('../images/ampoule.png');
    background-repeat: no-repeat;
    background-position: left center;
    line-height: 32px;
    font-size: 16px;
    font-weight: 600;
    color: #143d69;
}

.line3 .content div {
    align-items: flex-start;
}

.line3 .content > div p {
    font-weight: 400;
    font-size: 14px;
    color: #143d69;
    margin: 1em 0;
    line-height: 1.2em;
}

.line3 .icons {
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
}

.line3 .content > div .icons p {
    font-size: 16px;
    font-weight: 600;
    color: #143d69;
    line-height: 1.2em;
    text-align: center;
}

.line4 {
    background-color: #f3f7f3;
    padding: 2em 0;
    font-size: 0.8em;
}

.line4 .content {
    width: 90%;
}

.line4 p {
    line-height: 1.3em;
    text-align: center;
    margin: 0.5em;
}

.line4 a {
    color: #143d69;
}

.stepfin h2 {
    font-size: 32px;
    font-weight: 600;
    color: #143d69;
    margin: 1em 0;
    text-align: center;
}

.stepfin i {
    color: #143d69;
    font-size: 50px;
}

.stepfin p {
    font-size: 16px;
    font-weight: 400;
    color: #143d69;
    margin: 1em 0;
    line-height: 1.5em;
    text-align: center;
}


#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.8);
    color: #143d69;
}

#loader {
    display: none;
}

#pop {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
    align-self: center;
}

#pop {
    display: none;
}

#pop > div {
    height: 50px;
    width: 90%;
}

#pop > div a {
    font-size: 20px;
    color: #143d69;
    text-decoration: none;
    cursor: pointer;
}

#pop iframe {
    display: flex;
    flex-grow: 2;
    width: 90%;
}

.step0, .step2, .step3, .step4, .step5, .step6, .stepfin {
    display: none;
}

@media screen and (max-width: 900px) {
    .line3 .content {
        flex-direction: column;
    }
    .line3 .content > * {
        max-width: 450px;
        width: 90%;
    }
    .step4 .checkb {
        max-width: 396px;
    }
}

@media screen and (max-width: 500px) {
    .step h3 {
        font-size: 17px;
    }
    .checkb {
        width: 100%;
    }
    .checkb > .box {
        min-width: 128px;
    }
    .general h2 {
        font-size: 24px;
    }
    .general p {
        font-size: 15px;
    }
    .general {
        margin-bottom: 0.5em;
    }
    .step4 .checkb, .step5 .checkb {
        max-width: 306px;
        justify-content: space-between;
    }
    .step4 .checkb > .box, .step5 .checkb > .box {
        min-width: 145px;
        max-width: 145px;
        margin: 10px 0;
    }
    .step4 .checkb > .box p, .step5 .checkb > .box p {
        font-size: 17px;
    }

    .stepfin p br {
        display: none;
    }
}