:root {
    --corporate-color: #b71234;
    --bg-color: white;
}

html {
    background-color: var(--bg-color);
}

h1,
h2,
h3 {
    color: var(--corporate-color)
}

p {
    font-size: 1.125rem!important;
}

#menu ul.navigation>li>ul {
    background-color: var(--bg-color);
}

#content .blocks>h2:first-of-type {
    text-align: center;
    font-size: 36px;
    margin-bottom: 24px;
    line-height: 48px;
    font-weight: normal;
}

.page .media-render {
    display: flex;
    flex-basis: min-content;
}

.left .item.resource:first-of-type,
.right .item.resource:first-of-type {
    padding-top: calc(1rem - 1px);
    margin-top: 0;
}

.left .item.resource audio,
.left .item.resource canvas,
.left .item.resource video,
.left .item.resource progress,
.left .item.resource img,
.right .item.resource audio,
.right .item.resource canvas,
.right .item.resource video,
.right .item.resource progress,
.right .item.resource img {
    max-width: 100%;
    vertical-align: bottom;
    margin-bottom: .5rem;
}

.left .item.resource audio,
.left .item.resource canvas,
.left .item.resource video,
.left .item.resource progress,
.left .item.resource img,
.right .item.resource audio,
.right .item.resource canvas,
.right .item.resource video,
.right .item.resource progress,
.right .item.resource img {
    max-width: 100%;
    vertical-align: bottom;
    margin-bottom: .5rem;
}


/* omeka related blocks */

.left.file {
    float: left;
    margin: 0 24px 24px 0;
}

.item-showcase {
    margin: 1rem 0;
    border-top: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    padding: calc(1rem - 1px) 0 0;
    overflow: hidden;
    text-align: center;
    clear: both;
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.item.resource .caption {
    font-size: .875rem;
    line-height: 1.5rem
}

.item.resource .caption * {
    margin: 0 0 1rem 0
}

.item.resource .caption>*:last-child {
    margin-bottom: 0
}

.item-showcase .resource.item {
    vertical-align: top;
    margin-bottom: 1rem
}

.item-showcase .resource.item img {
    margin-right: .5rem;
    max-width: 100%
}

.item-showcase .resource.item:only-child img {
    margin: 0 auto
}

.item-showcase .resource.item:not(:only-child) {
    width: 25%;
    clear: none;
    padding: 0 .5rem
}

.item-showcase .resource.item:not(:only-child) h3 {
    clear: left;
    font-size: 1rem;
    line-height: 1.5rem;
    margin: .5rem 0 0
}

.item-showcase .resource.item:not(:only-child) img {
    max-height: 7rem;
    width: auto;
    float: none;
    margin-right: 0;
    vertical-align: top
}

.right,
.left {
    overflow: hidden;
    max-width: 33.33%
}

.left .item.resource,
.right .item.resource {
    margin: 0 0 1rem 0
}

.left .item.resource:first-of-type,
.right .item.resource:first-of-type {
    padding-top: calc(1rem - 1px);
    margin-top: 0
}

.left .item.resource:last-of-type,
.right .item.resource:last-of-type {
    padding-bottom: -1px
}

.left .item.resource .media-render a,
.right .item.resource .media-render a {
    display: block
}

.left .item.resource audio,
.left .item.resource canvas,
.left .item.resource video,
.left .item.resource progress,
.left .item.resource img,
.right .item.resource audio,
.right .item.resource canvas,
.right .item.resource video,
.right .item.resource progress,
.right .item.resource img {
    max-width: 100%;
    vertical-align: bottom;
    margin-bottom: .5rem
}

.file {
    border-top: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    margin-top: 1rem;
    margin-bottom: 1rem
}

.left.file {
    float: left;
    clear: left;
    margin: 0 1rem 1rem 0
}

.right.file {
    float: right;
    clear: right;
    margin: 0 0 1rem 1rem
}

.center.file {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center
}

.center.file .item {
    width: 100%
}

.left .item.resource>a:first-child,
.right .item.resource>a:first-child {
    vertical-align: top
}

.medium .item.resource>h3,
.square .item.resource>h3 {
    font-size: 16px;
    line-height: 1.5rem
}

.left .item.resource>h3,
.right .item.resource>h3 {
    margin: 0
}

.left .item.resource+p,
.right .item.resource+p {
    margin-top: 0
}

.break {
    width: 100%;
    clear: both;
    border-bottom: 1px solid #dfdfdf;
    padding-bottom: -1px;
    margin: 1rem 0
}

.break.transparent {
    border-color: transparent
}

.break.opaque {
    border-color: #dfdfdf
}

.preview-block {
    margin: 1rem 0;
    overflow: hidden;
    width: 100%;
    clear: both
}

.toc-block>ul {
    margin: 1rem 0;
    list-style-type: none;
    border-left: 5px solid #dfdfdf
}

.toc-block>ul>li {
    margin-bottom: .5rem
}

.toc-block>ul>li>a {
    font-weight: bold
}

.toc-block ul ul {
    list-style-type: none;
    padding-left: 0
}

.toc-block ul ul ul {
    padding-left: 1.25em
}

.toc-block ul ul li:before {
    content: "\2014";
    color: #dfdfdf
}

.item-with-metadata {
    width: 100%;
    overflow: hidden;
    margin: 1rem 0
}

.item-with-metadata .show.resource {
    margin: 2rem 0
}

.list-of-sites .site-list .site {
    margin-bottom: .5rem
}

.list-of-sites .site-list .site-link {
    display: inline-block;
    font-size: 1.25rem;
    margin-bottom: .25rem
}

.list-of-sites .site-list .site-summary {
    margin: 0 0 0 .5rem;
    line-height: 20px
}


/* end omeka related */

.page .site-page-pagination {
    padding-top: 11px;
    margin-top: 48px;
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.page #content .breadcrumbs+.blocks,
.page #content .blocks:first-child {
    width: 100%;
}

.page #content {
    display: flex;
    flex-wrap: wrap;
}

.file {
    margin-top: 1.55em;
}


/* .blocks>.left.file,
.blocks>.right.file {
    margin-top: 1.55em;
} */


/* .center.medium.file {
    margin-top: 4em;
} */

.blocks p {
    line-height: 31px;
}

.file {
    border-top: unset;
    border-bottom: unset;
}

.caption p {
    margin: unset;
}

#menu ul.navigation {
    flex-wrap: wrap;
}

.left.medium.file {
    margin-right: 3em;
}

.right,
.left {
    overflow: hidden;
    max-width: 100%;
}

.attachments {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.item.resource {
    flex: 1;
    padding: 0.6em;
    min-width: 20em;
}

.block.block-assets {
    margin-top: 2em;
    text-align: center;
    padding: 2em;
}

.page #content {
    display: flex;
    flex-wrap: wrap;
    max-width: 2000px;
    /* text-align: center; */
}

.blocks p {
    font-weight: normal;
    line-height: 31px;
    padding: 1em;
}

.listado-exposiciones .grid-slider {
    justify-content: unset;
}

.listado-exposiciones .grid-slider .grid-item {
    flex-basis: 30%;
}

.listado-exposiciones .grid-slider .grid-item a {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-width: 15em;
    flex-wrap: wrap;
    gap: 0.5em;
}

.grid-item a img {
    width: 25em;
    min-height: 25em;
    object-fit: cover;
    height: 20em;
    border-top-left-radius: 1em;
    border-top-right-radius: 1em;
}

.listado-exposiciones .grid-slider .grid-item {
    flex-basis: 20%;
    background: white;
    max-width: 20%;
    min-height: 10em;
    border-radius: .25rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .25);
    color: #1a1a1a;
    font-size: .875rem;
    height: auto;
    line-height: 1.1875rem;
    transition: box-shadow .25s;
    min-width: 15em;
    border-radius: 1em;
}

.title {
    font-size: 1.45em;
}

.subtitle {
    font-weight: lighter;
    padding: 1em;
}

#content {
    width: 80%;
    margin: 0 auto;
}

.lib-block-image img {
    display: block;
    margin: 0 auto;
    object-fit: contain;
    /* width: inherit; */
    min-width: 100%;
    padding: 2em;
}

.lib-block-list-sites-pages ul li {
    padding: 1em;
    margin: 0.25em;
    background: rgba(0, 0, 0, .7);
    border-radius: 1em;
}

.lib-block-list-sites-pages ul li a {
    color: white;
    padding: 0 2em
}

.secondary_nav {
    margin-top: 0 !important;
}

.secondary_nav .navigation li a {
    color: grey;
    margin-top: 0 !important;
}

.secondary_nav .navigation .active a {
    color: black;
}

#title .logo {
    margin: auto;
    padding: 1.5em;
    max-height: 8em;
    object-fit: cover;
}

#search-form {
    display: initial;
    flex-direction: row-reverse;
    /* align-content: center; */
    align-items: center;
    display: flex;
}

#search-form input {
    border: solid 1px #b71234;
    border-radius: 2em;
    padding: 0.66em 0.75em;
    background-color: white;
    font: 400 1.5em 'Quattrocento', sans-serif;
    outline: none;
    font-size: 0.75em;
    /* padding: 0; */
    min-width: 10em;
}

#search-form button {
    width: 3rem;
    height: 3rem;
}

#title {
    padding: unset;
    border: solid 1px #b71234;
}

#menu {
    border-top: solid 1px #b71234;
    border-bottom: solid 1px #b71234;
    /* margin-top: 1rem; */
}

footer .col-4>* {
    text-align: center;
    font-size: 1.15em;
}


/* .inicio {
	margin-top: -2em;
} */

#title {
    max-width: 40em;
}

.lib-block-list-sites-pages ul li {
    padding: 1em;
    margin: 0.25em;
    /* background: rgba(0,0,0,.7); */
    /* border-radius: 1em; */
    /* background-image: url("https://images.ctfassets.net/i01duvb6kq77/3VNy5JLKn2gztjCpXcsNVy/b5064542fb3a96ff182e656f04982530/Membranophones_cover.jpg?fm=jpg&fl=progressive&q=50&w=800&h=800"); */
    background-size: cover;
    position: relative;
}

.lib-block-list-sites-pages ul li::after {
    content: "";
    /* background: rgba(0,0,0,.7); */
    border-radius: 1em;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #A1A1A1A8;
}


/* 
.lib-block-list-sites-pages ul li a:hover::after {
	content: "";
	background: rgba(0,0,0,.7);
	border-radius: .375rem;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
} */

.lib-block-list-sites-pages ul li:hover::after {
    opacity: 0.2;
}

.lib-block-list-sites-pages ul li a.active::after {
    opacity: 0.2;
}


/* #content .blocks{
        width: 80%!important;
    } */

.lib-block-list-sites-pages ul li a {
    color: white;
    padding: 0 2em;
    position: relative;
    z-index: 2;
    width: 100%;
    display: inline-block;
}

.lib-block-list-sites-pages ul .active::after {
    background: transparent;
}

.lib-block-list-sites-pages ul {
    list-style: none;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--corporate-color)!important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--corporate-color)!important;
}

.lib-block-item .item-title {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.lib-block-item img {
    display: flex;
    flex-direction: column;
    text-align: center;
    order: -1;
}

#menu ul.navigation>.active>a {
    color: var(--corporate-color);
}

.secondary_nav .navigation .active .active a {
    color: var(--corporate-color);
}

.nav-prev>*,
.nav-next>* {
    color: var(--corporate-color);
    font-size: 13px;
}

.swiper-slide img {
    max-height: 25em;
}

.swiper-slide img {
    max-height: 90vh;
    /* min-height: 20em; */
    object-fit: contain;
}

.grid-container.masonry {
    display: flex;
}

.lib-block-item img {
    max-height: 30em;
    object-fit: contain;
}

a:hover {
    color: var(--corporate-color);
}

.lib-block-item-gallery .grid-item h5 {
    margin-bottom: 2em;
}

footer {
    padding: 0;
}

#copyright a:hover {
    color: white;
}

.lib-block-header {
    width: 100%;
    height: 30em!important;
}

.lib-block-header .background {
    height: 100%
}

#content {
    width: 100%;
}

.personas-clave .swiper-slide img {
    max-height: 20em;
    min-height: 20em;
    object-fit: contain;
}

.lib-block-text .text p:first-of-type {
    margin-top: 0;
    padding-top: 0;
}

.lib-block-item .item-title {
    gap: 1em;
}

.lib-block-item .item-title:hover {
    color: var(--corporate-color);
}

.listado-exposiciones .grid-slider .grid-item:hover {
    -webkit-box-shadow: 5px 5px 5px 0px rgba(192, 192, 192, 0.75);
    -moz-box-shadow: 5px 5px 5px 0px rgba(192, 192, 192, 0.75);
    box-shadow: 5px 5px 5px 0px rgba(192, 192, 192, 0.75);
}

.lib-block-item-gallery img {
    border-radius: 1em;
}

.lib-block-item-gallery .grid-item a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.evaluaciones .grid-item {
    flex: 1 1 22.333%;
    min-width: 10em;
}

.evaluaciones .grid-item .item-title {
    display: none;
}

#menu ul.navigation {
    font-size: 1.15rem;
}

.lib-block-item-gallery .grid-slider .grid-item {
    flex: 1 1 20%;
}

.title-separator {
    margin-bottom: 1em;
    margin-top: 2em;
}

#customNav {
    margin-top: 4em;
}

#customNav ul li {
    padding: 1em;
    margin: 0.25em;
    /* background: rgba(0,0,0,.7); */
    /* border-radius: 1em; */
    background-image: url(https://images.ctfassets.net/i01duvb6kq77/3VNy5JLKn2gztjCpXcsNVy/b506454…/Membranophones_cover.jpg?fm=jpg&fl=progressive&q=50&w=800&h=800);
    background-size: cover;
    position: relative;
    padding: 1em;
    margin: 0.25em;
    background: rgba(153, 146, 146, 0.7);
    border-radius: 1em;
    list-style: none;
    padding: 1em;
    margin: 0.25em;
    background: rgba(0, 0, 0, .7);
    border-radius: 1em;
    background-repeat: no-repeat;
}

#customNav {
    width: 100%;
}

#customNav ul li::after {
    content: "";
    /* background: rgba(0,0,0,.7); */
    border-radius: 1em;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: #A1A1A1A8;
    z-index: 1
}

#customNav ul .active::after {
    background: transparent;
}

#customNav ul li:hover::after {
    opacity: 0.2;
}

#customNav ul li a {
    color: white;
    padding: 0 2em;
    position: relative;
    z-index: 2;
    width: 100%;
    display: inline-block;
}

.item-actions {
    margin: auto 0 0;
    display: flex;
    gap: 10px;
}

.download_google {
    color: #f5eeee;
    width: 3em;
    border-radius: 18em;
    height: 3em;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #b71234;
    text-align: center;
}

.view_google {
    background-image: url(../icon/google_red.png);
    background-size: cover;
    background-repeat: no-repeat;
    width: 3em;
    height: 3em;
}

.notification_icon {
    border-radius: 100%;
    background-color: white;
    border: #b71234 solid 2px;
    width: 3em;
    height: 3em;
    background-image: url('../icon/notificacion.png');
    background-size: 90%;
    background-repeat: no-repeat;
    cursor: pointer;
    background-position: center;
}

body.item.show main#content {
    background-color: rgba(40, 40, 40, 0.85);
    border-radius: 75px;
    padding: 4em 5em;
    color: white;
}

body.item.show main#content h3 {
    color: white
}

.imagen-item img {
    max-height: 30em;
    object-fit: contain;
    padding: unset;
}

.lib-section {
    margin: 0;
}

.lib-row {
    margin-bottom: 0;
}

.lib-block-advanced-search form .advanced-search-content>* {
    padding: 1em;
}

.grid-item a {
    display: flex;
    flex-direction: column;
}

.grid-item {
    flex: 1 1 43.333%;
    min-width: 15em;
}