/* default styles */

.tac        { text-align: center !important; }
.tal        { text-align: left !important; }
.tar        { text-align: right !important; }
.taj        { text-align: justify !important; }
.nb, .nb td { border: none !important; }
.fl         { float: left; }
.fr         { float: right; }
.fx:after   { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
.fx         { zoom: 1; }

/* layout styles */

body {
    background-color: #660000;
    font-family: Verdana, sans-serif;
    font-size: 10pt;
    margin: auto;
    overflow: auto;
}

html, body {
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

#fresk-bg {
    background: #660000 url(../img/bg-fresk.jpg) no-repeat top center fixed;
    z-index: -100;
    position: fixed; left: 0; right: 0;
    top: 0; bottom: 0;
}

#book-bg {
    background: transparent url(../img/bg-book.png) repeat-y bottom center;
    z-index: -20;
    position: fixed; left: 0; right: 0;
    top: 0; bottom: 35px;
}

#book {
    background: transparent url(../img/bg-book.jpg) repeat-y bottom center;
    z-index: -10;
    position: fixed; left: 0; right: 0;
    top: 0; bottom: 35px;
}

#shadow {
    background: transparent url(../img/footer_fade.png) no-repeat bottom center;
    z-index: 10;
    position: fixed; left: 0; right: 0;
    bottom: 35px;
    height: 45px;
}

#buttons-wrapper {
    position: fixed; left: 0; right: 0;
    text-align: center;
    z-index: 1;
}

#kontakt {
    width: 1030px;
    margin: 0px auto;
    margin-top: 10px;
    text-align: left;
}

#jezyki {
    width: 1015px;
    margin: 0px auto;
    text-align: right;
}

#wrapper {
    width: 938px;
    margin: 0 auto;
}

#container {
    position: absolute;
    z-index: 10;
    width: 938px;
    padding-bottom: 30px;
}

#header {
    height: 253px;
}

#head-flash {
    position: absolute;
    top: 0;
    z-index:-10;
}

#newsletter {
    float: left;
    margin-top: 1em;
    width: 100px;
    text-align: center;
}

#search-form {
    padding: 8px 0;
    margin-left: 120px;
}

#search-txt {
    background: transparent url(../img/bg-szukaj.png) no-repeat center center;
    border: none;
    width: 163px; /* padding */
    height: 12px;
    font-size: 9px;
    padding: 4px 5px;
}
#search-btn {
    border: none;
    border: transparent;
    color: #7f0000;
    font-size: 12px;
}

#page {
    padding: 20px 50px 30px 30px;
    margin-bottom: 5em;
}

#debug {
    border-top: 1px solid #000;
    padding: 1em 0.5em 2em 0.5em;
}

#footer {
    background: transparent url(../img/bg-footer.png) no-repeat top center;
    z-index: 100;
    height: 35px;
    position: fixed; left: 0; right: 0; bottom: 0;
    padding-left: 700px;
    text-align: center;
}
#footer, #footer a {
    line-height: 35px;
    font-size: 11px;
    color: #999;
}
#footer img {
    vertical-align: middle;
}

#left {
    float: left;
    width: 185px;
}
#page { margin-left: 190px; }

#right {
    float: right;
    width: 180px;
    padding: 10px;
    border-left: 1px solid #999999;
}
#page.right { margin-right: 170px; }
#right a img {
    margin: 5px;
}

ul#menu {
    margin: 25px 0 30px 10px;
}
ul#menu ul li {
    padding-left: 20px;
    border-top: 1px solid #999999;
    border-bottom: none;
}
ul#menu li {
    border-bottom: 1px solid #999999;
}
ul#menu a {
    padding: 7px 0;
    display: block;
    padding-left: 20px;
    background: transparent url(../img/cross-off.png) no-repeat center left;
    font-size: 10pt;
    color: black;
}
ul#menu a:hover {
    background: transparent url(../img/cross-on.png) no-repeat center left;
    font-weight: bolder;
}


div.news {

}
a.czytaj {
    display: block;
    text-align: right;
}

div.error {
    padding: 1em 25px;
    margin: 1em;
    border: 1px solid #f00;
    background: #fdd url(../img/error.png) no-repeat 5px center;
}

div.info {
    padding: 1em 25px;
    margin: 1em;
    border: 1px solid #aaf;
    background: #bbf url(../img/info.png) no-repeat 5px center;
}

div.debug {
    padding: 1em 25px;
    margin: 1em;
    background: #fff url(../img/debug.png) no-repeat 5px center;
}

.cms-menu {
    margin-bottom: 1.5em;
}
.cms-menu ul li {
    display: inline-block;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    margin: 0.5em 0.05em;
    padding: 0 0.25em;
}
.cms-menu ul li { *display: inline; }

.cms-blok-nazwa { margin-top: 2em; }

.news      { margin-bottom: 2em; }
.news-data { color: #888; }

form div.form             { padding-left: 150px; margin-bottom: 0.5em; }
form div.form label       { margin-left: -150px; width: 140px; float: left; }
form.formularz input.text           { width: 30em; }
form.formularz textarea             { width: 30em; height: 8em; }

#forum-panel {
    margin-bottom: 1.5em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid #aaf;
}
#panel-menu li {
    display: inline;
    border-left: 1px solid #aaf;
    border-right: 1px solid #aaf;
    margin: 0 0.05em;
    padding: 0 0.25em;
}

div.galeria-albumy h3 { margin-bottom: 2em; }
div.galeria-album     { margin-bottom: 1.5em; }
div.album-zdjecia     { }
div.album-zdjecie {
    display: inline-block;
    width: 19%;
    height: 120px;
}
div.album-zdjecie { *display: inline; }
div.album-zdjecie a.colorbox img { border: 1px solid #fff; background: #ddd; padding: 4px; }


div.forum-kategoria     { }
div.forum-kategoria h3  { padding-left: 20px; background: transparent url(../img/cross-on.png) no-repeat center left; }
div.kategoria-fora      { padding-left: 0px; border-bottom: 1px solid #999; }

table.forum-tematy th           { padding: 0.25em 1.00em !important; border-bottom: 1px dotted #666; text-align: center; vertical-align: middle; font-weight: bold; }
table.forum-tematy td           { padding: 0.20em 0.50em !important; border-bottom: 1px dotted #666; }
table.forum-tematy img			{ vertical-align: middle !important; border: none !important; }

table.forum-temat               { width: 100%; }
tr.forum-post                   { }
tr.forum-post td                { padding-bottom: 2em; border-bottom: 1px dotted #666; padding-top: 5px; }
td.forum-post-autor             { padding-right:2em; white-space:nowrap; }

form.forum-nowy input.text           { width: 99%; }
form.forum-nowy textarea             { width: 99%; height: 8em; }

ul.newsletter-listy {
    margin: 1em;
}
ul.newsletter-listy li {
    margin: 1em 0;
}


