* {
    margin: 0;
    padding: 0;
}

body {
    color: #444;
    font: 10pt Arial, Helvetica, Geneva, Sans-serif;
    background: #eee;
}

a {
    color: #65a9cc;
    text-decoration: none;
}

img {
    border: 0;
}

ul.list {
    margin-left: 30px;
    list-style-type: decimal;
}

ul.list_square {
    margin-left: 20px;
    list-style-type: square;
}

#w {
    margin: 0 auto;
    padding: 2px;
    width: 1000px;
    border: 1px solid #d8d8c7;
    background: #fff;
}

#h {
    height: 200px;
    background: url(/files/img/logo.jpg) no-repeat left top;
}

#n {
    padding: 0 5px;
    height: 30px;
    color: #fff;
    list-style-type: none;
    overflow: hidden;
    z-index: 100;
    background: url(/files/img/bar.jpg) repeat-x left top;
}

#n li {
    list-style-type: none;
    float: left;
}

#n li a {
    display: block;
    padding: 8px;
    height: 14px;
    color: #fff;
    outline: 0;
    text-decoration: none;
}

#n li li a {
    width: 200px;
    color: #444;
    padding: 6px 12px;
}

#n li li:hover {
    background: #e9e9e9;
}

#n li ul {
    overflow: hidden;
    display:none;
}

#n li:hover ul {
    position: absolute;
    background: #fff;
    border: 1px solid #666;
    display: block;
    width: 200px;
    z-index: 100;
}

#b {
    text-align: center;
}

#b .b {
    padding-top: 5px;
}

#b .b a {
    outline: 0;
}

#b .b img {
    padding: 2px;
    border: 1px solid #d8d8c7;
}

#s {
    margin: 0 3px;
    padding-top: 5px;
    width: 293px;
    float: left;
    overflow: hidden;
}

#s .banner {
    margin-bottom: 5px;
}

#s .b {
    margin-bottom: 5px;
    padding: 2px;
    border: 1px solid #d8d8c7;
}

#s .b div.t {
    padding: 0 10px;
    height: 25px;
    color: #fff;
    line-height: 23px;
    background: url(/files/img/bar.jpg) repeat-x left top;
}

#s .b div.t a {
    color: #fff;
}

#s .b div.c {
    padding: 2px;
}

#s .b div.f {
    margin: 0 5px;
    font-style: italic;
    text-align: right;
}


/* MODUŁ SUBMENU */

#s .submenu {
    margin-bottom: 5px;
    padding: 2px;
    border: 1px solid #d8d8c7;
}

#s .submenu div.url {
    padding: 0 10px;
    height: 25px;
    line-height: 23px;
    background: url(/files/img/bar.jpg) repeat-x left top;
}

#s .submenu div.url a {
    color: #fff;
    display: block;
    outline: 0;
}
/* KONIEC MODUŁU SUBMENU */


#c {
    margin: 5px 4px 35px 4px;
    width: 692px;
    float: left;
    text-align: justify;
}

#c .i {
    margin-bottom: 5px;
    padding: 4px 2px;
    border-bottom: 1px solid #d8d8c7;
}

#c .i p {
    float: left;
    overflow: hidden;
}

#c .i p a,
#c .i div a {
    color: #333;
}

#c .i div {
    font-style: italic;
    text-align: right;
}

#c .message {
    padding: 10px 0;
    text-align: center;
    clear: both;
}

#c .gallery {
    margin: 10px auto;
    width: 620px;
}

#c .gallery a {
    margin: 7px;
    width: 140px;
    height: 100px;
    text-align: center;
    float: left;
}

#c .gallery a img {
    padding: 2px;
    border: 1px solid #d8d8c7;
    background: #fff;
}

#c .image {
    margin: 10px 0;
    text-align: center;
}

#c .image img {
    padding: 2px;
    border: 1px solid #d8d8c7;
}

#c .image div {
    margin: 3px 0;
    text-align: left;
}

#c .files {
    margin: 10px auto;
    padding: 1px;
    width: 98%;
    border: 1px solid #d8d8c7;
}

#c .files .color {
    background: #dcebfe;
}

#c .files thead {
    background: url(/files/img/bar.jpg) repeat-x left top;
}

#c .files thead th {
    padding: 2px 5px;
    color: #fff;
}

#c .files tbody td {
    padding: 2px 5px;
}


/* MODUŁ MAX GALERIA */
#c .gbox {
    padding: 5px;
    min-height: 105px;
    clear: both;
    border-bottom: 1px solid #d8d8c7;
}

#c .gbox p {
    margin-right: 10px;
    width: 140px;
    text-align: center;
    float: left;
}

#c .gbox p img {
    padding: 2px;
    max-width: 140px;
    max-height: 100px;
    border: 1px solid #d8d8c7;
    background: #fff;
}

#c .gbox h1 {
    margin-bottom: 3px;
    width: 550px;
    font: 12pt Airal;
}

#c .gbox h1 a {
    color: #333;
}

#c .gbox span {
    float: right;
    font-style: italic;
}
/* KONIEC MODUŁ MAX GALERIA */
/* MODUŁ MAX GALERIA DLA PHOTOS */

#c .maxgallery {
    margin: 5px auto;
    width: 620px;
    font-size: 9pt;
}

#c .maxgallery div {
    margin: 8px 5px;
    padding-bottom: 15px;
    width: 140px;
    height: 100px;
    float: left;
}

#c .maxgallery div p {
    text-align: center;
}

#c .maxgallery div p a img {
    padding: 2px;
    border: 1px solid #d8d8c7;
    background: #fff;
}

/* KONIECMODUŁU MAX GALERIA DLA PHOTOS */
/* MODUŁ KONTAKT */

#c .contact {
    margin: 5px auto;
    width: 95%;
    float: left;
}

#c .contact p {
    margin: 3px 0;
}

#c .contact p input,
#c .contact p textarea {
    padding: 2px;
    width: 450px;
    color: #444;
    border: 1px solid #c1c1c1;
    background: url(/files/img/ibg.jpg) repeat-x left bottom;
}

#c .contact p span {
    width: 100px;
    float: left;
}

#c .contact p span img {
    border: 1px solid #d8d8c7;
}

#c .contact div {
    margin-left: 100px;
}

#c .contact div input {
    padding: 1px 10px;
    border: 1px solid #d8d8c7;
    background: url(/files/img/ibg.jpg) repeat-x left bottom;
}
/* KONIEC MODUŁU KONTAKT */
/* MODUŁ KOMENTARZE */

#c a.comment {
    margin: 5px 10px;
    font: 12pt Airal;
    color: #444;
}

#c div.comment {
    margin-top: 5px;
    padding: 10px;
    border: 1px solid #d8d8c7;
    background: #f8f8f8;
}

#c div.comment div.top {
    margin-bottom: 5px;
    height: 20px;
}

#c div.comment span.nick {
    font-weight: bold;
}
/* KONIEC MODUŁU KOMENTARZE */

#c .nav {
    margin-top: 10px;
    clear: both;
    float: left;
}

#c .views {
    margin: 10px 10px 10px 0;
    clear: both;
    float: right;
    color: #aaa;
}

/* MODULE DOWNBLOCK */

#downblock {
    margin: 15px 5px 10px 5px;
    padding: 2px;
    clear: both;
    border: 1px solid #d8d8c7;
}

#downblock .h1 {
    padding: 0 10px;
    height: 30px;
    color: #fff;
    font: 12pt Airal;
    line-height: 30px;
    background: url(/files/img/bar.jpg) repeat-x left top;
}

/* DOWNBLOCK END */

#f {
    padding: 5px 10px;
    clear: both;
}

#f div.right {
    float: right;
}

#f div.right a {
    margin-left: 10px;
    float: left;
    color: #222;
}




/* BOOK */

#c .book {
    margin: 0 auto 10px auto;
    padding: 2px;
    border: 1px solid #d8d8c7;
}

#c .book .top {
    padding: 0 10px;
    height: 30px;
    color: #fff;
    line-height: 30px;
    background: url(/files/img/bar.jpg) repeat-x left top;
}

#c .book .top a {
    color: #fff;
}

#c .book .top img {
    margin-left: 5px;
    padding-top: 7px;
    float: right;
}

#c .book_content {
    padding: 10px;
}

/* BOOK END */
