/**
 * Esup-Pod video-cutter styles
 */

#wrapper_cut {
  position: relative;
  width: 100%;
  padding: 50px 10px 20px;
  border-radius: 10px;
}

#container_cut {
  position: relative;
  width: 100%;
  height: 100px;
}

input[type="range"] {
  appearance: none;
  width: 100%;
  outline: none;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  background-color: transparent;
  pointer-events: none;
}

.slider-track {
  width: 100%;
  height: 10px;
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  border-radius: 5px;
  background-color: var(--pod-primary);
}

/**
 * Range track styles
 **/

input[type="range"]::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  height: 5px;
}

input[type="range"]::-moz-range-track {
  -moz-appearance: none;
  height: 5px;
}

input[type="range"]::-ms-track {
  appearance: none;
  height: 5px;
}

/**
 * Range thumb styles
 **/

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  margin-top: -9px;
  border: 1px solid gray;
  height: 1.7em;
  width: 1.7em;
  cursor: pointer;
  pointer-events: auto;
  border-radius: 50%;
  background-color: #fff;
}

input[type="range"]::-moz-range-thumb {
  appearance: none;
  height: 1.7em;
  width: 1.7em;
  cursor: pointer;
  pointer-events: auto;
  border-radius: 50%;
  background-color: #fff;
}

input[type="range"]::-ms-thumb {
  appearance: none;
  height: 1.7em;
  width: 1.7em;
  cursor: pointer;
  pointer-events: auto;
  border-radius: 50%;
  background-color: #fff;
}

#container_cut {
  /* --bs-btn-focus-shadow-rgb: var(--pod-primary-rgb); */
  --bs-btn-focus-shadow-rgb: 200, 200, 253;
  --bs-btn-focus-box-shadow: 0 0 0 0.25rem
    rgb(var(--bs-btn-focus-shadow-rgb) / 50%);
}

input[type="range"]:active::-webkit-slider-thumb,
input[type="range"]:focus-visible::-webkit-slider-thumb {
  border: 3px solid var(--pod-primary);
  background-color: var(--bs-info-border-subtle);
  box-shadow: var(--bs-btn-focus-box-shadow);
}

input[type="range"]:active::-moz-range-thumb,
input[type="range"]:focus-visible::-moz-range-thumb {
  border: 3px solid var(--pod-primary);
  background-color: rgb(var(--bs-btn-focus-shadow-rgb));
  box-shadow: var(--bs-btn-focus-box-shadow);
}

#values_cut {
  width: 70%;
  min-width: 22em;
  position: relative;
  margin: auto;
  padding: 10px 0;
  border-radius: 5px;
  text-align: center;
  font-weight: 500;
  font-size: 25px;
}

#values_cut::before {
  content: "";
  position: absolute;
  height: 0;
  width: 0;
  border-top: 15px solid var(--pod-primary);
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  margin: auto;
  bottom: -14px;
  left: 0;
  right: 0;
}

#total_time {
  display: inline-block;
  box-sizing: unset;
}

input[type="time"],
#wrapper_cut,
#values_cut {
  caret-color: transparent;
}

#button_start,
#button_end {
  display: flex;
  font-size: 34px;
  line-height: 34px;
}

#cut_video {
  display: block;
  width: 60%;
  margin: auto;
}

.time_input {
  display: flex;
  flex-direction: column-reverse;
}

.time_input label {
  font-size: 20px;
}

#time_for_cut {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
