/* 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;
}
.modal-open {
    overflow: scroll;
}
/* 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: #ed7562;
    border-color: #ed7562;
}

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

/* Tamaño menú */

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

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

.main-content_client {
    margin-left: 0px;
}

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

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

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

/* Menú */

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

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

body[data-sidebar="dark"] .mm-active .active {
    color: #e7472d !important;
    background-color: #fde9d1 !important;
    /* color: #fff!important;
    background-color: #FF7156 !important; */
}

body[data-sidebar="dark"] #sidebar-menu ul li a i,
body[data-sidebar="dark"] #sidebar-menu ul li a span,
body[data-sidebar="dark"] #sidebar-menu ul li ul.sub-menu li a {
    color: #fde9d1 !important;
}

body[data-sidebar="dark"] .mm-active #sidebar-menu ul li a.active i,
body[data-sidebar="dark"] .mm-active #sidebar-menu ul li a.active span,
body[data-sidebar="dark"] #sidebar-menu ul li ul.sub-menu li a.active {
    color: #e7472d !important;
}

body[data-sidebar="dark"].vertical-collpsed
    .vertical-menu
    #sidebar-menu
    ul
    li.mm-active
    .active
    i {
    color: #e7472d !important;
}

body[data-sidebar="dark"].vertical-collpsed
    .vertical-menu
    #sidebar-menu
    ul
    li.mm-active
    .active {
    color: #e7472d !important;
}

body[data-sidebar="dark"].vertical-collpsed
    .vertical-menu
    #sidebar-menu
    > ul
    > li:hover
    > a,
body[data-sidebar="dark"].vertical-collpsed
    .vertical-menu
    #sidebar-menu
    > ul
    ul,
body[data-sidebar="dark"].vertical-collpsed #sidebar-menu ul li:hover a i,
body[data-sidebar="dark"].vertical-collpsed
    .vertical-menu
    #sidebar-menu
    > ul
    > li:hover
    > ul
    a {
    color: #e7472d !important;
    background-color: #fde9d1 !important;
}

/* General */
.cursor-pointer:hover {
    cursor: pointer;
}

/* 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: #00000014;
    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: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

/* Selecctor imágenes */
.inputfile {
    width: 0.1px;
    height: calc(1.5em + 0.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: 0.2rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.71094rem;
    font-weight: 400;
    line-height: 1.5;
    height: calc(1.5em + 0.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 .nav-link.nav-personalizado:not(.active) {
    border-color: #ced4da #ced4da #fff;
}

.nav-tabs .nav-link.active {
    border-color: #ed7562 #ed7562 #fff;
}

.btn-primary {
    background-color: #ed7562;
    border-color: #ed7562;
}

.btn-primary:hover,
.btn-primary.hover,
.btn-primary:active,
.btn-primary.active,
.btn-primary:focus,
.btn-primary.focus,
.btn-primary:not(.disabled).active,
.btn-primary:not(.disabled):active,
.show > .btn-primary.dropdown-toggle,
.btn-info:not(:disabled):not(.disabled).active,
.btn-info:not(:disabled):not(.disabled):active,
.show > .btn-info.dropdown-toggle {
    background-color: #e7472d !important;
    border-color: #e7472d !important /*#ED7562*/;
}

/* .btn-primary:active {
    background-color: #E7472D !important;
    border-color: #E7472D;
} */

.btn-primary.disabled,
.btn-primary:disabled {
    background-color: #f3a396 !important;
    border-color: #f3a396;
}

.btn-info {
    background-color: #ff7156;
    border-color: #ff7156;
    color: #fde9d1;
}

.btn-info:hover,
.btn-info.hover,
.btn-info:active,
.btn-info.active,
.btn-info:focus,
.btn-info.focus {
    background-color: #ed7562;
    border-color: #ed7562;
}

.btn-outline-info {
    color: #ed7562;
    border-color: #ed7562;
}

.btn-outline-info:not(:disabled):not(.disabled).active,
.btn-outline-info:not(:disabled):not(.disabled):active,
.show > .btn-outline-info.dropdown-toggle,
.btn-outline-info:hover {
    color: #fde9d1;
    background-color: #ed7562;
    border-color: #ed7562;
}

.btn-outline-secondary_modify {
    color: #ed7562;
    border-color: #feefdd;
}

.btn-outline-secondary_modify:not(:disabled):not(.disabled).active,
.btn-outline-secondary_modify:not(:disabled):not(.disabled):active,
.show > .btn-outline-secondary_modify.dropdown-toggle,
.btn-outline-secondary_modify:hover {
    color: #ed7562;
    background-color: #feefdd;
    border-color: #feefdd;
}

.b-santafood {
    background-color: #e7472d; /* Color #E7472D al 100% */
}

.b-santafood-75 {
    background-color: #ed7562; /* Color #E7472D al 75% */
}

.b-santafood-50 {
    background-color: #f3a396; /* Color #E7472D al 50% */
}

.b-santafood-25 {
    background-color: #f9d1ca; /* Color #E7472D al 25% */
}

.btn-secondary:hover,
.btn-secondary.active {
    background-color: #fde9d1;
    border-color: #fde9d1;
    color: #e7472d !important;
}

.btn-secondary {
    background-color: #feefdd;
    border-color: #feefdd;
    color: #e7472d !important;
}

.b-santafood-secondary {
    background-color: #fde9d1; /* Color #E7472D al 100% */
}

.b-santafood-secondary-75 {
    background-color: #feefdd; /* Color #E7472D al 75% */
}

.b-santafood-secondary-50 {
    background-color: #fef4e8; /* Color #E7472D al 50% */
}

.b-santafood-secondary-25 {
    background-color: #fef9f3; /* Color #E7472D al 25% */
}

.avatar-title {
    background-color: #ed7562;
    color: #feefdd;
    border-radius: 50% !important;
}

.avatar-xxs {
    height: 2rem;
    width: 2rem;
}

.custom-checkbox-primary
    .custom-control-input:checked
    ~ .custom-control-label:before,
.custom-radio-primary
    .custom-control-input:checked
    ~ .custom-control-label:before {
    background-color: #e7472d;
    border-color: #e7472d;
}

.custom-radio-outline.custom-radio-primary
    .custom-control-input:checked
    ~ .custom-control-label:after {
    color: #e7472d;
}

.nav-tabs-custom .nav-item .nav-link.active {
    color: #e7472d;
}

.nav-tabs-custom .nav-item .nav-link::after {
    background-color: #e7472d;
}

.text-primary {
    color: #e7472d !important;
}

.modal_trazabilidad {
    max-width: 90%;
}

.borde_carpetas {
    border: 1px solid #e7472d;
    border-radius: 10px;
    padding: 0.25rem 0.7rem;
}

li.submenuHide.selected a.borde_carpetas,
li.submenuHide.selected a.borde_carpetas i.text-primary.fas.fa-folder,
li.submenuHide.selected > a span {
    background-color: #e7472d;
    color: #fde9d1 !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: 0.25rem !important;
    padding: 0.47rem 0.75rem !important;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    font-size: 0.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: 0.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, 0.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;
}

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

.task-box.tareas-pendientes {
    /* border: 2px solid #8d8d8dc0 !important; */
    background-color: #fde9d1;
}

.task-box.tareas-pendientes:hover,
.task-box.tareas-pendientes-clientes:hover {
    cursor: pointer;
}

.tareas-pendientes {
    border-radius: 1rem;
}

@media (max-width: 992px) {
    .height-complete {
        height: 80vh;
    }
}

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

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

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

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

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

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

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

/* AUDITORIAS */

.dropzone {
    min-height: auto;
    border: 2px dashed #ced4da;
    background: #fff;
    border-radius: 6px;
}

.dz-message {
    font-size: 24px;
    width: 100%;
}

/* FE Clientes */

.btn_client {
    border: none;
    background: none;
}
.client_button {
    padding: 3em;
    background-color: #fde9d1;
    width: 140px;
    height: 140px;
}

.w_button {
    max-width: 95px;
    height: auto;
}

.border_button {
    border: 2px solid #e7472d;
    border-radius: 10em;
    box-shadow: 0px 0px 10px 2px #2125299e;
}

.text_button {
    color: #e7472d;
    padding: 0;
}

.text_tarea {
    color: #e7472d;
}

.text_secondary {
    color: #e7462d81;
}

.footer_client {
    left: 0;
}

body.body_client {
    background-image: url("../images/fondo-app.jpg");
    background-color: transparent;
    background-repeat: no-repeat;
    background-size: cover;
}

.border_seccion {
    border-bottom: 2px solid #e7472d;
    margin-left: 5.5rem;
    margin-right: 5.5rem;
    margin-top: 0px;
    border-radius: 3rem;
}

/* Tabs Home Clients */

.w_tabs_clients {
    max-width: 40px;
    height: auto;
}

a.nav_home_client.active .w_tabs_clients:not(.activo) {
    display: none;
}

a.nav_home_client:not(.active) .w_tabs_clients.activo {
    display: none;
}

a.nav_home_client {
    background-color: #e7472d;
    margin: 0 0.25em;
    padding-left: 2.4em;
    padding-right: 2.4em;
    border-top-right-radius: 0.75rem !important;
    border-top-left-radius: 0.75rem !important;
}

.nav-tabs .nav-item.show .nav-link.nav_home_client,
.nav-tabs .nav-link.nav_home_client.active {
    background-color: #fde9d185;
    border-bottom: 2px solid #fde9d185;
}

.tab-content.tab-content_clients.p-3.text-muted {
    background-color: #fde9d185;
}

ul.nav_tabs_clients {
    border-bottom-color: #e7472d;
    border-width: 1px;
}

.tab-content_clients {
    border-width: 0px 1px 1px;
    border-color: #e7472d;
    border-style: solid;
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
}

/* .card-body_tabs_clients {
    background-color: #fde9d14d;
} */

/* Carrusel Tareas*/
.carrusel_control i {
    color: #e7472d;
}

.carrusel_control {
    border-radius: 1em;
}

.btn_check_tarea {
    border-radius: 10em;
    line-height: 0.5rem;
}

.btn_check_tarea i {
    font-size: 2em;
}

.carousel-control-next {
    right: -40px;
}

.carousel-control-prev {
    left: -40px;
}

.carrusel_inner {
    width: 80%;
}

input[type="number"].no-buttons::-webkit-inner-spin-button,
input[type="number"].no-buttons::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"].no-buttons {
    -moz-appearance: textfield;
}

@media (min-width: 768px) and (max-width: 991px) {
    /* Show 4th slide on md if col-md-4*/
    .carousel-inner
        .active.col-md-4.carousel-item
        + .carousel-item
        + .carousel-item
        + .carousel-item {
        position: absolute;
        top: 0;
        right: -33.3333%; /*change this with javascript in the future*/
        z-index: -1;
        display: block;
        visibility: visible;
    }
}
@media (min-width: 576px) and (max-width: 768px) {
    /* Show 3rd slide on sm if col-sm-6*/
    .carousel-inner
        .active.col-sm-6.carousel-item
        + .carousel-item
        + .carousel-item {
        position: absolute;
        top: 0;
        right: -50%; /*change this with javascript in the future*/
        z-index: -1;
        display: block;
        visibility: visible;
    }
}
@media (min-width: 576px) {
    .carousel-item {
        margin-right: 0;
    }
    /* show 2 items */
    .carousel-inner .active + .carousel-item {
        display: block;
    }
    .carousel-inner
        .carousel-item.active:not(.carousel-item-right):not(
            .carousel-item-left
        ),
    .carousel-inner
        .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left)
        + .carousel-item {
        transition: none;
    }
    .carousel-inner .carousel-item-next {
        position: relative;
        transform: translate3d(0, 0, 0);
    }
    /* left or forward direction */
    .active.carousel-item-left + .carousel-item-next.carousel-item-left,
    .carousel-item-next.carousel-item-left + .carousel-item,
    .carousel-item-next.carousel-item-left + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    /* farthest right hidden item must be also positioned for animations */
    .carousel-inner .carousel-item-prev.carousel-item-right {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        display: block;
        visibility: visible;
    }
    /* right or prev direction */
    .active.carousel-item-right + .carousel-item-prev.carousel-item-right,
    .carousel-item-prev.carousel-item-right + .carousel-item,
    .carousel-item-prev.carousel-item-right + .carousel-item + .carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
}
/* MD */
@media (min-width: 768px) {
    /* show 3rd of 3 item slide */
    .carousel-inner .active + .carousel-item + .carousel-item {
        display: block;
    }
    .carousel-inner
        .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left)
        + .carousel-item
        + .carousel-item {
        transition: none;
    }
    .carousel-inner .carousel-item-next {
        position: relative;
        transform: translate3d(0, 0, 0);
    }
    /* left or forward direction */
    .carousel-item-next.carousel-item-left
        + .carousel-item
        + .carousel-item
        + .carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    /* right or prev direction */
    .carousel-item-prev.carousel-item-right
        + .carousel-item
        + .carousel-item
        + .carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
}
/* LG */
@media (min-width: 991px) {
    /* show 4th item */
    .carousel-inner .active + .carousel-item + .carousel-item + .carousel-item {
        display: block;
    }
    .carousel-inner
        .carousel-item.active:not(.carousel-item-right):not(.carousel-item-left)
        + .carousel-item
        + .carousel-item
        + .carousel-item {
        transition: none;
    }
    /* Show 5th slide on lg if col-lg-3 */
    .carousel-inner
        .active.col-lg-3.carousel-item
        + .carousel-item
        + .carousel-item
        + .carousel-item
        + .carousel-item {
        position: absolute;
        top: 0;
        right: -25%; /*change this with javascript in the future*/
        z-index: -1;
        display: block;
        visibility: visible;
    }
    /* left or forward direction */
    .carousel-item-next.carousel-item-left
        + .carousel-item
        + .carousel-item
        + .carousel-item
        + .carousel-item {
        position: relative;
        transform: translate3d(-100%, 0, 0);
        visibility: visible;
    }
    /* right or prev direction //t - previous slide direction last item animation fix */
    .carousel-item-prev.carousel-item-right
        + .carousel-item
        + .carousel-item
        + .carousel-item
        + .carousel-item {
        position: relative;
        transform: translate3d(100%, 0, 0);
        visibility: visible;
        display: block;
        visibility: visible;
    }
}

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

/* CUSTOM BOOTSTRAP */

.col-xs-1-5,
.col-sm-1-5,
.col-md-1-5,
.col-lg-1-5 {
    min-height: 1px;
    position: relative;
}

.col-xs-1-5 {
    float: left;
    max-width: 20%;
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .font-size-sm-10 {
        font-size: 10px !important;
    }

    .font-size-sm-11 {
        font-size: 11px !important;
    }

    .font-size-sm-12 {
        font-size: 12px !important;
    }

    .font-size-sm-13 {
        font-size: 13px !important;
    }

    .font-size-sm-14 {
        font-size: 14px !important;
    }

    .font-size-sm-15 {
        font-size: 15px !important;
    }

    .font-size-sm-16 {
        font-size: 16px !important;
    }

    .font-size-sm-17 {
        font-size: 17px !important;
    }

    .font-size-sm-18 {
        font-size: 18px !important;
    }

    .font-size-sm-20 {
        font-size: 20px !important;
    }

    .font-size-sm-22 {
        font-size: 22px !important;
    }

    .font-size-sm-24 {
        font-size: 24px !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .font-size-md-10 {
        font-size: 10px !important;
    }

    .font-size-md-11 {
        font-size: 11px !important;
    }

    .font-size-md-12 {
        font-size: 12px !important;
    }

    .font-size-md-13 {
        font-size: 13px !important;
    }

    .font-size-md-14 {
        font-size: 14px !important;
    }

    .font-size-md-15 {
        font-size: 15px !important;
    }

    .font-size-md-16 {
        font-size: 16px !important;
    }

    .font-size-md-17 {
        font-size: 17px !important;
    }

    .font-size-md-18 {
        font-size: 18px !important;
    }

    .font-size-md-20 {
        font-size: 20px !important;
    }

    .font-size-md-22 {
        font-size: 22px !important;
    }

    .font-size-md-24 {
        font-size: 24px !important;
    }

    .col-sm-1-5 {
        float: left;
        max-width: 20%;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .font-size-lg-10 {
        font-size: 10px !important;
    }

    .font-size-lg-11 {
        font-size: 11px !important;
    }

    .font-size-lg-12 {
        font-size: 12px !important;
    }

    .font-size-lg-13 {
        font-size: 13px !important;
    }

    .font-size-lg-14 {
        font-size: 14px !important;
    }

    .font-size-lg-15 {
        font-size: 15px !important;
    }

    .font-size-lg-16 {
        font-size: 16px !important;
    }

    .font-size-lg-17 {
        font-size: 17px !important;
    }

    .font-size-lg-18 {
        font-size: 18px !important;
    }

    .font-size-lg-20 {
        font-size: 20px !important;
    }

    .font-size-lg-22 {
        font-size: 22px !important;
    }

    .font-size-lg-24 {
        font-size: 24px !important;
    }

    .logo-sm.logo_client img {
        display: none;
    }

    .col-md-1-5 {
        float: left;
        max-width: 20%;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .font-size-xl-10 {
        font-size: 10px !important;
    }

    .font-size-xl-11 {
        font-size: 11px !important;
    }

    .font-size-xl-12 {
        font-size: 12px !important;
    }

    .font-size-xl-13 {
        font-size: 13px !important;
    }

    .font-size-xl-14 {
        font-size: 14px !important;
    }

    .font-size-xl-15 {
        font-size: 15px !important;
    }

    .font-size-xl-16 {
        font-size: 16px !important;
    }

    .font-size-xl-17 {
        font-size: 17px !important;
    }

    .font-size-xl-18 {
        font-size: 18px !important;
    }

    .font-size-xl-20 {
        font-size: 20px !important;
    }

    .font-size-xl-22 {
        font-size: 22px !important;
    }

    .font-size-xl-24 {
        font-size: 24px !important;
    }

    .col-lg-1-5 {
        float: left;
        max-width: 20%;
    }
}

@media (max-width: 992px) {
    .navbar-header_client,
    .navbar-brand-box_client,
    .logo_client {
        height: 55px;
    }

    .page-title_sm {
        padding-bottom: 10px;
    }

    .page-title-box_sm {
        padding-bottom: 5px;
    }

    .page-content_client {
        padding-top: 5rem;
    }

    .text_button {
        font-size: 0.9rem !important;
    }
}

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

/*codigo para las tarjetas del home de la parte de cliente*/

.course {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    max-width: 100%;
    margin: 20px;

    width: 500px;
    min-height: 200px;
}
.course-container {
    border-radius: 10px;
}
.course h6 {
    opacity: 0.6;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.course h2 {
    letter-spacing: 1px;
    margin: 0px 0;
}

.course-preview {
    background-color: #fde9d1;
    color: #e7472d;
    padding: 30px;
    border-radius: 10px;
}

.course-preview a {
    color: #fff;
    display: inline-block;
    font-size: 12px;
    opacity: 0.6;
    margin-top: 30px;
    text-decoration: none;
}

.course-info {
    padding: 30px;
    position: relative;
    width: 100%;
}

.progress-container {
    position: absolute;
    top: 10px;
    right: 5px;
    width: 100px;
}

.progress {
    background-color: #ddd;
    border-radius: 3px;
    height: 5px;
    width: 100%;
}

.progress-text {
    font-size: 12px;
    opacity: 0.6;
    letter-spacing: 1px;
}

.btnn {
    background-color: #e7472d;
    border: 0;
    border-radius: 50px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 16px;
    padding: 12px 25px;

    letter-spacing: 1px;
}
.radio-item {
    display: inline-block;
    position: relative;
    padding: 0 6px;
    margin: 10px 0 0;
}

.radio-item input[type="radio"] {
    display: none;
}

.radio-item label {
    font-weight: normal;
}

.radio-item label:before {
    content: " ";
    display: inline-block;
    position: relative;
    top: 5px;
    margin: 0 5px 0 0;
    width: 20px;
    height: 20px;
    border-radius: 11px;
    border: 2px solid #e7472d;
    background-color: transparent;
}
.radio-item input[type="radio"]:checked + label:after {
    border-radius: 11px;
    width: 12px;
    height: 12px;
    position: absolute;
    top: 9px;
    left: 10px;
    content: " ";
    display: block;
    background: #e7472d;
}

#modalEtiquetadoDialog {
    max-width: 900px; /* juega con 800–900 según te guste */
}

#modalEtiquetado .modal-body {
    max-height: 90vh; /* ocupa el 80% de la altura de pantalla */
    overflow-y: auto; /* solo scroll si de verdad no cabe */
}

/* Líneas sutiles para la tabla nutricional */
.nut-row {
    border-bottom: 1px solid #e9ecef; /* línea gris MUY suave */
    padding-bottom: 3px;
    margin-bottom: 4px;
}

.nut-row:last-child {
    border-bottom: none;
}

#modalEtiquetado .input-group-sm .form-control,
#modalEtiquetado .input-group-sm .input-group-append .form-control {
    height: 31px !important;
    padding-top: 3px;
    padding-bottom: 3px;
}

#nut_base_unidad {
    height: 31px !important;
    padding-top: 3px;
    padding-bottom: 3px;
}
