html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  font-family: "Barlow", sans-serif;
  color: #335771;
}

h1,
h2,
h3,
h4,
h5,
h6,
.sub-heading {
  font-family: "Barlow", sans-serif;
}

h1 {
  margin: 0;
  font-size: 1.8em;
  font-weight: bold;
}

#bg {
  background-image: url("../img/bg.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  display: flex;
  position: relative;
  overflow: clip;
}

.panel {
  display: inline-block;
  /*height: 100%;*/
}

#left_panel {
  width: 21%;
  position: relative;
  perspective: 9em;
  perspective-origin: center 60%;
}

#departement_container {
  height: 40%;
  width: 53%;
  margin-top: 128%;
  margin-left: 28%;
  transform-style: preserve-3d;
  transform: rotateY(
          3.7deg
  );
  text-align: center;
}

#departement_list {
  list-style: none;
}

#departement_list {
  list-style: none;
  padding: 10px 0px 0px 0px;
}

#departement_list li {
  margin-top: 1.2em;
  cursor: pointer;
  user-select: none;
  font-size: 1.5em;
  text-align: left;

}

#departement_list li.selected {
  text-decoration:underline;
}

/*
#departement_list li::before {
  content: "\25A0";
  font-weight: bold;
  display: inline-block;
  width: 0.8em;
  margin-left: 0;
  font-size: 1.7em;
}
*/

#departement_list li:nth-child(1)::before {
  color: #36536b;
}
#departement_list li:nth-child(2)::before {
  color: #B6CB32;
}

#center_panel {
  width: 48.5%;
  padding-left: 8.5%;
  padding-top: 9%;
  padding-right: 21%;
}

#screen {
  width: 100%;
  height: 26em;
}

#screen_content {
  width: 100%;
  height: 100%;
  position: relative;
}

.button_home {
  float: right;
  position: relative;
  top: 10%;
  right: 15%;
  height: 25%;
  width: 31%;
}

#departement_presentation {
  display: block;
  margin: auto;
  height: 100%;
}

#departement_presentation .vimeo_player iframe {
  width: 100%;
  height: 100%;
}

#chart {
  text-align: center;
  margin: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  justify-content: space-around;
}

#chart ol {
  padding-inline-start: 0;
}

.chart_list li {
  margin: 0.5em;
  height: 7.5em;
  width: 7.5em;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  position: relative;
  opacity: 1;
  font-size: 1.1em;
}

.chart_list[data-dep="application"] li {
  background-color: #36536b;
  /*border: dashed #ff8081;*/
  color: white;
}

.chart_list[data-dep="cq"] li {
  background-color: #B6CB32;
  /*border: dashed #ff8081;*/
  color: white;
}

/*#matterport_title[data-dep="application"] > svg > path {
  stroke: none;
  fill:#36536b;
}

  #matterport_title[data-dep="cq"] > svg > path {
  stroke: none;
  fill:#B6CB32;
}
}*/

#matterport_title[data-dep="application"] {
  background:#36536b;
}

#matterport_title[data-dep="cq"] {
  background:#B6CB32;
}

.chart_list li{
  background-size: cover;
}

/*
.chart_list.n8 li:nth-child(8n+1) {
  background-image: url('/img/dash8-1.png');
}
.chart_list.n8 li:nth-child(8n+2) {
  background-image: url('/img/dash8-2.png');
}
.chart_list.n8 li:nth-child(8n+3) {
  background-image: url('/img/dash8-3.png');
}
.chart_list.n8 li:nth-child(8n+4) {
  background-image: url('/img/dash8-4.png');
}
.chart_list.n8 li:nth-child(8n+5) {
  background-image: url('/img/dash8-5.png');
}
.chart_list.n8 li:nth-child(8n+6) {
  background-image: url('/img/dash8-6.png');
}
.chart_list.n8 li:nth-child(8n+7) {
  background-image: url('/img/dash8-7.png');
}
.chart_list.n8 li:nth-child(8n) {
  background-image: url('/img/dash8-8.png');
}
*/

.chart_list[data-dep="cq"] li {
  background-color: #B6CB32;
  color: white;
}

.chart_list[data-dep="cq"] li:hover,
.chart_list[data-dep="cq"] li:hover,
.chart_list[data-dep="cq"] li.highlighted,
.chart_list[data-dep="cq"] li:active,
.chart_list[data-dep="cq"] li:active,
.chart_list[data-dep="cq"] li.selected{
  background-color: #528149;
  color: white;
}

.chart_list[data-dep="application"] li:hover,
.chart_list[data-dep="application"] li:hover,
.chart_list[data-dep="application"] li.highlighted,
.chart_list[data-dep="application"] li:active,
.chart_list[data-dep="application"] li:active,
.chart_list[data-dep="application"] li.selected{
  background-color: #163853;
  color: white;
}

.chart_list li span {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#chart_list_A li.not_selected {
  opacity: 0.5;
}

.chart_list li.selected {
  text-decoration: underline;
  font-weight: bold;
}
.chart_list li:hover,
#chart_list_A li:hover,
.chart_list li.highlighted {
  opacity: 1;
  box-shadow: 0 0.3em 0.5em 0 rgba(0, 0, 0, 0.24),
    0 0.5em 1em 0 rgba(0, 0, 0, 0.19);
  transition: 0.3s;
}
.chart_list li:active,
#chart_list_A li:active,
.chart_list li.selected {
  box-shadow: none;
  transition: 0.3s;
}

#matterport_popup {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  background-color: rgba(0, 0, 0, 0.70);
}

#matterport_container {
  width: 100%;
  height: 75%;
  position: relative;
  background-color: white;
}

#matterport_title svg {
  z-index: 200;
  position: sticky;
}

#matterport_title {
  height: 25%;
  background-color: white;
}

.popup_title {
  color: white;
  font-size: 1.45em;
  width: 38em;
  line-height: 1.4em;
  display: inherit;
  z-index: 230;
  position: absolute;
  top: 0;
  left: 30em;
  height: 13em;
}

.popup_trend {
  color: white;
  z-index: 250;
  display: flex;
  position: absolute; 
  left: 6em;
  top: 2em;
  height: 10em;
}

/*.popup_buttons {
  color: white;
  display: flex;
  margin: 2em;
  z-index: 250;
  position: fixed;
  top: 0;
}

.popup_buttons a {
  font-size: 1.5em;
  color: white;
  text-decoration: none;
  margin: 0 3em;
  cursor: pointer;
  position: relative;
}*/

#matterport_iframe {
  -webkit-clip-path: inset(0 0 20px 0);
  clip-path: inset(0 0 60px 0);
  height: calc(100% + 60px);
  position: relative;
  z-index: 100;
  background-color:#000;
}

#overlay_loading {
  width: 85%;
  height: 100%;
  background-color: black;
  position: absolute;
  top: 0;
  z-index: 199;
}

#matterport_list {
  background-color: white;
  float: right;
  width: 15%;
  height: 100%;
  overflow-y: hidden;
  margin-top: 0em;
  text-shadow: 0 2px 3px rgba(0, 0, 0, 0.3);
}

#matterport_list_scroller {
  background-color: white;
  float: right;
  width: 15%;
  height: 4em;
  color: black;
  text-align: center;
  margin-top: -7em;
  position: absolute;
  bottom: 0;
  right: 0;
  display: none;
}

#matterport_list_scroller img#up {
  transform: rotate(180deg);
}

.matterport_list_scroller img:hover {
  opacity: 1;
  cursor: pointer;
}

#matterport_list_scroller img {
  height: 3em;
  opacity: 0.8;
}

.matterport_list_item:not(.selected) {
  opacity: 0.35;
}

.matterport_list_item {
  position: relative;
  background-color: grey;
  width: 80%;
  aspect-ratio: 16/9;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.4em;
  cursor: pointer;
  background-size: cover;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.matterport_list_item::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0,0,0,0.35);
}

.matterport_list_item h1 {
  position: relative;
  color: #ffffff;
  text-align: center;
  /*font-weight:200;*/
  text-transform: uppercase;
}

.matterport_list_item.selected::before {
  background-color: rgba(0,0,0,0);
}

.close {
  position: absolute;
  z-index: 99999;
  right: 1.5em;
  top: 1.5em;
  width: 3em;
  height: 3em;
  opacity: 1;
  cursor: pointer;
}
.close:hover {
  opacity: 0.7;
}
.close:before, .close:after {
  position: absolute;
  left: 1.5em;
  content: ' ';
  height: 3em;
  width: 0.15em;
  background-color: white;
}
.close:before {
  transform: rotate(45deg);
}
.close:after {
  transform: rotate(-45deg);
}

#mentionslegales {
  background-color: #000000f0;
  color: white;
  min-height: 38em;
  width: 85%;
  max-height: 80%;
  z-index: 300;
  left: 5%;
  top: 5%;
  border-radius: 5px;
  position: absolute;
  overflow: auto;
  display: none;
}

#popuphtml {
  background-color: #000000f0;
  color: white;
  min-height: 26em;
  width: 48.5%;
  max-height: 85%;
  z-index: 300;
  left: 54%;
  transform: translate(-50%, -50%);
  top: 38%;
  display: none;
  border-radius: 0.5em;
  position: absolute;
  overflow-y: auto;
  overflow-x: hidden;
}

#matterport_popupinfo {
  background-color: #000000f0;
  color: white;
  min-width: 30em;
  max-width: 75%;
  max-height: 85%;
  position: absolute;
  z-index: 300;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 85%;
  display: none;
  border-radius: 0.5em;
}

#matterport_popupinfo > .content, #mentionslegales > .text, #popuphtml .text {
  padding: 1.5em;
  text-align: justify;
}

.text img {
  max-width: 100%;
}

#popuphtml .content {
  width: 100%;
  height: 100%;
}
#matterport_popupinfo .content {
  height: 100%;
  width: 93%;
}

#popuphtml .content {
  position: absolute;
}

#matterport_popupinfo .content img {
  width: 100%;
  max-height: 45em;
  width: auto;
}


.closepopupinfo {
  position: absolute;
  z-index: 99999;
  right: -0.6em;
  top: 0.1em;
  width: 1.5em;
  height: 1.5em;
  opacity: 1;
  cursor: pointer;
}
.closepopupinfo:hover {
  opacity: 0.7;
}
.closepopupinfo:before, .closepopupinfo:after {
  position: absolute;
  left: 0;
  content: ' ';
  height: 1.5em;
  width: 0.15em;
  background-color: white;
}
.closepopupinfo:before {
  transform: rotate(45deg);
}
.closepopupinfo:after {
  transform: rotate(-45deg);
}

.category_title {
  font-size: 1.5em;
  line-height: 1.1em;
  margin-top: 1.5em;
  padding: 0.5em 1em;
  float: right;
  width: fit-content;
  background-color:white;
  font-weight:200;
  text-transform: uppercase;
}

.category_title[data-dep="application"] {
  color:#36536b;
}

.category_title[data-dep="cq"] {
  color:#B6CB32;
}

.category_thread {
  text-align: right;
  font-weight:200;
  line-height: 1.1em;
  top: 3.5em;
  position: absolute;
  right: 1em;
  text-transform: uppercase;
}

#clickHome {
  position: absolute;
  height: 17em;
  width: 35em;
  bottom: 4em;
  left: 37%;
  cursor: pointer;
  z-index: 98;
}

#choixDepartement {
  height: 100%;
}

#choixDepartement > div{
  height: 100%;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

#choixDepartement > div > h1 {
  font-size: 3em;
}

/*#endregion*/

.text-center {
  text-align: center;
  position: fixed;
  bottom: 1.5em;
  width: 85%;
  background-color: #000000f0;
  color: white;
  z-index: 300;
  border-radius: 5px;
  margin-top: 1em;
}

.text-center > div {
  padding: 1em;
}

video {
  width: 100%;
  height: 100%;
}

#footer {
  position: fixed;
  z-index: 900;
  bottom: 1em;
  width: 100%;
  color: #000;
  text-align: center;
}

#pass_popup
{
  width: 100%;
  height: 100%;
  background-color: #00000088;
  position: absolute;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99;
}

#pass_popup.open
{
  display: flex;
}

#pass_popup_bg
{
  width: 35%;
  height: 25%;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  padding: 4em 2em 2em 2em;
  font-size: 1.2em;
}

input[type=password]
{
  height: 2.5em;
  width: 50%;
  max-width: 100%;
  border: 0.1em solid #335771;
  -webkit-border-radius: 1.5em;
  border-radius: 1.5em;
  color: #335771;
  padding: 0.2em 0.7em;
  cursor: pointer;
  font-size: inherit;
}

button
{
  height: 2.5em;
  border: none;
  background-color: #335771;
  -webkit-border-radius: 1.5em;
  border-radius: 1.5em;
  color: #fff;
  padding: 0.2em 1.5em;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit; 
}

#closepassword
{
  right: 26.5em;
  top: 16em;
}

#closepassword:before,#closepassword:after
{
  background-color: #335771;
  height: 2em;
}