body {
  background: #fff;
  margin: 0;
  padding: 35px 0 0 0;
  font: normal 0.8em/1.3 "Trebuchet MS", Arial, Helvetica, sans-serif;
  overflow: scroll;
  min-width: 100%;
  min-height: 100%;
  display: inline-block;
}

#option {
  position: fixed;
  left: 0; /*calc(50% - 155px);*/
  right: 0;
  top: 0;
  min-height: 26px;
  background: #BFF2DF;
  padding: 4px;
  border-bottom: 1px solid #ccc;
  /*border-top: none;*/
  text-align: center;
  line-height: 22px;
  font-size: 16px;
  /*border-radius: 0 0 4px 4px;*/
}

#option #txt_anim {
  position: absolute;
  top: 7px;
  left: 0;
  background: #BFF2DF;
  z-index: 2;
  padding: 0 5px;
  float: left;
  font-weight: bold;
  font-size: 30px;
  letter-spacing: 1px;
}

#option #btn_anim {
  white-space: nowrap;
  display: inline;
  position: relative;
}
#option #btn_anim::before {
  content: '>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>';
  position: absolute;
  top: 0;
  right: calc(100% + 2px);
  font-weight: bold;
  letter-spacing: 10px;
}

#option input,
#option button {
  background-color: #aaa;
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: bold; /*height: 19px;*/
  margin: 0 1px;
  padding: 4px 4px;
  text-align: center;
  display: inline-block;
  min-width: 26px;
  height: 26px;
}
#option input.inter,
#option button.inter,
#option input.vanne,
#option button.vanne {
  width: 96%;
  text-align: left;
}
#option input.principal,
#option button.principal {
  text-align: center;
  font-variant: small-caps;
}

#option input.activ,
#option input.allume,
#option button.activ,
#option button.allume,
#option #no_bkg[value="1"],
#option #enlarge[value="0"],
#option input.ouverte,
#option button.ouverte {
  background-color: #444;
  color: #fff;
}
#option .vanne.fermee {
  background-color: #f00;
  color: #fff;
}
#option .vanne.fermee::after {
  content: "ferme";
}
#option input:hover,
#option button:hover {
  background-color: #777;
  color: #fff;
}
.trait_reseau {
  display: inline-block;
  width: 40px;
  height: 5px;
  border: 1px solid #999;
  float: right;
  margin-top: 4px;
}

#option input.allume .trait_reseau,
#option button.allume .trait_reseau,
#option input:hover .trait_reseau,
#option button:hover .trait_reseau,
#option input.activ .trait_reseau,
#option input.ouverte .trait_reseau,
#option button.activ .trait_reseau,
#option button.ouverte .trait_reseau {
  border: 1px solid #ccc;
}

.decalage_horizontal {
  padding-left: 15px;
}
.decalage_vertical {
  display: inline;
}
#div_zoom {
  display: inline-block;
}
#div_enlarge {
  display: inline-block;
  font-weight: bold;
}
#option ul {
  margin: 0 0 5px 0;
  padding: 5px 0 0 15px;
  position: relative;
}
#option li ul::before {
  content: "";
  display: block;
  height: calc(100% - 8px);
  width: 1px;
  background: #777;
  color: #777;
  position: absolute;
  top: 0;
  left: 12px;
  z-index: 0;
  height: 128px;
}

#option li {
  display: block;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 1;
}
#option li li::before {
  content: "";
  display: block;
  height: 1px;
  width: 5px;
  background: #777;
  color: #777;
  position: absolute;
  top: 12px;
  left: -2px;
  z-index: 0;
}

#slider {
  margin: 10px auto;
  width: 90%;
  height: 19px;
  border: none;
  background: #aaa;
  border-radius: 1px;
  box-shadow: 1px 1px 2px #b8b8b8;
}
#custom-handle {
  text-align: center;
  width: auto;
  display: block;
  width: 30px;
  height: 23px;
  font-size: 10px;
  padding: 0;
  white-space: nowrap;
  line-height: 23px;
}
#slider .ui-slider-range {
  border: none;
  background: #444;
  border-radius: 1px;
  box-shadow: 1px 1px 2px #b8b8b8;
}

#svg {
  background: #fff url("../img/topo.svg") 0 0 no-repeat;
  background-size: 100% 100%;
  width: 3311px;
  height: 1874px;
  z-index: 50;
  clear: both;
}
#svg.no_bkg {
  background-image: none;
}
#svg svg {
  width: 100%;
  height: 100%;
}

.inter,
.vanne {
  cursor: pointer;
}

.vanne.fermee {
  fill: #f00;
  animation: clignote 2s linear infinite;
}

.cable,
.canalisation {
  opacity: 1;
  stroke-width: 2px !important;
  /*stroke-dasharray: 10px 6px !important;*/
}
.cable.affiche,
.cable.affiche path,
.cable.affiche line,
.cable.affiche polyline,
.canalisation.affiche,
.canalisation.affiche path,
.canalisation.affiche line,
.canalisation.affiche polyline {
  display: inherit;
}

.v0 {
  stroke-dasharray: 0;
}
.v1:not(.nonactif),
.v2:not(.nonactif),
.v3:not(.nonactif) {
  stroke-dasharray: 10px 6px !important;
}
.deplacement.v1:not(.nonactif).td1 {
  animation: deplacement 12s linear infinite;
}
.deplacement_inverse.v1:not(.nonactif).td1 {
  animation: deplacement_inverse 12s linear infinite;
}
.deplacement.v2:not(.nonactif).td1 {
  animation: deplacement 6s linear infinite;
}
.deplacement_inverse.v2:not(.nonactif).td1 {
  animation: deplacement_inverse 6s linear infinite;
}
.deplacement.v3:not(.nonactif).td1 {
  animation: deplacement 3s linear infinite;
}
.deplacement_inverse.v3:not(.nonactif).td1 {
  animation: deplacement_inverse 3s linear infinite;
}

.deplacement.v1:not(.nonactif).td2 {
  animation: deplacement_2temps 12s linear infinite;
}
.deplacement_inverse.v1:not(.nonactif).td2 {
  animation: deplacement_inverse_2temps 12s linear infinite;
}
.deplacement.v2:not(.nonactif).td2 {
  animation: deplacement_2temps 6s linear infinite;
}
.deplacement_inverse.v2:not(.nonactif).td2 {
  animation: deplacement_inverse_2temps 6s linear infinite;
}
.deplacement.v3:not(.nonactif).td2 {
  animation: deplacement_2temps 3s linear infinite;
}
.deplacement_inverse.v3:not(.nonactif).td2 {
  animation: deplacement_inverse_2temps 3s linear infinite;
}

.deplacement.v1:not(.nonactif).td3 {
  animation: deplacement_mixte 12s linear infinite;
}
.deplacement_inverse.v1:not(.nonactif).td3 {
  animation: deplacement_inverse_mixte 12s linear infinite;
}
.deplacement.v2:not(.nonactif).td3 {
  animation: deplacement_mixte 6s linear infinite;
}
.deplacement_inverse.v2:not(.nonactif).td3 {
  animation: deplacement_inverse_mixte 6s linear infinite;
}
.deplacement.v3:not(.nonactif).td3 {
  animation: deplacement_mixte 3s linear infinite;
}
.deplacement_inverse.v3:not(.nonactif).td3 {
  animation: deplacement_inverse_mixte 3s linear infinite;
}

.pluie_qui_tombe {
  animation: averse 3s linear infinite;
}

.compteur_general {
  cursor: pointer;
}
.compteur_general.designe,
#WARNINGDC6 {
  animation: clignote 2s linear infinite;
}
/*.compteur_divisionnaire,
.lot {
  cursor: pointer;
}*/

.canalisation.enlarge,
.canalisation.enlarge path,
.canalisation.enlarge line,
.canalisation.enlarge polyline {
  stroke-width: 4px !important;
  stroke-dasharray: 32px 16px !important;
}

.canalisation.coupee,
.lot.coupe,
.divisionnaire.coupe {
  animation: clignote 2s linear infinite;
  stroke-dasharray: 0 !important;
  stroke-width: 4px !important;
}

.loading_pdf {
  position: fixed;
  z-index: 102;
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  cursor: pointer;
}
.load_pdf {
  position: fixed;
  z-index: 104;
  left: 15px;
  right: 15px;
  top: 15px;
  bottom: 15px; /*max-width:640px; width: calc(100% - 20px);*/
  background: black;
  display: none;
}
.load_pdf .fermer {
  padding: 5px 5px 0 0;
  text-align: right;
  color: #fff;
}
.load_pdf .fermer span {
  cursor: pointer;
  font-weight: bold;
}
.pdf {
  position: absolute;
  z-index: 105;
  left: 1px;
  right: 1px;
  top: 30px;
  bottom: 1px;
  width: calc(100% - 2px);
}
.pdf iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.bassin.remplissage:not(.nonactif) path:nth-child(1) {
  fill: url(#liquid-gradient) !important;
}
.bassin.coupe path:nth-child(1) {
  /*fill:red !important;*/
  animation: clignote 2s linear infinite;
}

@keyframes clignote {
  0% {
    opacity: 1;
  }
  25% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.1;
  }
  75% {
    opacity: 0.6;
  }
  100% {
    opacity: 1;
  }
}
@keyframes deplacement {
  to {
    stroke-dashoffset: 192px;
  }
}

@keyframes deplacement_2temps {
  0% {
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dashoffset: 576px;
  }
  100% {
    stroke-dashoffset: 576px;
  }
}

@keyframes deplacement_mixte {
  0% {
    stroke-dashoffset: 0;
  }
  49.99% {
    stroke-dashoffset: 576px;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: 96px;
  }
}

@keyframes deplacement_inverse {
  to {
    stroke-dashoffset: -192px;
  }
}

@keyframes deplacement_inverse_2temps {
  0% {
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dashoffset: -576px;
  }
  100% {
    stroke-dashoffset: -576px;
  }
}

@keyframes deplacement_inverse_mixte {
  0% {
    stroke-dashoffset: 0;
  }
  49.99% {
    stroke-dashoffset: -576px;
  }
  50% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -96px;
  }
}

@keyframes averse {
  0% {
    transform: matrix(1, 0, 0, 1, -25, 0);
  }
  24% {
    transform: matrix(1, 0, 0, 1, -25, 0);
  }
  25% {
    transform: matrix(1, 0, 0, 1, -25, 15);
  }
  49% {
    transform: matrix(1, 0, 0, 1, -25, 15);
  }
  50% {
    transform: matrix(1, 0, 0, 1, -25, 30);
  }
  74% {
    transform: matrix(1, 0, 0, 1, -25, 30);
  }
  75% {
    transform: matrix(1, 0, 0, 1, -25, 45);
  }
  100% {
    transform: matrix(1, 0, 0, 1, -25, 45);
  }
}

@media (max-width: 1680px) {
  #option #txt_anim {
    font-size: 20px;
  }
}
@media (max-width: 1160px) {
  #option #txt_anim {
    font-size: 15px;
  }
}
@media (max-width: 1000px) {
  #option #txt_anim {
    font-size: 13px;
  }
}
@media (max-width: 830px) {
  #option #txt_anim {
    position: relative;
    top: inherit;
    left: inherit;
    float: none;
    text-align: center;
  }
  #option #btn_anim::before {
    content: '';
    display: none;
  }
}
@media (max-width: 500px) {
  body {
    padding: 57px 0 0 0;
  }
}
@media (max-width: 440px) {
  #option {
    font-size: 0.9em;
  }
  .trait_reseau {
    width: 20px;
  }
}

/*.canalisation {
  stroke-width: 10px !important;
  stroke-dasharray: 32px 16px !important;
}*/
