/* =================================================== */
/* ------------------ 1. GENERIC --------------------- */
/* =================================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

/* remember to define focus styles! */
:focus {outline: 0;}
body {line-height: 1.2;}

caption, th, td {text-align: left; font-weight: normal;}
blockquote:before, blockquote:after, q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}

h1,h2,h3,h4,h5,h6 {display: block; margin-bottom: .5em;}
p {display: block; font-size: 100%; margin: 0 0 1em;}

ul, ol {display: block; margin: 1em 0 1em 15px;}
li {display:list-item; padding: 0 0 .4em 5px;}

ul li {list-style-type: disc;}
ul ul li {list-style-type: circle;}
ul ul ul li {list-style-type: square;}
ol li {list-style-type: decimal;}
ol ol li {list-style-type: lower-alpha;}
ol ol ol li {list-style-type: upper-roman;}

fieldset {margin: 0 0 1em; padding: .5em .5em;}
select,option,input {font-size: 100%; margin-bottom: .5em; vertical-align: middle;}

img {border: 0; vertical-align: middle;}
hr {margin: .2em 0;}
strong {font-weight: bold;}
em {font-style: italic;}
cite {display: block;}
pre, code {font-size: 110%; margin: .5em 0;}

table {border-collapse: collapse;}
th,td {padding: .4em .6em;}

/* ================= */
/* -- VLASTNOSTI --- */
.clear {clear: both;}
.clearer {clear: both; font-size: 0; height: 0 !important;}

.p-relative {position: relative;}
.display-none {display: none;}

a.inverse {text-decoration: none;}
a.inverse:hover {text-decoration: underline;}

.no-margin {margin: 0;}
.no-bottom {margin-bottom: 0 !important;}
.no-top {margin-top: 0 !important;}

.float-right {float: right !important;}
.float-left {float: left !important;}
.p-relative {position: relative !important;}

.a-left {text-align: left !important;}
.a-center {text-align: center !important;}
.a-right {text-align: right !important;}
/* =================================================== */
/* ------------------ 2. BASIC  ---------------------- */
/* =================================================== */
h1,h2,h3,h4 {font-family: Arial, Helvetica, sans-serif; color: #e5e5e5;}

h1 {font-size:200%; margin: 0;}
h1 a {display: block; width: 300px; height: 118px;}
h1 span {display: none;}

h2 {
	display: none;
	font-size:180%;
	margin: 0;
}
h3 {font-size: 160%; margin: 10px 0 0 10px;}
h4 {
	margin: 8px 5px 5px 0;
	font-size: 120%;
	font-weight: bold;
	max-height: 30px;
	color: white;
}

a {color: blue;}
a:hover {color: red; text-decoration: none;}
td, th {border: 1px solid #ccc;}

/* -------------------------------------------------------- */

.button img {vertical-align: middle;}
.submit {}
.submit:hover {}
.highlight {border: 1px solid red !important;}

#ajax-spinner {
	background-color: #eff6fd;
	background-image: url(../images/ajax-loader.gif);
	background-position: center;
	background-repeat: no-repeat;
	border: 1px solid #6ea6d1;
	padding: 5px;
	height: 16px;
	width: 16px;
}

.flashMessages {
	position: fixed;
	top: 0;
	z-index: 1000;
	margin: 0 0 0 220px;
	padding: 0 30px;
	&height: 0;
	width: 450px;
	background-color: #b22222;
	color: white;
	opacity: .9;
}
.flashMessages li.flash {
	margin: 5px 0;
	padding: 0 10px;
}
/* =================================================== */
/* ------------------ 3. LAYOUT ---------------------- */
/* =================================================== */
body {
	color: #494949;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.8em;
}
#page-container {
	position: relative;
	margin: 40px auto;
	text-align: left;
	width: 960px;
	border: 1px solid #ccc;
	background-color: #606b72;
	background-image: url(../images/left-col-back.gif);
	background-position: left;
	background-repeat: repeat-y;
	color: #e5e5e5;
}
#page-reference {
	position: absolute;
	width: 960px;
	height: 600px;
	background-image: url(../images/reference.png);
	opacity: .5;
	z-index: 10000;
}
#page-header {
	background-color: #1d3c83;
	border: 0 #454d52 solid;
	border-bottom-width: 1px;
	height: 118px;
	background-image: url(../images/header.jpg);
}
#page-content-container {
	width: 960px;
	min-height: 380px;
}
#page-left {
	float: left;
	position: relative;
	width: 130px;
	height: 380px;
	background-color: #80898e;
	background-image: url(../images/menu-top-back.gif);
	background-position: top;
	background-repeat: repeat-x;
}
#page-content {
	position: relative;
	float: left;
	width: 640px;
	min-height: 370px;
	_height: 370px;
	/*overflow: auto;*/
	padding: 10px 0 0 17px;
}
#tree-content {
	width: 640px;
	min-height: 370px;
	_height: 370px;
	margin: -10px 0 0 -17px;
	padding: 10px 0 0 17px;
	background: url(../images/content-top-back-dark.gif) #4d565b repeat-x top !important;
}
#page-right {
	float: right;
	height: 370px;
	padding: 10px 0 0;
	width: 173px;
	font-size: .9em;
}
/*#page-right p, #page-right h4 {
	padding-left: 10px;
}*/
#page-content, #page-right {
	background-color: #606b72;
	background-image: url(../images/content-top-back.gif);
	background-position: top;
	background-repeat: repeat-x;	
}
#page-footer {
/*	height: 70px;*/
	height: 70px;
	padding: 15px 10px 15px;
	background-color: #1d3c83;
	background-image: url(../images/footer-back.gif);
	background-position: top;
	background-repeat: repeat-x;	
}
#skip-nav {display: none;}

/* =================================================== */
/* ---------------- 4. MENU, PANELS ------------------ */
/* =================================================== */

/* ------------------ */
/* --- Main menu ---- */
ul#menu {
	margin: 20px 0;
	padding: 0;
}
ul#menu li {
	display: block;
	margin: 0;
	padding: 0;
	border: 0 #c0c4c7 solid;
	border-bottom-width: 1px;
}
ul#menu li a {
	display: block;
	padding: .4em 5px .4em 10px;
	width: 115px;
	color: #e5e5e5;
	font-size: 1.1em;
	text-decoration: none;
}
ul#menu li.level1 a {
	padding-left: 25px;
	background-color: #8b979d;
	font-size: 1em;
}
/*, ul#menu li a:hover */
ul#menu li.sel a, .tree li a:hover {
	color: white;
	background-color: #1d3c83 !important;
}

/* ---------------- */
/* --- Submenu ---- */
/*ul#submenu {
	margin: 0;
	position: absolute;
	bottom: 0;
	width: 130px;
}
ul#submenu li {
	margin: 0;
	display: block;
	list-style: none;
}
ul#submenu li a {
	display: block;
	padding: 18px 0 15px 55px;
	background-image: url(../images/submenu-back.gif);
	background-position: top left;
	background-repeat: no-repeat;
	color: #e5e5e5;
	text-decoration: none;
}*/

ul#submenu {
	margin: 0 0 5px;
	position: absolute;
	bottom: 0;
	width: 130px;
}
ul#submenu li {
	margin: 0;
	padding: 0;
	display: block;
	list-style: none;
}
ul#submenu li a {
	display: block;
	text-decoration: none;
}

/* ------------------ */
/* --- Right menu --- */
ul#right-menu {
	margin: 0;
	padding: 0;
}
ul#right-menu li {
	display: block;
	float: left;
	margin: 0;
	padding: 0;
	border: 0 solid #a9a9a9;
	border-width: 1px 0 0 1px;
}
ul#right-menu li a {
	display: block;
	padding: 3px 5px;
	width: 50px;
	background-color: #898e91;
	color: #151515;
	font-size: .95em;
	text-align: center;
	text-decoration: none;
}
ul#right-menu li.sel a, ul#right-menu li a:hover, .back-to-video a:hover {
	background-color: #303639;
	background-image: url(../images/menu-right-sel-back.gif);
	background-position: top;
	background-repeat: repeat-x;
	color: #e5e5e5;
}

/* =================================================== */
/* ------------------ 5. CONTENT --------------------- */
/* =================================================== */
.video-player {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
}
#video-loader {
	position: absolute;
	top: 10px;
	right: 0;
	width: 640px;
	height: 362px;
	background: black url(../images/video-loader.gif) no-repeat center center;
	z-index: 100;
	opacity: .99;
}
#video-loader em {
	display: block;
	position: absolute;
	top: 220px;
	left: 0;
	width: 640px;
	font-size: .9em;
	font-style: normal;
	text-align: center;
}
.video-info {
	height: 100px;
	padding: 0;
	margin: 0 0 10px 10px;
	border-bottom: 1px solid #a9a9a9;
}
.video-desc {
	/*margin-left: 10px;*/
	padding: 0 5px 0 0 !important;
	overflow: hidden;
	font-size: .95em;
}
.back-to-video {
	position: absolute;
	top: 10px;
	right: 0;
	margin: 0;
}
.back-to-video a {
	display: block;
	padding: 3px 5px;
	background-color: #898e91;
	border: 0 solid #a9a9a9;
	border-width: 1px 0 0 1px;
	color: #151515;
	font-size: .85em !important;
	text-align: center;
	text-decoration: none;
}

/* ---------------- */
/* --- Comments --- */
.comment {
	margin: 15px 50px;
	border-bottom: 1px solid #494949;
	font-size: .9em;
}
.comment-info {
	color: #c2c2c2;
}
.comment-text {
	width: 540px;
	overflow: auto;
}
table.add-comment {
	margin: 0 auto 10px;
	padding: 8px 8px 3px;
	background-color: #525b61;
	border: 1px solid #494949;
	border-collapse: separate;
}
table.add-comment caption {
	margin-bottom: 10px;
	font-size: 1.2em;
}
table.add-comment td {
	padding: 0 10px;
	border: none;
	font-size: .9em;
}
table.add-comment input {margin-right: 15px;}
table.add-comment textarea {width: 500px;}
table.add-comment input, table.add-comment textarea {
	padding: 2px 5px;
	background-color: #eff6fd;
	border: 1px solid #494949;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1em;
}
.form-submit input.button {
	float: right;
	margin: 0 !important;
	padding: 3px 5px;
	background-color: #2f3539;
	background-image: url(../images/menu-right-sel-back.gif);
	background-position: top;
	background-repeat: repeat-x;
	color: #e5e5e5;
	font-size: .85em;
}
p.no-comments {
	margin: 30px 20px;
}
.button-delete {
	display: inline-block;
	padding: 1px;
	background-color: #b7b7b7;
	border: 1px solid #494949;
	text-decoration: none;
}
.button-delete:hover {
	background-color: #ccc;
	border-color: #666;
}
/* ------------------ */
/* --- Video Tree --- */
ul.tree {
	width: 250px;
	margin: 10px 30px;
}
.t-left {
	float: left;
	margin-left: 40px;
}
.t-right {
	float: right;
	margin-right: 40px;
}
.tree > li {
	margin: 5px 0 0;
	padding-left: 0;
	list-style: none;
	font-size: 1.2em;
}
.tree ol {
	margin: 10px 0 0 20px;
}
.tree ol li, .tree p {
	font-size: .8em;
}
.tree p {
	margin: 10px 0 0 20px;
}
.tree ol a {
	display: block;
	padding: 2px 5px;
	background-color: #5e686f;
	border: 1px solid #494949;
	color: #e5e5e5;
	text-decoration: none;
}

/* ----------------------- */
/* --- Scrollable both --- */
.scrollable {
	position: relative;
	overflow: hidden;
}
.items {position: absolute;}
.button {
	display: block;
	background-position: top left;
	background-repeat: no-repeat;
	cursor: pointer;
}
/* ----------------------------- */
/* --- Scrollable horizontal --- */
.scrollable-horizontal .scrollable {
	float: left;
	width: 900px;
	height: 65px;
	margin: 3px 0 0 5px;
}
.scrollable-horizontal .items {width: 20000em; clear: both;}
.scrollable-horizontal .button {
	margin: 18px 0 0 0;
	width: 16px;
	height: 33px;
}

/* --------------------------- */
/* --- Scrollable vertical --- */
.scrollable-vertical .scrollable {
	width: 147px;
	height: 225px;
}
.scrollable-vertical .items {height: 20000em;}
.scrollable-vertical .button {
	width: 25px;
	height: 18px;
	margin: 5px auto;
}

.scrollable-vertical .scrollbar {
	float: right;
	position: relative;
	width: 25px;
	height: 225px;
	padding: 0 !important;
	margin: 0 !important;
	background: url(../images/scrollbar-back.gif) center center no-repeat;
}

/* -------------------------- */
/* --- Scrollable buttons --- */
.scrollable-horizontal .prevPage {float: left;	background-image: url(../images/button-prev.gif);}
.scrollable-horizontal .nextPage {float: right;	background-image: url(../images/button-next.gif);}
.scrollable-vertical .prevPage {background-image: url(../images/button-up.gif);}
.scrollable-vertical .nextPage {
	position: absolute;
	bottom: 0;
	background-image: url(../images/button-down.gif);
}

.prevPage:hover, .nextPage:hover {background-position: top right;}

a.disabled {visibility: hidden !important;}
.scrollable-vertical a.disabled {visibility: visible !important;}

/* ------------------------ */
/* --- Related videos ---- */
.related {
	height: 106px;
	width: 145px;
	margin: 0 0 8px;
	padding: 0 !important;
	background-color: #525b61;
	border: 1px #80898e solid;
	border-left-width: 0;
	font-size: .95em;
}
.related img {
	display: block;
	margin: 0 0 5px;
}
.related a {
	display: block;
	height: 96px;
	width: 135px;
	padding: 5px 0 5px 10px;
	color: #e5e5e5;
	text-decoration: none;
}
.related a:hover {
	color: white;
	background-color: #1d3c83 !important;
}

/* --------------------- */
/* --- Bottom videos --- */
.bottom-video {
	float: left;
	width: 217px;
	margin: 0 3px;
	background-color: #19336f;
	border: 1px #4a639c solid;
	font-size: .85em;
}
.bottom-video img {
	display: block;
	float: left;
	margin-right: 5px;
}
.bottom-video a {
	display: block;
	padding: 3px;
	color: #e5e5e5;
	text-decoration: none;
}
.bottom-video a:hover {
	color: white;
	background-color: #25458b !important;
}
.bottom-video span {display: block;}

/* =================================================== */
/* ------------------  5. DEBUG  --------------------- */
/* =================================================== */
pre.dump * {
	font-family: "Courier New", Courier, monospace;
	font-size: 1em;
	color: black;
}
pre.dump span {
	color: blue;
}
a[href^="error:"] {
    background: red;
    color: white;
}
