﻿html * {
    font-family: 'Montserrat', serif;
    -webkit-font-smoothing: antialiased;
}

/* Estilo - Estructura nueva*/
/* width */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #555;
    }


/* ==================================================================
    Content Box
================================================================== */
.content-box {
    display: inline-block;
    position: relative;
    height: auto;
    width: 100%;
    max-width: 100%;
    background-color: white;
    border-radius: 8px;
}

.sombra {
    box-shadow: 0px 0px 36px -13px rgba(0,0,0,0.75);
}

.content-header {
    display: flex;
    justify-content: space-between;
    height: 50px;
    width: 100%;
    background-color: whitesmoke;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px 8px 0px 0px;
}

    .content-header button {
        color: white;
        font-size: 12px !important;
        border-radius: 0.25rem !important;
        margin: 0px 2px;
    }

    .content-header > .content-header-left {
        margin-left: 20px;
    }

        .content-header > .content-header-left > h1 {
            color: black;
            font-size: 18px;
            margin: 0px;
            font-weight: 600;
            line-height: 50px;
        }

    .content-header > .content-header-right {
        display: flex;
        align-items: center;
        margin-right: 20px;
    }

/* ==================================================================
    Content Box IFrame Modal
================================================================== */
.content-box.iframe-modal {
    height: 100%;
}

    .content-box.iframe-modal > .content-header > .content-header-right {
        margin-right: 10px;
    }

    .content-box.iframe-modal > .content-header > .content-header-right > .iframe-modal-buttons {
        padding-left: 10px;
        margin-left: 10px;
        border-left: 1px solid rgba(0,0,0,0.25);
    }

    .content-box.iframe-modal > .content-body {
        height: calc(100% - 58px);
        overflow-x: hidden;
        overflow-y: scroll;
        padding: 7px;
        padding-bottom: 0px;
    }

.content_busqueda {
    position: relative;
    width: 100%;
    display: block;
    padding: 10px 0px;
    background-color: #f0f0f0;
}
/* ==================================================================
    Tabla Scroll
================================================================== */
.table_scroll1 {
    width: 100%;
    height: 100%;
    /*background-color: white;*/
    border-bottom: none;
    font-family: 'Montserrat'
}

    .table_scroll1 > tbody {
        display: block;
        height: calc(100% - 36px);
        overflow-y: scroll;
        overflow-x: hidden;
    }

        .table_scroll1 > tbody > tr:nth-child(even) {
            background-color: rgba(0, 0, 0, 0.02);
        }

.table_scroll1 > tbody > tr {
    border: none;
}

    .table_scroll1 > tbody > tr.baja {
        background-color: lightgray;
    }

    .table_scroll1 > tbody > tr > td.sin_resultados {
        width: 100%;
        height: 120px;
        background-color: lightgray;
        text-align: left;
        padding-left: 50px;
        font-size: 16px;
    }

        .table_scroll1 > thead, .table_scroll1 > tbody > tr {
            display: table;
            width: 100%;
            table-layout: fixed;
        }

            .table_scroll1 > thead, .table_scroll1 > tbody > tr > td {
                padding-top: 8px;
                padding-bottom: 8px;
                padding-left: 8px;
                cursor: default;
                font-size: 13px;
            }

                .table_scroll1 > thead > tr > th, .table_scroll1 > tbody > tr > td {
                    border-right: 1px solid rgba(0, 0, 0, 0.1);
                }

.table_scroll1 > thead {
    width: calc(100% - 10px);
    background-color: #f0f0f0;
    color: black;
}

    .table_scroll1 > thead > tr {
        border-bottom: none;
    }

        .table_scroll1 > thead > tr > th {
            /*padding: 8px 5px !important;*/
            padding-top: 8px;
            padding-bottom: 8px;
            padding-left: 8px;
            font-size: 13px;
        }

/* ==================================================================
    Info Table
================================================================== */
.content-info-table {
    display: flex;
    justify-content: space-evenly;
    padding: 3px 0px;
    margin: 0px 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid lightgray;
    border-top: 1px solid lightgray;
}

    .content-info-table > label {
        color: gray;
        font-size: 13px;
    }

        .content-info-table > label > span {
            color: black;
            font-weight: 600;
            margin-left: 5px;
        }



input:focus {
    border-bottom: 1px solid dodgerblue !important;
    box-shadow: 0 1px 0 0 dodgerblue !important;
}

::-webkit-input-placeholder {
    color: darkgray;
    font-size: 14px;
    text-align: center;
}



.cont_izquierdo {
    display: block;
    flex: 1;
    height: 100%;
    width: calc(100% - 144px);
}

.cont_derecho {
    width: 144px !important;
    height: 100%;
    border-left: 1px solid #f0f0f0;
    padding: 5px;
    vertical-align: top;
    display: flex;
    flex-direction: column;
}

.cont_izquierdo_wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.titulo-acciones {
    width: 100%;
    margin-top: 15px;
    margin-bottom: 15px;
    color: darkgrey;
    text-align: center;
    pointer-events: none;
    font-size: 15px !important;
}

#acciones a, #acciones_inferiores a {
    width: 100%;
    color: white;
    height: 40px;
    font-size: 12px;
    text-align: center;
    line-height: 40px;
    background-color: #0087D1;
    margin-bottom: 6px;
}

    #acciones a:hover, #acciones_inferiores a:hover {
        background-color: #006399;
    }

input[type=button], input[type=submit], input[type=reset], button {
    border: none;
    outline: none;
    text-decoration: none;
}

input[type=button], input[type=submit], input[type=reset] {
    color: white;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

input[type=checkbox] {
    pointer-events: auto !important;
    border: none !important;
    text-decoration: none !important;
    outline: none
}



.button_accion {
    width: 100%;
    color: white;
    height: 40px;
    font-size: 12px;
    text-align: center;
    line-height: 40px;
    background-color: #006399 !important;
    margin-bottom: 6px;
}

    .button_accion:hover {
        background-color: #0087D1 !important;
    }

#separador_acciones {
    flex: 1;
}

.button_cancelar {
    background-color: #C50000 !important;
}

    .button_cancelar:hover {
        background-color: #F40000 !important;
    }

.button_disabled {
    background-color: gray !important;
    pointer-events: none;
}

    .button_disabled:hover {
        background-color: gray !important;
    }

.tab_button_disabled {
    pointer-events: none;
}

    .tab_button_disabled > a {
        color: lightslategray !important
    }

    .tab_button_disabled:hover {
        background-color: transparent;
    }

a.btn-small {
    box-shadow: none;
}

/*Para textos =====================================================================================*/
.align_left {
    text-align: left;
}

.align_right {
    text-align: right;
}

.align_center {
    text-align: center;
}

.center_vh {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.negrita {
    font-weight: 700;
}
/*=================================================================================================*/

.oculto {
    display: none !important;
}

/*Modal ===========================================================================================*/
.modal_back {
    position: fixed;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#modal_back {
    visibility: hidden;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    /*height: calc(100% + 300px);*/
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
    transition: 0.5s;
}

.modal_back_auditoria {
    visibility: hidden;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    /*height: calc(100% + 300px);*/
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
    transition: 0.5s;
}

#modal {
    margin: auto;
    width: 40%;
    display: flex;
    flex-direction: column;
    height: 600px;
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 5px;
    filter: blur(0.5rem);
}

.modal_grande {
    width: 60%;
    height: 400px;
}

.modal_header {
    height: 50px;
    background-color: #f0f0f0;
    padding: 10px;
    position: relative;
    display: table;
}

    .modal_header label {
        display: table-cell;
        font-weight: bold;
        font-size: 15px !important;
        text-align: left;
        vertical-align: middle;
        color: black;
    }

    .modal_header a {
        display: table-cell;
        text-align: right;
        vertical-align: middle;
        user-select: none;
        color: black;
    }

.modal_body {
    flex: 1;
    max-height: 100%;
    background-color: white;
}

.modal_footer {
    height: 50px;
    background-color: #f0f0f0;
    padding: 10px;
}

    .modal_footer a {
        height: 30px;
        line-height: 30px;
        float: right;
        padding: 0 5px;
        margin-left: 10px;
        background-color: dodgerblue;
        color: white;
        border-radius: 2px;
    }

    .modal_footer #a_cancelar_modal {
        background-color: #353839;
    }

    .modal_footer a:hover {
        background-color: royalblue;
    }
/*=================================================================================================*/

/* Loading Icon ===================================================================================*/
.icon_loading {
    display: inline-block;
    position: absolute;
    width: 30px;
    right: 0px;
    margin: 0px 10px;
}

.icon_loading.relative { position: relative; }
.icon_loading.absolute { position: absolute; }

/* Row Col ===================================================================================*/
.row .col input.cod {
    background-color: #f0f0f0;
    text-align: center;
}

/* ==================================================================
    Toast
================================================================== */

.toast-action {
    margin-left: 0rem !important;
}

#toast-container {
    top: auto !important;
    left: auto !important;
    bottom: 10%;
    right: 10px;
}

    #toast-container > .toast > i {
        margin-right: 10px;
    }

    #toast-container > .toast > span {
        font-size: 14px;
    }

    #toast-container > .toast-danger {
        background-color: #E74C3C;
    }

    #toast-container > .toast-warning {
        background-color: #E67E22;
    }

    #toast-container > .toast-success {
        background-color: #27AE60;
    }

/* ==================================================================
    Buttons
================================================================== */
/* Detalles */
.btn-detalles {
    background-color: #0277bd;
}

    .btn-detalles:hover {
        background-color: #0288d1;
    }

    .btn-detalles:focus {
        background-color: #01579b;
    }

/* Aceptar - Validar */
.btn-aceptar {
    background-color: #0277bd;
}

    .btn-aceptar:hover {
        background-color: #0288d1;
    }

    .btn-aceptar:focus {
        background-color: #01579b;
    }

/* Cancelar - Rechazar */
.btn-cancelar {
    background-color: #C0392B;
}

    .btn-cancelar:hover {
        background-color: #A93226;
    }

    .btn-cancelar:focus {
        background-color: #CD6155;
    }

.dropdown-content li > span {
    font-size: 13px;
    color: #8b8491;
    display: block;
    line-height: 16px;
    padding: 5px 16px;
}

.autocomplete-content li .highlight {
    color: dodgerblue !important;
    font-weight: 600 !important;
}

.dropdown-content li {
    min-height: 18px !important;
}

.content-bottom > .dropdown-content {
    top: 25px !important;
}

.user-status {
    display: flex;
    align-items: center;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: green;
    margin-right: 0.5rem;
    transform: translateY(3px);
}

.online {
    background-color: green;
}

.user-name {
    font-size: 16px;
}

.txtCentrado{
    text-align:center;
}

.fuenteMedia{
    font-size:medium;
}

#modalTextoCompleto{
    width: 40%;
}

.cabecera {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.inputCabecera{
    width: 60% !important;
}

.textos {
    margin-top: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.texto {
    height: 300px;
    word-break: break-word;
    overflow-y: auto;
}

.lbl_texto{
    display:flex;
    flex-direction:column;
    width: 50%
}

.divTexto{
    width: 49%;
}

.fuente_l {
    font-size: larger;
}

.fuente_m {
    font-size: medium;
}

.icon_loading_abm {
    z-index: 1;
    position: absolute;
    display: flex;
    left: 30%;
    top: 30%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.item_menu_sugerido {
    padding: 4px 8px;
    height: 30px;
    font-size: 12px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

    .item_menu_sugerido:hover {
        background-color: lightblue;
    }

#txt_menu_buscado {
    width: 260px !important;
    height: 35px !important;
    border-radius: 7px;
    margin-bottom: 0px;
    margin-top: 4px !important;
    margin-left: 10px;
    text-align: center;
}