/* ==========================================================================
   wikitcom.org -- main stylesheet
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Reset and base
   -------------------------------------------------------------------------- */

html, body, div, span, h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, cite, code, em, img, small, strong, sub, sup, b, i,
dl, dt, dd, ol, ul, li, form, label, table, caption, tbody, tfoot,
thead, tr, th, td, article, aside, footer, header, nav, section, figure {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* HTML5 elements need this for older browsers that do not know them yet.
   The shiv in js/html5.js handles IE, this handles the rest. */
article, aside, figure, footer, header, nav, section {
	display: block;
}

body {
	background: #eef0f3 url(../images/bg-body.png) repeat;
	color: #252525;
	font: 13px/1.6 Arial, Helvetica, sans-serif;
}

a {
	color: #0645ad;
	text-decoration: none;
}

a:visited { color: #0b0080; }
a:hover, a:focus { text-decoration: underline; }
a:active { color: #faa700; }

p { margin: 0 0 12px 0; }

strong, b { font-weight: bold; }
em, i, cite { font-style: italic; }
small { font-size: 11px; }
sup { font-size: 10px; vertical-align: super; }

abbr {
	border-bottom: 1px dotted #999;
	cursor: help;
}

code, kbd, samp {
	font-family: "Courier New", Courier, monospace;
	font-size: 12px;
	background: #f7f7f7;
	border: 1px solid #e0e0e0;
	padding: 0 3px;
}

img { vertical-align: middle; }

/* Clearfix. The zoom is for IE7 and below, which do not support :after
   but do get hasLayout from zoom. */
.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix { zoom: 1; }


/* --------------------------------------------------------------------------
   2. Layout skeleton
   -------------------------------------------------------------------------- */

.container {
	width: 960px;
	margin: 0 auto;
}

#main {
	float: left;
	width: 660px;
	padding-bottom: 20px;
}

#sidebar {
	float: right;
	width: 280px;
	padding-bottom: 20px;
}


/* --------------------------------------------------------------------------
   3. Masthead
   -------------------------------------------------------------------------- */

#masthead {
	background: #1a3a63 url(../images/bg-masthead.png) repeat-x;
	border-bottom: 3px solid #142f52;
	height: 132px;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

#masthead .logo {
	float: left;
	margin: 30px 0 0 0;
}

#masthead .logo img { display: block; }

#masthead .strap {
	float: left;
	margin: 62px 0 0 14px;
	color: #b6cfec;
	font: italic 14px Georgia, "Times New Roman", serif;
}


/* --------------------------------------------------------------------------
   4. Navigation tabs
   -------------------------------------------------------------------------- */

#nav {
	background: #dfe3e9 url(../images/bg-tabs.png) repeat-x;
	border-bottom: 1px solid #b4bdc8;
	height: 33px;
}

#nav ul {
	list-style: none;
	padding-left: 4px;
}

#nav li {
	display: inline-block;
	margin: 6px 3px 0 0;
	/* inline-block needs this pair for IE7, which otherwise ignores it */
	zoom: 1;
	*display: inline;
}

#nav a {
	display: inline-block;
	padding: 5px 15px 6px 15px;
	color: #21446e;
	font: bold 13px "Trebuchet MS", Tahoma, Arial, sans-serif;
	text-shadow: 0 1px 0 #ffffff;
	border: 1px solid #bcc5d1;
	border-bottom: 0;
	background: #e9edf2;
	background: -moz-linear-gradient(top, #fbfcfd, #e2e7ee);
	background: -webkit-gradient(linear, left top, left bottom, from(#fbfcfd), to(#e2e7ee));
	background: -webkit-linear-gradient(top, #fbfcfd, #e2e7ee);
	background: -o-linear-gradient(top, #fbfcfd, #e2e7ee);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fbfcfd', endColorstr='#e2e7ee');
	-moz-border-radius: 4px 4px 0 0;
	-webkit-border-radius: 4px 4px 0 0;
	border-radius: 4px 4px 0 0;
}

#nav a:hover {
	text-decoration: none;
	background: #f6f9fc;
	background: -moz-linear-gradient(top, #ffffff, #eef2f7);
	background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#eef2f7));
	background: -webkit-linear-gradient(top, #ffffff, #eef2f7);
	background: -o-linear-gradient(top, #ffffff, #eef2f7);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eef2f7');
}

#nav li.here a {
	background: #ffffff;
	filter: none;
	color: #252525;
	border-color: #b4bdc8;
	padding-bottom: 7px;
	margin-bottom: -1px;
}


/* --------------------------------------------------------------------------
   5. Site notice (contributions closed)
   -------------------------------------------------------------------------- */

#sitenotice {
	margin: 14px 0 16px 0;
	padding: 7px 12px;
	border: 1px solid #d8c48a;
	border-left: 6px solid #e8a33d;
	background: #fdf6de url(../images/bg-notice.png) repeat-x;
	color: #4a3f22;
	font-size: 12px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

#sitenotice b { font-weight: bold; }


/* --------------------------------------------------------------------------
   6. Boxes -- the workhorse of the whole site
   -------------------------------------------------------------------------- */

.box {
	background: #ffffff;
	border: 1px solid #ccd4de;
	margin-bottom: 16px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09);
}

.box .head {
	padding: 6px 12px;
	border-bottom: 1px solid #d3dbe5;
	color: #1f3f68;
	font: bold 14px "Trebuchet MS", Tahoma, Arial, sans-serif;
	text-shadow: 0 1px 0 #ffffff;
	background: #eef2f7 url(../images/bg-boxhead.png) repeat-x;
	-moz-border-radius: 5px 5px 0 0;
	-webkit-border-radius: 5px 5px 0 0;
	border-radius: 5px 5px 0 0;
}

.box .body {
	padding: 12px;
}

.box .body p.last { margin-bottom: 0; }

/* A plainer box for long prose, so articles do not look like a control panel */
.paper {
	background: #ffffff;
	border: 1px solid #ccd4de;
	padding: 18px 22px;
	margin-bottom: 16px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09);
}


/* --------------------------------------------------------------------------
   7. Headings and prose
   -------------------------------------------------------------------------- */

h1 {
	font: normal 30px Georgia, "Times New Roman", serif;
	color: #1c1c1c;
	border-bottom: 1px solid #c8ced6;
	padding-bottom: 6px;
	margin-bottom: 4px;
}

h2 {
	font: normal 21px Georgia, "Times New Roman", serif;
	color: #1c1c1c;
	border-bottom: 1px solid #dfe3e9;
	padding-bottom: 4px;
	margin: 22px 0 10px 0;
}

h3 {
	font: bold 15px "Trebuchet MS", Tahoma, Arial, sans-serif;
	color: #23456f;
	margin: 16px 0 7px 0;
}

h4 {
	font: bold 13px Arial, Helvetica, sans-serif;
	margin: 12px 0 5px 0;
}


/* --------------------------------------------------------------------------
   8. Sidebar furniture
   -------------------------------------------------------------------------- */

ul.facts {
	list-style: none;
}

ul.facts li {
	border-bottom: 1px dotted #dde3ea;
	padding: 4px 0;
	font-size: 12px;
	zoom: 1;
}

ul.facts li.last { border-bottom: 0; }

ul.facts .n {
	float: right;
	font-weight: bold;
	color: #1f3f68;
}

.login label {
	display: block;
	margin-bottom: 2px;
	font-size: 11px;
	color: #555555;
}

.login .text {
	width: 94%;
	padding: 4px;
	border: 1px solid #b9c2cd;
	background: #fbfcfd;
	font: 12px Arial, Helvetica, sans-serif;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
	-webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
	box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
}

.login .btn {
	padding: 4px 14px;
	color: #ffffff;
	font: bold 12px "Trebuchet MS", Tahoma, Arial, sans-serif;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.35);
	border: 1px solid #1c3c5f;
	cursor: pointer;
	background: #2c5580;
	background: -moz-linear-gradient(top, #3d6c9e, #24486f);
	background: -webkit-gradient(linear, left top, left bottom, from(#3d6c9e), to(#24486f));
	background: -webkit-linear-gradient(top, #3d6c9e, #24486f);
	background: -o-linear-gradient(top, #3d6c9e, #24486f);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3d6c9e', endColorstr='#24486f');
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
}

.login .signup {
	margin-left: 8px;
	font-size: 11px;
}

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

.counter .digits {
	display: inline-block;
	zoom: 1;
	*display: inline;
	padding: 3px;
	background: #2a2a2a;
	border: 1px solid #101010;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-moz-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.8);
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.8);
	box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.8);
}

/* Each digit is one cell of the sprite sheet in images/counter.png */
.counter .d {
	display: inline-block;
	zoom: 1;
	*display: inline;
	width: 14px;
	height: 22px;
	background-image: url(../images/counter.png);
	background-repeat: no-repeat;
	vertical-align: top;
}

.counter .cap {
	display: block;
	margin-top: 5px;
	font-size: 11px;
	color: #777777;
}


/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */

#footer {
	border-top: 3px solid #142f52;
	background: #24486f;
	background: -moz-linear-gradient(top, #2c5580, #1c3c5f);
	background: -webkit-gradient(linear, left top, left bottom, from(#2c5580), to(#1c3c5f));
	background: -webkit-linear-gradient(top, #2c5580, #1c3c5f);
	background: -o-linear-gradient(top, #2c5580, #1c3c5f);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2c5580', endColorstr='#1c3c5f');
	color: #b8cde5;
	font-size: 12px;
	padding: 14px 0 16px 0;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

#footer a { color: #d6e6f8; }
#footer a:visited { color: #d6e6f8; }

#footer .legal {
	font-size: 11px;
	line-height: 1.7;
	color: #9db9d6;
}

/* Badges right, copyrihgt left, both sitting on the same line */
#footer .legal .badges {
	float: right;
	text-align: right;
	margin: 0 0 0 16px;
}

#footer .legal .badges img { margin: 0 0 0 4px; border: 0; }

#footer .legal .copy {
	margin: 0;
	padding-top: 10px;
}
