/* Layout
 ------------ */
* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
}

html {
	font-size: 100%;
}

body {
	color: #000;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 10px;
	margin: 0;
	padding: 0;
}
#body-simple {
	background: #F8F8F8;
	padding: 5px;
}

#wrapper {
	padding: 5px;
}

/* Misc stuff */
img {
	border: none;
}

.gen {
	margin: 1px 1px;
	font-size: 1.2em;
}

.genmed {
	margin: 1px 1px;
	font-size: 1.1em;
}

.gensmall {
	margin: 1px 1px;
	font-size: 1em;
}

.titles {
	font-family: Tahoma, Helvetica, Arial, sans-serif;
	font-size: 1.3em;
	text-decoration: none;
}

.error, table td .error {
	color: #D11010;
}

.spacer {
	background: #3E698D url(images/spacerbg.gif) top left repeat-x;
}

hr	{ height: 0px; border: solid #2E5B82 0px; border-top-width: 1px;}

.pagination {
	padding: 4px;
	font-size: 1em;
	font-weight: bold;
}

/* Links
 ------------ */
a {
	color: #2E5B82;
	text-decoration: none;
}

a:active,
a:visited {
	color: #2E5B82;
	text-decoration: none;
}

a:hover {
	color: #D11010;
	text-decoration: underline;
}

a.forumlink {
	font-weight: bold;
	font-family: Tahoma, Helvetica, Arial, sans-serif;
	font-size: 1.2em;
}

a.topictitle {
	margin: 1px 0px;
	font-family: Tahoma, Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.2em;
}

a.topictitle, .postbody a {
	color: #2E5B82;
}
a.topictitle:visited, .postbody a:visited {
	color: #44729A;
}
a.topictitle:visited:hover, .postbody a:visited:hover {
	color: #2E5B82;
}
a.topictitle:hover, .postbody a:hover {
	color: #D11010;
}

/* Header and logo */
#maintable {
	border: solid 1px #999;
	margin: 0 auto;
	background-color: #F8F8F8;
}
#logorow {
	background: #F8F8F8 url(images/bg_logo.gif) top left repeat-x;
	text-align: left;
	padding: 0;
	padding-top: 6px;
	min-height: 70px;
}

.pm-notify-new, .pm-notify-unread {
	border-left: solid 1px #3C5F84;
	border-right: solid 1px #2E5B82;
	border-top: solid 1px #3C5F84;
	border-bottom: solid 1px #2E5B82;
	background: #F8F8F8 url(images/cell.gif) top left repeat-x;
	margin: 10px 0;
	padding: 10px;
	text-align: center;
	font-size: 12px;
	font-weight: bold;
}
.pm-notify-new a, .pm-notify-new a:visited, .pm-notify-unread a, .pm-notify-unread a:visited { text-decoration: underline; }
.pm-notify-header {
	margin-bottom: 10px;
	color: #666;
}
.pm-notify-new, .pm-notify-unread:hover {
	border-left: solid 1px #F15F5F;
	border-right: solid 1px #D11010;
	border-top: solid 1px #F15F5F;
	border-bottom: solid 1px #D11010;
}
.pm-notify-new { padding: 30px; }

/* Navigation buttons */
.navtd {
	padding: 0 10px 5px 10px;
}
.navrow-right { float: right; }
.navrow {
	background: #F1F1F1 url(images/bg_nav.gif) top left repeat-x; 
	border: solid 1px #E0E0E0;
	padding: 5px;
	color: #909090;
	text-align: left;
	font-size: 11px;
}
.navrow b, .navrow strong { font-weight: normal; }
.navrow a, .navrow a:visited {
	color: #2E5B82;
	text-decoration: none;
}
.navrow a:hover { 
	color: #D11010; 
	text-decoration: underline; 
}

a.link-new, a.link-new:visited { color: #D11010; }
a.link-new:hover, a.link-new:visited:hover { color: #44729A; }

/* Content and tables */
#contentrow {
	padding: 5px 10px;
}

.tablebg {
	border: solid 1px #BBB;
	border-top-color: #C8C8C8;
	background: #F8F8F8 url(images/cell.gif) top left repeat-x;
}

.row1, .row2, .row3, .forumrules, tr.row1 .row, tr.row2 .row, tr.row3 .row, .postbottom {
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
	background: #F8F8F8 url(images/cell.gif) top left repeat-x;
	padding: 4px;
}
th {
	color: #AAA; 
	font-size: 11px; 
	font-weight: bold;
	background: #FFF url(images/th.gif) top left repeat-x;
	white-space: nowrap;
	padding: 0 5px;
	text-align: center;
	height: 26px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
}
th a, th a:visited {
	color: #AAA !important;
	text-decoration: underline;
}
th a:hover {
	color: #2E5B82;
	text-decoration: underline;
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}
.catdiv {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
}
.cat {
	height: 24px;
	padding: 0 3px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
	text-indent: 4px;
}
.cathead {
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
	height: 24px;
	padding: 1px 3px;
	border-left: solid 1px #FFF;
	border-right: solid 1px #E0E0E0;
	border-top: solid 1px #FFF;
	border-bottom: solid 1px #E0E0E0;
}

.legend {
	padding: 4px;
}


/* Table header */
caption { 
	margin: 0; 
	padding: 0;
	background: url(images/tcat_mid.gif) top left repeat-x;
	white-space: nowrap;
	height: 26px;
	text-align: left;
}
.cap-left {
	background: url(images/tcat_left.gif) top left no-repeat;
	padding-left: 25px;
}
.cap-right {
	background: url(images/tcat_right.gif) top right no-repeat;
	padding-top: 6px;
	height: 20px;
}
caption, caption h1, caption h2, caption h3, caption h4, caption span { 
	font-size: 13px;
	line-height: 1.2em;
	color: #2E5B82;
	font-family: Tahoma, Arial, Helvetica, sans-serif;
}
caption h1, caption h2, caption h3, caption h4, caption span { 
	display: inline;
}
caption a, caption a:visited {
	color: #2E5B82;
	text-decoration: underline;
}
caption a:hover {
	color: #D11010;
	text-decoration: underline;
}

/* Footer */
#wrapfooter {
	text-align: center;
	color: #666;
	padding-top: 10px;
}

.copyright {
	color: #666;
	font-weight: normal;
	font-size: 9px;
	line-height: 1.2em;
}
.copyright a, .copyright a:visited {
	color: #444;
	text-decoration: underline;
}
.copyright a:hover { color: #D11010; }


/* Breadcrumbs */
p.breadcrumbs {
	margin: 0;
	padding: 0;
	float: left;
	color: #AAA;
	font-weight: bold;
	white-space: normal;
	font-size: 1em;
}
.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	padding: 0;
	float: right;
	white-space: nowrap;
	font-size: 1em;
}

.rtl p.datetime {
	float: left;
}

/* Index/viewforum */
.subforum.read { 
	background: url(images/sub_old.gif) top left no-repeat;
	padding-left: 12px;
}
.subforum.unread { 
	background: url(images/sub_new.gif) top left no-repeat;
	padding-left: 12px;
}
.legend {
	text-align: center;
	margin: 0 auto;
	padding: 2px;
}
.legend-viewforum { 
	margin: 0; 
	text-align: left; 
}

.forumrules {
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
	border-left-color: #AAA;
	border-top-color: #AAA;
	border-right-color: #CCC;
	border-bottom-color: #CCC;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
}
.forumrules h3 {
	color: #D11010;
}

/* Post */
.postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #2E5B82;
}
td.postbottom { 
	background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x;
	font-size: 10px;
	color: #444;
	white-space: nowrap;
	padding: 2px;
	vertical-align: middle;
}
td.postbuttons { padding-top: 3px; }
.postdetails { 
	color: #666;
	font-size: 10px; 
	text-align: left;
}
.postdetails b {
	color: #444;
}
.posterrank		{ font-size: 9px; color: #666; }
.posterprofile	{ font-size: 10px; color: #666; }

.postauthor {
	color: #2E5B82;
	font-size: 12px;
	margin-bottom: 3px;
	font-weight: bold;
}
.postonline { margin-bottom: 2px; }

.postreported, .postreported a:visited, .postreported a:hover, .postreported a, .postreported a:active {
	margin: 1px 0px;
	color: #D11010;
	font-weight: bold;
}

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a, .postapprove a:active {
	color: #00FF00;
	font-weight: bold;
}

.postapprove img, .postreported img {
	vertical-align: bottom;
}

.postbody {
	font-size: 12px;
	line-height: 1.4em;
	margin: 3px 0;
}
.signature {
	font-size: 11px;
	color: #888;
	margin-top: 5px;
}
.signature .line { color: #AAA; }

.postbody li, ol, ul {
	margin: 0 0 0 1.5em;
}

.rtl .postbody li, .rtl ol, .rtl ul {
	margin: 0 1.5em 0 0;
}

.posthilit {
	background-color: #2E5B82;
}

.postsubject {
	font-size: 12px;
	font-weight: bold;
	color: #2E5B82;
}

.postbody a { text-decoration: underline; }

/* UCP */
.folder-current a, .folder-current a:visited {
	color: #000;
	font-weight: bold;
}
.folder-current a:hover { color: #D11010; }

td.pm_marked_colour { background: #888; }
td.pm_marked_colour_left { border-left: solid 3px #888; padding-left: 2px; }
td.pm_marked_colour_right { border-right: solid 3px #888; padding-right: 2px; }

td.pm_replied_colour { background: #2E5B82; }
td.pm_replied_colour_left { border-left: solid 3px #2E5B82; padding-left: 2px; }
td.pm_replied_colour_right { border-right: solid 3px #2E5B82; padding-right: 2px; }

td.pm_friend_colour { background: #007700; }
td.pm_friend_colour_left { border-left: solid 3px #007700; padding-left: 2px; }
td.pm_friend_colour_right { border-right: solid 3px #007700; padding-right: 2px; }

td.pm_foe_colour { background: #DD0000; }
td.pm_foe_colour_left { border-left: solid 3px #DD0000; padding-left: 2px; }
td.pm_foe_colour_right { border-right: solid 3px #DD0000; padding-right: 2px; }


/* Form Elements
 ------------ */
form {
	margin: 0px;
	padding: 0px;
	border: 0px;
}

textarea, select, .post, .btnbbcode, .btnmain, .btnlite, .btnfile, .helpline {
	font-weight: normal;
	font-family: Tahoma, Verdana, Helvetica, sans-serif;
	color: #444;
	border: 1px solid #888;
	background-color: #FFF;
}
#helpline { color: #444; }

input {
	font-size: 1.1em;
	padding: 1px;
}
textarea {
	font-size: 1.3em; 
	line-height: 1.4em;
	padding: 2px;
}
select {
	font-size: 1.1em;
	padding: 1px;
}

option {
	padding: 0 1em 0 0;
}

.rtl option {
	padding: 0 0 0 1em;
}

.post {
	border-style: solid;
	border-width: 1px;
}

.btnbbcode {
	font-size: 1.1em;
	border: 1px solid #849AB1;
}
.btnbbcode:hover {
	border-color: #444;
	color: #000;
}

.btnmain {
	font-weight: bold;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnlite {
	font-weight: normal;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnfile {
	font-weight: normal;
	padding: 1px 5px;
	font-size: 1.1em;
}

.helpline {
	background-color: transparent;
	color: #444;
	border-style: none;
}

* html textarea, * html select, * html .post, * html .btnmain, * html .btnlite, * html .btnfile {
	border-color: #888;
}
textarea:hover, select:hover, .post:hover, .btnmain:hover, .btnlite:hover, .btnfile:hover {
	border-color: #2E5B82;
}
textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus {
	border-color: #253F5A; 
	color: #000;
}

label:hover { 
	color: #D11010; 
}

/* BBCode
 ------------ */
.quotetitle, .attachtitle, .codetitle {
	margin: 10px 5px 0px 5px;
	padding: 2px 4px 0 4px;
	border: solid 1px #D8D8D8;
	border-bottom-width: 0;
	color: #2E5B82;
	background: #FAFAFA url(images/bg_box_code.gif) top right no-repeat;
	font-size: 0.85em;
	font-weight: bold;
}

.quotetitle { background-image: url(images/bg_box_quote.gif); }
.attachtitle { background-image: url(images/bg_box_attach.gif); }

.quotetitle .quotetitle {
	font-size: 1em;
}

.quotecontent, .attachcontent {
	margin: 0px 5px 10px 5px;
	padding: 5px;
	border-color: #D8D8D8;
	border-width: 0px 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 1em;
	line-height: 1.4em;
/*	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; */
	background-color: #FAFAFA;
	color: #444;
}

.attachcontent {
	font-size: 0.85em;
}

.codecontent {
	direction: ltr;
	margin: 0px 5px 10px 5px;
	padding: 5px;
	border-width: 0px 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 11px;
	font-family: Monaco, 'Courier New', monospace;
	background-color: #FAFAFA;
	color: #444;
}

.attachcontent, html>body .postbody {
	overflow: auto;
	overflow-x: auto;
}


.syntaxbg {
	color: #000;
}

.syntaxcomment {
	color: #666;
}

.syntaxdefault {
	color: #000;
}

.syntaxhtml {
	color: #000;
}

.syntaxkeyword {
	color: #D11010;
}

.syntaxstring {
	color: #2E5B82;
}


/* More misc stuff */
h1 {
	font-family: Tahoma, Arial, Verdana, sans-serif; 
	font-size: 18px;
	text-decoration: none;
}

h2 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
	line-height: 120%;
}

h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 120%;
}

h4 {
	margin: 0px;
	font-size: 1.1em;
	font-weight: bold;
}

p {
	font-size: 1.1em;
}

p.moderators {
	margin: 0px;
	float: left;
	color: #CCC;
	font-weight: bold;
}

.rtl p.moderators {
	float: right;
}

p.linkmcp {
	margin: 0px;
	float: right;
	white-space: nowrap;
}

.rtl p.linkmcp {
	float: left;
}

p.searchbar {
	padding: 2px 0;
	white-space: nowrap;
} 

p.searchbarreg {
	margin: 0px;
	float: right;
	white-space: nowrap;
}

.rtl p.searchbarreg {
	float: left;
}

p.forumdesc {
	padding-bottom: 4px;
}

p.topicauthor {
	margin: 1px 0px;
}

p.topicdetails {
	margin: 1px 0px;
}
td.history-current, tr.row1 td.history-current, tr.row2 td.history-current {
	background: #DDD;
}

table.colortable td {
	padding: 0;
}

pre {
	font-size: 1.1em;
	font-family: Monaco, 'Courier New', monospace;
}

.nowrap {
	white-space: nowrap;
}

.username-coloured {
	font-weight: bold;
}

.sep {
	color: #444;
}


/* bugs */
@media all and (min-width: 0px)
{
	/* reset file input style for Opera - it changes only text color and border, but not bg color */
	.btnfile, .btnfile:hover, .btnfile:focus { 
		border: none; 
		background-color: #FFF;
		color: #000;
	}

}

/* Arek dodatki */
#ja-wrapper {
        width: 100%;
        margin: 0;
}


#ja-headerwrap,
#ja-footerwrap{
        width: 100%;
        clear: both;
}

#ja-headerwrap {
        position: relative;
        z-index: 2;
}

/* HEADER
--------------------------------------------------------- */
#ja-headerwrap {
        background: url(./images/header-bg.gif) repeat-x top #CC0000;
        color: #CCCCCC;
        line-height: normal;
        height: 120px;
}

#ja-header {
        position: relative;
        height: 120px;
}

#ja-header a {
        color: #CCCCCC;
}

h1.logo, h1.logo-text {
        margin: 0 0 0 5px;
        padding: 0;
	font-family: Tahoma, Arial, sans-serif;
	font-weight:200;
        font-size: 215%;
        text-transform: uppercase;
}

h1.logo a {
        width: 440px;
        display: block;
        background: url(/raid/www/www.modelarstwo.info/distribution/styles/serenity/theme/images/logo.png) no-repeat;
        position: absolute;
        height: 72px;
        bottom: 30px;
        left: 5px;
}

h1.logo a span {
        position: absolute;
        top: -1000px;
}

h1.logo-text a {
        color: #FFFFFF !important;
        text-decoration: none;
        outline: none;
        position: absolute;
        bottom: 70px;
        left: 5px;
        letter-spacing: 1px;
}

p.site-slogan {
        margin: 0;
        padding: 2px 5px;
        color: #CCCCCC;
	font-family: Tahoma, Arial, sans-serif;
        font-size: 110%;
        position: absolute;
        bottom: 50px;
        left: 0;
}

/* MAIN NAVIGATION
--------------------------------------------------------- */
#ja-mainnav {
        height: 30px;
        position: absolute;
        bottom: 0;
        z-index: 999;
}

#ja-subnav {
        height: 32px;
        background: url(../images/hline.gif) repeat-x 0 29px;
}

#ja-mainnav a, #ja-subnav a {
        outline: none;
}

/* FOOTER
--------------------------------------------------------- */
#ja-footerwrap {
        padding: 20px 0;
        clear: both;
        background: #333333;
}

#ja-footer {
        padding: 0;
        color: #999999;
        position: relative;
}

#ja-footer small {
        color: #999999;
        display: block;
}

#ja-footer .copyright {
        clear: both;
        display: block;
        font-style: normal;
}

#ja-footer a {
        color: #CCCCCC;
        text-decoration: none;
}

#ja-footer a:hover,
#ja-footer a:active,
#ja-footer a:focus {
        color: #FFFFFF;
        text-decoration: none;
}

#ja-footer ul {
        margin: 0 0 5px;
        padding: 0;
}

#ja-footer li {
        margin: 0;
        padding: 0;
        display: inline;
        background: none;
}

#ja-footer li a {
        padding: 0 8px 0 10px;
        display: inline;
        line-height: normal;
        text-decoration: none;
        background: url(../images/bullet2.gif) no-repeat 0 6px;
}

.ja-cert {
        position: absolute;
        right: 10px;
        top: 10px;
}

.ja-cert a {
        margin: 0 0 0 5px;
        padding: 0;
        border: none;
        border: none;
        text-decoration: none;
}

.ja-cert a span {
        display: none;
}

.ja-cert a img {
        border: none;
        height:auto !important;
        height:18px;
}

.banneritem {
        display: block;
}

/* Default Joomla! Menu */
ul.menu {
        margin: 0;
        padding: 0;
        list-style: none;
}

ul.menu li {
        margin: 0;
        padding: 0;
        background: none;
}

ul.menu li a {
        display: block;
        text-decoration: none;
        outline: none;
        background: url(../images/hline.gif) repeat-x bottom;
        padding: 4px 0;
        color: #333333;
}

ul.menu li a span {
        background: url(../images/icon-plus.gif) no-repeat 5px 6px;
        display: block;
        padding-left: 20px;
}

ul.menu li a:hover,
ul.menu li a:active,
ul.menu li a:focus {
        text-decoration: none;
        background: url(../images/hline.gif) repeat-x bottom #F2F2F2;
        color: #333333;
}

ul.menu li.active a {
        text-decoration: none;
        color: #CC0000;
        font-weight: bold;
}

ul.menu li li a span {
        background: none;
}

ul.menu li ul {
        margin: 0;
        padding: 0;
        list-style: none;
}

ul.menu li li a {
        background: none;
        padding-left: 5px;
        color: #333333 !important;
        font-weight: normal !important;
}

ul.menu li li a:hover,
ul.menu li li a:active,
ul.menu li li a:focus {
        background: none;
        color:#CC0000 !important;
}

ul.menu li li a span {
        background: url(../images/bullet.gif) no-repeat 8px 8px;
}

/* Clearfix */
.clearfix:after {
        clear: both;
        display: block;
        content: ".";
        height: 0;
        visibility: hidden;
}

* html > body .clearfix {
        width: 100%;
        display: block;
}

* html .clearfix {
        height: 1%;
}

/* CSS_MENU */
#ja-cssmenu {
        margin: 0; /* all lists */
        padding: 0;
}

#ja-cssmenu ul {
        margin: 0; /* all lists */
        padding: 0;
}

#ja-cssmenu li {
        margin: 0; /* all list items */
        padding: 0;
        float: left;
        display: block;
        background: none;
        cursor: pointer;
}

#ja-cssmenu li ul {
        width: 16.4em;
        position: absolute; /* second-level lists */
        z-index: 99;
        left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
        height: auto;
        w\idth: 15.9em;
	font-size: 110%;
}

#ja-cssmenu li ul ul {
        margin: -1.9em 0 0 14.5em; /* third-and-above-level lists */
}

#ja-cssmenu li li {
        padding: 0 1em 0 0;
        margin: 0;
        width: 14.9em;
}

#ja-cssmenu ul a {
        width: 14.8em;
        w\idth: 10.8em;
}

#ja-cssmenu li:hover ul ul, #ja-cssmenu li:hover ul ul ul,
#ja-cssmenu li.sfhover ul ul, #ja-cssmenu li.havechildsfhover ul ul, #ja-cssmenu li.havechild-activesfhover ul ul, #ja-cssmenu li.activesfhover ul ul,
#ja-cssmenu li.sfhover ul ul ul, #ja-cssmenu li.havechildsfhover ul ul ul, #ja-cssmenu li.havechild-activesfhover ul ul ul, #ja-cssmenu li.activesfhover ul ul ul {
        left: -999em;
}

/* This "unhides" the sub-menus (left: -999em is what hides them) */
#ja-cssmenu li:hover ul, #ja-cssmenu li li:hover ul, #ja-cssmenu li li li:hover ul,
#ja-cssmenu li.sfhover ul, #ja-cssmenu li.havechildsfhover ul, #ja-cssmenu li.havechild-activesfhover ul, #ja-cssmenu li.activesfhover ul,
#ja-cssmenu li li.sfhover ul, #ja-cssmenu li li.havesubchildsfhover ul, #ja-cssmenu li li.havesubchild-activesfhover ul, #ja-cssmenu li li.activesfhover ul,
#ja-cssmenu li li li.sfhover ul, #ja-cssmenu li li li.havesubchildsfhover ul, #ja-cssmenu li li li.havesubchild-activesfhover ul, #ja-cssmenu li li li.activesfhover ul {
        left: auto;
}

/* STYLING THE MENU
-----------------------------------*/
/* 1st level */
#ja-cssmenu li a {
        color: #333333;
        display: block;
        font-size: 100%;
        font-weight: bold;
        line-height: 30px;
        margin: 0 2px 0 0;
        padding: 0 10px;
	font-size: 110%;
        text-decoration: none;
        background: url(../../images/tab-bg.gif) no-repeat bottom center #CCCCCC;
}

#ja-cssmenu li a:hover,
#ja-cssmenu li a:active,
#ja-cssmenu li a:focus {
        background: url(../../images/tab-bg.gif) no-repeat top center #666666;
        color: #FFFFFF;
}

#ja-cssmenu li:hover a,
#ja-cssmenu li.sfhover a,
#ja-cssmenu li.havechildsfhover a,
#ja-cssmenu li.havechild-activesfhover a {
        background: url(../../images/tab-bg.gif) no-repeat top center #666666;
        color: #FFFFFF;
}

#ja-cssmenu li a.active,
#ja-cssmenu li a.active:hover,
#ja-cssmenu li a.active:active,
#ja-cssmenu li a.active:focus {
        background: url(../../images/tab-active-bg.gif) no-repeat top center #FFFFFF;
        color: #333333;
}

/* 2nd level and above */
#ja-cssmenu li ul {
        border: 1px solid #666666;
        background: url(../../images/grad2.jpg) repeat-x bottom #666666;
}

#ja-cssmenu li ul li {
        border-bottom: 1px solid #444444;
        border-top: 1px solid #777777;
}

#ja-cssmenu li:hover li a,
#ja-cssmenu li.sfhover li a,
#ja-cssmenu li.havechildsfhover li a,
#ja-cssmenu li.havechild-activesfhover li a {
        background: none;
}

#ja-cssmenu li ul a {
        margin: 0;
        padding: 0 10px;
        border: none;
        white-space: nowrap;
        font-weight: normal;
        font-size: 100%;
        line-height: 26px;
        background: none;
        color: #FFFFFF;
}

#ja-cssmenu li.havesubchild,
#ja-cssmenu li.havesubchild-active {
        background: url(../../images/arrow2.png) no-repeat 94% 50%;
}

#ja-cssmenu li ul a:hover,
#ja-cssmenu li ul a:active,
#ja-cssmenu li ul a:focus,
#ja-cssmenu ul li:hover,
#ja-cssmenu ul li.sfhover,
#ja-cssmenu ul li.havesubchildsfhover,
#ja-cssmenu ul li.havesubchild-activesfhover,
#ja-cssmenu ul ul li:hover,
#ja-cssmenu ul ul li.sfhover,
#ja-cssmenu ul ul li.havesubchildsfhover,
#ja-cssmenu ul ul li.havesubchild-activesfhover {
        color: #FFFFFF;
        background: #999999;
}

#ja-cssmenu ul li a.active,
#ja-cssmenu ul li a.active:hover,
#ja-cssmenu ul li a.active:active,
#ja-cssmenu ul li a.active:focus {
        background: none !important;
        font-weight: bold;
        text-decoration: underline;
        color: #FFFFFF;
}


