/* Custom APP */

body[data-sidebar=dark] .vertical-menu {
    background-color: #1d1c1c!important;
}

body[data-sidebar=dark] .navbar-brand-box {
    background-color: #1d1c1c!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: #FFFFFF;
}

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: rgb(31, 30, 30)!important;
    background-color: #FFFFFF!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: rgb(31, 30, 30)!important;
    background-color: #FFFFFF!important;
}

body[data-sidebar=dark] .mm-active a ,body[data-sidebar=dark] .mm-active a i{
    color: #fff!important;
}

body[data-sidebar=dark] .mm-active .active, body[data-sidebar=dark] .mm-active .active i{
    color: rgb(31, 30, 30)!important;
    background-color: #FFFFFF!important;
    font-weight: 600;
}

/* general */
.cursor-pointer{
    cursor:pointer;
}
/* 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: 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 #ff9f2875 !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;
}

.select2-container *:focus {
    border-color: black;
}

.select2-container--default.select2-container--focus .select2-selection--multiple{
    border-color: black !important;
}

.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;
}
.text-gray-500 {
    --text-opacity: 1;
    color: #a0aec0;
    color: rgba(160,174,192,var(--text-opacity));
}

.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: #000;
    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;
} */

/* AUTOCOMPLETE */
.autocomplete-suggestions {
    /*display: none !important;*/
    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;
}

.status_select2{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

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

    text-align-last: center;
    text-align: center;
    -ms-text-align-last: center;
    -moz-text-align-last: center;
}
.status_select3{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    outline: 0;
    padding: 3px 15px;
    border: 0;
    border-radius: 20px;
    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);
}

.border-aviso-cliente {
    border: 2px solid #ffcc4e !important;
}

/* 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;
}

/* OTS Versión Movil */

.card-body.body_tarjeta {
    border: 1px solid #000;
    border-radius: 6px;
}

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

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

/* 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;
}

/* Documentacion clientes */
i.archivo {
    padding: 10px;
    color: #2d68e7;
}

i.carpeta {
    padding: 10px;
    color: #ffb81f;
}

/* Galería OTs*/

.img_max_h {
    max-height: 4rem!important;
}


/* 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;
    }
}

/* 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;
}

#totalsfooter{position:fixed;bottom:0;left:0;right:0;padding:5px 20px 10px 10px;background-color:#fff;z-index:100;-webkit-box-shadow:0 -1px 7px 0 rgba(46, 57, 76, 0.15);-moz-box-shadow:0 -1px 7px 0 rgba(46, 57, 76, 0.15);box-shadow:0 -1px 7px 0 rgba(46, 57, 76, 0.15);}
.totalblocks{display:flex;flex-wrap:wrap;justify-content:flex-end;text-align:right;}
#totalsfooter h1{margin:0;font-weight:300;}
#totalsfooter .tfblock{border-right:1px solid #e7e7e7;padding-right:20px;padding-left:15px;}
@media (max-width: 1000px){
#totalsfooter{left:0;}
}
@media only screen and (max-width: 575px){
#totalsfooter h1{font-size:5.4vw;}
}

/*! CSS Used from: http://skote-v-light.react.themesbrand.com/static/css/main.6223f247.css */
*,:after,:before{box-sizing:border-box;}
label{display:inline-block;}
input{font-family:inherit;font-size:inherit;line-height:inherit;margin:0;}
::-moz-focus-inner{border-style:none;padding:0;}
.form-check{display:block;margin-bottom:.125rem;min-height:1.21875rem;padding-left:1.5em;}
.form-check .form-check-input{float:left;margin-left:-1.5em;}
.form-check-input{color-adjust:exact;-webkit-appearance:none;appearance:none;background-color:#fff;background-position:50%;background-repeat:no-repeat;background-size:contain;border:1px solid rgba(0,0,0,.25);height:1em;margin-top:.25em;-webkit-print-color-adjust:exact;transition:background-color .15s ease-in-out,background-position .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;vertical-align:top;width:1em;}
@media (prefers-reduced-motion:reduce){
.form-check-input{transition:none;}
}
.form-check-input[type=checkbox]{border-radius:.25em;}
.form-check-input:active{-webkit-filter:brightness(90%);filter:brightness(90%);}
.form-check-input:focus{border-color:#b9bfc4;box-shadow:0 0 0 .15rem rgba(85,110,230,.25);outline:0;}
.form-check-input:checked{background-color:#556ee6;border-color:#556ee6;}
.form-check-input:checked[type=checkbox]{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3E%3C/svg%3E");}
.form-check-input:disabled{-webkit-filter:none;filter:none;opacity:.5;pointer-events:none;}
.form-check-input:disabled~.form-check-label{opacity:.5;}
.form-switch{padding-left:2.5em;}
.form-switch .form-check-input{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='rgba(0,0,0,0.25)'/%3E%3C/svg%3E");background-position:0;border-radius:2em;margin-left:-2.5em;transition:background-position .15s ease-in-out;width:2em;}
@media (prefers-reduced-motion:reduce){
.form-switch .form-check-input{transition:none;}
}
.form-switch .form-check-input:focus{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23b9bfc4'/%3E%3C/svg%3E");}
.form-switch .form-check-input:checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E");background-position:100%;}
.mb-3{margin-bottom:1rem!important;}
label{font-weight:500;margin-bottom:.5rem;}
.form-check{position:relative;text-align:left;}
.form-check-label{cursor:pointer;margin-bottom:0;}
body *{outline:none;}


.centerDiv{
    margin: auto;
}