body {
	background: #997b61 url('./img/background.jpg') top center repeat-x;
	font-family: sans-serif;
	font-size: 12px;
	color: #673b15;
	margin: 0 auto auto auto;
}
#page {
	position: relative;
	width: 850px;
	margin: auto;
}
#page-logo {
	background: url('./img/logo.png') top left no-repeat;
	width: 420px;
	height: 200px;
	margin: 0 auto 0 auto;
	padding: 0;
}
#logo {
	margin: 0 10px 0 10px;
	width: 380px;
	height: 160px;
	display: block;
}
#page-footer {
	margin-top: 15px;
	text-align: center;
	border-top: 1px solid #673b15;
}
#page-footer a {
	color: #3e230c;
}
.left-panel {
	width: 610px;
	margin: 0;
	float: left;
}
.right-panel {
	width:  225px;
	margin-left: 625px;
	_margin-left: 620px;
}
.cleaner {
	clear: both;
}
.center {
	text-align: center;
}
a {
	color: #009ee0;
}

#link-back {
	float: right;
	position: relative;
	top: -20px;
}
#link-back a { text-decoration: none; }
#link-back a:hover { text-decoration: underline; }

/*** student info ***/
#stu-info {
	text-align: right;
	color: #673b15;
	margin: 5px auto 0 auto;
	padding: 0;
}
#stu-info a {
	color: #673b15;
	text-decoration: none;
	font-weight: bold;
}
#stu-info a:hover {
	text-decoration: underline;
}

#pagination {
	text-align: center;
}

/*** kalendar ***/
#calendar {
	background: url('./img/calendar.png') top center no-repeat;
	width: 221px;
	min-height: 100px;
	font-size: 11px;
	padding: 50px 0 20px 0;
	margin: 20px 0 0 0;
}
#calendar table th a span { display: none; }
#calendar #month-prev {
	float: left;
	background: url('./img/arrow-left.gif') center center no-repeat;
	height: 15px;
	width: 15px;
	display: block;
	margin-left: 20px;
}
#calendar #month-next {
	float: right;
	background: url('./img/arrow-right.gif') center center no-repeat;
	height: 15px;
	width: 15px;
	display: block;
	margin-right: 20px;
}
#calendar table a { color: #673b15; text-decoration: none; }
#calendar table td.close a { color: #aaa; }
#calendar table a:hover { text-decoration: underline; }
#calendar table {
	margin: 0 20px 0 20px;
	width: 180px;
	color: #fff;
	font-weight: bold;
	text-align: right;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #fff;
}
#calendar table th {
	text-align: center;
	border-bottom: 3px double #fff;

}
#calendar table td.today { border: 1px solid #673b15; }
#calendar table td.free , #calendar-legend p span.cal-free { background-color: #a6d1e3; }
#calendar table td.full , #calendar-legend p span.cal-full { background-color: #025d84; }
#calendar table td.registred , #calendar-legend p span.cal-reg { background-color: #fff; }
#calendar table td.reg-close { background-color: #aaa; }
#calendar table td.close { background-color: #222; }
#calendar table td.weekend { color: #000; }
#calendar-legend {
	margin: 5px 0 0 10px;
}
#calendar-legend p {
	font-size: 10px;
	margin: 0;
	padding: 0;
}
#calendar-legend p span {
	float: left;
	margin-right: 5px;
	display: block;
	height: 12px;
	width: 15px;
}
#calendar-legend p.cal-box {
	padding: 3px;
}

#info-registration {
	border: 1px solid #673b15;
	padding: 10px;
	margin-top: 15px;
}
#info-registration p {
	margin: 2px 0 2px 0;
}


/*** homepage ***/
#style-home.left-panel {
	width: 550px;
}
#style-home h1 {
	font-size: 20px;
	color: #009EE0;
}
#style-home a {
	color: #673b15;
}
#home-login {
	height: 407px;
}
#home-login #absbox {
	position: absolute;
	background: url('./img/backlogin.png') top left no-repeat;
	_background: url('./img/backlogin.gif') top left no-repeat;
	width: 386px;
	height: 334px;
	top: 211px;
	margin-left: -24px;
}
#home-login form {
	padding: 160px 0 0 15px;
	color: #673b15;
}
#home-login form fieldset {
	border: none;
	margin: 0;
	padding: 5px 0 0 0;
	_padding: 0;
}
#home-login form legend {
	margin: 0;
	padding: 0;
	border: none;
	color: #673b15;
	font-weight: bold;
}
#home-login form input {
	margin: 0;
}
#home-login form p {
	padding: 0;
	margin: 9px 0 9px 0;
}
#home-login form label {
	width: 45px;
	display: block;
	float: left;
	line-height: 18px;
}
#home-login form input {
	background-color: #fff;
	border: 1px solid #aaa;
	width: 135px;
	color: #000;
}
#home-login form input#but-login {
	background: transparent url('./img/button_login.png') center center no-repeat;
	position: absolute;
	top: 198px;
	left: 210px;
	width: 40px;
	height: 35px;
	border: none;
	cursor: pointer;
}
#home-signpost {
	padding: 10px 0 20px 0;
}
#home-signpost a {
	display: block;
	height: 68px;
	width: 221px;
}
#home-signpost a#but-download {background: url('./img/button_download.png') center center no-repeat;}
#home-signpost a#but-schedule {background: url('./img/button_schedule.png') center center no-repeat;}
#home-signpost a#but-gallery {background: url('./img/button_gallery.png') center center no-repeat;}
#home-signpost a span { display: none; }

#home-password {
	display: none;
}
#home-password fieldset {
	border: none;
}
#home-password form p {
	padding: 0;
	margin: 10px 0 10px 0;

}
#home-password form label {
	width: 75px;
	display: block;
	float: left;
	line-height: 18px;
}

/*** seminare ***/
.box-terms {
	border: 1px solid #673b15;
	padding: 5px 10px 5px 10px;
	margin: 5px auto 5px auto;
}
.files {
	min-height: 400px;
	_height: 400px;
}
#style-seminar h1 {
	text-align: center;
	font-size: 20px;
	color: #673b15;
	padding: 5px 0 5px 0;
	border-top: 1px solid #673b15;
	border-bottom: 1px solid #673b15;
}
#style-seminar .left-panel table.blocks th , #style-seminar h2 {
	text-align: left;
	padding: 6px 0 6px 10px;
	margin: 0;
	font-size: 18px;
	color: #009EE0;
	border-bottom: 1px solid #009EE0;
}
#style-seminar .left-panel table {
	width: 100%;
	color: #626262;
	border-bottom: 4px double #009EE0;
	border-collapse: collapse;
	margin-bottom: 20px;
}
#style-seminar .left-panel table .col-left {
	padding-left: 15px;
}
#style-seminar .left-panel table .col-right {
	padding-right: 15px;
}
#style-seminar .left-panel table td {
	vertical-align: top;
}
#style-seminar table.blocks a {
	color: #626262;
	text-decoration: none;
}
#style-seminar table.blocks td {
	font-size: 14px;
	padding-top: 5px;
	padding-bottom: 5px;
}
#style-seminar table.blocks td.date {
	width: 95px;
}
#style-seminar table.blocks tr .free { color: #009ee0; }
#style-seminar table.blocks tr .full { color: #000; }
#style-seminar table.blocks tr.line:hover { background-color: #caebf8; }

#style-seminar table.schedule th {
	text-align: left;
	border-bottom: 1px solid #009EE0;
}
#style-seminar table.schedule td.date {
	width: 97px;
}
#style-seminar table.schedule td.col-info {
	border-bottom: 1px solid #009EE0;
}
#style-seminar table.schedule td {
	padding-top: 5px;
	padding-bottom: 5px;
}

#style-seminar form {
	margin: 0 15px 0 15px;
}
#style-seminar form label {
	float: left;
	font-weight: bold;
	display: block;
	width: 140px;
}
#style-seminar form p {
	margin: 6px auto 6px auto;
	padding: 0 10px 0 10px;
}
#style-seminar form p.form-comment {
	margin: 8px auto 6px auto;
	font-size: 13px;
	font-style: italic;
}
#style-seminar form.sem-regist {
	float: right;
	position: relative;
	top: -35px;
	margin: 0;
}
#style-seminar .button-blue {
	color: #fff;
	background: #009EE0 url('./img/motiv_blue.gif') center right no-repeat;
	border: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
	padding: 5px 35px 5px 10px;
	text-align: center;
}
#style-seminar div.button-blue {
	cursor: default;
}

/*** registrace ***/
#style-seminar p.inp-souhlas label {
	float: none;
	display: inline;
	margin-right: 10px;
}
#style-seminar input.button-brown {
	color: #fff;
	background: #673b15 url('./img/motiv_brown.gif') center right no-repeat;
	border: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
	padding: 5px 35px 5px 10px;
	text-align: center;
}


/*** info boxy ***/
.box-error {
	margin: 10px;
	padding: 10px;
	border: 2px solid #b10;
	font-weight: bold;
	color: #b10;
}
.box-info {
	font-size: 14px;
	font-weight: bold;
	margin: 0 15px 0 15px;
}
.box-link-back {
	margin: 0 15px 0 15px;
}

#contact-admin {
	color: #d00;
	border: 2px solid #d00;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.gallery-images {
	padding-top: 20px;
}

/*** seznam souboru ***/
.file-table {
	width: 100%;
	border-bottom: 4px double #009EE0;
	border-collapse: collapse;
}
.file-table tr {
	border-top: 1px solid #009EE0;
}
.file-table td {
	padding: 3px 0 3px 20px;
}
.file-table td.download {
	text-align: right;
	padding: 3px 20px 3px 0;

}
.file-table td.download a {
	color: #fff;
	background: #009EE0 url('./img/download.gif') center right no-repeat;
	border: none;
	cursor: pointer;
	font-size: 14px;
	font-weight: bold;
	padding: 6px 38px 6px 10px;
	text-align: center;
	text-decoration: none;
	font-weight: bold;
}
/*** Gallery Box ***/
.gallery-box-all {
	display: none;
	z-index: 30;
	position: absolute;
	text-align: center;
    margin: auto;
    top: 0;
    left: 0;
	width: 100%;
	height: 100%;
}
.gallery-box-black {
    background-color: #000;
	position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    z-index: 40;
	width: 100%;
	height: 100%;
	opacity: 0.70;
}

.gallery-box {
	padding: 20px 20px 5px 20px;
	height: 200px;
	width: 200px;
    z-index: 50;
	text-align: left;
	position: relative;
	top: 0;
	margin: 50px auto auto auto;
	background-color: #fff;
	color: #000;
}
.gallery-box-image {
	height: 160px;
	width: 160px;
	text-align: center;
	background: #fff url('./gallery/ajax-loader.gif') center center no-repeat;
	display: block;
	margin: auto;
	padding: 0;
}
.gallery-box-image img {
	margin: auto;
}
.gallery-box p {
	margin: 0;
	padding: 5px 0 0 0;

}
.gallery-box a {
	background-repeat: no-repeat;
	height: 100%;
	outline: none;
	display: block;
	margin: 0;
	background-image: url('.');
	z-index: 55;
}
.gallery-box a span {
	display: none;
}

.gallery-box a.gallery-box-left {
	position: absolute;
	top: 20px;
	left: 20px;
	width: 21px;
	background-position: left center;
}
.gallery-box a.gallery-box-left:hover { background-image: url('./gallery/previous.png'); }

.gallery-box a.gallery-box-right {
	position: absolute;
	top: 20px;
	right: 20px;
	background-position: right center;
}
.gallery-box a.gallery-box-right:hover { background-image: url('./gallery/next.png'); }

.gallery-box a.gallery-box-close {
	position: absolute;
	bottom: 5px;
	right: 5px;
	width: 43px;
	height: 42px;
	background-image: url('./gallery/close.gif');
}
.gallery-box-cleaner {
	clear: both;
}
