@font-face {
    font-family: "Optima-Regular";
    src: url("/work/models/memorica/recursos/Type/Optima-Regular.ttf");
}

@font-face {
    font-family: "Optima-Bold";
    src: url("/work/models/memorica/recursos/Type/Optima-Bold.ttf");
}

@font-face {
    font-family: "Optima-BoldItalic";
    src: url("/work/models/memorica/recursos/Type/Optima-BoldItalic.ttf");
}

@font-face {
    font-family: "Optima-Italic";
    src: url("/work/models/memorica/recursos/Type/Optima-Italic.ttf");
}

@font-face {
    font-family: "Optima-ExtraBlack";
    src: url("/work/models/memorica/recursos/Type/Optima-ExtraBlack.ttf");
}

@font-face {
    font-family: "Irish-Spaghetti";
    src: url("/work/models/memorica/recursos/Type/Irish-Spaghetti.ttf");
}

:root {
    --black: #000;
    --white: #FFFFFF;
    --rey-blue: #006ef5;
    --dark-purple: #260747;
    --sky-blue: #d7e2ff;

    --beige: #f0e4ce;
    --orange: #f15a24;
    --purple: #350062;
}


/* barra de navegacion */
#mainNav {
    background-color: var(--dark-purple);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    opacity: .98;
    transition: background-color 0.2s ease;
    z-index: 100;
}

#mainNav .navbar-brand {
    color: var(--white);
}

#mainNav .navbar-nav .nav-item .nav-link {
    color: #6c757d;
    font-size: 0.9rem;
    padding: 0;
}

svg.btnShare>path,
svg.btnShare>rect {
    fill: var(--white);
}

svg.btnShare:hover>path,
svg.btnShare>rect {
    fill: #c5c9ce;
    transition: .35s;
}

svg.btnDescarga:hover>path {
    fill: #c5c9ce;
    transition: .35s;
}


/* ----------------------- MENU ----------------------- */
.mini {
    width: 5.3%;
}

.modal-header h5 {
    color: var(--white);
    font-family: "Irish-Spaghetti", sans-serif;
    font-size: 1.5rem;
}

.button-facebook,
.button-twitter {
    color: var(--darkblue);
    font-family: "Optima-Regular", serif;
    font-size: 1.3rem;
}

svg.button-facebook>path,
svg.button-twitter path {
    fill: var(--darkblue);
}

.button-container {
    position: relative;
    width: 35px;
    height: 27px;
    cursor: pointer;
    transition: opacity .25s ease;
    z-index: 1;
}

.button-container:hover span {
    /* opacity: .7; */
    background: var(--white);

}

.button-container.active .top {
    transform: translateY(11px) translateX(0) rotate(45deg);
    background: var(--white);
}

.button-container.active .middle {
    opacity: 0;
    background: var(--white);
}

.button-container.active .bottom {
    transform: translateY(-11px) translateX(0) rotate(-45deg);
    background: var(--white);
}

.button-container span {
    background: var(--white);
    border: none;
    height: 5px;
    width: 35px;
    position: absolute;
    top: 0;
    left: 0;
    transition: all .35s ease;
    cursor: pointer;
}

.button-container span:nth-of-type(2) {
    top: 11px;
}

.button-container span:nth-of-type(3) {
    top: 22px;
}


/* LOADER */

#loader {
    z-index: 5;
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--gray);
    margin: 0;
}

.loader {
    color: #ffffff;
    font-size: 20px;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    position: relative;
    text-indent: -9999em;
    -webkit-animation: load4 1.3s infinite linear;
    animation: load4 1.3s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

#loader h1 {
    color: #FFF;
}


.overlay {
    z-index: 10;
    position: fixed;
    background: var(--dark-purple);
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    z-index: 1;
}


.overlay.open {
    opacity: 1;
    visibility: visible;
    height: 100%;
}

.overlay.open li {
    animation: fadeInRight .5s ease forwards;
    animation-delay: .35s;
}

.overlay.open li:nth-of-type(2) {
    animation-delay: .4s;
}

.overlay.open li:nth-of-type(3) {
    animation-delay: .45s;
}

.overlay.open li:nth-of-type(4) {
    animation-delay: .5s;
}

.overlay.open li:nth-of-type(5) {
    animation-delay: .55s;
}

.overlay.open li:nth-of-type(6) {
    animation-delay: .6s;
}

.overlay.open li:nth-of-type(7) {
    animation-delay: .65s;
}

.overlay.open li:nth-of-type(8) {
    animation-delay: .7s;
}

.overlay nav {
    position: relative;
    height: 50%;
    top: 40%;
    transform: translateY(-50%);
    font-size: 50px;
    font-weight: 450;
    text-align: center;
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    position: relative;
    height: 100%;
}

.overlay ul li {
    display: flex;
    /* height: 7%; */
    /* min-height: 50px; */
    position: relative;
    opacity: 0;
}

.overlay ul li a {
    font-family: "Irish-Spaghetti", sans-serif;
    font-size: 1.25rem;
    text-align: left;
    display: block;
    position: relative;
    color: var(--white);
    text-decoration: none;
    overflow: hidden;
    line-height: 1;
    padding: 1.5rem 1rem;
    transition: 1S;
}

/* .overlay ul li a:hover {
    transform: scale(1.02);
}
 */

.overlay ul li a:hover:after,
.overlay ul li a:focus:after,
.overlay ul li a:active:after {
    width: 100%;
}

.overlay-menu {
    z-index: 2;
}

a:hover {
    text-decoration: none;
}

.close {
    float: right;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
    opacity: 1;
    border: 0;
    background: none;
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        left: 20%;
    }

    100% {
        opacity: 1;
        left: 0;
    }
}


a.btnMenu:hover,
a.btnMenu_activo {
    color: var(--white);
    transition: .35s;
}

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

.menu-list span {
    color: var(--rey-blue);
}

.menu-list {
    transition: 1s;
}

.menu-list:hover {
    transform: scale(1.02);
    transition: 1s;
}

a.inicio {
    font-size: 4rem !important;
    margin: 0 auto;
}


a.share:focus {
    outline: none;

}

body {
    background-image: url("/work/models/memorica/recursos/exposiciones/rosario_castellanos/img/fondo.png");
    background-size: contain;
    background-repeat: repeat-y;
    background-position: top;
}

/* Header encabezado entrada */
header.masthead {
    background-image: url("/work/models/memorica/recursos/exposiciones/rosario_castellanos/img/inicio.gif");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /* padding-top: 100px; */
    height: 100vh;
    position: relative;
}

.box-titulo,
.box-subtitulo {
    position: absolute;
}

.titulo {
    font-family: "Irish-Spaghetti", sans-serif;
    color: var(--white);
    font-weight: bold;
    line-height: 1.1;
}

.subtitulo {
    font-family: "Optima-Bold";
    color: var(--rey-blue);
    line-height: .9;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.8);
}

.subtitulo span {
    color: var(--white);
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.8);
}


.banner-collapse {
    padding: 1rem 0;
    background-image: url("/work/models/memorica/recursos/exposiciones/rosario_castellanos/img/banner-sala.png");
    background-position: top;
    background-size: cover;
    background-repeat: repeat-y;
    transition: .5s ease-out 10ms;
    -webkit-transition: .5s ease-out 10ms;
    -moz-transition: .5s ease-out 10ms;
    -o-transition: .5s ease-out 10ms;
    cursor: pointer;

}

.banner-collapse-footer {
    padding: 1rem 0;
    background-color: var(--dark-purple);
    transition: .5s ease-out 10ms;
    -webkit-transition: .5s ease-out 10ms;
    -moz-transition: .5s ease-out 10ms;
    -o-transition: .5s ease-out 10ms;
    cursor: pointer;

}

.banner-collapse:hover {
    transform: scale(1.02);
    /* -webkit-box-shadow: 5px 5px 20px 0px rgba(157, 171, 173);
    -moz-box-shadow: 5px 5px 20px 0px rgba(157, 171, 173);
    box-shadow: 5px 5px 20px 0px rgba(157, 171, 173); */
}

span.titulo {
    font-family: "Oswald-Medium", sans-serif;
    color: var(--white);

}

span.titulo2 {
    font-family: "Oswald-Medium", sans-serif;
    color: var(--white);
    font-size: 5rem;
}

h1 {
    font-family: "Oswald-Medium", sans-serif;
    color: var(--white);
}

h2 {
    font-family: "Irish-Spaghetti", sans-serif;
    font-weight: bold;
}

p {
    font-family: "Optima-Regular", serif;
    font-size: 1.5rem;
    text-align: left;
    /* line-height: normal; */
}

p.cita {
    font-family: "Optima-Regular", serif;
    font-size: 1.2rem;
}

.pie-foto {
    font-family: "Optima-Bold";
    font-size: 1rem;

}

.bg-purple {
    background: var(--dark-purple);
}

.dark-purple {
    color: var(--dark-purple);
}

.white {
    color: var(--white);
}

.orange {
    background-color: rgba(241, 90, 36, 0.10);
}

.purple {
    background-color: rgba(53, 0, 98, 0.10);
}

.shape-img {
    float: left;
    shape-outside: polygon(0% -1px, 64% 0%, 63.67% 31.32%, 80.81% 31.61%, 100% 71.31%, 100% 100%, 3px 100%);
    clip-path: polygon(0% -1px, 64% 0%, 63.67% 31.32%, 80.81% 31.61%, 100% 71.31%, 100% 100%, 3px 100%);
}

.audio-box {
    display: grid;
    position: relative;
    justify-content: flex-end;
}

.audio-img,
.audio-img3 {
    position: absolute;
    bottom: 65%;
    right: 10.5%;
}

.audio-box2 {
    display: grid;
    position: relative;

}

.audio-img2 {
    position: absolute;
    bottom: 65%;
    left: 10.5%;
}

a.link-recurso-presentacion {
    color: var(--white);
}

a.link-recurso {
    color: var(--black);

}

a.audio-link:hover,
.link-recurso:hover {
    color: var(--black);
    font-weight: bold;
}

.box-mancha2 {
    position: relative;
}

.mancha2-img {
    position: absolute;
    top: 0;
    left: 0;
}

/* fotos*/

.img-shadow {
    box-shadow: 7px 7px 18px 10px rgba(0, 0, 0, 0.25);
    -webkit-box-shadow: 7px 7px 18px 10px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 7px 7px 18px 10px rgba(0, 0, 0, 0.25);
}

.rotar1 {
    transform: rotate(6deg);
}

.efecto-hover:hover {
    transform: scale(1.050);
    -webkit-transform: scale(1.050);
    -moz-transform: scale(1.050);
    -ms-transform: scale(1.050);
    -o-transform: scale(1.050);
    transition: all 1s ease;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    cursor: pointer;
}

.efecto-hover {
    transition: 1s;
}

.hover-foto {
    transition: 1s;
}

.hover-foto:hover {
    cursor: pointer;
    filter: invert();
    transition: 1s;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    -o-transition: 1s;
    -ms-transition: 1s;
}

.efectoboton {
    transform: scale(1);
    transition: 300ms;
}

.efectoboton:hover {
    transform: scale(1.1);
    transition: 300ms;
}


:focus {
    outline: none;
}

a.input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

*:focus {
    outline: none;
}

a.info-tooltip {
    color: #cc00cc;
}

a.info-tooltip:hover {
    font-weight: bold;
    color: var(--dark-purple);
    cursor: pointer;
}

.tooltip-inner {
    background-image: url("/work/models/memorica/recursos/exposiciones/rosario_castellanos/img/nota.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 200px;
    width: 100%;

}

.custom-tooltip {
    --bs-tooltip-bg: transparent;
    --bs-tooltip-color: var(--black);
    --bs-tooltip-padding-y: 2rem;
    --bs-tooltip-padding-x: 1.5rem;

}


/********/
.btn-popover {
    background-color: transparent;
    border: 0;
    font-family: "Optima-Bold";
    text-transform: uppercase;
    line-height: normal;
    color: #cc00cc;
    padding: 0;
}


.btn-popover:hover {
    color: var(--dark-purple);
}

.popover-content-custom {
    background-image: url('/work/models/memorica/recursos/exposiciones/rosario_castellanos/img/nota.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    color: var(--black);
    padding: 3rem 2.3rem 3rem 3rem;
    width: 309px;
}

.custom-popover {
    --bs-popover-bg: transparent;
    --bs-popover-border-width: 0px;
    --bs-popover-arrow-width: 0rem;
}

.img-cred {
    max-height: 40px;
}

/* 
.custom-popover {
     left: 100px;
    top: 50px;
    transform: translate(-50%);
    position: absolute;
    } */
/*========================================================================================*/


/*media queries*/

@media(max-width:320px) {
    .overlay ul li {
        height: auto;
    }

    .overlay ul li a {
        padding: .65rem 1rem;
        font-size: 1rem;
    }

    a.inicio {
        font-size: 2rem !important;
    }

    .box-img-menu {
        width: 50%;
        translate: 50%;
        position: absolute;
        bottom: 0;
    }

    p {
        font-size: 1rem;
    }

    .overlay-menu {
        margin: 0rem 2.5rem;
    }

    header.masthead {
        background-position: right;
        height: 80vh;
    }

    .box-titulo {
        bottom: 30%;
        left: 8%;
    }

    .box-subtitulo {
        bottom: 0%;
        left: 8%;
    }

    .titulo {
        font-size: 2.8rem;
    }

    .subtitulo {
        font-size: 1.8rem;

    }

    .subtitulo span {
        font-size: 1.4rem;
    }

    .num-sala {
        max-width: 80px;
    }

    .mancha {
        max-width: 80px;
    }

    .audio-img {
        max-width: 100px;
        right: 34%;

    }

    .audio-img2 {
        max-width: 100px;
        left: 34%;
    }

    .pie-foto {
        font-size: .75rem;
    }

    p.cita {
        font-size: .88rem;
    }

    .pie-portada {
        font-size: .8rem;
    }

    .popover-content-custom {
        left: 0px;
        top: 0px;
        transform: translate(-70%);
        position: absolute;
    }

}

@media (min-width:320.98px) and (max-width: 576.98px) {

    .overlay ul li {
        height: auto;
    }

    .overlay ul li a {
        padding: .65rem 1rem;
        font-size: 1rem;
    }

    a.inicio {
        font-size: 2rem !important;
    }

    .box-img-menu {
        width: 50%;
        translate: 50%;
        position: absolute;
        bottom: 0;
    }

    p {
        font-size: 1rem;
    }

    .overlay-menu {
        margin: 0rem 2.5rem;
    }

    header.masthead {
        background-position: right;
        height: 80vh;
    }

    .box-titulo {
        bottom: 22%;
        left: 8%;
    }

    .box-subtitulo {
        bottom: 1%;
        left: 8%;
    }

    .titulo {
        font-size: 2.8rem;
    }

    .subtitulo {
        font-size: 2.8rem;

    }

    .subtitulo span {
        font-size: 1.4rem;
    }

    .num-sala {
        max-width: 80px;
    }

    .mancha {
        max-width: 80px;
    }

    .audio-img {
        max-width: 100px;
        right: 34%;

    }

    .audio-img2 {
        max-width: 100px;
        left: 34%;
    }

    .pie-foto {
        font-size: .75rem;
    }

    p.cita {
        font-size: .88rem;
    }

    .pie-portada {
        font-size: .8rem;
    }
    .popover-content-custom {
        left: 0px;
        top: 0px;
        transform: translate(-70%);
        position: absolute;
    }

}

@media (min-width: 577px) and (max-width: 767.98px) {

    .overlay ul li a {
        font-size: 1.5rem;
        padding: 1rem;
    }

    .overlay ul {
        margin: 0 1rem;
    }

    .overlay ul li {
        height: auto;
    }

    .box-img-menu {
        width: 50%;
        translate: 50%;
        position: absolute;
        bottom: 0;
    }

    p {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .overlay-menu {
        margin: 0rem 3rem;
    }

    header.masthead {
        background-position: right;
        height: 80vh;
    }

    .box-titulo {
        bottom: 28%;
        left: 8%;
    }

    .box-subtitulo {
        bottom: 2%;
        left: 8%;
    }

    .titulo {
        font-size: 4.5rem;
    }

    .subtitulo {
        font-size: 3rem;
    }

    .subtitulo span {
        font-size: 2rem;
    }

    .num-sala {
        max-width: 80px;
    }

    .mancha {
        max-width: 80px;
    }

    .audio-img {
        max-width: 100px;
        right: 34%;

    }

    .audio-img2 {
        max-width: 100px;
        left: 34%;
    }

    .pie-foto {
        font-size: .75rem;
    }

    p.cita {
        font-size: .88rem;
    }

    .pie-portada {
        font-size: .8rem;
    }
    .popover-content-custom {
        left: 0px;
        top: 0px;
        transform: translate(-70%);
        position: absolute;
    }

}



@media (min-width: 768px) and (max-width: 992.98px) {

    .overlay ul li a {
        font-size: 1.7rem;
        padding: 1rem;
    }

    .overlay ul {
        margin: 0 1rem;
    }

    .box-img-menu {
        width: 50%;
        translate: 50%;
        position: absolute;
        bottom: 0;
    }

    .overlay-menu {
        margin: 0rem 3.5rem;
    }

    header.masthead {
        background-position: right;
        height: 80vh;
    }

    .box-titulo {
        top: 22%;
        left: 8%;
    }

    .box-subtitulo {
        bottom: 5%;
        left: 8%;
    }

    .titulo {
        font-size: 6rem;
    }

    .subtitulo {
        font-size: 4rem;
    }

    .subtitulo span {
        font-size: 2.4rem;
    }

    .num-sala {
        max-width: 80px;
    }

    .mancha {
        max-width: 80px;
    }

    .audio-img {
        max-width: 100px;
        right: 34%;

    }

    .audio-img2 {
        max-width: 100px;
        left: 34%;
    }

    .pie-foto {
        font-size: .75rem;
    }

    p.cita {
        font-size: .88rem;
    }

    .pie-portada {
        font-size: 1rem;
    }


}


@media (min-width: 993px) and (max-width:1199.98px) {

    .overlay ul li a {
        font-size: 1.7rem;
        padding: 1rem;
    }

    .box-img-menu {
        width: 50%;
        translate: 50%;
        position: absolute;
        bottom: 0;
    }

    .overlay-menu {
        margin: 0rem 6rem;
    }

    .box-titulo {
        top: 15%;
        left: 8%;
    }

    .box-subtitulo {
        bottom: 5%;
        left: 8%;
    }

    .titulo {
        font-size: 8rem;
    }

    .subtitulo {
        font-size: 5.5rem;
    }

    .subtitulo span {
        font-size: 3.5rem;
    }

    .pie-portada {
        font-size: 1rem;
    }


}



@media (min-width: 1200px) and (max-width:1919px) {

    .overlay ul li a {
        font-size: 2rem;
        padding: 1rem;
    }

    .page-section {
        padding: 1.5rem 0;
    }

    .box-img-menu {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 0%);
        width: 25%;
        height: auto;
    }

    .overlay-menu {
        margin: 0rem 8rem;
    }

    .box-titulo {
        top: 15%;
        left: 8%;
    }

    .box-subtitulo {
        bottom: 5%;
        left: 8%;
    }

    .titulo {
        font-size: 12rem;
    }

    .subtitulo {
        font-size: 7.5rem;
    }

    .subtitulo span {
        font-size: 4.5rem;
    }

    .pie-portada {
        font-size: 1rem;
    }

}



@media (min-width: 1920px) {
    .overlay ul li a {
        font-size: 2.2rem;
        padding: 1.5rem;
    }

    .box-img-menu {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 0%);
        width: 25%;
        height: auto;
    }

    .overlay-menu {
        margin: 0rem 10rem;
    }

    .box-titulo {
        top: 15%;
        left: 8%;
    }

    .box-subtitulo {
        bottom: 5%;
        left: 8%;
    }

    .titulo {
        font-size: 12rem;
    }

    .subtitulo {
        font-size: 7.5rem;
    }

    .subtitulo span {
        font-size: 4.5rem;
    }

    .pie-portada {
        font-size: 1rem;
    }

}