/* Список битв */

.photobattles-list .item { 
	overflow: hidden;
	border-bottom: dashed 1px #ECECEC;
	padding: 10px 0;
}

.photobattles-list .item:last-child { 
	border: none;
}

.photobattles-list .item .logo{
	width:64px;
	height:64px;
	float:left;
	padding-right:20px;
}

.photobattles-list .item .details {
	padding-top: 2px;
}

.photobattles-list .item .details .title{
	font-size:18px;
	text-decoration: none;
}

.photobattles-list .item .details .info {
	font-size:12px;
	margin-top:5px;
}

.photobattles-list .item .details .info .status {
	padding-right: 10px;
}

.photobattles-list .item .details .info .status-0 { color:#D36B24; }
.photobattles-list .item .details .info .status-2 { color:#409D27; }
.photobattles-list .item .details .info .status-3 { color:#9D272B; }

/* Все фотографии в битве */

.photobattle-images ul,
.photobattle-images ul li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.photobattle-images ul {
	overflow: hidden;
}

.photobattle-images div {
	overflow: hidden;
	/*width: 120px;*/
	font-size:12px;
	
	position: relative;
}

.photobattle-images div:hover {
	background: #e5e5e5;
	transition: background 200ms linear;
	-o-transition: background 200ms linear;
	-moz-transition: background 200ms linear;
	-webkit-transition: background 200ms linear;
}

.photobattle-images div a.image {
	text-decoration: none;
	/*width: 120px;
	height: 150px;*/
	display: block;
	background-position: center !important;
	background-size: cover !important;
}

.photobattle-images div .details {
	color: #999;
}

.photobattle-images div .pb_rate {
	position: absolute;
	top: 0;
	font-weight: bold;
	background: #F60;
	color: #fff;
	padding: 1px 5px;
}

a.user {
	text-decoration: none;
}

.photobattle-images ul li a.delete {
	color: red;
	text-decoration: none;
}

/* Выбор из двух фотографий */

.photobattle-versus {
	overflow:hidden;
	margin: 20px 0 50px;
}

.photobattle-versus .photo { 
/* 
	float: left; 
	width: 315px;
 */
	padding:10px;
	border:solid 1px #B8D6FB;
	background:#F4F8FD;
	text-align:center;
	margin-right: 10px;
}

.photobattle-versus .photo:last-child {
	margin-right: 0;
} 

.photobattle-versus .photo .user{
	margin-bottom: 10px;
}

.photobattle-versus .photo .user a {
	padding-left:18px;
	background:url("../../images/icons/user.png") no-repeat left center;		
}

.photobattle-versus .photo .zoom {
	margin-top:10px;
}

.photobattle-versus .photo .zoom a {
	padding-left:18px;
	background:url("../../images/icons/search.png") no-repeat left center;			
}

/* Победители битвы */

.photobattle-winners .place {
	padding: 20px 20px 10px;
	border: solid 1px #e5e5e5;
	background: #f7f6f7;
	text-align: center;
}

.photobattle-winners .place:hover {
	background: #e5e5e5;
	transition: background 200ms linear;
	-o-transition: background 200ms linear;
	-moz-transition: background 200ms linear;
	-webkit-transition: background 200ms linear;
}

.photobattle-winners .place .user{
	margin-bottom: 10px;
}

.photobattle-winners .place .user a {
	text-decoration: none;		
}

.photobattle-winners .places-2-3 {
	overflow: hidden;
	margin:10px 0;
	margin-bottom:30px;
}

/* 
.photobattle-winners .places-2-3 .place {
	float:left;
	margin-right: 10px;
	width: 298px;
	position: relative;
}
 */

.photobattle-winners .places-2-3 .place .pb_rate{
	position: absolute;
	top: 0;
	left: 0;
	color: #fff;
	font-size: 18px;
	padding: 2px 15px 5px 15px;
	background: #f60;
}

.photobattle-winners .places-2-3 .place .result1{
	position: absolute;
	top: 0;
	right: 0;
	color: #fff;
	font-size: 18px;
	padding: 2px 15px 5px 15px;
	background: #f60;
}

.photobattle-winners .place-1 .result1 {
	background: #f60;
	position: absolute;
	top: 0;
	right: 0;
	color: #fff;
	font-size: 24px;
	padding: 2px 15px 5px 15px;
}

.photobattle-winners .places-2-3 .place:last-child {
	margin-right: 0;
}

.photobattle-winners .place-1 {
	background: #f7f6f7; 
	border-color: #e5e5e5;
	position: relative;
}

.photobattle-winners .place-1:hover {
	background: #e5e5e5;
	transition: background 200ms linear;
	-o-transition: background 200ms linear;
	-moz-transition: background 200ms linear;
	-webkit-transition: background 200ms linear;
}

.photobattle-winners .place-1 .pb_rate{
	background: #f60;
	position: absolute;
	top: 0;
	left: 0;
	color: #fff;
	font-size: 24px;
	padding: 2px 15px 5px 15px;
}

.pb_header {
	background: #f7f6f7;
	border: 1px solid #e5e5e5;
	line-height: 25px;
}

.pb_status {
}

.pb_link {
}

.pb_link a{
	text-decoration: none;
	margin-left: 10px;
}

.pb_status a{
	text-decoration: none;
}

.pb_battle_title {
  text-align: center;
  margin: 8px 0;
  height: 10px;
  line-height: 10px;
  overflow: hidden;
}

.pb_desc {
  font-style: italic;
  color: #888;
}

.place a {
  text-decoration: none;
}