#SimulationButton {
  position: fixed;
  bottom: 50px;
  left: 0;
  width: 100%;
  text-align: center;
  display: none;
  z-index: 9;
}

#equip_selection_title {
  padding: 20px;
  text-align: center;
  background-color: white;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9;
}

#equip_selection_graph,
#equip_selection_graph_business {
  position: relative;
  width: 100%;
  height: 100%;
  left: 0%;
  top: 50%;
  transform: translateY(-50%);
}

.learning-mode #equip_selection_graph {
  top: 44%;
}
.learning-mode #equip_selection_graph_business {
  top: 20%;
}

#equip_selec_dataContainer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  z-index: 99;
}

#dynamicGraph {
  flex: 1;

  box-sizing: border-box;
  padding: 20px;
}

#dynamicGraph img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
}

#dynamicGraph {
  display: none;
}

#dynamicGraph * {
  display: none;
}

#dynamicGraph button {
  display: none;
}

#equip_select_cardContainer {
  flex: 1;
}

.equipmentCard {
  display: none;
  box-sizing: border-box;
  margin: 20px;
  padding: 50px;

  background-image: var(--gray-gradient);
  border-radius: 30px;
  box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, 0.2), -4px -4px 6px 0 rgba(255, 255, 255, 0.8);
}

.equipmentDesc {
  text-align: center;
}
.equipmentDescTitle {
  width: 100%;
  display: flex;
}
.equipmentDesc h2 {
  margin-bottom: 20px;
  flex: 9;
}

.equipmentIsSet {
  flex: 1;
  height: 20px;
  display: none;
}

.equipmentIllus {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.equipmentIllus img {
  max-height: 200px;
}

.equipmentMoreAbout {
  margin: 10px auto;
}

.equipmentCard table {
  margin: 10px 0;
  width: 100%;
  text-align: left;
}

.equipmentCard th {
  font-weight: bold;
  padding: 10px;
}

.equipmentCard button {
  margin-top: 50px;
}

.equipmentCorrective,
.equipmentPreventive,
.equipmentPredictiveData,
.equipmentPredictiveSet {
  display: none;
}
.equipmentCard h4 {
  text-align: left;
  font-size: 0.8em;
  margin: 20px 0;
}
.equipmentCorrective h3 {
  color: var(--correctiveColor);
  margin: 20px 0;
}
.equipmentCorrective select {
  border: solid 1px var(--correctiveColor);
}
.equipmentPreventive h3 {
  color: var(--preventiveColor);
  margin: 20px 0;
}
.equipmentPreventive select {
  border: solid 1px var(--preventiveColor);
}
.equipmentPredictiveData h3,
.equipmentPredictiveSet h3 {
  color: var(--predictiveColor);
  margin: 20px 0;
}
.equipmentPredictiveData select,
.equipmentPredictiveSet select {
  border: solid 1px var(--predictiveColor);
}

.equipmentCard td {
  text-align: right;
}
.equipmentPagination {
  text-align: right;
  font-style: italic;
  font-weight: bold;
}

.nota {
  font-size: smaller;
  font-style: italic;
  font-weight: lighter;
}

tr.algoRadio td {
  text-align: left;
  padding: 5px 0;
}

.algoRadio input[type="radio"] + label {
  opacity: 0.5;
}
.algoRadio input[type="radio"]:checked + label {
  opacity: 1;
}

.more-about {
  display: none;
  height: calc(100% - 60px);
  width: 80%;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 20px;
}
.more-about__inner {
  height: 100%;
}
.more-about__img {
  width: 60%;
}
.more-about__img > div {
  height: 50%;
}
.more-about__text {
  width: 40%;
  line-height: 30px;
  display: flex;
  align-items: center;
  text-transform: initial;
}
.more-about__text--larger {
  width: 70%;
}
.more-about__close {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
}
.more-about--predictive {
  width: auto;
}
.more-about--predictive .more-about__close {
  top: 42px;
  right: 55px;
}

/* SVG Zone */
/*----------------------------------------*/

.st0 {
  fill: #398dcc;
}
.st1 {
  fill: #a8cbe0;
}
.st2 {
  fill: #dfe1e6;
}
.st3 {
  fill: #c3c5c9;
}
.st4 {
  fill: #d7d9de;
}
.st5 {
  fill: #cbcccf;
}
.st6 {
  fill: #4d4b4d;
}
.st7 {
  fill: #a1a3a6;
}
.st8 {
  fill: #ecedf0;
}
.st9 {
  fill: #ffffff;
  fill-opacity: 0;
  stroke: #3ed6ae;
  stroke-width: 16;
  stroke-miterlimit: 10;
}
.st10 {
  fill: #3ed6ae;
}
.st11 {
  fill: #8cc63f;
}
.st12 {
  fill: #5d57d9;
}
.st13 {
  fill: #8bbf13;
}
.st14 {
  fill: #2c2334;
}
.st15 {
  fill: #604e75;
}
.st16 {
  fill: #ebdbe7;
}
.st17 {
  fill: #cc715e;
}
.st18 {
  fill: #f79463;
}
.st19 {
  fill: #fbd5a2;
}

.st0-business {
  fill: #398dcc;
}
.st1-business {
  fill: #a8cbe0;
}
.st2-business {
  fill: #dfe1e6;
}
.st3-business {
  fill: #c3c5c9;
}
.st4-business {
  fill: #d7d9de;
}
.st5-business {
  fill: #cbcccf;
}
.st6-business {
  fill: #4d4b4d;
}
.st7-business {
  fill: #398dcc;
  stroke: #2c7099;
  stroke-width: 2;
  stroke-miterlimit: 10;
}
.st8-business {
  fill: #a1a3a6;
}
.st9-business {
  fill: #ecedf0;
}
.st10-business {
  fill: #ffffff;
  fill-opacity: 0;
  stroke: #3ed6ae;
  stroke-width: 13;
  stroke-miterlimit: 10;
}
.st11-business {
  fill: #3ed6ae;
}
.st12-business {
  fill: #8cc63f;
}

#equip_selection_graph,
#equip_selection_graph_business,
#predictive_tech,
#preventive_tech,
#corrective_tech,
#predictive_tech_business,
#preventive_tech_business,
#corrective_tech_business,
.equip_target_valid,
.equip_target_active {
  display: none;
}

.equip_target_base,
.equip_target_base:hover {
  cursor: pointer;
}

.equip_target_base,
.equip_target_active {
  -webkit-filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.5));
}

.info-airplane {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  border-top: solid 1px gray;
  padding: 10px;
  display: flex;
  justify-content: center;
}
.info-airplane > div {
  margin: 0 25px;
}

.info-airplane > div b {
  font-weight: 700;
}


/*----------------------------------------*/

/* Format tablette portrait */
@media (max-width: 1000px) {
  #equip_selec_dataContainer {
    flex-direction: column-reverse;
  }
  .more-about {
    padding: 60px 20px 20px 20px;
    height: auto;
  }
  .more-about__close {
    font-size: 1.3em;
  }
  .more-about__inner {
    flex-direction: column;
  }
  .more-about__text {
    width: 100%;
    font-size: 1.3em;
    line-height: 1.6em;
  }
  .more-about__img {
    width: 100%;
  }
  .more-about__img > div {
    height: auto;
  }
  .equipmentCard h4 {
    font-size: 1.2em;
  }
  .equipmentPagination {
    font-size: 1.5em;
  }
  #dynamicGraph {
    max-height: 50%;
  }
  #equip_select_cardContainer {
    max-height: 50%;
    overflow: auto;
  }
  .more-about--predictive {
    width: 80%;
  }
  .more-about--predictive .more-about__close {
    top: 94px;
    right: 85px;
  }
}

/* Format mobile */
@media (max-width: 600px) {
  #equip_selec_dataContainer {
    display: block;
  }

  #equip_select_cardContainer,
  #dynamicGraph {
    position: absolute;
    height: 100%;
    width: 100%;
    max-height: initial;
    top: 0;
  }

  #dynamicGraph {
    background: rgba(255,255,255,0.6);
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 8;
  }

  #dynamicGraph button {
    display: block;
    position: relative;
    z-index: 9;
    margin: auto;
  }

  #dynamicGraph img {
    position: relative;
    z-index: 9;
  }

  #equip_selection_graph {
    width: 150%;
    left: -33%;
    transform: initial;
    top: -15%;
  }
  #equip_selection_graph_business {
    width: 135%;
    left: -16%;
    transform: initial;
    top: -25%;
  }

  .learning-mode #equip_selection_graph {
    top: -15%;
  }
  .learning-mode #equip_selection_graph_business {
    top: -25%;
  }

  .equipmentCard {
    margin: 10px;
    padding: 10px;
  }
  .equipmentIllus {
    flex-direction: column;
  }
  .equipmentCard button {
    margin-top: 10px;
  }

  .more-about {
    width: calc(100% - 20px);
    transform: initial;
    left: 0;
    margin: 10px;
    padding: 50px 10px 10px 10px;
  }

  #oilfilterCardMoreAbout .more-about__inner .flex,
  #NLGCardMoreAbout .more-about__inner .flex {
    flex-direction: column;
  }

  #NLGCardPredictiveMoreAbout.more-about {
    width: 100%;
    transform: initial;
    left: 0;
    margin: 10px 0;
    padding: 0;
  }
  #NLGCardPredictiveMoreAbout.more-about .more-about__close {
    bottom: -40px;
    top: initial;
    right: initial;
    left: 50%;
    transform: translateX(-50%);
    /* style main-button */
    background-image: var(--main-gradient);
    color: white;
    border-radius: 50px;
    border: none;
    padding: 10px 25px;
    box-shadow: 4px 4px 6px 0 rgba(0, 0, 0, 0.2), -4px -4px 6px 0 rgba(255, 255, 255, 0.8);
    transition-duration: 0.2s;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
  }

  .info-airplane {
    display: flex;
    flex-wrap: wrap;
  }
}
