html {
   background:url(images/bg.jpg) fixed;
   }
   
body {
	background:#fff;
	font-family: Arial, sans-serif;
	color: #666666;
	font-size: 0.75em;
	width:90%;
	max-width:1024px;
	padding:5px;
	margin:10px auto;
	 -moz-box-shadow: 0 2px 7px #ccc;
	 -webkit-box-shadow: 0 2px 7px #ccc;
	 box-shadow: 0 2px 7px #ccc;
	 overflow:scroll;
}

#obsah{
	width:100%;
}

h2 {
	width:99.9%;
	font-weight: bold;
	color: #2E639B;
	float:left;
	text-transform:uppercase;
	margin:0 0 10px 0;
}



nav {
	width:99.6%;
	list-style: none;
	display: block;
	font-size: 12px;
	float: left;
	background-color:#3B5998;
	padding:2px;
	padding-top:7px;
	color:#ffffff;
	margin-bottom:10px;
}

nav ul{
	margin:0;
	padding:0;
}

nav li, nav li  a{	
	width:10em;
	float:left;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

nav,	nav li, nav li  a ,.okno, header, body{	
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

nav li{
	text-align:center;
	margin-bottom:5px;
	border: 1px solid #29447E; 
	margin-left: 4px;
	background-color:#5973A8;
	list-style-type: none;
	-moz-box-shadow: 2px 2px 5px #29447E;
	-webkit-box-shadow: 2px 2px 5px #29447E;
	-o-box-shadow: 2px 2px 5px #29447E; 
	box-shadow: 2px 2px 5px #29447E;
}



nav li a {
	width:100%;
	color: #FFF;
	text-decoration: none;
	padding:4px 0;
	text-transform: uppercase;
	font-weight: bold;
}

a{
	color:#666666; 
}

/*AKTIVNÍ TŘÍDA (ŘÍZENÁ SCRIPTEM) V MENU*/
.active{
	color: #29619C;
	background-color:#ffffff;
}

nav li a:hover {
	color: #29619C;
	background-color:#ffffff;
}

.okno{
	float:left;
	width: 45%;
	color: black;
	margin-bottom: 10px;
	border: 1px solid #D0D0D0;
	padding: 20px 10px;
}


#loader {
	margin: 10px 0 0 10px;
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	background: url(images/loader5.gif);
	width: 48px;
	height: 48px;
}
#footer{
	width: 99.9%;
	margin-bottom:0;
	padding:0;
}

div.triple{
	float:left;
	border:1px solid white;
	width: 33%;
	display:block;
}

#video{
	width: 49.6%;
	margin-left:10px;
}

object, video{
	width: 100%;
	display:block;
}

img{
	max-width: 100%;
	min-width: 50px;
    height: auto;
	border:none;
}


header{
	display:block;
	width:99.9%;
	border: 1PX solid #D0D0D0;
	margin-bottom:10px;
}

header, #footer,  #left, #middle, #right, #copyright_img{
	float:left;
}

a img{
	margin-right:5px;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	float:left;
}

span{
	float:left;
	margin-top:18px;
	margin-left:5px;
}

div.triple a{
	width:50%;
	text-align:center;
	text-decoration:none;
	padding: 5px 10px;
	margin: 0 22%;
}


#left{
	width: 9%;
	padding-top: 1.2em;
	margin: 10px 10px 5px 10px;
}

#middle{
	margin: 2.7% 0 5px 0 ; /*změna*/
	padding-left:10px;
}

#right{
	padding-top: 2.7em;
	float:right;
	margin: 10px 10px 5px 0 ;
}

h1{
	margin:0;
}
