/* RESET */
html, body, div, span, applet, object, iframe,
p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd,
fieldset, form, label, legend,
caption,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section { display: block; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}


html {
	background-color:#fff;
	background-image:url(images/bcg.jpg);
	background-repeat:repeat-x;
	background-position: top center;
	overflow-y: scroll;
}
body, td, th {
	font-family: 'Open Sans', sans-serif;
	color:#000;
	font-size:12px;
}
.clearfix {
	clear:both;
}
#page-wrapper {
	position: relative;
}
#page_container, #footer_container {
	z-index: 4;
	position: relative;
}

#parallax-bg3 {
	z-index: 3;
	position: fixed;
	left: 80%;
	top: 0;
	width: 940px;
	margin-left: -470px;
	opacity:0.7;
	}
	#bg3-1 {
		position: absolute;
		top: -111px;
		left: 355px;
		}
	#bg3-2 {
		position: absolute;
		top: 812px;
		left: 321px;
		}
	#bg3-3 {
		position: absolute;
		top: 1628px;
		left: 403px;
		}
	#bg3-4 {
		position: absolute;
		top: 2700px;
		left: -85px;
		}
/* midground (clouds) */
#parallax-bg2 {
	z-index: 2;
	position: fixed;
	left: 30%; 
	top: 0;
	width: 1200px;
	margin-left: -600px;
	opacity:0.7;
	}
	#bg2-1 {
		position: absolute;
		top: 162px;
		left: 200px;
		}
	#bg2-2 {
		position: absolute;
		top: 300px;
		left: 1150px;
		}
#parallax-bg1 {
	z-index: 1;
	position: fixed;
	left: 5%;
	top: 0;
	width: 1200px;
	margin-left: -600px;
	opacity:0.7;
	}
	#bg1-1 {
		position: absolute;
		top: 85px;
		left: -270px;
		}
	#bg1-2 {
		position: absolute;
		top: 440px;
		left: 795px;
		}

#page_container {
	width:959px;
	margin:0 auto;
	padding-top:20px;
	margin-bottom:65px;
}

#left-block {
	width:227px;
	float:left;
}
#logo {
	text-align:center;
}
#logo span {
	font-size:11px;
	color:#a1a1a1;
}
#content {
	position:relative;
	margin-left:227px;
}

#footer_container {
	background:url(images/footer-bcg.png);
	border-top:1px solid #cfcdcd;
}
#footer {
	position:relative;
	height:118px;
	width:959px;
	margin:0 auto;
}
#logo {
	margin-bottom:20px;
}
#header-slider {
	position:relative;
	background-color:#fff;
	margin-bottom:40px;
}
#page {
	padding:10px;
	overflow:hidden;
}
#design {
	position:absolute;
	bottom:10px;
	right:0;
	font-size:11px;
	color:#99835a;
}
#design a {
	color:#99835a;
}
#copyright {
	position:absolute;
	top:30px;
	right:0;
	text-align:right;
}
#socials {
	position:absolute;
	top:50px;
	left:0;
}
#socials ul {
	margin:0;
	padding:0;
}
#socials ul li {
	float:left;
	margin:0 10px 0 0;
	padding:0;
	list-style-type:none;
}
#socials ul li a {
	display:block;
	width:24px;
	height:24px;
	background-image:url(images/socials.png);
}
#socials ul li a.gp { background-position:0 0; }
#socials ul li a.twitter { background-position:-24px 0; }
#socials ul li a.vk { background-position:-48px 0; }
#socials ul li a.fb { background-position:-72px 0; }
#socials ul li a.rss { background-position:-96px 0; }
#socials ul li a.ok { background-position:-120px 0; }

#page-container {
	background:#fff;
	border:1px solid #d0d0d0;
	border-radius:10px;
	padding:20px;
	box-shadow:0 2px 6px rgba(0,0,0,.19);
	margin-top:40px;
	padding-bottom:64px;
}
#right-block {
	float:right;
	width:200px;
	position:relative;
	z-index:12;
	padding-top:20px;
}
#line-up {
	background:url(images/line-up.png) no-repeat;
	position:absolute;
	width:471px;
	height:155px;
	top:-44px;
	right:-72px;
	z-index:2;
}
#line-down {
	background:url(images/line-down.png) no-repeat;
	position:absolute;
	width:389px;
	height:112px;
	bottom:-47px;
	left:-39px;
	z-index:2;
}
.second_page {
	position:relative;
	z-index:12;
	margin-right:210px;
}
.second_page.no_right_block {
	margin-right:0px;
}


input[type="text"],
input[type="password"],
textarea,
select {
	padding:3px 5px;
	border:1px solid #9c865d;
	border-radius:3px;
	background-color:#fffaf4;
}
.starrequired {
	color:#f00;
	font-weight:bold;
}
.body-blog a:link, .body-blog a:visited, .body-blog a:active, .blog-navigation-box li a {
	color:#f57c26;
}