body {
    margin: 0; padding: 0;
    font-family: Arial, sans-serif;
    font-size: 12px;
    color: #333;
    background-image: url(/img/jmskoly/body-bg.gif);
    background-repeat: repeat-x;
}

#MAIN {
    width: 950px;
    margin: 0 auto;    
}

#HEADER {
    height: 179px;
    background-image: url(/img/jmskoly/head-bg.gif);
	background-repeat: no-repeat;
	position: relative;
}
#HOME {
    display: block;
    height: 80px;
    text-decoration: none;
    color: #000;
}
#HOME span {
    display: block;
    padding: 4px 8px;
    font-weight: bold; 
}

#FOOTER {
    background-image: url(/img/jmskoly/footer-bg.gif);
    background-repeat: no-repeat;
    margin: 10px 0 0 0;
    text-align: right;
}
#FOOTER-IN {
    padding: 0 8px;
}
#FOOTER p {
    margin: 0.5em 0; padding: 0;
}
#FOOTER p.first {
    padding: 26px 0 0 0;
}

#COL2-CONTAINER {
    background-image: url(/img/jmskoly/dot-bg.gif);
    background-repeat: repeat-y;
    background-position: 750px 0;
}

#COL2-LEFT {
    float: left;
    width: 750px;
}
#COL2-LEFT-IN {
    padding: 10px 10px 0 10px;
}
#COL2-RIGHT {
    float: right;
    width: 200px;
}
#COL2-RIGHT-IN {
    padding: 0 0 0 10px;
}

#COL3-CONTAINER-A {
    margin: 4px 0 0 0;
    background-image: url(/img/jmskoly/dot-bg.gif);
    background-repeat: repeat-y;
    background-position: 200px 0;
    width: 950px;
}

#COL3-CONTAINER-B {
    background-image: url(/img/jmskoly/dot-bg.gif);
    background-repeat: repeat-y;
    background-position: 750px 0;
    width: 950px;
}

#COL3-LEFT {
    width: 200px;
    min-height: 1px;
    height: auto !important;
    height: 1px;
    float: left;
}
#COL3-LEFT-IN {
    padding: 0 10px 0 0;
}
#COL3-MIDDLE {
    width: 550px;
    float: left;
}
#COL3-MIDDLE-IN {
    padding: 0 10px 10px 10px;
}
#COL3-RIGHT {
    width: 200px;
    float: right;
    overflow: hidden;
}
#COL3-RIGHT-IN {
    padding: 0 0 0 10px;
}

div.cleaner {
	clear: both;
	height: 1px;
	margin: -1px 0 0 0; padding: 0;
	border: none;
	visibility: hidden;
}

p {
    margin: 0.5em 0;
}

/* -- wm:navig.path -- */
.navig-path {
    margin: 0 0 0.5em 0;
}

.submit-button {
    width: 70px;
}

.login-form label {
    float: left;
}
.login-form .org-cookie {
    float: right;
}
.login-form .text-input {
    margin: 0.2em 0 0 0;
    clear: both;
}
.login-form .input-container {
    margin: 0 0 0.2em 0;
}
.login-form .text-input.full { 
    width: 159px;
}
.login-form .login-button {
    text-align: right;
}

.user-grid-view {
    width: 100%;
    text-align: left;
    background-color: #fff;
}
.user-grid-view th, .user-grid-view td {
    padding: 3px 6px;
}
.user-grid-view .edit-link {
    text-align: right;
    width: 1%;
}

input.titul {
    width: 50px;
}

h1 {
    font-size: 1.5em;
    line-height: 1.3em;
}
h2 {
    font-size: 1.3em;
}
h3 {
    font-size: 1.1em;
}
h4 {
    font-size: 1em;
}

h1, h2, h3, h4 {
    margin: 0.6em 0 0.3em 0;
}
.cms-view h1 a:hover,
.cms-view h2 a:hover,
.cms-view h3 a:hover,
.cms-view h4 a:hover,
.cms-view h5 a:hover {
    text-decoration: none;
}

table.form-search {
    width: 100%;
    border-collapse: collapse;
    margin: 0.5em 0;
}
table.form-search th, table.form-search td {
    padding: 4px 2px;
    vertical-align: middle;
} 
table.form-search th {
    text-align: right;
    width: 130px;
    font-weight: normal;
    vertical-align: top;
}
table.form-search.vylet th {
    text-align: right;
    width: 180px;
    font-weight: bold;
}
table.form-search td {
    padding: 1px 0 1px 8px;
}

table.form-search input,
table.form-search select,
.text-input {
    font-size: 1em;
    padding: 2px;
}
.text-input.full {
    width: 95%;
}

ul.main-menu {
    margin: 0; padding: 0;
    position: absolute;    
    left: 158px; top: 88px;
}
ul.main-menu li {
    margin: 0; padding: 0;
    float: left;
    height: 48px;
    list-style: none;
    background-repeat: no-repeat; 
}
ul.main-menu li a {
    margin: 0; padding: 0;
    text-indent: -10000px;
    display: block;
    height: 46px;
    background-position: 0 -46px;
    background-repeat: no-repeat;
}
ul.main-menu li a:hover,
ul.main-menu li.sel a {
    background-position: 0 0;
}
ul.main-menu li.skola a {
    width: 112px;
    background-image: url(/img/jmskoly/menu_skola.gif);
}
ul.main-menu li.rodic a {
    width: 102px;
    background-image: url(/img/jmskoly/menu_rodic.gif);
}
ul.main-menu li.zrizovatel a {
    width: 136px;
    background-image: url(/img/jmskoly/menu_zrizovatel.gif);
}
ul.main-menu li.volnycas a {
    width: 135px;
    background-image: url(/img/jmskoly/menu_volnycas.gif); 
}
ul.main-menu li.akce a {
    width: 92px;
    background-image: url(/img/jmskoly/menu_akce.gif);
}
ul.main-menu a {
    display: block;
    line-height: 48px;
    padding: 0 0 0 44px;
    text-decoration: none;
    font-weight: bold;
    color: #000;
    text-transform: lowercase;
}

div.box {
    background-image: url(/img/jmskoly/boxbg.gif);
    background-repeat: no-repeat;
    margin: 0 0 1em 0;
    border-bottom: 1px solid #ebece0;
    border-bottom: 1px solid #e4e6d4;
    overflow: hidden;
}
div.box h3 {
    line-height: 24px;
    margin: 0; padding: 0 0 0 24px;
    color: #000;
    background-repeat: no-repeat;
    background-position: 4px 4px;
}
div.box h3 a {
    color: #000;
}
div.box h3 a:hover {
    text-decoration: none;
}
div.box h3.search {
    background-image: url(/img/icons/zoom.png);    
}
div.box h3.user {
    background-image: url(/img/icons/user.png);    
}
div.box h3.links {
    background-image: url(/img/icons/world.png);    
}
div.box h3.keyword {
    background-image: url(/img/icons/key.png);    
}
div.box div.box-m {
    margin: 0; padding: 12px;
    overflow: hidden;  
}
div.box div.box-m label {
    display: block;
    overflow: hidden;
}
div.box div.box-m p.jmeno {
    display: block;
    font-weight: bold;
}
div.box ul {
    margin: 0 0 0 1.5em; padding: 0;
    color: #96450c; 
}
div.box li {
    margin: 0.5em 0;
}
div.box li.first {
    margin: 0 0 0.5em 0;
}
div.box li.last {
    margin: 0.5em 0 0 0;
}
div.box li.simple {
    margin: 0;
}
div.box a,
#FOOTER a {
    color: #96450c;
    text-decoration: none;
}
div.box a:hover,
#FOOTER a:hover {
    text-decoration: underline;
}
.nowrap {
    white-space: nowrap;
}
div.breadcrumb {
    margin: 0 0 0.5em 0;
}

/* -- CMS -- */
input.title,
.form-fieldset.dat-edu-comp-cms-pagelet-abstraktform textarea,
.form-fieldset.dat-edu-comp-cms-pagelet-imageform input.popis,
.form-fieldset.dat-edu-comp-cms-pagelet-fileform input.popis {
    width: 99%;
}

.cms-view .cms-element-pagelet-abstrakt {
    font-weight: bold;
    margin: 1em 0;
    line-height: 1.4em;
}
.cms-view .cms-element-pagelet-html {
    margin: 1em 0;
    line-height: 1.4em;    
}

/* -- soubory -- */
.cms-view .cms-element-pagelet-file {
    margin: 0.2em 0 0.2em 1em; padding: 0 0 0 22px;
    line-height: 20px;
    background-repeat: no-repeat;
    background-position: 0 2px;
    background-image: url(/img/icons/page_white.png);
}
.cms-view .cms-element-pagelet-file.application-msword {
    background-image: url(/img/icons/page_white_word.png);
}
.cms-view .cms-element-pagelet-file.application-vnd-ms-excel {
    background-image: url(/img/icons/page_white_excel.png);
}
.cms-view .cms-element-pagelet-file.application-pdf {
    background-image: url(/img/icons/page_white_acrobat.png);
}
.cms-view .cms-element-pagelet-file.text-plain {
    background-image: url(/img/icons/page_white_text.png);
}
.cms-view .cms-element-pagelet-file.application-vnd-ms-powerpoint {
    background-image: url(/img/icons/page_white_powerpoint.png);
}
.cms-view .cms-element-pagelet-file.audio-mpeg {
    background-image: url(/img/icons/page_white_camera.png);
}
.cms-view .cms-element-pagelet-file.image-pjpeg,
.cms-view .cms-element-pagelet-file.image-jpeg,
.cms-view .cms-element-pagelet-file.image-png {
    background-image: url(/img/icons/page_white_picture.png);
}
.cms-view .cms-element-pagelet-file.application-zip,
.cms-view .cms-element-pagelet-file.application-x-zip-compressed {
    background-image: url(/img/icons/page_white_compressed.png);
}


/* -- obrazky v textu -- */
.cms-view .cms-element-pagelet-image {
    margin: 0;
}
.cms-view .cms-element-pagelet-image img {
    border: none;
    vertical-align: text-bottom;
    margin: 0; padding: 0;
}
.cms-view .cms-element-pagelet-image span {
    margin: 0.5em 0 0 0;
    display: block;
    font-style: italic;
}
.cms-view .cms-element-pagelet-image.box-center {
    text-align: center;
    margin: 1em 0;
}
.cms-view .cms-element-pagelet-image.box-left {
    text-align: left;
    margin: 1em 0;
}
.cms-view .cms-element-pagelet-image.box-right {
    text-align: right;
    margin: 1em 0;
}
.cms-view .cms-element-pagelet-image.flow-left {
    text-align: left;
    float: left;
    padding: 0 1em 0.5em 0;
}
.cms-view .cms-element-pagelet-image.flow-right {
    text-align: right;
    float: right;
    padding: 0 0 0.5em 1em;
}
.cms-view .cms-element-pagelet-image.flow-right span {
    text-align: left;
}

.cms-view a,
.breadcrumb a {
    text-decoration: none;
    color: #96450c;
}
.cms-view a:hover,
.breadcrumb a:hover {
    text-decoration: underline;
}

/* -- poddokumenty -- */
.cms-view .cms-element-pagelet-contents ul {
    clear: both;
    margin: 0; padding: 1em 0 0 0;
}
.cms-view .cms-element-pagelet-contents li {
    margin: 0 0 1.5em 0; padding: 0;
    list-style: none;
    background-repeat: no-repeat;
    background-position: 0 0;
}
.cms-view .cms-element-pagelet-title.disk,
.cms-view .cms-element-pagelet-title.lock {
    padding-left: 1.2em;
    background-repeat: no-repeat;
    background-position: 0 2px;
}
.cms-view .cms-element-pagelet-contents li.folder {
    background-image: url(/img/icons/folder.png);
}
.cms-view .cms-element-pagelet-contents li.folder.go {
    background-image: url(/img/icons/folder_go.png);
}
.cms-view .cms-element-pagelet-contents li.page {
    background-image: url(/img/icons/page.png);
}
.cms-view .cms-element-pagelet-contents li.page.go {
    background-image: url(/img/icons/page_go.png);
}
.cms-view .cms-element-pagelet-contents li.disk,
.cms-view .cms-element-pagelet-title.disk {
    background-image: url(/img/icons/disk.png);
}
.cms-view .cms-element-pagelet-contents li.lock,
.cms-view .cms-element-pagelet-title.lock {
    background-image: url(/img/icons/lock.png);
}
.cms-view .cms-element-pagelet-contents li.clock,
.cms-view .cms-element-pagelet-title.clock {
    background-image: url(/img/icons/clock_red.png);
}
.cms-view .cms-element-pagelet-contents li.page h3 a {
    color: #333;
}

.cms-view .cms-element-pagelet-contents h3 {
    font-size: 1.3em;
    line-height: 1.2em;    
    margin: 0 0 0.3em 0; padding: 0 0 0 22px;
}
.cms-view .cms-element-pagelet-contents h3 a {
    margin: 0; padding: 0;
    border: none;
}
.cms-view .cms-element-pagelet-contents h3 a:hover {
    border-bottom: none;
}
.cms-view .meta {
    padding: 4px 8px;
    background-color: #E4E6D4;
    background: url(/img/jmskoly/meta-bg.gif) repeat-x bottom;
    font-size: 0.9em;
    border-top: 1px solid #E2E4D1;
}
.cms-view .meta a {
    border: none;
}
.cms-view .cms-element-pagelet-contents .abstrakt {
    font-weight: bold;
}

.cms-view .cms-element-pagelet-keyword {
    margin: 0 0 1em 1em;
    float: right;
    width: 190px;
}

.left-menu {
    margin: 0; padding: 0;
}
.left-menu li {
    margin: 0 0 0.5em 0; padding: 0 0 0.3em 50px;
    list-style: none;
    background-image: url(/img/jmskoly/jms_menuicon.gif);
    background-repeat: no-repeat;
    background-position: 0 50%;
    border-bottom: 1px solid #d5c1ac;
    line-height: 2em;
}
.left-menu li.last {
    margin-bottom: 1em;
    border: none;
}
.left-menu li a {
    display: block;
    font-weight: bold;
    font-size: 1.2em;
    text-decoration: none;
    color: #96450c;
}
.left-menu li a:hover {
    color: #000;
}

h3.news-caption {
    font-size: 11px;
    float: right;
    margin: 0 0 6px 0; padding: 16px 8px 0 24px;
    background-image: url(/img/jmskoly/aktualne.gif);
    background-repeat: no-repeat;
    background-position: left bottom;
    height: 17px;
    text-align: right;
    color: #fff;
}
h3.news-caption a {
    color: #fff;
}
.aktualne ul,
.dulezite-zpravy ul {
    clear: both;
    margin: 0; padding: 0;
}
.aktualne li {
    margin: 0 0 6px 0; padding: 0;
    background-color: #ebece0;
    list-style: none;
}
.dulezite-zpravy li {
    margin: 12px 0; padding: 0;
    list-style: none;
}
.aktualne li div.in {
    padding: 8px;
}
.aktualne li h3 {
    margin: 0; padding: 0;
    color: #7B822D; 
}
.dulezite-zpravy li h3 {
    margin: 0; padding: 0;
    color: #000; 
    overflow: hidden; 
}
.aktualne li h3 a {
    color: #7B822D;
    border: none;
    text-decoration: none; 
}
.dulezite-zpravy li h3 a {
    color: #000;
    border: none;
    text-decoration: none; 
}
.aktualne li h3 a:hover {
    border: none; 
}
.aktualne li p,
.dulezite-zpravy li p {
    margin: 0.5em 0 0 0; padding: 0;    
}

.sitemap h2 a,
.sitemap h2 a:hover  {
    border: none;
}

.sitemap ul {
    margin: 1em 0 1em 1em; padding: 0;
}
.sitemap ul ul {
    margin: 0; padding: 0;
}
.sitemap ul li {
    color: #96450c;
    margin: 0 0 0 2em; padding: 0;
    list-style: disc;
    line-height: 1.6em;
}
#TEST-VERSION {
    background-image: url(/img/jmskoly/test_bg.gif);
    background-repeat: no-repeat;
    height: 13px; 
    overflow: hidden;
}
#TEST-VERSION p {
    display: none;
}

table.directory-list {
    margin: 1em 0; padding: 0;
    width: 100%;
    border-collapse: collapse; 
}
table.directory-list tr {
    margin: 1em 0; padding: 0; 
}
table.directory-list tr.even td {
    background-color: #eee;
}
table.directory-list th,
table.directory-list td {
    padding: 2px 6px; 
}
table.directory-list th.select,
table.directory-list td.select {
    width: 1px; 
}
table.directory-list th.title,
table.directory-list td.title {
    text-align: left; 
}
table.directory-list th.nodeid,
table.directory-list td.nodeid {
    width: 1px;
    text-align: right; 
}
table.directory-list td.move-buttons {
    width: 72px; 
}
.move-buttons a {
    display: block;
    width: 15px; height: 15px;
    text-indent: -10000px;
    float: right;
    margin: 0 0 0 3px;
    background-position: left top;
    background-repeat: no-repeat;
}
.move-buttons a:hover {
    text-decoration: none;
    background-position: right top;
}
.move-buttons a.first {
    background-image: url(/img/form/first.gif);
}
.move-buttons a.up {
    background-image: url(/img/form/up.gif);
}
.move-buttons a.down {
    background-image: url(/img/form/down.gif);
}
.move-buttons a.last {
    background-image: url(/img/form/last.gif);
}

.cms-view .cms-element-pagelet-contents.search-result {
    margin: 1em 0; padding: 0;
}

.form-submit input {
    font-size: 1em;
    padding: 2px;
}
.align-right {
    text-align: right;
}

ul.keyword-tree {
    line-height: 1.4em;
    margin: 0.4em; padding: 0; 
}
ul.keyword-tree ul {
    margin: 0 0 0 2em; padding: 0; 
}
ul.keyword-tree li {
    list-style: none;
    margin: 0.3em 0; 
}
ul.keyword-tree a {
    color: #96450c;
    text-decoration: none; 
}
ul.keyword-tree a:hover {
    text-decoration: underline; 
}

/* menu new */
.cm-container-a {
    background-image: url(/img/jmskoly/content-menu-top.gif);
    background-repeat: no-repeat;
    background-position: right top;
    background-color: #7b822d;
    overflow: hidden;
}
.cm-container-b {
    background-image: url(/img/jmskoly/content-menu-bottom.gif);
    background-repeat: no-repeat;
    background-position: right bottom;
    padding: 12px 0;
    overflow: hidden;
}

    ul.content-menu, ul.content-menu ul, ul.content-menu li {margin: 0; padding: 0; list-style-type: none;}
    ul.content-menu li{ background: #7B822D; padding: 4px 0;}
    ul.content-menu li{ background: #7B822D; border-bottom: 1px solid #949A56; padding: 4px 0px;}    
    ul.content-menu li{ padding: 0px 0px;}
    ul.content-menu li a { display: block; padding: 4px 9px;}
    ul.content-menu li ul li a { display: block; padding: 0;}
    ul.content-menu li ul { background: url(/img/jmskoly/menu-line.png) repeat-y top right; margin-top: 4px;}
    ul.content-menu li ul li { background: url(/img/jmskoly/menu-bullet.png) no-repeat; padding: 4px 10px 4px 25px; border-bottom: none;}
    ul.content-menu a.sel {font-weight: bold;}
    ul.content-menu a {text-decoration: none; color: white;}
    ul.content-menu a:hover {text-decoration: underline;}
    ul.content-menu li.last { border-bottom: none; }

.masked-edit-invalid {
    background-color: #ffcccc;
}
.masked-edit-focus {
    background-color: #ffffcc;
}
.calendar-button {
    margin: 0 0 0 0.3em;
}

/* detail akce, organizace */
TABLE.organizace-detail, TABLE.akce-detail
{
    border-collapse: collapse;
    margin: 0.5em 0 1em 0;
}
TABLE.organizace-detail TH, TABLE.organizace-detail TD,
TABLE.akce-detail TH, TABLE.akce-detail TD
{
    border: 1px solid #dcdcdc;
    padding: 0.2em 1em;
}
TABLE.organizace-detail TH, TABLE.akce-detail TH
{
    text-align: right;
    background: url(/img/jmskoly/table-bg.png) repeat-x bottom;
}
TABLE.akce-detail TH TH, TABLE.akce-detail TD TD
{
    padding: 0;
    border: none;
    background: none;
}
TABLE.organizace-detail TH, TABLE.akce-detail TH
{
    vertical-align: top;
}
TABLE.organizace-detail UL, TABLE.akce-detail UL {
margin: 0;
padding: 0 0 0 1em;
}


/* ****** tree ******* */
ul.keyword-tree, ul.keyword-tree ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
ul.keyword-tree ul {
    margin-left: 2em;
}
UL.keyword-tree li {
	margin: 0;
	padding: 3px 0 3px 16px;
	padding: 3px 0 3px 0;
}
#treecontrol {
    margin: 1em 0;
}

.keyword-tree li { background: url(/img/jmskoly/tv-item.gif) 0 0 no-repeat; }
.keyword-tree .last { background-image: url(/img/jmskoly/tv-item-last.gif); }
.keyword-tree A { padding-left: 19px; display: block;  }
.keyword-tree A { background: url(/img/jmskoly/file.gif) 0 0 no-repeat; }

/* ******** komentare ******* */
ul.comment-view-tree, ul.comment-view-tree li
{
padding: 0;
margin: 0;
list-style-type: none;
}

UL.comment-view-tree LI
{
padding: 10px 0 5px 0;
}

ul.comment-view-tree UL
{
padding: 5px 0 5px 25px;
margin: 0;
}

UL.comment-view-tree .created
{
float: right;
}
UL.comment-view-tree .created
{
display: inline;
text-align: right;
color: gray;
font-weight: bold;
font-size: 11px;
line-height: 20px;
padding: 0px 2px 5px 22px;

background: url(/img/jmskoly/comment-calendar.png) no-repeat top left;
}
UL.comment-view-tree .author
{
display: inline;
text-align: left;
padding: 2px 2px 5px 22px;

font-weight: bold;
font-size: 13px;

background: url(/img/jmskoly/comment-face.png) no-repeat top left;
}
UL.comment-view-tree .body
{
background: url(/img/jmskoly/comment-bg.png) no-repeat top left;
padding: 16px 10px 6px 10px;

}
UL.comment-view-tree .subject
{
font-weight: bold;
padding-bottom: 0.5em;
}
UL.comment-view-tree .reply
{
text-align: right;
font-size: 12px;

font-weight: bold;
}

.news-menu {
    margin: 0 0 1em 0; padding: 0;
    font-size: 1.1em;
    text-transform: uppercase;
}
.news-menu li {
    margin: 0; padding: 0;
    list-style: none;
    background-image: url(/img/icons/newspaper.png);
    background-repeat: no-repeat;
    background-position: 0 50%;
}
.news-menu li a {
    display: block;
    padding: 6px 6px 6px 26px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    border-bottom: 1px solid #eee;
}
.news-menu li.last a {
    border: none;
}

.condition-confirmation {
    text-align: center;
}
.condition-confirmation input.condition-ano {
    text-align: center;
    width: 3em;
}
ul.notification-tree {
    text-align: left;
    margin: 0; padding: 0 0 0 1em;
    font-weight: bold;
}
ul.notification-tree li {
    list-style: none;
    margin: 1em 0 0 0;
}
ul.notification-tree ul li {
    font-weight: normal; 
    list-style: none;
    margin: 0.5em 0;
}
ul.notification-tree li input {
    margin: 0 0.5em 0 0;
}
div.light-box {
    background-color: #fff9bf;
}
.box ul.user-restrictions, ul.user-restrictions {
    margin: 0; padding: 0;
}
div.light-box ul.user-restrictions {
    padding: 4px;
    border-top: 1px solid #999;
    border-left: 1px solid #999;   
}
ul.user-restrictions li {
    min-height: 16px;
    height: auto !important;
    height: 16px;
    color: #c24b30;
    margin: 0.2em 0; padding: 0 0 0 20px;
    list-style: none;
    background-image: url(/img/icons/exclamation.png);
    background-repeat: no-repeat;
}
ul.user-restrictions li a {
    color: #c24b30;
    display: block;
}
ul.user-restrictions li a:hover {
    text-decoration: none;
}
div.lost-password {
    text-align: right;
    margin: 0 0 0.5em 0;
}

.next-links {
    text-align: right;
    margin: 0.5em 0 0 0;
}

.fl {
    float: left;
}
.fr {
    float: right;
}

table.acl {
    border-collapse: collapse;
    width: 100%;
}
table.acl td, table.acl th {
    margin: 0; padding: 2px;
    text-align: left;
    border: 1px solid #ccc;
}
table.acl td.center {
    text-align: center;
    width: 30px;
}