/*	SnCMS style
	------------------------------------------
		Style Name:			Legacy (XionCMS)
		Based on style: 	Legacy (XionCMS)
		Original Author:	Markus Willman ( http://www.adcportal.com/ )
		Modified by:		
	------------------------------------------
	Copyright - 2010 AirDC++ ( http://www.airdcpp.info/ )
*/

/*
  All IE6 specific fixes have been embedded to this file by taking advantage
  of IE6's lack of !important support.
*/

/* Body specifications */
* {
	margin:0;
	padding:0;
}

html {
	background:#2330BF;
	/* Fix IE unneeded scrollbars */
	overflow:auto;
}

body {
	position:relative; 
	z-index:1;
	background:#2330BF;
	font:10px Verdana, Arial, Helvetica, sans-serif;
	padding:5px;
	/* IE6 fix */
	text-align:left !important;
	text-align:center;
}

/* Global styles */
a:link {
	color:#598A9B;
}

a:visited {
	color:#598A9B;
}

a:hover {
	color:#33525D;
	text-decoration:none;
}

a:active {
	color:#33525D;
}

a {
	text-decoration:none;
}

fieldset {
	border:none;
	white-space:nowrap;
}

img {
	border:none;
}

/* Main containers */
#container {
	margin:20px auto 10px auto;
	width:800px;
}

#page {
	position:relative; 
	z-index:2;
	background:#BCD3F6;
	border:1px solid #006;
}

/* Header & Footer related */
#header {
	color:#006;
	height:135px;
	background:url("images/header_bg.png") repeat-x #6b8cbf;
	text-align:left;
}

#header .loginbar {
	height:25px;
}

#header .login {
	float:left;
	display:inline;
	margin:5px 0 0 3px;
	font-weight:bold;
}

#header .form {
	float:right;
	display:inline;
	text-align:right;
	margin:3px 3px 0 0;
}

#header .logo {
	height:95px;
}

#header .logo img,
#header .logo span.img {
	float:left;
	display:inline;
	margin:5px 10px 0;
}

#header .bar {
	height:15px;
	background:url("http://airdcpp.net/filer/bar_bg.gif") repeat-x;
	border:solid #006;
	border-width:1px 0;
	vertical-align:middle;
	text-align:center;
}

#footer, .footer {
	color:#006;
	text-align:center;
	font-size:9px;
	padding-bottom:5px;
}

/* Global styles for content */
#content {
	color:#000;
	font-size:12px;
	line-height:14.5px;
	text-align:left;
	margin:10px;
}

#content hr {
	height:1px;
	display:block;
	clear:both;
	border:none;
	border-top:1px solid #A7C1DF;
}

#content li {
	list-style-type:inherit;
}

#content ul, #content ol {
	margin-bottom:10px;
	margin-left:30px;
}

#content p {
	margin-bottom:15px;
}

#content .footer {
	padding:0;
}

/* Boxes etc. used in content */
.box {
	overflow:hidden;
	border:1px solid #006;
	background-color:#D1E3EF; 
	margin-bottom:10px; 
	padding:5px;
}

.box hr {
	border-color:#B5CCDF;
}

.box .body {
	margin:5px 0px 0px 10px;
	padding:5px;
}

.box .form {
	text-align:center;
	margin:10px;
}

.box .form #title {
	width:80%;
}

.box .form #message {
	width:90%;
	margin:5px 0;
}

.box .top {
	font-weight:bold; 
	border-bottom:1px solid #B5CCDF;
	margin:-1px 0 0;
	padding-bottom:1px;
}

.box .info {
	font-size:10px;
	font-weight:lighter; 
	float:right;
	display:inline;
	/* IE6 fix (hasLayout + display:inline = display:inline-block) */
	position:relative;
}

.box .title a {
	color:#000;
}

.box .bottom {
	font-size:11px;
	font-style:italic;
	font-weight:bold;
	clear:left;
	border-top:1px solid #B5CCDF;
	margin:0 0 -1px;
	padding-top:1px;
}

.box .bottom img,
.box .bottom span.img {
	vertical-align:bottom;
}

.box .links {
	float:right;
	padding-top:2px;
	display:inline;
	/* IE6 fix (hasLayout + display:inline = display:inline-block) */
	position:relative;
}

/* More content styles */
.heading {
	margin:10px 15px 10px;
	font-size:18px;
	line-height:normal;
}

.text {
	margin:10px 30px 20px;
	text-align:justify !important;
	text-align:left; /* IE6 fix */
}

.formatted {
	font-family:Georgia, "Times New Roman", Times, serif;
	font-style:italic;
	font-size:15px;
	color:#5981EF;
}

.formatted:first-letter {
	font-size:25px;
	font-weight:bold;
	color:#295ADF;
}

.gen {
	font-size:12px;
}

.genmed {
	font-size:11px;
}

.gensmall {
	font-size:10px;
}

.centered {
	text-align:center !important;
}

/* Categories */
.cattable {
	margin:10px 0;
}

.cattable table {
	border:1px solid #006;
	border-collapse:collapse;
	background-color:#D1E3EF;
	width:100%;
}

.cattable table tr.hlt {
	background-color:#D1E3EF;
	cursor:pointer;
}

.cattable table tr.hlt:hover {
	background-color:#DFECFF;
}

.cattable table td {
	font-size:11px;
	border:0 solid #006;
	padding:3px 5px;
}

.cattable table td img,
.cattable table td span.img {
	vertical-align:top;
}

.cattable table td.info {
	text-align:right;
}

.cattable table td.category {
	padding:5px;
	width:85%;
}

.cattable table td.category img,
.cattable table td.category span.img {
	float:left;
	margin-right:5px;
}

.cattable table td.category p {
	margin:3px 0 0 !important;
}

.cattable table td.row {
	width:75%;
}

.cattable table td.entry {
	font-size:12px;
	padding:10px 10px 10px 20px;
	width:100%;
}

.cattable table td.heading {
	font-size:12px;
	font-weight:bold;
	text-align:center;
	background-color:#A4C5EF;
	border-bottom-width:1px;
	margin:0;
}

.cattable table td.colheading {
	font-size:11px;
	font-weight:bold;
	background-color:#BFDBFF;
	border-bottom-width:1px;
	margin:0;
	padding:0;
}

.spanpages {
	text-align:right;
	position:relative;
	margin-right:5px;
	margin-bottom:-15px;
	bottom:5px;	
}

/* Simple drop shadow */
.shadow {
	background-color:#09199F;
	margin:5px -6px -5px 6px;
}

#container > .shadow {
	/* IE hasLayout */
	min-width:0;
}

#content .shadow {
	background-color:#8EA9CF;
}

.shadow #page,
.shadow .shadowed {
	position:relative;
	left:-6px;
	top:-5px;
	/* IE hasLayout */
	min-width:0;
}

.shadow #page {
	/* IE6 fix */
	margin:0 !important;
	margin:0 6px 5px 0;
}

.shadowed.box {
	margin-top:15px;
}

.shadowed.cattable {
	margin-top:15px;
}

/* Inline buttons base */
.button {
	font:bold 8px/16px helvetica, sans-serif;
	border:1px solid #afafaf;
	white-space:nowrap;
}

.button a {
	color:#000;
	text-decoration:none;
}

.button span.pre {
	margin:0;
	padding:0 4px;
	background:#fff;
	color:#afafaf;
}

.button span.post {
	margin:0;
	padding:0 4px;
	background:#afafaf;
	color:#fff;
}

/* Inline button - w3c */
.button.w3c {
	border-color:#06c;
}

.button.w3c span.level {
	color:#f00;
}
		
.button.w3c span.pre {
	color:#06c;
}

.button.w3c span.post {
	background-color:#06c;
}

/* Inline button - RSS */
.button.rss {
	border-color:#ffa500;
}

.button.rss span.pre {
	color:#ffa500;
}

.button.rss span.post {
	background-color:#ffa500;
}

/* Forms - restrict to container only */	
#container input,
#container textarea {
	font:12px verdana, arial, sans-serif;
	color:#006;
	background-color:#BCD3F6;
	border:1px solid #006;
}

#container input:hover,
#container input:focus,
#container textarea:hover,
#container textarea:focus {
	color:#006;
	background-color:#DFECFF;
	border:1px solid #2F67FF;
}

#container input.button {
	vertical-align:middle;
	font-size:11px;
	padding:1px;
	cursor:pointer;
}

#container input.textbox {
	vertical-align:middle;
	padding:1px;
	cursor:text;
}