@charset "utf-8";

/* CSS Document */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
  margin: 0;
  padding: 0;
  font-size: 14px;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
img {
  border: 0;
}
address,
caption,
cite,
code,
dfn,
em,
th,
var {
  font-style: normal;
  font-weight: normal;
}
li {
  list-style: none;
}
caption,
th {
  text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
q:before,
q:after {
  content: "";
}
abbr,
acronym {
  border: 0;
  font-variant: normal;
}
/* to preserve line-height and selector appearance */
sup {
  vertical-align: text-top;
}
sub {
  vertical-align: text-bottom;
}
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}
/*to enable resizing for IE*/
input,
textarea,
select {
  font-size: 100%;
}
/*because legend doesn't inherit in IE */
legend {
  color: #000;
}
a,
a:hover,
a:visited {
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
strong {
  font-weight: bold;
}
em {
  font-style: italic;
}
/*END OF YUI RESET*/

/* BASIC RESET */
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
body,
html,
p,
blockquote,
fieldset,
input {
  margin: 0;
  padding: 0;
}
.saut {
  clear: both;
}
/* HTML5 */
nav,
header,
footer,
section {
  display: block;
}

.dayroman {
  font-family: "DayRomanRegular";
}

/* html {
  background: url(../images/fond.jpg) #e4e5e5;
  color: #535353;
} */

body {
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  min-height: 720px;
}

.largeur {
  width: 1000px;
  margin: auto;
}

header#accueil {
  border-bottom: #414141 4px solid;
}

header#accueil #contact {
  float: right;
}

header#accueil #logo {
  float: left;
  padding-bottom: 25px;
}

header#accueil p {
  float: left;
  color: #183278;
  font-size: 20px;
  padding-left: 26px;
  padding-top: 40px;
  margin: 0px 0px 0px 20px;
  border-left: 1px dotted #f29100;
  height: 60px;
}

#connexion {
  width: 600px;
  margin: auto;
  margin-top: 30px;
}

#connexion table {
  width: 100%;
}
#connexion table th {
  width: 50%;
  color: #183278;
  font-size: 23px;
  font-family: "DayRomanRegular";
  padding-bottom: 15px;
}
#connexion form input {
  background: url(../images/input.jpg) repeat-x;
  color: #535353;
  width: 250px;
  border: none;
  margin: 0;
  padding: 0;
  padding: 10px;
  margin-bottom: 15px;
}
#connexion form input#checkbox {
  width: auto;
  padding: 0px 0px 0px 0px;
  margin: 0px 10px 0px 0px;
}
#connexion form input#button {
  width: auto;
  margin-top: 15px;
  background: #f29100;
  color: #fff;
  cursor: pointer;
  margin-right: 30px;
}

#connexion form input#button:hover {
  background: #535353;
}

#connexion a {
  color: #f29100;
}

* {
  box-sizing: border-box;
}
html {
  height: -webkit-fill-available;
  font-family: "Ubuntu", sans-serif;
}
body {
  min-height: 100vh;
  max-height: 100vh;
  position: relative;
}

.maitenance-page {
  display: flex;
  min-height: 100vh;
  font-family: "Ubuntu";
  flex-direction: column;
}
@media (min-width: 768px) {
  .maitenance-page {
    flex-direction: row;
  }
}
.logo-block {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  clip-path: polygon(0 0, 100% 0%, 100% 80%, 0% 100%);
  background-image: url("../images/img-bkg.jpg");
  background-position: center center;
  background-size: cover;
  padding: 10px 40px 70px;
}
@media (min-width: 768px) {
  .logo-block {
    padding: 0 40px;
    clip-path: polygon(0 0, 100% 0%, 85% 100%, 0% 100%);
    width: 45%;
  }
}
.logo {
  z-index: 2;
  max-width: 50%;
}
.version {
  position: absolute;
  bottom: 30px;
  color: #fff;
  z-index: 2;
  font-size: 12px;
}
@media (min-width: 768px) {
  .version {
    font-size: 18px;
  }
}
.version i {
  margin-right: 6px;
}
@media (min-width: 768px) {
  .version i {
    margin-right: 10px;
  }
}
@media (min-width: 768px) {
  .logo {
    max-width: 90%;
  }
}
.gradient-mask {
  background-image: linear-gradient(180deg, #027b48 0%, #afdf6e 100%);
  opacity: 0.82;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.maintenance-message {
  color: #157446;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 10% 0;
}
@media (min-width: 768px) {
  .maintenance-message {
    justify-content: center;
    padding: 0 10%;
  }
}
.maintenance-message a,
.maintenance-message strong {
  color: #0abb65;
  font-weight: bold;
}
.maintenance-message .title {
  font-size: 22px;
  font-weight: 500;
  color: #024e29;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .maintenance-message .title {
    font-size: 38px;
    margin-bottom: 60px;
  }
}
.maintenance-message .title .title-highlight {
  color: #20ad41;
  font-size: 30px;
}
@media (min-width: 768px) {
  .maintenance-message .title .title-highlight {
    font-size: 48px;
  }
}
.maintenance-message .title .subtitle {
  color: #024e29b3;
  font-size: 16px;
  font-weight: normal;
  margin-top: 10px;
}
@media (min-width: 768px) {
  .maintenance-message .title .subtitle {
    font-size: 22px;
    margin-top: 20px;
  }
}
.maitenance-text {
  font-size: 20px;
  line-height: 32px;
  color: rgba(#157446, 0.9);
}
.maintenance-message form {
  display: flex;
  flex-direction: column;
}

.field {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
  position: relative;
}
.field.checkbox, .field.radio {
  margin-top: 10px;
  margin-bottom: 10px;
}
.field label {
  order: -1;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #024e29;
}
@media (min-width: 768px) {
  .field label {
    font-size: 16px;
  }
}
.field input {
  border: 1px solid #6e9a85;
  border-radius: 10px;
  padding: 12px 14px 12px 46px;
}

.field.identifiant:before {
  content: "\f0e0";
  font-family: "Font Awesome 6 Pro";
  position: absolute;
  top: 38px;
  left: 12px;
  font-size: 22px;
  font-weight: 300;
  color: #20ad41;
}
.field.password:before {
  content: "\f30d";
  font-family: "Font Awesome 6 Pro";
  position: absolute;
  top: 38px;
  left: 12px;
  font-size: 22px;
  font-weight: 300;
  color: #20ad41;
}

.btn-primary {
  font-size: 18px;
  color: #fff;
  background-color: #20ad41;
  border-radius: 10px;
  padding: 12px;
  border: none;
}
.sub-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}
.sub-buttons a {
  padding: 14px;
}
.lien-politique {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 60px;
}
.lien-politique a {
  padding: 14px;
  color: #222;
}

/* Checkbox */
[type="checkbox"]:not(:checked),
[type="checkbox"]:checked {
  display: none;
}

/* on prépare le label */
[type="checkbox"]:not(:checked) + label,
[type="checkbox"]:checked + label {
  display: flex;
  align-items: center;
  position: relative; /* permet de positionner les pseudo-éléments */
  padding-left: 25px; /* fait un peu d'espace pour notre case à venir */
  cursor: pointer; /* affiche un curseur adapté */
  pointer-events: visible;
  font-weight: normal;
  font-size: 15px;
}
[type="checkbox"]:not(:checked) + label a,
[type="checkbox"]:not(:checked) + label .label-link,
[type="checkbox"]:checked + label a,
[type="checkbox"]:checked + label .label-link {
  margin-left: 4px;
  color: #20ad41;
}

[type="checkbox"]:not(:checked) + label:before,
[type="checkbox"]:checked + label:before {
  content: "";
  position: absolute;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border-color: #98a1b0;
  border-width: 1px;
  border-style: solid;
  background: #fff;
}
[type="checkbox"]:checked + label {
  color: #20ad41 !important;
}

/* Aspect général de la coche */
[type="checkbox"]:not(:checked) + label:after,
[type="checkbox"]:checked + label:after {
  content: "\f00c";
  font-family: "Font Awesome 6 Pro";
  position: absolute;
  top: -2px;
  left: 2px;
  font-size: 18px;
  font-weight: 900;
  color: #20ad41;
  transition: all 0.2s; /* on prévoit une animation */
}
/* Aspect si "pas cochée" */
[type="checkbox"]:not(:checked) + label:after {
  opacity: 0; /* coche invisible */
  transform: scale(0); /* mise à l'échelle à 0 */
}
/* Aspect si "cochée" */
[type="checkbox"]:checked + label:after {
  opacity: 1; /* coche opaque */
  transform: scale(1); /* mise à l'échelle 1:1 */
}

.field.radio{
  display: block;
  margin: 0 0 2rem 0;
}

.field.radio:first-child{
  display: block;
  margin: 2rem 0 2rem 0;
}

.field.code input{
  padding: 12px 14px;
}

.error-message{
  color: red;
  margin-bottom: 1rem;
}
.error-message ul {
  margin: 1rem 0;
  padding: 0 1rem;
}
.error-message li {
  list-style: disc;
}
.qrcode{
  margin: 15px 0 0 15px;
}
