html, body {
	margin: 0;
	padding: 0;
	background-color: #f8f0e8;
	color: #222;
	font-family: helvetica, sans-serif;
	height: 100%;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
	padding: 0 0 1em 0;
	margin: 0;
}

p {
	padding: 0;
	margin: 0 0 1em 0;
}

a:link, a:hover, a:active, a:visited {
	text-decoration: none;
	border-bottom: 1px solid;
	color: #333;
}

a:hover {
	color: #777;
}


/***MAIN***/

#footer {
	float: left;
	clear: both;
}

#stripes {
	position: absolute;
	top: 52px;
	width: 100%;
	height: 59px;
	z-index: 1;
	background: transparent url('../images/bg-horizontal-stripe.png') top left repeat;
	opacity: .4;
	display: none;
}

#main {
	position: absolute;
	left: 32%;
	width: 60%;
	height: 100%;
	max-width: 660px;
	font-size: 12px;
	margin-top: 60px;
	z-index: 10;
}

	#main .main-holder {
		float: left;
		width: 100%;	
		padding-bottom: 100px;
	}

	#main h1 {
		margin-bottom: 0;
		padding-bottom: 0;
		font-family: "Merriweather", georgia, serif;
	}

	#main .item-header {
		position: relative;
		width: 100%;
		overflow: hidden;
		cursor: pointer;
		clear: both;
	}

	#collection-items {
		float: left;
		clear:both;
		margin-bottom: 1em;
	}

	body.collections.show #main #collection-items .item-header {
		width: 49%;
		float: left;
	}

		body.collections.show #main #collection-items .item-header.odd {
			margin-left: 2%;
		}

		#main .item-header .description, #main .item-text-header .description {
			font-family: "Merriweather", georgia, serif;
			font-size: 1.2em;
			margin-bottom: 0;
		}

			body.collections.show #main .item-text-header h1 {
				margin-bottom: .5em;
				font-size: 1.8em;
			}

			body.collections.show #main #collection-items .item-text-header h1 {
				margin-bottom: 0;
				font-size: 1.4em;
			}			

			body.collections.show #main .item-text-header .description {
				font-size: 1.4em;
			}

			body.collections.show #main #collection-items .item-text-header .description {
				font-size: 1.2em;
			}

		#main .item-header .description {
			margin-bottom: 0;
		}

	#main .item-header .item-return {
		display: none;
	}

	#main .item-text-header {
		padding: 1em;
		margin: -10px 0 2em 0;
		width: 80%;
		background-color: #fff;
		top: 260px;		
		border-top: 2px solid #222;
		color: #333;
	}

		body.collections #main .item-text-header {
			position: relative;
			top: 0;
		}	

	#main .date {
		margin-bottom: 0;
		text-transform: uppercase;
		font-size: .9em;
		font-weight: bold;
	}

	#main h2, #main #collection h3, #main #item-tags h3, #main #item-citation h3 {
		text-transform: uppercase;
		font-size: 1.2em;
	}

	#main h3 {
		font-size: 1em;
	}

	#main .dublin-core, #main #collection, #main #item-tags, #main #item-citation {
		float: left;
		width: 100%;
	}

	#main #collection, #main #item-tags, #main #item-citation {
		margin-bottom: 1em;
	}
	
	#main .dublin-core {
		margin-bottom: 1em;
	}

	#main .dublin-core .element-set, #main #item-files-other {
		float: left;
		width: 100%;
		margin-bottom: 2em;
	}

	#main .element {
		float: left;
		width: 100%;
		clear: both;
		padding: .75em 0;
		margin: 0;
	}

	#main .element-set .element.even {
		background-color: #fff;
	}

	#main .element-set .element .element-text {
		margin-left: 11em;
		max-width: 35em;
	}

	#main .element-set h3 {
		margin: 0 0 0 1em;
		display: inline-block;
		float: left;
		width: 10em;
		padding: 0;
	}


/***HOME***/

#home-collection .item-text-header { 
	position: relative;
	border-top: none;
	font-size: 20px;
	padding: 0;
	margin: 0;
	width: 100% !important;
	top: 0px;
}

#home-collection .item-text-header .description { 
	padding: 2em 30px;
	line-height: 1.5em;
}

#home-collection img {
	position: relative;
	width: 25%;
	margin: 0;
	padding: 0;
	float: left;
}



/***SIDEBAR***/

#sidebar {
	height: 100%;
	background: #e39c5a url('../images/sidebar-bottom.png') bottom left no-repeat;
	position: fixed;
	left: 0;
	top: 0;
	width: 30%;
	z-index: 10;	
	max-width: 369px;
}

#sidebar h1 {
	padding-bottom: 0;
}

#sidebar h1 a {
	border: none;
}

#sidebar h1 img {
	width: 100%;
	max-width: 370px;
	display: block;
	margin: 0px auto;
	border: none;
}

#mobile-menu {
	display: none;
}

#sidebar ul {
	padding: 0;
	text-align: center;
}

#sidebar ul.item-pagination {
	font-size: .75em;
}

#sidebar ul li {
	list-style-type: none;
}

#sidebar ul li a {
	border: none;
	text-transform: uppercase;
	font-weight: bold;
	color: #5b475a;
}

#sidebar form {
	width: 90%;
	margin: 0px auto;
}

#sidebar input {
	color: #fff;
	background-color: #593736;
	width: 23%;
	border: none;
	float: left;
	line-height: 2em;
	text-transform: uppercase;
	padding: 1%;
	margin: 0;
	font-size: .75em;
}

#sidebar input#query {
	margin: 0;
	width: 73%;
	background-color: #fff;
	color: #222;
	text-transform: none;
}




/***BROWSE PAGE***/

nav#secondary-nav, nav.pagination {
	width: 100%;
	float: left;
	clear:both;
}

nav#secondary-nav ul, nav.pagination ul {
	padding: 0;
	margin: 0;
	float: left;
	clear:both;
}

nav#secondary-nav ul li, nav.pagination ul li  {
	list-style-type: none;
	float: left;
	display: block;
}

nav#secondary-nav ul li.pagination_current, nav.pagination ul li.pagination_current {
	padding: .25em .5em;
	margin: 0 3px 3px 0;	
}

nav#secondary-nav ul li a, nav.pagination ul li a {
	float: left;
	display: block;
	background-color: #fff;
	color: #333;
	text-transform: uppercase;	
	padding: .25em .5em;
	margin: 0 3px 3px 0;
	border: none;
	font-size: .9em;
}

body.browse nav.pagination {
	margin: 0 0 2em 0;
}

body.browse #main .item {
	float: left;
	width: 30%;
	margin: 0 2% 10px 0;
	border: 2px solid #222;
	padding: 0px;
}

body.browse #main .item h2 {
	padding: 0;
}

body.browse #main .item h2 a {
	color: #fff;
	border: none;
	background-color: #222;
	color: #fff;
	padding: .5em;
	margin: 0;
	display: block;
	text-transform: none;
	font-size: .9em;
}

body.browse #main .item .item-description, body.browse #main .item .tags {
	margin: 0 10px;
	float: left;
	clear: both;
}

body.browse #main .item .item-description {
	margin-top: 10px;
}

body.browse #main .item .item-img img {
	border-bottom: 2px solid #222;
	width: 100%;
}

body.browse #main .item .item-img a {
	border: none;
}

#browse-items-container {
	margin-bottom: 1em;
}

/***ITEM IMAGES***/

.item-files-preview {
	overflow: hidden;
	width: 100%;
	position: relative;
	margin: 10px 0;
	height: 300px;
}

	body.collections.show .item-files-preview {
		height: 150px;
	}

	body.collections .item-files-preview {
		margin-bottom: 0;
	}

	.item-files-preview img {
		width: 100%;
		margin-top: -10%;
	}

.item-files-preview .item-file {
	position: absolute;
	top: 3px;
}

#item-files-gallery-select, .browse-item-link, #item-files .item-file span a {
	color: #333;
	background: transparent url("../images/bg-orange-transparent.png") top left repeat;
	position: absolute;
	height: 100%;
	width: 100%;
	top: 0;
	left: 0;
	text-align: center;
}

.item-header.active .browse-item-link {
	background: transparent;
}

.browse-item-link {
	text-indent: -9999em;
}

#item-files-gallery-select span {
	background-color: #fff;

}

#item-files-gallery-select span.holder, #item-files .item-file a span.holder {
	position: relative;
	top: 45%;
	padding: 1em;
	opacity: .9;
	display: inline-block;
}

#item-files .item-file a span.holder {
	display: inline-block;
	background-color: #fff;
	color: #222;
	border: 1px solid #222;
	position: absolute;
	left: 3px;
	top: 3px;
	font-size: 12px;
	padding: 4px 1em;
	height: 16px;
	opacity: 1;
}

#item-files-gallery-select:hover {

}

#item-files-gallery-select:hover span.holder {
	opacity: 1;
}

body.large-gallery #item-files-gallery-select {
	display: block;
}

#item-files {
	display: none;
}

/***GALLERY VIEW***/


body.gallery-view #main .item-header .item-return {
	display: block;
	margin: 0 0 .5em;
}

body.gallery-view #item-files-other {
	display: none;
}

body.gallery-view .main-holder, body.gallery-view #main {
	margin-bottom: 0;
	padding-bottom: 0;
}

body.gallery-view #main .item-header a {
	color: #333;
}

body.gallery-view #main .item-header a:hover {
	color: #777;
}

body.gallery-view #main .dublin-core, body.gallery-view #main #collection, body.gallery-view #main #item-tags, body.gallery-view #main #item-citation, body.gallery-view #main #footer, body.gallery-view #main .item-files-preview, body.gallery-view #main .item-header .description {
	display: none;
}

body.gallery-view #main {
	max-width: 999em;
	width: 67%;
	margin-top: 0px;
}

body.gallery-view #item-files {
	display: block;
	float: left;
	padding-bottom: 200px;
	margin-top: 10px;
}

body.gallery-view #main .item-header {
	height: auto !important;
}


body.gallery-view #main .item-text-header {
	position: fixed;
	margin: 0;
	bottom: 8px;
	top: auto;
	border: 1px solid #222;
	z-index:999;
	background: transparent url('../images/bg_white_transparent.png') top left repeat;
}

body.gallery-view #main .item-text-header h1 {
	display: none;
}

body.gallery-view #main .item-text-header .date {
	display: none;
}

#item-files a {
	border: none;
	height: 100%;
	width: 100%;
	display: block;
	text-align: center;
}

#item-files.small a {
	position: relative;
}

#item-files .item-file {
	display: block;
	float: left;
	margin: 0 1% 0 0;
	width: 24%;
}

#item-files.small .item-file {
	width: 100%;
}

#item-files .item-file img {
	width: 100%;
	opacity: 1;
	border: 1px solid;
}

#item-files .item-file a:hover img {
	opacity: 1;
}

/***ZOOM IMAGE***/

body.zoom-image {
	background: transparent url("../images/bg-orange-transparent.png") top left repeat;
}

#zoom-holder {
	display: none;
	width: 66%;
	overflow: hidden;
	background: transparent url("../images/bg-orange-transparent.png") top left repeat;
	margin: 10px 0;
	border: 1px solid #593736;
	position: fixed;
}

#zoom-holder a {
	background-color: #222;
	color: #fff;
	position: absolute;
	top: 0;
	left: 0;
	text-align: center;
	height: 16px;
	width: 16px;
	font-weight: bold;
	border: none;
	display: block;
	z-index: 999;
}

#zoom-holder #zoom-in {
	left: 17px;
}

#zoom-holder img {
	height: 100%;
	margin: 0px auto;
	display: block;
}

.zoom-prev-next, .zoom-plus-minus {
	display: none;
	margin-top: .5em;
}

body.gallery-view #main .zoom-plus-minus a, body.gallery-view #main .zoom-prev-next a {
	background-color: #222;
	width: 12px;
	text-align: center;
	margin-right: 2px;
	color: #fff;
	display: inline-block;
	text-decoration: none;
}

body.gallery-view #main .zoom-prev-next.overlay {
	position: absolute;
	display: inline;
	right: 0;
	top: 0;
	height: 100%;
	width: 12%;
	margin: 0;
}

body.gallery-view #main .zoom-prev-next.overlay a {
	margin: auto;
	height: 100px;
	width: 100px;
	background: transparent url('../images/arrow_next.png') top left no-repeat;
	text-indent: -9999em;
	opacity: .4;
	position: absolute;
	top:50%;
	margin-top:-50px;
}

body.gallery-view #main .zoom-prev-next.overlay a:hover {
	opacity: .6;
}

body.gallery-view #main .zoom-plus-minus a:hover, body.gallery-view #main .zoom-prev-next a:hover {
	color: #fff;
}

body.gallery-view #main .item-return .index-of-total {
	display: none;
}

body.zoom-image #main .item-return .index-of-total {
	display: inline;
}

body.gallery-view #main .item-return .total {
	display: inline;
}

body.zoom-image #main .item-return .total {
	display: none;
}

/***Forms***/

#advanced-search-form, .hTagcloud {
	margin: 1em 0;
	float: left;
	clear: both;
	width: 100%;
}

form div.field {
	margin: 0 0 1em;
	float: left;
	clear: both;
	width: 100%;	
}








/************************************************/
/** BELOW 900 ***********************************/
/************************************************/


@media screen and (max-width: 900px) {

	#sidebar {
		width: 100%;
		max-width: 9999px;
		height: auto;
		position: absolute;
		top: 0;
		background: #e39c5a;
		padding-bottom: 1em;
	}

	#sidebar h1 a {
		display: block;
		text-indent: -999em;
		/*background: transparent url("../images/logo-mobile.png") top left no-repeat;*/
		width: 380px;
		height: 102px;
		border: none;
		margin: 0px auto;
		display: inline;
	}	

	#sidebar ul {
		margin: 0;
	}

	#sidebar ul li {
		float: left;
		width: 18%;
		margin: 0 1%;
		font-size: 11px;
	}	

	#sidebar form {
		display: none;
	}

	#main {
		width: 96%;
		position: absolute;
		left: 0;
		top: 211px;
		margin: 0 2%;
		max-width: none;
	}

	#main .item-text-header {
		width: 96% !important;
		padding: 1em 2%;
	}

	body.gallery-view #main .item-text-header {
		width: 92% !important;
	}

	#main .main-holder {
		margin: 0;
		width: auto;
	}

	body.gallery-view #main .main-holder {
		width: 100%;
	}

	body.gallery-view #item-files, #zoom-holder {
		width: 96%;
	}

	body.zoom-image {
		background: transparent;
	}

	#item-files .item-file {
		width: 20%;
		margin: 0;
	}

	#item-files img {
		width: 100%;
	}

	body.gallery-view #main {
		width: 100%;
	}

}



/************************************************/
/** BELOW 420 ***********************************/
/************************************************/


@media screen and (max-width: 420px) {

	.container {
		margin: 0 10px;
	}

	#home-collection .item-text-header { 
		font-size: 14px;
	}

	#sidebar {
		width: 100%;
		height: auto;
		position: fixed;
		bottom: 0;
		top: auto;
		z-index: 999;
		padding-top: 10px;
	}

	#sidebar h1 a {
		display: block;
		text-indent: -999em;
		width: 380px;
		height: 36px;
		border: none;
		margin: 0px auto;
		background: transparent url('../images/logo2.png') 0px -90px no-repeat;
	}

	#sidebar h1 img {
		display: none;
	}

	#mobile-menu {
		display: block;
		background-color: #5b475a;
		color: #fff;
		margin: .5em 10px;
		padding: .5em 0;
		text-align: center;
		font-size: .75em;
		text-transform: uppercase;
		border: none;
	}

	#sidebar nav {
		display: none;
	}

	#sidebar nav.active {
		display: block;
		margin-bottom: 1em;
	}

	#sidebar nav form {
		margin-bottom: 4em;
	}

	#main {
		position: absolute;
		right: 0px;
		top: 10px;
		width: 96%;
		margin: 0 2%;
	}

	#main .main-holder {
		padding-bottom: 250px;	
		width: 100%;
	}

	#main .item-header {
		height: auto !important;
	}

	.item-files-preview {
		height: 130px;
	}
	
	#main .item-text-header {
		position: relative;
		width: auto;
		top: auto;
	}

	.item-files-preview {
		margin-top: 0;
	}

	/**GALLERY VIEW**/
	body.gallery-view #main {
		width: 100%;
	}

	body.gallery-view #main .item-text-header {
		position: relative;
		bottom: 0;
	}

	#item-files .item-file {
		width: 50%;
		margin: 0;
	}

	#item-files img {
		width: 100%;
	}

	body.collections.show #main #collection-items .item-header, body.collections.show #main #collection-items .item-header.odd {
		width: 100%;
		margin-left: 0;	
	}

	#zoom-holder {
		background: #fff;
		max-height: 300px !important;
	}

	#zoom-holder img {
		top: 0;
	}

}/*close mobile*/

