/* -------------------------------------------------------------------
Stylesheet: David Gifford's Photoblog (v2)
Author:     David Gifford
Version:    8th April 2009
------------------------------------------------------------------- */


/* ------------------------------------------------------------------------- #####  Neutralise Defaults  ##### */

* {
	margin: 0;
	padding: 0;
}

html {
	font-size:62.5%;
}

html, body {
	min-height:100.1%;
}

/* ------------------------------------------------------------------------- #####  Body  Presets ##### */

body {
	background: black url(header-background.png) repeat-x;
	padding: 0px;
	margin: 5px 0 0 0;
	color: #999999;
}

#container {
	position: relative;
	margin-bottom: 10px;
}

/* ------------------------------------------------------------------------- #####  Typography  ##### */

a {
	color: #ffffff;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

h1 {
	font-family: Palatino Linotype, Trebuchet MS, serif;
	font-size: 2.4em;
}

h1 a span {
	font-weight: lighter;
	color: #999999;
}

h1 a:hover span {
	color: #ffffff;
}

h2 {
	font-family: Trebuchet MS, serif;
	color: #999999;
	font-size: 3.6em;
}

.img306 h2, .img315 h2 { font-size: 2.8em;}

h3 {
	font-family: Trebuchet MS, serif;
	color: #cccccc;
	font-size: 3.2em;
	font-weight: 500;
	margin: 0.8em 0 0.3em 0;
}

h4 { 	
	font-family: Verdana, sans-serif;
	font-size: 1.6em;
	color: #999999;
	line-height: 1.8em;
	margin-top: 1em;
	margin-bottom: 0.3em;
	text-align: left;
	font-weight: 600;
}

#header ul li a {
	font-family: Trebuchet MS, serif;
	font-size: 2em;
	text-decoration: none;
}

#header ul li a:hover {
	text-decoration: underline;
}

p { 	
	font-family: Verdana, sans-serif;
	font-size: 1.4em;
	color: #999999;
}


#imagenav a {
	font-family: Trebuchet MS, serif;
	color: #ffffff;
	font-size: 1.4em;
}

#description p {
font-family: Verdana, sans-serif;
text-align: left;
line-height: 2em;
margin-bottom: 1.4em;
}

#settings {
	font-family: Trebuchet MS, serif;
	font-size: 1.2em;
}

#thumbnailsection p {
	font-family: Trebuchet MS, serif;
	font-size: 1.2em;
	color: #4D4D4D;
	text-indent: 8px;
}

#footer {
	clear: both;
	padding-top: 15px;
	padding-bottom: 15px;
}

#footer p {
	font-family: Verdana, serif;
	font-size: 1.2em;
	color: #3B3B3B;
	text-align: center;
	letter-spacing: 5px;
	word-spacing: 0.15em;
	margin: 15px 0 0 0;
}

#footer p a {
	color: #666666;
}

#footer p a:hover {
	color: #ffffff;
}

#aboutheader h2 { 
	font-family: Palatino Linotype, Trebuchet MS, serif;
	font-size: 3em;
	font-style: italic;
	font-weight: 300;
	color: #cccccc;
 } 
 
#aboutcols em {
	color: #990000;
	font-style: normal;
}

#aboutpage #aboutcols p { 	
	font-family: Verdana, sans-serif;
	font-size: 1.6em;
	color: #999999;
	line-height: 1.8em;
	margin-bottom: 1.2em;
	text-align: left;
	font-weight: 300;
}

#aboutrightcol ul { 
	font-family: Verdana, sans-serif;
	font-size: 1.6em;
	color: #999999;
	line-height: 1.8em;
	text-align: left;
	font-weight: 500;
	}
 
 #dsgframe a span {
 	font-family: Trebuchet MS, serif;
	font-size: 1.4em;
	font-weight: 700;
	text-indent: 15px;;
 }
 
 #webportfolio li a {
  	font-family: Trebuchet MS, serif;
	font-size: 1.2em;
	line-height: 1.5em;
	text-align: left;
	font-weight: 500;
 }
  
#browseleft {
   	font-family: Trebuchet MS, serif;
	font-size: 1.6em;
	line-height: 1.7em;
	text-align: left;
	font-weight: 500;
}

#browseright #youareviewing {
   	font-family: Trebuchet MS, serif;
	font-size: 1.6em;
	line-height: 1.7em;
	text-align: center;
	font-weight: 500;
	margin: 0 auto;
	width: 600px;
}

#browseright .pagination {
   	font-family: Trebuchet MS, serif;
	font-size: 1.6em;
	line-height: 1.7em;
	text-align: center;
	font-weight: 500;
	margin: 0 auto;
	width: 600px;
}

#contactwrapper p {
	line-height: 1.8em;
	margin-bottom: 1.2em;
}

.thanks {
color: #990000;
}

/* ------------------------------------------------------------------------- #####  header  ##### */

#header { width: 640px; margin: 0 auto; position: relative;}

#header h1 { margin-bottom: 8px; }

#header ul { margin-bottom: 8px; position: absolute; right: 0; top: 4px;}

#header ul li { 
	display: inline;
	list-style-type: none;
	padding-left: 2em;
	text-align: right;
}

/* ------------------------------------------------------------------------- #####  main image  ##### */

img {
	border: 0;
}

.cssbox img {
	background: #ffffff url(loading.gif) no-repeat;
	background-position: center center;
	margin-top: -6px;
}

#border {
background: #ffffff url(image-background.png) no-repeat;
padding: 15px 5px 0px 13px;
margin: 0 auto 60px auto;
clear: both;
}

.cssbox, .cssbox_body, .cssbox_head, .cssbox_head h2 { 
	background: transparent url(image-shadow.png) no-repeat bottom right; 
} 

.cssbox { 
	padding-right: 20px; /* the gap on the right edge of the image (not content padding) */ 
	margin: 0 auto; /* use to position the box */
} 

.cssbox_head { 
	background-position: top right; 
	margin-right: -20px; /* pull the right image over on top of border */ 
	padding-right: 20px; /* right-image-gap + right-inside padding */ 
} 
	
.cssbox_head h2 { 
	background-position: top left; 
	margin: 0; /* reset main site styles*/ 
	border: 0; /* ditto */ 
	padding: 9px 0 0 0; /* padding-left = image gap + interior padding ... no padding-right */ 
	height: auto !important; 
	height: 1%; /* IE Holly Hack */ 
	position: relative;
	text-align: left;
} 

.cssbox_head h2 span { 
	position: absolute;
	text-align: left;
	left: 0px;
}

.cssbox_body { 
	background-position: bottom left; 
	margin-right: 0; /* interior-padding right */ 
	padding: 0 0 9px 4px; /* mirror .cssbox_head right/left */ 
	font-size: 0.1em;
}


/* ------------------------------------------------------------------------- #####  image nav  ##### */

#imagenav {
	width: 640px;
	position: relative;
	top: -55px;
	margin: 0 auto 0 auto;
	height: 2em;
}

#imagenav #prev {float: left; margin-right: 20px; }
#imagenav #next {float: left; }

#prev a {padding: 0 0 0 10px; background: black url(left.png) no-repeat; background-position: center left;} 
#next a {padding: 0 10px 0 0; background: black url(right.png) no-repeat; background-position: center right;} 

#imagenav #comment {float: right; width: 173px; text-align: center;}

/* ------------------------------------------------------------------------- #####  text content  ##### */

#description {
	width: 640px;
	margin: 0 auto;
}

/* ------------------------------------------------------------------------- #####  thumbnails  ##### */

#thumbnailsection {
	clear: both;
	width: 640px;
	margin: 0 auto;
}

#thumbnailrow  {
	margin-top: 5px;
}


#thumbnailrow  img {
padding: 7px;
}

#thumbnailrow a {
display: block;
width: 114px;
height: 89px;
border: 1px solid #000000;
float: left;
margin-right: 8px;
}

#thumbnailrow a:hover {
display: block;
width: 114px;
height: 89px;
border: 1px solid #ffffff;
float: left;
margin-right: 8px;
}

#thumbnailrow  .current-thumbnail {
	border: 1px dotted #b7b7b7;
}

/* ------------------------------------------------------------------------- #####  settings  ##### */

#settings  {
	background: black url(settings-background.png) no-repeat;
	width: 173px;
	padding: 4px 0 10px 0;
	margin-bottom: 15px;
	margin-left: 15px;
	float: right;
}

#settings th {
	text-align: right;
	font-weight: 700;
}

#settings th.head {
	text-align: center;
	font-size: 1.6em;
	font-weight: 500;
	padding-bottom: 10px;
}

#settings td {
	padding: 2px 0 2px 5px;
}

.img328 #container table, .img334 #container table { display: none; }

/* ------------------------------------------------------------------------- #####  footer  ##### */

p a.feed { padding: 3px 25px 3px 25px; background: black url(rss.gif) no-repeat; background-position: center left;}

/* ------------------------------------------------------------------------- #####  admin link  ##### */

#adminlink {
	position: absolute;
	bottom: 10px;
	right: 20px;
	margin: 0;
}

/* ------------------------------------------------------------------------- #####  about page  ##### */

#aboutheader  { margin-top: 2em; width: 100%; border-top: 2px white solid; border-bottom: 2px white solid; background: #000000; padding: 5px 0 5px 0; }

#aboutheader div { width: 100%; min-height: 3em; background: #333333; }

#aboutheader div div { width: 640px; min-height: 3em; margin: 0 auto;}

#aboutheader h2 { width: 425px; margin: 0; text-align: left; padding-top: 0.6em; padding-bottom: 0.6em; }

#aboutcolscontainer { width: 100%; min-height: 200px; background: black url(header-background.png) repeat-x;}

#aboutcols { margin: 0 auto; width: 640px; padding-top: 0.2em;}

#aboutleftcol { width: 305px; margin-right: 25px; float: left;}

#aboutrightcol { width: 280px; margin-left: 30px; float: right; margin-top: 330px; padding-top: 80px; position: relative;}

#webportfolio { clear: both; width: 640px; }

#dsg { position: absolute; top: -48em; left: -25px; width: 318px; height: 556px; background: url(david-gifford2.png) no-repeat;}

#dsgfrane { width: 194px; height: 197px; background: #222222; position: absolute; top: 230px; left: 63px;} 

#dsgframe a { display: block; width: 194px; height: 197px; background: #222222;  position: absolute; top: 230px; left: 63px; margin: 0; padding: 0;}

#dsgframe a span { display: block; width: 194px; min-height: 1.2em; position: absolute; top: 165px; left: 0px; background: #333333 url(view-back.png); margin: 0; padding: 0; cursor: pointer; }

#aboutrightcol ul { 	
	margin-left: 30px;
}

#aboutrightcol ul.equipment { margin-bottom: 2em;}
#aboutrightcol ul.links { list-style: none; }

#webportfolio {
margin: 0 auto;
padding: 1em 0 2em 0;
width: 640px;
clear: both;
}

#webportfolio ul {
display: inline;
list-style-type: none;
margin-top: 15px;
}

#webportfolio ul li {
float: left;
height: 150px;
width: 150px;
margin-right: 10px;
}

#webportfolio ul li.dsr { 
background: url(dsr.jpg);
}

#webportfolio ul li.euhabc { 
background: url(euhabc.jpg);
}

#webportfolio ul li.srpc { 
background: url(srpc.jpg);
}

#webportfolio ul li.sn { 
background: url(sn.jpg);
}

#webportfolio li a {
display: block;
width: 150px;
height: 150px;
}

#webportfolio ul li a span {
display: block;
width: 144px;
min-height: 2.8em;
background: url(port-back.png) repeat-x;
padding: 3px; 
cursor: pointer; 
padding-top: 95px;
}

/* ------------------------------------------------------------------------- #####  browse page  ##### */

 #browsewrapper {
 clear: both;
 border: 0px;
 margin: 0 auto;
 width: 840px;
 }
 
 #browseleft {
 float:left;
 width: 170px;
 text-align: left;
 border-right: 1px dotted #333333;
 margin-top: 20px;
 margin-bottom: 30px;
 margin-right: 30px;
}

#browseleft ul {
list-style: none;
}

#browseright {
 float: left;
 width: 620px;
 margin-bottom: 30px;
}

#browseright div {
clear: both;
}

#browsethumbs { 
 text-align: left;
 padding: 0px;
 margin-top: 20px;
 margin-bottom: 20px;
}


#browsethumbs  img {
margin: 7px;
background: #999999;
}

#browsethumbs a {
display: block;
width: 114px;
height: 89px;
border: 1px solid #000000;
background: #222222;
float: left;
margin-right: 8px;
margin-bottom: 8px;
}

#browsethumbs a:hover {
display: block;
width: 114px;
height: 89px;
border: 1px solid #ffffff;
background: #444444;
float: left;
margin-right: 8px;
}

#browseright #youareviewing {
padding-top: 20px;
margin-bottom: 7px;
}

#browseright .pagination {
   	font-family: Trebuchet MS, serif;
	font-size: 1.6em;
	text-align: center;
	font-weight: 500;
	margin: 0 auto;
	width: 600px;
	clear: both;
	margin-top: 2px;
	padding-top: 2px;
	line-height: 3em;
	padding-bottom: 50px;
}

#browseright .pagination a { 
padding: 4px 8px 4px 8px;
background: #222222;
border: 1px solid #666666;
margin-right: 4px;
}

#browseright .pagination a:hover { 
background: #444444;
border: 1px solid #ffffff;
}


/* ------------------------------------------------------------------------- #####  contact form  ##### */

/* COLOR/BORDERS CSS */

form.ddfm h1,
form.ddfm h2 {
	color: #606060;
}

form.ddfm legend, 
form.ddfm label, 
form.ddfm label.fmtextlblwide {
	color: #606060;
}

form.ddfm .fmcheck p, 
form.ddfm .fmradio p,
form.ddfm textarea, 
form.ddfm .fmfullblock, 
form.ddfm .fmhalfblock, 
form.ddfm .fmselect, 
form.ddfm input.fmtext,
form.ddfm input.fmverify,
form.ddfm textarea.fmtextwide,
form.ddfm .submit,
form.ddfm .credits {
	color: #404040;
}

form.ddfm .required {
	color: #990000;
}

.ddfmerrors {
	color: #FF0000;
	font-size: 1.4em;
}

/* TEXT CSS */

.ddfmwrap {
	font-size: 90%;
	font-family: Arial, Helvetica, sans-serif;
}

form.ddfm h1,
form.ddfm h2 {
	font-family: Arial, Helvetica, sans-serif;
	text-align: left;
	margin: 0 0 10px 0;
	padding: 0;
}


form.ddfm h1 {
	font-size: 140%;
}

form.ddfm h2 {
	font-size: 115%;
}

form.ddfm legend, 
form.ddfm label, 
form.ddfm label.fmtextlblwide {
	font-size: 100%;
	font-weight: bold;
}

form.ddfm .credits {
	font-size: 90%;
}

form.ddfm legend {
	font-size: 110%;
}

.ddfmerrors {
	font-weight: bold;
}




/* STRUCTURE CSS */

.ddfmwrap {
	margin: 15px auto 15px auto;
	width: 450px;
}

.ddfmwrap p.fieldwrap {
	padding: 1px;
	margin: 1px;
	clear: left;
}

form.ddfm {
	text-align: left;
	padding: 10px;
	width: 430px; 
}

form.ddfm fieldset {
	padding: 0 10px 2px 10px;
	margin: 0 0 13px 0;
	display: block;
}

form.ddfm legend {
	padding: 0 6px 0 6px;
	margin: 0 0 0 10px;	 
}

form.ddfm label {
	display: block; 
	float: left; 
	width: 26%; 
	text-align: right;
	margin: 0 10px 0 0; 
	padding-bottom: 15px;
	clear: left;  
}

form.ddfm label.fmtextlblwide {
	display: block;  
	float: left; 
	text-align: left;
	margin: 0 10px 0 1px; 
	padding-bottom: 8px; 
	width: 100%;
}

form.ddfm select.fmselect {
	float: left; 
	display: block;
	width: 65%; 
	margin-bottom: 15px;  
	padding: 3px; 
}

form.ddfm .fmcheck {
	width: 65%; 
	float: left;
	display: block;  
	margin-bottom: 15px;
}

form.ddfm .fmradio {
	width: 65%;
	float: left;
	display: block;
	margin-bottom: 15px;
}

form.ddfm .fmcheck p {
	padding: 0;
	margin: 0 0 5px 0;
	line-height: 140%;
}

form.ddfm .fmradio p {
	padding: 0;
	margin: 0 0 5px 0;
	line-height: 140%;
}

form.ddfm textarea {
	float: left; 
	position: relative;
	width: 65%;
	margin-bottom: 15px;
	padding: 3px;
}


/*
	display: block; 
	float: left; 
	width: 26%; 
	text-align: right;
	margin: 0 10px 0 0; 
	padding-bottom: 15px;
	clear: left;  */

form.ddfm .fmfullblock {
	padding-left: 0px;
	float: left; 
	width: 100%;
	margin-bottom: 13px;
	display: block;
}

form.ddfm .fmhalfblock {
	width: 65%;
	padding-left: 29%;
	margin-bottom: 13px;
	float: left; 
	display: block;
}

form.ddfm input.fmverify {
	float: left; 
	width: 22%;
	margin-bottom: 15px; 
	padding: 3px;
	position: relative;
	display: block;
}

form.ddfm img {
	margin: 1px 0 0 10px; 
    float: left;
}

form.ddfm input.fmfile,
form.ddfm input.fmtext {
	float: left; 
	display: block;
	width: 65%;
	margin-bottom: 15px;  
	padding: 3px;
}

form.ddfm textarea.fmtextwide {
	display: block;
	float: left;
	width: 93%;
	margin-right: 2px;
	margin-bottom: 15px; 
	padding: 3px;
}

form.ddfm .credits {
	text-align: right;
	margin-top: 7px;
	width: 97%;
}

form.ddfm .submit {
	text-align: right;
	clear: both; 
	width: 97%;
}

.ddfmwrap .ddfmerrors {
	display: block; 
	float: left; 
	width: 27%; 
	text-align: right;
	margin: 0 10px 0 0; 
	padding-bottom: 15px;
}

.ddfmwrap .errorlist {
	float: left; 
	display: block;
	width: 65%;
	margin-bottom: 15px;  
	padding: 3px;
	text-align: left;
	font-size: 1.4em;
}

.ddfmwrap .recaptcha {
	width: 100%;
	text-align: right;
	clear: both; 
	height: 120px;
	margin-right: 7px;
	padding-bottom: 10px;
}

.ddfmwrap .recaptcha-inner {
	float: right;
	margin-right: 3px;
}


#contactwrapper {
margin: 0 auto;
width: 640px;
text-align: left;
margin-top: 50px;
}

#contactinnerwrapper {
width: 380px; margin: 0 auto 0 auto; text-align:left; padding-top: 15px;
}
