@charset "utf-8";

body,html {
    behavior: url("includes/csshover2.htc");
    background: #3294d2 url(../images/bg.png) top left repeat-x;
    font-family: Calibri, Arial, Verdana;
}
#box {
    position: relative;
    z-index: 0;
    margin: auto;
    width: 850px;
    height: auto;
}
#banner {
    width: 850px;
    height: 280px;
    background: url(../images/banner_bg.png) top center no-repeat;
}
#banner h1 {
    text-indent: -9999px;
}
#banner h1 a {
    display: block;
    width: 850px;
    height: 85px;
}
#slideshow {
    position: absolute;
    z-index: 100;
    top: 85px;
    left: 588px;
}
#subbanner {
    width: 850px;
    height: 30px;
    background: url(../images/subbanner_bg.png) top center no-repeat;
}
#subbanner span {
    color: #fff;
    width: 600px;
    display: block;
    font-size: 1.2em;
    margin-left: 225px;
    line-height: 30px;
    text-align: center;
}
#subbanner span a {
    color: #fff;
}
#subbanner span a:hover {
    color: #e85122;
}
#tools {
    width: 146px;
    height: 179px;
    background: url(../images/tools.png) top right no-repeat;
    position: absolute;
    top: 102px;
    left: -122px;
}
#math {
    width: 110px;
    height: 200px;
    background: url(../images/math.png) top right no-repeat;
    position: absolute;
    top: 95px;
    left: 824px;
}
#datepicker {
    margin: 0 0 0 29px;
}
#ajaxLoader {
    margin: 10px 0 0 29px;
    text-align: center;
    color: #666;
    font-size: 1.2em;
}
/***************************************************************CONTENT*******************************************************/
#contentBg {
    overflow: hidden;
    position: relative;
    z-index: 0;
    background: url(../images/content_bg.png) top left repeat-y;
}
#content {
    position: relative;
    z-index: 0;
    overflow: hidden;
    padding: 0 50px 50px 50px;
    width: 500px;
    min-height: 900px;
    height: auto;
    text-align: left;
}
#content h2 {
    margin-top: 12px;
    margin-bottom: 5px;
    font-size: 3em;
    color: #257ec2;
}
#content .center {
    text-align: center
}
#content h2 span {
    display: block;
    margin: 0;
    padding: 0;
    color: #257ec2;
    font-size: .5em;
    border-bottom: 1px solid #257ec2;
    text-align: left;
}
#content h3 {
    margin-top: 25px;
    margin-bottom: 5px;
    font-size: 2em;
    color: #cd1d1d;
}
#content h3.comments {
  clear: both;
  text-align: center;
  padding-top: .5em;
  border-top: 1px dotted #c6451d;
}
#content h4 {
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 1.6em;
    color: #000;
}
#content h4.error {
    text-align: center;
    color: #c6451d;
}
#content h4.center {
    text-align: center;
}
#content h5 {
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 1.4em;
  font-weight: bold;
  color: #000;
}
#content .right {
  text-align: right;
}
#content p.newComment {
  text-align: right;
  vertical-align: middle;
  width: 100%;
  margin: -32px 0 0 0;
}
#content p.newComment a {
  vertical-align: bottom;
  color: #999999;
  padding-left: .2em;
  line-height: 18px;
}
#content p.newComment img {
  display: inline-block;
  vertical-align: middle;
  width: 22px;
  height: 22px;
  border: 0;
  float: none;
  margin-top: 5px;
}
#content p {
    word-wrap: break-word;
    text-align: justify;
    line-height: 1.2;
    margin-bottom: 7px;
    font-size: 1.4em;
    color: #000;
}
#content a {
    font-weight: bold;
    color: #000;
    text-decoration: none;
}
#content a:hover {
    color: #cd1d1d;
    text-decoration: underline;
}
#content p img {
    float: none;
    vertical-align: top;
    max-width: 500px;
}
#content p img.link {
    float: none;
    vertical-align: middle;
    margin: 2px;
    padding: 0px;
    border: 0px;
}
#content h3 img.contact {
    vertical-align: bottom;
    margin-left: 10px;
    margin-bottom: 0;
}
#content p.paging {
    margin: 1em 0 1em 0;
    color: #8e8e8e;
    display: block;
    text-align: right;
}
#content p.paging {
    text-align: center;
}
#content p.paging a {
    color: #8e8e8e;
}
#content p.paging a:hover {
    color: #c6451d;
}
#content p.info {
    margin: 0;
    padding: 0;
}
#content span.date {
    color: #8e8e8e;
    font-size: 1em;
    text-align: right;
	float: right;
margin-top: 1.5em;
    width: 50%;
}
#content span.showComment {
    margin-top: 1.5em;
    text-align: left;
float: left;
    width: 50%;
}
#content div.item {
    margin-bottom: 25px;
    border-bottom: 1px solid #8e8e8e;
    clear: both;
}
#content ol, #content ul {
    text-align: justify;
    line-height: 1.2;
    margin-left: 20px;
    margin-top: .5em;
    margin-bottom: 1em;
    font-size: 1.4em;
    color: #000;
}
#content ol li, #content ul li {
    margin-bottom: 7px;
}

#content ul li {
  list-style: square;
}
#content ul li ul {
  margin-left: 15px;
  font-size: 1em;
}

#content ul li a {
    line-height: 1.4;
    font-size: 1em;
    color: #000;
}
#content table {
    position: relative;
    z-index: 0;
    width: 100%;
    font-size: 1.4em;
    border-collapse: collapse;
    color: #000;
}
.jidelnicek {
  border: 1px solid #9d9d9d;
}
#content table tr th {
    background: #257ec2;
    padding: 4px 0;
    text-align: center;
    line-height: 1.2;
    color:#fff;
    border-bottom: 1px solid white;
}
#content table tr td {
    padding: 3px 6px;
    line-height: 1.2;
    width:370px;
}
#content table tr td.date {
    width: 125px;
}
#content table tr td.heading, #content table tr td.desc {
    width: 187px;
}

#content table tr td.subth {
    width: 100px;
    font-weight: bold;
    text-align: center;
    color: #000;
}
#content table tr td.kind {
    width: 100px;
    padding: 1px 6px;
}
#content table tr.last td {
    border-bottom: 1px solid #8e8e8e;
}
#content +table td.center {
    text-align: center;
}
#content table td.right {
    text-align: right;
}
#content table td.left {
    text-align: left;
}
#content table tr.now th,#content table tr.now td {
    background: #4cabe7;
    color: #fff;
    font-weight: bold;
}
#content table tr.even th,#content table tr.even td {
    background: #e5e5e5;
}
#content table tr.odd th,#content table tr.odd td {
    background: #f5f5f5;
}
.tip {
    padding-left: .4em;
    font-style: italic;
    color: #A5A5A5;
}
.red {
  color: #cd1d1d;
}
/*COMMENTS IN ACTUALS*/
#content div.comments {
    margin: auto;
    display: none;
}
#content div.topComment p.author span.left {
    display: inline-block;
    background: url(../images/author_red_left.jpg) right center no-repeat;
    width: 2px;
    height: 20px;
}
#content div.topComment p.author span.center {
    display: inline-block;
    background: url(../images/author_red_bg.jpg) center center repeat-x;
    width: auto;
    padding: 0 1em 0;
    margin: 0;
    height: 20px;
}
#content div.topComment p.author span.right {
    display: inline-block;
    background: url(../images/author_red_right.jpg) right center no-repeat;
    width: 8px;
    height: 20px;
}
#content div.subComment p.author span.left {
    display: inline-block;
    background: url(../images/author_blue_left.jpg) left center no-repeat;
    width: 8px;
    height: 20px;
}
#content div.subComment p.author span.center {
    display: inline-block;
    background: url(../images/author_blue_bg.jpg) center center repeat-x;
    width: auto;
    padding: 0 1em 0;
    height: 20px;
}
#content div.subComment p.author span.right {
    display: inline-block;
    background: url(../images/author_blue_right.jpg) left center no-repeat;
    width: 2px;
    height: 20px;
}
#content div.topComment p.author,#content div.subComment p.author {
    text-align: left;
    font-size: 1.2em;
    line-height: 20px;
    color: #fff;
    padding: 0;
    margin: 1.5em 0 .5em 0;
}
#content div.subComment p.author {
    text-align: right;
    margin: .5em 0 .5em 0;
}
#content div.textWrap {
    background-color: #ededed;
    border: 1px solid #999999;
    width: 100%;
}
#content div.subComment div.textWrap {
    margin-left: 25%;
    padding-bottom: 13px;
    width: 75%;
}
#content div.textWrap p.info {
    font-size: 1.2em;
    color: #8e8e8e;
    text-align: right;
    padding: .5em .5em 0 0;
    margin: 0;
}
#content div.textWrap p.text {
    overflow: auto;
    white-space: pre-wrap;
    text-align: left;
    padding: .5em 1.5em 0 1.5em;
}
#content div.textWrap p.react {
    font-size: 1.2em;
    color: #8e8e8e;
    text-align: right;
    padding: 0em .5em .5em 0;
    margin: 0;
}

#content table#addComment {
    margin: 0 0 0 1px;
    padding: 0 0 0 0;
    background: #ededed;
    border: 1px solid #999999;
    width: 100%;
}
#content table#addComment tr td {
    padding: .5em .5em;
}
#content table#addComment tr:hover td {
    background-color: #ededed;
}
#content table#addComment tr td label {
    padding: 1em 0 0 0;
    margin: 1em 0 0 0;
    font-size: 1em;
}
#content table#addComment span.tip {
    padding-left: 0;
    font-weight: normal;
}
#content table#addComment tr td input[type=text] {
    border: 1px solid #8e8e8e;
    font-family: Calibri, Arial, Verdana;
    font-size: 1.0em;
    background-color: #fff;
}
#content table#addComment tr td textarea {
    font-family: Calibri, Arial, Verdana;
    font-size: 1.0em;
}
#content table#addComment tr td input:focus {
    font-family: Calibri, Arial, Verdana;
    font-size: 1.0em;
}
#content table#addComment tr td.subbtn input[type=submit] {
    display: block;
    width: 48px;
    height: 48px;
    background: transparent url(../images/send.jpg) center center no-repeat;
    border: 0;
    text-indent: -9999px;
}
#content p.formResult {
    text-align: center;
    font-size: 1.8em;
    font-weight: bold;
    color: #c6451d;
    margin: 1em 0 1em 0;
}

.error,.warning,.success{
    width:300px;
    height: 20px;
    background-color:#eee;
    padding:10px;
    position: fixed;
    z-index: 1000;
    left:50%;
    top: 50%;
    margin-left:-150px;
    margin-top: -25px;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    border-radius:10px;
    box-shadow: 0 0 20px #888;
    -moz-box-shadow: 0 0 20px #888;
    -webkit-box-shadow: 0 0 20px #888;
    border-width: 3px;
    border-style: solid;
    border-color:#fff;
    display: none;
    font-size:1.2em;
    padding-left: 50px;
    background-position: -10px -15px;
    background-repeat:no-repeat;
}

.error:hover,.warning:hover,.success:hover{
    cursor: pointer;
}

.error{background-image: url(../images/error.png);}
.warning { background-image: url(../images/warning.png);}
.success{background-image: url(../images/success.png);}

/*FORM*/
form {
    margin: 0;
    padding: 0;
}
#content form input {
    font-family: Calibri, Arial, Verdana;
    font-size: 1.3em;
    background-color: transparent;
}
#content #message label {
  padding: .2em .5em .2em .5em;
  color: #fff;
  font-size: 1.4em;
  font-weight: bold;
  background: url(../images/form_label_bg.png) center left repeat-x;
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
  border-radius:5px;
}
#message dl dt {
  margin: 1.5em 0 6px 0;
}
#message dl dd {
  padding: 0 0 0 0;
  margin: 0 0 0 0;
}
#message input {
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
  border-radius:5px;
  width: 50%;
  padding: .1em .5em .2em .5em;
  height: 20px;
  line-height: 20px;
}
#message textarea {
  -moz-border-radius:5px;
  -webkit-border-radius:5px;
  border-radius:5px;
  width: 98%;
  font-family: Calibri, Arial, Verdana;
  font-size: 1.2em;
  padding: .3em;
  margin: 0 0 0 0;
}
#message input[type=submit] {
  width: 100px;
  height: 25px;
  margin: 0 0 0 80%;
  background: url(../images/form_label_bg.png) top center repeat-x;
  color: #fff;
  border: 0px;
  font-size: 1.4em;
  font-weight: bold;
}
#message input[type=submit]:hover {
  background: url(../images/form_label_red_bg.png) top center repeat-x;
}
#content p.anchorMenu {
    text-align: left;
    font-weight: bold;
    margin-top: .5em;
}
/***************************************************************TOPMENU*******************************************************/
#redMenu {
    position: absolute;
    top: 120px;
    left: 60px;
}
#blueMenu {
    position: absolute;
    top: 120px;
    left: 235px;
}
#greenMenu {
    position: absolute;
    top: 120px;
    left: 430px;
}
#redMenu ul li,#blueMenu ul li,#greenMenu ul li {
    font-size: 1.5em;
    line-height: 1.3;
}
#redMenu ul li a,#blueMenu ul li a,#greenMenu ul li a {
    color: #fff;
    display: block;
    font-weight: bold;
    text-decoration: none;
    width: 100%;
}
#redMenu ul li a:hover,#blueMenu ul li a:hover,#greenMenu ul li a:hover {
    text-decoration: underline;
}
/****************************************************************MENU*********************************************************/
#menu {
    position: relative;
    z-index: 800;
    float: left;
    width: 225px;
    height: auto;
    min-height: 800px;
    text-align: left;
    overflow: hidden;
}
#menu ul {
    margin-left: 10px;
}
#menu ul li {
    position: relative;
    z-index: 800;
    width: 200px;
    min-height: 18px;
    height: auto;
    margin: 0 0 0 15px;
    font-size: 1.4em;
    line-height: 18px;
}
#menu ul li a {
    position: relative;
    z-index: 800;
    display: block;
    width: 185px;
    min-height: 18px;
    height: auto;
    padding: 0 0 0 15px;
    line-height: 18px;
    color: #000;
    font-weight: bold;
    text-decoration: underline;
}
#menu ul li a:hover {
    display: block;
    width: 185px;
    min-height: 18px;
    height: auto;
    line-height: 18px;
    color: #fff;
    text-decoration: none;
}
#menu ul.aktuality li:hover{
  background: #fd4531 url(../images/menu_red_hover.png) left bottom repeat-x;
}
#menu ul.aktuality li.active a {
  color: #fff;
  text-decoration: none;
  background: #fd4531 url(../images/menu_red_hover.png) left bottom repeat-x;
}
#menu ul.skola li:hover {
  background: #4dc408 url(../images/menu_green_hover.png) left bottom repeat-x;
}
#menu ul.skola li.active a {
  color: #fff;
  text-decoration: none;
  background: #4dc408 url(../images/menu_green_hover.png) left bottom repeat-x;
}
#menu ul.dokumenty li:hover {
  background: #509FEB url(../images/menu_blue_hover.png) left bottom repeat-x;
}
#menu ul.dokumenty li.active a {
  color: #fff;
  text-decoration: none;
  background: #509FEB url(../images/menu_blue_hover.png) left bottom repeat-x;
}
#menu ul li:hover a {
  color: #fff;
  text-decoration: none;
}
#menu h2 {
    margin-left: 11px;
    margin-top: 15px;
    margin-bottom: 0px;
    width: 214px;
    height: 38px;
    line-height: 22px;
    padding-left: 32px;
    color: #fff;
    font-size: 1.6em;
    font-weight: bold;
    text-transform: uppercase;
}
#menu h2#aktuality {
    background: url(../images/red_wrapper.png) top left no-repeat;
}
#menu h2#skola {
    background: url(../images/green_wrapper.png) top left no-repeat;
}
#menu h2#dokumenty {
    background: url(../images/blue_wrapper.png) top left no-repeat;
}
#menu h2#events {
    background: url(../images/orange_wrapper.png) top left no-repeat;
}
/**************************************************************SUBMENU*********************************************************/
#menu ul li ul.submenu {
  display: none;
  width: 125px;
  height: auto;
  position: absolute;
  float: left;
  left: 200px;
  z-index: 1000;
  padding: 0 0 0 0;
  margin: -18px 0 0 0;
  box-shadow: 2px 2px 4px #888;
  -moz-box-shadow: 2px 2px  4px #888;
  -webkit-box-shadow: 2px 2px 4px #888;
}
#menu ul.aktuality li ul.submenu {
  background: #fd4531;
}
#menu ul.skola li ul.submenu {
  background: #5eca1e;
}
#menu ul.dokumenty li ul.submenu {
  background: #56a2ec;
}
#menu ul li:hover ul.submenu {
  position: absolute;
  z-index: 1000;
  display: block;
}
#menu ul li ul.submenu li {
  position: relative;
  z-index: 1000;
  width: 110px !important;
  min-height: 18px;
  height: auto;
  line-height: 18px;
  margin: 0 0 3px 0;
  padding: 0 0 0 0;
  font-size: 1em;
}
#menu ul li ul.submenu li:hover {
  margin: 0 0 3px 0;
  float: none;
  width: 125px !important;
}
#menu ul li ul.submenu li.firstItem {
  width: 125px !important;
  height: 18px;
  line-height: 18px;
  margin: 0 0 3px 0;
  padding: 0 0 0 0;
}
#menu ul.aktuality li ul.submenu li.firstItem {
  background: #fd4531 url(../images/menu_red_hover.png) left top repeat-x;
}
#menu ul.skola li ul.submenu li.firstItem {
  background: #5eca1e url(../images/menu_green_hover.png) left top repeat-x;
}
#menu ul.dokumenty li ul.submenu li.firstItem {
  background: #56a2ec url(../images/menu_blue_hover.png) left top repeat-x;
}
#menu ul li.active ul.submenu li a {
  color: #fff;
  width: 110px !important;
  padding: 0 0 0 10px;
  text-decoration: underline;
  background: transparent;
}
#menu ul li ul.submenu li a {
  margin: 0 0 3px 0;
  padding: 0 0 0 10px;
  display: block;
  width: 110px;
  min-height: 18px;
  height: auto;
  line-height: 18px;
  background: transparent;
  color: #fff;
  font-size: 1em;
  text-decoration: underline;
}
#menu ul li ul.submenu li:hover a {
  color: #fff;
  display: block;
  width: 110px !important;
  text-decoration: none;
}
#menu ul li.active ul.submenu li.firstItem {
  width: 125px !important;
}
#menu ul li.active ul.submenu li.firstItem:hover {
  width: 125px !important;
}
#menu ul li.active ul.submenu li.firstItem:hover a {
  width: 125px !important;
}
#menu ul li.active ul.submenu li:hover {
  width: 125px !important;
}
#menu ul li.active ul.submenu li:hover a {
  color: #fff !important;
  width: 110px !important;
  text-decoration: none;
}
/***************************************************************GALERIE********************************************************/
.galleryItem {
    border-bottom: 1px solid #999999;
    width: 100%;
    min-height: 60px;
    height: auto;
}
.galleryItem img {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    vertical-align: top;
    width: 32px;
    height: 32px;
}
#content .galleryItem h3 {
    margin-top: 0;
    padding-top: 0;
}
#content .galleryItem h3 .tip {
    font-size: .8em;
    font-weight: normal;
}
#content .galleryItem p {
    font-style: italic;
}
.galleryItem .typ {
    margin: 0 0 .5em 0;
    clear: none;
    float: right;
    margin-top: 0 0 0 0;
    text-align: center;
    width: 17%;
}
#content .galleryItem .typ p.tip {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    width: 100%;
    text-align: center;
}
.cleaner {
    clear: both;
}
#content table#galleryInfo {
  border: 1px solid #888;
  border-collapse: collapse;
}
#content table#galleryInfo th {
  width: 50px;
  height: 20px;
  text-align: left;
  padding-left: 5px;
  border: 0;
}
#content table#galleryInfo td {
  padding: .5em .5em .5em .5em;
  background-color: #ededed;
  min-height: 20px;
  height: auto;
  text-align: justify;
  width: 450px;
}
#content table#galleryInfo td:hover {
  background-color: #ededed;
}
#content table#galleryInfo p {
  height: 20px;
  line-height: 20px;
  padding: 0 0 0 0;
  margin: 0 0 0 0;
  font-size: 1em;
  font-style: normal;
}
#content table#galleryGrid {
    width:  100%;
    border: 0;
    border-collapse: collapse;
}
#content table#galleryGrid  td {
    text-align: center;
    padding: .5em 0 .5em 0;
}
#content table#galleryGrid tr:hover td {
    background-color: transparent;
}
table#galleryGrid  tr td:hover img {
    border: 1px solid #c9c9c9;
}
#content table#galleryGrid td.t0 {
    text-align: left;
}
#content table#galleryGrid td.t2 {
    text-align: right;
}
#galleryGrid img {
    background-color: transparent;
    padding: .2em;
    border: 1px solid #999999;
}
#content a.flowplayer {
  display: block;
  border: 1px solid #999;
}
span.back {
  float: right;
  margin-top: -40px;
}
span.back img {
  vertical-align: middle;
  padding: 0 5px 0 0;
}
span.back a {
  font-size: 1.2em;
  font-weight: bold;
}
/***************************************************************FOOTER********************************************************/
#footer {
    width: 100%;
    border-top: 1px solid #1e78b2;
}
#footer p {
    color: #000;
    font-size: 1.2em;
    text-align: center;
    line-height: 30px;
}
#footer p a {
    font-weight: bold;
    color: #000;
}
#footer p a:hover {
    color: #fff;
    text-decoration: none;
}