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

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

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

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

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

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

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

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

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


:root {
    --black: #211d21;
    --white: #FFFFFF;
    --blue-petrol: #365359;
    --purple: #513659;
    --gold: #D9B166;
    --blue-gray: #6BA5B0;
    --turquesa: #66D9C6;
    --beige: #F1D297;
    --green-yellow: #D9CC66;
}


/* barra de navegacion */
#mainNav {
    background-color: var(--blue-petrol);
    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(--gold);
}

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

svg.btnShare:hover>path,
svg.btnShare>rect {
    fill: var(--gold);
    transition: .35s;
}

svg.btnDescarga:hover>path {
    fill: var(--gold);
    transition: .35s;
}


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

.modal-header h5 {
    color: var(--gold);
    font-family: "GentiumBookPlus-Bold", serif;
    font-size: 1.5rem;
}

.button-facebook,
.button-twitter {
    color: var(--blue-petrol);
    font-family: "Gantari-Medium", sans-serif;
    font-size: 1.3rem;
}

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

.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(--gold);

}

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

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

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

.button-container span {
    background: var(--gold);
    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(--gold);
    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(--gold);
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s, visibility .35s, height .35s;
    overflow: hidden;
    z-index: 2;
}

.overlay.open {
    opacity: 1;
    visibility: visible;
    height: 100%;
    /* overflow-y: scroll; */
}

.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 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: block;
    position: relative;
    height: 100%;
}

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

.overlay ul li a {
    font-family: "GentiumBookPlus-Bold", 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;
    width: 100%;
}

/* .overlay ul li:hover {
    opacity: .8;
    width: 100%;
    margin: 0 auto;
    color: var(--red);
} */

.overlay ul li a:hover {
    color: var(--blue-petrol);
}

.overlay ul li:first-child:hover {
    background-color: var(--gold);
}

.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.share:focus {
    outline: none;
}

/*colores background*/
.turquesa {
    background-color: var(--turquesa);
}

.beige {
    background-color: var(--beige);
}

.green-yellow {
    background-color: var(--green-yellow);
}

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

.blue-petrol {
    background-color: var(--blue-petrol);
}

.blue-gray {
    background-color: var(--blue-gray);
}

.gold {
    background-color: var(--gold);
}


/**/

.portada {
    background-image: url("/work/models/memorica/recursos/exposiciones/hpjmi/img/fondo-portada.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100vh;
}


h1 {
    font-family: "GentiumBookPlus-Bold", serif;
    color: var(--white);
}

h2 {

    font-family: "Gantari-ExtraBoldItalic", sans-serif;
    color: var(--purple);
}

h3 {
    font-family: "Gantari-Bold", sans-serif;
    color: var(--purple);
}

h4 {
    font-family: "Gantari-Bold", sans-serif;
    color: var(--purple);
    margin-bottom: 0;
}

p {
    font-family: "Gantari-Medium", sans-serif;
    text-align: left;
    color: var(--purple);
    /* line-height: normal; */
}

.txt-gral-bold {
    font-family: "Gantari-bold", sans-serif;
    ;
}

p.txt-consulta {
    font-family: "Gantari-Semibold", sans-serif;
    margin-bottom: 0;
}


p.txt-resaltado {
    font-family: "Gantari-Bold", sans-serif;
}

p.pie-foto {
    font-family: "Gantari-Medium", sans-serif;
    color: var(--purple);
    font-size: 1rem;
    margin-top: .8rem;
}

.tt-sala {
    font-family: "GentiumBookPlus-Bold", serif;
    color: var(--white);
}


.banner-collapse {
    transition: .5s ease-in-out 10ms;
    -webkit-transition: .5s ease-in-out 10ms;
    -moz-transition: .5s ease-in-out 10ms;
    -o-transition: .5s ease-in-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); */
}

.bg-txt-resaltado {
    background-image: url("/work/models/memorica/recursos/exposiciones/hpjmi/img/fondo_cita.png");
    background-position: center;
    background-repeat: repeat-y;
    background-size: cover;
    width: 100%;
}

div.recuadro-cita {
    background-color: var(--purple);
    border-radius: 0rem 1rem 0rem 1rem;
    padding: 1rem;
}

.txt-cita {
    font-family: "Satisfy-Regular", sans-serif;
    color: var(--white);
}

.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;
}

.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;
}


.box-recuadro-verde {
    border: 20px solid var(--green-yellow);
    height: auto;
    border-image: url("/work/models/memorica/recursos/exposiciones/hpjmi/img/fondo_cita.png");
    border-image-slice: 20;
    border-image-outset: 1;
    background-color: var(--green-yellow);
}

.img-adorno {
    max-width: 50px;
}

.img-btn-sala {
    max-width: 150px;
}

/*tabla*/
table {
    background-color: var(--purple);
    border-color: var(--purple);
}

thead th p {
    color: white;
    padding: 1rem 1rem 0rem;
    text-align: center;
}

tbody {
    background-color: var(--white);
    border: 2px solid var(--purple);
}

td {
    padding: 1rem 1rem 0rem;
    border: 2px solid var(--purple);
}


.recuadro-consulta {
    border: 20px solid var(--purple);
    height: auto;
    border-image: url("/work/models/memorica/recursos/exposiciones/hpjmi/img/recuadro-consulta.png");
    border-image-slice: 20;
    border-image-outset: 0;
}

.link-tooltip {
    font-weight: bold;
    color: var(--purple);
}

/*========cards=====*/
.stat-callout-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 1rem;
}


.flipper .front {
    background-color: var(--white);
    display: grid;
    justify-content: center;
    align-items: center;

}

div.titulo-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

div.titulo-card p {
    color: var(--white);
    font-weight: bold;
    text-align: center;
}

.flipper .back {
    display: grid;
    align-content: center;
    justify-content: center;
    align-items: center;
    justify-items: center;
    padding: 2rem;
}

.flipper .front,
.flipper .back {
    transition: 0.6s ease-in-out;
}

.flipper .back {
    background-color: var(--white);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.flipper {
    transition: all 0.6s ease-in-out;
    transform-style: preserve-3d;
    perspective: 400px;
    position: relative;
}

.flipper:hover {
    transform: rotateY(180deg);
}

.front,
.back {
    backface-visibility: hidden;
}

.front {
    transform: rotateY(0deg);
}

.back {
    transform: rotateY(180deg);
    z-index: -1;
}

@media (min-width:320.98px) and (max-width: 800px) {
    .txt-card {
        font-size: .9rem;
    }
}

@media (min-width:801px) and (max-width: 1200px) {
    .txt-card {
        font-size: 1rem;
    }
}

@media (max-width: 991px) {
    .stat-callout-container {
        grid-template-columns: 1fr;
    }

    .flipper {
        margin: 0 .5rem;
    }
}

.recurso-video:hover {
    text-decoration: underline var(--purple);
    text-decoration-thickness: .15rem;
}

/*================*/

a.btn-recurso {
    font-family: "Gantari-Bold", sans-serif;
    color: var(--purple);
    border: 1px solid var(--purple);
    padding: .5rem;
    border-radius: .5rem;
}

a.btn-recurso:hover {
    background-color: var(--purple);
    color: var(--white);
}


/* .custom-tooltip {
    --bs-tooltip-bg: var(--blue-gray);
    --bs-tooltip-color: var(--bs-white);
    font-family: "Gantari-Medium", sans-serif;
    
} */
.custom-popover {
    --bs-popover-bg: var(--blue-gray);
    --bs-popover-body-color: var(--bs-white);
    font-family: "Gantari-Medium", sans-serif;

}

/*============media queries=====================*/

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

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

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

    p {
        font-size: 1.2rem;
    }

    p.txt-consulta {
        font-size: 1.3rem;
    }

    p.txt-resaltado {
        font-size: 1.3rem;
    }

    .img-btn-sala {
        max-width: 80px;
    }

    h1 {
        font-size: 1rem;
    }

    .img-adorno {
        max-width: 30px;
    }

}

@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;
    }

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

    p {
        font-size: 1.2rem;
    }

    p.txt-consulta {
        font-size: 1.3rem;
    }

    p.txt-resaltado {
        font-size: 1.3rem;
    }

    .img-btn-sala {
        max-width: 100px;
    }

    .img-adorno {}

}

@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;
    }

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

    p {
        font-size: 1.2rem;
    }

    p.txt-consulta {
        font-size: 1.3rem;
    }

    p.txt-resaltado {
        font-size: 1.3rem;
    }

    .img-btn-sala {
        max-width: 120px;
    }

}



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

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

    .overlay ul {
        margin: 0 1rem;
    }

    .overlay ul li:hover {
        width: 100%;

    }

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

    p {
        font-size: 1.2rem;
    }

    p.txt-consulta {
        font-size: 1.3rem;
    }

    p.txt-resaltado {
        font-size: 1.3rem;
    }

    .img-btn-sala {
        max-width: 130px;
    }

}


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

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

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

    .overlay ul li:hover {
        width: 100%;

    }

    p {
        font-size: 1.2rem;
    }

    p.txt-consulta {
        font-size: 1.3rem;
    }

    p.txt-resaltado {
        font-size: 1.3rem;
    }

    .img-btn-sala {
        max-width: 150px;
    }

    a.btn-recurso {
        font-size: 1.2rem;
    }
}



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

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

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

    .overlay ul li:hover {
        width: 100%;

    }

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

    p {
        font-size: 1.2rem;
    }

    p.txt-consulta {
        font-size: 1.3rem;
    }

    p.txt-resaltado {
        font-size: 1.3rem;
    }

    p.txt-cita {
        font-size: 1.4rem;
    }

    a.btn-recurso {
        font-size: 1.2rem;
    }
}


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

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

    .overlay ul li:hover {
        width: 100%;

    }

    p {
        font-size: 1.2rem;
    }

    p.txt-consulta {
        font-size: 1.3rem;
    }

    p.txt-resaltado {
        font-size: 1.3rem;
    }


    p.txt-cita {
        font-size: 1.4rem;
    }

    a.btn-recurso {
        font-size: 1.2rem;
    }


}

@media (max-width:992px) {
    .portada {
        background-image: url("/work/models/memorica/recursos/exposiciones/hpjmi/img/fondo-portada_mb.jpg");
       
    }
}