/*
	@name: 		base.css
	@created: 	05/07/09
	@author: 	Diego A. Peralta
	@email:		diego@adept21.com
	@company:	Adept21 - Damn good things happen here, no kidding!
	@website:	http://www.adept21.com/
*/

/*--------------------------------------------------------------------------------
	general styles
--------------------------------------------------------------------------------*/

* {
	padding:0;
	margin:0;
}

body {
	background:#0f0c15 url('../images/bg-body.jpg') no-repeat center top;
	font-family:"Trebuchet MS", Verdana, Arial, sans-serif;
	font-size:12px;
	color:#FFF;
}

a {
	text-decoration:none;
	color:#FFF;
}

h1, h2, h3, h4, h5, p, ul {
	margin:0.5em 0;
}

h2 {
	font-family: "Arial", Helvetica, sans-serif;
	font-size:20px;
}

p {
	line-height:1.5em;
}

ul li {
	list-style:none;
}

:focus {
	outline:none;
}

/*--------------------------------------------------------------------------------
	layout
--------------------------------------------------------------------------------*/

#wrapper {
	width:100%;
}

#main {
	position:relative;
	width:920px;
	margin:0 auto -198px auto;
}

#top {
	height:40px;
}

#header {
	height:88px;
}

#navigation {
	height:29px;
}

#container {
	background:#0f0c15;
	padding:5px 0 0 0;
	display:block;
}

.page #content {
	width:505px;
	float:left;
}

.page  #sidebar {
	width:335px;
	float:right;
}

.home #content {
	width:528px;
	float:left;
}

.home #sidebar {
	width:385px;
	float:right;
}

#footer {
	background:#273e56;
}

/*--------------------------------------------------------------------------------
	top, header & navigation
--------------------------------------------------------------------------------*/

#top form {
	padding:10px 0 0 0;
	text-align:right;
}

#top p {
	margin:0;
	font-weight:bold;
	text-transform:uppercase;
	color:#666666;
}

#top label {
	padding:0 9px 0 0;
}

#top form #s {
	background:url('../images/bg-search-input.gif') no-repeat left top;
	font-size:11px;
	width:167px;
	height:17px;
	border:0;
	padding:4px 5px 0;
}

#logo {
	margin:0;
	width:348px;
	height:88px;
}

#logo a {
	background:url('../images/bg-logo.gif') no-repeat left top;
	width:348px;
	height:88px;
	display:block;
	text-indent:-9999em;
}

#navigation ul  {
	margin:0;
	float:right;
}

#navigation ul li {
	position:relative;
	display:block;
	float:left;
}

#navigation ul li a {
	text-transform:uppercase;
	font-weight:bold;
	display:block;
	float:left;
	padding:7px 12px 4px;
}

#navigation ul li a:hover {
	background:#6d9286;
}

#navigation ul li ul {
	display:block;
	float:none;
	position:absolute;
	margin:30px 0 0 0;
	padding:0;
	left: -9999em;
}

#navigation ul li ul li a, #navigation ul li ul li {
	display:block;
	float:none;
}

#navigation ul li ul li {
	margin:0;
	display:block;
	float:none;
}

#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
}


#navigation ul li ul li a {
	background:#6b918e;
	padding:4px 0 4px 15px;
	width:120px;
	border-bottom:1px solid #000;
}

/*--------------------------------------------------------------------------------
	content
--------------------------------------------------------------------------------*/

.home .post {
	width:314px;
	padding:35px 90px 35px 48px;
}

.home .second-post {
	background:url('../images/bg-logo-blue.gif') no-repeat right bottom;
	color:#406892;
}

.home .post h2, .page .post h2 {
	margin:0 0 0.3em 0;
}

.home  hr, .page hr {
	background:transparent url('../images/bg-line.gif') no-repeat left top;
	color:transparent;
	height:1px;
}

.page .post {
	padding:23px 10px 23px 23px;
}

.more {
	color:#406892;
	text-transform:uppercase;
	text-decoration:underline;
}

#frameViolet {
	clear:both;
	background:#1b0c1f url('../images/bg-frame-violet.gif') repeat-x left top;
	display:block;
	padding:40px 32px 20px;
}

#frameViolet h3 {
	font-size:24px;
	margin:0 0 1em 0;
}

#frameViolet h4 {
	font-size:14px;
}

#frameViolet div {
	width:240px;
	float:left;
}

#frameViolet div.alpha {
	background:url('../images/bg-divider-1.gif') no-repeat right top;
	margin:0 20px 0 0;
	padding:0 15px 0 0;
}

#frameViolet div.middle {
	background:url('../images/bg-divider-1.gif') no-repeat right top;
	margin:0 20px 0 0;
	padding:0 15px 0 0;
}

#frameViolet div img {
	margin:0 15px 0 0;
}

#frameBlue div h4 {
	margin:0 0 0.5em 0;
}

#frameBlue {
	position:relative;
	background:#426891 url('../images/bg-frame-blue.gif') repeat-x left top;
	display:block;
	padding:52px 32px 20px;
	z-index:1;
}

#frameBlue div {
	position:relative;
	width:250px;
	float:left;
	margin:0 15px;
}

#frameBlue h4 { 
	font-size:18px;
	margin:0 0 1em 0;
}

#frameBlue .alpha {
	width:320px;
	background:url('../images/bg-divider-2.gif') no-repeat right top;
	margin:0 20px 0 8px;
	padding:0 20px 0 0;
}

#frameBlue .alpha img {
	padding:0 10px 115px 0;
}

#frameBlue .alpha h5 {
	font-size:14px;
	text-decoration:underline;
}

#frameBlue .middle {
	background:url('../images/bg-divider-2.gif') no-repeat right top;
	width:140px;
	margin:0 10px 0 20px;
	padding:0 15px 0 0;
}

/*--------------------------------------------------------------------------------
	sidebar
--------------------------------------------------------------------------------*/

.page  #sidebar img {
	max-width:335px;
}

/*--------------------------------------------------------------------------------
	footer
--------------------------------------------------------------------------------*/

#background {
	position:relative;
	width:1046px;
	height:198px;
	margin:0 auto;
	background:url('../images/bg-footer.png') no-repeat left bottom;
	z-index:1000;
}

#footer-content {
	position:relative;
	width:900px;
	margin:0 auto;
	padding:34px 0 0 20px;
}

#footer-content ul {
	width:125px;
	float:left;
}

#footer-content ul li strong {
	font-size:16px;
}

#footer-content ul li  {
	margin:0 0 6px 0;
}

#copyright {
	position:relative;
	top:-48px;
	clear:both;
	margin:0;
	padding:0;
}

#copyright a {
	font-weight:bold;
}

/*--------------------------------------------------------------------------------
	tools
--------------------------------------------------------------------------------*/

.clearfix:after { 
	visibility: hidden; 
	display: block; 
	font-size: 0; 
	content: " "; 
	clear: both; 
	height: 0;
}

.clearfix { 
	display: inline-block;
}

* html .clearfix { 
	height: 1%;
}

.clearfix { 
	display: block;
}

.left {
	float:left;
}

.right {
	float:right;
}

.alignright {
	text-align:right;
}

.alignleft {
	text-align:left;
}