/* Insert your custom override CSS in this file */

:root {
  --main-color : #3f74bb; /* Définition de la couleur principale */
  --btn-border-color : #797979; /* Définition de la couleurs des contours des boutons */
  --second-color: #ffffff; /* Définition de la seconde couleur */
  --map-maille-border-color: #000000;
}

.habitats {
  margin: 15px;
  text-align: justify;
  scroll-margin-top: 125px;
}

.contenu_p {
  margin: 15px;
  text-align: justify;
}

.contenu_carousel {
  margin-top: 15px;
  margin-bottom: 15px;
}

.panel-body {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

.panel-heading {
  border-top-right-radius: 4px;
  border-top-left-radius: 4px;
}


/* ------- Sur-couchage du fichier atlas.css ------- */
main {
  margin-top: 50px;
  margin-left: 50px;
}

/* --- TITLE WITH border bar --- */
.form-control:focus {
  border-color: var(--second-color);
  box-shadow: inset 0 0.5px 0.5px rgba(0, 0, 0, 0.075),
    0 0 5px var(--second-color);
}

/* --- Carto --- */
.btn.btn-default { /*Premier visuel des boutons*/
  border-color: var(--btn-border-color); /* Choix de la couleur des bordures*/
}

.btn.btn-default:hover {/* Visuel du bouton lors du passage de la souris */
  border-color: var(--btn-border-color);/* Choix de la couleur des bordures*/
}

/* --- Navbar --- */
.navbar {
  background-color: var(--main-color) !important; /* Choix de la couleur de fond */
}

.logoStructure { /* Logo en haut à gauche*/
  margin-left: -16px;
  margin-top: -20px;
  padding-right: 20px;
}

.titreAppli { /* Paramètres du titre sur la navbar */
  font-weight: 1000;
  font-family: Consolas;
  font-size: 22px;
}

/* --- Sidebar --- */
sidebar {
  background-color: #bebebe;
}

/* --- Loader spinner ---*/
.modal-content {
  width: 700px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

/* ------- Sur-couchage du fichier ficheEspece.css ------- */
#taxonIdentity h3 {
  margin-bottom: 3px;
}

/* --- Other Informations block --- */
div#otherInformations {
  padding-bottom: 10px;
}

/* --- Fenêtre modales des boutons communes et observateurs --- */
.fenmodal {
  background-color: rgba(0, 0, 0, 0.75);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10000;
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition: 0.2s;
}

.fenmodal.show {
  visibility: visible;
  opacity: 1;
}

.fenmodal-content {
  background-color: white;
  border-radius: 10px;
  max-width : 90vw;
  margin: auto;
  flex: 1;
  position:relative;
}

.fenmodal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.fenmodal-header {
  padding-left: 15px;
  padding-bottom: 10px;
  padding-top: 15px;
  border-bottom: 1px solid #ddd;
  background-color : #7979799a;
  text-align: justify;
  color: white;
}

.fenmodal-body {
  padding: 10px;
  max-height: 80vh;
  overflow-y: auto;
}

.fenmodal-footer {
  padding: 10px;
  border-top: 1px solid #ddd;
  text-align: right;
}

.btn {
  padding: 5px;
  background-color : var(--main-color);
  color: black;
  text-decoration : none;
}