html {
	filter: expression(document.execCommand("BackgroundImageCache", false, true));
}

html, body, #layout {
	height: 100%;
}

#content {
	zoom: 1;
}


#gallery_navigation_wrapper {
	background-color: white;
	padding: 15px 40px 5px 40px;
	overflow: hidden;
	zoom: 1;
}

.gallery_previews {margin:0; padding-left: 4%; padding-right: 4%;}
.gallery_previews h3 {font-size: 130%; margin-bottom: 0.5em; font-weight: normal; font-family: Georgia, serif; }

#gallery_navigation {
	overflow: auto;
	position: relative;
/*	height: 166px;*/
min-height: 120px;
_height: auto;
-height: 120px;

	width: 100%;



}

.heighter {font-size: 1px; height: 120px;  float: left;  /display: none; }

#gallery_navigation.inited {
	overflow-x: hidden;
	overflow-y: visible;

}

#gallery_navigation .content {
	display: table;
	position: absolute;
	white-space: nowrap;

	
}

#gallery_navigation .content .reducer {
	display: table-row;

}

#gallery_navigation i,
#gallery_navigation a,
#gallery_navigation b,
#gallery_navigation .selected {
	display: table-cell;
	//float: left;
	//clear: right;
}

#gallery_navigation a,
#gallery_navigation b {
	padding: 5px;
	vertical-align: middle;
	/*width: 110px;*/
}

#gallery_navigation a:hover,
#gallery_navigation b:hover,
#gallery_navigation b.hover {
	cursor: pointer;
}

#gallery_navigation .selected {
	padding: 3px;
}

#gallery_navigation .selected img {
	border: 2px solid #c92e0f;
}

#gallery_navigation a.selected:hover,
#gallery_navigation a.selected.hover,
#gallery_navigation b.selected:hover,
#gallery_navigation b.selected {
	cursor: default;
}

#gallery_navigation a:focus {
	outline: none;
}

#gallery_navigation .description,
#gallery_navigation .description_sm,
#gallery_navigation .download {
	display: none;
}


#scroll {
/*	height: 17px;*/
	height: 3em;
	background: url("scroll-bg.gif") repeat-x;
	position: relative;
	clear: left;	
	/margin-top: 125px;


	-padding: 0; 
	-margin-left: 0; 
	-margin-right: 0;
	width: 100%;

}

#scroll .getter {
	height: 17px;
	position: absolute;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 2;
	//background: #fff;
	//filter: Alpha(opacity = 0);
}

#scroll .button {
	/*background: url("scroll-corners.gif") no-repeat;*/
	width: 8px;
	height: 17px;
	position: absolute;
	left: 0;
}

#scroll .right {
	left: -8px;
	margin-left: 100%;
	/*background-position: -22px 0;*/
}

#scroll .handler {
	background: url("scroll-handler-bg.gif") repeat-x;
	height: 17px;
	position: relative;
	margin: 0 8px;
	cursor: pointer;
	cursor: hand;

}

#scroll .handler .left,
#scroll .handler .right {
	background: url("scroll-handler.gif") no-repeat;
	height: 17px;
	width: 8px;
	position: absolute;
	left: -8px;
}

#scroll .handler .right {
	background-position: top right;
	margin-left: 100%;
	left: 0;
}

#scroll .marks_container {
	position: absolute;
	left: 20px;
	right: 20px;
	margin-top: 3px;
	//top: 3px;
	//position: relative;
	//left: 0;
	//margin-left: 20px;
	//margin-right: 20px;
	//width: 100%;
}

#scroll .mark {
	color: #000000;
	font-style: italic;
	font-size: 0.8em;
	position: absolute;
	left: 22px;
	top: 0;
}


#gallery_content {
	clear: both;
	position: relative;
	width: 100%;
	margin-bottom: 20px;
}

#gallery_content .hidden {
    display: none;
}

#gallery_content .content {
	position: relative;
	overflow: hidden;
	z-index: 1;
	width: 100%;
	zoom: 1;
}

#gallery_content .content .reducer:after {
	content: '';
	display: block;
	clear: both;
}

#gallery_content .content .reducer {
	padding: 0;
	/*margin: 0 20px;*/
	position: relative;
	clear: both;
	font-size: 1px;
	background: url('loader.gif') 50% 50% no-repeat;
	zoom: 1;
}

#gallery_content .content .reducer IMG {
	width: 100%;
	height: auto;
	position: relative;
	z-index: 2;
}

#gallery_content.vertical .content .reducer {
    height: 700px;
	text-align: center;
	clear: both;
}

#gallery_content.vertical .content .reducer IMG {
    height: 100%;
	width: auto;
}

/*#gallery_content H2 {
    float: left;
	font-size: 1.4em;
	font-weight: normal;
	font-family: Arial;
	font-style: normal;
	padding: 0.6em 0 0.6em 0;
	margin: 0;
}*/

#gallery_content .description {
    float: left;
	width: 50%;
	line-height: 1.3;
	margin: 0.8em 0;
	font-family: Times, serif; 
}

#gallery_content .download {
	padding: 0;
	margin: 1em 17.5em 1em 0;
	font-size: 0.8em;
	font-style: italic;
	text-align: left;
	float: right;
	//display: inline;
	position: relative;
	z-index: 2;
}

#gallery_content .download a:link,
#gallery_content .download a:visited {
	color: #666666;
}

#gallery_content .download a:hover {
	color: #37b7ff! important;
}

#gallery_content .control {
	position: absolute;
	z-index: 2;
	right: 0px;
	top: 0.8em;
	margin: 0;
	width: 13em;
}

#gallery_content .control .button {
	float: left;
	margin-right: 15px;
    font-size: 0.8em;
	font-style: italic;
    text-decoration: underline;
	color: #007798;
	cursor: pointer;
}

#gallery_content .control .button .icon {
	position: relative;
	overflow: hidden;
	float: left;
	width: 15px;
	height: 14px;
	font-size: 1px;
	background: #007798;
    margin-right: 5px;
}

#gallery_content .control .button .icon ins {
	position: absolute;
	top: 0;
	left: 0;
	width: 30px;
	height: 14px;
	background: url('controls.png');
	//_behavior: expression(  /* IE6 only - transparency with proper handling of relative URLs */
              this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1],
              this.style.background = "none",
              this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ")");
}

#gallery_content .control .vertical .icon ins {
	left: -15px;
}

#gallery_content .control .button:hover {
	color: #c92e0f;
}

#gallery_content .control .button:hover .icon {
	background: #c92e0f;
}

#gallery_content .control .selected {
    text-decoration: none;
	color: #000000;
}

.black #gallery_content .control .selected {color: #ffffff;}

#gallery_content .control .selected .icon {
	background: #98745d;
}


#gallery_content .reducer .arrow {
	position: absolute;
	z-index: 1;
	top: 0;
	bottom: 0;
	width: 50%;
	//height: 100%;
}

#gallery_content .reducer .arrow ins {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 140px;
	//height: 100%;
	background: url('pager.png');
}

#gallery_content .reducer .prev {
	text-align: left;
	left: -20px;
}

#gallery_content .reducer .prev ins {
	margin-left: 10px;
	//margin-left: -5px;
}

#gallery_content .reducer .next {
	text-align: right;
	right: -20px;
}

#gallery_content .reducer .next ins {
	margin-left: -30px;
	//margin-left: -25px;
}


/*новая навигация в галерее*/
div.coin_item {
	display:table-cell;
	vertical-align: middle;
	//float: left;
	//clear: right;
}
#gallery_navigation div.selected { padding: 0; }
#gallery_navigation div.selected a,
#gallery_navigation div.selected b { padding: 3px; }