﻿html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
    background-color: #f9f9f9;
}

.testing {
    background-color: #ffebeb !important;
}

.perfil_preview {
    border-radius: 5px;
    padding: 0.2rem;
    height: 50px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

    .perfil_preview img {
        height: 100%;
        width: 100%;
    }

.form-group {
    margin-bottom: 0.5rem;
}

td > input, td > select, .table-sm > :not(caption) > * > * {
    padding: 0;
}

dt, dd {
    margin-bottom: .5rem;
    border-bottom: 1px dashed #cfcfcf;
}

tr:nth-child(even) {
    background-color: #ebebeb;
}

button.dropdown-toggle {
    font-weight: 600;
}

nav > div.container {
    max-width: 100% !important;
}

nav.bg-brand {
    background-color: #e9e9e9;
}

nav.bg-testing {
    background-color: #ff94946b;
}

a.nav-link {
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}

li.nav-item:hover {
    background-color: #e9e9e9;
}

label.control-label {
    font-weight: 500;
}

nav {
    box-shadow: 0 2px 4px 0 rgba(0,0,0,.2);
}

.uppercase {
    text-transform: uppercase;
}

.text-bold {
    font-weight: 500 !important;
}

.st-color-preview {
    height: 20px;
    width: 20px;
    border-radius: 3px;
    border: 1px solid black;
}

.validation-summary-errors > ul {
    border-radius: 5px;
    list-style-type: none;
    text-align: center;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:nth-child(2) > .dropdown-menu {
    margin-top: 30px;
}

.dropdown-submenu:nth-child(3) > .dropdown-menu {
    margin-top: 60px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after {
    border-left-color: #fff;
}

.color-estado-entrega-1 { /* Sin Entregar */
    color: rgb(225 46 46) !important; /* Rojo */
}

.color-estado-entrega-2 { /* Total */
    color: rgb(24 118 97) !important; /* Verde */
}

.color-estado-entrega-3 { /* Parcial */
    color: rgb(233 171 57) !important; /* Naranja */
}

.bg-stock-pres {
    min-width: 35px;
    background-color: rgb(24 118 97) !important; /* Verde */
}

.bg-stock-pres-sin-trat {
    min-width: 35px;
    background-color: rgb(13 110 252) !important; /* Azul */
}

.bg-estado-stock-1, /* OK */
.bg-estado-presupuesto-2 { /* Aprobado */
    background-color: rgb(24 118 97) !important; /* Verde */
}

.bg-estado-stock-2, /* Cerca del minimo */
.bg-estado-presupuesto-3 { /* Recotizado */
    background-color: rgb(233 171 57) !important; /* Naranja */
}

.bg-estado-stock-3, /* Negativo */
.bg-estado-presupuesto-4 { /* Rechazado */
    background-color: rgb(225 46 46) !important; /* Rojo */
}

.bg-estado-presupuesto-1 { /* Cotizado */
    background-color: rgb(13 110 252) !important; /* Azul */
}

.bg-estado-proceso-1 { /* Sin Iniciar */
    background-color: #000000 !important;
}

.bg-estado-proceso-2 { /* Armado */
    background-color: #08215c !important;
}

.bg-estado-proceso-3 { /* Lavado */
    background-color: #0f3f74 !important;
}

.bg-estado-proceso-4 { /* Colgado */
    background-color: #155e8d !important;
}

.bg-estado-proceso-5 { /* Pintado */
    background-color: #1b7ca5 !important;
}

.bg-estado-proceso-6 { /* Anodizado */
    background-color: #229abd !important;
}

.bg-estado-proceso-7 { /* Empaquetado */
    background-color: #28b8d5 !important;
}

.bg-estado-proceso-8 { /* Finalizado */
    background-color: #247a4d !important;
}

.bg-estado-proceso-9 { /* Iniciado */
    background-color: #020344 !important;
}

.bg-estado-proceso-10 { /* Anulado */
    background-color: rgb(225 46 46) !important;
}

.invisible {
    display: none;
}

.bg-grey {
    background-color: #4a504d;
}

/* loading wheel */

.loader {
    width: 60px;
}

.loader-wheel {
    animation: spin 1s infinite linear;
    border: 2px solid rgba(0, 0, 0, 0.5);
    border-left: 4px solid #0d6efd;
    border-radius: 50%;
    height: 50px;
    margin-bottom: 10px;
    width: 50px;
    margin-left: 20%;
}

.loader-text {
    color: #000;
    /* font-family: arial, sans-serif; */
}

    .loader-text:after {
        content: 'Procesando';
        animation: load 2s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes load {
    0% {
        content: 'Procesando';
    }

    33% {
        content: 'Procesando.';
    }

    67% {
        content: 'Procesando..';
    }

    100% {
        content: 'Procesando...';
    }
}

/* end loading wheel */

/* callout */


.callout {
    padding: 1rem;
}

.callout-success {
    border: 1px solid green;
    background-color: #d8ffd887;
    color: black;
}

.callout-error {
    border: 1px solid red;
    background-color: #ffd6d6;
    color: black;
}

.callout-info {
    border: 1px solid #1aabcf;
    background-color: #e0f9ff;
    color: black;
}

.callout-secondary {
    border: 1px solid #a5a5a5;
    background-color: #d7d7d7;
    color: black;
}

.callout-warning {
    border: 1px solid #e79d00;
    background-color: #ff590e30;
    color: black;
}

/* end callout */

.clear-link {
    text-decoration: underline;
    color: initial !important;
}