@charset "utf-8";

#main{ 
	width:100%; 
	background:url(/img/white_new.jpg) repeat-x 0 0px;
	margin-top:0px; 
	overflow:hidden; 
	text-align:center;
}
#header{ width:960px; position:relative; margin:0 auto;}

	#header div.leftpart, #header div.rightpart{ position:absolute; height:430px; width:105px; text-align:left; display:block; z-index:5;  margin:0 auto; }
	
	#header div.leftpart{left:0;  background:url(/img/hronicals.gif) no-repeat 10px 25px; }
	#header div.rightpart{ right:0; }

	#header div.rightpart a, #header div.leftpart a{color:#FFFFFF;}
	#header div.rightpart a.allgal {font-size:.9em; line-height:1.34em; font-weight:bold; }
	
	#header div.selectlinks{ height:65px;  font-size:.9em;  display:block}
	#header div.selectlinks p{ color:#fff; font-weight:bold; display:block;  line-height:1.34em}

#wrapper{ text-align: center; width:100%;}

#scrollable {
	WIDTH: 790px; text-align:left; margin:0px auto; padding-top:0px;
	background: url(/img/bg_black.jpg) repeat-x top #000; overflow:hidden; margin-bottom:30px;
}
#scrollable h1{ text-align:center; }

#galleryform{ 
	WIDTH: 790px; HEIGHT: 234px; text-align:left; margin:0px auto; /*background:#FFFFFF;*/ display:block; clear:both; margin-bottom:0px; padding-top:15px; clear:both; overflow:hidden;}
	
	#galleryform div.ThreeCol, #galleryform div.TwoCol{ margin-left:5px; margin-right:10px;}
	
#search_result h2{text-align:left; font-family:Helvetica, sans-serif; font-size:19px; margin:0px 0 0em 10px; display:inline; padding:12px 10px 0 10px; height:58px; background:url(/img/finded.gif) no-repeat left top; float:left; clear:both; position:relative; color:#eee;}
#search_result h2 sup{
	font-size:14px; line-height:1.2em; color:#aaa; font-style:italic;
}	
#search_result h2 span{ position:absolute; right:-19px; top:0; width:19px; height:50px; background:url(/img/finded_left.gif) no-repeat left top; display:block;}

#stat h1{height:43px; background:url(/img/gallery.gif) no-repeat left top; float:left; clear:both; position:relative; margin:0 0 .3em 0; padding:0 0 0 15px; font-size:2em; line-height:1.8em;}
#stat h1 span{ position:absolute; right:-19px; top:0; width:20px; height:50px; background:url(/img/gallery_left.gif) no-repeat left top; display:block;}
#stat h2{height:29px; background:url(/img/photo.gif) no-repeat left top; float:left; clear:both; position:relative; margin:0 0 .3em 0; padding:0 0 0 15px; font-size:1.6em; line-height:1.5em;}
#stat h2 span{ position:absolute; right:-19px; top:0; width:19px; height:50px; background:url(/img/photo_left.gif) no-repeat left top; display:block;}

div.about{ display:block; font-size:.9em; padding-left:10px; margin-top:10px; text-align:left }
div.about p{ color:#aaa; display:block; padding:2px 0 !important; margin:0 !important; line-height:1em; font-size:1em;}

div.description { padding: 0px; padding-left:10px; margin-top:0px;  text-align:left}
div.description a{ font-size:1.1em; line-height:1.3em; padding:2px 0; color:#FFFFFF !important; }
div.description a:hover{ color:#333 !important; background-color:#ddd; text-decoration:none !important; }

.signals { text-decoration:none !important; font-size:52px; line-height:52px; position:absolute; bottom:-22px; left:-5px; letter-spacing:-7px; width:50px; text-align:left; z-index:100; display:block; padding:5px;}
.signals .sexclusive{ color:#FFCC00; cursor:help; margin-right:-7px }
.signals .snew{ color:#66CC00 cursor:help }

.floats
{
/* Компенсируем отступы между float-блоками, чтобы они занимали все доступное пространство */
margin: -7px 0 0 -5px;
padding-left:10px;
padding-top:20px;

/* Эти правила для IE */
position: relative;
display: inline-block;
clear: both;
}
.floats:after
{
content: '';
display: block;
clear: both;
}
.floats .sortitem
{
position: relative;
float: left;

/* Убираем удвоение отступов в IE */
display: inline;

/* Прячем все, что вдруг вылезло за наши ограничения */
overflow: hidden;

/* Отсупы между float-блоками */
margin: 7px 0 0 5px;

/* Задаем минимальную ширину по картинке и тексту */
width: 150px;
min-width: 150px;
}
.floats .sortitem .r
{
position: absolute;
top: 0;
left: 0;
width: 100%;
text-align:center;
}
.floats .sortitem .min
{
/* Задаем минимальную высоту по картинке */
margin: 0 0 230px 0;

/* Задаем минимальную высоту по тексту */
height: 12em;

/* Дублируем значение минимальной ширины по картинке для IE */
width: 150px;
}

.holder {
	width:150px; height:230px;
	text-align:center; display:table-cell; vertical-align:middle;
}
.holder a{border:1px solid #ccc !important; padding:5px; display:table; margin:0 auto; background-color:#FFFFFF;}
.holder a:hover{border:1px solid #777 !important;}