body {
	font-family: 'Open Sans',sans-serif;
	font-weight: normal;
	display: block;
	margin: 0 0 12px 0;
	line-height: 100%;
	text-shadow: 0 1px 0 rgba(255,255,255,0.75);
	color:  #484848;
}
.page {
	background: #eee url(../img/grain.png) repeat;
	background: url(../img/skyblue.png) repeat-x 0 0, url(../img/grain.png) repeat 0 0,#eee;
	color: #666;
	zoom: 1;
	-webkit-box-shadow: 0 -3px 5px 1px rgba(0,0,0,0.3);
	box-shadow: 0 -3px 5px 1px rgba(0,0,0,0.3);
	min-height: 700px;
	min-width: 960px;
	padding: 20px;
	overflow: hidden;
}
.page.other {
	background-color: #0055a0;
	background-repeat: repeat-x;
	background-image: -khtml-gradient(linear,left top,left bottom,from(#0f9fdb),to(#0055a0));
	background-image: -moz-linear-gradient(#0f9fdb,#0055a0);
	background-image: -ms-linear-gradient(#0f9fdb,#0055a0);
	background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#0f9fdb),color-stop(100%,#0055a0));
	background-image: -webkit-linear-gradient(#0f9fdb,#0055a0);
	background-image: -o-linear-gradient(#0f9fdb,#0055a0);
	-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr='#0f9fdb', endColorstr='#0055a0', GradientType=0)";
	background-image: linear-gradient(#0f9fdb,#0055a0);
	color: #fff;
	text-shadow: none;
}
.container {
	display: block;
	width: 960px;
	margin: 0 auto;
	position: relative;
}

h1{
	font-family: 'Open Sans Light',sans-serif;
	font-size: 84px;
	letter-spacing: -4px;
	float: none;
	width: auto;
	margin: 0 10px;
	padding-top: 40px;
	padding-bottom: 30px;
	line-height: 84px;
}
a {
	outline: none;
}
a:focus {outline:none;}
a::-moz-focus-inner {border:0;}


#footer {
	display: none;
	width: 100%;
	background-color: #fff;
	min-height: 50px;
}

.page p {
	padding: 10px;
	line-height: 25px;
	font-family: 'Open Sans Light',sans-serif;
	font-weight: normal;
	font-size: 17px;
	letter-spacing: -0.01em;
}
.page p span {
	display: block;
	padding: 5px;
	
}
.page h2 {
	font-family: 'Open Sans Light',sans-serif;
	font-weight: normal;
	display: block;
	margin: 0 0 12px 0;
	line-height: 100%;
	text-shadow: 0 1px 0 rgba(255,255,255,0.75);
	color: #484848;
}
.page.other h2{
	text-shadow: none;
	color: #fff;
}
.page a {
	color: #0096dd;
	text-decoration: none;
}
.page a:hover { text-decoration: underline;}
.page.other a { color: #ffd200; }

#menu {
	width: 100%;
	
	position: fixed;
	top: 0px;
	padding: 10px;
	margin: 2px 0;
	z-index: 1000;
}
#menu ul{
	
	width: 560px;
	margin: 0 auto;
}

#menu ul li{
	display: inline;
	height: 45px;
	width: 150px;
	
	background: rgba(166,189,206,0.5);
	border: 1px solid rgba(173,201,222,0.4);
	padding: 2px 10px;
	border-radius: 4px;
	margin-left: 10px;
	text-transform: uppercase;
	text-align: center;
	line-height: 1;
	letter-spacing: -0.02em;
	-webkit-transition: all linear .25s;
	-moz-transition: all linear .25s;
	-o-transition: all linear .25s;
	-ms-transition: all linear .25s;
	transition: all linear .25s;
}
#menu ul li.selected {
	background-color: #fff;
}
#menu ul li a {
	color: #484848;	
	text-decoration: none;
}
#menu ul.other li {
	border: 1px solid rgba(173,201,222,1);
	background: rgba(166,189,206,0.9);
}
#menu ul.other li.selected 
{
	background-color: #fff;
} 
#menu ul.other li a {
	text-shadow: none;
}


#contacts_page  form{
	display: block;
	margin-left: 20px;
}

#contacts_page form input, textarea {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 2px 10px;
	color: #000;
	outline: none;
	margin-bottom: 10px;
	width: 300px;
}
#contacts_page form input[type=submit] {
	width: auto;
	padding: 2px 15px;
}
#contacts_page form textarea {
	
	height: 100px;
}

.w1third { width: 320px; }
.w2thirds { width: 640px; }
.left { float: left; }
.right { float: right; }
.clear { clear: both; }

#home_page { z-index: 100; } 
#projects_page { z-index: 200;}
#about_page { z-index: 300;}
#contacts_page { z-index: 400;}


@font-face {
    font-family: "Open Sans Light";
    src: url(../fonts/OpenSans-Light.ttf);
}
@font-face {
	font-family: "Open Sans";
	src: url(../fonts/OpenSans-Regular.ttf);
}
