﻿#yearfilter
{
	display:block;
	width:100%;
	margin-bottom:20px;
	height:30px;
}

#yearfilter li
{
	display:table;
	float:left;
	padding:0px 5px;

}

#contentbox
{	
	display:table;
	width:98%;
	margin:0 1%;
}

h1
{
	color:#fff;
}

li.collection img
{	
    width:100%;
}
/*
#lightbox-image-details-caption
{
	font-size:1.2em;
}

#lightbox-image-details-caption a
{
	float:right;
	width:120px;
	display:block;
	font-size:1.2em;
}*/

.lbimage
{
	display:none;
}

img.bgmaximage {position:fixed !important;}

.image
{
	display:table;
	width:100%;
}

.titlepress
{
	color:black;
	width:100%;
	display:block;
	text-align:center;
	padding:5px 0px 10px 0px;
}

.collection div.namehide
{
	display:none;
	font-size:1.2em;
	color:Black;
	width:100%;
	margin-bottom:4px;
	/*margin-top:-100%;*/
	
	opacity:0.5;
	filter:alpha(opacity=50);
}

/*.collection:nth-child(4) div
{
	display:block;
}
*/
.collection:hover div.namehide
{
	display:block;
}

.collection div.namehide a
{
	float:left;
	height:25px;
	padding-top:6px;
	display:block;
	width:80%;
	margin-left:10%;
	text-align:center;
	color:white;
	background:black !important;
	margin-top:20px;
	/*display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;*/
}
	
.collection div.namehide a:first-child
{
	margin-top:230px;
}

#lightbox-secNav
{
	position:absolute;
	top:5%;
	left:95%;
}

#lightbox-image-details-currentNumber
{
	display:none !important;
}

#lightbox-image-details
{
	display:block;
	width:100%;
	min-height:40px;
	float:left;
	/*margin:0px auto;*/
	position:absolute;
	left:0%;
}

.imadescrip
{
	display:block;
	background:white !important;
	color:Black !important;
	width:100%;
	height:30px;
	padding-top:15px;
}
	 

#jquery-lightbox
{
	top:0px !important;
	margin-top:0px !important;
}

#lightbox-nav-btnPrev, #lightbox-nav-btnNext
{
	margin-top:20% !important;
	height:50px !important;
}


/*** zoom ***/

#zoombg
{
	position:fixed;
	display:none;
	width:100%;
	height:100%;
	left:0px;
	top:0px;
	z-index:2000;
	background:white;
	opacity:0.7;
	filter:alpha(opacity=70);
}

.popupzoom
{
	position:absolute;
	display:none;
	width:100%;
	left:0px;
	margin-top:-400px;
	z-index:2000;
}

.popupzoom > a
{
	position:fixed;
	top:50px;
	right:50px;
	float:left;
	width:100%;
}

.popupzoom a img
{
	width:40px;
	float:right;
	margin-right:calc(50% - 625px);
}

.popupzoom > img
{
	width:1000px !important;
	/*margin:20px auto !important;*/
	margin-left:calc(50% - 500px);
}
	
li.collection
{		
	display:block;
	float:left;	
	width:19%;
	overflow:hidden;
	margin:0 0.5% 8px 0.5%;			
}

@media only screen and (max-width:1200px) 
{
	li.collection
	{
		width:23%;
	}
}

@media only screen and (max-width:850px)
{
	li.collection
	{
		width:48%;
		margin:0 1% 8px 1%;	
	}
	
	/*li.collection.position0
	{
		margin-left:0;
		clear:left;
	}*/
}

@media screen and (max-width:729px)
{
	li.collection
	{			
		width:90%;	
		margin:0 5% 8px 5%;		
	}	

	.popupzoom > img
	{
		width:90% !important;
		margin-left:5%;
	}

	.popupzoom a img
	{
		margin-right:5%;
		margin-bottom:5%;
	}

	.popupzoom > a
	{
		position:relative;
		right:0px;
		top:0px;
	}
}