* {
	padding: 0;
	margin: 0;
}

body {
	color: #000000;
	font: 12px Arial;
	behavior: url("csshover.htc");
}

input, select, option, textarea {
	font: 12px Arial;
}

.hidden {
	display: none;
}

img {
	border: 0;
}

ul {
	list-style: none;
}

table {
	empty-cells: show;
}

fieldset {
	border: 0;
}

:focus {
	outline: none;
}

input::-moz-focus-inner { /*Remove button padding in FF*/
    border: 0;
    padding: 0;
}
textarea {
	resize: none;
}

/* General */
.a-left {
	text-align: left !important;
}
.a-right {
	text-align: right !important;
}
.a-center {
	text-align: center !important;
}

.v-top {
	vertical-align: top !important;
}
.v-middle {
	vertical-align: middle !important;
}
.v-bottom {
	vertical-align: bottom !important;
}

.f-left {
	float: left !important;
}
.f-right {
	float: right !important;
}
.f-clearfix {
	height: 0;
	line-height: 0;
	content: ".";
	display: block;
	visibility: hidden;
	clear: both;
}

.no-padding {
	padding: 0 !important;
}

div.error-msg {
	font-size: 10px;
	padding: 10px;
	margin-bottom: 15px;
	color: #000;
	border: 1px solid #f00;
	background: #ffdcdc;
	text-align: center;
}
div.error-msg div {
	margin-bottom: 3px;
	font-size: 11px;
	font-weight: bold;
	color: #f00;
	text-align: center;
}
div.success-msg {
	font-size: 10px;
	padding: 10px;
	margin-bottom: 15px;
	color: #000;
	border: 1px solid #00bf00;
	background: #d2ffd2;
	text-align: center;
}
div.success-msg div {
	margin-bottom: 3px;
	font-size: 11px;
	font-weight: bold;
	color: #00bf00;
	text-align: center;
}

.page-container {
	background: url(./images/bg.png) repeat-x 0 0;
	padding: 0 25px 30px;
	min-height: 500px; /* TODO: delete */
}
.page {
	max-width: 1280px;
	margin: 0 auto;
}

.header {
	height: 210px;
	position: relative;
}

.page-title {
	background: url(./images/title.png) no-repeat 100% 100%;
	width: 856px;
	height: 90px;
}
.page-title h1#banner {
	display: none;
}

/* Links */
a {
	color: #0041ff;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}

/* Navigation */
#nav {
	position: absolute;
	left: 0;
	top: 100px;
}
#nav ul li {
	height: 51px;
	float: left;
	cursor: pointer;
}
#nav li .nav-item {
	background: url(./images/nav_left.png) no-repeat 0 0;
	padding: 0 0 0 5px;
}
#nav li .nav-item div {
	background: url(./images/nav_right.png) no-repeat 100% 0;
	padding: 0 5px 0 0;
}
#nav li .nav-item div span {
	display: block;
	background: url(./images/nav_bg.png) repeat-x;
	padding: 15px 30px 0;
	height: 36px;
	color: #fff;
	font-size: 20px;
}
#nav li.active .nav-item {
	background-image: url(./images/nav_left_active.png);
}
#nav li.active .nav-item div {
	background-image: url(./images/nav_right_active.png);
}
#nav li.active .nav-item div span {
	background-image: url(./images/nav_bg_active.png);
	height: 38px;
	color: #4d4d4d;
}

/* Subnavigation */
#subnav {
	position: absolute;
	left: 0;
	top: 166px;
	width: 100%;
}
#subnav ul {
	position: absolute;
}
#subnav ul li {
	float: left;
	height: 24px;
	padding: 7px 0 0 50px;
	background: url(./images/nav_vertical_separator.png) no-repeat 24px 50%;
}
#subnav ul li.first {
	padding-left: 0;
	background: none;
}
#subnav ul li a {
	font-size: 13px;
	color: #333;
	text-decoration: none;
}
#subnav ul li a:hover {
	text-decoration: underline;
}

/* Mini Search */
.mini-search {
	position: absolute;
	right: 0;
	bottom: 11px;
}
.mini-search input.text {
	width: 144px;
	height: 36px;
	line-height: 36px; /* TODO: IE Style */
	border: 0;
	background: url(./images/form/search_input.png);
	padding: 0 10px;
	color: #646464;
	font-size: 13px;
	font-style: italic;
}

/* Infobar (Beadcrumbs, Overview) */
#infobar {
	height: 27px;
	padding: 13px 0 0;
}
#infobar .breadcrumbs {
	float: left;
}
#infobar .breadcrumbs ul li {
	padding: 0 0 0 30px;
	float: left;
	background: url(./images/breadcrumbs_arrow.png) no-repeat 12px 5px;
}
#infobar .breadcrumbs ul li.first {
	padding: 0;
	background: none;
}
#infobar .breadcrumbs ul li a {
	color: #505050;
	text-decoration: none;
}
#infobar .breadcrumbs ul li a:hover {
	text-decoration: underline;
}
#infobar .overview {
	float: right;
}

/* Contents */
#content {
	padding: 30px 0;
}

/* Forum */
.forum {
	margin: 0 0 30px;
}
.forum.last {
	margin: 0;
}

.forum tr.hl th {
	padding: 0;
}
.forum tr.hl th .hl-container {
	background: url(./images/table_hl_left.png) no-repeat 0 0;
	padding: 0 0 0 7px;
}
.forum tr.hl th .hl-container div {
	background: url(./images/table_hl_right.png) no-repeat 100% 0;
	padding: 0 7px 0 0;
}
.forum tr.hl th .hl-container span {
	background: url(./images/table_hl_bg.png) repeat-x 0 0;
	padding: 0 0 0 0;
	display: block;
	height: 29px;
	padding: 10px 5px 0;
	font-size: 16px;
	color: #262626;
}
.forum tr.subhl th.first,
.forum tr       td.first {
	border-left: 1px solid #c0c0c0;
}
.forum tr.subhl th.last,
.forum tr       td.last {
	border-right: 1px solid #c0c0c0;
}

.forum tr.last {
	background: url(./images/table_end_bg.png) repeat-x 0 100%;
}
.forum tr.last td {
	border: 0;
}
.forum tr.last td.first {
	background: url(./images/table_end_left.png) no-repeat 0 100%;
}
.forum tr.last td.last {
	background: url(./images/table_end_right.png) no-repeat 100% 100%;
}

.forum tr.subhl th {
	font-weight: normal;
	background: #efefef;
	padding: 0 10px;
	height: 22px;
	font-size: 11px;
	color: #5f5f5f;
}
.forum td.lastpost,
.forum td.lastpost * {
	font-size: 11px;
}
.forum td.lastpost div {
	text-align: right;
}
.forum td .description,
.forum td .description a {
    color: #4f4f4f;
    font-size: 11px;
}

.forum th {
	text-align: left;
	border-bottom: 1px solid #c0c0c0;
}
.forum td {
	padding: 0 10px;
	height: 55px;
	border-bottom: 1px solid #c0c0c0;
}
.forum .status-image {
	margin: 0 10px 0 0;
	float: left;
}

/* Forum Topic */
.forum.topic td {
	padding: 10px;
}
.forum.topic td.new {
	background: #ddd;
}
.forum.topic td.old {
}

/* Login */
.login {
	width: 476px;
	padding: 0 0 0 33px;
	margin: 0 auto;
	background: url(./images/login/left.png) no-repeat 0 0;
}
.login > div {
	padding: 0 33px 0 0;
	background: url(./images/login/right.png) no-repeat 100% 0;
}
.login > div > div {
	height: 304px;
	padding: 18px 0;
	background: url(./images/login/bg.png) repeat-x 0 0;
}
.login > div > div > div {
	background: url(./images/login/no_user.png) no-repeat 100% 8px;
}
.login.error {
	background: url(./images/login/left_error.png) no-repeat 0 0;
}
.login.error > div {
	background: url(./images/login/right_error.png) no-repeat 100% 0;
}
.login.error > div > div {
	background: url(./images/login/bg_error.png) repeat-x 0 0;
}
.login h2 {
	background: url(./images/login/hl_white.png) repeat-y 0 0;
}
.login h2 div {
	height: 40px;
	background: url(./images/login/hl.png) no-repeat 0 50%;
}
.login h2 span {
	display: none;
}
.login .error_message {
	color: #fff;
	height: 25px;
	padding: 11px 0 0;
}


/* Forms */
.customForm label {
	color: #333;
	display: block;
}
.customForm.label-left label,
.customForm .label-left label {
	margin: 11px 0 0;
	float: left;
}
.customForm.label-left input.customText,
.customForm .label-left input.customText {
	float: right;
}
.customForm div.box {
	margin: 10px 0 0;
}
.buttons-set-bottom {
	margin: 15px 0 0;
}

.loginForm {
	margin: 17px 0 0;
}
.loginForm .colLeft {
	width: 255px;
}
.loginForm .colRight {
	width: 158px;
}
.loginForm div.box.first {
	margin: 0;
}
.loginForm div.box.saveLogin {
	margin: 40px 0 0;
}
.loginForm label {
	margin: 0 0 5px;
}
.loginForm .linkList {
	margin: -6px 0 0;
	text-align: right;
}
.loginForm .linkList a {
	color: #333;
	margin: 37px 0 0;
	display: block;
	text-decoration: none;
}

/* Inputs */
.customButton {
	height: 34px;
	padding: 0 0 1px;
	line-height: 34px; /* TODO: IE style */
	color: #fff;
	font-size: 15px;
	text-align: center;
	text-decoration: none !important;
	border: 0;
	cursor: pointer;
}
a.customButton {
	/* TODO */
	padding: 0;
	display: block;
	white-space: nowrap;
}
.customButton.over {
	background-position: 0 -34px;
}
.customButton.click {
	background-position: 0 -68px;
}
.customButton.px122 {
	width: 122px;
	background: url(./images/form/button_122px.png) no-repeat 0 0;
}
.customButton.px122.over {
	background-position: 0 -34px;
}
.customButton.px122.click {
	background-position: 0 -68px;
}
.customButton.px79 {
	width: 79px;
	height: 28px;
	padding: 0 0 3px;
	line-height: 28px; /* TODO: IE style */
	color: #000;
	background: url(./images/form/button_79px.png) no-repeat 0 0;
	font-size: 12px;
}
.customButton.px79.over,
.customButton.px79.click {
	background-position: 0 -28px;
}
.customButton.px28 {
	width: 28px;
	height: 28px;
	padding: 0 0 3px;
	line-height: 28px; /* TODO: IE style */
	color: #000;
	background: url(./images/form/button_28px.png) no-repeat 0 0;
	font-size: 12px;
}
.customButton.px28.over,
.customButton.px28.click {
	background-position: 0 -28px;
}

.customText {
	height: 37px;
	padding: 0 5px;
	color: #333;
	font-size: 15px;
	border: 0;
}
.customText.px255 {
	width: 245px;
	background: url(./images/form/text_255px.png) no-repeat 0 0;
}
.customText.focus {
	background-position: 0 -37px;
}
.customText.error {
	background-position: 0 -74px;
}

.customCheckboxWrap {
	float: left;
	width: 19px;
	height: 24px;
	margin: 0 6px 0 0;
	border: 0;
	background: url(./images/form/checkbox.png) no-repeat 0 0;
	cursor: pointer;
}
.customCheckboxWrap.active {
	background-position: 0 -24px;
}
.customCheckboxBox label {
	padding: 7px 0 0;
}

.customTextareaWrapLeft {
	padding: 0 0 0 11px;
	background: url(./images/form/textarea_bbcode_left.png) no-repeat 0 0;
}
.customTextareaWrapRight {
	padding: 0 11px 0 0;
	background: url(./images/form/textarea_bbcode_right.png) no-repeat 100% 0;
}
.customTextareaWrap {
	height: 393px;
	background: url(./images/form/textarea_bbcode_bg.png) repeat-x 0 0;
}
.customTextareaBbcode {
	height: 103px;
}
.customTextarea {
	width: 100%;
	height: 269px;
	margin: 9px 0 0 -1px;
	border: 0;
	color: #333;
	background: #fff;
	font-size: 15px;
	border: 1px solid transparent;
}
.customTextarea.error {
	border-color: #ff9191;
}

/* Forum Forms */
#uploadElements.has-elements {
	margin: 15px 0 0;
}

/* BBCode */
.bbcodeButtons {
	height: 28px;
	padding: 13px 8px;
}
.bbcodeButtons .customButton {
	margin: 0 10px 0 0;
}
.customButton#bold {
	font-weight: bold !important;
}
.customButton#underlined {
	text-decoration: underline !important;
}
.customButton#italic {
	font-style: italic !important;
}
.customButton#striked {
	text-decoration: line-through !important;
}