@charset "utf-8";

html, body {
	margin: 0;
	padding:0;
	height: 100%;
	overflow: auto;
}     

body {
	background: #bababa url(/images/background.png) no-repeat center center;
	background-attachment: fixed;
	font-family:Arial, Helvetica, sans-serif;
	text-align:center;
}

img {
	behavior: url("/scripts/iepngfix.htc");
	border: none;
}

/*
layout
*/


img#logo {
	position:fixed;
	bottom:0;
	right:0;
	z-index:6;
}
*html img#logo{
	position:absolute;
	 right: auto; bottom: auto;
		left: expression( ( 0 - logo.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
		top: expression( ( 0 - logo.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}


a#lang {
	position:fixed;
	left:1px;
	bottom:0;
	z-index:3;
	display:block;
	padding:3px;
	background:#fff;
	font-size:11px;
	color:#000;
	text-decoration:none;	
}
*html a#lang {
	position:absolute;
	left: 1px;
	top: expression( ( 30 - logo.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}


a#lang:hover {
	background-color:#000;
	color:#fff;
}

ul {
	list-style-type:none;
}


p {
	font-size:.8em;
	color:#000;
}

h1 {
	font-size:30px;
}

a {
	color:#000;
}

a:hover {
	background:#fff;
}

div#conteiner {
	min-width:1000px;

}


div#content {
	padding: 80px 240px 50px 90px;
	text-align:left;

}

div.clear {
	clear: left;
	margin: 0;
	padding: 0;
	height: 1px;
	line-height: 1px;
	font-size: 1px;
}

div.gallery div {
	float:left;
	*float:none;
	*display:inline;
	margin:0 5px 5px 0;
	width:200px;
	height:250px;
	padding:1px 5px 5px 1px;
	background:url(/images/thumb_shadow.png) top left no-repeat;
}
* html div.gallery div {
	background:none;
}

div.gallery div a {
	text-decoration:none;
}

div.gallery div a:hover {
	background:none;
}

/*************************/

/* INDEX */

div#menu {
	width: 230px;
	height: 100%;
	margin: 0 auto;
	font-family:"Arial Narrow", Arial, sans-serif; 
	text-align:left;
}

div#menu_right {
	position:fixed;
	top:0;
	right:0;
	z-index:3;
	width: 230px;
	height: 100%;
	font-family:"Arial Narrow", Arial, sans-serif; 
	text-align:left;
	margin:0 20px 0 0;
}
*html div#menu_right {
	position:absolute;
	 right: auto; bottom: auto;
		left: expression( ( 0 - menu_right.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
		top: expression( ( 0 - menu_right.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
		}



/*
альтернативное HTML меню
*/
/* стандартное правило для всех браузеров; далее переписываем для всех, кроме Firefox */
ul#menu_alternative {
	margin: 0 auto 0 40px;
	padding: 81% 0;
}

/* Safari, Chrome */
html*ul#menu_alternative {
	margin: 0 auto 0 40px;
	padding: 87% 0;
}

/* IE 6, 7 */
* html ul#menu_alternative {
	margin: 100% auto 0 auto;
	padding: 0;
}

 /* Opera 9 */
@media all and (min-width:0px) {
	ul#menu_alternative { 
		margin: 0 auto 0 30px;
		padding: 89% 0;
	} 
}

/* 'обнуляющий' класс для jQuery */
ul#menu_alternative.aligned {
	position: relative;
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
}



ul#menu_alternative li {
	font-size:30px;
	margin: -2px 0 0 0;
	line-height:37px;
}

ul#menu_alternative li ul li {
	font-size:16px;
	line-height:22px;
	
}

ul#menu_alternative li a {
	padding:0 5px;
	text-decoration:none;
}

ul#menu_alternative li ul li a {
	padding:0 5px;
}

ul#menu_alternative li a:hover {
	background:#fff;
}

ul#menu_alternative li.selected a {
	color:#fff;
	background:#000;
}

ul#menu_alternative li.selected a:hover {
	color:#fff;
	background:#000;
}

/* exhibitions */
div.preview  div.thumb {
	position:relative;
	float:left;
	*float:none;
	*display:inline;
	margin:1px;
	*margin:-1px 1px;
	width:164px;
	height:164px;
}

div.preview div.frame {
	*float:none;
	*display:inline;
}

div.preview div.frame a {
	position:absolute;
	top:0;
	left:0;
	display:block;
	width:164px;
	height:164px;
	color:#fff;
	text-decoration:none;
	background:none;
}

div.preview div.frame a span {
	visibility:hidden;
	display:block;
	padding:2px;
	width:164px;
	height:164px;
	background: url(/images/roll_over.png) top left no-repeat;
	text-align:left;
}
*html div.preview div.frame a span {
	behavior: url("/scripts/iepngfix.htc");
}


div.preview div.frame a:hover span {
	visibility:visible;
}


/* exhibition_sselecred */

div#content a.back {
	display:block;
	margin:0 0 5px 0;
	padding:5px 6px 5px 10px;
	width:40px;
	*width:53px;
	font-size:12px;
	background:#fff;
	text-decoration:none;
}

div#content a.back:hover {
	color:#fff;
	background:#000;
}


/* about */

div.about {
	margin: 19% 0 0 0;
	*margin: 12% 0 0 0;
}

div.about img {
	float:left;
	margin:0 19px 0 0;
} 


/* contacts */

div.contacts {
	margin: 29% 0 0 0;
	*margin: 22% 0 0 0;
	text-align:center;
}
div.contacts a {
	padding:3px 4px;
}

div.contacts a:hover {
	background-color:#FFF;
}

div.contacts img {
	display:block;
	margin:0 auto 10px auto;
}

div.contacts span {
	display:block;
	margin:0 auto;
	width:185px;
}


/* portfolio_selected */

div#content div.selected_portfolio {
	position:absolute;
	top:0;
	left:0;
	z-index:10;
	height:100%;
	width:100%;
	background:#d1d1d1;
}

div#content div.selected_portfolio img {

	margin: 80px auto 50px auto;
}

/* 404 */
div#sorry {
	margin:0 auto;
	padding:300px 0 0 0;
	width:850px;
	font-family:"Arial Narrow", Arial;
}

div#sorry div {
	margin: 0 0 25px 420px;
	*margin: 0 0 25px 400px;
	width:400px;
	text-align:left;
}

div#sorry div h2 {
	font-size:24px;
	margin:0;
}

div#sorry div p {
	font-size:16px;
	margin:0;
}

