ranged-slider {
    width: 100%;
}

.layer-container {
    display: "flex";
}

.custom-range {
    width: 100%;
    height: 20px;
    position: relative;
    /* margin-bottom: 2em; */
    margin-right: 4.5em;
}

.custom-range-buttons {
    /* width: 5%; */
    font-size: 11px;
    /* transform: translateY(-18px); */
    display: grid;
    position: relative;
    top: -18px;
}

.custom-range__button {
    background: #343434;
    border-radius: 3px;
    opacity: 0.7;
    white-space: nowrap;
    box-shadow: none;
    border: 0;
    color: #fff;
    width: 7em;
    margin: 2px;
}

.custom-range__button:disabled {
    opacity: 0.3;
}

.custom-range__button.play-speed {
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    height: 3px;
    margin-top: 6px;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
    background: #ccc;
}

.custom-range__button.play-speed::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 4px;
    height: 10px;
    border-radius: 30%;
    background: #343434;
    cursor: pointer;
}

.custom-range__button.play-speed::-moz-range-thumb {
    width: 4px;
    height: 10px;
    border-radius: 30%;
    background: #343434;
    cursor: pointer;
}

/* .custom-range__button .load-button {
    transform: translateY(50%);
}
.custom-range__button .play-button {
    transform: translateY(50%);
} */
.custom-range__track {
    height: 6px;
    width: 100%;
    background: transparent;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

.custom-range__track-bg {
    height: 100%;
    width: 98%;
    background: #ccc;
    position: absolute;
    top: 0;
    left: 1%;
}

.custom-range__fill {
    height: 100%;
    /*   width: 10%; */
    background: #2994b2;
    /*   background: linear-gradient(to right, #2994b2 2%, #91157e 100%); */
    position: absolute;
    top: 0;
    left: 1% !Important;
}

.custom-range__handle {
    background: #343434;
    position: absolute;
    cursor: -webkit-grab;
    cursor: grab;
    border-radius: 4px;
    opacity: 0.7;
}

.custom-range__handle.range-select {
    width: 0.5%;
    height: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(215%);
}

.custom-range__handle.cur-select {
    top: -50%;
    /*  box-sizing: border-box; */
    /*  border: solid 1.5em transparent; */
    /*  border-radius: 1.875em; */
    width: 1%;
    height: 100%;
    transform: translateX(85%);
    /* background: linear-gradient(-45deg, #3a3534 20%, #60858a 50%, #3a3534 50%, #3a3534 calc(50% + 1px), rgba(0, 0, 0, 0) calc(50% + 1px)) no-repeat content-box; */
    /* transform: translateY(-25%) rotate(30deg) skewY(30deg) scaleX(0.86603) translateX(-25%); */
    /* filter: drop-shadow(0 0 #3a3534); */
}

.custom-range__handle:focus {
    opacity: 1;
}

.custom-range__handle[disabled='disabled'] {
    opacity: 0.3;
}

/* .custom-range__handle:focus:first-child {
border: 2px solid #2994b2;
}
.custom-range__handle:focus:nth-child(2) {
    border: 2px solid #2994b2;
}
.custom-range__handle:focus:last-child {
border: 2px solid #91157e;
} */
.custom-range__handle-callout {
    position: absolute;
    top: -30%;
    left: 25%;
}

#startCallout {
    display: none;
}

#endCallout {
    display: none;
}

.range-select:is(:hover, :focus, :active)~.cur-select>#curCallout {
    display: none;
}

.range-select:is(:hover, :focus, :active)>#startCallout {
    display: block;
}

.range-select[data-handle-type="end"]:is(:hover, :focus, :active)>#endCallout {
    display: block;
}

.custom-range__handle-callout span {
    width: 6em;
    height: 2em;
    line-height: 2em;
    text-align: center;
    background: #343434;
    color: #fff;
    font-size: 11px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translate(-115%, 0);
    border-radius: 6px;
    opacity: 0.9;
}

.custom-range__handle-callout span:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 10px solid #343434;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    top: 35%;
    left: 105%;
    margin-left: -5px;
    margin-top: -1px;
    transform: rotate(270deg);
}

.custom-range__ticks {
    height: 100%;
    width: 98%;
    background: transparent;
    position: absolute;
    top: 0;
    left: 1%;
    display: flex;
    justify-content: space-between;
}

.custom-range__tick {
    flex-grow: 1;
    /* width: 2px; */
    height: 100%;
    /* background: #fff; */
    cursor: pointer;
    /* border: 0.5px solid #979797; */
    box-sizing: border-box;
}

.custom-range__labels {
    font-size: 12px;
    position: absolute;
    /*   left: 1.3%; */
    left: 1.5em;
    min-width: 100%;
    overflow: visible;
    top: calc(100% + 0.2em);
    white-space: nowrap;
}

.custom-range__labels>.label {
    position: absolute;
    /* display: none; */
    display: block;
}

.prevent-select {
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* @media screen and (max-width: 709px) {
    .custom-range__labels > .label:nth-child(4n + 1) {
      display: block;
    }
  }
  @media screen and (min-width: 710px) {
    .custom-range__labels > .label:nth-child(odd) {
      display: block;
    }
  }
  @media screen and (min-width: 1560px) {
    .custom-range__labels > .label {
      display: block;
    }
  } */
.label {
    transform: translateX(-50%);
}

.custom-range__labeltick {
    border-left: 1px solid #00000080;
    height: 7px;
    position: relative;
    left: 50%;
    top: -33px;
    pointer-events: none;
}

.custom-range__layerbg {
    width: 98%;
    height: 4px;
    top: -100%;
    left: 1%;
    background: rgba(34, 34, 34, 0.05);
    position: absolute;
}

.custom-range__roughnessdatabg {
    height: 100%;
    background: #4e756580;
    position: absolute;
    /* border: 0.01cqmin solid rgb(0, 102, 102); */
    box-sizing: border-box;
}

.custom-range__roughnessdatabg.loaded {
    background: #4e7565;
}

.custom-range__roughnessdatabg.displayed {
    border: 0.01cqmin solid rgb(0, 44, 44);
}

.custom-range__intertidaldatabg {
    height: 100%;
    background: #9e924f80;
    position: absolute;
    /* border: 0.01cqmin solid rgb(0, 102, 102); */
    box-sizing: border-box;
}

.custom-range__intertidaldatabg.loaded {
    background: #93924f;
}

.custom-range__intertidaldatabg.displayed {
    border: 0.01cqmin solid rgb(0, 102, 102);
}

.custom-range__subtidaldatabg {
    height: 100%;
    background: #df816580;
    position: absolute;
    /* border: 0.01cqmin solid rgb(0, 102, 102); */
    box-sizing: border-box;
}

.custom-range__subtidaldatabg.loaded {
    background: #df8165;
}

.custom-range__subtidaldatabg.displayed {
    border: 0.01cqmin solid rgb(0, 102, 102);
}

.custom-range__layercbdiv {
    position: absolute;
    left: 99.7%;
    display: flex;
}

.custom-range__layercblabels {
    position: relative;
    font-size: 10px;
    top: 3px;
}

.custom-range__layercb {
    position: relative;
    height: 9px;
    top: 6px;
}