/*
File Name: port.css
Description: portfolio stylesheet
Version: 1.1
Author: Richard Scarrott
Author URI: http://www.richardscarrott.co.uk
Last Modified (created): 07/12/09 (19/08/09)

Notes:
- Includes base.css obtained from http://labs.zorked.com/lib/base.css.
*/


/*=== Import base CSS ===*/
@import url('base.css');

/*=== General ===*/
body {
	font-family:Arial, Helvetica, sans-serif;
	background-color:#424242;
	font-size:14px;
	color:#cecccd;
}

a {
	color:#8ec200;
	text-decoration:none;
}

a:hover {
	text-decoration:underline;
}

h1 {
	font-size:20px;
	color:#fff;
}

h2 {
	font-size:20px;
	color:#fff;
}

/*::-moz-selection{
	background: #F69;
	color: #AA0077;
} 

::selection {
	background: #F69;;
	color: #AA0077;
}*/

acronym, abbr {
	color:#8ec200;
	cursor:help;
	border-bottom:1px dotted #8ec200;
}

div#top_bar {
	height:4px;
	width:100%;
	background-color:#8ec200;
	color:#FFF
}

div#admin_top_bar {
	height:50px;
	width:100%;
	background-color:#8ec200;
}

div.content_box {
	background-image:url(../images/bg.jpg);
	background-repeat:repeat-x;
	background-position:bottom;
	width:100%;
}

div.no_grad {
	background-image:url(../images/bg_no_grad.jpg);
}

#last {
	margin-bottom:120px;
}

div.centre_content {
	position:relative;
	margin:0 auto;
	width:860px;
	padding:20px;
}

div.col_left {
	width:395px;
	float:left;
	margin-right:70px;
	padding-bottom:20px; /*paf auf*/
}

div.col_right {
	position:relative;
	width:395px;
	float:left;
	padding-bottom:20px; /*paf auf*/
}

div.contact_col_left {
	position:relative;
	width:450px;
	margin-right:70px;
	float:left;
	padding-bottom:20px; /*paf auf*/
}

div.contact_col_right {
	position:relative;
	width:340px;
	float:left;
	padding-bottom:20px; /*paf auf*/
}

div.project {
	float:none;
	padding-bottom:0px; /*paf auf*/
}

div.project img.scissors { /*actual image tag*/
	margin-right:10px;
}

.project_img {
	position:absolute;
	top: 50%;
	right: 14px;
	width: 400px;
	height: 210px;
	margin-top: -105px;
}

/*=== jQuery slideshow ===*/
ul#fade {
	z-index:0;
	list-style-type:none;
	padding:0;
	margin:0;
	margin-top:35px;
	height: 210px;
	width: 400px;
	overflow: hidden
}

ul#fade li {
	padding:0;
	margin:0;
}

/*=== pagination ===*/
div.pagination {
	padding:0;
	text-align:center;
}

div.pagination a {
	border:#5b9400 solid 1px;
	padding:0 4px;
}

div.pagination a:hover {
	border:#8ec200 solid 1px;
	background-color:#8ec200;
	color:#fff;
	text-decoration:none;
}

div.pagination #current {
	border:#8ec200 solid 1px;
	background-color:#8ec200;
	color:#fff;
	text-decoration:none;
	padding:0 4px;
}

.link {
	vertical-align:middle;
	margin-right:5px;
	color:#8ec200;
	font-weight:bold;
}

.link a {
	vertical-align:middle;
	margin-right:5px;
}

.link span {
	font-size:12px;
	vertical-align:middle;
	margin-left:5px;
	color:#cecccd;
	font-weight:normal;
}


/*ul.img_show, ul.img_show li {
	list-style:none;
	margin:0;
	padding:0;
	z-index:0;
}*/

.float_left {
	float:left;
}

.float_right {
	float:right;
}




/*=== icons ===*/
.icon {
	background-repeat:no-repeat;
	background-position:left;
	padding-left:40px;
	height:28px;
	line-height:28px;
}

.person {
	background-image:url(../images/icons.gif);
	background-position:0 0;
}

.i {
	background-image:url(../images/icons.gif);
	background-position:0 -28px;
}

.search {
	background-image:url(../images/icons.gif);
	background-position:0 -56px;
}

.arrow {
	background-image:url(../images/icons.gif);
	background-position:0 -84px;
}

.paper {
	background-image:url(../images/icons.gif);
	background-position:0 -112px;
}

.mail {
	background-image:url(../images/icons.gif);
	background-position:0 -140px;
}

.success {
	background-image:url(../images/icons.gif);
	background-position:0 -168px;
}

.error {
	background-image:url(../images/icons.gif);
	background-position:0 -196px;
}

#title_icon {
	line-height:28px;
	float:right;
	padding-bottom:22px; /* paf auf*/
}

#title_icon a {
	display:block;
	float:left;
	margin-left:30px; 
	vertical-align:middle;
}

#title_icon a:hover {
	text-decoration:none;
}

#title_icon img {
	vertical-align:middle;
}

/* like title_icon but less spacing between links*/
#social_icon {
	line-height:28px;
	float:right;
	padding-bottom:22px; /* paf auf*/
}

#social_icon a {
	display:block;
	float:left;
	margin-right:5px; 
	vertical-align:middle;
}

#social_icon img {
	vertical-align:middle;
}

/*=== general form formatting (based on contact) ===*/

form input.text_input {
	width:430px;
	height:22px;
	color:#000;
	padding:7px 10px 0 10px;
	vertical-align:middle;
	border:#888888 solid 3px;
	background-color:#e9e9e9;
}

form textarea {
	width:430px;
	height:246px;
	color:#000;
	line-height:25px;
	padding:5px 10px;
	border:#888888 solid 3px;
	background-color:#e9e9e9;
}

form input.activeInput, textarea.activeInput {
	border-color: #80b000;
}

form input.submit {
	width:100px;
	height:37px;
	vertical-align:middle;
}

fieldset {
	margin:0;
	padding:0;
}

label {
	width: 100px;
	float: left;
	text-align: left;
	display: block;
	margin-top:10px;
	padding-top:6px;
	font-weight:bold;
	vertical-align:middle;
}

/*=== Search form ===*/

form#search input{
	vertical-align:middle;
}

form#search label {
	vertical-align:middle;
}

span.highlight {
	background-color:#d8096b;
}

form#search input.submit {
	height:30px;
	vertical-align:middle;
	width:auto;
}

form#search input.searchbox {
	width:250px;
	height:19px;
	padding:2px 5px 0 5px;
}

/*=== project_form ===*/

form#project_form input.text_input {
	/*width:369px;*/
	width:834px;
}

form#project_form textarea {
	width:834px;
	height:115px;
	clear:both;
}

/*=== pswd_form ===*/

form#pswd_form input.text_input {
	width:300px;
}

form#pswd_form input.submit {
	margin-left:100px;
}

/*=== Google maps ===*/
div#map_canvas {
	margin-top:25px;
	width: 100%;
	height: 300px;
	border:3px solid #888888;
}

/*=== Header (footer) oh what irony! ===*/
div#header_bg {
	clear:both;
	background-image:url(../images/header_bg2.gif);
	background-repeat:repeat-x;
	position:fixed;
	bottom:0px;
	height:105px;
	width:100%;
	left:0px; /* pushes background to edge of window in IE6/7*/
	background-color:#3e6500; /*for footer*/
	z-index:10;
}

div#header_container {
	position:relative;
	margin:0 auto;
	width:900px;
	z-index:10;
}

div#header {
	position:fixed;
	bottom:15px;
	background-image:url(../images/header3.gif);
	background-repeat:no-repeat;
	width:900px;
	height:90px;
	z-index:10;
}

/*=== footer ===*/
div#footer {
	position:fixed;
	bottom:0;
	width:900px;
	text-align:right;
	font-size:10px;
	word-spacing:30px;
	z-index:10;
}

div#footer a {
	position:relative;
	right:55px;
	color:#90af5f;
}

div#footer span {
	word-spacing:normal;
}

div#footer a:hover {
	color:#fff;
	text-decoration:none;
}

/*=== Navigation ===*/
ul#nav {
	list-style-type:none;
	width:650px; /* stops nav collapsing when screen is resized */
	margin:0;
	position:relative;
	left:340px;
}

ul#nav li {
	float:left; /* IE6? */
	margin:0;
}

ul#nav li a {
	float:left;
	display:block;
	height:60px;
	background-image:url(../images/nav2.gif);
	background-repeat:no-repeat;
	font-size:9px;
	text-decoration:none;
	color:#90af5f;
	padding:30px 15px 0 15px;
}

ul#nav li a span {
	display:block;
	color:#FFF;
	font-size:16px;
}

ul#nav li a:hover {
	background-position:0 -90px;
	color:#FFF;
}

ul#nav li a#clink {
	background-position:0 -90px;
	color:#FFF;
}

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

/* ========== cycle ========= */

div#cycle {
	position:relative;
	margin:37px 0 0 0;
}

div#cycle a {
	display:block;
	position:absolute;
	top:0;
	left:0;
	z-index:1;
}

div#cycle .active {
	z-index:3;
}

div#cycle .previous {
	z-index:2;
}