/*-------------------------------
Main Layout StyleSheet

Version 1.0
Author: James Purves
Email: info@unstuckdesign.com
Website: http://www.unstuckdesign.com

---------------------------------
Default Styles
---------------------------------*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, code,
del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
  margin: 0;
  padding: 0;
  border: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
}

body { 
  line-height: 1.5;
  background-image:url(../images/main_bg.jpg);
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Remove annoying border on linked images. */
a img { border: none; }

*{
margin:0px; 
padding:0px;
}

body {
height: 100%;
}

#wrapper{
/*text-align:center;*/
background-image:url(../images/main_bg_shadow.png);
background-position:center;
background-repeat:repeat-y;

}


#container{
width:715px; 
margin:0 auto;
text-align:left;
background-color:#fefefe;
padding:15px 0px 0px 29px;
background-image:url(../images/container_bg.jpg);
background-position:top;
background-repeat:no-repeat;
}

/*-------------------------]-
Header
--------------------------*/
#header-wrapper{
/*text-align:center;*/
margin:30px 0px 0px 0px;
}

#header { 
width:768px; 
margin:0 auto;
text-align:left;
padding:0px 0px 0px 0px;
height:173px;
background-image:url(../images/header_bg.png);
background-position:top center;
background-repeat:no-repeat;
}

/*//---------------------------------
Logo
---------------------------------*/

#logo{
float:left;
margin:18px 0px 0px 236px;
}


/*--------------------------
Nav 
--------------------------*/

#mainnav{
	padding:14px 0px 0px 0px;
	text-align:center;}


#navlist li
{
display: inline;
list-style-type: none;
padding-right: 16px;
font-family:Verdana, Geneva, sans-serif;
font-size:0.8em;
}



#navlist li a:link, #navlist li a:active, #navlist li a:visited{font-family:Verdana, Geneva, sans-serif; text-decoration:none; color:#5a4a42;}
#navlist li a:hover{ color:#827d00; text-decoration:none;}

.active{
	font-family:Verdana, Geneva, sans-serif; color:#827d00;}
	
	
/*--------------------------
Primary Content
--------------------------*/
#primaryContent {
float:left; 
padding: 0px 0px 0px 0px;
margin:0px 39px 0px 0px;
width:319px;
}

#primaryContent_wide {
float:left; 
padding: 0px 0px 0px 0px;
margin:15px 30px 0px 0px;
width:418px;
}


#primaryContent_full {
float:left; 
padding: 0px 0px 0px 0px;
margin:15px 0px 0px 0px;
width:714px;
}


.project{
	float:left;
	margin:0px 28px 20px 0px;
	width:210px;}
	
	.project img{
		border:1px solid #ebebeb;
		margin:0px 0px 10px 0px;}
		
		.project  h2{
			text-align:center;}
		
		.project p{
			text-align:left;}


.articlecontainer{
	float:left;
	width:687px;
	margin:0px 0px 16px 0px;}
	
	.articlecontainer img{
		float:left;
		margin:0px 30px 0px 0px;
		border:1px solid #ebebeb;}
		
		.rightboxes {
		float:right; width:440px;
		
		}

/*--------------------------
Secondary Content
--------------------------*/
#secondaryContent{ 
float:left; 
padding: 0px 0px 0px 0px;
margin:0px 0px 0px 0px;
width:327px;
}


#secondaryContent img{border:1px solid #ebebeb;}

#secondaryContent_contact{ 
float:left; 
padding: 0px 0px 0px 0px;
margin:15px 0px 0px 0px;
width:238px;
}
#secondaryContent_contact img{border:1px solid #ebebeb;}


/*--------------------------
Footer
--------------------------*/

#footer-wrapper{
/*text-align:center;*/
background-image:url(../images/main_bg_shadow.png);
background-position:center;
background-repeat:repeat-y;
}

#footer { 
width:744px;
margin:0 auto;
text-align:center;
background-color:#fefefe;
padding:20px 0px 20px 0px;
}

#footer p{
text-align:center;
font-size:0.65em;
color:#959595;
margin:0px 0px 8px 0px;
}

/*-------------------------]-
Base Shadow
--------------------------*/
#base-wrapper{
/*text-align:center;*/

}

#base { 
width:768px; 
margin:0 auto;
text-align:left;
padding:0px 0px 0px 0px;
height:26px;
background-image:url(../images/baseshadow_bg.png);
background-position:top center;
background-repeat:no-repeat;
}


/*--------------------------
Typography
--------------------------*/
h1 {
font-family:Georgia, "Times New Roman", Times, serif;
font-size:1.4em;
font-weight:normal;
text-decoration:none;
padding:0px 0px 25px 0px;
color:#7b7600;
line-height:1.4em;
letter-spacing:0.1em;
}

h1 em{
	color:#4a3d36;
	font-size:smaller;
	font-style:normal;
}

#primaryContent_wide h1 {
font-family:Georgia, "Times New Roman", Times, serif;
font-size:1.4em;
font-weight:normal;
text-decoration:none;
padding:0px 0px 15px 0px;
color:#7b7600;
line-height:1.4em;
letter-spacing:0.1em;
}


h2 {
font-family:Georgia, "Times New Roman", Times, serif;
font-size:0.9em;
font-weight:normal;
text-decoration:none;
padding:0px 0px 5px 0px;
color:#7b7600;
text-align:center;
}

h3 {
font-family:Georgia, "Times New Roman", Times, serif;
font-size:1.1em;
font-weight:normal;
text-decoration:none;
padding:0px 0px 12px 0px;
color:#7b7600;
letter-spacing:0.1em;

}


h4{
	font-family:Verdana, Geneva, sans-serif;
	font-size:0.8em;
	color:#4A3D36;
	padding:4px 0px 4px 0px;
	font-weight:normal;}

h4 em{color:#7b7600;
font-style:normal;}

#primaryContent_wide h4 a:link, #primaryContent_wide h4 a:active, #primaryContent_wide h4 a:visited{text-decoration:none; color:#4A3D36; }
#primaryContent_wide h4 a:hover{text-decoration:underline; color:#4A3D36; }


p {
font-size: 0.7em;
line-height: 1.5em;
text-align:justify;
margin-bottom:1.6em;
color:#4a3d36;
font-family:Verdana, Geneva, sans-serif;
}

p.contactdetails{
		font-family:Verdana, Geneva, sans-serif;
	font-size:0.75em;
	color:#4A3D36;
	padding:0px 0px 0px 0px;
	font-weight:normal;
	line-height: 0.6em;}
	
	p.contactdetails em{color:#7b7600;
font-style:normal;}

#contactdetails{
	margin:35px 0px 0px 0px;}

a {
text-decoration: underline;
font-weight:normal;
color:#827d00;
}

a:hover {
text-decoration:none;
}


.blue {
color:#054EA0;
}

.clear {
clear:both
}


hr {
color:#999999;background-color:#999999;height:1px;border:none;
}

ul, ol {
margin:10px 0px;
padding:0pt 0px;
}
ul {
list-style-image:none;
list-style-position:outside;
list-style-type:square;
}
ol {
list-style-image:none;
list-style-position:outside;
list-style-type:decimal;
}

dt {
color:#054ea0;
font-weight:bold;
}
dd {
padding-left:25px;
}
dl {
padding:10px 15px;
}


img.float-right {
margin:5px 0px 10px 10px;
}
img.float-left {
margin:5px 10px 10px 0px;
}

.float-left {
float:left;
}


code {
background:#F8F8F8 none repeat scroll 0%;
border:1px solid #F0F0F0;
display:block;
font-family:'Gill Sans','Courier New',Monospace;
font-size:1em;
font-size-adjust:none;
font-stretch:normal;
font-style:normal;
font-variant:normal;
font-weight:500;
line-height:1.5em;
margin:3px 0pt;
overflow:auto;
padding:15px;
text-align:left;
}
acronym {
border-bottom:1px dotted #895F30;
cursor:help;
}
blockquote {
background:#F8F8F8 url(../images/quote.gif) no-repeat scroll 12px;
border:1px solid #F0F0F0;
color:#555555;
font-family:Georgia,'Times New Roman',Times,Serif;
font-size:17px;
font-style:italic;
font-weight:normal;
line-height:1.5em;
margin:10px;
padding:10px 10px 10px 32px;
}
table {
border-collapse:collapse;
margin:10px;
}
tr {
background:#FFFFFF none repeat scroll 0%;
}
tr.altrow {
background:#F9F9F9 none repeat scroll 0%;
}
th, td {
border-style:solid;
border-width:1px;
text-align:left;
}
th {
background:#CCCCCC none repeat scroll 0%;
border-color:#B7B7B7;
color:#054ea0;
padding:0.8em 1em;
}
td {
border-color:#EFEFEF;
padding:0.7em 1em;
}


form {  /* set width in form, not fieldset (still takes up more room w/ fieldset width */
  font:100% verdana,arial,sans-serif;
padding-top:10px; padding-left:10px; padding-right:10px; padding-bottom:10px;
  min-width: 570px;
  max-width: 570px;
  width: 570px; 
}

form fieldset {
  / * clear: both; note that this clear causes inputs to break to left in ie5.x mac, commented out */
  border-color: #000;
  background-color:#e8e8e8;
  border-width: 0px;
  border-style: solid;
  padding: 10px;        /* padding in fieldset support spotty in IE */
  margin: 0;
  color:#004080;
}

form label { 
	display: block;  /* block float the labels to left column, set a width */
	float: left; 
	width: 150px; 
	padding: 0; 
	margin: 5px 0 0; /* set top margin same as form input - textarea etc. elements */
	text-align: right;
	font-size:0.8em; 
}



form fieldset legend {
	font-size:1.1em; /* bump up legend font size, not too large or it'll overwrite border on left */
                       /* be careful with padding, it'll shift the nice offset on top of border  */
}

form input, form textarea {
	/* display: inline; inline display must not be set or will hide submit buttons in IE 5x mac */
	width:auto;      /* set width of form elements to auto-size, otherwise watch for wrap on resize */
	margin:5px 0 0 10px; /* set margin on left of form elements rather than right of
                              label aligns textarea better in IE */
}

form input#reset {
	margin-left:0px; /* set margin-left back to zero on reset button (set above) */
}

textarea { overflow: auto; }

form small {
	display: block;
	margin: 0 0 5px 160px; /* instructions/comments left margin set to align w/ right column inputs */
	padding: 1px 3px;
	font-size: 88%;
}

form .required{font-weight:bold;} /* uses class instead of div, more efficient */

form br {
	clear:left; /* setting clear on inputs didn't work consistently, so brs added for degrade */
}


#container a:link, #container a:active, #container a:visited{text-decoration:underline; color:#4A3D36; }
#container a:hover{text-decoration:none; color:#4A3D36; }

#testimonials{
	margin:0px 0px 8px 0px;}
	
/*---------------------------------
Unstuck
---------------------------------*/

#unstuck{
	float:right;
	font-family:Verdana, Geneva, sans-serif;
	font-size:0.9em;
	margin:20px 20px 0px 0px;
	}
	

