/* 
*
* CSS Document
* default.css
* 
* Author    :   Greg Merriman
* Copyright	:	Copyright 2009 (c) Greg Merriman Web Development
* Created   :   Tue 03 Oct 2009
* Modified  :   Mon 28 Jun 2010
* 
*/


/* default styles for gregmerriman */


/*---------- [default styles] ----------*/

*
{
	margin: 0;
	padding: 0;
}

body
{
	background: url("../images/body/background.jpg") top left repeat-x;
	background-color: #fff;
	color: #333;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 62.5%; /*resets font-size to approximately 10px - useful for calculating em sizes*/
}

h1, h2, h3, h4, h5
{
	color: #2e3133; /*darker bluey-grey*/
	color: #52585c; /*bluey-grey*/
    font-family: Georgia, serif;
	font-style: italic;
	font-weight: normal;
}

h2
{
	font-size: 2.8em;
	
}

h3
{
	font-size: 2.4em;
}

h4
{
	font-size: 1.6em;
}

h5
{
	font-size: 1.4em;
}

a img
{
	border: none;
}

a, a:link, a:visited
{
	color: #1166bb; /*blue*/
	text-decoration: none;
}

a:hover, a:active
{
	color: #339900; /*green*/
	outline: none;
}

p a, p a:link, p a:visited
{
  font-style: italic;
}

p a:hover, p a:active
{
  border-bottom: dotted 1px #339900; /*green*/
}

a:focus
{
	outline: none;
}

blockquote
{
	font-size: 1.2em;
	font-style: italic;
	line-height: 1.6em;
}

p
{
	font-size: 1.2em;
	line-height: 1.6em;
}

ul
{
	list-style: none;
	font-size: 1.2em;
}

hr
{
	display: none;
}

div.clear
{
	clear: both;
}

div.skip
{
	display: none;
}


/*---------- [main div elements styles] ----------*/

#topbar
{
	background: url("../images/topbar/background.jpg") top left repeat-x;
	height: 36px;
}

#header
{
  background: url("../images/header/background.jpg") top center no-repeat;
	height: 320px; width: 960px;
	margin: 0 auto;
}

#main_content
{
  background: url("../images/main/background.png") top center no-repeat;
  margin: -160px auto 0 auto;
  min-height: 940px;
	width: 1000px;
}

#footer
{
  clear: both;
  background: url("../images/footer/my_dark_texture.jpg"); /*repeat texture*/
  margin-top: 64px;
}


/*---------- [topbar styles] ----------*/



/*---------- [header styles] ----------*/

#header #logo a
{
  float: left;
  display: block;
  height: 32px; width: 216px;
  margin-top: 54px;
}

#home #header #logo a
{
  background: url("../images/logo/logo-web.png") top left no-repeat;
}

#about #header #logo a,
#work #header #logo a,
#contact #header #logo a,
#error #header #logo a
{
  background: url("../images/logo/logo-web-withhome.png") top left no-repeat;
}

#about #header #logo a:hover,
#work #header #logo a:hover,
#contact #header #logo a:hover,
#error #header #logo a:hover
{
  background-position: bottom left;
}

#header #logo a img
{
  display: none;
}

#header h1 span
{
  float: left;
  height: 1px;
	width: 1px;
	text-indent: -9999px;
	overflow: hidden;
}

#header h2 span
{
  float: left;
  height: 1px;
	width: 1px;
	text-indent: -9999px;
	overflow: hidden;
}

  /*---------- [main_nav styles] ----------*/
  
  #header #main_nav
  {
    float: right;
    margin-top: 58px;
    margin-right: 20px;
  }
  
  #header #main_nav ul
  {
    list-style: none;
  }
  
  #header #main_nav ul li
  {
    float: left;
    display: block;
    height: 26px; width: 100px;
    background: url("../images/nav/main-nav.png") 0 0 no-repeat;
    margin-left: 20px;
  }
  
    /*---------- [main_nav background positions ----------*/
    #header #main_nav ul li.about
    {
      background-position: 0 -65px;
    }
    #header #main_nav ul li.work
    {
      background-position: -100px -65px;
    }	
    #header #main_nav ul li.contact
    {
      background-position: -200px -65px;
    }
    
    /*---------- [main_nav default background positions ----------*/
    #header #main_nav ul li a
    {
      display: block;
      height: 26px; width: 100px;
      text-indent: -9999px;
      background: url("../images/nav/main-nav.png") 0 0 no-repeat;
    }
    
    #header #main_nav ul li.about a
    {
      background-position: 0 -65px;
    }
    #header #main_nav ul li.work a
    {
      background-position: -100px -65px;
    }
    #header #main_nav ul li.contact a
    {
      background-position: -200px -65px;
    }
    
    /*---------- [main_nav hover background positions ----------*/
    #header #main_nav ul li.about a:hover
    {
      background-position: 0 0;
    }
    #header #main_nav ul li.work a:hover
    {
      background-position: -100px 0;
    }
    #header #main_nav ul li.contact a:hover
    {
      background-position: -200px 0;
    }
    
    /*---------- [main_nav current page (active) background positions ----------*/
    #about #header #main_nav ul li.about a
    {
    	background-position: 0 -26px;
    	height: 40px;
    }
    #work #header #main_nav ul li.work a
    {
    	background-position: -100px -26px;
    	height: 40px;
    }
    #contact #header #main_nav ul li.contact a
    {
    	background-position: -200px -26px;
    	height: 40px;
    }


/*---------- [main_content styles] ----------*/

  /*---------- [intro styles] ----------*/
  
  #intro
  {
    font-family: Georgia, serif;
    margin: 0 45px 0 45px;
    padding-top: 48px;
  }
  
  #intro h3
  {
    font-size: 2.8em;
    letter-spacing: 1px;
  }
  
  #intro p
  {
    color: #454a4c; /*bluey-grey*/
    color: #747c80; /*bluey-grey*/
    font-size: 1.6em;
    font-style: italic;
    line-height: 1.8em;
    margin-top: 16px;
  }
  
  #intro p span
  {
    color: #2e3133; /*darker bluey-grey*/
    color: #5d6366; /*darker bluey-grey*/
    font-weight: bolder;
  }

  #intro del
  {
    color: #949ca0;
  }

  #intro ins
  {
    text-decoration: none;
    border: none;
  }
  
  /*---------- [other main_content styles] ----------*/
  
  #main_content p.image-caption
  {
    font-family: Georgia, serif;
    font-size: 1.1em;
    font-style: italic;
    text-align: center;
  }
  
  #main_content #primary
  {
    float: left;
    width: 590px;
    margin: 16px 0 0 40px;
  }
  
  #main_content #primary h4
  {
    font-size: 2.1em;
    margin: 48px 0 24px 0;
  }
  
  #main_content #primary h4 span
  {
    color: #123042; /*dark blue*/
  }
  
  #main_content #primary p
  {
    margin-bottom: 16px;
  }
  
  #main_content #secondary
  {
    color: #8a9399; /*blueish-grey*/
    float: right;
    width: 300px;
    margin: 48px 40px 0 0;
  }
  
  #main_content #secondary div.secondary-section
  {
    margin: 40px 4px 0 12px;
  }
  
  #main_content #secondary div.secondary-section h5
  {
    color: #8a9399; /*blueish-grey*/
    margin-bottom: 12px;
  }
  
  #main_content #secondary div.secondary-section p
  {
    margin-bottom: 24px;
  }
  
  #main_content #secondary ul#featuredwork
  {
  }
  
  #main_content #secondary ul#featuredwork li
  {
    clear: both;
    margin-bottom: 24px;
  }
  
  #main_content #secondary ul#featuredwork li a
  {
    color: #8a9399; /*blueish-grey*/
  }
  #main_content #secondary ul#featuredwork li a:hover,
  #main_content #secondary ul#featuredwork li a:active
  {
    color: #339900; /*green*/
  }
  
  #main_content #secondary ul#featuredwork img
  {
    float: left;
    background-color: #d9d9d9;
    border: solid 1px #a6a6a6;
    padding: 2px;
    margin-right: 8px;
  }
  
  #main_content #secondary ul#featuredwork a:hover img ,
  #main_content #secondary ul#featuredwork a:hover img 
  {
    background-color: #fff;
    border: solid 1px #339900; /*green*/
  }
  
  #main_content #secondary #twitter_div p
  {
    clear: both;
    padding-top: 12px;
  }
  
  #main_content #secondary div.secondary-section p.magicbox
  {
  	font-size: 1.1em;
  }
  
  #main_content #secondary div.secondary-section div.testimonial blockquote
  {
    font-family: Georgia, serif;
  	font-size: 1.1em;
  }
  
  #main_content #secondary div.secondary-section div.testimonial blockquote span
  {   
    color: #ccc;
  	font-size: 4em;
  	font-family: helvetica, arial, sans-serif;
  	vertical-align: bottom;
  }
  
  #main_content #secondary div.secondary-section div.testimonial p.quotefrom
  {
  	clear: left;
    font-family: helvetica, arial, sans-serif;
  	font-size: 1.1em;
  	text-align: right;
  }


/*---------- [popup-links styles] ----------*/

#popup-links
{
  clear: both;
  width: 960px;
  margin: 64px auto 0 auto;
}


#back-to-top
{
  float: right;
  margin: 0;
}

#back-to-top a
{
  display: block;
  float: right;
  background: url("../images/buttons/back-to-top.jpg") 0 24px no-repeat;
  height: 36px; width: 180px;
  text-indent: -9999px;
}

#back-to-top a:hover, #back-to-top a:active
{
  background-position: 0 6px;
}


/*---------- [footer styles] ----------*/

#about #footer,
#work #footer,
#contact #footer,
#error #footer
{
  margin-top: 0;
}

#contain_footer
{
  color: #939399;
  background: url("../images/footer/gradient-overlay.png") top center no-repeat;
  width: 960px;
  margin: 0 auto;
}

#footer h5
{
  color: #bababf;
  font-size: 1.6em;
  padding-top: 32px;
  margin-bottom: 16px;
}


/*----------[extra nfo content]----------*/

#extrainfo
{
  clear: both;
  border-top: dotted 1px #7e7e82; /*grey-ish*/
  padding-bottom: 16px;
}

#extrainfo ul#social
{
  margin-top: 16px;
}

#extrainfo ul#footernav
{
	margin-bottom: 16px;
}

#extrainfo ul#social,
#extrainfo ul#footernav
{
  clear: both;
  float: right;
}

#extrainfo ul#social li,
#extrainfo ul#footernav li
{
  float: left;
  display: inline;
  font-size: 1.1em;
  line-height: 2.0em;
}

#extrainfo a,
#extrainfo a
{
  color: #707070;
}

#extrainfo a:hover, #extrainfo a:active
{
  color: #4786b3; /*light-blue*/
  border-bottom: dotted 1px #4786b3; /*light-blue*/
}

#extrainfo p
{
	clear: both;
	color: #707070;
	font-size: 1.1em;
	text-align: right;
}

#extrainfo p.valid
{
	margin-top: 16px;
}
