@import "./libs/all.min.css";

/***
====================================================================
  Fonts
====================================================================
***/

@font-face {
    font-family: Corra-Montserra-Light;
    src: url(./webfonts/Corra-Montserra-Light.ttf);
    font-display: swap;
}

@font-face {
    font-family: Corra-Montserra-Bold;
    src: url(./webfonts/Corra-Montserra-Bold.ttf);
    font-display: swap;
}

/***
====================================================================
  Reset
====================================================================
***/

/* ********** Custom Properties ********** */
:root {
    --color-1: #5f1b2d;
    --color-2: #ececec;
    --color-3: #b2b2b1;
    --color-4: #070719;
    --color-5: #55555b;
    --color-6: #8e91a2;
    --color-7: #E9BC90;
    --claro: #dfebe9;
    --rojo: #a8123e;
    --menu-text: #a7a7be;
    --color-white: #f8fafc;
    --font: Corra-Montserra-Light;
    --font-title: Corra-Montserra-Bold;
    --font-size: 0.875rem;
    --bg-body: white;
    --bg-header: rgba(231, 226, 218, 0.4);
    --bg-content: #f5f5f6;
    --bg-separator: #ffffff;
    --text-color: #333;
    --menu-active-bg: #212d3a;
    --menu-bg: #263544;
}

html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*::after,
*::before {
    box-sizing: inherit;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--color-4);
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    outline: none;
}

body {
    color: var(--text-color);
    font-family: var(--font);
    font-size: var(--font-size);
    line-height: 20px;
    margin: 0;
    overflow-x: hidden;
    background-color: var(--bg-content);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    margin: 0;
}

figure {
    margin: 0;
}

img,
canvas {
    max-width: 100%;
    height: auto;
}

input,
button,
select,
textarea {
    font-weight: 400;
    font-size: 0.9375rem;
}

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

button:focus,
input:focus,
textarea:focus {
    outline: none;
    box-shadow: none;
}

p {
    position: relative;
    color: #696b7e;
    font-weight: 400;
    margin: 0;
}

.nav-link:focus-visible,
.accordion-button:focus {
    box-shadow: none;
}

#wrapperBody {
    background-color: var(--color-white);
}

#wrapperBody.darkmode {
    --bg-header: rgba(24, 28, 37, 0.4);
    --color-white: #222222;
    --bg-content: #0d0d0d;
    --bg-separator: #000;
    --text-color: white;
    --color-3: #0d0d0d;
    --opacity: 0.1;
}

#wrapperBody.gray-scale {
    filter: grayscale(1);
}

.popup-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9); /* Fondo semi-transparente */
    padding: 20px;
    border-radius: 10px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px); /* Aplica un efecto de desenfoque al fondo */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.popup-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.enterado-btn {
    padding: 10px 20px;
    background-color: black; /* Azul */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.enterado-btn:hover {
    background-color: var(
        --color-5
    ); /* Cambia el color al pasar el ratón sobre el botón */
}

/***
====================================================================
  Componentes
====================================================================
***/

.btn-ir {
    display: block;
    width: 120px;
    margin: 0 auto 3rem;
    background-color: var(--color-1);
    color: white;
}

@media (min-width: 768px) {
    .btn-ir {
        transition: background-color 0.3s ease-out, color 0.3s ease-out;
    }

    .btn-ir:hover {
        background-color: transparent;
        border: 1px solid var(--color-1);
        color: var(--color-1);
    }
}

/* .card-image */
.card-image {
    border: 1px solid #e6e6ea;
    position: relative;
    background-color: var(--color-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    max-width: 450px;
    perspective: 1000px;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-image img {
    transition: scale 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-image:hover {
    transform: scale(1.05);
    z-index: 1;
}

.card-image .card__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--color-1);
    transform: rotateX(-90deg);
    transform-origin: bottom;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card-image:hover .card__content {
    transform: rotateX(0deg);
}

.card-image .card__title {
    margin: 0;
    font-size: 20px;
    color: white;
    font-weight: 700;
}

.card-image:hover img {
    scale: 0;
}

.card-image .card__description p,
.card-image .card__description {
    margin: 10px 0 10px;
    font-size: 12px;
    color: white;
    line-height: 1.4;
    text-align: justify;
}

.card-image .card__description ul {
    color: white;
    font-size: 12px;
    color: white;
    line-height: 1.4;
}

.card-image .card__button {
    display: inline-block;
    width: fit-content;
    padding: 0.375rem 0.75rem;
    border-radius: 5px;
    background: var(--color-3);
    border: none;
    color: white;
    font-size: 0.8rem;
}

/* loader */

.loader-wrap {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    background-color: var(--color-4);
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-wrap.hide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s, visibility 1s;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: transparent;
    border: 3px solid rgba(106, 26, 50, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 150px;
    font-family: sans-serif;
    font-size: 16px;
    color: var(--color-6);
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 0 10px var(--color-6);
    box-shadow: 0 0 20px rgb(106, 27, 50, 0.15);
}

.loader::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid var(--color-6);
    border-right: 3px solid var(--color-6);
    border-radius: 50%;
    animation: animateC 2s linear infinite;
}

.loader span {
    display: block;
    position: absolute;
    top: calc(50% - 2px);
    left: 50%;
    width: 50%;
    height: 4px;
    background: transparent;
    transform-origin: left;
    animation: animate 2s linear infinite;
}

.loader span::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-1);
    top: -8px;
    right: -4px;
    box-shadow: 0 0 20px 5px rgb(106, 27, 50, 0.8);
}

@keyframes animateC {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes animate {
    0% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(405deg);
    }
}

/* funciones accesibilidad */
.btn-accesible {
    left: 30px;
    bottom: 30px;
    z-index: 1200 !important;
}

.btn-accesible.gray-scale {
    background-color: #2d2d2d;
}

.btn-accesible svg {
    fill: white;
}

.container-accesible {
    position: fixed;
    left: 30px;
    bottom: 30px;
    background-color: var(--color-1);
    color: white;
    text-align: center;
    z-index: 1199;
    border-radius: 8px;
    border-bottom-left-radius: 28px;
    padding: 8px 8px 60px;
    transform: scale(0);
    transform-origin: 15% 100%;
    transition: transform 0.3s;
}

.container-accesible .fs-5 {
    color: white;
    font-size: 20px;
}

.container-accesible.gray-scale {
    background-color: #2d2d2d;
}

.btn-accesible:hover ~ .container-accesible,
.container-accesible:hover {
    transform: scale(1);
}

.container-accesible .options {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.container-accesible .options button {
    background-color: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 8px;
    padding: 8px;
    font-size: 13px;
    color: white;
}

.container-accesible .options button:focus-visible {
    outline: none;
}

.container-accesible .options button svg {
    fill: white;
    font-size: 24px;
    margin-bottom: 8px;
}

/* .scroll-top */
.scroll-top {
    right: 30px;
    bottom: 0;
    z-index: 1200 !important;
    transform: translateY(120px);
    transition: transform 0.5s ease-in-out;
}

.scroll-top.scroll {
    transform: translateY(-105px);
}

@media (min-width: 992px) {
    .scroll-top.scroll {
        transform: translateY(-30px);
    }
}

/* darkmode */

.btn-darkmode {
    overflow: hidden;
    position: relative;
}

.btn-darkmode span {
    position: absolute;
    bottom: 8px;
}

.btn-darkmode .svg-sun,
.btn-darkmode .svg-moon {
    position: absolute;
    transition: transform 0.3s;
}

.btn-darkmode .svg-sun {
    transform: translate(0, calc(0px - 8px));
}

.btn-darkmode .svg-moon {
    transform: translate(0, calc(500% - 8px));
}

.btn-darkmode.active .svg-sun {
    transform: translate(0, calc(500% - 8px));
}

.btn-darkmode.active .svg-moon {
    transform: translate(0, calc(0px - 8px));
}

/* card-download */

.card-download {
    border: 1px solid #e6e6ea;
    border-radius: 5px;
    padding: 2rem;
    margin-bottom: 2.5rem;
    background: var(--color-white);
}

.card-download {
    margin-bottom: 1.5rem;
}

.card-download a i {
    display: inline-block;
    width: 20px;
}

.card-download ul {
    box-shadow: 0 5px 10px 0 rgb(0 0 0 / 5%);
    padding: 15px 20px;
    border-radius: 0 0 5px 5px;
}

.card-download ul li {
    display: flex;
    margin-bottom: 0.5rem;
}

.card-download ul i {
    color: var(--color-1);
    width: 2rem;
    text-align: center;
}

.card-download span {
    background-color: var(--color-1);
    border-radius: 5px;
    color: white;
    display: block;
    font-weight: 300;
    padding: 0.3rem 0.6rem;
    text-align: center;
    margin-bottom: 1rem;
    margin-right: 0.5rem;
}

.card-download .date {
    background: #f2f2f2;
    color: var(--color-4);
    padding: 12px 20px 8px 30px;
    font-size: 2.8125rem;
    line-height: 1.3;
    border-radius: 5px 5px 0 0;
    font-family: var(--font-title);
    text-align: center;
}

.card-download .head {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
}

/* .card-sesion */
.card-sesion {
    margin-bottom: 1.5rem;
    background-color: white;
    /* padding: 1rem; */
}

.card-sesion .date {
    display: inline-block;
    width: 100%;
    background-color: var(--bg-body);
    box-shadow: 0 0 15px 0 rgb(0 0 0 / 10%);
    border-radius: 5px;
    border-left: 5px solid var(--color-1);
    margin-bottom: 14px;
    padding: 7px 20px;
    font-size: 1.125rem;
    line-height: 26px;
}

.card-sesion .date i {
    color: var(--color-1);
}

.card-sesion .resources {
    padding: 1rem;
}

.card-sesion .resources h5 {
    margin-bottom: 0.5rem;
}

.card-sesion .resources ul {
    display: flex;
}

.card-sesion .resources ul li:first-child {
    width: 150px;
}

.card-sesion .resources ul a {
    color: var(--text-color);
}

.card-sesion .resources ul i {
    color: var(--color-1);
}

/* .header-component */

.header-component {
    background-image: var(--hero-image);
    position: relative;
    width: 100%;
    padding: 5rem 1rem 1.4rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.header-component:before {
    position: absolute;
    content: "";
    background: -webkit-linear-gradient(
        90deg,
        rgba(37, 38, 56, 0.8) 15%,
        rgba(0, 0, 0, 0.3) 100%
    );
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.header-component .title {
    position: relative;
    margin-bottom: 50px;
    font-family: var(--font-title);
    font-size: 2.5rem;
    line-height: 48px;
    text-align: center;
    color: white;
}

.header-component .breadcrumb .breadcrumb-item {
    color: white;
    z-index: 1;
}

.header-component .breadcrumb-item + .breadcrumb-item::before {
    float: left;
    padding-right: var(--bs-breadcrumb-item-padding-x);
    color: white;
    content: var(--bs-breadcrumb-divider, ">");
}

@media (min-width: 768px) {
    .descargar-programas {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
    }
}

@media (min-width: 992px) {
    .header-component {
        padding-top: 10rem;
    }

    .header-component .title {
        margin-bottom: 100px;
    }

    .descargar-programas {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* item-download */

.item-download {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: 6px;
    background-color: #f8fafc;
    border: 1px solid #dee2e6;
    margin-bottom: 2rem;
}

.item-download > div:first-child {
    display: flex;
    align-items: center;
    width: 100%;
}

.item-download .image {
    width: 60px;
    height: 60px;
    min-width: 60px;
    line-height: 60px;
    background: #f2f2f2;
    text-align: center;
    border-radius: 50%;
}

.item-download .image img {
    width: 34px;
}

.item-download .text {
    flex: 1 1 auto;
    padding: 0.5rem;
}

.item-download .icon {
    position: relative;
    line-height: 60px;
    min-width: 60px;
    text-align: center;
    height: 60px;
    width: 60px;
}

.item-download .icon::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 40px;
    top: 10px;
    left: 0;
    background-color: var(--color-6);
}

.item-download .icon a {
    font-size: 1.5625rem;
    color: var(--color-6);
}

/* .sec-title */

.sec-title {
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

.sec-title.text-center .title-shape {
    margin: 0 auto;
}

.sec-title h1,
.sec-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 auto 20px;
    max-width: 80%;
}

.sec-title .subtitle-shape {
    color: var(--color-1);
    font-size: var(--font-size);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.sec-title .title-shape {
    position: relative;
    background-color: var(--color-1);
    width: 50px;
    height: 4px;
    margin-left: auto;
    margin-right: auto;
}

.sec-title .title-shape:before {
    position: absolute;
    content: "";
    background-color: var(--color-1);
    width: 4px;
    height: 4px;
    left: -8px;
    top: 0;
}

.sec-title .title-shape:after {
    position: absolute;
    content: "";
    background-color: var(--color-1);
    width: 4px;
    height: 4px;
    right: -8px;
    top: 0;
}

@media (min-width: 768px) {
    .sec-title {
        text-align: left;
    }

    .sec-title .title-shape {
        margin-left: 12px;
    }

    .sec-title:not(.text-center) .title-shape:after {
        position: relative;
    }
}

/***
====================================================================
  Utilidades
====================================================================
***/

.bg-1 {
    background-color: var(--color-1) !important;
    color: white !important;
}

.btn-option {
    position: fixed;
    display: grid;
    justify-content: center;
    align-content: center;
    background-color: var(--color-1);
    border: none;
    border-radius: 50%;
    padding: 16px;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 20px;
    line-height: 1;
    z-index: 1202;
}

.card {
    background-color: white;
}

.container {
    max-width: 1200px;
}

.ls-none {
    list-style: none !important;
    margin-left: -1rem !important;
}

.none {
    display: none;
}

.error {
    border: 1px solid var(--bs-form-invalid-border-color);
    padding-right: calc(1.6em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.4em + 0.1875rem) center;
    background-size: calc(0.8em + 0.375rem) calc(0.8em + 0.375rem);
}

/***
====================================================================
  Estilos Generales
====================================================================
***/

.header .logo-box {
    display: flex;
    flex-wrap: wrap;
    padding: 1.5rem 0;
}

.header img {
    display: block;
    margin: 0 auto 1rem;
    max-width: 180px;
}

.title-principal {
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-title);
    line-height: 1;
}

.title-principal::after {
    content: "";
    display: block;
    height: 3px;
    width: 20%;
    margin: 1rem auto;
    background-color: var(--color-1);
}

/* ***** Menu ***** */
.container-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    flex-direction: column;
    background-color: var(--color-4);
    transform: translateX(120%);
    opacity: 0;
    pointer-events: none;
    z-index: 1201;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.container-menu.is-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.container-menu img {
    filter: brightness(0) invert(1);
    margin: 0 25px;
    width: 200px;
}

.btn-menu {
    right: 30px;
    bottom: 30px;
    background-color: var(--color-1);
}

.btn-menu svg {
    fill: var(--color-white);
}

.container-menu .menu-contact-info {
    margin: 0 25px;
    color: white;
}

.container-menu .menu-contact-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.menu {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.menu li a {
    display: block;
    position: relative;
    padding: 8px 20px;
    font-size: 1rem;
    line-height: 1.2rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-white);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.menu li.current a:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-left: 5px solid var(--color-1);
}

.menu .dropdown-menu {
    margin-left: 25px !important;
    width: calc(100% - 30px);
    background-color: var(--color-1);
    margin-top: -3px !important;
    padding: 0;
}

.menu .dropdown-menu li.current a:before {
    border-left: 5px solid var(--color-white);
}

.menu .dropdown-toggle::after {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 0;
    border-radius: 2px;
    width: 32px;
    height: 32px;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    content: "\f107";
    text-align: center;
    line-height: 32px;
}

.menu .nav-link:hover,
.menu .nav-link:focus {
    color: var(--color-white);
}

@media (min-width: 992px) {
    .container-menu {
        position: relative;
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
    }

    .container-menu img,
    .container-menu .menu-contact-info,
    .btn-menu {
        display: none;
    }

    .header-scroll {
        position: fixed;
        opacity: 0;
        visibility: hidden;
        background: var(--color-white);
        border-bottom: 1px solid rgba(37, 38, 56, 0.1);
        left: 0;
        top: 0;
        width: 100%;
        z-index: 0;
        transition: opacity 0.5s ease;
        padding: 1.5rem 0;
    }

    .header-scroll.scroll {
        opacity: 1;
        visibility: visible;
        z-index: 999;
        animation-name: fadeInDown;
        animation-duration: 0.5s;
        animation-timing-function: linear;
        animation-iteration-count: 1;
    }

    .menu {
        display: flex;
        justify-content: center;
        background-color: var(--color-white);
    }

    .menu.scroll {
        padding: 35px 0;
    }

    .menu li a {
        color: var(--text-color);
        transition: none;
    }

    .menu li.current a:before {
        border-left: none;
    }

    .menu li.current a,
    .menu li:hover a {
        background-color: var(--color-1);
        color: var(--color-white);
    }

    .menu .dropdown-menu {
        margin-left: 0 !important;
        width: 100%;
    }

    .menu .dropdown-menu li.current a {
        background-color: var(--color-white);
        color: var(--text-color);
    }

    .menu .dropdown-toggle::after {
        right: -4px;
        background: none;
    }

    .header img {
        max-width: 100%;
    }

    .nav-item .dropdown-menu {
        display: none;
    }

    .nav-item:hover .dropdown-menu {
        display: block;
    }

    .nav-item .dropdown-menu {
        margin-top: 0;
    }
}

/* .footer */
.footer {
    background-color: var(--color-4);
}

.footer-bottom {
    width: 100%;
    background: var(--color-5);
    padding: 22px 0;
    color: white;
    text-align: center;
}

.footer-top {
    display: block;
    padding: 2.8rem 0 1.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top .footer-logo {
    margin-bottom: 1rem;
}

.footer-top .footer-logo img {
    max-width: 170px;
    width: 100%;
    filter: brightness(0) invert(1);
}

.footer-top .top-inner {
    font-size: 0.8rem;
}

.footer-top .top-inner__text h3 {
    font-family: var(--font-title);
    font-size: 1.125rem;
}

.footer-top .top-inner__text ul {
    margin-left: 1.5rem;
}

.footer-top .top-inner__text.mapa-sitio {
    text-align: left;
}

.footer-top .top-inner__text.mapa-sitio details ul {
    margin-left: 2rem;
}

.footer-top .top-inner__text.mapa-sitio li {
    list-style: initial;
    margin: initial;
    padding: initial;
}

.footer-top .top-inner > div {
    position: relative;
    color: white;
    margin-bottom: 1rem;
}

.footer-top .top-inner__text a {
    color: white;
    text-decoration: underline;
}

@media screen and (min-width: 768px) {
    .footer .top-inner {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .footer .top-inner > div:first-child {
        grid-column: span 4;
    }
}

@media screen and (min-width: 992px) {
    .footer .top-inner {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer .top-inner > div:first-child {
        grid-column: span 1;
    }
}

/***
====================================================================
  Inicio
====================================================================
***/

/* section carousel-principal */
.carousel-principal img {
    animation: myAnim 5s ease 0s 1 normal forwards;
    height: 100%;
    object-fit: cover;
}

.carousel-principal .carousel-item {
    height: 250px;
}

.carousel-principal .carousel-item:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: var(--color-4);
    top: 0;
    right: 0;
    opacity: 0.3;
    z-index: 1;
}

.carousel-principal button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border: 2px solid #ffffff;
    border-radius: 5px;
}

.carousel-principal button.carousel-control-prev {
    left: 35px;
}

.carousel-principal button.carousel-control-next {
    right: 35px;
}

@keyframes myAnim {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

@media (min-width: 768px) {
    .carousel-principal .carousel-item {
        height: 656px;
    }
}

@media (min-width: 992px) {
    .carousel-principal button {
        width: 60px;
        height: 60px;
        transition: border-color 0.3s, background-color 0.3s;
    }

    .carousel-principal button:hover {
        border-color: var(--color-1);
        background-color: var(--color-1);
    }

    .carousel-principal button.carousel-control-prev {
        left: 50px;
    }

    .carousel-principal button.carousel-control-next {
        right: 50px;
    }

    .carousel-principal .carousel-item img {
        height: 100%;
        object-fit: cover;
    }
}

/* section-indicators */
.section-indicators {
    position: relative;
    z-index: 2;
    margin-top: -50px;
    padding: 0 1.5rem;
}

.section-indicators .auto-container {
    background-color: var(--bg-body);
    border-radius: 8px;
    box-shadow: 0 10px 15px 0 rgb(0 0 0 / 30%);
    overflow: hidden;
}

.section-indicators .sec-title {
    margin-top: 2rem;
}

.section-indicators .single-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.section-indicators .single-item:nth-child(1n + 2) {
    padding: 1rem;
}

.section-indicators .single-item:last-child {
    margin-bottom: 2rem;
}

.section-indicators .single-item .img-informe {
    display: block;
    margin: 0 auto;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    transform: translateY(120%);
}

.section-indicators .single-item .img-informe img {
    width: 100%;
    border-radius: 8px;
}

.section-indicators .single-item h3 {
    font-family: var(--font-title);
    margin-top: 1rem;
}

.section-indicators .single-item h3::after {
    content: "";
    display: block;
    height: 3px;
    width: 30%;
    margin: 0.5rem auto 1rem;
    background-color: var(--color-1);
}

.section-indicators .single-item p {
    font-size: 0.8rem;
    text-align: justify;
    text-align-last: center;
    max-width: 80%;
    margin: 0 auto;
    letter-spacing: 1px;
}

.section-indicators .single-item .btn {
    background-color: var(--color-1);
    color: white;
    display: block;
    width: 80%;
    margin: 1rem auto 0;
}

@media (min-width: 576px) {
    .section-indicators .auto-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        margin-top: -125px;
    }

    .section-indicators .single-item:first-child {
        grid-column: span 2;
    }

    .section-indicators .single-item .img-informe {
        border-top-left-radius: 8px;
        border-bottom-left-radius: 0;
    }

    .section-indicators .single-item p {
        text-align-last: left;
    }
}

@media (min-width: 768px) {
    .section-indicators .auto-container {
        grid-template-columns: 0.8fr 0.6fr 0.6fr;
    }

    .section-indicators .single-item:first-child {
        grid-column: span 3;
    }

    .section-indicators .single-item .img-informe {
        margin: 0;
        border-bottom-left-radius: 8px;
        border-bottom-right-radius: 0;
        height: 100%;
        width: 100%;
    }

    .section-indicators .single-item .btn {
        transition: background-color 0.3s ease-out, color 0.3s ease-out;
    }

    .section-indicators .single-item .btn:hover {
        background-color: transparent;
        border: 1px solid var(--color-1);
        color: var(--color-1);
    }
}

/* .section-estadisica */
.section-estadisica {
    position: relative;
    z-index: 1;
    margin-top: 5rem;
}

.section-estadisica .section-documents {
    background-image: none;
    margin: 0 auto;
}

.section-estadisica .section-documents::before {
    background-color: transparent;
}

.section-documents .card-image {
    grid-column: span 2;
    margin-bottom: 3rem;
}

.section-estadisica .section-documents .introduction h3 {
    text-align: center;
}

.section-estadisica .section-documents .introduction p {
    text-align: justify;
    text-align-last: center;
}

.section-estadisica .section-documents .downloads > div {
    margin-bottom: 0;
    padding: 0.5rem;
}

.section-estadisica .section-documents .censos .downloads > div {
    box-shadow: none;
}

.section-estadisica .censos .card {
    margin-bottom: 2rem;
}

.section-estadisica .censos .card .card-header {
    background-color: var(--color-1);
    color: white;
    text-align: center;
}

.section-estadisica .censos .card .card-body {
    padding: 0;
}

.section-documents .downloads .text {
    flex: 1 1 auto;
}

@media (min-width: 768px) {
    .section-estadisica .section-documents .censos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        margin-top: 3rem;
    }
}

@media (min-width: 992px) {
    .section-estadisica .section-documents {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .section-estadisica .section-documents .downloads {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .section-estadisica .section-documents .censos {
        grid-template-columns: repeat(3, 1fr);
        grid-column: span 2;
        margin: 3rem auto;
    }
}

/* .section-geografia */
.section-geografia {
    position: relative;
    padding-top: 4rem;
}

.section-geografia .bg-layer {
    background-image: var(--bg-layer-var);
    position: absolute;
    left: 0;
    bottom: 110px;
    width: 100%;
    height: 570px;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-geografia .geografia-cards {
    position: relative;
    margin-bottom: -110px;
    z-index: 1;
}

.section-geografia .geografia-numeros {
    position: relative;
}

.section-geografia .geografia-numeros .inner-box {
    margin-bottom: 1.5rem;
    text-align: center;
}

.section-geografia .geografia-numeros .inner-box .count-number {
    font-size: 3rem;
    line-height: 60px;
    color: var(--color-4);
    font-weight: 700;
    margin-bottom: 5px;
}

.section-geografia .geografia-numeros .inner-box .text {
    font-size: var(--font-size);
    line-height: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-1);
}

@media (min-width: 576px) {
    .section-geografia .geografia-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .section-geografia .geografia-numeros .content {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1rem;
    }
}

@media (min-width: 768px) {
    .section-geografia {
        padding-top: 3rem;
    }

    .section-geografia .geografia-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* .section-infografias */
.section-infografias {
    position: relative;
    padding-top: 220px;
}

.section-infografias .bg-layer {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    width: 100%;
    height: 513px;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.section-infografias .bg-layer:before {
    position: absolute;
    content: "";
    background: var(--color-4);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    right: 0;
    opacity: 0.94;
}

.tabs-infografias {
    position: relative;
    margin-top: 3rem;
}

.tabs-infografias .nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.tabs-infografias .nav .nav-link.active {
    background-color: var(--bg-body);
    color: var(--color-4);
}

.tabs-infografias .nav .nav-link {
    width: 100%;
    padding: 1.5rem 1rem;
    border-radius: 0;
    background: var(--color-5);
    color: var(--color-white);
}

.tabs-infografias .tab-content > .active {
    padding: 2rem 0;
}

.tabs-infografias .inner-box {
    padding: 10px 10px;
    border-radius: 5px;
    border: 1px solid #e0e0ea;
}

.tabs-infografias .inner-box .image-box {
    position: relative;
    overflow: hidden;
    background: var(--color-4);
    border-radius: 5px 5px 0 0;
}

.tabs-infografias .inner-box .image-box:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(
        0,
        rgba(8, 8, 23, 0.8) 10%,
        rgba(8, 8, 23, 0) 50%
    );
    left: 0;
    bottom: 0;
    z-index: 1;
}

.tabs-infografias .inner-box .image-box .content-box {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    right: 0;
    z-index: 2;
}

.tabs-infografias .inner-box .image-box .content-box .post-date {
    position: absolute;
    top: 0;
    right: 0;
}

.tabs-infografias .inner-box .image-box .content-box .post-date h3 {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 90px;
    background-color: #f5f5f6;
    color: var(--color-1);
    text-align: center;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 23px;
    padding: 26px 0 20px 0;
    top: -15px;
    right: -15px;
}

.tabs-infografias .inner-box .image-box .content-box .post-date h3:before {
    position: absolute;
    content: "";
    width: 100px;
    height: 100px;
    left: -5px;
    top: -5px;
    border: 1px solid #f5f5f6;
    border-radius: 50%;
}

.tabs-infografias .inner-box .image-box .content-box .post-date h3 span {
    display: block;
    font-size: var(--font-size);
    text-transform: uppercase;
    font-weight: 500;
}

.tabs-infografias .inner-box .image-box .content-box .text {
    position: absolute;
    left: 0;
    bottom: 20px;
    padding: 0 20px;
}

.tabs-infografias .inner-box .image-box .content-box .text .category {
    display: inline-block;
    background-color: var(--color-1);
    color: white;
    padding: 2px 7px;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.tabs-infografias .inner-box .image-box .content-box .text h4 {
    font-size: 1.25rem;
    line-height: 30px;
    font-weight: 700;
}

.tabs-infografias .inner-box .image-box .content-box .text h4 a {
    color: var(--color-white);
}

.tabs-infografias .inner-box .lower-content {
    background-color: var(--bg-body);
    padding: 19px 20px 16px 20px;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 10px 30px 0 rgb(0 0 0 / 5%);
}

.tabs-infografias .inner-box .lower-content ul {
    display: flex;
    justify-content: space-between;
}

.section-infografias .items-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.section-infografias .items-container .element-item {
    margin: 0;
    width: 100%;
}

@media (min-width: 768px) {
    .tabs-infografias .nav {
        display: flex;
        flex-direction: row;
        column-gap: 5px;
    }

    .tabs-infografias .nav .nav-item {
        flex: 1 1 auto;
    }

    .tabs-infografias .tab-content > .active {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .section-infografias .items-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .section-infografias {
        padding-top: 220px;
    }

    .tabs-infografias .inner-box .image-box:before {
        transition: height 0.3s ease-in-out;
    }

    .tabs-infografias .inner-box:hover .image-box:before {
        height: 800%;
    }

    .tabs-infografias .nav .nav-link {
        border-radius: 5px 5px 0 0;
    }

    .section-infografias .items-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* .section-about */
.section-about {
    margin: 5rem auto;
}

.section-about .text p {
    text-align: justify;
    text-align-last: center;
}

.section-about .image-box .text {
    margin: 0 auto 1rem;
    padding: 20px 30px 25px 30px;
    background: var(--bg-body);
    border-radius: 5px;
    box-shadow: 15px -10px 30px 0 rgb(0 0 0 / 8%);
    border-bottom: 3px solid var(--color-1);
}

.section-about .image-box img {
    border-radius: 5px;
}

/* .section-logos */
.section-logos {
    position: relative;
    padding: 63px 0;
    width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.section-logos:before {
    position: absolute;
    content: "";
    background: var(--color-4);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.9;
}

.section-logos .splide__slide {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* section.ultimas-sesiones */
.ultimas-sesiones {
    margin: 5rem auto;
}

@media (min-width: 992px) {
    .ultimas-sesiones-content {
        max-width: 70%;
        display: grid;
        column-gap: 2rem;
        grid-template-columns: 1fr 1fr;
        margin: 0 auto;
    }
}

/***
====================================================================
  Histórico del Anuario Estadístico
====================================================================
***/
.historico_anuario .container-cards-historics {
    margin: 3rem auto;
}

@media (min-width: 576px) {
    .historico_anuario .container-cards-historics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
    }
}

@media (min-width: 992px) {
    .historico_anuario .container-cards-historics {
        grid-template-columns: repeat(3, 1fr);
    }
}

/***
====================================================================
  Formatos México en Cifras
====================================================================
***/
.section-documents {
    background-image: var(--bg-image);
    position: relative;
    width: 100%;
    padding: 2rem 1rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    margin: 3rem 0;
}

.section-documents::before {
    position: absolute;
    content: "";
    background: #f2f2f2;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.9;
}

.section-documents .introduction {
    background-image: var(--bg-introduction);
    position: relative;
    padding: 1rem;
    width: 100%;
    background-size: auto;
    text-align: justify;
    /* background-repeat: no-repeat; */
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.section-documents .introduction::before {
    position: absolute;
    content: "";
    background: var(--color-1);
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    opacity: 0.9;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.section-documents .introduction h3,
.section-documents .introduction p {
    color: white;
    position: relative;
}

.section-documents .introduction h3 {
    margin-bottom: 1rem;
}

.section-documents .downloads {
    position: relative;
}

.section-documents .downloads > div {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
    padding: 1.6rem;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    margin-bottom: 0.9rem;
    z-index: 1;
}

.section-documents .downloads > div:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.section-documents > .downloads > div:last-child {
    background-color: var(--color-3);
    color: white;
}

.section-documents > .downloads > div:last-child .icon a {
    color: white;
}

.section-documents .downloads .image,
.mexico_cifras .formatos .list-group-item .image {
    width: 60px;
    height: 60px;
    min-width: 60px;
    line-height: 60px;
    background: #f2f2f2;
    text-align: center;
    border-radius: 50%;
}

.section-documents .downloads .image img,
.mexico_cifras .formatos .list-group-item .image img {
    width: 34px;
}

.mexico_cifras .formatos .list-group-item .text {
    padding-left: 1rem;
    padding-right: 1rem;
}

.section-documents .downloads .icon,
.mexico_cifras .formatos .list-group-item .icon {
    position: relative;
    line-height: 60px;
    min-width: 60px;
    text-align: center;
    height: 60px;
    width: 60px;
}

.section-documents .downloads .icon a,
.mexico_cifras .formatos .list-group-item .icon a {
    font-size: 1.5625rem;
    color: var(--color-6);
}

.section-documents .downloads .icon::before,
.mexico_cifras .formatos .list-group-item .icon::before {
    position: absolute;
    content: "";
    width: 1px;
    height: 60px;
    left: 0;
    background-color: var(--color-6);
}

.mexico_cifras .formatos {
    margin-bottom: 3rem;
}

.mexico_cifras .formatos .nav-pills .nav-link.active {
    background-color: var(--color-1);
}

.mexico_cifras .formatos .list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
}

.mexico_cifras .formatos .list-group-item:first-child {
    grid-column: span 2;
    margin: auto;
    max-width: 460px;
}

.mexico_cifras .formatos .list-group-item > div:first-child {
    display: flex;
    align-items: center;
}

.mexico_cifras .formatos .list-group-item .icon::before {
    height: 40px;
    top: 10px;
}

@media (min-width: 576px) {
    .mexico_cifras .formatos .list-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
        row-gap: 1rem;
    }
}

@media (min-width: 992px) {
    .section-documents {
        position: relative;
        gap: 2rem;
        margin: 6rem auto;
    }

    .section-documents .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 1.5rem;
    }

    .section-documents .introduction {
        padding: 2rem;
        border-radius: 8px;
    }

    .section-documents .introduction::before {
        border-radius: 8px;
    }

    .section-documents .introduction > div {
        position: relative;
        border-radius: 8px;
        border: 1px solid rgba(255, 255, 255, 0.5);
        padding: 2rem;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .section-documents .downloads > div:first-child {
        border-top-left-radius: 8px;
        border-top-right-radius: 8px;
    }

    .section-documents .downloads {
        padding: 3rem 1rem;
    }

    .section-documents .downloads .text {
        flex: 1 1 auto;
        margin: auto 1rem;
    }
}

/***
====================================================================
  Censos Nacionales de Gobierno
====================================================================
***/
.censos_nacionales .accordion-button:not(.collapsed) {
    background-color: var(--color-1);
    color: white;
}

.censos_nacionales .accordion-button:not(.collapsed)::after {
    filter: invert(1);
}

.censos_nacionales .nav-link {
    color: var(--color-4);
}

.censos_nacionales .nav-tabs .nav-link.active,
.censos_nacionales .tab-content > .active {
    background-color: var(--color-white);
}

.censos_nacionales .tab-content > .active {
    padding: 2rem 1rem;
}

.censos_nacionales .tab-content h3 {
    text-align: center;
}

.censos_nacionales .tab-content h3::after {
    background-color: var(--color-1);
    content: "";
    display: block;
    height: 2px;
    width: 70%;
    margin: 0.5rem auto;
}

.censos_nacionales .tab-content hr,
.censos_nacionales .accordion-item hr {
    border-top: var(--color-1) solid;
    opacity: 1;
}

.censos_nacionales .tab-content object,
.censos_nacionales .accordion-item object {
    margin: 2rem auto 0.5rem;
}

.censos_nacionales .tab-content .cuestionarios,
.censos_nacionales .accordion-item .cuestionarios-2 {
    margin-top: 2rem;
}

.censos_nacionales .tab-content .cuestionarios > div,
.censos_nacionales .accordion-item .cuestionarios-2 > div {
    margin: 0 auto 2rem;
    width: 60%;
}

.censos_nacionales .tab-content .cuestionarios img,
.censos_nacionales .accordion-item .cuestionarios-2 img {
    display: block;
    margin: 0 auto 1rem;
}

.censos_nacionales .tab-content .cuestionarios h4,
.censos_nacionales .accordion-item .cuestionarios-2 h4 {
    font-size: var(--font-size);
    text-align: center;
}

@media (min-width: 576px) {
    .censos_nacionales .tab-content .cuestionarios,
    .censos_nacionales .accordion-item .cuestionarios-2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .censos_nacionales .tab-content .cuestionarios {
        grid-template-columns: repeat(3, 1fr);
    }

    .censos_nacionales .content-columns-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .censos_nacionales .content-columns-2 h3::after {
        background-color: var(--color-1);
        content: "";
        display: block;
        height: 2px;
        width: 70%;
        margin: 0.5rem auto;
    }

    .censos_nacionales .content-columns-2 hr {
        display: none;
    }

    .censos_nacionales .content-columns-2 object {
        margin-top: 0;
    }
}

@media (min-width: 1200px) {
    .censos_nacionales .tab-content .cuestionarios {
        grid-template-columns: repeat(4, 1fr);
    }
}

/***
====================================================================
  Censos Puebla
====================================================================
***/
.censos .accordion-button:not(.collapsed) {
    background-color: var(--color-1);
    color: white;
}

.censos .accordion-button:not(.collapsed)::after {
    filter: invert(1);
}

.censos hr {
    border-top: var(--color-1) solid;
    opacity: 1;
}

/***
====================================================================
  Boletines
====================================================================
***/
.boletines .filters-button-group {
    text-align: center;
    margin-bottom: 2rem;
}

.boletines .btn.is-checked {
    background-color: var(--color-1);
    color: white;
}

.items-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); */
    column-gap: 1rem;
    row-gap: 2rem;
}

.items-container .element-item {
    position: relative;
    /* width: calc(50% - 0.5rem); */
    /* margin-bottom: 2.5rem; */
    min-height: 200px;
    transition: all 0.3s ease-out;
}

/* .items-container .element-item:not(:nth-child(2n + 2)) {
    margin-right: 1rem;
} */

.items-container .element-item.filter {
    transform: scale(0);
    visibility: hidden;
    opacity: 0;
    order: 1;
}

.items-container .element-item .image-box {
    position: relative;
    overflow: hidden;
    background: var(--color-4);
    border-radius: 5px;
}

.items-container .element-item .image-box img {
    border-radius: 5px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.items-container .element-item:hover .image-box img {
    opacity: 0.1;
    transform: scale(1.05);
}

.items-container .element-item .overlay-content {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 1;
}

.items-container .element-item .overlay-content .link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    bottom: -35px;
}

.items-container .element-item .overlay-content .link a {
    position: relative;
    display: inline-block;
    background-color: var(--color-1);
    font-size: 1rem;
    color: white;
    width: 70px;
    height: 70px;
    line-height: 70px;
    border-radius: 50%;
    transform: scale(0, 0);
    transition: transform 0.3s ease;
}

.items-container .element-item:hover .overlay-content .link a {
    transform: scale(1, 1);
}

.items-container .element-item:hover .overlay-content .link a:before {
    position: absolute;
    content: "";
    width: 90px;
    height: 90px;
    left: -10px;
    top: -10px;
    background: rgba(105, 26, 50, 0.5);
    border-radius: 50%;
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0%, 100% 50%, 0% 50%, 0% 0%);
}

.items-container .element-item .overlay-content .text {
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -50%);
    width: 100%;
    color: white;
    padding: 0 15px;
    opacity: 0;
    visibility: hidden;
    transition: top all 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.items-container .element-item .overlay-content .text a {
    color: white;
}

.items-container .element-item:hover .overlay-content .text {
    top: 50%;
    opacity: 1;
    visibility: visible;
}

@media (min-width: 576px) {
    .items-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    /* .items-container .element-item {
        width: calc(33.33% - 1rem);
        margin-right: 0;
    } */

    /* .items-container .element-item:not(:nth-child(2n + 2)) {
        margin-right: 0;
    } */

    /* .items-container .element-item:not(:nth-child(3n + 3)) {
        margin-right: 1rem;
    } */
}

@media (min-width: 768px) {
    /* .items-container .element-item {
        width: calc(25% - 1.5rem);
        margin-right: 0;
    }

    .items-container .element-item:not(:nth-child(3n + 3)) {
        margin-right: 0;
    }

    .items-container .element-item:not(:nth-child(4n + 4)) {
        margin-right: 1.5rem;
    } */
}

/***
====================================================================
  Infografías
====================================================================
***/
.infografias .gallery a p {
    text-align: center;
    margin: 0.5rem auto 1rem;
}

@media (min-width: 576px) {
    .infografias .gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .infografias .gallery img {
        box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.3);
        transition-delay: unset;
        transition-duration: 0.3s;
        transition-property: box-shadow;
    }

    .infografias .gallery a:hover img {
        box-shadow: 7px 7px 8px rgba(0, 0, 0, 0.6);
    }

    .infografias .gallery p {
        transition-delay: unset;
        transition-duration: 0.3s;
        transition-property: text-shadow;
    }

    /* .infografias .gallery a:hover p {
        text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
    } */
}

@media (min-width: 992px) {
    .infografias .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

/***
====================================================================
  Acerca del CEIGEP
====================================================================
***/
.acerca .img-logo-ceigep {
    display: block;
    margin: auto;
    max-height: 150px;
}

.acerca .paragraph-acerca {
    margin-top: 2rem;
    text-align: justify;
    text-align-last: center;
}

.acerca .mision-objetivos {
    margin: 2.5rem auto;
}

.acerca .mision-objetivos > div {
    margin-bottom: 2rem;
}

.acerca .mision-objetivos > div h4 {
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: center;
}

.acerca .mision-objetivos > div h4::after {
    content: "";
    background-color: var(--color-1);
    display: block;
    height: 5px;
    width: 50%;
    margin: 0.5rem auto 1rem;
}

.acerca .mision-objetivos > div p {
    text-align: justify;
    margin-bottom: 0.5rem;
}

.acerca .table-responsive {
    height: 600px;
    overflow-y: auto;
}

.acerca .table caption {
    background-color: var(--color-5);
    color: white;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.7rem;
}

.acerca .table > thead > tr > th {
    background-color: var(--color-1);
    color: white;
    font-weight: 400;
    position: sticky;
    top: 0;
}

@media (min-width: 768px) {
    .acerca .paragraph-acerca {
        max-width: 80%;
        margin: 2rem auto 0;
    }

    .acerca .mision-objetivos {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 2rem;
    }
}

@media (min-width: 992px) {
    .acerca .mision-objetivos {
        grid-template-columns: repeat(3, 1fr);
    }
}

/***
====================================================================
  Normatividad
====================================================================
***/
.normatividad h3 {
    margin-top: 2rem;
    text-align: center;
}

.normatividad h3::after {
    content: "";
    background-color: var(--color-1);
    display: block;
    height: 2px;
    width: 70%;
    margin: 0.5rem auto;
}

.normatividad .item-download {
    margin-bottom: 1rem;
}

@media (min-width: 992px) {
    .normatividad .container-grid-2,
    .normatividad .container-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
    }
}

/***
====================================================================
  Marco Jurídico
====================================================================
***/
@media (min-width: 768px) {
    .marco-juridico .container-grid-3 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
    }
}

@media (min-width: 992px) {
    .marco-juridico .container-grid-3 {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 2rem;
    }
}

/***
====================================================================
  Sesiones
====================================================================
***/
.sesiones h3 {
    margin-top: 2rem;
    text-align: center;
}

.sesiones h3::after {
    content: "";
    background-color: var(--color-1);
    display: block;
    height: 2px;
    width: 70%;
    margin: 0.5rem auto;
}

@media (min-width: 992px) {
    .sesiones .container-grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 2rem;
    }
}

/***
====================================================================
  Informes de Gestión
====================================================================
***/

.informes_gestion .card-download {
    margin-bottom: 2rem;
}

.informes_gestion .card-download .date {
    background-color: var(--color-1);
    color: white;
    font-size: 100%;
    padding: 0.5rem 1rem;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.informes_gestion .card-download.ejes ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.informes_gestion .card-download.especial {
    background-color: var(--color-1);
    color: white;
}

.informes_gestion .card-download.especial a,
.informes_gestion .card-download.especial p,
.informes_gestion .card-download.especial ul i {
    color: white;
}

.informes_gestion .card-download.especial ul {
    border: 1px solid white;
}

.informes_gestion .card-download.especial .date {
    background-color: white;
    color: var(--color-1);
    font-size: 100%;
    justify-content: center;
}

.informes_gestion .section-documents {
    margin: 0 auto 3rem;
}

.informes_gestion .container {
    padding: 0;
}

.informes_gestion .container:first-child {
    margin-bottom: 1.5rem;
}

.informes_gestion .section-documents .downloads > div {
    padding: 0.5rem;
}

.informes_gestion .section-documents .downloads h5 {
    font-size: 1rem;
}

.informes_gestion .section-documents .downloads .image,
.informes_gestion .section-documents .downloads .icon {
    line-height: 40px;
    height: 40px;
    min-width: 40px;
    width: 40px;
}

.informes_gestion .section-documents .downloads .icon::before {
    height: 25px;
    top: 50%;
    transform: translateY(-50%);
}

.informes_gestion .section-documents .downloads .image img {
    width: 25px;
}

.informes_gestion .section-documents .introduction > div {
    position: relative;
}

.informes_gestion .section-documents .introduction h2 {
    text-align: center;
}

.informes_gestion .section-documents .content-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.informes_gestion .section-documents .card-download {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.informes_gestion .section-documents .card-download .date {
    background-color: white;
    color: var(--color-1);
    font-size: 1.1rem;
    min-height: auto;
    padding: 0.5rem;
}

.informes_gestion .section-documents .card-download ul {
    font-size: 0.8rem;
    padding: 0.5rem;
}

.informes_gestion .section-documents .card-download ul li {
    margin-bottom: 0;
}

.informes_gestion .section-documents .card-download ul a,
.informes_gestion .section-documents .card-download ul i {
    color: white;
}

@media (min-width: 576px) {
    .informes_gestion .container-informes {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .informes_gestion .card-download {
        margin-bottom: 0;
    }
}

@media (min-width: 768px) {
    .informes_gestion .section-documents .content-card {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 992px) {
    .informes_gestion .container-informes {
        grid-template-columns: repeat(3, 1fr);
    }

    .informes_gestion .section-documents .introduction,
    .informes_gestion .section-documents .introduction > div {
        padding: 1rem;
    }

    .informes_gestion .section-documents .card-download ul {
        padding: 15px;
    }
}

/***
====================================================================
  Login
====================================================================
***/
.h100vh {
    height: 100vh;
}
.auth-main::before {
    background: rgba(23, 25, 28, 0.9);
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 350px;
    height: calc(100% - 40px);
    z-index: -1;
    margin: 20px;
}
@media (max-width: 575.98px) {
    .auth-main::before {
        width: 100%;
        height: 100%;
        margin: 0;
    }
}
.auth-main:after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: url(../../images/resource/imagen-3.jpg) no-repeat center fixed;
}

.auth-main h3 {
    color: var(--text-color);
    font-family: var(--font-title);
    font-size: 1.75rem;
}

.auth-box {
    height: auto;
    width: 380px;
    margin-left: 130px;
}
.auth-box img {
    height: 95px !important;
    display: block;
}

@media (max-width: 767.98px) {
    .auth-box {
        width: 80%;
        margin: 0 auto;
    }
}
@media (max-width: 575.98px) {
    .auth-box {
        width: 90%;
    }
}

/***
====================================================================
  app_admin
====================================================================
***/

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 60px;
    height: 100%;
    background-color: var(--menu-bg);
    z-index: 1054;
    transition: 0.3s ease;
    overflow-x: hidden;
}

.sidebar::-webkit-scrollbar-thumb {
    background: transparent;
}

.sidebar.show {
    width: 250px;
    border-radius: 0;
}

.sidebar.hide .brand {
    margin-left: 0.5rem;
}

.sidebar .brand {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    color: var(--claro);
    background-color: var(--menu-active-bg);
    padding: 1rem;
}

.sidebar .brand img {
    min-width: 40px;
}

.sidebar .brand .text {
    margin-left: 1rem;
    font-size: 1.1rem;
    font-weight: bolder;
}

.sidebar .side-menu {
    width: 100%;
    margin-top: 2rem;
}

.sidebar .side-menu li {
    height: 48px;
    background: transparent;
}

.sidebar .side-menu li.active {
    background-color: var(--menu-active-bg);
    border-left: 6px solid var(--color-1);
    color: inherit;
    position: relative;
}

.sidebar .side-menu li.header {
    border-bottom: 3px solid;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    margin-top: 1rem;
}

.sidebar .side-menu li.header.active {
    background-color: var(--menu-active-bg);
    border-left: none;
}

.sidebar .side-menu li a,
.sidebar .side-menu li button {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 25px;
    color: var(--menu-text);
    padding-left: 6px;
    white-space: nowrap;
    overflow-x: hidden;
}

.sidebar.hide .side-menu li a {
    width: 48px;
    transition: width 0.3s ease;
}

.sidebar .side-menu.top li a:hover,
.sidebar .side-menu.top li a:hover i {
    color: var(--rojo);
}

.sidebar .side-menu li a i {
    min-width: calc(75px - ((4px + 6px) * 2));
    display: flex;
    justify-content: center;
}

.sidebar .side-menu li a svg {
    width: calc(38px - ((4px + 6px) * 2));
    min-width: calc(38px - ((4px + 6px) * 2));
    fill: white;
    margin: auto 0.65rem;
}

.sidebar .side-menu li a:hover svg {
    fill: var(--color-1);
}

@media screen and (min-width: 992px) {
    .sidebar {
        width: 250px;
    }
}

/* CONTENT */
.content {
    position: relative;
    width: calc(100% - 60px);
    left: 60px;
    transition: 0.3s ease;
}

.sidebar.show ~ .content {
    width: calc(100% - 250px);
    left: 250px;
}

/* NAVBAR */
.bar-menu {
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    margin-bottom: 2rem;
    min-height: 76px;
    padding: 0 24px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.bar-menu .bx-menu {
    cursor: pointer;
    color: var(--color-5);
}

@media screen and (min-width: 992px) {
    .bar-menu .bx-menu {
        display: none;
    }
}

/* MAIN */
.content main {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 24px;
}

.content .head-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    grid-gap: 16px;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.content .head-title .left h1 {
    font-size: 36px;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--color-5);
}

.content .head-title .left .breadcrumb {
    display: flex;
    align-items: center;
    margin-bottom: 0;
}

.content .head-title .left .breadcrumb i {
    margin-right: 0.25rem;
}

.content .head-title .left .breadcrumb li {
    color: var(--color-5);
    margin-right: 0.25rem;
}

.content .head-title .left .breadcrumb li a {
    color: var(--color-5);
}

.content .head-title .left .breadcrumb li a.active {
    color: var(--color-1);
    pointer-events: unset;
}

.nav-tabs .nav-link.active {
    background-color: var(--color-7) !important;
    /* color: white; */
}

@media screen and (min-width: 992px) {
    .content {
        width: calc(100% - 250px);
        left: 250px;
    }
    .content nav .nav-link {
        display: none;
    }
}

/* Dashboard */
.dash-admin .card .card-header {
    clip-path: polygon(
        0 0,
        100% 0,
        100% calc(100% - 60px),
        50% 80%,
        0 calc(100% - 60px)
    );
    height: 90px;
    /* background: linear-gradient(60deg, #568abd, var(--menu-active-bg)); */
    text-align: center;
    color: #fff;
    padding: 0;
    padding-top: 1.3rem;
    font-size: 1rem;
}

.dash-admin .card .card-body {
    text-align: center;
    padding-top: 0.5rem;
}

.dash-admin .card .card-body h3 {
    font-family: var(--font-title);
    font-size: 2.2rem;
}

.dash-admin .card .card-footer {
    text-align: center;
    font-size: 0.8rem;
    background-color: #f8f8f8;
    z-index: 2;
    /* background: linear-gradient(40deg, #82b0ff, #4780e2); */
}
