/* common */
html, body { height:100%; width:100%; }
body { background:#FFFFFF; }
body, div, table, td { margin:0px; padding:0px;	font-family:'Arial','Verdana','Tahoma', sans-serif; color:#323232; font-size:11px; }

a, a:active, a:visited, a:hover { text-decoration:none; color:#231f20; }
a:hover { color:#FFFFFF; background-color:#323232; }
img { border:0px; }
.clearer {clear:both; height:1px; }

/* layout */
div#wrapper { width:965px; margin-top:20px; margin-left:auto; margin-right:auto; }
div#header {height:120px; font-size:11px; }
a.link_arrow {background:url(/images/mini_arrow.gif) 0px 2px no-repeat; padding-left:12px; }
a.link_arrow:hover {background:url(/images/mini_arrow_inv.gif) 0px 2px no-repeat; background-color:#323232; color:#FFFFFF; }
a.link_download {background:url(/images/mini_download.gif) 0px 0px no-repeat; line-height:15px; padding-left:18px; }
a.link_download:hover {background:url(/images/mini_download_inv.gif) 0px 0px no-repeat; background-color:#323232; color:#FFFFFF; }
div.info {display:block; height:17px; background:url(/images/mini_info.gif) 0px 0px no-repeat; padding-left:20px; padding-top:1px; }
div.calendar {display:block; border-top:2px solid #444444; font-weight:bold; height:17px; width:100px; background:url(/images/mini_calendar.gif) 0px 2px no-repeat; padding-left:22px; padding-top:3px; padding-bottom:5px; }
div.minipost p { padding:0px; margin:0px; }
table#login_status tr td { vertical-align:middle; padding:0px 5px; }
div#content { min-height:500px; font-size:12px; line-height:1.5;}
div#footer { display:block; padding-top:5px; border-top:2px solid #b4b4b4; width:460px; font-size:10px; color:#b4b4b4; line-height:1.5; }
div#footer img { padding:10px; }

a.button {display:block; width:70px; height:20px; background-position: 0px 20px;}
a.button:hover {background-position: 0px 0px}
a.b_zalogujsie { background-image:url(/images/menu/button_zalogujsie.gif) }
a.b_wylogujsie { background-image:url(/images/menu/button_wylogujsie.gif) }
a.b_zalozkonto { background-image:url(/images/menu/button_zalozkonto.gif) }
a.b_panel { background-image:url(/images/menu/button_panel.gif) }
a.menubutton {display:block; width:119px; height:30px; background-position: 0px 0px; margin-right:2px; float:left;}
a.menubutton:hover, a.active {background-position: 0px 30px}
a.b_stronaglowna { background-image:url(/images/menu/button_stronaglowna.gif) }
a.b_oprojekcie { background-image:url(/images/menu/button_oprojekcie.gif) }
a.b_linki { background-image:url(/images/menu/button_linki.gif) }
a.b_kontakt { background-image:url(/images/menu/button_kontakt.gif) }
a.b_debaty { background-image:url(/images/menu/button_debaty.gif) }
a.b_forum { background-image:url(/images/menu/button_forum.gif) }

div.title { display:block; width:200px; margin-bottom:10px;padding-bottom:9px; font-weight:bold; font-size:15px; background:url(/images/border_title.gif) left bottom repeat-x }
div.bigtitle { display:block; width:320px; margin-bottom:10px;padding-bottom:9px; font-weight:bold; font-size:20px; background:url(/images/border_title.gif) left bottom repeat-x }
div.debata { background:url(/images/numbers/1.gif) left top no-repeat; padding:0px 0px 10px 40px; margin: 15px 0px; }
div.debata div.temat, td.temat { font-size:16px; }
div.debata a.link_download, div.debata a.link_arrow { margin:0px 5px; padding-top:1px; }

div.post_header { border-top:2px solid #989898; margin-top:15px; }
div.post_data { display:block; padding:5px; float:left; background-color:#ffdc00; color:#323232; }
div.post_preview_header { border-top:2px solid #989898; padding:5px; background-color:#ffdc00; font-weight:bold; text-align:center; color:#323232; }
div#post_new { text-align:center; }

div.guziki { display:block; text-align:center; padding:20px 0px;}
div.guziki a { padding:8px; margin:0px 20px; background-color:#ffdc00; border:1px solid #323232; font-weight:bold; }
div.guziki a:hover { background-color:#323232; color:#FFFFFF; }

div.guziki_inv { display:block; text-align:center; padding:10px 0px;}
div.guziki_inv a { padding:8px; margin:0px 20px; font-weight:bold; background-color:#323232; color:#FFFFFF; }
div.guziki_inv a:hover { background-color:#FFFFFF; color:#323232; }

/* forum */
td.temat { background:url(/images/kropa.gif) left center no-repeat; padding-left: 25px; height:30px; }
tr.temat_details td { border-bottom:2px solid #989898; }

/* home */
div.column { display:block; float:left; width:310px; padding:5px; }

/* pageText */
div.editable { border:1px solid red; }

/* error */
.error_message {color:gray; font-size:10px;}

/* pager */
div.pager_div { display:block; padding:10px 0px;}
ul.pager { margin:10px 0px 0px 0px; padding: 0; list-style: none; text-align:right; }
ul.pager li { margin:0; padding:0; list-style: none; display:inline; }
ul.pager li a { padding:4px; border:1px solid gray; background:#ffdc00; }
ul.pager li.active a { padding:4px; border:1px solid gray; background:#323232; color:#FFFFFF; }
ul.pager li a:hover { background:#323232; color:#FFFFFF; }

/* parsed (markdown or textile) */
.parsed table { border-collapse: collapse; border:1px solid gray; }
.parsed td, .parsed th { border:1px dotted gray; padding:2px; }
.parsed table thead td { font-weight:bold; }
.parsed a { text-decoration:underline }
.parsed a:hover, .parsed a.link_arrow { text-decoration:none }
.parsed h1 { font-family: Georgia; font-size: 20pt; color:#005a9d; font-weight:normal; }
.parsed h2 { font-family: Georgia; font-size: 16pt; color:#005a9d; font-weight:normal; }

div.quote { display:block; margin:10px; padding:5px; font-style:oblique; border:1px solid #ffdc00; }

/* gallery */
div#wrapper div#content a.photoframe, #wrapper #content a.photoframe:active, #wrapper #content a.photoframe:visited, #wrapper #content a.photoframe:hover { text-decoration:none; border:none; background:none; }
a.photoframe img { margin:5px; }
a.photoframe:hover img { margin:3px; border:2px solid yellow; }

/* forms */
input {border: 1px solid gray;}
textarea { width:95%; height:500px; white-space: nowrap; }
.form_error_field input {border: 1px solid #FF0000;}
.form_errors {text-align:center; font-size:10px; color:#FF0000;}

/* admin */
table.admin { margin-left:auto; margin-right:auto; border:1px solid #666666; border-collapse:collapse; border-spacing:0px; }
table.admin tr td { border:1px dotted #BBBBBB; padding:3px; }
table.admin tr.header td { font-weight:bold; }

#admin_header { background:url(/images/admin/layout_header_back.png) repeat-x bottom; }
#admin_header #admin_menu { margin-top:7px; }
#admin_header #admin_menu tr td { width:90px; text-align:center; border:1px solid #acbedf; border-bottom:1px solid #acbedf; background:#acbedf; }
#admin_header #admin_menu tr td.TabOn { width:90px; border-bottom:1px solid #ffffff; background:#ffffff; }
#admin_header #admin_menu tr td.TabDisabled { background:#cccccc; color:#555555; }
#admin_header #admin_menu tr td.filler { border:none; background:none; border-bottom:1px solid #acbedf; width:auto; }
#admin_header #admin_menu tr td.divider { border:none; background:none; border-bottom:1px solid #acbedf; width:5px; }
#admin_header #admin_menu tr td a { color:#555555; padding:5px 0px; float:left; width:90px; display:block; text-decoration:none; background:none; }
#admin_header #admin_menu tr td a:hover{ background:#ffffff; }

/* links */
a.edit {line-height:20px; padding:2px 0px 2px 20px; color:#0066CC; background:url(/images/link_edit.png) 1px no-repeat;}
a.edit:hover {text-decoration:underline; }
a.delete {line-height:20px; padding:2px 0px 2px 20px; color:#0066CC; background:url(/images/link_no.png) 1px no-repeat;}
a.delete:hover {text-decoration:underline; }
a.new {line-height:20px; padding:2px 0px 2px 20px; color:#0066CC; background:url(/images/link_add.png) 1px no-repeat;}
a.new:hover {text-decoration:underline; }
a.ok {line-height:20px; padding:2px 0px 2px 20px; color:#0066CC; background:url(/images/link_ok.png) 1px no-repeat;}
a.ok:hover {text-decoration:underline; }
a.doc, a.doc:active, a.doc:visited, a.doc:hover {line-height:20px; padding:2px 0px 2px 10px; color:#323232; background:url(/images/ico_pobierz.gif) 1px no-repeat;}
a.doc:hover {text-decoration:underline; }

a.link_login {line-height:20px; padding:2px 0px 2px 20px; color:#0066CC; background:url(/images/link_login.png) 1px no-repeat; font-weight:bold;}
a.link_login:hover {text-decoration:underline; color:#0066CC; }

a.logout {line-height:20px; padding:2px 0px 2px 20px; color:#BBBBBB; background:url(/images/lock.png) 1px no-repeat; font-weight:bold;}
a.logout:hover {color:#10B8DE; }
a.upper_admin {line-height:20px; padding:2px 0px 2px 20px; color:#BBBBBB; background:url(/images/ico_settings.png) 1px no-repeat; font-weight:bold;}
a.upper_admin:hover {color:#10B8DE; }

a.log {line-height:20px; padding:2px 0px 2px 20px; color:#0066CC; background:url(/images/link_log.png) 1px no-repeat;}
a.log:hover {text-decoration:underline; }

a.geocode, a.geocode:active, a.geocode:visited, a.geocode:hover {padding:3px 0px 3px 20px; color:#0066CC; background:url(/images/ico_world.png) 1px 3px no-repeat;}
a.geocode:hover {text-decoration:underline; }
a.new_user, a.new_user:active, a.new_user:visited, a.new_user:hover {padding:3px 0px 3px 20px; color:#0066CC; background:url(/images/ico_user_add.png) 1px 3px no-repeat;}
a.new_user:hover {text-decoration:underline; }

/* flash */
.flash 			{background-color:#ffdc00; width:100%; margin-top:0px; padding:5px 0px; text-align:center; font-size:12px; font-weight:bold; color:#323232;}
.flash_error 	{background-color:#FF0000; width:100%; margin-top:0px; padding:5px 0px; text-align:center; font-size:12px; font-weight:bold; color:#FFFFFF;}

/* sortables */
table tr td span.sort_handle{ cursor:pointer; }
table tr td img.sortable_item{ cursor:pointer; }

/* document */
table.document_list {margin-left:auto; margin-right:auto; border:0px; border-collapse:collapse; width:340px;}
table.document_list td{text-align:left; border-top:1px dotted #BBBBBB; border-bottom:1px dotted #BBBBBB; border-left:0px; border-right:0px; padding:10px 3px;}
table.document_list td.document_icon{width:40px; text-align:center;}
table.document_list td div.details{font-size:11px; color:#555555; font-style:italic;}
table.document_list td a {font-weight:bold;}

/* logs */
tr.log_error td { background-color:#FFCCCC;}

/* misc */
div.tag { display:inline; line-height:20px; padding:2px 0px 2px 17px; font-size:10px; color:gray; background:url(/images/tag_blue.png) no-repeat;}
.details {font-size:11px; color:#555555; font-style:italic;}

/* links */
div.links_list {width:400px; margin-left:auto; margin-right:auto; border-top:1px dotted #BBBBBB; padding:10px 3px;}
div.links_list div.details {font-size:11px; color:#555555; font-style:italic;}
div.links_list a {font-weight:bold;}

/* tooltips */
a.tooltip { position: relative; }
a.tooltip span { display: none; position: absolute; top: 20px; left: -10px; width: 200px; padding: 5px; z-index: 100; background: #10B8DE; color: #fff; -moz-border-radius: 5px; /* this works only in camino/firefox */ -webkit-border-radius: 5px; /* this is just for Safari */ }
a:hover.tooltip { font-size: 99%; /* this is just for IE */ }
a:hover.tooltip span { display: block; text-align:left; }