/* Insert your custom override CSS in this file */
 
:root {

    --main-color: #0D5257;
    --second-color: #00AB84;
    --map-maille-border-color: "black";
    --map-maille-lastobs-border-color: #d60000;
  }
  
  /* Police de caractères */
  @font-face {
      font-display: auto;
      font-family: 'Roboto-Light';
      src: url('fonts/Roboto-Light.ttf') format('truetype');
  }
  @font-face {
      font-display: auto;
      font-family: 'Roboto-LightItalic';
      src: url('fonts/Roboto-LightItalic.ttf') format('truetype');
  }
  @font-face {
      font-display: auto;
      font-family: 'Roboto-Condensed';
      src: url('fonts/Roboto-Condensed.ttf') format('truetype');
  }
  @font-face {
      font-display: auto;
      font-family: 'Roboto-CondensedItalic';
      src: url('fonts/Roboto-CondensedItalic.ttf') format('truetype');
  }
  @font-face {
      font-display: auto;
      font-family: 'Roboto-Thin';
      src: url('fonts/Roboto-Thin.ttf') format('truetype');
  }
  @font-face {
      font-display: auto;
      font-family: 'Roboto-Regular';
      src: url('fonts/Roboto-Regular.ttf') format('truetype');
  }
  
  /* 
  body {
      padding-top: 70px;
  } */
  
  /*Barre de navigation supérieur */
  
  .navbar {
      height: 100px;
      border: none;
      border-color: var(--main-color);
      background-color: var(--main-color)!important;
      background-image: url(./images/bg-img-navbar.png);
      background-size: cover;
      background-position: 10% center;
  }
  /* .navbar-default {
      background-color: var(--main-color);
  } */
  @media screen and (max-width: 1023px) {
      .navbar-default {
          background-color: var(--main-color)!important;
      }
  }
  @media screen and (min-width: 1024px) {
      .navbar-default {
          background-image: url(./images/bg-img-navbar.png);
          background-size: cover;
          background-position: 10% center;
      }
  }
  
  .navbar-brand {
      margin-right: 5px;
      max-width: 78%;
  }
  
  .logoStructure {
      height: 75px;
      max-height: 75px;
      margin: auto 10px auto 0px;
      padding-right: 0px;
  }
    
  .logoApp {
  max-height: 80px;
  max-width: 70%;
  }
  
  .titreAppli {
      display: none;
  }
  .navbar .svg-inline--fa {
  color: white;
  }
  main {
  margin-top: 100px;
  }
  
  sidebar {
  background-color: #637371;
  padding-top: 100px;
  }
  
  sidebar .navbar-menu-icon {
  max-height: 50%;
  }


  #galery-icon {
  width: 1.5em !important;
  height: 1.5em !important;
  }
  
  .h1, h1 {
  font-size: 2rem;
  font-family: "Roboto-Condensed";
  }
  .h2, h2,
  .h3, h3 {
  font-family: "Roboto-Condensed"
  }
  .h4, h4 {
  font-size: 1.2rem;
  font-family: "Roboto-Condensed"
  }
  p {
  font-family: "Roboto-Light";
  }
  a {
  color: var(--main-color);
  text-decoration: none;
  }
  a:hover {
  color: var(--second-color);
  text-decoration: none;
  }
  
  
  .slidepartenaireindex img {
  max-height: 100px;
  }
  
  *Bloc statistiques*/
  #searchTaxonsStat, #searchCommunesStat {
      width: 240px;
  }
  
  .stat-thumbnail>h1 {
      margin-top: 20px;
  }
  
  #sidebar .navbar-menu-icon {
      max-height: 50%;
  }
  /* Bloc Map + List Homepage */
  
  #mapRow {
      max-height: 850px !important;
  }
  #map {
      height: 850px !important;
  }
  table#tableEspece {
      max-height: 850px !important;
  }
  #blocMap {
          width: 70%;
  }
  #listMap {
          width: 30%;
  }
  #lastObsList {
    max-height: 850px;
  }
  .inpnLink {
    margin-left: 15px !important;
  }
  
  .pictoImg {
    background-size: cover !important; 
    border-radius: 10%;
  }

  /* FICHE COMMUNE */
  .badge-primary {
  background-color: var(--main-color);
  }
  
  
  /* FICHE ESPECE */
  #inpnLink,
  #taxonomy {
  margin-top: 10px;
  }
  #inpnLink > a > img {
  margin-right: 10px;
  }
  .caractEspece {
  margin-bottom: 5px;
  }
  
  #blocInfos .tab-content,
  #taxonomy {
    font-family: 'Roboto-Light';
  }

  /* PAGE A PROPOS */
  #about-page {
  padding: 1.5rem;
  }
  /* Logos des partenaires */
  .partners-links a {
  text-decoration:none;
  color:var(--secondary)!important;
  }
  .partners-links a:hover {
  border-bottom: none;
  }
  .partners-links {
  text-align: center;
  min-height:100px;
  }
  .partners-links img {
  height:100px;
  margin: 5px 10px 5px 10px;
  }
  
  .modal {
  top: 100px;
  }
  
  #about-page {
  max-width: 90%;
  margin: auto;
  }
  
  /* Bannières "focus" + lien de revoi vers autres portails  */
  .focus-block {
  width: 48%;
  }
  .focus-block-img {
  height: 265px; 
  background-size: cover; 
  background-position: center center; 
  padding: 1.5rem; 
  border-radius: 1rem; 
  justify-content: space-between; 
  align-items: flex-start; 
  display: flex; 
  flex-direction: column;
  color: white !important;
  }
  .focus-block-banner {
  font-family: 'Roboto-Condensed';
  background-color: #00c7bacf; 
  padding: 4px 8px; 
  border-radius: 20px; 
  color: #005d5d; 
  font-size: 16px; 
  line-height: 21px;
  }
  
  /* Responsive position imagettes */
  @media screen and (max-width: 800px) {
  .focus-block {
      width: 100%;
      margin-bottom: 1em;
  }
  #about-page {
      max-width: 100%;
  }
  }

/* Modales (crédits, mentions légales...) */
  .modal {
    top: 100px;
  }
  .modal-content {
    border-radius: 0.8rem;
  }
  .modal-header {
    padding: 0.8rem 0.8rem;
    border-top-left-radius: calc(0.8rem - 1px);
    border-top-right-radius: calc(0.8rem - 1px);
  }
  .modal-header > h3 {
    margin-bottom: 0;
  }
  .modal-body {
    max-height: 70vh;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  /* Hide scrollbar for Chrome, Safari and Opera */
  .modal-body::-webkit-scrollbar {
    display: none;
  }
  @media (min-width: 576px) {
    .modal-dialog {
        max-width: 80%;
    }
  }
  