/*************************************************************************************
 * core definitions
 */
body, h1, h2, h3, h4, h5, h6, p, a, img, form, div, span, ol, ul, li, table, td, th, tr, blockquote, pre, input {
    padding: 0px;
    margin: 0px;
    border-collapse: collapse;
}

body {
    font-weight: normal;
    font-size:12px;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    text-align: left;
	background-color: #fff;
	color:#666;
}

h1, h1 a {
	font-size:16px;
}

h2, h2 a {
	font-size:14px;
}

h3, h3 a {
	font-size:12px;
}

h4, h4 a {
	font-size:12px;
}

h1 {
	color: #090;
}

h2 {
	color: #9c0;
}

h3 {
	color: #f60;
}

h1, h2, h3, h4 {
	margin-top:15px;
	margin-bottom:5px;
}

h6 {
	font-size:1px;
	color:#ccc;
}

img {
	border:none;
}

td, th {
    border: solid #666 1px;
    padding: 5px;
	vertical-align:top;
}

th {
    background-color: #eee;
	text-align:center;
}

th.blank, td.blank {
    background-color:transparent;
    border:none;
}

table.data-table td, table.data-table {
	vertical-align:middle;
}

td.label, table.data-table td.label {
	padding-top:4px;
	font-weight:bold;
	vertical-align:top;
}

td.submit {
	border:none;
	text-align:center;
}

p, ol, ul, table, blockquote, pre {
   	margin-bottom:10px;
}

input, textarea {
	COLOR: #000;
	font-size:12px;
	FONT-STYLE: normal;
	FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif;
	padding-left:2px;
	padding-right:2px;
}

a, a:active, a:focus, a:hover, a:visited, .fauxnav {
	text-decoration:none;
	color:#090;
}

a:hover {
	text-decoration:underline;
	color:#9c0;
}

blockquote { 
	margin-left:20px; 
	margin-right:20px; 
	margin-bottom:10px; 
	padding-top:10px; 
	padding-left:40px; 
	padding-right:10px; 
	padding-bottom:10px; 
	color: #336699; 
	background-color: #eeffee; 
	background-repeat:no-repeat; 
	border:1px dotted #003366; 
	background-image:url(../gfx/blockquote-default.gif);
}

blockquote {
	/* blockquotes are not propery formatted in xhtml unless they have <p> tags */
	padding-top:10px;
	padding-bottom:0em;
}

blockquote.code {
	font-family:courier;
	font-size:12px;
	background-image:url(../gfx/blockquote-code.gif);
}

blockquote.math {
	font-family:courier;
	font-size:12px;
	background-image:url(../gfx/blockquote-math.gif);
}

hr {
	border:none;
	border-top:solid #ccc 1px;
}
/*************************************************************************************
 * container definitions
 */
.ajax_waiter {
	display:none;
}

#container {
	width:950px;
	margin:20px;
	padding-bottom:10px;
}

#header {
	padding-bottom:2px;
}

#sidebar {
	float:left;
	width:180px;
	padding-top:10px;
	margin-right:20px;
	background-repeat:no-repeat;
	background-position:right;
	background-position:140px -8px;
	background-image:url(../gfx/grad_sidebar.jpg);
}

#sidebar-body {
	width:179px;
	float:left;
}

#minheight {
	font-size:1pt;
	color:#fff;
	height:445px;
	width:0.1px;
	float:right;
}

#content {
	float:left;
	padding-top:10px;
	width:750px;
}

#footer {
	border-top:solid #9c0 1px;
	padding-top:2px;
}

.mandatory {
	color:red;
	font-weight:bold;
}
/*************************************************************************************
 * navigation definitions
 */
#header-nav ul,
#footer-info ul,
#footer-nav ul {
	margin-bottom:0px;
}

li.seperator {
	color:#ccc;
}

/*
li div.selected {
	background-color:#ffc;
}

li div.over {
	background-color:#efefef;
}
*/

#sidebar li,
#header-nav li,
#footer-info li,
#footer-nav li,
#banner-nav li {
	list-style-type:none;
}

#footer-info li,
#header-nav li {
	float:right;
	margin-left:10px;
}

#footer-nav li,
#banner-nav li {
	float:left;
	margin-right:10px;
}

#header-seperator,
#footer-seperator {
	clear:both;
}

#banner-nav {
	border-bottom:solid #090 1px;
}

#sidebar li {
	padding-top:2px;
	padding-left:30px;
	padding-right:0px;
	padding-bottom:2px;
	background-repeat:no-repeat;
	background-position:8px 5px;
	background-image:url(../gfx/widget_default.gif);
}

/*************************************************************************************
 * alert definitions
 */
.error, .warning, .success {
	padding-top:10px;
	padding-left:40px;
	padding-right:5px;
	padding-bottom:10px;
	background-repeat:no-repeat;
	background-position:10px 8px;
	margin-bottom:10px;
}

.success {
	border:solid #090 1px;
	background-color:#cfc;
	background-image:url(../gfx/message_success.gif);
}

.error {
	border:solid #900 1px;
	background-color:#fcc;
	background-image:url(../gfx/message_error.gif);
}

.warning {
	border:solid #f90 1px;
	background-color:#ffc;
	background-image:url(../gfx/message_warning.gif);
}

/*************************************************************************************
 * input definitions
 */
#uploadfile,
.short_text_input, 
.medium_text_input, 
.number_input, 
.date_input, 
.text_input, 
.file_input,
.captcha_input {
	padding-top:2px;
	padding-left:5px;
	padding-right:5px;
	padding-bottom:2px;
}

#uploadfile {
	padding-top:3px;
	height:23px;
}

input.date_input {
	width:140px;
}

input.captcha_input {
	width:140px;
}

input.short_text_input,
input.number_input {
	width:75px;
}

input.medium_text_input {
	width:150px;
}

input.text_input {
	width:450px;
}

input.checkbox {
	border:0px;
}

textarea.text_input {
	width:450px;
	height:100px;
}

textarea.long_code {
	width:650px;
	height:300px;
	font-family: Courier;
}

.disabled_text_input {
	background-color:#f5f5f5;
	color:#999;
}

pre.iConsole_output {
	border:dotted 1px #666;
	background-color:#eee;
}
/*************************************************************************************
 * Wiki stuff
 */
#wiki_history_link,
#wiki_edit_link {
	padding-left:5px;
	float:right;
}

#wiki_edit {
	display:none;
}

#wiki_text {
	width:740px;
	height:450px;
	font-family:courier;
	font-size:12px;
}

#wiki_comment_holder {
	padding-top:10px;
	padding-bottom:10px;
}

#wiki_comment {
	padding-top:3px;
	width:740px;
	height:18px;
}

#wiki_text_save_holder {
	display:none;
}

#wiki_history_holder,
#wiki_preview_holder {
	width:740px;
	background-color:#ffe;
	display:none;
	border:solid #999 1px;
}

#wiki_history_title,
#wiki_preview_title {
	width:736px;
	background-color:#ccc;
	border-bottom:solid #999 1px;
	color:red;
	padding:2px;
	cursor:pointer;
}

#wiki_history_change,
#wiki_history,
#wiki_preview {
	width:736px;
	padding:5px;
}

.wikilink_no_exist {
	color:#f60;
}

.changelog,
.changelog_list {
	border:solid #ccc 1px;
	margin-bottom:0px;
}

.changelog_list {
	width:731px;
}

.changelog td {
	font-family:courier;
	font-size:12px;
	border:none;
}

.wiki_table {
	margin-bottom:10px;
}

.wiki_table th,
.wiki_table td {
	border:solid #666 1px;
	padding-top:2px;
	padding-left:5px;
	padding-right:5px;
	padding-bottom:2px;
}

.wiki_table th {
	text-align:center;
	background-color:#ccc;
}

.wiki_ol li,
.wiki_ul li {
	margin-left:30px;
	list-style-type:disc;
}

#wiki_busy {
	display:none;
}

.wiki_pre {
	padding:10px;
	margin-bottom:10px;
	border-top:dashed 1px #999;
	border-bottom:dashed 1px #999;
	background-color:#ffd;
}

.pages documentation_link {
	float:right;
	padding-right:10px;
}

/****************************************************************************************
 * Ajax uploader
 */

#upload_submit_button {
	font-size:9pt;
	font-family: Arial;
	padding-top:1px;
	padding-bottom:0px;
}

.upload_response {
	margin-top:5px;
}

#upload_response,
#upload_submit_busy {
	display:none;
}

#upload_notes_holder {
	margin-bottom:5px;
}

/* wiki specific */
.wiki_upload_filename {
	width:437px;
}

.media_detail {
	margin-bottom:5px;
}

#file_uploader {
	width:461px;
}

#file_uploader table {
	width:100%;
}

table.file_list .filename,
table.file_list .options {
	width:1%;
}

#file_uploader table .notes {
	width:98%;
}

.followup_upload_filename {
	width:390px;
}

/****************************************************************************************
 * diff outputing
 */

.diff_same_soft {
	background-color:#cfc;
}

.diff_changed_soft {
	background-color:#fc9;
}

.diff_added_soft {
	background-color:#ccf;
}

.diff_removed_soft {
	background-color:#fcc;
}

td.diff_same {
	background-color:green;
	color:green;
}

td.diff_changed {
	background-color:orange;
	color:#960;
}

td.diff_added {
	background-color:blue;
	color:blue;
}

td.diff_removed {
	background-color:red;
	color:red;
}

/**********************************************************************************************************
 * borders postings
 */
.bordered_t {background: url(../gfx/border_dot.gif) 0 0 repeat-x; }
.bordered_b {background: url(../gfx/border_dot.gif) 0 100% repeat-x;}
.bordered_l {background: url(../gfx/border_dot.gif) 0 0 repeat-y;}
.bordered_r {background: url(../gfx/border_dot.gif) 100% 0 repeat-y;}
.bordered_bl {background: url(../gfx/border_bl.gif) 0 100% no-repeat;}
.bordered_br {background: url(../gfx/border_br.gif) 100% 100% no-repeat;}
.bordered_tl {background: url(../gfx/border_tl.gif) 0 0 no-repeat;}
.bordered_tr {background: url(../gfx/border_tr.gif) 100% 0 no-repeat; padding:10px; padding-top:15px; padding-bottom:5px; } 

.bordered_tr h2, .bordered_tr h3 {
	margin-top:0px;
	margin-bottom:10px;
}
.page-component, 
.dashboard-widget-wide,
.dashboard-widget-odd,
.dashboard-widget-even {
    background: url(../gfx/border_grad.gif) 200px 100% repeat-x;
	margin-bottom:10px;
	border:solid #fff 1px; /* This is needed for IE6 to render the bubble correctly */
}

.dashboard-widget-wide {
	width:730px;
}

#dashboard-widget-lhs,
#dashboard-widget-rhs {
	float:left;
	width:361px;
	margin-right:10px;
}

.dashboard-widget-seperator {
	clear:both;
}

.widget {
	margin-bottom:20px;
}

#webstats-widget table {
	margin-bottom:0px;
}

.webstats-widget,
#webstats-widget {
	width:100%;
}

#webstats_manager {
	display:none;
}

#webstats_manager .config_button {
	float:right;
	cursor:pointer;
}

#webstats_pre_manager p {
	cursor:pointer;
}

table.layout td {
	border:none;
	vertical-align:middle;
	padding:0px;
	padding-right:5px;
}

/**********************************************************************************************************
 * mapping components
 */

.action_map td {
	vertical-align:middle;
}

.action_map th {
	vertical-align:bottom;
}

.edit_bar th, .edit_bar td {
	border:none;
	vertical-align:middle;
	padding:0px;
	cursor:pointer;
}

.edit_bar .spacer {
	padding-left:10px;
	padding-right:10px;
}

#popup_component_holder {
	position:absolute;
	background-color:#fff;
/*
	background-color:#efe;
	border:solid #090 1px;
	padding-top:30px;
	padding-left:30px;
	padding-right:30px;
	padding-bottom:20px;
*/
}

div#popup_component_message p,
div#popup_component p {
	margin-bottom:2px;
	text-align:center;
}

div#popup_component_holder div#popup_component_holder_outer {
	margin:0px;
}

#page_editor {
	float:right;
}

#page_content_panel {
	display:none;
	border:solid #090 1px;
	background-color:#efe;
	position:absolute;
	padding-top:30px;
	padding-left:30px;
	padding-right:30px;
	padding-bottom:10px;
}

#page_cotent_text {
	font-family:"Courier New", Courier, monospace;
	width:650px;
	height:400px;
}

#user_action_map .new {
	background-color:#ffc;
}

table.imagelink tr.linkdata td.linkbit {
	vertical-align:middle;
	padding-right:5px;
	border:none;
}

.question_title,
.news_title {
	margin-bottom:10px;
	border-bottom:solid 1px #ccc;
}

.question_footer,
.news_footer {
	border-top:solid 1px #ccc;
	/*font-weight:bold;*/
	font-size:10px;
}

ul.question_toc {
	margin-left:30px;
	margin-top:20px;
	margin-bottom:20px;
}

ul.question_toc li {
	margin-top:2px;
	margin-bottom:2px;
}
/**********************************************************************************************************
 * Calendar stuff
 */

.calendar-previous-month,
.calendar-next-month,
.calendar-day {
	cursor:pointer;
}

.calendar-day-last-month,
.calendar-day-next-month {
	background-color:#eee;
}

#nk_calendar_holder th,
#nk_calendar_holder td {
	text-align:center;
	vertical-align:middle;
}

.calendar-day-header,
.calendar-day {
	font-size:10px;
}

.calendar-day-header {
	background-color:#eee;
}

.calendar-day {
	width:25px;
}

.calendar-today {
	background-color:#fc9;
	font-weight:bold;
}

.calendar-selected {
	background-color:#cfc;
}

.calendar-last-month,
.calendar-next-month {
	background-color:#eee;
}

.calendar-popup-button {
	background-color:#f0f0f0;
	color:#aaa;
	border:solid #aaa 1px;
	cursor:pointer;
}

tr.secure {
	background-color:#eff;
}

.value pre {
	margin:0px;
}


.translucent
{
filter:alpha(opacity=50);
	-moz-opacity:0.5;
	opacity:0.5;
} 

.captcha_details {
	margin:0px;
}
.captcha_details th, 
.captcha_details td {
	border:0px;
	padding:0px;
}

.captcha_help {
	text-align:right;
}

#captcha_helper_buttons {
	margin-top:10px;
	z-index:2500;
	text-align:center;
}
#captcha_helper {
	position:absolute;
	background-color:#ffc;
	border:solid #c90 1px;
	padding:10px;
	width:300px;
	text-align:justify;
	display:none;
}

/**********************************************************************************************************
 * MEDIA: print
 */
@media print {
	#container {
		width:800px;
		margin:0px;
	}

	#content {
		padding-top:0px;
	}

	.noprint,
	#footer,
	#header-nav,
	#webstats_pre_manager,
	#webstats_manager,
	#sidebar {
		display:none;
	}
}
