

/* bootstrap 4 tweaks */

.bg-light { /* bg-light de bootstrap es demasiado "light" #modernoBootstrap */
    background-color: #e6f1fd !important;
}
.border-light { /* #moderno */
	border-color: #e6f1fd !important; 
}
.bg-dark { /* #moderno */
    background-color: black !important;
}

.caAudioPlayer{
	text-align: center;
    display: inline-block;
    margin-top: 24%;
}

/* browser drpdown menu  */

.mainfacet .active {
    background-color: white !important;
    color: black !important;
}


/* cada .bResultItem lleva un checkbox que solo se tiene que hacer 
   visible por javascrip #modernoBootstrap */
.bSetsSelectMultiple {
	display: none;
}

/* solo hardcodeando se podria colocar '.card-img-top' a la <img> de 
   .bResultItem (resultados en vistas browse) #modernoBootstrap */
.bResultItemImg > a > img { /* .card-img-top rules */
    width: 100%;
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);

    height: auto;
}

.excerpt {
	min-height: 400px;
	margin-bottom: 2rem;
}

.excerpt .bResultItem {
	border: 1px solid #ddd;
}

.excerpt h5 {
	font-size: 1.5rem;
}

.excerpt .bResultItemImg > a > img {
    width: 33.33%;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    height: auto;
    float: left;
}

.related-statistics {
    column-count: 2;
    margin-top: 1rem;
}
.related-statistics ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

 .row-inner .jscroll-inner {
 	/* bootstrap row */
 	display: -ms-flexbox;
 	display: flex;
 	-ms-flex-wrap: wrap;
 	flex-wrap: wrap;
 	margin-right: -15px;
 	margin-left: -15px;
 }

/* Browse result title */

.browse_result-title > .browse_result-dropdown_icon {
/*   opacity: 0;
   transition: 0.3s; */ /* este icono de menu dropdown  ya no lo usamos */
}

.browse_result-title:hover  > .browse_result-dropdown_icon {
/*   opacity: 1; idem */
}

/* Browse: vista image */

.grid-item {
	width: 200px;
	margin-bottom: 1rem;

	/* styles if no javascript */
	    display: inline-block;
	    vertical-align: top;
	    margin-right: 1.5rem;
}
.page-load-status {
	text-align: center;
	font-weight: bold;
}

/* Browse: vista de lista #modernoBootstrap */

.child_is_row .jscroll-inner, 
.child_is_row .jscroll-added { /* no usado hack para hacer que el div que agrega js sea como bootstrap 'row' */
    display: flex;
    flex-wrap: wrap;
}
.list_wrapper .jscroll-inner, 
.list_wrapper .jscroll-added { /* equivale a row, al final es mas practica esta denominacion */
    display: flex;
    flex-wrap: wrap;
}
.table_wrapper .jscroll-inner, 
.table_wrapper .jscroll-added { /* equivale a row, al final es mas practica esta denominacion */
    /* width: 100%; */
}


.bResultListItem {
/*    display: inline-flex; */
}
.bResultListItem > div{
  /*  width: 100%; */
}

.bResultItemItem .card-body .set-link {
	float: right; 
	margin: 0;
}

/* media item list #modernoBootstrap */

.multisearchImgPlaceholder,
.bResultItemImgPlaceholder {
	width: 100px;
	height: 75px;
	text-align: center;
   display: inline-block;
   vertical-align: middle;
}

.multisearchImgPlaceholder > i,
.bResultItemImgPlaceholder > i {
	font-size: 75px;
	color: gray;
	line-height: 75px;
	opacity: 0.25 ;
}

a > .multisearchImgPlaceholder > i,
a > .bResultItemImgPlaceholder > i {
	color: #007bff;
}


.capitalize {
	text-transform: capitalize;
}
/* search nav #modernoBootstrap */

.hide-if-active.active {
	display: none;
}

/* badge-pill custom #modernoBootstrap */

a.badge-pill.badge-secondary:hover {
	text-decoration: none;
}


.badge-pill.badge-secondary > a:hover {
/*	color: red !important; */
}
.badge-pill.badge-secondary {

    padding-bottom: 0.2rem;
    padding-top: 0.1rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    line-height: 2rem; /* importante para cuando los pills estan inline y necesitan cortarse */
    border: 1px solid;
    background: transparent;
    color: #6c7c8c; /* ToDo: integrar este color a la paleta */
}

.badge-pill.badge-secondary > a {
	margin-left: 0.3rem; 
}

/* card: hide entity name when card is show in entity detail page */

.ca_collections.collections.detail .hide-on-collections-detail,
.ca_entities.entities.individual.detail .hide-on-entity-detail {
	display: none;
}
.ca_entities.entities.individual.detail .title.spotl-on-entity-detail {
	font-size: 18px;
}
.page-load-status {
	display: none;
}

/* */

.tileviewer div.viewerControls {
	top: 52px;
	position: fixed;
}

.table {
	border-bottom: 1px solid #dee2e6;
}

.social-icons {
	text-align: right;
}

/* related blocks */

.detail-related-block {
	padding-top: 3rem;
}
.related-title {
	margin-bottom: 3rem;
	font-size: 25px;
	border-bottom: 1px solid #dee2e6;
	margin-top: 5rem;
	border-top: 1px solid #dee2e6;
	line-height: 40px;
	padding-left: 3px;
}

.grid.images {
	margin-top: 3rem;
}

.masonry-grid {
   /* min-height: 50vh; */
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) { 
}


/* Small devices (landscape phones, 576px to 768px) */
@media (min-width: 576px) and (max-width: 767.98px) { 
}

@media (max-width: 767.98px) { 
	#footer .footer-text{
		text-align: center;
	}
	#footer .row > * {
		margin-top: 1rem;
		margin-bottom: 1rem;
	}
}

#footer .right-block {
	float: right;
}

/* Medium devices (tablets, 768 to 992px) */
@media (min-width: 768px) and (max-width: 991.98px) { 
	#browseResultsContainer.card-columns {
	    column-gap: 3rem;
	    column-count: 3;
	}
	.ca_objects.detail #browseResultsContainer.card-columns,	
	.ca_entities.detail #browseResultsContainer.card-columns {
	    column-gap: 2rem;
	}
	
}

/* Large devices (desktops, less than 1200px) */
/* @media (max-width: 1199.98px) { } */

/* basic styles frontpage carousel */

.front .jcarousel ul li > div a img { max-height: 500px; }
.front .jcarousel .frontSlide { display: table-caption; max-width: 800px;}


@media (max-width: 991px) {
	.jcarousel-wrapper.museomoderno-front {
		margin-left: -15px;
		margin-right: -15px;
	}
}

.front .jcarousel-control-prev, 
.front .jcarousel-control-next {
	background-color: transparent;
	border-radius: 0;
	box-shadow: none;
	position: absolute;
	top: 0 !important;
	height: 500px !important;
}
.front .jcarousel-control-next i,
.front .jcarousel-control-prev i {
	line-height: 500px;
	font-size: 40px;
}

.front .jcarousel-control-next { text-align: center; transform: translateX(75px);}
.front .jcarousel-control-prev { text-align: center; transform: translateX(-75px); }

@media (max-width: 575.98px) { 
	/* front carousel */
	.front .jcarousel li {
		margin: 0;
	}
	.front .jcarousel .frontSlide { /* front page carousel TODO center image! */
		/*    max-width: calc(100vw - 0px); */
		width: 100vw;
	}
	.front .jcarousel ul li > div a img {
	    padding: 0 !important;
		 height: 500px;
		 width: auto;
		 position: absolute;
		 top: -9999px;
		 bottom: -9999px;
		 left: -9999px;
		 right: -9999px;
		 margin: auto;
	}

	.front .jcarousel .frontSlide > a { /* front page carousel TODO center image! */
		width: 100vw;
		height: 500px;
		display: inline-block;
		position: relative;
		overflow: hidden;
	}
	.front .jcarousel-control-next,
	.front .jcarousel-control-prev {
		width: 30vw;
	}
	.front .jcarousel-control-next i,
	.front .jcarousel-control-prev i {
		font-size: 80px;
	}

	.front .jcarousel-control-next i { margin-right: 5vw;	}
	.front .jcarousel-control-prev i { margin-left:  5vw;	}
}
.icon-mirror-x {
	transform: scaleX(-1);
}

/* mm horizontal facet menu */

#bRefine.mm {
    margin-top: -2rem;
    margin-bottom: 2rem;
}
.refine-navbar.mm {
    padding: 0;
}
#bMorePanel.mm {
    position: absolute;
    z-index: 9999;
    width: auto;
    top: 0;
    right: 15px;
    left: 15px;
}
#bMorePanel.mm .wrapper {
    background-color: white;
    padding: 0 0 1.5rem;
    margin-top: 1rem;
}
#bMorePanel.mm #bMorePanelClose {
    position: absolute;
    top: 1rem;
    right: 0.75rem;
}
#bMorePanel.mm #scrollWrapper {
    max-height: 60vh;
    overflow-y: auto;
    margin-top: 2rem;
}
#bMorePanel.mm #bScrollList {
    column-count: 3;
}

#bMorePanel.mm #bLetterBar br {
    display: none;
}
#bMorePanel.mm #bLetterBar a {
    margin-right: 7px;
}
/* */

.block-browse-filtered-list .search,
.block-browse-filtered-list .filter {
	margin-left: 1.5rem;
}

/* */

/* */

.notificationMessage {
	display: block;
	width: 30%;
	position: absolute;
	top: 0;
	background: darkgreen;
	color: white;
	font-weight: bold;
	right: 0;
	padding: 0.5rem;
	text-align: center;
}
.notificationMessage > div > a {
	color: white;
}
.notificationMessage > div {
	float: right;
	margin-right: 0.5rem;
}

/* */

.page-nav-wrapper {
	text-align: center;
	padding: 1rem 0;
	display: table;
	margin: 0 auto;
}

.page-nav-wrapper .nav-arrows > span,
.page-nav-wrapper .nav-pages > span,
.page-nav-wrapper .nav-pages > a {
	padding: 2px 8px;
	border: 1px solid #ddd;
	margin: 0 5px;
}
.page-nav-wrapper .nav-arrows {
	padding: 1rem 0;
	text-align: right;
}

.page-nav-wrapper .nav-pages .current-page{
	border: 1px solid darkred;
}
.page-nav-wrapper .nav-pages .page-sep,
.page-nav-wrapper .nav-pages .pages-label {
	border: none;
}
.page-nav-wrapper .nav-pages .page-sep {
	margin: 0;
}


.load-more-wrapper {
	display: flex;
}
#load-more,
#load-all {
	font-size: 18px;
	font-weight: bold;
	margin: 0 auto;
}
#load-more {
	display: none;
}
/* https://codepen.io/ingomc/pen/ONrMqe */

.circonf {
  margin: 1em;
  display:inline-block;
  width: 3em;
  height: 3em;
  border-radius: 50%;
  border: 4px solid silver;
  animation: circ-anim 0.7s linear infinite; 
}
.circonf-1 {
  border-bottom-color: grey;
}
@keyframes circ-anim {
  from {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}

/* */

.card-item.aligned {
	height: 350px;
}

.card-item.aligned .bResultItemImg > a > img {
	max-height: 200px;
	max-width: 200px;
	width: auto;
}


/* */

.ordered_by {
	font-style: italic;
}

/* */

.btn-secondary > a {
	color: white;
	font-weight: bold;
}
/* */

.multisearch-view-more {
    text-align: right;
    line-height: 2rem;
}

table.table-view {
}

.sort-control-items {
	text-transform: uppercase;
	font-size: 14px;
	font-weight: bold;
	color: rgba(139, 0, 0, 0.6);
}
.sort-control-items.active {
	color: rgba(139, 0, 0, 1);
}
.sort-control-items > i {
	margin-left: 2px;
	display: none;
}
.sort-control-items.active > i {
	display: inline;
}

tr.table-item {
	position: relative;
}
tr.table-item td {
	position: relative;
}

.table-img {
	display: table;
	min-height: 40px;
	width: 60px;
}

.table-img:hover img {
	
	width: 110px;
	height: 75px;
	top: -5px;
	left: -15px;
	/* padding: 10px;
	background-color: white;
	box-sizing: content-box; */
	transition: all 0.1s ease-out 0.7s;
}

.table-img img {
	position: absolute;
	top: 13px;
	left: 11px;
   width: 60px;
   height: 40px;
   transition: all 0.1s ease-out 0s;
   
}

.table-img > .bResultItemImgPlaceholder {
   width: 60px;
   height: 40px;
	display: inline-block;	
   background-color: #eeeef7 !important;
}

.table-img > .bResultItemImgPlaceholder > i {
    font-size: 30px;
    line-height: 40px;
}

/* */

.advanced-search {
    padding-top: 3rem;
}
.advanced-search a {
    color: white;
    font-size: 2rem;
    font-style: italic;
}
/* */

.to-front {
	z-index: 9999;
}
.grid-item {
	background-color: white;
}

.show-more-button.collapsed .hide-more {
	display: none;
}
.show-more-button.collapsed .show-more {
	display: inline;
}
.show-more-button .show-more {
	display: none;
}
.show-more-button .show-more {
	display: none;
}


/* */

.mm-representation {
	border: 1px solid #dee2e6;
}

.justified-gallery > a img {
	border: 1px solid #dee2e6;
}
.download-links-wrapper .download-links {
	opacity: 0; 
	transition: all 0.5s ease-out;
	background-color: white;
	text-align: right;
	overflow: hidden;
	font-size: 13px;
}
.download-links-wrapper .download-links span {
	padding: 0 10px;
	line-height: 30px;
}
.download-links-wrapper .download-links i {

}
.download-links-wrapper .download-links.show {
	opacity: 0.5;
}
/* */

.card-item,
.grid-sizer {
	/* max-width: 200px; */
}
.gutter-sizer {
	/* width: 20px; */
}

@media (min-width: 1200px) { 
	.card-item,
	.grid-sizer {
		width: 300px;
	}
	.gutter-sizer {	
		width: 50px;
	}
}

@media (min-width: 992px) and (max-width: 1199.98px) { 
	.card-item,
	.grid-sizer {
		width: 20%;
	}
	.gutter-sizer {	
		width: 6%;
	}
}

@media (min-width: 768px) and (max-width: 991.98px) { 
	.card-item,
	.grid-sizer {
		width: 20%;
	}
	.gutter-sizer {	
		width: 6%;
	}
}
@media (min-width: 576px) and (max-width: 767.98px) {
	.card-item,
	.grid-sizer {
		width: 40%;
	}
	.gutter-sizer {	
		width: 10%;
	}
}
@media (max-width: 575.98px) {
	.card-item,
	.grid-sizer {
		width: 45%;
	}
	.gutter-sizer {	
		width: 10%;
	}
}

@media (max-width: 350px) {
	.card-item,
	.grid-sizer {
		width: 220px;
	}
	.gutter-sizer {	
		width: 0;
	}
	.masonry-grid {
		max-width: 220px;	
		margin: 0 auto;
	}
}
