body{
	padding: 5px;
	background:#fff;
}
body,td,th {
	font-family: Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#646464;
}

body#layout_body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, a, abbr, acronym, address, code, del, dfn, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}
html, body, div, p, h1, h2, h3, table, td, th, ul, ol, textarea, input {
	font-family: Arial, Helvetica, sans-serif;
}
html, body {
	height: 100%;
	background: #fff;
	color: #646464;
}
body#layout_body {
	min-width:998px;
}
* html body#layout_body {
width:expression(document.documentElement.clientWidth < 998 ? "998px" : "auto");
}
body,td,th,div,p {
	font-size: 12px;
}

blockquote, q {
	quotes: "" "";
}

textarea {
	font-size: 12px;
}
img {
	border: none;
}
p {
	margin:5px 0px 7px;
}
a:link, a:visited {
	color:#3e5874;
}
ol, ul {
	padding-left:40px;
}
input, select, textarea {
	outline:none;
	overflow:visible;
}
/*===========================================================================*/
#layout_body {
	height:auto !important;
	height:100%;
	min-height:100%;
	margin: 0px;
	padding: 0px;
    background:url(/data/img/bg.jpg) top repeat-x;
}
.container {
	height:auto !important;
	height:100%;
	min-height:100%;
    background:url(/data/img/bg1.jpg) left 35px no-repeat;
}
.container2 {
	padding-bottom:10px;
    background:url(/data/img/bg2.jpg) right top no-repeat;
}
	
/*== header =========================================================================*/
#header {
	position:relative;
    height:183px;
    background:url(/data/img/bg_header.png) left 35px repeat-x;
}
#icons {
    padding:10px 0px 4px 27px;
}
    #icons a {
        margin-right:19px;
    }
#logo {
	padding:20px 0px 0px 14px;
    vertical-align:top;
}
/* === auth === */
#auth_outer {
	position:absolute;
	top:11px;
	right:17px;
	padding:7px;
	background:url(/data/img/bg_auth.png) center no-repeat;
}
#auth {
	width:177px;
	height:105px;
	padding:14px 21px 12px 17px;
	background-color:#fff;
	border:1px solid #97a3ad;
	font-size:11px;
}
#auth p {
	font-size:11px;
}
#auth ul {
	list-style:none;
	padding:0px;
}
	#auth li {
		position:relative;
		margin-bottom:4px;
	}
			#auth li.last {
				text-align:right;
			}
			#auth li span {
				position:absolute;
				margin-left:6px;
				font-size:18px;
				font-weight:bold;
				color:#055789;
			}
		#auth label {
			display:inline-block;
			float:left;
			*float:none;
			width:73px;
			height:17px;
			line-height:17px;
			padding-right:7px;
			background:#657990 url(/data/img/bg_label.gif) 6px center no-repeat;
			color:#fff;
			text-align:right;
		}
		@media all and (-webkit-min-device-pixel-ratio:10000),
		not all and (-webkit-min-device-pixel-ratio:0) {
			#auth label {
				position:relative;
				display:inline-block;
				float:none;
				top:-1px;
			}
		}
		#auth input {
			display:inline-block;
			width:95px;
			height:15px;
			line-height:15px;
			padding:0px;
		}
		#auth input.button {
			width:auto;
			height:14px;
			padding:0px 4px 0px 6px;
			border:none;
			color:#fff;
			background-color:#3e5874;
			font-size:11px;
		}
		#auth input#saveMyCookie {
			width:auto;
			height:auto;
		}
	#auth #reg {
		margin:0px 0px 13px;
		background:url(/data/img/bg_a.gif) left center repeat-x;
		text-align:right;
    }
		#auth #reg a {
			padding-left:10px;
			background-color:#fff;
		}
	#remember {
		margin:7px 0px 0px;
		text-align:justify;
    }
	#auth .saveMyLogIn {
		display:inline-block;
	}
		#auth #remember .saveMyLogIn span {
			float:left;
			width:15px;
			height:14px;
			margin-right:5px;
			background:url(/data/img/savelogin.gif) no-repeat 0 0;
		}
		#auth #remember #nothing:hover span {
			background-position:0 -28px;
		}
		#auth #remember #saveMyCookieSelected span {
			background-position:0 -14px;
		}
		#auth #remember #saveMyCookieSelected:hover span {
			background-position:0 -42px;
		}
	#auth .orange {
		font-size:16px;
		font-weight:bold;
	}
	
/* === topmenu === */
#topmenu {
    height:52px;
	padding-left:12px;
}
#topmenu span {
	display:inline-block;
	/*padding:15px 0px 13px 56px;
	background:url(/data/img/sep1.gif) 26px center no-repeat;*/
	padding:15px 0px 13px 41px;
	background:url(/data/img/sep1.gif) 17px center no-repeat;
}
	#topmenu span:first-child {
		padding-left:0px;
		background:none;
	}
	#topmenu a {
		display:inline-block;
		height:23px;
		line-height:23px;
		padding:0px 12px;
		background:url(/data/img/bg_topmenu.gif) left center repeat-x;
		border:1px solid #ced4d9;
	}
	#topmenu a:link, #topmenu a:visited {
		color:#fff;
		font-weight:bold;
		text-decoration:none;
	}

/*== search & menu =========================================================================*/
#search {
	position:absolute;
    margin-left:24px;
	top:174px;
	z-index:10;
}
	#search input {
		width:108px;
		height:17px;
		line-height:17px;
		padding:0px;
		border:#8c9ba7 1px solid;
	}
	#search label {
		display:inline-block;
		height:19px;
		line-height:19px;
		padding-right:6px;
		font-weight:bold;
		color:#556679;
	}
	#search .png {
		display:inline-block;
		position:relative;
		width:23px;
		height:23px;
		top:6px;
		border:none;
	}
#sidemenu {
    /*margin-left:24px;*/
    padding:30px 0px 0px 24px;
    list-style:none;
}
    #sidemenu li {
        padding:5px 0px;
    }
    #sidemenu a {
        padding-left:31px;
        background:url(/data/img/arr1.gif) left 4px no-repeat;
        font-weight:bold;
    }
    #sidemenu a:hover, #sidemenu a:active, #sidemenu a.active:link, #sidemenu a.active:visited {
        background:url(/data/img/arr1_a.gif) left 4px no-repeat;
        color:#fff;
		text-decoration:none;
    }
#splash {
	position:absolute;
	top:61px;
	right:-10px;
	width:83px;
	height:244px;
	background:url(/data/img/splash.png) right top no-repeat;
	z-index:50;
}
#moto {
	position:relative;
	margin-top:30px;
}

/*== center =========================================================================*/
.left_col {
	position:relative;
    float:left;
    width:210px;
	margin-top:20px;
}
.right_col {
    min-height:600px;
    _height:600px;
    margin:0px 25px 0px 220px;
    padding:20px 26px;
    background-color:#fff;
}

/*== content: main =========================================================================*/
/* === titles === */
.h_title {
	position:relative;
    margin-bottom:11px;
    padding:6px 16px 8px;
    font-size:20px;
    color:#3e5874;
    background:#d5dbe0 url(/data/img/bg_h.gif) right bottom no-repeat;
}
.h2_title {
    /*margin-bottom:18px;*/
    padding:30px 0px 0px;
    font-size:20px;
    color:#3e5874;
    background:url(/data/img/bg_h2_b.gif) left 40px repeat-x;
}
    .span_title {
        display:block;
        width:100%;
        background:url(/data/img/bg_h2.gif) right 10px no-repeat;
    }
    .span_title span {
        padding-right:10px;
        background-color:#fff;
    }
.h_search {
	position:absolute;
	/*display:inline-block;
	*display:inline;*/
	/*width:450px;*/
	right:100px;
	top:9px;
	
}
	.h_search input {
		/*width:265px;*/
		height:18px;
		margin:0 5px 0px 12px;
		border:#c0c0c0 1px solid;
		padding:0px 3px;
	}
	.h_search a {
		display:block;
		float:right;
		height:20px;
	}
.photostock {
	overflow:visible;
	padding-left:30px;
}

.h_popular, .h_nopopular {
	position:relative;
	height:62px;
	/*margin-left:260px;*/
	padding-left:53px;
	margin-left:245px;
}
.h_popular {
   background:url(/data/img/popular.gif) left top no-repeat; 
}
	.h_popular a, .h_nopopular a {
		float:right;
	}
	.h_popular a img, .h_nopopular a img {
		float:left;
		margin-right:8px;
	}

/* === tree === */
#tree {
	position:relative;
	float:left;
	width:231px;
	font-weight:bold;
	padding:4px;
	background:#dcdddc url(/data/img/bg_popular.jpg) top repeat-x;
	border:#e1e1e1 1px solid;
}
	.tree_first {
		padding:10px 6px;
		background:#dcdddc url(/data/img/bg_popular.jpg) top repeat-x;
		border:#e1e1e1 1px solid;
	}
	#tree ul {
		list-style:none;
	}
	#tree .tree_first > li {
		padding:3px 11px 2px;
		background:url(/data/img/tree_li.gif) left bottom repeat-x;
	}
	#tree ul li {
		padding:3px 0px 2px;
	}
	#tree ul ul {
		padding-left:9px;
		margin-top:3px;
		font-weight:normal;
	}
		#tree ul ul li {
			padding-left:13px;
			background:url(/data/img/arr2.gif) left 7px no-repeat;
		}
		#tree ul ul li.has_child {
			background-image:url(/data/img/arr2_a.gif);
		}
	#tree a:link, #tree a:visited {
		text-decoration:none;
	}
	
/* === popular photos === */
.popular {
	position:relative;
	margin:10px 0px 25px 245px;
	padding:4px;
	background:#dcdddc url(/data/img/bg_popular.jpg) top repeat-x;
	border:#e1e1e1 1px solid;
}
	.popular2 {
		padding:10px 10px;
		background:#dcdddc url(/data/img/bg_popular.jpg) top repeat-x;
		border:#e1e1e1 1px solid;
	}
	.popular_img {
		display:inline-block;
		*display:inline;
		background-color:#fff;
		border:#c2c2c2 1px solid;
		padding:3px;
	}
	.popular p {
		font-size:11px;
		font-weight:bold;
	}
	.dash {
		background:url(/data/img/dash.gif) center repeat-x;
	}
	.pop_pages {
		position:relative;
		display:inline-block;
		/*width:114px;*/
		height:27px;
		padding:0px 10px;
		line-height:27px;
		text-align:center;
		background:#4B637D;
		border:2px solid #fff;
		font-weight:bold;
		color:#fff;
		overflow:hidden;
	}
	.pop_pages img {
		margin-top:7px;
	}
	.pop_pages a:link, .pop_pages a:visited {
		font-weight:bold;
		color:#fff;
	}
	.photos {
		margin-left:50px;
		
	}
	
	

.photostock_more {
	padding:5px 0px 15px;
}
	.photostock_more img {
		padding:3px;
		border:1px solid #c2c2c2;
	}
.photostock_descr {
	float:left;
	width:400px;
}
.photostock_stars {
	margin-left:420px;
	width:150px;
}
.photostock_stars h5 {
	font-weight:bold;
}
.photostock_stars .orange {
	color:#f90;
	font-size:16px;
	font-weight:bold;
}

#photostock_stars.active .star{
    background-position:left 0px;
}
#photostock_voteok {
    display:none;
}
/* === stars === */
.star_points {
	display:inline-block;
	float:right;
}
.star_0, .star_02, .star_04, .star_06, .star_08, .star_1, .star_chosen {
	display:inline-block;
	width:20px;
	height:19px;
	background-image:url(/data/img/stars.jpg);
	background-repeat:no-repeat;
	/*cursor:pointer;*/
}
.star_0 {background-position:left 0px}
.star_02 {background-position:-20px 0px}
.star_04{background-position:-40px 0px}
.star_06 {background-position:-60px 0px}
.star_08 {background-position:-80px 0px}
.star_1 {background-position:-100px 0px}
.star_chosen, #photostock_stars.active .star_chosen {background-position:right 0px}

/* === blocks === */

.event_block {
    float:left;
    width:28%;
    padding:8px 25px 20px 0px;
    margin-right:25px;
    border-right:#cbd1d6 1px solid;
}
.photo_block {
	position:relative;
    float:left;
    width:28%;
	min-width:200px;
    padding:8px 10px 20px 15px;
    /*margin-right:25px;*/
    margin-right:10px;
}
.last {
    padding-right:0px;
    margin-right:0px;
    border-right:none;
}
	.photo_view {
		position:absolute;
		display:none;
		top:-30px;
		z-index:102;
	}
		.photo_view div {
			padding:4px 8px;
			background-color:#fff;
			border-left:1px solid #97978c;
			border-right:1px solid #97978c;
		}
	.last .photo_view {
		right:0px;
	}
	.photo_view .close {
		position:absolute;
		top:13px;
		right:13px;
		width:13px;
		height:13px;
		background:url(/data/img/close.gif) center no-repeat;
	}
	.photo_block p {
		margin:2px 0px 0px;
		font-size:11px;
	}
	.photo_block .photo_name {
		margin-top:5px;
		font-weight:bold;
	}
	.photo_block .cost {
		margin-bottom:5px;
		font-size:16px;
		color:#c70000;
		font-weight:bold;
	}
	.photo_block .cart a {
		padding-right:25px;
		background: url(/data/img/cart.gif) right center no-repeat;
	}
.pages {
	width:915px;
	height:23px;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}
	.pages * {
		vertical-align: middle;
	}
	.pages input {
		height:15px;
		width:48px;
		padding:0px;
		margin:0px 8px;
		text-align:center;
	}
	.pages img {
		margin:0px 8px;
	}

/* === b1, b2, b3, b4 === */
.b1t, .b2t, .b3t, .b4t {font-size:1px; overflow:hidden; display:block;}
.b1t {height:1px; background:#97978c; margin:0 5px; }
.b2t {height:1px; background:#fff; margin:0 3px; border-left:#97978c 2px solid; border-right:#97978c 2px solid;}
.b3t {height:1px; background:#fff; margin:0 2px; border-left:#97978c 1px solid; border-right:#97978c 1px solid;}
.b4t {height:2px; background:#fff; margin:0 1px; border-left:#97978c 1px solid; border-right:#97978c 1px solid;}

/* centering */
    .event_pic, .photo_pic {
        width:208px;
        height:111px;
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        background:url(/data/img/bg_events.jpg) left top no-repeat;
    }
        .event_pic *, .photo_pic * {
            vertical-align: middle;
        }
        .event_pic img, .photo_pic img {
            border:1px solid #fff;
        }
/*\*//*/
.event_pic, .photo_pic, .pages {
    display: block;
}
.event_pic span, .photo_pic span, .pages span {
    display: inline-block;
    height: 100%;
    width: 1px;
}
/**/

/* === partners === */
#partners_col {
    float:right;
    padding:16px 0px 5px 25px;
    border-left:1px solid #d1d1d1;
}
    #partners {
        width:150px;
        padding:10px 8px;
        text-align:center;
        background-color:#f2f2f2;
        border:1px solid #d1d1d1;
    }
        #partners img {
            margin-bottom:15px;
        }

/* === news === */
.news {
    margin:18px 213px 0px 0px;
}
.news_block {
    margin-bottom:25px;
}
    .news_block .date {
        float:left;
        padding:0px 2px;
        background-color:#97a3ad;
        font-size:11px;
        font-weight:bold;
        color:#fff;
    }
    .news_block p, .news_block h6 {
        margin-left:65px;
    }
    .news_block .more {
        text-align:right;
        font-size:11px;
    }
    .news_block .all_news {
		margin:0px;
        text-align:right;
        font-size:11px;
		background:url(/data/img/bg_all_news.gif) left center repeat-x;
    }
		.news_block .all_news img {
			padding-left:10px;
			background-color:#fff;
		}

/*== cabinet =========================================================================*/
#container {
	overflow: hidden;
	zoom: 1;
}
#tabs {
	position: relative;
	float: left;
	overflow: hidden;
	zoom: 1;
	z-index: 100;
	/*margin-bottom: -1px;*/
}
	#tabs div {
		float: left;
		cursor: pointer;
		border-bottom: 1px solid #CBD1D6;
	}
		#tabs div a {
			display: block;
			padding: 4px 8px;
			margin: 5px 3px -1px;
			text-decoration: none;
			color: #6B7F94;
			font-weight: bold;
			border: 1px solid #CBD1D6;
			background: #D5DBE0;
		}
		#tabs div a:hover {
			background: #fff;
		}
		#tabs div.active a {
			padding-bottom: 5px; /* #tabs div a  { padding-top + 1 }*/
			border-bottom: none;
			background: #fff;
			color: #3E5874;
		}
#tabs-container {
	position: relative;
	float: left;
	min-width:450px;
	padding: 5px 8px;
	margin-top:-1px;
	border: 1px solid #CBD1D6;
	/*border-top: 0;*/
	background: #fff;
	clear: both;
	z-index: 50;
}
	.td_h {
		padding: 5px;
		border: 1px solid #CBD1D6;
		background-color: #D5DBE0;
		color:#6B7F94;
		font-weight:bold;
	}
	.item .lightbox img {
		padding:3px;
		border:1px solid #CBD1D6;
	}

/*== footer =========================================================================*/
#footer {
    margin:5px 51px 0px 9px;
	background:#5b799a url(/data/img/bg_footer.gif) left top repeat-y;
	color:#fff;
}
	#footer a:link, #footer a:visited {
		color:#fff;
	}
    #copyright {
		float:left;
        width:211px;
		padding:10px 0px;
		text-align:center;
    }
	#counters {
		margin-left:211px;
		padding:5px 104px 5px 40px;
		background:url(/data/img/bg_footer.jpg) right bottom no-repeat;
		text-align:right;
	}

/*== forms =========================================================================*/
input[type=text], input[type=password], input.text, input.title, textarea, select { 
	background-color:#fff; 
	border:1px solid #e3e3e3; 
	color:#646464;
}
input[type=text]:focus, input[type=password]:focus, input.text:focus, input.title:focus, textarea:focus, select:focus {
	border:1px solid #8c9ba7; 
}
textarea      { height: 75px; }
input[type=checkbox], input[type=radio], input.checkbox, input.radio { 
	position:relative; top:.1em; margin-right:10px;
}
.uploadForm { width:400px;}
.uploadForm label { display:block; float:left; width:150px; margin-right: 10px; line-height:1em}
.uploadForm .button { float:right;}
form ul {list-style:none; padding:0px;}
form li {margin:0 0 .75em; overflow:hidden; clear:both}

/*== misc =========================================================================*/
.clear {clear:both;}
.left {float:left;}
.right {float:right;}
.center {text-align:center;}
.overflow {
	overflow:hidden;
	_zoom:1;
}
.need, a.red:link, a.red:visited {
	color:#ab1a09;
}
a.orange:link, a.orange:visited {
	color:#f90;
}
h1 {	font-size:21px; font-weight:400;}
h2 {	font-size:18px;}
h3 {	font-size:16px;}
h4 {	font-size:14px;}
h5 {	font-size:12px;}
h6 {	font-size:11px;}

.error {
	color:red;
}

