/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 23px;
  vertical-align:-40%;
  margin:1px;
  margin-right:10px;
  border:1px solid gray;
  border-radius: 24px;
}

/* Hide default HTML checkbox */
.switch input {display:none;}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
  outline:0;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  padding:0px;
  text-align:center;

  content: "";
  height: 15px;
  width: 15px;
  left: 3px;
  bottom: 2px;
  background-color: red;
  -webkit-transition: .4s;
  transition: .4s;
  border:1px solid gray;
  outline:0;
}

input:checked + .slider {
  background-color: #2090F0;
}

input:checked + .slider:before {
  background-color: lightgreen;
}


input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
  outline:0;
}

input:checked + .slider:before {
  -webkit-transform: translateX(25px);
  -ms-transform: translateX(25px);
  transform: translateX(25px);
}

input:disabled + .slider {
  background-color: #555555;
}

input:disabled + .slider:before {
  background-color: #999999;
}

/* Rounded sliders */
.slider.round {
  border-radius: 24px;
  outline:0;
}

.slider.round:before {
  border-radius: 24px;
  outline:0;
}



/* other CSS */
      ::-webkit-scrollbar {
        width: 10px;
        border-radius: 5px;
        cursor:pointer;
      }
      /* Track */
      ::-webkit-scrollbar-track {
      box-shadow: inset 0 0 5px grey;
        background: #f1f1f1;
        border-radius: 5px;
      }

      /* Handle */
      ::-webkit-scrollbar-thumb {
      box-shadow: inset 0 0 4px green;
        background: #88ff88;
        border-radius: 5px;
      }

      /* Handle on hover */
      ::-webkit-scrollbar-thumb:hover {
      box-shadow: inset 0 0 4px #000000;
        background: #44aa44;
        cursor:pointer;
      }


input[type=range]{
    -webkit-appearance: none;
    background:none;
}

input[type=range]::-webkit-slider-runnable-track {
    box-shadow: inset 0 0 4px grey;
    width: 100%;
    height: 7px;
    background: #ddd;
    border: none;
    border-radius: 3px;
    margin-top:3px;
    margin-bottom:3px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #4488ff;
    margin-top: -4px;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]:focus::-webkit-slider-runnable-track {
      box-shadow: inset 0 0 5px #000000;
    background: #ccc;
}

.full-screen {
  cursor:pointer;
  margin-top:-6px;
  vmargin-left:10px;
  background-color:transparent;
  font-size: 20px;
  vertical-align: middle;
  box-sizing: border-box;
  display: inline-block;
  border: .1em solid blue;
  width: 1em;
  height: 1em;
  position: absolute;
  left:15px;

}
.full-screen:before, .full-screen:after {
  content: '';
  background: #04233D;
  position: absolute;
  background-color:rgb(255,242,205);
}
.full-screen:before {
  width: .333em;
  height: 1em;
  left: .233em;
  top: -.1em;
}
.full-screen:after {
  width: 1em;
  height: .333em;
  top: .233em;
  left: -.1em;
}




/* CSS Document */