body {
    font-family: var(--font-family-ligth);
    font-size: var(--font-size-default);
    line-height: 1em;
    color: var(--font-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-style: normal;
}

.gv_leyenda {
    font-size: 10px !important;
    line-height: 10px !important;
    color: var(--font-color) !important;
}

.modal-backdrop {
    z-index: 9999999;
}

.modal {
    z-index: 10000000;
}

header {
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    z-index: 999999;
}

html.loaded header {
    top: -0px;
    opacity: 1;
}


header .wrap_btn_menu,
header .wrap_btn_tools,
header .wrap_lang {
    position: absolute;
    top: 0;
    left: 5px;
    width: 50px;
    height: 50px;
    color: white;
}

header .wrap_btn_tools {
    top: 40px;
}

header .wrap_lang {
    left: auto;
    right: 5px;
}


header .wrap_btn_menu>a,
header .wrap_btn_tools>a,
header .wrap_btn_tools .wrap_btn_tools_icons a,
header .wrap_lang>a {
    color: white;
    width: 50px;
    height: 50px;
    line-height: 50px;
    display: block;
    text-align: center;
    font-size: 30px;
    text-decoration: none;
}

header .wrap_lang>a {
    font-size: 20px;
}

header .wrap_btn_menu>a i.la-times,
header .wrap_btn_tools>a i.la-times {
    display: none;
}

html.menu_open header .wrap_btn_menu>a i.la-bars,
html.tools_open header .wrap_btn_tools>a i.la-cog {
    display: none;
}

html.menu_open header .wrap_btn_menu>a i.la-times,
html.tools_open header .wrap_btn_tools>a i.la-times {
    display: inline-block;
}

html[lang='es'] header .wrap_lang>a.btn_lang_es,
html[lang='en'] header .wrap_lang>a.btn_lang_en {
    display: none;
}

header .wrap_btn_tools .wrap_btn_tools_icons {
    position: absolute;
    top: 0;
    left: -250px;
    height: 50px;
    width: 100px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background-color: var(--secondary-color);
}

html.tools_open header .wrap_btn_tools .wrap_btn_tools_icons {
    left: 50px;
}

header .wrap_menu {
    position: absolute;
    top: 100%;
    top: 45px;
    background-color: var(--secondary-color);
    max-height: 0;
    overflow: hidden;
    height: calc(100vh - 50px);
    padding: 0 20px;
    max-width: 450px;
    width: 100%;
}

html.menu_open header .wrap_menu {
    max-height: calc(100vh - 50px);
    padding: 20px;
}

header .wrap_menu .wrap_menu_top {
    padding: 20px 0;
    font-family: var(--font-family-bold);
    color: white;
    font-size: 18px;
    line-height: 25px;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
}

header .wrap_menu .wrap_menu_top::-webkit-scrollbar {
    width: 4px;
}

header .wrap_menu .wrap_menu_top::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

header .wrap_menu .wrap_menu_top::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

header .wrap_menu .wrap_menu_top::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

header .wrap_menu .wrap_menu_top {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

header .wrap_menu .wrap_menu_top ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header .wrap_menu .wrap_menu_top a {
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    font-size: 18px;
    line-height: 25px;
    padding: 10px 0;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header .wrap_menu .wrap_menu_top li.with_sub_menu>a:after {
    content: '\f107';
    font-family: 'Line Awesome Free';
    font-weight: 900;
    margin-left: 10px;
    transition: transform 0.3s ease;
}

header .wrap_menu .wrap_menu_top li.open>a:after {
    transform: rotate(180deg);
}

header .wrap_menu .wrap_menu_top ul ul {
    display: none;
    padding-left: 20px;
    background-color: rgba(0, 0, 0, 0.1);
}

header .wrap_menu .wrap_menu_top ul ul a {
    font-size: 16px;
    text-transform: none;
}

header .wrap_menu .wrap_menu_top ul ul ul {
    padding-left: 20px;
    background-color: rgba(0, 0, 0, 0.05);
}

header .wrap_menu .wrap_menu_top ul ul ul a {
    font-size: 14px;
}

header .wrap_menu .wrap_menu_top li.open>ul {
    display: block;
}

header .wrap_menu .wrap_menu_top ul li {
    margin-bottom: 0;
}

header .wrap_menu .wrap_menu_bottom {
    display: none;
}

header .wrap_logo {
    padding: 15px 0;
    text-align: center;
}

header .wrap_logo img {
    height: 60px;
}


.home_wrapper {
    width: 100%;
    height: 100vh;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url(../images/fondo-home.jpg?v=2);
    background-size: cover;
    background-position: center;
    position: relative;
}

.home_wrapper img {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translate(-50%, -50%);
}

.home_links {
    position: absolute;
    bottom: 250px;
    left: 0%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    align-content: center;

}

.loaded .home_links {
    background-color: rgba(0, 0, 0, 0.5);
}

.home_links a {
    color: white;
    text-decoration: none;
    /* padding: 30px 5px; */
    font-family: var(--font-family-bold);
    font-size: var(--font-size-h4);
    line-height: var(--font-lh-h4);
    aspect-ratio: 1;
    width: 150px;
    text-transform: uppercase;
    display: grid;
    text-align: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease 0.2s, background-color 0.3s ease 0s, color 0.3s ease 0s;
}

.home_links_en a {
    font-size: 20px !important;
}

.loaded .home_links a:nth-child(1) {
    opacity: 1;
}

.loaded .home_links a:nth-child(2) {
    opacity: 1;
}

.loaded .home_links a:nth-child(3) {
    opacity: 1;
}

.loaded .home_links a:nth-child(4) {
    opacity: 1;
}

.home_links a:hover {
    color: black;
    background-color: #eeeeee;
}



html.home header {
    background-color: transparent !important;
}

html.home header .wrap_logo {
    display: none !important
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-color: white;
    z-index: 999;
    box-sizing: border-box;
    padding: 10px 20px;
    line-height: 20px;
    font-size: 12px;
    font-family: var(--font-family-regular);
    display: flex;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
}

footer .copy_footer {
    width: 300px;
}

footer .menu_footer {
    width: calc(100% - 300px);
    text-align: right;
}

footer .menu_footer ul {
    padding: 0;
}

footer .menu_footer li {
    display: inline-block;
    margin-left: 15px;
}

/* gv_number_big */
.gv_number_big {
    text-align: center;
    font-family: var(--font-family-black);
}

.gv_number_big .gv_number_big_number_type {
    white-space: nowrap;
    color: var(--primary-color);
}

.gv_number_big .gv_number_big_number_type .gv_number_big_number {
    font-size: 80px;
    line-height: 70px;
}

.gv_number_big .gv_number_big_number_type .gv_number_big_type {
    font-size: 25px;
    line-height: 70px;
}

.gv_number_big .gv_number_big_number_text {
    color: black;
    font-size: 18px;
    line-height: 22px;
}

#main {
    position: relative;
}

#main #content_main {
    position: relative;
    z-index: 10;
}

.breadcrumb_vi {
    position: fixed;
    top: 89px;
    left: 0;
    width: 100%;
    height: 45px;
    background-color: white;
    z-index: 999;
    box-sizing: border-box;
    padding: 10px 20px;
    line-height: 20px;
    font-size: 14px;
    font-family: var(--font-family-regular);
    display: flex;
}

.breadcrumb_vi>div {
    width: 1200px;
    margin: 0 auto;
}

.breadcrumb_vi ul {
    display: flex;
    gap: 5px;
    padding: 0 !important;
}

.breadcrumb_vi i {
    font-size: 20px;
    color: var(--secondary-color);
}

.contenido_vi {
    padding: 0 20px;
    padding-top: 150px;
    padding-bottom: 60px;

}

.contenido_vi img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.imagen_rounded {
    border-radius: 25px;
    max-width: 100%;
    display: block;
}


.gv_icon_fixed {
    color: white !important;
    background-color: var(--secondary-color);
    display: block;
    height: 40px;
    position: fixed;
    left: 0;
    bottom: 150px;
    width: 40px;
    font-size: 12px;
    line-height: 40px;
    color: white;
    text-align: center;
    text-decoration: none !important;
    border-radius: 0 4px 4px 0;
    z-index: 9998;
    cursor: pointer !important;
    font-size: 20px;
}

.gv_icon_fixed.gv_icon_fixed_1 {
    bottom: calc(150px + (42px * 0));
}

.gv_icon_fixed.gv_icon_fixed_2 {
    bottom: calc(150px + (42px * 1));
}

.gv_icon_fixed.gv_icon_fixed_3 {
    bottom: calc(150px + (42px * 2));
}

.gv_icon_fixed.gv_icon_fixed_4 {
    bottom: calc(150px + (42px * 3));
}

#modal_search .btn_close_search {
    text-decoration: none !important;
}

html[data-slug='centro-de-descargas'] .gv_icon_fixed,
html[data-slug='download-center'] .gv_icon_fixed,
html[data-slug='favoritos'] .gv_icon_fixed,
html[data-slug='favorites'] .gv_icon_fixed {
    display: none !important;
}

.p_descarga {
    border-top: 1px solid rgba(255, 255, 255, 1);
    margin: 0 !important;
    padding: 0 !important;
}

.p_descarga:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 1);
}

.p_descarga a {
    color: white;
    display: block;
    margin: 0 !important;
    padding: 7px 0 !important;
    text-decoration: none !important;
}


.p_descarga.p_descarga_sub {
    padding-left: 30px !important;
}

[data-fav-slug] {
    font-size: 20px;
}

[data-fav-slug].active i {
    color: var(--primary-color);
}

[data-fav-slug].active>i:before {
    font-weight: 900;
}

.menu_favoritos,
.menu_favoritos ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.menu_favoritos li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

.menu_favoritos li a.link {
    color: white;
    display: block;
    margin: 0 !important;
    padding: 7px 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 1);
    font-family: var(--font-family-bold);
    text-decoration: none !important;
}

.menu_favoritos li:last-child a.link {
    border-bottom: 1px solid rgba(255, 255, 255, 1);
}

.menu_favoritos ul li:last-child a.link {
    border-bottom: 0px solid rgba(255, 255, 255, 1);
}

.menu_favoritos li a.favorito {
    color: white;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
    font-size: 24px;
    cursor: pointer;
}

.menu_favoritos>li>div.sub_menu>ul>li>a.link {
    padding-left: 30px !important;
    font-family: var(--font-family-ligth);
}

.menu_favoritos>li>div.sub_menu>ul>li>div.sub_menu>ul>li>a.link {
    padding-left: 60px !important;
    font-family: var(--font-family-ligth);
}

.menu_favoritos>li>div.sub_menu>ul>li>div.sub_menu>ul>li>div.sub_menu>ul>li>a.link {
    padding-left: 90px !important;
    font-family: var(--font-family-ligth);
}

pre code {
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 14px;
    line-height: 20px;
    font-family: monospace;
    display: block;
}


@media screen and (max-width: 767px) {
    .home_wrapper img {
        bottom: 20px;
    }

    .home_links {
        flex-wrap: wrap;
        gap: 10px;
        padding: 0px;
        bottom: 160px;
    }

    .home_links a {
        width: 140px;
        aspect-ratio: 1;
    }
}

@media screen and (max-width: 1023px) {
    .breadcrumb_vi {

        display: none;
    }

    .contenido_vi {
        padding-top: 120px;
    }

    footer {
        position: static;
        display: block;
        text-align: center;
        height: auto;
        padding-bottom: 40px;
    }

    footer .copy_footer {
        width: 100% !important;
        text-align: center;
    }

    footer .menu_footer {
        width: 100% !important;
        text-align: center;
    }

    .gv_icon_fixed.gv_icon_fixed_1 {
        bottom: 0;
        right: 0;
        left: auto;
    }

    .gv_icon_fixed.gv_icon_fixed_2 {
        bottom: 0;
        left: 0;
        right: auto;
    }

    .gv_icon_fixed.gv_icon_fixed_3 {
        bottom: 0;
        left: calc(50% - 40px);
    }

    .gv_icon_fixed.gv_icon_fixed_4 {
        bottom: 0;
        left: calc(50% + 0px);
    }

    .gv_icon_fixed {
        border-radius: 0;
    }

}

/* ESTILOS ACORDEONES CCAA Y NOTAS */
.accordion-modern-status .card {
    border: 0 !important;
    background: transparent !important;
    margin-bottom: 10px !important;
    box-shadow: none !important;
    overflow: visible !important;
}

.accordion-modern-status .card-header {
    background-color: #f7f7f7 !important;
    padding: 0;
    border: 0 !important;
    border-radius: 0 !important;
}

.accordion-modern-status .accordion-toggle {
    display: block;
    padding: 20px 25px;
    color: #000 !important;
    font-weight: 600 !important;
    position: relative;
    text-decoration: none !important;
    transition: background-color 0.3s ease;
}

.accordion-modern-status .accordion-toggle:hover {
    background-color: #eeeeee !important;
}

/* Remove default marker/icons if any from theme */
.accordion-modern-status .card-title a i {
    display: none !important;
}

.accordion-modern-status .accordion-toggle:before {
    display: none !important;
}

/* Custom Plus/Minus Icon */
.accordion-modern-status .accordion-toggle:after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
}

.accordion-modern-status .accordion-toggle:not(.collapsed):after {
    content: '-';
    transform: translateY(-55%);
}

/* Body separation/styling if needed */
.accordion-modern-status .collapse.show .card-body,
.accordion-modern-status .collapsing .card-body {
    padding: 20px;
    background: #fff;
    border: 1px solid #f7f7f7;
    border-top: 0;
}

/* Links a notas en tablas CCAA */
.gv_link_nota {
    color: #fff !important;
    text-decoration: underline !important;
    font-weight: bold;
}