﻿/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600&display=swap');
@import 'components/loading.css';
/*
    ---------
*/

:root {
    --color-oxford-blue: #0D1f44;
    --color-celtic-blue: #2C72C7;
    --color-alice-blue: #ECF4FD;
    /*--color-onyx: #424242;               se elimina este color porque afecta el color de los combos opcion seleccionada*/
    --color-pink-red: #BA141A;
    --color-gray: #828282;
    --color-white-smoke: #FAFAFA;
    --color-texto-primario: var(--color-onyx);
    --color-texto-secundario: white;
    --font-size-bc-1: 1.125rem;
    --font-size-bc-2: 1rem;
    --font-size-title-1: 1.125rem;
    --font-size-title-2: 1rem;
    --font-size-headline-1: 2rem;
    --font-size-headline-2: 1.75rem;
    --font-size-headline-3: 1.5rem;
    --size-height-footer: 10.75rem;
}

html {
    font-size: 16px;
    
}

.radiostyle, button, label, .enlacesFooter a, .menuPrinc a {
    user-select: none;
}

body, h1, h2, h3, h4, h5, h6, p, ol, ul, span, a, div {
    /* font-family: 'Montserrat';*/
    font-family: "Helvetica", "Arial", sans-serif;
    color: var(--color-onyx);    
}

p {
    font-size: 1.125rem;
}

/*a {
    text-decoration: none;
}
*/
a:visited {
    color: var(--color-onyx);
}

.h1Titulo {
    font-size: 2.2rem;
    font-weight: 600;
}

h1 {
    font-size: 1.75rem;
    font-weight: 600;
}

h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

h3 {
    font-size: 1rem;
    font-weight: bold;
}

.legendFont {
    font-size: 1rem;
    width: auto;
    margin: 0;
   /* padding-top: 5px;*/
}

.legendFont2 {
    font-size: 1rem;
    width: auto;
    margin: 0;
    padding-top: 5px;
    padding-bottom: 10px;
}

.field_set {
    /*border-style: solid;
    border-width: 1px;
    border-color: #efecec;
    border-radius: 5px;*/
    padding: 5px 0px;
}
/*********************** Estilo para el boton flotante ir arriba *************************/

.divfloat {
    position: fixed !important;
    bottom: 260px;
    right: 15px;
    display: none;
    z-index: 4;
}

    .divfloat a {
        padding: 7px 0px 0px 0px;
    }

.btncircle {
    width: 40px !important;
    height: 40px !important;
    padding: 0px;
    border-radius: 15px;
    font-size: 18px;
    text-align: center;
}
/*********************** Estilo para el boton flotante ir abajo *************************/

.divfloat2 {
    position: fixed !important;
    top: 200px;
    right: 15px;    
    z-index: 5;
}

    .divfloat2 a {
        padding: 7px 0px 0px 0px;
    }
/* *************************** Para breadcrumb *********************************** */
ul.breadcrumb {
    padding: 20px 16px;
    list-style: none;
    /*background-color: #eee;*/
}

    ul.breadcrumb li {
        display: inline;
        font-size: 0.875rem;
    }

        ul.breadcrumb li + li:before {
            padding: 8px;
            color: black;
            content: "/\00a0";
        }

        ul.breadcrumb li a {
            color: #0275d8;
            text-decoration: none;
        }

            ul.breadcrumb li a:hover {
                color: #01447e;
                text-decoration: underline;
            }
/* ************************************** Para elementos ocultos que solo puede leer el lector de pantalla ********************************************* */
.solo-lector {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
/*
   *************************************************** Clases de uso general ******************************************
*/

/* Sobreescritura */
.btn.btn-primary {
    background-color: var(--color-alice-blue);
    border-color: var(--color-alice-blue);
}

.border-0 > button.dropdown-toggle {
    border: 0 !important;
}

.text-danger > span {
    color: var(--bs-danger) !important;
}

.tooltip-inner,
.tooltip-arrow {
    --bs-tooltip-bg: #424242;
    --bs-tooltip-max-width: 27rem;
}

/* Proporciones */

.underline-offset {
    text-underline-offset: 5px;
}

/* Fonts */
.menuPrinc a {                        /*Se agrega estilo al menu principal*/
    font-size: 1.1rem !important;
    font-weight: bold !important;
}

.font-enlaceBusq a {                  /*Se agrega estilo a enlace busqueda avanzada en la pagina principal*/
    font-size: 1.4rem !important;
    font-weight: bold;
}
.font-bc-1 {
    font-size: 1.125rem !important;
}

.font-bc-2 {
    font-size: 1rem !important;
}

.font-title-1 {
    font-size: 1.125rem !important;
    font-weight: 600;
}

.font-title-2 {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
}

.font-headline-1 {
    font-size: 2rem !important;
    font-weight: 600;
}

.font-headline-2 {
    font-size: 1.75rem !important;
    font-weight: bold;
}

.font-headline-3 {
    font-size: 1.5rem !important;
    font-weight: bold;
}

.font-color-primario {
    color: var(--color-texto-primario) !important;
}

.font-color-secundario {
    color: var(--color-texto-secundario) !important;
}

.font-color-celtic {
    color: var(--color-celtic-blue) !important;
}

.font-color-oxford {
    color: var(--color-oxford-blue) !important;
}

.font-color-pink {
    color: var(--color-pink-red) !important;
}

/* Fondos */

.bg-oxford-blue {
    background-color: var(--color-oxford-blue) !important;
}

.bg-celtic-blue {
    background-color: var(--color-celtic-blue) !important;
}

.bg-alice-blue {
    background-color: var(--color-alice-blue) !important;
}

.bg-onyx {
    background-color: var(--color-onyx) !important;
}

.classic-link-style {
    text-decoration: underline;
    color: var(--color-celtic-blue) !important;
}

/*
    Utilidades
*/

.sitewide-padding {
    padding-left: 9rem;
    padding-right: 9rem;
}

.btn-iralfinal {
    position: absolute;
    right: 0;
    top: 0;
}

/*
    Estilos del Layout
*/

#body {
    position: relative;
    min-height: 100vh;
    /*min-height: 100dvh;*/
    /*display: grid;*/ /* se agrega para controlar el tamaño del height del main y del footer*/
    /*grid-template-rows: auto 1fr auto;*/
}

#main {
    width: 100%;
    min-height: 73vh;
}

#footer {
    width: 100%;
    padding: 1rem;
    background: var(--color-oxford-blue);
    height: auto;
}

    #footer ul,
    #header ul,
    #headersm ul {
        list-style: none;
        flex-direction: column;
        padding: 0;
        margin: 0;
    }

        #footer ul:not(.dditem-menu-list),
        #header ul:not(.dditem-menu-list),
        #headersm ul:not(.dditem-menu-list) {
            display: flex;
        }

    #footer * {
        color: var(--color-texto-secundario);
    }

.footer-links {
    display: flex;
    gap: 4rem;
}

#footer .center-enlaces {
    justify-content: center;
}

#footer .enlacesFooter {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* justify-content: space-between;*/
    /* align-items: center;*/
}

    #footer .enlacesFooter li {
        padding: 0 1rem;
        position: relative;
        display: flex;
        align-items: flex-start;
        height: 100%;
        cursor: pointer;
    }

    #footer .enlacesFooter a {
        text-align: center;
    }

#header,
#headersm {
    min-height: min-content;
}


    #header .accesibility-section,
    #headersm .accesibility-section {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        background-color: var(--color-oxford-blue);
        height: 2.5rem;
    }

.dditem {
    position: relative;
}

#header .accesibility-section .accesibility-menu,
#headersm .accesibility-section .accesibility-menu {
    display: flex;
    position: relative;
    overflow-x: visible;
    align-items: center;
    color: var(--color-texto-secundario);
    padding: 0.5rem 0;
    cursor: pointer;
}

    #header .accesibility-section .accesibility-menu a,
    #headersm .accesibility-section .accesibility-menu a {
        text-decoration: none;
        font-weight: 500;
    }

    #header .accesibility-section .accesibility-menu .main-element,
    #headersm .accesibility-section .accesibility-menu .main-element {
        color: var(--color-texto-secundario);
    }

    #header .accesibility-section .accesibility-menu .accesibility-menu-list,
    #headersm .accesibility-section .accesibility-menu .accesibility-menu-list,
    #header .menu-section .right-menu-root .right-menu-list,
    .dditem .dditem-menu-list {
        position: absolute;
        top: 100%;
        right: -1rem;
        min-width: 100%;
        width: 15.5rem;
        background: var(--color-texto-secundario);
        border-radius: 0.5rem;
        box-shadow: 0px 30px 45px 0px #16161626;
        display: none;
        z-index: 1;
    }

.dditem .dditem-menu-list {
    right: unset;
    left: -1rem;
}

#header .accesibility-section .accesibility-menu .accesibility-menu-list,
#headersm .accesibility-section .accesibility-menu .accesibility-menu-list,
#header .menu-section .right-menu-root .right-menu-list a {
    color: var(--color-oxford-blue);
    font-weight: 500;
}

#header .menu-section .right-menu a {
    text-decoration: none;
    font-weight: 500;
}

#header .accesibility-section .accesibility-menu.dropdown-element-expanded .accesibility-menu-list,
#headersm .accesibility-section .accesibility-menu.dropdown-element-expanded .accesibility-menu-list,
#header .menu-section .right-menu-root.dropdown-element-expanded .right-menu-list,
.dditem.dropdown-element-expanded .dditem-menu-list {
    display: flex;
}

#header .accesibility-section .accesibility-menu .accesibility-menu-list li,
#headersm .accesibility-section .accesibility-menu .accesibility-menu-list li,
#header .menu-section .right-menu-root .right-menu-list li,
.dditem .dditem-menu-list li {
    padding: 0.25rem 2rem;
    font-size: var(--font-size-bc-1);
    cursor: pointer;
}

    #header .accesibility-section .accesibility-menu .accesibility-menu-list li:first-child,
    #headersm .accesibility-section .accesibility-menu .accesibility-menu-list li:first-child,
    #header .menu-section .right-menu-root .right-menu-list li:first-child,
    .dditem .dditem-menu-list li:first-child {
        border-radius: 0.5rem 0.5rem 0 0;
    }

    #header .accesibility-section .accesibility-menu .accesibility-menu-list li:last-child,
    #headersm .accesibility-section .accesibility-menu .accesibility-menu-list li:last-child,
    #header .menu-section .right-menu-root .right-menu-list li:last-child,
    .dditem .dditem-menu-list li:last-child {
        border-radius: 0 0 0.5rem 0.5rem;
    }

    #header .accesibility-section .accesibility-menu .accesibility-menu-list li:hover,
    #headersm .accesibility-section .accesibility-menu .accesibility-menu-list li:hover,
    #header .menu-section .right-menu-root .right-menu-list li:hover,
    .dditem .dditem-menu-list li:hover {
        background-color: var(--color-alice-blue);
    }


#header .accesibility-section .accesibility-menu img,
#headersm .accesibility-section .accesibility-menu img {
    width: 1rem;
    height: 1rem;
}

#headersm .dditem-menu-list {
    display: flex;
    width: 80vw;
    top: 145%;
    right: -0.75rem;
    overflow: hidden;
    height: 0;
    box-shadow: none;
    transition-property: height;
    transition-duration: 0.3s;
}

#headersm .dditem.dropdown-element-expanded .dditem-menu-list {
    height: calc(100vh - 6.25rem);
    overflow: auto;
}

#headersm .dditem-menu-list li {
    line-height: 3rem;
    text-align: center;
}

#header .menu-section {
    --size-height-menu-section: 5.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--size-height-menu-section);
}

    #header .menu-section .center-menu,
    #header .menu-section .right-menu {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: var(--size-height-menu-section);
    }

        #header .menu-section .center-menu > li {
            padding: 0 1.5rem;
            position: relative;
            display: flex;
            align-items: center;
            height: 100%;
            cursor: pointer;
        }

        #header .menu-section .right-menu li {
            position: relative;
            display: flex;
            align-items: center;
            height: 100%;
            padding: 2rem 0;
            cursor: pointer;
        }

        #header .menu-section .center-menu li::after {
            content: "";
            position: absolute;
            left: 0;
            top: calc(100% - 0.375rem);
            height: 0.375rem;
            width: 0%;
            background-color: var(--color-celtic-blue);
            transition-property: width;
            transition-duration: 0.3s;
        }

        #header .menu-section .center-menu li,
        #header .menu-section .center-menu li a {
            color: var(--color-oxford-blue);
        }

            #header .menu-section .center-menu li.selected,
            #header .menu-section .center-menu li.selected a {
                color: var(--color-celtic-blue);
                font-weight: 600;
            }



#tiposBusqueda a {
    font-size: var(--font-size-bc-1);
    color: var(--color-oxford-blue) !important;
    font-weight: 400 !important;
}

#header .menu-section .center-menu li.selected::after {
    width: 100%;
}

.logo-icn {
    height: 3.75rem;
    width: 6.625rem;
}

.x-mark-icn {
    width: 2.5rem;
    height: 2.5rem;
}


#movilHeader .movil-menu-section .dropMenu li.selected,
#movilHeader .dropMenu li.selected {
    font-weight: 600;
    border-bottom-width: 0.375rem;
    border-bottom-style: solid;
    border-bottom-color: var(--color-celtic-blue);
    width: fit-content;
    padding-right: 20px;
}

    #movilHeader .movil-menu-section .dropMenu li.selected,
    #movilHeader .dropMenu li.selected a {
        color: var(--color-celtic-blue) !important;
    }

#movilHeader .movil-menu-section .dropMenu li.selected,
#movilHeader .dropMenu li a {
    color: var(--color-oxford-blue) !important;
}

    #movilHeader .movil-menu-section .dropMenu li.selected::after {
        width: 100%;
    }

.boton-secciones.seleccionado {
    font-weight: 600;
    border-bottom-width: 0.25rem;
    border-bottom-style: solid;
    border-bottom-color: var(--color-celtic-blue) !important;
    color: var(--color-celtic-blue) !important;
    width: fit-content;
    padding-right: 20px;
    border-radius: 0 !important;
    padding-bottom: 0.25rem !important;
}

.center-menu li a {
    width: 100%;
    height: 100%;
    display: flex;
    /*justify-content: center;*/
    align-items: center;
    text-decoration: none;
    font-weight: 500;
}

@media (max-width: 468px) {
    #footer .center-enlaces {
        justify-content: flex-start;
    }

    #footer .enlacesFooter {
        align-items: flex-start;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    :root {
        --size-height-footer: 23rem;
    }

    .sitewide-padding {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    #header {
        display: none;
    }

    #footer {
        height: fit-content;
        max-height: fit-content;
    }

        #footer .enlacesFooter {
            flex-direction: column;
        }

            #footer .enlacesFooter a {
                text-decoration: none;
            }
    /*
     breadcrumb
    */
    ul.breadcrumb li {
        font-size: 0.75rem;
    }
}

html {
    position: relative;
    min-height: 100%;
}

/*
    Botones
*/


.boton-primario {
    background-color: var(--color-celtic-blue) !important;
    color: var(--color-texto-secundario) !important;
    /* height: 3.125rem;*/
}

    .boton-primario:focus {
        outline: 3px solid #85b8f9 !important;
    }

.boton-outline-primario {
    border: 2px solid var(--color-celtic-blue);
    color: var(--color-celtic-blue);
    height: 3.125rem;
}

    .boton-outline-primario:hover {
        background-color: var(--color-celtic-blue);
        color: var(--color-texto-secundario);
    }

    .boton-outline-primario:focus {
        border: 2px solid var(--color-celtic-blue) !important;
        background-color: var(--color-texto-secundario) !important;
        color: var(--color-celtic-blue) !important;
    }

/*
    Checkbox
*/

.form-check-pgr {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0;
    border: 1px solid black;
}

/*
    Form Radio buttons
*/
.radio-round {
    text-align: center;
    appearance: none;
    height: 24px;
    width: 24px;
    padding: 10px;
    margin-right: 5px;
    border: 2px solid #0D1F44;
    border-radius: 50%;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
}

    .radio-round:checked {
        background: radial-gradient(circle at center, #0D1F44 50%, transparent 50%);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 25px 20px;
    }

.radio-round2 {
    text-align: center;
    appearance: none;
    height: 14px;
    width: 14px;
    padding: 8px;
    margin-right: 5px;
    border: 1px solid #0D1F44;
    border-radius: 50%;
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: center;
}

    .radio-round2:checked {
        background: radial-gradient(circle at center, #0D1F44 50%, transparent 50%);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 22px 16px;
    }


/*
    Form checkboxes
*/


.customCheckbox {
    border: 3px solid var(--color-oxford-blue) !important;
    height: 1.5rem;
    width: 1.5rem;
}

/*
    Tooltips
*/

.boton-icono {
    border: none;
    padding: 0;
    display: inline-block;
    margin-left: 0.313rem;
    min-width: 1.5rem;
    min-height: 1.5rem;
}

.info-icon {
    display: block;
    margin: 0 auto;
    width: 100%;
    height: 100%;
}



/*
    Responsive helpers
*/

@media (max-width: 993px) {
    .vistaweb {
        display: none !important;
    }
/* ********************************* Para botones flotantes ir abajo ir arriba ********************************************** */
    .divfloat {
        bottom: 260px;
        right: 1px;
        display: none;
    }

        .divfloat a {
            padding: 4px 0px 0px 0px;
        }

    .btncircle {
        width: 30px !important;
        height: 30px !important;
        font-size: 16px;
    }
    .divfloat2 {       
        right: 1px;       
    }

        .divfloat2 a {
            padding: 4px 0px 0px 0px;
        }

    #footer .enlacesFooter li {
        padding: 0 0.8rem;
    }
}

@media (min-width: 993px) {
    .vistamovil {
        display: none !important;
    }
}


@media (max-width: 993px) {
    #body {
        /* padding-bottom: 13rem;*/
    }
}


@media (min-width: 993px) {
    #body {
        /* padding-bottom: 8rem;   */
    }
}


@media (max-width: 1200px) {

    #header .header-padding,
    #headersm .header-padding {
        /*padding: 0 2rem 0 6rem;*/
        padding: 0 1rem 0 1rem;
    }

    #header .menu-section .center-menu > li {
        padding: 0 1rem;
    }
}


@media (min-width: 1200px) {
    #header .header-padding,
    #headersm .header-padding {
        /*padding: 0 1rem 0 1rem;*/
        padding: 0 2rem 0 2.625rem;
    }

    #header .menu-section .center-menu > li {
        padding: 0 1rem;
    }
}


/*
    Header responsivo
*/
.header-border {
    border-bottom: 2px solid var( --color-celtic-blue);
}

.dropdown-header-border {
    border-top: 2px solid var( --color-celtic-blue);
}

.rotate {
    transform: rotate(-90deg);
}

.dropMenu li {
    margin-top: 1.25rem;
}
/*
    Botones flecha
*/
.boton-flecha {
    font-size: 24px;
    color: var(--color-oxford-blue);
}

    .boton-flecha.abajo {
        transform: rotate(180deg);
    }

@media (max-width: 992px) {
    #movilHeader .navbar {
        --bs-gutter-x: 0;
    }

    #movilHeader #navbarNav {
        left: 0;
        right: 0;
        width: auto;
        margin-left: 0 !important;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    #movilHeader .dropdown-menu,
    #movilHeader .busquedasLista {
        max-width: 100%;
    }
}



/*
    Formularios
*/

.formularioBorde {
    border-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}


/*
    Cards escritorio de busqueda sencilla y avanzada
*/

/* Card base y fondo */
.busq-card {
    position: relative;
    background: #f5f6fa;
    overflow: hidden;
}

    /* Acento lateral izquierdo (alternativa al borde superior) */
    .busq-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 6px;
        height: 100%;
        background: linear-gradient(180deg, var(--color-celtic-blue, #0d6efd), #084c9e);
        transform: scaleY(.25);
        transform-origin: top;
        transition: transform .3s ease;
    }

    .busq-card:hover::before,
    .busq-card:focus-within::before {
        transform: scaleY(1);
    }

    /* Brillo diagonal desplazándose en hover */
    .busq-card::after {
        content: "";
        position: absolute;
        top: 0;
        left: -40%;
        width: 45%;
        height: 100%;
        background: linear-gradient(110deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.65) 45%, rgba(255,255,255,0) 85%);
        opacity: 0;
        transform: skewX(-25deg) translateX(0);
        transition: opacity .35s ease, transform .9s cubic-bezier(.25,.8,.25,1);
        pointer-events: none;
    }

    .busq-card:hover::after {
        opacity: 1;
        transform: skewX(-25deg) translateX(250%);
    }

    /* Hover/activo de botones dentro de los cards: celeste más claro */
    .busq-card .btn.boton-primario.bg-celtic-blue:hover,
    .busq-card .btn.boton-primario.bg-celtic-blue:focus,
    .busq-card .btn.boton-primario.bg-celtic-blue:active {
        background-color: #3b8cff; /* celeste más claro */
        border-color: #3b8cff;
        color: var(--bs-white, #fff);
        box-shadow: 0 0 0 .2rem rgba(59, 140, 255, .25);
    }