/* PAGINA LOGIN */

body {
    font-size: 0.9rem !important;
    background-image: url("../img/back.webp");
    background-size: cover;
}

.login-box {
    width: 360px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


/* .login-logo a {
    color: #0521a0;
    font-weight: 600;
    text-shadow: 0 0 10px #f502f5;
} */

.img-ulmaoil {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.9);
}

.card-login {
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.9);
    border-radius: 10px;
}

.login-card-body {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.login-box-msg {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.849) !important;
}

.login-card-body .input-group .form-control {
    border-right: 0;
    background: transparent;
    color: #ffffff;
}

#con-sucursal {
    color: #0069D9;
}


/* ------------------------------------------------------ */

h4 {
    margin-bottom: 0;
}

.wrapper {
    width: 100%;
}

.btn-ingresar {
    padding-left: 0px;
}

.img-usuario {
    width: 30px;
}

.nom-usuario {
    line-height: 35px;
    margin-left: 10px;
}

.content-header {
    padding: 5px;
}


/* Datables */

thead {
    background-color: #007bff;
    color: #ffffff;
}

.datable-body tr td {
    padding: 5px 12px;
}


/* boton opcion */

.btn-opcion {
    width: 25px;
    height: 25px;
    border: 0px;
    padding: 0px
}


/* stock circulo */

.stock-circulo {
    background: #e2e6ea;
    min-width: 55px !important;
    float: right;
    border-radius: 5px;
    color: #212529;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
}

.stock-prtEntera {
    font-style: normal;
}

.stock-prtFraccion {
    font-style: normal;
}


/* alerta de formulario para validar */

#frm-alerta {
    background-color: rgba(200, 35, 51, 0.5);
    border-radius: 5px;
    padding: 8px 8px;
    font-weight: bold;
    color: #ffffff;
    display: none;
}


/* Tamaño de los i */

.input-group>.input-group-prepend>.input-group-text {
    width: 45px;
}


/* Stock */

.stock,
.fecha {
    margin: 0px;
    padding: 0px;
    text-align: center;
}

.btn-clientVenta {
    border-radius: 0px 5px 5px 0px !important;
}


/* modal productos */

.ancho-stock {
    width: 50px !important;
}

.ancho-opcion {
    width: 25px !important;
}


/* Barra de estado */

.barra {
    background-color: #f3f3f3;
    border-radius: 5px;
    box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.2);
    height: 15px;
}

.barra-azul {
    background-color: #247cc0;
    border-radius: 10px;
    display: block;
    height: 13px;
    line-height: 13px;
    text-align: center;
    width: 0%;
}

.barra-verde {
    background-color: #2ea265;
}

.barra-roja {
    background-color: #de3152;
}

#barra-estado span {
    color: #ffffff;
    font-weight: bold;
    line-height: 13px;
}


/*=================================================================
   GRAFICOS ESTADISTICOS
=================================================================*/

#container {
    height: 400px;
}

.highcharts-figure,
.highcharts-data-table table {
    min-width: 310px;
    max-width: 800px;
    margin: 1em auto;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #EBEBEB;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}


/* selectPicker */

.form-control {
    border: 1px solid #ced4da !important;
}


/* Submenus */

.submenu {
    width: 1.5rem;
    font-size: 13px !important;
    margin-left: 5px;
}


/* BOTON SWITCH */

.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
    margin: 0px !important;
}

.slider {
    position: absolute;
    cursor: pointer;
    width: 40px;
    height: 20px;
    background: #cccccc;
    border-radius: 50px;
    transition: 0.4s;
}

.switch input {
    display: none;
}

.slider::before {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    top: 2px;
    left: 2px;
    background: #ffffff;
    border-radius: 50px;
    transition: 0.4s;
}

input:checked+.slider {
    background: #28a745;
}

input:checked+.slider::before {
    left: 22px;
}


/* btn-stock consumos */

.btn-stkprod {
    border-radius: 3px 3px 3px 3px !important;
    width: 60px !important;
    height: 40px !important;
}


/* mi form-control */

.mi-formcontrol {
    border: 1px solid #ced4da !important;
    border-radius: 3px;
}

.mi-form-control {
    border: 1px solid #ced4da !important;
    border-radius: 3px;
}


/*=================================================================
   MEDIA QUERIES
=================================================================*/

@media only screen and (min-width:768px) {
    /* datables botones offices */
    .dt-buttons {
        position: absolute !important;
    }
    .main-header {
        padding: 5px;
    }
    /* anchos DATATABLE */
    .ancho {
        width: 50%;
    }
    .ancho-md {
        width: 75%;
    }
    /* ancho MODALES */
    .tp-modal {
        max-width: 50%;
    }
    .tpm-modal {
        max-width: 55%;
    }
    .tm-modal {
        max-width: 75%;
    }
}