/*------------------------------------------------------------------
[Master Stylesheet]

Project:              Springmile
Version:              1.0
Last change:       05/05/08
Assigned to:       Diego Lago (dl)
Primary use:       Portfolio website

[Table of contents]

01. Meyer's Reset
02. Typography
03. Layout (sticky footer, main elements margin and columns)
04. Header (logo and tagline)
05. Accordion
06. Portfolio
07. Background images
08. Contrast
09. Lightbox
10. Footer
-------------------------------------------------------------------*/

/*------------------------------------------------------------------
[01. Meyer's Reset]
*/
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; }
/* 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; }

/*------------------------------------------------------------------
[02. Typography]
*/
body {font-size:75%;color:#555;background:transparent;font-family:/*"Helvetica Neue", Helvetica,*/ Arial, sans-serif;}
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;font-family: Helvetica, Arial, sans-serif;}
h1 {font-size:3em;line-height:1;margin-bottom:0.5em;}
h2 {font-size:2em;margin-bottom:0.75em;}
h3 {font-size:1.5em;line-height:1;margin-bottom:1em;}
h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;height:1.25em;}
h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
h6 {font-size:1em;font-weight:bold;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
p {margin:0 0 1.5em;}
p img {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
a:focus, a:hover {color:#000;}
a {color:#009;text-decoration:underline;}
blockquote {margin:1.5em;color:#666;font-style:italic;}
strong {font-weight:bold;}
em, dfn {font-style:italic;}
dfn {font-weight:bold;}
sup, sub {line-height:0;}
abbr, acronym {border-bottom:1px dotted #666;}
address {margin:0 0 1.5em;font-style:italic;}
del {color:#666;}
pre, code {margin:1.5em 0;white-space:pre;}
pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
li ul, li ol {margin:0 1.5em;}
ul, ol {margin:0 1.5em 1.5em 1.5em;}
ul {list-style-type:disc;}
ol {list-style-type:decimal;}
dl {margin:0 0 1.5em 0;}
dl dt {font-weight:bold;}
dd {margin-left:1.5em;}
table {margin-bottom:1.4em;width:100%;}
th {font-weight:bold;background:#C3D9FF;}
th, td {padding:4px 10px 4px 5px;}
tr.even td {background:#E5ECF9;}
tfoot {font-style:italic;}
caption {background:#eee;}
.small {font-size:.8em;margin-bottom:1.875em;line-height:1.875em;}
.large {font-size:1.2em;line-height:1.5em;margin-bottom:1.25em;}
.hide {display:none;}
.quiet {color:#666;}
.loud {color:#000;}
.highlight {background:#ff0;}
.added {background:#060;color:#fff;}
.removed {background:#900;color:#fff;}
.first {margin-left:0;padding-left:0;}
.last {margin-right:0;padding-right:0;}
.top {margin-top:0;padding-top:0;}
.bottom {margin-bottom:0;padding-bottom:0;}

/*------------------------------------------------------------------
[03. Layout]
*/
/* Sticky footer */
html, body, .container { height: 100%; }
body > .container { height: auto; min-height: 100%; }
#footer {
 clear: both;
 position: relative;
 z-index: 10;
 height: 3em;
 margin: -3em 34px 0;
}
#accordion { padding-bottom: 3em; }
/* Sticky footer end */

#logo, #tagline, h2.title a, .section .column {
  margin: 0 34px;
  /*clear: both;*/
}
.column {
  width: 510px;
  border-bottom: 1px solid #e5e5e5;
  /*float: left;
    display: inline;*/
    /*font-size: 150%;
    line-height: 1.5em;
    width: 70%;*/
}

/*------------------------------------------------------------------
[04. Header]
*/
#logo {
  color: #C5C5C5;
  font-weight: bold; 
  letter-spacing: -0.03em; 
  font-size: 2.5em;
  padding-top: 26px;
}
#tagline {
  color: #999;
}

/*------------------------------------------------------------------
[05. Accordion]
*/
#accordion {
  margin-top: 98px/*110px*/;
}
#accordion h2 {
  margin: 0;
  font-weight: bold; 
  letter-spacing: -0.05em; 
  font-size: 4em;
}
#accordion h2 a {
  text-decoration: none;
  height: 0.9em;
  line-height: 0.9em;
  width: 3.5em;
  display: inline; /* special treatment for the IE family */
  /*border-left: 17px solid transparent;*/
}
/* bypass all IE's please */
html>/**/body #accordion h2 a  {
  display: block;
}
#accordion h2 a:hover {
  /*border-left: 17px solid #ececec;*/
}
#portfolio h2 a { color: #C0D743; }
#about h2 a { color: #3DD1EC; }
#blog h2 a { color: #E9B822; }
#contact h2 a { color: #F73DA2; }

.section {
  margin: 1.5em 0 1em;
  line-height: 1.5em;
}

/*------------------------------------------------------------------
[06. Portfolio]
*/
#portfolio ul {
  margin-left:34px;
  list-style: none;
}
#portfolio ul li {
  display: inline;
}
#portfolio ul li a img {
  margin: 0 7px 6px 0;
}

/*------------------------------------------------------------------
[07. Background images]
*/
#bg-gallery {
  list-style: none;
  margin: 0;
  padding: 0.5em;
  position: absolute;
  top: 0;
  right: 0;
  padding-right: 1em;
  z-index: 100;
}
#bg-gallery li {
  display: inline;
  float: left;
  color: #fff;
}
#bg-gallery li a {
  color: #C0D743;
}
#bg-gallery li a:hover {
  text-decoration: none;
}
#bg-gallery #no-bg-images a { 
  background: transparent url(../img/bg-dot-pink.gif) no-repeat 0 50%; 
  padding-left: 16px; 
  color: #F73DA2; 
}
#bg-gallery #bg-images a { 
  background: transparent url(../img/bg-dot-green.gif) no-repeat 0 50%; 
  padding-left: 16px;
}
#bg-gallery #bg-images, #bg-gallery #only-white { display: none; }

/*------------------------------------------------------------------
[08. Contrast]
*/
body.contrast #logo, body.contrast #tagline, body.contrast #footer {
  color: #f6f6f6;
}
body.contrast #bg-gallery  {
  background: #212223;
}
body.contrast #portfolio ul {
  margin-bottom: 1em;
}
body.contrast .section {
  color: #fff;
  /*background: #212223;*/
  background: transparent url(../img/bg-transparency.png) repeat 0 0; 
  padding: 2em 0 0.5em;
  max-width: 1280px;
  width: 100%; /* crazy IE6 flicks bg color otherwise, wannabe IE7 is left with no margin-left otherwise */
}
body.contrast .section .column {
  border: none; 
  /*background: #212223;*/background: transparent;
}
* html body.contrast .section, * html body.contrast .section .column { /* IE6 doesn't deserve transparency */
  background: #212223;
}

/*------------------------------------------------------------------
[09. Lightbox]
*/
#lightbox {
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 100;
  text-align: center;
  line-height: 0;
}
#lightbox a img { border: none; }
#outerImageContainer {
  position: relative;
  background-color: #fff;
  width: 250px;
  height: 250px;
  margin: 0 auto;
}
#imageContainer {
  padding: 10px;
}
#loading {
  position: absolute;
  top: 40%;
  left: 0%;
  height: 25%;
  width: 100%;
  text-align: center;
  line-height: 0;
}
#hoverNav {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 10;
}
#imageContainer>#hoverNav { left: 0; }
#hoverNav a { outline: none; }
#prevLink, #nextLink {
  width: 49%;
  height: 100%;
  background: transparent url(../img/blank.gif) no-repeat; /* Trick IE into showing hover */
  display: block;
}
#prevLink { left: 0; float: left; }
#nextLink { right: 0; float: right; }
#prevLink:hover, #prevLink:visited:hover { background: url(../img/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(../img/nextlabel.gif) right 15% no-repeat; }
#imageDataContainer {
  font: 1em Arial, sans-serif;
  background-color: #fff;
  margin: 0 auto;
  line-height: 1.4em;
  overflow: auto;
  width: 100%;
  padding-bottom: 0.7em;
}
#imageData {	padding:0 10px; color: #666; }
#imageData #imageDetails { width: 70%; float: left; text-align: left; }
#imageData #numberDisplay { display: block; clear: left; padding-bottom: 1.0em; }
#imageData #bottomNavClose { width: 66px; float: right; margin: 1.0em;}
#overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 90;
  width: 100%;
  height: 500px;
  background-color: #000;
}
/* * * * * V 0.3 * * * * * /
/* html,body thanks to Torben  - http://blog.schreiter.info/ */
html, body {
  height:100%;
  min-height:100%;
}

/*------------------------------------------------------------------
[10. Footer]
*/
#footer, #footer a { color: #BCBCBC; }