html {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
    font-size: 75%;
    color: #505050;
    margin: 0;
    padding: 0;
    height: 100%;
    text-align: center;
}

h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

h1 {
    overflow: hidden;
    position: absolute;
    left: 60px;
    top: 12px;
    width: 170px;
    height: 47px;
    cursor: pointer;
    font-size: 150%;
}

h2, h3, h4 {
    margin: 0 0 .5em 0;
}

h1 span {
    background: url('../img/logo.png') no-repeat;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

h2 {
    font-size: 150%;
}

h3 {
    font-size: 130%;
    font-weight: bold;
}

h4 {
    font-size: 100%;
    font-weight: bold;
}

table {
    width: 100%;
    font-size: 100%;
    background-color: #94c7d7;
    margin-bottom: 25px;
}

th {
    color: white;
    text-align: center;
    vertical-align: top;
}

td {
    background-color: white;
}

p{
    text-align: justify;
    padding: 0;
    margin: 0 0 1em 0;
}

ul {
    list-style: square;
    margin: 0 0 1em 0;
    padding-left: 0;
}

li {
    padding: 0;
    margin: 0 0 0 18px;
}

a:link, a:visited {
    color: #83B9C9;
}

#l-distance {
    width: 1px;
    height: 50%;
    margin-bottom: -228px;
    float: left;
}

#l-main {
    position: relative;
    clear: left;
    width: 770px;
    height: 456px;
    margin: 0 auto 0 auto;
    text-align: left;
    background: white url('../img/bg-r.png') repeat-x;
}

#menu {
    position: absolute;
    right: 20px;
    top:20px;
    z-index: 300;
    padding: 0;
    margin: 0;
}

#menu li {
    display: inline;
    padding: 0 0 0 10px;
    margin: 0;
}

#menu a {
    color: white;
    text-decoration: none;
    height: .1%;
    padding-bottom: 2px;
    font-family: Helvetica, sans-serif;
    font-size: 110%;
}

#menu a:hover {
    border-bottom: 2px solid white;
    padding-bottom: 0;
}

#menu-bottom {
    position: absolute;
    left: 55px;
    top:432px;
    z-index: 300;
    margin: 0;
    padding: 0;
}

#menu-bottom li {
    display: inline;
    padding: 0 8px 0 0;
    margin: 0;
}

#menu-bottom a {
    color: gray;
    text-decoration: none;
    padding: 2 1px 2 1px;
    font-family: Helvetica, sans-serif;
    font-size: 110%;
}

#menu-bottom a:hover {
    background-color: #EFF7F9;
}

#copyright {
    position: absolute;
    right: 20px;
    top:432px;
    z-index: 300;
}

h2.news-h {
    overflow: hidden;
    position: absolute;
    left: 30px;
    top: 70px;
    width: 297px;
    height: 348px;
    padding: 65px 0 0 45px;
}

h2.news-h span {
    background: url('../img/news-bg.png') no-repeat;
    position: absolute;
    width:100%;
    height: 100%;
    left: 0;
    top: 0;
}

.news-bg-noimg {
    background-color: white;
    position: absolute;
    width: 148px;
    height: 200px;
    left: 70px;
    top: 130px;
}


.news h3 {
    font-size: 100%;
    font-weight: normal;
    border-bottom: 1px solid #9accda;
    margin-top: 10px;
}

.news p {
    padding: 0;
    margin: 4px 0 0 0;
    font-size: 90%;
    text-align: left;
}

.news {
    width: 144px;
    height: 180px;
    position: absolute;
    left: 74px;
    top: 164px;
    overflow: auto;
    overflow-x:visible;
}


.content-bg {
    background: url('../img/hp-content.png') no-repeat;
    width: 430px;
    height: 296px;
    position: absolute;
    left: 320px;
    top: 101px;
    background-color: white;
}

h2.content {
    color: #94c7d7;
    position: absolute;
    left: 550px;
    top: 123px;
    width: auto;
}

.content {
    width: 380px;
    height: 206px;
    position: absolute;
    left: 360px;
    top: 180px;
    overflow: auto;
    overflow-x:visible;
    z-index: 200;
}

.content p, li {
    margin-right: 25px; 
}

.photos {
    background: url('../img/hp-photos.png') no-repeat;
    width: 276px;
    height: 157px;
    position: absolute;
    left: 263px;
    top: 39px;
}

#p-wide {
    background: url('../img/l2-bg.png') no-repeat 11px 11px;
    position: absolute;
    left: 26px;
    top: 60px;
    background-color: white;
    width: 724px;
    height: 343px;
}

#p-wide .content {
    position: absolute;
    left: 16px;
    top: 11px;
    width: 697px;
    height: 318px;
    overflow: auto;
    overflow-x:visible;
}

#p-wide h2 {
    color: #94c7d7;
    margin: 25px 0 1em;
}

#p-wide p, #p-wide h2, #p-wide h3, #p-wide h4, #p-wide ul {
    margin-left: 10px;
}

#p-wide table {
    margin: 0 0 25px 10px;
    width: 655px;
}

#p-wide td {
    text-align: right;
}


#p-wide th.title {
    text-align: center;
}

#p-wide td.title {
    text-align: left;
}

#p-kontakt {
}

#p-kontakt p {
    margin-left: 30px;
}

#p-kontakt p.with-logo {
    background: url('../img/logo-realka.png') no-repeat 150px bottom;
}
