/* Extended base styles (site specific)
*****************************************************************/

html {
	overflow-y: scroll; /* always force a scrollbar in non-IE */
	}
	
body {
	background-color: rgba(183,183,183,1.00);
	overflow-x: hidden;
	height: 5600px;
	line-height: 1.5;
	color: #000;
	font-size: 14px;
	font-family: Arial,sans-serif;
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: cover;
	background-attachment: scroll;
}

h1 {
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 70px;
	text-align: center;
	margin-top: 45px;
	line-height: 70px;
	margin-bottom: 0px;
	letter-spacing: 7px;
}

h2 {
	font-family: 'Maven Pro', sans-serif;
	font-size: 17px;
	color: rgba(255,255,255,1.00);
	border: 2px solid rgba(255,255,255,1.00);
	margin: 0px;
	padding: 17px;
	text-align: center;
}

h3 {
	color: rgba(255,255,255,1.00);
	font-size: 22px;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
}

a, a:link,
a:active,
a:visited {
	-webkit-transition: color 0.25s ease-out;
	-moz-transition: color 0.25s ease-out;
	-o-transition: color 0.25s ease-out;
	transition: color 0.25s ease-out;
	color:#21a97e;
	outline: none;
	text-decoration:none;
	}
	a:hover { 
		color:#000;
		}
img { 
	display:block;
	}
p {
	margin:1em 0;
	}

/* Common shared styles
*****************************************************************/

hr {
	margin: 0;
	border: none;
	border-top: 1px solid #3b3b3b;
	border-bottom: 1px solid #3b3b3b;
	height: 3px;
}

/* Page structure
*****************************************************************/

#wrapper {
	position: relative;
}
#branding {
	width: 100%;
	background: #fff;
	}
	#branding h1 {
		width: 940px;
		padding: 10px 15px;
		margin: 0 auto;
		text-transform: uppercase;
		font-size: 18px;
		font-weight: bold;
		}

/* Nav
*****************************************************************/

nav#primary h1 {
	position: absolute;
	right: 22px;
	top: -7px;
	display: none;
	padding: 4px 20px 4px 7px;;
	color: #fff;
	white-space: nowrap;
	background: transparent url(../images/nav-arrow.png) 100% 50% no-repeat;
	}
	
nav.next-prev {
	margin: 20px 0 0 0;
	}
	a.prev,
	a.next {
		display: block;
		width: 70px;
		height: 70px;
		text-indent: -9999px;
		}
	a.prev {
		margin: 0 auto 5px auto;
		background: transparent url(../images/Red_arrow2.png) 0 0 no-repeat;
		}
		a.prev:hover {
			background: transparent url(../images/Red_arrow2.png) 0 -67px no-repeat;
			}
	a.next {
		margin: 5px auto 0 auto;
		background: transparent url(../images/Red_arrow2.png) -1px 0 no-repeat;
		}
		a.next:hover {
	background-repeat: no-repeat;
	background-position: 0px -70px;
	background-image: url(../images/Red_arrow2.png);
	background-color: transparent;
			}

/* Parallax
*****************************************************************/

/* content */
/*#content {
	z-index: 4;
	position: relative;
	max-width: 940px;
	padding: 0 10px;
	margin: 0 auto;
	line-height: 1.7;
	}
	#content article {
	width: 300px;
	margin-left: -150px;
	left: 50%;
	right: 50%;
	margin-top: 0px;
		}*/
		
		#parachute,
		#channel {
			position: absolute;
			top: 550px;
			}
		#parachute {
			position: absolute;
			height: 300px;
			top: 1600px;
			padding-top: 700px;
			}
		#channel {
			position: absolute;
			top: 3400px;
			}
			
/* foreground (ballons/landscape) */
#parallax-bg3 {
	z-index: 3;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 900px;
	margin-left: -450px; /* move left by half element's width */
	} /* BALOON */
	
	#bg3-1 {
	position: absolute;
	top: 240px;
	left: auto;
	right: auto;
		}
	#bg3-2 {
	position: absolute;
	top: 1280px;
	left: 50%;
	margin-left: -450px;
		}
	#bg3-3 { /*ABOUT ME BLOCK*/
	position: absolute;
	top: 2350px;
	left: 50%;
	margin-left: -450px;
		}
	#bg3-4 {
		position: absolute;
		top: 2550px;
		left: -350px;
		}
	#bg3-5 {
		position: absolute;
		top: 2550px;
		left: 1100px;
		}
	#bg3-6 { /*WATCH MY CV*/
		position: absolute;
		top: 2675px;
		margin-left: -380px;
		left: 50%;
		}	
	#bg3-7 {
	position: absolute;
	height: 173px;
	width: 117px;
	left: 800px;
	margin-left: -36px;
	z-index: 4;
	top: 410px;
	background-image: url(../images/Cursor.png);
	background-repeat: no-repeat;
}

#parallax-bg2 {
	z-index: 2;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 1200px;
	margin-left: -600px; /* move left by half element's width */	
	}
	#bg2-1 {
	position: absolute;
	top: -200px;
	left: 50%;
	right: 50%;
	margin-left: -234px;
		}
	#bg2-2 {
		position: absolute;
		top: 600px;
		left: 650px;
		}
	/*#bg2-3 {
		position: absolute;
		top: 1850px;
		left: -35px;
		}*/
	#bg2-3 {
		top: 1500px;
		position: absolute;
		width: 700px;
		height: 700px;
		left: 50%;
		margin-left: -350px;
		border-radius: 50%;
		background-image: url(../images/plus_BG.png);
		background-repeat: repeat;
		}
	#bg2-4 {
		position: absolute;
		top: 1180px;
		left: 250px;
		}
	#bg2-5 {
		position: absolute;
		top: 1200px;
		left: 890px;
		}
	#bg2-7 {
		position: absolute;
		top: 1300px;
		left: -40px;
		}	/*airplane left*/
	#bg2-8 {
		position: absolute;
		top: 1600px;
		left: -150px;
		}	
	#bg2-9 {
	position: absolute;
	top: 1900px;
	left: 1100px;
		}	
			
/* background (clouds) */
#parallax-bg1 {
	z-index: 1;
	position: fixed;
	left: 50%; /* align left edge with center of viewport */
	top: 0;
	width: 1200px;
	margin-left: -600px; /* move left by half element's width */
	}
	#bg1-1 {
		position: absolute;
		top: 60px;
		left: -270px;
		}
	#bg1-2 {
		position: absolute;
		top: 440px;
		left: 795px;
		}
	#bg1-3 {
	position: absolute;
	top: 450px;
	left: -420px;
		}
	#bg1-4 {
		position: absolute;
		top: 720px;
		left: -350px;
		}
	#bg1-5 {
		position: absolute;
		width: 700px;
		height: 700px;
		top: 0px;
		left: 50%;
		margin-left: -350px;
		border-radius: 50%;
		background-image: url(../images/plus_BG.png);
		background-repeat: repeat;
		}
	#bg1-6 {
	position: absolute;
	top: 970px;
	left: 1100px;
		}
	#bg1-7 {
	width: 2300px;
	height: 516px;
	padding-left: -1000px;
	position: absolute;
	background-image: url(../images/landscape3.jpg);
	background-repeat: no-repeat;
	background-size: contain;
	top: 1100px;
	left: -50%;
	background-position: center center;
	background-attachment: scroll;
	z-index: 0;
		}
		#bg1-8 { /*FOOTER*/
	position: absolute;
	top: 1600px;
	width: 4000px;
	height: 1000px;
	margin-left: -2000px;
	left: 50%;
	background-color: #212121;
		}
.red_sign1 {
	position: absolute;
	background-color: rgba(237,28,36,1);
	height: auto;
	width: 300px;
	padding: 8px;
	line-height: 17px;
	left: 50%;
	margin-left: -158px;
	z-index: 4;
	top: 200px;
}
.red_sign2 {
	position: absolute;
	background-color: rgba(237,28,36,1);
	height: auto;
	width: 160px;
	padding: 8px;
	line-height: 17px;
	left: 50%;
	margin-left: -88px;
	z-index: 4;
	top: 1650px;
}
.red_sign3 {
	position: absolute;
	background-color: rgba(237,28,36,1);
	height: auto;
	width: 160px;
	padding: 8px;
	line-height: 17px;
	left: 50%;
	margin-left: -88px;
	z-index: 4;
	top: 3040px;
}
#landscape {	
}

#plus {
	background-image: url(images/plus_BG.png);
	background-repeat: repeat;
	height: 800px;
	border-radius: 50%;
	width: 800px;
}

#objects1 {
	position: absolute;
	z-index: 1;
	top: 1650px;
}

#objects2 {
	position: absolute;
	z-index: 1;
	top: 1660px;
}

#objects3 {
	position: absolute;
	z-index: 1;
	top: 3900px;
}

portfolio {
	position: absolute;
			top: 550px;
			}

/************CONTACT FORM*************/

#contact_block {
	height: 300px;
	width: 960px;
	margin-right: auto;
	margin-left: auto;
}

form {
	height: 300px;
	width: 480px;
	float: left;
	right: auto;	
}

#bg1-8 form input {
	background-color: rgba(0,0,0,1.00);
	width: 400px;
	height: 30px;
	border-radius: 3px;
	border: 1px solid rgba(159,159,159,1.00);
	border-width: 1px;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 400;
	font-size: 15px;
	color: #FFFFFF;
	padding: 0px;
	margin-top: 3px;
	margin-right: 0px;
	margin-left: 0px;
	margin-bottom: 3px;
}

textarea {
	width: 400px;
	background-color: #000000;
	border: 1px solid rgba(159,159,159,1.00);
	border-width: 1px;
	border-radius: 3px;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 400;
	font-size: 15px;
	color: #FFFFFF;
	padding: 0px;
	margin-top: 3px;
	margin-right: 0px;
	margin-left: 0px;
	margin-bottom: 3px;
}

#social {
	float: left;
	height: auto;
	width: 480px;
	margin-top: auto;
}
#social2 {
	float: left;
	height: auto;
	width: 480px;
	margin-top: auto;
	padding-top: 10px;
}

.Social_icon {
	float: left;
	height: 46px;
	width: 46px;
	margin-right: 10px;	
}

/***********NAVIGATION*************/
nav.arrow {
		margin: 20px 0 0 0;
		}
		a.arrow {
				display: block;
				width: 67px;
				height: 67px;
				text-indent: -9999px;
				margin: 5px auto 0 auto;
				background: transparent url(../images/Red_arrow2.png) -1px 0 no-repeat;
				}
				a.arrow:hover {
					background-repeat: no-repeat;
					background-position: 0px -67px;
					background-image: url(../images/Red_arrow2.png);
					background-color: transparent;
					}	

nav.arrow_CV {
		margin: 20px 0 0 0;
		}
		a.arrow_CV {
				display: block;
				width: 67px;
				height: 67px;
				text-indent: -9999px;
				margin: 5px auto 0 auto;
				background: transparent url(../images/Red_CV.png) -1px 0 no-repeat;
				}
				a.arrow_CV:hover {
					background-repeat: no-repeat;
					background-position: 0px -67px;
					background-image: url(../images/Red_CV.png);
					background-color: transparent;
					}	
					
/**********INFO BLOCK*****************/	

#Sign_01 { /*SERGEY KALININ*/
	background-color: rgba(255,255,255,1);
	height: 230px;
	width: 880px;
	padding-top: 20px;
	padding-left: 20px;
	}
	#Sign_BG {
		background-color: rgba(255,255,255,1);
		background-image: url(../images/Wave_BG.png);
		height: 200px;
		width: 850px;
		border: 5px solid rgba(0,0,0,1);
		background-repeat: repeat;	
		}
		#menu {
	height: 28px;
	width: 600px;
	margin-top: 15px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: auto;
	padding: 0px;
			}
			#menu_text {
	border-top: 2px solid rgba(0,0,0,1.00);
	border-bottom: 2px solid rgba(0,0,0,1.00);
	background-color: rgba(255,255,255,1.00);
	width: 540px;
	height: 24px;
	text-align: center;
	display: inherit;
	margin: 0%;
	padding: 0%;
	float: left;
	font-family: 'Roboto Condensed', sans-serif;
	line-height: 24px;
	font-weight: 700;
	font-size: 22px;
	letter-spacing: 1px;
				}
			.flag {
				margin: 0px;
				padding: 0px;
				height: 28px;
				width: 30px;
				float: left;
				display: inherit;
				}

#Sign_02 { /*ABOUT ME*/
	background-color: rgba(255,255,255,1);
	height: 380px;
	width: 880px;
	padding-top: 20px;
	padding-left: 20px;
	}
	#Sign_BG2 {
		background-color: rgba(255,255,255,1);
		background-image: url(../images/Wave_BG.png);
		height: 350px;
		width: 850px;
		border: 5px solid rgba(0,0,0,1);
		background-repeat: repeat;	
		}
		#Sign_BG_WHITE {
			background-color: rgba(255,255,255,1);
			height: 270px;
			width: 770px;
			background-repeat: repeat;
			margin: 20px;
			padding: 20px;
			font-family: 'Roboto Condensed', sans-serif;
			font-weight: 400;
			font-size: 26px;
			}
#CV_Block {
	width: 760px;
	height: 100px;
	padding: 0px;
	}
	#CV_frame {
		width: 652px;
		height: 90px;
		padding-top: 5px;
		padding-bottom: 5px;
		background-color: rgba(255,255,255,1);
		float: left;
		}
		#CV_frame_border {
	width: 482px;
	height: 70px;
	padding-top: 5px;
	
	background-color: rgba(255,255,255,1);
	border-bottom: 5px solid rgba(0,0,0,1.00);
	border-top: 5px solid rgba(0,0,0,1.00);
	padding-bottom: 5px;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 60px;
	text-align: right;
	line-height: 70px;
	float: left;
			
			}
		#cv_icon {
			height: 42px;
			width: 70px;
			float: left;
			padding-top: 19px;
			padding-bottom: 19px;
			padding-right: 90px;
			padding-left: 10px;
			background-color: rgba(255,255,255,1);
			border-bottom: 5px solid rgba(0,0,0,1.00);
			border-top: 5px solid rgba(0,0,0,1.00);
			}		
#CV_corner {
	width: 54px;
	height: 100px;
	float: left;
	display: inherit;
	}
/*************STRUCTURE***************/

#content {
	z-index: 4;
	position: relative;
	max-width: 940px;
	padding: 0 10px;
	margin: 0 auto;
	line-height: 1.7;
	}
	#content article {
	width: 80px;
	margin-left: -40px;
	left: 50%;
	right: 50%;
	margin-top: 0px;
		}
		#me,
		#portfolio,
		#about_me {
			padding-top: 5px;
		}
		#me {
			position: absolute;
			top: 650px;
			}
		#portfolio {
			position: absolute;
			height: 300px;
			top: 2335px;
			}
		#about_me {
			position: absolute;
			top: 3500px;
		}
		
		#contacts {
			position: absolute;
			top: 1600px;
		}
		
	#about_me2 {display: inline;}
	#about_me2:hover {text-decoration: none;color: #FF0105;}
	
	#portfolio2 {display: inline;}
	#portfolio2:hover {text-decoration: none;color: #FF0105;}
	
	#contacts2 {display: inline;}
	#contacts2:hover {text-decoration: none;color: #FF0105;}
#contact_block #social2 p {
	color: #AFAFAF;
	line-height: 0px;
	padding: 0px;
	margin: 0px;
}


@media screen and (max-width: 1500px)
{
#bg3-4 {position: absolute; top: 2550px; left: -25%; right:auto;} /*bird.10*/
#bg2-8 {position: absolute; top: 1600px; left: -3%; right:auto;} /*bird.06*/
#bg3-5 {position: absolute; top: 2550px; left: 115%;} /*bird.16*/
}

@media screen and (max-width: 1024px)
{
#bg3-4 {display:none;} /*bird.10*/
#bg2-8 {display:none;} /*bird.06*/
#bg3-5 {display:none;} /*bird.16*/
}

@media screen and (min-height: 900px)
{
#bg2-1 {top: -60px;} /*SPACESHIP*/
#bg1-5 {top: 40px;} /*PLUS*/
#bg3-1 {top: 380px;} /*SERGEY KALININ SIGN*/
.red_sign1 {top: 340px;}
#me {top: 690px;}
#bg3-7 {top: 550px;} /*CURSOR*/

#bg3-2 {top: 1380px;}
.red_sign2 {top: 1750px;}
#portfolio {top: 2500px;}
}


@media screen and (min-height: 955px)
{
#bg2-1 {top: 0px;} /*SPACESHIP*/
#bg1-5 {top: 100px;} /*PLUS*/
#bg3-1 {top: 440px;} /*SERGEY KALININ SIGN*/
.red_sign1 {top: 400px;}
#me {top: 830px;}
#bg3-7 {top: 610px;} /*CURSOR*/

#bg3-2 {top: 1380px;}
.red_sign2 {top: 1750px;}
#portfolio {top: 2460px;}
}
