/*  
Theme Name: Sawmill Direct Theme 2017
Theme URI: http://sww.co.nz/
Description: Custom theme by Stellar Web Works
Version: 1.0
Author: Aidan Curran
Author URI: http://sww.co.nz/


12px	0.750em	75.0%	   9pt
13px	0.813em	81.3%	   10pt
14px	0.875em	87.5%	   11pt
15px	0.938em	93.8%	   11pt
16px	1.000em	100.0%	12pt
17px	1.063em	106.3%	13pt
18px	1.125em	112.5%	14pt
19px	1.188em	118.8%	14pt
20px	1.250em	125.0%	15pt
21px	1.313em	131.3%	16pt
22px	1.375em	137.5%	17pt
23px	1.438em	143.8%	17pt
24px	1.500em	150.0%	18pt

Colours:

#A0410D - redish brown (text)
#554943 - dark brown (text & background)
#A08677 - light brown (background)
#AAA4A1 - light brown (text over dark brown - footer)
#6C854B - medium green (text)
#ECF1E6 - pale green (background)
#EEE9E6 - pale beige

*/
html,body {
	margin:0;
	padding:0;
   background: #ffffff;
   text-align: center;
   font-family: Century Gothic,CenturyGothic,AppleGothic,Avant Garde,Avantgarde,sans-serif;
	font-family: "trebuchet ms", trebuchet, arial, helvetica, sans-serif;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-family : "Times New Roman", Times, serif;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, Verdana, sans-serif;
	font-family: arial, helvetica, sans-serif;
   color: #534741;
}
body {
}
h1, h2, h3, h4 {
   color: #A0410D;
}
h1 {
   font-size: 1.429em;
}
h2 {
   font-size: 1.286em;
}
h3 {
   font-size: 1.143em;
}
h4 {
   font-size: 1em;
}
a {
   color: #6C854B;
}
a:hover {
   color: #A0410D;
}
h1 a, h2 a {
   text-decoration: none;
} 
img {
   border: 0;
}
div, section {
   text-align: left;
}
section {
   overflow: hidden;
   padding: 50px 0;
}
section#headerimage {
   padding: 0;
   background: url(images/generic-category-header.jpg) center center no-repeat;
   background-size: cover;
   height: 15vw;
   position: relative;
}
section#headerimage h1 {
   color: #fff;
   text-align: center;
   width: 100%;
   height: 100%;
   line-height: 15vw;
   margin: 0 auto;
   font-size: 30px;
   font-family: Century Gothic,CenturyGothic,AppleGothic,Avant Garde,Avantgarde,sans-serif;
   text-transform: uppercase;
   font-weight: normal;
}
section#headerimage h1 span {
   background-color: rgba(0,0,0,0.3);
   padding: 10px 20px;
   border-radius: 20px;
}
#section2 {
   background-color: #ECF1E6;
}
#section2 h2 {
   color: #534741;
   text-transform: uppercase;
   text-align: center;
   margin: 0 0 30px 0;
}

ul {
   list-style-type: none;
   padding: 0px;
   margin: 7px 0 7px 15px;
}
ul li {
   background-image: url(images/bullet.png);
   background-repeat: no-repeat;
   background-position: 0px 4px;
   line-height: 1.571em;
   padding-left: 20px;
   margin: 5px 0;
}
td {
   vertical-align:top;
}
blockquote {
	-moz-border-radius: 10px;
	-khtml-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
   background: #e9e9e9 url(images/quote.png) 15px 6px no-repeat;
   padding: 15px 15px 15px 54px;
   margin: 30px 40px;
}
blockquote p {
   margin: 0;
}
blockquote cite {
   margin-top: 10px;
   display: block;
   text-align: right;
}
header {
   min-height: 115px;
   overflow: hidden;
}
header .contents {
   position: relative;
}
#logo, #tagline1, #tagline2 {
   width: 33.33333333%;
   float: left;
   text-align: center;
}
header #logo img {
   display: inline-block;
   width: 310px;
   max-width: 100%;
   height: auto;
   padding: 10px;
}
header #headertext {
   position: absolute;
   width: 100%;
   padding: 20px 0 20px 0;
}
.phone {
   font-size: 30px;
   font-weight: bold;
   margin: 0 0 2px 0;
   text-align: right;
   color: #554943;
}
.phone a {
   color: #554943;
   text-decoration: none;
}

#tagline1 p, #tagline2 p {
   margin-top: 67px;
   text-align: center;
   font-weight: bold;
   color: #A04614;
   font-size: 16px;
   display: inline-block;
   width: 230px;
   max-width: 100%;
   box-sizing: border-box;
}
#tagline2 p {
}

.contents {
   margin: 0 auto;
}
main {
   background: transparent;
}

nav {
}
#topnav {
   clear: both;
   line-height: 30px;
   overflow: hidden;
   background-color: #ECF1E6;
   text-align: center;
}
nav a {
   text-decoration:none;
}
#topnav a {
   color: #554943;
   text-transform: uppercase;
   font-weight: normal;
   font-size: 16px;
   margin: 0 5px;
   padding: 8px 25px;
   display: inline-block;
}
#topnav a:hover, #topnav a.current, #topnav li.current_page_item a {
   color: #A0410D;
}
nav ul {
   list-style: none;
   margin: 0;
   padding: 0;
}
nav li {
   list-style: none;
   margin: 0;
   padding: 0;
   background: none;
}
#topnav ul {
   text-align: center;
}
#topnav li {
   display: inline-block;
}
#subnav {
   text-align: center;
}
#subnav a {
   color: #999;
   text-decoration:none;
   font-weight: bold;
   font-size: 18px;
   display: inline-block;
   padding: 10px 20px;
   text-transform: lowercase;
}
#subnav a:hover, #subnav li.current_page_item a, #subnav li.current-page-ancestor a {
   color: #cc0000;
}

.clear {
   clear:both;
}
.centered {
   text-align:center;
}
div.divider {
   clear: both;
   margin: 50px 0 30px 0;
   border-bottom: 2px solid #999;
}

#slideshow {
}
#slideshow img {
   width: 100%;
   height: auto;
   display: block;
}
#panelband {
   overflow: hidden;
   padding: 20px 0;
   background-color: #EEE9E6;
}
.panel {
   float: left;
   width: 33.3333333%;
   position: relative;
}
.panel .picture, .panel .text {
   width: 80%;
   margin: 0 auto;
}
#panel1 {
   margin-left: 0;
}
.panel .picture img {
   width: 100%;
   height: auto;
}
.panel .picture img:hover, .panel .head:hover + .picture img  {
   opacity: 0.9;
}
.panel li {
   margin: 0;
}
.panel ul {
   margin: 0 0 0 10px;
}
.panel .more {
   text-align: center;
   margin: 5px 0 15px 0;
}
.more a {
   text-decoration:none;
   text-transform:uppercase;
   padding: 4px 16px;
   color: #6C854B;
   font-weight: bold;
   font-size: 18px;
	background: url(images/arrow.png) right center no-repeat;
}
.more a:hover {
   color: #A0410D;
}

.leftcol {
   float: left;
   width: 60%;
   padding-right: 5%;
}
.rightcol {
   float: left;
   width: 35%;
}
.halfcol {
   float: left;
   width: 50%;
}
.quartercol {
   float: left;
   width: 25%;
}


div.post {
   padding: 30px;
   background-color: #fff;
   margin-bottom: 30px;
   border-radius: 20px;
}
div.post h3 a {
   text-decoration: none;
   color: #A0410D;
}
div.post h3 a:hover {
   color: #6C854B;
}
p.postdate {
   font-size: 12px;
   color: #a6a6a6;
   font-style: italic;
   margin-top: 40px;
}

div#breadcrumbs {
   background-color: #EEE9E6;
   padding: 10px 0;
   color: #A08677;
   font-weight: bold;
}
div#breadcrumbs a {
   text-decoration: none;
}
div#breadcrumbs a:hover {
   text-decoration: underline;
}

footer {
   padding: 50px 0 10px 0;
   font-size: 1em;
   overflow: hidden;
   background-color: #544943;
   color: #fff;
}
.footernav {
}
.footernav a {
   color: #fff;
   text-decoration:none;
   font-weight: normal;
   font-size: 18px;
   padding: 0;
   margin: 0;
   text-transform: uppercase;
}
#footernav2 a {
   text-transform: none;
   font-size: 16px;
}
.footernav li {
   display: block;
   padding: 2px 0;
   text-align: left;
}
footer h4 {
   color: #ffffff;
   margin: 0 0 15px 0;
}
#footer-col3 {
}
#footerlogo {
   text-align: center;
   float: right;
   width: 300px;
}
footer .phone {
   color: #AAA4A1;
   font-size: 36px;
   margin-top: 20px;
   text-align: center;
}
footer .phone a {
   color: #AAA4A1;
   text-decoration: none;
}

footer #credits {
   clear: both;
   text-align: center;
   padding-top: 20px;
   font-size: 12px;
   color: #AAA4A1;
}
footer #credits a {
   text-decoration: none;
   color: #AAA4A1;
}
footer #credits a:hover {
   text-decoration: underline;
   color: #cccccc;
}












img.leftalign {
   display: block;
   float: left;
   text-align: left;
   margin: 0 25px 5px 0;
}
img.rightalign {
   display: block;
   float: right;
   text-align: right;
   margin: 0 0 5px 15px;
}
img.centeralign {
   display: block;
   margin: 10px auto;
   text-align: center;
}
table.labels {
   width:50%;
   margin:10px auto;
}
table.labels th {
   text-align: right;
   padding-right: 30px;
}
div.rounded {
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
}
div.shaddow {
	-moz-box-shadow: rgba(200,200,200,1) 0 4px 18px;
	-webkit-box-shadow: rgba(200,200,200,1) 0 4px 18px;
	-khtml-box-shadow: rgba(200,200,200,1) 0 4px 18px;
	box-shadow: rgba(200,200,200,1) 0 4px 18px;
}
div.opacity {
   opacity: 0.5;
   -moz-opacity: 0.5;
   filter:alpha(opacity=50);   
}


/* Styles for Category listings */
.category-list-item {
   border-top: 2px solid #ECF1E6;
   overflow: hidden;
   zoom: 1;
   padding: 20px 0;
}
.imgcol {
   display: block;
   float: left;
   width: 25%;
   padding-right: 5%;
}
.txtcol {
   float: left;
   width: 70%;
}
.txtcol h3 {
   margin-top: 0;
}
.price {
   display: block;
   float: right;
   font-weight: bold;
   padding-top: 5px;
   min-width: 150px;
   max-width: 300px;
}
a.order-btn, a.more-btn {
   color: #fff;
   text-decoration: none;
   background-color: #A08677;
   display: block;
   float: left;
   width: 106px;
   height: 24px;
   line-height: 24px;
   font-weight: bold;
   font-size: 15px;
   padding: 5px 15px;
   text-align: center;
   margin-left: 15px;
}
a.more-btn {
   background-color: #544943;
}

h4.enquire {
   text-align: center;
}

/* Out of stock banner */
.relative {
   position: relative;
}
.overlay {
   height: 40px;
   padding: 3px 0;
   background: red;
   color: white;
   text-align:center;
   margin: 10px 0;

   opacity: .75;
   filter:alpha(opacity=75);
   -moz-opacity:.75;
   -khtml-opacity: .75;
   z-index : 10;
}
.category-list-item .overlay {
   width: 100%;
   position: absolute;
   top: 80px;
   left: 0px;
}
p.packetno {
   margin: 0 0 2px 0;
   font-size: 12px;
   font-style: italic;
}






/* calculator */
div#calc_outer {
   width: 540px;
   overflow: hidden;
   border: 2px solid #dfd3cc;
   background-color: #dfd3cc;
   margin: 10px auto;
}
#leftside {
   background-color: #fff;
   padding: 10px;
   float: left;
   width: 250px;
}
#rightside {
   padding: 10px;
   float: left;
   width: 250px;
}
#leftside h3 {
   color: #a0410d;
   margin: 0 0 5px 0;
   text-align: center;
}
#totals h3 {
   margin: 0 0 5px 0;
   text-align: center;
}
#totals th, #totals td {
   font-size: 14px;
}
table#calculator {
   margin: 15px 0 10px 0;
}
table.oldcalc td {
   padding: 8px 10px;
   font-size: 12px;
}
table.oldcalc th {
   padding: 8px 10px;
   font-size: 14px;
}

#calcform {
   margin: 50px 0;
}
#calcform input {
   width: 35px;
   border: 1px solid #e6e6e6;
}
#calculator input:hover, #calculator input:focus {
   border: 1px solid #999;
}
input#submit, input#submit:hover {
   background: url(images/btn-brown.gif) center top no-repeat;
   width: 106px;
   color: #fff;
   height: 24px;
   font-weight: bold;
   font-size: 14px;
   text-align: center;
   border: 0;
   margin: 5px auto;
   display: block;
}
.totals {
   font-size: 14px;

}
tr.totals input {
   text-align: right;
   border: none;
   font-size: 14px;
   font-weight: bold;
   width: 50px;
}
tr.smaller td {
   padding: 0;
}
tr.smaller td input {
   font-size: 12px;
   font-weight: normal;
}

td {
   vertical-align: top;
}
#totals small {
   color: #999;
}
/* new calculator */
#printheader {
   display: none;
}
table.newcalc th {
   background: #dfd3cc;
   padding: 4px 15px;
}
table.newcalc td {
   padding: 4px 15px;
}
table.newcalc {
   background: #f9f9f9;
   border: 1px solid #ccc;
}

#calcform input.wide {
  width: 100px;
}
#calcform input.job {
  width: 200px;
}
tr.totals td, tr.totals th {
   background: #e9e9e9;
}
#calcform input.readonly {
   border-color: transparent;
   width: 60px;
   background: transparent;
}
p#buttons {
   text-align: center;
}
p#buttons input, p#buttons input#submit {
   background: url(images/btn-brown.gif) center top no-repeat;
   width: 106px;
   color: #fff;
   height: 24px;
   font-weight: bold;
   font-size: 14px;
   text-align: center;
   border: 0;
   margin: 5px 10px;
   display: inline-block;
   cursor: pointer;
}
a.button {
   background: #A0410D url(images/arrow.png) 160px center no-repeat;
   color: #fff;
   text-decoration: none;
   font-weight: bold;
	-moz-border-radius: 10px;
	-khtml-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
   display: inline-block;
   width: 180px;
   text-align: center;
   padding: 5px 0;
}
a.button:hover {
   background-color: #606851;
}









/* WP Common Styles */
.editLink {
   text-align: center;
   padding: 5px 0 15px 0;
}
.editLink a, a.editLink {
   background: #e0e0e0;
   color: #777777;
   font-size: 10px; 
   border: 1px solid #999999;
   text-decoration: none;
   padding: 3px 5px;
}
.editLink a:hover, a.editLink:hover {
   background: #eeeeee;
   border: 1px solid #333333;
   color: #000000;
}
.postmetadata {
   color: #999;
   font-size: 10px;
   margin: 2px 0;
}
img.aligncenter, div.aligncenter {
   display: block;
   margin: 20px auto;
}
img.alignright, div.alignright {
   display: block;
   float: right;
   margin: 10px 0px 5px 15px;
}
img.alignleft, div.alignleft {
   display: block;
   float: left;
   margin: 10px 20px 5px 0px;
}
img.aligncenter {
   text-align: center;
}
img.alignright {
   text-align: right;
}
img.alignleft {
   text-align: left;
}
.wp-caption-text,.wp-caption-dd {
   margin: 0;
   font-weight: bold;
   font-size: smaller;
   text-align: center;
}
.more-link {
   display:block;
   text-align:right;
}
.linklove {
   display:none;
}
/* Comments */
#comments {
   margin-top: 100px;
   color: #333;
   background: #f3f3f3;
   padding: 10px 20px;
   clear:both;
}
#comments .navigation {
	padding: 0 0 18px 0;
}
h3#comments-title,
h3#reply-title {
	color: #000;
	font-size: 20px;
	font-weight: bold;
	margin-bottom: 0;
}
h3#comments-title {
	padding-bottom: 24px;
}
.commentlist {
	list-style: none;
	margin: 0;
   padding: 0;
}
.commentlist li.comment {
	border-bottom: 1px solid #e7e7e7;
	line-height: 24px;
	margin: 0 0 24px 0;
	padding: 0 0 0 56px;
	position: relative;
}
.commentlist li:last-child {
	border-bottom: none;
	margin-bottom: 0;
}
#comments .comment-body ul,
#comments .comment-body ol {
	margin-bottom: 18px;
}
#comments .comment-body p:last-child {
	margin-bottom: 6px;
}
#comments .comment-body blockquote p:last-child {
	margin-bottom: 24px;
}
.commentlist ol {
	list-style: decimal;
}
.commentlist .avatar {
	position: absolute;
	top: 4px;
	left: 0;
}
.comment-author {
}
.comment-author cite {
	color: #000;
	font-style: normal;
	font-weight: bold;
}
.comment-author .says {
	font-style: italic;
}
.comment-meta {
	font-size: 12px;
	margin: 0 0 18px 0;
}
.comment-meta a:link,
.comment-meta a:visited {
	color: #888;
	text-decoration: none;
}
.comment-meta a:active,
.comment-meta a:hover {
	color: #ff4b33;
}
.commentlist .even {
}
.commentlist .bypostauthor {
}
.reply {
	font-size: 12px;
	padding: 0 0 24px 0;
}
.reply a,
a.comment-edit-link {
	color: #888;
}
.reply a:hover,
a.comment-edit-link:hover {
	color: #ff4b33;
}
.commentlist .children {
	list-style: none;
	margin: 0;
}
.commentlist .children li {
	border: none;
	margin: 0;
}
.nopassword,
.nocomments {
	display: none;
}
#comments .pingback {
	border-bottom: 1px solid #e7e7e7;
	margin-bottom: 18px;
	padding-bottom: 18px;
}
.commentlist li.comment+li.pingback {
	margin-top: -6px;
}
#comments .pingback p {
	color: #888;
	display: block;
	font-size: 12px;
	line-height: 18px;
	margin: 0;
}
#comments .pingback .url {
	font-size: 13px;
	font-style: italic;
}
/* Comments form */
input[type=submit] {
	color: #333;
}
#respond {
	border-top: 1px solid #e7e7e7;
	margin: 24px 0;
	overflow: hidden;
	position: relative;
}
#respond p {
	margin: 0;
}
#respond .comment-notes {
	margin-bottom: 1em;
   font-style: italic;
   color: #999;
}
.form-allowed-tags {
	line-height: 1em;
}
.children #respond {
	margin: 0 48px 0 0;
}
h3#reply-title {
	margin: 18px 0;
}
#comments-list #respond {
	margin: 0 0 18px 0;
}
#comments-list ul #respond {
	margin: 0;
}
#cancel-comment-reply-link {
	font-size: 12px;
	font-weight: normal;
	line-height: 18px;
}
#respond .required {
	display:none;
}
#respond label {
	color: #888;
	font-size: 12px;
   width: 80px;
   display: block;
   float: left;
   text-align: right;
   padding-right: 10px;
}
#respond input {
	margin: 0 0 9px;
	width: 500px;
}
#respond textarea {
	width: 500px;
}
#respond .form-allowed-tags {
	color: #888;
	font-size: 12px;
	line-height: 18px;
}
#respond .form-allowed-tags code {
	font-size: 11px;
}
#respond .form-submit {
	margin: 12px 0;
}
#respond .form-submit input {
	font-size: 14px;
	width: auto;
}

/* Contact Form 7 */
div.wpcf7 {
   clear: both;
   overflow: hidden;
   background-color: #e6e6e6;
   border-radius: 5px;
   width: 464px;
   margin: 30px auto !important;
}
div.wpcf7 form {
   padding: 0 30px;
   margin: 0;
}
div.wpcf7-response-output {
   background: #fff;
}
span.wpcf7-not-valid-tip {
   font-size: 0.750em !important;
}
input.wpcf7-submit {
   background: #666;
   color: #fff;
   font-size: 1.1em;
   border-radius: 3px;
   border: 1px solid #555;
   padding: 5px 20px;
}
input.wpcf7-submit:hover {
   background: #555;
}
input.wpcf7-text, input.wpcf7-captchar, textarea.wpcf7-textarea {
   border: 1px solid #aaa;
   width: 400px;   
   height: 26px;
}
textarea.wpcf7-textarea {
   height: 180px;
}
input.wpcf7-text:hover, input.wpcf7-captchar:hover, textarea.wpcf7-textarea:hover {
   border: 1px solid #999;
}
input.wpcf7-text:focus, input.wpcf7-captchar:focus, textarea.wpcf7-textarea:focus {
   border: 1px solid #666;
}
div.wpcf7 div.wpcf7-validation-errors {
    border: 2px solid #f00000;
}


/* ------------------------------------------------- Responsive Elements ------------------------------------------------- */

/* defaults: computer monitors, tablets in landscape, standard and large screens (typically wider than 1024px), old browsers */
   .contents { width:90%; max-width: 1200px; min-width: 300px;}
   footer .contents { width:80%; max-width: 1000px; }
   #mobile-menu-btn { display: none; }

   img {max-width: 100%; height: auto !important; }
   
/* MEDIUM-WIDE SCREEN */
/* width 750px - 1000px */
@media screen and (max-width: 1000px) {

   #tagline1 p, #tagline2 p { 
      font-size: 14px; 
      margin-top: 58px;
      width: 200px;
   }
   header #logo img {
      width: 260px;
   }
   nav a, #subnav a { margin: 0 5px; padding: 10px 15px; font-size: 15px; }

   #topnav a {
      padding: 8px 8px;
   }
   
   
   .imgcol {
      width: 30%;
      padding-right: 5%;
   }
   .txtcol {
      width: 65%;
   }

}

/* MEDIUM-SMALL SCREEN */
/* width 500px - 750px */
@media screen and (max-width: 750px) {

   html,body { font-size: 14px; }
   .contents { width:95%; }

   #tagline1 p, #tagline2 p { 
      font-size: 12px; 
      margin-top: 50px;
      width: 150px;
   }
   header #logo img {
      width: 200px;
   }


   nav a, #subnav a { margin: 0 5px; padding: 10px 5px; font-size: 14px; }
   .leftcol, .rightcol, .halfcol { float: none; width: auto; margin: 20px 0 0 0; clear: both; }
   .quartercol { width: 50%; }
   #footerlogo { float: none; margin: 0 auto; padding-top: 30px; }
   
   header #headertext {
      padding: 10px 0;
   }
   header #headertext .phone {
      font-size: 24px;
   }
   
   #topnav a {
      padding: 8px 0px;
      font-size: 14px;
   }
   
   div.block { padding: 10px 20px; }

   input.wpcf7-text, input.wpcf7-captchar, textarea.wpcf7-textarea { width: 300px;}

   .imgcol {
      width: 35%;
      padding-right: 5%;
   }
   .txtcol {
      width: 60%;
   }

   
   /* calculator */
   div#calc_outer { width: 100%; box-sizing: border-box; }
   #calcform #leftside  { width: 47%; padding: 10px 0; } 
   #calcform #rightside { width: 53%; padding: 10px 0; }
   table.oldcalc th { font-size: 11px; padding: 0 5px; }
   table.oldcalc td { padding: 0 5px; }
   #leftside input[type="text"] { width: 25px; }
   #totals { padding-left: 3px; }
   #totals table { font-size: 11px; }   
   
}

/* SMALLEST SCREEN */
/* width 320px - 500px */
@media screen and (max-width: 500px) {	

   .contents { width:95%; }
   header #headertext { position: static; padding: 5px; }
   
   #tagline1, #tagline2, header #logo { 
      float: none;
      width: auto;
   }
   #tagline1 p, #tagline2 p { 
      font-size: 11px; 
      font-weight: normal;
      margin-top: 0;
      width: auto;
   }
   header #logo img {
      padding: 0;
   }
   .quartercol { float: none; width: auto; margin: 20px 0 0 0;}
   
   
   #mobile-menu-btn { 
      display: inline-block;
      width: 32px;
      height: 32px;
      background: url(images/menu-icon.png) 0 0 no-repeat;
      margin: 4px;
      cursor: pointer;
      float: right;
   }
   #topnav { float: none; width: auto; min-height: 40px; text-align: right; }
   #topnav ul { display:none; }
   #topnav ul.open {  
     width: 100%;  
     display: block;  
     height: auto;  
     padding-top: 0;
     margin-top:0;
     clear: both;
   }  
   #topnav li {  
     width: auto;  
     float: none;  
     display: block;
     position: relative;  
   }  
   #topnav li a {  
     display: block;
     margin: 0;
     padding: 3px 0px;
     border-bottom: 1px solid #d0d0d0;  
     text-align: left;  
     width: 100%;  
     text-indent: 25px;  
     line-height: 30px;
   }

   section { padding: 40px 0; }
   section#headerimage  {min-height: 100px; }
   section#headerimage h1 {min-height: 80px; }
   section#headerimage h1 { font-size: 24px; background-color: rgba(0,0,0,0.3); padding-top: 20px;}
   section#headerimage h1 span { border-radius: 0; padding: 0; width: 100%; background-color: transparent; }

   div.block div.image img { float: none !important; display:block;  margin: 30px auto; }   
   

   .panel, #panel1 {
      float: none;
      width: 280px;
      margin: 10px auto;
      padding: 10px;
   }


   .imgcol, .txtcol {
      width: auto;
      float: none;
      padding-right: 0;
   }
   .imgcol img {
      width: 80%;
      margin: 0 auto;
      padding-bottom: 20px;
      display: block;
   }

   
   /* Contact Form 7 */
   div.wpcf7 { margin: 10px auto !important; width: 300px; }
   div.wpcf7 form { padding: 0 25px; }
   input.wpcf7-text, input.wpcf7-captchar, textarea.wpcf7-textarea { width: 246px; height: 20px; }
   textarea.wpcf7-textarea { height: 120px; }  
   
   
   /* calculator */
   #calcform #leftside  { float: none; width: auto; padding: 10px 0; } 
   #calcform #rightside { float: none; width: auto; padding: 10px 0; }
   #totals table, table.oldcalc th { font-size: 12px; }
   #leftside input[type="text"] { width: 20px; }
   #rightside input[type="text"] { width: 40px; }      
}


