html {background: white url('../images/body_bg.png') repeat-x fixed; }
body {
    font-family: 'Verdana CE', 'Arial CE', Verdana, Arial, lucida, sans-serif;
    font-size: 0.9em;
    text-align: center;
    position: relative ;
    
}

#main {
    position: relative;
    width: 928px; 
    background: white;
    margin-left: auto;
    margin-right: auto;
    color: #474c67;
    text-align: left;
}

p {text-align: justify; line-height: 1.4em; padding-right: 10px;}
#content p, #content  td, #content th, #content li {font-size: 0.9em;}
#content li li {font-size: 1em;}
#content ul {list-style: url('../images/bullet.png'); }

#content li {margin-bottom: 0.4em;}

a {color: #888eb4;}
a:hover {color: black}

div.cara {
    border:none; 
    height: 3px; 
    font-size: 0px;
    width: 909px; 
    background-color: silver;  
    margin: 0;
    padding: 0;
    margin-left: 10px;
    margin-right: auto;
    clear: both;
}

h1 {
    position: relative; 
    width:909px; 
    margin-left: 10px; 
    height: 106px; 
    margin: 0;
    padding: 0;
    
}

h1 span {
    position: absolute; 
    display: block; 
    background: white url('../images/sw_dekorace_top.png') right no-repeat; 
    width:909px; 
    height: 106px;  
    top: 0; 
    left: 0;
}

h1 img {
    position: absolute; 
    z-index: 2; 
    top: 10px; 
    left: 10px; 
    border: none;
}

#menu-position {display:block; height: 30px; position: relative; }
#menu    {display: block; position: absolute; top: 120px; left: 14px}
#menu ul {list-style: none; margin: 0; padding:  0}
#menu li {position: relative; display: block; float:left; margin-right: 10px }
#menu li a {font-weight: bold; text-decoration: none; text-size: 1.1em; padding: 3px; padding-bottom: 0}
#menu li a:hover {text-decoration: underline; background-color: #c0d2eb;}

#menu ul ul {
    position:absolute;
    display: block;
    left: 0;
    top: 15px;
    visibility:hidden;
    border:1px solid white;
    background-color: #c0d2eb;
    width: 200px;
    font-size: 0.8em;
    
}

#menu ul ul li {margin-bottom: 0; border: 1px #c0d2eb solid; }
#menu ul ul a {display: block; padding: 3px; }
#menu ul li:hover ul, #menu ul li.hover ul  {visibility:visible;}
#menu ul li:hover a, #menu ul li.hover a {background: #c0d2eb;}
#menu ul ul a:hover {background-color: white;}
#mainMenu a {color: #0057c7}         

#menu ul li li {
    float:none;
 
    padding: 0;
    display: block;
    margin-right: 0;
}

#menu ul li {
    behavior: url(/style/hover.htc); /* Protože IE nedodržuje CSS standarty, aby bylo řešení funkční, použijeme tento *.htc soubor */
} 


#plakat {border: 1px #bec5ce solid; padding: 6px; margin-left: 10px; margin-top: -3px}

#copy {margin-top: 5px; clear: both;}
#copy p {text-align: center; margin: 0; color: silver; padding: 0}
#copy a {color: silver}
#copy a:hover {color: black}

.hidden {display: none;}

#content {margin-left: 15px; margin-bottom: 23px; position: relative}
#content h2 {color: #888eb4;}



#content_box_left   {width: 287px;  margin-right: 24px; float:  left; margin-left: -5px;}
#content_box_center {width: 286px;  margin-right: 20px; float:  left; }
#content_box_right  {width: 286px;  margin-right:  9px; float: right; }
#content_big_right   {width: 580px; margin-top: -20px; margin-right: 24px; float: right; margin-left: -5px; }

.box {border: 1px #bec5ce solid; margin-bottom: 15px}
.box p {margin: 0; margin-left: 7px; font-size: 0.9em; margin-bottom:3px;  margin-right:5px}
.box table {margin-left: 7px}
.box table td {font-size: 0.9em; }
.box address {margin: 7px; line-height: 1.6em;}
.box h4 {margin-left: 7px; margin-top: 4px; margin-bottom: 2px;}
.box h3 {margin: 0; color: white; background:  url('../images/box_h4_bg.png') #888eb3; padding: 4px; margin-bottom: 3px}


div.aktualita p{
    margin-left: 85px;
}

div.box .aktualita {
    clear: both;
    margin-bottom: 15px
}

div.box .aktualita img {
    float: left; 
    margin: 3px;
    margin-left: 7px; 
    background-color: white !important;
    padding: 4px !important; 

}

div.box .aktualita h4 a {
    color: black;
}

div.box .aktualita h4 {
    background: #eee;
    margin-left: 0;
    padding: 4px;
    padding-left: 85px
    
}

div.box .aktualita p.date {
    font-size: 0.75em !important;
    margin-bottom: 8px;
}

.box img {text-align: center;}
.box.center {text-align: center;}
.box.center * {text-align: left;}


td, th {font-size: 0.9em;}
form table th {text-align: right; padding-right: 10px}
                      
form input.text {/*width: 300px*/}
.box form input.text {width: 180px}
form legend {font-weight: bold; background-color: #d2dfe9; padding: 5px}
form fieldset p {margin-top: 0; font-style: italic;}

#loginbox {width: 300px; margin-left: auto; margin-right: auto;}
#loginbox .text {width:150px}

.portrait {padding: 5px; margin-right: 10px; text-align: center; float: left;}
.box dl {margin-left: 7px; font-size: 0.9em;}
dl dd,dl dt {margin-top:3px; margin-bottom:6px}
dl dt {color: #888eb4;}
.clear {clear: both;}

dl.teacher_details {margin-left: 150px}

.box li {margin-bottom: 3px}

div.box.teacher {float: left; width: 185px; margin-right: 5px; text-align: center;}

#content table {border: 1px gray solid; border-collapse: collapse; width: 100%; margin-bottom: 5px}
#content table td, #content table th {border: 1px silver solid; padding: 4px}
#content table th {background-color: #eee;}

#content div.box table td, #content div.box table th, #content div.box table 
     {
     border: none;
     background: transparent;
     }

#content .half {width: 50%; margin-left: auto; margin-right: auto}

#content img {
    border: 1px #bec5ce solid;
    padding: 4px;
    background: #eee ;   
}

#content .box img {
    border: none;
    padding: 0;
    
}

#content #breadCrumbsMenu {
    text-align: right;
    margin-right: 12px;
    font-size: 0.9em;
    position: relative;
    top: -10px;
    
}

#content div.box.course_info p {
    text-align: right; 
}
    
#content div.box.course_info p em {
    font-style: italic;
}
                             
#content div.box.course_info {
    
    
}
                             
acronym {
    cursor: help;
}

ul#mainMenu li
{
 behavior: url('/styles/hover.htc'); 
}

.article-detail img {float: right; margin-top: 20px; margin-left: 20px}

.article-detail p.pata {
    font-size: 0.8em;
    margin: 0px;
    padding: 3px;
    text-align: right;
    margin-top: -14px;
    color: silver
}




.perex {background-color: #eee; padding: 8px; font-style: italic;}


.flash {
    margin-bottom: 6px;
    
    padding: 3px;
    color: black;
    background-color: #80FF80;
    border: 1px green solid;
}

div.box.teacher {height: 310px}

#snippet-userinfo-login {
    position: absolute;
    right: 5px;
    top: 0;
    z-index: 50;
    text-align: right;
}
#userinfo__login img {
    position: relative;
    top: 2px;
}

body.gallery #content table {border:none}
body.gallery #content table td {border:none}

#content .toolbox a img {margin: 0; padding: 0; border: none}

.gallery {
  width: 430px; 
  float: left; 
  background: white; 
  padding: 5px; 
  border: 1px #bad2ee solid; 
  margin-bottom: 10px; 
  margin-right: 20px; 
  height: 90px; }
.gallery img {float: left; margin-right: 15px}
.gallery h3 {margin: 0; padding: 0; clear: none}

 .photo {
    width: 130px; 
    text-align: center; 
    float: left; 
    background-color: #eee;
    padding-top: 10px;
    margin-right: 4px;
    margin-bottom: 4px
}

.gallery a, .photo a {color: #23e; text-decoration: none;}
.gallery a img {border: 1px white solid}

.photo {
    width: auto;
    height: auto;
    padding: 10px;
}


.photo a img {border: 1px #ddd solid; padding: 2px; background-color: white}

.small {font-size: 0.85em}