*{font-family:tahoma,arial;}
*::-moz-selection{background-color:#F00;color:#FFF;}
body{background:#444;margin:0;padding:0;color:#fff;font-size:14px;}
a{color:#fff;}
form{display:inline;margin:0px;padding:0px;}

button{font-size:1.3em;line-height:1.3em;padding:2px 5px;margin:2px;font-weight:bold;width:auto;cursor:pointer;vertical-align:middle;}
button img{vertical-align:middle;margin-right:3px;}
.radio{border:0;margin-right:5px;width:10px;vertical-align:middle;}
.checkbox{border:0;margin-right:5px;vertical-align:middle;}
.option{width:200px;}
.textarea{width:400px;height:150px;}

#admin_menu{background:#ffc;border-bottom:1px solid #fe8;}
#admin_menu.closed{height:3px;overflow:hidden;}
#admin_menu.hover{background:#dd9;cursor:pointer;border-bottom:1px solid #cc8;}
#admin_menu_inner{margin:0 auto;padding:5px;text-align:left;overflow:hidden;}
#admin_menu a{margin-left:10px;color:#000;}

.shoutbox_shout{margin-top:5px;padding-top:5px;}
.shoutbox_shout .shoutbox_shout_content{padding:5px;margin:5px 0;background:#555;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}

#container{min-width:920px;width:100%;margin:0 auto;background:#666;}

#header{height:109px;text-align:left;background:url('img/header_bg.png') 277px top repeat-x #666;overflow:hidden;border-bottom:1px solid #444;}
#header a#logo{height:109px;float:left;}

#user_info{float:right;margin:10px;padding:6px 8px;background:url('img/tr10.png');-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}
#user_info form,#user_info div{color:#fff;}
#user_info .avatar{background:transparent;border:1px solid #444;margin:0 7px 0 0;}
#user_info a{color:#fff;}
#user_info input{padding:2px;width:80px;margin-right:5px;}
#user_info .submit{font-size:9px;border:0;padding:0;margin:0;background:transparent;line-height:10px;height:18px;width:25px;color:#f00;font-weight:bold;cursor:pointer;}
#user_info .separator{color:#222;padding:0 8px;cursor:default;}
#user_info .top_info a{text-decoration:none;}
#user_info .top_info img{vertical-align:middle;border:0;}
#user_info .top_info span{margin-left:4px;}

#main_menu_container{position:absolute;margin:64px 0 0 0;width:100%;background:url('img/tr20.png');}
#main_menu{margin:0;padding:0;height:32px;width:100%;}
#main_menu td{text-align:center;margin:0;padding:0;}
#main_menu a{background:url('img/tr20.png');height:21px;font-family:arial,tahoma,verdana;display:block;text-decoration:none;font-size:17px;color:#FFF;padding:11px 10px;margin:0px;text-shadow:#000 1px 1px 1px;}
#main_menu a:hover{background:url('img/tr50.png');}
#main_menu td.selected a{background:url('img/tr50.png');color:#f00;}
#main_menu td.highlight a{background:url('img/tr50.png');}
#main_menu span#chat_users{font-size:xx-small;vertical-align:top;color:#E10024;}

/* COLUMNS */

#left_column{float:left;}
#right_column{float:right;}
#left_column, #right_column{width:300px;text-align:left;}
#right_column .block{margin:15px 0 20px 0;}
#left_column .block{margin:15px 0 20px 0;}
#left_column > .block > h1, #right_column > .block > h1{
	font-family:arial narrow;
	font-family:arial;
	font-weight:normal;
	font-weight:bold;
	font-size:17px;
	margin:0 0 8px 0;
	padding:2px 0 0 2px;
	color:#fff;
	border-bottom:1px solid #fff;
	border-bottom:3px solid #444;
} 
#left_column > .block > .content, #right_column > .block > .content{margin:0;padding:0 15px;font-size:11px;} 
#left_column > .block > .content *, #right_column > .block > .content *{font-size:11px;}

.tagcloud a:hover{background:#555;} 

/* Main content */

#main_content_container{position:relative;padding-top:30px;background:url('img/content_bg.png') top right no-repeat;}
#main_content{text-align:left;margin:0 250px 0 250px;padding:15px;}

#main_content h1,#main_content h1 a,#main_content h1 input{font-family:arial;font-size:25px;letter-spacing:1px;line-height:0.94em;margin:5px 0 4px 0;padding:0;font-weight:normal;text-align:left;text-decoration:none;}
#main_content h2,#main_content h2{font-size:12px;}

#main_content .smallheading,#main_content .smallheading a,#main_content .smallheading input{font-family:arial;font-size:25px;line-height:0.94em;margin:5px 0 4px 0;padding:0;font-weight:normal;text-align:left;text-decoration:none;font-size:15px;}
#main_content .smallsubheading{font-size:12px;color:#aaa;}
#main_content .smallsubheading *{color:#aaa;}

#main_content h2{font-weight:normal;color:#ccc;margin:0 0 5px 0;padding:0;}
#main_content h2 b{color:#666;}
#main_content h2 a b{color:#fff;}
#main_content h3{font-weight:normal;margin:0;padding:0;font-size:10px;font-style:italic;color:#F00;}

/* Action toolbar */

.action_toolbar{position:absolute;top:4px;right:0px;width:100%;}
a.action_button{float:right;color:#444;margin-right:4px;padding:2px 5px 3px 5px;text-decoration:none;border:1px solid #3d3d3d;background:url('img/tr30.png');
	-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;
  -moz-box-shadow:0 0 5px #3d3d3d;-webkit-box-shadow:0 0 5px #3d3d3d;box-shadow:0 0 5px #3d3d3d;
}
a.action_button:hover{border:1px solid #333;background:url('img/tr50.png');color:#fff;}
a.action_button img{border:0;margin:0;vertical-align:middle;}
a.action_button span{text-decoration:underline;margin-left:4px;color:#ddd;}
a.action_button:hover span{color:#fff;}

a.action_button.disabled:hover{border:1px solid #444;background:#555;cursor:default;}
a.action_button.disabled span{color:#aaa;text-decoration:none;}

/* Misc. */

button#preview{font-size:0.8em;}

.text_preview{clear:both;}

a.action_link{text-decoration:none;}
a.action_link img{border:0;margin-right:2px;vertical-align:middle;}
a.action_link span{text-decoration:underline;}

img.avatar{border:1px solid #333;width:16px;height:16px;vertical-align:middle;}
img.foto{border:1px solid #666;background:transparent;padding:1px;}

.article{margin-bottom:10px;padding:5px;overflow:hidden;height:100%;text-align:justify;}
.article img{padding:1px;border:1px solid #aaa;margin:5px 10px;}
.article h2 *{line-height:18px;}

.article .edit_link{background:url('img/edit.gif') left center no-repeat;padding-left:18px;}
.article .com_num{background:url('img/comment.gif') left center no-repeat;padding-left:18px;}

.article .avatar,.comment .avatar{margin:0 5px 0 0;border-color:#555;}
.article div{clear:both;height:100%;}
.article div#cut{width:100%;border-bottom:1px dashed #666;margin:10px 0;}
.article .text{clear:both;}

.article .video_embed{clear:both;margin:13px 0;}

.com_message{text-align:center;padding:10px;font-size:1.3em;}

.comment{margin:5px 0;padding:4px;background:#555;text-align:left;overflow:hidden;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}
.comment.new{background:#4a4a4a;-moz-box-shadow:0 0px 5px #a99;-webkit-box-shadow:0 0px 5px #a99;box-shadow:0 0px 5px #a99;}
.comment.selected{background:#3a3a3a;-moz-box-shadow:0 0px 5px #444;-webkit-box-shadow:0 0px 5px #444;box-shadow:0 0px 5px #444;}

.comment h2{font-size:11px !important;margin:0;padding:0;}
.comment h2 *{font-size:11px !important;color:#eee;}
.comment .comment_body{padding:5px 5px;}
.comment .reply{float:right;line-height:11px;text-decoration:underline;background:#666;padding:5px;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}
.reply a{text-decoration:none;}
.comment_comment_form{background:#transparent;clear:both;}
.comment_comment_form #write_comment #write_comment1{padding:5px;}

.comment .minimized_info{display:none;}

.comment.unread {background-color:#777;}

.comment.minimized .right_area,.comment.minimized .comment_body,.comment.minimized .date,.comment.minimized .hide{display:none !important;}
.comment.minimized .minimized_info{display:block !important;}

.comment_attachment{margin:-5px 7px 5px 7px;padding:0px 5px;text-align:left;height:100%;overflow:hidden;
	background:url('img/tr_grad.png') top left repeat-x #555;
	-moz-border-bottom-left-radius:3px;-webkit-border-bottom-left-radius:3px;border-bottom-left-radius:3px;
	-moz-border-bottom-right-radius:3px;-webkit-border-bottom-right-radius:3px;border-bottom-right-radius:3px;
}
.comment_attachment.minimized{display:none;}

.article img.small,.comment img.small{max-width:400px;max-height:200px;width:expression(width>400?"400px":"auto");height:expression(height>200?"200px":"auto");}

.spoiler{display:inline;border:1px solid #333;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}
.spoiler .spoiler_head{display:inline;padding:0 3px;cursor:pointer;background:#444;}
.spoiler .spoiler_head .spoiler_sign{padding:0 2px;margin-right:3px;}
.spoiler .spoiler_content{display:inline;display:none;}

.article_suggestions{background:#FFC;color:#472E00;padding:5px 8px;margin:5px 0;border:1px dotted #D1C05A;
	-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;
	-moz-box-shadow:0 1px 3px #222;-webkit-box-shadow:0 1px 3px #222;box-shadow:0 1px 3px #222;
}
.article_suggestions a{color:#3A6EA5;}

#write_article input{width:100%;}
#write_article input.checkbox{width:auto;border:0;}
#write_article textarea{width:100%;height:200px;}
#write_article img{border:0;}

#write_comment{width:100%;margin:0;}
#write_comment textarea{width:100%;height:100px;padding:0px;margin:0px;}

#text_tool_panel{position:realative;}
#text_tool_panel img{vertical-align:middle;}
#text_tool_panel .tool{display:block;float:left;line-height:20px;padding:0px 5px;cursor:pointer;}
#text_tool_panel > .tool{border:1px outset #666;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}
#text_tool_panel .tool_hover{background:#444;}
#text_tool_panel .toolbar{display:none;position:absolute;background:#444;z-index:1000;padding:1px;border:1px outset #666;
	-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;
	-moz-box-shadow:0 1px 5px #333;-webkit-box-shadow:0 1px 5px #333;box-shadow:0 1px 5px #333;
}
#text_tool_panel .toolbar .tool{display:block;float:left;padding:2px 4px;}
#text_tool_panel .toolbar .tool:hover{background:#a00;}


/* forum table */

table.forum{width:99.6%;}
table.forum tr.even{background:#444;}
table.forum tr.odd{background:#555;}
table.forum td.hover{background:#333;}
table.forum th{padding:1px 6px;background:#333;}
table.forum td{padding:1px 6px;}
table.forum td b{color:#F44;}
table.forum td a b{color:#fff;}
table.forum a{text-decoration:none;}
div#write_article{width:99%;margin:5px 0;}
div#write_article #bottomrow,div#write_comment #bottomrow{height:20px;margin:5px 0 0 0;}

/* admin tables */

table.categories_table{border-spacing:1px;}
table.categories_table th{background-color:#777;padding:1px 5px 1px 5px;font-size:1.2em;}
table.categories_table td{background-color:#808080;padding:1px 5px 1px 5px;margin:0px;}
table.categories_table td.noborder{background-color:transparent;border-bottom:0;height:30px;vertical-align:middle;}
table.categories_table td a{text-decoration:none;}
table.categories_table td a:hover{text-decoration:underline;}

table.options_table{border-spacing:1px;}
table.options_table td{background-color:#999;padding:1px 5px 1px 5px;height:50px;vertical-align:middle;}
table.options_table td.noborder{background-color:transparent;border-bottom:0;padding:1px 5px 1px 5px;height:30px;vertical-align:middle;}

/* user_info */

.tabmenu{border-bottom: 1px solid #333;margin: 15px 0px 0px 0px;padding: 0px;z-index:1;padding-left:0px}
.tabmenu li{display:inline;overflow:hidden;list-style-type:none;}
.tabmenu a, a.active{color:#eee;background:#444;font-weight:bold;font-size:14px;border:1px solid #333;padding:5px 11px;margin:0;text-decoration:none;line-height:27px}
.tabmenu a.active{color:#fff;background:#555;border-bottom:2px solid #555;}
.tabmenu a:hover{color:#fff;background: #222;}
.tabmenu a.active:hover{color:#fff;background: #555;}
.tabcontent{border:1px solid #333 !important;border-top:none !important;z-index:2;margin-top:0px !important;}

#user_info_div *{font-face:verdana;}
#user_info_div{height:100%;overflow:hidden;padding:4px;margin:10px 0;background:#555;border:1px solid #333;}
#user_info_div img{float:right;margin:0 0 2px 2px;border:1px solid #444;}
#user_info_div .frow{height:2px;overflow:hidden;}
#user_info_div .row{height:100%;min-width:200px;overflow:hidden;padding:3px 0;margin:0;}
#user_info_div .row .label{line-height:16px;height:100%;width:155px;overflow:hidden;float:left;padding:2px;text-align:right;font-weight:bold;color:#ffb;}
#user_info_div .row .value{line-height:16px;padding:2px;margin:0 0 0 165px;}

/* pagebar */

div#pagebar{padding:5px 0;clear:both;}
div#pagebar a{font-size:11px;border:1px solid #999;background:#777;padding:0 6px;text-decoration:none;-moz-border-radius:4px;}
div#pagebar a:hover{border:1px solid #ccc;background:#888;padding:0 6px;text-decoration:none;}
div#pagebar b{font-size:11px;border:1px solid #777;background:#666;padding:0 6px;-moz-border-radius:4px;}

/* after content */

#after_content{margin:0px 15px;}
#after_content h1,#after_content h1 a,#after_content h1 input{font-family:helvetica;font-size:20px;letter-spacing:1px;margin:5px 0 3px 0;padding:0;font-weight:bold;text-align:left;text-decoration:none;}
#after_content h1{margin-left:7px;}

#footer{background:#444;color:#FFF;vertical-align:middle;text-align:right;padding:5px 5px 2px 5px;clear:both;border-top:1px solid #fff;}

/* other */

.uploaded_image{float:left;margin:10px;padding:5px;border:1px dashed grey;text-align:center;}
.smile{vertical-align:middle;padding:0px !important;margin:0px 0px 3px 0px !important;border:0 !important;}
.userlink{text-decoration:none;}
.userlink .avatar{margin:0 5px 0 0;}
.small{color:#0FBDFF;font-size:10px;}
a.edit_link{background:url('img/edit.gif') no-repeat left center;text-decoration:underline !important;padding-left:18px !important;}
a.delete_link{background:url('img/delete.gif') no-repeat left center;text-decoration:underline !important;padding-left:16px !important;}
a.add_link{background:url('img/plus.gif') no-repeat left center;text-decoration:underline !important;padding-left:16px !important;}

/* penalties */

.penalties_list{max-width:500px;max-height:300px;margin:-5px 0;}

.penalties_list .penalty_link{display:block;padding:3px 8px;margin:5px 0;background:#444;text-decoration:none;
	-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;
	box-shadow: 0 0 1px #222;-webkit-box-shadow: 0 0 1px #222; -moz-box-shadow: 0 0 1px #222;
}
.penalties_list .penalty_link:hover{background:#333;
	box-shadow: 0 0 2px #777;-webkit-box-shadow: 0 0 2px #777; -moz-box-shadow: 0 0 2px #777;
}
.penalties_list .penalty_link div{font-size:0.9em;color:#aaa;}
.penalties_list .penalty_link div b{font-size:1.2em;font-weight:normal;color:#fff;}

/* thumbnaiils */

.thumbnail{display:block;display:inline-block;margin:0 3px 0 0;overflow:hidden;padding:0;position:relative !important;;height:100px !important;width:100px !important;border:1px solid;border-color:#ccc #aaa #aaa #ccc;
	-moz-box-shadow:1px 1px 2px #111;-webkit-box-shadow:1px 1px 2px #111;box-shadow:1px 1px 2px #111;
}
.thumbnail img{position:relative;border:0 !important;padding:0 !important;margin:0 !important;}
.thumbnail img.thumbnail_zoom{position:absolute !important;;bottom:5px !important;;right:5px !important;;}

/* boxy styles */

.boxy-wrapper{position:absolute;border:1px solid #333;background-color:#555;z-index:1000;
	-moz-border-radius:6px;-webkit-border-radius:6px;border-radius:6px;
	-moz-box-shadow:0px 0px 20px #000;-webkit-box-shadow:0 0px 20px #000;box-shadow:0 0px 20px #000;
}
.boxy-wrapper.fixed{position:fixed;}
.boxy-modal-blackout{position:absolute;background-color:black;left:0;top:0;}
.boxy-wrapper .title-bar{background-color:#434343;border-bottom:1px solid #333333;padding:6px 30px 8px 6px;position:relative;cursor:default;
	-moz-border-top-left-radius:6px;-webkit-border-top-left-radius:6px;border-top-left-radius:6px;
	-moz-border-top-right-radius:6px;-webkit-border-top-right-radius:6px;border-top-right-radius:6px;
}
.boxy-wrapper .title-bar.dragging{cursor:move;}
.boxy-wrapper .title-bar h2{font-size:1.24em;font-weight:normal;color:#fff;line-height:0.8em;margin:0;padding:0;}
.boxy-wrapper .title-bar .close{text-shadow:0px 0px 5px #000;position:absolute;top:5px;right:7px;width:16px;height:16px;margin:1px;font-size:25px;text-decoration:none;color:#fff;line-height:12px;font-weight:bold;}
.boxy-wrapper .title-bar .close:hover{text-shadow:0px 0px 5px #fff;color:#fff;}

.boxy-inner{padding:0;}
.boxy-content{margin:8px;}
.boxy-wrapper .question{width:350px;min-height:80px;}
.boxy-wrapper .answers{text-align:right;}

/* tipsy styles */

.tipsy{font-size:1em;position:absolute;padding:5px;z-index:100000;}
.tipsy-inner{background-color:#111;color:#fff;max-width:200px;padding:5px 8px 4px 8px;text-align:center;font-size:0.8em;}
.tipsy-inner{border-radius:5px;-moz-border-radius:5px;-webkit-border-radius:5px;}
.tipsy-inner{box-shadow: 0 0 3px #111;-webkit-box-shadow: 0 0 3px #111; -moz-box-shadow: 0 0 3px #111; }
.tipsy-arrow{position:absolute;width:0;height:0;border:5px solid transparent;}
.tipsy-arrow-n{border-bottom-color:#111;}
.tipsy-arrow-s{border-top-color:#111;}
.tipsy-arrow-e{border-left-color:#111;}
.tipsy-arrow-w{border-right-color:#111;}
.tipsy-n .tipsy-arrow, .tipsy-nw .tipsy-arrow, .tipsy-ne .tipsy-arrow { top: 0; border-top: none; }
.tipsy-s .tipsy-arrow, .tipsy-sw .tipsy-arrow, .tipsy-se .tipsy-arrow { bottom: 0; border-bottom: none; }
.tipsy-n .tipsy-arrow, .tipsy-s .tipsy-arrow { left: 50%; margin-left: -5px; }
.tipsy-nw .tipsy-arrow, .tipsy-sw .tipsy-arrow { left: 10px; }
.tipsy-ne .tipsy-arrow, .tipsy-se .tipsy-arrow { right: 10px; }
.tipsy-e .tipsy-arrow, .tipsy-w .tipsy-arrow { top: 50%; margin-top: -5px; }
.tipsy-e .tipsy-arrow { right: 0; border-right: none; }
.tipsy-w .tipsy-arrow { left: 0; border-left: none; }
