body {
    font-family: arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

body #body {
    background: #2D5308 url('../img/body.jpg') center top no-repeat;
    min-width: 980px;
    min-height: 100%;
    position: relative;
}

body.homepage #body {
    background-image: url('../img/body-homepage.jpg');
    background-color: #1A3202;
}

#body-2 {
    text-align: left;
    width: 980px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 180px;
}

.with-left-right-side #body-2, .with-left-side #body-2 {
/*    background: url('../img/houba.jpg') 220px 163px no-repeat;*/
}

#logo a {
    position: absolute;
    width: 320px;
    height:75px;
    left: 0px;
    top: 40px;
}

#logo a span {
    display: none;
}


/* layout */
#left-side {
    display: none;
}

body.with-left-right-side #left-side, body.with-left-side #left-side {
    display: block;
    width: 249px;
    float: left;
    padding-top: 160px;
}

#right-side {
    display: none;
    padding-top: 420px;
}

body.with-left-right-side #right-side, body.with-right-side #right-side {
    display: block;
    width: 237px;
    float: right;
}

#center-right-side {
    width: auto;
    float: none;
}

body.with-left-right-side #center-right-side, body.with-left-side #center-right-side {
    float: right;
    width: 715px;
}

#content {
    width: auto;
    float: none;
    padding-top: 165px;
    margin: 0 18px;
}

body.with-left-right-side #content {
    width: 423px;
    float: left;
    margin: 0;
}

body.with-right-side #content {
    width: 638px;
    float: left;
    margin: 0 0 0 18px;
}

/* boxy */
.box1, .box2, .box1-without-button, .box2-without-button {
    width: 234px;
    height: 278px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center cetner;
    position: relative;
}

.box1 p.vice a, .box2 p.vice a, .box1-without-button p.vice a, .box2-without-button p.vice a {
    position: absolute;
    display: block;
    right: 0px;
    bottom: 4px;
    color: white;
    text-decoration: none;
    width: 67px;
    height: 23px;
    text-align: center;
    font-weight: bold;
}

.box1 p.vice a:hover, .box2 p.vice a:hover, .box1-without-button p.vice a:hover, .box2-without-button p.vice a:hover {
    text-decoration: underline;
}

.box1 {
    background-image: url('../img/box1.png');
    _background-image: url('../img/box1.jpg');
}

.box2 {
    background-image: url('../img/box2.png');
    _background-image: url('../img/box2.jpg');
}

.box1-without-button {
    background-image: url('../img/box1-without-button.png');
}

.box2-without-button {
    background-image: url('../img/box2-without-button.png');
}

.box1 p, .box1 h2, .box2 p, .box2 h2, .box1-without-button p, .box1-without-button h2, .box2-without-button p, .box2-without-button h2 {
    margin: 0 24px;
}


.box1 p.center, .box2 p.center, .box1-without-button p.center, .box2-without-button p.center {
    margin-top: 25px;
}

.box1 h2, .box2 h2, .box1-without-button h2, .box2-without-button h2 {
    color: #87532C;
    font-size: 1.2em;
    margin-bottom: 7px;
}

.box1 h2 a, .box2 h2 a, .box1-without-button h2 a, .box2-without-button h2 a {
    color: #87532C;
    text-decoration: none;
}

.box1 h2 a:hover, .box2 h2 a:hover, .box1-without-button h2 a:hover, .box2-without-button h2 a:hover {
    text-decoration: underline;
}


/* stare hrady */
.box-stare-hrady p {
    display: block;
    text-align: left;
    padding-left: 78px;
    padding-top: 180px;
    height: 47px;
    x_height: 275px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.box-stare-hrady a:hover {
    text-decoration: underline;
}

/* footer */
#footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: url('../img/footer.gif') center top no-repeat;
    height: 138px;
    _height: 180px;
    padding-top: 42px;
    text-align: center;
}

#footer-2 {
    background: black;
    height: 138px;
}

#footer-3 {
    width: 980px;
    background: url('../img/footer-castle.jpg') center bottom no-repeat;
    margin: 0 auto;
    height: 138px;
    text-align: left;
}

div.text {
    margin-top: 58px;
    float: left;
}

div.text p, div.lex-loci p {
    color: #86AC5F;
    margin-bottom: 10px;
}

div.text p a, div.lex-loci p a {
    color: #86AC5F;
}

div.text p a:hover, div.lex-loci p a:hover {
    text-decoration: none;
}

div.lex-loci {
    margin-top: 58px;
    float: right;
    text-align: right;
}

div.lex-loci p a {
    padding-bottom: 26px;
    float: left;
    background: url('../img/lex-loci.gif') right bottom no-repeat;
}

/* menu */
#menu {
    position: absolute;
    left: 0;
    top: 0px;
    width: 980px;
    height: 72px;
    background: url('../img/menu.jpg') -1px 0 no-repeat;
}

#menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: 15px;
}

#menu ul li {
    margin: 0;
    padding: 0;
    float: left;
    margin-right: 2px;
}

#menu ul li a {
    float: left;
    display: block;
    height: 72px;
    width: 117px;
}

#menu ul li a.menu-8 {
    width: 122px;
}

#menu ul li a span {
    display: none;
}

#menu ul li a:hover {
    background: url('../img/menu-hover.jpg') 0 0 no-repeat;
}

#menu ul li a.menu-1:hover {
    background-position: -15px 0;
}
#menu ul li a.menu-2:hover {
    background-position: -134px 0;
}
#menu ul li a.menu-3:hover {
    background-position: -253px 0;
}
#menu ul li a.menu-4:hover {
    background-position: -372px 0;
}
#menu ul li a.menu-5:hover {
    background-position: -491px 0;
}
#menu ul li a.menu-6:hover {
    background-position: -610px 0;
}
#menu ul li a.menu-7:hover {
    background-position: -729px 0;
}
#menu ul li a.menu-8:hover {
    background-position: -848px 0;
}

/* left side */
#left-side h2 {
    background: url('../img/left-side-header.gif') center center no-repeat;
    height: 40px;
    line-height: 40px;
    padding-left: 10px;
    color: #513D27;
    font-size: 1.7em;
    font-style: italic;
    font-variant: small-caps;
    font-family: serif;
}

/* left menu */
#left-menu {
    background: black url('../img/left-side-bottom.gif') center bottom no-repeat;
    padding-bottom: 20px;
    margin: 0 9px 0 10px;
}

#left-menu ul {
    margin: 0;
    padding: 8px;
    list-style: none;
}

#left-menu ul li a {
    display: block;
    border-bottom: 2px #9D6438 solid;
    padding: 9px 9px 9px 30px;
    background: url('../img/siska-black.gif') 0 5px no-repeat;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    margin-bottom: 2px;
    _height: 1px;
}

#left-menu ul ul {
    padding: 0px;
}

#left-menu ul ul li a {
    padding: 7px 9px 7px 40px;
    background: black url('../img/left-side-menu-item.gif') 3px 6px no-repeat;
    border: none;
}

#left-menu ul ul li a:hover, #left-menu ul ul li a.active {
    background-color: #784F2D;
    background-image: url('../img/left-side-menu-item-hover.gif');
}
