﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification for details on configuring this project to bundle and minify static web assets. */
/*TAMAÑO Y ESTILO DE TEXTO*/
@font-face {
    font-family: monserrat;
    src: url(/font/Montserrat-Regular.otf);
    font-size: 10px;
}
input[type="file"].form-control {
    padding: 6px 12px;
    height: auto;
}

@font-face {
    font-family: monserrat;
    src: url(/font/Montserrat-Medium.otf);
    font-weight: bolder;
}
/*HOJAS DE VIDA*/
.subtitle-hv {
    font-family: sans-serif;
    color: #0055A5;
    font-weight: 600;
}

.text-hv {
    font-family: sans-serif;
    color: #333333;
    font-weight: 700;
}
.bg-secondary-color {
    background-color: #003366;
}
/*FIN HOJAS DE VIDA*/

.swal2-html-container form {
    text-align: left;
}
.swal2-loader {
    border-color: transparent !important;
    border-top-color: #003366 !important; 
}
.swal2-confirm {
    font-family: sans-serif !important;
    font-size: 14px !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    background-color: #003366 !important;
}

.btn-secondary {
    font-family: sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    font-weight: 500;
    background-color: #003366;
}


.inline-loader {
    margin: 0 auto;
    display: inline-block;
    width: 40px;
    aspect-ratio: 5;
    --_g: no-repeat radial-gradient(circle closest-side, #444 90%, #0000);
    background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
    background-size: calc(100%/3) 100%;
    animation: inline-loader-animation 1s infinite linear;
}

@keyframes inline-loader-animation {
    33% {
        background-size: calc(100%/3) 0%,calc(100%/3) 100%,calc(100%/3) 100%
    }

    50% {
        background-size: calc(100%/3) 100%,calc(100%/3) 0%,calc(100%/3) 100%
    }

    66% {
        background-size: calc(100%/3) 100%,calc(100%/3) 100%,calc(100%/3) 0%
    }
}

/*CONTENEDOR GENERAL PAGINA*/

.titulo {
    font-family: sans-serif;
    font-size: 24px;
    color: #003366;
    font-weight: 700;
}

.sub-titulo {
    font-family: sans-serif;
    font-size: 20px;
    color: #0055A5;
    font-weight: 600;
}

/*Swal*/
.swal-popup {
    font-family: sans-serif !important;
    font-size: 14px !important;
    color: #333333 !important;
}

.swal2-title {
    font-family: sans-serif !important;
    font-size: 16px !important;
    color: #333333 !important;
    padding-right: 30px !important;
    padding-left: 30px !important;
}

.swal2-html-container {
    font-family: sans-serif !important;
    font-size: 14px !important;
    color: #333333 !important;
}


/* Placeholder */
.info-campo {
    font-family: sans-serif;
    font-size: 14px;
    color: #888888;
    font-weight: 400;
}

/* labels y texto general */
.texto-general {
    font-family: sans-serif;
    font-size: 14px;
    color: #333333;
    font-weight: 400;
}

.form-control::placeholder {
    font-family: sans-serif;
    font-size: 14px;
    color: #888888;
    font-weight: 400;
}

.form-control {
    font-family: sans-serif;
    font-size: 14px;
    color: #333333;
    font-weight: 400;
}
.control-label {
    font-family: sans-serif;
    font-size: 14px;
    color: #333333;
    font-weight: 400;
}

.form-group {
    margin-top: 0.5rem;
}

.texto-error {
    font-family: sans-serif;
    font-size: 12px;
    color: #CC0000;
    font-weight: 400;
}

.boton-primario {
    font-family: sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    font-weight: 600;
    background-color: #003366;
}

    .boton-primario:disabled,
    .boton-primario[disabled] {
        background-color: #CCCCCC; 
        color: #666666;
    }


.container-subMenu,
.container-barra {
    padding-right: 1%;
    padding-left: 1%;
    margin-bottom: 10px;
    margin-top: 10px
}

.container-contenido {
    padding-right: 1%;
    padding-left: 1%;
    /* margin-top: 10px;*/
}

.main-area {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 30px;
    margin-top: 5%;
}

html {
    height: -webkit-fill-available;
}

.container-fluid {
    margin-top: 10px
}
/*PIE DE PAGINA*/
.footer {
    position: fixed !important;
    bottom: 0 !important;
    width: 100%;
}

.fa-bars {
    color: #6f6f5f !important;
    width: 40px !important;
    height: 35px !important;
    font-size: 19px !important;
}

.navbar-collapse {
    text-align: center;
}

#menu-js {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.nav-toggler {
    border: none;
    background: transparent;
    font-size: 1.5rem;
}

.dropdown-item {
    color: #6f6f6f !important;
    font-size: smaller !important;
}

.dropdown-item-white {
    color: #ffffff !important;
    font-size: smaller !important;
}

.navbar-nav {
    margin: 0; /* Eliminar el margen predeterminado */
}

.nav-item {
    list-style: none; /* Eliminar las viñetas de la lista */
    margin: 0 12px 0 0;
    padding: 0;
}

.nav-link {
    color: #333333 !important; /* Color del texto de los enlaces */
    font-family: sans-serif, Roboto;
    font-size: 14px; 
    text-decoration: none;
    padding: 5px 10px; /* Espacio interno de los elementos LI */
}

@media screen and (min-width:992px) {

    .nav-toggler {
        display: none;
    }

    .navbar-collapse {
        display: flex;
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
        gap: 20px; /* Espacio entre elementos UL */
    }

    #menu-js {
        height: 74px;
    }
}


.sd-body--empty {
    display: none;
}

/*.container-barra > div > div > div > img{
    width: 60px !important;
}*/

/* Estilos para botones deshabilitados */
.btn-secondary:disabled {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
    cursor: not-allowed !important;
    opacity: 0.65 !important;
}

.btn-secondary:disabled:hover {
    background-color: #6c757d !important;
    border-color: #6c757d !important;
    color: #ffffff !important;
}

/* Estilos para botón habilitado (verde) */
.btn-success {
    font-family: sans-serif;
    font-size: 14px;
    color: #FFFFFF;
    font-weight: 500;
    background-color: #28a745;
    border-color: #28a745;
}

.btn-success:hover {
    background-color: #218838;
    border-color: #1e7e34;
}

.btn-success:focus {
    background-color: #218838;
    border-color: #1e7e34;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
}

/* Estilos para indicar campos obligatorios */
.control-label .text-danger {
    color: #dc3545 !important;
    font-weight: bold;
}

/* Estilos para campos con error de validación */
.form-control.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25) !important;
}

