/* CSS pour le site Place au Velo Loire Divatte - SRO */

/* bleu fonce : #001a6a */
/* bleu clair : #00a7d9 */

:root {
  --bleuFonce: #001a6a;
  --bleuClair: #00a7d9;
  --vertClair: #a3bd01;
}

/* font perso pour les titres (titre du site + h1, h2...  (fontesk.com) */
@font-face {
  font-family: PAVLDFontTitle;
  src: url('fonts/Balgio.woff2');
}
/* font perso pour le reste (fontesk.com) */
@font-face {
  font-family: PAVLDFont;
  src: url('fonts/CossetteTexte-Regular.woff2');
}

* {
  box-sizing: border-box;
  font-family: PAVLDFont, Arial, Helvetica, sans-serif;
  /*font-family: Ubuntu, Arial, Helvetica, sans-serif;*/
}

h1, h2, h3, h4 {
  font-family: PAVLDFontTitle;
  margin-left: 10px;
}

html, body {
  width: 100%;
  /*max-width: 1400px;*/
  /*height: 100%;*/
  padding: 0;
  margin: 0;
}

.centered-wrapper {
  position: relative;
  text-align: center;
}
.centered-wrapper:before {
  content: "";
  position: relative;
  display: inline-block;
  width: 0;
  height: 100%;
  vertical-align: middle;
}
.centered-content {
  display: inline-block;
  vertical-align: middle;
}

.leaflet-container {
  max-width: 100%;
  max-height: 100%;
}

body {
  margin: 0;
}

/* Style the header */
.header {
  /*background-color: #f1f1ee;*/
  background-image: linear-gradient(to bottom, #f1f1ee, white);
  padding: 2px;
  margin: 0;
  text-align: center;
}

/* style du bandeau affichant un message important */
.important {
  background-image: linear-gradient(to bottom, #d50837, #d51837);
  padding: 2px;
  margin: 0;
}
.important h1 {
  vertical-align: middle;
  padding: 4px;
  margin: 0;
  font-size: 20px;
  text-align: center;
}

/* style pour centrer une image  */
img.centree {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
p.legende {
  /*text-align: center;*/
  margin-left: 10px;
  font-size: 12px;
  color: gray;
}

img.logoSite {
  height: 150px;
}

.naviguation {
  width: 100%;
  background-color: var(--bleuClair);
}

/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-image: linear-gradient(to bottom, #A4BD01, #aabbaa);
  position: relative;
  margin-left: auto;
  margin-right: auto;
  width: 70%;
}
.topnav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--bleuClair);
}
.topnav li {
  float: left;
}
.topnav li a {
  font-family: PAVLDFontTitle, Arial, Helvetica, sans-serif;
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}
.topnav li a:hover:not(.active) {
  background-color: var(--vertClair);
}
.topnav a.actif {
  background-color: var(--bleuFonce);
}

/* Style the content */
.content {
  background-color: #ddd;
  padding: 5px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.clAdhesion { /* on ne peut pas l'appeler "adhesion", mot réservé ?? */
  /*background-color: #0088c7;*/ /* bleu clair */
  /*background-color: white;*/
  background-image: linear-gradient(to bottom, #f1f1ee, white);
  color: black;
  padding: 10px;
}
.calendrierMarquage {
  background-image: linear-gradient(to bottom, #00a7d9, white);
  color: black;
  padding: 10px;
  margin: 0;
}
.agenda {
  /*background-color: #A4BD01;*/
  background-color: white;
  background-image: url("logo_fond.png");  /* le fond de l'image est transparent */
  /*padding: 0px;*/
  /*padding-top: 5px;
  padding-bottom: 5px;*/
}
.agendaDate {
  display: inline;
}
.actu {
  /*background-color: #A4BD01;
  background-image: url("logo_fond.png");*/
  padding: 10px;
  /*padding-top: 5px;
  padding-bottom: 5px;*/
}
.clActuSeparateur {
  /*background-color: #A4BD01;*/
  background-color: white;
  background-image: url("logo_fond.png");  /* le fond de l'image est transparent */
  height: 60px;
}

.association {
  background-color: #001a6a; /* bleu foncÃ© */
  color: white;
  color: #001a6a;
  padding: 2px;
}

ul.presentation {
  list-style-type: square;
  margin: 5px;
  padding: 0;
}
li.presentation {
  margin: 10px;
  padding: 0px;
}


/* affichage mode colonne */
.column25 {
  float: left;
  width: 25%;
  padding: 15px;
}
.column33 {
  float: left;
  width: 33.33%;
  padding: 15px;
  /*height: 100%;
  height: auto;*/
}
.column65 {
  float: left;
  width: 65%;
  padding: 15px;
}
.column35 {
  float: left;
  width: 35%;
  padding: 15px;
}
.column80 {
  float: left;
  width: 80%;
  padding: 15px;
}
.column20 {
  float: left;
  width: 20%;
  padding: 3px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

img.mini
{
  max-width: 330px;
  /*height: auto;*/
  max-height: 330px;
  /*height: 330px;*/
  width: auto;
  display: block;
  padding-bottom: 5px;
  /*border-radius: 10px;*/
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
  margin: auto;  /* permet de centrer l'image */
}

img.lien
{
  max-height: 400px;
  display: inline;
  padding-bottom: 5px;
  border: 1px solid #ddd;
  border-radius: 25px;
  padding: 5px;
  margin: auto;  /* permet de centrer l'image */
}

/* on redefinit plus bas pour l'affichage telephone */
img.actu
{
  /*height: 400px;*/
  max-height: 400px;
  display: inline;
  padding-bottom: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 5px;
  margin: auto;  /* permet de centrer l'image */
}

.bouton {
  background-color: #A4BD01;
  border: none;
  border-radius: 6px;
  color: black;
  padding: 8px 16px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  transition-duration: 0.4s;
}
.bouton:hover {
  background-color: #c2df04; /* Green */
  color: black;
}

div.vide {
  height: 5px;
}

div.bloc {
	/*width: 100%;*/
	font-size: 1.0em;
	color: #16375a;
	/*background-color: #e2e2e2;*/
  background-image: linear-gradient(to right, #ddd, #fff);
	margin: 5px;
	padding: 10px;
	border: 2px solid #4B5943;
	border-radius: 12px;
}

div.explications {
	/*width: 100%;*/
	font-size: 1.0em;
	color: #16375a;
	/*background-color: #fdf5b5;*/
  background-image: linear-gradient(to right, #fdf5b5, #fffbdb);
	margin: 5px;
	padding: 10px;
	border: 2px solid #4B5943;
	border-radius: 12px;
}


/* Style the footer */
.footer {
  background-image: linear-gradient(to bottom, #f1f1ee, white);
  /*background-color: #f1f1f1;*/
  padding: 1px;
  font-size: 0.8em;
  text-align: center;
  color: #16375a;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media (max-width: 600px) {
  img.logoSite {
    height: 80px;
  }
  .content {
    width: 100%
  }
  .topnav {
    width: 100%
  }
  .column33 {
    width: 100%;
  }
  .column80 {
    width: 100%;
  }
  .column20 {
    width: 100%;
  }
  img.actu
  {
    width: 350px;
    height: auto;
    display: inline;
    padding-bottom: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    margin: auto;  /* permet de centrer l'image */
  }
  img.lien
  {
    width: 350px;
    display: inline;
    padding-bottom: 5px;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 5px;
    margin: auto;  /* permet de centrer l'image */
  }
}
