body {
  /* FOND D'ECRAN */
  background-image: url(../img/fond_mdb_1920x1080px_05.jpg);
  background-position: center top;
  background-repeat: no-repeat;
  margin: 0;

  /* GABARIT DE LA PAGE */
  width: 55%;
  margin-left: 25%;

  /* ALIGNEMENT DES ELEMENTS DE LA PAGE */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  /* MISE EN FORME TEXTE */
  font-family: 'Nunito', Verdana, Arial, sans-serif;
  color: white;
  font-size: 15px;
  background-color: #9C9C9C;
}
/* -----------  PV  ----------- */
.menu_pv {
  margin: 0;
}

.menu_pv_co {
  margin: 0;
  padding: 3px;
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 7px;
}

.absence_photo {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: flex-start;
}

.champ_connexion {
  background-color: rgba(0, 0, 0, 0.1);
  border: 0;
}

.bouton_connexion {
  background-color: rgba(0, 0, 0, 0.1);
  border: 1px solid white;
  border-radius: 7px;
  color: white;
  letter-spacing: 1px;
  cursor: pointer;
}

.bouton_connexion:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

.label_add {
  text-align: right;
}

.add_needed {
  color: red;
  font-weight: bold;
}
/* -----------  /PV ----------- */

/* -----------  HEADER  ----------- */
header {
  display: flex;
  align-items: center;
}

#header_icones {
  margin-left: 100px;
}

#header_icones:hover {
  margin-left: 100px;
}

#nav_icones {
  display: none;
}

.icone_suivante {
  margin-left: 20px;
}
/* -----------  /HEADER  ----------- */

/* -----------  NAV  ----------- */
nav {
  display: flex;
  align-items: center;
  margin-top: 20px;
  margin-bottom: 7px;
}

nav ul {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}

nav li {
  /* MARGES : TOP LEFT BOTTOM RIGHT */
  padding: 5px 25px 5px 25px;
  background-color: rgba(0, 0, 0, 0.25);
}

nav li:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

nav li.special {
  /* MARGES : TOP LEFT BOTTOM RIGHT */
  padding: 5px 25px 5px 25px;
  background-color: rgba(255, 255, 255, 0.50);
  color: black;
}

nav li.special:hover {
  background-color: rgba(255, 255, 255, 0.75);
}

nav a {
  text-decoration: none;
  font-family: Verdana, Arial, sans-serif;
  font-size: 13px;
  color: white;
  letter-spacing: 2px;
}

nav a:hover {
  color: white;
}
/* -----------  /NAV  ----------- */

/* -----------  MAIN  ----------- */
main {
  background-color: rgba(0, 0, 0, 0.5);
  width: 80%;
  border-radius: 10px;
  padding: 10px;
}

main section {
  display: flex;
  flex-direction: column;
}

main section p {
  margin-top: 0px;
  margin-bottom: 7px;
}

#mdb {
  background-color: rgba(0, 0, 0, 0);
  width: 100%;
  margin-top: 25px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
}

.bloc {
  margin: 30px;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  width: 40%;
  height: auto;
}

.bloc:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

#index {
  background-color: rgba(0, 0, 0, 0.4);
  width: 100%;
  padding: 20px;
  border-radius: 15px;
  font-family: 'Nunito', Verdana, Arial, sans-serif;
  font-size: 15px;
  color: white;
}

h1 {
  font-family: 'Alumni Sans', cursive;
  font-weight: normal;
  font-size: 35px;
  padding: 0px;
  margin: 0px;
}

h2 {
  font-family: Verdana, sans-serif;
  font-weight: normal;
  font-variant: small-caps;
  font-size: 13px;
  letter-spacing: 1px;
  margin: 0;
  border-left: 2px solid white;
  border-color: #FF8B17;
  padding-left: 9px;
}

h3 {
  font-family: 'Alumni Sans', cursive;
  font-weight: normal;
  font-size: 45px;
}

h4 {
  font-family: 'Alumni Sans', cursive;
  font-weight: normal;
  font-size: 50px;
  padding: 0px;
  margin: 0px;
}

strong {
  font-weight: normal;
  border-radius: 5px;
  color: #FF8B17;
}

em {
  font-style: italic;
  font-weight: normal;
  font-size: 15px;
}

a {
  color: #7AD1FF;
  text-decoration: none;
}

a:hover {
  color: white;
}

.cadre_info {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.4);
  font-style: italic;
  border: 1px solid #FF8B17;
  border-radius: 10px;
  padding: 6px;
}

.p_center {
  text-align: center;
}

.lien_img_mq {
  display: none;
}

.image_reduite {
  max-width: 768px;
  max-height: 768px;
  border: 1px solid #7AD1FF;
  padding: 2px;
  margin: 1px;
}

.photo_titre_theme {
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-style: italic;
}

.photo_theme {
  max-width: 384px;
  max-height: 384px;
  padding: 2px;
  border-radius: 15px;
}

.pictogramme_div {
  display: flex;
  justify-content: left;
  align-items: center;
  margin-bottom: 10px;
}

.pictogramme_span {
  margin-right: 15px;
}
/* -----------  /MAIN  ----------- */

/* -----------  LISTING SPECIES  ----------- */
.colonne_entete {
  background-color: rgba(255, 255, 255, 0.2);
}

.table_listing {
  border-collapse: collapse;
}

.table_listing th {
}

.table_listing tr:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.table_listing td {
  padding: 2px;
}
/* -----------  /LISTING SPECIES  ----------- */

/* -----------  LISTING PHOTOS  ----------- */

.listing_photos {
  display: flex;
  flex-wrap: wrap;
  padding: 15px;
}

.listing_photos a {
  margin-bottom: 25px;
  margin-right: 10px;
}

/* -----------  /LISTING PHOTOS  ----------- */

/* -----------  SPECY  ----------- */
main#specy {
  background-color: rgba(0, 0, 0, 0.2);
  width: 100%;
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

main#sortie {
  background-color: rgba(0, 0, 0, 0.2);
  width: 100%;
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
}

.section_photos {
  width: 100%;
  padding: 5px;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.affichage_photo {
  max-width: 192px;
  max-height: 128px;
  border: 1px solid white;
  border-radius: 10px;
  padding: 2px;
  margin: 1px;
}

.affichage_photo_page {
  max-width: 240px;
  max-height: 160px;
  border: 1px solid white;
  border-radius: 10px;
  padding: 2px;
  margin: 1px;
}

.section_rangs {
  width: 40%;
  padding: 5px;
  border: 1px solid white;
  border-radius: 15px;
  background-color: rgba(0, 0, 0, 0.3);
}

.section_rangs table {
  margin-left: auto;
  margin-right: auto;
}

.section_rangs td {
  padding-right: 10px;
}

.td_separation {
  border-top: 1px solid white;
}

.classification_majeure {
  font-weight: bold;
  color: #41A62D;
}

.section_infos {
  width: 56%;
  padding: 5px;
}
.section_infos table {
  border-collapse: collapse;
}

.ligne_surlignee {
  background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0));
}

.section_infos td {
  padding: 8px;
  padding-right: 12px;
}
/* -----------  /SPECY  ----------- */

/* -----------  FOOTER  ----------- */
.icone_suivante_footer {
  margin-left: 30px;
}
/* -----------  /FOOTER  ----------- */

/* -----------  TABLEAU ROCHES & VENT  ----------- */
table#table_main {
  border-collapse: collapse;
}

table#table_main td {
  border: 1px solid white;
  vertical-align: middle;
  text-align: center;
  padding: 6px;
}

table#table_main th {
  border: 2px solid #FF8B17;
  vertical-align: middle;
  text-align: center;
  padding: 6px;
}

table#table_main caption {
  text-align: left;
  font-style: italic;
  color: #FF8B17;
}
/* -----------  /TABLEAU ROCHES & VENT  ----------- */

/* -----------  TABLEAU NU  ----------- */
table#table_nu {
  border: none;
}

table#table_nu td {
  border: none;
  vertical-align: top;
  padding: 6px;
}

table#table_nu caption {
  text-align: left;
  color: #FF8B17;
}
/* -----------  /TABLEAU NU  ----------- */

/* -----------  MEDIA QUERIES  ----------- */
/* ECRAN MOYEN */
@media screen and (max-width: 1600px) {
  /* GABARIT DE LA PAGE ECRAN MOYEN */
  body {
    width: 70%;
    margin-left: 15%;
  }
}

/* PETIT ECRAN */
@media screen and (max-width: 1280px) {
  /* GABARIT DE LA PAGE PETIT ECRAN ET TRES PETIT ECRAN */
  body {
    width: 96%;
    margin-left: 2%;
  }

  /* LES BLOCS DES THEMES OCCUPENT LA LARGEUR DE L'ECRAN */
  .bloc {
    width: 60%;
    margin-top: 0px;
    height: auto;
  }

  /* RETOUR A LA LIGNE DES PHOTOS */
  .section_photos {
    flex-wrap: wrap;
  }
}

/* TRES PETIT ECRAN */
@media screen and (max-width: 800px) {

  /* REDUCTION IMAGE BANNIERE */
  .banniere_mq {
    max-width: 300px;
    max-height: 300px;
  }

  /* MENU VERTICAL */
  nav ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    margin: 10px;
    padding: 0;
  }

  /* ICONES DEPLACES PRES DU MENU */
  #header_icones {
    display: none;
  }
  #nav_icones {
    display: flex;
  }

  /* RETIRER AFFICHAGE DE CONNEXION */
  .menu_pv {
    display: none;
  }

  /* LES BLOCS DES THEMES OCCUPENT LA LARGEUR DE L'ECRAN */
  .bloc {
    width: 80%;
    margin-top: 0px;
    height: auto;
  }

  /* LES BLOCS OCCUPENT LA LARGEUR DE L'ECRAN */
  .section_rangs {
    width: 100%;
  }
  .section_infos {
    width: 100%;
  }

  /* AFFICHER UN LIEN TEXTE PLUTÔT QU'UNE IMAGE OU UNE PHOTO DANS LES THEMES */
  .p_center {
    display: none;
  }
  .photo_titre_theme {
    display: none;
  }
  .lien_img_mq {
    display: block;
  }

  /* SUPPRIMER LE LIEN D'AFFICHAGE EN PHOTO */
  .to_hide {
    visibility: hidden;
  }

  /* SUPPRIMER LES COLONNES HORS ESPECE */
  .colonne_entete {
    display: none;
  }
  .colonne_entete_sorties {
    display: none;
  }
  .colonne_mq {
    display: none;
  }
  .colonne_mq_centre {
    display: none;
  }
}

/* SMARTPHONE */
@media all and (max-device-width: 480px) {

  /* GABARIT DE LA PAGE SMARTPHONE + SUPPRESSION FOND D'ECRAN */
  body {
    background-image: none;
  }

  /* REDUCTION IMAGE BANNIERE */
  .banniere_mq {
    max-width: 300px;
    max-height: 300px;
  }

  /* MENU VERTICAL */
  nav ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    margin: 10px;
    padding: 0;
  }

  /* LES BLOCS DES THEMES OCCUPENT LA LARGEUR DE L'ECRAN */
  .bloc {
    width: 80%;
    margin-top: 0px;
    height: auto;
  }

  /* ICONES DEPLACES PRES DU MENU */
  #header_icones {
    display: none;
  }
  #nav_icones {
    display: flex;
  }

  /* RETIRER AFFICHAGE DE CONNEXION */
  .menu_pv {
    display: none;
  }

  /* AFFICHER UN LIEN TEXTE PLUTÔT QU'UNE IMAGE DANS LES THEMES */
  .p_center {
    display: none;
  }
  .lien_img_mq {
    display: block;
  }

  /* SUPPRIMER LES COLONNES HORS ESPECE */
  .colonne_entete {
    display: none;
  }
  .colonne_entete_sorties {
    display: none;
  }
  .colonne_mq {
    display: none;
  }
  .colonne_mq_centre {
    display: none;
  }
}
/* -----------  /MEDIA QUERIES  ----------- */
