/* Eliminar los elementos flecha de input tipo number */
/*Chrome:*/
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/*Firefox:*/
input[type="number"] {
    -moz-appearance: textfield;
}
input[type="number"]:hover,
input[type="number"]:focus {
    -moz-appearance: number-input;
}
/*Other*/
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Elemento de formulario customizado */
.form-group-ruc {
    position: relative;
}

.estado {
    position: absolute;
    right: 1rem;
    bottom: 0.3rem;
}

.hint-input {
    position: relative;
}

.hints {
    position: absolute;
    z-index: 50;
    background: #fff;
    width: calc(100% - 15px);
    max-height: 150px;
    overflow-y: scroll;
    padding-top: 0.375rem !important;
    padding-bottom: 0.375rem !important;
    margin: 0;
}

.hints-lg {
    position: absolute;
    z-index: 50;
    background: #fff;
    width: calc(100% - 15px);
    min-height: 260px;
    overflow-y: scroll;
    padding-top: 0.375rem !important;
    padding-bottom: 0.375rem !important;
    margin: 0;
}

.hints li, .hints-lg li {
    list-style: disc !important;
}

.hints li a, .hints-lg li a {
    padding: 0 0.75rem;
    width: 100%;
    height: 100%;
    display: block;
}

.hints li a:hover, .hints-lg li a:hover {
    background-color: rgba(0,0,0,0.1);
}

.empresa-info {
    font-size: 1rem !important;
    margin-bottom: 0;
}

#main-table tbody tr:hover {
    background-color: rgba(0,123,255,0.1);
}

.card-body .todo-list li {
    display: flex !important;
}

.menus .menu {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.menus .menu .card-header {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
}

.menus .menu .card-header::after {
    display: none;
}

.menus .menu input[type=date] {
    width: 170px !important;
    text-align: center;
    display: inline-block !important;
}

.menus .menu .card-body .botones {
    display: flex;
}

.menus .menu .card-body .menu-platos li {
    text-align: left !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: circle;
}

.menus .menu .card-body .menu-platos li:not(:last-child) {
    margin-bottom: 0.5rem;
}

.menus .menu .card-body .menu-platos .plato {
    width: calc(100% - 54px);
}

.menus .menu .card-body .menu-platos .plato-btn {
    width: 54px;
    display: flex;
    justify-content: space-between;
}

.empresa-datos td {
    color: #183480;
}

.table-print-cont {
    position: relative;
    overflow-x: hidden !important;
}

.logo-sello {
    position: absolute;
    opacity: 0.2;
    width: 100%;;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-sello img {
    width: 500px;
    margin-top: 70px;
}

.terminos li {
    font-size: 0.9rem;
    line-height: 0.9;
}

.cotizacion .table-print {
    width: 100% !important;
    margin: 0 auto;
    border: 3px solid #183480;
    table-layout: auto;
    position: relative;
    background-color: transparent;
}

.cotizacion .table-print th, .table-print td {
    text-align: center;
    padding-left: 2px;
    padding-right: 2px;
    border: none !important;
}

.cotizacion .table-print th, .table-print tfoot {
    font-style: italic;
    vertical-align: middle !important;
    color: #183480;
    line-height: 1;
}

.cotizacion .table-print th {
    font-weight: bold;
}

.cotizacion .table-print thead tr:nth-child(2) {
    border-top: 3px solid #183480;
    border-bottom: 3px solid #183480;
}

.cotizacion .table-print thead tr:nth-child(2) th {
    padding-top: 2px;
    padding-bottom: 2px;
}

.cotizacion .table-print tbody {
    height: 60px;
}

.cotizacion .table-print tfoot tr:first-child td {
    padding: 10px 0 !important;
}

.cotizacion .table-print tfoot tr:last-child td {
    border: 3px solid #183480 !important;
    padding-top: 2px;
    padding-bottom: 2px;
    font-weight: bold;
}

.cotizacion .table-ctas {
    width: calc(100% - 15px) !important;
    margin: 0 auto;
    text-align: center;
}

.cotizacion .table-ctas th {
    font-style: italic;
}

.cotizacion .table-ctas th, .table-ctas td {
    width: 25% !important;
    border: 3px solid #183480 !important;
    padding: 3px;
    vertical-align: middle;
    color: #183480;
}

.cotizacion .footer {
    color: #183480;
    font-size: 0.9rem;
    font-weight: bold;
}

.cotizacion .footer, .documentos .footer {
    width: 100%;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
}

.cotizacion .footer p, .documentos .footer p {
    width: 100%;
    margin-bottom: 0;
}

#mitabla tr td ul {
    margin-bottom: 0 !important;
}

.documentos {
    color: #000 !important;
    font: 1rem helvetica, arial, sans-serif;
}

.documentos .footer div {
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-gap: 0;
}

.grid-header, .grid-body {
    width: 100%;
}

.light {
    font-weight: normal;
}

.grid-body {
    font-weight: bold;

    .frame {
        padding: 7px;
    }
}

.underline {
    text-decoration: underline;
}

.grid .frame {
    border: 1px solid #000;
}

.grid-header {
    .frame {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.grid-header-doc {
    .frame1 {
        grid-area: 1 / 1 / 5 / 2;
    }

    .frame2 {
        grid-area: 1 / 2 / 2 / 4;
    }

    .frame3 {
        grid-area: 2 / 2 / 5 / 4;
    }

    .frame4 {
        grid-area: 1 / 4 / 2 / 5;
    }

    .frame5 {
        grid-area: 1 / 5 / 2 / 6;
    }

    .frame6 {
        grid-area: 2 / 4 / 3 / 5;
    }

    .frame7 {
        grid-area: 2 / 5 / 3 / 6;
    }

    .frame8 {
        grid-area: 3 / 4 / 4 / 5;
    }

    .frame9 {
        grid-area: 3 / 5 / 4 / 6;
    }

    .frame10 {
        grid-area: 4 / 4 / 5 / 5;
    }

    .frame11 {
        grid-area: 4 / 5 / 5 / 6;
    }
}

.grid-header-doc2 {
    .frame1 {
        grid-area: 1 / 1 / 5 / 2;
    }

    .frame2 {
        grid-area: 1 / 2 / 5 / 4;
    }

    .frame3 {
        grid-area: 1 / 4 / 2 / 5;
    }

    .frame4 {
        grid-area: 1 / 5 / 2 / 6;
    }

    .frame5 {
        grid-area: 2 / 4 / 3 / 5;
    }

    .frame6 {
        grid-area: 2 / 5 / 3 / 6;
    }

    .frame7 {
        grid-area: 3 / 4 / 4 / 5;
    }

    .frame8 {
        grid-area: 3 / 5 / 4 / 6;
    }

    .frame9 {
        grid-area: 4 / 4 / 5 / 5;
    }

    .frame10 {
        grid-area: 4 / 5 / 5 / 6;
    }
}

.fictrab1 {
    .frame1 {
        grid-area: 1 / 1 / 2 / 5;
    }

    .frame2 {
        grid-area: 1 / 5 / 2 / 6;
    }

    .frame2-5 {
        grid-area: 1 / 6 / 2 / 7;
    }

    .frame3 {
        grid-area: 2 / 1 / 3 / 7;
    }

    .frame4 {
        grid-area: 3 / 1 / 4 / 5;
    }

    .frame5 {
        grid-area: 3 / 5 / 4 / 7;
    }

    .frame6 {
        grid-area: 4 / 1 / 5 / 5;
    }

    .frame7 {
        grid-area: 4 / 5 / 5 / 7;
    }

    .frame8 {
        grid-area: 5 / 1 / 6 / 7;
    }

    .frame9 {
        grid-area: 6 / 1 / 7 / 4;
    }

    .frame10 {
        grid-area: 6 / 4 / 7 / 7;
    }

    .frame11 {
        grid-area: 7 / 1 / 8 / 3;
    }

    .frame12 {
        grid-area: 7 / 3 / 8 / 5;
    }

    .frame13 {
        grid-area: 7 / 5 / 8 / 7;
    }

    .frame14 {
        grid-area: 8 / 1 / 9 / 7;
    }
}

.regpen1 {
    margin: 0 auto;
    text-align: center;
}

.regpen2 {
    .frame {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .frame1 {
        grid-area: 1 / 1 / 2 / 3;
    }

    .frame2 {
        grid-area: 1 / 3 / 2 / 4;
    }

    .frame3 {
        grid-area: 1 / 4 / 2 / 7;
    }

    .frame4 {
        grid-area: 2 / 1 / 3 / 3;
    }

    .frame5 {
        grid-area: 2 / 3 / 3 / 4;
    }

    .frame6 {
        grid-area: 2 / 4 / 3 / 7;
    }
}

.tabla-info {
    width: 100%;

    th, td {
        padding: 7px;
        border: 1px solid #000;
        text-align: center;
    }

    td {
        font-weight: normal;
        text-transform: uppercase;
    }
}

.indper1 {
    .frame1 {
        grid-area: 1 / 1 / 2 / 6;
    }

    .frame2 {
        grid-area: 1 / 6 / 2 / 7;
    }

    .frame3 {
        grid-area: 2 / 1 / 3 / 4;
    }

    .frame4 {
        grid-area: 2 / 4 / 3 / 7;
    }
}

.indper2 {
    .frame1 {
        grid-area: 1 / 1 / 2 / 6;
    }

    .frame2 {
        grid-area: 2 / 1 / 3 / 2;
    }

    .frame3 {
        grid-area: 2 / 2 / 3 / 3;
    }

    .frame4 {
        grid-area: 2 / 3 / 3 / 6;
    }

    .frame5 {
        grid-area: 3 / 1 / 4 / 6;
    }

    .frame6 {
        grid-area: 4 / 1 / 5 / 6;
    }

    .frame7 {
        grid-area: 5 / 1 / 6 / 6;
    }

    .frame8 {
        grid-area: 6 / 1 / 7 / 6;
    }

    .frame9 {
        grid-area: 7 / 1 / 8 / 6;
    }
}

.casillas {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    font-weight: normal;

    span {
        margin: 0 7px;
    }
}

.indper3 {
    .frame1 {
        grid-area: 1 / 1 / 2 / 5;
    }

    .frame2 {
         grid-area: 2 / 1 / 4 / 2;
    }

    .frame3 {
         grid-area: 2 / 2 / 3 / 4;
    }

    .frame4 {
         grid-area: 3 / 2 / 4 / 4;
    }

    .frame5 {
         grid-area: 2 / 4 / 4 / 5;
    }
}

.indsst1 {
    font-size: 0.8rem;

    .frame1 {
        grid-area: 1 / 1 / 2 / 13;
    }

    .frame2 {
        grid-area: 2 / 1 / 3 / 3;
    }

    .frame3 {
        grid-area: 2 / 3 / 3 / 6;
    }

    .frame4 {
        grid-area: 2 / 6 / 3 / 7;
    }

    .frame5 {
        grid-area: 2 / 7 / 3 / 8;
    }

    .frame6 {
        grid-area: 2 / 8 / 3 / 10;
    }

    .frame7 {
        grid-area: 2 / 10 / 3 / 13;
    }

    .frame8 {
        grid-area: 3 / 1 / 4 / 3;
    }

    .frame9 {
        grid-area: 3 / 3 / 4 / 6;
    }

    .frame10 {
        grid-area: 3 / 6 / 4 / 9;
    }

    .frame11 {
        grid-area: 3 / 9 / 4 / 13;
    }

    .frame12 {
        grid-area: 4 / 1 / 5 / 3;
    }

    .frame13 {
        grid-area: 4 / 3 / 5 / 6;
    }

    .frame14 {
        grid-area: 4 / 6 / 5 / 7;
    }

    .frame15 {
        grid-area: 4 / 7 / 5 / 9;
    }

    .frame16 {
        grid-area: 4 / 9 / 5 / 11;
    }

    .frame17 {
        grid-area: 4 / 11 / 5 / 13;
    }
}

.indsst2 {
    font-size: 0.8rem;

    .frame1 {
        grid-area: 1 / 1 / 2 / 5;
    }

    .frame2 {
        grid-area: 2 / 1 / 3 / 5;
    }

    .frame3 {
        grid-area: 3 / 1 / 4 / 2;
    }

    .frame4 {
        grid-area: 3 / 2 / 4 / 3;
    }

    .frame5 {
        grid-area: 3 / 3 / 4 / 4;
    }

    .frame6 {
        grid-area: 3 / 4 / 4 / 5;
    }
}

.indsst3 {
    font-size: 0.8rem;

    .frame1 {
        grid-area: 1 / 1 / 2 / 6;
    }

    .frame2 {
        grid-area: 2 / 1 / 3 / 2;
    }

    .frame3 {
        grid-area: 2 / 2 / 3 / 6;
    }

    .frame4 {
        grid-area: 3 / 1 / 4 / 2;
    }

    .frame5 {
        grid-area: 3 / 2 / 4 / 6;
    }

    .frame6 {
        grid-area: 4 / 1 / 5 / 2;
    }

    .frame7 {
        grid-area: 4 / 2 / 5 / 6;
    }

    .frame8 {
        grid-area: 5 / 1 / 6 / 2;
    }

    .frame9 {
        grid-area: 5 / 2 / 6 / 6;
    }

    .frame10 {
        grid-area: 6 / 1 / 7 / 2;
    }

    .frame11 {
        grid-area: 6 / 2 / 7 / 6;
    }
}

.indsst4 {
    font-size: 0.8rem;

    .frame1 {
        grid-area: 1 / 1 / 2 / 4;
    }

    .frame2 {
        grid-area: 1 / 4 / 2 / 5;
    }

    .frame3 {
        grid-area: 1 / 5 / 2 / 7;
    }

    .frame4 {
        grid-area: 2 / 1 / 3 / 4;
    }

    .frame5 {
        grid-area: 2 / 4 / 12 / 5;
    }

    .frame6 {
        grid-area: 2 / 5 / 3 / 7;
    }

    .frame7 {
        grid-area: 3 / 1 / 12 / 4;
    }

    .frame8 {
        grid-area: 3 / 5 / 4 / 7;
    }

    .frame9 {
        grid-area: 4 / 5 / 5 / 7;
    }

    .frame10 {
        grid-area: 5 / 5 / 6 / 7;
    }

    .frame11 {
        grid-area: 6 / 5 / 7 / 7;
    }

    .frame12 {
        grid-area: 7 / 5 / 8 / 7;
    }

    .frame13 {
        grid-area: 8 / 5 / 9 / 7;
    }

    .frame14 {
        grid-area: 9 / 5 / 10 / 7;
    }

    .frame15 {
        grid-area: 10 / 5 / 11 / 7;
    }

    .frame16 {
        grid-area: 11 / 5 / 12 / 7;
    }

    .frame17 {
        grid-area: 12 / 1 / 13 / 4;
    }

    .frame18 {
        grid-area: 12 / 4 / 13 / 5;
    }

    .frame19 {
        grid-area: 12 / 5 / 13 / 7;
    }

    .frame20 {
        grid-area: 13 / 1 / 14 / 7;
    }

    .frame21 {
        grid-area: 14 / 1 / 15 / 7;
    }
}

.indsst5 {
    font-size: 0.8rem;
}

.indsst6 {
    font-size: 0.8rem;

    .frame1 {
        grid-area: 1 / 1 / 2 / 8;
    }

    .frame2 {
        grid-area: 2 / 1 / 3 / 4;
    }

    .frame3 {
        grid-area: 2 / 4 / 3 / 6;
    }

    .frame4 {
        grid-area: 2 / 6 / 3 / 7;
    }

    .frame5 {
        grid-area: 2 / 7 / 3 / 8;
    }
}

.recsst1 {
/*    font-size: 0.8rem;*/

    .frame1 {
        grid-area: 1 / 1 / 2 / 2;
    }

    .frame2 {
        grid-area: 1 / 2 / 2 / 5;
    }

    .frame3 {
        grid-area: 2 / 1 / 3 / 2;
    }

    .frame4 {
        grid-area: 2 / 2 / 3 / 5;
    }

    .frame5 {
        grid-area: 3 / 1 / 4 / 2;
    }

    .frame6 {
        grid-area: 3 / 2 / 4 / 5;
    }

    .frame7 {
        grid-area: 4 / 1 / 6 / 2;
    }

    .frame8 {
        grid-area: 4 / 2 / 5 / 5;
    }

    .frame9 {
        grid-area: 5 / 2 / 6 / 5;
    }

    .frame10 {
        grid-area: 6 / 1 / 7 / 2;
    }

    .frame11 {
        grid-area: 6 / 2 / 7 / 5;
    }
}

.certrent1 {
    .frame1 {
        grid-area: 1 / 1 / 2 / 7;
    }

    .frame2 {
        grid-area: 2 / 1 / 3 / 6;
    }

    .frame3 {
        grid-area: 2 / 6 / 3 / 7;
    }

    .frame4 {
        grid-area: 3 / 1 / 4 / 6;
    }

    .frame5 {
        grid-area: 3 / 6 / 4 / 7;
    }

    .frame6 {
        grid-area: 4 / 1 / 5 / 6;
    }

    .frame7 {
        grid-area: 4 / 6 / 5 / 7;
    }

    .frame8 {
        grid-area: 5 / 1 / 6 / 6;
    }

    .frame9 {
        grid-area: 5 / 6 / 6 / 7;
    }

    .frame10 {
        grid-area: 6 / 1 / 7 / 6;
    }

    .frame11 {
        grid-area: 6 / 6 / 7 / 7;
    }

    .frame12 {
        grid-area: 7 / 1 / 8 / 7;
    }

    .frame13 {
        grid-area: 8 / 1 / 9 / 6;
    }

    .frame14 {
        grid-area: 8 / 6 / 9 / 7;
    }

    .frame15 {
        grid-area: 9 / 1 / 10 / 7;
    }

    .frame16 {
        grid-area: 10 / 1 / 11 / 6;
    }

    .frame17 {
        grid-area: 10 / 6 / 11 / 7;
    }

    .frame18 {
        grid-area: 11 / 1 / 12 / 7;
    }

    .frame19 {
        grid-area: 12 / 1 / 13 / 6;
    }

    .frame20 {
        grid-area: 12 / 6 / 13 / 7;
    }

    .frame21 {
        grid-area: 13 / 1 / 14 / 6;
    }

    .frame22 {
        grid-area: 13 / 6 / 14 / 7;
    }
}

.inputs-file {
    text-align: center;
}

.fotos-personal {
    margin-bottom: 1rem;

    .foto {
        width: 200px;
        height: 200px;
        margin: 0 auto;
        position: relative;
        overflow: hidden; 
        display: flex; 
        justify-content: center;
    }

    .fotoup-btn {
        margin: 0 auto;
        text-align: center;
    }

    .crop {
        height: 100%;
    }
}

.document-cont {
    .documento-personal {
        width: 100%;
        padding: 4rem 0;
        background-color: #eee;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        flex-wrap: wrap;

        .doc-cont {
            width: 280px;

            .doc-img {
                width: 100%;
                box-shadow: 1px 1px 4px 1px #ddd;
            }
        }

        .doc-cont-img {
            width: 200px !important;
        }

        @media only screen and (min-width: 992px) {
            .doc-cont {
                width: 400px;
            }
        }
    }
}

.note-frame {
    margin-bottom: 0 !important;
}

.product-image-thumbnail {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075);
    border-radius: 0.25rem;
    background-color: #fff;
    border: 1px solid #dee2e6;
    margin-right: 1rem;
    max-width: 7rem;
    padding: 0.5rem;
}

.product-image-thumbnail img {
    max-width: 100%;
    height: auto;
    align-self: center;
    cursor: pointer;
}

.product-image-thumbnail img:hover {
    opacity: 0.5;
}

.preview {
    right: 0;
    height: 260px;
}

.preview img {
    height: 100%;
}

/* Tarjetas de altura fija en pagina de inicio */
.connectedSortable {
    min-height: 55px !important;
}

.h-fixed .todo-list {
    height: 384px;
    overflow-y: scroll;
}

.nombre-lista {
    font-weight: bold !important;
}