/*Colores basicos*/

.color-azul-emo {
    color: #0057b8;
}

.color-azul-emo-50 {
    color: rgba(0, 87, 184, 0.5);
}

.color-verde-emo {
    color: #88CA12;
}

.color-verde-emo-50 {
    color: rgba(136, 202, 18, 0.5);
}


/*Colores en objetos basicos*/

.btn-primary:hover {
    text-decoration: none;
    background-color: #88CA12;
    border-color: #88CA12;
}

a:hover {
    color: #88CA12;
    text-decoration: none;
}

.form-control:focus {
    border-color: #88CA12;
    -webkit-box-shadow: inset 0 1px 2px transparent, inset 0 0 0 30px var(--phoenix-emphasis-bg), 0 0 0 0.25rem rgba(136, 202, 18, 0.25);
    box-shadow: inset 0 1px 2px transparent, inset 0 0 0 30px var(--phoenix-emphasis-bg), 0 0 0 0.25rem rgba(136, 202, 18, 0.25);
}

/*Inputs*/

input {
    height: 37px;
}

button {
    height: 37px;
}

.btn {
    height: 37px;
}

a.btn-sm {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.btn-sm {
    padding-top: 1px !important;
    padding-bottom: 0px !important;

    display: -webkit-inline-box !important;
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;

    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
}

.btn-sm > span {
    font-size: 18px !important;
}

.btn .badge {
    font-size: 10px !important;
}


/*Auth*/
.auth-card .auth-title-box .auth-title-box-img {
    width: 60%;
    height: 60%;
}


/*Loader*/
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    position: fixed;
    top: 45%;
    left: 50%;
    z-index: 9999;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 14.1px solid;
    border-color: #dbdcef;
    border-right-color: #0057b8;
    animation: spinner-d3wgkg 1.4s infinite linear;
}

.spinner-loader-texto {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 3.8px solid;
    border-color: #dbdcef;
    border-right-color: #0057b8;
    animation: spinner-d3wgkg 1.4s infinite linear;
}

@keyframes spinner-d3wgkg {
    to {
        transform: rotate(1turn);
    }
}

.loader-texto-spinner {
    color: #0057b8;
    margin-left: 5px;
    margin-right: 5px;
}


/*Tablas*/

.table-sm > tbody > tr > td {
    padding-top: 5px;
    padding-bottom: 5px;
}

.columna-nombre {
    min-width: 150px;
    width: 150px;
    text-align: left;
}

.columna-codigo {
    min-width: 50px;
    width: 50px;
    text-align: center;
}

.columna-mw300 {
    min-width: 300px;
}

.columna-mw150 {
    min-width: 150px;
}

.columna-acciones-1 {
    width: 95px;
    min-width: 95px;
    text-align: center;
}

.columna-acciones-2 {
    width: 100px;
    min-width: 100px;
    text-align: center;
}

.columna-acciones-3 {
    width: 110px;
    min-width: 110px;
    text-align: center;
    text-align: center;
}

.columna-estado {
    width: 110px;
    min-width: 110px;
    text-align: center;
}

.columna-numero-documento {
    min-width: 145px;
    width: 145px;
    text-align: left;
}

.columna-fecha {
    min-width: 110px;
    width: 110px;
    text-align: center;
}

.columna-fecha-estimada {
    min-width: 120px;
    width: 120px;
    text-align: center;
}

.columna-importe {
    width: 120px;
    min-width: 120px;
    text-align: right;
}

.columna-cantidad {
    width: 105px;
    min-width: 105px;
    text-align: center;
}

.columna-imagen {
    width: 50px;
    min-width: 50px;
}

.tr-h50 {
    min-height: 50px !important;
    height: 50px !important;
}

/*Botones*/

.boton-acciones {
    padding: 0 5px;
}


/*Fuentes*/
.font-15 {
    font-size: 20px !important;
}

.font-20 {
    font-size: 20px !important;
}


/*Artículos*/
.img-cover-emo {
    object-fit: cover;
}

.backdrop-faded-emo {
    padding: 0.5rem 1.0rem !important;

}

.backdrop-faded-emo.backdrop-secondary-dark {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, rgba(0, 0, 0, 0.5) 100%) !important;
}


.search-box-clear-icon {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    -webkit-transform: translateY(-50%) !important;
    -ms-transform: translateY(-50%) !important;
    transform: translateY(-50%) !important;
    margin-right: 1rem !important;
    cursor: pointer !important;
    z-index: 10 !important;
}

/*Ratio personalizado para las previews de los PDF*/
.ratio-A4 {
    aspect-ratio: 1 / 1.4142;
}

.ratio-A4 img, .emo-cover-imagenes {
    object-fit: cover;
}

/**/
.dropdown-menu {
    --phoenix-dropdown-padding-y: 0.5rem !important;
}

/*Clases para hacer iframe responsive*/
.responsive-iframe-container {
    margin: 0;
}

.responsive-iframe {
    width: 100%;
    height: 70vh;
    box-sizing: border-box;
}

/*Tamaño iconos barra vertial lateral*/
.EMOIconosBarraVertical {
    font-size: 1.3rem;
}


.card-img-top-border {
    border-bottom: rgba(203, 208, 221, 0.54) 1px solid;
}

.card-title-uppercase {
    text-transform: uppercase;
}

.card-title-truncate-max-3-lines {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 48px;
}

/*Tamaños offcanvas*/

.offcanvas-size-sm {
    --phoenix-offcanvas-width: min(95vw, 200px) !important;
}

.offcanvas-size-md {
    --phoenix-offcanvas-width: min(95vw, 400px) !important;
}

.offcanvas-size-xl {
    --phoenix-offcanvas-width: min(95vw, 600px) !important;
}

.offcanvas-size-xxl {
    --phoenix-offcanvas-width: min(95vw, 800px) !important;
}

.offcanvas-size-xxxl {
    --phoenix-offcanvas-width: min(95vw, 1000px) !important;
}

.offcanvas-size-carrito {
    min-width: 900px !important;
    width: 50% !important;
}

.offcanvas-fondo-emo {
    background-color: #F5F7FA;
}

/*choices.js*/


.choices {
    /*font-family: var(--phoenix-font-sans-serif) !important;*/
}

.choices .choices__inner {
    border-radius: var(--phoenix-border-radius);
    line-height: 1.5rem !important;
    font-size: 13px;
    background-color: var(--phoenix-emphasis-bg) !important;
    min-height: var(--phoenix-choices-inner-min-height) !important;
    background-size: 9px 12px;
    border: 1px solid var(--phoenix-border-color);
    padding: 6px 3.5rem 6px 1rem;
    -webkit-box-shadow: inset 0 1px 2px transparent;
    box-shadow: inset 0 1px 2px transparent;
    text-transform: uppercase;
}

.choices .choices__input--cloned {
    padding: 0;
    font-size: 13px;
    color: var(--phoenix-body-color);
    background-color: var(--phoenix-emphasis-bg) !important;
    vertical-align: top;
    margin-bottom: 0;
}

.choices .choices__input--cloned::-webkit-input-placeholder {
  color: rgba(var(--phoenix-quaternary-color-rgb), 0.8);
}

.choices .choices__input--cloned::-moz-placeholder {
  color: rgba(var(--phoenix-quaternary-color-rgb), 0.8);
}

.choices .choices__input--cloned:-ms-input-placeholder {
    color: rgba(var(--phoenix-quaternary-color-rgb), 0.8);
}

.choices .choices__input--cloned::-ms-input-placeholder {
    color: rgba(var(--phoenix-quaternary-color-rgb), 0.8);
}

.choices .choices__input--cloned::placeholder {
    color: #000;olor: rgba(var(--phoenix-quaternary-color-rgb), 0.8);
}

.choices .choices__list--dropdown {
    border: 1px solid var(--phoenix-border-color-translucent) !important;
    border-bottom-left-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    background-color: var(--phoenix-emphasis-bg);
    z-index: 1020;
    text-transform: uppercase;
}

.choices .choices__list--dropdown .choices__item--selectable {
    padding: 2px 1rem;
    padding-right: 20px;
    font-size: 13px !important;
    /*background-color: var(--phoenix-secondary-bg);*/
    background-color: white;
    color: var(--phoenix-body-color);
    height: 37px;
    display: flex;
    align-items: center;
}

.choices .choices__list--dropdown .choices__item--selectable.is-highlighted {
    /*background-color: var(--phoenix-primary);*/
    /*background-color: #0057b8;*/
    background-color: gray;
    /*color: var(--phoenix-emphasis-bg);*/
    color: white;
}

.choices .choices__list {
    margin-top: 0 !important;
}

.choices .choices__list .has-no-choices {
    background-color: var(--phoenix-choices-item-has-no-choices-bg);
}

.choices .choices__list--multiple .choices__item {
    text-transform: uppercase;
    padding: 2.5px 8px !important;
    font-size: 13px !important;
    border: 0;
    background-color: var(--phoenix-choices-item-bg) !important;
    border-radius: 4px;
    margin-bottom: 0 !important;
    color: var(--phoenix-choices-item-color);
    font-weight: 700;
    line-height: 1;
}

.choices .choices__list--single {
    padding: 0 !important;
}

.choices .choices__list--single .choices__button {
    background-color: transparent !important;
}

.choices[data-type*=select-multiple] .choices__button,
.choices[data-type*=text] .choices__button {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9IiM2ZTc4OTEiIHN0cm9rZS13aWR0aD0iMyIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBjbGFzcz0iZmVhdGhlciBmZWF0aGVyLXgiPjxsaW5lIHgxPSIxOCIgeTE9IjYiIHgyPSI2IiB5Mj0iMTgiPjwvbGluZT48bGluZSB4MT0iNiIgeTE9IjYiIHgyPSIxOCIgeTI9IjE4Ij48L2xpbmU+PC9zdmc+);
    background-color: transparent !important;
    padding: 0px !important;
    background-size: 11px !important;
    margin: 0;
    margin-left: 6px;
    border: none;
    background-position: -2px -1px;
}

.firefox .choices[data-type*=select-multiple] .choices__button,
.firefox .choices[data-type*=text] .choices__button {
    background-position: -2px 0px;
}


.choices[data-type*=select-one] .choices__input {
    padding-left: 1rem;
    padding-right: 1rem;
}

.choices[data-type*=select-one] .choices__inner {
    padding-bottom: 5px !important;
}

.is-focused .choices__inner,
.is-open .choices__inner {
    border-radius: 0.375rem !important;
    border-color: #88CA12;
    -webkit-box-shadow: inset 0 1px 2px transparent, inset 0 0 0 30px var(--phoenix-emphasis-bg), 0 0 0 0.25rem rgba(136, 202, 18, 0.25);
    box-shadow: inset 0 1px 2px transparent, inset 0 0 0 30px var(--phoenix-emphasis-bg), 0 0 0 0.25rem rgba(136, 202, 18, 0.25);
    outline: 0;
}

.choices-select-container {
    position: relative;
}

.choices-select-container .choices__inner {
    padding-left: 2.5rem;
}

.choices-select-container .choices-icon {
    position: absolute;
    left: 1rem;
}

.choices__item .choices__item--choice .has-no-results {
    background-color: red !important;
}

.was-validated .choices.valid .choices__inner {
    border-color: var(--phoenix-success) !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2325b003' d='M2.3 6.73.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .choices[data-type=select-one].valid .choices__inner {
    background-position: right calc(0.375em + 1.55rem) center;
}

.was-validated .choices.invalid {
    margin-bottom: 0;
}

.was-validated .choices.invalid .choices__inner {
    border-color: var(--phoenix-danger) !important;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23fa3b1d'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23fa3b1d' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .choices.invalid + .invalid-feedback {
    display: block;
}

.was-validated .choices[data-type=select-one].invalid .choices__inner {
    background-position: right calc(0.375em + 1.55rem) center;
}

.was-validated .choices[data-type*=select-one] .choices__button {
    margin-right: 60px !important;
}

.was-validated .choices[data-type*=select-one] .choices__inner {
    padding-bottom: 6px !important;
}

.form-floating-advance-select > label {
    color: rgba(var(--phoenix-body-color-rgb), 0.65);
    padding-top: 0.25rem;
}

.form-floating-advance-select .choices__inner {
    padding-top: 1rem;
}

