div.gallery {
  border: 1px solid #fff;
  padding: 15px 15px 15px 34px;
}
div.gallery div.item h4,
div.gallery .submittedby{padding: 3px 5px;}
div.gallery .submittedby{
  text-align: right;
  padding-bottom: 7px;
}
div.gallery div.item a {
	width: 148px;
	display: block;
	overflow: hidden;
	text-align: center;
	padding:0;
	border: 2px solid #fff;
}
div.gallery div.item a:hover{border-color:#F3DDAC;}
div.gallery div.rating{
	width:100%;
	overflow:hidden;
}
div.gallery div.rating span.rate{
	float:left;
	margin-right:4px;
	cursor:pointer;
	font-size:1.1em;
	color:red;
}
div#content div.gallery div.item{
	float: left;
	display:inline;
	margin:15px 16px 0;
	width: 152px;
	height:299px;
	overflow: hidden;
	text-align: center;
	position: relative;
}
div#content div.gallery div.item a span.image{margin:0;}
div#content div.gallery div.item a img{
	display:block!important;
	float:none !important;
	border:0 !important;
	margin:0 auto;
}
div#content div.gallery div.item div.comments{text-align:right;}
div#content div.gallery div.item div.comments a{
	border:0;
	display:inline;
}
div#content div.gallery #caption-image-edit{
	background:#faf9f5;
	border:2px solid #E9D0BC;
	margin-bottom:16px;
	padding:4px 5px;
}
div#content div.gallery-pagination{
	font-size:1.2em;
	line-height:1.25;
}
div#content div.gallery img.edit-picture{max-width:560px;}
img#single-image{
	max-width:610px;
}

#content #main div.gallery-comments{padding-bottom:20px;}
#content #main div.gallery-comments h1{
	margin-bottom:15px;
}
#content #main div.gallery-comments div.picture{
	width:100%;
	overflow:hidden;
	margin-bottom:25px;
}
#content #main div.gallery-comments div.picture a.lightwindow{float:left;}
#content #main div.gallery-comments div.cooments-count h3{
	margin:0 0 20px;
	padding:3px 8px;
	color:#2f1c05;
	font-size:1.8em;
	line-height:1.3;
}
#content #main div.gallery-comments div.gallery-comments-list ul{
	margin:0;
	padding:0;
	list-style:none;
	width:100%;
	overflow:hidden;
	font-size:1em;
	line-height:1;
}
#content #main div.gallery-comments div.gallery-comments-list ul li{
	width:100%;
	float:left;
	margin-bottom:15px;
}
#content #main div.gallery-comments div.gallery-comments-list ul h3{
	margin:0;
	padding:3px 8px;
	background:#006945;
	color:#fff;
	font-size:1.6em;
}
#content #main div.gallery-comments div.gallery-comments-list ul div.comment-cont{
	width:100%;
	overflow:hidden;
	margin-top:10px;
}
#content #main div.gallery-comments div.gallery-comments-list ul div.comment-thumb{
	float:left;
	height:80px;
	width:80px;
	margin:0 5px 0 0;
	padding:2px;
	border:1px solid #e1e1e1;
}
#content #main div.gallery-comments div.gallery-comments-list ul div.comment-text{
	height:1%;
	overflow:hidden;
	padding:0 15px;
	font-size:1.3em;
	line-height:1.2307em;
}
#content #main div.gallery-comments div.gallery-comments-list ul div.comment-text *{
	font-size:0;
	line-height:0;
}
#content #main div.gallery-comments div.gallery-reply{margin-top:15px;}
#content #main div.gallery-comments div.gallery-reply h2{
	background:#2e1c04 none repeat scroll 0 0;
	color:#fff;
	padding:3px 8px;
	font-size:1.8em;
	line-height:1.3;
}
#content #main div.gallery-comments div.form-errors{
	background-color:#FFDDDD;
	border:1px solid #FFBBBB;
	padding:10px;
	font-size:1.2em;
	line-height:1.5em;
}
#content #main div.gallery-comments div.form-message{
	background-color:#C3EBAD;
	border:2px solid #6EBC43;
	padding:10px;
	font-size:1.2em;
	line-height:1.5em;
}
#content #main div.gallery-comments label{
	width:170px;
	font-size:1.2em;
	line-height:2.2em;
}
#content #main div.gallery-comments .input-text{
	background:#faf9f5;
	border:2px solid #E9D0BC;
	margin-bottom:16px;
	padding:4px 5px;
}