/*
TITLE:	Pushing borders Stylesheet
AUTHOR:	Khaled Maiwand, HighCo Technology
CREATED:	Apr. 2008
*/
* { margin: 0; padding: 0; border: 0; }

body { background-color: #fff; }

#header {
	width: 100%; height: 110px;
	vertical-align: bottom;
	background: #3b3b3b;
	}

	#header h1 {
		display: block;
		position: absolute;
		margin-top: 74px; padding: 0 2px;
		font: 400 35px 'trebuchet ms', 'century gothic', verdana, sans-serif;
		color: #fff; background: transparent;
		}
		#header h1 span { color: #06f; }

	#header p {
		padding-top: 10px;
		font: 100px 'trebuchet ms', verdana, sans-serif;
		text-align: right;
		letter-spacing: -11px;
		color: #444;
		}

#menu {
	width: 100%; height: 120px;
	border: solid 1px #fff;
	border-top: solid 1px #fff;
	text-align: center;
	background: #000 url( 'media/menu.jpg') repeat-x;
	}
	#menu ul { margin: 20px 0; }
	#menu li { display: inline; }
	#menu a {
		padding: 14px 30px;
		font: bold 16px 'century gothic', verdana, sans-serif;
		text-decoration: none;
		border: solid 1px #000;
		color: #666;
		}
		#menu a:hover {
			border: solid 1px #fff;
			color: #fff;
			background: #06f url( 'media/menu-hover.jpg') top repeat-x;
			}

#subnav {
	float: left;
	width: 15%;
	margin-top: 20px;
	padding-left: 5%;
	font: 12px verdana, arial, sans-serif;
	}

	#subnav ul {	
		width: 140px;
		list-style: none;
		margin-bottom: 20px;
		}	
	#subnav li { margin-bottom: 1px; }
	#subnav a {
		display: block;
		height: 20px;
		padding: 5px;
		text-decoration: none;
		font-weight: bold;
		border-right: 10px solid #fff;
		color: #ccc; background: #3b3b3b;
		}
		#subnav a:hover {
			border-right: 10px solid #06f;
			color: #fff; background: #06f;
			}
		#subnav .child a {
			height: 14px;
			padding-left: 15px; 
			font-size: 0.9em;
			border-right: 10px solid #fff;
			color: #666; background: #bbb;
			}
		#subnav .child a:hover {
			color: #06f; background: #e0e0e0;
			}
#main {
	float: right;
	width: 73%;
	margin-right: 5%;
	margin-bottom: 10px;
	font: 13px arial;
	color: #666; 
	}

	#content {
		float: left;
		width: 74%;
		font: 15px arial;
		border-right: 1px solid #CCC;
		}
		#content p { padding: 7px 5px 0 0; }
		#content img.right { 
			float: right;
			margin: 8px 10px;
			padding: 4px;
			background-color: #FFF;
			border: 1px solid #CCC;
			}
		#content .box {
			float: left; 
			width: 130px;  
			margin: 12px; 
			padding: 10px; 
			text-align: center; 
			border: 1px solid #ccc;
			background: #fff url( 'media/boxbg.jpg') repeat-x top;
			}
			.box h2 { margin: 0; text-align: left; }
			.box img { margin: 15px 0; }
			.box p { 
				margin: 0; 
				text-align: left;
				line-height: 1.3em;
				font-size: 0.85em;
				}
	#sidebar {
		float: right;
		width: 23%;
		padding: 20px 1%;
		color: #666; 
		}
		#sidebar p {
		margin: 0.5em 0;
		line-height: 1.5em;
		font-size: 1em;
		}

#footer {
	clear: both;
	width: 80%;
	margin: 0 auto;
	padding: 10px;
	font: 12px 'trebuchet ms', 'century gothic', verdana, sans-serif;
	text-align: center;
	border-top: 1px solid #ccc;
	color: #aaa;
	}

h1 {
	margin-top: 15px;
	letter-spacing: -2px;
	font-family: 'trebuchet ms', 'century gothic', verdana, sans-serif;
	color: #06f;
	}

h2 {
	margin-top: 0px;
	margin-bottom: 0px;
	font: bold 1.3em 'trebuchet ms', 'century gothic', verdana, sans-serif;
	letter-spacing: -1px;
	color: #666;
	}

a { text-decoration: none; color: #06f; }
	a:hover { text-decoration: underline; }
ul { margin-bottom: 15px;}
li { margin-left: 20px; }
blockquote{ margin: 7px; padding: 5px; border-left: 5px solid #999; color: #000; background: #ececec;}
