/* Main Layout */
body {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 10px;
  color: #000000; /* #898a8a; */
  background:url(images/bg.jpg) repeat-x #323637;
  margin-top:14px;
}

img { border: none; }

hr {
  color: #666666;
  background-color: #666666;
  border: 0px;
  border-top: transparent;
  border-bottom: transparent;
  margin: 2px 0;
  height: 1px; 
}

ul {
	margin:0px;
	padding:0px;
}

li {
	margin:0px;
	padding:0px;
	list-style:none;
}

#page {
	margin:auto;
	width:921px;
	background:url(images/template/cont_bg.jpg) repeat-y;
}

#header {
	height:208px;
	background:url(images/template/header.jpg);
}

#header_logged {
	height:208px;
	background:url(images/template/header_logged.jpg);
}

#header_admin {
	height:208px;
	background:url(images/template/header_admin.jpg);
}

	#login {
		padding-left:447px;
		padding-top:6px;
		width:474px;
		overflow:hidden;
	}
	
	#login li {
		float:left;
		line-height:20px;
	}
	
	#login input {
		border:none;
		background:none;
	}
	
	#login #name {
		height:20px;
		width:104px;
		padding-left:20px;
		margin-right:5px;
	}
	
	#login #pw {
		height:20px;
		width:104px;
		padding-left:20px;
		margin-right:2px;
	}
	
	#login img {
		margin-left:1px;
	}
	
	#login #login_sub {
		height:20px;
		width:51px;
	}
	
	#logo {
		margin:15px 0 4px 48px;
	} 
	
	#navi {
		margin-left:3px;
		height:30px;
	}
	
	#navi .button {
		line-height:30px;
		text-align:center;
		font-weight:bold;
		width:136px;
		color:#FFFFFF;
		float:left;
	}
	
	#navi .firstb {
		line-height:30px;
		text-align:center;
		font-weight:bold;
		width:138px;
		color:#FFFFFF;
		float:left;
	}
	
	#navi .firstb_hover {
		width:138px;
		height:32px;
		margin:-6px -6px 0 0;
		padding-top:6px;
		padding-right:6px;
		background:url(images/template/firstb_over.png);
	}
	
	#navi .button_hover {
		width:148px;
		height:32px;
		margin:-6px -6px 0 -6px;
		padding-top:6px;
		background:url(images/template/navi_over.png);
	}
	
	ul.dropdown { 
		position: relative; 
	}
	
	ul.dropdown li { 
		font-weight: bold; 
		float: left; 
		zoom: 1; 
	}
	
	ul.dropdown li a { 
		display: block; 
	}
	
	ul.dropdown li.hover, ul.dropdown li:hover {
		position: relative; 
	}
	
	ul.dropdown ul {
		width:135px; 
		visibility: hidden; 
		position: absolute; 
		top: 100%; 
		left: 0; 
		z-index:1000;
	}
	
	ul.dropdown ul li { 
		float: none; 
	}
	
	ul.dropdown ul li a { 
		width: 100%; 
		display: inline-block; 
	} 
	
	ul.dropdown ul ul { 
		left: 100%; 
		top: 0; 
	}
	ul.dropdown li:hover > ul { 
		visibility: visible; 
	}
	
	.sub_menu {
		border:1px solid #e4e2e2;
	}
	
	.sub_menu li {
		width:135px;
		height:20px;
		text-align:center;
		line-height:20px;
		border-bottom:1px solid #e4e2e2;
		background:url(images/template/sub.jpg);
	}
	
	.sub_menu li a {
		color:#898a8a;
	}
	
	.sub_menu li:hover {
		width:135px;
		height:20px;
		background:url(images/template/sub_over.jpg);
	}
	
	.sub_menu li:hover a {
		color:#FFFFFF;
	}
	
#cont {
	padding-left:3px;
	padding-right:2px;
	width:761px;
	float:left;
}

#ads {
	height:91px;
	padding:15px 0 10px 25px;
	background:url(images/template/ads.jpg);
}

#content {
	width:496px;
	margin-top:-1px;
	overflow:auto;
	float:left; 
}

#content_alt {
	width:486px;
	padding:4px 6px 0 4px;
	float:left;
	overflow:hidden;
	display:block;
	word-wrap: break-word;
}

#comments {
	padding:4px 6px 0 4px;
}

.breaker {
	padding-top:4px;
	height:25px;
	background:url(images/template/cont_breaker.jpg) no-repeat;
}

.news_banner {
	width:103px;
	float:left;
}

.comments {
	width:378px;
	padding-right:12px;
	text-align:right;
	line-height:24px;
	float:left;
}

.news {
	padding:12px;
}

#col_l {
	width:265px;
	float:left;
}

	#col_l .pad {
		padding:2px 6px 0 6px;
	}
	
	#rand {
        text-align: center;
    }
    
    #rand img  {
        border: 1px solid #4d5558;
        margin: 2px;
    }

.head_cont {
	display:none;
}
.head_cont1 {
	display:block;
}

.more {
	text-align:right;
	padding-left:6px;
	padding-right:6px;
	padding-bottom:6px;
}

#col_r {
	padding-right:3px;
	width:152px;
	float:left;
}

#footer {
	height:46px;
	background:url(images/template/footer.jpg);
}

.center {
	text-align:center;
	padding:2px;
}

.clear {
	clear:both;
}

/* Links */
a, a:visited, a:active {
  color: #1970a3;
  text-decoration: none;
  font-weight: normal;
  outline:none;
}

a:hover {
  text-decoration: none;
  font-weight: normal;
}

a.titlelink, a.titlelink:visited, a.titlelink:active {
  color:#FFFFFF;
  text-decoration: none;
  font-weight: bold;
}

a.titlelink:hover {
  text-decoration: underline;
  font-weight: bold;
}

a.category, a.category:visited, a.category:active {
  color: #333333;
  text-decoration: none;
}

a.category:hover {
  color: #000000;
  text-decoration: underline;
}

/* Font types */
h2 {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #000000;
  text-transform: uppercase;
  font-weight: bold;
}

h1 {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #000000;
  text-transform: uppercase;
  font-weight: bold;
}

small {
  color: #383838;
  font: normal 9px Verdana, Arial, Helvetica, sans-serif;
}

.title {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #FFFFFF;
  font-weight: bold;
  background:url(images/template/title.jpg) repeat-x #FFFFFF;
}

.category_big, .category_big a {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #000000;
  font-weight: bold;
}

.category {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #000000;
  font-weight: normal;
}

/* Forms */
form {
  border: none;
  margin: 0px;
  padding: 0px;
}

input, textarea, select {
  border: 1px solid #dddddd;
  background-color: #f1f1f1;
  font: normal 10px Verdana, Arial, Helvetica, sans-serif;
  color: #666666;
  padding:3px;
}

input:active, textarea:active, select:active, input:focus, textarea:focus, select:focus {
  border: 1px solid #c5dfee;
  background-color: #fff;
  color: #2C2C2C;
}

input[type=button],
input[type=submit],
input[type=reset],
select {
	background: url(images/template/inp_button_bg.png) repeat-x top left #D5D8E0;
	padding: 2px 4px;
	border: 1px solid #969696;
	-o-border-radius: 2px;
	-icab-border-radius: 2px;
	-khtml-border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-moz-border-radius: 2px;
	font-size: xx-small;
	color: #404040;
	cursor: pointer;
}

input[type=button]:hover,
input[type=reset]:hover,
input[type=submit]:hover {
	background: url(images/template/inp_button_bg_h.png) repeat-x top left #D5D8E0;
}


input[type="radio"], input[type="checkbox"], 
input[type="radio"]:focus, input[type="radio"]:active,
input[type="checkbox"]:focus, input[type="checkbox"]:active {
  border: 0px;
}

.input {
  background-color: transparent;
  border: none;
  margin: 2px;
}

/* Infomessages - Miscellaneous */
.tooltip {
  position: absolute;
  display: none;
  background-color: #FFFFFF;
  color: #000000;
  border: 1px solid #DDDDDD;
  border-left: 4px solid #0E8AEA;
  padding: 4px 10px;
  z-index: 100;
}

.errorbox {
  background-color: #FFCCCC;
  border: 1px dashed #D60000;
  color: #666666;
  font-size: 10px;
  width: 350px;
  padding: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
  text-align: left;
}

/* BBCode Tags */
.quote {
  color: #383838;
  text-align: left;
  font: normal 9px Verdana, Arial, Helvetica, sans-serif;
  margin: 0 auto;
  padding: 3px;
}

.list {
	list-style-type: disc;
	list-style-position:outside;
}
.list_num {
	list-style-type: decimal;
	list-style-position:outside;
}

.list_alpha {
	list-style-type: lower-latin;
	list-style-position:outside;
}

.code {
  color: #000000;
  text-align: left;
  margin: 0 auto;
  padding: 3px;
  font: normal 10px Verdana, Arial, Helvetica, sans-serif;
}

.codeinner {
  color: #000000;
  font: 11px 'Courier New', Courier, monospace;
}

.codeline0 {
	background-color: #F3F3F3;
	height: 15px;
	padding-left: 3px;
	white-space: nowrap;
}

.codeline1 {
	background-color: #FFFFFF;
	height: 15px;
	padding-left: 3px;
	white-space: nowrap;
}

/* Forum Styling ---------------------------------------------------------------------------------- */

#fullforum {
	width: 946px;
}

.forum_header {
	width: 100%;
	height: 20px;
	color: #fff;
	border-bottom: 1px solid #2672c3;
	font-weight: bold;
	background-image: url(images/forumcat_bg.png);
}

.forum_header tr td a {
	text-decoration: none;
	color: #fff;
}

.forum_header tr td a:hover {
	text-decoration: underline;
	color: #2672c3;
}

.forum_row_1 {
	width: 100%;
	background-color: #feffff;
	border-bottom: 1px dotted #2672c3;
	height: 50px;
	cursor: pointer;
}

.forum_row_2 {
	width: 100%;
	background-color: #f5fbff;
	border-bottom: 1px dotted #2672c3;
	height: 50px;
	cursor: pointer;
}

.forum_row_on {
	width: 100%;
	background-color: #ccffcd;
	border-bottom: 1px dotted #2672c3;
	height: 50px;
	cursor: pointer;
}

.forum_row_hover {
	width: 100%;
	background-color: #f1f1f1;
	border-bottom: 1px dotted #2672c3;
	height: 50px;
	cursor: pointer;
}

.forum_height {
	height: 50px;
}

.main_board_spacer {
	border-right: 1px dotted #2672c3;
}

.cat_small {
	color: #fff;
}

/* Forum topics Styling ---------------------------------------------------------------------------------- */

.topics_header {
	width: 100%;
	height: 20px;
	color: #fff;
	border-bottom: 1px solid #2672c3;
	font-weight: bold;
	background-image: url(images/forumcat_bg.png);
}

.topics_header tr td a {
	text-decoration: none;
	color: #fff;
}

.topics_header tr td a:hover {
	text-decoration: underline;
	color: #2672c3;
}

.topics_row_1 {
	width: 100%;
	background-color: #feffff;
	border-bottom: 1px dotted #2672c3;
	height: 40px;
	cursor: pointer;
}

.topics_row_2 {
	width: 100%;
	background-color: #f5fbff;
	border-bottom: 1px dotted #2672c3;
	height: 40px;
	cursor: pointer;
}

.topics_row_on {
	width: 100%;
	background-color: #ccffcd;
	border-bottom: 1px dotted #2672c3;
	height: 40px;
	cursor: pointer;
}

.topics_row_hover {
	width: 100%;
	background-color: #f1f1f1;
	border-bottom: 1px dotted #2672c3;
	height: 40px;
	cursor: pointer;
}

.topics_height {
	height: 40px;
}

/* Forum topic Styling ---------------------------------------------------------------------------------- */

.topic_cnt {
	background-color: #eee;
	border: 1px solid #bbb;
	margin: 10px;
	padding: 5px;
	width: 926px;
}

.topic_cnt_area {
	padding: 0 5px 0 0;
}

.topic_user_info {
	border-left: 1px dashed #ccc;
	padding: 0 0 0 5px;
}

.topic_name {
	color: #2672c3;
	font-size: 13px;
}

.blue_top { background:url(images/template/blue_top.jpg); width:265px; height:29px; }
.blue_top h3 { color:#FFFFFF; padding:9px 0 0 13px; margin:0; font-family:Arial, Helvetica, sans-serif; font-size:10px; font-weight:bold; }
.gray_top { background:url(images/template/gray_top.jpg); width:265px; height:29px; }
.gray_top h3 { color:#FFFFFF; padding:9px 0 0 13px; margin:0; font-family:Arial, Helvetica, sans-serif; font-size:10px; font-weight:bold; }

.profile_title { background:url(images/template/profile_title.jpg) repeat-x top;
-moz-border-radius-topright:3px;
-moz-border-radius-topleft:3px;
-webkit-border-radius-topright:3px;
-webkit-border-radius-topleft:3px;
border-radius-topright:3px;
border-radius-topleft:3px;
height:23px;
}
.profile_title_gray { background:#edf5f9; border-bottom:1px solid #b8d5e4; height:23px; }
.profile_title h3 { padding:0 0 0 10px; margin:0; color:#FFFFFF; font-weight:bold; font-size:11px; }
.profile_title_gray h3 { padding:0 0 0 10px; margin:0; color:#4d4d4d; font-weight:bold; font-size:11px; }
.profilenick { font-size:15px; font-weight:bold; padding:3px; }
.row1 { background:#ededed; border-bottom:1px solid #dedede; border-top:1px solid #fff; padding:5px; }
.row2 { background:#fff; border-bottom:1px solid #dedede; border-top:1px solid #fff; padding:5px; }
