/* ==================================================================================================== ]]-- Content Area / "The Canvas" -- */

#the-canvas {
	margin: 0 auto;
	padding: 0px 0 0px;
	text-align: left;
	position: relative;
	display: block;
	width: 100%;
	}


/* ==================================================================================================== ]]-- The Block -- */

.the-block {
	margin: 20px auto 0;
	padding: 20px 20px;
	max-width: 660px;
	min-height: 10px;
	background-color: transparent;
	border-top-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-right-width: 0px;
	border-style: solid;
	border-color: #FFFFFF;
	-webkit-box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.5 );
	-moz-box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.5 );
	box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.5 );
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px; 
	position: relative;
	}

.the-block-content {
	margin: 0 auto;
	max-width: 660px;
	}


.page-image {
	padding: 4px;
	border: 1px solid #2C2C2C;
	background-color: #FFFFFF;
	-webkit-box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.5 );
	-moz-box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.5 );
	box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.5 );
	}


.page-copy, .page-copy p {
	color: #000080;
	}

.page-copy a, #login a {
	color: #FFE738;
	}

.page-copy a:hover, #login a:hover {
	color: #FFFF99;
	}

.page-copy blockquote > p {
	color: #FFFFFF;
	}

.page-copy h1 {
	color: #000080;
	}

.page-copy h2 {
	color: #000080;
	}

.page-copy h3, .page-copy h4, .page-copy h5, .page-copy h6 {
	color: #000080;
	}

.page-copy pre, .page-copy p > code {
	background-color: #666666;
	color: #FFFFFF;
	}

.page-copy pre > code {
	background-color: transparent;
	}

.page-copy img {
	background-color: #FFFFFF;
	border-color: #2C2C2C;
	}

.page-copy hr {
	border-bottom: 1px solid #000080;;
	background-color: #000080;
	color: #000080;
	}


/* ==================================================================================================== ]]-- The Grid -- */

.the-grid {
	margin: 20px auto 0;
	padding: 0px 0 0px;
	max-width: 700px;
	background-color: #FFFFFF;
	border-top-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-right-width: 0px;
	border-style: solid;
	border-color: #FFFFFF;
	-webkit-box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.5 );
	-moz-box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.5 );
	box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.5 );
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px; 
	position: relative;
	}

.the-grid-content {
	margin: 0 auto;
	max-width: 700px;
	}


/* ==================================================================================================== ]]-- Thumbnails -- */

#Gallery {
	margin: 0 auto;
	}

.grid-cell {
	margin: 0 5px 10px 5px;
	width: 160px;
	background: transparent;
	float: left;
	display: inline;

	-webkit-box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.5 );
	-moz-box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.5 );
	box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.5 );

/* grid-cell border-top-radius */
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;

/* end grid-cell border-top-radius */


/* grid-cell border-bottom-radius */
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;

/* end grid-cell border-bottom-radius */

	}

.thumbnail-cell {
	margin: 0 auto;
	padding: 0;
	width: 160px;
	height: 160px;
	background-color: transparent;
	overflow: hidden;
	position: relative;

	border-style: solid; border-color: #000000;
	border-top-width: 0px;
	border-right-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;

	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	}

.thumbnail-holder {
	margin: 0 auto;
	}


	.thumbnail-holder > a {
		margin: 0;
		padding: 0;
		cursor: pointer;
		}
	
	.thumbnail-image {
		margin: 0 auto;
		padding: 0px;
		border: 1px solid #000080;
		background-color: #FFFFFF;
		display: block;

	-webkit-box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.5 );
	-moz-box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.5 );
	box-shadow: 0px 0px 0px rgba( 0, 0, 0, 0.5 );
		}




/* ==================================================================================================== ]]-- Metadata Plates -- */

.metadata-plate {
	margin: 0 auto;
	padding: 0;
	border: 0px solid #FFFFFF;
	width: auto;
	background-color: transparent;
	color: #FFFFFF;
	font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
	clear: both;
	display: block;
	overflow: hidden;
	white-space: nowrap;
	}

.metadata-plate-one {
	margin-top: 0px;
	margin-bottom: 1px;
	
	padding-top: 4px;
	padding-bottom: 4px;
	
	border-top-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-right-width: 0px;

	max-width: 160px;
	min-height: 12px;

	font-size: 12px;
	font-weight: normal;
	text-align: right;

	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px; 
	}

.metadata-plate-two {
	margin-top: 0px;
	margin-bottom: 1px;
	
	padding-top: 4px;
	padding-bottom: 4px;

	border-top-width: 0px;
	border-bottom-width: 0px;
	border-left-width: 0px;
	border-right-width: 0px;

	max-width: 160px;
	min-height: 12px;

	font-size: 12px;
	font-weight: normal;
	text-align: right;

	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px; 
	}

.metadata p {
	padding: 0 5px;
	}

.cellnumber {
	background-color: transparent;
	color: #2C2C2C;
	font-weight: bold;
	float: left;
	}

/* ==================================================================================================== ]]-- Photoswipe -- */

body.ps-active, body.ps-building, div.ps-active, div.ps-building, div.ps-document-overlay, div.ps-zoom-pan-rotate {
	background-color: #5079B1 !important;
	}	
	





/* ==================================================================================================== ]]-- Google Maps, Image Download -- */

.download, .permalink, .map {
	margin: 0;
	padding: 2px;
	width: 16px;
	height: 16px;
	background-color: #7F7F7F;
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-o-border-radius: 2px;
	border-radius: 2px;
	}

.download span, .permalink span, .map span {
	display: none;
	}




/* ==================================================================================================== ]]-- E-Commerce -- */

.purchase-button {
	margin: 0;
	padding: 0px 0 4px;
	width: auto;
	height: 16px;
	max-width: 158px;
	background-color: #000000;
	color: #FFFFFF;
	cursor: pointer;
	position:absolute;
	top:1px;
	right:1px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-o-border-radius: 2px;
	border-radius: 2px;
	overflow: hidden;
	}

.purchase-button p {
	margin: 0 6px 0 0;
	padding: 5px 0 0 6px;	
	float: left;	
	font-family: 'Myriad Pro', Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
	white-space: nowrap;
	}

.purchase-icon {
	margin: 0 auto;
	padding: 2px;
	width: 16px;
	height: 16px;
	background: url('../../../CASI1/resources/images/white/shop_cart_icon-16.png') no-repeat center center;
	background-color: #F35912;
	float: right;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	-o-border-radius: 2px;
	border-radius: 2px;
	}

.purchase-icon span {
	display: none;
	}



/*
-- TipTip - Version 1.2 -- */

#tiptip_holder {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 99999;
}

#tiptip_holder.tip_top {
	padding-bottom: 5px;
}

#tiptip_holder.tip_bottom {
	padding-top: 5px;
}

#tiptip_holder.tip_right {
	padding-left: 5px;
}

#tiptip_holder.tip_left {
	padding-right: 5px;
}

#tiptip_content {
	font-size: 12px;
	color: #191919;
/*	text-shadow: 0 0 2px #000; */
	padding: 4px 8px;
	border: 1px solid rgba(255,255,255,0.25);
	background-color: #FFFFAA;
/*
	background-color: rgb(25,25,25);
	background-color: rgba(25,25,25,0.92);
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000));
*/
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	box-shadow: 0 0 3px #555;
	-webkit-box-shadow: 0 0 3px #555;
	-moz-box-shadow: 0 0 3px #555;
}

#tiptip_arrow, #tiptip_arrow_inner {
	position: absolute;
	border-color: transparent;
	border-style: solid;
	border-width: 6px;
	height: 0;
	width: 0;
}

#tiptip_holder.tip_top #tiptip_arrow {
	border-top-color: #fff;
	border-top-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_bottom #tiptip_arrow {
	border-bottom-color: #fff;
	border-bottom-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_right #tiptip_arrow {
	border-right-color: #fff;
	border-right-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_left #tiptip_arrow {
	border-left-color: #fff;
	border-left-color: rgba(255,255,255,0.35);
}

#tiptip_holder.tip_top #tiptip_arrow_inner {
	margin-top: -7px;
	margin-left: -6px;
	border-top-color: #FFFFAA;
/*
	border-top-color: rgb(25,25,25);
	border-top-color: rgba(25,25,25,0.92);
*/
}

#tiptip_holder.tip_bottom #tiptip_arrow_inner {
	margin-top: -5px;
	margin-left: -6px;
	border-bottom-color: #FFFFAA;
/*
	border-bottom-color: rgb(25,25,25);
	border-bottom-color: rgba(25,25,25,0.92);
*/
}

#tiptip_holder.tip_right #tiptip_arrow_inner {
	margin-top: -6px;
	margin-left: -5px;
	border-right-color: #FFFFAA;
/*
	border-right-color: rgb(25,25,25);
	border-right-color: rgba(25,25,25,0.92);
*/
}

#tiptip_holder.tip_left #tiptip_arrow_inner {
	margin-top: -6px;
	margin-left: -7px;
	border-left-color: #FFFFAA;
/*
	border-left-color: rgb(25,25,25);
	border-left-color: rgba(25,25,25,0.92);
*/
}

/* Webkit Hacks  */
@media screen and (-webkit-min-device-pixel-ratio:0) {	
	#tiptip_content {
		padding: 4px 8px 5px 8px;
		background-color: #FFFFAA;
/*		background-color: rgba(45,45,45,0.88); */
	}
	#tiptip_holder.tip_bottom #tiptip_arrow_inner {
		border-bottom-color: #FFFFAA;
/*		border-bottom-color: rgba(45,45,45,0.88); */
	}
	#tiptip_holder.tip_top #tiptip_arrow_inner {
		border-top-color: #FFFFAA/*		border-top-color: rgba(20,20,20,0.92); */
	}
}




