/* Ogólne style */
* { padding: 0em; margin: 0em; }
body { background: #fff url('../../../common/bg_black.jpg'); font-size: 13px; color: #fff; font-family: 'Verdana','Helvetica',sans-serif; }

a { color: #ffc436; text-decoration: none; }
a:hover { text-decoration: underline; color: #ffc; }
a:visited {  color: #cc9900; }
a img { border: 0; }
small { font-size: 0.8em; }

pre { width: 90%; overflow: auto; color: #000; background-color: #f0f0f0; border: #666 2px solid; margin: 1em; padding: 1em; max-height: 300px; white-space: normal; }

blockquote { background: #252300 /*url('../../../common/bgH4.gif')*/; color: #fff;  border: 1px solid #ffe6ac; margin: 20px 20px 5px; padding: 0px 10px 20px; }
blockquote p { margin-top: 20px; }
blockquote p.author + p { margin-top: 0px; }
blockquote .author { font-weight: bold; position: relative; top: -18px; color: #fff; margin-top: 0px; }

/* TOP */
.skip { text-indent: -100em; position: absolute; top: 0; left: 0; height: 1px; }
#top { width: 100%; height: 40px; text-align: center; line-height: 40px; background: #5a1810 url('../../../common/bg_magenta.gif'); border-bottom: 1px solid #fff; margin-bottom: 170px; }
	#top h1 { text-indent: -100em; background: #5a1810 url('../../../common/bg_magenta.gif'); border: 0 solid #fff; border-width: 0 1px 1px; position: relative; top: 40px; width: 130px; height: 139px; padding-top: 10px; margin-left: 2%; }
		#top h1 a { display: block; width: 100px; height: 129px; background: transparent url("../../../common/logo_jb.png") 0 0 no-repeat; margin: 0 auto; }
	#userLinks { height: 40px; margin: -150px 2% 0 170px; }
		#userLinks li { list-style-type: none; float: left; width: 90px; }
			#userLinks ul li { float: none; width: 160px; height: auto; line-height: 18px; font-size: 12px; text-align: left; }
			#ulLogged ul li { width: 110px; }
/* 		li#ulChat { width: 140px; } */
		li#oldBoards { width: 110px; }
		li#ulPosts { width: 80px; }
		li#ulLogged { min-width: 110px; width: auto; }
		li#ulCalendar { width: 110px; }
		#userLinks li.dropdown:hover ul { display: block; }
			#userLinks ul { display: none; background: #5a1810 url('../../../common/bg_magenta.gif'); border: 0 solid #fff; border-width: 0 1px 1px; position: absolute; margin-left: -25px; z-index: 120; }
			#ulLogged ul { margin: 0; }
			#ulServices ul { margin-left: -35px; }
			#ulPosts ul { margin-left: -40px; }
					#userLinks ul a { padding: 5px 7px; }
					#userLinks ul a:hover { background-color: #5a1810; }
			#userLinks a { display: block; }
			#userLinks li.dropdown strong, #ulCalendar strong, #ulSearch strong { display: block; padding: 0 15px 0 5px; background: transparent url("../gfx/arr_down_white.gif") 100% 18px no-repeat; cursor: pointer; margin: 0 7px; }
			#ulCalendar:hover strong, #ulSearch:hover strong { text-decoration: underline; }
		#ulCalendar, #ulSearch { position: relative; }
/* kalendarz */
#datepickerField { display: none; position: absolute; right: -45px; z-index: 100; border: 1px solid #fff; border-top-width: 0; padding: 5px; background: #5a1810 url('../../../common/bg_magenta.gif'); }
	.datepicker { margin: 0; }
/* wyszukiwarka */
#search { width: 260px; margin: 0 auto; height: 50px; background: #5a1810 url('../../../common/bg_magenta.gif'); border: 0 solid #fff; border-width: 0 1px 1px; display: none; position: absolute; right: -80px; }
	#search div { float: left; height: 30px; margin: 7px 0 0; clear: none; }
		#search input { color: #fff; background-color: #000; border: 1px solid #bbb; padding: 1px 2px; }
	#search .text { width: 170px; }
		#search .text input { color: #ebebeb; padding: 2px; width: 140px; }
		#search .text input:focus { color: #fff; }
	#search .submit { width: 90px; }
		#search .submit input { width: 70px; }
/*
/* linki związane z obsługą forum*
#forumLinks { margin: 0; text-align: right; font-size: 11px; width: 250px; clear: both; float: right; z-index: 100; }
#forumLinks ul { margin: 0 1em 0.5em auto;}
#forumLinks li { list-style-type: none; line-height: 1.3em; }*/

/* stopka */
#footer { clear: both; width: 100%; background: #000 url('../../../common/bg_black.jpg'); text-align: center; font-size: 0.8em; height: 60px; padding-top: 30px; color: #888484; }
#footer a { color: #c1a665; }
#valid, #rights { font-size: 0.8em; }
/* bannery google */
#googleAd { position: absolute; top: 0px; left: 0; width: 95%; margin: 0 auto; }
#googleAd td { width: 50%; vertical-align: middle; text-align: center; }
/* Nawigacje */
#navigation_top, #navigation_bottom { font-weight: bold; font-size: 11px; color: #ffc436; clear: both; }
#navigation_top { margin: 0.5em 3%; }
#navigation_bottom { margin-left: 3%; margin-top: 5px; }

/* treść */
#content { background-image: url('../../../common/bg_brown.jpg'); margin: 0 2%; padding: 1% 0; border: 1px solid #6e3b24; clear: both; overflow: hidden;}

/* linki do kolejnych stron */
.pagination { float: right; overflow: hidden; margin: 2% 3% 0; height: 30px; width: 400px; }
	.pagination a, .pagination span { display: block; float: left; margin: 3px; height: 20px; padding: 0 5px; line-height: 20px; font-size: 10px; font-weight: bold; background: #233412 url('../../../common/bg_gr.jpg'); border: 1px solid #2d4b17; }
.pagination span .currentPage { background: #082942 url('../../../common/bg_blue.gif') !important; border-color: #184252!important; }
.clearer { clear: both; }
/* tabele */
table { border-collapse: collapse; margin: 20px 2% 10px; width: 96%; max-width: 1200px; clear: both; }
caption { overflow: hidden; }
.forums caption,.posts caption, caption h2 { font-size: 16px; color: #ffc436; font-weight: bold; }
.forums caption { font-size: 14px; }
caption .mark_category_link, caption .mark_forum_link {float: right; font-size: 0.9em;}
table.forums th { color: #cc9900; font-size: 1em; font-weight : bold; line-height: 1.8em; }
tr { vertical-align: top; }
td { color: #fff; font-size: 0.9em; line-height: 1em; vertical-align: top; }
td.info { font-size: 1.3em; font-weight: bold; text-align: center; line-height: 2em;}
/* Spis for */
table.forums th { background: #233412 url('../../../common/bg_gr.jpg'); border: 2px solid #2d4b17; }
table.forums tbody { background: #082942 url('../../../common/bg_blue.gif'); }
table.forums td { padding: 10px; border: 1px solid #184252; }
	table.forums td.forum_name .desc { font-size: 11px; line-height: 16px; }
table.forums caption {  background: #5a1810 url('../../../common/bg_magenta.gif'); border: 2px solid #5a1810; padding: 10px;}
table.forums h2 { padding-bottom: 10px; font-size: 1.4em; }
table.forums p.moderators { padding-top: 10px; }
th.forum_name { width: 55%; }
th.forum_last_post { width: 20%; }
th.forum_posts, th.forum_topics { width: 10%; }
td.forum_posts, td.forum_topics { text-align: center; vertical-align: middle; font-weight: bold; }
td.forum_last_post { vertical-align: middle; font-size: 0.9em; line-height: 1.4em; }


/* spis tematów */
table.topics { clear: both; }
table.topics th { background: #233412 url('../../../common/bg_gr.jpg'); border: 2px solid #2d4b17; }
table.topics tbody { background: #082942 url('../../../common/bg_blue.gif'); }
table.topics tr.topicOsada, table.topics tr.osada { background-image: url('../../../common/bg_green.gif'); }
table.topics td { padding: 3px 5px; border: 1px solid #184252; vertical-align: middle; line-height: 20px; }
table.topics caption {  background: #5a1810 url('../../../common/bg_magenta.gif'); border: 2px solid #5a1810; padding-bottom: 10px; }
table.topics caption .moderators { text-align: left; margin-left: 20px; }
table.topics h2 { padding-bottom: 5px; font-size: 1.4em; }
th.topic_status { width: 5%; }
th.topic_title { width: 50%; }
th.topic_last_post { width: 25%; }
th.topic_posts, th.topic_author { width: 10%; }
td.topic_status {  text-align: center; vertical-align: middle; }
td.topic_posts, td.topic_author { text-align: center; text-align: center; font-weight: bold; }
td.topic_last_post { vertical-align: middle; }

/* POSTY */
tr.light { background: #082942 url('../../../common/bg_blue.gif'); }
tr.dark { background: #233412 url('../../../common/bg_gr.jpg'); }
tr.admin { background: #5a1810 url('../../../common/bg_magenta.gif'); }
tr.deleted { background-color: #303030; }
tr.light td { border: 2px solid #184252; }
tr.dark td { border: 2px solid #2d4b17; }
tr.admin td { border: 2px solid #5a1810; }
tr.deleted td { border: 2px solid #101010; }
/* dane autora*/
td.post_author { width: 20%; padding: 1%; }
td.post_author h3 { font-size: 1.1em; display: block; margin: 5px; }
td.post_author ul { margin: 3px; font-size: 0.8em; line-height: 1.6em; }
td.post_author ul li { list-style-type: none; }

/* dopisek moda */
#postscriptForm { position: fixed; top: 30%; left: 40%; width: 220px; height: 290px; background: #5a1810 url('../../../common/bg_magenta.gif'); border: 2px solid #5a1810; }
	#postscriptForm a { display: block; width: 16px; height: 16px; float: right; text-decoration: none; color: #fff; background-color: #000; border: 1px solid #fff; text-align: center; }
	#postscriptForm textarea { width: 200px; height: 200px; margin: 35px auto 20px; clear: both; background-color: #000; color: #fff; border: 1px solid #fff; display: block; }
	#postscriptForm input { margin: 0 auto; display: block; width: 150px; height: 30px; background-color: #000; color: #fff; font-weight: bold; border: 1px solid #fff; font-size: 11px; }
	
/* wiadomości ajax */
#ajaxMessage { width: 450px; height: 30px; text-align: center; line-height: 30px; font-size: 12px; color: #fff; position: fixed; top: 45%; left: 30%; border: 2px solid #5a1810; }
#ajaxMessage.success { background-color: #233412; }
#ajaxMessage.error { background: #5a1810 url('../../../common/bg_magenta.gif'); }

/* ankieta */
.posts thead {}
	.posts thead h3 { width: 580px; margin: 10px auto 0; padding: 10px 10px; line-height: 1.5; background: #5a1810 url('../../../common/bg_magenta.gif');  border: 0 solid #5a1810; border-width: 2px 2px 0; }
	.posts thead form { margin: 0; }
		.posts thead ul, .posts thead dl { padding: 10px 0; width: 600px; margin: 0 auto 20px; background: #082942 url('../../../common/bg_blue.gif'); border: 0 solid #184252; border-width: 0 2px 2px; }
		.posts thead .submit { background: #082942 url('../../../common/bg_blue.gif'); border: 0 solid #184252; width: 600px; margin: 0 auto; border: 0 solid #184252; border-width: 0 2px 2px; margin-bottom: 10px; padding: 5px 0 10px; text-align: center; }
			.posts thead .submit input { margin: 0 auto; background-color: #000; color: #fff; border: 1px solid #bbb; padding: 3px 4px; font-size: 11px; }
			.posts thead .submit input:hover { border-color: #184252; }
		.posts thead form ul { border-bottom-width: 0; margin-bottom: 0; }
			.posts thead li { padding: 5px 3px; margin: 0 25px; }
			.posts thead form li { list-style-type: none; }
			.posts form label { padding: 2px; }
				.posts form label input { margin-right: 5px; }
		.posts thead dl { font-size: 11px; }
			.posts thead dt { text-align: left; font-size: 11px; height: 24px; line-height: 24px; width: 465px; margin-left: 130px; }
			.posts thead dd { width: 110px; margin: -24px 0 0 10px; height: 24px; line-height: 24px; }

/* dane posta */
td div.post_info {line-height: 40px; text-align: right; padding: 0 0; width: 100%; border-bottom: 1px solid #000; font-size: 0.9em }
tr.light div.post_info { border-bottom-color: #184252; }
tr.dark div.post_info { border-bottom-color: #2d4b17; }
tr.admin div.post_info { border-bottom-color: #5a1810; }
/* treść */
td.post_body { width: 80%; }
p.modifications { font-size: 0.8em; text-align: left; margin: 20px 4px 0px; }
div.post_text, div.signature { min-height: 50px; margin: 1% 2%; text-align: left; }
div.post_text {font-size: 1em; line-height: 1.5em; overflow: auto; max-width: 900px; }
div.signature { min-height: 50px; margin: 1%; margin-top: 10px; clear: left; line-height: 18px; }
td.post_body hr { width: 30%; border-color: #000; float: left; margin: 1% 1% 1%; }
span.rank { font-size: 0.9em; margin-bottom: 1em; display: block; }
/* dopiski */
.postscripts { border: 0 solid #000; border-width: 4px 4px 0 0; padding-top: 10px; padding-bottom: 20px; margin-top: 30px; }
tr.light .postscripts { border-color: #184252; }
tr.dark .postscripts { border-color: #2d4b17; }
tr.admin .postscripts { border-color: #5a1810; }
	.postscripts blockquote { border: 0 solid #000; border-bottom-width: 0; background-color: transparent; margin: 10px 0 0; padding-bottom: 0; padding-right: 0; }
	.postscripts p.author { border-bottom: 1px solid #000; padding: 5px; top: -9px; padding-right: 10px; }
	tr.light .postscripts blockquote, tr.light .postscripts p.author { border-bottom-color: #184252; }
	tr.dark .postscripts blockquote, tr.dark .postscripts p.author { border-bottom-color: #2d4b17; }
	tr.admin .postscripts blockquote, tr.admin .postscripts p.author { border-bottom-color: #5a1810; }

#topic_preview { max-height: 400px; overflow: auto; border: 2px #fff solid; margin: 10px auto; padding: 1em 9px; text-align: center; width: 90%; }
#jtageditor_first_i_post_text_preview { text-align: left; width: 80%; margin: 5px auto; padding: 10px; background: #082942 url('../../../common/bg_blue.gif'); border: 2px solid #184252; }
#formatter_info { width: 90%; margin: 10px auto; padding: 5px 10px; border: 1px solid #6e3b24; font-size: 11px; }

#formatter_info dl {
	line-height:	2em;
	margin:		0em 1em;
	width:		70%;
	display:	block;
	clear:		both;
}
#formatter_info dt {
	vertical-align:	top;
}
#formatter_info dd {
	margin-left:	20em;
	margin-top:	-2em;
	vertical-align:	top;
}

/* informacja po wykonaniu akcji*/
div.info { text-align: center; }
div.info ul { margin: 10px auto 0; width: 20%; }
div.info li { list-style-type: none; margin: 5px 0; }

/* linki: dodanie tematu/posta + moderatorów */
.forumManage { margin: 1%; margin: 2% 3% 0; width: 250px; float: left; }
/* info o zezwoleniach */
#perms { color: #fff; float: right; margin: 2% 3% 1%; }
#perms li { list-style-type: none; font-size: 0.9em; }

/* formularze w ogólności */
form {	font-size: 0.8em; margin: 0.5em; width: 100%; }
form .error_content { font-size: 1.1em; color: #f00; }
form div { overflow: hidden; clear: both; width: 96%; margin-bottom: 1em; }
form div.desc { font-size: 0.8em; }
form fieldset { border: 1px solid #ddd; width: 90%; padding: 1em; margin: 0 auto; overflow: hidden; }
form fieldset legend { font-weight: bold; font-style: italic; }
form fieldset input, form fieldset textarea, form fieldset select { border: 1px #bbb solid; background-color: #000; color: #fff; font-family: Georgia, "Bookman Old Style", "Bookman Antiqua", serif; font-size: 1.2em; display: block; float: left; padding: 5px; }
form fieldset .text input, form fieldset .file input, form fieldset .password input, form fieldset textarea, form fieldset select { width: 70%; }
form fieldset div.submit { float: left; clear: none; width: 20%; }
form fieldset .submit input { font-weight: bold; padding: 10px; }
form fieldset textarea { height: 200px; }
form fieldset label { cursor: pointer; width: 100%; display: block; }
form fieldset .radio div { display: block; width: 30%; float: left; clear: none; }
form fieldset .check { padding-left: 20%; }
form fieldset .check label, form fieldset .radio label { padding-left: 1em; }
form fieldset input[type=hidden] { display: none; }
form .error input, form .error select, form .error textarea, form .error fieldset {border-color: #f00 !important;}
form#podziel .checkset div { text-align: left; border: 2px solid #184252; }
form#podziel .checkset input { float: left; width: 5%; }
form#podziel .checkset div label { width: 93%; padding: 10px; float: right; display: block; background: #082942 url('../../../common/bg_blue.gif'); }

#ajaxResponse { text-align: center; margin: 2px auto 10px; padding: 3px 10px; font-size: 11px; font-weight: bold; text-align: center; background-color: #c90; display: none; visibility: hidden; width: 300px; }

#saveDraftButton { background: transparent none; border-width: 0; border-left-width: 5px; color: #ffc436; border-left-color: #ffc436; cursor: pointer; font-size: 11px; padding: 5px; padding-left: 10px; margin-top: 5px; }
	#saveDraftButton:hover { border-left-color: #ffc; color: #ffc; }

#topicPreviewTriggerLink { cursor: pointer; }
/* INFO O FORUM */
#boardInfo {
	background-image: url('../../../common/bg_brown.jpg');
	margin:		20px 2% 0;
	padding:	15px;
	border:		1px solid #6e3b24;
	clear:		right;
	font-size:	9pt;
	line-height:	12pt;
}
#boardInfo h4 {
	margin:		7px 0 2px;
}
#onlineUsersInfo, .visitors-info {
	margin-top:	10px
}
/*  */
/* DRUKOWANIE */
@media print {
	#top, #footer, #banner, #userLinks, #forumLinks { display: none; }
	#content a:after { content: " [" attr(href) "] "; }
	#container { width: 100%; border: 0px #000 solid !important; padding: 0.5em !important; margin: 0em !important; width: 100% !important; color: #000 !important; background-color: #000 !important; }
	#content { width: 100% !important; }
}

/* JB Scripts (auth dialog) */
.gate-form div.check {
    padding-left: 0;
    margin-bottom: 0;
}
    .gate-form .check label {
        padding-left: 0;
    }
