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

:root {
    --mud-palette-error: #a80521 !important; /* Color de error personalizado */
}

html, body {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5em !important;
    background-color: #F1F1F1 !important;
}

p {
    font-size: 16px;
    font-weight: 300; /* Cambiado a un peso m�s ligero */
    line-height: 1.5em !important;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #0943b5 #e6effd;
}

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+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEz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M3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

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


.app-main {
    /*background-color: #FFFFFF;*/
}

.blue {
    background: #041a60;
}

#sp-barra-azul {
    background-color: #3366CC;
    padding: 8px 0px 8px 0px;
}

    #sp-barra-azul a {
        color: #F0F0F0;
    }

#sp-logo-anla {
    padding: 20px 0px 20px 0px;
    background-color: #FFFFFF;
}

.card-body {
    flex: 1 1 auto;
    padding: 1rem 1rem;
}

#sp-footer {
    background-color: #962d46;
    color: #000000;
}

#contenfooter {
    margin-top: -15em;
    margin-bottom: 5rem;
}

    #contenfooter p {
        font-family: "Montserrat", sans-serif;
        font-size: 1rem;
        line-height: 1.875rem;
    }

img {
    display: block;
    max-width: 100%;
    height: auto;
}

#sp-footer2 {
    background-color: #3366CC;
    /*    padding: 0px 0px 15px 0px;
*/ border-top: 1px solid #e8f0fb;
}

    #sp-footer2 a {
        color: #D8E3FC;
    }

body .card-header {
    height: auto;
    display: block;
    padding: 0.75rem 1.5rem;
    text-align: center;
}

h2 {
    width: 100%;
    font-style: normal;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.5rem;
}

#contenfooter h2 {
    font-weight: 600;
    color: #a80521;
    font-size: 20px;
}

#contenfooter h3 {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.6875rem;
}

#contenfooter h2, #contenfooter h3 {
    font-weight: 600;
    color: #962d46;
}

.card-title-1 {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-size: 18px;
    line-height: 170.4%;
    display: flex;
    align-items: center;
    color: #004884;
}

.title-1 {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-size: 24px;
    line-height: 170.4%;
    display: flex;
    align-items: center;
    color: #004884;
}

.title-3 {
    font-family: Montserrat;
    font-style: normal;
    font-weight: 600;
    font-size: 30px;
    line-height: 170.4%;
    display: flex;
    align-items: center;
    color: #004884;
}

.btn-primary {
    color: #fff;
    background-color: #428bca;
    border-color: #357ebd;
    border-radius: 20px;
}

.btn-danger {
    color: #a80521;
    background-color: #fff;
    border-color: #a80521;
    border-radius: 20px;
    padding: 8px 30px;
}

.btn-danger-continuar {
    color: #fff;
    background-color: #a80521;
    min-width: 253px;
    padding: 10px 80px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 25px;
    background: #982D47;
    box-shadow: 0px 2px 4px 0px rgba(255, 255, 255, 0.25);
    font-size: 20px;
}


.btn-danger-volver {
    min-width: 253px;
    padding: 10px 80px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 25px;
    background: #878787;
    box-shadow: 0px 2px 4px 0px rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 20px;
}

.bg-white {
    /* border-bottom: 3px solid #a80521;*/
}

.text-red {
    color: #a80521;
}

.linkSIC {
    text-decoration: underline;
    color: #3366CC;
    font-size: 16px;
}

.linkSIC1 {
    color: #3366CC;
}

footer .gov-co-politicas {
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-flow: row wrap;
    -webkit-box-pack: justify;
    justify-content: flex-start;
    align-content: stretch;
    height: 50px;
    padding: 5px;
    width: 100%;
    gap: 25px;
    flex-direction: row;
    flex-wrap: wrap;
}

footer .gov-co-link-presentacion {
    font-family: "Nunito Sans", sans-serif;
    text-decoration: underline;
    text-transform: uppercase;
    font-size: 12px;
    margin-right: 1.7em;
}

.field--name-body a {
    color: #3366CC;
}

.titulo {
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 600;
    line-height: 40px; /* 125% */
    color: #962d46;
}

.form-label-custom {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
    color: #6A1D30;
    margin-bottom: 3px;
}

.custom-hr {
    background: #982D47 !important;
    height: 1px !important;
    border-color: #982D47 !important;
    border-width: 15px;
    margin-top: 30px;
    opacity: 1;
}

.Textos_contenidos {
    color: #4B4B4B;
    text-align: justify !important;
    font-size: 16px !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: 22px !important; /* 137.5% */
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    width: 100%;
    padding-right: 0 !important;
    padding-left: 0 !important;
    margin-right: auto;
    margin-left: auto;
}

.background-highlight {
    background-color: #F1F1F1; /* Gris claro */
    padding: 20px; /* Espacio alrededor de la tarjeta */
    box-shadow: 0px 2px 4px 0px rgba(255, 255, 255, 0.25);
}

.background-hijo {
    margin-top: 60px; /* M�rgenes superior */
    margin-bottom: 60px; /* M�rgenes inferior */
}

.mud-main-content {
    padding-top: var(--header-height) !important;
}

.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.navbar-logo {
    width: 200px;
    height: auto;
    margin-right: 40px;
    padding: 0;
}

.title-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 767.98px) {
    .title-container {
        position: static;
        transform: none;
        text-align: center;
    }

    .navbar-logo {
        margin-right: 0;
        margin-bottom: 10px; /* Optional: space between logo and title on small screens */
    }

    .navbar .container {
        flex-direction: column;
        align-items: center;
    }
}

.form-control {
    font-size: 0.9rem !important;
}


#sp-footer3 {
    background-color: #FFF;
    border-top: 1px solid #e8f0fb;
}

    #sp-footer3 p {
        color: #36C;
        text-align: center;
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        margin-top: 15px;
    }

.btn-spacing {
    margin: 0 20px; /* Ajusta el valor seg�n sea necesario */
}

.form-check {
    padding-left: 0.5em !important;
}

.form-switch {
    padding-left: 0.5em !important;
}

/*nuevos*/
.validation-message {
    font-size: 14px !important;
}

.elementPasoPaso {
    font-size: 16px;
}

.linkSICfooter {
    text-decoration: underline;
    color: #3366CC;
    font-size: 13.6px;
}


/* Estilos personalizados para la alerta */
.alert-custom {
    border-radius: 10px;
    display: flex;
    align-items: center;
    padding: 1rem;
    flex-wrap: wrap;
}

    .alert-custom img {
        max-width: 100%;
        height: auto;
    }

    .alert-custom .message-content {
        flex: 1;
        margin-left: 1rem;
    }

        .alert-custom .message-content p {
            margin-bottom: 0.5rem;
        }

    .alert-custom button {
        margin-top: 1rem;
    }

@media (max-width: 576px) {
    .alert-custom {
        flex-direction: column;
        text-align: center;
    }

        .alert-custom .message-content {
            margin-left: 0;
        }

        .alert-custom button {
            margin-top: 1rem;
        }
}

/* Estilo personalizado para el navbar */
.navbar {
    padding: 0.5rem 1rem;
}

.navbar-logo {
    max-width: 100%;
    height: auto;
}

.title-container {
    flex-grow: 1;
    text-align: center;
}

.titulo {
    margin: 0;
}

/* Media Queries */
@media (max-width: 1500px) {
    .titulo {
        font-size: 1.5rem; /* Ajusta el tama�o del texto en pantallas de hasta 1200px de ancho */
    }

    .navbar-logo {
        width: 60%; /* Ajusta el tama�o del logo en pantallas de hasta 1200px de ancho */
    }
}

/* Media Queries */
@media (max-width: 1200px) {
    .titulo {
        font-size: 1.3rem; /* Ajusta el tama�o del texto en pantallas de hasta 1200px de ancho */
    }

    .navbar-logo {
        width: 60%; /* Ajusta el tama�o del logo en pantallas de hasta 1200px de ancho */
    }
}

@media (max-width: 992px) {
    .titulo {
        font-size: 1rem; /* Ajusta el tama�o del texto en pantallas de hasta 992px de ancho */
    }

    .navbar-logo {
        width: 30%; /* Ajusta el tama�o del logo en pantallas de hasta 992px de ancho */
    }
}

@media (max-width: 768px) {
    .titulo {
        font-size: 1rem; /* Ajusta el tama�o del texto en pantallas de hasta 768px de ancho */
    }

    .navbar-logo {
        width: 130px; /* Ajusta el tama�o del logo en pantallas de hasta 768px de ancho */
    }
}

@media (max-width: 576px) {
    .navbar-logo {
        width: 70%; /* Ajusta el tama�o del logo en pantallas de hasta 576px de ancho */
    }

    .titulo {
        font-size: 1.5rem; /* Ajusta el tama�o del texto en pantallas de hasta 576px de ancho */
    }
}

@media (max-width: 400px) {
    .titulo {
        font-size: 1rem; /* Ajusta el tama�o del texto en pantallas de hasta 400px de ancho */
    }

    .navbar-logo {
        width: 70%; /* Ajusta el tama�o del logo en pantallas de hasta 400px de ancho */
    }
}

.mud-input > input.mud-input-root, div.mud-input-slot.mud-input-root {
    font: inherit !important;
    color: currentColor !important;
    width: 100% !important;
    border: 0;
    height: 1.1876em;
    margin: 0;
    display: block;
    padding: 6px 0 7px;
    min-width: 0;
    /* background: none; */
    position: relative;
    box-sizing: inherit !important;
    letter-spacing: inherit;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.custom-header {
    background-color: #f0f0f0; /* Example background color */
    color: #007bff; /* Example text color */
    font-weight: bold; /* Example font weight */
    text-align: center; /* Example text alignment */
}

.name-column {
    max-width: 500px; /* Ajusta el ancho m�ximo de la columna */
    overflow: hidden; /* Oculta el desbordamiento */
    word-wrap: break-word; /* Ajusta el texto y lo divide en m�ltiples l�neas si es necesario */
    white-space: normal; /* Permite que el texto haga saltos de l�nea */
}


/* Ajustar la altura total del select */
.mud-input.mud-input-outlined {
    min-height: 40px !important; /* Un poco m�s alto para alinearse con inputs normales */
    display: flex;
    align-items: center;
}

/* Ajustar el padding interno del select */
.mud-input > input.mud-input-root-outlined,
div.mud-input-slot.mud-input-root-outlined {
    padding: 8px 12px !important; /* Ajuste del padding */
    min-height: 40px !important;
    line-height: 20px !important; /* Asegurar que el texto no se suba */
    display: flex;
    align-items: center;
}

/* Ajustar el contenido seleccionado dentro del select */
.mud-select .mud-input {
    display: flex;
    align-items: center;
    min-height: 40px !important;
    width: 100% !important;
    max-width: 100% !important;
}

.mud-select .mud-input-control {
    padding: 8px 12px !important; /* Asegura que el texto no quede pegado arriba */
    display: flex;
    align-items: center;
    width: 100% !important;
    max-width: 100% !important;
}

