:root {
  --red: #cf1332;
  --green: #8fad25;
  --yellow: #ffeb00;
  --taupe: #5b4d41;
  --gris: #eeeeee;
  --bleuFonce: #126185;
  --bleu: #259bd8;
  --bleuClair: #6fcbf3;
  --orange: #fc964a;
  --purple: #581d74;
  --purple2: #9c33cc;
  --purple3: #d7adeb;
  --purpleSoft: #E4D9EA;
}

* {
  box-sizing: border-box;
  font-family: "Roboto";
}

h2,
h3,
p {
  margin: unset;
}

#loading {
  height: 100vh;
  width: 100%;
  background-color: rgba(255, 255, 255, 1);
  position: absolute;
  z-index: 1;
}

/***************************************/
/******         MENU FIXE       ********/
/***************************************/

nav {
  position: fixed;
  width: 20%;
  max-width: 270px;
  background-color: white;
  left: 0;
  top: 100px;
  height: calc(100vh - 100px);
  border-right: solid 1px #eee;
  z-index: 1;
  background-image: url(../img/bg_menu.png);
  background-repeat: no-repeat;
  background-position: bottom;
  background-size: 90%;
}

nav ul {
  padding-left: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
}

nav ul li {
  list-style: none;
  text-transform: uppercase;
  padding: 30px 0 20px 80px;
  font-size: 1.8rem;
  width: 100%;
  transition: all 0.2s ease;
}

nav ul li p {
  margin: 0;
}

nav ul li:hover {
  cursor: pointer;
}

nav ul li.active,
nav ul li:hover {
  background-color: var(--bleuFonce);
}

nav ul li.active p,
nav ul li:hover p {
  font-weight: bold;
  color: white;
  position: relative;
}

/*puce*/
/*
nav ul li.active p:before,
nav ul li:hover p::before {
  content: "";
  display: block;
  width: 25px;
  height: 25px;
  background: url(../img/puce.png) no-repeat;
  position: absolute;
  right: 100%;
  bottom: 100%;
  transform: translate(30%, 40%);
  background-size: contain;
}*/

.powered_by_mgs {
  position: fixed;
  left: 0px;
  right: 0px;
  bottom: 10px;
  text-align: center;
  z-index: 2;
}

a.card:hover {
  border: 2px solid #273869;
}

a {
  color: #8f8f8f !important;
}

.rel {
  position: relative;
}

.btn_evo {
  position: absolute;
  top: 0px;
  right: 40px;
  width: 53px;
  height: 53px;
  box-shadow: 0 0 9px 1px rgba(101, 101, 101, 0.26);
  border-radius: 27px;
  padding-top: 12px;
  cursor: pointer;
}

/***************************************/
/******     CONTAINER GRAPH     ********/
/***************************************/
.border {
  border-left: solid 5px;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: left;
  line-height: 1.6rem;
  padding-left: 5px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.section {
  scroll-margin-top: 100px;
}

.border_rouge {
  border-left-color: var(--red);
}

.border_jaune {
  border-left-color: var(--yellow);
}
.border_orange {
  border-left-color: #fc964a;
}

.border_vert {
  border-left-color: var(--green);
}
.border_taupe {
  border-left-color: var(--taupe);
}
.border_gris {
  border-left-color: var(--gris);
}
.border_bleu_fonce {
  border-left-color: var(--bleuFonce);
}
.border_bleu {
  border-left-color: var(--bleu);
}
.border_bleu_clair {
  border-left-color: var(--bleuClair);
}

.border_purple {
  border-left-color: var(--purple);
}
.border_purple2 {
  border-left-color: var(--purple2);
}
.border_purple3 {
  border-left-color: var(--purple3);
}

.italic {
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 300;
  text-align: left;
}

.warning {
  font-weight: bold;
  color: var(--red);
}

.base_faible {
  display: none;
  color: var(--red);
  margin-right: 10px;
  vertical-align: middle;
}

.warning .base_faible {
  display: inline-block;
}

main .db_container {
  width: 100%;
  padding-left: 300px;
  padding-top: 100px;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  overflow: hidden;
  padding-bottom: 300px;
}

main #satisfaction {
  border-right: solid 1px #eee;
}

#verbatims {
  width: 100%;
}

#recap_nps {
  width: 75%;
  min-width: 600px;
  margin: 20px auto;
}

#sat_doughnut,
#jauge_sat,
#nps_doughnut,
#graph_intention,
#nps_verbatims,
#nps_leg,
#intention_leg {
  display: inline-block;
  width: 49.7%;
  vertical-align: middle;
}

#nps_verbatims {
  margin-left: -200px;
}

#jauge_sat {
  position: relative;
  margin-bottom: 100px;
  margin-top: 50px;
}

#nps_leg,
#intention_leg {
  width: fit-content;
}

#graph_sat_globale {
  height: 140px;
  overflow: hidden;
  margin-bottom: 10px;
  vertical-align: middle;
}

#sat_globale_leg {
  display: flex;
  position: absolute;
  width: 480px;
  justify-content: space-evenly;
  right: -40px;
  top: calc(100% + 5px);
}

p.leg_signif {
  text-align: center;
  text-transform: uppercase;
  font-style: italic;
  font-size: 1.2rem;
}

p.leg_signif img {
  margin-top: -3px;
}

main #satisfaction,
main #nps {
  width: 50%;
  text-align: center;
  padding-top: 50px;
}

#graph_sat_detail {
  margin-top: 40px;
}

main #comparatif_satisfaction {
  width: 100%;
}

.titre {
  text-transform: uppercase;
  font-size: 2.4rem;
  font-weight: bold;
  width: 100%;
}

.effectif {
  font-size: 1.4rem;
  margin-top: -10px;
}

h3 {
  font-size: 1.4rem;
  text-transform: uppercase;
  font-weight: bold;
}

#satisfaction h3,
#promoteur_score h3 {
  text-align: left;
  padding-left: 10%;
}

#intention h3 {
  margin-top: -10px;
}

#filtres,
#filtres_verbatims {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.btn_filtre {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1.4rem;
  box-shadow: 0 0 9px 1px rgba(101, 101, 101, 0.26);
  padding: 4px 50px;
  border-radius: 35px;
  margin-left: 25px;
  transition: all 0.2s ease;
  line-height: 25px;
  cursor: pointer;
}

.btn_evo {
  font-size: 25px;
}

.active,
.btn_filtre:hover,
.btn_evo:hover {
  color: white;
  background-color: var(--bleuFonce);
  box-shadow: rgba(50, 50, 93, 0.8) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.8) 0px 18px 36px -18px inset;
}

.row_jaune,
.bg_jaune {
  background-color: var(--yellow);
}

.row_violet,
.bg_violet {
  color: white;
  background-color: var(--bleuFonce);
}

.bg_orange {
  background-color: var(--orange);
}

.bg_gris_clair {
  background-color: rgba(222, 222, 222, 0.25);
}

.bg_rouge {
  background-color: var(--red);
}

.bg_vert {
  background-color: var(--green);
}

.bold {
  font-weight: bold !important;
}

#table table {
  border: none;
  width: fit-content;
  border-collapse: collapse;
  margin: 30px auto;
}

#table table tr td {
  padding: 5px 15px;
  text-align: center;
  min-width: 100px;
  width: fit-content;
  font-weight: 600;
}

#table table tr td:first-of-type {
  text-align: left;
  width: fit-content;
  font-weight: normal;
}

#echantillon {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

#echantillon div .titre {
  text-transform: uppercase;
  font-size: 2.4rem;
  font-weight: bold;
  width: 100%;
  margin: 20px 0 30px;
}

#echantillon #metier .titre,
#echantillon #profil_client .titre,
#echantillon #visite .titre {
  text-transform: uppercase;
  font-size: 2.4rem;
  font-weight: bold;
  width: 100%;
  margin: 20px 0 -40px 0;
}

#echantillon > div {
  width: 31%;
  box-shadow: 0 0 9px 1px rgba(101, 101, 101, 0.26);
  text-align: center;
  margin: 0 20px 20px 0;
}

#echantillon > div:nth-of-type(3n) {
  margin-right: 0;
}

#comparatif_satisfaction > h2.titre,
#methodologie > h2.titre,
#contact > h2.titre,
#echantillon > h2.titre,
#verbatims > h2.titre {
  margin: 20px 0;
}

#comparatif_satisfaction > h2.titre,
#methodologie > h2.titre,
#contact > h2.titre,
#echantillon > h2.titre,
#verbatims > h2.titre,
.sousTitre {
  padding-left: 5%;
}

.legend {
  color: var(--red);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  padding-left: 5%;
}

#top_verbatims,
#all_verbatims {
  margin: 40px auto;
  width: 75%;
  border-left: solid 10px rgb(196, 196, 196);
  position: relative;
}

.quote {
  content: "";
  width: 100px;
  height: 100px;
  position: absolute;
  bottom: 100%;
  right: 100%;
  transform: translate(10%, 25%);
}

.flex {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.flex #graph_visite,
.flex #graph_metier,
.flex #graph_profil_client {
  width: 60%;
  margin-right: 15px;
}

#filtres_evo {
  margin-top: 30px;
  width: 100%;
  display: flex;
  justify-content: center;
}

#groupe_evo_std_sat_globale,
#groupe_evo_std_sat_detail,
#groupe_evo_std_nps,
#groupe_evo_std_intention {
  display: none;
  text-align: right;
}

#groupe_evo_std_sat_detail .leg_signif {
  margin-bottom: 30px;
}

#selecteur_sat_globale,
#selecteur_sat_detail,
#selecteur_intention,
#selecteur_nps,
#selecteur_Compar {
  outline: none;
  border: none;
  font-weight: bold;
  margin: 10px;
  box-shadow: 0 0 3px 1px rgba(101, 101, 101, 0.26);
  padding: 5px 10px;
}
#selecteur_Compar > option{
  font-weight: bold;
}

.ligne_verbatim {
  margin: 10px 0;
  line-height: 1.5rem;
}

.verbatim {
  width: calc(100% - 80px);
  padding-left: 10px;
  display: inline-block;
  vertical-align: middle;
}

.verbatim::first-letter {
  text-transform: uppercase;
}

.note {
  display: inline-block;
  font-size: 1.6rem;
  padding: 5px 10px;
  width: 60px;
  text-align: right !important;
  vertical-align: middle;
}

.note.bg_rouge {
  background-color: unset;
  color: var(--red);
  font-weight: 600;
}

.note.bg_jaune {
  background-color: unset;
  color: var(--yellow);
  font-weight: 600;
}

.note.bg_vert {
  background-color: unset;
  color: var(--green);
  font-weight: 600;
}

.note.bg_orange {
  background-color: unset;
  color: var(--orange);
  font-weight: 600;
}

.noDatas {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-style: italic;
  color: var(--red);
  font-size: 1.5rem;
  font-weight: bold;
}

#methodologie {
  width: 100%;
}
#methodologie > div,
#contact > div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 10px;
}
#contact {
  width: 100%;
}
#methodologie .card {
  box-shadow: 0 0 9px 1px rgba(101, 101, 101, 0.26);
  padding: 20px 10px;
  min-width: 300px;
}
.card.cardTier {
  width: 31%;
}
.card.cardMoitie {
  width: 46%;
}
.card .cardTitre {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.card .cardTitre img {
  height: 30px;
  object-fit: contain;
}
.card .cardTitre h2 {
  font-size: 1.9rem;
  text-transform: uppercase;
  line-height: 24px;
}
.sousTitre {
  color: #da9d11;
  font-size: 1.9rem;
  line-height: 24px;
  margin-bottom: 5px;
}
.blueIPSOS {
  color: #009d9c;
}
#contact .card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#contact .card img {
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}
#contact .card .listContact {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  text-align: center;
}
.contact a {
  color: black;
  font-weight: 300;
}

.legend_evo {
  text-align: center;
  margin-top: -40px;
  margin-bottom: 40px;
  font-size: 1.2rem;
  text-transform: uppercase;
}

@media screen and (max-width: 1800px) {
  .titre {
    font-size: 1.8rem;

    .btn_filtre {
      font-size: 1.4rem;
      padding: 0 2em;
    }
  }
}

@media screen and (max-width: 1500px) {
  .titre {
    font-size: 1.4rem;
  }

  .btn_filtre {
    font-size: 1.8rem;
    padding: 0 2em;
  }
}

@media screen and (max-width: 1380px) {
  html {
    font-size: 33% !important;
  }

  main .db_container {
    padding-left: 15%;
    padding-top: 75px;
  }

  #jauge_sat {
    display: inline-block;
    width: calc(100% - 200px);
    margin-left: auto;
    margin-right: auto;
  }

  #sat_doughnut {
    width: 140px;
  }

  #jauge_sat {
    /* margin-top: 20px; */
    margin-bottom: 50px;
  }

  #sat_globale_leg {
    width: 100%;
  }

  #graph_sat_globale {
    transform: unset;
  }

  .btn_filtre {
    font-size: 1.8rem;
    padding: 0 2em;
  }

  p {
    font-size: 1.6rem;
  }

  nav {
    width: 15%;
    top: 80px;
    height: calc(100vh - 80px);
  }

  nav ul li {
    padding: 3em 0 2em 5em;
  }

  nav ul li p {
    font-size: 2rem;
    line-height: 3rem;
  }

  main #satisfaction,
  main #nps {
    padding-top: 20px;
  }

  .effectif {
    font-size: 2rem;
    margin-top: -20px;
  }

  .btn_evo {
    top: 10px;
    right: 40px;
    width: 30px;
    height: 30px;
    padding-top: 5px;
  }

  .btn_evo img {
    width: 15px !important;
  }

  .border {
    border-left: solid 3px;
    font-size: 1.8rem;
  }

  .border_rouge {
    border-left-color: var(--red);
  }

  .border_jaune {
    border-left-color: var(--yellow);
  }

  .border_vert {
    border-left-color: var(--green);
  }
  .border_taupe {
    border-left-color: var(--taupe);
  }
  .border_bleu_fonce {
    border-left-color: var(--bleuFonce);
  }
  .border_bleu {
    border-left-color: var(--bleu);
  }
  .border_bleu_clair {
    border-left-color: var(--bleuClair);
  }

  h3 {
    font-size: 1.8rem;
  }

  #intention h3 {
    margin-top: -20px;
  }

  #methodologie p {
    font-size: unset;
  }

  #selecteur_sat_globale,
  #selecteur_sat_detail,
  #selecteur_nps {
    font-size: 1.8rem;
  }
}
