:root {
    --bs-font-sans-serif: 'Source Sans 3', sans-serif;
    --arest-text-max-width: 41rem;
    --arest-header-title-font-size: 3.5rem;
}

.dx {
    color: #222;
}

html {
    scroll-behavior: auto !important;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.25rem;
    background-color: #343a40;
    color: #fff;
}

body.debug-outline * {
  outline: 1px solid #f00 !important;
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
    font-family: 'Oswald', sans-serif;
}

.arest-text-column,
.arest-notes-container,
.arest-text-col > p,
.container > p,
.tab-pane > p,
.tab-pane > blockquote,
.container > h2,
.container > h3 {
    max-width: var(--arest-text-max-width);
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

@media (min-width: 768px) {
    .arest-text-column,
    .arest-notes-container,
    .arest-text-col > p,
    .container > p,
    .tab-pane > p,
    .tab-pane > blockquote,
    .container > h2,
    .container > h3 {
        text-align: justify;
    }
}

@keyframes bg6 {
    50% { background-position: bottom left }
}

.arest-header {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
}

.arest-header--2 {
    background-image: url('/h/bg/bg-2.jpg');
    animation: bg6 240s infinite;
}

.arest-header--3 {
    background-image: url('/h/bg/bg-3.jpg');
    animation: bg6 240s infinite;
}


.arest-header--4 {
    background-image: url('/h/bg/bg-4.jpg');
    animation: bg6 240s infinite;
}

.arest-header--5 {
    background-image: url('/h/bg/bg-5.jpg');
    animation: bg6 240s infinite;
}

.arest-header--6 {
    background-image: url('/h/bg/bg-6.jpg');
    animation: bg6 120s infinite;
}

.arest-header--7 {
    background-image: url('/h/bg/bg-7.jpg');
    animation: bg6 120s infinite;
}

.arest-header--8 {
    background-image: url('/h/bg/bg-8.jpg');
    animation: bg6 120s infinite;
}

.arest-header--9 {
    background-image: url('/h/bg/bg-9.jpg');
    animation: bg6 120s infinite;
}

.arest-header--10 {
    background-image: url('/h/bg/bg-10.jpg');
    animation: bg6 120s infinite;
}

.arest-header-row {
    display: flex;
    width: 100%;
    justify-content: space-between;
    padding-top: 1rem;
    margin: 0;
}

@media (min-width: 768px) {
    .arest-header-row {
        padding-top: 4rem;
    }
}


.arest-logo-column {
}


.arest-logo {
    height: 52px;
    width: auto;
}

@media (min-width: 768px) {
    .arest-logo {
        /* height: 85px; */
        height: 59px;
        width: auto;
    }
}

.arest-nav-column {
    display: flex;
    justify-content: flex-end;
}

.arest-header .arest-nav-item {
    text-transform: uppercase;
    font-weight: 600;
    display: inline-block;
    margin: 0 0.5rem;
}

.arest-nav-link {
    text-decoration: none;
}


.arest-nav-link:hover,
.arest-nav-active {
    border-bottom: 2px solid #fff;
}


.arest-header .arest-subnav .arest-nav-item {
    font-weight: normal;
}

.arest-page-title-container {
    padding-top: 6rem;
    padding-bottom: 7rem;
}

h1.arest-page-title {
    text-transform: uppercase;
    margin:0;
    padding:0;
    line-height: 1.4;
    font-size: 2.5rem;
}

@media (min-width: 768px) {
    h1.arest-page-title {
        font-size: var(--arest-header-title-font-size);
        max-width: calc(100% - (100% - 41rem)/2);
    }
}

.arest-nav-personaje {
    background-color: #e9ecef;
    text-transform: uppercase;
}

.arest-nav-personaje a {
    text-decoration: none;
}

.arest-nav-personaje ul {
    display: inline-block;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.arest-nav-personaje li {
    display: inline-block;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}



.arest-quote {
    padding-left: 0.5rem;
    padding-top: 2rem;
    margin-left: 0;
    border-left: 1px dashed #ccc;
    position: relative;
    margin-bottom: 2rem;
}

.arest-quote::before {
    content: '”';
    font-family: sans-serif;
    display: block;
    font-size: 5rem;
    line-height: 4rem;
    left: 0.5rem;
    top: 0;
    margin: 0;
    padding: 0;
    position: absolute;
    color: #ccc;
}

.arest-quote em, .arest-quote i {
    color: #222;
}

.container > p,
.tab-pane > p {
    line-height: 1.5;
}

.arest-notes-container {
    text-align: left;
    line-height: 1.5;
}

#arest-scroll-to-top {
}

.arest-header a {
    color: #fff;
}



.arest-more {
    opacity: 0;
    transition: opacity 500ms;
}

a:hover .arest-more {
    opacity: 1;
}

.arest-byline {
    margin-bottom: 2rem;
}

.arest-footer {
    min-height: 20rem;
}

.arest-footer a {
    color: #fff;
}

.arest-footer-text-link {
    text-decoration: underline;
}

html,
body {
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

body.arest-menu-open {
    overflow: hidden;
}

.arest-header-row {
    align-items: center;
    flex-wrap: nowrap;
}

.arest-logo-column {
    width: auto;
}

.arest-nav-column {
    padding: 0;
    position: static;
    width: 0;
}

.arest-menu-toggle,
.arest-menu-close {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #fff;
    display: block;
    height: 3rem;
    padding: 0;
    width: 3rem;
}

.arest-menu-toggle {
    margin-left: auto;
    position: relative;
}

.arest-menu-toggle:focus {
    outline: none;
}

.arest-menu-toggle img,
.arest-menu-close img {
    display: block;
    height: 1.5rem;
    margin: auto;
    margin-top: -1.3rem;
    margin-right: 0;
    width: 1.5rem;
}

.arest-main-nav {
    background: #212529;
    background-size: contain;
    background-image: url('/h/amprenta-opac-indexed.png');
    background-repeat: no-repeat;
    background-position: bottom center;
    bottom: 0;
    font-size: 1.1rem;
    max-width: 90vw;
    overflow-y: auto;
    padding: 1.5rem;
    position: fixed;
    right: 0;
    text-align: left;
    top: 0;
    transform: translateX(105%);
    visibility: hidden;
    width: 26rem;
    z-index: 1051;
}

.arest-main-nav.arest-main-nav-open {
    transform: translateX(0);
    visibility: visible;
}

.arest-header .arest-main-nav .arest-nav-item {
    display: block;
    margin: 0;
}

.arest-header .arest-main-nav .arest-nav-link,
.arest-header .arest-main-nav .arest-nav-active {
    border-bottom: 2px solid transparent;
    display: inline-block;
    margin-bottom: 1rem;
}

.arest-header .arest-main-nav .arest-nav-link:hover,
.arest-header .arest-main-nav .arest-nav-active {
    border-bottom-color: #fff;
}

.arest-menu-close {
    margin-bottom: 1.5rem;
    margin-left: auto;
    position: relative;
}

.arest-menu-close:focus {
    outline: none;
}

.arest-menu-backdrop {
    background: rgb(0 0 0 / 55%);
    border: 0;
    border-radius: 0;
    bottom: 0;
    cursor: default;
    display: block;
    left: 0;
    opacity: 0;
    padding: 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 1050;
}

.arest-menu-backdrop.arest-menu-backdrop-visible {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.arest-nav-sub-items {
    display: block;
    list-style: disc;
    margin-left: 0;
    padding-left: 1.4rem;
}

.arest-nav-sub-items li {
    vertical-align: top;
}

.arest-nav-sub-items a {
    vertical-align: text-top;
}

@media (min-width: 992px) {
    html,
    body {
        overflow-x: visible;
        overscroll-behavior-x: auto;
    }

    body.arest-menu-open {
        overflow: visible;
    }

    .arest-header-row {
        align-items: normal;
    }

    .arest-nav-column {
        width: auto;
    }

    .arest-main-nav,
    .arest-main-nav.arest-main-nav-open {
        background: transparent;
        bottom: auto;
        font-size: inherit;
        max-width: none;
        overflow-y: visible;
        padding: 0;
        position: static;
        right: auto;
        text-align: initial;
        top: auto;
        transform: none;
        visibility: visible;
        width: auto;
        z-index: auto;
    }

    .arest-header .arest-main-nav .arest-nav-item {
        display: inline-block;
        margin: 0 0.5rem;
    }

    .arest-header .arest-main-nav .arest-nav-link,
    .arest-header .arest-main-nav .arest-nav-active {
        border-bottom: 0;
        display: inline;
        margin-bottom: 0;
    }

    .arest-header .arest-main-nav .arest-nav-link:hover,
    .arest-header .arest-main-nav .arest-nav-active {
        border-bottom: 2px solid #fff;
    }

    .arest-nav-sub-items,
    .arest-menu-toggle,
    .arest-menu-close,
    .arest-menu-backdrop {
        display: none;
    }
}


.arest-footer-sigle a {
    text-decoration: none;
}

.arest-footer-sigle a img {
    width: auto;
    filter: grayscale() brightness(85%);
}

.arest-footer-sigle a:hover img {
    filter: none;
}

.arest-sigla-cnsas img {
    height: 7rem;
}

.arest-sigla-mnir img {
    height: 5rem;
}

.arest-scroll-to-top {
    background-color: transparent;
    border:none;
    bottom: 1rem;
    color: #333;
    display: block;
    height: 3rem;
    opacity: 0;
    position: fixed;
    right: 1rem;
    transform: translateY(6rem);
    transition: all 0.6s ease;
    width: 3rem;
    z-index: 1;
}

.arest-scroll-to-top-visible {
    opacity: 1;
    transform: translateY(0);
}
 
p.xendmark::after {
    display: inline-block;
    background-color: black;
    color: black;
    content: " ";
    width: 0.6rem;
    height: 0.6rem;
    margin-left: 0.2rem;
}

.arest-video-list {
   scroll-snap-type: y mandatory;
}


.arest-video-wrapper {
    display: block;
    width: 100%;
    margin-bottom: 3rem;
    outline: none;
    border: 0;
    background-color: transparent;
    scroll-snap-align: start;
}

.arest-video-wrapper figcaption {
    display: block;
}

.arest-video-wrapper p {
    max-width: var(--arest-text-max-width);
}

.arest-h-personaje-cards {
    background-color: #636466;
    color: #fff;
    padding: 2rem 0;
}

@media (min-width: 1200px) {
    .arest-h-personaje-cards h2 {
        font-size: 1.8rem;
    }
}
.arest-h-personaje-cards img {
    max-width: 100%;
    object-fit: cover;
    filter: grayscale();
}

.arest-notes {
    max-width: 100%;
    background-color: white;
    border-width: 1px;
    padding-bottom: 2rem;
}
.arest-notes button {
    border: 0;
    background: transparent;
}

.arest-notes a.sdfootnotesym {
    display: none;
}
