/*
*
* CSS Document
* default.css
*
* Author    :   Greg Merriman
* Copyright	:   Copyright 2009 (c) Greg Merriman Web Development
* Created   :   Tue 03 Oct 2009
* Modified  :   Thu 07 Nov 2013
*
*/


/* default styles for gregmerriman */


/*---------- [web fonts] ----------*/

/*
Paul Irish: Bulletproof @font-face Syntax
@font-face {
  font-family: 'Graublau Web';
  src: url('GraublauWeb.eot?') format('eot'), url('GraublauWeb.woff') format('woff'), url('GraublauWeb.ttf') format('truetype');
}
*/

@font-face
{
	font-family: Nevis;
	src: url("fonts/nevis.ttf") format('truetype');
}


/*---------- [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: 10px;
}

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.4em;
	line-height: 1.8em;
}

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

hr
{
	display: none;
}

hr.inset
{
    display: block;
    border: 0;
    width: 80%;
    background: url("../images/misc/hr-bg.png") 50% 0 repeat-x;
    margin: 3.2em auto;
}

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
{
	clear: both;
	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
{
}

#header #logo a
{
  float: left;
  display: block;
  height: 150px; width: 66px;
  margin: -36px 447px 0px 447px;
}

#home #header #logo a
{
  background: url("../images/logo/logo-web.png") top center 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 center 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 center;
}

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

#header h1
{
	color: #fff;
	font-family: Nevis, 'Ubuntu', Helvetica, Arial, sans-serif;
	font-size: 2.6em;
	font-style: normal;
	font-weight: normal;
	letter-spacing: 1px;
	text-align: center;
	text-transform: uppercase;
}

#header h1 span.greg
{
	color: #f0f0f0;
}
#header h1 span.merriman
{
	color: #d0d0d0;
}
#header h1 span.development
{
  float: left;
  height: 0px;
  width: 0px;
  text-indent: -9999px;
  overflow: hidden;
}

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

  /*---------- [main_nav styles] ----------*/

  /*#header #main_nav
  {
	float: left;
	margin: -52px 0 0 0;
	width: 100%;
  }

  #header #main_nav ul
  {
    list-style: none;
	margin: 0 auto;
	text-align: center;
	width: 100%;
  }

  #header #main_nav ul li
  {
	color: #d0d0d0;
	font-family: Nevis, 'Ubuntu',  Helvetica, Arial, sans-serif;
	font-size: 1.2em;
	text-transform: uppercase;
	line-height: 80px;
	height: 80px;
  }*/

	#main_nav {
		float: left;
		width: 100%;
		overflow: hidden;
		position: relative;
		margin-top: -48px;
	}

	#main_nav ul {
	   clear: left;
	   float: left;
	   list-style: none;
	   margin: 0px;
	   padding: 0px;
	   position: relative;
	   left: 50%;
	   text-align: center;
	}

	#main_nav ul li {
	   display: block;
	   float: left;
	   list-style: none;
	   margin: 0px;
	   padding: 0px;
	   position: relative;
	   right: 50%;
	   color: #d0d0d0;
	   font-family: Nevis, 'Ubuntu', Helvetica, Arial, sans-serif;
	   font-size: 1.3em;
	   text-transform: uppercase;
	   height: 80px;
	   width: 130px;
	   line-height: 80px;
	}

	#main_nav ul li a {
	   display:block;
	}

	#header #main_nav ul li a
    {
      display: block;
	  color: #b3b3b3;
    }

	#header #main_nav ul li a:hover,
	#header #main_nav ul li a:active
    {
	  color: #fff;
	  background-color: rgba(255, 255, 255, 0.25);
    }

	#header #main_nav ul li a span
	{
		float: left;
		height: 0px;
		width: 0px;
		text-indent: -9999px;
		overflow: hidden;
	}

	#header #main_nav ul li a:after {
		content: " .";
	}

    /*---------- [main_nav background positions ----------*/
    #header #main_nav ul li.about
    {
        margin-right: 140px;
    }
    #header #main_nav ul li.work
    {
	}
	#header #main_nav ul li.blog
    {
	}
    #header #main_nav ul li.contact
    {
        margin-left: 140px;
    }

    /*---------- [main_nav default background positions ----------


    #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
    {
        color: #fff;
        background-color: rgba(255, 255, 255, 0.15);
    }
    #work #header #main_nav ul li.work a
    {
    	color: #fff;
        background-color: rgba(255, 255, 255, 0.15);
    }
    #blog #header #main_nav ul li.blog a
    {
    	color: #fff;
        background-color: rgba(255, 255, 255, 0.15);
    }
    #contact #header #main_nav ul li.contact a
    {
    	color: #fff;
        background-color: rgba(255, 255, 255, 0.15);
    }


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

  /*---------- [intro styles] ----------*/

  #intro
  {
    font-family: Georgia, serif;
    margin: 0 45px;
    padding-top: 48px;
  }

  #intro h3
  {
    font-size: 3.2em;
    letter-spacing: 1px;
    padding-bottom: 6px;
    border-bottom: dotted 2px #c0c0c0;
  }

  #intro p
  {
    color: #454a4c; /*bluey-grey*/
    color: #747c80; /*bluey-grey*/
    font-size: 1.8em;
    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: 32px 0px 3px 0px;
  margin-bottom: 16px;
  border-bottom: dotted 1px #4f4f4f;
}


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

#footer div.inspiration
{
  padding-bottom: 32px;
}

#footer div.inspiration p em
{
  color: #66666c;
  font-style: normal;
}

div.inspiration ul
{
  margin-top: 24px;
  font-size: 1.0em;
}

div.inspiration ul li
{
  float: left;
  display: inline;
  color: #bababf;
  line-height: 17px;
  margin-bottom: 16px;
  width: 20%;
}
div.inspiration ul li a
{
  color: #88888c;
}
div.inspiration ul li a:hover, div.inspiration ul li a:active
{
  color: #f0f0f0;
  border-bottom: dotted 1px #f0f0f0;
}

div.inspiration ul li img
{
  float: left;
  margin-right: 6px;
}


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

div.connected
{
  padding-bottom: 32px;
}

div.connected p
{
}

div.connected ul
{
  margin-top: 16px;
}

div.connected ul li
{
  float: left;
  display: inline;
  margin: 0 0 0 48px;
  text-indent: -9999px;
}

div.connected ul li:first-child
{
  margin-left: 0px;
}

div.connected ul li a
{
  display: block;
  background: url("../images/icons/social.png") 0 0 no-repeat;
  height: 48px; width: 48px;
}

div.connected ul li a.facebook
{
  background-position: 0 -48px;
}
div.connected ul li a.facebook:hover, div.connected ul li a.facebook:active
{
  background-position: 0 0;
}

div.connected ul li a.lastfm
{
  background-position: -48px -48px;
}
div.connected ul li a.lastfm:hover, div.connected ul li a.lastfm:active
{
  background-position: -48px 0;
}

div.connected ul li a.linkedin
{
  background-position: -96px -48px;
}
div.connected ul li a.linkedin:hover, div.connected ul li a.linkedin:active
{
  background-position: -96px 0;
}

div.connected ul li a.twitter
{
  background-position: -144px -48px;
}
div.connected ul li a.twitter:hover, div.connected ul li a.twitter:active
{
  background-position: -144px 0;
}

div.connected ul li a.google
{
  background-position: -192px -48px;
}
div.connected ul li a.google:hover, div.connected ul li a.google:active
{
  background-position: -192px 0;
}


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

#extrainfo
{
  clear: both;
  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;
}
