* {
	margin:0;
	padding:0;
}

::selection {
	background: #72afe3; /* Safari */
	color: #CDD;
	}
::-moz-selection {
	background: #72afe3; /* Firefox */
	color: #CDD;
}

body, html {
	width:100%;
	height:100%;
}

body {
	background: #333;
	font-family: Tahoma;
	font-size: 14px;
	line-height: 23px;
	color: #333
}

.clear {
	clear: both;
}

a {
	border: none;
	outline: none;
	font-weight: bold;
	text-decoration: none;
	color: #333;
}

header, #main, footer {
	width:100%;
	overflow: visible;
	position: relative;
}

header {
	background: #72afe3;
	border-bottom:1px solid #888;
	z-index:1;
	-moz-box-shadow: 0px 2px 5px 0px #888;
	-webkit-box-shadow: 0px 2px 5px 0px #888;
	box-shadow: 0px 2px 5px 0px #888;
}

.container {
	width:100%;
	max-width:800px;
	margin:0 auto;
	position: relative;
}

#flags {
	position: absolute;
	top:10px;
	right:0px;
}

#flags #de {
	width:16px;
	height:11px;
	background: url(../images/de.png);
	float: right;
	margin-left:3px;
	cursor: pointer;
}

#flags #ru {
	width:16px;
	height:11px;
	background: url(../images/ru.png);
	float: right;
	margin-left:3px;
	cursor: pointer;
}

h1 {
	text-align: center;
	font-size:70px;
	color: #ce9;
	font-weight: normal;
	font-family: Times New Roman;
	text-shadow: 7px 7px 7px #000;
	line-height: 80px;
}

nav {
	width:100%;
	max-width:400px;
	margin: 10px auto 0;
	height:30px;
}

ul {
	list-style: none;
}

li {
	float: left;
	padding: 4px 1%;
	color: #ebf5f9;
	width: 23%;
	text-align: center;
	cursor: pointer;
	font-size:20px;
}

li.active {
	border-top-left-radius: 6px;
	border-top-right-radius: 6px;
	background-color: #ebf5f9;
	color: #333;
	height:32px;
}

#main {
	background: #ebf5f9;
	min-height:300px;
	border-top: 1px solid #333;
}

#main .container {
	position: relative;
	overflow: hidden;
}

.pages {
	position: relative;
	top:20px;
	left:0;
	width:400%;
	margin-bottom:20px;
}

.page {
	float: left;
	width:25%;
	height:500px;
}

.page .content {
	padding:0px;
}

.content p {
	padding: 0 10px 10px 0;
}

.bubbles_off {
	cursor: pointer;
	font-weight: bold;
}

img.about {
	width:300px;
	float: right;
	padding: 10px;
}

.left {
	max-width:500px;
	float: left;
}

#contact {
	width:100%;
	max-width:400px;
	margin: 0 auto;
}
#contact label {
	display: block;
}

#contact input, #contact textarea {
	width:100%;
	padding:2%;
	margin: 3px 0;
}

#contact h3 {
	margin:10px 0;
}

#sendmail {
	width:100px !important;
	background: #333;
	border:none;
	border-radius:10px;
	color: #fff;
	float: right;
}

#sendmail:hover {
	background: #555;
}

#result {
	display: none;
}

footer {
	height: 50px;
	background: #333;
}

#copyright {
	text-align: center;
	margin:30px auto;
	color:#ebf5f9;
}

.rus {
	display: none;
}