@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('mudBlazor-custom.min.css');
@import url('loader-styles.min.css');
@import url('counter-styles.css');

/*.!*fonts*!*/
@font-face {
    font-family: "Omnes_Bold";
    src: url("../fonts/omnes-semibold-webfont.ttf")
}

@font-face {
    font-family: "Omnes_Regular";
    src: url("../fonts/omnes-regular-webfont.ttf")
}

@font-face {
    font-family: "Omnes_Light";
    src: url("../fonts/omnes_light-webfont.ttf")
}

@font-face {
    font-family: "Poppins_Bold";
    src: url("../fonts/poppins-semibold.ttf")
}

@font-face {
    font-family: "Poppins_Regular";
    src: url("../fonts/poppins-regular.ttf")
}

@font-face {
    font-family: "Poppins_Light";
    src: url("../fonts/poppins-light.ttf")
}

:root {
    --background-card: #f8f9fb;
    --background-color: #eff1f9;
    --background-loader: #dddddd;
    --black: #000000;
    --blue: #132872;
    --cyan: #479be6;
    --dark: #000c45;
    --dark-gray: #333333;
    --gray: #c2c2c2;
    --green-mint: #66D19E;
    --lavender: #ded9ff;
    --medium-gray: #cccccc;
    --forte-gray: #838994;
    --light-gray: #e5e5e5;
    --pale-green: #ddffc2;
    --soft-black: #202020;
    --soft-lavender: #f0eeff;
    --soft-red: #ff6b6b;
    --white: #fff;
    --mud-zindex-dialog: 1 !important;
}

/*html, body, main, .container {
    max-width: 100% !important;*/
/*overflow-x: hidden !important;*/
/*margin: 0 !important;
    padding: 0 !important;
    scroll-behavior: smooth !important;*/
/*background-color: #000000 !important;*/
/*background-size: cover !important;
}*/

html, body {
    font-family: Poppins_Regular,sans-serif !important;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    background-image: url('/assets/background.png') !important;
    background-attachment: fixed;
    background-size: cover;
}


h1:focus {
    outline: 0 !important
}

h4 {
    color: white;
}

a, .btn-link {
    color: #0071c1
}

    a:hover {
        color: #DED9FF !important;
    }

    a.btn:hover {
        color: var(--dark-gray) !important;
    }

.btn-check:focus + .btn-primary, .btn-primary:focus {
    border-color: var(--lavender) !important;
    box-shadow: 0 0 0 .25rem rgba(132,123,255,.5) !important;
}

.button-user-action:hover{
    color: var(--white) !important;
}

.color-blue {
    color: var(--blue) !important;
}

.color-black {
    color: var(--black) !important;
}

.color-cyan {
    color: var(--cyan);
}

.color-forte-gray {
    color: var(--forte-gray);
}

.color-gray {
    color: var(--gray);
}

.color-green-mint {
    color: var(--green-mint) !important;
}

.color-lavender {
    color: var(--lavender) !important;
}

.color-medium-gray {
    color: var(--medium-gray) !important;
}

.color-pale-green {
    color: var(--pale-green) !important;
}

.color-soft-red {
    color: var(--soft-red) !important;
}

.color-white {
    color: var(--white);
}

.swal2-styled.swal2-confirm {
    background-color: var(--lavender) !important;
    color: var(--black) !important;
}

.btn-outline-primary:active:focus {
    box-shadow: 0 0 0 0.25rem rgb(211 151 255 / 44%) !important;
}

.btn-primary {
    color: #000000 !important;
    background-color: var(--mud-palette-primary) !important;
    border-color: var(--lavender) !important;
}

.btn-outline-primary {
    color: #000000 !important;
    border-color: #ffffff !important;
    background: #ffffff !important;
}

.form-control {
    background-color: var(--white) !important;
    color: var(--black) !important;
    border-radius: 20px !important;
}


    .form-control:focus {
        border-color: #07c;
        box-shadow: 0 0 0 .25rem rgba(132, 123, 255, 0.5) !important;
        background-color: var(--white) !important;
        color: var(--black) !important;
    }

    .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;
    }

.contenedor {
    min-height: 100vh;
}

.content {
    min-height: 100vh;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    border: 1px solid var(--green-mint) !important;
}

.invalid {
    border: 1px solid var(--soft-red) !important
}

.validation-message {
    color: var(--soft-red);
}

body {
    height: 100vh !important
}

#blazor-error-ui {
    background: var(--lavender) !important;
    color: var(--black) !important;
    bottom: 0 !important;
    box-shadow: 0 -1px 2px rgba(0,0,0,.2) !important;
    display: none;
    left: 0 !important;
    padding: .6rem 1.25rem .7rem 1.25rem !important;
    position: fixed !important;
    width: 100% !important;
    z-index: 1000 !important
}

    #blazor-error-ui .dismiss {
        cursor: pointer !important;
        position: absolute !important;
        right: .75rem !important;
        top: .5rem !important;
        color: var(--cyan) !important
    }

    #blazor-error-ui a:visited {
        color: var(--cyan) !important
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem,#b32121 !important;
    padding: 1rem 1rem 1rem 3.7rem !important;
    color: #fff !important
}

    .blazor-error-boundary::after {
        content: "ĦUps! ha ocurrido un error que no pudimos controlar." !important
    }


.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.avatar {
    width: 140px;
    height: 140px;
    box-shadow: 0 .25rem .75rem var(--lavender)
}

.background-primary {
    background-color: var(--blue);
}

.background-lavender {
    background: var(--lavender) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.background-white {
    background-color: var(--white);
    box-shadow: 0 0 15px -5px #363636;
}

.background-dark-gray {
    background-color: var(--dark-gray) !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

.border-radius-standard {
    border-radius: 50px !important;
}

.border-cyan-circle {
    border: 1px var(--lavender) solid;
    border-radius: 100%
}

.carga-archivo {
    max-width: 1000px;
}

.color-cyan {
    color: var(--cyan);
}

.color-primary {
    color: var(--lavender);
}

.color-white {
    color: var(--white);
}

.font-bold {
    font-family: Omnes_Bold !important;
}

.font-regular {
    font-family: Omnes_Regular !important;
}

.font-light {
    font-family: Omnes_Light !important;
}

.font-small {
    font-size: 10pt;
}

.font-medium {
    font-size: 12pt;
}

.font-large {
    font-size: 10pt;
}


.home {
    height: calc(100vh - 64px);
}

input {
    border-radius: 50px !important;
}

.form-check-input:checked {
    background-color: var(--black) !important;
    border-color: var(--black) !important;
}

.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 var(--lavender) !important;
}

checkbox {
    color: green;
    background-color: white;
    width: 30px;
    height: 30px;
    margin: 10px;
    border: 1px solid var(--gray);
}


input::placeholder {
    color: var(--gray) !important;
    text-transform: initial !important;
}

input::-webkit-input-placeholder {
    color: var(--gray) !important;
    text-transform: initial !important;
}

input, select, button, a {
    border-radius: 50px !important;
}

    input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0
    }

    input[type=number] {
        -moz-appearance: textfield
    }

.invalid {
    outline: 1px solid red;
}

.img-background {
    background-image: url('/images/logo-bg.png');
    background-repeat: no-repeat;
    background-size: 600px;
    background-position-y: 294px;
    background-position-x: -74px;
}

.imagen-portada {
    padding: 0px;
    display: flex;
    align-items: center;
}

.login-data-panel {
    width: 790px;
    height: 450px;
    margin-bottom: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.m-w-75 {
    max-width: 75% !important;
}

.m-w-150 {
    max-width: 150px !important;
}

.menu-list {
    padding-left: 2rem;
    padding-top: 2rem;
}


ol {
    counter-reset: li;
    list-style: square;
    padding: 0;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
}

    ol a {
        position: relative;
        display: block;
        padding: .4em .4em .4em .8em;
        margin: .5em 0 .5em 0;
        text-decoration: none;
        transition: all .3s ease-out;
    }

        ol a:hover {
            background: #003084;
            color: white;
        }

        ol a:after {
            position: absolute;
            content: "";
            border: .5em solid transparent;
            left: -1em;
            top: 50%;
            margin-top: -.5em;
            transition: all .3s ease-out;
        }

        ol a:hover:after {
            left: -.5em;
            border-left-color: #003084;
        }

.row {
    margin-left: 0px !important;
}

    .row > * {
        padding-left: 0px !important;
    }

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 20px !important;
}

.security-image {
    width: 20%;
    height: 100%;
    box-shadow: 0 .25rem .75rem var(--blue)
}

.swal2-container {
    padding: 0px !important;
    overflow-y: hidden !important;
}

.tarjeta-consejos {
    margin-top: 8px !important;
}

.tarjetas {
    flex-direction: column;
}

.titulo {
    margin-top: 20px;
}

.sugerencias-container {
    max-width: 270px;
    min-height: 170px;
}

.w-100-loader {
    background: var(--background-card) !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}


.mud-dialog {
    background-color: transparent !important;
    /*border-radius: var(--mud-default-borderradius);
    -webkit-animation: mud-open-dialog-center .1s cubic-bezier(0.39, 0.575, 0.565, 1) both;
    animation: mud-open-dialog-center .1s cubic-bezier(0.39, 0.575, 0.565, 1) both;*/
    box-shadow: unset !important;
    /*max-height: calc(100vh - var(--mud-appbar-height));
    max-height: calc(100dvh - var(--mud-appbar-height));*/
    overflow-y: unset !important;
}

.dash-card {
    background-color: var(--lavender) !important;
    border-radius: 20px !important;
}


@media (max-width: 1165px) {

    .contenedor {
        flex-direction: column;
    }

    .sugerencias-container {
        width: 400px;
        max-width: unset;
        min-height: unset;
        height: 100%;
    }

    .tarjeta-consejos {
        margin-top: unset !important;
        margin-left: 8px;
        width: 100%;
        height: 100%;
    }

    .tarjetas {
        flex-direction: row;
        padding: unset !important;
    }

    .titulo-tarjeta {
        align-self: center;
        margin-top: unset !important;
    }

    .border-radius-standard {
        border-radius: 30px !important;
    }
}

@media (max-width: 850px) {

    .login-data-panel {
        width: 650px;
        background-color: rgba(255, 255, 255, 0.849);
    }

    .img-background {
        background-position-y: 150px;
    }

    .imagen-portada {
        display: none;
    }

    .formulario {
        width: auto;
    }

    .sugerencias-container {
        width: 80%;
    }

    .tarjeta-consejos {
        width: 80%;
        margin-top: 8px !important;
        margin-left: unset;
    }

    .tarjetas {
        flex-direction: column;
        align-items: center;
    }

    .titulo {
        margin-top: unset !important;
    }
}

@media (max-width: 710px) {

    .login-data-panel {
        width: 500px;
    }

    .img-background {
        background-position-y: 120px;
    }

    .sugerencias-container {
        width: 100%;
    }

    .tarjeta-consejos {
        width: 100%;
    }
}

@media (max-width: 530px) {

    .login-data-panel {
        margin-top: 20px;
    }

    .img-background {
        background-position-y: 120px;
    }

    .login-data-panel {
        width: -webkit-fill-available;
    }

    .sugerencias-container {
        height: 145px;
    }
}

@media (max-width: 330px) {

    .img-background {
        background-size: 400px;
    }

    .sugerencias-container {
        height: 160px;
    }
}

@media (min-width: 1280px) {
    .mud-container-maxwidth-lg {
        max-width: 100% !important;
    }
}


/*CUSTOM MUDBLAZOR*/

.mud-nav-link .mud-nav-link-text {
    color: white !important;
}

.mud-nav-link:not(.mud-nav-link-disabled) .mud-nav-link-icon.mud-nav-link-icon-default {
    color: var(--black) !important;
}

.mud-nav-link .mud-nav-link-expand-icon {
    color: var(--black) !important;
}

.nav-link {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
    padding-left: 0.4rem !important;
    padding-right: 0.2rem !important;
}

.mud-nav-group * .mud-navmenu .mud-nav-item .mud-nav-link {
    padding-inline-start: 15px !important;
}

.mud-nav-link.active:not(.mud-nav-link-disabled) {
    background-color: rgba(255, 255, 255, .1) !important;
}
