:root {
    --background-color: #F8F8F8;
    --primary-color: #2457C5;
    --primary-color-variant: #e7eeff;
    --bg-gray: rgba(214, 214, 214, 0.7294117647058823);
    --bg-light-gray: #f8f9fa;
    --bg-light-gray-200: #dae0e5;
    --bg-blue-light: #f9fafc;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.title {
    color: var(--primary-color) !important;
    font-size: 1.25rem;
}

.color-primary {
    color: var(--primary-color);
}

.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;
}

body {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.cursor-pointer, .cursor-pointer option {
    cursor: pointer;
}

/* FORMULARIO LOGIN */

select.form-control {
    height: 52px;
    padding-left: 0.5rem;
}

.input-login.form-control::placeholder {
    color: #ccc;
    font-weight: bold;
    font-size: 0.9rem;
}

.input-login {
    padding-left: 40px;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.input-login:focus {
    border-color: white;
}

/* FIN FORMULARIO LOGIN */

.spinner, .spinner:after {
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.spinner {
    background-color: transparent;
    border: 5px solid white;
    border-left: 5px solid rgba(66,139,202,.2);
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-duration: .8s;
    animation-name: spinner-loading
}

    .spinner.spinner-dark {
        border-left: 5px solid var(--primary-color);
    }

    .spinner.spinner-lg {
        width: 40px;
        height: 40px;
    }

@keyframes spinner-loading {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

.combo-height-small ~ button {
    height: 30px !important;
    line-height: 16px;
}

    .combo-height-small ~ button div {
        font-size: 10px !important;
    }

.select {
    background-color: var(--bg-light-gray);
    transition: background-color 0.15s ease-in-out;
}

    .select:hover {
        background-color: var(--bg-light-gray-200);
    }

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-blue-light {
    background-color: var(--bg-blue-light);
}

.bg-background-color {
    background-color: var(--background-color);
}

.table-border-white.table .table-dark th {
    border-color: white;
}

.icon-items-size {
    font-size: 20px !important;
}

.bg-seleccionado, .bg-seleccionado > td {
    background-color: var(--bg-gray) !important;
}

.transition-03 {
    transition: 0.3s all;
}

.rotate-90 {
    transform: rotate(90deg);
}

.texto-en-div-borde {
    margin-top: -28px !important;
    margin-left: 7px !important;
    background: white;
    padding: 0px;
    padding-left: 3px;
    margin-bottom: 0;
}

.btn-outline-hover:hover {
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0 0 0 3px var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-outline-light-hover:hover {
    padding-left: 20px;
    padding-right: 20px;
    box-shadow: 0 0 0 2px white;
    border: 1px solid white;
}

.transform-scale-hover-2:hover {
    transform: scale(1.2);
}

.btn-secondary {
    background-color: #F4F4F4 !important;
    border-color: #F4F4F4 !important;
    color: var(--primary-color) !important;
}

.shadow-xs {
    box-shadow: 0px 0px 45px -8px rgba(242,242,242,1);
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.tr-no-hover:hover td {
    --bs-table-color-state: white !important;
    --bs-table-bg-state: white !important;
}

.btn-outline-primary {
    --bs-btn-color: var(--primary-color);
    --bs-btn-border-color: var(--primary-color);
    --bs-btn-hover-bg: var(--primary-color);
    --bs-btn-hover-border-color: var(--primary-color);
}

/* progress bar */
.circular-progress {
    --size: 150px;
    --half-size: calc(var(--size) / 2);
    --stroke-width: 10px;
    --radius: calc((var(--size) - var(--stroke-width)) / 2);
    --circumference: calc(var(--radius) * pi * 2);
    --dash: calc((var(--progress) * var(--circumference)) / 100);
}

    .circular-progress circle {
        cx: var(--half-size);
        cy: var(--half-size);
        r: var(--radius);
        stroke-width: var(--stroke-width);
        fill: none;
    }

        .circular-progress circle.bg {
            stroke: #ddd;
        }

        .circular-progress circle.fg {
            transform: rotate(-90deg);
            transform-origin: var(--half-size) var(--half-size);
            stroke-dasharray: var(--dash) calc(var(--circumference) - var(--dash));
            transition: stroke-dasharray 0.3s linear 0s;
        }

.fs-18 {
    font-size: 18px;
}

.fs-14 ~ button div {
    font-size: 14px !important;
}
/* Media querys */

@media (max-width: 1366px) {
    td, th {
        font-size: 12px;
    }
}

.table-scroll tbody {
    position: absolute;
    overflow-y: scroll;
}

.table-scroll tr {
    width: 100%;
    table-layout: fixed;
    display: inline-table;
}
.mousechange:hover {
    cursor: pointer;
}