body#gallery-page{
	background: url(/res/images/gallery/gallery-page-bg.gif) repeat-x;
	background-color: #eaeaea;
}
#gallery-page ul.voting{
	background: url(/res/images/gallery/stars.png) 0 -16px no-repeat;
	float: left;
	margin: 6px 0 0 12px;
	padding: 0;
	width: 117px;
	height: 16px;
}
#gallery-page .voting a.cur, #gallery-page .voting a:hover, #gallery-page .voting:hover a.cur:hover,
#gallery-page .voting.phover a.cur:hover, #gallery-page .voting:hover a:hover, #gallery-page .voting.phover a:hover{
	background: url(/res/images/gallery/stars.png) no-repeat;
}
#gallery-page .voting:hover a.cur, #gallery-page .voting.phover a.cur{
	background: none;
}
#gallery-page .voting a{
	height: 16px;
}
#gallery-page .voting .one a{
	width: 24px;
	z-index: 5;
}
#gallery-page .voting .two a{
	width: 48px;
	z-index: 4;
}
#gallery-page .voting .three a{
	width: 72px;
	z-index: 3;
}
#gallery-page .voting .four a{
	width: 96px;
	z-index: 2;
}
#gallery-page .voting .five a{
	width: 117px;
	z-index: 1;
}
#gallery-page phototools{
	padding-right: 0;
}
#gallery-page .phototitletext{
	margin: 0;
	padding: 15px 0 0 0;
}
#gallery-page .AuthorLink{
	font-weight: bold;
}
#gallery-page .red{
	font-size: 12px;
	margin: 0;
	padding: 0 0 20px 0;
}
#gallery-page .comments{
	padding: 0 0 8px 0;
	margin: 0;
}
#gallery-page .comment1, #gallery-page .comment2{
	padding: 0;
}
.photocomments .comment1, .photocomments .comment2
{
	width: 940px; 
	overflow: hidden;
}
#gallery-page div.author{
	color: #2e2e2e;
	padding: 12px 26px 0 26px;
}
#gallery-page .author a{
	color: #396000;
}
#gallery-page .addcomment{
	background: url(/res/images/gallery/addcomment-bg.gif) repeat-x bottom;
	border: solid 2px #d1d1d1;
	border-top: solid 1px #d1d1d1;
	width: 718px;
	float: left;
}
#gallery-page .addcomment h1{
	background: url(/res/images/pages/gametools.png) repeat-y;
	border-bottom: solid 1px #d1d1d1;
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0;
	margin: 0;
	padding: 9px 20px;
}
#gallery-page .addcomment div.inner{
	padding: 35px 0 6px 9px;
	overflow: hidden;
	zoom: 1;
	position: relative
}
#gallery-page .addcomment h2{
	float: left;
	font-size: 13px;
	font-weight: bold;
	color: #686868;
	margin: 0;
	padding: 80px 0 0 0;
}
#gallery-page .addcomment form{
	float: left;
}
#gallery-page .addcomment input{
	background: url(/res/images/gallery/input-bg.gif) repeat-x;
	border: solid 1px #a8a8a8;
	color: #000;
	font-weight: bold;
	margin: 15px -5px 0 0;
	padding: 0 0 2px 0;
	float: right;
	height: 21px;
	width: 78px;
}
#gallery-page .addcomment form div, #gallery-page .addcomment form textarea{
	border: solid 1px #dcdcdc;
}
#gallery-page .addcomment form div{
	padding: 1px;
}
#gallery-page .addcomment textarea{
	width: 474px;
	height: 190px;
}
#gallery-page .add-photo{
	padding-left: 5px;
}
#gallery-page a.AuthorLink{
	color: #444;
}
.photogallerytitle h1{
	color: #fefefe;
	font-size: 14px;
	font-family: tahoma, verdana, geneva, arial, sans-serif;
	letter-spacing: normal;
	float: right;
	margin: 0;
	padding: 20px 18px 0 380px;
}
.photogallerytitle1{
	background: url(/res/images/gallery/photogallerytitle1.png) no-repeat top left;
	width: 970px;
	height: 67px;
	position: relative;
}
.photogallerytitle1 .home{
	display: block;
	float: left;
	width: 17px;
	height: 15px;	
}
.photogallerytitle1 .path{
	color: #6d6d6d;
	margin: 0;
	top: 83px;
	left: 10px;
	width: 750px;
}
.photogallerytitle1 .tolist{
	color: #b10000;
	position: absolute;
	white-space: nowrap;
	right: 40px;
	top: 45px;
}
.phototools{
	background: url(/res/images/gallery/paging-bg.gif) repeat-x;
	border-width: 1px;
	height: 33px;
}
.phototools .paging{
	background: none;
	border: 0;
	height: 22px;
	padding-top: 5px;
	padding-left: 10px;
	float: left;
}
.phototools .paging a{
	height: 33px;
}
.phototools li span{
	color: #b00000;
	font-weight: bold;
}
.phototools .block-left p{
	float: left;
	padding-left: 10px;
}
.phototools .block-right{
	padding-right: 14px;
}
.phototools .block-right select{
	margin-left: 9px;
}
.phototools table{
	width: 100%;
	margin-left: 0;
}
.photogallery-table{
	border-collapse: collapse;
	border-spacing: 0;
	margin-top: 14px;
	margin-right: -12px;
}
.photogallery-table td{
	vertical-align: top;
	padding: 0 12px 25px 0;
	width: 151px;
}
.photogallery-table td .wrap{
	/*background: url(/res/images/gallery/photo-bg.png) no-repeat top left;*/
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	height: 107px;
	width: 151px;
}
.photogallery-table p{
	font-size: 11px;
	color: #5a5a5a;
	margin: 0;
	padding: 12px 22px 0 0;
	width: 134px;
	overflow:hidden;
}
.block-left{
	float: left;
}
.block-right{
	float: right;
}
.photo-item{
	padding: 3px 0;
	text-align: center;
}
div.rating p{
	float: left;
	padding: 8px 0 0 12px;
	margin: 0;
}
.photo-paging{
	float: right;
	margin: 0;
	padding: 7px 8px 0 0;
}
.photo-paging li{
	float: left;
	padding-right: 4px;
}
.photo-paging li img{
	border: solid 1px #757575;
}
.addcomment .left-block{
	float: left;
	width: 485px;
}
.addcomment .right-block{
	float: right;
	width: 207px;
}
.addcomment .inner a{
	color: #ee0000;
	position: absolute;
	top: 257px;
	left: 510px;
}