﻿:root {
    /* Estos colores deben hacer match con el tema de bootstrap */
    --default-color: #777;
    --primary-color: #337ab7;
    --success-color: #5cb85c;
    --info-color: #5bc0de;
    --warning-color: #f0ad4e;
    --danger-color: #d9534f;
    --gray-color: #6A6A6A;
    --orange-color: #FF9B3F;
    --title-color: #FFFFFF;
}

body {
    padding-top: 50px;
    padding-bottom: 20px;
    overflow-x: hidden;
    background-color: #edebeb;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}
.bg-gris{
    background-color: var(--gray-color) !important;
    border-color: var(--gray-color) !important;
    
}

a {
    color: #52B6E6;
}

a:hover {
    color: #3C9CD1;
}

a:active {
    color: #1A80A5;
}

a:focus {
    color: #74CAED;
}

a:disabled {
    color: #A9D7E9;
}

.color-white{
    color:white;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

/* Personalizaciones de bootstrap */
.progress.thin { height: 10px; }
.progress.extra-thin { height: 5px; }

.form-control.unleashed-width { max-width: unset; }

.label.label-hoverable:hover { box-shadow: inset 0 0 0 1000px rgba(0,0,0,.2); }

.tab-content { padding: 15px; }

/* Personalizaciones de toastr */
.toast-top-full-width { top: 10px; }
#toast-container > div { opacity: 0.95; }

/* Personalizaciones del menú */

.layout-header > .navbar > .header-content > #user-profile { padding-top: 8px;
                                                             
}
    .layout-header > .navbar > .header-content > #user-profile .dropdown button { color: inherit; }
    .layout-header > .navbar > .header-content > #user-profile .dropdown-menu > li > form > a {
        text-decoration: none;
        color: inherit;
        display: block;
        padding: 3px 20px;
        clear: both;
        font-weight: 400;
        line-height: 20px;
        color: #333333;
        white-space: nowrap;
    }
        .layout-header > .navbar > .header-content > #user-profile .dropdown-menu > li > form > a:hover,
        .layout-header > .navbar > .header-content > #user-profile .dropdown-menu > li > form > a:focus {
            background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
            background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
            background-image: -webkit-gradient(linear, left top, left bottom, from(#f5f5f5), to(#e8e8e8));
            background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
            filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#ffe8e8e8', GradientType=0);
            background-repeat: repeat-x;
            background-color: #e8e8e8;
        }



/* Personalizaciones de tablas */
.table { background-color: white; }
.table th.sort { cursor: pointer; }
    .table th.sort.ascend:after,
    .table th.sort.descend:after {
        font-family: "Glyphicons Halflings";
        font-style: normal;
        font-weight: 400;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        float: right;
        margin-top: 2px;
    }
    .table th.sort.ascend:after { content: "\e113"; }
    .table th.sort.descend:after { content: "\e114"; }

/* Estilos para tarjetas */
.card {
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}
    .card.card-color-bordered { 
        background-color: white; 
        border-width: 1px; 
        border-style: solid; 
    }
        .card.card-color-bordered.card-default { border-color: var(--default-color); }
        .card.card-color-bordered.card-primary { border-color: var(--primary-color); }
        .card.card-color-bordered.card-success { border-color: var(--success-color); }
        .card.card-color-bordered.card-info { border-color: var(--info-color); }
        .card.card-color-bordered.card-warning { border-color: var(--warning-color); }
        .card.card-color-bordered.card-danger { border-color: var(--danger-color); }
    .card.card-color-filled { color: white; }
        .card.card-color-filled.card-default { background-color: var(--default-color); }
        .card.card-color-filled.card-primary { background-color: var(--primary-color); }
        .card.card-color-filled.card-success { background-color: var(--success-color); }
        .card.card-color-filled.card-info { background-color: var(--info-color); }
        .card.card-color-filled.card-warning { background-color: var(--warning-color); }
        .card.card-color-filled.card-danger { background-color: var(--danger-color); }
    .card.card-color-filled.card-hoverable:hover { box-shadow: inset 0 0 0 1000px rgba(0,0,0,.2); }
    .card > .card-header { padding: 10px 15px; }
        .card > .card-header > * {
            margin: 0px; padding: 0px;
        }
    .card > .card-body { padding: 15px; }
        .card > .card-header + .card-body { padding-top: 0px; }

    .card.card-color-filled .progress {
        background-color: rgba(0,0,0,0.3);
        box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    }
        .card.card-color-filled .progress > .progress-bar { background-color: white; }

.porcentaje-positivo {
    background-color: #6CD448;
}

.porcentaje-negativo {
    background-color: #FF0000;
}

.anio-principal {
    font-size: 16px !important;
    margin: 5px 0;
    text-transform: capitalize;
}

.anio-secundario {
    font-size: 12px !important;
    margin: 5px 0;
    text-transform: capitalize;
}

.anios-secundarios {
    font-size: 16px !important;
    margin: 5px 0;
    text-transform: capitalize;
}

.texto-cantidad {
    font-size: 14px;
}

@media(min-width:768px) {
    .anio-principal {
        font-size: 22px !important;
    }

    .anios-secundarios {
        font-size: 22px !important;
    }

    .anio-secundario {
        font-size: 14px !important;
    }

    .texto-cantidad {
        font-size: 18px;
    }
}

.texto-sombreado {
    color: #75BFE3;
}

.card-secundario {
    background: #7BA5C9;
}

.card-header_separator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

    .card-header_separator span {
        padding: 5px;
        border-radius: 5px;
    }

.card-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-gap: 20px;
}

@media (min-width: 768px) {
    .card-grid {
        grid-gap: 5px;
    }

    .card-space {
        padding-right: 0 !important;
    }
}
.esconder{
    display:none !important;
}
.expandir{
    grid-column:1/3;
}

.btn-primario {
    background: #0091FF;
    border-radius: 18px;
    padding: 10px 15px;
    margin: 0 10px 20px 0;
    color: white !important;
    
}
@media(min-width:768px){
    .btn-primario {
        margin: 0 10px 20px 10px;
    }
}
    .btn-primario:active, .btn-primario:focus, .btn-primario:hover, .btn-tarea:active,.btn-tarea:focus, .btn-tarea:hover {
        /*border: none !important;*/
        outline: none !important;
        color:white;
    }


    .btn-primario:first-of-type {
        margin-left: 0;
    }

    .btn-primario a {
        color: white;
        text-decoration: none;
        font-size: 14px;
    }
.titulo {
    margin: 20px 0;
}

    .titulo > a, .titulo > span {
        color: black;
        text-decoration: none;
        font-size: 25px;
    }

.notification-conteiner {
    position: relative;

}

.notification, .notification_cumpleanios, .notification-birthday, .notification-task, .notification-envio-material, .notification-solicitud-fecha, .notification-assignment, .notification_asignaciones {
    display: none;
    position: absolute;
    right: -15px;
    top: -13px;
    border-radius: 50%;
    border: 1px solid #FCA76A;
    width: 22px;
	height: 22px;			  
    background-color: #FCA76A;
    color: white;
    text-align: center;
    font-weight: bold;
    z-index: 5;
	font-size: 12px;
    font-weight: 500;
}
.notification-birthday, .notification-task, .notification-assignment {
    top: 10px;
    right: -20px;
    width: 28px;
}
.display-notification {
    display: flex;
    justify-content: center;
    align-items: center;	
}

.display-notification-solicitud-fecha,
.display-notification-envio-material {
    top: 8px;
	right: 8px !important;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 500;		 
}
.dropdown{
    display:inline-block;
}
.dropdown-cumple, .dropdown-task, .dropdown-notificaciones{
    display:none;
}
.lista-tarea > a:hover{
    background-color: transparent !important;
}
@media(min-width: 768px){
    .dropdown-cumple, .dropdown-task, .dropdown-notificaciones {
        display: inline-block;
    }
    .lista-tarea{
        display:none;
    }
    
}
.dropdown > a, dropdown > a:hover{
    color:black !important;
    text-decoration:none;
}
.dropdown-tarea, .dropdown-cumpleanios, .dropdown-asignaciones{
    padding:0 !important;
    width:300px;
}
.contenedor-tarea-fecha{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
}
.tarea {
    padding: 10px 0;
    margin: 10px;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}
    .tarea > span, .tarea >div {
        background-color: white !important;
        font-size:14px;
        color:black;
    }
    #children_tarea > li, #children_cumpleanios > li{
        padding: 0 5px 0 5px;
    }
#children_tarea > li > span, #children_tarea > li >  div, #children_cumpleanios > li > span, #children_cumpleanios >li >div {
    background-color: transparent !important;
    color: white;
}
.btn-enlace {
    background-color: #FF9B3F;
    color: white !important;
    font-weight:700 !important;
    padding:30px 0 !important;
    text-align:center;
}
    .ver-tarea a:hover, .ver-tarea a:focus {
        background-color: #FF9B3F !important;
        color: white !important;
    }
    .ver-todo{

        text-align:center;
    }
    .ver-todo a{
        padding: 0 !important;
        color: black !important;
    }
    #no-tarea, #no-cumpleanios{
        text-align:center;
        font-style:italic;
    }
    /*Notificacion de tareas*/
.overlay, .Overlay {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.2);
    z-index: 1050;
    display: grid;
    place-items: center;
    
}
.Overlay {
    z-index: 1040;
}
.overlay-content{
    display:flex;
    justify-content:space-between;
    flex-wrap:wrap;
    gap:30px;
}
.contenedor-tarea{
    width:300px;
    
}
.contenedor-solicitud{
    max-width: 650px;
    width:90%;
}
.contenedor-tarea > p{
    margin:0;
}
    .contenedor-tarea p:first-child, .contenedor-solicitud  p:first-child{
        text-align: center;
        background-color: var(--orange-color);
        padding: 15px 10px;
        color: var(--title-color);
        font-weight: bold;
        border-radius: 5px 5px 0 0;
        position:relative;
        
    }
    .contenedor-tarea p:first-child span, .contenedor-solicitud p:first-child span{
        position:absolute;
        top:5px;
        right:10px;
        cursor:pointer;
    }
.contenedor-tarea p:last-child{
    background-color: white;
    padding: 30px 10px;
    border-radius: 0 0 5px 5px;
}
.layout-wrapper > .layout-container > .layout-breadcrumbs, .contenido-direccion {
    background-color: #616161 !important;
    color: white !important;
}

.separator{
    margin: 20px 0;
}
.separator > p{
    font-size:20px;
}
.texto-negrita{
    font-weight:bold;
}
/*.estatus > div, .ejecutivo > div{
    display:inline-block;
    padding: 3px !important;
    border:solid 1px transparent;
    border-radius: 5px;
    text-align:center;
    font-size:14px !important;
    color:white;
	font-weight:bold;
}*/

.ejecutivo > div {
    display: inline-block;
    /*white-space: nowrap;*/
    padding: 3px !important;
    border: solid 1px transparent;
    border-radius: 5px;
    text-align: center;
    font-size: 14px !important;
    color: #01839C;
}

.ejecutivo-fondo-card {
    background-color: #BCECF5;
}

.estatus-activo > div {
    display: inline-block;
    white-space: nowrap;
    padding: 5px 10px !important;
    border: solid 1px transparent;
    border-radius: 5px;
    text-align: center;
    font-size: 14px !important;
    color: #398c06;
}

.estatus-activo-fondo-card {
    background-color: #d1f3bc;
}


.estatus-inactivo > div {
    display: inline-block;
    white-space: nowrap;
    padding: 3px !important;
    border: solid 1px transparent;
    border-radius: 5px;
    text-align: center;
    font-size: 14px !important;
    color: #858585;
}

.estatus-inactivo-fondo-card {
    background-color: #ebebeb;
}


.estatus-prospecto > div {
    display: inline-block;
    white-space: nowrap;
    padding: 3px !important;
    border: solid 1px transparent;
    border-radius: 5px;
    text-align: center;
    font-size: 14px !important;
    color: #095d81;
}

.estatus-prospecto-fondo-card {
    background-color: #d4f2ff;
}


.estatus-lead > div {
    display: inline-block;
    white-space: nowrap;
    padding: 3px !important;
    border: solid 1px transparent;
    border-radius: 5px;
    text-align: center;
    font-size: 14px !important;
    color: #143373;
}

.estatus-lead-fondo-card {
    background-color: #c5dafb;
}


.estatus-fallecimiento > div {
    display: inline-block;
    white-space: nowrap;
    padding: 3px !important;
    border: solid 1px transparent;
    border-radius: 5px;
    text-align: center;
    font-size: 14px !important;
    color: #75070a;
}

.estatus-fallecimiento-fondo-card {
    background-color: #ffd5d6;
}


.estatus-jubilacion > div {
    display: inline-block;
    white-space: nowrap;
    padding: 3px !important;
    border: solid 1px transparent;
    border-radius: 5px;
    text-align: center;
    font-size: 14px !important;
    color: #9f4b02;
}

.estatus-jubilacion-fondo-card {
    background-color: #ffe8d4;
}


.estatus-ninguno > div {
    display: inline-block;
    white-space: nowrap;
    padding: 5px 10px !important;
    border: solid 1px transparent;
    border-radius: 5px;
    text-align: center;
    font-size: 14px !important;
    color: #b28202;
}

.estatus-ninguno-fondo-card {
    background-color: #fef1c4;
}

.estatus-rosa > div {
    display: inline-block;
    white-space: nowrap;
    padding: 5px 10px !important;
    border: solid 1px transparent;
    border-radius: 5px;
    text-align: center;
    font-size: 14px !important;
    color: #73107A;
}

.estatus-rosa-fondo-card {
    background-color: #FDE0FF;
}

/*.lead {
    background-color:  #45D4E8;
}
.other {
    background-color: #62E395;
}
.other {
    background-color: #62E395;
}
.fallecimiento {
    background-color:  #FF0000;


}*/
.contenedor-solicitud p:first-child{
    margin:0px;
}
.contenedor-contenido, .comentario-contenedor, .contenedor-decision, .contenedor-motivo {
    padding: 0 15px 15px 15px;
    background-color: white;
}
.fila {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    padding-top: 10px;
}
.contenedor-decision {
    border-top: 1px solid #DBDBDB;
    padding-top:10px;
    
}
.contenedor-motivo {
    border-radius: 0 0 5px 5px;
}
.comentario {
    display: block;
    max-width: 100% !important;
    width: 100% !important;
    height: 20vh !important;
    border-color: #e8e8e8;
}
.aceptado {
    background-color: #7FBB90;
}

.denegado {
    background-color: #A05D5D;
}
.overlay{
    overflow-y:scroll;

}
.contenedor-solicitud{
    margin-top:50px;
    height:100vh
}

/* Dropdown Notificaciones*/
.dropdown-asignaciones {
    max-height: 500px;
    overflow-y: auto;
    max-width: 500px;
    width: 450px;
}

.dropdown-asignaciones hr {
    margin: 0 10px;
}

.dropdown-asignaciones li:hover {
    cursor: pointer;
    background-color: #ccc;
}

.assignment > p, .assignment > span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size:14px;
    color:black;
}

.assignment > span {
    font-weight: bolder;
}

.assignment {
    padding: 10px 20px;
    margin: 0;
    font-size: 12px;
}

.notification-header {
  font-weight: bold;
  margin: 15px;
  color: black;
  font-size: 14px;
}

.notification-header-day {
  font-weight:lighter;
  color: grey;
  margin: 10px 20px;
}

.notifications-group {
    display: none;
}

#Notific-anchor {
    color: black;
    padding-right: 10px;
    text-decoration: none;
}

#not-dropdown:hover, #not-dropdown:focus {
    text-decoration: none;
}

#Notific-anchor .notification_asignaciones{
    right: -5px;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50%;
}

.modal-content {
    width: auto;
    margin: 0 auto;
}

.modal-body p {
    color: black;
    font-size: 15px;
}

#modal-message {
    color: black;
    font-size: 20px;
    text-align: center;
}

#children_assignment p {
    color: white;
}

.layout-wrapper > .layout-sidebar {
    height: 100% !important;
}

.assignment-today {
    position: relative;
    padding-right: 80px;
}

.assignment-date {
    position: absolute;
    right: 10px;
    top: 0;
    font-size: 12px !important;
    color: #888 !important;
    padding-top: 10px;
    font-weight: normal !important;
}
/* Dropdown Notificaciones Fin*/

/* INICIO TABLAS */
.imtra-table-container {
    box-shadow: 0px 12px 30.3px 0px rgba(0, 0, 0, 0.15);
}

.imtra-table {
    margin-bottom: 0;
}

.imtra-table > tbody > tr {
    transition: opacity 0.5s ease, height 0.5s ease;
}

.imtra-table > thead {
    color: rgba(0, 0, 0, 0.6);
    background-color: #E5E5E5;
}

.imtra-table > thead > tr > th {
    padding: 1.4rem 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}

.imtra-table > tbody > tr > td {
    vertical-align: middle;
}

.imtra-table > tbody > tr:nth-of-type(2n+1) {
    background-color: #F8F8F8;
}

.imtra-table > tbody > tr:hover {
    background-color: rgba(82, 183, 231, 0.14);
}

.imtra-table > tbody > tr > td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 2rem 10px;
}

#portafolio-page .imtra-table > tbody > tr > td {
    white-space: normal;
    overflow: initial;
    text-overflow: ellipsis;
    padding: 8px 0;
}

.imtra-table > tbody > tr:hover > td {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid #1591CD;
}

.imtra-table > tbody > tr > td > a {
    color: #0E2966;
    text-decoration: underline;
    text-decoration-color: inherit;
}

.imtra-table > tbody > tr > td:first-child > a {
    color: #000000;
    text-decoration: none;
}

.imtra-table .imtra-table-complete-badge > .imtra-table-complete-content-badge {
    display: inline-block;
    white-space: nowrap;
    padding: 5px 10px !important;
    border: solid 1px transparent;
    border-radius: 8px;
    text-align: center;
    font-size: 14px !important;
    color: #398c06;
    background-color: #D1F3BC;
}

.imtra-table .imtra-table-partial-badge > .imtra-table-partial-content-badge {
    display: inline-block;
    white-space: nowrap;
    padding: 5px 10px !important;
    border: solid 1px transparent;
    border-radius: 8px;
    text-align: center;
    font-size: 14px !important;
    color: #B18500;
    background-color: #FFF0C3;
}

.imtra-table .imtra-table-undefined-badge > .imtra-table-undefined-content-badge {
    display: inline-block;
    white-space: nowrap;
    padding: 5px 10px !important;
    border: solid 1px transparent;
    border-radius: 8px;
    text-align: center;
    font-size: 14px !important;
    color: #858585;
    background-color: #EBEBEB;
}
/* FIN TABLAS */

/*INICIO TABLAS POR ESTADO*/
/*#tablaVentasPorEstadoAnio tr td:first-child,
#tablaVentasPorEstadoAniosAnteriores tr td:first-child {
    display: none;
}*/

/*#tablaVentasPorEstadoAnio tr th:first-child,
#tablaVentasPorEstadoAniosAnteriores tr th:first-child {
    display: none;
}*/

@media(max-width: 1200px) {
    #tablaVentasPorEstadoAnio tr td:first-child,
    #tablaVentasPorEstadoAniosAnteriores tr td:first-child {
        display: block !important;
    }

    /*#tablaVentasPorEstadoAnio tr th:first-child,*/
    #tablaVentasPorEstadoAniosAnteriores tr th:first-child {
        display: block !important;
    }
}
/*INICIO TABLAS POR ESTADO*/

.subtabla-ventas > tbody > tr > td {
    white-space: normal;
}

/* INICIO VENTAS */
/*.imtra-table-search-input {
    padding: 12px 20px;
    height: 48px;
    border-radius: 45px;
    border-color: rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
}*/
.imtra-table-search-input::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

#ventas-page hr {
    border-top: 2px solid rgba(0, 0, 0, 0.15);
}
/* FIN VENTAS */

/* INICIO ESTADARIZADO */
.layout-wrapper > .layout-container > .layout-breadcrumbs,
.layout-wrapper > .layout-container > .body-content > .layout-breadcrumbs {
    background-color: inherit !important;
    color: #000000 !important;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.layout-wrapper > .layout-container > .body-content > .layout-breadcrumbs .btn-generar-reporte,
.layout-wrapper > .layout-container > .body-content > .layout-breadcrumbs > .form-group {
    margin-bottom: 0;
}

.layout-wrapper > .layout-container > .body-content > .layout-breadcrumbs .btn-generar-reporte {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 45px;
}

hr {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/*.hrBreadcrumbs {
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    margin-top: 0px;
    margin-bottom: 15px;
    margin-left: 15px;
    margin-right: 15px;
}*/
.crm-btn-buscar {
    background-color: #52B6E7;
    border: none;
    border-radius: 28px;
    width: 125px;
    height: 41px;
}

.crm-btn-buscar:hover,
.crm-btn-buscar:focus {
    background-color: #4a9ac1;
    border-color: #3a8dbb;
    color: #ffffff;
}

.crm-input-page-search {
    width: 135px !important;
    height: 41px !important;
    border: none !important;
    border-top-right-radius: 28px !important;
    border-bottom-right-radius: 28px !important;
    background-color: #E5E5E5 !important;
    box-shadow: none !important;
}

.crm-pagination-table-list a,
.crm-pagination-table-list a {
    background-color: transparent !important;
    border: none !important;
    color: rgba(0,0,0,0.45) !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

.crm-pagination-table-list li.active a,
.crm-pagination-table-list li.active a {
    background-color: #52B6E7 !important;
    border-radius: 18px !important;
    color: #ffffff !important;
}
/* FIN ESTANDARIZADO */

/* INICIO BUSCADOR DE PÁGINA EN TABLA */
.contenedorBuscador {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 20px;

    @media (min-width: 1400px) {
       justify-content: center;
       flex-direction: initial;
    }
}

.contenedorPaginacion {
    position: relative;
    right: 0;

    @media (min-width: 1400px) {
        position: absolute;
    }
}
#tablaPrincipal,
#tablaSecundaria {
    box-shadow: 0px 12px 30.3px 0px rgba(0, 0, 0, 0.15);
}

#tablaPrincipal .table,
#tablaSecundaria .table {
    margin-bottom: 0 !important;
}

.table-striped > tbody > tr:nth-of-type(2n+1) {
    background-color: #F8F8F8 !important;
}

.paginationMainBuscadorFormBuscador,
.paginationSecundarioBuscadorFormBuscador {
    background-color: #E5E5E5;
    border: none;
    border-radius: 28px;
}

#paginaEspecificaInput,
#paginaEspecificaInput2 {
    width: 135px;
    height: 41px;
    border: none;
    border-top-right-radius: 28px;
    border-bottom-right-radius: 28px;
    background-color: #E5E5E5;
    box-shadow: none;
}

#paginationMain a,
#paginationMain2 a {
    background-color: transparent !important;
    border: none;
    color: rgba(0,0,0,0.45) !important;
    padding-top: 14px;
    padding-bottom: 14px;
}

#paginationMain li.active a,
#paginationMain2 li.active a {
    background-color: #52B6E7 !important;
    border-radius: 18px;
    color: #ffffff !important;
}
/* FIN BUSCADOR DE PÁGINA EN TABLA */

/* INICIO NAVBAR */
.layout-header .navbar {
    box-shadow: 0px 4px 28.9px 0px rgba(0, 0, 0, 0.10);
}

.layout-header .navbar a {
    font-weight: 400 !important;
    color: rgba(0, 0, 0, 0.6) !important;
}

.layout-header .navbar #username {
    font-weight: 400 !important;
    color: rgba(0, 0, 0, 0.6) !important;
}

.imtra-dropdown-icon {
    transition: transform 0.3s ease-in-out;
}

.header-content .dropdown.open .imtra-dropdown-icon {
    transform: rotate(180deg);
}
/* FIN NAVBAR */
/* INICIO SIDEBAR VENTAS */
.nav-sideSubmenu-ventas {
    position: fixed;
    top: 50px; /* AJUSTAR VÍA JAVASCRIPT */
    bottom: 0;
    background-color: #ffffff;
    left: 230px; /* AJUSTAR VÍA JAVASCRIPT */
    z-index: 5;
    width: 0;
    transition: width 0.3s ease;
    overflow: auto;
    padding-top: 20px;
    opacity: 1;
    transition: opacity 0.1s ease;
    box-shadow: 0 46px 20.4px 0 rgba(0, 0, 0, 0.25);
}

.nav-sideSubmenu-ventas.closing {
    opacity: 0;
}

.sidemenuVentasTitle {
    font-size: 20px;
    font-weight: 600;
    margin-left: 20px;
}

.nav-sideSubmenu-ventas ul {
    list-style-type: none;
    margin-top: 30px;
    padding-left: 20px; /* MISMO MARGIN-LEFT DE .sidemenuVentasTitle */
}

/*.nav-sideSubmenu-ventas ul li.active {
    background-color: #0E2966;
    padding: 12px;
}*/

.nav-sideSubmenu-ventas .submenu-ventas-link.active {
    background-color: #0E2966;
    padding: 12px;
    margin-right: 20px;
    color: #ffffff;
    border-radius: 4px;
}

.nav-sideSubmenu-ventas .submenu-ventas-link.active img {
    fill: white;
}

.nav-sideSubmenu-ventas ul li a {
    display: block;
    color: #0E2966;
    font-size: 16px;
    padding: 10px;
    text-decoration: none;
}

.nav-sideSubmenu-ventas .submenu-ventas-link.active img {
    filter: brightness(0) invert(1);
}

.nav-sideSubmenu-ventas ul li a img {
    filter: none;
}

.nav-sideSubmenu-ventas ul li a:hover {
    background-color: #eceef3;
    color: #0E2966;
    border-radius: 6px;
    margin-right: 20px;
}

.list-separator {
    margin-right: 20px;
    border-color: #d9d9d9;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
}
/*body:has(.lista-menu li:nth-child(2):hover) #sideVentasSubmenu {
    width: 300px;
}*/
/* FIN SIDEBAR VENTAS */

/* ENVÍO MATERIAL */
#ventas-page .imtra-table > tbody > tr > td:nth-child(2) {
    width: auto;
    max-width: 100%;
    white-space: normal;
}
/* FIN ENVÍO MATERIAL */

/* INICIO VENTAS CLIENTES MES */
.ventas-cliente-mes .btn-generar-reporte,
.ventas-cliente-anio .btn-generar-reporte {
    display: inline-block;
}

.ventas-cliente-mes select,
.ventas-cliente-anio select {
    margin: 10px 5px;
    margin-bottom: 10px;
    margin-left: 5px;
    border: 1px solid #D9D9D9;
    border-radius: 50px !important;
    padding: 8px 12px;
    padding-left: 12px;
    margin-left: 0px;
    height: auto;
    background-color: white;
    appearance: none;
    padding-left: 15px !important;
}

.ventas-cliente-mes .custom-select-input,
.ventas-cliente-anio .custom-select-input  {
    appearance: none;
    background-color: white;
    background-image: url('/Content/Imgs/VentasEjecutivo/flecha-hacia-abajo-para-navegar.png');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    padding-right: 30px;
    border: 1px solid #ccc;
    height: 24px;
    width: 24px;
    cursor: pointer;
}

.ventas-cliente-mes #meses,
.ventas-cliente-anio #anios {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 45px;
    height: 45px;
    background-image: url('/Content/Imgs/VentasEjecutivo/flecha-hacia-abajo-para-navegar.png');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    padding-right: 120px;
}

    .ventas-cliente-mes #meses:focus,
    .ventas-cliente-anio #anios:focus {
        border-color: #66afe9 !important;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
    }
/* FIN VENTAS CLIENTES MES */

/* INICIO CLIENTE DETALLE */
/*#cliente-detalle > #contenedorBuscadorMain {
    margin-top: 0;
}

#cliente-detalle .contenedorBuscador {
    @media (min-width: 1400px) {
        justify-content: normal;
        flex-direction: column;
    }
}*/
.imtra-dropdown-icon-past-years {
    filter: brightness(0) saturate(100%) invert(49%) sepia(98%) saturate(3348%) hue-rotate(171deg) brightness(97%) contrast(99%);
    transition: transform 0.3s ease-in-out;
}

#containerBuscador {
    margin-top: 60px;
}

#btn-collapse-acumulados[aria-expanded="true"] .imtra-dropdown-icon-past-years {
    transform: rotate(180deg);
}
/* INICIO CLIENTE DETALLE */
/* INICIO NUEVO ESTILO SIDEBAR */
.layout-sidebar {
    background: linear-gradient(180deg, rgb(89, 185, 232) 0%, rgb(53, 169, 225) 61%, rgb(4, 132, 194) 100%) !important;
}

.layout-wrapper .layout-sidebar li {
    margin-right: 1.5rem !important;
    margin-left: 1.5rem !important;
    padding: 1rem !important;
}

.layout-wrapper .layout-sidebar li:hover {
    border-radius: 6px !important;
    background-color: rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0px 4px 18.7px 0px rgba(0, 0, 0, 0.11);
}

.layout-wrapper .layout-sidebar li.active {
    color: #0E2966 !important;
    border-radius: 6px !important;
    background-color: rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0px 4px 18.7px 0px rgba(0, 0, 0, 0.11);
}

.layout-wrapper > .layout-sidebar ul > li > a {
    font-size: 16px;
    text-align: center;
}

.layout-wrapper .layout-sidebar li.active a {
    color: #0E2966 !important;
}

.layout-wrapper .layout-sidebar li a:hover {
    color: #0E2966 !important;
    background-color: initial !important;
}

.layout-wrapper .layout-sidebar li a img {
    filter: brightness(0) invert(1);
}

.layout-wrapper .layout-sidebar li.active a img {
    filter: none;
}

.layout-wrapper .layout-sidebar li:hover a {
    color: #0E2966;
}

.layout-wrapper .layout-sidebar li:hover a img {
    filter: none;
}
/* FIN NUEVO ESTILO SIDEBAR */

/* INICIO SIDEBAR CONFIGURACIÓN */
.nav-sideSubmenu-configuracion {
    position: fixed;
    top: 50px; /* AJUSTAR VÍA JAVASCRIPT */
    bottom: 0;
    background-color: #ffffff;
    left: 230px; /* AJUSTAR VÍA JAVASCRIPT */
    z-index: 7;
    width: 0;
    transition: width 0.3s ease;
    overflow: auto;
    padding-top: 20px;
    opacity: 1;
    transition: opacity 0.1s ease;
    box-shadow: 0 46px 20.4px 0 rgba(0, 0, 0, 0.25);
}

.nav-sideSubmenu-configuracion.closing {
    opacity: 0;
}

.sidemenuVentasTitle {
    font-size: 20px;
    font-weight: 600;
    margin-left: 20px;
}

.nav-sideSubmenu-configuracion ul {
    list-style-type: none;
    margin-top: 30px;
    padding-left: 20px; /* MISMO MARGIN-LEFT DE .sidemenuVentasTitle */
}

.nav-sideSubmenu-configuracion .submenu-configuracion-link.active {
    background-color: #0E2966;
    padding: 12px;
    margin-right: 20px;
    color: #ffffff;
    border-radius: 4px;
}

.nav-sideSubmenu-configuracion .submenu-configuracion-link.active img {
    fill: white;
}

.nav-sideSubmenu-configuracion ul li a {
    display: block;
    color: #0E2966;
    font-size: 16px;
    padding: 10px;
    text-decoration: none;
}

.nav-sideSubmenu-configuracion .submenu-configuracion-link.active img {
    filter: brightness(0) invert(1);
}

.nav-sideSubmenu-configuracion ul li a img {
    filter: none;
}

.nav-sideSubmenu-configuracion ul li a:hover {
    background-color: #eceef3;
    color: #0E2966;
    border-radius: 6px;
    margin-right: 20px;
}

/* FIN SIDEBAR CONFIGURACIÓN */

/* GLOBALES */
.d-none {
    display: none !important;
}

@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }

    .d-md-block {
        display: block !important;
    }
}

.d-inline {
    display: inline !important;
}

.d-block {
    display: block !important;
}

.d-flex {
    display: flex !important;
}

.d-inline-flex {
    display: inline-flex !important;
}

.justify-content-center {
    justify-content: center !important;
}

.align-items-center {
    align-items: center !important;
}

.mt-1 {
    margin-top: 0.5rem !important;
}

.mt-2 {
    margin-top: 0.75rem !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

.mt-5 {
    margin-top: 3.5rem !important;
}

.mb-1 {
    margin-bottom: 0.5rem !important;
}

.mb-2 {
    margin-bottom: 0.75rem !important;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3.5rem !important;
}

.me-1 {
    margin-right: 0.5rem !important;
}

.me-2 {
    margin-right: 0.75rem !important;
}

.me-3 {
    margin-right: 1rem !important;
}

.me-4 {
    margin-right: 1.5rem !important;
}

.me-5 {
    margin-right: 3.5rem !important;
}

.ms-1 {
    margin-left: 0.5rem !important;
}

.ms-2 {
    margin-left: 0.75rem !important;
}

.ms-3 {
    margin-left: 1rem !important;
}

.ms-4 {
    margin-left: 1.5rem !important;
}

.ms-5 {
    margin-left: 3rem !important;
}

.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}

.highlight {
    background-color: rgba(82, 183, 231, 0.14) !important;
}

.highlight > td {
    border-top: 1px solid rgba(0, 0, 0, 0.15) !important;
    border-bottom: 1px solid #1591CD !important;
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}
