body {
    padding: 0;
    margin: 0;
    color:#ffffff;
    background-color: #444343;
    font-family: Verdana,Arial,Helvetica,sans-serif;
}
img {
    border:none;
}
p,form,ul,ol,li,h1,h2,h3 {
    margin:0;
    padding:0;
}
table {
    width: 100%;
}
th,td {
    vertical-align: top;
}
th {
    text-align: right;
}

#bg-obalka {
    margin: 0 auto 0 auto;
    width: 980px;
}

#trainz-logo {
    float:left;
}

#prepni_jazyk {
    float:right;
    position: relative;
    top:41px;
    left: -6px;
}

#hlavni-zahlavi {
    float:left;
    width: 100%;
    height: 148px;
    background-image: url(../images/hlavni_zahlavi.png);
}

a.btnCW {
    float:left;
    left: 12px;
    top: 17px;
    text-indent: -9999px;
    position: relative;
    width: 45px;
    height: 45px;
    background-image: url(../images/btnCW_N.png);
}
a.btnCW:hover {
    background-image: url(../images/btnCW_H.png);
}

#hlavni-menu {
    float:left;
    position: relative;
    top: 44px;
    left: 12px;
    width: 100%;
}
#hlavni-menu li {
    float:left;
    list-style: none;
}
#hlavni-menu a {
    float:left;
    margin-right: 12px;
    padding-top: 10px;
    width: 150px;
    height: 30px;
    color: #ff9900;
    text-decoration: none;
    text-align:center;
    font-weight: bold;
    background-image: url(../images/btnMENU_N.png);
}
#hlavni-menu a:hover {
    color:yellow;
    background-image: url(../images/btnMENU_H.png);
}

#obsah-stranky {
    float:left;
    padding-bottom: 16px;
    width: 100%;
    background-color:#808080;
    background-image: url(../images/bgOBALKA.png);
}

#hlavni-zapati {
    float:left;
    margin-bottom: 10px;
    width:100%;
    height: 76px;
    background-image: url(../images/hlavni_zapati.png);
    font-size: 0.7em;
    font-family: Verdana,Arial,Helvetica,sans-serif;
    text-align: center;
}
#hlavni-zapati p {
    margin:0;
    padding: 23px;
}
#hlavni-zapati a {
    color:#000000;
}
#hlavni-zapati a:hover {
    text-decoration: none;
    background-color: #ffffff;
}

div.box-novinky {
    float:left;
    position: relative;
    margin: 16px 0 0 16px;
    width:465px;
    height: 418px;
    background-image: url(../images/boxNOVINKY.png);
}
div.box-novinky h2 {
    color:#ff9900;
    margin-top:11px;
    font-size: 1.1em;
    text-align: center;
    text-transform: uppercase;
}
div.box-novinky iframe {
    margin: 16px 0 0 20px;
    width: 424px;
    height: 346px;
}

.vypis {
    margin: 15px 15px 0 15px;
    color:black;
    background-color: #ececec;
    font-size: 0.8em;
}
.vypis a {
    color: #0066cc;
    text-decoration: none;
}
.vypis a:hover {
    text-decoration: underline;
}
.vypis form {
    background-color: #cccccc;
}
.vypis h2 {
    padding: 10px;
    font-size: 1.5em;
    color: #006600;
    text-align: right;
    text-transform: uppercase;
}

table.vypis-tabulka th {
    background-color: #cccccc;
}
table.vypis-tabulka td {
    border-bottom: 1px solid silver;
}
table.vypis-tabulka span {
    font-weight: bold;
    font-style: italic;
}
table.vypis-inside {
    font-size: 0.8em;
}
table.vypis-inside th {
    background-color: transparent;
    font-weight: lighter;
}
table.vypis-inside td {
    border: none;
    font-weight: bold;
}

div.vypis-strankovani {
    padding: 6px 6px 6px 0;
    text-align: right;
}

/* galerie */
.galerie-pozadi {
    float:left;
    padding:2px 2px 2px 4px;
    margin:15px 0 0 15px;
    background-color:#ececec;
    width:944px;
}
.galerie-pozadi h2 {
    float:right;
    padding: 8px;
    font-size: 1.2em;
    color: #006600;
    text-transform: uppercase;
}
.galerie-pozadi a {
    color:#0066cc;
    font-weight: bold;
    text-decoration: none;
}
.galerie-pozadi a:hover {
    text-decoration: underline;
}
.galerie-navigace {
    float:left;
    margin: 14px 0 9px 5px;
    color:black;
    font-size: 0.8em;
}

.galerie-obrazek {
    float:left;
    padding-top:4px;
}
.galerie-obrazek img {
    width:800px;
    padding:2px;
}
.galerie-obrazek img:hover {
    background-color: #0066cc;
}
.galerie-obrazek-popis {
    color: black;
    padding: 0 4px 4px 4px;
    font-size: 0.8em;
}

.galerie-nahledy {
    float: right;
    overflow: auto;
    position: relative;
    padding: 2px;
    width: 134px;
    height: 616px;
    background-color: #ececec;
    border-top: 2px solid #ececec;
    border-bottom: 2px solid #ececec;
    border-right: 2px solid #ececec;
}
.galerie-nahledy img {
    width:112px;
    padding:2px;
}
.galerie-nahledy img:hover {
    background-color: #0066cc;
}
