/* =============================================================
   Mobile / Responsive styles
   Extraído de custom.css — modificar aquí los estilos mobile
   ============================================================= */

@media (max-width: 991.98px) { 
  html {
    overflow-x: hidden;
  }
}

@media (max-width: 991.98px) { 
	#mm-brand {
	    background-size: contain;
	    margin-left: 3vw;
	    max-width: 300px;
	    height: 50px;
	    margin-top: 14px;
	    margin: 0 !important;
	    padding: 0 !important;
	    background-position: center;
	    width: 74vw;
	}
	
	.refine-navbar .navbar-nav.mm-main,
	.refine-navbar .navbar-nav.mm-main .nav-item,
	.refine-navbar .navbar-nav.mm-main .nav-link {
		/*! display: inline; */
	}

	.refine-navbar .navbar-nav.mm-main {
	 display:flex;	
	 flex-wrap: wrap;
	 /*! margin-right: -0.8rem; */
	 /*! margin-left: -0.8rem; */
	}
	.refine-navbar .navbar-nav.mm-main .nav-item {
  	/* margin-left: 0; */
  		/*! margin-right: 1rem; */
   	font-size: 18px;
	}
}

@media (max-width: 767.98px) { 
	.refine-navbar .navbar-nav.mm-main .nav-item {
		  margin-left: 0;
	}
	.brand-wrapper {
		margin-top: -2rem;
	}

	#custom_top_menu.navbar {
	   background-color: transparent !important;
	   align-content: center;
	   height: 78px;
	}


	.lang-menu {
	    padding-left: 0;
	    margin-top: 6px !important;
	    text-align: right;
	    padding-right: 1rem;
	}
	.table-first-column {
		width: auto;
	}
	.mobile-nav-items {
	    display: none;
	}
	.repViewerContCont .repViewerCont img {
	    height: auto;
	    width: 100%;
	}
}

@media (max-width: 911px) {
	.footer-text {margin-top: 2rem !important;font-size: 13px !important;font-weight: 300 !important;margin-bottom: 3rem !important;}
}

@media (max-width: 991px) {
  #custom_top_menu ul.mm-main{background-color: black;}	
}

@media (max-width: 575.98px) {
	.card-body {
			padding: 0.5rem 0;
	}	
}

@media (min-width: 992px) { 
	#repViewerCarousel.jcarousel li {
	    text-align: center;
	    width: 960px;
	}
}

@media (max-width: 767.98px) {
	#detailRepresentationThumbnails {
		align-items: center;
		justify-content: center;
	}
}

@media (max-width: 767.98px) {
	.front .jcarousel-control-prev {
		transform: translateX(0);
		left: 0;
		text-align: left;
	}
	
	.front .jcarousel-control-next {
		transform: translateX(0);
		right: 0;
		text-align: right;
	}
}

@media (max-width: 575.98px) {
	.browse-result-legend {float: none;margin: 0;margin-bottom: 1rem;}
}

@media (max-width: 991px) {
	.navbar-nav.social-menu{display: none;}
	#custom_top_menu .navbar-collapse {
		background-color: transparent;
		bottom: 0;
	}
	.hamburger {
    background-color: white;
	}
	#custom_top_menu .navbar-toggler {
		top: 25px;
		right: 17px;

	}
}

@media (min-width: 992px){
	#custom_top_menu-wrapper.menu_fixed #navbarSupportedContent .mm-main .nav-item {
		margin-top: 0px; 
		margin-bottom: 21px; 
		/*! margin-left: 1rem; */ 
	}
}

@media (max-width: 991.8px){
	#custom_top_menu .navbar-toggler.collapsed {
	  position: static;
	  right: auto;
	  top: auto;
	  margin-top: 0px;
	}
	#custom_top_menu-wrapper.menu_fixed #custom_top_menu .navbar-toggler.collapsed {
	  /*! position: absolute; */
	  /*! right: 16px; */
	  /*! top: 17px; */
	  margin-bottom: -9px;
	}

	.titulo-menu-exposiciones {
		font-size: 22px;
		margin-right: 55px;
		margin-top: 22px;
	}
	.lang-menu{
		display: none;
	}
	.brand-wrapper {
	  margin: 0;
	  padding: 0 !important;
	}
	.col-12.logo-menu-wrapper, .logo-menu-wrapper{padding: 15px !important;align-items: center !important;}
	
	#mm-stiky-brand {
		margin: 0;
		width: 73vw;
		background-position: center;
	}

}

@media (min-width: 768px) and (max-width: 991.98px){
	.card-item, .grid-sizer {
  		width: 33.33%;
	}
	.gutter-sizer {
		width: 0;
	}
}

@media (min-width: 992px){
	#browseResultsContainer {
		width: 100%;
		margin: 2rem auto;
	}
}

@media (min-width: 1200px){
	[id^="browseResultsContainer"] {
   	width: 100%;
   	margin-left: auto !important;
   	margin-right: auto !important;
   	margin-top: 3.5rem;
	}
}

@media (min-width: 1200px) {
	.card-item, .grid-sizer {
		width: 25%;
	}
}

@media (min-width: 1200px) {
  .gutter-sizer {
    width: 0;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
	.card-item, .grid-sizer {
		width: 33.33%;
	}
	.block-browse-filters-options {
	   margin-top: 2.1rem;
  }
}	

@media (min-width: 576px) and (max-width: 767.98px) {
  .card-item, .grid-sizer {
    width: 50%;
  }
}

@media (max-width: 575.98px) {
	.card-item, .grid-sizer {
		width: 50%;
	}
	.bResultItem {
    padding: 1.5rem 1.5rem 0 1.5reminherit;
  }
	.titulo-menu-exposiciones {
	 display: none;
	}
	#bMorePanel.mm #bScrollList {
    column-count: 1 !important;
  }
  .browse-intro {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
	#bRefine.mm {
    margin-top: 2.85rem !important;
    /*! margin-bottom: 3rem; */
    /*! margin-right: 1rem; */
    /*! margin-left: 1rem; */
  }
	.refine-navbar .navbar-nav.mm-main .nav-item {
		/*! margin-left: 1rem; */
		/*! margin-right: 1rem; */
		font-size: 20px;
		line-height: 300%;
		border: 1px solid;
		margin-top: 0.5rem;
		margin-bottom: 0.5rem;
		margin-right: 0;
		background-color: rgb(0, 0, 0);
		color: white;
  }
	.refine-navbar .navbar-nav.mm-main .nav-item a{
		color: white !important;
	}
	.refine-navbar .navbar-nav.mm-main {
	 text-align: center;
	 margin-left: 0;
	 margin-right: 0;
	}
	.block-browse-filters-options {
	   /*! margin-top: 1.5rem !important; */
	   padding: 0rem 1rem;
  }
	#bRefine .navbar-nav.mm-main {
		display: flex;
		flex-direction: column;
		text-align: left;
	}
	/* */
	#bScrollList > div {
		margin-bottom: 2rem;
	}
	#bMorePanel.mm #bScrollList {
    column-count: 2;
  }
}

@media (min-width: 992px) {
	.filters-title {
		/*! display: none; */
	}
	#bRefine .nav-item > i {
		display: none;
	}
}

@media (max-width: 767.8px) {
	.refine-navbar .mm-main .nav-item .nav-link {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }	
	.refine-navbar .mm-main .nav-item:first-child .nav-link {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
	.mm-filter-icon {
		/*! display: inline; */
		color: #ffffffc4 !important;
		/*! font-size: 70%; */
	}
}

@media (max-width: 991.8px) {
	.mobile-seccion-title {
		display: block;
		font-size: 26px;
		font-weight: bold;
		/*! text-align: center; */
		padding: 0rem 0 1rem;
		font-family: IBMPlexSans, "Work Sans", Helvetica, Arial, Roboto, sans-serif;
		text-transform: uppercase;
		letter-spacing: 0.34px;
		color: rgb(0,0,0);
	}
}

@media (min-width: 576px) and (max-width: 991.8px) {
	.block-browse-filters-options {
		/*! display: flex; */
		/*! margin: 1rem 0; */
		margin-top: 1.3rem;
  }
}

@media (max-width: 575.8px) {
	.block-browse-filters-options {
		margin-top: 1.5rem;
  }
	.block-browse-filters-options .filters-title {
		font-size: 26px;
  }
}

/* @media (min-width: 768px) and (max-width: 991.8px) { */

@media (max-width: 991.8px) { 
  .filtered-items {
		display: block; 
		padding: 0;
	}
	.filtered-items .filter-separator {
		display: none;
	}
	.filtered-items .filter {
		display: block
	}
	#bRefine.mm {
  	margin-top: 1.5rem;
  }
	.browse-intro {
		margin: 1.25rem 0 1.75rem;
	}
}

@media (max-width: 767.8px) { 
  .filtered-items {
	}
	.filtered-items .filter {
    margin-top: 1rem;
		margin-bottom: 1rem;
	}
	.filters-title {
		font-size: 26px;
	}
}

@media (max-width: 575.8px) {
	.top-info-moderno-block{
		  text-align: center;
	}
	.filters-title {
		  text-align: center;
	}
  .filtered-items {
	}
	.filtered-items .filter {
	}
	
	.block-browse-filtered-list .filter,
  .block-browse-filtered-list .search {
	 white-space: normal;
	 line-height: 200%;
  }
	.browseRemoveFacet {
		margin-left: 1rem;
	}
	.mobile-seccion-title {
		text-align: center;
	}
	#bRefine.mm {
		margin-top: 3rem !important;
	}
}

/* */

.container.pageheader-main.py-4 {
  padding-top: 1rem !important;
}

/* */

#bMorePanel.mm {
	top: 80px;
	box-shadow: 0px 18px 21px -19px rgba(0,0,0,0.3);
}
@media (max-width: 767.8px) {
	#bMorePanel.mm {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;	
		/*! bottom: 0; */
		display: none;
		/*! box-shadow: none; */
	}
	#bMorePanel.mm .wrapper {
		padding: 2rem;
		margin-top: 0;
	}
	#bMorePanel.mm #scrollWrapper {
    max-height: 65vh;
    padding-left: 1rem;
		padding-right: 1rem;
  }
	#bLetterBar{
		padding-left: 1rem;
		font-size: 1.4rem;
		/*! max-width: 100%; */
		/*! overflow: auto; */
		display: flex;
		flex-wrap: wrap;
	}
}

/* */

#browseResultsContainer .bResultItemImg {
  /*! background-color: rgba(0,0,0,0.075); */
}

/* */

@media (max-width: 991.8px) { 
	.browseRemoveFacet {
	 margin-left: 0.5rem
	}
	.filters-title {
	 font-size: 26px;
	 margin-top: 5px;
	} 
}

/* */

#pills-tab.nav-tabs .nav-item {
  margin-bottom: -1px;
}

#pills-tab.nav-tabs .nav-link {
  /*! border: 1px solid; */
  border-color: transparent;
}

#pills-tab..nav-tabs .nav-link:hover, 
#pills-tab..nav-tabs .nav-link:focus {
    border-color: transparent;
}

#pills-tab.nav-tabs {
	border-bottom: 1px solid black;
	/*! border-bottom: none; */
}
#pills-tab.nav-tabs .nav-link {
  border-radius: 4px 4px 0 0;
	/*! border-radius: unset; */
	padding: 0.4rem 0.5rem 0.5rem; /*! padding-right: 0; */
	/*! margin-right: 2rem; */
  font-weight: 400;
  /*! text-transform: uppercase; */
  font-size: 13px;
}
#pills-tab.nav-tabs .nav-link.active {
	/*! border-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.3) transparent rgba(0, 0, 0, 0.3); */
	border-color: black black white black;
}
#pills-tab.nav-tabs .nav-link,
#pills-tab.nav-tabs .nav-link.active {
	/*! color: rgba(0, 0, 0, 0.3); */
	/*! font-weight: bold; */
}

/* owl carousel */

.carousel_wrapper {
  /*! margin: 4rem 0; */
}

.owl-carousel {
	max-height: 400px;
	/*! overflow-x: hidden; */
}

.frontSlideHeader {
  display: block;
}

.frontSlideHeader img {
  display: block;
  height: 200px;
  width: auto !important;
  /*! border: 1px solid #ccc; */
  /*! padding: 27px; */
  /*! background: white; */
  /*! border-bottom: 1px solid #ccc; */
}

.ca_objects.documents .frontSlideHeader img{
	height: 130px;
}
.ca_objects.photographs .frontSlideHeader img{
	height: auto;
	min-width: 500px !important;
	max-height: 60vh;
}
.owl-carousel .owl-item {
}


.frontSlide {
  padding-right: 5px;
  padding-left: 5px;
}

.frontSlide > div {
  display: table-caption;
}


.frontSlideCaption {
	font-size: 12px;
	padding-top: 24px;
	max-height: 105px;
	line-height: 135%;
	font-weight: 300;
}

.photo .frontSlideCaption {margin-bottom: 20px;padding-top: 10px;}

.frontSlideCaption > div {
  margin-bottom: 3px;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
	position:absolute;
	top: 0;
	width:30px;
	height: 60px;
	transform: translateY(100px);
	text-indent: -9999px;
	background-size: cover;
	background-repeat: no-repeat;
	background-size: 90%;
	background-position: center;
	opacity: 0.2;
}

.owl-carousel .owl-nav button.owl-prev {
	left: -65px;
	background-image: url(../graphics/left.svg);
}
.owl-carousel .owl-nav button.owl-next {
	background-image: url(../graphics/right.svg);
	right: -65px;
	top: 0;
}

/* */

.background-gray {
  padding: 20px 0 0 0;
  background-color: #ccc;
}

.background-red {
  padding: 20px 0 0 0;
  background-color: red;
  /*! color: white; */
}

.background-black {
  padding: 20px 0 0 0;
  background-color: black;
  color: white;
}

.background-black .custom-slideshow-title,
.background-black a {
	color: white;
}

/* */

.home-page {
	background-color: gray;
	padding: 60px 0 0 0;
	height: 80vh;
	background-image: url("../graphics/home_1.jpg");
	background-size: cover;
	background-position-x: center;
	mask-image: linear-gradient(to top, transparent 5%, black 50%);
}
@media (max-width: 991px) {
	.home-page {background-position-x: right -540px;height: 86vh;mask-image: linear-gradient(to top, transparent 5%, black 14%);}
}
/* */

.intro-text br {
  display: block;
  margin: 0 0 12px;
}
.intro-text {
  padding: 3rem 0 4rem 0;
}

/* */

.primary_item_viewer {
  /*! padding: 1rem; */
  text-align: center;
}

.justified-gallery {
  padding-bottom: 3rem;
}

.justified-gallery > a > .jg-caption, .justified-gallery > div > .jg-caption, .justified-gallery > figure > .jg-caption {
  display: initial;
  padding: 0;
  background-color: white;
  color: black;
  font-size: 11px;
  bottom: -57px;
  height: 49px;
  overflow: hidden;
}
.justified-gallery > a > .jg-caption:after, 
.justified-gallery > div > .jg-caption:after, 
.justified-gallery > figure > .jg-caption:after { 
	content: "";
	background: rgb(255,255,255);
  background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 20%, rgba(255,255,255,0) 100%); 
	width: 100%;
	position: absolute;
	bottom: 0; left: 0;
	height: 15px;
}

.justified-gallery > a > .jg-caption.jg-caption-visible,
.justified-gallery > div > .jg-caption.jg-caption-visible,
.justified-gallery > figure > .jg-caption.jg-caption-visible {
  filter: "alpha(opacity=100)";
  opacity: 1;
}

.justified-gallery > a,
.justified-gallery > div,
.justified-gallery > figure {
  position: absolute;
  display: inline-block;
  overflow: initial;
  /* background: #888888; To have gray placeholders while the gallery is loading with waitThumbnailsLoad = false */
  filter: "alpha(opacity=100)";
  opacity: 1;
  margin: 0;
  padding: 0;
}

/* owl-carousel in detail representation viewer*/

.primary_item_viewer img {
  max-height: 95vh;
  max-width: 56vw;
}
.representation-carousel {
  /*! margin-top: 1.2rem; */
  /*! margin-bottom: 2.5rem; */
}
.representation-carousel .frontSlideCaption {
  padding-top: 16px;
}

.primary-item-caption {
  font-size: 12px;
  padding-top: 16px;
  font-weight: normal;
  text-align: left;
  margin-top: 9px;
  display: block;
  font-weight: 300;
}
.primary-item-caption:empty {
	display: none;
}
.justified-gallery-item {
  display: table-caption;
  margin: 0;
}

/* */


#theme-options {
  display: none;
}
#theme-options.show {
  display: block;
  position: absolute;
  height: 20px;
  background: yellow;
  z-index: 10000;
  width: 100%;
  padding: 0 1rem;
  text-align: center;
}

#theme-options-list {
  padding: 0;
  font-size: 12px;
  list-style: none;
}
#theme-options-list li {
  display: inline;
  margin-right: 10px;
}

/* */
.controller-Front .lang-menu .lang > a {
	color: transparent;
	cursor: default;
}

/* */

.epigrafe-viewer {
  margin: 0 auto 0 auto;
  font-size: 14px;
}

.ca_objects .detail-body .metadata {
  margin-top: 3rem;
}

/* */

.primary_item_viewer {
  /*! display: table; */
  margin: 0;
}
.primary_item_viewer > a {
  /*! display: table-caption; */
  min-width: 300px;
}

/* */

.owl-stage-outer {
	max-height: 384px;
}

.representation-carousel .owl-dots {
  display: none;
}

/* */

td > br {
  margin-bottom: 5px;
}
table.table-view {
  font-size: 15px;
}

/* */

.social-icons .list-inline-item:not(:last-child) {
  margin-right: 1.5rem;
}

/* */


.entity-epigraph {
  margin: 1rem 32px 3rem 32px;
  text-align: center;
  font-size: 14px;
}

/* quinquela */

.brand-wrapper {
	padding-top: 14px;
	padding-bottom: 7px;
}

.controller-Front.action-Index .container.pageheader.sticky{
  background-color: rgba(0,0,0,0.5);	
}
.container.pageheader.sticky {
  background-color: rgba(0,0,0,1);
  margin: 0;
  width: auto;
  max-width: none;
}
.controller-Front .container.pageheader.sticky {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}
.col-12.logo-menu-wrapper,
.logo-menu-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 1rem 15px 0.75rem 15px;
}

/* */

#navbarSupportedContent {
  flex-wrap: wrap;
  justify-content: end;
}
.navbar-nav.social-menu .nav-link {
  padding-right: 0;
  padding-left: 0;
}
.social-menu .nav-item {
  margin-right: 10px;
}

#custom_top_menu .navbar-nav.social-menu a.nav-link {
  color:   lightskyblue !important;
  font-size: 11px;
}

/* */

.encabezado-home {
  margin: 0 auto;
  max-width: 1140px;
}
.encabezado-home-wrapper {
  width: 500px;
  padding: 2rem 0;
  margin-top: 8vh;
}
.encabezado-home-wrapper h4 {
	color: white;
	font-size: 40px;
	font-weight: 700;
	line-height: 120%;
}
@media (max-width: 991px) {
	.encabezado-home-wrapper {width: auto;margin-right: 20px;margin-left: 20px;margin-top: 28vh;}
	.encabezado-home-wrapper h4 {font-size: 35px;}
}

.encabezado-home-wrapper .texto-extra,
.encabezado-home-wrapper .texto-extra a{
  color: rgba(255,255,255,0.4);
  font-weight: 300;
}

.encabezado-home-wrapper .texto-extra a{
	text-decoration: underline;
}
.encabezado-home-wrapper .texto-extra a:hover{
	color: rgba(255,255,255,1);
}
.home-search-form {
  margin: 1rem 0;
}

#homeSearchInput.form-control{
  border-radius: 0;
}


#homeSearchInput.form-control::placeholder {
  color: rgba(0,0,0,0.5);
  opacity: 1;
}

/* == browse collections == */

.child-collections-block .list-item .bResultItem {
  display: flex;
  align-items: center;
  background-color: #ddd;
}



.child-collections-block .list-item .bResultItemImg img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  background: white;
  padding: 10px;
  border: 1px dotted;
}
.child-collections-block .list-item .bResultItemText {
  padding: 1rem;
}

.child-collections-block .list_wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* */

.child-collections-block .list-item .content-block-main {
  flex-grow: 1;
  font-size: 15px;
  font-weight: 300;
}
.child-collections-block .list-item .content-block-main > h5 {
	text-transform: uppercase;
	font-size: 26px;
	font-weight: 300;
}
.child-collections-block .list-item .content-block-main > p {
   margin-bottom: 0.3rem;	
   font-size: 17px;
}
.resultBlock dl {
	/*! columns: 2; */
}

.resultBlock dt {
  
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
}
.resultBlock dd {
  font-weight: 300;
  font-size: 17px;
  margin-left: 1rem;
  margin-top: 4px;
}
.collection-header-title {
  /*! text-transform: uppercase; */
  /*! font-weight: 300; */
  font-size: 35px;
  margin-bottom: 2rem;
}
.object-breadcrumb, .object-breadcrumb a {
  /*! text-transform: uppercase; */
  font-size: 13px;
  font-weight: 300;
  margin-bottom: 1rem;
  /*! font-style: italic; */
}

.child-collections-block .list-item .bResultItem {
	background-color: white;
	color: #be5447;
	align-items: center;
	border: 1px solid;
}
.child-collections-block .list-item .bResultItem a {
	color: #be5447;
}
.child-collections-block .list-item .bResultItem .bResultItemImg {
  /*! margin-top: 5px; */	
}

.child-collections-block .list_wrapper.row {
	margin:0;
}

.child-collections-block .list-item .bResultItemText {
	display: flex;
	flex-grow: 1;
	padding: 0 0 0 2rem;
	height: 158px;
	gap: 100px;
}

.child-collections-block .list-item .bResultItemImgPlaceholder {
	    margin: 20% 0;
	    width: 160px;
}

.child-collections-block .list-item a > .bResultItemImgPlaceholder > i {
	color: rgba(255,255,255,0.35);
	font-size: 100px;
}
/* */

.resultBlock dd.paragraph-text {
  font-size: 16px;
  margin-top: 6px;
  margin-bottom: 20px;
  /*! columns: 2; */
  column-gap: 32px;
  /*! column-rule: 1px solid #aaa; */
  /*! column-fill: auto; */
  line-height: 180%;
}
.collection-type {
  text-transform: uppercase;
  font-size: 16px;
  text-align: right;
  margin: 0 0 6px;
  font-weight: 300;
  text-decoration: underline;
}
.object-header-idno {
  font-size: 10px;
  letter-spacing: 1px;
  font-family: monospace;
  text-align: right;
  font-weight: 500;
  margin-bottom: 2.25rem;
}

/* */


.grid .img-top-images {
  display: block;
  aspect-ratio: 1;
  padding: 0.5rem;
  border: 1px dotted;
}

.grid .img-top-images img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  border-top-left-radius: unset;
  border-top-right-radius: unset;
  display: block;
}
.teaser-item-title a {
  font-size: 15px;
  font-weight: 400;
}

.teaser-item-title {
  margin-bottom: 5px !important;
  font-size: 15px;
  line-height: 135%;
}

.teaser-item-title.front-teaser {
	color: rgba(255,255,255,0.75)
}

.teaser-item-title.front-teaser .year{
	font-weight: 200;
	color: rgba(255,255,255,1);
	float: right;
}
.object-idno {
  font-family: monospace !important;
  font-weight: 300;
  font-size: 10px !important;
  letter-spacing: 1px;
}


@media (max-width: 575.98px) {
	.teaser-item-title {margin-bottom:  3px !important;}
	.teaser-item-title a {font-weight: 300;font-size: 13px;margin-bottom: 0 !important;line-height: 110% !important;}
	.teaser-enetity-name{font-size: 14px !important;}
	.teaser-date{font-size: 12px !important;}
}
/* */

.grid.images {
  margin: 0.5rem -9px 0;
}
.grid.images > .grid.images {
	margin: 0 -20px;
}	
@media (max-width: 575.98px) {
	.grid.images > .grid.images {
		margin: 0;
	}	
}
/* */

.browse-main-title {
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 700;
}


.bResultListItemText.media-body {
  font-weight: 300;
  font-size: 14px
}

.bResultListItemText.media-body h5 b{
  font-weight: 300;
  font-size: 16px
}


/* */



.detail-hero {
  display: flex;
  align-items: center;
  height: 95vh;
  margin: 4rem 0 2rem;
  position: relative;
  scroll-margin-top: 2.5vh;
}
.detail-hero-viewer.mm-representation.custom-width a {
  display: block;
  height: auto;
  /*! max-height: 90vh; */
}
.detail-hero-viewer.mm-representation.custom-width a br {
  display: none;
}
.detail-hero-viewer.mm-representation.custom-width a span.primary-item-caption {
  display: none;
}
.detail-hero-viewer.mm-representation.custom-width img {
  max-height: 85vh;
  display: block;
}
.detail-hero-viewer.mm-representation.custom-width {
  margin: 0;
  padding: 0;
  /*! height: auto; */
}

.detail-hero-viewer.mm-representation.custom-width .primary_item_viewer {
  margin: 0;
  padding: 0;
  display: block;
  /*! max-height: 90vh */
}
.detail-hero-header {
  text-align: left;
  margin: 0 0 0 4rem;
}

.detail-hero-header label {
	font-weight: 200;
	margin: 0;
	font-size: 19px;
	margin-top: 1rem;
}

.detail-hero-header .detail-artist {
	font-size: 40px;
	text-transform: uppercase;
	text-align: left;
	font-style: normal;
	font-weight: 100;
}

.detail-hero-header .detail-title {
	font-size: 30px;
	
	text-align: left;
	font-style: normal;
}

.detail-hero-header .detail-date {
  text-align: left;
  font-weight: 200;
  font-size: 19px;
  margin-top: 1rem;
}

/* lista de autores */

.entities-list-item .bResultItemImgPlaceholder,
.entities-list-item img {
  width: 150px;
  height: auto;
}
.entities-list-item .media-body h5 a b {
  font-size: 25px;
  text-transform: uppercase;
  font-weight: 200;
}
.entities-list-item .media-body h5 {
  /*! width: 75%; */
}

/* */


.teaser-enetity-name {
  font-weight: 200;
  text-transform: uppercase;
  font-size: 15px;
  margin-bottom: 4px !important;
  line-height: 135%;
}

.teaser-date {
	 font-weight: 200;
}

/* */

#browseResultsContainer.masonry-grid {
	/*! overflow-x: hidden; */
}

#browseResultsContainer.masonry-grid {
  margin-left: -20.4px; margin-right: -20.4px;		
}

/* */

.work-count {
  font-weight: 400;
  font-size: 10px;
  color: #555;
  text-transform: uppercase;
}

/* */

.fechas_nym {
  font-weight: 100;
  font-size: 27px;
  line-height: 120%;
}
.description-header,
.entity-biographical-details {
  font-weight: 200;
  max-width: 800px;
	font-size: 17px;
	line-height: 180%;
	margin: 50px 0 0 0;
}
.description-header p,
.entity-biographical-details > span,
.entity-biographical-details > div,
.entity-biographical-details p {
	margin-bottom: 11px;
	font-size: 17px;
	line-height: 180%;
	font-weight: 300;
}
 .entity-biographical-details-title {  
   font-style: italic;
   
   font-size: 20px;
   font-weight: 400;
   margin: 28px 0 20px;
}
.entity-epigraph {
   display: none;
}

.collection-fechas,
.entity-fechas {
  font-size: 22px;
  font-weight: 700;
  margin: 12px 0 0 1px;
}
.collection-fechas {margin-top: -18px;margin-bottom: 30px;font-weight: 200;}

/* front page */

.controller-Front.action-Index {
  background: rgba(0,0,0,0.9);
}
.controller-Front.action-Index .frontSlideCaption, 
.controller-Front.action-Index .frontSlideCaption a {
  color: white;
}
.controller-Front.action-Index .carousel_header {
  color: white;
  padding-right: 0;
}
.controller-Front.action-Index .custom-slideshow-title {
  color: white;
  text-transform: uppercase;
  font-weight: 200;
}

.controller-Front.action-Index .carousel_wrapper {
  margin-bottom: 3rem;
}

.controller-Front.action-Index #custom_top_menu-wrapper {
  background: transparent;
}
.controller-Front.action-Index #navbarSupportedContent .mm-main .nav-item a {
  background-color: transparent;
}
.controller-Front.action-Index .custom-slideshow.view-more-link a {
  color: white;
  font-size: 15px;
  font-weight: 400;
}

  
.controller-Front.action-Index #footer.container {
  background: white;
  margin: 0;
  max-width: none;
  padding: 0;
}

.row.justify-content-between.footer-container { 
   padding-top: 5rem;
	 border-top: 1px solid
}
.controller-Front.action-Index .row.justify-content-between.footer-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 5rem;
  margin-top: 0;
  padding-bottom: 0rem;
	border: none;
}

@media (max-width: 991px) {
	.controller-Front.action-Index .row.justify-content-between.footer-container {
		padding-top: 3rem;
	}
}

.controller-Front.action-Index .ca-bbh {
  background: white;
}
/* filtro aplicados */

.nav-item.filter {
}
.block-browse-filtered-list h5 {
  font-size: 13px !important;
  font-weight: 700;
}

/* frontpage bullets */

  
.image-bullet-item {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
#front-bullets {
  padding: 1rem 0 6rem;
  border-bottom: 1px solid white;
  margin: 0 4px 1rem;
}
.image-bullet-item {
  aspect-ratio: 1;
  background-color: gray;
  display: block;
}
.static-front-bullets {
  display: flex;
  margin-right: -15px;
  margin-left: -15px;
  flex-wrap: wrap;
}
.bullet {
  width: 33%;
  color: white;
}

.bullet-container {
  padding: 0 15px;
  padding-bottom: 60px;
}
.bullet-title a {
  color: white;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 200;
}
.bullet-title {
  text-align: center;
  margin: 7px 0 0 0;
}

@media (max-width: 991px) {
	.bullet {width: 50%;}
}

/* */

.typeid,
.object-typeid,
.ocurrence-typeid{
  /*! font-style: italic; */
  font-weight: 300;
  font-size: 16px;
  margin-bottom: 7px;
  text-decoration: underline;
  text-transform: uppercase;
}

/* ocurrences exposiciones */

.ocurrences-detail {
  display: flex;
  justify-content: space-between;
}

.default-object-detail {
  display: flex;
  flex-direction: column;
}

.ocurrences-detail-images {
  order: 2;
  max-width: 25%;
}

.default-object-detail-images {}

.photo .ocurrences-detail-images,
.historical_object .ocurrences-detail-images {
	order: 1;max-width: none;padding: 20px;border: 1px dotted;
}

.photo .default-object-detail-images,
.historical_object .default-object-detail-images
{
	padding: 20px;
	border: 1px dotted;
	margin: 3rem 0;
	/*! display: flex; */
	/*! justify-content: center; */
	/*! flex-shrink: 1; */
	text-align: center;
}

.ocurrences-detail-data {}
.photo .ocurrences-detail-data {order: 2; padding-left: 60px;}

.photo .default-object-detail-data {}

.ocurrences-viewer .justified-gallery-item img,
.default-object-viewer .justified-gallery-item img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border: 1px dotted;
  padding: 10px;
}
.photo .ocurrences-viewer .justified-gallery-item img,
.photo .default-object-viewer .justified-gallery-item img {width: 300px;height: auto;}

.ocurrences-viewer .primary_item_viewer a,
.default-object-viewer .primary_item_viewer a {
  min-width: unset;
  display: inline;
}
.ocurrences-viewer .primary_item_viewer,
.default-object-viewer .primary_item_viewer {
  margin: 0;
  display: block;
  padding: 0;
}
.ocurrences-detail-data {
  /*! padding-left: 40px; */
  max-width: 66.66%;
  order: 1;
}
.default-object-detail-data {}

h2.ocurrences-title,
h2.default-object-title {
  font-size: 44px;
  letter-spacing: -0.75px;
  font-weight: 400;
}

/* */


.secondary-images-viewer {
  /*! border-top: 1px solid; */
}
.jcarousel-wrapper.custom-slideshow {
  /*! padding: 20px 0 0 0; */  
  /*! margin: 0 0 20px 0; */
}
.inside-metadata-block .jcarousel-wrapper.custom-slideshow::before {
  content: "";
  height: 0px;
  background-color:#dee2e6;
  display: block;
  width: 100%;
  position: absolute;
  top: 0;
  /*! padding:20px 0 0 0; */
}

/* */

.ocurrence-header {
  margin-bottom: 2rem;
}

/* */

.ca_occurrences .ocurrences-detail-data-container {
  margin-bottom: 2rem;
}

/* */

.document-date {
  font-weight: 300;
  font-size: 19px;
}

/* */


.description-header {
  /*! font-weight: 300; */
  /*! font-size: 19px; */
  /*! margin-bottom: 20px; */
  /*! padding: 0 15px; */
}
.description-item-title {
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 20px;
  padding: 15px 15px 0;
	position: relative;
}
.description-item-title:before {
	content: "";
  height: 1px;
  background-color: #dee2e6;
  display: block;
  width: 100%;
  position: absolute;
  top: 0; left: 0
}
.readmore-js-toggle {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
  position: absolute;
  bottom: 20px;
  background-color: transparent;
  text-align: right;
  right: 24px;
}
.trimText.readmore-js-section.readmore-js-collapsed:before {
  content: "";
  display:block;
  position:absolute;
  top:0;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(180deg,rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 65%, rgb(255, 255, 255, 0.85) 80%, rgb(255, 255, 255) 95%);
}
.description-header {
  margin-bottom: 0px;
}

/* */

.custom-media-content {
  line-height: 21px;
  padding: 15px;
  font-size: 23px;
  font-weight: 300;
}

.tileviewer div.viewerControls {
	top: 50px;
	padding: 6px 8px;
}

/* */

.archival_institution-intro {
  font-weight: 300;
  margin: 1.5rem 0 2rem;
  font-size: 17px;
  line-height: 180%;
}

.header-archival_institution .collection-header-title {
  /*! line-height: 100%; */
  font-size: 35px;
  font-weight: 400;
  text-transform: none;
}
.section-main-title {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 2rem;
}
.summary-text-block {
  font-weight: 300;
  line-height: 1.6;
}

/* */


.download-pdf {
  /*! border-top: 1px solid #dee2e6; */
}
.download-pdf p {
  margin: 0;
  padding: 1rem 0.5rem;
}
.download-pdf a {
  /*! text-decoration: underline; */
  /*! font-size: 18px; */
}
.download-pdf a > span {
  color: lightblue;
}

/* */

.entity-image {
	/*! max-width: 200px; */
	/*! max-height: 200px; */
	float: left;
	margin: 7px 20px 9px 0px;
}

.entity-image img {
	max-width: 230px;
	max-height: 230px;
	padding: 15px;
	border: 1px dotted;
}

/* */


.logos-footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 4rem;
}
@media (max-width: 991px) {
	.logos-footer {
		flex-direction: column;
		align-items: center;
		gap: 35px;
  }
	.logos-footer a {height: 66px !important;}
}
.logos-footer a {
  display: inline-block;
  height: 80px;
  width: 150px;
  background-repeat: no-repeat;
  background-size: contain;
  filter: grayscale(100%);
  background-position: center;
  opacity: 0.7;
}
.logos-footer a:hover {
	filter: none;
	opacity: 1;
}
.logos-footer a#fl_fbyb {
  background-image: url(../graphics/fbyb.png);
  width: 175px;
}
.logos-footer a#fl_fw {
  background-image: url(../graphics/fw.png);
  width: 125px;
}
.logos-footer a#fl_ia {
  background-image: url(../graphics/ia.png);
  width: 144px;
}
.logos-footer a#fl_mbqm {
  background-image: url(../graphics/mbqm.png);
  width: 159px;
}
.logos-footer a#fl_bac {
  background-image: url(../graphics/bac.png);
	width: 156px;
}

/* */

.jjcarousel.frontSlide-wrapper .teaser-enetity-name {
	font-size: 14px;
}

.jjcarousel.frontSlide-wrapper .teaser-item-title.front-teaser {
	font-size: 13px;
}

.jjcarousel.frontSlide-wrapper .teaser-item-title.front-teaser .year{
	float: none;
	display: block;
}

/* custom pdf viewer */

.loading {
	text-align: center;
	padding: 40px;
	color: #667eea;
	font-size: 18px;
}

.error {
	background: #fee;
	border: 2px solid #fcc;
	color: #c33;
	padding: 15px;
	border-radius: 10px;
	margin-bottom: 20px;
}

.preview-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 8px;
	margin-top: 20px;
}

.page-thumbnail {
	position: relative;
	background: #f5f5f5;
	border-radius: 0;
	overflow: hidden;
	/*! box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
	transition: transform 0.3s, box-shadow 0.3s;
	cursor: pointer;
	border: 1px dotted #aaa;
}

.page-thumbnail:hover {
	transform: translateY(-5px);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-thumbnail canvas {
	width: 100%;
	height: auto;
	display: block;
}

.page-number {
	position: absolute;
	bottom: 5px;
	right: 5px;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 3px 8px;
	border-radius: 5px;
	font-size: 12px;
	font-weight: bold;
}
.empty-space {
  background: transparent;
}
/* Desplazar páginas pares a la derecha */
.page-thumbnail.page-even {
	/* margin-right: -5px; */
}

/* Desplazar páginas impares a la izquierda */
.page-thumbnail.page-odd {
	/* margin-left: -5px; */
}


#navigation {
  margin: 2rem 0 2rem;
  display: flex;
  justify-content: space-between;
}
.nav-button {
  border: none;
  background-color: transparent;
  font-weight: 300;
  font-size: 14px;
  text-transform: uppercase;
}
.page-info {
  font-size: 14px;
  font-weight: 300;
}
.pdf-preview-info {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 14px;
}
#previewContainer {
  /*! min-height: 450px; */
}

/* */

.bResultItemImg > a > img {
	border-radius: 0;
}

 /* */

.page-nav-wrapper {text-transform: uppercase;font-weight: 300;font-size: 12px;}

.fas.fa-angle-double-left,
.fas.fa-angle-double-right {
  color: #aaa;
}

/* */


.artistas-paticipantes {
  columns: 3;
  line-height: 180%;
}
.artistas-paticipantes a {
  font-weight: 300;
	font-size: 18px;
  color: #628462;
}
.mdestacado-title {
  
  font-size: 16px;
  margin: 0 0 25px;
  font-weight: 700;
  text-transform: uppercase;
}
.metadata-destacado {
  margin-bottom: 3rem;
  margin-top: 3rem;
}


.destacado-intro {
  font-size: 17px;
  font-weight: 300;
  line-height: 180%;
  margin-bottom: 3rem;
}
/* */

.mm-main .nav-item .nav-link.filter-menu,
.mm-main .nav-item.filter {
  font-size: 15px;
  font-weight: 300;
  text-transform: uppercase;
  border: 1px solid;
  padding: 5px 6px;
  line-height: 100%;
	color: black;
	background-color: transparent;
}

.controller-Browse.action-works .nav-link.filter-menu,
.controller-Browse.action-works .nav-item.filter,
.controller-Browse.action-historical_objects .nav-link.filter-menu,
.controller-Browse.action-historical_objects .nav-item.filter {
  color: #188dc4 !important;
  border-color: #188dc4;
}
.controller-Browse.action-photographs .nav-link.filter-menu,
.controller-Browse.action-photographs .nav-item.filter,
.controller-Browse.action-documents .nav-link.filter-menu,
.controller-Browse.action-documents .nav-item.filter {
  color: #be5447 !important;
  border-color: #be5447;
}

.controller-Browse.action-works a.nav-link.filter-menu:hover {
  color: white !important;
  background-color: #188dc4;
  border-color: #188dc4;
}

.controller-Browse.action-publications .nav-link.filter-menu {
	color:#c49241
}
.controller-Browse.action-publications a.nav-link.filter-menu:hover {
	background-color: #c49241;
	border-color: #c49241;
	color: white !important;
}

.nav-link.filter-menu::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}


.controller-Browse.action-works #bMorePanel.mm .wrapper,
.controller-Browse.action-works #bMorePanel.mm .wrapper a,
.controller-Browse.action-historical_objects #bMorePanel.mm .wrapper,
.controller-Browse.action-historical_objects #bMorePanel.mm .wrapper a{
  color: #188dc4;
}

.controller-Browse.action-photographs #bMorePanel.mm .wrapper,
.controller-Browse.action-photographs #bMorePanel.mm .wrapper a,
.controller-Browse.action-documents #bMorePanel.mm .wrapper,
.controller-Browse.action-documents #bMorePanel.mm .wrapper a {
  color: #be5447;
}


.controller-Browse.action-publications #bMorePanel.mm .wrapper {
  color: #c49241;
}
.controller-Browse.action-publications #bMorePanel.mm .wrapper a {
  color: #c49241;
}
.controller-Detail.action-publications .default-object-title,
.controller-Detail.action-publications .default-object-typeid{
	/* color: #c49241; */
}
.controller-Detail.action-exhibitions .ocurrences-title,
.controller-Detail.action-exhibitions .ocurrence-typeid{
	/* color: #628462; */
}

.content-block-right {
  display: flex;
  flex-direction: column;
  /*! justify-content: space-between; */
  align-items: end;
  font-size: 12px;
  font-weight: 300;
  font-family: monospace;
  min-width: 110px;
	position: relative;
  margin-top: 4px;
}
.content-block-right > p {
	width: 100%;
	/*! text-align: right; */
	position: relative;
	margin-bottom: 5px;
}
.content-block-right > p::after {
	content: '';
	border-bottom: 1px dotted;
	display: block;
	margin-top: 6px;
}
.content-block-right > p:first-child::before {
	content: '';
	border-bottom: 1px dotted;
	display: block;
	margin-bottom: 7px;
}

.content-block-right .collection_idno {/*! margin: 0; *//*! line-height: 100%; *//*! font-size: 13px; *//*! color: inherit; */}

.controller-Detail.action-works .detailNavBgLeft,
.controller-Detail.action-works .detailNavBgRight {
  transform: translateY(70px);
}

.photo .ocurrences-detail-data .grid-container.col-md-12.mt-0,
.photo .default-object-detail-data .grid-container.col-md-12.mt-0 {
  padding: 0;
  margin-top: 40px !important;
}

#bMorePanel .wrapper.shortlist {
  padding: 0 12px;
}

/* */

#load-more,
#load-all {
	font-size: 13px;
	font-weight: 300;
	margin: 0 0 0 auto;
	background-color: transparent;
	border: none;
	border-radius: 0;
	color: black;
	text-transform: uppercase;
}

/* */


.action-exhibitions .ocurrences-viewer .justified-gallery-item img,
.action-exhibitions .grid .img-top-images,
.action-exhibitions .grid-container .metadata-grid .metadata-item:nth-of-type(2n+1)::before,
.action-exhibitions .grid-container .metadata-grid .metadata-item:last-of-type::after {
  border-color: #628462;
}

.action-publications .default-object-viewer .justified-gallery-item img,
.action-publications .grid .img-top-images,
.action-publications .grid-container .metadata-grid .metadata-item:nth-of-type(2n+1)::before,
.action-publications .grid-container .metadata-grid .metadata-item:last-of-type::after {
  border-color: #c49241;
}

.action-artists .grid .img-top-images,
.action-historical_objects .default-object-viewer .justified-gallery-item img,
.action-historical_objects .grid .img-top-images,
.action-historical_objects .grid-container .metadata-grid .metadata-item:nth-of-type(2n+1)::before,
.action-historical_objects .grid-container .metadata-grid .metadata-item:last-of-type::after {
  border-color: #188dc4;
}

.action-photographs .default-object-viewer .justified-gallery-item img,
.action-photographs .grid .img-top-images,
.action-photographs .grid-container .metadata-grid .metadata-item:nth-of-type(2n+1)::before,
.action-photographs .grid-container .metadata-grid .metadata-item:last-of-type::after,
.action-documents .default-object-viewer .justified-gallery-item img,
.action-documents .grid .img-top-images,
.action-documents .grid-container .metadata-grid .metadata-item:nth-of-type(2n+1)::before,
.action-documents .grid-container .metadata-grid .metadata-item:last-of-type::after {
  border-color: #be5447;
}

.action-publications ul.tools-bar > li > a > .svg_icon > svg > * {stroke: #c49241;}

.action-works .default-object-viewer .justified-gallery-item img,
.action-works .grid .img-top-images,
.action-works .grid-container .metadata-grid .metadata-item:nth-of-type(2n+1)::before,
.action-works .grid-container .metadata-grid .metadata-item:last-of-type::after,
.action-works .imagenavigator{
  border-color: #188dc4;
}

/* */

.imagenavigator {
  border: 1px dotted;
  padding: 28px 20px;
  margin: 0 0 3rem 0;
}


ul.tools-bar {
  padding: 1rem 0;
  margin: 0 0 2rem 0;
  /*! border: 1px dotted; */
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 300;
}

ul.tools-bar > li {}
ul.tools-bar > li > a {font-size: 12px;line-height: 35px;display: inline-block;}
ul.tools-bar > li > a > .svg_icon {}

.col-md-12.tools-bar-wrapper {
  margin: 0rem 0 3rem;
}

/* tree-hierarchy */

/* Estilos del árbol */

.tree-hierarchy {
	list-style: none;
	padding-left: 0;
	margin: 0rem 0 2rem;

	color: #be5447;
}
.tree-hierarchy a {
	color: #be5447;
}

.tree-hierarchy ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
	position: relative;
}

.tree-hierarchy li {
	position: relative;
	padding: 5px 0 5px 20px;
	margin: 0;
	line-height: 24px;
	font-weight: 300;
	font-size: 16px;
}

/* Líneas verticales */
.tree-hierarchy ul::before {
	content: '';
	position: absolute;
	left: 0;
	top: -7px;
	bottom: 0;
	width: 1px;
	background: #be5447;
}

/* Líneas horizontales - conectan con la vertical */
.tree-hierarchy li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 18px;
	width: 16px;
	height: 1px;
	background: #be5447;
}

.tree-hierarchy > li::before {
	height: 0px;
}

/* Nodo del árbol */
.tree-hierarchy li > div > .icon {
	color: #be5447;
	cursor: pointer;
	user-select: none;
}

/* Indicador de expansión/colapso */
.tree-hierarchy li.has-children > div > .icon {
	margin-right: 0px;
	font-size: 14px;
	transition: transform 0.2s;
	vertical-align: middle;
	margin-left: -6px;
	margin-top: 0px;
	display: inline-block;
	width: 13px;
	background-image: url(../graphics/square_minus.svg);
	background-position: center;
	background-repeat: no-repeat;
	/*! line-height: 24px; */
	height: 24px;
	/*! border: 1px solid; */
}

.tree-hierarchy li.has-children.collapsed > div > .icon {
	/*! transform: rotate(-90deg); */
  background-image: url(../graphics/square_plus.svg);
}

/* Ocultar hijos cuando está colapsado */
.tree-hierarchy li.collapsed > ul {
	display: none;
}

/* Eliminar línea vertical después del último elemento */
.tree-hierarchy li:last-child::after {
	content: '';
	position: absolute;
	left: 0;
	top: 19px;
	bottom: 0;
	width: 1px;
	background: white;
}

.tree-item-title .highlight {
  color: black;
  /*! font-weight: 400; */
  text-decoration: underline;
}

/* */

#block-collapsable {
   overflow: hidden;
   max-height: 0;
   opacity: 0;
   transition: max-height 0.5s ease, opacity 0.5s ease;
   /*! margin-top: 2rem; */
   position: relative;
}

#block-collapsable.visible {
  max-height: inherit;
	opacity: 1;
} 

.object-breadcrumb svg * {
  width: 35px;
  height: 35px;
  stroke: #be5447;
}

.block-collapsable-close a {
  color: #be5447;
}
.block-collapsable-close {
  position: absolute;
  right: 0;
  top: 0;
  font-weight: 300;
  z-index: 1000;
}

.total-objs {
  font-size: 11px;
  font-weight: 300;
}

.teaser-item-typeid {
  display: none;
}

.action-archival_objects .teaser-item-typeid {
  display: block;
  font-weight: 200;
  font-size: 13px !important;
}

/* photograp viewer */

.is_primary .photograph-image-img {
  max-height: 90vh;
	max-width: 70vw;
}
.photograph-image-img {
  max-height: 40vh;
	max-width: 40vw;
}
.photograph-item {
  padding: 20px;
  display: inline-block;
}

.photograph-caption {
  font-size: 13px;
  font-weight: 300;
  margin-top: 15px;
}
/* */

.collection_dates:empty {
  display: none;
}

.collection_type {
  text-transform: uppercase;
}

.metadata-pills-wrapper {
	margin-top: 50px;
}

.metadata-pills-wrapper .mdestacado-title {
  margin-bottom: 35px;
}

/* */

.arrow {
  font-size: 75%;
  margin: 0 2px;
}

/* */

.ca_occurrences.exhibitions .teaser-date {
  font-size: 12px;
}

#tools-bar-container {
  padding: 20px;
  top: 60px;
  left: 30px;
  position: fixed;
  z-index: 1000;
  opacity: 0;
	visibility: hidden;
  transform: translateY(-20px);
  pointer-events: none;
	transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s;
}
#tools-bar-container.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
#tools-bar-container ul {
  display: flex;
  flex-direction: column;
}
@media print {
	#tools-bar-container{
		display:none;
	}
}
@media (max-width:1100px){
	#tools-bar-container{
		position: static;
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		padding: 0;
	}
	#tools-bar-container ul {
  flex-direction: row;
  margin: 0;
}
}
@media (max-width:1300px) and (min-width:1199px){
	#tools-bar-container{
		position: static;
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		padding: 0;
	}
	#tools-bar-container ul {
  flex-direction: row;
  margin: 0;
}
}
/* */

button.close {
  opacity: 1;
}

button.close {
  opacity: 1;
}
.modal {
	background: rgba(0,0,0,0.2);
  z-index: 99999;
}

.modal-title {
  text-transform: uppercase;
  font-weight: 300;
  font-size: 26px;
  margin-left: 3px;
  color: #666;
}

/* */

.default-objects-detail.document {
  display: flex;
}
.default-objects-detail.document .default-objects-detail-images {
  order: 2;
}
.default-objects-detail.document .default-objects-detail-data {
  order: 1;
  flex-grow: 1;
}

/* share modal icons */

  
.social-item {
  display: flex;
  align-items: center;
  flex-direction: column;
}
.share-text {
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  margin-top: 11px;
}
.share-items {
  display: flex;
  justify-content: center;
  gap: 40px;
}


.url-display {
  display: flex;
  flex-direction: column;
  align-content: center;
  gap: 20px;
}
.copy-url {
  display: flex;
  justify-content: center;
  margin-bottom: 70px;
}
#urlText {
  font-family: monospace;
  font-size: 13px;
  font-weight: 300;
}
#copyBtn {
  /*! width: max-content; */
  border: 1px solid;
  padding: 3px 9px;
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 500;
  background-color: white;
}

.copy-btn {
  text-align: center;
}

/* */

.controller-Detail.action-artists .svg_icon > svg > g,
.controller-Detail.action-works .svg_icon > svg > g,
.controller-Detail.action-historical_objects .svg_icon > svg > g {
  stroke: #188dc4;
}

.controller-Detail.action-exhibitions .svg_icon > svg > g {
	stroke: #628462;
}
.controller-Detail.action-documents .svg_icon > svg > g,
.controller-Detail.action-photographs .svg_icon > svg > g {
	stroke: #be5447;
}



/* =============================================================
   Pagina "Acerca de" (About/Index.php)
   Estilos trasladados desde el template para mantener
   consistencia con el resto del sitio.
   ============================================================= */


/* Encabezado */
.about-page .page-header {
    text-align: left !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin: 2rem 0;
}
.about-page h1 {
    font-size: 35px;
    font-weight: 400;
    text-align: left;
    margin: 0 0 2rem;
}

/* Cuerpo del texto */
.about-page .content-section {
    margin-bottom: 2rem;
}
.about-page .content-section p {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.6;
    text-align: left !important;
}

/* Parrafo destacado - sin decoracion bootstrap, solo tipografia */
.about-page .highlight-box {
    padding: 0 !important;
    border: none !important;
    background: none !important;
    margin: 1.5rem 0 2rem;
}
.about-page .highlight-box p {
    font-size: 20px !important;
    font-weight: 500 !important;
    font-style: italic !important;
    line-height: 1.55 !important;
    text-align: left !important;
}
.about-page .supporters {
    font-weight: 600;
}

/* Seccion de equipo - sin fondo ni padding */
.about-page .team-section {
    background: none !important;
    padding: 0 !important;
    border-radius: 0;
    margin-top: 3.5rem;
}
.about-page .team-section h3 {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 0.75rem;
    margin-top: 3.5rem;
}
.about-page .team-member {
    margin-bottom: 0.4rem;
    padding: 0.25rem 0;
    line-height: 1.3;
}
.about-page .team-member .role {
    font-weight: 600;
    display: inline-block;
    width: 280px;
}

/* */

.capitalize {
  text-transform: capitalize;
}


/* ============================================================
   MOBILE FIXES — max-width: 575.98px
   Correcciones de responsividad para viewports pequeños (Android)
   ============================================================ */

@media (max-width: 575.98px) {

  /* --- 1. Ficha Técnica: de dos columnas a una columna --- */
  .grid-container .metadata-grid {
    grid-template-columns: 1fr;
    grid-row-gap: 0;
    margin-top: 2rem;
  }

  /* El título del campo va arriba, en una fila separada */
  .grid-container .metadata-grid .metadata-item {
    flex-direction: column;
    align-items: flex-start;
    font-size: 15px;
  }

  .grid-container .metadata-grid .metadata-item .metadata-item-title {
    font-size: 12px;
    padding-top: 10px;
    padding-bottom: 2px;
  }

  /* El separador dotted en una sola columna: ya aparece en todos los items pares */
  .grid-container .metadata-grid .metadata-item:nth-of-type(2n+1) {
    padding-left: 0;
  }

  /* --- 2. Detail de obras: header apilado verticalmente --- */
  .detail-hero {
    flex-direction: column;
    height: auto;
    min-height: unset;
    align-items: flex-start;
    margin: 1.5rem 0 1rem;
  }

  .detail-hero-viewer.mm-representation.custom-width {
    width: 100% !important;
    max-width: 100%;
  }

  .detail-hero-viewer.mm-representation.custom-width img {
    max-height: 60vw;
    width: 100%;
    object-fit: contain;
  }

  .detail-hero-header {
    margin: 1rem 0 0 0;
    width: 100%;
  }

  .detail-hero-header .detail-artist {
    font-size: 22px;
  }

  .detail-hero-header .detail-title {
    font-size: 18px;
  }

  .detail-hero-header .detail-date,
  .detail-hero-header label {
    font-size: 15px;
  }

  /* --- 3. Detail de exposiciones (ocurrencias): layout apilado --- */
  .ocurrences-detail {
    flex-direction: column;
  }

  .ocurrences-detail-data {
    max-width: 100%;
    order: 1;
    width: 100%;
  }

  .ocurrences-detail-images {
    max-width: 100%;
    order: 2;
    width: 100%;
  }

  /* Lista de artistas participantes: una columna, tap targets más grandes */
  .artistas-paticipantes {
    columns: 1;
    line-height: 160%;
  }

  .artistas-paticipantes a {
    display: block;
    padding: 6px 0;
    font-size: 16px;
  }

  /* --- 4. Tabs de Ficha Técnica (fondos): scrollable horizontalmente --- */
  #pills-tab.nav-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid black;
  }

  #pills-tab.nav-tabs .nav-item {
    flex-shrink: 0;
  }

  #pills-tab.nav-tabs .nav-link {
    white-space: nowrap;
    font-size: 12px;
    padding: 0.35rem 0.5rem;
  }

  /* --- 5. Detail de entidades: imagen flotante → bloque arriba --- */
  .entity-image {
    float: none;
    margin: 0 0 1rem 0;
    text-align: center;
  }

  .entity-image img {
    max-width: 160px;
    max-height: 160px;
  }
}
