/* Barra Scroll */
*::-webkit-scrollbar {
    width: 8px;     /* Tamaño del scroll en vertical */
    height: 8px;   /* Tamaño del scroll en horizontal */
    /* display: none; */ /* Ocultar scroll */
}

*::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); 
    border-radius: 10px;
}

*::-webkit-scrollbar-thumb {
    -webkit-box-shadow: inset 0 0 6px rgba(59, 59, 59, 0.5); 
    border-radius: 10px;
}

/* Fin Barra Scroll */


/* Botones paginacion Datatables */
.dataTables_wrapper.dt-bootstrap4 .row .col-sm-12.col-md-5 {
    display: none;
}

.dataTables_wrapper.dt-bootstrap4 .row .col-sm-12.col-md-7 {
    flex: none;
    max-width: none;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination    {
    display: flex;
    justify-content: center;
}

div.dataTables_paginate ul.pagination .page-item.active a.page-link {
    z-index: 3;
    color: #fff;
    background-color: #556ee6;
    border-color: #556ee6;
}

div.dataTables_paginate a.page-link {
    border-radius: 30px !important;
    margin: 0 3px;
    border: none;
    width: 32px;
    height: 32px;
    padding: 0;
    text-align: center;
    line-height: 32px;
}

div.dataTables_paginate ul.pagination a.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #74788d;
    background-color: #fff;
   /* border: 1px solid #ced4da;*/
}

div.dataTables_paginate ul.pagination .page-link:hover {
    z-index: 2;
    color: #1f3dd0;
    background-color: #eff2f7;
}
/* Fin Botones paginacion Datatables */

/* Botones varios datatable */
.dataTables_wrapper .dt-buttons  button.buttons-colvis{
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

.dataTables_wrapper .dt-buttons  button.buttons-page-length {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

.dataTable td.nowrap{
    white-space: nowrap;
}


/* Fin Botones varios datatable */

/* Table */

.fecha_linea td:first-child{
    white-space: nowrap;

}


/* Tamaño menú */

div.vertical-menu {
    width: 215px;
}

.main-content {
    margin-left: 215px;
}

.navbar-brand-box {
    width: 215px;
}

@media (max-width: 1080px) {
    .navbar-brand-box {
        width: 100px;
    }
}

@media (max-width: 768px) {
    .navbar-brand-box {
        width: 100px;
    }
}

@media (max-width: 576px) {
    .navbar-brand-box {
        width: 100px;
    }
}


.footer {
    left: 215px;
}
/* Fin Tamaño Menú */

/* checkbox Tipo Cliente */
.custom-control.custom-checkbox.mb-3.tipo_cliente {
    display: inline-flex;
}

/* Fin Checkbox Tipo Cliente */

    /* Corte palabras clientes */
.cartel-cliente p.text-muted {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

    /* cursor: pointer */
.personal_tabs:hover {
    cursor: pointer;
}

.title-client {
    width: 90%;
}

.form-toggle-text#form_text_name {
    max-width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;

}


/* tabs clientes */

div.personal_tabs {
    border: 2px solid transparent;
}

div.personal_tabs:hover,  div.personal_tabs.active {
    border: 2px solid #2a3042;
}

.flex-1 {
    flex: 1 !important;
}

/* tabs Contactos Clientes */

.fondo_tab_contacto:not(.active) {
    background: #ff9f2875;
    border: 2px solid #fff !important;
    border-bottom: none !important;
}

/* Checkbox seccion proyecto */
.check_custom::before {
    width: 2rem;
    height: 2rem;
}
.check_custom::after {
    width: 2rem;
    height: 2rem;
}

/* Fin Tabs Clientes */

/* Inputs Formularios */

.select2-container .select2-selection--multiple {
    min-height: 27px;
    display: flex;
    align-items: center;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 1px;
    margin-bottom: 1px;
}

.select2-container .select2-search--inline .select2-search__field {
    margin-top: 0px;
}

.color_select {
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
}

/* Selecctor imágenes */
.inputfile {
	width: 0.1px;
    height: calc(1.5em + .5rem + 2px);
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.inputfile + label {
    font-size: 1.25em;
    font-weight: 700;
    color: #495057;
    display: inline-block;
    border-radius: .2rem;
    padding: .25rem .5rem; 
    font-size: .71094rem;
    font-weight: 400;
    line-height: 1.5;
    height: calc(1.5em + .5rem + 2px);
    border:1px solid #ced4da;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.inputfile:focus + label,
.inputfile + label:hover {
    color: #495057;
    background-color: #fff;
    border-color: #b1bbc4;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.inputfile + label {
    cursor: pointer; 
}

.inputfile + label * {
	pointer-events: none;
}


/* CUSTOM BOOTSTRAP */
.col-0-1 {
    max-width: 5.33%;
}

.col-hr {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 95%;
}

a .input-group-text {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    /* height: 37px; */
}

.personal_prepend {
    height: 27px;
}

.avatar-user{
    font-size: 11px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background-color: #556ee6;
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-weight: 500;
    height: 30px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 30px;
}

.white-space-pre {
    white-space: pre;
}

.clickable-row:hover {
    cursor: pointer;
}

.w-50 {
    max-width: 40%;
}

/* .nav-tabs-custom .nav-item .nav-link:not(.active) {
    border-bottom: 2px solid #74788d !important;
} */


/* .form-control-sm {
    min-height: calc(1.5em + .5rem + 2px);
    padding: .25rem .5rem;
    font-size: .71094rem;
    border-radius: .2rem;
} */

.form-control[type=file]:not(:disabled):not([readonly]) {
    cursor: pointer;
}

input#parte_trabajo {
    padding: 0px;
}

.custom-control-label.checkbox_trabajo::before, 
.custom-control-label.checkbox_trabajo::after {
    top: 0;
    left: 0rem;
    width: 1.75rem;
    height: 1.75rem;
}

.estilo-inputs, 
.inputfile.estilo-inputs + label {
    border: none;
    border-bottom: 1px solid #ced4da;
}

.estilo-inputs:focus, 
.inputfile.estilo-inputs + label:focus,
.inputfile.estilo-inputs + label:hover {
    border: 1px solid #ced4da;
}

audio {
    height: 30px;
    width: 100%;
}



/* .custom_file_input:lang(en)~.custom-file-label::after {
    content: "Browse";
} */

/* .custom-file-label::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: block;
    height: calc(1.5em + .94rem);
    padding: .47rem .75rem;
    line-height: 1.5;
    color: #495057;
    content: "Browse";
    background-color: #eff2f7;
    border-left: inherit;
    border-radius: 0 .25rem .25rem 0;
} */

/* AUTOCOMPLETE */
.autocomplete-suggestions {
    border: 2px solid #3399ff;
    background: #F4F4F4;
    cursor: default;
    overflow: auto
}
.autocomplete-suggestion {
    padding: 2px 5px;
    font-size: 1.2em;
    white-space: nowrap;
    overflow: hidden
}
.autocomplete-selected {
    background: #f0f0f0
}
.autocomplete-suggestions strong {
    font-weight: normal;
    color: #3399ff;
    font-weight: bolder
}

.div-label-texto {
    padding: 7px 10px;
}

/* Botones swal */
.swal2-modal .swal2-actions .swal2-styled {
    border-radius: .25rem!important;
    padding: .47rem .75rem !important;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    font-size: .8125rem;
    line-height: 1.5;
}

.swal2-modal .swal2-actions .swal2-styled.swal2-confirm {
    background-color: #556ee6;
}

.swal2-modal .swal2-actions .swal2-styled.swal2-confirm:hover{
background-color: #3452e1;
}

.swal2-modal .swal2-actions .swal2-styled.swal2-cancel {
    color: #eff2f7;
    background-color: #74788d;
}

.swal2-modal .swal2-actions .swal2-styled.swal2-cancel:hover {
    background-color: #636678;
}

.swal2-modal .swal2-content {
    font-size: .9rem;
}

.swal2-modal .swal2-title {
    font-size: 18px;
}

.swal2-modal .swal2-actions .swal2-styled.swal2-confirm.btn-danger{
    color: #fff;
    background-color: #f46a6a;
    border-color: #f46a6a;
}
.swal2-modal .swal2-actions .swal2-styled.swal2-confirm.btn-danger:hover {
    color: #fff;
    background-color: #ce4545;
    border-color: #ce4545;
}

/* SELECT */
.status_select{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    outline: 0;
    padding: 3px 15px;
    border: 0;
    border-radius: 20px;
    width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;

    text-align-last: center;
    text-align: center;
    -ms-text-align-last: center;
    -moz-text-align-last: center;
}
.form-status_select:focus /* => from bootstrap css */
{
 outline: 0;
 box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); /* => this cause the highlight! */
}
.status_select option{
    background-color: #fff;
}


/* POST-ITs */
.post_it_blanco {
    background-color: #eff2f7;
}
  
.post_it_amarillo {
    background-color: #FFFFA5;
}

.post_it_rosa {
    background-color: #FF7EB980;
}

.post_it_azul {
    background-color: #7afcff80;
}

.post_it_verde {
    background-color: #A5E6BA;
}

.post_it_naranja {
    background-color: #ffdbb6;
}

.nota_urgente {
    position: absolute;
    top: -10px;
    left: -10px;
}

i.flecha_abrir:focus {
    outline: none;
}

.div_flecha_abrir {
    position: absolute;
    bottom: 0px;
    right: 0;
    z-index: 0;
}

.telefono_nota {
    position: relative;
    z-index: 100;
}

.div_flecha_abrir .rotate {
    transform: rotate(180deg);
}

/* HOJA DE RESGUARDO */
hr.hoja_resguardo {
    border-top: 3px dashed #000;
}

.resguardo td, .resguardo th {
    font-size: 12pt;
}

.resguardo td:first-child, .resguardo td:nth-child(3n+3) {
    width: 15mm;
}

.obs_acce {
    width: 60%;
    padding-left: 15mm;
}

.top-text {
    vertical-align: top !important;
}

.text-ellipsis {
    max-width: 150px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.custom-control-label.label-imprimir::before {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: -2px;
}

/* WIDTH SELECT MULTIPLE */
div.form-group span.select2.select2-container {
    width: inherit !important;
}

/* COLORES OTS */
.ot-urgente > td, .ot-urgente > th{
    background-color: #FA3A3133;
}

.ot-naranja > td, .ot-naranja > th{
    background-color: #E0934F4D;
}

.ot-amarillo > td, .ot-amarillo > th{
    background-color: #F7EE4A33;
}

/* Documentacion */

.navContainer .navArbol{
    width: 220px;
    padding: 20px 00px 0px 5px;
    overflow: hidden;
}

.navContainer .navArbol *{
    background-color: unset;
    white-space: nowrap;
}

.navArbol .menu.mainMenu{
    padding-left: 5px;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.borde-izq {
    border-left: solid 4px rgb(236, 236, 236);

}

.navArbol .submenuHide > ul{
    display: none;
}

.navArbol .menu ul{
    list-style-type:none;
    width: 100%;
    padding: 0px 0px 0px 15px;
}

.navArbol .menu li{
    list-style-type:none;
    position: relative;
    z-index: 2;
}

.navArbol .menu li a:nth-child(1) i{
    width: 1em;
}

.navArbol .menu li a:nth-child(2) i{
    color: #2d68e7;
}

/* .navArbol .menu li.carpetaCliente a:nth-child(2) i{
    color: #3779ff;
} */

.navArbol .menu li > a:hover i, .navArbol .menu li.carpetaCliente > a:hover i, .navArbol .menu li > a:hover span{
    color: #2d68e7;
    cursor: pointer;
}

.navArbol .menu li.selected > a:hover i,.navArbol .menu li.selected.carpetaCliente > a:nth-child(2) i, .navArbol .menu li.selected > a:hover span{
    color: #2d68e7;
    cursor: pointer;
}

.navArbol .menu li a {
    padding: 5px 5px;
    display: inline-block;
    width: fit-content;
    overflow: hidden;
}

.navArbol .menu li.selected::before{
    position: absolute;
    width: 500vh;
    right: 0px;
    top: 0px;
    height: 30px;
    z-index: -1;
    content: '';
    /* background-color:   #e7472d; */
}

.navArbol .menu li.selected > a i, .navArbol .menu li.selected > a span {
    color: #2d68e7;
}

.archivo {
    width: fit-content;
    max-width: 250px;
}

.archivo {
    padding: 10px;
    position: relative;
}

.archivo i, .upload i {
    width: 35px;
    font-size: 20px;
    color: #2d68e7;
}

.archivo a, .upload a {
    text-align: center;
    /* font-size: 15px; */
    display: flex;
    flex-direction: row;
    /* justify-content: center; */
    align-items: center;
    border: 1px solid #dbdbdb;
    border-radius: 6px;
    padding: 4px;
}

.archivo span, .upload span {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
    color: #73879C;
}

.archivo i {
    color: #73879C;
}

.archivo a:hover, .upload a:hover{
    background-color: rgb(236, 236, 236);
    color: #73879C;
    text-decoration: none;
    border-radius: 3px;
    cursor: pointer;
}


div.archivo.documentacion,
.archivo.documentacion a {
    width: 100% !important;
    max-width: none!important;
} 

.archivo.documentacion span {
    max-width: 300px;
}

/* OTS  */
.tarjetas_ots .card {
    border: 2px solid rgb(89, 105, 124);
}

.tarjetas_ots:hover .card_tarjeta {
    transform: scale(1.05);
}

.tarjetas_ots .card_tarjeta {
    
    /* border: 2px solid #b3103b; */
    transition: 1s ease, filter 1s ease
}

.body_tarjeta {
    padding-bottom: 1px;
    padding-top: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.fechas_trabajo {
    border-bottom: 2px solid rgba(174, 174, 177, 0.568);
    padding-bottom: 0.25rem;
}

.btn_anadir {
    width:60px;
    height:60px;
    border-radius:100%;
    /* background:#F44336; */
    right:0;
    bottom:40px;
    z-index: 1000;
    position:absolute;
    margin-right:16px;
    margin-bottom:16px;
    border:none;
    outline:none;
    color:#FFF;
    font-size:36px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    transition:.3s;  
}

/* Custom APP */

body[data-sidebar=dark] .vertical-menu {
    background-color: #2a3042 !important;
}
body[data-sidebar=dark] .vertical-menu .active{
    background-color: #495066 !important;
}


body[data-sidebar=dark] .navbar-brand-box {
    background-color: #2a3042!important;
}

body[data-sidebar=dark] #sidebar-menu ul li a i, 
body[data-sidebar=dark] #sidebar-menu ul li a, 
body[data-sidebar=dark] #sidebar-menu ul li ul.sub-menu li a {
    color: #fff;
    /* color: #d6aeb8; */

}
body[data-sidebar=dark] #sidebar-menu ul li a:hover i, 
body[data-sidebar=dark] #sidebar-menu ul li a:hover, 
body[data-sidebar=dark] #sidebar-menu ul li ul.sub-menu li a:hover {
    /* color: #000 !important; */
     background-color: #495066!important;  
}

body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu>ul ul,
body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu>ul li:hover a{
    /* color:#000 !important; */
     background-color: #495066!important;  
}


.btn_Unimedios {
    color: #fff;
    background-color: #2a3042 ;
    border-color:  #2a3042 ;
}

.btn_Unimedios:hover {
    color: #fff;
    background-color:  #495066 ;
    border-color: #495066;
}
/* Mediaquery */

/* Textarea Observaciones */
@media (min-width: 1200px) { 
    textarea#user_obs {
        height: 85%;
    }

    textarea#proveedor_obs {
        height: 70%;
    }

    
}

@media (min-width: 1368px) {
    .mw_lg {
        max-width: 200px;
    }

    .table_mw_lg {
        max-width: 300px;
    }
}

@media (max-width: 1367px) {
    .mw_md {
        max-width: 55px;
    }

    .table_mw_md {
        max-width: 150px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: none;
    }

    .footer{
        left: 0;
    }
}

/* Fin Textarea Observaciones */


/* CSS para formularios ocultar o mostrar texto/input */

.buttons-copy, .buttons-excel, .buttons-pdf {
    display: none;
}

.table td, .table th {
    vertical-align: middle;
}

form.active .form-toggle-text, form:not(.active) .form-toggle-item{
    display: none !important;
}


#draw-canvasa {
    border: 1px solid black;
}
#draw-canvas {
    border: 1px solid black;
}

.canvasMedio{
    width: 310px;
    margin: 0px auto;
}

.font18{
    font-size: 18px;
}

.font24{
    font-size: 24px;
}

.font42{
    font-size: 42px;
}

.nav-link.active .iconosClientes{
        
    filter: invert(38%) sepia(70%) saturate(981%) hue-rotate(202deg) brightness(95%) contrast(89%);
}

.bg-header{
    background-color: rgba(85,110,230,.30)!important;
}

.nav-link.active .iconofacturas{
        
    filter: invert(38%) sepia(70%) saturate(981%) hue-rotate(202deg) brightness(95%) contrast(89%);
}