@font-face {
  font-family: "Optima LT Std";
  src: url("../fonts/Optima LT Std/Optima LT Std Roman.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Optima LT Std";
  src: url("../fonts/Optima LT Std/Optima LT Std Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

html {
  background-color: var(--bg-main);
}

html,
body {
  font-family: "Optima LT Std";
  font-weight: normal;
}

body {
  min-height: initial;
}

main {
  margin-top: 65px;
  text-align: center;  
  color:var(--global-font-color-header);
}

#content {
  margin: 0px auto;
  padding-bottom: 40px;
  width: 90%;
  min-width: 1200px;
}

.relative {
  position: relative;
}

.inline {
  display: inline-block;
}

.align-middle {
  vertical-align: middle;
}

.text-align-center {
  text-align: center;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

.grow-0 {
  flex-grow: 0;
}

.grow-1 {
  flex-grow: 1;
}

.direction-column {
  flex-direction: column;
}

.direction-row {
  flex-direction: row;
}

.gap-4 {
  gap: 4px;
}

.gap-8 {
  gap: 8px;
}

.gap-25 {
  gap: 25px;
}

.pt-10 {
  padding-top: 10px;
}

.justify-center {
  justify-content: center;
}

.justify-start {
  justify-content: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.content-center {
  align-content: center;
}

.items-center {
  align-items: center;
  font-size: 16px;
}

.mb-5 {
  margin-bottom: 5px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.w-full {
  width: 100%;
}

.w-49pc {
  width: 49%;
}

.w-40pc {
  width: 40%;
}

.w-33pc {
  width: 33%;
}

.w-24pc {
  width: 24%;
}

.w-19pc {
  width: 19%;
}

.bold {
  font-weight: bold;
}

.flagPays {
  height: 15px;
  border-radius: 20%;
}

a {
  color: #004080;
  font-weight: bold;
}

#filtres {
  margin: 0px auto;
  /*padding: 40px 0;*/
  width: 90%;
  min-width: 1250px;
}

.mainFilters {
  width: 70%;
  margin: 20px auto;
  padding: 20px;
  border-radius: 5px;
  background-color: var(--bg-sous-menu);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.filtre {
  display: inline-block;
  text-align: left;
  padding: 16px;
  width: 15%;
  min-width: 150px;
}

.filtreTitle {
  width: 550px;
  font-size: 18px;
  color: var(--global-title-filter);
}

.filtre label {
  font-size: 14px;
  color: var(--font-sous-menu);
}

.filtre select {
  font-family: "Optima LT Std";
  font-size: 17px;
  width: 100%;
  height: 30px;
  border: none;
  border-bottom: 1px solid var(--font-sous-menu);
  margin: 0;
  padding: 4px 0;
  background: 0 0;
  text-align: left;
  color: inherit;
}

.filtre select option{
  color:#000000;
}

.picto {
  height: 38px;
}

.moduleTitle {
  font-size: 18px;
}

.groupTitle {
  margin: 5px 0;
  color: white;
  background-color: var(--bg-banner);
  text-align: left;
  padding: 15px;
  font-size: 18px;
  border-bottom: 8px solid transparent;
  border-image: linear-gradient(0.25turn, #af8727, #f7ee89, #af8727);
  border-image-slice: 1;
  /*border-image-outset: 10px;*/
}

.brand-panel {
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

.brand-panel-handle {
  position: relative;
  padding: 5px;
  border-bottom: 1px solid #cdd4df;
}

#arrow_dropdown {
  position: absolute;
  top: 5px;
  right: 10px;
}

.brand-panel-handle a {
  color: var(--global-title-blue);
  font-size: 18px;
  text-decoration: none;
}

.show_competitors {
  /*animation: showdown 0.5s ease-in;*/
}

.hide_competitors {
  /*animation: hideup 0.5s ease-in;*/
}

.search-input {
  height: 30px;
  width: 222px;
  margin: 10px 10px 10px 0px;
  border-radius: 3px;
  background-color: #aaaaaa;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.search-input svg {
  font-size: 22px;
  color: white;
  margin-right: 10px;
  margin-left: 10px;
  margin-top: 5px;
}

.search-input input {
  height: calc(100% - 2px);
  width: 173px;
  font-size: 18px;
  font-family: "Optima LT Std";
  background-color: white;
  border: 0px solid var(--bg-banner);
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  vertical-align: top;
  padding-left: 5px;
}

.search-input input:focus {
  outline: none;
}

.rotate_down {
  animation: rotatearrow_down 0.2s ease-in;
}

.rotate_right {
  animation: rotatearrow_right 0.2s ease-in;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 21px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  cursor: pointer;
  border-radius: 35px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-banner);
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

.switch .slider:before {
  position: absolute;
  border-radius: 35px;
  content: "";
  height: 15px;
  width: 15px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  -webkit-transition: 0.2s;
  transition: 0.2s;
}

input:checked + .slider:before {
  -webkit-transform: translateX(19px);
  -ms-transform: translateX(19px);
  transform: translateX(19px);
}

.foldable-panel-container {
  width: 1000px;
  text-align: left;
  margin: 20px auto;
  padding: 8px;
  /* border: 1px solid lightgray; */
  border-radius: 5px;
  background-color: var(--bg-sous-menu);
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.marque_value {
  font-weight: 800;
}

.chart-title {
  font-size: 20px;
  font-weight: bold;
  border-bottom: 5px solid var(--bg-banner);
  text-align: left;
  padding: 10px 0;
  margin: 10px;
  width: 80px;
  white-space: pre;
}

#switchWrapper {
  width: 220px;
  margin: 0 auto;
  padding: 10px;
  background-color: white;
  border-radius: 50px;
  box-shadow: 0 20px 10px -20px rgba(0, 0, 0, 0.45) inset, 20px 0 10px -20px rgba(0, 0, 0, 0.45) inset;
  box-shadow: rgb(0 0 0 / 24%) 0px 3px 8px;
}

#message-popup {
  position: absolute;
  top: calc(50% - 75px);
  left: calc(50% - 150px);
  width: 300px;
  border-radius: 4px;
  background-color: #ffffff;
  text-align: center;
  box-shadow: rgb(0 0 0 / 56%) 0px 22px 70px 4px;
  overflow: hidden;
  z-index: 99;
}

#message-popup .close {
  text-align: right;
  font-size: 25px;
  font-family: "Optima LT Std";
  font-weight: bold;
  color: gray;
  width: fit-content;
  position: absolute;
  right: 5px;
  cursor: pointer;
}

#message-popup #message-content {
  padding: 30px;
}

/* loading popup */

#loading-popup {
  position: absolute;
  top: calc(50% - 75px);
  left: calc(50% - 150px);
  width: 300px;
  height: 80px;
  border-radius: 30px;
  background-color: #ffffff;
  text-align: center;
  box-shadow: rgb(0 0 0 / 56%) 0px 22px 70px 4px;
  overflow: hidden;
  z-index: 99;
  line-height: 50px;
  padding: 50px 0;
}

#loading-popup img {
  width: 100%;
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--bg-banner);
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.5s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.5s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.5s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.5s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

#switchWrapper .switch-state {
  font-size: 15px;
  color: lightgray;
}

#switchWrapper .switch-state.active {
  color: gray;
}

#switchWrapper > * {
  vertical-align: middle;
}

#warning {
  color: #c53030;
  border: 1px solid #c53030;
  background-color: #fff5f5;
  border-radius: 3px;
  width: fit-content;
  padding: 15px;
  margin: 0 auto;
  font-size: 14px;
}

#legend {
  width: fit-content;
  margin: 10px auto;
  border: 2px solid var(--bg-banner);
  background-color: var(--bg-banner);
}

#legend-title {
  color: white;
  padding: 5px 10px;
  text-align: left;
  font-size: 16px;
  font-weight: bold;
}

#legend-content {
  padding: 10px 20px;
  font-size: 14px;
  background-color: var(--bg-main);
  color: var(--global-font-color-header);
}

#legend-description {
  margin-left: 10px;
  text-align: left;
}

@keyframes showdown {
  from {
    height: 0px;
  }

  to {
    height: 200px;
  }
}

@keyframes hideup {
  from {
    height: 200px;
  }

  to {
    height: 0px;
  }
}

@keyframes rotatearrow_right {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-90deg);
  }
}

@keyframes rotatearrow_down {
  from {
    transform: rotate(-90deg);
  }

  to {
    transform: rotate(0deg);
  }
}

/* Responsive */

@media screen and (max-width: 1700px) {
  header div {
    font-size: 13px;
  }
  header img {
    height: 16px !important;
    margin-top: 7px;
  }
  #logo{
    height: 14px !important;
  }
  header a,
  header div {
    /*line-height: 35px !important;*/
  }
}

@media screen and (max-width: 1370px) {
  #filtres {
    min-width: 1200px;
  }
  body {
    margin: 0px;
  }
  header div {
    font-size: 12px;
  }
}

/*FIXED HEADER*/
/*
thead {
  display: table;
  width: calc(100% - 17px);
}

tbody {
  display: block;
  max-height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
}*/

.selectorCustom{
    position: absolute;
    right: 15px;
    top: 15px;
}
.selectorCustom select{
  width: 115px;
  border: none;
    border-bottom: 1px solid var(--font-sous-menu);
    margin: 0;
    padding: 4px 0;
    background: 0 0;
    text-align: left;
    color: inherit;
}