

@font-face{
    font-family: FuturaBold;
    src: url('../css/fonts/FuturaPTBold.otf');
}

@font-face{
    font-family: FuturaHeavy;
    src: url('../css/fonts/FuturaPTHeavy.otf');
}
@font-face{
    font-family: FuturaMedium;
    src: url('../css/fonts/FuturaPTMedium.otf');
}

@font-face{
    font-family: FuturaLight;
    src: url('../css/fonts/FuturaPTLight.otf');
}

body{
        font-family: "FuturaLight", Arial;
}

:root{

    --color-fondo:#1CA79E;
    --texto-color:#1CA79E;
    --color-white:#ffffff;
    --color-dark:#343a40;
    --color-table:#e6ecef;
    --color-th:#e6ecea;
   

}

pre {
    display: block;
    padding: 9.5px;
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.42857143;
    color: #333;
    word-break: break-all;
    word-wrap: break-word;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
}



/*=========================================================
        ESTILIZACIONDE DATATABLE
===========================================================*/

/*input[type="search"]{

    border-radius: 10px !important;
}

*/



.editarCheckName label{

    font-size: .9rem;
    
}

.lista-unidades li{
    text-decoration: none;
    list-style:none;
}


.backColor-static{

    background-color: var(--color-fondo);
    color: var(--color-white); 

}

.backColor{

    background-color: var(--color-fondo);
    color: var(--color-white); 
    transition: .3s ease-in-out;
   
}

.backColor:hover{

    background-color:var(--color-white); 
    color: var(--texto-color);
    border: 1px solid var(--color-fondo);
}

.bg-backLogin{
    background-color: rgba(239,239,239,0.5);
}

.custom-fa{
    font-size: .9rem !important;
}

#back-img {
    position: absolute;
    background-size: cover !important;
    background-repeat: no-repeat;
    background: url(../img/plantilla/back02.jpg);
    height: 100vh;
    left: 0;
    overflow: hidden;
    top: 0;
    width: 100%;
    z-index: -1;
    border-radius: 0.4rem;
    /*object-fit: contain;*/
}


div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm{
    background-color: var(--color-table);
}


.empresaComercial{
    display: flex;
    justify-content: center;
}

/*============================================
 EFECTO spinner
==============================================*/
#loading-max{
    position: fixed;
    top:0;
    left: 0;
    width:100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    display: none;
    z-index: 9999;

}

.loading-spinner{

    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top:4px solid var(--color-dark);
    border-radius: 50%;
    animation: spin 2s linear infinite;
}


#empresaPerteneceId option:nth-child(2) {

    color: #ffffff;
    font-weight: bold;
    background-color: #17a2b2; 
    border-radius: 1rem;

}

@keyframes spin{

    0% { 

        transform: rotate(0deg); 

    }

    100% { 

        transform: rotate(360deg); 

    }

}

.card-border-info-2{
    
    border-top: 4px solid #343a40 !important;

}   

.swal2-confirm {
    
    /*background-color: #1CA79E;*/
     background-color: var(--color-dark);
}


.main-header .navbar .nav > li > a > .badge {
    position: absolute;
    top: 9px;
    right: 7px;
    text-align: center;
    font-size: 9px;
    padding: 2px 3px;
    line-height: .9;
}

/*.dropdown-menu{
  width: 280px;
      
}*/

.navbar-nav > .tasks-menu > .dropdown-menu > li .menu > li > a > h3{
  font-size: 14px;
    padding: 0;
    margin: 0 0 10px 0;
    color: #666666;
}

.navbar-nav > li > .dropdown-menu {
    position: absolute;
    right: -9px;
    left: auto;
}

.main-header .navbar .nav .open>a:hover{
      background: rgba(0,0,0,0.1);
    color: #f6f6f6;
}


.navbar-nav > .user-menu > .dropdown-menu > li.user-header {
    height: 120px;
  }

  .navbar-nav > .user-menu > .dropdown-menu {
  
    margin-top: 7px;
    right: -7px;

  }


div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {

    background-color: var(--color-dark) !important;

}

div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .5)!important;
}

/*table > tbody> tr > td{
    text-align: center;
}
*/
.table th, .table td{
    padding: 0.45rem;
    font-size: 12px;
}
/*============================================
 PERSONALIZACION DE INPUT FILE
==============================================*/

#customFile .custom-file-control:lang(en)::after {
  content: "Select file...";
}

#customFile .custom-file-control:lang(en)::before {
  content: "Click me";
}

/*when a value is selected, this class removes the content */
.custom-file-control.selected:lang(en)::after {
  content: "" !important;
}

.custom-file {
  overflow: hidden;
}
.custom-file-control {
  white-space: nowrap;
}




/*============================================
 PERSONALIZACION DE DATABLE GENERAL
==============================================*/
.custom-file-label::after{

    content: "Buscar" !important;
}

/*  .dataTables_wrapper {

    background-color: #e6ecef;
    border: 2px solid var(--color-dark);
    border-radius: 12px;
    font-size: .9em;
    padding-bottom: 2px;
    box-shadow: 3px 3px 8px 1px rgba(0,0,0,.16);
}

 .dataTables_filter {

    text-align: right;
    padding: 10px 15px;
    background: var(--color-table);
    color: #000;
    border-radius: 0px 10px 0px 0px;
    margin-left: 0px;
    font-size: 0.9rem;

}

.dataTables_length{

    background: var(--color-table);
    color: #000;
    padding: 5px 10px;
    border-radius: 10px 0px 0px 0;
    margin-right: -15px;

}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 2px 20px;
    white-space: nowrap;
    display: flex;
    justify-content: flex-end;
}*/

/*div.dataTables_wrapper div.dataTables_length select {

    width: 25px;
    padding:2px;
    width: auto;
    display: inline-block;
     /*padding: 15px 15px;*/
/*}*/


input[type="search"]{
    width: 250px !important;
    border-radius: .5rem;
    font-size: .7rem;
}

/*]

.pagination {
    display: inline-block;
    padding-left: 0;
     margin: 20px 0; 
    border-radius: 4px;
     font-size: .8em;
}
*/
/*.pagination li a{

    font-size: 0.7rem;
}*/

/*.dataTables_info{
    padding: 0px 1rem;
}

select.input-sm {
    border-radius: 8px;
    font-size:12px;
}


.dataTables_wrapper .dataTables_length label {
    padding: 10px 10px 0;
}

div.dataTables_length label {
    
    font-weight: 400;
    text-align: left;
    white-space: nowrap;
}

table.dataTable {

    max-width: auto;
    font-size: 0.7rem;
*/
/*}*/


table.dataTable thead>tr>th {

    padding-left: 8px;
    padding-right: 30px;
    background-color: var(--color-th);
    text-transform: uppercase;
    font-weight: bold;
}

table.table-list thead th {

    background-color: #e6ecef;
    border-bottom: 1px solid #ccc;
    color: #333;
    font-size: 13px;
}

.table > thead > tr > th  {

    vertical-align: bottom;
    border-bottom: 2px solid #ddd;
}



/*=========================================
   PERSONALIZACION DEL SCROLL
===========================================*/


.nuevaUnidadMedida::-webkit-scrollbar {
    width: 8px;     /* Tamaño del scroll en vertical */
    height: 8px;    /* Tamaño del scroll en horizontal */
    display: none;  /* Ocultar scroll */
}

/* Ponemos un color de fondo y redondeamos las esquinas del thumb */
.nuevaUnidadMedida::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

/* Cambiamos el fondo y agregamos una sombra cuando esté en hover */
.nuevaUnidadMedida::-webkit-scrollbar-thumb:hover {
    background: #b3b3b3;
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}

/* Cambiamos el fondo cuando esté en active */
.nuevaUnidadMedida::-webkit-scrollbar-thumb:active {
    background-color: #999999;
}

/* Ponemos un color de fondo y redondeamos las esquinas del track */
.nuevaUnidadMedida::-webkit-scrollbar-track {
    background: #e1e1e1;
    border-radius: 4px;
}

/* Cambiamos el fondo cuando esté en active o hover */
.nuevaUnidadMedida::-webkit-scrollbar-track:hover,
.nuevaUnidadMedida::-webkit-scrollbar-track:active {
  background: #d4d4d4;
}


/*=========================================
   PERSONALIZACION DE INPUT CHECK - PERMISOS
===========================================*/
.form-switch input[type="checkbox"]{
    cursor: pointer;
}
.form-check-input:checked{
    background-color: #06A283;
    border:1px solid #027869;
}



/*=========================================
PANTALLA GRANDE 1920px en adelante)
===========================================*/

@media(min-width: 1600px){


}

/*=========================================
PANTALLA ESCRITORIO 1366px en adelante)
===========================================*/
@media(max-width: 1599px) and (min-width: 1200px){


}

/*=========================================
TABLET HORIZONTAL LG 1024px en adelante)
===========================================*/
@media(max-width: 1199px) and (min-width: 992px){
    
    .dataTables_filter input[type="search"]{

        width:200px !important;

    }

}



@media(max-width: 991px) and (min-width: 768px){

    .dataTables_filter input[type="search"]{

        width:200px !important;

    }
    
}


@media(max-width: 767px) and (min-width: 320px){


    .dataTables_length{
        margin-right: 0px;
        border-radius: 10px 10px 0px 0px;
    }

    .dataTables_filter{
        margin-left: 0px;
        border-radius: 0px 0px 10px 10px;

    }

    .dataTables_filter input[type="search"]{

        width:200px !important;

    }

}