
.Pic_Vid_container img {
        margin:0px 0px 0px 0px;
}

.Pic_Vid_container {
        width:120px;
        /*float:left;*/
        margin:0px 5px 0px 0px;
        padding-left:4px;
        padding-right:1px;
}



.Pic_Vid_container img{
        width:120px;
        height:120px;
        border:1px solid #000000;
        margin:20px 5px 10px 5px;
}

.Pic_Vid_text {
        clear:both;
        font-family: Arial, sans serif;
        font-size:12px;
        color:#171b1a;
        text-align:center;
        margin:0px 5px 0px 5px;
}


.row {
	margin:0px 0px 20px 0px;
	clear:both;
	float:none;
	position:relative;
	display:block;
}

#gallery, #all_galleries {
	width:540px;
	text-align:left;
	background-color:#ffffff;
	/*border:1px solid #000099;*/
	padding:0px;
	margin:0px;
}

#gallery_column, #LeftBar {
	width:540px;
	margin:0px 0px 0px 0px;
}




#gallery_main_title {
	/*width:600px;*/
	/*margin:10px auto 0px 10px;*/
	color:#000;
}


#gallery_main_title h1{
	width:540px;
	font-size:5px;	
}

/* Grid /////////////////////// */
#gallery_grid {
	width:500px;
	margin:0px auto 0px auto;
	padding:0px;
	margin:0px;
}

#imageList {
	width:500px;
	height:auto;
	margin:0px auto 0px auto;
}

#imageList .image_block {
	float:left;
	width:100px;
	height:100px;
	margin:0px 8px 0px 0px;
	
}

#imageList img {
	width:125px;
	height:125px;
	margin:0px 5px 10px 0px;
	border:1px solid #000000;
}


.caption {
	font-size:18px;
	color:#000099;
}


.greyed {
	font-weight:normal;
	color:#999999;
}


/* Single //////////////////////////////*/

#gallery_title_anchor {
	color:#000000;
}

#thePhoto_holder {
	width:540px;;
	/*min-height:400px;
	height:400px;*/
	/*background-color:#000000;*/
	text-align:center;
	margin-bottom:10px;
	position:relative;
	top:-70px;
}


#thePhoto {
	/*width:600px;*/
	max-width:540px;
	width:540px;
	margin:0px auto 0px auto;
	border:1px solid #000000;
}


#photo_caption {
	font-size:12px;
	color:#000000;
	font-weight:normal;
	margin:10px auto 5px auto;
	/*padding:0px 10px 0px 10px;*/
	/*border:1px solid #ff0000;*/
	width:540px;
}


#photo_byline {
	font-size:10px;
	color:#333333;
	font-weight:bold;
	width:540px;
	margin:0px auto 0px auto;
	/*float:left;*/
	padding:0px 10px 0px 10px;
}


#photo_infobar {
	width:540px;
}





#gallery_caption {
	padding:3px 10px 3px 20px;
}


.navHolder {
	width:540px;
	text-align:right;
	margin:5px auto 10px auto;
	height:23px;
}

#photo_countNav {
	font-size:12px;
	color:#666666;
	position:relative;
	top:-60px;
	
}


#photo_countNav div {
	float:right;
	margin:0px 0px 0px 10px;
}



#photo_countNav div a {
	color:#000099;
	font-weight:bold;
	text-decoration:underline;
}




#photo_countNav ul {
	list-style:none;
	display:block;
	text-align:right;
	float:right;
}




#photo_countNav ul li {
	float:left;
	text-align:right;
	margin-right:10px;
}

#photo_countNav ul li a {
	color:#000099;
	font-weight:bold;
}


#photo_countNav_b {
	font-size:12px;
	color:#666666;
	margin-top:-90px;
}


#photo_countNav_b div {
	float:right;
	margin:0px 0px 0px 10px;
	position:relative;
	top:-55px;
}



#photo_countNav_b div a {
	color:#000099;
	font-weight:bold;
	text-decoration:underline;
}




#photo_countNav_b ul {
	list-style:none;
	display:block;
	text-align:right;
	float:right;
}




#photo_countNav_b ul li {
	float:left;
	text-align:right;
	margin-right:10px;
}

#photo_countNav_b ul li a {
	color:#000099;
	font-weight:bold;
}


#gallery_single #scroller {
	width:540px;
	max-width:540px;
	height:100px;
	margin:0px auto 5px auto;
}

#gallery_single button {
	width:35px;
	height:100px;
	float:left;
	margin:auto 0px auto 0px;
}

#gallery_single #imageList_frame {
	width:520px;
	max-width:520px;
	height:100px;
	display:block;
	margin:0px 5px 0px 5px;
	overflow-x:hidden;
	overflow-y:hidden;
	float:left;
	position:relative;
}


#gallery_single #imageList_frame #imageList {
	height:100px;
	white-space:nowrap;	
	position:relative;
}



#gallery_single #imageList .image_block {

}

#gallery_single #imageList img {
	width:100px;
	height:100px;
	margin:auto 5px auto 0px;
	position:relative;
	top: 0px;
	left:0px;
	border:0px;
}


.hilited {
	/*border:2px solid #ffcc99;*/
}


.hilite {
	width:90px;
	height:90px;
	border:5px solid #000000;
	position:absolute;
	top:0px;
	left:0px;
	z-index:99;
}









#gallery_title_anchor {
	text-decoration:none;
	color:#594725;
}




.backlink {
	text-align:right;
	width:500px;
}




.photo_main {
	float:left;
	margin-right:5px;
}

.photo_main_text {
	width:100%;
	display:block;
	text-align:center;
	margin-left:5px;
}

.photo_main_text a {
	color:#0054a6;
}


#paged_content .pageblock {
	border:1px solid #a8a9a9;
	padding:10px 0px 0px 0px;
	margin:-50px 0px 0px 0px;
	width:540px;
	display:none;
	height:auto;
}

#paging_top {
	float:none;
	clear:both;
	margin-top:-30px;
	margin-bottom:-10px;
	text-align:right;
	width:100%;
}

#paging_bottom {
	float:none;
	clear:both;
	margin-bottom:0px;
	text-align:right;
	width:100%;
}

.pagernav_item {
	border:1px solid #a8a9a9;
	padding:5px 10px 5px 10px;
	float:right;
	margin:3px 2px 4px 5px;
	background-color:#a3a3a3;
	position:relative;
	right:-44px;
}

.pagernav_pushed {
	background-color:#fff;
	border:1px solid #a8a9a9;
	font-weight:bold;
}

.pagernav_pushed a {
	color:#000000;
	text-decoration:none;
	font-size:16px;
}

.pagernav_item a {
	color:#000;
	font-size:16px;
}

.loading_tmp {
	color:#999999;
	font-weight:bold;
}


#paging_bottom .pagernav_item {
	border:1px solid #a8a9a9;
	padding:5px 10px 5px 10px;
	float:right;
	margin:3px 2px 4px 5px;
	background-color:#a3a3a3;
	position:relative;
	right:-44px;
}

#paging_bottom .pagernav_pushed {
	background-color:#fff;
	border:1px solid #a8a9a9;
	font-weight:bold;
}

#paging_bottom .pagernav_pushed a {
	color:#000000;
	text-decoration:none;
	font-size:16px;
}

#paging_bottom .pagernav_item a {
	color:#000;
	font-size:16px;
}
