@font-face {
    font-family: "Goudysto";
    src: url("/work/models/memorica/recursos/Type/GOUDYSTO.TTF");
}

@font-face {
    font-family: "Fredoka-Regular";
    src: url("/work/models/memorica/recursos/Type/Fredoka-Regular.ttf");
}

@font-face {
    font-family: "Fredoka-SemiBold";
    src: url("/work/models/memorica/recursos/Type/Fredoka-SemiBold.ttf");
}



:root {
    --white: #FFFF;
    --blue-light: #0d82a8;
    --navy-blue: #021e4c;
    --yellow: #ffb400;
}

/* ==================================== Galeria ================================= */

.tz-gallery .lightbox img {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
    transition: 0.2s ease-in-out;
    /* filter: drop-shadow(3px 1px 6px rgba(0, 0, 0, 0.5)); */
}

.tz-gallery .lightbox img:hover {
    transform: scale(1.02);
    /* box-shadow: 0 8px 15px rgba(0,0,0,0.3); */
}

.grid-gallery {
    display: grid;
    grid-auto-rows: auto;
    gap: 1rem;
    grid-auto-flow: row dense;
    grid-template-columns: repeat(1, 1fr);
}

.grid-gallery__image {
    object-fit: contain;
}

@media all and (min-width: 438px) {
    .grid-gallery {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media all and (min-width: 768px) {
    .grid-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media all and (min-width: 1024px) {
    .grid-gallery {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: auto;
    }

}

.grid-gallery__item {
    grid-row: span 1;
}

/**/
#baguetteBox-overlay {
    display: none;
    opacity: 0;
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000000;
    background-color: #222;
    background-color: rgba(0, 0, 0, .8);
    -webkit-transition: opacity .5s ease;
    transition: opacity .5s ease
}

#baguetteBox-overlay.visible {
    opacity: 1
}

#baguetteBox-overlay .full-image {
    display: inline-block;
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    background-image: url("/work/models/memorica/recursos/exposiciones/EjidoViejoStaUrsulaCoapa/img/icono-bg.png");
    background-repeat: repeat;
    background-color: var(--blue-light);
}

#baguetteBox-overlay .full-image figure {
    display: inline;
    margin: 0;
    height: 100%
}

#baguetteBox-overlay .full-image img {
    display: inline-block;
    width: 100%;
    /* height: 100%; */
    height: 85%;
    max-height: auto;
    max-width: auto;
    vertical-align: middle;
    -moz-box-shadow: 0 0 8px rgba(0, 0, 0, .6);
    box-shadow: 0 0 8px rgba(0, 0, 0, .65);
    object-fit: cover;
}

p.txt-carrusel {
    color: var(--white);
    /* font-size: 1rem; */
}

@media all and (min-width: 438px) {
    #baguetteBox-overlay .full-image img {
        width: auto;
        height: auto;
        max-height: 85%;
        /* max-height: 100%; */
        max-width: 100%;
    }
}

#baguetteBox-overlay .full-image figcaption {
    display: block;
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: left;
    line-height: 1.4;
    white-space: normal;
    color: var(--white);
    background-color: var(--navy-blue);
    padding: 1rem 10vw 1.5rem;
}

#baguetteBox-overlay .full-image:before {
    content: "";
    display: inline-block;
    height: 48%;
    /* width: 1px;
    margin-right: -1px */
}

#baguetteBox-slider {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    white-space: nowrap;
    -webkit-transition: left .4s ease, -webkit-transform .4s ease;
    transition: left .4s ease, -webkit-transform .4s ease;
    transition: left .4s ease, transform .4s ease;
    transition: left .4s ease, transform .4s ease, -webkit-transform .4s ease, -moz-transform .4s ease
}

#baguetteBox-slider.bounce-from-right {
    -webkit-animation: bounceFromRight .4s ease-out;
    animation: bounceFromRight .4s ease-out
}

#baguetteBox-slider.bounce-from-left {
    -webkit-animation: bounceFromLeft .4s ease-out;
    animation: bounceFromLeft .4s ease-out
}

@-webkit-keyframes bounceFromRight {

    0%,
    100% {
        margin-left: 0
    }

    50% {
        margin-left: -30px
    }
}

@keyframes bounceFromRight {

    0%,
    100% {
        margin-left: 0
    }

    50% {
        margin-left: -30px
    }
}

@-webkit-keyframes bounceFromLeft {

    0%,
    100% {
        margin-left: 0
    }

    50% {
        margin-left: 30px
    }
}

@keyframes bounceFromLeft {

    0%,
    100% {
        margin-left: 0
    }

    50% {
        margin-left: 30px
    }
}

.baguetteBox-button#next-button,
.baguetteBox-button#previous-button {
    top: 50%;
    top: calc(50% - 30px);
    width: 60px;
    height: 60px;
    border-radius: 50%;

    /***/
     background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
    text-indent: -9999px;
    /**/
}

/***/

/* Oculta el SVG interno si baguetteBox lo está renderizando */
.baguetteBox-button svg polyline{
    display: none !important;
}

/* Asigna tu imagen PNG para la flecha SIGUIENTE (Derecha) */
.baguetteBox-button#next-button {
    background-image: url('/work/models/memorica/recursos/exposiciones/EjidoViejoStaUrsulaCoapa/img/arrow_right.png');
    background-color: transparent; /* Quita el fondo amarillo si tu PNG ya tiene fondo circular */
}

/* Asigna tu imagen PNG para la flecha ANTERIOR (Izquierda) */
.baguetteBox-button#previous-button {
    background-image: url('/work/models/memorica/recursos/exposiciones/EjidoViejoStaUrsulaCoapa/img/arrow_left.png');
    background-color: transparent; /* Quita el fondo amarillo si tu PNG ya tiene fondo circular */
}
/**/

.baguetteBox-button {
    position: absolute;
    cursor: pointer;
    outline: 0;
    padding: 0;
    margin: 0;
    border: 0;
    -moz-border-radius: 15%;
    border-radius: 15%;
    background-color: transparent;
    background-color: var(--yellow);
    font: 1.6em sans-serif;
    -webkit-transition: background-color .4s ease;
    transition: background-color .4s ease
}

.baguetteBox-button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.baguetteBox-button:focus,
.baguetteBox-button:hover {
    /* background-color: rgba(50, 50, 50, .4) */
    background-color: var(--yellow);
}

.baguetteBox-button#next-button {
    right: 2%
}

.baguetteBox-button#previous-button {
    left: 2%
}

.baguetteBox-button#close-button {
    top: 20px;
    right: 2%;
    right: calc(2% + 6px);
    width: 30px;
    height: 30px
}

/*color custom botton cerrar*/
.baguetteBox-button#close-button svg g {
    stroke: var(--white);
}

.baguetteBox-button#next-button svg polyline,
.baguetteBox-button#previous-button svg polyline {
    stroke: var(--white);
    stroke-width: 8;
    stroke-linecap: round;
}

/**/

.baguetteBox-button svg {
    position: absolute;
    left: 0;
    top: 0
}

.baguetteBox-spinner {
    width: 40px;
    height: 40px;
    display: inline-block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -20px;
    margin-left: -20px
}

.baguetteBox-double-bounce1,
.baguetteBox-double-bounce2 {
    width: 100%;
    height: 100%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: #fff;
    opacity: .6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: bounce 2s infinite ease-in-out;
    animation: bounce 2s infinite ease-in-out
}

.baguetteBox-double-bounce2 {
    -webkit-animation-delay: -1s;
    animation-delay: -1s
}

@-webkit-keyframes bounce {

    0%,
    100% {
        -webkit-transform: scale(0);
        transform: scale(0)
    }

    50% {
        -webkit-transform: scale(1);
        transform: scale(1)
    }
}

@keyframes bounce {

    0%,
    100% {
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        transform: scale(0)
    }

    50% {
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        transform: scale(1)
    }
}

.ObjetoDigital {
    display: grid;
    justify-items: center;
    cursor: pointer;
    font-family: "Fredoka-SemiBold", sans-serif;
    font-size: 1.2rem;
    padding: .5rem 1.5rem;
    text-decoration: none;
    float: right;
    /* background:; */
    transition: all 0.2s ease-in-out;
}

.ObjetoDigital{
     border-style: solid;
  border-width: 8px;
  border-image-source: url("/work/models/memorica/recursos/exposiciones/EjidoViejoStaUrsulaCoapa/img/border-recurso_carrusel.svg");
  border-image-slice: 18% 4%;
}

.ObjetoDigital a {
    color: var(--white);
}


.ObjetoDigital a:hover {
    color: var(--blue-light);
     font-family: "Fredoka-SemiBold", sans-serif;
    /* background-color: var(--red-brick); */
    transform: scale(1.1);
    transition: all 0.2s ease-in-out;
}

.ObjetoDigital:active {
    position: relative;
    top: 1px;
}

.pie-foto-box {
    width: 80%;
}

.box-txt-carrusel {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

/* ============================================================================== */