div.clear_both {clear: both; }

div.gallery-image-list {
	/*! margin: 0 5px 0 11px; */
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}
div.gallery-image-list div.image {
	float: left;
	margin: 0 5px 5px 0;
}
div.gallery-image-list div.image img {
	border: 1px solid #D9D9D9;
	padding: 3px;
}
div.gallery-image-list div.image a:hover img {
	border: 1px solid #F4D612;
	background-color: #F4D612;
}

div.galleries {
	margin-top: 15px;
	/* border-top: 1px solid #d9d9d9; */
}
div.galleries div.gallery {
	padding: 10px 5px 10px 5px;
	border: 1px solid #4bbe1e;
	float: left;
	clear: none;
	margin: 0 1em 1em 0;
	border-radius: 3px;
	background: #e2e2e2;
	box-shadow: var(--box-shadow-default);
}

div.galleries div.gallery a {
	color: #000000;
}
div.galleries div.gallery strong{font-size:0.6em}
div.galleries div.gallery div.thumbnail {
	float: left;
	margin: 2px 0 8px 8px;
}
div.galleries div.gallery div.thumbnail img {
	border: 1px solid #D9D9D9;
	background-color: #FFFFFF;
	padding: 3px;
}
div.galleries div.gallery div.thumbnail a:hover img {
	background-color: #F4D612;
}

div.gallery {
	/* padding: 10px 0 0 0; */
	clear: both;
	margin: 30px 0;
}

div.gallery h2, div.gallery h3 {
	font-weight: normal;
	padding: 0 0.25em 10px 0.25em;
	line-height: 100%;
	background: url(../../img/default_detail_background.jpg) repeat-x 0 -49px;
	text-align: center;
	margin: 0;
}
div.gallery h2,div.galleries div.gallery h3 a {color: #4d4d4d;}
div.gallery p {	padding: 0 0 10px 0;}
div.gallery div.thumbnail {
	float: left;
	margin: 12px 1%;
	border: 1px solid #aaa;
	position: relative;
	/*! height: 255px; */
	overflow: hidden;
	background-color:#fff;
	flex: 1 0 31%;
	max-width: 31%;
	box-shadow: var(--box-shadow-default);
}

div.galleries div.thumbnail{height:auto}
div.gallery div.thumbnail img {
	/* border: 1px solid #D9D9D9; */
	/* background-color: #FFFFFF; */
	padding: 2px;
	width: 100%;
	height: auto;
}
div.gallery div.thumbnail a:hover img {
	background-color: #F4D612;
}
div.gallery div.backlink {
	clear: both;
	border-top: 1px solid #999999;
	padding: 0 0.5em;
	margin-top: 2px;
}

div.gallery div.part_opac{/* position:relative; *//* max-width: 300px; */}


div.gallery div.list-descr { 
	font-size: 11px; 
}

div.gallery div.detail-descr { 
	font-size: 11px; 
}

div.gallery div.detail-copyr {
	font-size: 10px;
	/*! position: absolute; */
	/*! bottom: 2px; */
	/*! right: 4px; */
	line-height: 12px;
	text-align: right;
}
div.gallery div.detail-copyr  p{
	margin-bottom: 3px !important;
	line-height: 1.0;
	text-align: right;
	padding: 0 3px 6px 0;
}

/* ===== CAPTION */
div.gallery div.detail-info {
	position: absolute;
	bottom: 0;
	background: #fff;
	width: 100%;
	background: rgba(255, 255, 255, 0.8);
	padding: 1%;
}
div.gallery div.caption p { 
	font-size: 10px;
	line-height: 12px; 
	padding: 0 0 0 5px;; 
	margin-bottom: 0;
}

div.gallery hr {
	height: 2px; 
	padding: 0; 
	margin: 0;
	display: none;
}

/* ===== DOWNLOAD */
div.gallery div.fileDownload { 
	margin-top: 5px; 
	padding-top: 5px; 
	border-top: 1px dotted #6770CF;
	min-height: 60px;
}

/* for not avaialbel text */ 
div.gallery div.fileDownload span {  
	display: block;
	text-align: center; 
	padding-top: 15px;
	font-weight: bold;
	color: darkblue;
}

div.gallery div.fileEntry { 
	margin-bottom:2px; 
	padding-bottom: 1px; 
	border-bottom: 1px dotted #ccc;
	min-height: 36px;
}