html { margin: 0; padding: 0;}
body { margin: 0; padding: 0; font-size: 11px; background: #ffffff url('images/bgb.png') left top repeat-x;}

body, p, a, b, i, td, th, caption, legend, label, input, select, textarea { font-family: tahoma, halvetica, arial, verdana, sans;}

p { font-size: 12px; padding-top: 0; padding-bottom: 0; margin: 0;}
table { background: none;}
caption { font-size: 11px;}
td, input, select, textarea { font-size: 11px; padding: 0;}

input {	background: #FFFFFF; }
input, select, textarea { border: 1px solid #808080; padding: 2px;}
img { border: none;}
a { color: #233269; font-family: halvetica, verdana, arial, sans; font-size: 11px; text-decoration: none;}
a:hover { color: #AE2310; text-decoration: underline;}
a:active { color: #233269;}
a:visited { color: #666666;}

td {border: 0px dotted grey;}

input.button {background-color: #b2002f; color: #fff; font-weight: bold; margin-left: 5px; font-size: 10px;}

input.qty { width: 40px; text-align: right; font-weight: bold; padding: 1px;}

fieldset { text-align: right; width: 300px; padding: 10px; margin-bottom: 10px; margin-left: 120px;}
legend { font-weight: bold; font-size: 12px;}
label.form { vertical-align: top; padding-right: 10px; font-size: 12px;}

select.glist { width: 180px; margin-bottom: 10px;}

.err { font-size: 12px; font-weight: bold; text-align: center; margin: 10px; border: 2px solid #b2002f; padding: 5px;}
.msg{ font-size: 12px; font-weight: bold; text-align: center; margin: 10px; border: 2px solid #629E52; padding: 5px;}

#save { font-weight: bold; width: 90px; height: 21px; border: 0; background-image: url(images/save_button.gif); cursor: pointer; }

#cancel { font-weight: bold; width: 90px; height: 21px; border: 0; background-image: url(images/cancel_button.gif); cursor: pointer; }

#main { top: 0px; width: 770px; margin: auto; background: #FFFFFF;
}

#ptop { width: 100%;}

#pcont { width: 770px; background-color: #fff; background-image: url('images/cien_02.gif'); background-position: center top; background-repeat: no-repeat; margin: auto;}
#pcont img { border: 0px dotted red;}

table#qfind { width: 175px; background-color: #d68486; margin-right: 1px;}

#footer { text-align:center; font-family: halvetica, verdana, arial, sans; font-size: 11px;}

#gallery { text-align: center;}
#gallery table { background-color: #000000; width: 600px;}
#gallery td { padding: 10px; background-color: #ffffcc; vertical-align: top;}
#gallery b.name { margin-bottom: 3px; display: block; text-align: center;}
#gallery img { border: 1px solid #000000;}
#gallery div.desc { margin-top: 3px;}
#gallery div.separator1 { border-bottom: 1px solid black; width: 100px; height: 1px; margin-left: 250px;}
#gallery div.separator2 { border-bottom: 1px solid black; width: 200px; height: 1px; margin-left: 200px;}
#gallery div.separator3 { border-bottom: 1px solid black; width: 100px; height: 1px; margin-left: 250px;}

td.leftside {width: 200px; background: #fff url('images/page_8.jpg') 25px top repeat-y; vertical-align: top;}

div.goback { padding-bottom: 10px;}
div.goback a {font-weight: bold;}

div.sidebox {background-color: #fff; padding-bottom: 10px; margin-top: 10px;}
table.sidebox {width: 99%;}
table.sidebox caption { font-weight: bold; background: url('images/list_1.jpg') 10px center no-repeat; padding: 4px 0px 4px 25px; margin: 10px 0 0 0; text-align: left;}
table.sidebox td.topelem {background: url('images/box_2.jpg') right top repeat-x; height: 7px;}
table.sidebox td.leftelem {width: 7px; background: url('images/box_8.jpg') left top repeat-y;}
table.sidebox td.rightelem {width: 7px; background: url('images/box_4.jpg') right top repeat-y;}
table.sidebox td.bottomelem {background: url('images/box_6.jpg') right top repeat-x; height: 7px;}
table.sidebox div.leftbox {float: left; height: 7px; width: 7px;}
table.sidebox div.rightbox {float: right; height: 7px; width: 7px;}

td#pagesep {width: 2px; background: url('images/page_sep.jpg') right top repeat-y; vertical-align: top;}
td#pagebody {vertical-align: top; width: 598px; background: url('images/page_4.jpg') right top repeat-y; padding: 10px;}

table#cartbuttons { text-align: center; margin-top: 10px;}
table#cartbuttons td { padding: 10px;}

table#dlugiform {width: 400px;}
table#dlugiform caption { font-size: 13px; font-weight: bold; color: #70331D; border-bottom: 1px solid #949496;}

table#dlugi {width: 98%; background-color: #a2a2a4;}
table#dlugi th {font-size: 11px; padding: 2px; background-color: #D8C8C4;}
table#dlugi td {padding: 2px 3px 2px 3px;}
table#dlugi td.lp {text-align: right;}
table#dlugi td.data {text-align: center;}
table#dlugi td.wart {text-align: right; width: 100px;}
table#dlugi td.brak { height: 40px; text-align: center; font-weight: bold; font-size: 12px;}
table#dlugi tr {background-color: #fff;}
table#dlugi tr.zapl {background-color: #fff;}
table#dlugi tr.dozapl {background-color: #c05255; font-weight: bold;}
table#dlugi tr.razem {font-weight: bold; font-size: 12px; text-align: right;}

table#orders {width: 98%; background-color: #a2a2a4;}
table#orders th {font-size: 11px; padding: 2px; background-color: #D8C8C4;}
table#orders td {padding: 2px 3px 2px 3px;}
table#orders td.lp {text-align: right;}
table#orders td.data {text-align: center;}
table#orders tr.zamz { background-color: #6BC56B;}
table#orders td.zamz { background-color: #6BC56B;}
table#orders tr.zamzc { background-color: #ffe666;}
table#orders td.zamzc { background-color: #ffe666;}
table#orders tr.zamn { background-color: #ffb366;}
table#orders td.zamn { background-color: #ffb366;}
table#orders tr.zama { background-color: #eb0000;}
table#orders td.zama { background-color: #eb0000;}
table#orders tr.zamp { background-color: #00c7c7;}
table#orders td.zamp { background-color: #00c7c7;}

table#msc_dost { width: 80%;}
table#msc_dost input { width: auto;}
table#msc_dost td.separator { border-bottom: 1px solid #a2a2a4; height: 5px; font-size: 2px;}

div.state {position: absolute; width: 500px; height: 470px; display: none; border: 0px dotted #000; z-index: 100; background-color: #bc7d89; padding: 10px;}
div.state div {width: 100%; height: 100%; background-color: #fff; background-repeat: no-repeat; background-position: right top;}
div.state table {width: 400px; height: 400px; border: 0px dotted #000;}
div.state td {padding: 20px; color: #000; font-weight: bold; font-size: 11px; vertical-align: bottom;}

#cp { width: 100%;}
#cp .textfield { width: 250px;}
#cp .textbox { width: 250px; height: 50px;}
#cp .msg { width: 50%; padding: 5px; border: 1px solid #000000; font-weight: bold; font-size: 12px; text-align: center; background-color: #ccff99; color: #990000;}
#cp .err { width: 50%; padding: 5px; border: 1px solid #000000; font-weight: bold; font-size: 12px; text-align: center; background-color: #FFC8C0; color: #990000;}
#cp .no { width: 60px; padding: 0 0 0 20px; background-image: url(images/no.gif); background-repeat: no-repeat; background-position: center left;}
#cp .yes { width: 60px; padding: 0 0 0 20px; background-image: url(images/yes.gif); background-repeat: no-repeat; background-position: center left;}
#cp .new { text-align: center; padding: 5px; font-size: 12px;}
#cp .help { font-size: 10px; font-weight: normal; display: none; border: 1px solid #000000; width: 200px; position: absolute; background-color: #ffffff; padding: 5px; text-align: left; z-index: 50;}
#cp .center { text-align: center;}


#cp #adminlogon { background-color: #000;}
#cp #adminlogon caption { font-size: 12px; font-weight: bold; color: #fff; background-color: #999966; padding: 5px; margin-top: 50px;}
#cp #adminlogon th { font-size: 11px; background-color: #ffffcc; padding: 3px;}
#cp #adminlogon td { font-size: 11px; background-color: #ffffcc; padding: 3px;}

#cp #lauthors { background-color: #000;}
#cp #lauthors caption { font-size: 12px; font-weight: bold; color: #fff; background-color: #999966; padding: 5px;}
#cp #lauthors th { font-size: 11px; background-color: #ffffcc; padding: 3px;}
#cp #lauthors td { font-size: 11px; background-color: #ffffcc; padding: 3px;}
#cp #lauthors a { padding: 0 5px 0 5px;}
#cp #lauthors .lp { text-align: right;}
#cp #lauthors .name { text-align: center;}
#cp #lauthors .email { text-align: center;}
#cp #lauthors .info { text-align: center;}

#cp #lblocks { background-color: #000;}
#cp #lblocks caption { font-size: 12px; font-weight: bold; color: #fff; background-color: #999966; padding: 5px;}
#cp #lblocks th { font-size: 11px; background-color: #ffffcc; padding: 3px;}
#cp #lblocks td { font-size: 11px; background-color: #ffffcc; padding: 3px;}
#cp #lblocks a { padding: 0 5px 0 5px;}
#cp #lblocks .lp { text-align: right;}
#cp #lblocks .pos { text-align: center;}
#cp #lblocks .info { text-align: center;}

#cp #lmenu { background-color: #000;}
#cp #lmenu caption { font-size: 12px; font-weight: bold; color: #fff; background-color: #999966; padding: 5px;}
#cp #lmenu th { font-size: 11px; background-color: #ffffcc; padding: 3px;}
#cp #lmenu td { font-size: 11px; background-color: #ffffcc; padding: 3px;}
#cp #lmenu a { padding: 0 5px 0 5px;}
#cp #lmenu .lp { text-align: right;}
#cp #lmenu .pos { text-align: center;}
#cp #lmenu .info { text-align: center;}

#cp #lgallery { background-color: #000;}
#cp #lgallery caption { font-size: 12px; font-weight: bold; color: #fff; background-color: #999966; padding: 5px;}
#cp #lgallery th { font-size: 11px; background-color: #ffffcc; padding: 3px;}
#cp #lgallery td { font-size: 11px; background-color: #ffffcc; padding: 3px;}
#cp #lgallery a { padding: 0 5px 0 5px;}
#cp #lgallery .lp { text-align: right;}
#cp #lgallery .pos { text-align: center;}
#cp #lgallery .info { text-align: center;}

#cp #adminmenu { width: 100%; text-align: center; font-size: 12px; margin-bottom: 20px;}
#cp #adminmenu caption { font-size: 12px; font-weight: bold; color: #fff; background-color: #666633; padding: 5px;}
#cp #adminmenu a { color: #000000;}
#cp #adminmenu td { padding: 5px;}
#cp #adminmenu .option_0 { font-weight: normal; background-color: #99cc99;}
#cp #adminmenu .option_1 { font-weight: bold; color: #fff; background-color: #666633; text-decoration: underline;}
#cp #adminmenu .logout { font-weight: normal; color: #fff; background-color: #99cc99;}

#cp #parametry { background-color: #000;}
#cp #parametry caption { font-size: 12px; font-weight: bold; color: #fff; background-color: #999966; padding: 5px;}
#cp #parametry th { font-size: 11px; background-color: #ffffcc; padding: 3px;}
#cp #parametry td { font-size: 11px; background-color: #ffffcc; padding: 3px;}
#cp #parametry a { padding: 0 5px 0 5px;}
#cp #parametry .lp { text-align: right;}
#cp #parametry .info { text-align: center;}

#cp #strony { background-color: #000;}
#cp #strony caption { font-size: 12px; font-weight: bold; color: #fff; background-color: #999966; padding: 5px;}
#cp #strony th { font-size: 11px; background-color: #ffffcc; padding: 3px;}
#cp #strony td { font-size: 11px; background-color: #ffffcc; padding: 3px;}
#cp #strony a { padding: 0 5px 0 5px;}
#cp #strony .lp { text-align: right;}
#cp #strony .info { text-align: center;}
