/*  Tamaño del formulario */ 
.niveles {
    width: 100%;
    padding: 1% 0 0;

    }
    
    /* Botón Guardar*/
    #btnSave:enabled{
      color: #00c3ff;
    }
    #btnSave:disabled{
      color: #4d4e4e;
    }
    
      /*  Estilo de la tabla  */ 
      .formNiveles {
      position: relative;
      z-index: 1;
      background: rgb(238, 243, 251) ;
      max-width: 1000px;
      margin: 0 auto 5px;
      padding: 4px;
      text-align: center;
      box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
      }
  

    .table-wrapperL {
        box-shadow:2px 2px 3px 0px #5a5d61; 
        background-color: white;  
        border:1px solid #5a5d61;
        min-height: 30vh;
        max-height: 50vh;
        overflow: auto;
        margin-top: 10px;
    }
      
    .table-wrapperL table {
        border-collapse: separate;
        border-spacing: 0px;
    }
      
    .table-wrapperL table thead {
        position: -webkit-sticky; /* Safari... */
        position: sticky;
        top: -1;
        left: 0;
        background: #ffffff;
        z-index: 1;   
    }

    .table-wrapperL table tbody td {
        height: fit-content;
    }


    .recuadro {
      display: inline-block;
      width: 50px;
      height: 25px;
      margin-right: 10px;
      background-color: #c2ffa2d3;
      border: 1px solid black; /* Establece el contorno */
    }
    

    
#descing tr td {
  white-space: nowrap;
}

.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 16px;
  
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: transparent;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(12px);
  -ms-transform: translateX(12px);
  transform: translateX(12px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 33px;
}

.slider.round:before {
  border-radius: 50%;
}

