/*
-----------------------------------------------
Wikka XTrackCAD Stylesheet
Design by: Martin Fischer
Based on Kubrick Stylesheet
Original design by: Michael Heilemann
Author URI: http://binarybonsai.com/
Adapted by DarTar
----------------------------------------------- */

/* page layout */

body {
	background-color: #C6CCCC; /* Glacier */
	margin: 0;
	padding: 0; 
	text-align: center;
	font-family: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;
	color: #333;
}

#page {
	background-color: white;
	width: 70%;
	margin: 10px auto; 
	padding: 0;
	text-align: justify;
}
	
#header {
	background-color: #1D4E89;
	margin: 0 auto;
	padding: 0;
}

#sidebar {
	float: right;
	width: 30%;
	margin: 0 0 20px 0; 
}

#content {
	float: left;
	width: 55%;
	min-height: 300px;
	margin: 20px 0 0; 
	line-height: 1.4em;
	padding: 0 0 20px 45px;
/*	font-size: 1.2em; */
}

#footer {
	clear: both;
	width: 760px;
	height: 63px; 
	padding: 0;
	margin: 0 auto;
}

#smallprint {
	background-color: #1D4E89;
	margin: 0;
	padding: 3px 0;
	text-align: center;
	font-size: 80%;
	color: white;
}

/* comments */

#comments {
	clear: left;
	width: 55%;
	margin: 20px 0;
	padding: 0 0 20px 45px;
	line-height: 1.4em;
}

#commentsheader {
	font-size: 1em;
}

.comment {
	margin: 10px;
	padding: 10px;
/*	line-height: 1.4em; */
	background-color: #F6F8F8;
}

.commentinfo {
	font-size: .8em;
	padding: 5px;
}

#commentform textarea {
	width: 100%;
}

/* links */

a {
	color: #7DA1BF;
	text-decoration: none;
}

a:hover {
	color: #F69256;
	text-decoration: underline;
}

#header h2 a {
	text-decoration: none;
	color: white;
}

a img {
	text-decoration: none;
}

a#pagetitle {
	display:block;
	font-weight: normal;
	font-size: 0.6em;
}

.keys a {
	text-decoration: none;
	color: white;
}

.keys a:hover {
	color: white;
}	

/* lists */

ul.thread {
        list-style-type: none;
        border-left: 2px #666 solid;
        padding-left: 10px;
        margin: 5px 0px;
}

ul.thread li {
        color: #333;
        font-size: 11px;
}

/* images */

img {
	border: 0px;
}

img.centre {
	display: block; 
	text-align: center; 
	margin: 5px auto;
}

img.center {
	display: block; 
	text-align: center; 
	margin: 5px auto;
}

img.left {
	margin: 5px 5px 5px -5px;
	float: left;
}

img.right {
	margin: 5px -5px 5px 5px; 
	float: right;
}

img.icon {
	border: 0px;
	vertical-align: middle;
}

/* floats */

.floatl {
	float: left;
	text-align: left;
	width: 46%;
	margin-right: 15px;
	padding: 4px;
	background-color: #FAFAFA;
/*	border: 1px solid #DDD; */
}

.floatr {
	float: right;
	text-align: left;
	width: 46%;
	margin-left: 15px;
	padding: 4px;
	background-color: #FAFAFA;
/*	border: 1px solid #DDD; */
}

/* simply left-float element */
.left {
	float:left;
}

/* simply right-float element */
.right {
	float:right;
}

.clear {clear:both;}

/* text formatting */

#header h2 {
	padding: 10px;
	font-size: 200%;
	text-align: center;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Trebuchet MS', 'Lucida Grande', Verdana, Arial, Sans-Serif;
	font-weight: bold;
	color: #333;
	padding: 0;
	margin-top: 0;
	margin-bottom: 1em;
}

h1 {
	margin-top: 1em;
	font-size: 150%;
	}

h2 {
	margin-top: 0.5em;
	font-size: 140%;
	}

h3 {
	font-size: 130%;
}

h4 {
	font-size: 120%;
}

h5 {
	font-size: 110%;
}

h6 {
	font-size: 100%;
}

tt {
	font-family: "Lucida Console", Monaco, monospace;
	color: #666;
}

.hidden {
	display: none;
}

.wikisource {
	font-family: monospace;
	font-size: 1.1em;
	color: #666;
	background-color: #F9F9F9;
	border: 1px solid #CCC;
	padding: 1em;
	margin-bottom: .5em;
}

.highlight {color: red; background: #FFFFD0;}

.strikethrough {color: #888; text-decoration: line-through;}

.underline {text-decoration: underline;}

.indent {
	margin-left: 40px;
}

.notes {
	color: #880;
}

.help {
	cursor: help;
}

.centre {text-align: center;}

.center, .center p {text-align: center;}

.keys {
	color: white;
	background-color: #7DA1BF;
	font: normal 95% Verdana, sans-serif;
	text-align: center;
	border-top: 1px solid #FFF;
	border-left: 1px solid #FFF;
	border-right: 1px solid #AAA;
	border-bottom: 1px solid #AAA;
	padding: .1em .2em;
}

.keys:hover {
	color: #555;
	background-color: #F69256;
	border-top: 1px solid #FFF;
	border-left: 1px solid #FFF;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
}

abbr,acronym {
	letter-spacing: .07em;
	border-bottom: 1px dotted #333;
	cursor: help /*modifies the mouse pointer as a question mark*/
}

blockquote {
	font-size: 90%;
}

hr {
	border: 0;
	border-top: 1px solid #EEE;
}

.disabled {
	color: #AAA;
}

/* code blocks */

.code_header {
	color: #336;	
	background-color: #D0E0F0;
	border-top: 1px solid #AAC;
	border-right: 1px solid #AAC;
	border-left: 1px solid #AAC;
	border-bottom: none;
	font-family: Verdana, Arial, sans-serif;
	font-size: 100%;
	padding: 0 3px;
	margin: 5px auto 0 auto;
	text-align: left;
	line-height: 1.5em;
}

.code {
	color: white;
	background: #7DA1BF;
	font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
	margin: 0.5em 0 0.5em 0;
	padding: 6px 5px 6px 5px;	/* padding-bottom solves hor. scrollbar hiding single line of code in IE6 but causes vert. scrollbar... */
	text-align: left;			/* override justify on body */
	overflow: auto;				/* allow scroll bar in case of long lines - goes together with white-space: nowrap! */
	white-space: nowrap;		/* prevent line wrapping */
}

.code pre {
	margin-top: 6px;
	margin-bottom: 6px;			/* prevent vertical scroll bar in case of overflow */
	font-size: 75%;
	line-height: 140%;
	font-family: "Lucida Console", Monaco, monospace;
}

/* form elements */

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

fieldset {
	margin-top: 10px;
	margin-bottom: 10px;
	border: 1px solid #CCC;	
}

fieldset legend {
	font-size: 115%;
	color: #666;
	padding:2px;
}

textarea {
	border: 1px solid #CCC;	
}

textarea:hover {
	background-color: #F3F3F3;
}

textarea:focus {
	background-color: #E6E6FF;
}

input {
	border: 1px solid #CCC;	
}

input:hover {
	background-color: #F3F3F3;
}

input:focus {
	background-color: #E6E6FF;
}

input[type=hidden] {
	display: none;
}

input[type=submit], input[type=button] {
	color: #666;
	background-color: #EEE;
	font: normal 95% Verdana, sans-serif;
	text-align: center;
	border-top: 1px solid #FFF;
	border-left: 1px solid #FFF;
	border-right: 1px solid #AAA;
	border-bottom: 1px solid #AAA;
	padding: .1em .2em;
}

input[type=submit]:hover, input[type=button]:hover {
	color: #333;
	background-color: #DDD;
	border-top: 1px solid #FFF;
	border-left: 1px solid #FFF;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
}

/* editor textarea decorations */
/* (decorations can't be in "textarea#body" declaration, else the "width:100%" won't work) */
#textarea_container {
	border: 1px solid #CCC;
	padding: 2px;
	margin-bottom: 2px;
}

textarea#body{
	width: 100%;
	height: 500px;
	/* padding and border must be 0 for the "width:100%" to work */
	padding: 0;
	border: 0;
}

.searchbox {
	/* border: none; */
	border: 1px solid #CCA;
	padding: 0px;
	margin: 0px;
}

input.grabcode {
	float: right;
	margin-top: 0px;
	font-size: 90%;
}

input.highlight {
	font-weight: normal;
	background-color: #FCC;
	color: #000;
}

/* system information */

.datetime {
	color: #666;
	font-size: 80%;
	font-family: "Lucida Console", Monaco, monospace;
}

.missingpage {
	/* background: #ccffff; */
	text-decoration: none;
	border-bottom-width: 1px;
	border-bottom-color: #933;
	border-bottom-style: dashed;
}

/* inline system messages */
em.error {
	color: #A33; 
	font-style: normal;
	font-weight: bold;
	font-size: 95%;
}

em.success {
	color: #3A3; 
	font-style: normal;
	font-weight: bold;
	font-size: 95%;
}

/* redirection messages */

div.success {
	position: fixed;
	top: 6em;
	right: 1.5em;
	max-width: 40%;
	border: 2px solid #3A3;
	padding: .2em .4em;
	color: #3A3; 
	background-color: #EFE;
	font-style: normal;
	font-weight: bold;
	font-size: 90%;
}

.comments {display: none;}

.revisioninfo {
	color: #000000;
	background-color: #E9F9E9;
	border: 1px solid #ACA;
	padding: 5px 10px;
	font-size: 90%;
	margin-bottom: 1em;
}

.copyright {
	font-size: 11px;
	color: #AAA;
	text-align: right;
}

.copyright a {
	color: #AAA;
}

.previewhead {
	margin: auto;
	z-index:20;
	position:fixed;
	top: 80px;
	left: 10px;
	color: red;
	font-size: xx-large;
	font-weight: bold;
	padding: 5px;
}

ins {
	background-color: #CFC;
	text-decoration: none;
}

del {
	color: #876;
	background-color: #FC9;
	text-decoration: none;
}

.recentchanges {font-size: 0.9em;}

.pagenote {color: #888;}

.smaller {font-size: smaller;}

#smallprint a {
	color: #987;
}

/* sort order information in sortable lists and tables*/
.sortorder {
	font-size: 70%;
	text-transform: uppercase;	
	letter-spacing: 1px;
}

/* debug messages */
.debug {
	color: #AAA;
	font-size: 70%;
	text-transform: uppercase;	
	letter-spacing: 1px;
}


/* Tables */

table.data {
	font-size: 90%;
	border: 2px solid #CCC;
	border-collapse: collapse;
	border-spacing: 0;
}

table.data caption {
	border: 1px solid #CCC;
	font-size: 95%;
	color: #666;
	margin:5px 0;
	padding:2px;
}

table.data thead {
	background-color: #DDD;
}

table.data tfoot {
	background-color: #DDD;
}

table.data th {
	border: 1px solid #CCC;
	padding: .1em .25em;
}

table.data thead th {
	background-color: #DDD;
}

table.data tfoot th {
	background-color: #DDD;
}

table.data tbody th {
	background-color: #EEE;
}

table.data tbody tr:hover {
	background-color: #E9E9F9;
}

table.data tbody tr.alt:hover {
	background-color: #E9E9F9;
}

table.data td {
	border: 1px solid #CCC;
	padding: .1em .25em;
}

table.data td.number {
	text-align: right;
}

table.data td.datetime {
	text-align: right;
	white-space: nowrap;
}

/* --- alternate row & column color --- */

table.data tr.alt {
	background-color: #EEE;
}

table.data th.c1 {
	background-color: #CDD;
}

table.data th.c2 {
	background-color: #DCC;
}

table.data th.c3 {
	background-color: #DDC;
}

table.data th.c4 {
	background-color: #CDC;
}

table.data th.c5 {
	background-color: #CCD;
}

table.data th.c6 {
	background-color: #DCD;
}

table.data td.c1 {
	background-color: #EFF;
}

table.data td.c2 {
	background-color: #FEE;
}

table.data td.c3 {
	background-color: #FFE;
}

table.data td.c4 {
	background-color: #EFE;
}

table.data td.c5 {
	background-color: #EEF;
}

table.data td.c6 {
	background-color: #FEF;
}

table.data tr.alt td.c1 {
	background-color: #DEE;
}

table.data tr.alt td.c2 {
	background-color: #EDD;
}

table.data tr.alt td.c3 {
	background-color: #EED;
}

table.data tr.alt td.c4 {
	background-color: #DED;
}

table.data tr.alt td.c5 {
	background-color: #DDE;
}

table.data tr.alt td.c6 {
	background-color: #EDE;
}

/* Action-related styling */

/* Adminpages action */

table#adminpages {
	border: 1px solid #CCC;
	width: 100%;
}

table#adminpages td.actions {
	text-align: center;
	font-size: 70%;
	font-family: Verdana, Arial, Helvetica, sans-serif; 	
}

form#form_page_admin_panel fieldset {
	line-height: 2em;	
	font-size: 90%;
}

/* Adminuser action */

table#admin {
	border: 1px solid #CCC;
	width: 100%;
}

table#adminusers td.actions {
	text-align: center;
	font-size: 70%;
	font-family: Verdana, Arial, Helvetica, sans-serif; 	
}

form#form_user_admin_panel fieldset {
	line-height: 2em;	
	font-size: 90%;
}

/* Lastedit action */
.lastedit {
	border:dotted 1px;
	padding:3pt;
	margin:8pt; color:#888;
	font-size:8pt;
	width:30%;
}

.lastedit_notes {
	color: #880;
}

/* TextSearch & TextSearchExpanded Actions*/
.tse_keywords {
	font-weight: bold;
	color: green;
	background-color: #FAEBD7;
}

/* Calendar Action */
table.calendar {
	color: #000;
	background-color: #EEE;
	border-collapse: collapse;
}

table.calendar caption {
	border: 1px solid #CCC;
	margin:5px 0;
	font-size: 95%;
	color: #666;
	padding:2px;
}

table.calendar thead {
	border: 2px solid #CCC;
	background-color: #DDD;
}

table.calendar tbody.face {
	background-color: #EEE;
	border: 2px solid #CCC;
}

table.calendar tbody.calnav {
	background-color: #FFF;
}

table.calendar thead th {
	border: 1px solid #CCC;
	padding: 1px;
	text-align: center;
	font-size: 85%;
	width: 26px;
}

table.calendar tbody.face td {
	border: 1px solid #CCC;
	text-align: right;
}

table.calendar td.currentday {
	color: #FFF;
	background-color: #33A;
}

table.calendar tbody.face td:hover {
	background-color: #DDD;
}

table.calendar tbody.face td.currentday:hover {
	color: #FFF;
	background-color: #66C;
}

table.calendar tbody.calnav {
	font-weight: bold;
}

table.calendar td.prevmonth {
	text-align: left;
	font-size: 85%;
}

table.calendar td.curmonth {
	text-align: center;
}

table.calendar td.nextmonth {
	text-align: right;
	font-size: 85%;
}

table.calendar a:link {
	color: #339;
	text-decoration: none;
}

table.calendar a:visited {
	color: #339;
	text-decoration: none;
}

table.calendar a:hover {
	color: #933;
}

table.calendar a:active {
	color: #339;
	text-decoration: none;
}

/* Usersettings action */
table.usersettings {
	width: 100%;
}

table.usersettings tbody tr > td {
	width: 100%;
}


/* Wikkaconfig action */
table.wikkaconfig {
	width: 70%;
	font-size: 90%;	
}

table.wikkaconfig caption {
	font-size: 120%;
	background-color: #E9E9F9;
	padding: 5px;
}

table.wikkaconfig tbody th[scope=row] {
	text-align: right;
	padding-right: 5px;
}

table.wikkaconfig tbody td {
	padding-left: 5px;
}


/* Handler-related styling */

/* Acls handler */
table.acls {
	width: 100%;
}

table.acls textarea{
	width: 150px;
}


/* 3rdparty-code related styling */

/* syntax highlighting code - GeSHi */
.code ol {
	margin-top: 6px;
	margin-bottom: 6px;			/* prevent vertical scroll bar in case of overflow */
}
.code li {
	font-size: 11px;
	font-family: "Lucida Console", Monaco, monospace;
}
.code .br0	{ color: #6C6; }
.code .co1	{ color: #808080; font-style: italic; }
.code .co2	{ color: #808080; font-style: italic; }
.code .coMULTI	{ color: #808080; font-style: italic; }
.code .es0	{ color: #009; font-weight: bold; }
.code .kw1	{ color: #b1b100; }
.code .kw2	{ color: #000; font-weight: bold; }
.code .kw3	{ color: #006; }
.code .kw4	{ color: #933; }
.code .kw5	{ color: #00F; }
.code .me0	{ color: #060; }
.code .nu0	{ color: #C6C; }
.code .re0	{ color: #00F; }
.code .re1	{ color: #00F; }
.code .re2	{ color: #00F; }
.code .re4	{ color: #099; }
.code .sc0	{ color: #0BD; }
.code .sc1	{ color: #DB0; }
.code .sc2	{ color: #090; }
.code .st0	{ color: #F00; }

/* wikiedit */

.toolbar tr { background: ButtonFace; }
.toolbar .btn-, .toolbar  .btn-hover,  .toolbar .btn-active,
.toolbar .btn-pressed {
	background: ButtonFace;
	color: ButtonText;
	border: 1px solid ButtonFace;
	padding: 1px;
	margin: 0px;
	cursor: pointer;
}
.toolbar .btn- img  { width: 20px; height: 20px; }
.toolbar .btn-hover { border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; }
.toolbar .btn-active,
.toolbar .btn-pressed { border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; }
.toolbar .btn-pressed { background: ButtonHighlight; }
.editornamecss { background-color:#CCCCFF; font-size: 18px; padding: 0 10px; }

/* menus */
ul#user_menu:before {
	font-weight: bold;
	content: "User Documentation";
}

ul#user_menu {
	width: 285px;
	text-align: left; 
	font-size: 75%;
}

ul#user_menu li {
	line-height: 150%;
	list-style-type: none;
	list-style-image: none;
	margin: 0 10px;
}

ul#user_menu li:before {
	content: "\00BB \0020";
}
ul#dev_menu:before {
	font-weight: bold;
	content: "Developer Documentation";
}

ul#dev_menu {
	width: 285px;
	text-align: left; 
	font-size: 75%;
}

ul#dev_menu li {
	line-height: 150%;
	list-style-type: none;
	list-style-image: none;
	margin: 0 10px;
}

ul#dev_menu li:before {
	content: "\00BB \0020";
}

ul#wiki_menu:before {
	font-weight: bold;
	content: "Wiki";
}

ul#wiki_menu {
	width: 285px;
	text-align: left; 
	font-size: 75%;
}

ul#wiki_menu li {
	line-height: 150%;
	list-style-type: none;
	list-style-image: none;
	margin: 0 10px;
}

ul#wiki_menu li form {
	display:inline;	
}

ul#wiki_menu li input {
	margin-top: 1px;	
	width: 100px;	
}

ul#wiki_menu li:before {
	content: "\00BB \0020";
}

ul#main_menu:before {
	font-weight: bold;
	content: "Main";
}

ul#main_menu {
	width: 285px;
	text-align: left; 
	font-size: 75%;
}

ul#main_menu li {
	line-height: 150%;
	list-style-type: none;
	list-style-image: none;
	margin: 0 10px;
}

ul#main_menu li form {
	display:inline;	
}

ul#main_menu li input {
	margin-top: 1px;	
	width: 100px;	
}


ul#main_menu li:before {
	content: "\00BB \0020";
}

ul#options_menu:before {
	font-weight: bold;
	content: "Options";
}

ul#options_menu {
	width: 285px;
	text-align: left;
	font-size: 75%;
}

ul#options_menu li {
	line-height: 150%;
	list-style-type: none;
	list-style-image: none;
	margin: 0 10px;
}

ul#options_menu li:before {
	content: "\00BB \0020";
}