/*
Theme Name: JP Harvey Engineering Solutions
Theme URI: http://jphes.com/
Description: Custom theme for jphes.com
Author: Adrienne Vaughn
Version: 1
*/

address,article,blockquote,body,caption,col,colgroup,dd,dialog,div,dl,dt,fieldset,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,hr,nav,legend,li,menu,ol,p,pre,section,table,tbody,td,tfoot,th,thead,tr,ul,a,abbr,b,bdo,br,cite,code,del,dfn,em,i,ins,kbd,label,mark,meter,progress,q,rp,rt,ruby,samp,small,span,strong,sub,sup,time,var,audio,canvas,embed,figure,figcapture,iframe,img,math,object,svg,video {
	border:          0;
	margin:          0;
	outline:         0;
	padding:         0;
	border-spacing:  0;
	list-style:      none;
	color:           inherit;
	font-size:       inherit;
	font-style:      inherit;
	text-align:      inherit;
	font-weight:     inherit;
	font-family:     inherit;
	line-height:     inherit;
	text-decoration: inherit;
	vertical-align:  baseline;
	border-collapse: separate;
	background:      transparent; }
article,dialog,figure,figcapture,footer,header,hgroup,legend,nav,section { display: block; }

html { background: url( './includes/images/bgpatt-grunge.jpg' ) #928362; color: #333; font: 100%/1.5em 'helvetica neue', helvetica, arial, sans-serif; }
body { background: #928362; background: url( './includes/images/bgpatt-grunge.jpg' ) #928362;}
a { color: #807959; font-weight: bold; transition: all .1s ease-in-out; text-decoration: none; -moz-transition: all .1s ease-in-out; -webkit-transition: all .1s ease-in-out; }
a:hover                 { color: #528fcc; }
abbr                    { border-bottom: 1px dotted; cursor: help; }
b,dfn,strong            { font-weight: bolder; }
blockquote              { color: #665c3d; font: 100%/1.5em palatino, 'palatino linotype', 'palatino lt std', serif; margin: 0 2.5em; }
address,cite,em,i,var   { font-style: italic; }
code,kbd,pre,var,samp   { font-family: monaco, consolas, courier, monospace; }
del                     { text-decoration: line-through; }
ins                     { text-decoration: underline; }
mark                    { text-decoration: overline; }
pre                     { margin: 0 0 1.5em; white-space: pre-wrap; }
p                       { margin: 0 0 1.5em; }
small                   { font-size: smaller; }
sub                     { vertical-align: sub; }
sup                     { vertical-align: super; }
sub,sup                 { font-size: smaller; line-height: 0; }
h1                      { font-family: 'Droid Serif', 'palatino linotype', 'palatino lt std', serif; font-size: 2.0em; margin: 0 0 .5em; }
h2                      { font-family: 'Droid Serif', 'palatino linotype', 'palatino lt std', serif; font-size: 1.9em; margin: 0 0 .5em; }
h3                      { font-family: 'Droid Serif', 'palatino linotype', 'palatino lt std', serif; font-size: 1.7em; margin: 0 0 .5em; }
h4                      { font-family: 'Droid Serif', 'palatino linotype', 'palatino lt std', serif; font-size: 1.5em; margin: 0 0 .5em; }
h5                      { font-family: 'Droid Serif', 'palatino linotype', 'palatino lt std', serif; font-size: 1.3em; margin: 0 0 .5em; }
h6                      { font-family: 'Droid Serif', 'palatino linotype', 'palatino lt std', serif;  font-size: 1.1em; margin: 0 0 .5em; }
hr                      { clear: both; }
ol li                   { list-style: decimal; }
ul li                   { list-style: disc; }
menu li                 { list-style: circle; }
ol,ul,menu              { margin: 0 0 1.5em 2.5em; }
ul ul,ul ol,ol ol,ol ul { margin: 0 0 0 2.5em; }
dl,dialog               { margin: 0 0 1.5em; }
dt                      { font-weight: bolder; }

/* Layout Stuff */

#wrap {background: #fff; margin: auto; position: relative; width: 790px; box-shadow: 0px 6px 6px rgba( 0, 0, 0, .25 ); -moz-box-shadow: 0 4px 6px rgba( 0, 0, 0, .25 ); -webkit-box-shadow: 0 4px 6px rgba( 0, 0, 0, .25);}
#header {background: url( './includes/images/designlayout.gif' );}
#header img {margin: 1em 0 .8em .5em;}
#content {background: #FFF url('./includes/images/designlayout_03.gif') no-repeat right top; margin: 0 1em 1em 1em; padding: 1em 0 0 0;}
#footer {margin: 1em;}
#content .page-title, .entry-title {margin: 0 0 .3em 0;}
.clear { clear:both;} 

/* Content */

#content p {margin: .6em;}
#content .navigation {font-size: .8em;}
#content .navigation a { color: #714F0F;}
#content .nav-previous {float: left; margin: 0 0 .5em 0;}
#content .nav-next {float: right; margin: 0 0 .5em 0;}
#content hr {clear: both;}
#content .entry-content img {margin: .2em;}

/* Comments */

#comments h3, p {margin: 0 0 .2em 0;}
#comments p {font-size: .9em;}
#comments li {list-style: none;}
#comments ol { margin: 0; }
#comments .form-allowed-tags {display: none; font-size: .7em; margin: 0;}
#comments .comment-meta {font-size: .6em; margin: 0px; padding: 0px; }
#comments .odd  {display: block; margin: .4em; padding: .4em; background: #e0ded1; border: 1px #a6a497 solid;}
#comments .even {display: block; margin: .4em; padding: .4em; background: #d0cdbd; border: 1px #97958a solid;}
#comments .comment-form-comment label {display: none;}


/* Archive Pages */
#content h2.entry-title {margin: 0;}
#content .entry-meta {font-size: .7em; margin: 0px; padding: 0px; }
#content .entry-summary p {margin: 0px; padding: 0px; }
#content .entry-utility {font-size: .7em; margin: 0 0 1em 0; padding: 0px; }
#content .reply {font-size: .9em; margin: 0px; padding: 0px; }

#content .portfolio-box .attachment-post-thumbnail {float:left; margin: 0 .5em 0 0;}
#content .portfolio-box {display: box; border: 1px #714F0F solid; margin: .5em; padding: .5em;}

#content .news-thumbnail .attachment-post-thumbnail {float:left; margin: 0 .5em .5em 0;}


/* Portfolio */

#content .portfolio_tax {font-weight: bold;}
#content .portfolio_tax a {font-weight: normal;}
#content .taxonomy-label {margin: 0 0 .2em 0;}
#content .wp-tag-cloud > ul > li {list-style: none;}
#content .wp-tag-cloud a {font-weight: normal;}

/* Footer */

#footer {font-size: .7em; text-align: center;}

/* Sidebar */

#primary {float: left; width:790px; border-top: 2px #000000 solid; border-bottom: 2px #000000 solid;}
#primary > ul > li {margin: .5em; display: inline-block; width: 165px; list-style: none; text-align: left; }
#primary > ul { margin: 0; text-align: center;}
#primary ul ul {margin: 0;}
#primary ul li {list-style: none;}
#primary li { vertical-align: top; }
#primary h3 {font-size: 1.5em; margin: 0 0 .2em 0;}


/* Search */

#searchform { position:absolute; top:142px; right:20px;}
.screen-reader-text, #searchsubmit {display: none;}
#s { background: #fff url('http://jphes.com/layout/search.png') 4px 50% no-repeat; border: 1px solid; line-height: 1.5em; padding: 0 0 0 24px; width: 120px; }

/* Menu */
.menu ul, .menu ul li, .menu-header ul, .menu-header ul li {list-style: none; margin: 0;}
.menu-header, div.menu, {margin: 0 auto; width: 790px;}
.menu-header {
     background: #000000; 
     margin: 0 auto; 
     width: 790px; 
     display:block; 
     float:left;
background: -moz-linear-gradient(top, #4c4c4c 0%, #595959 12%, #666666 25%, #474747 39%, #2c2c2c 64%, #000000 73%, #1c1c1c 91%, #131313 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#4c4c4c), color-stop(12%,#595959), color-stop(25%,#666666), color-stop(39%,#474747), color-stop(64%,#2c2c2c), color-stop(73%,#000000), color-stop(91%,#1c1c1c), color-stop(100%,#131313)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 64%,#000000 73%,#1c1c1c 91%,#131313 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 64%,#000000 73%,#1c1c1c 91%,#131313 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 64%,#000000 73%,#1c1c1c 91%,#131313 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#4c4c4c', endColorstr='#131313',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #4c4c4c 0%,#595959 12%,#666666 25%,#474747 39%,#2c2c2c 64%,#000000 73%,#1c1c1c 91%,#131313 100%); /* W3C */
}




.menu-header,div.menu {font-size: 15px; margin-left: 0px;}
.menu-header ul, div.menu ul {list-style: none; margin: 0;}
.menu-header li, div.menu li {float:left; position: relative;}
.menu-header a {display:block; text-decoration:none; color:#FFFFFF; padding:0 10px; line-height:38px;}
.menu-header ul ul {display:none; position:absolute; top:38px; left:0; float:left; box-shadow: 0px 3px 3px rgba(0,0,0,0.2); -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2); z-index: 99999;}
.menu-header ul ul ul { left:100%; top:0;}
.menu-header ul ul a {background:#000000; height:auto; line-height:1em; padding:10px; width: 130px; border:1px solid #807959;}
.menu-header li:hover > a, .menu-header ul ul :hover > a {color:#fff; background:#333;}
.menu-header ul li:hover > ul {display:block; border:1px solid #807959;}


/* Images */

#content img { margin: 0; max-width: 640px;}
.single-attachment #content img { max-width: 900px;}
#content .alignleft, #content img.alignleft { display: inline; float: left; margin-right: 24px; margin-top: 4px; }
#content .alignright, #content img.alignright { display: inline; float: right; margin-left: 24px;margin-top: 4px; }
#content .aligncenter, #content img.aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto;}
#content img.alignleft, #content img.alignright, #content img.aligncenter {margin-bottom: 12px;}
#content .wp-caption {background: #ece5d9; color: #000000; font-size: 12px; line-height: 18px; text-align: center; margin-bottom: 20px; padding: 4px;}
#content .wp-caption img {margin: 5px;}
#content .wp-caption p.wp-caption-text {margin: 0 0 4px;}
#content .wp-smiley {margin:0;}
#content .gallery {margin: auto;}
#content .gallery .gallery-item {float: left; margin-top: 0; text-align: center;}
#content .gallery img { border: 2px solid #ece5d9;}
#content .gallery .gallery-caption {color: #888; font-size: 12px; margin: 0 0 12px;}
#content .gallery dl {margin: 0; display: inline-block;}
#content .gallery dt {margin: 0; text-align: center;}
#content .gallery img {border: 5px solid #ece5d9;}
#content .gallery br+br {display: none;}


.gallery br { clear: both }
 
/* Special Rules */
#post-38 ul {margin: 0 0 0 22em; }

/* jQuery */
	
#quotes div { width: 300px; height: 100px; overflow:hiddin;} 
#quotes {position: absolute; top: 3em; right: 2em; }

/* Slides */

#slideshow { z-index: 50;}
#slideshow { height: 200px; width: 790px; padding: 0px; clear: both;}
#slideshow .slide { }

