/*** Clear everything ***/

/* Set margins and padding to zero*/
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, p, blockquote, th, td 
{ margin: 0; padding: 0; }

/* Make headers same size*/
h1,h2,h3,h4,h5,h6 { font-size: 100%; }

/* Remove list styles */
ol,ul { list-style: none; }

/* Make font style and weight normal */
address, caption, cite, code, dfn, em, strong, th, var, h1, h2, h3, h4, h5, h6
{ font-style: normal; font-weight: normal; }

/* Clear table borders */
table { border-collapse: collapse; border-spacing: 0; }

/* Remove fieldset, img and button borders */
fieldset, img, button { border: 0; }

/* Left-align text in caption and th */
caption, th { text-align: left; }

/* Removes quotation marks from q */
q:before, q:after { content:''; }


/*** Global settings ***/

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size:62.5%;
}

/*** Layout ***/

#nav_services_container {
	height: 80px;
	width: 100%;
	background-image: url(images/services_border.png);
	background-repeat: repeat-x;
}

#banner, #content, #site_info {
	position: relative;
	max-width: 960px;
	min-width: 750px;
	width: 100%;
	margin: 0 auto; 
}

#banner {
	height: 160px;
}

#content1 { 
	float: left;
	display: inline;
	width: 50%;
	margin-left: 1%;
	margin-right: 9%;
}

#resources #content1, 
#accessibility #content1, 
#usability #content1, 
#web_development #content1, 
#cms #content1, 
#bespoke #content1, 
#ppc #content1, 
#seo #content1 
{
	width: 30%;
}

#privacy #content1 {
	width: 70%;
}

#content2, #content3 {
	margin-left: 0;
	float: left;
	display: inline;
	width: 39%;
}

#accessibility #content2, 
#usability #content2, 
#web_development #content2, 
#cms #content2, 
#bespoke #content2, 
#ppc #content2, 
#seo #content2 
{
	width: 59%;
}

#privacy #content2 {
	width: 10%;
}

#resources #content2 {
	width: 30%;
	margin-right: 10%;
}

#resources #content3 {
	width: 19%;
}

#site_info_border {
	clear: both;
	width: 100%;
}

#site_info_container {
	clear: both;
	width: 100%;
	height: 50px;
	background: url(images/site_info_border.png) repeat-x left top;
}

#site_info #who {
	width: 36%;
	margin: 30px 3% 20px 1%;
	float: left;
}

#site_info #what {
	width: 36%;
	margin: 30px 4% 20px 0;
	float: left;
}


#site_info #how {
	width: 19%;
	margin: 30px 0 20px 0;
	float: left;
}

#and_finally {
	clear: both;
	color: white;
	background-color: black;
	width: 100%;
	padding: 10px 0 0 0;
}

/*** Navigation ***/

/* Services navigation */

#nav_services_container ul.nav_services {
	max-width: 960px;
	min-width: 750px;
	width: 100%;
	margin: 0 auto; 
}

#nav_services_container ul.nav_services li {
	display: inline;
	float: left;
	width: 20%;
}

#nav_services_container ul.nav_services li a { 
	display: block;
	height: 80px;
	position: relative;
}

#nav_services_container ul.nav_services li a span { 
	background: url(images/services_navigation.png) no-repeat;
	position: absolute;
	width: 100%;
	height: 100%;
}

#nav_services_container ul.nav_services li.nav_design a span {
	background-position: 0px 0px;
}

#nav_services_container ul.nav_services li.nav_content a span {
	background-position: -192px 0px;
}

#nav_services_container ul.nav_services li.nav_apps a span {
	background-position: -384px 0px;
}

#nav_services_container ul.nav_services li.nav_seo a span {
	background-position: -576px 0px;
}

#nav_services_container ul.nav_services li.nav_ppc a span {
	background-position: -768px 0px;
}

#nav_services_container ul.nav_services li a:hover {
	border-bottom: none;
}

#nav_services_container ul.nav_services li.nav_design a:hover span {
	background-position: 0px -80px;
}

#nav_services_container ul.nav_services li.nav_content a:hover span {
	background-position: -192px -80px;
}

#nav_services_container ul.nav_services li.nav_apps a:hover span {
	background-position: -384px -80px;
}

#nav_services_container ul.nav_services li.nav_seo a:hover span {
	background-position: -576px -80px;
}

#nav_services_container ul.nav_services li.nav_ppc a:hover span {
	background-position: -768px -80px;
}

#nav_services_container ul.nav_services li.nav_design a.selected span {
	background-position: 0px -160px;
}

#nav_services_container ul.nav_services li.nav_content a.selected span {
	background-position: -192px -160px;
}

#nav_services_container ul.nav_services li.nav_apps a.selected span {
	background-position: -384px -160px;
}

#nav_services_container ul.nav_services li.nav_seo a.selected span {
	background-position: -576px -160px;
}

#nav_services_container ul.nav_services li.nav_ppc a.selected span {
	background-position: -768px -160px;
}

/* General navigation */

#banner ul.nav_general {
	float: right;
	width: 384px;
	margin-right: 0px;
	margin-top: 10px;
}

#banner ul.nav_general li {
	width: 96px;
	margin-left: 0px;
	float: left;
}

#banner ul.nav_general li a.selected {
	background-color: #A3D65A;
	color: black;
}

/* Site info navigation */

#site_info ul li {
	line-height: 2;
	margin-bottom: 0;
	padding: 5px 0 5px 20px;
	padding: 0 0 0 20px;
	background: url(images/bullet2.png) no-repeat left 5px;
}

#site_info ul li.sub {
	margin-left: 20px;
	background: url(images/bullet3.png) no-repeat left 5px;
}

#site_info li a.selected, #site_info span a.selected {
	color: black;
	background-color: #A3D65A;
	padding: 0 3px;
}

/*** Typography ***/

p, li, table, label {
	font-size: 13px;
	font-size: 1.3em;
}

strong {
	font-weight: bold;
}

em {
	font-style: italic;
}

/*** Headers ***/

h1 {
	height: 60px;
	margin-left: 10px;
	position: relative;
}

h1 span {
	background-repeat: no-repeat;
	background-position: 0 0;
	position: absolute;
	height: 100%;
	width: 100%;
}

#site_info h1 {
	text-indent: -9999px;
	background-image: url(images/headline_at_a_glance.gif);
	background-repeat: no-repeat;
}

#banner h1 {
	background-image: url(images/egn_webcraft.png);
	background-repeat: no-repeat;	
	text-indent: -9999px;
	margin-left: 5px;
	height: 90px;
	width: 334px;
	float: left;
}

h2 {
	font-size: 18px;
	font-size: 1.8em;
	line-height: 1.45;
	margin-bottom: 26px;
}

h2.gap_above, h3.gap_above {
	margin-top: 26px;
}

h2.no_gap_below {
	margin-bottom: 0;
}

h2.who {
	padding-left: 35px;
	background: url(images/icon_who.png) no-repeat -5px -5px;
}

h2.what {
	padding-left: 35px;
	background: url(images/icon_what.png) no-repeat -5px -5px;
}

h2.how {
	padding-left: 35px;
	background: url(images/icon_how.png) no-repeat -5px -5px;
}

h2.where {
	padding-left: 35px;
	background: url(images/icon_where.png) no-repeat -5px -5px;
}

h3 {
	font-size: 16px;
	font-size: 1.6em;
	line-height: 1.625;
	margin-bottom: 26px;
}

h4 {
	font-size: 14px;
	font-size: 1.4em;
	line-height: 1.857;
	margin-bottom: 0;
}

/*** Paragraphs ***/

p {
	line-height: 2;
	margin-bottom: 26px;
}

p.no_gap_above {
	margin-top: -26px;
}

p.double_gap_above {
	margin-top: 52px;
}

p.posted_by {
	margin-bottom: 0;
	border-top: 1px solid black;
}

p#rss {
	padding-top: 20px;
}

p.description {
	font-size: 11px;
	font-weight: bold;
	width: 384px;
	margin: 5px 0 0 10px;
	float: right;
}

#and_finally p {
	margin-bottom: 0;
	text-align: center;
	letter-spacing: 1px;

}

#and_finally  p#freeindex {
	text-align: right;
	line-height: 1;
}

.command_syntax {
	font-family: "Courier New", Courier, mono;
	letter-spacing: 1px;
}

/*** Lists ***/

#content ul li {
	line-height: 2;
	margin-bottom: 26px;
	padding: 0 0 0 20px;
	background: url(images/bullet2.png) no-repeat left 6px;
}

#content ol {
	list-style: decimal;
}

#content ol li {
	line-height: 2;
	margin-bottom: 26px;
	background-image: none;
	list-style-position: inside;
	padding-left: 0px;
}

#blog_sidebar ul li {
	margin-bottom: 0;
}

/*** Links ***/

a {
	text-decoration: none;
	color: black;
	font-weight: bold;
}

a:hover {
	border-bottom: 1px solid black;
}

a.selected:hover {
	border-bottom: none;
}

#content a:visited {
	color: #666666;
}

#banner .nav_general a {
	font-size: 12px;
	font-size: 1.2em;
	color: white;
	padding: 15px 0 15px 10px;
	width: 85px;
	background-color: black;
	display: block;
}

#banner .nav_general a:hover {
	border-bottom: none;
	background-color: #A3D65A;
}

#and_finally a {
	text-decoration: none;
	color: white;
	font-weight: bold;
}

#and_finally a:hover {
	border-bottom: 1px solid white;
}

#and_finally a.selected:hover {
	border-bottom: none;
}

a.amazon_item {
	border: none;
}

/*** Images ***/

.icon1 {
	float: left;
}

.icon2 {
	float: right;
}

.book_cover {
	padding: 3px;
	border: solid 1px #cccccc;
	margin-right: 10px;
}

.img1 {
	float: right;
	margin: 0 0 5px 10px;
}

/***Blockquote ***/

blockquote {
	margin: 0;
	padding: 0;
	background:  url(images/ldq.png) no-repeat left top;
}

blockquote p.quote {
	padding: 0 25px;
	background: url(images/rdq.png) no-repeat right bottom;
}

blockquote p.author {
	text-align: right;
}

/*** Tables ***/

#stat_info table {
	width: 350px;
	width: 85%;
	border: none;
}
#stat_info  td.prompt {
	width: 180px;
	width: 60%;
	text-align: left;
	vertical-align: top;
}
#stat_info  td.info {
	vertical-align: bottom;
}
#stat_info  td {
	padding-bottom: 25px;
} 

/*** Forms ***/

.form_row {
	line-height: 2;
	margin-bottom: 26px;
}

label {
	display: block;
}

.form_error {
	font-size: 11px;
	font-style: italic;
	color: red;
	margin-left: 10px;
}

/*** Blog comments ***/

.comment, .my_comment {
	width: 90%;
	border: 1px solid black;
	padding: 10px;
	margin: 20px 0;
}

.my_comment {
	border-color: #A3D65A;
}

/*** Odds and sods ***/

.clear_both {
	clear: both;
}




