[data-bs-theme="light"] {
    --bs-body-color: #004e65;
    --bs-body-bg: #fafafa;
    --app-breads-bg: #fafafa;
    --app-breads-border: #e0e4e5;
    --app-pie-bg: #f1f1f1;
    --app-interior-color: #004e65;
    --app-aside-bg: #ffffff;
    --app-aside-title-color: #948c74;
    --app-aside-link-color: #004e65;
    --app-aside-border-color: #e0e4e5;
    --app-aside-border-color-top: #948c74;
    --app-hijos-bg: #e4e8ea;
    --app-hijos-bg-hover: #acc4d0;
}

[data-bs-theme="dark"] {
    --bs-body-bg: #181818;
}

body {
    font-family: 'Rubik', sans-serif;
    font-kerning: normal;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 1rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container-fluid {
    max-width: 1920px;
}

h1 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -.4px;
}

@media (max-width: 768px) {
    .carousel-control-prev, .carousel-control-next {
        display: none;
    }
}

ol, ul, dl {
    padding-left: 1.6rem;
}

a {
    text-decoration: none;
}

a:hover, h2 a:hover {
    text-decoration: none;
}

@media (max-width: 768px) {
    .interior {
        padding: 15px 1px;
        margin-top: 1rem;
    }
}

@media (max-width: 768px) {
    .interior p {
        font-size: 1rem !important;
        line-height: 1.5rem !important;
        margin-bottom: 1rem !important;
    }
}

.iconos a {
    text-decoration: none;
}

.iconos a:hover {
    text-decoration: none;
}

.bg-light {
    padding-top: 14px;
    padding-bottom: 14px;
}

@media (max-width: 991px) {
    .bg-light {
        padding-left: 14px;
        padding-right: 14px;
    }
}

.navbar {
    background-color: transparent;
}

.barrasDeNavegacionBarraPrincipal, .englishNavigationBarsMainBar {
    .navbar-nav .nav-link {
        text-align: center;
        margin: 0 6px;
        font-size: 15px;
        font-weight: 600;
    }

    .idioma .nav-link {
        font-size: 12px;
        font-weight: 800;
    }

    li {
        margin-bottom: 0;
    }
}

.navbar-toggler {
    background-color: transparent;
    border: none;
    padding: 0;
}

.navbar-toggler-icon {
    filter: invert(100%) contrast(200%);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-brand {
    padding: 0;

    img {
        height: 45px;
    }
}

.nav-item.idioma .nav-link {
    border-radius: 4px;
    padding: 7px 8px;
}

.nav-item.idioma {
    margin: 3px 0 0 10px;
}

.nav-item.idioma .nav-link:hover {
    color: #FFF !important;
}

@media (max-width: 991px) {
    .navbar-brand img {
        height: 42px;
    }
}

.bg-img {
    width: 100%;
    position: relative;
    display: block;
    margin: 0 0 4rem 0;
    overflow: hidden;
    height: 500px;
    min-height: 280px;
    min-width: 300px;
}

.bg-img img {
    object-fit: cover;
    height: 118vh;
    width: 100%;
}

.overlay, .titulo.relacionado-principal h1 {
    width: 70%;
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    font-weight: 400;
}

@media (max-width: 768px) {
    .bg-img {
        height: 280px !important;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .overlay {
        font-size: 1rem;
        width: 90%;
    }
}

.item img {
    margin-bottom: 1rem;
    min-height: 160px;
}

.item {
    margin: 1.5rem 0;
    font-size: 1.3rem;
}

.redes i {
    font-size: 1rem;
    margin-right: 0.8rem;
}

.titulo.relacionado-principal {
    width: 100vw;
    height: 335px;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
    position: relative;
}

article.nodo header {
    h2 {
        margin: 40px 0 20px;
    }
}

.interior {
    margin: 40px 0 50px;
    flex-direction: row-reverse;
    justify-content: space-between;

    p {
        font-size: 16px;
        line-height: 26px;
        margin-bottom: 16px;
        color: var(--app-interior-color);
    }

    p img {
        margin-bottom: 0.5rem;
    }

}

.articulo {
    margin: 40px 0 50px;
}

@media (max-width: 768px) {
    .titulo.relacionado-principal {
        height: 160px !important;
    }
}

@media (max-width: 768px) {
    .titulo.relacionado-principal-no h2 {
        margin: 1.5rem 0 1rem;
    }
}

header img {
    width: 100%;
}

@media (max-width: 768px) {
    .titulo.relacionado-principal h2 {
        width: 90%;
        margin: 0;
    }

}

.panelesColapsables {
    margin: 3rem auto;
}

@media (max-width: 768px) {
    .panelesColapsables h2, .panelesColapsables h3, .proyectos {
        font-size: 1rem !important;
        line-height: 1.5rem;
    }
}

@media (max-width: 768px) {
    .panelesColapsables {
        margin: 1.5rem auto;
    }
}

.iconos {
    font-size: 1.3rem;
    align-items: baseline;
    display: flex;
}

.iconos img {
    padding-bottom: 1rem;
    width: 150px;
}

.iconos .text-center {
    margin: 3rem 0;
}

@media (max-width: 766px) {
    .iconos .text-center {
        margin: 2rem 0;
    }
}

@media (max-width: 766px) {
    .iconos img{
        width: 100px;
    }
}

@media (max-width: 766px) {
    .iconos {
        font-size: 1.2rem;
    }
}

table p {
    padding: 0;
    margin: 0;
}

.panelesColapsables h3, .panelesColapsables h2 {
    margin-top: 1.6rem;
}

.contacto {
    width: 60%;
    margin: 3rem auto;
}

@media (max-width: 992px) {
    .contacto {
        width: 90%;
    }
}

.g-recaptcha {
    margin-top: 10px;
}

.rc-anchor {
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
}

.proyectos {
    margin: 3rem auto;
}

@media (max-width: 768px) {
    .proyectos {
        margin-top: 1rem;
    }
}

.proyectos .principal {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .proyectos .principal, .proyectos {
        font-size: 0.75rem !important;
    }
}

.proyectos {
    font-size: 1.3rem;
    font-size: 1.3rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #51d798;
}

.proyectos {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 2.5rem;
}

.proyectos h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.proyectos {
    padding: 2rem 2.5rem;
}

.proyectos {
    border-top: 4px solid #52a24c;
    border-bottom: none;
    border-radius: 0;
}

aside {
    padding: 20px 27px 9px;
    max-width: 340px;
    border-top: 2px solid var(--app-aside-border-color-top);
    border-left: 1px solid var(--app-aside-border-color);
    border-right: 1px solid var(--app-aside-border-color);
    border-bottom: 1px solid var(--app-aside-border-color);
    background-color: var(--app-aside-bg);

    ul {
        padding: 0;
        list-style: none;
        font-size: 16px;
    }

    ul ul {
        padding-left: 10px;
        font-size: 14px;
        line-height: 18px;
        margin: 5px 0 15px 10px;
        list-style: disc;
    }

    li {
        padding: 0 0 10px 0;
        margin: 0;
    }

    li a {
        padding: 1px 0;
        display: block;
        background: transparent;
    }

    li span.small {
        font-size: 80%;
        padding-left: 15px;
        margin-top: -5px;
        display: block;
    }

    li li a {
        padding: 4px 10px;
        margin-left: -10px;
        font-weight: normal;
    }

    .active>a {
        font-weight: 600;
    }

    img {
        width: 30%;
    }

    a {
        text-decoration: none;
    }

    h3 {
        font-size: 1.2rem;
        margin: -20px -27px 13px;
        border-bottom: 1px solid var(--app-aside-border-color);
        padding: 15px 20px;
        font-weight: 600;
    }
}

@media (max-width: 991px) {
    aside {
        margin-top: 15px;
    }
}

.articulo .fecha {
    font-size: 1rem !important;
    margin-bottom: 1rem;
}

.articulo header p {
    margin: 2rem auto 1rem;
    font-size: 1rem;
    line-height: 1.7rem;
}

.articulo p {
    line-height: 1.7rem;
}

@media (max-width: 576px) {
    .articulo header p, .articulo .fecha {
        margin: 0.8rem 0;
    }
}

@media (max-width: 576px) {
    .articulo p {
        margin: 0.8rem 0;
        line-height: 1.4rem !important;
    }
}

@media (max-width: 576px) {
    .articulo {
        font-size: 90%
    }
}

/*************   BREADCRUMB  *************/
nav[aria-label="breadcrumb"] {
    margin: 0 auto;
    width: 100%;
    border-bottom: 1px solid #e0e4e5;
    padding: 5px 0;
}

.breadcrumb {
    font-size: 0.9rem;
    overflow: hidden;
    font-weight: 500;
    line-height: 2.5rem;
    width: 100%;
    margin: auto;
    max-width: 1920px;
    padding: 0 15px;

    .breadcrumb-item {
        margin: 0;
    }

    a {
        text-decoration: none;
    }

}

.breadcrumb-item + .breadcrumb-item::before {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
}

@media (max-width: 576px) {
    .breadcrumb {
        font-size: 0.65rem;
        padding-top: 0px;
        padding-bottom: 0px;
    }
}

@media (max-width: 991px) {
    .breadcrumb {
        padding-left: 17px;
    }
}

/*************   CARRUSEL  *************/
.main-content {
    background-color: #004e65;
}

.carousel {
    margin: auto;
    max-width: 100%;
    padding: 12px 0;
}

.fa-chevron-left:before {
    left: -30px;
}

.fa-chevron-right:before {
    right: -30px;
}

.fa-chevron-left:before, .fa-chevron-right:before {
    font-size: 1.5rem;
    width: 60px;
    height: 100%;
    display: flex;
    justify-content: center;
}

.carousel-control-prev, .carousel-control-next {
    opacity: 1;
    height: 84%;
    width: 7%;
}

.carousel-control-prev:hover, .carousel-control-prev:focus, .carousel-control-next:hover, .carousel-control-next:focus {
    opacity: 1;
}

.carousel-caption h3 {
    font-size: 1.1rem;
    line-height: normal;
    margin: auto;
    overflow: hidden;
    height: 70px;
    align-content: center;
}

.carousel-caption h3 a {
    color: #FFF;
}

.carousel-caption h3 a:hover {
    text-decoration: none;
}

.carousel-caption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    padding: 20px;
    text-align: center;
    display: flex;
}

.main-content h4 {
    margin: 3rem 0 0 0;
    border: 1px solid #42456a;
    font-size: 1rem;
    text-align: center;
    padding: 2rem 7rem;
    line-height: 1.5rem;
    display: none;
}

#demo {
    max-width: 1000px;
    margin-bottom: 40px;
}

.sombra {
    background: linear-gradient(0deg, rgba(0, 6, 33, 0.62) 40%, rgba(251,250,245,0) 100%);
    width: 100%;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    z-index: -1;
}

.carousel-inner img {
    border-radius: 4px;
}

.carousel-inner img {
    transition: 0.4s;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 768px) {
    .main-content h4 {
        margin: 2rem 0 0 0;
        border: 1px solid #42456a;
        font-size: 0.9rem;
        text-align: center;
        padding: 1rem;
        line-height: 1.4rem;
    }
}

.carousel-indicators {
    display: none;
}

@media (max-width: 992px) {
    .carousel-caption h3 {
        font-size: 1rem;
        text-align: center;
        line-height: 1.5rem;
        margin: auto;
    }

    .sombra {
        display: none;
    }

    .carousel-caption {
        position: relative;
        padding: 0;
    }

    .carousel-inner img {
        transition: 0.4s;
        height: 100%;
    }

    .carousel-indicators {
        margin-bottom: 0px;
    }
}

@media (max-width: 576px) {
    .carousel-caption h3 {
        font-size: 0.8rem;
        line-height: 1.2rem;
    }

    .carousel {
        padding-top: 1.5rem;
    }

    #demo {
        margin-bottom: 0px;
    }
}

.hijos li h3 {
    font-weight: 400;
    margin: 0 0 0 30px;
    padding: 0;
    line-height: normal;
    font-size: 16px;
}

.hijos li {
    margin-bottom: 25px;
    font-size: 15px;
}

.hijos li li {
    margin-top: 15px;
    margin-bottom: 0;
}

.hijos ul {
    margin-bottom: 20px;
}

.hijos li.articulo {
    padding: 15px;
}

section.listado>ul ul .articulo:hover,
section.listado>ul ul .nodo:hover {
    border: none;
}

section.listado>ul ul .articulo,
section.listado>ul ul .nodo {
    padding: 0 0 0 11px;
    margin: 5px 0;
    border: none;
}

section.listado>ul li p {
    margin: 10px 25px;
}

section.listado>ul ul li p {
    margin: 10px 0;
}

section.listado>ul>li {
    margin-bottom: 16px;
    padding: 13px 20px;
    border-radius: 3px;
}

section.listado .nodo {
    padding: 13px 20px !important;
}

.hijos li.articulo,
section.listado>ul>li {
    border-radius: 4px;
    border: 1px solid #e4e8ea;
}

.hijos li.articulo:hover,
section.listado>ul>li:hover {
    border: 1px solid var(--app-hijos-bg-hover);
    cursor: pointer;
}

section.listado>ul>li::before {
    content: '\F111';
    font-family: 'Font Awesome 5 Free';
    font-weight: 600;
    position: absolute;
    font-size: 7px;
    font-size: 17px;
    margin-left: 0;
    margin-top: -2px;
}

section.listado>ul {
    list-style: none;
    padding: 0;
}

section.listado>ul ul,
section.listado p {
    margin-top: 10px;
    margin-bottom: 0;
}

section.listado>ul>li.articulo:before {
    content: '\F249';
}

section.listado>ul>li.nodo:before {
    content: '\F07B';
}

section.listado>ul>li.documento:before {
    content: '\F56D';
}

section.listado>ul>li.enlace:before {
    content: '\F0C1';
}

section.listado>ul>li.evento:before {
    content: '\F073';
}

section.listado>ul>li.imagen:before {
    content: '\F03E';
}

section.listado>ul>li.audio:before {
    content: '\F001';
}

section.listado>ul>li.video:before {
    content: '\F03D';
}

section.listado>ul>li.tarjeta:before {
    content: '\F2BB';
}

section.listado>ul>li.obra:before {
    content: '\F7D9';
}

.btn-group-sm>.btn, .btn-sm {
    --bs-btn-padding-y: 0.05rem;
    --bs-btn-padding-x: 0.5rem;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);
}

.text-bg-indigo {
    background-color: #6610f2;
}

.btn-outline-indigo {
    --bs-btn-color: #6610f2;
    --bs-btn-border-color: #6610f2;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #6610f2;
    --bs-btn-hover-border-color: #6610f2;
    --bs-btn-focus-shadow-rgb: 25, 135, 84;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #6610f2;
    --bs-btn-active-border-color: #6610f2;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #6610f2;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #6610f2;
    --bs-gradient: none;
}

.text-bg-orange {
    background-color: #fd7e14 !important;
    color: #000 !important;
}

.text-orange {
    color: #fd7e14 !important;
}

.btn-outline-orange {
    --bs-btn-color: #fd7e14;
    --bs-btn-border-color: #fd7e14;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #fd7e14;
    --bs-btn-hover-border-color: #fd7e14;
    --bs-btn-focus-shadow-rgb: 25, 135, 84;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #fd7e14;
    --bs-btn-active-border-color: #fd7e14;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fd7e14;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #fd7e14;
    --bs-gradient: none;
}

.barrasDeNavegacionBarraPrincipal {
    padding-top: 14px;
    padding-bottom: 14px;
    background-color: #004e65;

    .navbar-nav .nav-link {
        color: #FFF;
        text-align: center;
        margin: 0 6px;
        font-size: 15px;
        font-weight: 600;
    }
}
aside {
    h3 a {
        color: var(--app-aside-title-color);
    }
    a {
        text-decoration: none;
        color: var(--app-aside-link-color);
    }
}

.hijos li.articulo, section.listado>ul>li {
    background-color: var(--app-hijos-bg);
    border: 1px solid var(--app-hijos-bg);
    border-radius: 4px;
}

.hijos h3 a {
    color: var(--bs-body-color);
}

nav[aria-label="breadcrumb"] {
    background-color: var(--app-breads-bg);
    margin: 0 auto;
    width: 100%;
    border-bottom: 1px solid var(--app-breads-border);
    padding: 5px 0;
}

.breadcrumb {
    a {
        text-decoration: none;
        color: #506c74;
    }
}

.payload {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    padding: 32px;
    margin-top: 25px;
    border-radius: 6px;
    border: 4px solid #4290d0;
    border-radius: 10px;
}

.fondo-pie {
    padding: 50px 0 47px 0;
    font-weight: 600;
    background-color: var(--app-pie-bg);
}

.main-content .fondo-pie {
    margin-top: 5rem;
}

.container.footer {
    max-width: 1920px;
    font-size: 0.85rem;
}

@media (max-width: 991px) {
    .container.footer {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    .container.footer {
        font-size: 0.8rem;
        text-align: center;
    }
    .footer .titulo {
        margin-top: 40px;
    }
    .redes {
        margin-top: 1rem;
    }
}

.footer {
    .titulo {
        letter-spacing: .04rem;
        margin-bottom: 20px;
        font-weight: 600;

        a {
            font-weight: 600;
        }
    }

    ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    li {
        padding: 0 0 3px 0;
        margin: 0;
    }

    .logo {
        filter: brightness(0) saturate(100%) invert(38%) sepia(20%) saturate(1221%) hue-rotate(151deg) brightness(94%) contrast(90%);
        height: 45px;
    }
}

.footer .redes {
    display: none;
}

.footer, .footer a {
    color: #4e6b76;
    text-decoration: none;
    font-weight: 400;
}

.active>.page-link, .page-link.active {
    background-color: inherit;
    border-color: var(--bs-pagination-border-color);
}

textarea#form_data {
    min-height: 300px;
}

.accordion table.table tr:last-child td {
    border-bottom: 0;
}

.nav-tabs .nav-link {
    color: var(--bs-body-color);
    background-color: var(--app-pie-bg);
}

.nav-tabs .nav-link.active {
    color: #948c74;
    font-weight: bold;
    border-top: #948c74 solid 2px;
}

.form-select, .form-control {
    font-weight: bold;
}

.nodo_89419cfabe766, .nodo_69a5663178ae5 {
    button, a.btn {
        color: #fff;
        background-color: #948c74;
        border: none;
    }
    button:hover, a.btn:hover {
        color: #fff;
        background-color: #948c74;
    }
    button:first-child:active, a.btn:first-child:active {
        color: #fff;
        background-color: #948c74;
    }
    #reportes_publicos_filtrar, #contacto_aceptar {
        background-color: #004e65;
    }
    .text-info {
        color: var(--bs-body-color) !important;
        font-weight: bold;
    }
}

table.table.table-bordered thead tr th {
    background-color: #004e65;
    color: #fff;
}

table.table tbody tr td {
    color: var(--bs-body-color);
}

article > header > h2, article > header > div > h2 {
    font-size: 26px;
    font-weight: 600;
    letter-spacing: -.4px;
    color: #948c74;
    margin-bottom: 30px;
}

.dropdown-hoverable:hover > .dropdown-menu {
  display: block;
}

.dropdown-hoverable > .dropdown-toggle:active {
  pointer-events: none;
}
