/*
Theme Name: Stanford Sign and Awning
Theme URI: http://wordpress.org/
Description: Wordpress theme for <a href="http://stansign.com/">Stanford Sign and Awning</a>.
Version: 1.0

*/

* {
  margin: 0;
  padding: 0;
}

body{
  background: #e4e4e4 url(/_img/bg_body.gif) repeat-x;
  font-family: Arial, Helvetica, Verdana, Tahoma, sans-serif;
  line-height: 1;
}

hr{
  display: none;
}

#skip{
  position: absolute;
  left: -9999px;
}

a{
  overflow: hidden;
}

/* =container
---------------------------------------------------------------------
*/

#container{
  width: 900px;
  margin: 0 auto;
  padding-bottom: 20px;
  background: url(/_img/bg_container.gif) repeat-y;
}

#container:after{
  content: "."; 
  display: block; 
  clear: both; 
  height: 0; 
  visibility: hidden;
}

body#home #container{
  padding-bottom: 0;
}

/* =containerInner
---------------------------------------------------------------------
*/

#containerInner{
  position: relative;
  float: left;
  width: 900px;
  background: url(/_img/bg_containerInner.gif) no-repeat;
}

/* =header
---------------------------------------------------------------------
*/

#header{
  /*position: relative;*/
  /*padding-bottom: 300px;*/
  float: left;
  width: 205px;
  margin: 28px 0 0 6px;
}

#header h1{
  width: 205px;
  height: 165px;
  background: url(/_img/bg_h1.png) no-repeat;
  text-indent: -9999px;
}

#header h1 a{
  display: block;
  width: 205px;
  height: 165px;
}

#header #member{
  display: none;
  position: absolute;
  bottom: 0;
  width: 205px;
  padding: 21px 0;
  background: url(/_img/bg_member.gif) no-repeat center top;
  font-size: 12px;
  color: #9e9e9e;
}

body#home #header #member{
  /*display: block;*/
}

#header #member p{
  text-align: center;
}

#header #member img{
  display: block;
  margin: 23px auto 10px;
}

/* =nav
---------------------------------------------------------------------
*/

#nav{
  padding: 12px 20px 0 38px;
  background: url(/_img/bg_nav.gif) no-repeat center top;
}

#nav li{
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
  list-style: none;
  line-height: 1.25;
}

#nav li a{
  color: #5c5b5b;
  text-decoration: none;
}

#nav li ul{
  margin: 16px 0 14px;
}

#nav li li{
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid #e1e1e1;
  font-size: 12px;
}

#nav li li a{
  color: #a7a6a6;
}

#nav li li a:hover{
  color: #5c5b5b;
}

/* =content
---------------------------------------------------------------------
*/

#content{
  float: right;
  width: 662px;
  margin: 28px 7px 0 0;
  padding: 34px 0 0;
  background: url(/_img/bg_content.gif) repeat-x;
}

body#home #content{
  padding-bottom: 145px;
}

#content h2{
  padding: 16px 54px 15px;
  border: 1px solid #f2f2f2;
  border-bottom: 0;
  background: #dd6858 url(/_img/bg_h2.gif) repeat-x;
  color: #ffffff;
  font-size: 18px;
}

#content h2 span{
  margin: 0 5px;
  font-weight: normal;
}

#content h3,
#content h4,
#content h5,
#content h6{
  color: #5c5b5b;
}

#content p,
#content li{
  margin-bottom: 1.5em;
  color: #5c5b5b;
  font-size: 12px;
  line-height: 1.5;
}

#content ul,
#content ol{
  margin: 0 0 1em 3em;
}

#content ul#byline{
  display: inline; /* IE6 double margin float bug hack */
  float: left;
  margin-bottom: 10px;
  list-style: none;
}

#content li{
  margin: 0;
}

#content blockquote{
  margin-left: 3em;
}

#content hr{
  display: block;
  margin-bottom: 1em;
}

#content a{
  color: #ce514c;
}

#content a:hover{
  text-decoration: none;
}

#content img,
#content object#flashbox{
  display: block;
  margin: 1px;
  margin-bottom: 0;
/*  border: 1px solid red;
  border-top: 1px solid #fff;
  border-bottom: 0;*/
}

#content #text{
  clear: both;
  padding: 22px 54px;
  background: url(/_img/bg_content_text.gif) repeat-x;
}

#content #text img{
  /*display: none;*/
}

#content #fortune{
  position: absolute;
  bottom: -25px;
  /*float: left;*/
  height: 126px;
  width: 662px;
  padding-top: 18px;
  background: url(/_img/bg_fortune.gif) repeat-x;
}

body#ourWork #content #fortune{
  position: static;
  height: 39px;
}

#content #fortune p{
  color: #5c5b5b;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
}

#content #fortune img{
  float: left;
  margin: 15px 30px 0;
  border: 0;
}

#content .gallery{
  margin: 0 !important;
}

#content .gallery br{
  height: 0;
  line-height: 0;
}

#content .gallery .gallery-item{
  float: none !important;
  margin-top: 0 !important;
  text-align: left !important;
  width: auto !important;
}

/* ng-gallery */

.ngg-galleryoverview{
  width: 526px !important;
  margin-bottom: 15px;
  padding: 18px 0 0 35px;
  background: url(/_img/bg_ngg-galleryoverview.gif) no-repeat;
}

#content .ngg-galleryoverview p.gallery-desc{
  width: 485px;
  margin: 0 0 14px 1px;
  padding-bottom: 14px;
  font-size: 13px;
  background: url(/_img/bg_gallery-desc.gif) repeat-x left bottom;
}

.ngg-gallery-thumbnail{
  padding: 0 8px 16px 0;
}

.ngg-clear{
  width: 561px;
  height: 13px;
  margin: 0 0 0 -35px;
  background: url(/_img/bg_ngg-clear.gif) no-repeat;
}

.ngg-navigation{
  width: 561px;
  margin: 0 0 0 -35px;
  padding-bottom: 15px;
  background: url(/_img/bg_ngg-clear.gif) no-repeat left bottom;
  color: #5c5b5b;
}

/* =footer
---------------------------------------------------------------------
*/

#footer{
  clear: both;
  width: 900px;
  margin: 0 auto;
  padding: 25px 0;
  background: url(/_img/bg_footer.gif) no-repeat;
  text-align: center;
}

#footer ul{
  display: inline;
}

#footer p,
#footer li{
  display: inline;
  color: #9e9e9e;
  font-size: 11px;
}

#footer a{
	color: #9e9e9e;
	text-decoration: none;
}

#footer a:hover{
	text-decoration: underline;
}
