/* # Menu OL standard */
/*** FONTS ***/
@import url(https://fonts.googleapis.com/css?family=Montserrat:900|Raleway:400,400i,700,700i);

@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins/Poppins-Regular.ttf");
}

/*** VARIABLES ***/
/* Colors */
$black: #1d1f20;
$blue: #83e4e2;
$green: #a2ed56;
$yellow: #fddc32;
$white: #fafafa;



/*** EXTEND ***/
/* box-shadow */
%boxshadow {
    box-shadow: 0.25rem 0.25rem 0.6rem rgba(0, 0, 0, 0.05), 0 0.5rem 1.125rem rgba(75, 0, 0, 0.05);
}

/*** STYLE ***/
/* BODY */

html {
    font-size: 0.625em;
}

.page {
    margin: auto;
}

body {
    color: #0d1a31;
    line-height: 2.5rem;
    background-color: #ffffff;
    max-width: 100%;
    margin: 0 auto;
    font-family: "Poppins", sans-serif;
    font-size: 1.6rem;
    line-height: 2.5rem;
}

.header {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: space-between;
    flex-wrap: wrap;
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
}

.header a {
    display: flex;
    flex-direction: rox;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    padding: 1rem;

    border-radius: 50%;
    transition: all 0.3s ease-in-out;

    margin-left: 1rem;
}

/*Navbar*/

.logo {
    position: absolute;
    border-radius: 50%;
    transition: all 0.3s ease-in-out;
    height: 55px;
    left: 20px;
    top: 100px;
}

.middle-header {
    width: 100%;
}

.nav-top {
    background-color: #0d1a31;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    padding: 0;
}

.nav-info {
    display: none;
}

.nav-info a {
    background-color: #ffffff;
    color: #0d1a31;
    font-weight: 400;
    padding: 2rem;
}


.right-header {
    position: absolute;
    display: flex;
    flex-direction: row;   
    justify-content:center;
    align-items: center;
    right: 2rem;
    top: 100px;
    font-size:medium;
    font-weight: 900;
    border-radius: 1rem;
    background-color: #ea4708;
    font-size: large;
    padding: 0.5rem;
}


.right-header img {
    height: 2rem;
    padding: 1rem;
    border-radius: 50%;
}

.right-header a {
    display: none;
}

.right-header:hover {
    flex: 1;
    display: flex;
    background-color: #9400FF;  
    transition: 0.4s;
}





.corps {
    display: flex;
    flex-direction: column;
    justify-items: center;
    align-items: center;
}

.hero {
    height: 150px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    justify-items: center;
    color: #ffffff;
    text-shadow: 0 0 10px #0d1a31;
    font-family: "Poppins", sans-serif;
    font-size: 1rem;
    line-height: 1.5rem;
    padding-top: 3rem;
}

.breadcrumb-block {
    background-color:#0d1a31;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
}

nav.breadcrumb-container {
    font-size: 1.8rem;
    line-height: 1.8rem;
    margin-left: 23px;
    color: #fff;
}

.breadcrumb {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

nav.breadcrumb-container li a {
    margin-right: 1rem;
    padding: 1rem;
    text-decoration: none;
    color: khaki;
}

nav.breadcrumb-container li::before {
    display: inline-block;
    content: "|";
    font-family: 'icomoon';
    font-size: 0.7rem;
    font-style: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    vertical-align: middle;
    margin-right: 1rem;
    margin-top: -2px;
    font-weight: 600;
}

.content-accueil {
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.video {
    display: flex;
    justify-content: center;

}

.full-width {
    width: 100%;
    height: auto;
}

.block_form_alerte {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    background-color: #0d1a31;
    color: #f5f5f5;
    padding-left: 5em;
    padding-right: 5em;
}

.block_form_alerte h1 {
    margin-top: 3rem;
    padding: 2rem;
    text-align: center;
    line-height: 3.5rem;
    background-color: darkcyan;
    border-radius: 2rem;

}

.form_alerte label {
    padding: 2rem;
}

.form_alerte input {
    font-size: 2rem;
    text-align: center;
    height: 4rem;
    width: 100%;
    border-radius: 6rem;
    color: white;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    background-color: #ffffff0e;
    padding: 10px;
    border-style: none;
}

.form_alerte textarea {
    font-style: italic;
    font-size: 1.2rem;
    width: 100%;
    border-radius: 6rem;
    color: white;
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
    background-color: #ffffff0e;
    padding: 10px;
    border-style: none;
}

* Définition des éléments de la carte OpenStreetMap de la partie content */ #mapid {
    width: 50rem;
    height: 50rem;
    align-self: center;
    margin-top: 100px;
    margin-bottom: 2rem;
}

.leaflet-popup-close-button {
    display: none;
}

.myDivIcon {
    text-align: center;
    /* Horizontally center the text (icon) */
    line-height: 20px;
    /* Vertically center the text (icon) */
}

/* Icone de la carte OpenStreetMap*/

.icon-map {
    height: 2rem;
}

/* Partie contact changement de couleur H4 H5*/

.logo-sn {
    height: 2rem;
    width: 2rem;
    padding: 2rem;
}

/* Person Block */

.person_card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    margin-top: 3rem;
    box-shadow: 0 8px 16px -8px rgba(0, 0, 0, 0.4);
}

.person_left_side {
    flex: 2;
}

.person_photo {
    width: 100%;
    height: 100%;

    border-top-left-radius: 2rem;
    border-top-right-radius: 2rem;
}

.person_badge {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    margin-top: -4rem;
    margin-bottom: 2rem;
}

.badge {
    width: 8rem;
    height: 8rem;
    border-radius: 50%;

}

.person_right_side {
    flex: 6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.top_right_card {
    font-weight: bold;
    font-size: xx-large;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 1rem;
    margin-top: 0.5rem;  
    text-align: center;  
    line-height: 3rem;
}

.person_surname {
    font-weight: 800;
}

.person_biography {  
    padding: 0 3rem;
}

/* Blog Index Page */

/* Définition CSS de la partie Section pour page Blog Index Page */

.content{ 
    display:grid;
    grid-template-columns: 5fr 1fr;
    column-gap: 2rem;
  }
  
  
  /* Définition CSS de la partie Card pour page Blog Index Page */
  
  .band {
    width: 100%;
    /* max-width: 1240px; */
    grid-column: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    grid-gap: 20px;
    padding: 2rem;
    
  }

  .item-1:first-of-type {
  grid-column: 1/ span 2;
  }
  .item-1:first-of-type h1 {
    font-size: 30px;
  }
  
  
  @media only screen and (min-width: 850px) {
    .band {
      grid-template-columns: 1fr 1fr 1fr 1fr;
    }
  }
  
  /* card */
  
  .card {
    min-height: 100%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
    position: relative;
    top: 0;
    transition: all .1s ease-in;
    background-color:#232832;
  }
  
  .card-line {
    min-height: 100%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
    position: relative;
    top: 0;
    transition: all .1s ease-in;
    background-color:#232832;
  }
  
  .card:hover {
    top: -2px;
    box-shadow: 0 4px 5px rgba(0,0,0,0.2);
  }
  
  .card article {
    padding: 20px;
    display: flex;
    flex: 1;
    justify-content: space-between;
    flex-direction: column;
    
  }
  .card .thumb {
    padding-bottom: 60%;
    background-size: cover;
    background-position: center center;
  }
  
  .card p { 
    flex: 1; /* make p grow to fill available space*/
    line-height: 1.4;
  }
  
  .card span {
    font-size: 12px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 2em 0 0 0;
  }
  
  /*  Tag */


.badge-col { 
    grid-column: 2;
    display:flex;
    flex-direction: column;
    justify-content: start;
    list-style: none;
    padding: 2rem;
  }
  
  .badge-row { 
    grid-column: 2;
    display:list-item;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
    padding: 2rem;
  }
  
  .badge-link {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 0.5rem; 
    padding: 1rem 0.5rem;
    background-color: rgba(74, 92, 78, 0.91);
    margin-bottom: 1rem;
  }
  
  .badge-icone {
    align-content: center;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.089);
    margin-right: 3px;
    padding: 0 8px;
    float: right;
    border-radius: 50%;
  }

@media (min-width: 1000px) {
    body {

        width: 1366px;
    }

    .header {
        display: grid;
        grid-template-columns: 4fr 1fr;
        flex-direction: row;
    }

    .header a {
        margin-top: 1rem;
    }

    .logo {    
        height: 230px;    
        left: 5%;
        top: 20px;
    }
    .nav-top {        
        padding-left: 230px;
    }
    .nav-info {
        margin-left: 230px;
        display: flex;
        justify-content: space-around;
        
    }

    .right-header {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        right: 0;
        top:0;
        border-radius: 0;

    }

    .right-header a {
        display:flex;
    }

    .right-header img {
        height: 48px;
    }

    .hero {
        height: 200px;
    }

    .hero-content {
        font-size: 2rem;
        line-height: 3rem;
    }

    .person_card {
        flex-direction: row;
        border-top-left-radius: 2rem;
        border-bottom-left-radius: 2rem;
    }

    .person_photo {
        width: 100%;
        height: 100%;
        border-top-left-radius: 2rem;
        border-bottom-left-radius: 2rem;
        border-top-right-radius: 0rem;
    }
    .person_badge {
        flex-direction: column;
        justify-content: space-evenly;
        margin-top: 1rem;
        margin-left: -4rem;
        margin-bottom: 2rem;
    }
}