
/* Flying Web. Layout Styles.
   Author: Miguel Guerra
   Updated: 20.June.2008
------------------------*/

/*Wireframing during Development. Remember OUTLINE doesn't work for IE
------------------------------------------------------------------------
div{
outline: 1px solid red;
}*/

/*Body. Center everything inside.
--------------------------------*/
body{
	background-color: #300;
	text-align: center;
}

/*Eliminate border in Header IMG
--------------------------------*/
#header a:hover{
	border-bottom: 0;
}

/*Container. Used to create faux columns with background colour
----------------------------------------------------------------*/
#container{
	width: 760px;
	margin: 0 auto;
	background: #000;
}

/*Header
--------*/
#header {
	height: 263px;
	background:url(images/header_img.jpg) no-repeat;
	text-align: right; /*Align Flying_logo to the right*/
}

#header img{margin: 20px 20px 5px 0;}

/*Navigation bar UL
-------------------*/
#nav-bar{text-align: right;}

#nav-bar ul{
	list-style: none;
	margin: 0;
}

#nav-bar li{
	display: inline;
	margin: 0 10px 0 0;
	line-height: 200%;
}

/*Main Content
--------------*/
#main-content{
	float: right;
	width: 500px;
	text-align: left;
	margin-bottom: 10px; /*Push down the footer*/
}

/*Side bar
----------*/
#side-bar{
	float: right;
	width: 260px; 
	margin-top: 45px;
}

/*Headings
----------*/
h2{
	margin: 20px 30px 10px 20px;
	border-bottom: 1px dashed #996;
}

/*Paragraphs
------------*/
p{
	margin: 10px 30px 10px 30px;
	text-align: justify;
}

/*Footer
--------*/
#footer{
clear: both;
padding: 40px 0 0 0;
width: 760px;
background: #300 url(images/footer_bkg.gif) no-repeat;
}

#bottom-nav{
	padding: 1px 0;
	margin: 0 222px;
	border-top: 2px solid #000;
	border-bottom: 2px solid #000;}

#bottom-nav ul{
	list-style: none;}

#bottom-nav li{
	display: inline;
	line-height: 200%;
	}
	
.footer-links {
	float: left;
	width: 235px;
	text-align: left;
	margin-left: 17px;
	padding-top: 15px;
	list-style-type: none;
	line-height: 220%;
}

.footer-links p{
	margin: 10px 0 0 0;
	padding: 0;
}
.footer-links img{
	float: left;
	margin:0 5px 10px 0;
	border: 1px solid #996;
}

/*Spacer div to clear multiple floated items*/
.spacer{clear: both;}

