.photo {
	padding: 0 10px;
}
.photo h1 {
	margin:0;
}

.photocarouselcontainer {
	position: relative;
	padding: 0 13px;
	margin: 0 15px;
	overflow: hidden;
	height: 110px;
}
.photocarousel img {
	height: 95px;
	width: 95px;
}
.photocarousel ul {
margin: 0
/*13px*/
	;
	padding: 0;
}
.photocarousel li {
	float: left;
	overflow: hidden;
}
.photocarouselleft, .photocarouselright {
	position: absolute;
	top: 6px;
	width: 13px;
	height: 95px;
	cursor: pointer;
	background: url("images/strelki.png")  no-repeat;
}
.photocarouselleft {
	left: 0px;
	background-position: -13px 0;
}
.photocarouselleft:hover {
	background-position: -39px 0;
}
.photocarouselright {
	left: 655px;
	background-position: 0 0;
}
.photocarouselright:hover {
	background-position: -26px 0;
}
.photocarousel li {
	padding: 6px;
	background-color: white;
	cursor: pointer;
}
.photocarousel li:hover {
	background-color: rgb(253,125,160);
}
li.photoSel, li.photoSel:hover {
	background-color: rgb(43,168,218);
	cursor: default;
}
li.photoSel a {
	cursor: default;
}
.photoadd {
	float: right;
	font-size: 16px;
	/*line-height: 30px;*/
}
#photohfir {
	padding: 0px 5px 5px 0;
}
#photohsec {
	clear: both;
	padding-top: 30px;
}
.photorating {
	margin-bottom: 5px;
	height: 16px;
	float: left;
}
.photomain {
	margin: 5px;
	float: left;
	width: 170px;
	position: relative;
}
.photomaini {
	width: 170px;
	height: 170px;
}
.photomaincc {
	background: url("images/comment_count_fon.png") no-repeat;
	height: 19px !important;
	position: absolute;
	right: -3px;
	text-align: center;
	top: -2px;
	width: 18px !important;
	color: #0076C0;
	font: bold 11px Arial;
}
.photocc {
	right: 2px;
	top:2px;
	z-index:100;
}
.photoalbum {
	clear: both;
	margin: 15px 0;
}
.photoalbum:after {
	clear: both;
	content: ".";
	display: block;
	height: 0;
	visibility: hidden;
}
.photoalbumname {
	font-size: 16px;
	font-weight: bold;
}
.phototitle, .photothumb, .photomore {
	float: left;
	margin: 5px 3px 0 2px;
}
.photothumb, .photocrsl {
	width: 95px;
	height: 95px;
}
.phototh {
	background-color: #e0e0e0;
}
.photomore {
	width: 93px;
	height: 93px;
	text-align: center;
	border: 1px solid #FD4B7D;
}
.photomore a {
	display: block;
	line-height: 21px;
	padding: 15px 0;
	font-size: 20px;
	font-weight: bold;
	font-family: Arial;
	text-decoration: none;
}
.photomore a span {
	font-size: 15px;
	/*color: black;
*/
}
.photoalbuminfo {
	clear: both;
	padding: 5px 0;
}
img.photousericon {
	vertical-align: text-bottom;
}
a img {
	border: none;
}
.photorating+#commentaList
/*просили отодвинуть комментарии пониже*/
 {
	padding-top: 20px;
	clear:both;
}
.photorating2+#commentaList
 {
	padding-top: 20px;
	clear:both;
}
.ad-gallery .ad-usearrors {
  font-style:italic;
  float:right;
  line-height:18px;
  font-size:11px;
}
.firmalbum {
  font-size:18px;
  background-color:rgb(228,230,229);
  color:black;
  padding:8px 0 8px 15px;
  margin:5px 0;
}
.firmalbumctrl {
  font-size:12px;
  float:right;
	cursor: pointer;
  color: #2E99C6;
  font-weight:normal;
  margin:3px 8px 0 0;	
}
.firmalbumctrl span {
  text-decoration: underline;
}
.photorating2 {
  display:none;
}
.photorating2 * {
  vertical-align:middle;
  height:16px;
}
.photorating2 span {
  vertical-align:middle;
  line-height:16px;
  font-size:14px;
  margin-right:3px;
}
.photorating2 input[type="radio"]
{
  height:13px;
}
.graybtnf {
  font-size:10px;
  border:none;
}
.photorating2 .graybtnf{
  margin-left:3px;
}


.photorating3 * {
  vertical-align:middle;
  height:16px;
}
.photorating3 span {
  line-height:16px;
  font-size:14px;
  margin-right:3px;
}
.photorating3 a {
  line-height:16px;
  font-size:14px;
}
.photorating3 span.r3_err {
  color:red;
}
.photorating3 input[type="radio"]
{
  height:13px;
}
.photorating3 input[type="button"]
{
  margin-left:3px;
} 
.rating_big {
  display:inline-block;
  background:url(images/rating_big.gif) no-repeat;
  width:85px;
  height:25px;
  text-align:center;
  color:white;
  font-size:20px !important;
  line-height:25px !important;
}

#contest1 {
  height:115px;
  padding-left:203px;
  background:url(images/contest1bk.jpg) no-repeat;
  margin-bottom:10px;  
}
#contest1 a {
  display:block;
  padding:0 0 0 50px;
  font-size:16px;
  line-height:30px;
}
/*
#contest1 h1 {
  font-size:24px;
  padding:10px 0;
  color:#FD4B7D;
  margin:0;
}*/
.photoalbumi {
  position:relative;
}
.photoalbumi .photomainrate{
	top: 5px !important;
	left: 2px !important;
} 
.photomainrate {
	background: url(images/rating_small.gif) no-repeat;
	height: 14px !important;
	position: absolute;
	text-align: center;
	top: 0px;
	left: 0px;
	width: 32px !important;
	color: white;
	font: 11px Arial;
	line-height:14px;
}
.photoadd a, .photoadd img {
  vertical-align:middle;
  line-height: 30px;
}