/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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;
    font-family: 'Open Sans', sans-serif;
}
/* HTML5 display-role reset for older browsers */
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;
}

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

.line {
    justify-content: center;
    align-items: center;
}

.container {
    max-width: 1090px;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
}

h1 {
    color: #2f7e9a;
    font-size: 30px;
    font-weight: 700;
    font-family: 'Rubik', sans-serif;
}

h2 {
    color: #2f7e9a;
    font-size: 26px;
    font-weight: 700;
    font-family: 'Rubik', sans-serif;
}

h3 {
    color: #2f7e9a;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Rubik', sans-serif;
}

h1, h2 {
    padding-bottom: 20px;
    font-weight: 150%;
}

p {
    color: #000000;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
}

strong {
    font-weight: 700;
}

a {
    color: #666666;
}

label {
    color: #666666;
    line-height: 150%;
}

li {
    color: #666666;
    font-size: 16px;
    font-weight: 400;
    margin-top: 20px;
}

p span {
    font-weight: 700;
}

.btn {
    background-color: #a92425;
    border-radius: 20px;
    height: 40px;
    display: flex;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    max-width: 320px;
    width: 90%;
    color: #FFFFFF;
    text-transform: uppercase;
    font-family: 'Rubik', sans-serif;
    border: 1px solid #a92425;
    cursor: pointer;
}

.btn:hover {
    background-color: #FFFFFF;
    border: 1px solid #a92425;
    color: #a92425;
}

input[type="text"], input[type="email"] {
    outline: none;
    border-radius: 24px;
    border: 1px solid #00466c;
    font-size: 14px;
    font-weight: 400;
    height: 32px;
    padding: 5px 0;
    text-indent: 15px;
    width: 100%;
    max-width: 340px;
    -webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
    margin: 0.5em 0;
    color: #00466c;
}

select {
    width: 100%;
    max-width: 251px;
    outline: none;
    border-radius: 24px;
    border: 1px solid #979797;
    font-size: 18px;
    font-weight: 500;
    -webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
    height: 33px;
    background-color: #FFFFFF;
    text-indent: 15px;
    background-image: url('../images/chevron.png');
    background-position: 90% center;
    background-repeat: no-repeat;
    background-size: 17px;
    cursor: pointer;
}

textarea {
    width: 100%;
    max-width: 90%;
    height: 80px;
}

p.comment {
    border-left: 3px solid #a92425;
    padding-left: 20px;
}

/* LINE 1 */
.line1 {
    background-image: url('../images/bg.png');
    background-position: center;
    background-repeat: no-repeat;
    align-items: center;
    background-size: auto 100%, 100%;
}

.line1 .container {
    min-height: 606px;
    height: auto;
}

.line1 .left {
    max-width: 415px;
    width: 100%;
    height: 556px;
    justify-content: space-between;
}

.line1 img {
    align-self: flex-start;
    margin-top: 20px;
    
}

.line1 a {
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #a92425;
    text-decoration: none;
}

.line1 a:hover {
    color: #da3232;
    text-decoration: underline;
}

.line1 .txt1 {
    border-radius: 20px;
    border: 1px solid #00466c;
}

.line1 .txt1 p {
    margin: 1em;
    color: #00466c;
}

#form {
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
    border-radius: 40px;
    width: 472px;
    background-color: #ffffff;
    padding: 20px 0;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px 0;
    margin: 50px 0;
    position: relative;
    border: 1px solid #00466c;
}

#form > div {
    width: 100%;
    justify-content: space-evenly;
    align-items: center;
    padding: 0 0;
}

#form .fields {
    margin: 0 1em;
}

#form h2 {
    background-image: none;
    padding: 0 0;
    text-align: center;
    color: #a92425;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    margin-bottom: 1em;
}

#form .btn {
    width: 100%;
    max-width: 340px;
    height: 42px;
}

#form .mentions a {
    font-size: 14px;
    font-weight: 400;
}

#form #q3, #form #q7 {
    text-align: center;
    text-indent: 0;
}

/* LINE 3 */
.line3 {
    background-color: #def3ff;
    min-height: 485px;
    height: auto;
}
.line3 .container {
    min-height: 485px;
    height: auto;
    padding: 0 0;
    align-items: center;
}

.line3 .left {
    width: 50%;
    min-height: 465px;
    height: 390px;
    justify-content: space-around;
}

.line3 h2 {
    font-size: 20px;
}

.line3 p {
    font-size: 16px;
    line-height: normal;
}

/* LINE 4 */
.line4 {
    background-color: #FFFFFF;
    min-height: 485px;
    height: auto;
}
.line4 .container {
    min-height: 485px;
    height: auto;
    padding: 0 0;
    align-items: center;
}

.line4 .left {
    width: 50%;
    min-height: 465px;
    height: 390px;
    justify-content: space-around;
}

.line4 h2 {
    font-size: 20px;
}

.line4 p {
    font-size: 16px;
    line-height: normal;
}

.line4 p.red {
    color: #a92425;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 20px;
}

/* LINE 8 */
.line9 {
    border-top: 1px solid #E7E7E7;
    padding: 60px 0;
    background-color: #FFFFFF;
}
.line9 .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.line9 a {
    color: #000000;
}


@media screen and (max-width: 1125px) {
    .line1 {
        background-image: url('../images/bgtrans.png');
        
    }
    .line1 .container, .line3 .container, .line4 .container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: auto;
        min-height: auto;
    }
    .line1 .left, .line3 .left, .line4 .left {
        width: 90%;
        max-width: none;
        align-items: center;
        height: auto;
        min-height: auto;
    }
    .line1 img {
        align-self: center;
    }
    .line1 h1, .line1 p {
        text-align: center;
    }
    .line h1 {
        background-position: bottom center;
    }

    .line1 .txt1 {
        margin: 1em 0;
    }

    .line3 .container {
        flex-direction: column-reverse;
    }
    .line4 .container {
        flex-direction: column;
    }

    .line .left img, .line .right img {
        max-width: 90%;
        align-self: center;
    }

    .line3 h2, .line4 h2 {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    
    .line3 .container,
    .line4 .container {
        padding: 20px 0;
    }

    #form {
        max-width: 90%;
    }

    .line1 img {
        margin: 20px 0;
    }

    .line p {
        margin: 20px 0;
        width: 100%;
    }

    .line1 .txt1 p {
        width: auto;
    }

}

@media screen and (max-width: 430px) {
    input[type="text"], input[type="email"] {
        width: 90%;
    }
    #form .btn {
        width: 90%;
    }
}

.errorf {
    display: none;
    margin: 5px 0 !important;
    color: #b42739 !important;
    font-size: 16px !important;
    font-weight: 700;
}

.error .errorf {
    display: initial;
}

input[type="text"].error, input[type="email"].error {
    border-color: #b42739;
    border-width: 2px;
}

#etp5 {
    width: 90%;
    text-align: center;
}

.remodal-wrapper {
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    flex-direction: row;
}

p.mentions {
    margin-top: 10px !important;
    font-size: 14px !important;
    text-align: center;
}

.remodal h2 {
    background-position: bottom center;
    margin: 10px 0;
}

.remodal h3 {
    margin: 10px 0;
}

.remodal p {
    font-size: 14px;
    text-align: left;
}

.remodal a {
    color:#666666;
}

#loader {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: url('../images/loader.gif'), rgba(255, 255, 255, 0.8);
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 40px;
}