* {
	padding: 0;
	margin: 0;
}

a,
a:link,
a:visited {
	text-decoration: underline;
	color: gray;
}

a:hover {
	color: #FF8C00;
}

p {
	text-align: justify;
}

input, textarea, select {
	background-color: #FFEFD5;
	border: 1px solid #FFA500;
	padding: 2px;
}

input.submit {
	background-image: url(page_images/submit.jpg);
	background-repeat: no-repeat;
	width: 99px;
	height: 26px;
	text-align: center;
	border: 0;
	color: #FF8C00;
}

body {
	background-image: url(page_images/background_top.jpg);
	background-repeat: repeat-x;
	background-position: top;
	background-color: #b8b8b8;
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	color: gray;
	text-align: center;
}

#wrap {
	margin: 0 auto;
	width: 764px;
	text-align: left;
	padding-bottom: 15px;
}

#login_box {
	text-align:right;
	height: 65px;
	margin-top: 30px;
	float:right;
}

#login_info {
	text-align:right;
	margin-top: 40px;
	float:right;
	width: 65%;
}
#login_info p {
	font-size: 1.5em;
}
#login_info .color {
	color: #FF8C00;
}
#login_info p.line2 {
	font-size: 1em;
	font-style: italic;
}

#login_box label.login_label {
	color: silver;
	padding: 0px 8px 0px 8px;
	font-weight: bold;
}

#login_box input.login_text {
	width: 147px;
	height: 26px;
	background-image: url(page_images/login_text_box.jpg);
	background-repeat: no-repeat;
	padding: 5px 7px 5px 7px;
	border: 0;
}

#login_box input.login_submit {
	background-image: url(page_images/login_submit.jpg);
	background-repeat: no-repeat;
	width: 99px;
	height: 26px;
	margin: 8px 0px 0px 11px;
	text-align: center;
	border: 0;
	color: #FF8C00;
}

#login_box .line2,
#login_box .line2 a,
#login_box .line2 a:link,
#login_box .line2 a:visited {
	color: silver;
	text-decoration: underlined;
	padding: 5px;
}

#login_box .line2 a:hover {
	color: #FF8C00;
	text-decoration: underlined;
}

#logo {
	position: relative;
	left: 9px;
	top: 34px;
	float:left;
	background-image: url(page_images/logo.jpg);
	width: 242px;
	height: 99px;
}

#logo p {
	padding: 53px 23px 18px 100px;
	text-align: center;
	font-size: 0.9em;
	color: #FF8C00;
	font-weight: bold;
}

#logo a:link, #logo a:visited, #logo a:hover  {
	text-decoration: none;
	color: #FF8C00;
	display: block;
}

#main_top {
	background-image: url(page_images/main_top.jpg);
	background-repeat: no-repeat;
	width: 764px;
	height: 10px;
	clear: both;
	font-size: 2px;
}

#main_repeat {
	background-color: white;
	width: 764px;
	min-height: 650px;
	_height: 650px;
	padding-bottom: 20px;
}

#main_bottom {
	background-image: url(page_images/main_bottom.jpg);
	background-repeat: no-repeat;
	background-position: bottom;
	background-color: white;
	width: 764px;
	height: 79px;
	clear: both;
}

#footer_left {
	float:left;
	width: 17px;
	height: 69px;
	background-image: url(page_images/footer_left.jpg);
	background-repeat: no-repeat;
	margin-left: 13px;
}

#footer_repeat {
	float:left;
	width: 706px;
	height: 69px;
	background-image: url(page_images/footer_repeat.jpg);
	background-repeat: repeat-x;
	text-align: center;
}

#footer_repeat p.line1 {
	color: Gray;
	margin-top: 15px;
	font-size: 1.2em;
	text-align: center;
}

#footer_repeat p.line2 {
	color: Gray;
	margin-top: 5px;
	text-align: center;
}

#footer_right {
	float:left;
	width: 16px;
	height: 69px;
	background-image: url(page_images/footer_right.jpg);
	background-repeat: no-repeat;
}

#left_panel {
	padding-top: 30px;
	padding-left: 15px;
	float: left;
}

.left_box {
	padding-bottom: 10px;
}

.left_box .left_box_top {
	background-image: url(page_images/left_box_top.jpg);
	background-repeat: no-repeat;
	width: 229px;
	height: 37px;
	color: #FF8C00;
	line-height: 2em;
	font-size: 1.5em;
	text-align: center;
}

.left_box .left_box_repeat {
	background-image: url(page_images/left_box_repeat.jpg);
	background-repeat: repeat-y;
	width: 229px;
}

.left_box .left_box_bottom {
	background-image: url(page_images/left_box_bottom.jpg);
	background-repeat: no-repeat;
	width: 229px;
	height: 10px;
}

.left_box .left_box_repeat ul.menu {
	list-style-type: none;
	margin-left: 33px;
	width: 170px;
	border: 0;
	text-align: left;
	padding-top: 10px;
	padding-bottom: 10px;
}

.left_box .left_box_repeat ul.menu li a,
.left_box .left_box_repeat ul.menu li a:link,
.left_box .left_box_repeat ul.menu li a:visited{
	background: none;
	font-size: 1.2em;
	font-weight: bold;
	height: 15px;
	padding-left: 10px;
	padding-top: 8px;
	color: gray;
	display: block;
	text-decoration: none;
}

.left_box .left_box_repeat ul.menu li a:hover,
.left_box .left_box_repeat ul.menu li a.active {
	background-image: url(page_images/menu_item_bg.jpg);
	background-repeat: no-repeat;
	background-position: left bottom;
	color: #FF8C00;
}

.left_box .left_box_repeat .novinka {
	width: 207px;
	padding-top: 13px;
	margin-right: 13px;
	padding-bottom: 13px;
	margin-left: 9px;
}

.left_box .left_box_repeat .novinka p.den {
	float: left;
	background-image: url(page_images/news_date.jpg);
	background-repeat: no-repeat;
	width: 30px;
	height: 34px;
	color: white;
	font-size: 1.5em;
	text-align: center;
	padding-top: 10px;
}

.left_box .novinka .right {
	float: left;
	padding-left: 11px;
	width: 165px;
}

.novinka p.datum {
	color: silver;
}

.novinka p.nadpis {
	color: #FF8C00;
	font-size: 1.1em;
	margin-top: 3px;
}

.novinka p.text {
	clear: both;
	color: gray;
	text-align: justify;
}

p.more {
	text-align: right;
	padding-right: 10px;
	font-style: italic;
}

#right_panel {
	width: 497px;
	float: left;
	margin-top: 10px;
	margin-left: 12px;
}

h1 {
	font-size: 1.5em;
	color: #FF8C00;
	text-align: center;
	padding-bottom: 15px;
}

h2 {
	font-size: 1.3em;
	color: #FF8C00;
	padding-bottom: 5px;
	padding-top: 20px;
}

h3 {
	font-size: 1.2em;
	padding-bottom: 5px;
	padding-top: 5px;
	color: gray;
	text-align: center;
}

.right_box_top {
	width: 497px;
	height: 5px;
	font-size: 2px;
	background-image: url(page_images/right_box_top.jpg);
	background-repeat: no-repeat;
}

.right_box_repeat {
	width: 497px;
	background-image: url(page_images/right_box_repeat.jpg);
	background-repeat: repeat-y;
	text-align: justify;
}

.right_box_repeat .in {
	margin: 0px 10px 0px 10px;
	padding: 10px 0px 10px 0px;
}

.right_box_bottom {
	width: 497px;
	height: 5px;
	font-size: 2px;
	background-image: url(page_images/right_box_bottom.jpg);
	background-repeat: no-repeat;
	margin-bottom: 10px;
}

p.otazka {
	font-size: 1.1em;
	color: black;
	font-weight: bold;
	padding-bottom: 10px;
}

p.italic {
	font-style: italic;
	text-align: center;
}

#right_panel .novinka {
	width: 497px;
	padding-top: 13px;
	padding-bottom: 13px;
}

#right_panel .novinka p.den {
	float: left;
	background-image: url(page_images/news_date_white.jpg);
	background-repeat: no-repeat;
	width: 30px;
	height: 34px;
	color: white;
	font-size: 1.5em;
	text-align: center;
	padding-top: 10px;
}

#right_panel .novinka .right {
	float: left;
	padding-left: 11px;
	width: 165px;
}

.clear {
	clear: both;
}

form.registracia .line,
form.nova-otazka .line {
	margin-top: 10px;
	text-align: right;
}

form.registracia label,
form.nova-otazka label {
	width: 19%;
	font-weight: bold;
	text-align: right;
	float: left;
}

form.registracia input,
form.nova-otazka input {
	margin-left: 1%;
	width: 50%;
	float: left;
}

form.registracia textarea {
	margin-left: 1%;
	width: 50%;
	float: left;
	height: 150px;
}

form.nova-otazka textarea {
	margin-left: 1%;
	width: 80%;
	float: left;
	height: 100px;
}

form.nova-otazka input.check {
  width: auto;
  height: auto;
}

form.registracia .line p {
	width: 29%;
	margin-left: 1%;
	float: left;
	text-align: left;
}

form.registracia input.submit,
form.nova-otazka input.submit {
	background-image: url(page_images/submit.jpg);
	background-repeat: no-repeat;
	width: 99px;
	height: 26px;
	text-align: center;
	border: 0;
	color: #FF8C00;
	margin-top: 1.5em;
	margin-left: 40%;
}

.alert {
	color: Red;
}

.success {
	color: green;
}

table {
  margin-top: 20px;
  width: 100%;
  border-collapse: collapse;
  font-size: 1em;
}

table th{
  text-align: center;
  font-weight: bold;
  color: black;
  background-color: white;
}

table td, table th{
  padding: 5px 10px 5px 10px;
  border: dotted 1px #FFA500;
}

table td{
  background-color: #FFFAF0;
  text-align: center;
}

table tr.color td, table td.color{
  background-color: #FFEFD5;
}

table td.poradie{
	width:10%;
}
table td.spravnych,
table td.percent{
	width:20%;
}
table td.meno{
	width:50%;
	text-align: left;
	padding-left: 5%;
}
form.odpovede input.submit {
	background-image: url(page_images/submit.jpg);
	background-repeat: no-repeat;
	width: 99px;
	height: 26px;
	text-align: center;
	border: 0;
	color: #FF8C00;
	margin-top: 1.5em;
	margin-left: 40%;
}
table.odpovede {
	width: 95%;
	margin: 0 auto;
	margin-top: 10px;
}
table.odpovede td {
	text-align: left;
}
table.odpovede td.left {
	text-align: center;
	width: 10px;
}
table.kalendar {
	width: 100%;
	text-align:center;
}

table.kalendar td, table.kalendar th {
	background-color: white;
	border: 1px dotted #FFE4C4;
	width: 14%;
}

table.kalendar a:link, table.kalendar a:visited {
	border:1px solid #FFA500;
	text-decoration: none;
	background-color: #FFFAF0;
	display: block;
	padding: 15px;
	font-size: 1.2em;
	color: black;
}

table.kalendar span.neexistuje{
	border:1px solid #EBEBEB;
	text-decoration: none;
	display: block;
	padding: 15px;
	font-size: 1.2em;
	color: black;
	background-color: #F5F5F5;
}

table.kalendar a.nezodpovedana:link, table.kalendar a.nezodpovedana:visited {
	background-color: #FFE4C4;
}

table.kalendar a:hover {
	color: #FF8C00;
}

#pagination {
	display:block;
	margin-top: 15px;
	text-align:center;
	height:22px;
	line-height:21px;
	clear:both;
	padding-top:3px;
	font-size: 0.9em;
}

#pagination a:link, #pagination a:visited {
	padding:7px;
	padding-top:2px;
	padding-bottom:2px;
	border:1px solid #EBEBEB;
	margin-left:10px;
	text-decoration:none;
	background-color:#F5F5F5;
	color: #FF8C00;
}

#pagination a:hover {
	padding:7px;
	padding-top:2px;
	padding-bottom:2px;
	margin-left:10px;
	text-decoration:none;
	background-color: #FFEFD5;
	border:1px solid #FF8C00;
	color:#FF8C00;
}

#pagination .active_link {
	padding:7px;
	padding-top:2px;
	padding-bottom:2px;
	margin-left:10px;
	text-decoration:none;
	background-color: #FFEFD5;
	border:1px solid #FF8C00;
	color:#FF8C00;
}

#pagination .disabled_pagination {
	padding:7px;
	padding-top:2px;
	padding-bottom:2px;
	border:1px solid #EBEBEB;
	margin-left:10px;
	text-decoration:none;
	background-color:#F5F5F5;
	color:#D7D7D7;
}

.sprava {
	width: 100%;
	margin-bottom: 10px;
	background-color: #FFEFD5;
	border:1px solid #FF8C00;
}

.sprava p {
	text-align: justify;
	padding: 5px;
	color: black;
	font-weight: bold;
}

.sprava p.italic {
	text-align: center;
	font-style: italic;
	font-weight: normal;
}

#google_ad {
  text-align:center;
  margin: 0 auto;
}

h2 a, h2 a:link, h2 a:hover, h2 a:visited {
  text-decoration: none;
  color: #FF8C00;
}
