input,
output {
  display: inline-block;
  vertical-align: middle;
  font-size: 1em;
  font-family: Arial, sans-serif;
}

output {
  background: var(--main-color);
  padding: 5px 16px;
  border-radius: 3px;
  color: #fff;
}

input[type="range"] {
    -webkit-appearance: none;
    margin-right: 15px;
    width: 80%;
    height: 10px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    background-image: linear-gradient(var(--main-color), var(--main-color));
    background-size: 0% 100%;
    background-repeat: no-repeat;
}

/* Input Thumb */
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--main-color);
    cursor: ew-resize;
    box-shadow: 0 0 2px 0 #555;
    transition: background .3s ease-in-out;
}

input[type="range"]::-moz-range-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--main-color);
    cursor: ew-resize;
    box-shadow: 0 0 2px 0 #555;
    transition: background .3s ease-in-out;
}

input[type="range"]::-ms-thumb {
    -webkit-appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--main-color);
    cursor: ew-resize;
    box-shadow: 0 0 2px 0 #555;
    transition: background .3s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb:hover {
    background: #ff0200;
}

input[type="range"]::-moz-range-thumb:hover {
    background: #ff0200;
}

input[type="range"]::-ms-thumb:hover {
    background: #ff0200;
}

/* Input Track */
input[type=range]::-webkit-slider-runnable-track  {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

input[type=range]::-moz-range-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

input[type="range"]::-ms-track {
    -webkit-appearance: none;
    box-shadow: none;
    border: none;
    background: transparent;
}

#rangenumber {
    width: 100%;
    height: 40px;
    border-color: var(--main-color-2);
    border-radius: 5px;
    padding: 5px;
    margin-top: 10px;
}

.errors { color: red; font-size: small;}

.be-txt {
    position: absolute;
    top: -65px;
    left: 0;
    border: 1px solid gray;
    padding: 5px 10px;
    border-radius: 10px;
    width: 100%;
    max-height: 55px;
    display: none;
  }
  .be-txt p {
    font-size: 0.8rem;
    line-height: 22.5px;
    max-height: 0;
    overflow: hidden;
  }
  .be-txt::before {
    content: "";
    position: absolute;
    bottom: -5px;
    right: 25px;
    width: 10px;
    height: 10px;
    border: 1px solid gray;
    transform: rotate(-45deg);
    border-top: none;
    border-right: none;
    background-color: white;
  }
  .be-txt.active {
    display: block;
  }
  .be-txt.active p {
    max-height: 50px;
  }

  .othercss {
    display: none;
    transition: 1;
  }

  .showcss {
    display: none;
    transition: 1;
  }

  .divb{
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
  }

p{
    text-align: left !important;
  }

a.adown:link, a.adown:active, a.adown:visited{
    color: blue;
}

.h5font h5{
  font-size: 1rem;
}