

* {
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	font: 13px/1.8 'Georgia', 'Nimbus Roman No9 L', 'Century Schoolbook L', 'Norasi', 'Rekha', serif;
	text-align: center;
	background: #F5F5F6 url('../images/bg.png') fixed top center no-repeat;
}

a {
	color: #000;
	outline: none;
}
a:hover {
	text-decoration: none;
}

a img {
	border: none;
}

/**********/

#wrap {
	position: relative;
	margin: 0 auto;
	width: 710px;
	text-align: left;
}

#main {
	position: relative;
	top: 125px;
	left: -138px;
	padding-bottom: 70px;
}

.logo {
	position: fixed;
	top: 0;
	left: 50%;
	width: 712px;
	height: 132px;
	margin-left: -494px;
	
}
#logo-cs {background: url('../images/logo-cs.png?20131218') no-repeat;}
#logo-en {background: url('../images/logo-en.png?20131218') no-repeat;}
.logo a {
	display: block;
	width: 712px;
	height: 102px;
}

#langs {
	position: fixed;
	top: 25px;
	left: 50%;
	margin-left: 125px;
	font-size: 16px;
	font-weight: bold;
	white-space: nowrap;
}
#langs a {
	padding: 0 5px;
	text-decoration: none;
}
#langs a:hover,
#langs a.active {
	color: #00ACDB; 
}

#footer {
	position: fixed;
	bottom: 0;
	left: 50%;
	width: 712px;
	margin-left: -494px;
	padding-top: 3px;
	padding-bottom: 10px;
	text-align: center;
	font-size: 10px;
	background: #F5F5F6;
}
#footer-fade {
	position: relative;
	top: -30px;
	height: 30px;
	margin-bottom: -30px;
	background: url('../images/footer.png') repeat-x;
	border-bottom: 1px solid #000;
}
#footer-text span.nowrap {
	white-space: nowrap;
}

/**********/

#main h2 {
	clear: both;
	margin: 20px 0 10px;
	font-size: 15px;
	text-align: center;
}
#main h3 {
	margin: 30px 0 15px;
	font-size: 15px;
}

#main p {
	margin: 0 0 15px 0;
	text-align: justify;
}
#main p img {
	float: left;
	clear: both;
	margin: 0 15px 0 0;
}

#main ul {
	margin: 15px 0 15px 35px;
}
#main ul li {
	text-align: justify;
}

/**********/

#main h2 a:hover,
#main h2 a.opened {
	color: #00ACDB;
	text-decoration: none;
}

.menu-body {
	display: none;
}
.menu-body.opened {
	display: block;
}

/**********/

#news {
	position: fixed;
	top: 24px;
	left: 50%;
	width: 200px;
	padding: 15px 20px 20px 20px;
	margin-left: 252px;
	color: #fff;
	background: #818284;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}
#news a {
	color: #fff;
}

#news-title {
	padding-bottom: 5px;
	text-align: center;
	border-bottom: 1px solid #fff;
}

#main div.item-wrap,
#news div.item-wrap {
	margin-top: 15px;
}
#news div.item-title,
#news div.item-text {
	line-height: 1.5;
}
#main div.item-text p {
	margin: 0 0 5px;
}
#main div.item-pdf a,
#news div.item-pdf a {
	font-weight: bold;
}

#news-all {
	margin: 25px 0 0 0;
}

/**********/

div.flash {
	color: black;
	background: #FFF9D7;
	border: 1px solid #E2C822;
	padding: 1em;
	margin: 1em 0;
}

a[href^="error:"] {
	background: red;
	color: white;
}

#ajax-spinner {
	margin: 15px 0 0 15px;
	padding: 13px;
	background: white url('../images/spinner.gif') no-repeat 50% 50%;
	font-size: 0;
	z-index: 123456;
	display: none;
}

/**********/

@media only screen and (min-width: 985px)
{
	#wrap.en {
		width: 90%;
		max-width: 710px;
		padding: 0 5%;
	}
	#wrap.en #main {
		left: 0;
	}
	#wrap.en #news {
		display: none !important;
	}
	#wrap.en #main h1.logo,
	#wrap.en #footer {
		margin-left: -356px;
	}
	#wrap.en #logo-cs {background: url('../images/logo-cs-compact.png?20131218') no-repeat;}
	#wrap.en #logo-en {background: url('../images/logo-en-compact.png?20131218') no-repeat;}
	#wrap.en #footer {
		left: 5%;
		width: 90%;
		margin-left: 0;
	}
	#wrap.en #langs {
		position: fixed;
		left: 50%;
		right: auto;
		margin-left: 290px;
	}
}

@media only screen and (max-width: 984px)
{
	#wrap {
		width: 90%;
		max-width: 710px;
		padding: 0 5%;
	}
	#wrap #main {
		left: 0;
	}
	#wrap #news {
		display: none !important;
	}
	#wrap #main h1.logo,
	#wrap #footer {
		margin-left: -356px;
	}
	#wrap #logo-cs {background: url('../images/logo-cs-compact.png?20131218') no-repeat;}
	#wrap #logo-en {background: url('../images/logo-en-compact.png?20131218') no-repeat;}
	#wrap #footer {
		left: 5%;
		width: 90%;
		margin-left: 0;
	}
	#wrap #langs {
		position: fixed;
		left: 50%;
		right: auto;
		margin-left: 260px;
	}
}


@media only screen and (max-width: 784px)
{
	#wrap #langs {
		position: fixed;
		left: auto;
		margin: 0;
		right: 8%;
	}
}


@media only screen and (max-width: 569px)
{
	#wrap #langs {
		position: fixed;
		top: 102px;
		left: 50%;
		right: auto;
		margin-left: -40px;
		padding: 0 10px;
		font-size: 12px;
		background: #EDEDED;
		-moz-box-shadow: 1px 3px 6px #aaa;
		-webkit-box-shadow: 1px 3px 6px #aaa;
		box-shadow: 1px 3px 6px #aaa;
		-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=150, Color='#cccccc')";
	}
}
