/*------------------------------------------------------------------- GENERAL ---*/
body {
	margin: 0; padding: 0;
	/*font-family:  Tahoma, "Lucida Grande CE", lucida, sans-serif;
	font-size: 0.85em;*/
  font-family: 'Open Sans', sans-serif;
  font-size: 0.85em;
  font-weight: 400;	
	color : #616161;
	text-align: center;
	background: #e6e6e6 url(../images/bg-body.gif) repeat-x top center;
	line-height: 140%;
}

a { color: #0baed1; text-decoration: underline; }
a:hover { color: #d62889;}

ul, ol, li, h1, h2, h3, h4, h5, hr, p, form, fieldset, input, label, img, td, th, dl, dd, dt {margin: 0; padding: 0; font-family: "Open Sans", sans-serif;}
img {  border: none; }

h1 { font-size: 170%; padding: 0 0 0.6em 0; color: #222222; font-weight: 600;}
h1 .kod {background: #e6e6e6; padding: 10px; margin-right: 10px; display: inline-block; font-weight: 400;}
h1 .autor {float: right; padding: 10px; margin-left: 10px; display: inline-block; font-size: 60%; font-weight: 400;}
h2 { font-size: 250%; padding: 0 0 0.4em 0; color: #0baed1; font-weight: 600; line-height: 150%;}
h3 { font-size: 170%; padding: 0 0 0.5em 0; color: #000; font-weight: 300; line-height: 150%;  }
h4 { font-size: 120%; padding: 0.5em 0 1em 0; color: #00a6b6;  }
h5 { font-size: 100%; padding: 0.5em 0 1em 0;  }

hr { display: none; }
p { padding-bottom: 1.5em; line-height: 150%; }
ul { list-style: none; padding: 0 0 1em 5px;  }
ul ul {
	padding: 0;
	margin-top: 7px;
}
ul.nobg li {background: none; padding: 0 0 8px 0;}
ol { list-style: decimal; padding: 0 0 1em 22px;  }
li { padding: 0 0 8px 20px; background: url(../images/li.png) no-repeat 0 4px; }
ol li { padding: 0 0 5px 0px; background: none}

small, .small { font-size: 95%; }
big { font-size: 110%; }

/*---------------------------------------------------------------------- LAYOUT---*/
#all {	
	width: 990px;
	margin: 0 auto;
	text-align: left;
	/*border: 4px solid #81ab18;*/
}
#header { 	
	height: 48px;
	background: #FFF url(../images/bg-body.gif) repeat-x top center;
	position: relative;
}
#content { 
	width: 990px; padding: 15px;
  background: #FFF; 
}

.otazka {background: #d62889; color: #fff; font-weight: bold; padding: 10px; margin-bottom: 1em; font-size: 130%;}

#main { padding: 15px; border: 1px solid #c9c9c9; min-height: 500px; _height: 500px; position: relative;	background: #FFF;}
#main.slim { width: 770px;}
#main.slim .scroll { overflow: auto; width: 738px; height: 500px;  padding: 25px 15px 10px 15px;}
/*#main.slim .scroll {width: 740px; border: 1px solid red;}*/

#right { width: 212px; height: 538px; float: right; margin: 2px 4px 0 0; _margin-right: 2px; background: #f5f5f5; }
#right .padding { padding: 15px 10px;}

#navigace {
  width: 990px;
  background: #fff;
  height: 60px;
  position: relative; 
}
#navigace div.left {position: absolute; top: 0; left: 15px;}
#navigace div.pages {position: absolute; top: 0; left: 365px; width: 100px; background: #e6e6e6; text-align: center; padding: 10px; font-size: 140%;}
#navigace div.content {position: absolute; top: 0; left: 495px; width: 100px; background: #e6e6e6; text-align: center; padding: 10px; font-size: 140%;}
#navigace div.content a {background: none; font-size: 90%; text-decoration: none;}
#navigace div.right {position: absolute; top: 0; right: 15px;}

#footer { 
	width: 990px;
	overflow: hidden;
	background: #e6e6e6;
}

#footer div.left {  width: 770px; margin: 2px; }
#footer div.right {float: right;}
#footer p { padding: 14px;  }
#footer img { vertical-align: middle; margin: 0 2px}
#footer a { color: #FFF;}
#footer a:hover { color: #00a6b6;}

#thumbs {width: 988px; overflow: auto; height: 114px; background: #fff; border: 1px solid #fff;}
#thumbs a {display: block; margin-right: 2px;}
#thumbs a img {border: 2px solid #616161;}
#thumbs table {margin: 0; padding: 0;}
#thumbs tr {border: 0; padding: 0;}
#thumbs td {border: 0; padding: 0;}

#podcarou {border-top: 1px solid #c9c9c9; margin-top: 1em; padding-top: 10px; font-size: 90%; text-align: right; color: #aaa; width: 650px; float: right;}

.col1 {width: 47%; float: left;}
.col2 {width: 47%; float: right;}

#containerbig {text-align: center; margin: 0 60px;}
.rounded {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  font-family: 'Open Sans', sans-serif;
}
.button.rounded {font-size: 100%; padding: 12px 30px;}
.close-reveal-modal {border: 0;}
/*--------------------------------------------------------------------------- HEADER -------*/
#header #logo {position: absolute; left: -8px;}
#header #login {position: absolute; right: 10px; top: 15px;}

#header .quicklinks {font-size: 60%; margin-left: 10px; }
#header .quicklinks a {color: #fff;}

.vpravo {padding: 0 0 0 10px;}
/*--------------------------------------------------------------------------- CONTENT -------*/
.fotobox { width: 400px; float: right; margin: 0 0 5px 20px;}
.fotobox img { }
.fotobox p { padding-bottom: 0; text-align: right; font-size: 90%;}

.galerie {text-align: center;}

.kurz-box {background: #f2f2f2; margin-bottom: 10px; padding: 10px 0 10px 10px;}
.kurz-box h3 {margin-left: 183px; padding: 0; margin-top: 0; padding-bottom: 10px; font-size: 130%; line-height: 120%;}
.kurz-box p {margin-left: 183px; padding: 0;}
.anotace {margin-bottom: 8px;}
.spustit {float: right; width: 220px; margin-left: 10px; text-align: center; padding: 15px; border-left: 1px solid #c9c9c9; height: 120px; }
.spustit big {font-size: 200%;}
.spustit a {display: block; margin-top: 20px;}
.nahledleft {width: 168px; margin-right: 15px; float: left;} 
/*--------------------------------------------------------------------------- RIGHT -------*/
.flash { text-align: center;}

/*----------------------------------------------------------------------------------- FORM ---*/
input, select, textarea {
	font-size: 100%; 
	color: #5a5a5a;	
	margin-bottom: 5px; 
	vertical-align: middle;		
	border: 1px solid #5a5a5a;
	padding: 4px;
	font-family: "Open Sans", sans-serif;
}
textarea {  
	width: 300px;
	height: 80px;
	overflow: auto;
}
textarea.small {
	width: 180px; height: 100px;
}
textarea.poznamka {
	width: 510px; height: 120px;
}
label {
	display: inline-block;
	margin: 0 0 0 0; width: 200px;
}
.empty {display: none;}

input.login {width: 250px;}
label.login {width: 70px;}
.submit   { 
	width:auto; 
	height: auto;
	color: #FFF;
	padding: 5px 5px; _padding: 5px 0; 
	font-weight: bold;
	background: #00a6b6; 
	border: none;
	cursor: pointer;
}

.submit2   { 
	width:auto; 
	height: auto;
	color: #FFF;
	padding: 5px 5px; _padding: 3px 0; 
	font-size: 110%;
	font-weight: bold;
	background: #00a6b6; 
	border: none;
	cursor: pointer;
}
input.check, input.radio { 
	width:auto;  height: auto;
	padding: 0 0 0 0; margin: 5px 10px 0 0;
	border: none; float: left;
}
.upper {text-transform: uppercase;}
/*---------------------------------------------------------------------------- TABLES --------*/
table { 
	margin-bottom:20px; 
	border-collapse: collapse; 
	font-size: 100%; 
}
th { 
	padding: 8px 4px; 
	font-weight: bold; 
	text-align: left;
	background: #2a3c62; 
	color: #FFF;
	border-bottom: 1px solid #CACACA;
}
td { 
	text-align:left;
	color : #4b4b4b; 
	padding: 2px 4px; 
	border-bottom: 1px solid #d5d5d5;
}

/*----------------------------------------------------------------------------- OTHERS ---*/
.right { float: right }
.left { float: left }
.fright { float: right; margin: 0 0 10px 10px; }
.fleft { float: left; margin: 0 10px 10px 0; }
.textright, td.textright, th.textright { text-align : right }
.textleft, td.textleft { text-align : left }
.center, td.center { text-align : center;}
.middle { vertical-align : middle }
.blue { color: #2a3c62;}
.clear { clear: both;}
.padding {
	padding: 10px;
}

#chybove_hlaseni {background: red; padding: 5px; margin-bottom: 1em; color: #fff;}
#obsah_kurzu {display: none; background: #f5f5f5; padding: 10px; z-index: 10; position: absolute; width: 510px; border: 1px solid #616161; height: 400px; overflow: scroll;}
#poznamka_ke_kurzu {display: none; background: #f5f5f5; padding: 10px; z-index: 10; position: absolute; width: 522px; border: 1px solid #616161;}
/*#contentbox {width: 500px; height: 93%; display: none; overflow: auto; background: #e6e6e6; position: absolute; top: 0px; z-index: 100; padding: 20px; right: 0; }*/
#contentbox {text-align: left;}

.sipkaright {width: 172px; height: 89px; position: absolute; background: url(../images/sipka-right.png) no-repeat; z-index: 1000;}
.sipkaleft {width: 172px; height: 89px; position: absolute; background: url(../images/sipka-left.png) no-repeat; z-index: 1000;}
.sipkatop {width: 172px; height: 89px; position: absolute; background: url(../images/sipka-top.png) no-repeat; z-index: 1000;}
.sipkadown {width: 67px; height: 164px; position: absolute; background: url(../images/sipka-down.png) no-repeat; z-index: 1000;}