:root[data-mode="light"]{
  --bg-mode: #fff;
  --text-mode: #000;
  --icon-mode: #000;
  --logo-light: block;
  --logo-dark: none;
  --hover-mode: #F2F2F2;
  --header-mode: #343a40;
  --shadow-mode: rgba(0, 0, 0, 0.2);
  --bgtitle-mode: #d1a33c;
  --title-mode: #fff;
  --gradient-mode: rgba(255,255,255,0.4);

  /******************************************** */
  --color-switcher: #c4c4c4;
  --color-active: #c1c1c1;
  --border-option: 4px solid #fff;
  --logo-theme: rotate(0deg);
  --color-invert: #1F1F1F;
}

/* gris rgb(149 149 149 / 20%) */ 

:root[data-mode="dark"]{
  --bg-mode: #1f1f1f;
  --text-mode: #fff;
  --icon-mode: #fff;
  --logo-light: none;
  --logo-dark: block;
  --hover-mode: #424242;
  --header-mode: #d8d8d8;
  --shadow-mode: rgba(255, 255, 255, 0.1);
  --bgtitle-mode: #1f1f1f;
--title-mode: #1f1f1f;
--gradient-mode: rgba(0,0,0,0.4);

  /* ******************************************* */
  --transform-option: translate(160%);
  --color-switcher: #d1a33c;
  --color-active: #fff;
  --border-option: none;
  --logo-theme: rotate(180deg);
  --color-invert: #EBEBEB;
}


* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font-family: 'Libre Franklin', Heveltica, Arial, sans-serif;;
}

/*Se quita los scrollbar del cuerpo de la pagina*/
body{
  overflow: hidden;
}

#divtabla{
  font-family: 'Libre Franklin', Heveltica, Arial, sans-serif;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; 
}

/*Clases para quitar el azul cuando se seleccionaba una fila en una tabla de datatable*/
table.dataTable tbody tr.selected, 
table.dataTable tbody th.selected, 
table.dataTable tbody td.selected{
  color: black; 
}

table.dataTable tbody>tr.selected, 
table.dataTable tbody>tr>.selected {
  background-color: darkgray; 
}


table.dataTable tbody th.focus, 
table.dataTable tbody td.focus{
  box-shadow: none;
}

@media only screen and (max-width: 767px){
  #divtabla div.bootstrap-select > div.dropdown-menu{
    min-width: auto !important;
    max-width: calc(100vw - 100px);
  }
}

/*Modales de las vistas*/
.swal2-contentwrapper{
  font-family: 'Libre Franklin', Heveltica, Arial, sans-serif;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; 
}

.swal2-container .swal2-close{
  outline: none;
}

.popover {
  z-index: 1035 !important;
}

/************************************************************************************/

/* estilos mensajes de error */
.swal2-container #divForm .errorInput{
    border: solid 2px red !important;
}

.swal2-container #divForm .errorInput:focus ~ label{
    color: red !important;
}

.swal2-container #divForm .errorInput:valid ~ label{
    color: red !important;
}

.swal2-container #valorForm .errorInput{
    border: solid 2px red !important;
}

.swal2-container #valorForm .errorInput:focus ~ label{
    color: red !important;
}

.swal2-container #valorForm .errorInput:valid ~ label{
    color: red !important;
}


#contenedorM_crear_atributo .errorInput{
    border: solid 2px red !important;
}

#contenedorM_crear_atributo .errorInput:focus ~ label{
    color: red !important;
}

#contenedorM_crear_atributo .errorInput:valid ~ label{
    color: red !important;
}

.msnError{
    color: #d93025;
    font-size: 12px;
}

.msnError span{
    vertical-align: middle;
}

.msnError i{
    vertical-align: middle;
}

/*****************************************************************************************/

.margin-top-name{
  margin-top: 23px;
}

.border-r-select{
  border-radius: 5px;
}

.margin-top-select{
  margin-top: 5px;
}

/*****************************************************************************************/

.disableEvents{
  pointer-events: none;
}

/*****************************************************************************************/

.inner::-webkit-scrollbar-track
{
  background-color: transparent;
}

.inner::-webkit-scrollbar
{
  height: 8px;
  width: 8px;
}

.inner::-webkit-scrollbar-thumb
{
  border-radius: 30px;
  background-color: #999;
}

/*****************************************************************************************/


