.auth-bg{
    background-image: url("../images/bg-3.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    .bg-overlay{
        opacity: 0.9;
    }
    @media (min-width: 768px){
        height: 100vh;
    }
}

.card{
    /* box-shadow: 2px 2px 9px #00000069; */
    border-radius: 4px;
    border: 1px solid #e5e5e5;
}

[data-bs-theme=dark] .sombra_titulo{
    text-shadow: 0px 0px 0px #ffffff00;
}
[data-bs-theme=light] .sombra_titulo{
    text-shadow: 1px 1px 1px #4f4f4f61
}

.help-block{
    font-size: x-small;
    margin-left: 1em;
    font-style: italic;
}
.asterisk{
    color:red;
    font-weight: bold;
}
.rojo{
    color:#fd625e!important;
    /* font-weight: bold; */
}
.naranja{
    color:#e66109!important;
    /* font-weight: bold; */
}
.azul{
    color:#0a14d1!important;
    /* font-weight: bold; */
}
.amarillo{
    color:#cdca00 !important
    /* font-weight: bold; */
}
.verde{
    color:#60bc04 !important
    /* font-weight: bold; */
}
.textoBlanco{
    color:#ffffff !important
    /* font-weight: bold; */
}
.negro{
    color:#000000 !important
    /* font-weight: bold; */
}




/* Botón acciones en las tablas más pequeños */
.boton-acciones{
    padding: 1px 2px 1px 7px !important;
    font-size: x-small;
    box-shadow:0px 0px 0px white;
    border-radius: 2px;
}

.boton-acciones-2{
    padding: 1px 7px 1px 7px !important;
    font-size: x-small;
}
.btn-sm{
    font-size: x-small;
}

.btn_datatables{
    /* color:white;
    border-radius: 2px;
    font-size: x-small!important; */

    color: #282828;
    border-radius: 2px;
    font-size: x-small !important;
    background: #e3e3e3;
    border: 1px solid #c5c5c5;
    box-shadow: 0px 0px 0px;

}



/* Hace las filas de las tablas más estrechas */
.table td{
    vertical-align: bottom !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}


/* Cambia el header de las tablas  */
.tabla-custom{
    --bs-table-color: #000;
    --bs-table-bg: #e3e3e3;
    --bs-table-border-color: #dddbdb;
    --bs-table-striped-bg: #73efff;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #73efff !important; /*e6dac7;*/
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #73efff !important; /*ece0cc;*/
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);
    border-bottom: 4px solid #918383 !important;
    /* border-left: 3px solid #918383 !important; */
}
.tabla-administracion{
    --bs-table-color: #ffffff;
    --bs-table-bg: #5ca7f2;
    --bs-table-border-color: #5ca7f2;
    --bs-table-striped-bg: #73efff;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #73efff !important;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #73efff !important;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: var(--bs-table-border-color);    
    border-bottom: 3px solid #0f31b3 !important;
    line-height: 1;
}
.linea-pequena{
    line-height: 7px !important;
    th{
        font-weight: normal;
    }
}
.sin-padding{
    padding-left: 0px;
}
.celda-recortada{
    td{
        padding: 0 5px 4px 5px !important;
    }
}
.celda_media{
    td{
        vertical-align: middle !important;
    }
}

/* Select2 */

[data-bs-theme=dark] .select2-selection__rendered{
    color: #b6bfc7;
}
[data-bs-theme=dark] .select2-selection{
    background-color: #2c302e !important;
    /* margin-top: 4px; */
}
[data-bs-theme=dark] .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #b8c0c9 !important;
}
[data-bs-theme=dark] .select2-results__options{
    background: #2c302e;
}
[data-bs-theme=dark] .select2-search--dropdown{
    background: #2c302e!important;
}
[data-bs-theme=dark] .select2-search__field{
    border:0px !important;
}
.select2-selection{
    margin-top: 4px;
}
.select2-search__field{
    background-color: #4f4f4f!important;
}
.select2-search__field:focus{
    outline:none;
}

/* SideBar color */

/* Tema oscuro */
[data-bs-theme=dark] .mm-active a.active{
    color:white !important;
    font-weight: bold;
    background: #c50b0b;/*#5a5a5a;*/
    box-shadow: 0px 1px 4px #000000ad;
}
[data-bs-theme=dark] .mm-active a.active svg{
    color:#bebebe !important;
}
[data-bs-theme=dark] .mm-active>a{
    color:white !important;
}
[data-bs-theme=dark] .mm-active>a svg{
    color:white !important;
}
/* [data-bs-theme=dark] .mm-active {
    a:hover{
    background-color: #020789 !important;
    color: white !important;
    }
    svg{
        color: white !important;
    }
} */

/* Tema Claro */

/* [data-bs-theme=light] .mm-active a.active{
    color:black !important;
    font-weight: bold;
    background-color:#dfdfdf;
    box-shadow: 0px 1px 4px #000000ad;
}
[data-bs-theme=light] .mm-active a.active svg{
    color:black !important;
    font-weight: bold;
    background-color: #dfdfdf;
}
[data-bs-theme=light] .mm-active>a{
    color:#434343 !important;
}
[data-bs-theme=light] .mm-active>a svg{
    color:#434343 !important;
}
[data-bs-theme=light] .mm-active {
    a:hover{
    background-color: #020789 !important;
    color: white !important;
    }
    svg{
        color: #434343 !important;
    }
} */

/* badge custom */
.badge-custom{
    padding: 6px 12px 6px 12px!important;
    width: 80%;
}

/* Botonera encima de las datatables */
.dt-buttons{
    margin-bottom: 8px!important;

    button{
        font-size:smaller;
    }
}

/* Fila HOVER Datatable */
.table-hover{
    --bs-table-hover-bg: #515151;
}
[data-bs-theme=light] .table-hover{
    --bs-table-hover-bg: #d7d7d7;
}

/* Titulos Fjos (No links) en SideBar */
.menu-title{
    text-transform: uppercase;
    font-style: normal;
    font-weight: bold;
    background: #ebebeb;
    color: #3F3F3F !important;
    font-size: 11px;
    margin-bottom: 3px;
}
/* [data-bs-theme=light] .menu-title{
    text-transform: uppercase;
    font-style: italic;
    font-weight: 200;
    background: #d1d1d1;
    color: black !important;
} */
/*Items del dropdown en las tablas COLORINES*/
.dropdown-menu li {
    margin-top: 9px;
    margin-left: 3px;
}
[data-bs-theme=dark] .dropdown-menu li {
    a{
        color:#949494 !important;
    }
    a:hover{
        color: white!important;
    }
}
[data-bs-theme=light] .dropdown-menu li {    
    a{
        color:#6b6b6b !important;
    }
    a:hover{
        color: black!important;
    }
}

/*Items del menú lateral COLORINES*/
/* #sidebar-menu {
    span{
        font-size: small;
    }
    a{
        font-size: small!important;
    }
} */

[data-bs-theme=dark] #sidebar-menu ul li a {
    color: #949494 !important;
    svg{
        color: #949494 !important;
    }
}
[data-bs-theme=dark] #sidebar-menu .mm-active .active{
    color: white !important;
    svg{
        color: white !important;
    }

}
/* [data-bs-theme=light] #sidebar-menu ul li a {
    color: #6b6b6b !important;
    svg{
        color: #6b6b6b !important;
    }
} */

[data-bs-theme=dark] #sidebar-menu ul li {
    a:hover{
        background-color: #020789 !important;
        color: white !important;
        svg{
            color: white !important;
        }
    }
    .logoEmpresa:hover{
        background-color: var(--bs-footer-bg) !important;
       
    }

}
/* [data-bs-theme=light] #sidebar-menu ul li {
    a:hover{
        background-color: #020789 !important;
        color: white !important;
        svg{
            color: white !important;
        }
    }
    .logoEmpresa:hover{
        background-color: var(--bs-footer-bg) !important;
       
    }

} */

.main-content{
    font-size: small!important;
}

.recortado {
    overflow: hidden; /* this is what fixes the expansion */
    text-overflow: ellipsis; /* not supported in all browsers, but I accepted the tradeoff */
    white-space: nowrap;
}
.tabla_recortada{
    table-layout: fixed;
}
/*Selector de fechas */
.flatpickr-months, .flatpickr-weekdays {
    background-color: #cf1f1f;
}
.flatpickr-day.selected {
    background-color: #63be51 !important;
    border-color: #63be51 !important;
    color: #fff !important;
}

[data-bs-theme=dark] .flatpickr-day.inRange{
    background-color: #8d8d8d !important;
    border-color:  #8d8d8d !important;
    -webkit-box-shadow: -5px 0 0 #8d8d8d, 5px 0 0 #8d8d8d;
    box-shadow: -5px 0 0 #8d8d8d, 5px 0 0 #8d8d8d;
}
[data-bs-theme=light] .flatpickr-day.inRange{
    background-color: #8d8d8d !important;
    border-color:  #8d8d8d !important;
}

.boton_margen{
    margin-right: 3px;
    font-size: smaller;
}

.text-right{
    text-align: right;
}
.text-strong{
    font-weight: bold;
}
.padreSeguridad{
    border: 1px solid #929292;
    padding: 10px;
    margin-bottom: 5px;
    height: 150px;
    font-size: 2em !important;
}
.padreSeguridad .h6{
    font-size: 1.175rem !important;
}
.hijoSeguridad{
    border: 1px dashed #929292;
    padding: 10px;
    margin-bottom: 5px;
    height: 150px;
}
.hijoSeguridad .h6{
    font-size: .875rem !important;
}
.nietoSeguridad{
    border: 1px dotted #929292;
    padding: 10px;
    margin-bottom: 20px;
    height: 150px;
}
.nietoSeguridad .h6{
    font-size: .675rem !important;
}

/*Estilos Loading*/
.cssload-thecube {
	width: 244px;
	height: 244px;
	margin: 0 auto;
	margin-top: 163px;
	position: relative;
	transform: rotateZ(45deg);
		-o-transform: rotateZ(45deg);
		-ms-transform: rotateZ(45deg);
		-webkit-transform: rotateZ(45deg);
		-moz-transform: rotateZ(45deg);
}
.cssload-thecube .cssload-cube {
	position: relative;
	transform: rotateZ(45deg);
		-o-transform: rotateZ(45deg);
		-ms-transform: rotateZ(45deg);
		-webkit-transform: rotateZ(45deg);
		-moz-transform: rotateZ(45deg);
}
.cssload-thecube .cssload-cube {
	float: left;
	width: 50%;
	height: 50%;
	position: relative;
	transform: scale(1.1);
		-o-transform: scale(1.1);
		-ms-transform: scale(1.1);
		-webkit-transform: scale(1.1);
		-moz-transform: scale(1.1);
}
.cssload-thecube .cssload-cube:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #0095bd;
	animation: cssload-fold-thecube 3.12s infinite linear both;
		-o-animation: cssload-fold-thecube 3.12s infinite linear both;
		-ms-animation: cssload-fold-thecube 3.12s infinite linear both;
		-webkit-animation: cssload-fold-thecube 3.12s infinite linear both;
		-moz-animation: cssload-fold-thecube 3.12s infinite linear both;
	transform-origin: 100% 100%;
		-o-transform-origin: 100% 100%;
		-ms-transform-origin: 100% 100%;
		-webkit-transform-origin: 100% 100%;
		-moz-transform-origin: 100% 100%;
}
.cssload-thecube .cssload-c2 {
	transform: scale(1.1) rotateZ(90deg);
		-o-transform: scale(1.1) rotateZ(90deg);
		-ms-transform: scale(1.1) rotateZ(90deg);
		-webkit-transform: scale(1.1) rotateZ(90deg);
		-moz-transform: scale(1.1) rotateZ(90deg);
}
.cssload-thecube .cssload-c3 {
	transform: scale(1.1) rotateZ(180deg);
		-o-transform: scale(1.1) rotateZ(180deg);
		-ms-transform: scale(1.1) rotateZ(180deg);
		-webkit-transform: scale(1.1) rotateZ(180deg);
		-moz-transform: scale(1.1) rotateZ(180deg);
}
.cssload-thecube .cssload-c4 {
	transform: scale(1.1) rotateZ(270deg);
		-o-transform: scale(1.1) rotateZ(270deg);
		-ms-transform: scale(1.1) rotateZ(270deg);
		-webkit-transform: scale(1.1) rotateZ(270deg);
		-moz-transform: scale(1.1) rotateZ(270deg);
}
.cssload-thecube .cssload-c2:before {
	animation-delay: 0.39s;
		-o-animation-delay: 0.39s;
		-ms-animation-delay: 0.39s;
		-webkit-animation-delay: 0.39s;
		-moz-animation-delay: 0.39s;
}
.cssload-thecube .cssload-c3:before {
	animation-delay: 0.78s;
		-o-animation-delay: 0.78s;
		-ms-animation-delay: 0.78s;
		-webkit-animation-delay: 0.78s;
		-moz-animation-delay: 0.78s;
}
.cssload-thecube .cssload-c4:before {
	animation-delay: 1.17s;
		-o-animation-delay: 1.17s;
		-ms-animation-delay: 1.17s;
		-webkit-animation-delay: 1.17s;
		-moz-animation-delay: 1.17s;
}

#loadBloked{
    height: 100%;
    position: fixed;
    width: 100%;
    background-color: white;
    z-index: 999999;
    text-align: center;
    padding-top: 10%;
    opacity: 0.9;
}

  .cargando{
      width: 120px;
      height: 30px;
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end;
      justify-content: space-between;
    margin: 0 auto;
  }
  .texto-cargando{
    padding-top:20px
  }
  .cargando span{
      font-size: 20px;
      text-transform: uppercase;
  }
  .pelotas {
      width: 30px;
      height: 30px;
      background-color: #00b8de;
      animation: salto .5s alternate
      infinite;
    border-radius: 50%
  }
  .pelotas:nth-child(2) {
      animation-delay: .18s;
  }
  .pelotas:nth-child(3) {
      animation-delay: .37s;
  }
  @keyframes salto {
      from {
          transform: scaleX(1.25);
      }
      to{
          transform:
          translateY(-50px) scaleX(1);
      }
  }


[data-bs-theme=dark] .panel-busqueda{
    background-color: #353736 !important;
}
[data-bs-theme=light] .panel-busqueda{
    background-color: #e5e1e1 !important;
    padding-bottom: 5px;    
}


.nav-header{
    box-shadow: 0px 1px 11px 0px #0000007a;
}

.pristine-error{
    margin-left: 16em;
    font-size:smaller;
}
[data-bs-theme=dark] .header-pequeno{
    padding: 1em 1em 1em 1em;
    background: rgb(64,182,252);
    background: linear-gradient(225deg, rgba(64,182,252,1) 0%,  rgba(52,87,215,1) 100%);
    h4{
        color:white;
    }
}
[data-bs-theme=light] .header-pequeno{
    padding: 1em 1em 1em 1em;
    /*Azul*/
    /* background: rgb(64,182,252);
    /* background: linear-gradient(225deg, rgba(64,182,252,1) 0%,  rgba(52,87,215,1) 100%); */
    /* background: linear-gradient(225deg, rgba(255,255,255) 0%,  rgba(245,93,0) 100%); */
    
    /*Naranja*/
    /* background: rgb(245,93,0); */
    /* background: linear-gradient(225, rgb(240 129 15) 0%, rgb(242 179 24) 100%); */

    /*Verde*/
    background: #67cd66;
    /* background: linear-gradient(180deg, rgba(64,182,252,1) 0%,  rgba(52,87,215,1) 100%); */
    h4{
        color:white;
    }
}

/* .fondo-header-tabla{
    background: rgb(64,182,252);
    background: linear-gradient(180deg, rgba(64,182,252,1) 0%,  rgba(52,87,215,1) 100%);
    border: 1px solid #56b1fd;
} */
.form-check-input:checked{
    background-color: #00a119!important;
    border-color: #00c100!important;
}
.form-check-input:checked.rojo{
    background-color: #db0000!important;
    border-color: #c14d00!important;
}


/* .form-control:disabled {
    background-color: #4c4d4c !important;    
} */
.daterangepicker .input-mini {
    background: white;
}
.txt_small{
    font-size: 11px!important;
}    
.tr-red {
    border-top: 2px solid #f9a1a1;
    border-bottom: 2px solid #f9a1a1;
}
[data-bs-theme=dark] .tr-red td {
    border-top: 2px solid #f9a1a1;
    border-bottom: 2px solid #f9a1a1;
    background-color: #ffd1d1 !important;
    color:black
}
[data-bs-theme=light] .tr-red td {
    border-top: 2px solid #f9a1a1;
    border-bottom: 2px solid #f9a1a1;
    background-color: #ffd1d1 !important;
    color:black
}

.dropdown-menu .texto-small{
    font-size:7px!important;
}
.btn-md{
    font-size: 13px !important;
    --bs-btn-padding-y: 0.45rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.765625rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
}

[data-bs-theme=dark] .tabla_totales {
    background: #494949;
    color:white;
    font-size:13px;
}
[data-bs-theme=light] .tabla_totales {
    background: #c1c0c0;
    color:black;
    font-size:13px;
}
.no-padding{
    padding: 0px;
}
.card-body{
    padding-left: 5px;
    padding-top: 5px;
    padding-right: 5px;
}
.twitter-typeahead{
    width:100%;
}
/* //ESTO ES EL TYPEAHEAD */
    .tt-suggestion {
        padding: 10px;
        border-bottom: 1px solid #ddd;
        cursor: pointer;
        width:380px;
        border-radius:4px;
    }
    .tt-suggestion:hover {
        background-color: #f5f5f5;
    }
    .no-results {
        padding: 10px;
        color: #888;
        text-align: left;
        background:white;
        width:380px
    }
    .suggestion-item{
        font-size:14px;
    }
    .suggestion-item strong {
        color: #333;
    }
    .suggestion-item small {
        color: #888;
    }
/* //ESTO ES EL TYPEAHEAD */

[data-bs-theme=dark] .fila_total{
    text-align: right!important;
    font-style: italic;
    background: #353535!important;
}
[data-bs-theme=light] .fila_total{
    text-align: right!important;
    font-style: italic;
    background: #e5e5e5!important;
}
.campo_numero_factura_proveedores{
    padding:2px;
    font-size: 11px;
}
.hidden{
    display:none;
}
.subconjunto{
    font-size: inherit;
}
.error{
    font-size: xx-small;
    color:#e91c19;
    font-style: italic;
}

.chosen-container{
    width: 100% !important;
}

.btn-sin-sombra{
    box-shadow: 0px 0px 0px!important;
}

.tipo_producto svg{
    width: 24px;
    height: 24px;
}
.campo_albaran{
    text-align: right;
    width: 100%;
}
.input-recortado{
    input{
        padding: 0px;
        
        &:disabled {
            padding-right: 4px;
        }
    }
    span{
        padding: 5px 8px;
    }
}
.clausula{
    font-size: smaller;
    font-style: italic;
    margin-top: 3px;
}

.swal2-select{
    max-width: 85%!important;
}

.badge_ancho{
    width: 100%;
    border-radius: 2px!important;
}
.fila_totales{
    line-height: 0.5!important;
    font-style: italic!important;
}
/* Datatable */
.dt-search{
    margin-bottom: 4px;
}
.padding-limitado{
    padding: 2px 0px;
}
#modalGestionCobro .control-label{
    padding-top:0px!important;
}
body[data-sidebar-size=sm] .vertical-menu #sidebar-menu > ul > li > a svg {
    height: 30px; 
    width: 30px;  
    margin-right: 0px;
  }