/* Fonts
----------------------------------------------- */

   body {
		font-size: 90%;
		font-size-adjust:none;
		font-family: arial, helvetica, sans-serif;
		color: #333;
		color: #666666;
	}

	h1, h2, h3, h4, h5, h6 {
	   font-family: georgia, arial, serif;
	   font-weight: normal;
	}

	#nav li a {
	   font-family: georgia, arial, helvetica, sans-serif;
	   font-weight: bold;
	   font-size: 1.2em;
	}

	#content, #sidebar, #footer {
	   font-size: 0.9em;
	}
	
/* Padding
----------------------------------------------- */

	.padded {
		padding: 0 35px 0 55px;
	}

	#sidebar .padded {
		padding: 10px 15px 0 38px;
	}

	.box .padded {
		padding: 24px 20px 0 18px;
	}
	
	#content .box {
		margin: 40px 14px 0 36px;
	}

	#sidebar .box {
	   margin: 36px 20px 0px 21px;
	}
	
	#sidebar .box .padded {
		padding: 24px 20px 0 20px;
	}

	#contact #content .padded {
	   padding-left: 84px !important;
	}

/* Headings
----------------------------------------------- */

	h1, h2, h3, h4, h5, h6 {
		color: #333;
		line-height: 1.1em;
		color: #7E8C05;
	}

	h2 {
		color:#7E8C05;
		font-size: 2.64em;
		margin: 50px 0 26px 0;
	}
	
	h3 {
	   color: #A9B730;
		font-size: 2em;
		margin: 46px 0 14px 0;
	}
	
	h4 {
	   color: #797365;
		font-size: 1.6em;
		margin: 26px 0 10px 0;
	}
	h4.subtitle {
		color: #8B826E;
		margin: -6px 0 30px 28px;
	}

	/* Modifiers */
	
	#sidebar h3 {
	   margin-top: 21px;
	   margin-bottom: 6px;
	   /*color2: #acacac;*/
	}

	.box h3 {
	   margin-top: 0 !important;
	}
	.box h4 {
	   margin-bottom: 12px;
	}
	
/* Links
----------------------------------------------- */

	a:link, a:visited, a:active {
		color: #6699cc;
		color: #7AABBA;
		text-decoration: underline;
		padding: 3px 4px 3px 4px;
	}

	a:visited {
		color: #acacac;
	}

	a:hover {
		color: #579CFF;
		background-color: #F9FDD7;
		text-decoration: underline;
	}

	a img {
	   border: 0;
	}
	
/* Content Tags
----------------------------------------------- */

	b, strong {
	   color: #444;
	   color: #797365;
	}

	p, ul, ol, li {
		/*color: #333;*/
		line-height: 18px;
		line-height: 20px;
	}
	
	p {
		margin: 12px 0 12px 0;
	}

	ol, ul {
		margin-left: 0px;
		margin-bottom: 10px;
		padding-left: 6px;
		line-height: 18px;
	}

	li {
		line-height: 18px;
		margin-bottom: 8px;
	}

	/* to stop icons appear in wp_list_pages etc */
	ul.noicons li {
		background: none;
	}

	ul li {
		padding-left: 18px;
		list-style-type: none;
		background: transparent url("../images/bullet.gif") 0 2px no-repeat;
	}
	
	#sidebar ul li {
		background-image: url("../images/bullet-sidebar.gif");
	}

	/* Points - special lists that look better for bold header lists
	----------------------------------------------- */
	
	ul.points {
	   padding-top: 10px;
	   margin:0;
	}
	
   ul.points li {
	   background-position: 0 2px !important;
	   padding-bottom: 14px;
	}

   ul strong,
	ul.points strong {
	   display: block;
	   font-size: 1.2em;
	   font-family: georgia;
	   font-weight: bold;
	   font-style: normal;
	   padding-bottom: 6px;
	   /*color: #877350;
	   color: #C79856;*/
	   color: #797365;
	}
	
	ul strong { display: inline; }
	
	/* Links - special listthat displays links
	----------------------------------------------- */

	ul.links {
		padding: 0 !important;
	   margin: 0 !important;
	}

   ul.links li {
	   background: transparent !important;
	   padding: 0 !important;
	   margin: 0 !important;
		border: solid 0px #FFF;
	}

	ul.links a {
		background: transparent url("../images/bullet.gif") 10px 8px no-repeat;
		padding: 6px 6px 6px 28px !important;
	   display: block;
	   font-size: 1.2em;
	   font-family: georgia;
	}
	
	ul.links a:hover {
	   background-color: #F9FDD7;
	}

	/* Make side bar links have a fixed width */
	#sidebar ul.links a {
	   width: 200px;
	}

/* Nav
----------------------------------------------- */

	#nav {
	   padding: 10px 20px;
	}

	#nav h3 {
	   padding-left: 8px;
	}

	#nav ul {
		margin: 0;
		padding: 8px;
		background: url("../images/nav-bg.jpg") 0 0 no-repeat;
	}

	#nav li {
	   background: transparent;
	   padding: 0;
	   margin: 0;
	   width: 220px;
	   height: 38px
	}

	#nav li a {
	   background: transparent url("../images/nav-item-bg.gif") 0 100px no-repeat;
	   color: #797365;
	   padding: 0px;
	   display: block;
	   padding:10px;
	   text-decoration: none;
	}

	#nav li a:hover { color: #6D98A6 !important; background-position: 0 -38px;}

   #nav li a.current,
	#nav li a.current:hover { color: #fff !important; background-image: url("../images/nav-item-bg-current.gif"); background-position: 0 0; }


/* Portfolio classes
----------------------------------------------- */

	#portfolio #wrapper {
	   background: transparent;
	}
	
	#portfolio #content {
	   width: 870px;
	}
	
	#portfolio h33 {
	   margin-top: 30px;
	}
	
   a.project {
		float: right;
		margin: 0 0 10px 10px !important;
		padding: 0 !important;
		width: 260px;
		height: 220px;
		background-repeat: no-repeat;
		background-position:2 0 0;
		
		outline-color:invert;
		outline-style:none;
		outline-width:medium;
		
		font-family: georgia, arial;
		text-decoration: none !important;
		text-align: center;
		color: #A9B730;
   }
   
   a.project:hover {
      color: #A9B730;
		background-position: 0 -220px;
   }
   
   a.project span { display:none; }
   a.project:hover span { font-weight: bold; margin-top: 172px; display: block;}
   a.project img { border: none; }

/* Contact classes
----------------------------------------------- */

	#contact #content .padded {
		padding-left: 66px;
	}
	
/* Sidebar classes
----------------------------------------------- */

	#recentwork {
	   padding: 0;
	}
	#recentwork li {
	   background: transparent;
	   padding:0;
	}
	

/* Footer
----------------------------------------------- */

	#footer {
		margin-top: 30px;
		padding: 34px 0 20px 0;
	}

	#footerWrapper {
		width: 794px;
		text-align: left;
		margin: auto;
	}

	#footer p {
		padding: 10px 0 30px 4px;
		display: block;
		text-align: left;
		width: 350px;
		color: #777;
	}

	#footer p.left  { float: left; }
	#footer p.right { float: right; text-align: right; padding-right: 60px;}

	#footer a {
		padding: 4px!important;
	}

			#footer span {
				color: #DDDDDD;
				padding: 2px;
			}

			#footer a:hover {
				text-decoration: underline;
			}

	#footer ul {
	   width: 744px;
	   margin: auto;
	   margin-top: 10px;
	}

	#footer ul li {
	   text-align: left;
	   background: #eee;
	   border: solid 1px #eee;
	   display: block;
	   float: left;
	   width: 330px;
	   height: 100px;
	   margin-right: 30px;
	   padding: 0;
	}
	
	#footer ul li strong {
	   display: block;
	   font-size: 1.2em;
		padding: 10px 0;
		margin-bottom: 10px;
	   border-bottom: solid 1px #ccc;
	}



/* Form classes
----------------------------------------------- */

	form {
		margin-top: 30px;
	}

	label {
		display: block;
		padding-top: 10px;
		padding-bottom: 4px;
	}

	.textinput {
		width: 340px;
		clear: left;
		padding: .30em;
		border: solid 2px #E2EB9A;
		margin: 14px 0 1em 0x;
		background: #FFFFFF url("../images/textbox-background.gif") repeat-x top left;
		font: normal 1em Arial,Tahoma,Sans-Serif,Helvetica,Serif;
		font-size: 13px;
		color: #666666
	}
	.textinput:focus {
		border-color: #B0A780;
	}

	.button {
		clear: left;
		display: block;
		font-family: georgia, arial;
		font-size: 1.2em;
		padding: 6px 20px;
		margin-left: 0px;
		background: #E2EB9A;
		color:#fff;
		font-weight: bold;
		border: none;
		cursor: pointer;
	}

	/*.form .submit,
	form .submit {
		color:#666666;
		background: #eeeeee;
		font-weight: bold;
		border: solid 1px #CCCCCC;
		display: block;
		padding: .15em;
		margin-top: 16px;
		clear: left;
	}*/

	.button:hover {
		color: #6D98A6;
		background-color: #F2FBAA;
	}

	/*.form .textinput:hover,
	.form .textinput:active,
	.form .textinput:focus {
		border: solid 1px #999999;
	}*/


/* Search form
----------------------------------------------- */

	#searchform {
		padding: 0px 0px 0px 0px;
		width:190px;
		height:70px;
	}

	#searchform form {
		margin:0px;
		padding: 4px 0px 0px 14px;
	}

	#searchform fieldset {
		border: none;
		margin:0px;
		padding:0px;
	}

	#searchform h2{
		margin-top: 0px;
		margin-bottom: 8px;
	}

	#searchform .textinput {
		width: 138px;
		padding: 5px 0px 5px 6px;
		border: medium none;
		background:#FFFFFF url(../images/searchfield.gif) no-repeat scroll 0%;
		font-size:12px;
	}

	#searchbutton {
		top:0px;
		margin:-45px 0px 0px 145px;
	}

	#searchbutton input {
		background:transparent url(../images/searchbutton.gif) no-repeat scroll 0%;
		height:29px;
		width:32px;
		border: none;
		cursor: hand;
	}

	#searchbutton input:hover {
		background-image: url(../images/searchbutton-over.gif);
	}

/* Box content classex
----------------------------------------------- */

	.box {
	   background: #FAFDE5 url(../images/corners.gif) -15px -15px no-repeat;
		padding-bottom: 15px;   /* Important - so the bottom corners look right */
	}

		.boxtop {
		   float: right;
		   background: url(../images/corners.gif) 0px -15px no-repeat;
			height: 15px;
			width: 15px;
		}
		
		.boxbottomleft {
		   background: url(../images/corners.gif) -15px 0px no-repeat;
			height: 15px;
			width: 15px;
			float: left;
		}
		
		.boxbottomright {
		   background: url(../images/corners.gif) 0px 0px no-repeat;
			height: 15px;
			width: 15px;
			float: right;
		}
