/*-------------------------------------------

              Title :  Webdesign Veteran
              Usage :  Global Layout
              Author:  Adam Roberts

---------------------------------------------*/


/*====================TOC====================

                1. Reset
                2. Container
                3. Skip Links
                4. Branding
                5. Site Navigation
                6. Catch
                7. Latest Work
                8. Content
                9. Sidebar
                10. Footer

=============================================*/



/* 1. Reset
---------------------------------------------*/
* {
	margin: 0;
	padding: 0;
	}

body {
	line-height: 1;
	}

ol, ul {
	list-style: none;
	}

a {
	text-decoration: none;
	outline: none;
	}

a:hover {
	text-decoration: underline;
	}

img, fieldset {
	border: none;
	}

img {
	vertical-align: top;
	}

legend {
	display: none;
	}


/* 2. Container
---------------------------------------------*/
html {
	padding-top: 6px;
	background: url(../images/body_bg.jpg) #f4f1e5 repeat-x;
	font-style: italic;
	font-family: Cambria, Helvetica, Arial, sans-serif;
	}

body {
	position: relative;
	width: 920px;
	margin: 0 auto;
	}

body:after {
	content: ".";
	clear: both;
	display: block;
	height: 0;
	visibility: hidden;
}


/* 3. Skip Links
---------------------------------------------*/
#skip {
	display: none;
	}


/* 4. Branding
---------------------------------------------*/
#branding {
	position: relative;
	z-index: 2;
	width: 303px;
	}

#branding h1 {
	position: absolute;
	top: 15px;
	left: 5px;
	width: 303px;
	height: 44px;
	}

#branding h1 a {
	display: block;
	height: 100%;
	background: url(../images/webdesignveteran.png) no-repeat;
	text-indent: -500em;
	}

* + html #branding h1 a {
	text-indent: -9999px;
	}


/* 5. Site Navigation
---------------------------------------------*/
#site-nav {
	position: absolute;
	top: 20px;
	right: -5px;
	z-index: 2;
	}

#site-nav h3 {
	position: absolute;
	left: -500em;
	}

#site-nav ul li {
	float: left;
	display: inline;
	}

#site-nav ul li a {
	display: block;
	padding: 7px 13px;
	color: #4b5159;
	font: bold 14px Cambria serif;
	text-transform: uppercase;
	}

#home    #site-nav ul li:first-child a,
#work      #site-nav ul li:first-child + li a,
#journal #site-nav ul li:first-child + li + li a,
#contact #site-nav ul li:first-child + li + li + li a,
#site-nav ul li a:hover {
	color: #fff;
	text-decoration: none;
	}


/* 6. Catch
---------------------------------------------*/
#catch {
	position: absolute;
	top: 80px;
	left: 20px;
	text-align: center;
	}

#catch h2 {
	color: #f4f1e5;
	font: bold 55px Cambria, serif;
	text-shadow: #666 0 1px 1px;
	}

#catch h3 {
	color: #f4f1e5;
	font: bold 52px Cambria, serif;
	text-shadow: #666 0 1px 1px;
	}

#catch h4 {
	color: #f4f1e5;
	font: bold 32px Cambria, serif;
	text-shadow: #666 0 1px 1px;
	}


/* 7. Latest Work
---------------------------------------------*/
#latestwork {
	position: absolute;
	width: 920px;
	height: 101px;
	top: 280px;
	background: url(../images/latestwork_bg.png) no-repeat;
	}

#latestwork div {
	float: left;
	width: 180px;
	height: 90px;
	padding-top: 25px;
	margin-left: 10px;
	text-align: center;
	}

#latestwork div h4 {
	font: bold 14px Cambria, serif;
	text-shadow: #666 0 1px 1px;
	color: #9ea4ab;
	}

#latestwork div h3 {
	font: bold 24px Cambria, serif;
	text-shadow: #666 0 1px 1px;
	color: #495c78;
	}

#latestwork p {
	float: left;
	width: 450px;
	font: normal 12px Arial;
	color: #636a74;
	line-height: 18px;
	padding: 20px;
	}

#latestwork #moreinfo {
	margin-top: 5px;
	width: 187px;
	height: 70px;
	float: left;
	text-indent: -500em;
	}

#latestwork a {
	display: block;
	width: 187px;
	height: 35px;
	background: url(../images/moreinformation.jpg) top no-repeat;
	}

#latestwork a:hover {
	background: url(../images/moreinformation.jpg) bottom no-repeat;
	}


/* 8. Content
---------------------------------------------*/
#introduction {
	float: left;
	margin-top: 381px;
	width: 900px;
	text-align: center;
	background: url(../images/intro_bg.jpg) no-repeat;
	padding-top: 20px;
	}

#introduction p {
	font: bold 14px Cambria, serif;
	color: #8f97a3;
	text-transform: uppercase;
	margin-bottom: 5px;
	}

#introduction p a {
	color: #575e67;
	}

#main {
	float: left;
	width: 639px;
	margin-top: 20px;
	margin-bottom: 20px;
	}


/* 9. Sidebar
---------------------------------------------*/
#sub {
	float: right;
	clear: right;
	width: 244px;
	margin-top: 20px;
	}


/* 10. footer
---------------------------------------------*/
#footer {
	clear: both;
	width: 900px;
	margin-left: 10px;
	border-top: 2px solid #e8e5d9;
	padding-top: 10px;
	}

#footer p {
	font: 11px Arial;
	color: #7c7c7c;
	}

#footer p a {
	float: right;
	margin-top: -15px;
	color: #7c7c7c;
	}