/* styles for jonathanbrain.com */

/* highlight colour is currently #8eb6e9 */
/* use global replace to change highlight colour across the site */
/* logo and quotation graphics must also be changed */


/* Reset CSS - thanks, Eric */
/* v1.0 | 20080212 */

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

/* remember to define focus styles! */
:focus {
	outline: 0;
}

/* remember to highlight inserts somehow! */
ins {
	text-decoration: none;
}
del {
	text-decoration: line-through;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
	border-collapse: collapse;
	border-spacing: 0;
}

/* my own reset */

input, textarea {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  }

/* end of reset */


/* basics */

body {
  background-color: #f4f4f4;
  background-image: url(../images/bg_body.gif);
  background-position: center;
  background-repeat: repeat-y;
  color: #898787;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75em;
  }

h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  }

p,
blockquote,
li {
  line-height: 1.25em;
  lixne-height: 1.4em;
  }

a,
a:link,
a:visited,
a:active {
  color: #8eb6e9;
  text-decoration: none;
  }
  
a:hover {
  color: #fff;
  background-color: #8eb6e9;
  }

.cleared {
  clear: both;
  }
  
input, textarea {
  padding: 4px;
  border: 1px solid #d7d7d7;
  font-family: Arial, Helvetica, sans-serif;
  color: #898787;
  }
  
li {
  background-image: url(../images/arrow.gif);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 12px;
  }

#container {
  width: 888px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px 0 24px;
  }
  
#pageheader {
  height: 90px;
  position: relative;
  }
  
h1 a {
  display: block;
  background-image: url(../images/logo_jonathanbrain.gif);
  background-position: 0 0;
  background-repeat: no-repeat;
  width: 256px;
  height: 45px;
  position: absolute;
  top: 25px;
  left: 12px;
  }
  
h1 span {
  display: none;
  }
  
p#subheader {
  display: block;
  background-image: url(../images/bg_subheader.gif);
  background-position: 0 0;
  background-repeat: no-repeat;
  width: 154px;
  height: 31px;
  position: absolute;
  top: 32px;
  left: 292px;
  }
  
p#subheader span {
  display: none;
  }
  
#topnav {
  float: right;
  padding: 0 12px 5px 0;
  margin-top: 35px;
  font-size: 1em;
  }
  
#topnav li {
  float: left;
  background: none;
  padding: 0;
  }
  
#topnav a {
  padding: 6px 13px 5px 13px;
  background-color: #fff;
  color: #a7a5a5;
  text-decoration: none;
  display: block;
  border-left: 2px solid #fff;
  }
  
#topnav a:hover {
  background-color: #ececec;
  }
  
#topnav li.navon a,
#topnav li.navon a:hover {
  background-color: #8eb6e9;
  color: #fff;
  }
  
#mainimage {
  background-color: #f4f4f4;
  padding: 11px;
  border: 1px solid #ececec;
  margin-bottom: 25px;
  display: block;
  }
  
#mainimage:hover {
  border: 1px solid #8eb6e9;
  }

#maincolumn {
  width: 584px;
  float: left;
  }
  
#maincolumn h2 {
  color: #8eb6e9;
  font-family: Georgia, serif;
  font-size: 1.5em;
  text-transform: uppercase;
  margin: 0 0 28px 12px;
  width: 560px;
  }
  
#maincolumn h2.overline {
  border-top: 1px solid #ececec;
  padding-top: 24px;
  }
    
p.main {
  width: 560px;
  margin: 0 0 15px 12px;
  }
  
p.last {
  margin-bottom: 36px;
  }
  
a.button,
a.button:link,
a.button:visited,
a.button:active {
  padding: 7px 0 6px 0;
  background-color: #f4f4f4;
  color: #898787;
  text-decoration: none;
  display: block;
  clear: both;
  foxnt-size: 1.15em;
  width: 560px;
  text-align: center;
  margin: 0 0 31px 12px;
  }
  
a.button:hover {
  background-color: #8eb6e9;
  color: #fff;
  }

#sidebar {
  width: 280px;
  float: left;
  border-left: 24px solid #fff;
  color: #a7a5a5;
  }
  
#sidebarempty {
  width: 256px;
  float: left;
  margin-left: 36px;
  border-top: 1px solid #ececec;
  }
  
#sidebar .greybox,
#sidebar .greyboxfixed {
  background-color: #f4f4f4;
  border: 1px solid #ececec;
  padding: 11px;
  margin-bottom: 24px;
  position: relative;
  }
  
#sidebar .greyboxfixed {
  height: 200px;
  }
  
#sidebar .side {
  padding: 12px;
  margin-bottom: 24px;
  position: relative;
  }
  
#sidebar h2 {
  font-family: Georgia, serif;
  text-transform: uppercase;
  margin: -1px 0 9px 0;
  position: relative;
  color: #898787;
  }
  
#sidebar h3 {
  line-height: 1.25em;
  color: #898787;
   }
 
#sidebar p {
  margin-bottom: 15px;
  }
  
#sidebar p.last {
  margin-bottom: 8px;
  }
  
#sidebar span.description {
  font-style: italic;
  }
  
#sidebar span.location {
  font-style: italic;
  color: #c8c8c8;
  }
    
#sidebar .link {
  font-style: italic;
  }
  
#sidebar #flickrbadge {
  width: 256px;
  position: absolute;
  bottom: 11px;
  left: 11px;
  }
  
#sidebar #flickrbadge noscript {
  height: 81px;
  display: block;
  }
  
#sidebar blockquote {
  padding-top: 4px;
  color: #a7a5a5;
  margin-bottom: 15px;
  }
 
#sidebar blockquote img {
  float: left;
  position: relative;
  margin: -4px 8px 8px 0;
  }
  
#sidebar p.quotefrom {
  text-align: right;
  color: #a7a5a5;
  font-style: italic;
  padding-bottom: 12px;
  }
  
#sidebar p.quotelast {
  padding-bottom: 0;
  margin-bottom: 8px;
  }
  
#sidebar p.quotefrom a {
  font-style: normal;
  }
  
#sidebar p.quotefrom span {
  font-style: normal;
  color: #898787;
  }
  
#sidebar p.caption {
  margin: 12px 0 0 0;
  }
     
/* footer */

#footer {
  width: 864px;
  margin-left: 12px;
  border-top: 1px solid #ececec;
  clear: both;
  }
  
#footer p {
  width: 100%;
  color: #c8c8c8;
  text-align: center;
  padding: 8px 0 12px 0;
  }
   
/* portfolio items */
  
.portfolioitem {
  width: 100%;
  clear: both;
  position: relative;
  margin-bottom: 24px;
  float: left; /* float (nearly) everything */
  }
  
.portfolioheader {
  padding-bottom: 0px;
  width: 560px;
  margin: 0 12px 0 12px;
  }
  
.portfolioheader h3 {
  font-size: 1.4em;
  font-weight: normal;
  margin-bottom: 1px;
  }

.portfolioheader p {
  color: #c8c8c8;
  font-size: 1.2em;
  width: 100%;
  display: block;
  position: relative;
  }
  
.portfolioitem a.siteimage {
  display: block;
  background-color: #fff;
  padding: 11px;
  border: 1px solid #ececec;
  margin: 9px 0 14px 0;
  position: relative;
  width: 560px;
  }
  
.portfolioitem a.siteimage:hover {
  border: 1px solid #8eb6e9;
  }
  
.portfoliobody {
  margin: 0 12px 61px 12px;
  }
  
.portfoliobody h4 {
  font-family: Georgia, serif;
  text-transform: uppercase;
  position: relative;
  color: #c8c8c8;
  margin-bottom: 1px;
  }
  
.portfoliobody p {
  margin-bottom: 15px;
  }
  
.portfoliobody .left {
  float: left;
  width: 256px;
  }
  
.portfoliobody .right {
  float: right;
  width: 256px;
  }
  
/* flickr images */

.flickr_badge_image {
  display: inline;
  }
  
.flickr_badge_image img {
  padding: 1px;
  border: 1px solid #ececec;
  margin-right: 9px;
  }
  
#flickr_badge_image3 img {
  margin-right: 0;
  }
  
.flickr_badge_image a:hover {
  background-color: transparent;
  }
  
.flickr_badge_image a:hover img {
  border: 1px solid #8eb6e9;
  }
  
/* contact form */

form#contact {
  width: 560px;
  margin: 0px 0 36px 12px;
  paddixng-top: 12px;
  }
  
form#contact .row {
  clear: both;
  width: 100%;
  }
  
form#contact label {
  width: 128px;
  float: left;
  margin-top: 6px;
  }
  
form#contact input {
  width: 420px;
  float: right;
  margin-bottom: 12px;
  }
  
form#contact textarea {
  width: 420px;
  height: 100px;
  float: right;
  margin-bottom: 12px;
  }
  
form#contact input.button {
  width: auto;
  float: left;
  border: 0;
  margin-left: 130px;
  margin-bottom: 36px;
  padding: 7px 6px 6px 6px;
  background-color: #f4f4f4;
  color: #898787;
  cursor: pointer;
  }
  
form#contact input.button:hover,
form#contact input.button_over {
  background-color: #8eb6e9;
  color: #fff;
  }
  
form#contact input:focus,
form#contact textarea:focus {
  border: 1px solid #8eb6e9;
  }
  
form#contact .messagethanks {
  margin-bottom: 24px;
  color: #8eb6e9;
  }
  
form#contact .error {
  margin-bottom: 15px;
  color: #fff;
  background-color: #a7a5a5;
  padding: 12px 12px 6px 12px;
  }
  
form#contact .error p,
form#contact .error ul {
  margin-bottom: 6px;
  }
  
form#contact .error a {
  color: #fff;
  text-decoration: underline;
  }
  
form#contact .mandatory,
form#contact sup {
  font-size: 0.9em;
  color: #c8c8c8;
  }
  
form#contact .mandatory {
  float: right;
  margin-top: 8px;
  }