@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700&display=swap");

:root {
    --primaryColor: #3317d1; /* #1a5be6;  #f09d51;*/
    --mainWhite: #fff;
    --mainBlack: #222;
    --mainGrey: #ececec;
    --mainSpacing: 0.1rem;
    --color1: rgb(24, 219, 41);
    --color2: #0c4994;
    --color3: royalblue; /* boton:hover */
    --color4: rgb(0, 153, 255); /* botones del menu y login */
    --color5: royalblue; /*botones del cuerpo*/
    --color6: #eceff1; /* color de fondo cuerpo */
    --font0: "Nunito";
    --font1: "Arial Narrow Bold";
    --font2: sans-serif;
    --font3: "Courier New";
    --font4: monospace;
    --font5: cursive;
    --mxwd: 1400px;
    /* --mainTransition: all 0.3s linear; */
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: var(--font0);
}
.header,
.main {
    position: relative;
    align-self: center;
    width: calc(100% - 16px);
    max-width: var(--mxwd);
}
.nunito {
    font-family: var(--font0);
}
.cont-pri {
    background: url("../imagenes2/pant0.jpg") bottom / cover,
        linear-gradient(to left bottom, blue, teal, yellow);
    background-blend-mode: hard-light;

    background-size: cover;
    background-position: right center;
}

/* envio de mensajes */
.main_sendmail {
    /* position: relative; */
    max-width: var(--mxwd);
    margin: auto;
    height: 100vh;
    width: 100%;
    background: rgb(18, 18, 18);
    border: 2px solid black;
    border-radius: 5px;
}
.g_sendmail {
    max-width: var(--mxwd);
    height: calc(45vh);
    background: url("../imagenes2/pant0.jpg");
    background-size: cover;
    background-position: right center;
}
.sendmail {
    width: 65%;
    border: 2px solid black;
    border-radius: 5px;
    margin: auto;
    /* margin-top: 300px; */
    padding: 40px;
    display: grid;
    grid-template-columns: 135px 1fr;
    grid-gap: 15px;
}
.sendmail > input {
    width: 90px;
}
.sendmail > boton {
    background: red;
}
/* ordenar*/

.cabezera {
    max-width: var(--mxwd);
    display: flex;
    justify-content: space-around;
}
.input-buscar,
.filtrar {
    border-radius: 5px;
}
.pedidos {
    display: grid;
    /* grid-template-columns: minmax(350px, 1fr) 1fr; */
    grid-template-columns: 350px 1fr;
    max-width: var(--mxwd);
}
.msg_pa0 {
    display: flex;
    justify-content: center;
    align-items: center;
}
.msg_pan {
    display: flex;
    flex-direction: column;
}
.flx_i {
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media screen and (max-width: 600px) {
    .pedidos {
        display: block;
    }
    .opckar,
    .icon-basket,
    .titenc {
        display: none;
    }
}
.tipdoc {
    width: max-content;
    min-width: 0;
    max-width: 100%;
    align-self: start;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cat-bus {
    align-self: start;
    display: flex;
    justify-content: space-between;
    border-left: 1px solid black;
}
.venta {
    color: whitesmoke;
    background: #000;
    /* background: rgb(26, 26, 31); */
    border-radius: 15px;
}
.grupo {
    border-left: 1px solid black;
    background: rgb(26, 26, 31);
    border-radius: 15px;
}
.home {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.articulos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    align-content: start;
    padding: 5px;
    overflow: auto;
    height: 500px;
    background: rgb(26, 26, 31);
}
.art_cont {
    width: 92px;
    margin-top: 10px;
    border: 1px solid black;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: white;
    background: #000;
    color: whitesmoke;
    z-index: 1;
}
.ima {
    border-radius: 8px;
    object-fit: cover;
}
.art_cont .ima:hover {
    opacity: 0.5;
}
.art_des {
    overflow: hidden;
    margin: 7px 5px 3px 5px;
    line-height: 10px;
    color: rgb(168, 211, 127);
}
.art_pre {
    position: absolute;
    border-radius: 10px;
    line-height: 12px;
    color: white;
    top: 5px;
    right: 10px;
    padding: 3px 6px;
    background: linear-gradient(to right, rgb(72, 45, 81), rgb(132, 56, 98));
    font-weight: bold;
}
.categorias > .famili > .w115 {
    color: rgb(168, 211, 127);
    border: 2px solid rgb(168, 211, 127);
    background: rgb(26, 26, 31);
}
.categorias > .famili > .td-u {
    background: rgb(17, 17, 197);
}
/* kardex */
.cclientes,
.cproveedores,
.carticulos,
.ckardex {
    border: 1px solid #000;
    max-height: 12.3em;
    overflow: auto;
}
.ckardex {
    height: 12.3em;
}
.con_cli {
    z-index: 10;
}
.cclientes,
.carticulos,
.cproveedores {
    border: 2px solid rgb(29, 60, 238);
}
.regs .icons i,
.regs .icons a {
    margin: 2.5px;
    color: #bbb;
    font-size: 18px;
    padding: 1.1px;
    border-radius: 20%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: #222;
    transition: all 0.2s ease-out;
}
.regs .icons i:hover,
.regs .icons a:hover {
    color: #fff;
    background: gray;
    transform: rotate(360deg);
}

/* Tablas */
.orden {
    position: absolute;
    top: 2px;
}

.cctable {
    border: 1px solid #000;
    max-width: 100%;
}
.ctable {
    border: 1px solid #000;
    max-height: 30.3em;
    overflow: auto;
}
table {
    font-size: 80%;
    margin: auto;
    border-collapse: collapse;
}
th {
    padding: 5px 8px; /* 3px 5px */
}
td {
    padding: 3px 7px; /*  2px 5px*/
    color: #000;
}
tbody tr:nth-child(2n + 1) {
    background: #eceff1;
}
tbody tr:nth-child(2n) {
    background: white;
}
tbody {
    position: relative;
}
thead {
    /* background: #192a56; */
    background: #000;
    color: whitesmoke;
    position: sticky;
    top: -2px;
    z-index: 4;
}
table th:nth-child(1) {
    position: sticky;
    left: -1px;
    background: #192a56;
    background: #000;
}
table td:nth-child(1) {
    position: sticky;
    left: -1px;
}
table tr:nth-child(odd) td:nth-child(1) {
    background: #eceff1;
}
table tr:nth-child(even) td:nth-child(1) {
    background: white;
}
.regs {
    padding: 2px 0;
    /* background: #444; */
}
#pin {
    /* background: #4c6cae; */
    /* background: #3c5587; */
    /*background: rgb(28, 19, 44);*/
    background: rgb(55, 40, 83);
    color: beige;
}
.seccion9 {
    margin-top: auto;
}
/* fin de Tablas */

/* Compras */
.principal {
    margin-inline: 8px;
    background: #eceff1;
}
.head {
    max-width: var(--mxwd);
    /* background: rgb(126, 87, 194);
    background: rgb(208, 143, 255); */
    background: rgb(167, 115, 224);
}
.head .icons i,
.head .icons a {
    /* margin-right: 0.9rem; */
    margin-inline: 0.3rem;
    color: #000;
    padding: 3px;
    border-radius: 50%;
    background: #eee;
    transition: all 0.2s ease-out;
}
.head .icons i:hover,
.head .icons a:hover {
    color: #fff;
    background: gray;
    transform: rotate(360deg);
}
.datos0 {
    max-width: var(--mxwd);
}
.datos1,
.datos2,
.datos3 {
    width: 100%;
    border: 1px solid #aaa;
    max-width: var(--mxwd);
}
.datos4 {
    width: 100%;
    max-width: var(--mxwd);
}
.datos1 {
    display: flex;
    flex-wrap: wrap;
}
.seccion11 {
    flex-basis: 270px;
    flex-grow: 0;
}
.g_11 {
    display: grid;
    grid-template-columns: 70px 120px;
    grid-gap: 20px;
}
.items {
    display: flex;
    flex-wrap: wrap;
}
.cproveedores,
.carticulos,
.ckardex {
    border: 1px solid #000;
    max-height: 12.3em;
    overflow: auto;
}
.ckardex {
    height: 12.3em;
}
.carticulos,
.cproveedores {
    border: 2px solid rgb(29, 60, 238);
}
.con_kar {
    border: 1px solid #000;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}
.proveedor {
    width: 400px;
}
@media screen and (max-width: 435px) {
    .proveedor {
        width: 330px;
    }
}
.con_art,
.con_pro {
    z-index: 20;
}
.totales {
    display: grid;
    grid-template-columns: 50px 100px;
    grid-gap: 10px;
    right: 0;
    float: right;
    border-radius: 15px;
    width: 163px;
    margin: 10px 0 0 0;
    /* padding: 6px 0 6px 10px; */
    padding: 3px 8px;
    background: linear-gradient(to right, rgb(63, 43, 98), rgb(132, 56, 98));
}
.totales #t_3 {
    border-radius: 15px;
    color: whitesmoke;
    background: rgb(26, 26, 31);
}
.seccion7 {
    z-index: 10;
    height: 100px;
}
/* Mantenimiento de Tablas */
hr,
.familias {
    max-width: var(--mxwd);
}
.g_300 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin: 0 auto;
    grid-gap: 8px;
    background: #eceff1;
    max-width: var(--mxwd);
    padding: 40px 30px;
}
.g_300_f {
    margin: 8px 5px;
    padding: 15px 30px;
    border-radius: 8px;
    width: 240px;
    text-align: center;
    font-weight: bold;
    background-image: url("../assets/descarga2.jpg");
}
.g_300_g {
    margin: 8px 5px;
    padding: 15px 30px;
    border-radius: 8px;
    width: 360px;
    text-align: center;
    font-weight: bold;
    background-image: url("../assets/descarga2.jpg");
}
.title {
    margin: 0.3% 15%;
}
/* Seccion de Pendientes */
.datos15 {
    height: 114px;
    border: 1px solid #000;
    max-width: var(--mxwd);
    margin-inline: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: start;
    overflow: auto;
}
.datos15 span {
    font-size: 13px;
    line-height: 16px;
    color: #3206d1;
    width: 110px;
    height: 22px;
    border: 1px solid black;
    margin: 2px 0;
}
/* Seccion de Mantto */
header .icons i,
header .icons a {
    margin-right: 0.9rem;
    color: #000;
    padding: 3px;
    border-radius: 50%;
    background: #eee;
    transition: all 0.2s ease-out;
}
header .icons i:hover,
header .icons a:hover {
    color: #fff;
    background: gray;
    transform: rotate(360deg);
}

.confi {
    position: absolute;
    top: -8%;
    border: 3px solid rgba(0, 0, 0, 2);
    width: 60%;
    height: 100%;
    background: cadetblue;
    transition: all 0.4s;
}
.confi > table,
.ing > table,
.mod > table {
    position: absolute;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.botx,
.boty,
.botz {
    position: absolute;
    color: #fff;
    background: rgb(29, 80, 29);
    border: 2px solid black;
    line-height: 0.9em;
    border-radius: 50%;
    padding: 10px;
    margin: 20px 30px;
}
.ingreso,
.modificacion {
    position: absolute;
    top: -8%;
    border: 3px solid rgba(0, 0, 0, 2);
    width: 550px;
    height: 100%;
    background: rgb(171, 172, 235);
    z-index: 5;
    transition: all 0.4s;
}
.boty,
.botz {
    background: rgb(64, 27, 124);
}
.guardar,
.modificar {
    position: absolute;
    padding: 5px 10px 10px 10px;
    border-radius: 5px;
    background: rgb(64, 27, 124);
    color: #eee;
    right: 50px;
    bottom: 10px;
}
.ing table tbody tr td input,
.mod table tbody tr td input {
    line-height: 20px;
    height: 20px;
    padding: 5px;
}
.ing table tbody tr td input:focus,
.mod table tbody tr td input:focus {
    border: 1px solid #0075ff;
    outline: none;
    box-shadow: 3px 0 30px rgba(163, 163, 163.4);
}
.msg_env {
    position: absolute;
    font-size: large;
    font-weight: bold;
    color: rgb(64, 27, 124);
    bottom: 10%;
    left: 20%;
}
.cimagen {
    width: 250px;
    height: 250px;
    margin-left: auto;
    margin-right: auto;
}
/* Mesas */
.cmesas {
    position: relative;
}
.mesas {
    transition: all 0.4s ease;
    position: absolute;
    height: 350px;
    width: 350px;
    border: 1px solid black;
    padding: 5px 12px;
    display: flex;
    flex-wrap: wrap;
    z-index: 40;
    align-content: start;
    background-color: #dfdbe5;
    background-image: url("data:image/svg+xml,%3Csvg width='84' height='48' viewBox='0 0 84 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h12v6H0V0zm28 8h12v6H28V8zm14-8h12v6H42V0zm14 0h12v6H56V0zm0 8h12v6H56V8zM42 8h12v6H42V8zm0 16h12v6H42v-6zm14-8h12v6H56v-6zm14 0h12v6H70v-6zm0-16h12v6H70V0zM28 32h12v6H28v-6zM14 16h12v6H14v-6zM0 24h12v6H0v-6zm0 8h12v6H0v-6zm14 0h12v6H14v-6zm14 8h12v6H28v-6zm-14 0h12v6H14v-6zm28 0h12v6H42v-6zm14-8h12v6H56v-6zm0-8h12v6H56v-6zm14 8h12v6H70v-6zm0 8h12v6H70v-6zM14 24h12v6H14v-6zm14-8h12v6H28v-6zM14 8h12v6H14V8zM0 8h12v6H0V8z' fill='%239C92AC' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.cdmesa {
    position: absolute;
    padding: 1px 3px;
    /* margin: 8px 5px; */
    border-radius: 50%;
    border: 1px solid black;
}
.numesa {
    font-size: 1rem;
    font-weight: bold;
    padding: 2px 6px;
}
/* Seccion de conf. Hambientes */
.conf_amb {
    margin: auto;
    padding: 20px;
    max-width: 250px;
    background: #eceff1;
    border: 2px solid black;
    border-radius: 5px;
}
.form_ca {
    display: grid;
    grid-template-columns: 100px 1fr;
    grid-gap: 10px;
}
.form_xy {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 30px;
}
.u_mesas {
    justify-items: center;
    padding: 20px;
    max-width: 850px;
    min-height: 450px;
    background: #eceff1;
    border: 2px solid black;
    border-radius: 5px;
}
.mesasx {
    display: flex;
    flex-wrap: wrap;
    align-content: start;
    position: relative;
    padding: 5px 12px;
    height: 350px;
    width: 350px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.75);
    background-color: #dfdbe5;
    background-image: url("data:image/svg+xml,%3Csvg width='84' height='48' viewBox='0 0 84 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h12v6H0V0zm28 8h12v6H28V8zm14-8h12v6H42V0zm14 0h12v6H56V0zm0 8h12v6H56V8zM42 8h12v6H42V8zm0 16h12v6H42v-6zm14-8h12v6H56v-6zm14 0h12v6H70v-6zm0-16h12v6H70V0zM28 32h12v6H28v-6zM14 16h12v6H14v-6zM0 24h12v6H0v-6zm0 8h12v6H0v-6zm14 0h12v6H14v-6zm14 8h12v6H28v-6zm-14 0h12v6H14v-6zm28 0h12v6H42v-6zm14-8h12v6H56v-6zm0-8h12v6H56v-6zm14 8h12v6H70v-6zm0 8h12v6H70v-6zM14 24h12v6H14v-6zm14-8h12v6H28v-6zM14 8h12v6H14V8zM0 8h12v6H0V8z' fill='%239C92AC' fill-opacity='0.4' fill-rule='evenodd'/%3E%3C/svg%3E");
}
.cdmesax {
    padding: 1px 3px;
    margin: 8px 5px;
    border-radius: 50%;
    border: 1px solid black;
    font-size: 12px;
    font-weight: bold;
}
.cdmesay {
    padding: 1px 3px;
    border-radius: 50%;
    border: 1px solid black;
    font-size: 12px;
    font-weight: bold;
}
#draggable {
    margin: 0;
    position: absolute;
    cursor: move;
}

/* configuracion */
.prin_conf {
    margin-inline: 8px;
    height: 100vh;
}
.tit_conf {
    margin-bottom: 15px;
    font-size: 1.7rem;
}
.cont_conf {
    margin: auto;
    padding: 40px;
    max-width: 370px;
    background: #eceff1;
    border: 2px solid black;
    border-radius: 5px;
}
.general {
    display: grid;
    grid-template-columns: 70px 1fr;
    grid-gap: 15px;
}
.general > input {
    width: 100px;
}
/* ingreso index */
.cont-pri {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f5f5f5;
}
.cont-sec {
    padding: 20px;
    max-width: 370px;
    background: #eceff1;
    border: 2px solid black;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.card-tit {
    margin-bottom: 25px;
    font-size: 2rem;
    text-align: center;
}
.card-bod {
    display: flex;
    flex-direction: column;
}
.form-ite label {
    margin-bottom: 5px;
    font-weight: bold;
}
.form-ite .form-imp {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.buton {
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.buton:hover {
    background-color: #0056b3;
}
/* Reportes */
.form_reporte {
    margin: auto;
    padding: 40px;
    width: 350px;
    height: 200px;
    display: grid;
    grid-template-columns: 1fr 130px;
    border: 2px solid black;
    border-radius: 5px;
}
.beton {
    margin-top: 20px;
    grid-column: 1 / span 2;
}
.ttiitt {
    grid-column: 1 / span 2;
    text-align: center;
    margin-top: -20px;
    margin-bottom: 20px;
}
.resultado_reporte {
    height: 85vh;
    overflow: auto;
}

/* Impresion de Tickets */
.imprimir {
    position: absolute;
    width: 400px;
    height: 300px;
    z-index: 100;
    background: rgb(163, 157, 248);
    max-width: var(--mxwd);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-inline: 30px;
}
.imp_ticket {
    max-width: 400px;
    top: 0;
}
.imp_ticket h3 {
    font-family: var(--font0);
    font-weight: 600;
    margin: 0;
    padding: 10px 0;
    text-align: center;
}
.imp_ticket > table {
    width: 100%;
    border-collapse: collapse;
}
/* Cierre de Caja */
.cierre_caja {
    transition: all 0.4s ease;
    position: absolute;
    width: 400px;
    height: 420px;
    z-index: 100;
    background: rgb(163, 157, 248);
    max-width: var(--mxwd);
}
.cc_impr > table {
    margin: 5px;
    width: 100%;
    border-collapse: collapse;
}
/* Opciones adicionales */
.opc_adi {
    transition: all 0.4s ease;
    position: absolute;
    width: 400px;
    height: 420px;
    z-index: 100;
    background: rgb(163, 157, 248);
    max-width: var(--mxwd);
}
/*.compras {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 
}*/
