﻿/* =============================
    Sitio Feasy Facturación - 31/07/2024
    Indice:

    1) Contenedores, Label, Span, Utilitarios, Títulos
    2) Botones
    3) Controles Generales
    4) Modal
    5) Estilo Tablas
  =============================  */


:root {
    --colorprincipal: #00C5B4 !important;
    --coloricon: #1C4386;
    --colorsecundario: #1C4386;
    --colorcontrol: #1C4386;
}
.fuente {
        font-family: 'Golos Text', sans-serif;
}

/* ======================================
  1) Contenedores, Label, Span, Utilitarios, Títulos
  ====================================== */

label, span, h5 {
    color: black;
}

.required:after {
    content: " *";
    color: red;
}

.contenedor-sitio {
    padding: 10px;
    background: white;
    max-width: 1300px;
    margin: 0 auto;
    margin-top: 20px;
   border: 1px solid #dedede
}

.titulo-form {
    font-weight: bold;
    color: #484D55 !important;
    border-bottom: 1px solid #999EA6;
    font-size: 14px;
    padding: 10px 5px;
    text-transform: uppercase;
}

.subtitulo-form {
    color: #333 !important;
    font-size: 12px;
}

    .subtitulo-form i {
        margin-right: 10px;
        color: var(--coloricon);
        font-size: 12px;
    }


.texto-contenido-form {
    color: #212529;
    font-size: 12px;
    font-weight: initial;
}

.form-select-sm, .form-control-sm {
    font-size: 12px !important;
}

.custom-file-label::after {
    content: "seleccionar" !important;
}

.form-check-table {
    padding: 7px !important;
    position: inherit;
}

.tabla-vacia {
    padding: 100px;
    background-color: ghostwhite;
    margin-left: -1px;
    margin-right: -1px;
    margin-top: 20px;
    text-align: center;
    line-height: 15px;
}

.tabla-vacia-sm {
    padding: 10px;
    background-color: whitesmoke;
    margin-left: -1px;
    margin-right: -1px;
    margin-top: 5px;
    text-align: center;
    line-height: 15px;
}

.tabla-vacia img, .tabla-vacia-sm img {
    width: 40px;
}

    .tabla-vacia span, .tabla-vacia-sm span {
        font-size: 12px;
    }



.whatsapp-index {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 10px;
    right: 10px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
}

.whatsapp-icon {
    margin-top: 13px;
}


.titulo-con-linea {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 13px;
    color: #484D55 !important;
    font-weight: bold;
}

    .titulo-con-linea i {
        margin-right: 10px;
        color: var(--coloricon);
        font-size: 12px;
    }

    .titulo-con-linea::before {
        content: '';
        flex-grow: 0;
        flex-shrink: 0;
        height: 1px;
        background: #E5E5E5;
        width: 20px;
        margin-right: 10px;
    }

    .titulo-con-linea::after {
        content: '';
        flex-grow: 1;
        height: 1px;
        background: #E5E5E5;
        margin-left: 10px;
    }

    .icon-menu-grilla {
        width: 12px;
        margin-right: 5px;
    }

/*====================== Ver Contraseña Estilo =============================*/

.fa-eye {
    position: absolute;
    top: 20%;
    right: 5%;
    cursor: pointer;
    color: var(--colorcontrol) !important;
}


/* ========= Paginador ========= */

.btn-pagina {
    background-color: gainsboro !important;
    border-radius: 8px !important;
    color: #373A4D;
    font-weight: 500;
}

    .btn-pagina:hover, .btn-pagina:focus, .btn-activo {
        color: #fff;
        border-radius: 8px;
        background-color: var(--colorprincipal) !important;
    }

.contenedor-paginador {
    text-align: end;
}

.contenedor-totalfilas {
    text-align: initial;
}

.contenedor-ver-registros {
    text-align: initial;
}

/*====================== Pop Up =============================*/

.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .popup .popuptext {
        visibility: hidden;
        min-width: 200px;
        width: auto;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 8px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        left: 100px;
        margin-left: -80px;
    }

        .popup .popuptext::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 9px;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .popup .popuptext-l {
        visibility: hidden;
        min-width: 200px;
        width: auto;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 8px;
        position: absolute;
        z-index: 1;
        bottom: 125%;
        right: 100%;
        margin-left: -80px;
    }

        .popup .popuptext-l::after {
            content: "";
            position: absolute;
            top: 100%;
            right: 9px;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }


    .popup .show {
        visibility: visible;
        -webkit-animation: fadeIn 1s;
        animation: fadeIn 1s;
    }

.imagen-popup {
    width: 15px;
}

/*====================== Nav Tab =============================*/
.nav-sitio {
    font-size: 13px !important;
    letter-spacing: 0.5px;
}

.nav-tabs .nav-link {
    color: #495057;
    border-color: #e9ecef !important;
}

    .nav-tabs .nav-link.active {
        background-color: var(--colorprincipal) !important;
        color: white;
    }

@media only screen and (max-width: 767px) {
    .contenedor-sitio {
        margin-top: 0px;
    }

    .tabla-vacia img, .tabla-vacia-sm img {
        width: 30px;
    }

    /* ========= Paginador ========= */
    .contenedor-ver-registros {
        text-align: center;
    }

    .contenedor-paginador, .contenedor-totalfilas {
        text-align: center;
        margin-bottom: 10px;
    }
}

/* ========= loadingoverlay ========= */

.loadingoverlay{
    z-index: 1061 !important;
}
/* ======================================
  2) Botones
  ====================================== */
.boton-redondeado {
    border-radius: 10rem;
}

.boton-redondeado-grupo {
    border-radius: 0px 10rem 10rem 0px !important;
}

.boton-flotante {
    position: fixed;
    height: 40px;
    bottom: 20px;
    right: 15px;
    border-radius: 20px;
    width: 90px;
    z-index: 1;
}

.boton-sitio-primario {
    color: #fff !important;
    background-color: var(--colorcontrol);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    text-transform: uppercase;
    padding: 5px 10px;
    font-size: .81rem;
}

.boton-sitio-secundario {
    color: #fff !important;
    background-color: var(--colorprincipal);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    text-transform: uppercase;
    padding: 5px 10px;
    font-size: .81rem;
}

.boton-color-primario {
    color: #fff !important;
    background-color: var(--colorprincipal);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 5px 10px;
    font-size: .81rem;
}

.boton-color-secundario {
    color: #fff !important;
    background-color: var(--colorsecundario);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 5px 10px;
    font-size: .81rem;
}

.boton-color-control {
    color: #fff !important;
    background-color: #00c851 !important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 5px 10px;
    font-size: .81rem;
}

.boton-verde-limon {
    color: #fff !important;
    background-color: #00c851 !important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 5px 10px;
    font-size: .81rem;
}

.boton-verde {
    color: #fff !important;
    background-color: #14A44D !important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 5px 10px;
    font-size: .81rem;
}

.boton-rosado {
    color: #fff !important;
    background-color: #FE9EC3 !important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 5px 10px;
    font-size: .81rem;
}

.boton-azul {
    color: #fff !important;
    background-color: #4E82BB !important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 5px 10px;
    font-size: .81rem;
}


.boton-peligro {
    color: #fff !important;
    background-color: #ff3547 !important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 5px 10px;
    font-size: .81rem;
}

.boton-primario {
    color: #fff !important;
    background-color: #4285F4 !important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 5px 10px;
    font-size: .81rem;
}

.boton-informacion {
    color: #fff !important;
    background-color: #33B5E5 !important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 5px 10px;
    font-size: .81rem;
}

.boton-indigo {
    color: #fff !important;
    background-color: #3f51b5 !important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 5px 10px;
    font-size: .81rem;
}

.boton-negro {
    color: #fff !important;
    background-color: #212121 !important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 5px 10px;
    font-size: .81rem;
}

.boton-light {
    color: #4f4f4f !important;
    background-color: #fbfbfb !important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 5px 10px;
    font-size: .81rem;
}

.boton-gris {
    color: white !important;
    background-color: #666 !important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 5px 10px;
    font-size: .81rem;
}

.boton-sm {
    padding: 5px !important;
    font-size: 12px;
    text-transform: capitalize;
}

.boton-usm {
    padding: 4px !important;
    font-size: 11px;
    text-transform: capitalize;
}


.boton-borde-peligro {
    color: #ff3547 !important;
    background-color: white !important;
    border: 2px solid #ff3547 !important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12);
    padding: 5px 10px;
    font-size: .81rem;
}


    .boton-rosado:hover,
    .boton-rosado:focus,
    .boton-azul:hover,
    .boton-azul:focus,
    .boton-verde:hover,
    .boton-verde:focus,
    .boton-peligro:hover,
    .boton-peligro:focus,
    .boton-primario:hover,
    .boton-primario:focus,
    .boton-informacion:hover,
    .boton-informacion:focus,
    .boton-indigo:hover,
    .boton-indigo:focus,
    .boton-negro:hover,
    .boton-negro:focus,
    .boton-light:hover,
    .boton-light:focus,
    .boton-verde-limon:hover,
    .boton-verde-limon:focus,
    .boton-gris-limon:hover,
    .boton-gris-limon:focus,
    .boton-color-control:hover,
    .boton-color-control:focus,
    .boton-borde-peligro:hover,
    .boton-borde-peligro:focus {
        outline: 0;
        -webkit-box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15);
        box-shadow: 0 5px 11px 0 rgba(0,0,0,0.18), 0 4px 15px 0 rgba(0,0,0,0.15);
    }

/* ==========================================
   3) Controles Generales (CHECK, RADIO, CBX, ETC)
  =========================================  */

@import url("https://use.fontawesome.com/releases/v5.0.11/css/all.css");

.checkBoxWithHidden, .checkBox, .checkBoxWithHiddensec, input[type="radio"] {
    position: absolute;
    right: 9000px;
}

    /*Check sin Input Ocultos*/
    .checkBox + .label-text:before {
        content: "\f0c8";
        font-family: "Font Awesome 5 Free";
        speak: none;
        font-style: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        width: 1em;
        display: inline-block;
        font-size: 18px;
        font-weight: initial;
    }

    .checkBox:checked + .label-text:before {
        content: "\f14a";
        color: #0099DA;
        animation: effect 250ms ease-in;
        font-weight: 900;
    }

    .checkBox:disabled + .label-text {
        color: #aaa;
    }

        .checkBox:disabled + .label-text:before {
            content: "\f0c8";
            color: #ccc;
        }


    input[type="radio"] + .label-text:before {
        content: "\f111";
        font-family: "Font Awesome 5 Free";
        speak: none;
        font-style: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        width: 1em;
        display: inline-block;
        margin-right: 5px;
    }

    input[type="radio"]:checked + .label-text:before {
        content: "\f192";
        color: #8e44ad;
        animation: effect 250ms ease-in;
    }

    input[type="radio"]:disabled + .label-text {
        color: #aaa;
    }

        input[type="radio"]:disabled + .label-text:before {
            content: "\f111";
            color: #ccc;
        }

.toggle input[type="radio"] + .label-text:before {
    content: "\f204";
    font-family: "Font Awesome 5 Free";
    speak: none;
    font-style: normal;
    font-weight: 900;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    width: 1em;
    display: inline-block;
    margin-right: 10px;
    font-size: 18px;
}

.toggle input[type="radio"]:checked + .label-text:before {
    content: "\f205";
    color: #16A085;
    animation: effect 250ms ease-in;
}

.toggle input[type="radio"]:disabled + .label-text {
    color: #aaa;
}

    .toggle input[type="radio"]:disabled + .label-text:before {
        content: "\f204";
        color: #ccc;
    }


@keyframes effect {
    0% {
        transform: scale(0);
    }

    25% {
        transform: scale(1.3);
    }

    75% {
        transform: scale(1.4);
    }

    100% {
        transform: scale(1);
    }
}

.contenedor-radio {
    background: #fff;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin-right: 5px;
    border-radius: 5px;
    cursor: pointer;
    padding: 5px 10px;
    border: 2px solid lightgray;
    transition: all 0.3s ease;
    font-size: 13px;
    color: #808080 !important;
    font-weight: normal;
}

.radio-seleccion:checked:checked ~ .contenedor-radio {
    color: white !important;
    border-color: var(--colorprincipal);
    background: var(--colorprincipal);
}

.radio-seleccion:checked:checked + .label-text:before {
    color: white !important;
}

/*============================= SELECT2 ================================*/

.select2-choices {
    min-height: 150px;
    max-height: 150px;
    overflow-y: auto;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 12px;
    color: #212529;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 4px;
}

.select2-container--default .select2-results__option {
    padding: 6px 12px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    font-size: 12px;
}

.select2-container--default .select2-dropdown.select2-dropdown--below {
    border-top: 0;
    background-color: white;
    border-radius: 2px;
}

.select2-container--default .select2-dropdown.select2-dropdown--above {
    border-bottom: 0;
    border-top: 0;
    background-color: white;
    border-radius: 2px;
}

.select2-container--default .select2-results > .select2-results__options {
    max-height: 200px;
    overflow-y: auto;
}

.form-check-input:checked {
    background-color: var(--colorcontrol) !important;
    border-color: var(--colorcontrol) !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: var(--colorcontrol) !important;
    background-color: var(--colorcontrol) !important;
}

/*.select2-container {
    width: inherit !important;
}*/

.select2-container--default .select2-selection--multiple {
    font-size: 12px !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
    background-color: var(--colorsecundario) !important;
    color: white;
}

.select2-container--default .select2-selection--multiple {
    background-color: white;
    border: 1px solid #ced4da;
    border-radius: 4px;
    cursor: text;
}

    .select2-container--default .select2-selection--multiple .select2-selection__choice {
        background-color: var(--colorsecundario);
        border: 1px solid var(--colorsecundario);
        border-radius: 4px;
        cursor: default;
        float: left;
        margin-right: 5px;
        margin-top: 5px;
        padding: 0 5px;
        color: white;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
        color: white !important;
        cursor: pointer;
        display: inline-block;
        font-weight: bold;
        margin-right: 2px;
    }

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #ced4da;
    outline: 0;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #6c757d !important;
}

.select2-container .select2-selection--single {
    height: 28px;
}
/*============================= SWEETALERT2 ================================*/
.swal2-popup {
    font-size: 12px !important;
    font-family: 'Varela Round', sans-serif;
}

.swal2-content {
    color: #545454;
    font-size: 1.125em;
    font-weight: inherit;
    line-height: normal;
    word-wrap: break-word;
}

.swal2-title {
    font-size: 1.125em !important;
}

.swal2-styled.swal2-confirm {
    background-color: #015083 !important;
    color: white !important;
}

.swal2-styled.swal2-cancel {
    background-color: #484D55 !important;
}

@media only screen and (min-width: 992px) {
    .select2-container {
        width: 100% !important;
    }
}

.dropdown-item.active, .dropdown-item:active {
    background-color: var(--coloricon) !important;
}
/* ======================================
            5) Estilo Tablas
  ====================================== */
/* ====================================== EXPLORADOR CABECERA ====================================== */
.tabla-responsive-xy {
    overflow-x: auto;
    overflow-y: scroll;
}

.tabla-responsive {
    overflow-x: auto;
    min-height: 200px;
}

.tabla-sitio tr th {
    padding: 10px;
    font-size: 12px;
    color: #484D55 !important;
    vertical-align: middle !important;
    border-top: 0px;
}

.tabla-sitio tbody td {
    padding: 4px 8px !important;
    font-size: 12px;
    font-weight: initial;
    text-align: center;
    vertical-align: middle !important;
    text-align: initial;
}

.tabla-sitio tr th::after {
    font-family: "Font Awesome 5 Free";
    content: "\f0dc";
    display: inline-block;
    padding-right: 3px;
    font-weight: 900;
    float: right;
    color: #999EA6;
}

.colresp {
    display: table-cell;
}

.ver-mas-fila::after {
    display: none;
}

/* estados con colores */
.estado-habilitado {
    background-color: #64C167;
    padding: 2px 5px;
    color: white;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 10px;
}

.color-primario {
    background-color: #64C167;
    padding: 2px 5px;
    color: white;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 10px;
}

.color-secundario {
    background-color: #70C0E5;
    padding: 2px 5px;
    color: white;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 10px;
}

.estado-deshabilitado {
    background-color: #FF6862;
    padding: 2px 5px;
    color: white;
    border-radius: 5px;
    text-transform: uppercase;
    font-size: 10px;
}

/*boton de accion*/
.dropdown-item {
    display: block;
    width: 100%;
    padding: .25rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    font-size: 12px;
}

    .dropdown-item a {
        text-decoration: none;
        color: var(--colorprincipal);
    }

        .dropdown-item a:hover {
            background-color: gray;
        }

@media only screen and (max-width: 767px) {
    .colresp {
        display: none;
    }

    .ver-mas-fila::after {
        display: block;
        font-family: fontAwesome;
        content: '\f141';
        float: right;
    }
}


/* ======================================
            4) Modal
  ====================================== */
.titulo-modal {
    font-weight: bold;
    color: #484D55 !important;
    font-size: 14px;
    margin-bottom: 0px;
}
