/*--------------------------------------------------------------------------------
Portfolio Website - Style Sheet

Version:   1.4
Author:    Anthony Hastings
Contact:   anthony@anthonyhastings.com
Website:   http://www.anthonyhastings.com
Updated:   Mon 24th May 2009
--------------------------------------------------------------------------------*/

@import url(reset.css);

/* Layout Elements
--------------------------------------------------------------------------------*/

html {
	overflow-y: scroll; /* Makes the scrollbar visible at all times. */
}

body {
	background: url("/images/header-bg.gif") repeat 0 0;
	color: #000;
	font-family: "Trebuchet MS", Tahoma, Arial;
	font-size: 62.5%; /*  Default font size is 16px, so setting to 62.5% it sets the font size to 10px. 1em = 10px  */
	line-height: 2em; /*  1em = 10px, so 2em = 20px  */
	margin: 0;
	min-width: 800px;
	padding: 0;
}

#header {
	height: 260px;
}

#banner1, #banner2, #banner3, #banner4, #banner5, #banner6, #banner7, #banner8, #banner9, #banner10, #banner11, #banner12, #banner13, #banner14, #banner15 {
	background-repeat: no-repeat;
	float: left;
	height: 220px;
	width: 350px;
}

#banner1 { background-image: url("/images/banners/banner01.gif"); }
#banner2 { background-image: url("/images/banners/banner02.gif"); }
#banner3 { background-image: url("/images/banners/banner03.gif"); }
#banner4 { background-image: url("/images/banners/banner04.gif"); }
#banner5 { background-image: url("/images/banners/banner05.gif"); }
#banner6 { background-image: url("/images/banners/banner06.gif"); }
#banner7 { background-image: url("/images/banners/banner07.gif"); }
#banner8 { background-image: url("/images/banners/banner08.gif"); }
#banner9 { background-image: url("/images/banners/banner09.gif"); }
#banner10 { background-image: url("/images/banners/banner10.gif"); }
#banner11 { background-image: url("/images/banners/banner11.gif"); }
#banner12 { background-image: url("/images/banners/banner12.gif"); }
#banner13 { background-image: url("/images/banners/banner13.gif"); }
#banner14 { background-image: url("/images/banners/banner14.gif"); }
#banner15 { background-image: url("/images/banners/banner15.gif"); }

#navigation {
	background: url("/images/nav-bg.gif") repeat-x 0 0;
	clear: both;
	height: 40px;
}

ul#navbar {
	margin: 0 auto;
	padding: 0;
	width: 720px;
}

ul#navbar li {
	color: #fff;
	float: left;
	font-size: 18px;
	font-weight: bold;
	list-style-type: none;
	line-height: 40px;
	padding-left: 30px;
	margin-right: 30px;
}

ul#navbar li.active {color: #175a77; font-weight: bold;}
ul#navbar li.home {background: url("/images/bullet-home.gif") left center no-repeat;}
ul#navbar li.about {background: url("/images/bullet-about.gif") left center no-repeat;}
ul#navbar li.portfolio {background: url("/images/bullet-portfolio.gif") left center no-repeat;}
ul#navbar li.services {background: url("/images/bullet-services.gif") left center no-repeat;}
ul#navbar li.contact {background: url("/images/bullet-contact.gif") left center no-repeat;}
ul#navbar li.blog {background: url("/images/bullet-blog.gif") left center no-repeat;}

ul#navbar li a:link, ul#navbar li a:visited, ul#navbar li a:active {
	color: #fff;
	text-decoration: none;
	outline: none;
}

ul#navbar li a:hover {
	color: #175a77;
}

#container {
	background-color: #fff;
	padding: 20px 0; /* To space out the header, content, and footer. */
	width: 100%;
}

#wrap {
	font-size: 1.3em; /*  1em = 10px, so 1.3em = 13px  */
	margin: 0 auto;
	padding: 0 20px;
	width: 720px; /* Total width is 760px (720 + 20px padding left/right). */
}

#mainContent {
	float: left;
	width: 500px;
}

#sideContent {
	float: right;
	width: 200px;
}

#footer {
	background: url("/images/header-bg.gif") repeat 0 0;
	clear: both;
	height: 40px;
	text-align: center;
}

#footer p {
	background: url("/images/nav-bg.gif") repeat-x 0 0;
	color: #fff;
	font-size: 1.3em;
	font-weight: bold;
	height: 40px;
	line-height: 40px;
	margin: 0;
	padding: 0;
}

#myPhotos img {
	float: left;
	margin: 7px;
}

hr {
	border: 0.08em solid #175a77;
}

.story {
	margin-bottom: 30px;
}


/* Typography: Headers, Lists, Paragraphs, Links.
--------------------------------------------------------------------------------*/

h1,h2,h3,h4,h5,h6 {margin: 0; padding: 0;} /* To fix alignment issues in Safari */

#mainContent h2 {
border-bottom: 0.04em solid #175a77;
color: #175a77;
font-size: 2em;
margin-bottom: 20px;
padding-top: 0.32em;
padding-bottom: 0.20em;
}

#sideContent h2 {
border-bottom: 0.05em solid #175a77;
color: #175a77;
font-size: 1.45em;
margin-bottom: 20px;
padding-top: 0.55em;
padding-bottom: 0.2em;
}

#mainContent h3, #sideContent h3 {
color: #175a77;
font-size: 1.23em;
margin-top: 20px;
}

#portfolio h3 {
margin-bottom: 20px;
}

#googleTalk h3 {background: url("/images/googletalk.gif") right 60% no-repeat;}
#sendEmail h3 {background: url("/images/email.gif") right 50% no-repeat;}
#skype h3 {background: url("/images/skype.gif") right 60% no-repeat;}
#rssFeed h3 {background: url("/images/rss-feed.gif") right 60% no-repeat;}

#digg-widget-container h3 {
font-size: 1em;
line-height: 1.6;
margin: 0 10px 10px 30px;
padding-left: 10px;
}

#mainContent h4, #sideContent h4 {
color: #175a77;
font-size: 14px;
margin-top: 20px;
margin-bottom: 20px;
}

#mainContent .story h4 {
font-size: 12px;
margin-top: 3px;
margin-bottom: 15px;
}

#mainContent a:link, #mainContent a:visited, #sideContent a:link, #sideContent a:visited {
color: #175a77;
font-weight: bold;
text-decoration: underline;
outline: none;
}

#mainContent a:hover, #sideContent a:hover {
color: #2a9ed0;
font-weight: bold;
text-decoration: underline;
outline: none;
}

#mainContent a img, #sideContent a img {
border: 1px solid #175a77;
outline: none;
}

p.url {
margin-bottom: 30px;
}

.validation {
background-color: #FFCCBA;
background-image: url("/images/validation.png");
background-position: 10px center;
background-repeat: no-repeat;
border: 1px solid;
color: #D63301;
margin: 10px 0px;
padding: 10px 10px 10px 50px;
}

.success {
background-color: #DFF2BF;
background-image: url("/images/success.png");
background-position: 10px center;
background-repeat: no-repeat;
border: 1px solid;
color: #4F8A10;
margin: 10px 0px;
padding: 10px 10px 10px 50px;
}

.success p {
font-weight: bold;
}

ul.notFound {
list-style-type: none;
margin: 10px 0 20px 0;
padding: 0;
}

ul.notFound li  {
background: url("/images/bullet.gif") left 20% no-repeat;
font-weight: normal;
margin-bottom: 5px;
padding-left: 10px;
}

ul.error {
list-style-type: none;
margin: 0;
padding: 0;
}

ul.error li  {
background: url("/images/bullet-error.gif") left 55% no-repeat;
font-weight: bold;
margin-bottom: 5px;
padding-left: 10px;
}

#mainContent a img:hover, #sideContent a img:hover {
border: 1px solid #2a9ed0;
}

h1#brand {
background-image: url("/images/multimedia-designer.gif"); 
background-repeat: no-repeat;
float: right;
font-size: 12px;
height: 0px !important; /* for most browsers */
height /**/:90px; /* for IE5.5's bad box model */
margin-top: 65px;
overflow: hidden;
padding: 90px 0 0 0;
width: 417px;
}

ul.skills {
list-style-type: none;
margin: 20px 0;
padding: 0;
}

ul.skills li {
background: url("/images/bullet.gif") left 55% no-repeat;
margin-bottom: 5px;
padding-left: 15px;
}

#skype p.skypeName {
background: url("/images/other-contacts-bg.gif") right top no-repeat;
height:26px;
padding: 2px 10px 2px 10px;
margin: 2px 0 0 0;
text-align: center;
}

#skype p.skypeLinks {
margin-top: 5px;
margin-bottom: 10px;
padding-top: 0;
}

#googleTalk p.googleTalkName {
background: url("/images/other-contacts-bg.gif") right top no-repeat;
height:26px;
padding: 2px 10px 2px 10px;
margin: 10px 0 0 0;
text-align: center;
}

#sendEmail p.address {
background: url("/images/other-contacts-bg.gif") right top no-repeat;
height:26px;
padding: 2px 10px 2px 5px;
margin: 10px 0 0 0;
text-align: center;
}

#rssFeed p {
background: url("/images/other-contacts-bg.gif") right top no-repeat;
height:26px;
padding: 2px 10px 2px 5px;
margin: 10px 0 0 0;
text-align: center;
}


/* Form Elements: Labels, Inputs, Textareas.
--------------------------------------------------------------------------------*/

fieldset {
border: none;
margin: 0;
padding: 0;
}

input, textarea {
font-family:"Trebuchet MS", Tahoma, Arial;
font-size: 14px;
}

textarea {
overflow: auto; /* Stops IE placing a scrollbar on the textares until it becomes necessary to scroll */
} 

label {
display: block;
font-weight: bold;
}

input.box, input.errorbox {
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border: 2px solid #175a77;
margin-bottom: 20px;
padding-left: 5px;
width: 345px;
}

textarea.box, textarea.errorbox {
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
border: 2px solid #175a77;
height: 200px;
margin-bottom: 25px;
padding-left: 5px;
width: 345px;
}

input.errorbox, textarea.errorbox {
border: 2px solid #FF0000;
}

input.submit {
background: url("/images/submit.gif") left top no-repeat;
border: none;
color: #fff;
cursor: pointer; 
display: block;
font-weight: bold;
height: 27px;
line-height: 0; /* This is helping the text disappear in IE6 and IE7, as text indent on a submit type button is not enough. */
margin-bottom: 20px;
overflow: hidden;
text-indent: -9999px;
width: 156px;
}


/* Misc
--------------------------------------------------------------------------------*/

p a[href ^='http://'], li a[href ^='http://'] { 
background: url("/images/icon_external.gif") no-repeat center right;
padding-right: 18px;
}

.clearBoth {
	clear: both;
}