body {
	background: #fff;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #222;
}

input
{
	border: 1px solid #ddd;
}

select
{
	border: 1px solid #ddd;
}

textarea
{
	border: 1px solid #ddd;
}

h1 {
	font-size: 1.7em;
	margin: 10px 0;
	font-weight: 700;
}

h2 {
	font-size: 1.5em;
	margin: 5px 0;
	font-weight: 700;
}

h3 {
	font-size: 1.3em;
	margin: 5px 0;
	font-weight: 700;
}

a {
	text-decoration: underline;
	color: #457;
}

a:hover {
	color: #235;
	text-decoration: none;
}

a img {
	border: none;
}

img.left {
	float: left;
	margin: 0 20px 0 0;
}

img.right {
	float: right;
	margin: 0 0 0 20px;
}

strong
{
	font-weight: bold;
}

em
{
	font-style: italic;
}

big
{
	font-size: 125%;
}

small
{
	font-size: 75%;
}


.button
{
	border: 1px solid #ccc;
	background-color: #eee;
}

.icon
{
	width:16px;
	height: 16px;
	vertical-align: text-bottom;
}

#wrap {
	width: 100%;
}

.user_form
{
	margin: 0 auto;
	padding: 10px;
	background-color: #fafafa;
	border: 1px solid #ddd;
	font-size: 11px;
}

.form_holder
{
	margin-bottom: 5px;
	width: 100%;
	text-align: left;
}

/* Header */
#header {
	width: 100%;
}
#logo-wrapper {
	width: 275px;
	margin: 10px 0;
}

#header img {
	margin: 2px 2px 2px 10px;
}

#header h1 {
	text-align: right;
	margin-top:2px; 
	letter-spacing:3px;
	color: #777;
	font-size: 10px;
}

.logo_descr {
	text-align: right;
	margin-top:2px; 
	letter-spacing:3px;
	color: #777;
	font-size: 0.9em;
}

/* Menu */

#menu {
	background: #689 url('../../../images/menu.png');
	height: 22px;
    line-height: 22px;
    padding: 5px 0;
}

#menu ul {
width: 600px;
	float: left;
	margin: 0 0 0 10px;
	padding: 0;
	list-style: none;
}

#menu li {
	display: inline;
	margin: 0px 10px 0 0px;
	color: #fff;
}


#menu a {
	color: #fff;
	text-decoration: none;
	border: 0;
	font-size: 14px;
	text-decoration: none;
}

#menu .current
{
	color: #fff;
    text-decoration: underline;
} 

#menu li a:hover
{
    text-decoration: underline;
}  

#login_menu {
	float: right;
	padding: 0 5px 0 0;
}

#login_menu a {
	color: #fff;
	margin: 0px 0 0 5px;
	text-decoration: none;
}

#login_menu a:hover {
	color: #fff;
	text-decoration: underline;
}

.main_page_gallery_image
{
	margin-right: 10px; 
	margin-bottom: 10px; 
	height: 120px; 
	width: 160px; 
	border: 1px solid #eee; 
	padding: 3px; 
	text-align: center;
	float: left;
}

/* Page */

#page {
	width: 98%;
	margin: 0 auto;
	padding: 10px 0;
	max-width: 1000px;
	overflow: hidden;
}
#main {
	width: 66%;
	float: left;
}

/* Content */

.block_title
{
	font-size: 12px;
	color: #555;
	border-bottom: 1px solid #888;
	margin-bottom: 3px;
	padding-bottom: 2px;
	width: 100%;
	text-transform: uppercase;
}

.group_title
{
	cursor: pointer;
	width: 100%;
	font-size: 11px;
	background-color: #ddd;
	font-weight: bold;
	margin-top: 10px;
	padding-top: 2px;
	padding-bottom: 2px;
	text-align: center;
	color: #444;
}

#center_page
{
	text-align: left;
	margin: 0 auto;
	width: 300px;
}

#content {
	float: left;
	width: 67%;
	
}

.news
{
	margin-bottom: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #eee;
}

.news .short_text
{
	color: #333;
	line-height: 1.3;
	font-size: 11px;
}

.news h2
{
	font-size: 14px;
	margin: 0 0 5px 0;
}

.news_date
{
	font-size: 10px;
	margin-bottom: 7px;
}

.news_content
{
	margin-top: 5px;
	line-height: 1.5;
}

.news_image
{
	margin-bottom: 5px;
	margin-right: 5px;
	float: left;

}


.posts
{
	margin-bottom: 1px;
	line-height: 1.5;
}

.posts h1, .posts  h2 {

}

.post_date
{
	font-size: 10px;
}

.post_content
{

	margin-top: 5px;
}

.post_content h2
{
	font-size: 16px;
	margin: 0 0 3px 0;
}

.post_image
{
	float: left;
	margin: 0 5px 5px 0;
	
}

.post_content p
{
	margin-bottom: 10px;
}

.post_content a
{
	text-decoration: underline;
}

.post_content .block
{
	background-color: #fafafa;
	border: 1px solid #f0f0f0;
	padding: 7px 0 7px 0;
	margin: 10px 0 10px 0;
	text-align: center
}

.post_content ul {

	margin: 5px 0 10px 15px;
	padding: 0;
	list-style: disc;
}

.post_content ol {

	margin: 5px 0 10px 20px;
	padding: 0;
	list-style: decimal;
}

.post_content li {
	margin-bottom: 3px;;
}

.post_content table
{
  border-collapse:collapse;
  width:99%;
  border:0;
  margin:0 0 1em 1px;
}

.post_content td
{
  border:1px solid #DCDCDB;
  padding:4px;
  text-align: center;
  vertical-align: middle;
}

.bold_td
{
border:1px solid #DCDCDB;
  background:#EEE;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  padding: 4px;
}

.post_content th
{
border:1px solid #DCDCDB;
  background:#EEE;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  padding: 4px;
}

.post_content img
{
  margin-bottom: 10px;
  border: 1px solid #f0f0f0;
}

.programs
{
	margin-bottom: 1px;
	line-height: 1.5;
}

.programs h1, .programs  h2
{
	margin: 0 0 3px;
}

.program_date
{

}

.program_content
{

	margin-top: 5px;
}


.program_image
{
	float: left;
	margin: 0 5px 5px 0;
	
}

.program_content p {
	margin-bottom: 10px;
}


.program_content .block
{
	background-color: #fafafa;
	border: 1px solid #f0f0f0;
	padding: 7px 0 7px 0;
	margin: 10px 0 10px 0;
	text-align: center
}

.avatar
{
	margin-right: 10px;
	margin-bottom: 3px;
	float: left;
	border: 0;
}


.program_content ul {

	margin: 5px 0 10px 15px;
	padding: 0;
	list-style: disc;
}

.program_content ol {

	margin: 5px 0 10px 20px;
	padding: 0;
	list-style: decimal;
}

.program_content li {
	margin-bottom: 3px;;
}

.program_content table
{
  border-collapse:collapse;
  width:99%;
  border:0;
  margin:0 0 1em 1px;
}

.program_content td
{
  border:1px solid #DCDCDB;
  padding:4px;
  text-align: center;
  vertical-align: middle;
}

.bold_td
{
border:1px solid #DCDCDB;
  background:#EEE;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  padding: 4px;
}

.program_content th
{
border:1px solid #DCDCDB;
  background:#EEE;
  text-align: center;
  font-size: 10px;
  font-weight: bold;
  padding: 4px;
}

.program_content img
{
  margin-bottom: 10px;
  border: 1px solid #f0f0f0;
}

.entry_footer {
	font-size: 0.9em;
	border-top: 1px solid #aaa;
	padding-top: 5px;
	margin: 5px 0 0;
}

.comment
{
	margin: 10px;
	padding: 10px;
	background-color: #fafafa;
	border: 1px solid #ddd;
	font-size: 11px;
}
.bid
{
	margin: 10px;
	padding: 10px;
	background-color: #fafafa;
	border: 1px solid #ddd;
	font-size: 11px;
}

.assigned_bid
{
	margin: 10px;
	padding: 10px;
	background-color: #fafefa;
	border: 1px solid #ddd;
	font-size: 11px;
}

#submenu
{
	width: 100%;
	background: #689;
	padding: 3px 0 3px 10px;
	text-align:left;
}

#submenu a {
	color: #ddd;
	margin: 0px 5px 0 0px;
	text-decoration: none;
	border: 0;
	font-size: 11px;
	font-weight: normal;
}

#supplemental
{
	width: 100%;
	font-size: 11px;
	background: #eee;
	border-bottom: 1px solid #aaa;
	padding: 3px 0 3px 10px;
	
}

#path {
	width: 100%;
	font-size: 0.9em;
	background: #eee;
	border-bottom: 1px solid #aaa;
	padding: 7px 0 7px 10px;
	box-sizing: border-box;
}

#notice
{
	width: 100%;
	font-size: 11px;
	background: #fee;
	border-bottom: 1px solid #daa;
	padding: 3px 0 3px 10px;
	text-align: center;
}

#notice li
{
	list-style-type: none;
}


.spoiler
{
	cursor: pointer;
	color: #555;
	font-size: 11px;
	margin: 3px 3px 0 0;
	border: 1px solid #aaa;
	background-color: #eee;
	padding: 2px;
	text-align: center;
}

.spoiled
{
	margin: 0 3px 3px 0;
	padding: 2px;
	display: none;
	border-left: 1px solid #eee;
	border-right: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

table.forum_index_table
{
	width: 100%;
	margin-top: 5px;
	border-spacing:0px;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	border-left: 1px solid #ddd;
}

table.forum_index_table th
{
	vertical-align: middle;

	background-color: #eee;
	color: #555;
	font-weight: bold;
	font-size: 10px;
	text-align: center;
	padding: 3px;
}


table.forum_index_table td
{
	height: 60px;
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
	vertical-align: middle;
	text-align: center;
	background-color: #fff;
	padding: 2px 0 2px 5px;
}

table.forum_view_table
{
	width: 100%;
	margin-top: 5px;
	border-spacing:0px;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	border-left: 1px solid #eee;
}

table.forum_view_table th
{
	vertical-align: middle;
	background-color: #eee;
	color: #555;
	font-weight: bold;
	font-size: 10px;
	text-align: center;
	padding: 3px;
}

table.forum_view_table td
{
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
	vertical-align: middle;
	text-align: center;
	background-color: #fbfbfb;
	padding: 2px 0 2px 5px;
	font-size: 11px;
}

.forum_title
{
	font-size:14px;
	margin-bottom: 4px;
}

.forum_description
{
	color: #444;
	font-size:11px;
	margin-bottom: 5px;
	margin-left:10px;
}

table.thread_view_table
{
	width: 100%;
	margin-top: 5px;
	border-spacing:0px;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	border-left: 1px solid #eee;
}

table.thread_view_table th
{
	vertical-align: middle;
	background-color: #eee;
	color: #555;
	font-weight: bold;
	font-size: 10px;
	text-align: center;
	padding: 3px;
}

table.thread_view_table td
{
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
	vertical-align: top;
	text-align: center;
	background-color: #fbfbfb;
	padding: 2px 0 2px 5px;
}

.message_date
{
	float:left;
	font-size: 11px;
	font-color: #555;
}

.message_ip
{
	float:right;
	font-size: 11px;
	margin-right: 2px;
}

.message_user_info
{
	width: 100%;
	text-align:center;
	font-size: 10px;
	margin-top: 5px;
	margin-bottom: 10px;
}

.message_sign_border
{
	width: 200px;
	border-top: 1px solid #aaa;
	margin-top:15px;
}

.message_sign
{
	text-align:left;
	font-size:11px;
	width: 100%;
	margin-top:3px;
}

blockquote
{
	border-left: 1px solid #555;
	background-color: inherit;
	padding-left: 3px;
	font-size: 11px;
	margin: 5px 2px 0px 10px;
}

.qauthor
{
	font-weight: bold;
	margin-bottom: 3px;
}


table.thread_view_table td big
{
	font-size: 180%;
}

.code_tag
{
	width: 98%;
	padding: 5px;
	margin: 3px auto 5px;
	background-color: #eee;
	color: #222;
}


table.pm_view_table
{
	width: 600px;
	margin: 5px auto;
	border-spacing:0px;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	border-left: 1px solid #eee;
}

table.pm_view_table th
{
	vertical-align: middle;
	background-color: #eee;
	color: #555;
	font-weight: bold;
	font-size: 10px;
	text-align: center;
	padding: 3px;
}

table.pm_view_table td
{
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
	vertical-align: top;
	text-align: center;
	background-color: #fbfbfb;
	padding: 2px 0 2px 5px;
}

table.records_view_table
{
	width: 700px;
	margin: 5px auto;
	border-spacing:0px;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	border-left: 1px solid #eee;
}

table.records_view_table th
{
	vertical-align: middle;
	background-color: #eee;
	color: #555;
	font-weight: bold;
	font-size: 10px;
	text-align: center;
	padding: 3px;
}

table.records_view_table td
{
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
	vertical-align: top;
	text-align: left;
	background-color: #fbfbfb;
	padding: 2px 0 2px 5px;
	font-size: 11px;
}

table.records_view_table p
{
padding: 1px;
}

table.user_index_table
{
	width: 100%;
	margin: 5px auto;
	border-spacing:0px;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	border-left: 1px solid #eee;
}

table.user_index_table th
{
	vertical-align: middle;
	background-color: #eee;
	color: #555;
	font-weight: bold;
	font-size: 10px;
	text-align: center;
	padding: 3px;
}

table.user_index_table td
{
	border-top: 1px solid #ddd;
	border-right: 1px solid #ddd;
	vertical-align: top;
	text-align: center;
	background-color: #fbfbfb;
	padding: 2px 0 2px 5px;
}


.projects
{
	float: left;
	width: 500px;
	margin: 0 auto;
}

.message_image
{
	text-align: left;
	margin-top:10px;
}

ul.textedit_buttons
{
	clear: both;
	list-style-type: none;
	width: 100%; /* for Opera */
	margin: 0;
	padding: 0;
} 

ul.textedit_buttons li
{
	float: left;
	padding-right: 5px;
	margin-bottom: 3px;
}

.textedit_button
{
	border:1px solid #ddd;
	background-color:#fff;
	padding:2px;
	text-align:center;
	vertical-align: bottom;
	cursor: pointer;
}

#poll
{
	width:100%;
	text-align:center;
}

table.poll_table
{
	border: 0;
	margin: 0 auto;
}

table.poll_table td
{
	border: 0;
	padding: 6px;
	font-size: 11px;
	vertical-align: middle;
}

.poll_bar
{
	height: 12px;
	background-color:#aaa;
	text-align:left;
}

.poll_bar_bg

{
	height: 12px;
	width: 300px;

	background-color:#eee;
	border: 1px solid #ccc;
}

#poll_status
{
	margin:5px;
}


.category
{
	float: left;
	width: 310px;
	margin: 2px;
	margin-bottom: 10px;
}
.category-desc {
	border: 1px solid #ccc;
	background-color: #eee;
	padding: 5px;
	margin: 0 0 10px 0;
}
.category-filter {
	border: 1px solid #cec;
	background-color: #f0fff0;
	padding: 5px;
	margin: 0 0 10px 0;
}

.category p
{
	margin-bottom: 3px;
}

.pagination
{
	width: 500px;
	margin: 10px auto 10px;
	text-align: center;
}

.pagination a
{
	text-decoration: none;
	color: #666;
	padding: 3px;
	font-size: 10px;
	margin: 1px;
	border: 1px solid #e0e0e0	;
	background-color: #eee;
}

.pagination b
{
	color: #fff;
	font-size: 10px;
	font-weight: normal;
	padding: 3px;
	margin: 1px;
	border: 1px solid #a0a0a0;
	background-color: #aaa;
}

/* History */
.history_news,.history_threads,.history_posts,.history_bulletins,.history_blog_comments,.history_gallery_comments,.history_images
{
	margin-bottom:20px;
}

.history_image
{
	margin-right: 10px;
	margin-bottom: 10px;
	height: 120px;
	width: 160px;
	border: 1px solid #eee;
	padding: 3px;
	text-align: center;
	float: left;
}

/* Sidebars */

#sidebar {
	box-sizing: border-box;
	float: left;
	padding: 0 0 0 20px;
	width: 33%;
}


/* Footer */

#footer {
	width: 100%;
	background: #eee;
	margin-top: 30px;
	padding: 15px 0;
	text-align: center;
	font-size: 0.9em;
	border-top: 1px solid #ddd;
}

#footer img
{
	vertical-align: text-bottom;

}


.sape
{
color: #aaa;
}
.catalog-item {
	margin: 0 0 20px;
}
.catalog-section {
	margin: 0 0 10px;
}
.catalog-section-subcats {
	padding: 0 0 0 26px;
}
.catalog-section-subcats li {
	padding: 5px 0 0;
}
.clear {
	clear: both;
}
@media (max-width: 800px) {
	#main,
	#sidebar {
		width:100%;
	}
}