@import 'login.css';
@import 'toast.css';
@import 'menu.css';
@import 'chat.css';
@import 'mediaQueryComponents.css';
@import 'report.css';

:root {
    --ssg-primary-dark: var(--bs-primary);
    --ssg-primary-light: var(--bs-primary);
    --ssg-secondary-dark: var(--bs-primary);
    --ssg-secondary-light: var(--bs-primary);
    --ssg-black: #000000;
    --ssg-silver: #C0C0C0;
    --ssg-gray: #808080;
    --ssg-white: #FFFFFF;
    --ssg-maroon: #800000;
    --ssg-red: #FF0000;
    --ssg-orange: #FFA500;
    --ssg-purple: #800080;
    --ssg-fuchsia: #FF00FF;
    --ssg-green: #008000;
    --ssg-lime: #00FF00;
    --ssg-olive: #808000;
    --ssg-yellow: #FFFF00;
    --ssg-navy: #000080;
    --ssg-blue: #0000FF;
    --ssg-teal: #008080;
    --ssg-aqua: #00FFFF;
}

.bg-ssg-primary-dark {
    background-color: var(--ssg-primary-dark) !important;
}

.bg-ssg-primary-light {
    background-color: var(--ssg-primary-light) !important;
}

.bg-ssg-secondary-dark {
    background-color: var(--ssg-secondary-dark) !important;
}

.bg-ssg-secondary-light {
    background-color: var(--ssg-secondary-light) !important;
}

.ssg-primary-dark {
    color: var(--ssg-primary-dark) !important;
}

.ssg-primary-light {
    color: var(--ssg-primary-light) !important;
}

.ssg-secondary-dark {
    color: var(--ssg-secondary-dark) !important;
}

.ssg-secondary-light {
    color: var(--ssg-secondary-light) !important;
}

.btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

    .btn-primary:hover {
        background-color: var(--ssg-primary-dark) !important;
        border-color: var(--ssg-primary-dark) !important;
    }

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

    .btn-outline-primary:hover {
        background-color: var(--ssg-primary-dark);
        color: var(--bs-light);
    }

    .btn-outline-primary.active, .btn-outline-primary:active {
        background-color: var(--bs-primary);
        color: var(--bs-light);
    }

.btn-label-primary {
    text-align: left;
}

    .btn-label-primary:hover {
        background-color: var(--bs-primary) !important;
    }

.nav-link {
    color: var(--bs-light);
}

    .nav-link.active, .dropdown-item:active {
        background-color: var(--bs-primary) !important;
    }

        .nav-link.active:hover {
            filter: none !important;
        }

    .nav-link:hover,
    .nav-link:focus {
        color: var(--bs-gray-500);
        filter: none !important;
    }

.table-hover > tbody > tr:hover.bg-primary > * {
    color: var(--bs-gray-200) !important;
}

.btn-link {
    color: #0366d6;
}

a {
    color: var(--bs-primary);
}

    a:active {
        color: var(--bs-secondary) !important;
    }

        a:active:hover {
            filter: none !important;
        }

    a:hover {
        color: var(--bs-primary);
        filter: brightness(0.8) !important;
    }

.form-check-input[type=radio]:checked {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.StyleMenuText {
    font-size: small;
}

.StyleAcciones {
    width: 80px;
}

.textarea {
    resize: none;
}

.bootstrap-checkbox {
    width: 14px;
    height: 14px;
    position: relative;
    background-color: white;
    border: 1px solid #808080;
    border-radius: 3px;
    display: inline-block;
}

.img_checkbox_indeterminate {
    width: 11px !important;
    height: 11px !important;
    padding: 0px !important;
    margin-left: 0.7px;
    line-height: 11px !important;
    font-size: 11px !important;
    position: absolute;
    color: var(--bs-primary) !important;
}

.img_checkbox_checked {
    width: 16px !important;
    height: 16px !important;
    padding: 0px !important;
    margin-top: -1.8px;
    margin-left: -1px;
    line-height: 16px !important;
    font-size: 16px !important;
    position: absolute;
    color: var(--bs-primary) !important;
}

.img_checkbox_indeterminate_disabled {
    width: 11px !important;
    height: 11px !important;
    padding: 0px !important;
    margin-left: 0.7px;
    line-height: 11px !important;
    font-size: 11px !important;
    position: absolute;
    color: #808080;
}

.img_checkbox_checked_disabled {
    width: 16px !important;
    height: 16px !important;
    padding: 0px !important;
    margin-top: -1.8px;
    margin-left: -1px;
    line-height: 16px !important;
    font-size: 16px !important;
    position: absolute;
    color: #808080;
}

table.table td, table.table th {
    white-space: nowrap;
}

/*ReporT Nativo*/
.repor-t {
    max-height: calc(100vh - 55px);
    overflow: auto;
}

    .repor-t table.table th {
        white-space: normal !important;
    }

    .repor-t .table-responsive {
        max-height: calc(100vh - 140px);
    }

        .repor-t .table-responsive.repor-t-noFixH {
            max-height: none !important;
            padding-left: 5em !important;
            padding-right: 5em !important;
        }

@media (max-width: 768px) {
    .repor-t .table-responsive.repor-t-noFixH {
        padding-left: 0.5em !important;
        padding-right: 0.5em !important;
    }
}

.repor-t .table-responsive.repor-t-noFixH td, .repor-t .table-responsive.repor-t-noFixH th {
    white-space: normal !important;
}

.repor-t a {
    color: var(--bs-primary) !important;
    text-decoration: none !important;
}

    .repor-t a:active {
        color: var(--bs-secondary) !important;
    }

        .repor-t a:active:hover {
            filter: none !important;
        }

    .repor-t a:hover {
        color: var(--bs-primary) !important;
        filter: brightness(0.8) !important;
    }
/*Fin ReporT Nativo*/


/*Muestra el icono de puntero y previene la selecci n de texto en los textos de los encabezados de tablas*/
.clickable-header {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

/*Muestra el icono de puntero y previene la selecci n de texto en los textos*/
.clickable-item {
    cursor: default;
    user-select: none;
    -webkit-user-select: none;
}

.fieldset_group {
    border-radius: 0.25rem;
}

.fieldset_content {
    margin-top: -15px;
}

.legend_group {
    font-size: larger;
    font-weight: 500;
}

.principal {
    padding-right: 0px;
    padding-left: 0px;
    margin-right: 0px;
    margin-left: 0px;
    font-size: small;
}

/*.principal a {
    color: #212529;
}*/

@media (max-width: 640.98px) {
    .principal {
        font-size: large;
    }
}

.container-abm {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - 56px);
    min-height: calc(100vh - 56px);
    background-color: var(--bs-light);
    padding: 10px;
}

/*@media (max-width: 640.98px) {
    .container-abm {
        max-height: 100%;
        min-height: calc(100vh - 56px);
    }
}*/

.container-dashboard {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 100vh;
    min-height: 100vh;
}

    .container-dashboard .tab-content {
        padding: 0px !important;
    }

.listDownTable {
    min-width: 30vh;
}

/*.container-datepicker {
    position: relative;
    width: 30px;
}

.container-btn-datepicker {
    display: inline-block;
    width: 100%;
    position: relative;
}

.btn-click-datepicker {
    border: none;
    background: transparent;
    width: 100%;
    color: transparent;
}

    .btn-click-datepicker::-webkit-calendar-picker-indicator {
        right: -10px;
        position: absolute;
        width: 78px;
        height: 40px;
        width: 100%;
        height: 100%;
        color: rgba(204, 204, 204, 0);
        opacity: 0;
        cursor: pointer;
    }

    .btn-click-datepicker::-webkit-inner-spin-button {
        -webkit-appearance: none;
    }

.btn-date-datepicker {
    height: 100%;
    border: 0.5px solid;
    position: absolute;
    right: 0;
    top: 0;
}*/

.multilinea {
    overflow: hidden;
    text-overflow: ellipsis;
}

/*Oculta el texto de los botones de toolbars en pantallas peque as*/
@media (max-width: 768px) {
    .navbar-nav .btn > span {
        display: none;
    }
}

/*Evita que t tulos largos agranden el alto del header de los modals*/
.modal-title {
    white-space: nowrap !important;
    overflow: hidden !important;
}

.form-check-input[type=checkbox] {
    outline: 0.5px solid rgba(0,0,0,.35);
    width: 1em;
    height: 1em;
    float: left;
}

    .form-check-input[type=checkbox]:checked, .form-check-input[type=checkbox]:indeterminate {
        background-color: var(--bs-primary) !important;
        border-color: var(--bs-primary) !important;
        outline: 0.5px solid rgba(0,0,0,.35);
        color: white;
    }

.form-check-input-control {
    margin-left: -1.5em;
}

.spinner-color {
    color: var(--bs-primary) !important;
}

.ssg-label-md {
    flex: 0 0 auto;
}

.ssg-label-md-fieldset-dialog {
    flex: 0 0 auto;
}

.ssg-label {
    flex: 0 0 auto;
}

.ssg-label-md-par {
    flex: 0 0 auto;
}

.ssg-label-par {
    flex: 0 0 auto;
}

.ssg-label-impar {
    flex: 0 0 auto;
}

.ssg-input-sm {
    flex: 0 0 auto;
}

.ssg-input-md {
    flex: 0 0 auto;
}

.ssg-input {
    flex: 0 0 auto;
}

.ssg-input-lg {
    flex: 0 0 auto;
}

.ssg-input-par {
    flex: 0 0 auto;
}

.ssg-input-lg-par {
    flex: 0 0 auto;
}

.ssg-label-md-dialog {
    flex: 0 0 auto;
}

.ssg-label-dialog {
    flex: 0 0 auto;
}

.ssg-input-sm-dialog {
    flex: 0 0 auto;
}

.ssg-input-md-dialog {
    flex: 0 0 auto;
}

.ssg-input-dialog {
    flex: 0 0 auto;
}

.ssg-input-lg-dialog {
    flex: 0 0 auto;
}

.ssg-input-fieldset-dialog {
    flex: 0 0 auto;
}

.ssg-input-md-fieldset-dialog {
    flex: 0 0 auto;
}

@media (min-width: 1400px) and (max-width: 2600px) {
    .ssg-label-md {
        width: calc(100% / 12 * 4);
    }

    .ssg-label {
        width: calc(100% / 12 * 2);
    }

    .ssg-label-md-par {
        width: calc(100% / 12 * 4);
    }

    .ssg-label-par {
        width: calc(100% / 12 * 2);
    }

    .ssg-label-impar {
        width: calc(100% / 12 * 3);
    }

    .ssg-label-md-fieldset-dialog {
        width: calc(100% / 12 * 5);
    }

    .ssg-input-sm {
        width: calc(100% / 12 * 2);
    }

    .ssg-input-md {
        width: calc(100% / 12 * 4);
    }

    .ssg-input {
        width: calc(100% / 12 * 8);
    }

    .ssg-input-lg {
        width: calc(100% / 12 * 10);
    }

    .ssg-input-par {
        width: calc(100% / 12 * 8);
    }

    .ssg-input-lg-par {
        width: calc(100% / 12 * 10);
    }

    .ssg-label-md-dialog {
        width: calc(100% / 12 * 4);
    }

    .ssg-label-dialog {
        width: calc(100% / 12 * 3);
    }

    .ssg-input-sm-dialog {
        width: calc(100% / 12 * 3);
    }

    .ssg-input-md-dialog {
        width: calc(100% / 12 * 5);
    }

    .ssg-input-dialog {
        width: calc(100% / 12 * 6);
    }

    .ssg-input-lg-dialog {
        width: calc(100% / 12 * 9);
    }

    .ssg-input-fieldset-dialog {
        width: calc(100% / 12 * 7);
    }

    .ssg-input-md-fieldset-dialog {
        width: calc(100% / 12 * 5);
    }
}

@media (min-width: 1200px) and (max-width: 1400px) {
    .ssg-label-md {
        width: calc(100% / 12 * 4);
    }

    .ssg-label {
        width: calc(100% / 12 * 2);
    }

    .ssg-label-md-par {
        width: calc(100% / 12 * 4);
    }

    .ssg-label-par {
        width: calc(100% / 12 * 2);
    }

    .ssg-label-impar {
        width: calc(100% / 12 * 3);
    }

    .ssg-label-md-fieldset-dialog {
        width: calc(100% / 12 * 5);
    }

    .ssg-input-sm {
        width: calc(100% / 12 * 2);
    }

    .ssg-input-md {
        width: calc(100% / 12 * 4);
    }

    .ssg-input {
        width: calc(100% / 12 * 8);
    }

    .ssg-input-lg {
        width: calc(100% / 12 * 10);
    }

    .ssg-input-par {
        width: calc(100% / 12 * 8);
    }

    .ssg-input-lg-par {
        width: calc(100% / 12 * 10);
    }

    .ssg-label-md-dialog {
        width: calc(100% / 12 * 4);
    }

    .ssg-label-dialog {
        width: calc(100% / 12 * 3);
    }

    .ssg-input-sm-dialog {
        width: calc(100% / 12 * 3);
    }

    .ssg-input-md-dialog {
        width: calc(100% / 12 * 5);
    }

    .ssg-input-dialog {
        width: calc(100% / 12 * 8);
    }

    .ssg-input-lg-dialog {
        width: calc(100% / 12 * 9);
    }

    .ssg-input-fieldset-dialog {
        width: calc(100% / 12 * 7);
    }

    .ssg-input-md-fieldset-dialog {
        width: calc(100% / 12 * 5);
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .ssg-label-md {
        width: calc(100% / 12 * 3);
    }

    .ssg-label {
        width: calc(100% / 12 * 3);
    }

    .ssg-label-md-par {
        width: calc(100% / 12 * 4);
    }

    .ssg-label-par {
        width: calc(100% / 12 * 2);
    }

    .ssg-label-impar {
        width: calc(100% / 12 * 4);
    }

    .ssg-label-md-fieldset-dialog {
        width: calc(100% / 12 * 8);
    }

    .ssg-input-sm {
        width: calc(100% / 12 * 4);
    }

    .ssg-input-md {
        width: calc(100% / 12 * 6);
    }

    .ssg-input {
        width: calc(100% / 12 * 9);
    }

    .ssg-input-lg {
        width: calc(100% / 12 * 9);
    }

    .ssg-input-par {
        width: calc(100% / 12 * 8);
    }

    .ssg-input-lg-par {
        width: calc(100% / 12 * 10);
    }

    .ssg-label-md-dialog {
        width: calc(100% / 12 * 12);
    }

    .ssg-label-dialog {
        width: calc(100% / 12 * 4);
    }

    .ssg-input-sm-dialog {
        width: calc(100% / 12 * 4);
    }

    .ssg-input-md-dialog {
        width: calc(100% / 12 * 6);
    }

    .ssg-input-dialog {
        width: calc(100% / 12 * 8);
    }

    .ssg-input-lg-dialog {
        width: calc(100% / 12 * 8);
    }

    .ssg-input-fieldset-dialog {
        width: calc(100% / 12 * 12);
    }

    .ssg-input-md-fieldset-dialog {
        width: calc(100% / 12 * 12);
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    .ssg-input-sm {
        width: calc(100% / 12 * 6);
    }

    .ssg-input-sm-dialog {
        width: calc(100% / 12 * 8);
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .ssg-input-sm {
        width: calc(100% / 12 * 6);
    }

    .ssg-input-sm-dialog {
        width: calc(100% / 12 * 8);
    }
}

/*Oculta el texto de los botones en pantallas peque as*/
@media (max-width: 576px) {
    .btn-hidden-text {
        display: none;
    }
}

@media (max-width: 1200px) {
    .btn-hidden-text-dialog {
        display: none;
    }
}

/* Estilo para dropdown-window (Idem bootstrap dropdown-menu) duplicado porque dropdown-menu deshabilita los eventos de teclas arrowdown y arrowup */
.dropdown-window {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: .5rem 0;
    margin: 0;
    /*    font-size: 1rem;*/
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: .25rem
}

    .dropdown-window.show {
        display: block
    }

.ssg-contextmenu {
    max-height: 75vh;
    max-width: 75vw;
}

    .ssg-contextmenu.dropdown-window, .ssg-contextmenu.dropdown-menu {
        box-shadow: rgba(0,0,0,0.25) 0px 5px 10px;
    }

    .ssg-contextmenu.table-responsive {
        max-height: calc(75vh - .25em);
        max-width: calc(75vw - .25em);
    }

.filaResaltada {
    color: red !important;
    font-weight: 700 !important;
}

.filaResaltadaAzul {
    color: blue !important;
    font-weight: 700 !important;
}

.filaAzul {
    color: blue !important;
}

.filaGris {
    color: gray !important;
}

.navbar .btn-outline-dark {
    border: 0px;
}

.dropdown-menu hr {
    margin: 0.4em 0;
}

.ssg-datepicker {
    min-width: 1.7rem;
    max-width: 1.7rem !important;
    min-height: 2.3rem;
    max-height: 2.3rem !important;
    color: transparent !important;
}

    .ssg-datepicker.btn-sm {
        min-width: 1.8rem;
        max-width: 1.8rem !important;
        min-height: 1.9rem;
        max-height: 1.9rem !important;
        color: transparent !important;
    }

    .ssg-datepicker::-webkit-calendar-picker-indicator {
        cursor: pointer;
        padding: .3em;
        margin: 0px;
        height: 1.5em;
        width: 1.5em;
    }

        .ssg-datepicker::-webkit-calendar-picker-indicator:hover {
            filter: invert(1);
        }

    .ssg-datepicker::-webkit-datetime-edit {
        display: none;
    }

.ssgTabContent {
    padding: 1em;
}

@media (max-width: 768px) {
    .ssgTabContent {
        padding: 2px;
    }
}

.ssgTabContent > .container-abm {
    max-height: unset;
    min-height: unset;
    padding: .2em;
}

.ssgTabContent.container-abm {
    max-height: unset;
    min-height: unset;
}

    .ssgTabContent.container-abm > .container-abm {
        max-height: unset;
        min-height: unset;
    }

.ssgTabContent textarea {
    max-height: 25vh !important;
    min-height: 25vh !important;
}

.ssgTabContent .table-responsive, .ssgTabContent .WebListViewListadoABM {
    background-color: var(--bs-white);
    max-height: 50vh !important;
    min-height: 50vh !important;
    border-style: solid;
    border-width: 0.5px;
    border-top: none;
    border-color: var(--bs-gray-400);
}

.ssgTabContent .ql-editor {
    max-height: 60vh !important;
    min-height: 35vh !important;
}

.ssgmapview {
    max-height: 60vh;
    min-height: 60vh;
    width: 100%
}

.ssgTabContent .navbar, .offcanvas-body .navbar {
    border-style: solid;
    border-width: 0.5px !important;
    border-bottom: 0;
    border-color: var(--bs-gray-400);
}

.ssgTabContent div[class*="animate__fade"] {
    -webkit-animation-name: none;
    animation-name: none;
}

.sidenavcontent.container-abm {
    /*    background-color: var(--bs-light);
    background-color: var(--bs-white);*/
    /*    padding:0;*/
}

.sidenavcontent .sidenavheader {
    position: sticky;
    top: 0;
    z-index: 50;
}

.sidenavcontenth .sidenavheader {
    z-index: 45;
    background-color: inherit; /*TabHeader white solo en principal*/
}

    .sidenavcontenth .sidenavheader > h5 {
        background-color: inherit;
        font-size: .9rem;
    }

.sidenavcollapse {
    display: none;
}

.sidenavpanel {
    background-color: inherit;
}

.sidenavheader {
    background-color: inherit; /*TabHeader white*/
    /*    background-color: var(--bs-white);*/
    border-bottom-width: 1px !important;
    border-bottom-color: var(--bs-primary);
    box-shadow: rgba(var(--bs-primary-rgb),0.25) 0px 1px 0px;
    /*padding: 1.5em 2em .2em 2em;*/ /*Movido a .sidenavheader > h5 para poder poner background que no transparente*/
    margin-bottom: .2em;
}

    .sidenavheader > h5 {
        padding: 1rem 1rem .2rem 1rem;
        /*        background-color: rgba(var(--bs-secondary-rgb),.1);*/
        /*        border-bottom-width: 1px !important;
        border-bottom-color: var(--bs-primary);
        box-shadow: rgba(var(--bs-primary-rgb),0.25) 0px 1px 0px;
*/
    }

.modal-dialog.modal-xl .sidenav {
    max-height: calc(100vh - 112px);
}

.modal-dialog.modal-xl .sidenav, .modal-dialog.modal-xl .sidenavcontent.container-abm {
    max-height: calc(100vh - 13em);
    min-height: calc(100vh - 13em);
}

    .modal-dialog.modal-xl .sidenavcontent.container-abm .WebListViewABMDialog {
        max-height: unset !important;
        min-height: unset !important;
    }

.modal .ssgAsistenteContent {
    max-height: calc(100vh - 153px);
    min-height: calc(100vh - 153px);
}

.offcanvas-body .table-responsive.WebListViewListadoABM {
    background-color: var(--bs-white);
    max-height: 65vh !important;
    min-height: 65vh !important;
    border-style: solid;
    border-width: 0.5px;
    border-top: none;
    border-color: var(--bs-gray-400);
}

    .offcanvas-body .table-responsive.WebListViewListadoABM.ListaCaja {
        max-height: 45vh !important;
        min-height: 45vh !important;
    }

    .offcanvas-body .table-responsive.WebListViewListadoABM.ListaCajaSaldo {
        max-height: 25vh !important;
        min-height: 25vh !important;
    }

    .offcanvas-body .table-responsive.WebListViewListadoABM.ListaConciliacionSaldo {
        max-height: 32vh !important;
        min-height: 32vh !important;
    }

span.navbar-brand {
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 20vw;
    /*font-size: 1.1rem;*/
    padding: .2rem 0;
}

    span.navbar-brand:empty {
        min-width: 0px;
    }

.ssg-weblistviewfiltro {
    min-height:35vh;
    max-height:70vh;
    overflow-x:auto;
}

.ssg-weblistviewfiltro hr {
    margin: 0.4em 0;
}
