@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');

:root {
    --primary: #2962FF;
    --primary-dark: #1A237E;
    --background: #f2faff;
}

body {
    background: var(--background);
    font-family: "Google Sans", sans-serif;
}

a {
  text-decoration: unset;
  color: var(--white);
}

a:hover {
  text-decoration: none;
  color: var(--primary)
}

#wrapper {
  display: flex;
}

#header {
  /* background: var(--primary-dark); */
  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-sidebar ul {
  list-style: none;
  padding: 0;
}




/* 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 */


h1,
h2,
h3 {
    color: var(--primary-dark);
    font-weight: 700;
}

.card{
    border : none;
    box-shadow: 0px 0px 15px 5px #f7fcff;
}

.btn-primary{
    background-color : var(--primary) !important;
}

label{
    color : var(--primary);
    margin-bottom: 5px;
}



/*------------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;
  }
}

/*-----  SMALL ---*/

@media screen and (min-width: 576px) and (max-width: 767px) {


  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%;
  }

  #profilBar,
  #navSidebar {
    width: 40% !important;
  }

  h1 {
    font-size: 42px;
  }
}

/* Large and +  */

@media screen and (min-width: 992px) {
  .navbar {
    display: none;
  }

}

/*------- XLarge --------*/

@media screen and (min-width: 1200px) and (max-width: 1599px) {
  .content {
    /* margin-left: 26%; */
  }

  .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;
  }

  #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;
    background-color: var(--dark) !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;
  }
}