@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

:root {
  --dark: rgb(20, 0, 37);
  --text: black;
  --text-dark: rgba(255, 255, 255, 0.7);
  --primary: rgb(26, 255, 0);
  --primary-light: #e7fe90;
  --primary-dark: rgb(141, 180, 0);
  --light: #e8eaf6;
  --secondary: #DC0000;
  --secondary-light: #ffdbdb;
  --secondary-dark: #4A148C;
  --informative: #e1e9ed;
  --background: #FBFBFB;
  --nav-link: #000000;
  --danger: #E41B2F;
  --danger-light: #feedf0;
  --success: #c6ff00;
  --success-light: rgb(231, 254, 144);
}

html {
  transition: all 0.5;
}

body {
  font-family: "Outfit", sans-serif;
  background-color: var(--background);
  color: var(--text);
}

/* LAYOUT */

#wrapper {
  display: flex;
}

#header {
  padding: 1rem 0;
  margin-bottom: 10px;
}

.main {
  width: 100%;
}

.content {
  /* margin-top: 3%; */
  margin-left: 19%;
  padding: 0 20px
    /* margin-right: 16%; */
    /* margin-top : -150px; */
}




/* NAV SIDE BAR */

/* BURGER */

#burger {
  width: 25px;
  height: 25px;
  position: relative;
  cursor: pointer;
  margin-right: 20px;
  display: none;
}

.burger-nav,
.burger-nav:before,
.burger-nav:after {
  width: 100%;
  position: absolute;
  left: 0;
  height: 3px;
  background-color: #000;

}

.burger-nav {
  top: 50%;
  transform: translateY(-50%);

}

.burger-nav:before {
  content: '';
  top: -10px;
}

.burger-nav:after {
  content: '';
  top: 10px;
}

/* END BURGER */

#navSidebar {
  overflow-x: hidden;
  top: 0;
  bottom: 0;
  z-index: 1000;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  /* background-color: var(--nav); */
  background: white;
  width: 20%;
  min-height: 100%;
  /* box-shadow: 0 5px 25px 0.3px .1454px 10.1454px 18.5999px rgba(24, 19, 58, 0.06); */
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.nav-sidebar-container {
  padding: 30px 10px;
}

.nav-sidebar div {
  /* text-transform: uppercase; */
  padding: 4px 5px;
  cursor: pointer;
}


li.nav-section {
  color: var(--nav-link);
  font-size: 16px;
  letter-spacing: 1;
  margin-bottom: 10px;
  font-weight: 500;
}

.title-nav {
  color: var(--nav-link);
  transition: color 0.3s;
  font-size: 18px;
  margin-bottom: 5px;
}

.nav-sidebar li a {
  color: var(--nav-link);
  transition: color 0.3s;
  font-size: 16px;
}

.nav-sidebar a:hover {
  /* color: var(--secondary-light); */
}

.navbar-brand {
  display: initial;
}

.nav-sidebar .active a {
  /* color: var(--primary); */
  font-weight: 700 !important;
}

.nav-sidebar li.active {
  font-weight: 700 !important;
  background-color: var(--secondary-light);
  padding:4px 15px;
  border-radius: 100px;
}

.nav-sidebar li.active a{
  color : var(--secondary)!important;

}


.nav-sidebar li.active img{
 filter: brightness(0) saturate(100%) invert(9%) sepia(99%) saturate(6900%) hue-rotate(3deg) brightness(93%) contrast(110%);

}

.nav-sidebar .active img {
  filter: invert(30%);
}

.invert {
  filter: invert(100%);
}

/* .nav-sidebar li.active img {
  filter: brightness(0) saturate(100%) invert(67%) sepia(89%) saturate(626%) hue-rotate(25deg) brightness(114%) contrast(112%);
} */

.collapse-nav {
  padding: 5px 5px 5px 8px !important;
}

.collapse-nav li {
  margin-bottom: 10px;
  padding-left: 5px
}

.collapse-nav a {
  font-size: 16px;
}

.logo-mobile {
  display: none;
}

.nav-mobile {
  display: none;
  width: 100%;
  position: fixed;
  bottom: 0;
  background: var(--nav);
  border-top: 1px solid #ccc;
  z-index: 1000;
}


.nav-sidebar ul {
  list-style: none;
  padding: 0;
}

/* ul li a {
  color: var(--secondary);
} */


/* END LAYOUT */

/* TEXTS */

a {
  text-decoration: unset;
  color: var(--dark);
}

a:hover {
  text-decoration: none;
  color: var(--secondary)
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
}

.heading-article {
  font-family: "IBM Plex Serif", serif;
  font-size: 54px;
}

h1 {
  color: var(--text);
  font-size: 55px;
}


h6 {
  font-size: 1.2rem !important;
}



.p-heading-xs {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.p-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.p-heading-xl {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
}

.p-heading-xxl {
  font-size: 42px;
  font-weight: 700;
  color: var(--text);
}

.p-heading-xxxl {
  font-size: 55px;
  font-weight: 700;
  color: var(--text);
}


.p-heading-xxxxl {
  font-size: 70px;
  font-weight: 700;
  color: var(--text);
}

/* CARD */

.card {
  border: none;
  box-shadow: 2px 2px 20px 4px #EEEEEE;
}



/* END CARD */

hr {
  border-top: 1px solid #CCC;
}

/* BTN */

.btn-primary{
  background-color: var(--secondary);
  border: none;
}


/* BTN */



/* ARTICLES */

article p,
article ul li {
  font-size: 20px;
}


article li {
  margin-bottom: 10px;
}

article h2,
article h3,
article h4 {
  margin-top: 50px;
  margin-bottom: 25px
}

article blockquote {
  padding: 20px;
  background-color: var(--secondary-light);
  color: var(--secondary);
  border-radius: 10px;
}

article h2 {
  font-size: 42px;
}

article h3 {
  color: var(--text);
  text-decoration: underline;
}

article table {
  /* border: 1px solid rgba(255, 255, 255, .8) !important; */
  margin: 20px 0 40px;
}

article table th,
article table td {
  border: 1px solid rgba(74, 20, 140, 1) !important;
  padding: 15px;
  font-size: 20px;
  background-color: rgba(255, 255, 255, .05)
}

article a {
  text-decoration: underline !important;
}


article strong {
}


/* ACTION MENU MORE */

.action-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  z-index: 999;
  padding: 10px;
  width: 150px;
  max-width: 200px;
}

.action-menu ul {
  list-style: none;
  padding: 0;
  margin-bottom: 0;

}

.action-menu ul li {
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom: 1px solid #DDD;
  color: var(--dark) !important;
}

.action-menu ul li a {
  color: var(--dark) !important;
}

.action-menu ul li:last-child {
  border-bottom: none;

}


.rounded{
  border-radius: 100px !important;
}

.photo-profil{
  width: 60px;
}

/* end ACTION MENU MORE */


/*------------RESPONSIVE---------*/

/*----- EXTRA SMALL ---*/

@media screen and (max-width: 575px) {

  h1,
  .p-heading-xxxl {
    font-size: 28px;
  }

  .p-heading-xxl {
    font-size: 24px;
  }

  .card-header {
    display: block;
  }
  .photo-profil{
  width: 40px;
}
}

/*-----  SMALL ---*/

@media screen and (min-width: 576px) and (max-width: 767px) {
  .card-header>input {
    display: none;
  }

  h1 {
    font-size: 30px;
  }

}

/*------- MEDIUM --------*/

@media screen and (min-width: 768px) and (max-width: 991px) {
  .card-header>input {
    display: none;
  }


}

/*------- Large --------*/

@media screen and (min-width: 992px) and (max-width: 1199px) {
  .content {
    margin-left: 20%;
  }

  .slot-info-container {
    width: 80%;
  }

  #profilBar,
  #navSidebar {
    width: 40% !important;
  }

  h1 {
    font-size: 42px;
  }
}

/* Large and +  */

@media screen and (min-width: 992px) {
  .navbar {
    display: none;
  }

  .emission-content {
    width: 68%;
  }

  .emission-date {
    width: 16%;
  }

  .emission-full {
    width: 16%;
  }

  .emission-not-full {
    width: 16%;
  }

}

/*------- XLarge --------*/

@media screen and (min-width: 1200px) and (max-width: 1599px) {
  .content {
    margin-left: 22%;
  }

  .title-nav,
  .nav-sidebar a {
    font-size: 16px;
  }

  #profilBar {
    width: 25%;
  }

  h1 {
    font-size: 48px;
  }

}

/* XXL Specific */

@media screen and (min-width: 1600px) and (max-width: 1999px) {
  #profilBar {
    width: 20%;
  }

  .content {
    margin-left: 24%;
  }

  #navSidebar {
    width: 20%;
  }




}

/* Large+++ and +  */

@media screen and (min-width: 1600px) {}



/* VUE tablettes + mobiles */

@media screen and (max-width: 991px) {
  /* NAV BURGER */

  /* On vire le menu latérial sur petits écrans */
  /* .nav-side {
    display: none;
  } */


  /* END NAV BURGER */

  .profil-img {
    width: 50px;
  }

  .card-stat p {
    font-size: 12px;
  }

  .card-stat .stat {
    font-size: 30px;
  }

  .slot-info-container {
    width: 100%;
  }

  .emission-content,
  .emission-date,
  .emission-full,
  .emission-not-full {
    width: 100%;
  }

  #search {
    width: 100%;
  }

  #profilBar,
  #navSidebar {
    width: 100% !important;
  }

}

/* END VUE tablettes + mobiles */

/* VUE XS, SM, MD, LG et XL */

@media screen and (max-width: 1199px) {

  #closeButtonProfil,
  #closeButtonNav {
    display: block;
    cursor: pointer;
  }

  #navSidebar {
    display: none;
    transform: translateX(-100%);
    opacity: 0;
    transition: transform .5s;
    position: fixed;
    left: 0;
    z-index: 1000 !important;
    overflow-x: auto !important;
  }


  .navside-active {

    transform: translateX(0%) !important;
    opacity: 1 !important;
    display: block !important;


  }


  .logo-mobile {
    display: block;
  }



  #profilBar {
    display: none;
    transform: translateX(100%);
    opacity: 0;
    transition: transform .5s;
    position: absolute;
    right: 0;
    /* width: 100% !important; */
    padding: 15px !important;
    z-index: 1000 !important;
    background-color: var(--dark) !important;
    overflow-x: auto !important;
  }

  #burger {
    display: block;
  }


  .profilBar-active {

    transform: translateX(0%) !important;
    opacity: 1 !important;
    display: block !important;


  }


  #profilButton {
    cursor: pointer;
    display: block;
  }


  .main {
    padding-left: 0;
    width: 100%;
  }

  .content {
    margin-left: 0;
  }


}

/* XXXL */

@media screen and (min-width: 2000px) {
  #navSidebar {
    width: 16%;
  }

}

@media screen and (min-width: 1200px) {

  #profilButton {
    display: none;
  }

  #closeButtonProfil,
  #closeButtonNav {
    display: none;
  }
}