/* 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;
    color:#606060;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
body::-webkit-scrollbar {
    display: none;
  }
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;
}

.blue {
    color:#5aadff;
}

h2 {
    font-size: 28px;
    font-weight: 700;
    padding: 30px 0;
    text-align: center;
    line-height: 150%;
}

input[type="text"], input[type="email"], select {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border: 1px solid #5aadff;
    border-radius: 20px;
    background-color: #ffffff;
    line-height: 55px;
    outline: none;
    margin: 0 20px;
    min-width: 220px;
    width: 220px;
    font-size: 24px;
    color: #606060;
    text-indent: 10px;
    font-weight: 600;
    -webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
    text-align: center;
    text-align-last:center;
}
input[type="text"].full {
    min-width: 670px;
}

select {
    background-image: url('../images/bgselect.png');
    background-repeat: no-repeat;
    background-position: 96% center;
}

select::after {
    content:"V";
}

.line {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    width: 100%;
}

.linecontent {
    min-height: 450px;
}

.container {
    float: left;
    width: 90%;
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
}

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

#footer .container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#footer h3 {
    background-color: #5aadff;
    width: 100%;
    color: #FFFFFF;
    line-height: 150%;
    text-align: center;
    margin: 20px 0;
    padding: 5px 0;
    font-weight: 700;
}

#footer p {
    font-size: 14px;
    margin: 10px 0;
}

.liensUtiles a {
    font-size: 12px;
    color: #606060;
}

.radios {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.radios label {
    min-width: 260px;
    width: 260px;
    height: 110px;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    border: 1px solid #5aadff;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    line-height: 140%;
}

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

.radios label:hover, .radios input[type="radio"]:checked + label {
    border: 1px solid #5aadff;
    background-color: #5aadff;
    color:#FFFFFF;
}

.btn {
    display: inline-block;
    height: 45px;
    line-height: 45px;
    background-color: #5aadff;
    border-radius: 10px;
    color:#FFFFFF;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    padding: 0 20px;
}

.btn:hover {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.borderbot {
    border-bottom:1px solid #5aadff;
}

#header {
    padding: 30px 0;
}

.logo {
    text-align: center;
    display: flex;
    margin-bottom: 10px;
}

.logo img {
    align-self: center;
}

.headcontent {
    display: flex;
    flex-direction: row;
    flex-grow: 2;
    justify-content: center;
}

.head1, .head2, .head3 {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    line-height: 140%;
    padding: 20px 20px;
    display: flex;
}

.head2 {
    font-size: 40px;
    font-weight: 800;
}
.hidden {
    display: none !important;
}

.form, form, .thx {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    padding: 30px 0;
    max-width: 992px;
}

#nav > div {
    display: flex;
    padding: 0 20px;
    min-width: 148px;
    justify-content: center;
}

.heart {
   width: 60px;
   height: 54px;
}

.heart1 {
    background-image: url('../images/0pc.png');
}
.heart2 {
    background-image: url('../images/15pc.png');
}
.heart3 {
    background-image: url('../images/30pc.png');
}
.heart4 {
    background-image: url('../images/45pc.png');
}
.heart5 {
    background-image: url('../images/60pc.png');
}
.heart6 {
    background-image: url('../images/75pc.png');
}
.heart7 {
    background-image: url('../images/90pc.png');
}
.heart8 {
    background-image: url('../images/95pc.png');
}
.heart9 {
    background-image: url('../images/100pc.png');
}

.radios_soins {
    display: flex;
    flex-direction: row;
    width: 680px;
    justify-content: space-between;
    padding: 15px 0;
}

.radios_soins > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    border: 1px solid #5aadff;
    background-color: #ffffff;
    padding: 30px 0;
    width: 325px;
}

.radios_soins > div > div {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    margin-top: 15px;
    width: 100%;
}

.radios_soins p {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}

.radios_soins .infos {
    font-size: 16px;
    text-align: left;
    font-weight: 500;
    line-height: 140%;
}

.radios_soins div > div > div {
    height: 37px;
    width: 37px;
}

.radios_soins label {
    border: 2px solid #606060;
    border-radius: 37px;
    font-size: 24px;
    font-weight: 700;
    width: 100%;
    height: 100%;
    display: block;
    text-align: center;
    line-height: 140%;
    cursor:pointer;
}

.radios_soins label:hover, .radios_soins input[type="radio"]:checked + label {
    background-color: #5aadff;
    border: 2px solid #5aadff;
    color:#FFFFFF;
}

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

.classic {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 920px;
    justify-content:flex-start;
    padding: 15px 0;
}

.classiccheck {
    flex-direction: row;
    display: flex;
    max-width: 920px;
    width: 100%;
    padding: 15px 0;
}

.classiccheck label {
    padding-left: 10px;
}

.classic .infos {
    font-size: 16px;
    text-align: left;
    font-weight: 500;
    line-height: 140%;
}

.classic label {
    font-size: 24px;
    font-weight: 700;
    line-height: 55px;
}
.classic label:first-child {
    width: 250px;
    text-align: right;
}

.classic label.checkbox {
    font-size: 16px;
    font-weight: 500;
    line-height: 100%;
    margin-left: 20px;
    flex-basis: auto;
    min-height: auto;
    display: initial;
}

#address {
    display: flex;
    align-self: flex-end;
    width: 650px;
}

.autocomplete {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
    border: 1px solid #5aadff;
}

.autocomplete.hide {
    display: none !important;
}

.autocomplete > div {
    line-height: 150%;
    padding: 5px 10px;
    cursor: pointer;
}

.autocomplete > div:hover {
    background-color: #5aadff;
    color: #FFFFFF;
}

.error {
    border-color:red !important;
    box-shadow: 0 2px 4px rgba(255, 0, 0, 0.6) !important;
}

.form, form, .thx {
    width: 98%;
}
input[type="text"], input[type="email"], select {
    flex-basis: 55%;
    /*width: auto;*/
    min-width: auto;
    display: flex;
}
.classic {
    flex-direction: row;
}
.classic label, .classic label:first-child {
    width: auto;
    flex-basis: 30%;
    min-height: 55px;
    height: auto;
    justify-content: flex-end;
    align-items: center;
    display: flex;
    line-height: normal;

}
.datepicker, .departement {
    text-align: center;
}

input[type="text"].departement {
    flex-grow: 1;
    width: 40px;
    flex-basis: auto;
}

.departementcollectivite label {
    flex-grow: 10;
}

.iframe {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    flex-grow: 1;
}

.iframe iframe {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 1250px) {
    
    .radios {
        justify-content: center;
        flex-wrap: wrap;
    }
    .radios > div {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 760px) {
    .headcontent p {
        font-size: 17px;
        line-height: 120%;
    }
    h2 {
        font-size: 20px;
    }
    input[type="text"], input[type="email"], select {
        font-size: 17px;
    }
    .classic label {
        font-size: 19px;
    }
    .radios label {
        font-size: 19px;
        height: 80px;
    }
    .radios_soins {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0;
        width: 100%;
    }
    .radios_soins > div {
        margin: 20px 0;
        width: 100%;
        max-width: 480px;
        width: 90%;
    }
    input[type="text"].full {
        min-width: auto;
    }
    #address {
        width: 100%;
    }
}

@media screen and (max-width: 680px) {
    #header {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .head1, .head2, .head3 {
        padding: 0;
        justify-content: center;
    }
    .headcontent {
        flex-direction: column;
    }
    .radios {
        flex-direction: column;
    }
    .radios > div {
        margin: 20px 0;
    }

    #nav > div {
        min-width: auto;
        padding: 0;
        width: auto;
    }
    #nav .btn {
        margin: 0 2px;
    }
    
}

@media screen and (max-width: 600px) {
    input[type="text"], input[type="email"], select {
        width: auto;
    }
    .classic {
        flex-direction: column;
    }
    .classic label, .classic label:first-child {
        justify-content: center;
        flex-basis: auto;
        text-align: center;
        min-height: 35px;
    }
    input[type="text"].departement {
        flex-grow:inherit;
        width: auto;
        flex-basis: auto;
    }
}

.loader {
    background-image: url('../images/loader.gif');
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #FFFFFF;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: none;
}