/* Custom MENU */

body[data-sidebar=dark] .vertical-menu, 
body[data-sidebar=dark].vertical-collpsed .vertical-menu #sidebar-menu>ul ul,  
body[data-sidebar=dark] .horizontal-menu, /*Solo cuando el menú sea HORIZONTAL*/ 
body[data-sidebar=dark].horizontal-collpsed .horizontal-menu #sidebar-menu>ul ul, /*Solo cuando el menú sea HORIZONTAL*/
#topSideBar /*Solo cuando el menú sea HORIZONTAL*/{
    /* Menu lateral */
    background-color: #fff !important;
}

body[data-sidebar=dark] .navbar-brand-box {
    /* Menu arriba (Logo) */
    /* background-color: #A41819!important; */
    background-color: #fff !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 {
    /* letras-icono del menu */
    color: #000000;
}

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 {
    /*menu en hover*/
    color: #fff!important;
    background-color: #713058 !important;
    font-weight: 600;
}

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{
    /*menu pequeño en hover*/
    background-color: #713058!important;
}

body[data-sidebar=dark] .mm-active .active {
    /* Menu activo */
    color: #fff!important;
    background-color: #713058 !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;
}


    /* Scroll filtros abiertos */

    .row.row_ots {
        transform: rotateX(180deg);
        -ms-transform: rotateX(180deg);
        -webkit-transform: rotateX(180deg);
    }

    .row_ots .resumen_ots {
        transform: rotateX(180deg);
        -ms-transform: rotateX(180deg);
        -webkit-transform: rotateX(180deg);
    }

/* 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;
    margin-inline:auto;
}

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 */
.card-ver-proyecto .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;
}

/* Botones varios datatable ver proyecto */
.card-ver-proyecto .dataTables_wrapper .dt-buttons button.buttons-colvis, 
.card-ver-proyecto .dataTables_wrapper .dt-buttons button.buttons-page-length {
    padding: 0.25rem!important;
}


/* Fin Botones varios datatable */

/* Table */

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

}

th.tabla-cliente, td.tabla-cliente {
    padding: 0.3rem;
}


/* Tamaño menú */

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

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

.navbar-brand-box {
    /*width: 215px; /* Este ancho para menú VERTICAL */
    width: 140px; /* Este ancho para menú HORIZONTAL */
}

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


.footer {
    left: 0px;
}
/* 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;
} */

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

/* OTS Versión Movil */

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

.border_urgente {
    border-color: #FA3A31!important;
}

.border_naranja {
    border-color: #E0934F!important;
}

.border_amarillo {
    border-color: #F7EE4A!important;
}

.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;
}

/* Trabajaos filtrado por columnas */

.row.row_ots {
    overflow-x: auto;
} 

#the-count {
  float: right;
  padding: 0.1rem 0 0 0;
  font-size: 0.875rem;
} 


.bg-soft-purple {
    background-color: #a6cfe3 !important; 
}
/* .card-body.body_tarjeta */

/* modal sobre modal */

/* .modal-backdrop.show #nuevoPaciente { */
    /* z-index: 1060!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 */

.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}

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


  
  .select2.select2-container {
    width: 100% !important;
  }
  
  .select2.select2-container .select2-selection {
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    height: 34px;
    margin-bottom: 15px;
    outline: none !important;
    transition: all .15s ease-in-out;
  }
  
  .select2.select2-container .select2-selection .select2-selection__rendered {
    color: #333;
    line-height: 32px;
    padding-right: 33px;
  }
  
  .select2.select2-container .select2-selection .select2-selection__arrow {
    background: #f8f8f8;
    border-left: 1px solid #ccc;
    -webkit-border-radius: 0 3px 3px 0;
    -moz-border-radius: 0 3px 3px 0;
    border-radius: 0 3px 3px 0;
    height: 32px;
    width: 33px;
  }
  
  .select2.select2-container.select2-container--open .select2-selection.select2-selection--single {
    background: #f8f8f8;
  }
  
  .select2.select2-container.select2-container--open .select2-selection.select2-selection--single .select2-selection__arrow {
    -webkit-border-radius: 0 3px 0 0;
    -moz-border-radius: 0 3px 0 0;
    border-radius: 0 3px 0 0;
  }
  
  .select2.select2-container.select2-container--open .select2-selection.select2-selection--multiple {
    border: 1px solid #34495e;
  }
  
  .select2.select2-container .select2-selection--multiple {
    height: auto;
    min-height: 34px;
  }
  
  .select2.select2-container .select2-selection--multiple .select2-search--inline .select2-search__field {
    margin-top: 0;
    height: 32px;
  }
  
  .select2.select2-container .select2-selection--multiple .select2-selection__rendered {
    display: block;
    padding: 0 4px;
    line-height: 29px;
  }
  
  .select2.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #f8f8f8;
    border: 1px solid #ccc;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    margin: 4px 4px 0 0;
    padding: 0 6px 0 22px;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
    position: relative;
    text-overflow: clip;
    width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .select2.select2-container .select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    margin: 0;
    text-align: center;
    color: #e74c3c;
    font-weight: bold;
    font-size: 16px;
  }
  
  .select2-container .select2-dropdown {
    background: transparent;
    border: none;
    margin-top: -5px;
  }
  
  .select2-container .select2-dropdown .select2-search {
    padding: 0;
  }
  
  .select2-container .select2-dropdown .select2-search input {
    outline: none !important;
    border: 1px solid #34495e !important;
    border-bottom: none !important;
    padding: 4px 6px !important;
  }
  
  .select2-container .select2-dropdown .select2-results {
    padding: 0;
  }
  
  .select2-container .select2-dropdown .select2-results ul {
    background: #fff;
    border: 1px solid #34495e;
  }
  
  .select2-container .select2-dropdown .select2-results ul .select2-results__option--highlighted[aria-selected] {
    background-color: #3498db;
  }

  .canvas {
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 340px;
  }
  #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;
    }
  }
  
  #totalsfooter2 {
    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);
  }
  
  .totalblocks2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    text-align: left;
  }
  
  /* #totalsfooter h1 {
    margin: 0;
    font-weight: 300;
  } */
  
  #totalsfooter2 .tfblock {
    border-right: 1px solid #e7e7e7;
    padding-right: 20px;
    padding-left: 15px;
  }
  
  @media (max-width: 1000px) {
    #totalsfooter2 {
      left: 0;
    }
  }

  .summary {
    margin: 16px 0;
    display: grid;
    border-color: #e0e0e0;
    border-style: solid;
    border-width: 1px 0 0 1px;
    background-color: #f0f0f0;
    box-shadow: inset -1px -1px 0 #e0e0e0;
    width: 100%;
    list-style:none;
  }
  
  .summary__item-container {
    margin-bottom: 0;
  }
  
  .summary__item {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 24px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    line-height: 1.4em;
    text-decoration: none;
    color: #1e1e1e;
  }
  
  .summary__item:hover {
    background-color: #f0f0f0;
  }
  
  .summary__item-label {
    display: flex;
    margin-bottom: 16px;
    color: #757575;
  }
  
  .summary__item-value {
    margin-bottom: 4px;
    font-weight: 500;
    color: #1e1e1e;
  }
  
  @media screen and (max-width: 782px) {
    .summary {
        border-width: 0;
    }
  }
  
  @media (min-width: 1441px) {
    .summary.has-9-items {
        grid-template-columns: repeat(3, 1fr);
    }
  
    .summary.has-9-items .summary__item-container:nth-of-type(5n) .summary__item {
        border-right-color: #e0e0e0;
    }
  
    .summary.has-9-items .summary__item-container:nth-of-type(5n+1):nth-last-of-type(-n+5) .summary__item,
    .summary.has-9-items .summary__item-container:nth-of-type(5n+1):nth-last-of-type(-n+5)~.summary__item-container .summary__item {
        border-bottom-color: #e0e0e0;
    }
  }
  
  @media (max-width: 1440px) {
    .summary.has-9-items {
        grid-template-columns: repeat(3, 1fr);
    }
  
    .summary.has-9-items .summary__item-container:nth-of-type(3n) .summary__item {
        border-right-color: #e0e0e0;
    }
  
    .summary.has-9-items .summary__item-container:nth-of-type(3n+1):nth-last-of-type(-n+3) .summary__item,
    .summary.has-9-items .summary__item-container:nth-of-type(3n+1):nth-last-of-type(-n+3)~.summary__item-container .summary__item {
        border-bottom-color: #e0e0e0;
    }
  
    .summary.has-9-items .summary__item-container:nth-of-type(5n) .summary__item {
        border-right-color: #e0e0e0;
    }
  }
  
  @media (max-width: 960px) {
    .summary .summary__item {
        border-right-color: #e0e0e0;
    }
  }
  
  @media (max-width: 782px) {
    .summary .summary__item-container {
        margin-left: -16px;
        margin-right: -16px;
        width: auto;
    }
  
    .summary .summary__item-container .summary__item {
        border-right: none;
    }
  }

/* MENU HORIZONTAL */
.horizontal-menu .nav-link i {
    font-size: 20px;  /*Tamaño del icono */
    margin-right: 8px;  /*Espacio entre el icono y el texto */
    color: #000;
}

.horizontal-menu .nav-link span {
    font-size: 15px; /* Tamaño del texto */
    color: #000;
}

.horizontal-menu .nav-item:hover .dropdown-menu {
    display: block;
}

.horizontal-menu .dropdown-menu a:hover { 
   background-color: #0096b1;  /*Cambio de color al pasar el ratón */
} 

.hor-menu-active {
    margin-left: 0px;
}

.horizontal-menu .nav-item:hover, 
.horizontal-menu .nav-item:hover i, 
.horizontal-menu .nav-item:hover span,
.horizontal-menu .nav-item:active li,
.horizontal-menu .nav-item a.dropdown-item:hover {
    background-color: #0096b1;
    color: #fff;
}

.horizontal-menu li.nav-item.dropdown.active, li.nav-item.dropdown.active span, li.nav-item.dropdown.active i{
    background-color: #0096b1;
    color: #fff;
}
.table-border-gray{
  border:1px solid #a3a6ab !important;
}
.font-size-26{
  font-size: 26px !important;
}

.img_max_h {
    max-height: 4rem !important;
}
/* Ajusta el contenedor de cada imagen y su nombre */
.image-info {
    text-align: center;
    width: 100%;
    overflow: hidden; /* Oculta el contenido que se desborda */
    white-space: normal; /* Permite que el texto se ajuste a múltiples líneas */
    word-wrap: break-word; /* Permite que el texto largo se rompa y no se desborde */
    margin-top: 5px; /* Espacio entre la imagen y el nombre */
    max-width: 100%;
}

/* Evita que el texto se salga del contenedor */
.image-info p {
    display: inline-block; /* Hace que el texto esté en una sola línea, si cabe */
    max-width: 100%;       /* Asegura que el texto no se salga */
    text-overflow: ellipsis; /* Añade '...' si el texto es muy largo */
    overflow: hidden;      /* Oculta el texto que se desborda */
    white-space: nowrap;   /* Evita que el texto se divida en varias líneas */
    text-align: center;    /* Centra el texto */
}

/* Asegura que cada imagen se vea correctamente */
#gallery .col-4 {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#gallery .img_max_h {
    max-width: 100%;
    height: auto;
}

