/* ----====  BEGIN Gallery header ====---- */

#gallery-header {
	position: relative;
	height: 34px;
	margin-bottom: 10px;
}

.site-nav ul.main-nav {
	height: 32px;
	font-weight: bold;
	font-size: 13px;
	margin-left: 10px;
}

.site-nav ul.main-nav li {
	margin: 0;
	float: left;
	line-height: 32px;
}

.site-nav ul.main-nav li a {
	border-left: 1px solid #000;
	padding-left: 7px;
	padding-right: 7px;
}

.site-nav ul.main-nav li.home a {
	display: block;
	height: 32px;
	width: 165px;
	text-indent: -5000px;
	background: url(../img/logo-165x32.png) top left no-repeat;
	outline: none;
}

.site-nav ul.main-nav li.home,
.site-nav ul.main-nav li.news {
	margin-left: 0;
}

.site-nav ul.main-nav li.home a,
.site-nav ul.main-nav li.news a {
	border-left: none;
	padding-left: none;
}

.site-nav ul.main-nav li.current {
	background: #c1c1c1;
	border-right: #ccc;
}


.site-nav ul.secondary-nav {
	height: 32px;
	font-size: 12px;
	font-weight: bold;
	background: #c1c1c1;
	width:290px;
}

.site-nav ul.secondary-nav li {
	line-height: 32px;
	float: left;
	padding-left: 7px;
}

.site-nav ul.secondary-nav li {
	line-height: 32px;
	float: left;

}

.site-nav ul.secondary-nav li a {
	border-right: 1px solid #000;
	padding-right: 7px;
}

.site-nav ul.secondary-nav li.last a {
	border-right: none;
	padding-right: 0;
}

/* ----====  END gallery header ====---- */



/* ----====  BEGIN general gallery page ====---- */


  .tab-link a {
      color: #FFFFFF;
}

body#gallery {
	color: #fff;
	background-color: #232222;
}

h2.gallery,
#gallery .section h2  {
	font-weight: bold;
	font-size: 20px;
	color: #fff;
	text-align: center;
	margin: 10px;
	background: url(../img/h2-bg-gallery-700.gif) center center no-repeat;
	height: 26px;
	line-height: 26px;
	font-style: normal;
	border-bottom: none;
}
#galleria-caption-nav{
 position: relative;
    bottom: 40px;
}
h2.gallery strong,
#gallery .section h2 strong {
	background: #232222 url(../img/h2-bg-ding-left.gif) left no-repeat;
	padding-left: 36px;
	font-style: normal;
}

h2.gallery em,
#gallery .section h2 em {
	background: #232222 url(../img/h2-bg-ding-right.gif) right no-repeat;
	padding-right: 36px;
	font-style: normal;
}


/* gallery lists */

#gallery .section {
	clear: both;
	overflow: hidden;
	height: auto;
	position: relative;
}

ul.gallery-list {
	overflow: hidden;
}

ul.gallery-list li {
	float: left;
	width: 137px;
	margin-left: 24px;
}

ul.gallery-list li.first {
	margin-left: 0;
}

ul.gallery-list li a.title {
	font-size: 16px;
	color: #fff;
	font-weight: bold;
	font-size:147;
}

#gallery .section h5 {
	text-align: center;
	margin: 10px 0 15px 0;
	clear: both;
	}
	
#gallery .sidebar a {
	color: #fff;
	font-weight: bold;
}	
		
#gallery .section h5 a {
	font: Helvetica, Arial, sans-serif 10px #bb1319 normal;
}

.module#reader-photos p {
	font-size: 16px;
	line-height: 18px;
	color: #ccc;
}

.module#reader-photos img {
	float: right;
	margin: 0 0 10px 10px;
}

/* ----====  END general gallery page ====---- */


/* ----====  BEGIN slideshow styles ====---- */

/* wraps entire slideshow */
.gallery-wrapper {
	width: 712px;
	margin: 0 auto 30px auto;	
	overflow: hidden;
	
}

.gallery-wrapper a {
	width: 712px;
	margin: 0 auto 30px auto;	
	overflow: hidden;
	color: #fff;
	font-size: 14px;
}



/* contains main image and caption */
.galleria_container {
	width: 712px;
	padding: 0 6px;
	margin:0 auto;
	position: relative;
}
.galleria_container .caption {
	width: 500px;
	min-height: 40px;
	float: left;
	text-align: left;
	font-size: 14px;
	line-height: 16px;
	color: #fff;
}

/* contains only main image */
.galleria_wrapper {
	margin-bottom: 10px; 
	text-align: center;	
}

.galleria .galleria_wrapper img {
	margin-bottom:10px;
}


/* thumbnail list styles */

.galleria ul {
	list-style:none;
	margin:0 auto;
	clear: both;
	overflow: hidden;
	}

.galleria li{
	display:block;
	overflow:hidden;
	width:78px;
	height:60px;
	margin: 0 4px 10px 5px;
	float:left;
	}

.galleria li a {
	display:none;
	}

.galleria li div img {
	cursor:pointer
	}
	
.galleria li.active div img,
.galleria li.active div {
	display:block
	}
	
.galleria li img.thumb { 
	cursor:pointer;
	top:auto;
	left:auto;
	display:block;
	width:auto;
	height:auto
	}
	
.galleria li .caption { 
	display:block;
	padding-top:.5em
	}
	
* html .galleria li div span {
		width:400px; /* MSIE bug */
		}

p.flip-nav {
	margin: 0;
	overflow: hidden;
	width: 168px;
	float:right;
}

p.flip-nav a {
	margin: 0;
	padding: 0;
	color: #fff;
	display: block;
	width: 78px;
	height: 30px;
	line-height: 26px;
	border: 1px solid #555;
	border-radius: 8px;
	-moz-border-radius: 8px;
	float: left;
	text-decoration: none;
	outline: none;
	text-align: center;
	
	background: rgb(125,126,125); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzdkN2U3ZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwZTBlMGUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(125,126,125,1) 0%, rgba(14,14,14,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(125,126,125,1)), color-stop(100%,rgba(14,14,14,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(125,126,125,1) 0%,rgba(14,14,14,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d7e7d', endColorstr='#0e0e0e',GradientType=0 ); /* IE6-8 */
}

p.flip-nav a.prev {
	margin-right: 8px;
}

p.flip-nav a.next {

}

p.flip-nav a:hover {
	background: rgb(14,14,14); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIxJSIgc3RvcC1jb2xvcj0iIzBlMGUwZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3ZDdlN2QiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(14,14,14,1) 1%, rgba(125,126,125,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(14,14,14,1)), color-stop(100%,rgba(125,126,125,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(14,14,14,1) 1%,rgba(125,126,125,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(14,14,14,1) 1%,rgba(125,126,125,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(14,14,14,1) 1%,rgba(125,126,125,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(14,14,14,1) 1%,rgba(125,126,125,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0e0e0e', endColorstr='#7d7e7d',GradientType=0 ); /* IE6-8 */
}





