/*** ESTILOS GENERALES DEL ERP ***/

/* REGLAS MUY USADAS */

.main-color {
    color: var(--primary-color);
}

.mr05 {
    margin-right: 0.5em;
}

.ml05 {
    margin-left: 0.5em;
}

.mb5px {
    margin-bottom: 5px;
}

.flexy-columns {
    display: flex;
    flex-direction: column;
}

.line-grid {
    display: inline-grid;
    width: 100%;
}

.vertical-center {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* ESTILO GLOBAL DE LOS BOTONES */
.resize_wizard_block_v2 button {
    font-size: 18px;
    line-height: 26px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    font-family: var(--secondary-font);
    background: var(--secondary-color-light);
    border: none;
    border-radius: 5px;
    padding: 7px 25px;
    text-shadow: none;
    transition: linear 0.2s;
}

/* ESTILO GLOBAL DE LOS INPUTS */
input.color-border,
textarea.color-border {
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    padding: 7px 10px;
    background: transparent;
}

input.color-border[type].error,
textarea.color-border[type].error {
    border: 1px solid #e82a2a;
}

input:disabled,
textarea:disabled {
    cursor: not-allowed !important;
    opacity: .4;
}

/* SPINNER SIN FLECHAS */
input[type="number"] {
    -moz-appearance: textfield;
}

.custom-span {
    display: block;
    width: 100%;
    height: 47.5px;
    max-height: 47.5px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid var(--primary-color);
    background: var(--primary-color);
    color: white;
    text-align: center;
    text-transform: uppercase;
    font-family: var(--family-primary);
}

.custom-span.reverse,
.custom-span.reverse {
    color: var(--primary-color);
    border: var(--primary-color) dashed 1px;
    background: white;
}

/* ESTILO GLOBAL DE LOS SPAN */
/*! DEPRECADO*/
.custom-span-reverse {
    width: 100%;
    color: var(--primary-color);
    border: var(--primary-color) dashed 1px;
    padding: 10px;
    display: block;
    border-radius: 4px;
    text-align: center;
    max-height: 47.5px;
    height: 47.5px;
    text-transform: uppercase;
    font-family: var(--family-primary);
}

/* BOTON DE VOLVER AL INICIO */

p.return-home {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px;
}

p.return-home a {
    padding: 10px;
    border-radius: 5px;
    color: #fff;
    background-color: var(--primary-color);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3em;
    text-decoration: none;
}

/*! DEPRECADO (return-home) */
span.go_to_home_span_like_a,
span.go-to-home-span-like-a {
    background-color: var(--primary-color);
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
    line-height: 1.3em;
    font-weight: 700;
    color: #fff;
}