html{
	overflow-y:scroll;
	-overflow-y:visible; /* в IE6 есть свой прокрутчик страницы #scroller */
}
#scroller{
	overflow:scroll;
}


/**
 * Common
 */
#header {
	margin-bottom: 0;
	padding-bottom: 3em;
}

#header .header_back_left,
#header .header_back_right {
	display: none;
}

.main {
	position: relative;
	width: 100%;
}

.main .reducer {
	padding-left: 0;
}

.extra {
	display: none;
	left: 0;
	position: absolute;
	top: 0;
	width: auto;
}

.extra .reducer {
	padding-left: 0;
}

h1 {
	display: none;
}

#content {
	position: relative;
}


/**
 * Gallery
 */
#gallery {
	margin: -2.1em 0 0;
	position: relative;
}


/**
 * Gallery Navigation
 */
#gallery .navigation {
	clear: left;
	line-height: 2;
	margin-left: 60px;
	position: relative;
	white-space: nowrap;
	width: 50%;
	z-index: 1;
}

#gallery .navigation:after {
	clear: left;
	content: '';
	display: block;
	height: 0;
}

#gallery .navigation em {
	font-style: normal;
}

#gallery .navigation .split {
	background: #4b4b4b url(/f/1/global/i/gallery_panel_splitter.png) repeat-x;
	border-bottom: 1px solid #4b4b4b;
	display: block;
	float: left;
	font-size: 92.857%;
	height: 2em;
	margin-top: 3px;
	overflow: hidden;
	width: 1px;
}

#gallery .navigation .item {
	border-bottom: 1px solid #4b4b4b;
	display: block;
	float: left;
	font-size: 92.857%;
	margin-top: 3px;
	position: relative;
	text-decoration: none;
}

#gallery .navigation .item,
#gallery .navigation .item:hover,
#gallery .navigation .item:focus,
#gallery .navigation .item:visited {
	color: #fff4aa;
}

#gallery .navigation .selected {
	border-bottom: 0;
	cursor: text;
	color: #fff !important;
	font-weight: bold;
	margin: 0 0 -7px;
	overflow: hidden;
}

#gallery .navigation .item .wrap {
	background: #373737 url(/f/1/global/i/gallery_panel_back.png) repeat-x;
	display: block;
	min-width: 8em;
	padding: 0 10px;
}

#gallery .navigation .item:hover .wrap {
	background: #484848 url(/f/1/global/i/gallery_panel_back_hover.png) repeat-x;
}

#gallery .navigation .first .wrap {
	margin-left: 4px;
}

#gallery .navigation .last .wrap {
	margin-right: 4px;
}

#gallery .navigation .selected .wrap,
#gallery .navigation .selected:hover .wrap {
	background: #3a3a3a url(/f/1/global/i/gallery_panel_selected.png) repeat-x;
	margin: 0 4px;
	padding: 3px 10px 8px;
}

#gallery .navigation .selected .back,
#gallery .navigation .selected .back_l,
#gallery .navigation .selected .back_r {
	background-image: url(/f/1/global/i/gallery_panel_photo_back_selected.png);
	display: block;
	height: 7px;
	margin-top: 4px;
	position: absolute;
	top: 2em;
}

#gallery .navigation .selected .back {
	background-position: 0 -7px;
	background-repeat: repeat-x;
	left: -4px;
	padding: 0 4px;
	width: 100%;
}

#gallery .navigation .selected .back_l,
#gallery .navigation .selected .back_r {
	background-repeat: no-repeat;
	left: 0;
	overflow: hidden;
	width: 7px;
}

#gallery .navigation .selected .back_r {
	background-position: -7px 0;
	left: -7px;
	margin-left: 100%;
}

#gallery .navigation .cn_l,
#gallery .navigation .cn_r {
	background: url(/f/1/global/i/gallery_panel_borders.png) no-repeat;
	display: none;
	height: 2em;
	left: 0;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 4px;
}

#gallery .navigation .cn_r {
	left: -4px;
	margin-left: 100%;
}

#gallery .navigation .first .cn_l,
#gallery .navigation .last .cn_r {
	display: block;
}

#gallery .navigation .selected .cn_l,
#gallery .navigation .selected .cn_r {
	display: block;
	padding-top: 4px;
}

#gallery .navigation .first:hover .cn_l {
	background-position: -16px 0;
}

#gallery .navigation .last .cn_r {
	background-position: -4px 0;
}

#gallery .navigation .last:hover .cn_r {
	background-position: -20px 0;
}

#gallery .navigation .selected .cn_l,
#gallery .navigation .selected:hover .cn_l {
	background-position: -8px 0;
}

#gallery .navigation .selected .cn_r,
#gallery .navigation .selected:hover .cn_r {
	background-position: -12px 0;
}


/**
 * Gallery Previews
 */
#gallery .previews {
	height: 74px;
	padding-top: 7px;
	position: relative;
	width: 100%;
}

#gallery .previews .back {
	background: #1f1f1f url(/f/1/global/i/gallery_panel_photo_back.png) repeat-x;
	height: 55px;
	left: 0;
	padding: 7px 0;
	position: absolute;
	top: 0;
	width: 100%;
}

#gallery .previews .container {
	height: 67px;
	margin: 0 32px;
	overflow: hidden;
	padding-bottom: 7px;
	position: relative;
}

#gallery .previews .content {
	cursor: move;
	height: 55px;
	margin-left: -88px; /* Ширина прелоадера */
	position: absolute;
	top: 0;
	width: 800%;
}

#gallery .previews .pictures {
	float: left;
	line-height: 55px;
}

#gallery .previews .pictures img {
	display: none;
	margin-right: 4px;
	vertical-align: middle;
}

#gallery .previews .pictures img.active {
	background-color: #777;
	cursor: pointer;
	display: inline;
}

#gallery .previews .pictures img.selected {
	cursor: move;
	filter: alpha(opacity=30);
	opacity: .3;
}

#gallery .preloader {
	background-position: center center;
	float: left;
	height: 55px;
	padding: 0 35px;
	position: relative;
}


/**
 * Gallery Line Control Arrows
 */
#gallery .previews .prev,
#gallery .previews .next {
	cursor: pointer;
	display: block;
	height: 20px;
	position: absolute;
	top: 26px;
	width: 17px;
}

#gallery .previews .disabled {
	cursor: auto;
}

#gallery .previews .prev {
	left: 6px;
}

#gallery .previews .next {
	left: auto;
	right: 5px;
}

#gallery .previews .prev .icon,
#gallery .previews .next .icon {
	height: 20px;
	position: relative;
	top: 0;
	width: 17px;
}

#gallery .previews .prev .icon ins,
#gallery .previews .next .icon ins {
	top: -26px;
}

#gallery .previews .prev .icon ins {
	left: -14px;
}

#gallery .previews .next .icon ins {
	left: -31px;
}

#gallery .previews .prev:hover .icon ins,
#gallery .previews .next:hover .icon ins,
#gallery .previews .hover .icon ins {
	top: -46px;
}

#gallery .previews .disabled .icon ins,
#gallery .previews .disabled:hover .icon ins {
	top: -66px;
}


/**
 * Gallery Fast Navigation Control
 */
#gallery .previews .selected_left,
#gallery .previews .selected_right {
	color: #fff;
	cursor: pointer;
	display: block;
	height: 10px;
	left: 7px;
	position: absolute;
	top: 70px;
	width: 13px;
}

#gallery .previews .selected_right {
	left: auto;
	right: 7px;
}

#gallery .previews .content .selected_runner {
	background: url(/f/1/global/i/icons.png) -106px -26px no-repeat;
	bottom: -19px;
	height: 7px;
	left: -10px;
	margin-left: -4px;
	top: auto;
	width: 7px;
}

.back_state_0 #gallery .previews .content .selected_runner {
	background-position: -106px -33px;
}


/**
 * Gallery Labels
 */
#gallery .labels {
	display: none;
}


/**
 * Gallery Selector
 */
.gallery_selector {
	left: 350px;
	position: absolute;
	top: 50px;
}


/**
 * Pictures
 */
#content .pictures {
	clear: both;
	overflow: hidden;
	position: relative;
	width: 100%
}

#content .pictures:after {
	clear: both;
	content: '';
	display: block;
	height: 0;
}

#content .pictures .prev,
#content .pictures .current,
#content .pictures .next {
	float: left;
	position: relative;
}

#content .pictures .prev,
#content .pictures .next {
	top: 0;
	width: 30%;
}

#content .pictures .prev {
	left: -5%;
	margin-right: 0;
}

#content .pictures .next {
	margin-right: -15%;
}

#content .pictures .current {
	/*cursor: pointer;*/
	margin-right: 5%;
	width: 40%;
}

#content .pictures.animate .current,
#content .pictures.busy .current {
	cursor: auto;
}

#content .pictures .picture {
	display: block;
	min-height: 1px;
	outline: none;
	width: 100%;
}

#content .pictures .prev .picture,
#content .pictures .next .picture {
	margin-top: 200px;
}

#content .pictures .picture img {
	display: block;
	height: auto;
	left: 0;
	top: 0;
	width: 100%;
}

#content .pictures .prev .picture img,
#content .pictures .next .picture img {
	cursor: pointer;
}

#content .pictures.animate .prev .picture img,
#content .pictures.animate .next .picture img,
#content .pictures.busy .prev .picture img,
#content .pictures.busy .next .picture img {
	cursor: auto;
}

#content .pictures.animate .picture img {
	image-rendering: optimizeSpeed;
	-ms-interpolation-mode: nearest-neighbor;
}

#content .pictures .picture img.hid {
	position: absolute;
}

.photo_size_0 #content .pictures .prev { left: -5%; margin-right: 0; width: 30%; }
.photo_size_0 #content .pictures .current { width: 40%; }
.photo_size_0 #content .pictures .next { width: 30%; }

.photo_size_1 #content .pictures .prev { left: -5%; margin-right: 0; width: 28%; }
.photo_size_1 #content .pictures .current { width: 44%; }
.photo_size_1 #content .pictures .next { width: 28%; }

.photo_size_2 #content .pictures .prev { left: -5%; margin-right: 0; width: 27%; }
.photo_size_2 #content .pictures .current { width: 46%; }
.photo_size_2 #content .pictures .next { width: 27%; }

.photo_size_3 #content .pictures .prev { left: -5%; margin-right: 0; width: 25%; }
.photo_size_3 #content .pictures .current { width: 50%; }
.photo_size_3 #content .pictures .next { width: 25%; }

.photo_size_4 #content .pictures .prev { left: -5%; margin-right: 0; width: 24%; }
.photo_size_4 #content .pictures .current { width: 52%; }
.photo_size_4 #content .pictures .next { width: 24%; }

.photo_size_5 #content .pictures .prev { left: -5%; margin-right: 0; width: 22%; }
.photo_size_5 #content .pictures .current { width: 56%; }
.photo_size_5 #content .pictures .next { width: 22%; }

.photo_size_6 #content .pictures .prev { left: -5%; margin-right: 0; width: 21%; }
.photo_size_6 #content .pictures .current { width: 58%; }
.photo_size_6 #content .pictures .next { width: 21%; }

.photo_size_7 #content .pictures .prev { left: -5%; margin-right: 0; width: 19%; }
.photo_size_7 #content .pictures .current { width: 62%; }
.photo_size_7 #content .pictures .next { width: 19%; }

.photo_size_8 #content .pictures .prev { left: -5%; margin-right: 0; width: 18%; }
.photo_size_8 #content .pictures .current { width: 64%; }
.photo_size_8 #content .pictures .next { width: 18%; }

.photo_size_9 #content .pictures .prev { left: -5%; margin-right: 0; width: 16%; }
.photo_size_9 #content .pictures .current { width: 66%; }
.photo_size_9 #content .pictures .next { width: 16%; }

.photo_size_10 #content .pictures .prev { left: -5%; margin-right: 0; width: 15%; }
.photo_size_10 #content .pictures .current { width: 70%; }
.photo_size_10 #content .pictures .next { width: 15%; }

.photo_size_11 #content .pictures .prev { left: -4%; margin-right: 1%; width: 13%; }
.photo_size_11 #content .pictures .current { width: 72%; }
.photo_size_11 #content .pictures .next { width: 13%; }

.photo_size_12 #content .pictures .prev { left: -4%; margin-right: 0; width: 12%; }
.photo_size_12 #content .pictures .current { width: 76%; margin-right: 4%; }
.photo_size_12 #content .pictures .next { width: 12%; }

.photo_size_13 #content .pictures .prev { left: -3%; margin-right: 1%; width: 10%; }
.photo_size_13 #content .pictures .current { width: 78%; margin-right: 4%; }
.photo_size_13 #content .pictures .next { width: 10%; }

.photo_size_14 #content .pictures .prev { left: -4%; margin-right: -1%; width: 10%; }
.photo_size_14 #content .pictures .current { width: 82%; margin-right: 3%; }
.photo_size_14 #content .pictures .next { width: 10%; }

.photo_size_15 #content .pictures .prev { left: -5%; margin-right: -3%; width: 10%; }
.photo_size_15 #content .pictures .current { width: 86%; margin-right: 2%; }
.photo_size_15 #content .pictures .next { width: 10%; }

.photo_size_16 #content .pictures .prev { left: -6%; margin-right: -4%; width: 10%; }
.photo_size_16 #content .pictures .current { width: 88%; margin-right: 2%; }
.photo_size_16 #content .pictures .next { width: 10%; }

.photo_size_17 #content .pictures .prev { left: -7%; margin-right: -6%; width: 10%; }
.photo_size_17 #content .pictures .current { width: 92%; margin-right: 1%; }
.photo_size_17 #content .pictures .next { width: 10%; }

.photo_size_18 #content .pictures .prev { left: -8%; margin-right: -7%; width: 10%; }
.photo_size_18 #content .pictures .current { width: 94%; margin-right: 1%; }
.photo_size_18 #content .pictures .next { width: 10%; }

.photo_size_19 #content .pictures .prev { left: -9%; margin-right: -8%; width: 10%; }
.photo_size_19 #content .pictures .current { width: 96%; margin-right: 1%; }
.photo_size_19 #content .pictures .next { width: 10%; }

.photo_size_20 #content .pictures .prev,
.photo_size_20 #content .pictures .next { left: 0; width: 0; }
.photo_size_20 #content .pictures .current { width: 100%; }

#content .pictures .slideshow {
	cursor: pointer;
	height: 56px;
	left: 50%;
	margin-left: -85px;
	position: absolute;
	top: 220px;
	width: 170px;
}

#content .pictures.animate .slideshow,
#content .pictures.busy .slideshow {
	cursor: auto;
}

#content .pictures .slideshow ins {
	display: block;
	overflow: hidden;
	position: absolute;
}

#content .pictures .slideshow .c {
	background: #ccc;
	filter: alpha(opacity=70);
	height: 100%;
	left: 50%;
	margin-left: -60px;
	opacity: .7;
	width: 120px;
}

#content .pictures .slideshow .l,
#content .pictures .slideshow .r {
	height: 100%;
	left: 0;
	width: 25px;
}

#content .pictures .slideshow .r {
	left: -25px;
	margin-left: 100%;
}

#content .pictures .slideshow .l ins {
	left: -212px;
	top: -52px;
}

#content .pictures .slideshow .r ins {
	left: -239px;
	top: -52px;
}

#content .pictures .slideshow .play {
	height: 33px;
	left: 29px;
	margin-top: -16px;
	top: 50%;
	width: 31px;
}

#content .pictures .slideshow .play ins {
	left: -180px;
	top: -71px;
}

#content .pictures .slideshow .message {
	color: #fff;
	font-size: 16px;
	left: 70px;
	line-height: 56px;
	text-decoration: none;
	top: 0;
}


/**
 * Picture Info
 */
#content .picture_info {
	font-size: 93%;
	padding-top: 1em;
}

#content .picture_info h2 {
	font-size: 100%;
	margin-bottom: 1.2em;
}

#content .picture_info p {
	margin-bottom: .3em;
	padding-left: 20px;
	position: relative;
	zoom: 1;
}

#content .picture_info p.photo_home .icon {
	height: 12px;
	margin-top: -6px;
	top: .6em;
	width: 12px;
}

#content .picture_info p.photo_home .icon ins {
	left: -211px;
	top: -26px;
}

#content .picture_info p.comments .icon {
	height: 14px;
	margin-top: -7px;
	top: .6em;
	width: 16px;
}

#content .picture_info p.comments .icon ins {
	left: -223px;
	top: -26px;
}


/**
 * All authors and places
 */
.all_authors,
.all_places {
	left: 350px;
	position: absolute;
	top: 50px;
}


/**
 * Top Selector
 */
.top_selector {
	left: 350px;
	position: absolute;
	top: 50px;
	width: 20%;
	z-index: 2;
}


/**
 * Teaser
 */
#content .teaser {
	font-size: .857em;
	left: 10px;
	max-width: 16.5em;
	padding: 10px 15px 0 22px;
	overflow: hidden;
	position: absolute;
	top: 10px;
}

#content .teaser .content {
	position: relative;
}

#content .teaser .back {
	background: #000;
	display: block;
	filter: alpha(opacity=80);
	height: 1000px;
	opacity: .8;
	position: absolute;
	right: 0;
	top: 0;
	width: 100%;
}


/**
 * Not Photos
 */
#content .not_photos {
	font-size: 1.429em;
	padding-top: 3em;
	text-align: center;
}


/**
 * Slideshow
 */

.slideshow_mode{
	overflow:hidden;
}

.slideshow_mode body{
	background: #000 !important;
	overflow: hidden;
}

.slideshow_mode #layout,
.slideshow_mode #scroller,
.slideshow_mode #footer,
.slideshow_mode #color_picker {
	visibility: hidden;
}

#slideshow {
	display: none;
	height: 100%;
	left: 0;
	position: absolute;
	text-align: center;
	top: 0;
	width: 100%;
}

.slideshow_mode #slideshow {
	display: block;
}

#slideshow img {
	position: relative;
	vertical-align:top;
}

#slideshow img.by_width {
	height: auto;
	width: 100%;
}

#slideshow img.by_height {
	height: 100%;
	width: auto;
}

#slideshow .controls {
	bottom: 20px;
	display: block;
	height: 56px;
	margin-left: -85px;
	left: 50%;
	overflow: hidden;
	position: absolute;
	width: 170px;
}

#slideshow .controls ins {
	display: block;
	overflow: hidden;
	position: absolute;
}

#slideshow .controls .c {
	background: #ccc;
	filter: alpha(opacity=70);
	height: 100%;
	left: 50%;
	margin-left: -60px;
	opacity: .7;
	top: 0;
	width: 120px;
}

#slideshow .controls .l,
#slideshow .controls .r {
	height: 100%;
	left: 0;
	width: 25px;
}

#slideshow .controls .r {
	left: -25px;
	margin-left: 100%;
}

#slideshow .controls .l ins {
	left: -212px;
	top: -52px;
}

#slideshow .controls .r ins {
	left: -239px;
	top: -52px;
}

#slideshow .prev,
#slideshow .next {
	height: 22px;
	left: 16px;
	margin-top: -11px;
	top: 50%;
	width: 28px;
}

#slideshow .next {
	left: -44px;
	margin-left: 100%;
}

#slideshow .prev ins,
#slideshow .next ins {
	left: -315px;
}

#slideshow .prev ins {
	top: -104px;
}

#slideshow .prev_active ins {
	cursor: pointer;
	top: -58px;
}

#slideshow .next ins {
	top: -126px;
}

#slideshow .next_active ins {
	cursor: pointer;
	top: -82px;
}

#slideshow .play {
	height: 33px;
	left: 50%;
	margin: -16px 0 0 -15px;
	top: 50%;
	width: 31px;
}

#slideshow .play ins {
	left: -180px;
	top: -104px;
}

#slideshow .play_active ins {
	cursor: pointer;
	top: -71px;
}

#slideshow .pause {
	cursor: pointer;
	height: 33px;
	left: 50%;
	margin: -16px 0 0 -14px;
	top: 50%;
	width: 28px;
}

#slideshow .pause ins {
	left: -345px;
	top: -58px;
}

#slideshow .close {
	cursor: pointer;
	height: 47px;
	left: auto;
	right: 15px;
	top: 15px;
	width: 47px;
}

#slideshow .close ins {
	left: -266px;
	top: -52px;
}
