

@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: "FuturaMedium", Arial;
        
}

:root{

    --color-fondo:#1CA79E;
    --texto-color:#1CA79E;
    --color-white:#ffffff;
    --color-dark:#343a40;
    --color-table:#e6ecef;
    --color-th:#e6ecea;
   

}

[class*="sidebar-dark-"] .sidebar a{
    color: #fff;
}

[class*="sidebar-dark-"] .nav-treeview > .nav-item > .nav-link {
    color: #fff;
}

.bg-custom{

    color: #013480;
}

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;
}

.btnIdioma{
    outline: none !important;
    box-shadow: none !important;
    color: #fff;
}

.btnIdioma:focus,
.btnIdioma:active{

   outline: none !important;
   box-shadow: none !important;
   border: none;
   color: #efefef;
}   

.btnIdioma:hover{
     border: none;
     color: #efefef;
}
/*=========================================================
        ESTILIZACIONDE LOGIN
===========================================================*/
    .background {
      background-image: url('../img/plantilla/photo.jpg');
      background-size: cover;
      background-position: center;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      position: absolute;
      width: 100%;
      
    }

    .login-container {
      background-color: rgba(255, 255, 255, 0.9);
      padding: 40px;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(0,0,0,0.2);
      width: 400px;
    }

    .login-container h2 {
      text-align: center;
      margin-bottom: 30px;
      color: #333;
    }

    .login-btn {
      width: 100%;
      padding: 10px;
      background-color: #007BFF;
      border: none;
      color: white;
      border-radius: 5px;
      font-size: 16px;
      cursor: pointer;
      transition: background-color 0.3s ease;
    }

    .login-btn:hover {

      background-color: #0056b3;
    
    }

/*=========================================================
        ESTILIZACIONDE DATATABLE
===========================================================*/

.tr-verde {
  background-color: #e6ffe6  !important;
}

.tr-rojo {
  background-color: #ffe6e6 !important;
}

/*input[type="search"]{

    border-radius: 10px !important;
}

*/
#newInput button{

    border: 1px solid #DDDDDD;
}
.containerCliente{
    background: #efefef;
    font-size: 1.8rem;
    font-weight: bold;
    padding: 1rem;
}

.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;
}


#doughnutChart {
  width: 100% !important;
  height: auto !important;
  max-width: 550px;
  margin: 0 auto;
}

/*============================================
 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;
}

.dataTables_wrapper .dataTables_length select{
    width: 50px;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
padding: 0px;
margin-left:0px;
}
/*=========================================
   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: #343a40;
    border:1px solid #343a40;
}


/**********File Inputs**********/
.container-input {
    text-align: center;
    /*background: #282828;*/
    border:1px solid #ececec;
    border-top: 5px solid #444;
    padding: 10px 0;
    border-radius: 6px;
    width: 75%;
    margin: 0 auto;
    margin-bottom: 20px;
}

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.inputfile + label {
    max-width: 80%;
    font-size: 1.25rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
    display: inline-block;
    overflow: hidden;
    padding: 0.625rem 1.25rem;
}

.inputfile + label i {
    width: 1em;
    height: 1em;
    vertical-align: middle;
    fill: currentColor;
/*    margin-top: -0.25em;
    margin-right: 0.25em;*/
}

.iborrainputfile {
    font-size:16px; 
    font-weight:normal;
    font-family: 'Montserrat';
}


.inputfile-5 + label {
    color: #343a40;
}

.inputfile-5:focus + label,
.inputfile-5.has-focus + label,
.inputfile-5 + label:hover {
    color: #343aaa;
}

.inputfile-5 + label figure {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #343a40;
    display: block;
    padding: 25px;
    margin: 0 auto 10px;

}

.inputfile-5:focus + label figure,
.inputfile-5.has-focus + label figure,
.inputfile-5 + label:hover figure {
    background-color: #343a40;
}

.inputfile-5 + label i {
    width: 100%;
    height: 100%;
    fill: #fff;
    color: #fff;
    border:0.5 solid #efefef;
    font-size: 4rem;
}



#galery-content{
    background: #ffffff;
}

#galleryModal .carousel-inner img,
#galleryModalMaintenance .carousel-inner img,
#galleryModalRent .carousel-inner img,
#galleryModalSell .carousel-inner img,
#galleryModalOutput .carousel-inner img{
  height: 200px;
  object-fit: contain;
  width: 100%;

}

.line-color {
    background: linear-gradient(to right, red, yellow, yellowgreen, steelblue, blue, #ff57f1, purple, red);
    /*position: absolute;*/
    height: 1px;
    width: 100%;
    z-index: 1;
  /*width: 100%;
  background: -webkit-gradient(linear, left top, right top, from(red), color-stop(blue), to(orange));
  background: linear-gradient(to right, red, green, red);*/
  /*height: 1px;*/
}


/*=========================================
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;

    }


    .itemAccount{
        font-size: 18px;
        text-align: center;

    }

}