#gal_frame {
	
	width:100%;
	height:100%;
	
	visibility:hidden;
	
	position:fixed;
	top:0px;
	left:0px;
	z-index:2;
	
	border-style:solid;
	border-width:1px;
	border-color:#000000;
	
}

#op_bg {
	width:100%;
	height:100%;
	
	position:absolute;
	top:0px;
	left:0px;
	z-index:0;
	
	background-color:#3c3c3c;
	/*
	background: -moz-linear-gradient(-90deg,#eeeeee,#ff95d6);
	background: -webkit-gradient(linear, left top, left bottom, from(#e3e3e3), to(#cacaca));
	*/
	filter:alpha(opacity=60);/* for IE */
	-moz-opacity:0.6;
	-khtml-opacity: 0.6;
	opacity: 0.6;/* CSS3 standard */

}

#gal_nav {
	margin-left:auto;
	margin-right:auto;
	width:100%;
	
	position:absolute;
	top:5px;
	z-index:2;
	
}

@font-face {
	font-family: "Britannic Bold";
	src: url('fonts/Britanic.ttf') format("truetype");
}

#viewer_link {
	text-align:center;
	
	color:#000000;
	text-decoration:none;
	
	padding:4px 8px 4px 8px;
	
	background: #fcecfc; /* old browsers */
	background: -moz-linear-gradient(top, #fcecfc 0%, #fba6e1 50%, #fd89d7 51%, #ff7cd8 100%); /* firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcecfc), color-stop(50%,#fba6e1), color-stop(51%,#fd89d7), color-stop(100%,#ff7cd8)); /* webkit */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcecfc', endColorstr='#ff7cd8',GradientType=0 ); /* ie */


	font-family:"Britannic Bold", "Arial";
	font-size:18px;
	font-weight:normal;
	/*
	border-style:solid;
	border-width:2px;
	border-color:#ffffff;
	*/
	-moz-box-shadow: 2px -1px 1px #000000;
    -webkit-box-shadow:2px -1px 1px #000000;
	box-shadow:2px -1px 1px #000000;
}

#viewer_link:hover {
	color:#ffffff;
	cursor:pointer;
	
	background: #cb60b3; /* old browsers */
	background: -moz-linear-gradient(top, #cb60b3 0%, #c146a1 50%, #a80077 51%, #db36a4 100%); /* firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cb60b3), color-stop(50%,#c146a1), color-stop(51%,#a80077), color-stop(100%,#db36a4)); /* webkit */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cb60b3', endColorstr='#db36a4',GradientType=0 ); /* ie */
	
}

#viewer_link.open {
	-moz-border-radius-topleft: 10px;
	border-top-left-radius: 10px;
	
}

#viewer_link.open:hover {
	/*color:#00ff00;*/
}

#viewer_link.close {
	-moz-border-radius-topright: 10px;
	border-top-right-radius: 10px;
}

#viewer_link.close:hover{
	/*color:#ff0000;*/
}

#img_holder {
	width:100%;
	height:100%;
	
	position:relative;
	top:0px;
	left:0px;
	z-index:1;
	
	
	padding:35px 0px 10px 0px;
}

#pic {
	max-height:90%;
	
	
	border-style:solid;
	border-width:5px;
	border-color:#ffffff;
	
	-moz-box-shadow: 4px 4px 8px #000000;
    -webkit-box-shadow:4px 4px 8px #000000;
	box-shadow:4px 4px 8px #000000;
}

#load {
	width:100px;
	height:100px;
	
	margin:100px;
	
	vertical-align:middle;
}

td {
	padding:16px 8px 0px 8px; 
}
#thumb_bg {
	max-width:210px;
	max-height:160px;
	
	background-color:#ffffff; /*#a7ebfe*/
	height:160px;
}
#thumbnail {
	max-width:200px;
	max-height:150px;
	
	border-style:solid;
	border-width:5px;
	border-color:#ffffff;
	
	/*margin:16px 8px 0px 8px;*/
	
	-moz-box-shadow: 4px 4px 8px #000000;
    -webkit-box-shadow:4px 4px 8px #000000;
	box-shadow:4px 4px 8px #000000;
	
	-moz-opacity: 0.6;
	/* for IE */
	filter:alpha(opacity=60);
	/* CSS3 standard */
	opacity:0.6;
	
	cursor:pointer;
}

#pager {
	margin:50px;
}



#page_number {
	text-align:center;
	
	color:#000000;
	text-shadow: 1px 1px 1px #ffffff;
	text-decoration:none;
	
	padding:4px 8px 4px 8px;
	margin:0px 2px;
	
	background: #fcecfc; /* old browsers */
	background: -moz-linear-gradient(top, #fcecfc 0%, #fba6e1 50%, #fd89d7 51%, #ff7cd8 100%); /* firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fcecfc), color-stop(50%,#fba6e1), color-stop(51%,#fd89d7), color-stop(100%,#ff7cd8)); /* webkit */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcecfc', endColorstr='#ff7cd8',GradientType=0 ); /* ie */


	font-family:"Britannic Bold", "Arial";
	font-size:18px;
	font-weight:normal;
	/*
	border-style:solid;
	border-width:2px;
	border-color:#ffffff;
	*/
	-moz-box-shadow: 2px -1px 1px #000000;
    -webkit-box-shadow:2px -1px 1px #000000;
	box-shadow:2px -1px 1px #000000;
}

#page_number.first {
	-moz-border-radius-bottomleft: 10px;
	border-bottom-left-radius: 10px;
	
}

#page_number.last {
	-moz-border-radius-bottomright: 10px;
	border-bottom-right-radius: 10px;
}

#page_number:hover {
	cursor:pointer;
	
	background: #cb60b3; /* old browsers */
	background: -moz-linear-gradient(top, #cb60b3 0%, #c146a1 50%, #a80077 51%, #db36a4 100%); /* firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cb60b3), color-stop(50%,#c146a1), color-stop(51%,#a80077), color-stop(100%,#db36a4)); /* webkit */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cb60b3', endColorstr='#db36a4',GradientType=0 ); /* ie */
	
}
/*
#page_number:active {
	color:#ffffff;
	text-shadow: 1px 1px 1px #000000;
}
*/
#page_number.active {
	color:#ffffff;
	text-shadow: 1px 1px 1px #000000;
	
	background: #cb60b3; /* old browsers */
	background: -moz-linear-gradient(top, #cb60b3 0%, #c146a1 50%, #a80077 51%, #db36a4 100%); /* firefox */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#cb60b3), color-stop(50%,#c146a1), color-stop(51%,#a80077), color-stop(100%,#db36a4)); /* webkit */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#cb60b3', endColorstr='#db36a4',GradientType=0 ); /* ie */
	
}