body{
    font-family: Arial;
    font-size: 12px;
    margin: 0 0 5px 0;
    color: #384461;
}

body#starostwo{background: #ffffff url(/gfx/bg.png) repeat-x;}

div#container {margin: 0 auto; width: 979px;}

/*Top, czyli nagłówek strony*/
div#top{
    font-size: 14px;
    border-top: 1px solid #8ca6b2;
    padding: 4px 10px 2px 10px;
}

div#top_l{
    width: 260px;
    float: left;
    line-height: 17px;
    background: url(/gfx/logo_mini.png) no-repeat left center;
    padding-left: 40px;
	color:#172983;
}

div#top_l span{
    font-size: 16px;
}

div#top_r{
    width: 659px;
    float: right;
    text-align: right;
}

div#top_info{font-size: 11px;}
div.button{background: url(/gfx/login_submit.png) no-repeat; text-align: center; width: 76px; line-height: 21px; font-size: 11px; float: right; margin-left: 3px;}
div.long_button {background: url(/gfx/long_button.png) no-repeat 0 -42px; width: 169px;}
div.long_button:hover {background-position: 0 -21px;}
div.blue_button{background-position: 0 0;}
div.red_button{background-position: 0 -21px;}
div.button a:hover{text-decoration: none;}
div.button a{display: block}
div.button:hover {background-position: left -21px;}
div.button_logged{margin-top: 7px;}

/*Mini-button*/
div.button_mini{background: url(/gfx/button_mini.png) no-repeat; width: 25px; margin: 0 0 3px 3px;}
div.button_mini#blue{background-position: 0 -63px}
/*Środek*/
div#content{padding: 5px 0;}
div#content_l{width: 270px; padding-right: 4px; float: left}
div#content_r{width: 705px; float: right}

/* Półokrągłe, białe boxy w treści (div#content_r)*/
div.whitebox_top{height: 3px; background: url(/gfx/bg_right_01.png) no-repeat}
div.whitebox_content{background: url(/gfx/bg_right_02.png) repeat-y; padding: 2px 8px;}
div.whitebox_bottom{height: 3px; background: url(/gfx/bg_right_03.png) repeat-y;}

/* Półokrągłe, niebieskie boxy z menu na głównej stronie*/
div.roundedbox{width: 225px; float: left;}
div.roundedboxtop{background: url(/gfx/bg_roundedboxtop.png); height: 4px;}
div.roundedboxcontent{/*min-height: 190px;*/ background: #eef4f7; padding: 4px;}
div.roundedboxbottom{background: url(/gfx/bg_roundedboxbottom.png); height: 4px;}
div.roundedboxcaption{margin: 0 auto 5px auto; text-align: center; min-height: 32px;}
div.roundedboxcenter{margin: 0 7px;}
div.roundedboxes{margin-bottom: 7px;}

/*Komunikaty*/
/*Alert*/
div.alert{text-align: center; margin: 2px auto;}
div.alerttop{height: 4px; background: url(/gfx/bg_alert_01.png) no-repeat}
div.alertcontent{line-height: 30px; font-size: 12px; background: url(/gfx/bg_alert_02.png) repeat-y; color: #600000}
div.alertcontent span{background: url(/gfx/icon_alert.png) no-repeat left center; padding-left: 14px;}
div.alertbottom{height: 4px; background: url(/gfx/bg_alert_03.png) no-repeat}

div.alertsmalltop{background: url(/gfx/bg_alertsmall_01.png) no-repeat;}
div.alertsmallcontent{line-height: 20px; background: url(/gfx/bg_alertsmall_02.png) repeat-y;}
div.alertsmallbottom{background: url(/gfx/bg_alertsmall_03.png) no-repeat;}
/*Info*/
div.info{text-align: center; margin: 2px auto;}
div.infotop{height: 4px; background: url(/gfx/bg_info_01.png) no-repeat}
div.infocontent{line-height: 30px; font-size: 12px; background: url(/gfx/bg_info_02.png) repeat-y; color: #000060}
div.infocontent span{background: url(/gfx/icon_info.png) no-repeat left center; padding-left: 17px;}
div.infobottom{height: 4px; background: url(/gfx/bg_info_03.png) no-repeat}

div.infosmalltop{background: url(/gfx/bg_infosmall_01.png) no-repeat;}
div.infosmallcontent{line-height: 20px; background: url(/gfx/bg_infosmall_02.png) repeat-y;}
div.infosmallbottom{background: url(/gfx/bg_infosmall_03.png) no-repeat;}
/*---------------------- Właściwa treść strony ----------------------*/
div#site_content{margin: 5px 0;}
div#site_content_sizer{background: url(/gfx/bg_right_02.png) repeat-y}

div.strony{margin-top: 10px;}
div.strony_caption{font-size: 14px; font-weight: bold;}
div.strony_caption span{font-weight: normal; font-size: 11px}
div.strony_entry img{margin-left: 5px}
div.entry{padding-bottom: 10px; overflow: hidden;}
div.user_navi{margin-bottom: 5px;}

div#more_arts{padding-top: 6px; font-size: 14px;}

span#user_details{text-decoration: underline; cursor: pointer;}
span#user_details:hover{text-decoration: none;}
/*---------------------- Właściwa treść strony ----------------------*/

/*Dół strony*/
div#bottommenu{padding-bottom: 5px;}
div#bottommenu_top{height: 3px; background: url(/gfx/bottommenu_01.png) no-repeat}
div#bottommenu_caption{background: url(/gfx/bottommenu_02.png) repeat-y; line-height: 18px; padding: 2px 8px; margin: 0;}
div#bottommenu_boundary{height: 3px; background: url(/gfx/bottommenu_03.png) no-repeat}
div#bottommenu_content{background: url(/gfx/bottommenu_04.png) repeat-y; padding: 6px 0; color: #384461}
div#bottommenu_bottom{height: 3px; background: url(/gfx/bottommenu_05.png) no-repeat}

/*Menu na dole*/
div#bottommenu_content div.entry{padding: 0 8px; width: 234px; float:left; margin: 0;}
div#bottommenu div.entry_middle{padding: 0 25px; float: left; width: 189px}
div#bottommenu p.entry_title{font-weight: bold; margin-bottom: 7px;}

/*Stopka*/
div#footer{text-align: right; color: #647378; margin-bottom: 5px;}
/*Menu po lewej stronie*/
div#menuleft{color: #647378; padding-top: 5px; font-size: 14px;}
div#menuleft a{color: #647378;}

div#menuleft_top{height: 3px; background: url(/gfx/bg_menuleft_01.png) no-repeat}
div#menuleft_content{background: url(/gfx/bg_menuleft_02.png) no-repeat; padding: 8px;}
div#menuleft_content div.list_imitation div{margin-bottom: 10px;}
div#menuleft_sizer{background: url(/gfx/bg_menuleft_03.png) repeat-y}
div#menuleft_more{background: url(/gfx/bg_menuleft_03.png) repeat-y; color: #647378; font-size: 12px; padding: 2px 8px;}
div#menuleft_bottom{height: 3px; background: url(/gfx/bg_menuleft_04.png) no-repeat}

/*Małe podmenu po lewej stronie*/
div.list_imitation div.submenu_items{background: none; font-size: 12px;}
div#menuleft_content div.submenu_items div.submenu_item{margin-bottom: 5px;}
div.list_imitation div.submenu_items:hover a{font-weight: normal}
/*Obrazek w nawigacji*/
div#navi{background: url(/gfx/bg_right_02.png) repeat-y; padding: 0 8px; line-height: 27px;}
div#navi img{margin: 0 5px 0 3px;}
div#navi img#aaa{vertical-align: middle; padding: 7px 0;}
div#navi .aaa {background: url(/gfx/font_sizer.png) no-repeat; background-position: left -28px;}

/*Tabele*/
table.max{width: 100%; border-collapse: collapse;}
table.half{width: 70%; margin: 0 auto 10px auto;}
table td{padding: 2px;}
tr:hover{background: #dff5ff;}
td.akcja{width: 158px;}
td.akcja3{width: 237px;}
td.tytul{font-weight: bold;}
td.data{width: 160px; text-align: center;}
tr.naglowek{text-align: center; font-weight: bold; color: #004091; background: #d2e8ff}
td.id{width: 30px; text-align: center;}

/*Formularz ogólnie*/
form{margin: 0}

input{
    height: 15px;
    width: 97px;
    padding: 3px 2px 3px 3px;
    border: 0;
    background: url(/gfx/short_button.png);
    vertical-align: middle;
    font-size: 11px;
}
input.button {padding: 0; background: url(/gfx/login_submit.png) no-repeat; width: 76px; height: 21px; cursor:pointer}
input.button:hover{background-position: 0 -21px;}
input.long{width: 162px; padding-left: 5px; background: url(/gfx/long_button.png) no-repeat}
input.long:hover, input.long:focus {background-position: 0 -21px;}
input.error, select.error{background-position: 0 -42px;}
select{vertical-align: middle;}

/*Formularz dodawania wpisów do katalogu firm/ogłoszeń*/
input.maxlong{background: url(/gfx/button_maxlong.png) no-repeat; width: 684px;}
input.maxlong:hover, input.maxlong:focus, select.category_long:hover, select.category_long:focus{background-position: 0 -21px;}
select.category_long{margin-bottom: 4px; padding: 3px; width: 689px; height: 21px; border: 0; background: url(/gfx/button_maxlong.png); font-size: 11px;}
textarea#tresc{width: 683px; background: url(/gfx/textarea.png) no-repeat; border: 0; margin-bottom: 4px; padding: 3px; height: 243px; font-family: Arial; font-size: 12px;}
textarea#tresc:hover, textarea#tresc:focus{background-position: 0 -249px;}

/*Formularz znajdujący się w treści strony ("in_content")*/
form.in_content div.register_inputs{text-align: right; float: left; width: 300px;}
form.in_content input{margin-bottom: 4px; }
form.in_content input:hover, form.in_content input:focus {background-position: left -21px;}
form.in_content {padding-bottom: 10px;}
input.checkbox{width: auto; margin: 0 2px 2px 10px;}

/*Formularz logowania*/
div.form_label{font-weight:bold; margin-right: 5px; font-size: 12px}
div#login_form, div.form_label{float: right}
div#not_logged{line-height: 21px;}
div#logged{line-height: 34px;}

/* Formularz wyszukiwania i jego pole div*/
div#search_form_top{height: 3px; background: url(/gfx/bg_search_01.png) no-repeat}
div#search_form_bg{background: url(/gfx/bg_search_03.png) repeat-y}
div#search_form_content{padding: 8px; background: url(/gfx/bg_search_02.png) no-repeat; color: #FFFFFF;}
div#search_form_content a{color: #FFFFFF}
div#search_form_bottom{height: 3px; background: url(/gfx/bg_search_04.png) no-repeat}

.optgroup{margin-top: 5px;}

form#search{margin: 8px 0}
select.short{margin: 5px 5px 5px 0; padding: 3px; width: 169px; height: 21px; border: 0; background: url(/gfx/long_button.png); font-size: 11px;}
select.short:hover, select.short:focus{background-position: 0 -21px}

/* Formularz w konfiguracji */
textarea.config{width: 300px; height: 100px; font-family: Arial; font-size: 12px;}

/*Linki do innych stron*/
div#promosites img{margin-right: 5px; border: 0; vertical-align: middle}

/*Stopka*/
div#footer a{color: #647378}

div#logo{height: 140px; overflow: hidden;}
img{border: 0;}

div#logobottom{height: 140px; overflow: hidden;}

/*listy - imitacja listy z powodu innego wyrównania tła listy przez IE*/

div.list_imitation div{
    padding-left: 10px;
    margin-left: 5px;
    background: no-repeat left center
}
div.list_imitation div:hover{background-position: 2px center;}
div.list_imitation div:hover a{font-weight: bold}
div.list_imitation div a{display: block}

div.list_dark div{background-image: url(/gfx/sign_dark.png);}
div.list_light div{background-image: url(/gfx/sign_light.png);}

ul{
    list-style-type: none;
    list-style-position: outside;
    margin: 0;
    padding: 0;
}
li{padding:0;margin: 0 0 0 20px}
ul.sign_dark{list-style-image: url(/gfx/sign_dark.png);}
ul.sign_light{list-style-image: url(/gfx/sign_light.png);}
div#menuleft_content li{margin-bottom: 10px;}

/*Wpisy w katalogu stron lub w ogłoszeniach*/
ul.entry{
    font-size: 13px;
    line-height: 22px;
}

/* Nagłówek główny, zaraz pod navibarem*/
h1, h2, .caption, .caption a{
    font-weight: bold;
    color: #004091;
    font-size: 14px;
    margin: 0 0 10px 0;
}
h2{font-size: 12px;}

/*Pozostałe*/
.both{clear: both;}
.fred{color: #ff0000;}
.fgray{color: gray}
.fleft{float: left}
.fright{float: right}
.f14px{font-size: 14px;}
.tcenter{text-align: center;}
.tleft{text-align: left;}
.tright{text-align: right;}
.bold{font-weight: bold;}
.dnone{display: none;}
.line21{line-height: 21px;}
a{text-decoration: none; color: #384461}
a:hover{text-decoration: underline;}

a.revert{text-decoration: underline}
a.revert:hover{text-decoration: none}

/* Data na stronach z aktualnościami */
div.data{color: #647378;}

/*div.whitebox_content p{margin-bottom: 10px;}*/
p{margin: 5px 0;}
form p{margin: 0;}

hr{margin: 0 0 9px 0;}

/*Google mapka*/
img.google_map{border: 1px solid #004091}

/*poprawka dla xinha*/
div#Dialog12 input{width: auto; height: auto; background: none;}

/*obsługa panelu administratora - dodawanie stron */
div#link_container, div#xinha_container {height: 0; overflow: hidden}
