/*
 * Zakladni styly pro objekty CMS
 *
 */

/*****************************************************
 * Vseobecne
 */

body {
	font-family: sans-serif;
	font-size: 10pt;
}

a img {
	border: none;
}

.yes {
	color: #2a2;
}
.no {
	color: #c44;
}

div.ender {
	clear: both;
	height: 0px;
	margin: 0px;
	padding: 0px;
	border: none;
	overflow: hidden;
}

/*****************************************************
 * Messages
 */

.error_message, .success_message {
	width: 50%;
	margin: 30pt auto;
	text-align: center;
	padding: 10pt 20pt;
	-moz-border-radius: 15px;
	color: #000;
}

.error_message em,
.success_message em,
.small_error_message em,
.small_success_message em {
	font-weight: bold;
	font-style: normal;
}

.error_message em, .success_message em {
	font-size: 110%;
}

.small_error_message p,
.small_success_message p {
	margin: 3pt;
}

.small_error_message,
.small_success_message {
	margin: 10pt;
	text-align: left;
	padding: 0pt 10pt;
}

.success_message {
	border: 2px solid #0d0;
	background-color: #dfb;
}

table.Editor .big_error,
.error_message {
	border: 2px solid #d00;
	background-color: #feb;
}

.small_success_message {
	border: 1px solid #0d0;
	color: #484;
}

.small_error_message {
	border: 1px solid #d00;
	color: #844;
}

.error_message small,
.error_message small a,
.success_message small,
.success_message small a,
.small_error_message small,
.small_error_message small a,
.small_success_message small,
.small_success_message small a {
	color: #777;
}


/*****************************************************
 * Editor
 */

form.Editor {
	margin: 10pt 0px;
	padding: 10pt 8pt 4pt 8pt;
	background-color: #ddd;
	border: 1px solid #ccc;
	-moz-border-radius: 10px;
}

table.Editor {
	margin: 0px 0px;
	padding: 0px;
	width: 100%;
}

table.Editor td {
	margin: 0px;
	padding: 1pt 2pt 2pt 2pt;
}
table.Editor th {
	margin: 0px;
	padding: 1pt 2pt 2pt 2pt;
	white-space: nowrap;
	text-align: left;
	vertical-align: top;
}

table.Editor .error {
	font-weight: bold;
	font-size: 80%;
}

table.Editor .big_error {
	font-weight: bold;
	display: block;
	margin: 0pt;
	padding: 10pt 10pt;
}

table.Editor input.submit {
	padding: 2pt 8pt 0pt 8pt;
}

table.Editor hr {
	height: 1px;
	border: none;
	border-top: 1px solid #ccc;
	margin: 1px;
	padding: 0px;
}

table.Editor .separator {
	height: 1px;
	padding: 0px;
}

table.Editor input.textentry,
table.Editor textarea {
	width: 99%;
}
table.Editor .error {
	color: #d40;
}
table.Editor .note {
	font-size: 80%;
}


/*****************************************************
 * Sloupcovita tabulka
 */

.column_table {
	margin: 10pt 0pt;
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #777;
}
.column_table td {
	border-top: 1px solid #ddd;
}
.column_table th {
	background-color: #ddd;
	border-bottom: 1px solid #777;
	border-top: 1px solid #777;
}
.column_table td,
.column_table th {
	padding: 3px 4px 2px 4px;
	border-left: 1px solid #777;
	border-right: 1px solid #777;
}
.column_table a {
	display: block;
	margin: -2px -3px -1px -3px;
	padding: 2px  3px  1px  3px;
	text-decoration: none;
}
.column_table .text a {
	display: inline;
}
.column_table tr.section th {
	text-align: left;
}
.column_table td.icon {
	text-align: center;
}
.column_table tr:hover td,
.column_table td a:focus {
	background-color: #feb;
}
.column_table td.indented {
	padding-left: 24pt;
}

.column_table td a span.indent {
	display: block;
	padding: 0px;		/* overriden by template */
	margin: 0px;
}


/*****************************************************
 * Tabulka s detaily
 */

table.detail {
	border-collapse: collapse;
	margin: 10pt 0pt;
	width: 100%;
}

table.detail,
table.detail .fullwidth {
	border: 1px solid #ddd;
}

table.detail th {
	text-align: left;
	white-space: nowrap;
	vertical-align: baseline;
	padding: 4pt 6pt 0pt 6pt;
	background-color: #eee;
}

table.detail td {
	padding: 3pt 6pt 2pt 6pt;
}


/*****************************************************
 * Administrace -- Bookmarks
 */

#admin_bookmarks {
	display: block;
	clear: both;
	border: 1px solid #ddd;
	margin: 10pt 0px;
	padding: 0px;
	font-size: 80%;
}

#admin_bookmarks ul {
	display: block;
	margin: 0px;
	padding: 0px
}

#admin_bookmarks ul li {
	display: block;
	float: left;
	list-style: none;
	margin: 0px;
	padding: 0px;
}

#admin_bookmarks ul li a {
	display: block;
	text-align: center;
	padding: 4pt 6pt;
}

#admin_bookmarks ul li a span {
	display: block;
	text-align: center;
}

#admin_bookmarks ul li a:hover,
#admin_bookmarks ul li a:focus {
	background-color: #feb;
	color: #00b;
}

/*****************************************************
 * Administrace -- Menu, Uzivatelske role
 */

table.user_roles,
table.admin_menu {
	border-collapse: collapse;
	width: 100%;
}
table.admin_menu th,
table.admin_menu td {
	vertical-align: baseline;
}
table.user_roles th,
table.admin_menu th {
	padding: 4pt 6pt 0pt 40pt;
	text-align: left;
	width: 35%;
	white-space: nowrap;
}
table.user_roles .no_perms,
table.admin_menu .no_admin_opts {
	padding: 3pt 6pt 2pt 40pt;
	font-style: italic;
	color: #777;
}
table.user_roles tr.header td,
table.user_roles tr.header th,
table.admin_menu tr.header td,
table.admin_menu tr.header th {
	padding: 20pt 0pt 2pt 0pt;
	border-bottom: 1px solid #ddd;
}
table.user_roles tr.header th,
table.admin_menu tr.header th {
	text-align: left;
	font-size: 120%;
	font-weight: bold;
	white-space: nowrap;
}
table.admin_menu tr.header td {
	text-align: right;
	font-size: 80%;
}
table.user_roles tr.header .desc {
	font-size: 11pt;
	font-weight: normal;
	font-style: italic;
}
table.admin_menu tr.separator {
	height: 10pt;
}
table.admin_menu tr.separator hr {
	display: none;
}
table.user_roles .no_perms,
table.admin_menu .no_admin_opts,
table.user_roles tr.header .desc {
	color: #777;
}
table.admin_menu tr.new_group td,
table.admin_menu tr.new_group th {
	border-top: 1px solid #ccc;
}


/*****************************************************
 * Administrace -- Navigace
 */

.admin_navigation {
	padding: 2px 0px;
	font-size: 9pt;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
}
.admin_navigation .ender {
	display:block;
	content: '';
	clear: both;
}
.admin_navigation h3,
.admin_navigation ul li {
	float:left;
	display: block;
	padding: 0pt;
	white-space: nowrap;
}
.admin_navigation h3 {
	font-size: 9pt;
	width: 10em;
	padding: 3pt 0pt 1pt 0pt;
	margin: 0px;
}
.admin_navigation ul li {
	width: 12em;
	margin: 0px;
	padding: 0px;
}
.admin_navigation ul {
	padding: 0pt;
	margin: 0px 48px 0px 10em;
}
.admin_navigation a {
	display: block;
	margin: 0px;
	padding: 3pt 6pt 1pt 6pt;
	text-decoration: none;
}
.admin_navigation a.home {
	float: right;
	margin: 0px;
	padding: 0px;
}
.admin_navigation a.home img {
	display: block;
	margin: 0px;
	padding: 4px 6px;
}
.admin_navigation a:hover, 
.admin_navigation a:focus {
	background-color: #feb;
	color: #00b;
}


/*****************************************************
 * Seznam uzivatelu
 */

.user_list {
	margin: 10pt 0pt;
	width: 100%;
	border-collapse: collapse;
	border-bottom: 1px solid #ddd;
}
.user_list th,
.user_list td {
	padding: 2pt 6pt;
}
.user_list th {
	text-align: left;
	white-space: nowrap;
	font-weight: normal;
	font-size: 80%;
	vertical-align: middle;
	color: #777;
}
.user_list tr.firstline {
	border-top: 1px solid #ddd;
}
.user_list tr.firstline th {
	padding: 4pt 6pt 0pt 6pt;
	font-weight: bold;
	font-size: 11pt;
	color: inherit;
}


/*****************************************************
 * Site Map
 */

.sitemap {
	margin: 10pt 0pt;
}
.sitemap ul {
	list-style: square;
	margin: 2pt 0pt 2pt 10pt;
}
.sitemap ul li {
	margin: 2pt 0pt 2pt 0pt;
}


/*****************************************************
 * Galerie -- zobrzeni nahledu fotky
 */

.gallery_show {
	clear: both;
}

.gallery_latest a,
.gallery_show a {
	display: block;
	float: left;
	width: 142px;
	height: 154px;
	
	position: relative;
	top: 0px;
	left: 0px;
	
	margin: 10px 5px 5px 10px;
	padding: 0px 1px 1px 0px;
	overflow: show;

	text-align: center;
	text-decoration: none;
	font-size: 10px;
	color: #444;
	background-color: #666;

	cursor: pointer;
}

.gallery_latest a img,
.gallery_show a img {
	border: none;
	display: block;
	margin: auto;
	padding-top: 10px;
	cursor: pointer;
}

.gallery_latest a span.photo,
.gallery_show a span.photo {
	display: block;
	height: 136px;
	overflow: hidden;
}

.gallery_latest a span.description,
.gallery_show a span.description {
	display: block;
	overflow: hidden;
	height: 12px;
	width: 122px;
	margin: 0px auto;
	padding: 0px;
	text-decoration: none;
	line-height: 12px;
	white-space: nowrap;
}

.gallery_latest a span.photobox,
.gallery_show a span.photobox {
	display: block;
	width: 100%;
	height: 100%;

	position: relative;
	top: -3px;
	left: -3px;

	padding: 0px;
	margin: 0px;
	overflow: hidden;

	border: 1px solid #000;
	background-color: #ddd;
	text-decoration: none;
}

.gallery_latest a:focus span,
.gallery_latest a:hover span,
.gallery_show a:focus span,
.gallery_show a:hover span {
	top: -5px;
	left: -5px;
	background-color: #eee;
}
.gallery_latest a:focus,
.gallery_latest a:hover,
.gallery_show a:focus,
.gallery_show a:hover {
	top: 1px;
	left: 1px;
}


/*****************************************************
 * Kalendar
 */

.calendar_show {
	border-collapse: collapse;
	width: 100%;
	margin: 10pt 0px;
	padding: 0px;
}

.calendar_show th {
	font-size: 80%;
	background-color: #ddd;
}

.calendar_show th,
.calendar_show td {
	text-align: center;
	padding: 4pt 6pt;
	border: 1px solid #777;
}

.calendar_show td.weekview_work_day_content {
	height: 8em;
}

.calendar_show td.weekview_weekend_day_content {
	height: 4em;
}

.calendar_show td ul {
	display: block;
	padding: 0px;
	margin: 0px;
	font-size: 80%;
}

.calendar_show td ul li {
	text-align: left;
	display: block;
	text-indent: -3em;
	margin: 2pt 2pt 2pt 3em;
	padding: 0px;
}


/*****************************************************
 * Tree Node Editor
 */

.tree_node_edit_proxy .toolbar {
	margin: 0pt auto;
	text-align: center;
}
.tree_node_edit_proxy .toolbar form {
	display: inline;
}
.tree_node_edit_proxy .toolbar fieldset {
	display: inline;
	border: 1px solid #aaa;
	padding: 0pt 3pt;
	margin: 4pt;
	font-size: 80%;
}
.tree_node_edit_proxy .toolbar fieldset.active {
	border: 1px solid #000;
}
.tree_node_edit_proxy .toolbar fieldset legend {
	color: #555;
	background-color: #eee;
	border-right: 2px solid #aaa;
	border-left: 2px solid #aaa;
	padding: 1pt 4pt;
}
.tree_node_edit_proxy .toolbar fieldset.active legend {
	color: #000;
	border-right: 2px solid #000;
	border-left: 2px solid #000;
}
.tree_node_edit_proxy .toolbar fieldset button {
	display: block;
	float: left;
	margin: 4pt 1pt;
	padding: 2pt 3pt;

	color: #000;
	background-color: transparent;
	border: none;

	text-decoration: none;
	text-align: center;
	cursor: pointer;
}
.tree_node_edit_proxy .toolbar fieldset button:hover,
.tree_node_edit_proxy .toolbar fieldset button:focus {
	background-color: #feb;
}
.tree_node_edit_proxy .toolbar fieldset button.active,
.tree_node_edit_proxy .toolbar fieldset button.active:hover,
.tree_node_edit_proxy .toolbar fieldset button.active:focus {
	color: #fff;
	background-color: #88f;
}
.tree_node_edit_proxy .toolbar fieldset button img {
	margin: 1pt auto 2pt auto;
}
.tree_node_edit_proxy .toolbar fieldset button span {
	display: block;
}


/*****************************************************
 * Text
 */

.text_text {
	clear: both;
}


/*****************************************************
 * References
 */

.tree_node_references_show {
	clear: both;
}


/*****************************************************
 * Files
 */

.files_browse ul {
	display: block;
	margin: 10pt 0px 10pt 0px;
	padding: 0px;
}
.files_browse li {
	display: block;
	margin: 0px;
	padding: 0px;
}
.files_browse li img {
	position: relative;
	margin: 0px 8pt 0px 0px;
	top: 8px;
}


/*****************************************************
 * Discussion
 */

.discussion {
	clear: both;
	padding: 0pt;
	margin: 10pt 0pt;
}

.discussion .discussion-comment {
	padding: 0pt; 
	margin: 0pt 0pt 10pt 0pt;
}

.discussion .discussion-comment .discussion-header,
.discussion .discussion-comment .discussion-header-new {
	margin: 0pt;
	background-color: #eee;
	border-collapse: collapse;
	border-top: 1px solid #aaa;
	border-bottom: 1px solid #aaa;
	font-size: 80%;
}

.discussion .discussion-comment .discussion-header-new {
	background-color: #dfc;
}

.discussion .discussion-comment .discussion-header td,
.discussion .discussion-comment .discussion-header-new td {
	text-align: left;
	font-weight: bold;
	padding: 1pt 4pt;
}

.discussion .discussion-comment .discussion-header th,
.discussion .discussion-comment .discussion-header-new th,
.discussion .discussion-comment .discussion-header .discussion-actions {
	text-align: left;
	font-weight: normal;
	padding: 1pt 4pt;
}

.discussion .discussion-comment .discussion-header .discussion-actions,
.discussion .discussion-comment .discussion-header .discussion-date {
	text-align: right;
}

.discussion .discussion-comment .discussion-comment {
	margin-left: 3em;
}

.discussion .discussion-comment .discussion-text {
	padding: 4pt;
}


/*****************************************************
 * Profiles
 */

.profile {
	margin: 10pt 0px;
}

.profile .profile-avatar-holder {
	float: right;
}

.profile table {
	border-collapse: collapse;
	margin: 0px;
	padding: 0px;
}

.profile table td,
.profile table th {
	vertical-align: baseline;
	padding: 2pt 4pt;
}

.profile table td {
	text-align: left;
}

.profile table th {
	text-align: right;
	white-space: nowrap;
	font-size: 80%;
	font-weight: normal;
	color: #666;
}

.profile_list .list_item {
	float: left;
	width: 128px;
	text-align: center;
	margin: 20pt 10pt;
}

.profile_list .list_item a,
.profile_list .list_item a span {
	display: block;
	margin: 0px;
	padding: 0px;
}

.profile_list .list_item a span.list_item_icon_holder {
	height: 128px;
}

.profile_list .list_item a span.list_item_icon_holder img {
	display: block;
	margin: 0px auto;
}


/*****************************************************
 * Testy
 */

.test_show {
	clear: both;
}

.test_show .question {
	margin: 10pt 0pt;
}

.test_show .question .answers {
	margin: 4pt 0pt 4pt 10pt;
}

.test_show .question .answers .answer {
	margin: 2pt 0pt 0pt 2em;
	text-indent: -2em;
}

.test_show .test-submit {
	margin: 10pt 0pt;
}


/*****************************************************
 * File Browser
 */

.files_browser,
.files_info {
	margin: 10pt 0px;
	padding: 4pt 2pt 6pt 2pt;
	background-color: #ddd;
	border: 1px solid #ccc;
	-moz-border-radius: 10px;
}

.files_browser table,
.files_info table {
	width: 100%;
	border-spacing: 6pt 2pt;
}

.files_browser table td,
.files_browser table th,
.files_info table td,
.files_info table th {
	text-align: left;
	vertical-align: top;
	padding: 0px;
	margin: 0px;
}

.files_browser table td select {
	display: block;
	width: 100%;
	border: 1px solid #888;
}

.files_browser table .files-browser-header small {
	font-weight: bold;
}

.files_browser table .files-browser-header .files-browser-header-actual {
	float: left;
	margin: 2pt 4pt 2pt 0pt;
}

.files_browser table .files-browser-header .files-browser-actions {
	float: right;
	margin: 0pt 0pt 2pt 4pt;
}

.files_browser table td .files-browser-actions {
	margin: 3pt 0px 0px 0px;
	text-align: center;
}

.files_info table td .preview-holder {
	overflow: auto;
}
.files_info table td .preview {
	max-width: 100%;
	background-color: #fff;
	color: #000;
}

