/* -------------------------------------------------------------- 
   Reset
-------------------------------------------------------------- */

html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; border: 0; font-weight: inherit; font-style: inherit; font-size: 100%; font-family: inherit; vertical-align: baseline; }
body { line-height: 1.5; background: #fff; margin:0; padding:0; height:100%;}
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td { text-align: left; font-weight:400; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }
a img { border: none; }
input,textarea { margin: 0; }

/* Removes Firefox imposed outline */
a { outline: none; }

/* Clearing floats without extra markup  */
.wrapper { display: inline-block; }
.wrapper:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
* html .wrapper { height: 1%; }
.wrapper { display: block; }




/* -------------------------------------------------------------- 
   Typography
-------------------------------------------------------------- */

/* This is where you set your desired font size. The line-heights 
   and vertical margins are automatically calculated from this. 
   The percentage is of 16px (0.75 * 16px = 12px). */
body { font-size: 88%; }


/* Default fonts and colors. */
body,h1,h2,h3,h4,h5,h6,p,ul,ol,dl,input,textarea { font-family: Arial, sans-serif; color:#666666; }


/* Margins */

.marg {
	padding:10px;
}

#content .marg {
	padding:10px 20px 10px 10px;
}


/* Headings
-------------------------------------------------------------- */

h1,h2,h3,h4,h5,h6 { font-weight: bold; }

h1 { font-size: 3em; line-height: 1; margin-bottom: 0.25em; }
h2 { font-size: 2em; margin-bottom: 0.375em; }
h3 { font-size: 1.5em; line-height: 1; margin-bottom: .5em; }
h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: .625em; }
h5 { font-size: 1em; margin-bottom: .75em; }
h6 { font-size: 1em; }


/* Text elements
-------------------------------------------------------------- */

p { margin: 0 0 1.5em; }

ul, ol { margin: 0 1.5em 1.5em 1.5em; }
ul { list-style-type: circle; }
ol { list-style-type: decimal; }

dl { margin: 0 0 1.5em 0; }
dl dt { font-weight: bold; }
dl dd { margin-left: 1.5em; }

abbr, acronym { border-bottom: 1px dotted #000; }
address { margin-top: 1.5em; font-style: italic; }
del { color: #000; }

a {color: #005696; text-decoration: none;}
a:hover, .read-more a:hover, .sidebarpost a:hover .date, .sidebarpost a:hover .smalltitle {color: #5C504B;}

blockquote { margin: 1.5em; }
strong { font-weight: bold; }
em, dfn { font-style: italic; }
dfn { font-weight: bold; }
pre, code { margin: 1.5em 0; white-space: pre; }
pre, code, tt { font: 1em monospace; line-height: 1.5; } 
tt { display: block; margin: 1.5em 0; line-height: 1.5; }


/* Tables
-------------------------------------------------------------- */

table { margin-bottom: 1.4em; }
th { border-bottom: 2px solid #ddd; font-weight: bold; }
td { border-bottom: 1px solid #ddd; }
th,td { padding: 4px 10px 4px 0; }
tfoot { font-style: italic; }
caption { background: #ffc; }


/* Some default classes
-------------------------------------------------------------- */

.small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
.large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
.quiet { color: #999; }

.hide { display: none; }
.highlight { background: #ffc; }

.top { margin-top: 0; padding-top: 0; }
.bottom { margin-bottom: 0; padding-bottom: 0; }




/* -------------------------------------------------------------- 
   Forms
-------------------------------------------------------------- */

label { font-weight: bold; }

/* Fieldsets */
fieldset { padding: 1.4em; margin: 0 0 1.5em 0; border: 1px solid #ddd; background: #fff; }
legend { padding: 0 .4em; font-weight: bold; font-size: 1.2em; }

/* Textareas */
textarea { margin: 0.5em 0.5em 0 0; }
textarea { padding: .4em; }


/* hForm
-------------------------------------------------------------- */
form.hform p { margin: 0 0 .5em; }
form.hform p label { float: left; width: 100px; }

form.hform p input { width: 200px; }
form.hform p select { width: 200px; }

form.hform p input.button { width: auto; }
form.hform p input.checkbox { width: auto; }
form.hform p input.radio { width: auto; }

form.hform p.checkbox { margin-left: 100px; }
form.hform p.checkbox label { float: none; }
form.hform p.checkbox input { width: auto; }


/* vForm
-------------------------------------------------------------- */
form.vform p { margin: 0 0 .5em; }
form.vform p label { display: block; }

form.vform p.checkbox label { display: inline; }



/* -------------------------------------------------------------- 
   Site
-------------------------------------------------------------- */
html {
   height: 100%;
}

#master { /* for the footer trick */
   min-height:100%;
   position:relative;
   overflow:visible;
   width:100%;
}

div.container {
	width:750px;
	margin:0 auto;
	padding:0;
	position:relative;
}

div#header {
	position: relative;
    width: 100%;
    height: 129px;
	background: #5c504b;
	overflow:hidden;
	margin-bottom:20px;
	padding:0;
}

a.blogtitle {
	float:left;
	padding-top:65px;
	font-size: 4em;
	font-weight: bold;
	color: #8DCCEC;
}

	a.blogtitle img {
		margin-left: 10px;
		margin-top: -32px;
	}

#body {
height: 100%;
padding-bottom:60px;
}

#content {
	width:450px;
	float:left;
}

	.home-column-1 {
		width:50%;
		float:left;
	}
	
	.home-column-2 {
		width:50%;
		float:left;
	}
		#slide img {
			width:100%;
		}
	
	.box {
	position:relative;
	overflow:hidden;
	border: #B0A58B 1px solid;
	margin: 0 0 10px 0;
	padding:10px;
	width:380px
	}
	
	.postdate, .postdate a {
		font-weight:bold;
		color:#005696;
		font-size:1.5em;
	}
	
	.author {
		font-size:.9em;
	}
	
	.source {
		font-size: .9em;
	}
	
	.headline, .headline a {
		color:#5C504B;
		font-size:1.2em;
		line-height:normal;
		margin-bottom:5px;
	}
	
	.post {
		margin-top:10px;
		margin-bottom:20px;
		background: url(../img/postdiv.png) bottom left no-repeat;
		padding-bottom:20px;
		font-size:.9em;
	}
	
	.post-single {
		margin-top:10px;
		margin-bottom:20px;
		font-size:.9em;
	}
	
	.page, .page p {
	}
	
	.tags, .tags a, .comments, .comments a {
		font-size:8pt;
		color:#B0A58B;
	}
	
	.tags {
		width: 40%;
		float:left;
	}
	
	.comments {
		width: 40%;
		float:right;
	}
	
	.comments a {
		float:right;
	}
	
div #sidebar {
	width:300px;
	float:right;
	position:relative;
}

	.sidebox {
		background:#5c504b url(../img/footer.png) bottom left repeat-x;
		padding:20px 20px 26px 20px;
		margin-bottom:10px;
		right:0px;
	}
		.sidebox p {
			color:#D4CEBF;
		}
	
	.sidebaritem-alt {
		border: #B0A58B 1px solid;
		padding:20px 20px 26px 20px;
		margin-bottom:10px;
		right:0px;
	}
	
	.sidebaritem {
		border: #B0A58B 1px solid;
		position:relative;
		min-height:104px;
		margin-bottom:10px;
		padding:10px 0px 10px 20px;
		width:217px;
		right:-41px;
		font-size:11px;
	}
		.tab {
			position:absolute;
			z-index:2;
			left:-42px;
			top:-1px;
		}
		
		.sidebaritem p {
			display:inline;
		}
		
		.date {
			color: #B0A58B;
			font-weight:bold;
			font-size:1.1em;
		}
		
		.smalltitle {
			color: #005696;
			font-weight:bold;
			font-size:1.1em;
		}
		
		.read-more {
			font-weight:bold;
		}
		
		.sidebarpost {
			margin-bottom:20px;
			padding-right:15px;
		}
		
		.sidebaritem ul, .sidebaritem li {
			list-style-type: none;
			padding:0;
			margin:0 0 20px 0;
			text-indent:none;
		}
		
	#front .sidebaritem {
		width:100%;
		height:150px;
		z-index:2;
		position:relative;
		font-size:12px;
		left:0;
		padding:0px;
		margin-top:15px;
	}
		#front .tab {
			position:relative;
			top:auto;
			left:auto;
			display:block;
			float:left;
			padding-top:5px;
			height:94px;
		}
		
		#front .sidebarpost {
			width: 80%;
			float:right;
		}
		
		#front .sidebaritem p {
			display:block;
			padding:0;
			margin:0;
		}
			
		
		#front .tab-front {
			height:inherit;
			display:block;
			float:left;
			width:50px;
		}
			#front .tab-front img {
				margin-left:5px;
			}
		.button a:hover img {
			margin-left:-100%;
		}
#footer {
	position:absolute;
	bottom:0;
	width:100%;
	height:60px;
	background: url(../img/footer.png) bottom repeat-x;
	text-align:center;
	font-size:12px;
}
	#footer a {
		font-size:12px;
	}

/* Assorted Colors */

.tan {
	background: #D4CEBF;
}

.gold {
	background: #B0A58B;
}

.blue {
	background: #005696;
}

/* Diagonal Navigation Menu */
*{
    margin: 0;
    padding: 0;
}

#header .nav {
	margin:0;
	padding:0;
	height:129px;
	width:282px;
	position:absolute;top:0px;right:0px;
}
	#navover {
		z-index:6;
	}
	#navunder {
		background:url(../img/nav/wholething.png) no-repeat;
		z-index:4;
	}

	#header #bgallery {background:url(../img/nav/gallery0.png) no-repeat; display:none; z-index:5; }

	#header #bframesparts {background:url(../img/nav/framesparts0.png) no-repeat; display:none; z-index:5;}

	#header #bnews {background:url(../img/nav/news0.png) no-repeat; display:none; z-index:5;}

	#header #bservicefittings {background:url(../img/nav/servicefittings0.png) no-repeat; display:none; z-index:5;}

	#header #bcontact {background:url(../img/nav/contact0.png) no-repeat; display:none; z-index:5;}

/* Product Display */
#product {
	height:450px;
	background:#005696;
	padding:0px;
	width:728px;
}
	#product img {
		width:728px;
		height:auto;
	}

#product-detail {
	position:absolute;
	bottom:0px;
	left:0px;
	width:725px;
	height:auto;
	margin-left:728px;
	background:url(../img/trans.png);
	z-index:5;
	padding:5px 5px 5px 20px;
}

	.product-detail-text {
		width:80%;
		margin-left: 20px;
		color:#5C504B;
		font-size:12px;
	}
	
	.product-detail-text p {
		display: inline;
		color: #5C504B;
	}

.product-column {
	width:31%;
	margin-right:11px;
	float: left;
	border: #B0A58B 1px solid;
	height: 170px;
}

	span.product-title {
		width:100%;
		background:#005696;
		height: 28px;
		display: block;
		text-align:left;
		color:#FFF;
	}
		span.product-title img {
			padding:7px 0 0 5px;
		}
	
	.product-column a {
		color:#666;
		cursor: pointer;
		font-size: .8em;
	}
	
	.product-column a:hover {
		color:#005696;
	}
	
	div.product-column div.marg p {
		margin-bottom:.7em;
	}

.last {
	margin-right:0px;
	float:right;
	width:31%;
	border: #B0A58B 1px solid;
}

.close {
	width:23px;
	height:23px;
	background:url(../img/close.png) no-repeat;
	position:absolute;
	bottom: 5px;
	left: 10px;
	padding:0px;
}


/* WP Classes */

.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
   float: left;
}

.alignright {
   float: right;
}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -moz-border-radius: 3px;
   -khtml-border-radius: 3px;
   -webkit-border-radius: 3px;
   border-radius: 3px;
}

.wp-caption img {
   margin: 0;
   padding: 0;
   border: 0 none;
}

.wp-caption p.wp-caption-text {
   font-size: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}

/* etc */

img.size-thumbnail {
	width:91px;
	height:93px;
	border:#B0A58B 2px solid ;
	margin:5px;
}

/* For price tables with filler dots */

.product-list {
	float: left;
	margin-bottom:10px;
}

.product-row {
	float: left;
	background: url(../img/dot.png) repeat-x bottom;
	width:380px;
	clear:both;
}

.product, .price {
	background: #fff;
}

.product {
	float: left;
}

.price {
	float: right;
}

.product-list-title {
	float:left;
	font-weight:bold;
	color:#005696;
}

/* comments */

#comment {
	width:410px;
}

img.avatar {
	display: none;
}

ol.commentlist * {
	list-style-type:none;
}

ol.commentlist li {
	position: relative;
}

ol.commentlist cite, .comment-author {
	font-style:normal;
	font-weight:bold;
	font-size:17px;
}

ol.commentlist .comment-meta {
	position: absolute;
	top: 3px;
	right: 0;
	font-size:12px;
}

/* etc. */

.sub-product-link {
	margin-left: 10px;
}

#frames-parts {
	width: 100%;
}

#sfpostform {
	background: #fff!important;
	z-index:999!important;
	position:relative!important;
}

#events-calendar-list li {
	font-size: 1em!important;
	list-style-image: none!important;
}
#events-calendar-list li strong {
	color:#005696;
	display:block;
}

/* Notices */
	div.notice, div.wpcf7-response-output {
		position:relative;
		margin-bottom:10px;
		padding:10px 10px 10px 40px;
		border:1px solid;
		-webkit-border-radius:3px;
		   -moz-border-radius:3px;
				border-radius:3px;
		background-position:10px 15px;
		background-repeat:no-repeat;
	}
	div.notice p, div.wpcf7-response-output p {margin:0;}
	div.notice a.close {display:block; position:absolute; top:4px; right:8px; font-size:16px; line-height:1; font-weight:bold; color:#333;}
	div.info {color:#00529B; background-color:#BDE5F8; background-image:url('../img/info_16.png');}
	div.warning, div.wpcf7-spam-blocked {color:#9F6000; background-color:#FEEFB3; background-image:url('../img/warning_16.png');}
	div.error, div.wpcf7-validation-errors, div.wpcf7-mail-sent-ng {color:#D8000C; background-color:#FFBABA; background-image:url('../img/delete_16.png');}
	div.success, div.wpcf7-mail-sent-ok {color:#4F8A10; background-color:#DFF2BF; background-image:url('../img/tick_16.png');}

/* Contact Form 7 */
	span.wpcf7-list-item {margin-left:0.5em;}
	.wpcf7-display-none {display:none;}
	div.wpcf7 img.ajax-loader {border:none; vertical-align:middle; margin-left:4px; padding-left:4px;}
	div.wpcf7 .watermark {color:#888;}
	span.wpcf7-form-control-wrap {position:relative;}
	span.error, span.wpcf7-not-valid-tip-no-ajax {display:block; color:#C00;}
	div.wpcf7-response-output {
		-webkit-border-radius:0;
		   -moz-border-radius:0;
				border-radius:0;
		border-width:1px 0 0;
		background-color:transparent;
	}
	span.wpcf7-form-control-wrap {}
	span.wpcf7-not-valid-tip {display:block;}