/* Chart colors */
@property --dark-blue {
  syntax: "<color>";
  inherits: false;
  initial-value: #17213c;
}

@property --light-blue {
  syntax: "<color>";
  inherits: false;
  initial-value: #005b92;
}

@property --gold {
  syntax: "<color>";
  inherits: false;
  initial-value: #ffd200;
}

/* fonts & icons */

@font-face {
  font-family: "Ubuntu-regular";
  src: url("../fonts/UbuntuCondensed-Regular");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Ruddy-Regular";
  src: url("../fonts/Ruddy-Regular");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "icomoon";
  src: url("../fonts/icomoon.eot?-3latrw");
  src:
    url("../fonts/icomoon.eot?#iefix-3latrw") format("embedded-opentype"),
    url("../fonts/icomoon.woff?-3latrw") format("woff"),
    url("../fonts/icomoon.ttf?-3latrw") format("truetype"),
    url("../fonts/icomoon.svg?-3latrw#icomoon") format("svg");
  font-weight: normal;
  font-style: normal;
}

html {
  height: 100%;
}

body {
  background-color: var(--light-blue);
  color: white;
  font-family: "Ubuntu-regular", Helvetica, Arial;
  font-size: 0.9em;
  height: 100%;
  margin: 0px;
  font-size: 0.9em;
}

h1,
h2,
h3 {
  font-family: 'Ruddy-Regular';
}

#content {
  background-color: var(--dark-blue);
  margin-right: auto;
  margin-left: auto;
  max-width: 1024px;
  min-height: 100%;
  border-bottom: 0.8em solid var(--gold);
  clear: both;
}

/*Modification du focus, pour une couleur jaune*/
/*:focus {
	outline:#FFD800 solid medium;
}*/

input:focus {
  border: 2px solid var(--gold);
  box-shadow: 0 0 3px var(--gold);
  outline: medium none !important;
}

textarea:focus {
  border: 2px solid var(--gold);
  box-shadow: 0 0 3px var(--gold);
  outline: medium none !important;
}

a {
  color: white;
}

a:hover {
  color: var(--gold);
}

.lien_back {
  color: white;
  font-size: 1.1em;
  margin-left: 0.3em;
}

/*Limite la longueur pour les listes déroulante*/
li {
  max-width: 55em;
}

p {
  margin: 10px 0 10px 0;
}

/*Limite la largeur d'un paragraphe*/
p.txt {
  max-width: 55em;
  margin-top: 2em;
}

#header {
  width: 99%;
  padding-top: 2em;
  margin-bottom: 2em;
}

#h_logo {
  width: 40%;
  float: left;
  margin-left: 2em;
  margin-bottom: 0;
  clear: both;
}

#h_logo img {
  max-width: 100%;
  clear: both;
}

#h_logo p {
  font-size: 1.3em;
  font-weight: bold;
  margin-top: 0;
  margin-left: 0.2em;
}

#h_dates {
  float: right;
  width: 40%;
  margin-right: 2em;
  text-align: right;
}

#h_dates img {
  max-width: 100%;
}

#form {
  padding: 2em;
  clear: both;
}

h2 {
  margin-top: 2.5em;
  margin-bottom: 5px;
  /*padding-bottom:0.5em;
	border-bottom:1px solid white;*/
}

hr {
  color: var(--gold);
  font-size: 1em;
  border-color: var(--gold);
  background-color: var(--gold);
  margin-top: 0px;
  padding: 0px;
}

/* #5E8D57 */

h3 {
  margin-top: 2em;
}

.mandatory {
  color: var(--gold);
  padding-right: 0.2em;
  font-size: 1.2em;
  font-weight: bold;
}

.spe_mandatory {
  margin-top: 2em;
}

.nb_benevoles {
  display: inline;
  float: right;
  width: 20em;
  max-width: 95%;
  height: auto;
  margin: 0 0 2em 2em;
  padding: 0.3em;
  border: 1px solid #fff;
  background-color: var(--light-blue);
}

.nb_benevoles p {
  text-align: center;
}

.nb_benevoles p.nb {
  font-size: 1.3em;
  color: var(--gold);
  font-weight: bold;
}

/* RESET SIMPLE */
* {
  box-sizing: border-box;
}

fieldset {
  border: 1px solid #ccc;
  margin: 0 0 1rem;
  padding: 1rem;
}

legend {
  font-weight: bold;
  padding: 0 0.3rem;
}

/* LISTES */
fieldset ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ALIGNEMENT INPUT + LABEL */
fieldset li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

fieldset input[type="radio"],
fieldset input[type="checkbox"] {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

fieldset label {
  cursor: pointer;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
}

fieldset label i {
  font-size: .75rem;
}

/* LISTES LONGUES EN COLONNES */
fieldset ul.decal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.4rem 1rem;
}

/* INPUTS */
input[type="text"],
input[type="email"],
input[type="date"],
textarea,
select {
  width: 100%;
  max-width: 500px;
  padding: 0.4rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 0.95rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* STRUCTURE DU FORMULAIRE */
form>fieldset {
  margin-bottom: 1.5rem;
}

/* GROUPES DE CHAMPS */
.form-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

#form-commentary {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

blockquote {
  margin: 0;
}

blockquote p {
  padding: 1rem;
}

/* MOBILE */
@media (max-width: 700px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  fieldset ul.decal {
    grid-template-columns: 1fr;
  }

  #form-commentary {
    flex-direction: column;
  }

  .btn_final {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
  }

  blockquote p {
    text-align: center;
  }

  h1 {
    text-align: center;
  }
}

/*style du bouton du formulaire*/
input[type="submit"] {
  border: #fff 2px solid;
  border-radius: 30px;
  background-color: var(--gold);
  width: auto;
  height: auto;
  cursor: pointer;
  padding: 1em;
}

input[type="submit"]:hover {
  background-color: var(--dark-blue);
  color: var(--gold);
  border: var(--gold) 2px solid;
}

/*style du bouton reset du formulaire*/
input[type="reset"] {
  border: #fff 1px solid;
  background-color: var(--gold);
  width: auto;
  height: auto;
  margin-left: 0%;
  cursor: pointer;
  padding: 0.2em;
}

input[type="reset"]:hover {
  background-color: var(--dark-blue);
  color: var(--gold);
  border: var(--gold) 1px solid;
}

/*style modifié pour les boutons radio*/
input[type="radio"] {
  width: 1.2em;
  height: 1.2em;
  border: 0;
}

input[type="radio"]:checked+label {
  color: var(--gold);
}

input[type="radio"]:hover+label {
  color: var(--gold);
}

input[type="checkbox"] {
  width: 1.2em;
  height: 1.2em;
  margin-left: 1em;
}

/*style pour la mention cnil en bas du formulaire*/
.cnil {
  max-width: 100%;
  margin-top: 35px;
  padding: 0.3em;
  font-size: 0.85em;
  border-top: 1px dotted #fff;
}

.error {
  font-weight: bold;
  background-color: #f00;
  color: #fff;
}

.ok {
  font-weight: bold;
  background-color: #0a0;
  color: #fff;
}

/* DATE 1/12/2015*/

.rowwithpadding:first-child {
  position: relative;
}

.dates {
  position: relative;
  width: auto;
  top: 1em;
  right: 2em;
  float: right;
  font-family: "Ubuntu-regular", Helvetica, Arial;
}

.dates p {
  font-size: 1.3em;
  margin: 0 0 0 10px;
}

@media (max-width: 767px) {
  .dates p {
    font-size: 1.1em;
  }
}

.dates p:first-child {
  display: flex;
  -webkit-display: flex;
  -ms-display: flex;
  margin: 0;
}

.dates time {
  font-size: 450%;
  line-height: 1;
  color: var(--gold);
}

@media (max-width: 767px) {
  .dates time {
    font-size: 250%;
  }
}

.dates time:first-of-type::after {
  position: relative;
  top: -2rem;
  font:
    40% "Lato Light",
    Helvetica,
    Arial,
    sans-serif;
  content: "&";
  color: #fff;
  padding: 0 0.1em 0 0.2em;
}

@media (max-width: 767px) {
  .dates time:first-of-type::after {
    top: -1rem;
  }
}

.dates span {
  float: right;
  /*for IE*/
  padding: 0.1em 0 0 0.3em;
}

.dates span,
.dates strong {
  display: block;
  font:
    165%/1 "Lato Light",
    Helvetica,
    Arial,
    sans-serif;
  color: #fff;
}

.dates strong {
  font-size: 100%;
}

@media (max-width: 767px) {

  .dates span,
  .dates strong {
    display: block;
    font:
      110%/1 "Lato Light",
      Helvetica,
      Arial,
      sans-serif;
    color: #fff;
  }
}

.tick {
  border: 1px solid transparent;
  /*follows slide handle style for sizing purposes*/
  position: absolute;
  width: 1.2em;
  margin-left: -0.6em;
  text-align: center;
  left: 0;
  color: white;
}

.ui-slider-horizontal .ui-slider-range {
  background-color: var(--gold);
}

.commentaire-donnees-perso {
  width: 30%;
  float: right;
}

@media (max-width: 767px) {
  .commentaire-donnees-perso {
    width: 100%;
  }
}