@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

.border-radius-1 {
    border-radius: 15px 50px 30px 5px;
}


.w-100R  {
    width: 100% !important;
    color: white;
    background-color: red;
}


.w-100G  {
    width: 100% !important;
    color: white;
    background-color: forestgreen;
}

.w-100R div.card-header {
    width: 100% !important;
    color: white;
    background-color: red;
}


.w-100G div.card-header {
    width: 100% !important;
    color: white;
    background-color: forestgreen;
}

.upload-container,
.upload-container > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.drop-file-icon {
    background-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    background-position: center center;
    background-color: #ADB5BD;
    width: 48px;
    height: 48px;
    -webkit-mask-image: url("../images/icons/drop-file.svg");
    mask-image: url("../images/icons/drop-file.svg");
}

.drop-file-label {
    font-weight: 500;
    font-size: 1rem;
}

.fondo-imagen {
    /*background-image: url('/imgs/fondo.jpg');*/
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left;
    height: 100vh; /* Ajusta la altura del componente */
    padding: 10px;
    margin-left: -20px;
    width: 100%;
    background-attachment: fixed;
    position: absolute;
}

.fondo-imagen2 {
    /*background-image: url('/imgs/fondo.jpg');*/
    background-size: cover; /* Cambia de 'cover' a 'auto' para permitir la repetición */
    background-repeat: repeat-y; /* Repite la imagen solo en la dirección vertical */
    background-position: left;
    height: fit-content; /* Ajusta la altura del componente */
    padding: 10px;
    margin-left: -20px;
    width: fit-content;
    background-attachment: fixed;
    position: absolute;
}

.login-background-class2 {
    /*row*/
    background-image: url('/imgs/fondo-rio.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
    /*mt-5*/
    /*margin-top: 3rem !important;*/
    /*LOMAR*/

    flex-direction: column;
    height: 100vh;
}

    /* === HEADING STYLE #3 === */
    .three h1 {
    font-size: 28px;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.5em;
    padding-bottom: 15px;
    position: relative;
}

    .three h1:before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        height: 5px;
        width: 55px;
        background-color: #111;
    }

    .three h1:after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 2px;
        height: 1px;
        width: 95%;
        max-width: 255px;
        background-color: #333;
    }


html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    /**/
    height: 100%;
    margin: 0;
}
.container {
    display: flex;
    height: 100%;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaX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S43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.login-background-class {
    /*row*/
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
    /*mt-5*/
    /*margin-top: 3rem !important;*/
    /*LOMAR*/
    background-image: url(../imgs/login-background.jpg);
    flex-direction: column;
    height: 100vh;
}

.login-container {
    display: flex;
    margin-top: 230px;
    width:500px;
    justify-content:left;
    /*background-color: red;*/
}

.login-box {
    /*col-lg-4*/
    flex: 0 0 auto;
    width: 33.33333333%;
    /*offset-lg-4*/
    margin-left: 33.33333333%;
    /*border*/
    /*border: 1px solid #dee2e6 !important;*/
    /*LOMAR*/
    /*background-color: green;*/
    width: 500px;
    border:none;
    border-color: darkblue;
}
.login-control-textbox {
    display: block;
    width: 100%;
    padding: 10px .75rem .75rem .375rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out
}
.login-titulo {
    margin-top: 0;
    margin-bottom: .5rem;
    /*font-weight: 500;*/
    line-height: 1.2;
    font-family:Arial;
    font-size:xx-large;
    font-weight:bold;
    /*font-size: calc(1.3rem + .6vw);*/
}
.login-subtitulo {
    margin-top: 0;
    margin-bottom: .5rem;
    /*font-weight: 500;*/
    line-height: 1.2;
    font-family: Arial;
    font-size: large;
    font-weight: bold;
    padding-left:10px;
    /*font-size: calc(1.3rem + .6vw);*/
}





aside {
    color: #fff;
    width: 250px;
    padding-left: 20px;
    height: 100vh;
    background-image: url('/imgs/lateral-azul.jpg');
    /*background-image: linear-gradient(25deg, #0A4E1F, #73AD21);*/ /* Colores sólidos */
    /* border-top-right-radius: 80px;*/
    background-color: transparent;
    z-index: 2;
    position: relative;
    overflow: hidden;
}

    aside::before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 80px; /* Tamaño del radio del borde */
        height: 80px; /* Tamaño del radio del borde */
        background-color: transparent;
        z-index: -1; /* Coloca la pseudo-clase detrás del contenido del aside */
        background-size: cover;
        background-position: center;
    }

    aside a {
        font-size: 12px;
        color: #fff;
        display: block;
        padding: 12px;
        padding-left: 30px;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

        aside a:hover {
            color: #3f5efb;
            background: #fff;
            outline: none;
            position: relative;
            background-color: #fff;
            border-top-left-radius: 20px;
            border-bottom-left-radius: 20px;
        }

        aside a i {
            margin-right: 5px;
        }

        aside a:hover::after {
            content: "";
            position: absolute;
            background-color: transparent;
            bottom: 100%;
            right: 0;
            height: 35px;
            width: 35px;
            border-bottom-right-radius: 18px;
            box-shadow: 0 20px 0 0 #fff;
        }

        aside a:hover::before {
            content: "";
            position: absolute;
            background-color: transparent;
            top: 38px;
            right: 0;
            height: 35px;
            width: 35px;
            border-top-right-radius: 18px;
            box-shadow: 0 -20px 0 0 #fff;
        }

    aside p {
        margin: 0;
        padding: 40px 0;
    }

.sidebar-white {
    background-color: white;
    
}

.social-lomar {
    height: 0;
}

    .social-lomar i:before {
        width: 40px;
        height: 40px;
        font-size: 20px;
        position: fixed;
        color: #fff;
        background: #0077B5;
        padding: 10px;
        border-radius: 50%;
        top: 5px;
        right: 55px;
    }

.fal {
    display: inline-block;
    font: normal normal normal 14px/1 Arial;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fal-lomar:before {
    content: url('../imgs/contact.svg');
}


/* Contenedor del botón circular */
.social-salir {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    background-color: #dc3545 !important; /* Rojo intenso sólido */
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

    .social-salir:hover {
        background-color: #bb2d3b !important; /* Rojo un poco más oscuro al pasar el cursor */
        transform: scale(1.05);
    }

    /* Ícono o texto dentro del botón */
    .social-salir a {
        color: #ffffff !important; /* Ícono 100% blanco */
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-size: 0.9rem;
        width: 100%;
        height: 100%;
    }

    .social-salir i {
        color: #ffffff !important;
    }

.fas {
    display: inline-block;
    font: normal normal normal 14px/1 Arial;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.fas-salir:before {
    content: url('../imgs/salir.svg');
}

a-main-layout {
    position: relative;
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid #212121;
    text-transform: uppercase;
    color: #212121;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
}

    a-main-layout::before {
        content: '';
        position: absolute;
        top: 6px;
        left: -2px;
        width: calc(100% + 4px);
        height: calc(100% - 12px);
        background-color: #fefefe;
        transition: 0.3s ease-in-out;
        transform: scaleY(1);
    }

    a-main-layout:hover::before {
        transform: scaleY(0);
    }

    a-main-layout::after {
        content: '';
        position: absolute;
        left: 6px;
        top: -2px;
        height: calc(100% + 4px);
        width: calc(100% - 12px);
        background-color: #fefefe;
        transition: 0.3s ease-in-out;
        transform: scaleX(1);
        transition-delay: 0.5s;
    }

    a-main-layout:hover::after {
        transform: scaleX(0);
    }

    a-main-layout span {
        position: relative;
        z-index: 3;
    }

button-main-layout {
    background-color: none;
    text-decoration: none;
    background-color: #fefefe;
    border: none;
}

table.paleBlueRows {
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid #FFFFFF;
    width: 100vh;
    /*height: 100vh;*/
    text-align: center;
    border-collapse: collapse;
}

    table.paleBlueRows td, table.paleBlueRows th {
        border: 1px solid #FFFFFF;
        padding: 3px 2px;
    }

    table.paleBlueRows tbody td {
        font-size: 13px;
    }

    table.paleBlueRows tr:nth-child(even) {
        background: #D0E4F5;
    }

    table.paleBlueRows thead {
        background: #0B6FA4;
        border-bottom: 5px solid #FFFFFF;
    }

        table.paleBlueRows thead th {
            font-size: 17px;
            font-weight: bold;
            color: #FFFFFF;
            text-align: center;
            border-left: 2px solid #FFFFFF;
        }

            table.paleBlueRows thead th:first-child {
                border-left: none;
            }

    table.paleBlueRows tfoot {
        font-size: 14px;
        font-weight: bold;
        color: #333333;
        background: #D0E4F5;
        border-top: 3px solid #444444;
    }

        table.paleBlueRows tfoot td {
            font-size: 14px;
        }

table.AmarAzul {
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid #FFFFFF;
   
    /*height: 100vh;*/
    text-align: center;
    border-collapse: collapse;
}

    table.AmarAzul td, table.AmarAzul th {
        border: 1px solid #FFFFFF;
        padding: 3px 2px;
        width: 20vw;
    }

    table.AmarAzul tbody td {
        font-size: 13px;
    }

    table.AmarAzul tr:nth-child(even) {
        background: #D0E4F5;
    }

    table.AmarAzul thead {
        background: #0B6FA4;
        border-bottom: 5px solid #FFFFFF;
    }

        table.AmarAzul thead th {
            font-size: 17px;
            font-weight: bold;
            color: #FFFFFF;
            text-align: center;
            border-left: 2px solid #FFFFFF;
        }

            table.AmarAzul thead th:first-child {
                border-left: none;
            }

    table.AmarAzul tfoot {
        font-size: 14px;
        font-weight: bold;
        color: #333333;
        background: #D0E4F5;
        border-top: 3px solid #444444;
    }

        table.AmarAzul tfoot td {
            font-size: 14px;
        }



.spinner {
    position: relative;
    width: 80px;
    /* Adjust the width accordingly */
    height: 16px;
    /* Keep the height the same */
}

    .spinner div {
        position: absolute;
        width: 16px;
        height: 16px;
        background-color: #004dff;
        border-radius: 50%;
        animation: spinner-4t3wzl 2s infinite linear;
    }

        .spinner div:nth-child(1) {
            left: 0;
            animation-delay: 0.15s;
            background-color: rgba(0, 77, 255, 0.9);
        }

        .spinner div:nth-child(2) {
            left: 25%;
            animation-delay: 0.3s;
            background-color: rgba(0, 77, 255, 0.8);
        }

        .spinner div:nth-child(3) {
            left: 50%;
            animation-delay: 0.45s;
            background-color: rgba(0, 77, 255, 0.7);
        }

        .spinner div:nth-child(4) {
            left: 75%;
            animation-delay: 0.6s;
            background-color: rgba(0, 77, 255, 0.6);
        }

        .spinner div:nth-child(5) {
            left: 100%;
            animation-delay: 0.75s;
            background-color: rgba(0, 77, 255, 0.5);
        }

@keyframes spinner-4t3wzl {
    0% {
        transform: rotate(0deg) translateX(-100%);
    }

    100% {
        transform: rotate(360deg) translateX(-100%);
    }
}


/* ================= Cortina de carga inicial (anti-pestaneo) =================
   Se usa tanto en _Layout.cshtml (estatica, antes de que arranque Blazor) como
   en el componente AppLoading.razor (mientras se resuelve la autenticacion). */
.app-splash {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    background-image: url('/imgs/fondo-rio.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0b2a3a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .25s ease-out;
}

.app-splash.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.app-splash__spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: app-splash-spin .8s linear infinite;
}

@keyframes app-splash-spin {
    to {
        transform: rotate(360deg);
    }
}
