/* CompareViewer CSS */

div.CompareViewer {
  width: 100%;
  height: 500px;
  z-index: 3000;
}
rect.cadre {
  fill: rgb(255, 255, 209);
  stroke: lightblue;
}

rect.cadreRev {
  fill: rgb(209, 209, 255);
  stroke: lightblue;
}

rect.cadre:hover {
  fill: rgb(251, 115, 105);
  stroke: rgb(255, 0, 0);

}


.physical {
  width: calc(100% - 10px);
  height: calc(100% - var(--info-height) );
}

div#PhysicalViewer {
  width: 100%;
  height: 100%;
  z-index: 3000;
  border-radius: 0px 0px 5px 5px;
}

path.domain {
    stroke: white;
}


/* style range */
input[type=range] {
  width: var(--input-width);
  max-width: var(--input-width);
  margin-left: 0;
}

/* style datalist */
input[type=range] + datalist {
  display: flex;
  margin-top: -4px;
}
input[type=range] + datalist option {
  display: inline-block;
  width: calc((var(--input-width) - 12px) / (var(--list-length) - 1));
  text-align: center;
}
input[type=range] + datalist option:first-child {
  width: calc((var(--input-width) - 12px) / ((var(--list-length) - 1) * 2) + 6px);
  text-align: left;
}
input[type=range] + datalist option:last-child {
  width: calc(var(--input-width) - 12px) / ((var(--list-length) - 1) * 2) + 6px);
  text-align: right;
}


/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(34px);
  -ms-transform: translateX(34px);
  transform: translateX(34px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}