.Album {
	margin: 0px 5px 5px 0px;
}

.Album div {
	/*background: url( "tl_rb.gif" ) repeat-y right top;*/
}

.Album div div {
	/*background: url( "tl_ub.gif" ) repeat-x left bottom;*/
}

.Album div div div {
	/*background: url( "tl_ru.gif" ) no-repeat right bottom;*/
	padding: 0px 6px 6px 0px;
}

.Album div div div div {
	/*background: #ffffff;*/
	border: 1px solid #cccccc;
	/*border-left: 1px solid #cccccc;*/
	padding: 10px;
}

.Album div div div div table.AlbumTable {
	/*background: url( "spiral.gif" ) repeat-y left top;*/
	margin: 0px;
}

.Album div div div div table.AlbumTable td.AlbumTitle {
	text-align: center;
	font-weight: bold;
	font-size: 11px;
	/*padding: 5px 0px 0px 30px;*/
}

.Album div div div div table.AlbumTable td {
	/*padding: 0px 0px 0px 30px;*/
}

.Album div div div div table.AlbumTable td.AlbumTitle {
	text-align: center;
	font-weight: bold;
	font-size: 11px;
	/*padding: 5px 0px 0px 30px;*/
}

img.AlbumIcon {
	margin: 0px 5px -3px 0px;
	border: 0px;
}

.Album div div div div table.AlbumTable td.AlbumLogo {
	text-align: center;
	height: 120px;
}

/*------------------------------------------=-=-=-=-=-=-=-=
	Навигация по страницам в комментариях
------------------------------------------=-=-=-=-=-=-=-=*/

table.AlbumNavigation {
	border-collapse: separate;
	float: right;
}

td.navigation-album {
	padding: 5px 20px 10px 0px;
}

div.navigation-album {
	padding: 10px 0px 10px 0px;
}

.navigation-album span {
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}

.navigation-album span span {
	display: inline-table;
	height: 19px;
	line-height: 19px;
	font-size: 11px;
	/*border: 1px solid #FC3;*/
	border: 1px solid #999;
	padding: 0px 7px 0px 7px;
	font-weight: bold;
	/*color: #FC3;*/
	/* background: #FFFAEA; */
	color: #999;
	background: #F4F4F4;
}

.navigation-album span a {
	display: inline-table;
	height: 19px;
	line-height: 19px;
	font-size: 11px;
	/*border: 1px solid #FAF0DE;*/
	border: 1px solid #C7C7C7;
	padding: 0px 7px 0px 7px;
	/*color: #E3AD48;*/
	color: #959595;
}

.navigation-album span a:hover {
	/*border: 1px solid #E9B961;*/
	/*color: #E3AD48;*/
	/*background: #FFFBEC;*/
	border: 1px solid #A4A4A4;
	color: #959595;
	background: #F5F5F5;
}




table.iPhotoComNavigation {
	border-collapse: separate;
	width: 100%;
}

table.iPhotoComNavigation td {
	text-align: right;
}

td.navigation-com {
	padding: 5px 20px 10px 0px;
}

div.navigation-com {
	padding: 10px 0px 10px 0px;
}

.navigation-com span {
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
}

.navigation-com span span {
	display: inline-table;
	height: 19px;
	line-height: 19px;
	font-size: 11px;
	border: none;
	padding: 0px 7px 0px 7px;
	font-weight: bold;
	color: #ffffff;
	background: #FF6600;
}

.navigation-com span a {
	display: inline-table;
	height: 19px;
	line-height: 19px;
	font-size: 11px;
	border: none;
	padding: 0px 7px 0px 7px;
	background: #F2F2F2;
	color: #86009D;
	text-decoration: underline;
}

.navigation-com span a:hover {
	border: none;
	color: #ffffff;
	background: #FF6600;
	font-weight: 100;
}

img.AlbumLogo {
	border: 1px solid #cccccc;
	background: #ffffff;
	padding: 5px;
}

#status-nav-com {
	padding: 0px 7px 0px 7px;
	display: inline-block;
	height: 19px;
	line-height: 19px;
}

/*------------------------------------=-=-=-=-=
	Главная фотография
---------------------------------------------*/

.iPhotoMainPhoto {
	width: 100%;
	border: none;
	text-align: center;
	padding: 10px 0px 10px 0px;
}

.iPhotoMainPhoto h1 {
	margin: 0px;
	padding: 0px;
	font-size: 18px;
	color: #96BDF2;
	text-shadow: 1px 1px 1px #333;
}

.iPhotoMainPhoto .Photo {
	padding: 10px 0px 0px 0px;
	text-align: center;
	width: 100%;
}

.iPhotoMainPhoto .Photo .iPhotoBorderImg {
	border: 1px solid #cccccc;
	padding: 8px;
	background: #ffffff;
	z-index: 3;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	display: inline-block;
}

.iPhotoMainPhoto .Photo .iPhotoBorderImg img {
	border: none;
}

.iPhotoMainPhoto .PhotoInfo {
}

.iPhotoRatingTitle {
	font-weight: bold;
	padding: 0px 0px 5px 0px;
}

.iPhotoRatingText {
	color: #FF8000;
	font-size: 26px;
	width: 150px;
}

a.iPhotoBackImg, a.iPhotoNextImg {
	height: 24px;
	width: 23px;
	display: inline-block;
	z-index: 1;
	vertical-align: top;
	outline: none;
	border:0px solid #fff !important;
}
a.iPhotoNextImg, #iPhotoSpoiler_right{
float:right;
}
a.iPhotoBackImg, #iPhotoSpoiler_left{
float:left;
}
a.iPhotoBackImg span {
	display: block;
	width: 24px;
	height: 24px;
	background: url("../../img/prev-red.png");
}

a.iPhotoNextImg span {
	display: block;
	width: 24px;
	height: 24px;
	background: url("../../img/next-red.png");
}
/*
a.iPhotoBackImg:hover, a.iPhotoNextImg:hover {
	background: #F5F9FE;
}*/
/*
a.iPhotoBackImg:active, a.iPhotoNextImg:active {
	background: #EAF2FD;
}*/

a.iPhotoBackImg {
	margin: 20px -4px 0px 0px;
	border: 1px solid #cccccc;
	border-right: none;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-bottomleft: 5px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	border-top-left-radius: 5px;
	border-bottom-left-radius: 5px;
}

a.iPhotoNextImg {
	margin: 20px 0px 0px -4px;
	border: 1px solid #cccccc;
	border-left: none;
	-moz-border-radius-topright: 5px;
	-moz-border-radius-bottomright: 5px;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	border-top-right-radius: 5px;
	border-bottom-right-radius: 5px;
}

/*------------------------------------=-=-=-=-=
	Спойлер
---------------------------------------------*/

.iPhotoAbout {
	margin: 0 auto;
	width: 530px;
	padding:5px;
	background: url("../../img/black_f.png");
	border: 1px solid #fff;
	text-align: left;
	color: #fff;
}
.iPhotoAbout h2, .iPhotoAbout span{
color: #fff !important;
margin-left:24px;
}
.bott{
width:100%;
min-height:1px;
position:relative;
top:-30px;
}
.iPhotoSpoiler {
	width: 100%;
	margin: 0px;
}

.iPhotoSpoiler .iPhotoSpoilerContent {
	text-align: center;
	background: url("../../img/black_f.png");
	border: 1px solid #fff;
	border-left: none;
	border-right: none;
	padding: 0px;
	margin: 0px;
}

.iPhotoSpoiler .iPhotoSpoilerContent table.iPhotoSpoilerTable {
	border: 0px;
	padding-bottom: 5px;
}

.iPhotoSpoilerContent{
width:540px !important;
padding:0px;
}

.iPhotoSpoiler .iPhotoSpoilerContent table.iPhotoSpoilerTable td img.active, .iPhotoSpoiler .iPhotoSpoilerContent table.iPhotoSpoilerTable td img:hover {
	opacity: 1.0;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3)";
	filter: alpha(opacity=100, enabled=1) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3);
}
.iPhotoSpoiler .iPhotoSpoilerContent table.iPhotoSpoilerTable td img {
	opacity: 0.4;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=40) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3)";
	filter: alpha(opacity=40, enabled=1) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3);
	border: 1px solid #cccccc;
	background: #ffffff;
	padding: 0px;
	margin:0px !important;
	width:86px;
}
.iPhotoSpoiler .iPhotoSpoilerContent table.iPhotoSpoilerTable td img{
display:block;

}

.iPhotoSpoiler .iPhotoSpoilerContent table.iPhotoSpoilerTable td{
	padding: 0px;
	margin:0px !important;
	max-height:70px;
overflow:hidden;
}
#iPhotoSpoiler_left, #iPhotoSpoiler_right {
	width: 25px;
	cursor: pointer;
	height: 20px;
	color: #fff;
	padding: 0px;
	margin: 0px;
	border: 1px solid #fff;
	background: url("../../img/black_f.png");
	}

#iPhotoSpoiler_right span {
	width: 7px;
	height: 12px;
	display: block;
	margin: 0px 0px 0px 6px;
}

#iPhotoSpoiler_left span {
	width: 7px;
	height: 12px;
	display: block;
	margin: 0px 0px 0px 6px;
}

#iPhotoSpoiler_left:hover, #iPhotoSpoiler_right:hover {
	background: #EFEFEF;
	color: #000000;
	border: 1px solid #cccccc;
}

#iPhotoSpoiler_left:active, #iPhotoSpoiler_right:active {
	background: #F8F8F8;
	color: #000000;
	
}




.comments {
	margin: 0px 0px 20px 0px;
}

.comments_odd {
	margin: 0px 0px 5px 0px;
	background: #FDF9C1;
	border: 1px solid #FDF9C1;
	padding: 5px 0px 5px 0px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

.iPhotoDate {
	color: #999;
}


.iPhotoDate a:hover {
	color: #004D80;
}

.iPhotoDate a:active {
	color: #F00;
}




.iphoto-comment-del {
	color: #999;
}

.iPhotoBackgroundCom {
	background: #FFFFD7;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}


.spoiler_ajax_bg {
	position: relative;
	padding: 0px;
	margin: 0px;
}

.spoiler_ajax_bg_block {
	z-index: 1;
	position: absolute;
	top: -2px;
	left: -2px;
	width: 102%;
	background: #ffffff;
	opacity: 0.6;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3)";
	filter: alpha(opacity=60, enabled=1) progid:DXImageTransform.Microsoft.Shadow(color=#cacaca, direction=135, strength=3);
}




/* ==================== Рейтинг статьи */

.iPhotoRating {
	color: #555555;
	font-size: 11px;		/* ! */
	font-family: tahoma;	/* ! */
	width: 240px;
	height: 24px;
}
.iPhotoRatingUnit {
	list-style: none;
	margin: 0px;
	padding: 0px;
	width: 240px;
	height: 24px;
	position: relative;
	background-image: url( "rating.png" );
	background-position: top left;
	background-repeat: repeat-x;
}
.iPhotoRatingUnit li {
	padding: 0px;
	margin: 0px;
}
.iPhotoRatingUnit li a {
	width: 24px;
	height: 24px;
	text-decoration: none;
	z-index: 17;
	position: absolute;
	padding: 0px;
}
.iPhotoRatingUnit li a:hover {
	background-image: url( "rating.png" );
	background-position: left center;
	z-index: 2;
	left: 0px;
}
.iPhotoRatingUnit a.r1-unit { left: 0px; }
.iPhotoRatingUnit a.r1-unit:hover { width: 24px; }
.iPhotoRatingUnit a.r2-unit { left: 24px; }
.iPhotoRatingUnit a.r2-unit:hover { width: 48px; }
.iPhotoRatingUnit a.r3-unit { left: 48px; }
.iPhotoRatingUnit a.r3-unit:hover { width: 72px; }
.iPhotoRatingUnit a.r4-unit { left: 72px; }	
.iPhotoRatingUnit a.r4-unit:hover { width: 96px; }
.iPhotoRatingUnit a.r5-unit { left: 96px; }
.iPhotoRatingUnit a.r5-unit:hover { width: 120px; }
.iPhotoRatingUnit a.r6-unit { left: 120px; }
.iPhotoRatingUnit a.r6-unit:hover { width: 144px; }
.iPhotoRatingUnit a.r7-unit { left: 144px; }
.iPhotoRatingUnit a.r7-unit:hover { width: 168px; }
.iPhotoRatingUnit a.r8-unit { left: 168px; }
.iPhotoRatingUnit a.r8-unit:hover { width: 192px; }
.iPhotoRatingUnit a.r9-unit { left: 192px; }
.iPhotoRatingUnit a.r9-unit:hover { width: 216px; }
.iPhotoRatingUnit a.r10-unit { left: 216px; }
.iPhotoRatingUnit a.r10-unit:hover { width: 240px; }
.iPhotoRatingUnit li.current-rating {
	background-image: url( "rating.png" );
	background-position: left bottom;
	position: absolute;
	height: 24px;
	display: inline-block;
	z-index: 1;
}