* { margin:0; padding:0; }
body, div, span, p, a, img, ul, ol, li, table, th, tr, td, form, fieldset, legend, dl, dt, dd, blockquote, applet, object { border:0; }
ul, ol {list-style-type:none}
html {background: url('../img/bg.jpg') no-repeat 50% 0;}
body { padding: 0; font: normal 75%/1 Arial,sans-serif; color: #000; }

/* links --------------------------------------------------------------- */
a {color: #000;text-decoration: underline;}
a:link {color: #000;}
a:hover {color: #000;text-decoration: none;}

/* H1 - H5 --------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 { margin:15px 0 15px 0; }
h1 { font-size:1.8em;  margin: 0; color: #005e7c;}
h2 { font-size: 1.4em; margin: 0 0 20px; color: #000;  padding: 10px 10px 0}
h3 { font-size:0.9em; margin: 5px 0 25px;color: #3d3d3d; font-weight: normal; }
h4 { font-size:1.0em; color: #005e7c ;}
h5 { font-size:1.0em; }

#layout {width: 980px; margin: 0 auto}


    #top {height: 120px;position: relative;}
    /* header ------------------------------------------------------------------ */
        h1 { position: absolute; top: 20px; left: 35px; width: 162px; height: 81px;line-height: 81px;font-size:1.4em;font-weight: normal;}
            h1 a span {position: absolute; top: 0; left: 0;display: block;width: 162px; height: 81px;cursor: pointer; background: url('../img/logo.jpg') no-repeat;}
            h1 a { display: block; color: #5c6c18;text-decoration: none;}
            h1 a:hover {color: #fff;}

        .search {position: absolute; width: 336px; position: absolute; top: 15px; right: 0;text-align: right;}
            .search label {position: relative;top: 7px;width: 83px; height: 10px;font-size: 0.8em; display: block;float: left;margin-right: 10px;}
                .search label span {position: absolute; top: 0; left: 0;display: block; width: 83px; height: 10px; background: url('../img/search-label.jpg') no-repeat;}
            .search .text {margin-right: 5px;width: 130px; padding: 5px 5px 0 25px; height: 20px; background: #eaeaea url('../img/search-input.jpg') no-repeat;float: left;border: 0;}
            
          /* navigation --------------------------------------------------- */
        ul#nav {clear: both;position: absolute; top: 56px; right: 0;width: 518px; height: 39px;}
        ul#nav li {float:left;}
            ul#nav li a { position: relative; height: 39px; line-height: 39px;font-weight: bold;display: block; font-size: 1.0em; float: left; text-decoration: none; color: #5d5d5d;}
            ul#nav li a:hover {color: #5c791b; text-decoration: none; }
            ul#nav li a span {cursor: pointer;position: absolute; top: 0; left: 0;display: block; height: 39px;background: url('../img/nav.jpg') no-repeat;}
            ul#nav li.active a { color: #5c791b; text-decoration:none;}

            ul#nav li#uvod a {width: 110px;}
            ul#nav li#onas a {width: 65px;}
            ul#nav li#cinnost a {width: 85px;}
            ul#nav li#partneri a {width: 85px;}
            ul#nav li#fotogalerie a {width: 100px;}
            ul#nav li#kontakty a {width: 73px;}

            ul#nav li#uvod a span {width: 110px; background-position: 0 0;}
            ul#nav li#onas a span {width: 65px; background-position: -110px 0;}
            ul#nav li#cinnost a span {width: 85px; background-position: -175px 0;}
            ul#nav li#partneri a span {width: 85px; background-position: -260px 0;}
            ul#nav li#fotogalerie a span {width: 100px; background-position: -345px 0;}
            ul#nav li#kontakty a span {width: 73px; background-position: -445px 0;}

            ul#nav li#uvod a:hover span {width: 110px; background-position: 0 -39px;}
            ul#nav li#onas a:hover span {width: 65px; background-position: -110px -39px;}
            ul#nav li#cinnost a:hover span {width: 85px; background-position: -175px -39px;}
            ul#nav li#partneri a:hover span {width: 85px; background-position: -260px -39px;}
            ul#nav li#fotogalerie a:hover span {width: 100px; background-position: -345px -39px;}
            ul#nav li#kontakty a:hover span {width: 73px; background-position: -445px -39px;}

            ul#nav li#uvod.active a span {width: 110px; background-position: 0 -39px;}
            ul#nav li#onas.active a span {width: 65px; background-position: -110px -39px;}
            ul#nav li#cinnost.active a span {width: 85px; background-position: -175px -39px;}
            ul#nav li#partneri.active a span {width: 85px; background-position: -260px -39px;}
            ul#nav li#fotogalerie.active a span {width: 100px; background-position: -345px -39px;}
            ul#nav li#kontakty.active a span {width: 73px; background-position: -445px -39px;}


    #header {height: 250px; background: #5c6c18 url('../img/header.jpg') no-repeat;position: relative;margin-bottom:15px;}
        #header a {display: block; height: 83px; width: 211px; line-height: 1.4em; font-size: 0.9em;position: absolute; right: 0;color: #fff;text-decoration: none;padding: 0 10px 0 30px;}
        #header a strong {display: block; padding: 10px 0 10px 20px; font-size: 1.1em;background: url('../img/arr-white.png') no-repeat 0 50%;}
        #header a.link1 {top: 0;}
        #header a.link2 {top: 83px;}
        #header a.link3 {top: 166px;height: 84px;}
        #header a:hover {background: url('../img/header-hover.png') no-repeat;color: #5c791b;}
        #header a:hover strong {background: url('../img/arr-green.png') no-repeat 0 50%;}
        #header a.active {background: url('../img/header-hover.png') no-repeat;color: #5c791b;}
        #header a.active strong {background: url('../img/arr-green.png') no-repeat 0 50%;}
    .subheader {height: 39px; line-height: 39px; padding-left: 40px;color: #5c791b;background: url('../img/subheader.jpg') no-repeat;margin-bottom: 10px;}

  #container { background: url('../img/container-bg.jpg') repeat-y;}


    .left-side {float: left;width: 740px;}

    .content {padding: 10px 10px 0 11px;float: right;width: 518px;border-top: 1px solid #cccccc;}
        .content p {line-height: 1.5em;padding: 0 10px 15px 10px;text-align:justify;}
        .content p strong {color: #5c791b;}
        .content .crossroad {list-style: none;padding:0;}
            .content .crossroad li {float: left;margin-top: 10px;;height: 180px;}
            .content .crossroad li a {display: block; width: 255px; height: 180px;position: relative;text-decoration: none;float: left;background: #8eb430;}
            .content .crossroad li a img {position: absolute; height: 150px; top: 0;width: 255px;text-align: center;line-height: 150px;}
            .content .crossroad li a strong {padding: 0;margin: 0;position: absolute; top: 150px;display: block;width: 255px;font-size: 0.8em; height: 30px;position: relative;display: block;text-align: center; line-height: 30px;}
            .content .crossroad li a strong span {cursor: pointer;position: absolute; top: 0; left: 0;width: 255px; height: 30px; display: block;}
            .content .crossroad li.akce {float: right;}
            .content .crossroad li.sluzby {float: right;}
            .content .crossroad li.vzdelani a strong span {background: url('../img/box-vzdelavani.jpg') no-repeat;}
            .content .crossroad li.akce a strong span {background: url('../img/box-akce.jpg') no-repeat;}
            .content .crossroad li.sport a strong span {background: url('../img/box-sport.jpg') no-repeat;}
            .content .crossroad li.sluzby a strong span {background: url('../img/box-sluzby.jpg') no-repeat;}
            .content .crossroad li.vzdelani a:hover strong span {background-position: 0 -30px;}
            .content .crossroad li.akce a:hover strong span {background-position: 0 -30px;}
            .content .crossroad li.sport a:hover strong span {background-position: 0 -30px;}
            .content .crossroad li.sluzby a:hover strong span {background-position: 0 -30px;}
            .content h3 { font-size: 1.4em; margin: 0 0 20px; color: #000;  padding: 10px 10px 0;font-weight:bold;}
            .content ul {line-height: 1.5em;padding: 0 10px 15px 25px;list-style:square;}
            img.mapka {border:4px solid #8fb430;}
            img.mapka:hover {border:4px solid #a3cd39;}
            .content h2.newie-title {float: left;margin-bottom: 0;}
            .content .date {float: right;font-weight: bold; color: #5c791b; margin: 0;  padding: 13px 10px 0 0}

    
    .panel.left {float: left;width: 201px;border-top: 1px solid #cccccc;padding: 10px 0 0;}
        .panel.left a.butt {text-decoration: none;padding-left: 30px;width:150px; height: 40px;display: block; margin: 5px auto;color: #fff;font-weight: bold;line-height: 40px;position: relative; left: 3px;}
        .panel.left a.butt:hover {text-decoration: underline;}
        .panel.left a.butt.orange {background: #daa802 url('../img/butt-orange.gif') no-repeat;}
        .panel.left a.butt.green {background: #8eb430 url('../img/butt-green.gif') no-repeat;}
        .panel.left a.butt.green-dark {background: #5c791b url('../img/butt-green-dark.gif') no-repeat;}
        .panel.left p.center {padding: 10px 0;color: #000;}
        .panel.left p.center.border {border-bottom: 1px solid #ccc;margin: 0 auto 10px;padding: 20px 0;width: 180px;position: relative; left: 3px;}


    .panel.right {float: right;width: 240px;text-align: right;}
        .panel.right ul.tabs {height: 31px;}
            .panel.right ul.tabs li {float: left;width: 120px;height: 31px;}
            .panel.right ul.tabs li a {display: block; line-height: 31px; text-align: center; text-decoration: none;font-weight: bold; color: #5c791b;}
            .panel.right ul.tabs li.tab1 a {background: #8eb430 url('../img/panel-tabs.jpg') no-repeat 0 0;}
            .panel.right ul.tabs li.tab2 a {background: #8eb430 url('../img/panel-tabs.jpg') no-repeat -120px -31px;}
            .panel.right ul.tabs li.tab1.active a {background: #a3cd39 url('../img/panel-tabs.jpg') no-repeat 0 -31px;color: #fff;}
            .panel.right ul.tabs li.tab2.active a {background: #a3cd39 url('../img/panel-tabs.jpg') no-repeat -120px 0;color: #fff;}
            .panel.right ul.tabs li.tab1 a:hover {color: #fff;}
            .panel.right ul.tabs li.tab2 a:hover {color: #fff;}
        .panel.right .box {background: #a3cd39; padding: 10px;border-left: 4px solid #91c12c;text-align: left;}
        .panel.right .box.news {background: #a3cd39 url('../img/box-bg.jpg') no-repeat 50% 50%;margin-bottom:15px;}
        .panel.right a.more {text-align: left;display: block;margin-bottom: 5px;width: 205px;font-size: 0.9em;padding-left: 35px;height: 31px; line-height: 31px; background: #daa802 url('../img/panel-btm.jpg') no-repeat; color: #fff;text-decoration: none;}
        .panel.right a.more.nomargin {margin: 0;}
        .panel.right a.more:hover {text-decoration: underline;}
        .panel.right p.center {text-align: center;padding: 10px 0;clear: both;}
        .panel.right h3 {text-align: left;height: 31px; line-height: 31px; width: 210px;padding: 0 15px; background: #8eb430 url('../img/panel-title.jpg') no-repeat;margin: 0; color: #fff; font-size: 1.0em;font-weight: bold;}
        .panel.right .box.news p {text-align: left;border-bottom: 1px solid #5c791b; margin: 0;padding: 10px 0;font-size: 0.9em;}
        .panel.right .box.news p.noborder {border: 0;}
        .panel.right .box.news p a {display: block;background: url('../img/newie.jpg') no-repeat 95% 0;text-decoration: none;}
        .panel.right .box.news p a strong {display: block; color: #5c791b;font-size: 1.1em;padding: 5px 0;}
        .panel.right .box.news p a:hover {color: #000;}
        .panel.right .box.news p a:hover strong {color: #000;}

  	/* footer ----------------------------------------------------------------- */
  	.footer { clear:both; background: url('../img/footer.jpg') no-repeat;line-height: 53px;color: #444444;margin-top: 10px;font-size: 0.9em;}
        .footer span {display: block; padding: 0 15px;font-size: 1.1em;}
        .footer a {color: #444444;}




hr { display:block; height:1px; margin:10px 0; padding:0; border:0 solid #CCC; background:#CCC; color:#CCC;}
.clear { clear:both; display: block; height:0;line-height:0;font-size:0; width: 100%;}
.noscreen { display:none; }
.flt-l {float: left;}
.flt-r {float: right;}
.bold {font-weight: bold;}
.center {text-align: center;}
.noborder {border: 0;}
/* clearfix */
.clearfix:after {content: ".";display: block;height: 0;clear: both;visibility: hidden;}
.clearfix {display: inline-block;}
/* schovani pred ie mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}


#fotogalerie .cat {float: left;margin-top: 10px; height: 154px;}
#fotogalerie .cat a {display: block; width: 165px; height: 154px;text-align: center;text-decoration: none;float: left;background: #FFF; border: 3px solid #8eb430;}
#fotogalerie .cat a img {float: left;}
#fotogalerie .cat a strong {clear: both;}

#fotogalerie .obrazek {float: left;margin-top: 10px; height: 124px;}
#fotogalerie .prvni {padding-right: 2px;}
#fotogalerie .obrazek a {display: block; width: 165px; height: 124px;text-align: center;text-decoration: none;float: left;background: #FFF; border: 3px solid #8eb430;}
#fotogalerie .obrazek a strong, #fotogalerie .cat a strong {padding: 0;margin: 0;display: block;width: 165px;font-size: 0.9em; height: 30px;display: block;text-align: center; line-height: 30px;color: #FFF;font-weight: bold;background-color: #8eb430;}

.right{float:right;}
p.odsad {padding-top: 5px;}

.news a.title{
	font-weight: bold;
	font-size: 1.1em;
}
