/* The switch - the box around the slider */

:root{
    --toggle-width: 100%;
   /* --toggle-translate-x: 185px;*/
}
.rnd-pwd-tbl{
	width: 100%;
}
.rnd-pwd-tbl.td{
	width: 50%;
}
.rndpwdswitch {
  position: relative;
  display: inline-block;
  width: var(--toggle-width);
  height: 34px;
}

/* Hide default HTML checkbox */
.rndpwdswitch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.rndpwdtoggle {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

/*.rndpwdtoggle:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}*/

input:checked + .rndpwdtoggle {
  background-color: #2196F3;
}

input:focus + .rndpwdtoggle {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .rndpwdtoggle:before {
  -webkit-transform: translateX(var(--toggle-width));
  -ms-transform: translateX(var(--toggle-width));
  transform: translateX(var(--toggle-width));
}

/* Rounded sliders */
.rndpwdtoggle.rndpwdround {
  border-radius: 34px;
}

.rndpwdtoggle.rndpwdround:before {
  border-radius: 50%;
}

#rnd_pwd_length{
  width: 100%; text-align: center;
}

.rndpwdtxt, .rndpwdtxt:focus{
  font-size: 1.3em;
  border: 1px solid white;
  text-align: center;
  width: 100%;
}

.rndpwdbtn{
  width:100% !important;
  background-color: #2196F3 !important;
  border-radius: 34px !important;  
  font-size: 1em;
  box-shadow: none;
  border: none;
  padding: 8px;
  float: left;
  margin: auto;
}

.rndpwdtoggletxt{
    z-index:999;
    left: 32px;
    top: 4px;
    position: absolute;
    font-size: 1em;
}


.slidecontainer {
  width: 100%;
  text-align: center;
}
.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 32px;
  border-radius: 34px;
  background: #cfc0c0;
  outline: none;
  opacity: 0.7;
  -webkit-transition: .2s;
  transition: opacity .2s;
}

.slider:hover {
  opacity: 1;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px; 
  border-radius: 34px;
  background: #04AA6D;
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 25px;
  height: 25px;
  background: #04AA6D;
  cursor: pointer;
}

