/*=====================================================
                    Tipografia
======================================================*/
@font-face{
    font-family: "RobotoCondensedLight";
    src: url("../webfonts/robotocondensed-light.ttf"), 
    url("../webfonts/robotocondensed-light.eot"), 
    url("../webfonts/robotocondensed-light.woff"), 
    url("../webfonts/robotocondensed-light.woff2"), 
    url("../webfonts/robotocondensed-light.svg");
}
@font-face{
    font-family: "RobotoRegular";
    src: url("../webfonts/roboto-regular.ttf"), 
    url("../webfonts/roboto-regular.eot"), 
    url("../webfonts/roboto-regular.woff"), 
    url("../webfonts/roboto-regular.woff2"), 
    url("../webfonts/roboto-regular.svg");
}
@font-face{
    font-family: "OswaldLight";
    src: url("../webfonts/oswald-light.ttf"), 
    url("../webfonts/oswald-light.eot"), 
    url("../webfonts/oswald-light.woff"), 
    url("../webfonts/oswald-light.woff2"), 
    url("../webfonts/oswald-light.svg");
}
body,html{
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: "RobotoRegular";
    position: relative;
    background-color: #48D5BD;
    overflow-y: hidden;
}

.main-container{
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000428;
    background: -webkit-linear-gradient(to right, #004e92, #000428);
    background: linear-gradient(to right, #004e92, #000428);
}

.main-container > .login,
.main-container > .hero-body{
    height: auto;
    width: 100%;
    max-width: 400px;
    min-width: 300px;
}

.is-photo{
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}
.company-image, 
.company-image img{
    margin: 0 auto;
    max-width: 170px;
}
.text-condensedLight{ font-family: "RobotoCondensedLight"; }
.tittles{ font-family: "OswaldLight"; }
.full-width{
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}
.list-unstyle{
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}
.img-responsive{
    width: 100%;
    height: auto;
}
.divider-menu-h{
    height: 0 !important;
    background-color: transparent !important;
    border: 0 !important;
    width: 92% !important;
    margin: 0 auto !important;
}

.page-container{
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    justify-content: space-between;
}

/*  Scrolls */
.scroll{
	scrollbar-color: rgba(102,107,122,1) rgb(0, 4, 39);
	scrollbar-width: thin;
}

/*=============Estilos barra superior*/
.navBar{
    background-color: #3F51B5;
    height: 45px;
    color: #fff;
    position: relative;
    margin-bottom: 30px;
}
.navBar-options{
    line-height: 45px;
    height: 45px;
    padding: 0;
    transition: all .3s ease-in-out;
    display: flex;
    justify-content: space-between;
}
.navBar-options .fa-exchange-alt,
.navBar-options-list{
    line-height: 45px;
    height: 45px;
    margin: 0;
    padding: 0;
}
.navBar-options .fa-exchange-alt{
    width: 40px;
    left: 0;
    font-size: 23px;
    cursor: pointer;
    user-select: none;
    text-align: center;
    outline: none;
    margin-left: 9px;
}
.navBar-options-list{
    right: 9px;
}
.navBar-options-list .noLink{
    cursor: inherit;
}
.navBar-options-list ul{
    height: 45px;
    display: flex;
}
.navBar-options-list ul li{
    height: 45px;
    line-height: 45px;
    cursor: pointer;
    padding: 0 7px;
    font-size: 21px;
    user-select: none;
}
.navBar-options-list ul li{ outline: none; }
.navBar-options-list ul li a,
.navBar-options-list ul li img{
    margin: 0;
    padding: 0;
    padding-top: 0;
    margin-top: 0;
    box-sizing: border-box;
    color: #FFF;
}
.navBar-options-list ul li img{
    border: 1px solid #E1E1E1;
    border-radius: 50%;
    width: 39px;
    height: 39px;
    margin-top: 3px;
    margin-bottom: 0;
}

/*=============Estilos en comun navegacion lateral y contenido pagina*/
.navLateral,
.pageContent,
.navLateral-body{
    height: 100%;
}
.navLateral,
.pageContent{
    overflow-y: auto;
}
/*=============Estilos navegacion lateral*/
.navLateral{
    width: 300px;
    border-right: 1px solid #E1E1E1;
    transition: all .3s ease-in-out;
    position: relative;
    background-color: #fff;
}
.navLateral-change{
    pointer-events: none;
    opacity: 0;
    width: 0;
    border-right: none;
}
.navLateral-body{
    background-color: #A1A1A1;
    position: relative;
}
.navLateral-body-logo{
    height: 45px;
    line-height: 45px;
    color: #fff;
    width: 100%;
    font-size: 25px;
    background-color: #21BCFF;
}
.navLateral-body-cl,
.navLateral-body-cr{
    box-sizing: border-box;
    height: 77px;
    float: left;
    margin: 0;
    padding: 0;
    position: relative;
}
.navLateral-body-cl{
    width: 30%;
}
.navLateral-body-cl img{
    width: 57px;
    height: 57px;
    margin: 0 auto;
    display: block;
    margin-top: 10px;
}
.navLateral-body-cl img.nav-icon-img--sm{
    width: 20px;
    height: 20px;
    margin-top: 28px;
}
.menu-icon-productos{
    color: #27F5F5 !important;
}
.menu-productos-color,
.menu-productos-color .navLateral-body-cl,
.menu-productos-color .navLateral-body-cl i{
    color: #27F5F5 !important;
}
.navLateral-body-cr{
    width: 70%;
    font-family: "RobotoCondensedLight";
}
.navLateral-body-tittle-menu{
    height: 70px;
    line-height: 70px; 
    font-size:20px; 
    background-color: #21BCFF;
    text-align: center;
}
.menu-principal li,
.menu-principal li a{
    display: block;
    background-color: #A1A1A1;
    border-top: 1px solid #A1A1A1;
    border-bottom: 1px solid #A1A1A1;
    margin: 0 !important;
    padding: 0 !important;
}
.menu-principal li a{
    height: 45px;
    color: #121111;
    background-color: #A1A1A1;
    position: relative;
    transition: all .3s ease-in-out;
    box-shadow: none !important;
}
.menu-principal li a:hover{
    color: #fc0505;
}
.menu-principal li a div.navLateral-body-cl,
.menu-principal li a div.navLateral-body-cr{
    height: 45px;
    line-height: 45px;
}
.menu-principal li a div.navLateral-body-cl{
    text-align: center;
    font-size: 20px;
}
.btn-subMenu span.fa-chevron-down{
    position: absolute;
    top: 0;
    right: 7px;
    line-height: 45px;
    height: 45px;
    font-size: 19px;
    transition: all .3s ease-in-out;
}
.btn-subMenu + .sub-menu-options{
    transition: all .3s ease-in-out;
}
.sub-menu-options{
    height: 0;
    background-color: #21BCFF;
    overflow-y: hidden;
    transition: all .3s ease-in-out;
}
.sub-menu-options li a{
    border-left: 4px solid transparent;
    background-color: #A1A1A1;
    color: #000;
}
.sub-menu-options li a:hover{ border-left: 4px solid #000; color: #000; }
.btn-subMenu-show{
    background-color: #21BCFF !important;
}
.btn-subMenu-show .navLateral-body-cl,
.btn-subMenu-show .navLateral-body-cr{
    color: #000;
}
.btn-subMenu-show + .sub-menu-options{
    height: auto;
    overflow-y: auto;
    background-color: #21BCFF !important;
}

.btn-subMenu-show span.fa-chevron-down{
    transform: rotate(180deg);
}

/*=============Estilos contenido pagina*/
.pageContent{
    width: calc(100% - 300px);
    background-color: #fff;
    transition: all .3s ease-in-out;
}
/* Fondo y cuadros para modulos principales */
.pageContent{
    background-color: #48D5BD !important;
}
.pageContent .container,
.pageContent .container.is-fluid,
.pageContent .container.pb-6.pt-6{
    background-color: #48D5BD !important;
}
.pageContent .box{
    background-color: #48D5BD !important;
    border-color: #48D5BD !important;
}
.pageContent-change{
    width: 100%;
}
/*=============Estilos detalle de venta*/
.sale-details{
    display: flex;
    justify-content: space-between;
    transition: all .3s ease-in-out;
    padding: 5px;
}
.sale-details:hover{
    background-color: rgba(0, 0, 0, 0.07);
}

/*=============Estilos Proveedores*/
.page-providers .tabs.is-boxed ul{
    border-bottom: 1px solid #e5e7eb;
}
.page-providers .tabs.is-boxed li a{
    background: #f7f9fc;
    border-color: #e5e7eb;
    border-radius: 10px 10px 0 0;
    font-weight: 600;
    color: #475569;
    transition: all .2s ease-in-out;
}
.page-providers .tabs.is-boxed li a:hover{
    color: #1d4ed8;
    background: #eef3ff;
}
.page-providers .tabs.is-boxed li.is-active a{
    background: #ffffff;
    color: #1d4ed8;
    border-color: #1d4ed8;
}
.page-providers .box{
    border: 1px solid #e6e9ef;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
    border-radius: 12px;
}
.page-providers .title.is-5{
    color: #0f172a;
}
.page-providers .field .label{
    font-weight: 600;
    color: #334155;
}
.page-providers .input,
.page-providers .select select{
    border-radius: 10px;
    border-color: #d8dde6;
    box-shadow: none;
}
.page-providers .input:focus,
.page-providers .select select:focus{
    border-color: #1d4ed8;
    box-shadow: 0 0 0 0.125em rgba(29, 78, 216, 0.15);
}
.page-providers .button.is-info{
    background-color: #2563eb;
    border-color: #2563eb;
}
.page-providers .button.is-info:hover{
    background-color: #1d4ed8;
    border-color: #1d4ed8;
}
.page-providers .button.is-danger{
    background-color: #dc2626;
    border-color: #dc2626;
}
.page-providers .button.is-danger:hover{
    background-color: #b91c1c;
    border-color: #b91c1c;
}
.page-providers .table thead th{
    background-color: #3b4b59;
    color: #ffffff;
    border-color: #3b4b59;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}
.page-providers .table tbody tr:hover{
    background-color: #f5faff;
}

/*=============Estilos Kardex*/
.kardex-table thead th{
    background-color: #3b4b59;
    color: #ffffff;
    border-color: #3b4b59;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
}
.kardex-table tbody tr:nth-child(odd){
    background-color: #f7f8fa;
}
.kardex-table tbody tr:nth-child(7n+1){
    background-color: #FEE685 !important;
}
.kardex-table tbody tr:nth-child(7n+2){
    background-color: #CAD5E2 !important;
}
.kardex-table tbody tr:nth-child(7n+3){
    background-color: #FFA07A !important;
}
.kardex-table tbody tr:nth-child(7n+4){
    background-color: #F4D03F !important;
}
.kardex-table tbody tr:nth-child(7n+5){
    background-color: #BEFF5C !important;
}
.kardex-table tbody tr:nth-child(7n+6){
    background-color: #CCFFCC !important;
}
.kardex-table tbody tr:nth-child(7n+7){
    background-color: #FFB8B8 !important;
}
.kardex-table tbody td{
    font-size: 0.85rem;
    vertical-align: middle;
}
.kardex-table tbody td:nth-child(2){
    text-transform: lowercase;
}
.kardex-table .button.is-success{
    background-color: #16a085;
    border-color: #16a085;
}
.kardex-table .button.is-success:hover{
    background-color: #138d75;
    border-color: #138d75;
}
.kardex-period-title{
    text-align: center;
    font-weight: 700;
    margin: 10px 0 16px;
    font-size: 0.95rem;
    text-transform: uppercase;
}
.kardex-resumen{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 18px;
}
.kardex-box{
    border: none;
    background-color: transparent;
}
.kardex-box-title{
    background-color: #3b3b3b;
    color: #ffffff;
    text-align: center;
    padding: 4px 10px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}
.kardex-box-body{
    padding: 10px 6px;
    font-size: 0.82rem;
}
.kardex-row{
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: none;
}
.kardex-row:last-child{
    border-bottom: none;
}
.kardex-value{
    font-weight: 400;
}
.kardex-detail-title{
    text-align: center;
    font-weight: 700;
    margin: 12px 0 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/*=============Productos cards=============*/
.product-card{display:flex;align-items:stretch;border:1px solid #E7180B;border-radius:6px;overflow:hidden;background:#A6A09B;margin-bottom:14px;}
.product-image{width:110px;min-height:110px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;}
.product-image img{width:100%;height:100%;object-fit:contain;}
.product-body{flex:1;padding:10px 12px;}
.product-title{font-weight:700;color:#1447E6;margin-bottom:8px;display:flex;justify-content:center;text-align:center;font-size:1.1rem;}
.product-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:6px 16px;font-size:.85rem;color:#0C0A09;}
.product-meta .meta-item{display:flex;align-items:center;gap:6px;}
.product-options{border-top:1px solid #e5e7eb;margin-top:8px;padding-top:6px;display:flex;align-items:center;justify-content:flex-end;gap:8px;}
.product-options .options-label{margin-right:auto;color:#475569;font-weight:600;font-size:.75rem;letter-spacing:.02em;text-transform:uppercase;}

/*=====================================================
                    Media  Queries
======================================================*/
@media (max-width: 750px){
    .navLateral{
        pointer-events: none;
        opacity: 0;
        width: 0;
        border-right: none;
    }
    .navLateral-change{
        width: 300px;
        pointer-events: auto;
        opacity: 1;
        border-right: 1px solid #E1E1E1;
    }
    .pageContent{
        width: 100%;
    }
    .pageContent-change{
       width: calc(100% - 300px);
    }
}
