/* Insert your custom override CSS in this file */

/* Police de caractères */
@font-face {
    font-display: auto;
    font-family: 'Roboto-Light';
    src: url('fonts/Roboto/Roboto-Light.ttf') format('truetype');
}
@font-face {
    font-display: auto;
    font-family: 'Roboto-Condensed';
    src: url('fonts/Roboto/Roboto-Condensed.ttf') format('truetype');
}
@font-face {
    font-family: 'Pompiere';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Pompiere Regular'), local('Pompiere-Regular'),
      url('fonts/Pompiere/Pompiere-Regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
      url('fonts/Pompiere/Pompiere-Regular.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
      url('fonts/Pompiere/Pompiere-Regular.eot') format('embedded-opentype'),
      url('fonts/Pompiere/Pompiere-Regular.ttf') format('truetype');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
} 
@font-face {
	font-family: 'poppins';
	font-style: normal;
	font-display: swap;
	src: local('Poppins Regular'), local('Poppins-Regular'),
	url('fonts/Poppins/Poppins-Regular.ttf') format('truetype');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --main-color: #8cc63f;
    --second-color: #ffbb00;
    --body-color: #e3e7e8;
    --sidebar-color: #858f76;
    --discover-color: #88e40f9a;
    --map-maille-border-color: #292929;
    --map-maille-lastobs-border-color: #ff8800;
}

body {
    color : #4e4752;
    font-family : 'poppins';
    font-size : 15px;
}

/* NAVBAR */
.navbar {
    border: none;
    background-color: var(--main-color) !important;
    margin-bottom: 0px;
    border-radius: 0px;
    border-bottom: 0px solid var(--second-color);
	box-shadow: 0 5px 5px rgba(0,0,0,.2);
    z-index: 1999;
}
@media screen and (max-width: 1023px) {
    .navbar {
        background-color: var(--main-color)!important;
    }
}

.navbar-default .navbar-brand, .titreAppli {
	font-family: 'Pompiere', cursive;
	font-size: 2.5rem;
    line-height: 30px;
    padding-right: 5px;
	font-weight: bold;
	color: #333;
	text-shadow: #fff 1px 0 5px;
}


.navbar-default .navbar-brand:hover {
    color: #333;
	text-shadow: #fff 1px 0 10px;
    background-color: transparent;
}

.form-group #searchTaxons, .form-group #searchCommunes {
	width: 230px;
	color: #333;
	font-size: initial;
}
.navbar-form {
	margin-top: 12px;
}

/* LOGO NAVBAR */
.navbar-brand-right {
	background-color: var(--main-color);
	border-radius: 0% 0% 25% 0%;
	box-shadow: 0px 5px 5px 0px rgba(0,0,0,.2);
    margin: 0px 16px 0 -17px;
    width: 90px;
    height: 130px;
}

.logoStructure {
    height: 100px;
    max-height: 100px;
    margin: 30px 5px 0 0;
}
/* Responsive */
@media screen and (max-width: 765px) {
    .logoStructure {
        margin-top: 0px;
    }
    .titreAppli,
    .navbar-light .navbar-toggler {
        margin-top: -40px;
        font-size: 1.5rem;
    }
    .navbar-brand-right {
        margin: -10px 16px 0 -17px;
        width: 90px;
        height: 100px;
    }
}
@media screen and (max-width: 450px) {
    .titreAppli {
        font-size: 1.5rem;
    }
    .navbar-light .navbar-toggler {
        margin-top: -40px !important;
    }
}
@media screen and (max-width: 380px) {
    .titreAppli {
        font-size: 1rem;
    }
    .navbar-light .navbar-toggler {
        margin-top: -40px !important;
    }
}
/* Picto loupe recherche */
.navbar .svg-inline--fa {
    color: white;
  }
  
/* SIDEBAR laterale */
#sideBar {
	background-color: var(--sidebar-color);
    padding-top: 100px;
}
#sidebar_menu li {
	border-bottom: 1px solid var(--body-color);
}
#sideBar .svg-inline--fa {
    font-size: x-large;
  }

/* Page d'accueil - Fix image background
   bloc "Les observations des agents ..."*/
.pictoImgSmall {
	background-size: cover;
}
.pictoImg {
	background-size: cover;
}
.textIntroduction h1 {
	font-size: 1.8rem;
}

/* PAGE PRESENTATION */
.carousel-inner > .carousel-item > img {
    width: 100%;
}
.presentation h2 {
    font-size: 2.5em;
    margin-bottom: 1.5rem;
}
.presentation h3 {
    font-size: 2em;
}
.presentation p {
    font-size: 1.2em;
}
.presentation .featurette-divider {
    margin: 40px 0;
}

/* VIGNETTES LIENS PAGES EXTERNES */
.presentation .thumbnail {
    height: 100%;
    width: 100%;
    margin: auto;
}
.presentation .thumbnail .thumbnail-img {
    margin-top: 1rem;
    padding: 1rem; 
    background-size: cover; 
    background-position: center center; 
    border-radius: 1rem; 
    justify-content: space-between; 
    align-items: flex-start; 
    display: flex; 
    flex-direction: column;
    color: white !important;
    width: 100%;
    height: 100%;
    min-height: 330px;
    transition: filter .5s ease;
    box-shadow: 0 .5rem .5rem rgba(0,0,0,.3);
}
.presentation .thumbnail:hover .thumbnail-img {
    filter: brightness(60%);
    -webkit-filter: brightness(60%);
    -moz-filter: brightness(60%);
    -o-filter: brightness(60%);
    -ms-filter: brightness(60%);
}
.presentation .thumbnail > img {
    max-width: 100%;
    border-radius: 10%;
}
.thumbnail-banner {
    font-family: 'Roboto-Condensed';
    text-transform: uppercase;
    background-color: var(--second-color); 
    opacity: 80%;
    padding: .2rem .5rem; 
    border-radius: 20px; 
    color: #003535; 
    font-size: 1.5rem; 
}
.presentation .thumbnail h4 {
    text-align: end;
}
.presentation .thumbnail .thumbnail-discover {
    display: none;
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    height: 30%;
    padding: 0px 5px;
    transform: translateY(100%);
    line-height: 20px;
}
.thumbnail-discover {
    text-align: center;
    color: #fff;
    font-style: italic;
    background-color: var(--color-discover);
    z-index: 1;
    transition: transform 0.5s ease;
}
.presentation .thumbnail:hover .thumbnail-discover {
    display: block;
    transform: translateY(-200%);
}
.thumbnail-discover-txt {
    margin: auto;
    font-size: 1.5rem;
}
.presentation .thumbnail a {
    text-decoration: none;
}
.presentation .thumbnail .thumbnail-discover a {
    color: #fff;
    height: 100%;
    justify-content: space-evenly;
    text-decoration: none;
}

/* MODALES */
@media (min-width: 576px) {
    .modal-dialog {
      max-width: 80%;
    }
}

.modal-title {
    width: 100%;
    margin-left: 1rem;
}

/* Modales (crédits, mentions légales...) */
.modal {
    top: 100px;
  }
  .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;
  }
  

  