@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');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

:root {
  --dark: rgb(20, 0, 37);
  --text: white;
  --text-dark: rgba(255, 255, 255, 0.7);
  --primary: rgb(62, 180, 221);
  --primary-light: rgb(161, 231, 254);
  --primary-dark: #171738;
  --light: #e8eaf6;
  --secondary: #DC0000;
  --secondary-light: #ffdbdb;
  --secondary-dark: #4A148C;
  --informative: #e1e9ed;
  --background: #FBFBFB;
  --nav-link: #FFFFFF;
  --danger: #E41B2F;
  --danger-light: #feedf0;
  --success: #c6ff00;
  --success-light: rgb(231, 254, 144);
}

html {
  transition: all 0.5;
}

body {
  font-family: "DM Sans", sans-serif;
  background-color: var(--dark);
  color: var(--text);
}

/* LAYOUT */

#wrapper {
  display: flex;
}

#header {
  padding: 1rem 0;
  margin-bottom: 10px;
}

.main {
  width: 100%;
  background: var(--dark);
}

.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: #FFF;

}

.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: black;
  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(--primary);
  padding: 4px 15px;
  border-radius: 100px;
}

.nav-sidebar li.active a {
  color: white
}


.nav-sidebar li.active img {
  filter: invert(100%);

}

.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 */

/* TABLE */

tr, th{
  color : white
}

tr{
  border-color :  rgba(62, 180, 221, 0.3);
}



/* TABLE */


/* TEXTS */

a {
  text-decoration: unset;
  color: var(--dark);
}

a:hover {
  text-decoration: none;
  color: var(--secondary)
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 100;

}

h1 {
  color: var(--text);
  font-size: 55px;
    text-shadow: 0 0 20px rgba(62, 180, 221, 1), 0 0 30px rgb(96, 189, 220), 0 0 40px rgb(162, 204, 218);
    text-transform: uppercase;
}


h6 {
  font-size: 1.2rem !important;
}

.glowing {
  text-shadow: 0 0 20px rgba(62, 180, 221, 1), 0 0 30px rgb(96, 189, 220), 0 0 40px rgb(162, 204, 218)
}


.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);
}

.fw-700{
  font-weight: 700;
}



/* CARD */

.card {
  border: none;
  box-shadow: 2px 2px 20px 4px #EEEEEE;
}

.card-item-shoot {
  background: radial-gradient(circle, rgba(160, 225, 247, 0.2) 0%, rgba(15, 0, 27, 1) 100%);
  border : 1px solid rgba(160, 225, 247, 0.2);
}

/* .date-container{
  width : 20%;
} */






/* END CARD */

hr {
  border-top: 1px solid #CCC;
}

/* BTN */

.btn-primary {
  background-color: var(--primary);
  border: none;

}


/* BTN */

/* TEXT  */

.text-primary {
  color: var(--primary) !important;
}

.text-primary-dark {
  color: var(--primary-dark);
}

.text-primary-light {
  color: var(--primary-light);
}

.text-secondary-light {
  color: var(--secondary-light) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-secondary-dark {
  color: var(--secondary-dark) !important;
}

.text-tertiary {
  color: var(--tertiary) !important;
}

.text-success {
  color: var(--success);
}

.fw-700 {
  font-weight: 700;
}

/* END TEXT  */

/* 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;
}

/* form  */

label {
  text-transform : uppercase;
  color : var(--primary);
  font-weight: 500;
  margin-bottom: 10px;
  font-size: 14px;
}

.form-control, .form-select{

  background-color:  rgba(62, 180, 221, 0.2);
  color : white;
  border: 1px solid  rgba(62, 180, 221, 0.4);
}

.form-control::placeholder, .form-select::placeholder{
  color : rgb(195, 195, 195)
}

.form-select option{
  color : black;
  background-color: white;
}

/* end ACTION MENU MORE */

/* SHOOT */

/* ----  Show Broadcast ----*/

.timeline-container {
  position: relative;
  border: solid #c9c9c9 1px;
  border-top: none;
  border-right: none;
  min-height: 200px;
}

.timeline-slot {
  display: flex;
  cursor: pointer;
  background-color: var(--primary);
  border-right: 2px solid var(--dark);
}

.timeline-start-hour,
.timeline-end-hour {
  font-size: 10px;
}

.timeline-slot:hover {
  filter: brightness(0.9);
}

.slot-preparation,
.slot-passage,
.timeline-slot {
  height: 40px;
  position: relative;
}

.slot-preparation {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  background-color: var(--success-light);
  color: var(--primary);
}

.slot-passage {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
  background-color: var(--primary);
}

.slot-logo {
  border-radius: 400px;
  width: 60px;
}

.free-slot{
  background:  rgba(62, 180, 221, 0.3);
  /* border: 1px solid var(--primary-light); */
    border-right: 2px solid var(--dark);
}

.free-slot .text {
  color: var(--dark) !important;
}





.timeline-broadcast-start {
  position: absolute;
  width: 2px;
  height: 100%;
  border-left: 1px grey dashed;
  z-index: 2;
}

.timeline-broadcast-start::after {
  content: "Début";
  position: absolute;
  bottom: 0;
  left: 10px;
}

.timeline-cursor {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--primary);
  pointer-events: none;
}

.timeline-cursor-time {
  position: absolute;
  top: -20px;
  border-radius: 3px;
  background-color: var(--light);
  color: var(--dark);
  padding: 2px 5px;
  font-size: 16px;
  pointer-events: none;
}

.slot-info-container {
  box-sizing: border-box;
  background-color: rgb(0, 22, 30);
  position: absolute;
  z-index: 4000;
  width: 50%;
  /* height: 70%; */
  /* bottom: 0; */
  right: 0;
  box-shadow: -8px -5px 35px 5px rgba(0, 0, 0, 0.4);
  border-radius: 10px;
  transform: translate(-50%);
  top: 10%;
  left: 50%;
  border: 1px solid var(--primary);
}

.slot-info-container #close {
  cursor: pointer;
}

/*Suggestion*/
.suggestions-container {
  position: absolute;
  display: none;
  width: 90%;
  top: 50px;
  background-color: black;
  box-shadow: 2px 18px 23px 6px rgba(0, 0, 0, 0.17);
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  z-index: 4;
  border: 1px solid var(--primary)
}

.graduation {
  position: absolute;
  bottom: -5px;
  height: 5px;
  /* Ajustez la hauteur selon vos besoins */
  width: 1px;
  background-color: var(--secondary);
}

.graduation-label {
  position: absolute;
  top: 12px;
  /* Ajustez la position selon vos besoins */
  font-size: 12px;
  /* Ajustez la taille de la police selon vos besoins */
  transform: translateX(-50%);
}

/* ALERT */

.bg-success{
  background-color: #c6ff00 !important;
  color : black;
}

.bg-warning{
  background-color: #ffd900 !important;
  color : black;
}






/* ALERT */


/*------------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;
  }
}