@charset "utf-8";
/* CSS Document */

@font-face {
    font-family: 'Corbel';
    src: url('fonts/Corbel-BoldItalic.eot');
    src: url('fonts/Corbel-BoldItalic.eot?#iefix') format('embedded-opentype'),
url('fonts/Corbel-BoldItalic.woff2') format('woff2'),
url('fonts/Corbel-BoldItalic.woff') format('woff'),
url('fonts/Corbel-BoldItalic.ttf') format('truetype'),
url('fonts/Corbel-BoldItalic.svg#Corbel-BoldItalic') format('svg');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Corbel';
    src: url('fonts/Corbel-Italic.eot');
    src: url('fonts/Corbel-Italic.eot?#iefix') format('embedded-opentype'),
url('fonts/Corbel-Italic.woff2') format('woff2'),
url('fonts/Corbel-Italic.woff') format('woff'),
url('fonts/Corbel-Italic.ttf') format('truetype'),
url('fonts/Corbel-Italic.svg#Corbel-Italic') format('svg');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Corbel';
    src: url('fonts/Corbel-Bold.eot');
    src: url('fonts/Corbel-Bold.eot?#iefix') format('embedded-opentype'),
url('fonts/Corbel-Bold.woff2') format('woff2'),
url('fonts/Corbel-Bold.woff') format('woff'),
url('fonts/Corbel-Bold.ttf') format('truetype'),
url('fonts/Corbel-Bold.svg#Corbel-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Corbel';
    src: url('fonts/Corbel.eot');
    src: url('fonts/Corbel.eot?#iefix') format('embedded-opentype'),
url('fonts/Corbel.woff2') format('woff2'),
url('fonts/Corbel.woff') format('woff'),
url('fonts/Corbel.ttf') format('truetype'),
url('fonts/Corbel.svg#Corbel') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100vh;
    background: #659798;
}
body {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    line-height: 1.5em;
    color: #FFFFFF;
    font-weight: 400;
    width: 100vw;
    overflow-x: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
#container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 720px;
    min-height: 100vh;
    background:url("../img/background.png") center center no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-direction: column;
}
header, main, footer {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 2em;
    display: block;
}
header {
    padding: 2em 2em 0;
}
header img, header .divimg {
    width: 240px;
    position: relative;
    margin: 0 auto;
}
header .divimg::after {
    position: absolute;
    content: '\0025BC';
    top: 20%;
    font-size: 1em;
    right: -1em;
    color: #000;

}
label {
    font-family: 'Corbel', sans-serif;
    font-weight: bold;
    font-style: italic;
    text-align: left;
    display: inline-block;
}
.zoneform {
    margin: 0 auto 1.5em;
}
input[type="text"] {
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    line-height: 1.75em;
    color: #FFFFFF;
    background: rgba(255,255,255,0.23);
    padding: 0.25em 0.75em;
    border: 0;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    width: 300px;
    box-sizing: border-box;
    text-align: center;
}
#switcher {
    position: relative;
    background: rgba(255,255,255,0.23);
    padding: 0.25em 0em;
    border: 0;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    width: 300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
}
#switcher label {
    position: relative;
    font-family: 'Roboto', sans-serif;
    font-size: 0.8em;
    font-weight: 300;
    line-height: 2.18em; /*0.8*2.18=1.75*/
    font-style: normal;
    display: block;
    width: 48%;
    cursor: pointer;
    z-index: 1;
    text-align: center;
}
#switcher input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
}
#switcher::before {
    position: absolute;
    content: "";
    display: block;
    height: 80%;
    width: 44%;
    top: 10%;
    left: 3%;
    background-color: rgba(255,255,255,0.33);
    -webkit-border-radius: 6px;
    border-radius: 6px;
    z-index: 0;
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -ms-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}
#switcher.maintenance::before {
    left: 53%;
}

input[type="submit"] {
    font-family: 'Roboto', sans-serif;
    font-size: 0.8em;
    padding: 0.25em 2.5em;
    line-height: 2.28em;
    color: #02555D;
    border: 0;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    cursor: pointer;
    -webkit-box-shadow: 0 0 6px 0 rgba(0,0,0,0.25), inset 0 1px 6px 0 rgba(0,0,0,0.25);
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.25), inset 0 1px 6px rgba(0,0,0,0.25);
    background-color: #DEDC36;
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -ms-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}
input[type="submit"].maintenance {
    background-color: #58CECE;
}
input[type=submit][disabled=disabled],
input[type=submit]:disabled {
    cursor: not-allowed !important;
    background: rgba(255,255,255,0.23);
    -webkit-box-shadow: 0 0 6px 0 rgba(255,255,255,0.25), inset 0 -1px 2px 0 rgba(0,0,0,0.25);
    box-shadow: 0 0 6px 0 rgba(255,255,2550,0.25), inset 0 -1px 2px rgba(0,0,0,0.25);
}
footer {
    background-color: transparent;
    padding: 1em 2em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -ms-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}
footer.initiation {
     background-color: #DEDC36;
}
footer.maintenance {
    background-color: #58CECE;
}
#result {
    width: 100%;
    display: inline-block;
    padding-bottom: 0.5em;
}
#result p {
    font-family: 'Corbel', sans-serif;
    font-weight: bold;
    font-style: italic;
    text-align: left;
    display: inline-block;
    color: #3B7B7C;

}
#result p a {
    position: relative;
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    line-height: 1.75em;
    background: rgba(255,255,255,0.33);
    padding: 0.25em 0.75em;
    border: 0;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    width: 300px;
    box-sizing: border-box;
    font-weight: 300;
    font-style: normal;
    color: #3B7B7C;
    text-decoration: none;
}
#result p a::after {
    position: absolute;
    content: "";
    display: block;
    height: 1.75em;
    width: 1.2em;
    right: .75em;
    top: .25em;
    background: url("../img/downloadpicto.svg") center center no-repeat;
    background-size: contain;
}
#result p .daterdv {
    position: relative;
    display: block;
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    line-height: 1.75em;
    background: rgba(255,255,255,0.33);
    padding: 0.25em 1em;
    border: 0;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    box-sizing: border-box;
    font-weight: 300;
    font-style: normal;
    color: #3B7B7C;
    text-decoration: none;
    text-align: center;
}
#result p .daterdv::before {
    position: absolute;
    content: "";
    display: block;
    height: 1.8em;
    width: 1.5em;
    left: .75em;
    top: .2em;
    background: url("../img/pictocalendar.svg") center center no-repeat;
    background-size: contain;
}
/*Calendrier*/

.ui-widget-content {
    background-color: rgba(0,106,117,0.85) !important;
    border: none !important;
    -webkit-box-shadow: 0 0 6px 0 rgba(0,0,0,0.25), inset 0 1px 6px 0 rgba(0,0,0,0.25);
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.25), inset 0 1px 6px rgba(0,0,0,0.25);
}
.ui-widget {
    font-family: 'Roboto', sans-serif !important;
    font-size: .88em !important;
    line-height: 1.75em !important;
    color: #3B7B7C;
}
.ui-widget-header {
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    padding: 0.25em 2.5em;
    line-height: 1.75em;
    color: #02555D;
    border: 0;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 0 6px 0 rgba(0,0,0,0.25), inset 0 1px 6px 0 rgba(0,0,0,0.25);
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.25), inset 0 1px 6px rgba(0,0,0,0.25);
    background-color: #DEDC36;
    font-weight: 500;
}
.maintenance .ui-widget-header {
    background-color: #58CECE;
}
.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next {
    background-color: rgba(255,255,255,0.50);
    border: 0;
    top:3px;
    cursor: pointer;
}
.ui-datepicker .ui-datepicker-prev:hover, .ui-datepicker .ui-datepicker-next:hover {
    background-color: rgba(255,255,255,0.60);
    border: 0;
    top:3px;
}
.ui-datepicker .ui-datepicker-prev::before, .ui-datepicker .ui-datepicker-next::before {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    content: "<";
    top: 0;
    left: 0;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    color: #02555D;
    font-weight: 400;
}
.ui-datepicker .ui-datepicker-next::before {
    content: ">";
}
.ui-datepicker th {
    font-family: 'Corbel', sans-serif;
    font-weight: bold;
    font-style: italic;
    color: #fff;
    padding: .2em .3em;
}
.ui-state-default, .ui-widget-content .ui-state-default {
    color: #fff;
    background: rgba(255,255,255,0.23);
    -webkit-border-radius: 4px; 
    border-radius: 4px;
    border-color: transparent;
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight {
    background: rgba(255,255,255,0.50);
}
.ui-datepicker td a {
    display: block;
    padding: .1em.5em;
}
.ui-state-default, .ui-widget-content .ui-state-default {
    -webkit-transition: all 500ms ease-out;
    -moz-transition: all 500ms ease-out;
    -ms-transition: all 500ms ease-out;
    -o-transition: all 500ms ease-out;
    transition: all 500ms ease-out;
}
.ui-state-default:hover, .ui-widget-content .ui-state-default:hover {
    background-color: #DEDC36;;
    color: #02555D;
}
.maintenance .ui-state-default:hover, .maintenance .ui-widget-content .ui-state-default:hover {
    background-color: #58CECE;
    color: #02555D;
}
.reflegal {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    font-size: 0.65em;
    line-height: 1.4em;
    padding: 1em 2em;
    box-sizing: border-box;
}
.blacktriangle {
    position: relative;
    width: 90%;
    padding-top: 1em;
    padding-left: 1.5em;
    box-sizing: border-box;
}
.blacktriangle a {
    color: #fff;
}
.blacktriangle::before {
    position: absolute;
    content: '\0025BC';
    top: .75em;
    font-size: 1.25em;
    left: 0;
    color: #000;
}
.help {
    cursor: help;
    display: inline-block;
    margin-left: .3em;
    height: .7em; 
}
.popup {
    position: absolute;
    width: 94%;
    height: 94%;
    top: 3%;
    left: 3%;
    z-index: 99;
    background-color: #fff;
    border-radius: 20px;
    display: none;
}
.popup.open {
    display: block;
}
.popup::before {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0%;
    left: 0%;
    content: "";
    display: block;
    background: rgba(255,255,255,1);
    z-index: -1;
    border-radius: 20px;
}
.popup::after {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    content: "";
    display: block;
    background: rgba(0,0,0,0.6);
    z-index: -2;
}
.popup img {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.closebutton {
    position: absolute;
    right: -1%;
    top: -1%;
    z-index: 999;
    display: block;
    width: 2em;
    line-height: 2em;
    text-align: center;
    background-color: #00A3B7;
    border:solid 2px #FFF;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 900;
}
.popup .content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 1.5em 3em;
    overflow-y: scroll;
    color: #002A2F;
    box-sizing: border-box;
}
.popup .content a {
    padding: 0.5em 2em;
    line-height: 2.28em;
    color: #02555D;
    border: 0;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    cursor: pointer;
    -webkit-box-shadow: 0 0 6px 0 rgba(0,0,0,0.25), inset 0 1px 6px 0 rgba(0,0,0,0.25);
    box-shadow: 0 0 6px 0 rgba(0,0,0,0.25), inset 0 1px 6px rgba(0,0,0,0.25);
    background-color: #DEDC36;
    text-decoration: none;
}

.infobulle {
    position: absolute;
    display: none;
    background-color: #fff;
    text-align: left;
    font-size: 0.8em;
    color: #002A2F;
    width: 80%;
    max-width: 310px;
    padding: 1em;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    line-height: 1.4em;
    z-index: 999;
}
.infobulle::before {
    position: absolute;
    content: "";
    width: 1.5em;
    height: 1.5em;
    display: block;
    background: #fff;
    right: 1.5em;
    top: -.75em;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.closeinfo {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    font-size: 1em;
    width: 2em;
    line-height: 2em;
    text-align: center;
    cursor: pointer;
}

@media only screen and (min-height: 1023px){ /*980*/
    #container {
        width: 100%;
        max-width: 810px;
        min-height: 100vh;
    }
}
@media only screen and (max-width: 479px){ /*980*/
    body {
        font-size: 16px;
    }
    input[type="text"], #switcher {
        width: 250px;
    }
    header img {
      width: 200px;
    }
}
