/* https://danielstern.ca/range.css/?ref=css-tricks#/ */

input[ type='text' ], textarea{
  
  all: unset;

  appearance: none;

  display:inline-block;
  box-sizing: border-box;

  padding-top: 0.2em;
  padding-bottom: 0.2em;

  border:1px solid gray;
  background-color:whitesmoke;
  color:rgb(70,70,70);

}

textarea{

  resize:both;
  word-wrap:break-word;
  scrollbar-width:thin;

}

textarea:focus{

  border:1px solid blue;
  caret-color: blue;
  color:black;

}


input:not( [type='checkbox'] ):not( [type='range'] ):focus{
  border:1px solid blue;
  caret-color: blue;
  color:black;
}

input:not( [type='file'] ):not( [type='range'] ):focus{
  background-color:rgb(230, 230, 230);
}

/* temporary */
input[ type='range' ]{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid red;
}

input{
  padding: 0;
}







input[type="range"]{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 150px;
  height: 20px;
  background-color: transparent;
}


/* RANGE INPUTS TRACK */

input[type="range"]::-webkit-slider-runnable-track{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  background-color: transparent;
  color: transparent;
  position: relative;
  display: block;
  left: 0;
  top: 0;
  border: 3px solid blue;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

input[type="range"]::-moz-range-track{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  background-color: transparent;
  color: transparent;
  position: relative;
  display: block;
  left: 0;
  top: 0;
  border: 3px solid blue;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

input[type="range"]::-ms-track{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  background-color: transparent;
  color: transparent;
  position: relative;
  display: block;
  left: 0;
  top: 0;
  border: 3px solid blue;
  width: 100%;
  height: 100%;
  cursor: pointer;
}


/* RANGE INPUTS THUMB */

input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  background-color: orange;
  position: relative;
  display: block;
  left: 0;
  top: 0;
  border: 3px solid blue;
  border-radius: 0;
  width: 10px;
  height: 10px;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  background-color: orange;
  position: relative;
  display: block;
  left: 0;
  top: 0;
  border: 3px solid blue;
  border-radius: 0;
  width: 10px;
  height: 10px;
  cursor: pointer;
}

input[type="range"]::-ms-thumb{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-sizing: border-box;
  background-color: orange;
  position: relative;
  display: block;
  left: 0;
  top: 0;
  border: 3px solid blue;
  border-radius: 0;
  width: 10px;
  height: 10px;
  cursor: pointer;
}







/* misc */

input[type="range"]::-ms-fill-lower{
  background: transparent;
  border: 0;
}
input[type="range"]::-ms-fill-upper{
  background: transparent;
  border: 0;
}


/* versions of edge before chromiem*/
@supports (-ms-ime-align:auto) {
}