/* CSS Document - ZÁKLAD (PŮVODNÍ FUNKČNÍ KÓD ŠABLONY) */

body {
	margin: 0px;
	padding: 0px;
	font-family: Geneva CE, Arial CE, serif;
	line-height: 26px;
	font-size:100%;
}

body.f-smaller{ font-size: 14px; }
body.f-default{ font-size: 17px; }
body.f-larger{ font-size: 19px; }

#clr { clear: both; }
img{ border: 0px; }

#page {
	width: 879px;
	margin: 0 auto 0 auto;
}

#top-body{
	background:  url(../images/bg_body.jpg) no-repeat left top;
	padding:0pt; 
	width: 879px; 
	height: 35px;
}

#fontchanger{
	float: right;
	padding-right: 5px;
 	padding-top : 15px;
}

#date {
	margin: 1px 0px 0px 1px;
	float: left;
	font-size: 85%;
	line-height: 24px !important;
	line-height: 20px;
 	padding-top : 15px;
	padding-left: 10px;
}

#page-body {
	background:  url(../images/fadingbg.png) repeat-x top;
}

#header{
	background: url(header.png) no-repeat scroll 50% 0pt;
	height: 175px;
	width: 879px;
	border-radius: 20px;
	overflow: hidden;
	padding-left: 5px;
	padding:0pt;
	padding-left: 1px;
}

#text{
	width: 266px;
	height: 51px;
	position: relative;
	top: 60px;
	left: 600px;
}

#breadcrumb{
	width: 100%;
	height: 20px;
	position: relative;
	top: 10px;
	left: 10px;
}

.modulespacer{ padding-top:15px; }
#mainspacer{ padding-top:29px }
#content_spacer{ padding-left:15px; padding-right:15px; }
#content_spacer2{ padding-left:15px; padding-right:30px; }

#maincontainer{ float: left; width: 100%; *min-height:800px; }
#maindistance{ margin:0pt 198px; }
#maindistance_left{ margin-right:198px; margin-left: 0px; margin-top: 0px; margin-bottom: 0px; }
#maindistance_full{ margin:0px; }

#leftcontainer{ float: left; margin-left: -877px; width: 196px; }
#rightcontainer{ float:left; margin-left:-197px; width:196px; }

#left_content{        
	width: 195px;
	background-color: #ddb89d;
	opacity: 0.85;
	float: left;
	padding-top: 0px;
	padding-left: 0px;
	margin-bottom: 30px;
}

#left_top {
	width: 195px;
	background: url(../images/box/top_box.png) no-repeat left top;
	height: 15px;
}

#left_bottom {
	width: 195px;
	height: 12px;
	position: relative;
	bottom: -12px;
	right: 0px;
	background: url(../images/box/bot_box.png) no-repeat bottom;
}

#right_content{
	width: 195px;
	background: url(../images/box/mid_box.png) repeat-y left top;
	float: left;
	padding-top: 0px;
	margin-bottom: 30px;
}

#right_top { width: 195px; background: url(../images/box/top_box.png) no-repeat left top; height: 15px; }
#right_bottom { width: 195px; height: 12px; position: relative; bottom: -12px; background: url(../images/box/bot_box.png) no-repeat bottom; }

#mainbody_top_small{ background: url(../images/box/mainbody_top_small.png) no-repeat top; width: 482px; }
#mainbody_mid_small{ background: url(../images/box/mainbody_middle_small.png) repeat-y left; width: 482px; padding:0px; }
#mainbody_bottom_small{ background: url(../images/box/mainbody_bottom_small.png) no-repeat bottom; position: relative; bottom:-29px; right: 0px; height:29px; width: 482px; }

#mainbody_top_middle{ background: url(../images/box/mainbody_top_middle.png) no-repeat top; width: 676px; }
#mainbody_mid_middle{ background: url(../images/box/mainbody_middle_middle.png) repeat-y left; width: 676px; padding:0px; margin-left:0px; }
#mainbody_bottom_middle{ background: url(../images/box/mainbody_bottom_middle.png) no-repeat bottom; position: relative; bottom:-29px; right: 0px; height:29px; width: 676px; }

#mainbody_top_middle2{ background: url(../images/box/mainbody_top_middle.png) no-repeat top; width: 686px; }
#mainbody_mid_middle2{ background: url(../images/box/mainbody_middle_middle.png) repeat-y left; width: 686px; padding:0px; margin-left:5px; }
#mainbody_bottom_middle2{ background: url(../images/box/mainbody_bottom_middle.png) no-repeat bottom; position: relative; bottom:-29px; right: 0px; height:29px; width: 676px; }

#mainbody_top_full{ background: url(../images/box/mainbody_top_full.png) no-repeat top; width: 879px; }
#mainbody_mid_full{ background: url(../images/box/mainbody_middle_full.png) repeat-y left; width: 879px; padding:0px; margin-left:0px; }
#mainbody_bottom_full{ background: url(../images/box/mainbody_bottom_full.png) no-repeat bottom; position: relative; bottom:-29px; right: 0px; height:29px; width: 879px; }

#xhtml{ background:transparent url(../images/xhtml.png) no-repeat scroll right bottom; float:right; height:28px; line-height:38px; margin-right:10px; padding-right:0px; padding-top:7px; text-align:center; width:50px; }
#xhtml:hover{ background:transparent url(../images/xhtml_hover.png) no-repeat scroll right bottom; }

#css{ background:transparent url(../images/css.png) no-repeat scroll right bottom; float:right; height:28px; line-height:38px; margin-right:10px; padding-right:0px; padding-top:7px; text-align:center; width:50px; }
#css:hover{ background:transparent url(../images/css_hover.png) no-repeat scroll right bottom; }

#rss{ background:transparent url(../images/rss.png) no-repeat scroll right bottom; float:right; height:28px; line-height:38px; margin-right:10px; padding-right:0px; padding-top:7px; text-align:center; width:50px; }
#rss:hover{ background:transparent url(../images/rss_hover.png) no-repeat scroll right bottom; }

#footer{ background: url(../images/footer.png) no-repeat bottom; height:69px; line-height:38px; padding-top:35px; text-align:center; }

.outline { border: 1px solid #cccccc; background: #ffffff; padding: 2px; }
table.blog{ margin-left:0px; }
#pathway_text img { margin-left: 5px; margin-right: 5px; margin-top: 6px; }
#buttons { float: left; margin: 0px; padding: 0px; width: auto; }
fieldset{ border:0px; }
form li{ padding-left:20px; margin-left: 10px; }
form div{ padding: 10px; font-size: 100%; }

ul#mainlevel-nav { list-style: none; padding: 0; margin: 0; font-size: 80%; padding-top: 3px; }
ul#mainlevel-nav li { background-image: none; padding-left: 0px; padding-right: 0px; padding-top: 2px; float: left; font-size: 115%; height: 21px; line-height: 17px; white-space: nowrap; background-image:url(../images/sep.png); background-repeat:no-repeat; background-position:right top; }
ul#mainlevel-nav li a { display: block; padding-left: 15px; padding-right: 15px; text-decoration: none; }
#buttons>ul#mainlevel-nav li a { width: auto; }

#search_inner { border: 1px solid #cccccc; padding: 0px; height: 18px !important; height: 18px; overflow: hidden; }
#search_inner form { padding: 0; margin: 0; }
#search_inner .inputbox { border: 0px; padding: 3px 3px 3px 5px; font-family: arial, helvetica, sans-serif; font-size: 90%; }

table.content_table { width: 100%; padding: 0px; margin: 0px; }
table.content_table td { padding: 0px; margin: 0px; }
.error { font-style: italic; text-transform: uppercase; padding: 5px; font-size: 110%; font-weight: bold; }

div.back_button { float: left; text-align: center; font-size: 95%; font-weight: normal; width: auto; line-height: 20px; margin: 1px; width:99px; }
.pagenav { text-align: center; font-size: 95%; font-weight: bold; width: auto; padding: 0px 10px; line-height: 20px; margin: 1px; padding-left: 7px; text-indent: 5px; }
.pagenavbar { margin-right: 10px; margin-left: 8px; float: right; }
ul.latestnews,ul.mostread{ margin: 5px; list-style: none; }
ul { margin: 0; padding: 0; list-style: none; }
li { line-height: 15px; padding-left: 15px; padding-top: 0px; background-image: url(../images/arrow.png); background-repeat: no-repeat; background-position: 0px 2px; }
td { text-align: left; font-size: 115%; }

a:link, a:visited { text-decoration: none; font-weight: bold; }
a:hover { text-decoration: none; font-weight: bold; }

table.contentpaneopen { width: 100%; border-collapse: collapse; border-spacing: 0px; margin: 0px; }
table.contentpaneopen td { padding-right: 5px; padding-left: 9px; }
table.contentpaneopen td.componentheading { padding-left: 4px; }
table.contentpane { width: 100%; padding: 0px; border-collapse: collapse; border-spacing: 0px; margin: 0px; }
table.contentpane td { margin: 0px; padding: 0px; }
table.contentpane td.componentheading { padding-left: 4px; }
table.contentpaneopen fieldset { border: 0px; }

.button { font-family: Geneva CE, Arial CE, serif; text-align: center; font-size: 90%; font-weight: bold; width: auto; background-position:bottom; padding: 0px 5px; line-height: 18px !important; line-height: 16px; height: 26px !important; height: 24px; margin: 1px; }
.inputbox { padding: 2px; }

.componentheading { font-family: Geneva CE, Arial CE, serif; text-align: left; padding-top: 0px; padding-left:10px; height: 28px; font-weight: bold; font-size: 145%; }
.contentcolumn { padding-right: 10px; }
.contentheading { text-align: left; padding-top: 5px; padding-left:10px; height: 25px; font-weight: bold; font-size: 155%; background-image:url(../images/bac_content1.png); background-repeat:repeat-x; background-position:bottom left; padding-bottom:4px !important; padding-bottom:0px; }
.contentpagetitle { font-size: 13px; font-weight: bold; color: #cccccc; text-align:left; }

table.searchinto { width: 100%; }
table.searchintro td { font-weight: bold; }

table.moduletable { width: 100%; margin-bottom: 5px; padding: 0px; border-spacing: 0px; border-collapse: collapse; }
ul.menu{ padding-left:0px; margin:10px; }
ul#mainlevel{ padding-left:0px; margin:10px; }
.menu li{ line-height:25px; padding-left:15px; padding-top:0px; }
.moduletable_menu, .moduletable_text{ padding-left:0px; }

.moduletable_menu h3, .moduletable_text h3{ background: url(../images/moduletitlebg.png) no-repeat; background-position:left; text-align: left; padding-left: 10px; line-height: 25px; font-weight: bold; font-family: Geneva CE, Arial CE, serif; margin-top:0px; margin-left:2px; margin-bottom:0px; width:181px; height: 28px; font-size: 115%; }
div.moduletable { margin-bottom: 0px; padding-bottom:10px; padding-left:0px; padding-right: 0px; }
div.moduletable div{ padding-left:20px; }
table.moduletable th, div.moduletable h3 { background: url(../images/moduletitlebg.png) no-repeat; background-position:left; text-align: left; padding-left: 10px; line-height: 25px; font-weight: bold; font-family: Geneva CE, Arial CE, serif; margin-top:0px; margin-left:2px; margin-bottom:0px; width:181px; height: 28px; font-size: 115%; }
table.moduletable td { font-size: 100%; margin: 0px; font-weight: normal; }

.bannergroup_text{ padding: 10px; }
.bannerheader{ font-size: 110%; font-weight: bold; padding: 0pt 0px 7px 0px }
table.pollstableborder { padding: 2px; width:100%; }
moduletable-Banners { text-align:center; }

.sectiontableheader { font-weight: bold; padding: 4px; height:20px; font-size: 130%; text-align: left; }
a.category { font-weight: bold; padding: 8px; }
a.category:hover { font-weight: bold; padding: 8px; }
a.category:visited { font-weight: bold; padding: 8px; }

.sectiontableentry0 { padding:5px; }
.small { font-size: 90%; font-weight:bold; }
.createdate { height: 15px; padding-bottom: 10px; font-size: 90%; }
.modifydate { height: 15px; padding-top: 10px; font-size: 85%; float: right; }

table.contenttoc { border:1px solid #ffffff; margin-bottom:2px; margin-left:8px; padding:15px; }
table.contenttoc td { padding: 2px; font-size: 80%; }
table.contenttoc th { font-size:100%; font-weight:bold; height:25px; padding-left:0px; padding-top:0px; text-align:left; text-transform:uppercase; text-decoration: underline; }

a.mainlevel:link, a.mainlevel:visited { display: block; background-position:bottom left; font-size: 100%; font-weight: bold; text-align:left; padding-top: 2px; padding-left: 15px; height: 21px !important; height: 23px; width: 100%; text-decoration: none; }
a.mainlevel:hover { text-decoration: none; text-align:left !important; text-align:right; padding-right:20px; }
a.mainlevel#active_menu { font-weight: bold; }

a.sublevel:link, a.sublevel:visited { padding-left: 1px; vertical-align: middle; font-size: 11px; font-weight: bold; color: #008C00; text-align: left; }
a.sublevel:hover { color: #008C00; text-decoration: none; }
a.sublevel#active_menu { color: #333; }

.highlight { background-color: Yellow; color: Blue; padding: 0; }
.code { background-color: #ddd; border: 1px solid #bbb; }
form { margin: 0; padding: 0; width:98%; }
div.mosimage { border: 1px solid #cccccc; margin: 5px }
div.message { color:#FF0000; font-weight:bold; font-size:12px; text-align:center; padding-top:20px; }
.mosimage_caption { margin-top: 2px; background: #efefef; padding: 1px 2px; color: #666; font-size: 10px; border-top: 1px solid #cccccc; }
span.article_seperator { display: block; height: 1.5em; }

a.mostread, a.mostread:visited { color:#FFFFFF; }
a.mostread:hover { color:#7A95AE; }
a.latestnews, a.latestnews:visited { font-weight:bold; }
a.latestnews:hover { font-weight:bold; }

a.readon, a.readon:visited { display:block; width:100px; background-image:url(../images/readon.png); background-repeat:no-repeat; background-position:right; float:right; padding-top:3px; height:21px; text-align:center; }
th.pagenav_next { display:block; background-image:url(../images/pagenav.png); background-repeat:no-repeat; background-position:center; height:21px; font-size:90%; width:50px; padding-top:7px; text-align:center; }
th.pagenav_prev { display:block; background-image:url(../images/pagenav.png); background-repeat:no-repeat; background-position:center; height:21px; font-size:90%; width:50px; padding-top:7px; }
td.search{ background-image:url(../images/search.png); background-repeat:no-repeat; background-position:top; }
div.blog_more{ padding-left: 8px; }
h4{ padding-left: 5px; }


/* ======================================================================== */
/* MODERNIZACE SHTD - BEZPEČNÁ ZÓNA (PŘIDÁNO AŽ NA KONEC, ABY SE NIC NEROZBILO) */
/* ======================================================================== */

/* 1. Oprava celkového fontu, pozadí a řádkování */
body { font-family: Arial, Helvetica, sans-serif !important; background-color: #f4f7f6 !important; color: #333333 !important; }
body.f-default { font-size: 15px !important; line-height: 1.6 !important; }

/* 2. Bílý obal webu a zakulacený hlavičkový banner */
#page { background-color: #ffffff !important; box-shadow: 0px 5px 25px rgba(0,0,0,0.1) !important; border-radius: 20px !important; margin-top: 20px !important; }
#page-body, #top-body { background-image: none !important; }
#header { 
    background-size: cover !important; 
    background-position: center 70% !important; /* Zaměří se více na spodní část s dětmi a textem, ořízne nebe */
    border-radius: 20px 20px 0 0 !important; 
    height: 210px !important; /* Výrazně zmenšená výška pro lepší přehlednost webu */
}

/* 3. Vyčištění levého a pravého sloupce od starých stínů a barev */
#left_content, #right_content { background-color: transparent !important; background-image: none !important; opacity: 1 !important; }
#left_top, #left_bottom, #right_top, #right_bottom { background-image: none !important; }

/* 4. Sjednocení barev odkazů a oprava emailu */
a:link, a:visited { color: #006600 !important; text-decoration: none !important; font-weight: bold !important; }
a:hover { color: #40916c !important; text-decoration: underline !important; }
a[href^="mailto:"] { color: #006600 !important; font-weight: bold !important; }

/* 5. Tmavě zelená patička s čistě bílými odkazy */
#footer { background-image: none !important; background-color: #1b4332 !important; color: #ffffff !important; border-radius: 0 0 20px 20px !important; }
#footer a:link, #footer a:visited { color: #ffffff !important; text-decoration: underline !important; }
#footer a:hover { color: #e6f2eb !important; text-decoration: none !important; }

/* 6. Zelené nadpisy a tlačítka bez starých čar v pozadí */
.componentheading, .contentheading { color: #006600 !important; background-image: none !important; border-bottom: 2px solid #006600 !important; height: auto !important; padding-bottom: 8px !important; }
.moduletable_menu h3, .moduletable_text h3, table.moduletable th, div.moduletable h3 { background-image: none !important; background-color: #006600 !important; color: #ffffff !important; text-align: center !important; border-radius: 5px !important; }
.button { background-image: none !important; background-color: #006600 !important; color: #ffffff !important; border-radius: 5px !important; border: none !important; }

/* 7. Vyčištění odkazů v levém menu */
a.mainlevel:link, a.mainlevel:visited { color: #333333 !important; background-image: none !important; border-bottom: 1px solid #eeeeee !important; padding-left: 5px !important; height: auto !important; }
a.mainlevel:hover { color: #006600 !important; background-color: #f9f9f9 !important; padding-right: 0 !important; }
#xhtml, #css, #rss { background-image: none !important; }

/* ======================================================================== */
/* MODERNIZACE SHTD - BEZPEČNÁ ZÓNA (ČISTÝ A MODERNÍ DESIGN) */
/* ======================================================================== */

/* 1. Oprava celkového fontu, pozadí a řádkování */
body { font-family: Arial, Helvetica, sans-serif !important; background-color: #f4f7f6 !important; color: #333333 !important; }
body.f-default { font-size: 15px !important; line-height: 1.6 !important; }

/* 2. Bílý obal webu a zakulacený hlavičkový banner */
#page { background-color: #ffffff !important; box-shadow: 0px 5px 25px rgba(0,0,0,0.1) !important; border-radius: 20px !important; margin-top: 20px !important; }
#page-body, #top-body { background-image: none !important; }
#header { background-size: cover !important; border-radius: 20px 20px 0 0 !important; }

/* 3. Vyčištění levého a pravého sloupce od starých stínů a barev */
#left_content, #right_content { background-color: transparent !important; background-image: none !important; opacity: 1 !important; }
#left_top, #left_bottom, #right_top, #right_bottom { background-image: none !important; }

/* 4. Sjednocení barev odkazů a oprava emailu v textu */
a:link, a:visited { color: #006600 !important; text-decoration: none !important; font-weight: bold !important; }
a:hover { color: #40916c !important; text-decoration: underline !important; }
a[href^="mailto:"] { color: #006600 !important; font-weight: bold !important; }

/* 5. Tmavě zelená patička s čistě bílými odkazy */
#footer { background-image: none !important; background-color: #1b4332 !important; color: #ffffff !important; border-radius: 0 0 20px 20px !important; }
#footer a:link, #footer a:visited { color: #ffffff !important; text-decoration: underline !important; }
#footer a:hover { color: #e6f2eb !important; text-decoration: none !important; }

/* 6. ČISTÉ A MODERNÍ BOČNÍ BOXY (PRO MENU) */
div.moduletable, table.moduletable {
    background-color: #ffffff !important;
    border: 1px solid #eaeaea !important;
    border-radius: 8px !important;
    padding: 15px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04) !important;
    margin-bottom: 20px !important;
}

/* 7. Vzdušné nadpisy (bez těžkých barevných bloků) */
.componentheading, .contentheading { color: #1b4332 !important; background-image: none !important; border-bottom: 2px solid #40916c !important; height: auto !important; padding-bottom: 8px !important; }
.moduletable_menu h3, .moduletable_text h3, table.moduletable th, div.moduletable h3 { 
    background: none !important; 
    background-color: transparent !important; 
    color: #1b4332 !important; 
    text-align: left !important; 
    border-bottom: 2px solid #40916c !important;
    padding: 0 0 8px 0 !important;
    border-radius: 0 !important;
    font-size: 115% !important;
    margin-bottom: 15px !important;
}

/* 8. Moderní a přehledné odkazy v levém menu (AGRESIVNÍ OPRAVA BAREV) */

/* Nejdříve zakážeme Joomle barvit pozadí samotného seznamu a odrážek */
ul.menu, ul#mainlevel, ul.menu li, ul#mainlevel li {
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Nyní nastavíme čisté barvy přímo pro klikací položky */
a.mainlevel, a.mainlevel:link, a.mainlevel:visited, a.mainlevel#active_menu { 
    display: block !important;
    color: #444444 !important; /* Příjemná tmavě šedá, dobře čitelná */
    background: none !important;
    background-color: #ffffff !important; /* Čistě bílé pozadí */
    background-image: none !important; 
    border-bottom: 1px solid #f4f4f4 !important;
    padding: 8px 10px !important; 
    height: auto !important; 
    font-weight: normal !important;
    border-radius: 4px !important;
    transition: all 0.2s ease !important;
}

/* Efekt po najetí myší - text zezelená a pozadí se jemně podbarví */
a.mainlevel:hover { 
    color: #006600 !important; 
    background-color: #f0f7f4 !important; /* Velmi světlá, pastelová zelená */
    padding-left: 15px !important; 
    text-decoration: none !important;
    border-bottom: 1px solid transparent !important;
}
/* Skrytí starých přežitků */
.button { background-image: none !important; background-color: #40916c !important; color: #ffffff !important; border-radius: 5px !important; border: none !important; transition: 0.2s !important; }
.button:hover { background-color: #1b4332 !important; }
#xhtml, #css, #rss { display: none !important; }