/*  
Theme Name: South Pine Theme
Theme URI: http://sww.co.nz/
Description: Custom theme by Stellar Web Works for South Pine
Version: 1.0
Author: Aidan Curran
Author URI: http://sww.co.nz/
*/

/*
   Colour Palette
   #C68E38 - orange from logo - nav, footer
   #95651A - darker orange/brown - headings
   #F4EFE8 - pale with slight orange tint - backgrounds
   #4B4B4B - black - body text
   #383734 - black/dk brn - header bg
*/
html,body {
	margin:0;
	padding:0;
   background: #fff;
   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;
	*/
   font-family: 'Open Sans', arial, helvetica, sans-serif;
   color: #4B4B4B;
}
body {
   /*
   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
   */
}
h1, h2 {
   color: #95651A;
}
h1 {
   font-size: 30px;
   font-weight: 600;
}
h2 {
   font-size: 26px;
   font-weight: 600;
}
h3 {
   font-size: 22px;
   font-weight: 600;
}
h4 {
   font-size: 18px;
   font-weight: 600;
   margin: 24px 0 10px 0;
}
h5 {
   font-size: 16px;
   font-weight: 600;
   margin: 0;
}
p {
   margin: 6px 0 16px 0;
}
a {
   color: #95651A;
}
a:hover {
   color: #C68E38;
}
h1 a, h2 a {
   text-decoration: none;
} 
img {
   border: 0;
}
div {
   text-align: left;
}
ul {
   list-style-type: none;
   padding: 0px;
   margin: 7px 0 7px 15px;
}
ul li {
   background-image: url(images/bullet.gif);
   background-repeat: no-repeat;
   background-position: 0px 8px;
   line-height: 1.571em;
   padding-left: 17px;
   margin: 5px 0;
}
td {
   vertical-align:top;
}
blockquote {
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-border-radius: 8px;
	border-radius: 8px;
   background: #e9e9e9 url(images/quote.png) 8px 4px no-repeat;
   padding: 8px 8px 8px 46px;
}
blockquote p {
   margin: 0;
}
#header {
   min-height: 190px;
   background: #383734;
   color: #fff;
}
body.home #header, body.slider #header  {
   min-height: 240px;
}
#header #logo {
   display: block;
   float: left;
   padding: 15px 20px;
}
#header #headertext {
   font-family: Century Gothic,CenturyGothic,AppleGothic,Avant Garde,Avantgarde,sans-serif;
   float: right;
   padding: 20px 50px 20px 0;
   color: #fff;
   text-align: center;
   height: 80px;
}
#header #headertext .line1 {
   font-size: 30px;
   line-height: 40px;
   font-weight: normal;
   margin: 0;
}
#header #headertext .line2 {
   font-size: 18px;
   line-height: 30px;
   font-weight: bold;
   color: #C68E38;
   margin: 0;
}

#page, div.contents {
   margin: 0 auto;
}
#page {
   background: white;
}
body.home #page, body.slider #page {
   margin-top: -50px;
}

#nav {
   text-align: center;
   min-height: 40px;
   overflow: hidden;
   float: right;
   padding: 15px 0;
}
#nav a {
   margin: 0 10px;
   color: #fff;
   text-decoration:none;
   font-weight: bold;
   font-size: 17px;
   line-height: 20px;
   display: inline-block;
   padding: 10px 20px;
   text-transform: lowercase;
}
#nav a:hover, #nav a.current, #nav li.current_page_item a {
   background-color: #C68E38;
   border-top-left-radius: 15px;
   border-bottom-right-radius: 15px;   
}
#nav ul, #subnav ul, #footernav ul {
   list-style: none;
   margin: 0;
   padding: 0;
}
#nav li, #subnav li, #footernav li {
   display: inline;
   list-style: none;
   margin: 0;
   padding: 0;
   background: none;
}
#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;
}
#maincontent {
   overflow: visible;
   padding: 20px 0 50px 0;
}
.clear {
   clear:both;
}
.centered {
   text-align:center;
}
div.divider {
   clear: both;
   margin: 50px 0 30px 0;
   border-bottom: 2px solid #999;
}

#slideshow {
   padding: 20px;
   background-color: #F4EFE8;
   font-size: 0;
}

#panelband {
   overflow: hidden;
   padding: 20px 0 0 0;
}
.panel {
   float: left;
   width: 32%;
   margin-left: 2%;
   position: relative;
   color: #fff;
}
#panel1 {
   margin-left: 0;
}
.panel .head {
   position: absolute;
   width: 100%;
   height: 100%;
   height: 30px;
   line-height: 30px;
   font-family: Arial Black,Arial Bold,Gadget,sans-serif;
   font-weight: bold;
   z-index: 10;
   text-shadow: 0px 0px 15px #000;
   font-size: 32px;
   line-height: 80px;
   text-align: center;
}
.panel .picture {
   font-size: 0;
}
.panel .picture img {
   width: 100%;
}
.panel .body {
   position: absolute;
   bottom: 0;
   height: 145px;
   padding: 15px;
   background-color: rgba(0, 0, 0, 0.5);
   font-size: 18px;
   color: #fff;
   min-height: 75px;
   overflow: hidden;
}
.panel .body:hover, .panel:hover .body {
   background-color: rgba(0, 0, 0, 0.7);
}

.panel li {
   margin: 0;
}
.panel ul {
   margin: 0 0 0 10px;
}
.panel .more {
   text-align: center;
   position: absolute;
   bottom: 8px;
   right: 15px;
}
.more a {
   text-decoration:none;
   color: #fff;
}
.more a:hover {
   text-decoration:underline;
}

.leftcol {
   float: left;
   width: 60%;
   padding-right: 5%;
}
.rightcol {
   float: left;
   width: 35%;
}

#footernav {
   background-color: #C68E38;
   color: #fff;
}
#footernav .contents {
   background: url(images/logo-footer.png) right center no-repeat;
   min-height: 120px;
}
#footernav a {
   color: #fff;
   text-decoration:none;
   font-weight: 600;
   font-size: 18px;
   display: inline-block;
   padding: 10px 20px;
   text-transform: lowercase;
}
#footernav ul {
   text-align: center;
   padding-right: 100px;
}
#footernav li {
   display: inline-block;
   vertical-align: top;
   padding: 20px 25px;
   text-align: left;
}
#footernav li a {
   padding: 10px 0;
}
#footernav ul.sub-menu li {
   display: block;
   padding: 0;
   line-height: 1.5em;
}
#footernav ul.sub-menu li a {
   font-size: 16px;
   font-weight: normal;
   padding: 0;
}

#footer {
   padding: 10px;
   text-align: center;
   background-color: #F4EFE8;
   overflow: hidden;
}
#footer a {
   text-decoration: none;
   color: #4B4B4B;
}
#footer a:hover {
   text-decoration: underline;
   color: #4B4B4B;
}
#footer div.contact {
   padding: 15px 0;
   float: left;
   width: 200px;
}
#footer div.contact2 {
   padding: 15px 0;
   float: right;
   width: 200px;
   font-weight: 600;
}
#footer div.contact2 .phone {
   margin: 10px 0;
   font-size: 24px;
}
#footer div.contact2 .email {
   margin: 10px 0;
   font-size: 16px;
}
div.credit {
   clear: both;
   text-align:center;
   padding: 15px 0 15px 0;
   color: #777;
   font-size: 12px;
}
div.credit a {
   text-decoration: none;
   color: #777;
}
div.credit a:hover {
   text-decoration: underline;
}

div.standardmarks {
   text-align: center;
}
div.standardmarks img {
   margin: 20px 50px;
}





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);   
}

/* 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 */
#maincontent div.wpcf7 {
   overflow: hidden;
   background-color: #F4EFE8;
   border-top-left-radius: 35px;
   border-bottom-right-radius: 35px;   
   width: 40%;
   padding: 0 2.5% 15px 2.5%;
   float: left;
   margin: 0 auto;
}
#maincontent div.wpcf7 form {
   padding: 0;
   margin: 0 auto;
   width: auto;
}
#maincontent div.wpcf7 form p {
   margin: 4px 0 10px 0;
   font-size: 14px;
}
div.wpcf7-response-output {
   background: #fff;
}
span.wpcf7-not-valid-tip {
   font-size: 0.750em !important;
}
input.wpcf7-submit {
   background: #C68E38;
   color: #fff;
   font-size: 1.1em;
   border-radius: 3px;
   border: 1px solid #95651A;
   padding: 5px 20px;
}
input.wpcf7-submit:hover {
   background: #555;
}
input.wpcf7-text, input.wpcf7-captchar, textarea.wpcf7-textarea, select.wpcf7-select {
   border: 1px solid #aaa;
   width: 100%;   
   height: 26px;
}
#maincontent div.wpcf7 .wpcf7-not-valid {
   border: 1px solid red;
}
textarea.wpcf7-textarea {
   height: 160px;
}
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;
}

span.address textarea.wpcf7-textarea {
   height: 80px;
}

/* Page Specific Styling */
/* Products page */
.tabs {
   overflow: hidden;
}
.tabs h2 {
   width: 50%;
   float: left;
   margin: 30px 0 0 0;
   padding: 10px 0;
   text-align: center;
   color: #4B4B4B;
   -webkit-border-top-left-radius: 10px;
   -webkit-border-top-right-radius: 10px;
   -moz-border-radius-topleft: 10px;
   -moz-border-radius-topright: 10px;
   border-top-left-radius: 10px;
   border-top-right-radius: 10px;
}
#tabs h2.active {
   background-color: #F4EFE8;
   color: #C68E38;
   text-decoration: none;
   cursor: default;
}
.tabs h2:hover {
   text-decoration: underline;
   cursor: pointer;
}
#tab-page {
   background-color: #F4EFE8;
   padding: 5px 30px 30px 30px;
}
.javascript #tab-page .products-section {
   display: none;
}
.javascript #tab-page div.active {
   display: block;
}
.javascript .noscript {
   display: none;
}
#noscript-header {
   margin-top: 40px;
   padding-top: 30px;
   border-top: 1px solid #fff;
}
.products-section ul {
    padding: 0;
    margin: 0
}
.products-section ul li {
    background: #ddd none repeat scroll 0 0;
    border-radius: 0.6em;
    display: inline-block;
    font-size: 90%;
    font-weight: bold;
    margin: 0 5px 2px 5px;
    padding: 2px 8px;
}
.products-section ul li.hazard-h12 {
    background-color: pink;
}
.products-section ul li.hazard-h32 {
    background-color: #80ff80;
}
.products-section ul li.hazard-h3wet {
    background-color: yellow;
}

.product {
   background-color: #FFF;
   margin: 20px 0;
   padding: 0 0 15px 0;
}
.product h3 {
   color: #fff;
   background-color: #C68E38;
   padding: 2px 25px;
   font-size: 20px;
   margin: 12px 0;
}
.product h4 {
   font-size: 16px;
   margin: 12px 0 5px;
}
.product ul, .product h4, .product p {
    padding: 0 25px;
}
a.pdf {
   text-decoration: none;
   background: url(images/pdficon.png) left center no-repeat;
   line-height: 16px;
   padding-left: 24px;
   display: block;
   font-weight: bold;
}
a.pdf:hover {
   text-decoration: underline;
}

/* FAQ page */
dl.faq {
    margin: 0 0 60px;
}
dl.faq dt {
    background: #C68E38 url("images/arrow-grey-dn.png") no-repeat scroll right 20px center / 18px 19px;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    margin: 10px 0;
    padding: 15px 50px 15px 20px;
}
dl.faq dt.closed {
    background-color: #fff;
    border-bottom: 1px solid #d9d9d9;
    color: #404040;
    font-weight: normal;
    padding-left: 0;
}
dl.faq dt.closed + dd {
    display: none;
}
dl.faq dd {
    background-color: #F4EFE8;
    border-radius: 5px;
    margin: 0 0 10px;
    padding: 10px 20px;
}

#openclosefaqs {
   display: none;
}
.javascript #openclosefaqs {
   text-align: right;
   display: block;
}
#openclosefaqs span {
   color: #C68E38;
}
#openclosefaqs span:hover {
   text-decoration: underline;
   cursor: pointer;
}
table.data {
   background: #fff;
   border-collapse: collapse;
}
table.data caption {
   font-weight: bold;
   padding: 5px;
   text-align: center;
   text-transform: uppercase;
}
table.data td, table.data th {
   padding: 5px;
    border: 1px solid #eee;
}
table.data th {
   background-color: #eee;
}
cite {
   display: block;
   text-align: right;
   color: #999;
   font-size: smaller;
}

/* Contact page */
div.box {
   background-color: #F4EFE8;
   margin: 25px 0;
   border-top-left-radius: 35px;
   border-bottom-right-radius: 35px;
   float: left;
   width: 40%;
   margin: 2.5%;
   padding: 1px 2.5% 25px 2.5%;
   min-height: 320px;
}
div.box div.photo {
   float: right;
   margin: 35px 0 0 25px;
   border: 5px solid #fff;
   font-size: 0;
}
div#details {
   float: left;
   width: 45%;
   margin-right: 7.5%;
   margin-bottom: 30px;
}
div#map {
   float: left;
   width: 100%;
   margin-top: 30px;
}

/* ------------------------------------------------- Responsive Elements ------------------------------------------------- */

/* defaults: computer monitors, tablets in landscape, standard and large screens (typically wider than 1024px), old browsers */
   #page, div.contents { width:90%; max-width: 1100px; min-width: 320px;}
   #mobile-menu-btn { display: none; }

   img {max-width: 100%; height: auto !important; }
   .maincontent img.alignleft, .maincontent img.alignright { max-width:50%; height:auto; }
   .responsive50 img, .responsive50 .wp-caption { max-width:50%; height:auto; }
   .responsive33 img, .responsive33 .wp-caption { max-width:33%; height:auto; }
   .responsive .wp-caption img, .responsive50 .wp-caption img, .responsive33 .wp-caption img { max-width:100%; }
   
/* MEDIUM-WIDE SCREEN */
/* width 750px - 1000px */
@media screen and (max-width: 1000px) {
   #nav a, #subnav a { margin: 0 5px; padding: 10px 15px; font-size: 15px; }
   #slideshow { padding: 10px; }
   #header #headertext .line1 { font-size: 20px; }
   #header #logo { width: 140px; padding: 15px 0; }
   h1 { font-size: 28px; }
   h2 { font-size: 24px; }
   .panel .head { font-size: 24px; }
   .panel .body {
       background-color: #383734;
       font-size: 16px;
       height: auto;
       min-height: 210px;
       padding: 10px;
       position: static;
   }
   div.standardmarks img { margin: 20px 30px;}  

   #footernav li { padding: 20px 15px; }
   #footernav a { font-size: 16px; } 
}

/* MEDIUM-SMALL SCREEN */
/* width 500px - 750px */
@media screen and (max-width: 750px) {

   html,body { font-size: 14px; }
   #page, div.contents { width:95%; }
   #nav a, #subnav a { margin: 0 5px; padding: 10px 5px; font-size: 14px; }
   .leftcol, .rightcol { float: none; width: auto;}
   #header, body.home #header, body.slider #header { min-height: 0; }
   #header #headertext { width: 70%; padding: 20px 0 10px 0; height: auto; }
   #header #headertext .line1 { line-height: normal; padding-bottom: 8px; }
   #header #headertext .line2 { line-height: normal; }
   #header #logo { width: 120px; padding: 10px 0; }
   #header #nav { float:none; clear: both; }

   #slideshow { padding: 0; }

   body.home #page, body.slider #page { margin-top: 0; }
      
   div.block { padding: 10px 20px; }

   .panel, #panel1 {
      float: none;
      width: 280px;
      margin: 10px auto;
      padding: 10px;
   }
   .panel .body { min-height: 0; padding: 15px 10px;}

   #footernav li { padding: 20px 4px; }
   #footernav a { font-size: 14px; } 

   div#details, div#map, #maincontent div.wpcf7, div.box { float: none; width: auto; margin-right: 0;}
   #maincontent div.wpcf7, div.box { padding: 1px 10% 15px 10%; min-height: 0; margin: 20px 10%; }
}

/* SMALLEST SCREEN */
/* width 320px - 500px */
@media screen and (max-width: 500px) {	

   #page, div.contents { width:97%; }
   body.home #header, body.slider #header {
       min-height: 0;
   }
   #header #headertext { }
   #header #headertext .line1 { font-size: 14px; }
   #header #headertext .line2 { font-size: 14px; }
   #header #logo { width: 25%; padding-right: 5%;}
   #mobile-menu-btn { 
      display: block;
      width: 32px;
      height: 32px;
      background: url(images/menu-icon.png) 0 0 no-repeat;
      position: absolute;
      top: 4px;
      right: 20px;
      cursor: pointer;
      z-index: 10;
   }
   #nav { min-height: 40px; position: relative; float: none; clear: both; padding: 0; }
   #nav ul { display:none; }
   #nav ul.open {  
     width: 100%;  
     display: block;  
     height: auto;  
     padding-top: 40px;
     margin-top:0;
   }  
   #nav li {  
     width: auto;  
     float: none;  
     position: relative;  
   }  
   #nav li a {  
     display: block;
     margin: 0;
     padding: 3px 0px;
     border-bottom: 1px solid #464541;  
     text-align: left;  
     width: 100%;  
     text-indent: 25px;  
     line-height: 30px;
   }
   #nav a:hover, #nav a.current, #nav li.current_page_item a {
      border-radius: 0;
   }   
   #maincontent { padding: 10px 10px; }
   h1 { font-size: 22px; }
   h2 { font-size: 20px; }
   h3 { font-size: 18px; }
   h4 { font-size: 16px; }

   div.block div.image img { float: none !important; display:block; margin: 30px auto; }
   
   #footernav ul { padding: 10px 0 10px 30px; }
   #footernav li { display: block; padding: 2px 120px 2px 25px; }
   #footernav li a { padding: 0 20px; }
   #footer div.contact, #footer div.contact2 { float: none; margin: 0 auto; padding: 5px 0; }


   
   /* 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, select.wpcf7-select { height: 20px; }
   textarea.wpcf7-textarea { height: 120px; }     

   #maincontent div.wpcf7, div.box { padding: 1px 8% 15px 8%; margin: 20px 0; }

}


