body {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1em;
}

h1, h2, h3, h4 {
    font-family: 'Roboto', sans-serif;
    font-family: 'Roboto Slab', serif;
    color: #1a3a71;
}

.btn-primary {
    background-color: #1a3a71;
    border-color: #222244;
}

/* MainMenu */
.dropend .dropdown-toggle:empty::after {
    margin-left: 5px;
}
.header {
    background: #FFF !important;
}
.titulo-sistema {
    color: #0F69B4;
    text-align: center;
    font-family: Roboto;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
.nombre-usuario {
    width: 100px;
    height: 40px;
    color: #0B4582;
    text-align: right;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.texto-nombre-usuario {
    padding: 0; margin: 0;
    overflow: hidden;
    text-align: end;
    text-wrap: wrap;
}
.main-panel-menu {
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #FFF;
    box-shadow: 2px 0px 2px 1px rgba(0, 0, 0, 0.10);
}
.barra-menu {
    position: fixed;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #FFF;
    box-shadow: 2px 0px 2px 1px rgba(0, 0, 0, 0.10);
    z-index: 501;
}
.item-menu {
    margin-top: 10px;
    margin-bottom: 10px;;
}
.icono-menu {
    color: #0F69B4CC;
    cursor: pointer;
    width: 30px;
    text-align: center;
}
.icono-menu-activo {
    color: #44D45D !important;
}
.texto-menu {
    color: rgba(0, 0, 0, 0.70);
    text-align: center;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration: none;
}
.dropdown-menu {
    color: rgba(0, 0, 0, 0.70);
    text-align: center;
    font-family: Roboto;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-align: start;
}
.divisor-menu {
    color: #0F69B4CC;
    margin-top: 10;
    margin-bottom: 0;
}
.toggler-menu {
    color: #0F69B4CC;
    cursor: pointer;
    width: 30px;
}
.barra-opciones {
    left: 0; bottom: 0;
    position: fixed;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #FFF;
    box-shadow: 2px 0px 2px 1px rgba(0, 0, 0, 0.10);
    z-index: 500;
}
.margen-inferior-opciones {
    height: 80px;
}
.margen-inferior {
    height: 80px;
}
.opcion-movil {
    width: 60px;
    margin-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
    text-align: center;
    line-height: 20px;
}
.contenedor-icono-opcion-movil {
    width: 70px;
}
.icono-opcion-movil {
    color: rgba(15, 105, 180, 0.80);
}
.texto-opcion-movil {
    color: rgba(0, 0, 0, 0.70);
    text-align: center;
    font-family: Roboto;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.footer {
    background: #FFF !important;
    height: 40px;
    color: rgba(0, 0, 0, 0.70);
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-wrap: wrap;
}


/* Página Home */
.home {
    background-color: #F8F8F8;
    background-repeat: repeat;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 50px; 
    padding-right: 50px;
}
.home-titulo-seccion {
    color: #183A68;
    text-align: center;
    font-family: Roboto;
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    border-bottom:3px solid rgba(235, 60, 70, 0.80);
    padding-bottom: 4px;
}
.home-opcion-menu {
    width: 170px; height: 143px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.20);
    background: #FFF;
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.25);
    margin: 5px;
    padding: 4px;
    cursor: pointer;
}
.home-icono-opcion {
    text-align: center;
    color: #EB3C46CC
}
.home-texto-opcion {
    cursor: pointer;
    text-align: center;
    color: rgba(0, 0, 0, 0.70);
    text-align: center;
    font-family: Roboto;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.icono-menu-home {
    color: #EB3C46CC;
    cursor: pointer;
    width: 50px;
    text-align: center;
}
.item-menu-home {
    font-size: 16px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.home-notificacion {
    width: 260px; height: 94px;
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.20);
    background: #FFF;
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.25);
    margin: 20px;
    padding: 20px;
    cursor: pointer;
}
.home-icono-notificacion {
    text-align: center;
    color: #EB3C46CC
}
.home-texto-notificacion {
    cursor: pointer;
    text-align: center;
    color: rgba(0, 0, 0, 0.70);
    text-align: center;
    font-family: Roboto;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

/* Estilos personalizados para el botón de inicio de sesión de Microsoft */
.ms-login-button {
    background-color: #FFFFFF; /* Fondo blanco por defecto */
    color: #0078D4; /* Texto azul característico de Microsoft */
    border: 0.5px solid #808080; /* Borde gris por defecto */
    padding: 8px 16px; /* Tamaño reducido del botón */
    border-radius: 4px;
    font-size: 14px; /* Tamaño de fuente reducido */
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: border-color 0.3s; /* Transición para el cambio de color de borde */
}
.ms-login-button:hover {
    border-color: #0078D4; /* Cambia el color del borde a azul de Microsoft al pasar el cursor sobre el botón */
}
.ms-icon {
    width: 16px; /* Tamaño del icono */
    height: 16px;
    margin-left: 8px; /* Espacio entre el texto y el icono */
}

/* Ajustar choices a estilos Bootstrap 5 */
.choices__inner {
    min-height: 39px !important;
    padding: 4px !important;
}
.choices__list--dropdown {
    z-index: 5000;
}

/* Oportunidades */
.grupo-oportunidades {
    border-radius: 6px;
    border: 1px solid gray;
    margin-bottom: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.grupo-header {
    min-height: 34px;
}
.grupo-header-clickeable {
    min-height: 34px;
    padding: 4px;
    cursor: pointer;
}
.grupo-footer {
    min-height: 20px;
    padding: 2px;
}
.grupo-body {
    min-height: 30px;
    padding: 5px;
    background-color: white;
    color: black;
    margin-left: 10px;
    margin-right: 10px;
}
.grupo-abridor {
    transition: transform 0.3s;
    margin-top: 12px;
    margin-left: 10px;
    margin-right: 10px;
}
.grupo-abridor-open {
    transform: rotate(90deg);
}
.grupo-abridor-closed {
    transform: rotate(0deg);
}

/* grilla */
.celda-titulo-grilla {
    background-color: #f1f1f1;
    font-weight: 600;
    font-size: 12px;
    padding: 4px;
    border: 1px solid gray;
}

.oportunidad-modificada {
    background-color: #f7d474 !important;
}
.oportunidad-eliminada {
    background-color: #f78374 !important;
}

/* lista */
.contenedor-cuadros-oportunidad {
    max-height: 400px; 
    overflow-y: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;    
}
.contenedor-cuadro-oportunidad {
    transform-origin: top left;
}
.cuadro-oportunidad {
    padding-top: 4px;
    width: 250px;
    height: 100px;
    margin: 10px;
    border: 1px solid gray;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    display: block;
    align-items: center;
    justify-content: center;
}
.cuadro-oportunidad-header {
    width: 100%;
    height: 24px;
    display: flex;
}
.cuadro-oportunidad-id {
    font-size: 12px;
}
.cuadro-oportunidad-cliente {
    width: 155px;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.cuadro-oportunidad-nombre {
    margin-left: 5px;
    margin-right: 5px;
    height: 46px;
    font-size: 14px;
    background-color: white;
    color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px;
    overflow: hidden;    
    text-overflow: ellipsis;
}
.cuadro-oportunidad-footer {    
    padding-top: 4px;
    height: 20px;    
    display: flex;
}
.cuadro-oportunidad-monto {
    font-size: 12px;
}
.cuadro-oportunidad-fecha-cierre {
    font-size: 12px;
}

/* Dashboards */
.grid-stack-container {
    background-color: rgb(229, 231, 235); 
    margin: 10px;
    border-radius: 10px;    
}
.grid-stack {
/*    background-color: rgb(229, 231, 235); 
    margin: 10px;
    border-radius: 10px;*/
    margin: 5px;
}
.grid-stack-item-content {
    background-color: white;
    border-radius: 8px;    
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
}

.grid-stack-container-print {
    background-color: white;
}
.grid-stack-item-content-print {
    background-color: white;
    box-shadow: none;
    border: 1px solid gray;
}

.ds-header {
    height: 30px;
    padding-left: 4px;    
}
.ds-element-title {
    font-size: 14px;
    font-weight: 600;
    margin: 4px;
}
.ds-label {
    font-size: 24px;
    font-weight: 400;
    color: #0F69B4;
}

/* Suscripciones */
.suscripcion {
    padding-top: 4px;
    border: 1px solid gray;
    border-radius: 8px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.suscripcion-activa {
    background-color: #9aeca7;
    color: black;
}
.suscripcion-futura {
    background-color: #04076c;
    color: white;
}
.suscripcion-pasada {
    background-color: #58585b;
    color: white;
}