/*
Theme Name: CQ Timber & Steel
Theme URI: http://www.almostanything.com.au
Description: A generic starting point. Mobile-first, fully responsive. Home page has 3 Calls to Action. Main content with right sidebar. Horizontal Nav, requiring WP built-in menu management. Inbuilt homepage CTA management.
Version: 2012.2
Author: The Almost Anything Web and Graphic Design Crew
Author URI: http://www.almostanything.com.au
*/

/*
 * RELATIVE EMS: target/context=result
 * So if you want a 24px heading, and the parent element is 15px, you need to specify 1.6ems
 * ie 24/15=1.6
 * Got it yet Stu?
 * Similarly with widths. Elements will be a %age or their parent.
 *
 * THIS IS A MOBILE-FIRST STYLESHEET
 * If you're styling for the desktop you are editing the WRONG FILE
 * Go back, do not pass Go, do not collect $200
 */

/* TEMPORARY */
html.wf-active { margin-top:0 !important; }
wpadminbar { display:none !important; }


/* Resets, Globals */

div,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,table,blockquote,th,td {
    margin:0;
    padding:0;
    line-height:inherit;
}

    dl,ul,ol,h1,h2,h3,h4,h5,h6,form,fieldset,p,blockquote,table {
        margin:1em 0;
    }

        h1,h2,h3,h4,h5,h6 {
            margin:1em 0 .5em;
        }

            h1 {
                margin:0 0 .5em;
            }

table {
    border-collapse:collapse;
    border-spacing:0;
}

address,caption,cite,code,dfn,var {
    font-style:normal;
    font-weight:normal;
}
 
caption,th {
    text-align:left;
}

sup {
    vertical-align:text-top;
}

sub {
    vertical-align:text-bottom;
}

input,textarea,select {
    font-family:inherit;
    font-size:inherit;
    font-weight:inherit;
    padding:0 .4em;
}

/* Clearfix */
    
.clearfix:after, header>nav:after {
    content:"";
    display:block;
    clear:both;
}

/* End Clearfix */

/***************************************************************
 *
 * Let's play Tetris!
 * This is basic grid, we're layout out the main semantic blocks
 *
 ***************************************************************/

html, body {
    margin:0;
    padding:0;
    line-height:1.5;
    background:#6787b2;
}

    html {
        font-family: Calibri, Tahoma, Arial, sans-serif;
    }

    body {
        color: #000;
        font-size: 100%; /* Baseline: this means that 1em = 16px */
    }

.contentbox {
    width: 100%;
    margin: auto;
    background:#fff;
    font-size: 1.25em; /* 20px for normal paragraph text */
}

article, .contentbox .sidebar {
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}
    
    article {
        padding:1em 3%;
    }

/***************************************************************
 *
 * Header
 *
 ***************************************************************/
 

 header {background:#0a4579 url(images/tint-new-fat-thin-fade50.png); border-bottom:10px solid #76b729;}

.widthlimiter {width:100%; max-width:1000px; margin:0 auto}

.site_info {
    padding:1.5em 3%;
	width:180px;
	float:left;
}

    .site_title {
        text-indent:-9999px;
        width:0;
        height:0;
        margin:0;
    }

    .site_logo, .site_logo:hover, .site_logo img {
        display:block;
        background:none;
        position:relative;
        border:none;
    }

/* Skip links */
#skiplinks {
    position: absolute;
    left: -9999px;
}

img.Spike-Header-Phone  {position:absolute; top: 0; right: 10%; height: 316px;}

.Contact {display:none;}

@media only screen and (max-width: 1000px) {
	img.Spike-Header-Phone  {top:53px; right:0;}
}

@media only screen and (max-width: 870px) {
		.Contact {display:block; font-size: 1em; width: 100%; font-family: "peachy-keen",sans-serif; color:#FFF; text-align:center; padding-top:3%;}
		img.Spike-Header-Phone  {display:none;}
}

 
/***************************************************************
 *
 * Navigation
 *
 ***************************************************************/
/* Basic list reformatting */
.nav li {position:relative;}
.nav ul {position:absolute;top:-9999px;left:0;}
.nav ul, .nav ul li {display:block;}
.nav li:hover ul, .nav li.sfHover ul {top:2.5em;z-index:9999;display:block;}
.nav li li:hover ul, .nav li li.sfHover ul {top:0; left:-250px;}
ul#menu-main-nav{width:100%;}

/* main item width */
nav ul li ul, nav ul li li {width: 450px;}

/* Basic list reformatting */
.nav, nav ul, nav li {margin:0;padding:0;list-style:none;}
    .nav, .nav ul, .nav li { float:left; margin:0 .2em .5em 0}

/* Customise from here... */
header>nav {
    line-height:2em;
    padding:0 3%;
	margin: 0 auto;
}

.nav a {
    color: #FFF;
    background:#76b729;
    padding:0 0.5em;
    border:3px solid #6787b2;
	border-radius:0.5em;
    display:block;
    text-decoration: none;
	font-family: "peachy-keen",sans-serif;
	font-size:0.9em;
}

.nav a:focus, .nav a:hover, .nav a:active, nav a:hover, nav .sfHover>a {
    background:#0a4579;
    color: #fff;
}

nav .current_page_item>a, .single-post nav .current_page_parent>a, nav .current_page_ancestor>a, nav .current-menu-item>a, nav .current-menu-ancestor>a/*, .single-aacommerce_product nav .menu-item-151>a */ {
    background:#6787b2;
    color:#fff;
	border:3px solid #76b729;
}

.nav li ul {
    display: none;
}

/* Displays a sub nav immediately after the main (if exists). Here for ease of use on mobile. Hide for desktop and add dropdowns if required */
.mobile_sub_menu {
    width:94%;
    padding:1em 3%;
    margin:0 auto;
    overflow:hidden;
    background: #eee;
}

/* This is for the mobile nav icon */
#menu-icon {
    display: none;
}

ul.sub-menu {background:#0a4579 url(images/tint-new-fat-thin-fade50.png); border:3px solid #76b729; border-radius:0.5em;}

ul.sub-menu li {margin:0; width:220px;}

ul.sub-menu li a {border:none; border-radius:0; background:transparent; color:#000; font-family: Calibri, Tahoma, Arial, sans-serif; font-weight: 200; margin:0 0.2em 0; padding:0.4em; color:#FFF; display:block; width:210px}

ul.sub-menu li a:hover {border:none; border-radius:0; font-family: Calibri, Tahoma, Arial, sans-serif; color:#76b729; font-weight: bold; background-color:transparent;}



/* Squish menu down into a button */
@media only screen and (max-width: 870px) {
	
	.site_info {
    padding:1.5em 3%;
	width:180px;
	float:none;
	margin:0 auto;
}
	
    #menu-icon {
        color: #000;
        width: 95%;
        line-height: 3em;
        cursor: pointer;
        border: 1px solid #333;
        display: block;
        text-align: center;
		font-family: "peachy-keen",sans-serif;
		color:#FFF;
		text-align: center;
	 	margin: 0 auto;
		background: rgb(157,213,58); /* Old browsers */
		background: -moz-linear-gradient(top,  rgba(157,213,58,1) 0%, rgba(161,213,79,1) 50%, rgba(128,194,23,1) 51%, rgba(124,188,10,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(157,213,58,1)), color-stop(50%,rgba(161,213,79,1)), color-stop(51%,rgba(128,194,23,1)), color-stop(100%,rgba(124,188,10,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(128,194,23,1) 51%,rgba(124,188,10,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(128,194,23,1) 51%,rgba(124,188,10,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(128,194,23,1) 51%,rgba(124,188,10,1) 100%); /* IE10+ */
		background: linear-gradient(to bottom,  rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(128,194,23,1) 51%,rgba(124,188,10,1) 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9dd53a', endColorstr='#7cbc0a',GradientType=0 ); /* IE6-9 */
    }

    #menu-icon:after{
        content: " \2193"; /* down arrow */
    }

        #menu-icon.active:after {
            content: " \2191"; /* down arrow */
        }

    .mobile_sub_menu{
        border-top: 1px solid #333; /* Hacky - bottom border gets cut off menu :( */
    }

    header nav {
        margin:0 0 1em;
    }

    header nav>ul {
        clear: both;
        position: relative;
        z-index: 10000;
        border-top:none;
    }

    .nav { margin:0 0 1em; }

    nav ul li {width:100%;}

    .nav li:hover ul, .nav li.sfHover ul {display:none;}

    header nav>ul {width:100%;}

}

/***************************************************************
 *
 * Main Content - <article>
 *
 ***************************************************************/

article h1 {
    font-size: 1.8em;
	font-family: "peachy-keen",sans-serif;
	color:#76b729;
	clear:both;
	line-height: 1.2em;
}

article h2 {
    font-size: 1.4em;
}

article h3{
    font-size: 1.2em;
}

article h4, article h5, article h6{
    font-size: 1em;
}

article a {
    color: #76b729;
}

article a:hover {
    color: #0a4579;
}


#content {color:#666; font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif; line-height:1.6em; font-size:0.9em; z-index:100; font-weight:200;}

#content strong {color:#76b729;}

/* the next 3 rules are for the way WP sets its image floats. On skinny screens we'll just centre them all */
article .alignleft, article .alignright, article .aligncenter {
    text-align:center;
    margin:1.5em auto;
    display:block;
}

img {
    max-width:100%;
    height:auto;
}

a img {
    border:none;
}

/* These 2 will make image captions look a bit like polaroids */
.wp-caption {
    background:#eee;
    overflow:hidden;
    max-width:100%;
}

    body.attachment .wp-caption {
        background:none;
        overflow: visible;
    }

    .wp-caption.alignnone {
        margin:1.5em 0;
    }

    .wp-caption>a, .wp-caption img {
        display:block;
    }

        .wp-caption img {
            width:100%;
        }

    .wp-caption-text {
        padding:0;
        margin:.75em 1em;
        line-height:1.3em;
    }

        body.attachment .wp-caption-text {
            margin:.75em 0;
            font-weight:bold;
        }

        .gallery .wp-caption-text {
            margin:.25em 1em 0 0;
            font-size:.9em;
        }

.gallery .gallery-item {
    float: left;
    margin:0 0 3%;
}

.gallery a, .gallery img {
    display:block;
}

    .gallery img {
        max-width:95%;
        width:auto;
        height:auto;
    }

@media only screen and (max-width: 450px) {

    .gallery dl.gallery-item {
        float: none;
        margin: 0 0 1em;
        width:auto;
        text-align:center;
    }

        .gallery a {
            display:inline-block;
        }

    .gallery .wp-caption-text {
        text-align: center;
        font-size:inherit;
    }

    .gallery br {
        display:none;
    }

}

/*
Image sizes depending on the number of columns
Based on Hybrid theme
*/

.gallery-columns-0 .gallery-item {
    width: 100%;
}
.gallery-columns-1 .gallery-item {
    width: 100%;
}
.gallery-columns-2 .gallery-item {
    width: 50%;
}
.gallery-columns-3 .gallery-item {
    width: 33.33%;
}
.gallery-columns-4 .gallery-item {
    width: 25%;
}
.gallery-columns-5 .gallery-item {
    width: 20%;
}
.gallery-columns-6 .gallery-item {
    width: 16.66%;
}
.gallery-columns-7 .gallery-item {
    width: 14.28%;
}

/* Callouts, pullquotes */
blockquote {
    position:relative;
    padding:0 0 0 2.3em;
    margin:1.5em 0;
}

blockquote:before, blockquote:after {
    content: "“";
    font-size: 5em;
    position: absolute;
    left: 0;
    top: .27em;
    color:#333;
}

blockquote:after {
    line-height:0;
    right:0;
    left:auto;
    top:auto;
    bottom:-.1em;
    color:#ddd;
    content:"”";
}

/* Tables */

table, th, td {
    border:none;
    border:1px solid #ddd;
    text-align:left;
    border-collapse:collapse;
}

    table {
        margin:1em 0;
    }

    td, th {
        line-height:1.3em;
        padding:.4em .6em;
    }

    @media only screen and (max-width:500px) {

        article table {
            border:none;
        }

        article tr, article td, article th {
            display:block;
            border:none;
        }

            article tr {
                margin:0 0 1em;
            }
            
    }

/* CTA Buttons */

.button {
    color: #fff;
	font-family: "peachy-keen",sans-serif; 
    cursor:pointer;
	border:3px solid #6787b2;
    -moz-border-radius:3px;
    -webkit-border-radius:3px;
    border-radius:3px;
    padding: .5em .75em;
    text-decoration: none;
	background: rgb(157,213,58); /* Old browsers */
		background: -moz-linear-gradient(top,  rgba(157,213,58,1) 0%, rgba(161,213,79,1) 50%, rgba(128,194,23,1) 51%, rgba(124,188,10,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(157,213,58,1)), color-stop(50%,rgba(161,213,79,1)), color-stop(51%,rgba(128,194,23,1)), color-stop(100%,rgba(124,188,10,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(128,194,23,1) 51%,rgba(124,188,10,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(128,194,23,1) 51%,rgba(124,188,10,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(128,194,23,1) 51%,rgba(124,188,10,1) 100%); /* IE10+ */
		background: linear-gradient(to bottom,  rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(128,194,23,1) 51%,rgba(124,188,10,1) 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9dd53a', endColorstr='#7cbc0a',GradientType=0 ); /* IE6-9 */
}

    .button:hover {
		color:#FFF;
        background: rgb(103,135,178); /* Old browsers */

background: -moz-linear-gradient(top,  rgba(103,135,178,1) 0%, rgba(103,135,178,1) 50%, rgba(10,69,121,1) 51%, rgba(10,69,121,1) 100%); /* FF3.6+ */

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(103,135,178,1)), color-stop(50%,rgba(103,135,178,1)), color-stop(51%,rgba(10,69,121,1)), color-stop(100%,rgba(10,69,121,1))); /* Chrome,Safari4+ */

background: -webkit-linear-gradient(top,  rgba(103,135,178,1) 0%,rgba(103,135,178,1) 50%,rgba(10,69,121,1) 51%,rgba(10,69,121,1) 100%); /* Chrome10+,Safari5.1+ */

background: -o-linear-gradient(top,  rgba(103,135,178,1) 0%,rgba(103,135,178,1) 50%,rgba(10,69,121,1) 51%,rgba(10,69,121,1) 100%); /* Opera 11.10+ */

background: -ms-linear-gradient(top,  rgba(103,135,178,1) 0%,rgba(103,135,178,1) 50%,rgba(10,69,121,1) 51%,rgba(10,69,121,1) 100%); /* IE10+ */

background: linear-gradient(to bottom,  rgba(103,135,178,1) 0%,rgba(103,135,178,1) 50%,rgba(10,69,121,1) 51%,rgba(10,69,121,1) 100%); /* W3C */

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6787b2', endColorstr='#0a4579',GradientType=0 ); /* IE6-9 */
    }

/* Gravity Forms Style fixes */ 

article .gform_wrapper textarea, article .gform_wrapper input[type=text], article .gform_wrapper input[type=url], article .gform_wrapper input[type=email], article .gform_wrapper input[type=tel], article .gform_wrapper input[type=number], article .gform_wrapper input[type=password], article .gform_wrapper .ginput_complex label, article .gform_wrapper .gfield_time_hour label, article .gform_wrapper .gfield_time_minute label, article .gform_wrapper .gfield_date_month label, article .gform_wrapper .gfield_date_day label, article .gform_wrapper .gfield_date_year label, article .gform_wrapper .instruction {
    font-size:1em;
}

    article .gform_wrapper textarea, article .gform_wrapper input[type=text], article .gform_wrapper input[type=url], article .gform_wrapper input[type=email], article .gform_wrapper input[type=tel], article .gform_wrapper input[type=number], article .gform_wrapper input[type=password] {
        padding:.5em;
        max-width:100%;
        -moz-box-sizing:border-box;
        -webkit-box-sizing:border-box;
        box-sizing:border-box;
    }

article .gform_wrapper .gform_footer {
    padding:0;
}

/***************************************************************
 *
 * Sidebar
 *
 ***************************************************************/

.sidebar {
}

.sidebar, .sidebar ul, .sidebar li {
    padding:0;
    margin: 2%;
    list-style: none;
    clear: both;
	position:relative;
}

.sidebar li ul { /* a nested list, so this should actually be displayed as a list */
    padding-left: 7.142857142857%; /* 20/280=0.07142857142857 */
}

.sidebar li ul li {
    list-style: disc;
}

#gform_widget-2 h2 {display:none}

#gform_widget-2 {z-index:100;}

.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
width: 90% !important;
}

.gform_wrapper .top_label .gfield_label {
color:#76b729 !important;
}

/***************************************************************
 *
 * News and/or blog
 *
 ***************************************************************/
.postdate, .postmetadata {
    font-size:0.8em;
    font-style:italic;
    margin:0;
}

/***************************************************************
 *
 * Homepage
 *
 ***************************************************************/

.ctacontainer {
    margin:1em 0;
}

.cta {
    position:relative;
    z-index:1;
    float:left;
	width:30%;
}

    .cta a {
        display: block;
        color: #FFF;
        font-size: 1.2em;
        text-decoration: none;
		padding:1em 2em;
		font-family: "peachy-keen",sans-serif; 
		background: rgb(157,213,58); /* Old browsers */
		background: -moz-linear-gradient(top,  rgba(157,213,58,1) 0%, rgba(161,213,79,1) 50%, rgba(128,194,23,1) 51%, rgba(124,188,10,1) 100%); /* FF3.6+ */
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(157,213,58,1)), color-stop(50%,rgba(161,213,79,1)), color-stop(51%,rgba(128,194,23,1)), color-stop(100%,rgba(124,188,10,1))); /* Chrome,Safari4+ */
		background: -webkit-linear-gradient(top,  rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(128,194,23,1) 51%,rgba(124,188,10,1) 100%); /* Chrome10+,Safari5.1+ */
		background: -o-linear-gradient(top,  rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(128,194,23,1) 51%,rgba(124,188,10,1) 100%); /* Opera 11.10+ */
		background: -ms-linear-gradient(top,  rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(128,194,23,1) 51%,rgba(124,188,10,1) 100%); /* IE10+ */
		background: linear-gradient(to bottom,  rgba(157,213,58,1) 0%,rgba(161,213,79,1) 50%,rgba(128,194,23,1) 51%,rgba(124,188,10,1) 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9dd53a', endColorstr='#7cbc0a',GradientType=0 ); /* IE6-9 */ 
		border:3px solid #6787b2;  }


        #cta1 a:hover, #cta2 a:hover, #cta4 a:hover {
            color:#FFF;
			text-shadow:none;
			background: rgb(103,135,178); /* Old browsers */

background: -moz-linear-gradient(top,  rgba(103,135,178,1) 0%, rgba(103,135,178,1) 50%, rgba(10,69,121,1) 51%, rgba(10,69,121,1) 100%); /* FF3.6+ */

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(103,135,178,1)), color-stop(50%,rgba(103,135,178,1)), color-stop(51%,rgba(10,69,121,1)), color-stop(100%,rgba(10,69,121,1))); /* Chrome,Safari4+ */

background: -webkit-linear-gradient(top,  rgba(103,135,178,1) 0%,rgba(103,135,178,1) 50%,rgba(10,69,121,1) 51%,rgba(10,69,121,1) 100%); /* Chrome10+,Safari5.1+ */

background: -o-linear-gradient(top,  rgba(103,135,178,1) 0%,rgba(103,135,178,1) 50%,rgba(10,69,121,1) 51%,rgba(10,69,121,1) 100%); /* Opera 11.10+ */

background: -ms-linear-gradient(top,  rgba(103,135,178,1) 0%,rgba(103,135,178,1) 50%,rgba(10,69,121,1) 51%,rgba(10,69,121,1) 100%); /* IE10+ */

background: linear-gradient(to bottom,  rgba(103,135,178,1) 0%,rgba(103,135,178,1) 50%,rgba(10,69,121,1) 51%,rgba(10,69,121,1) 100%); /* W3C */

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6787b2', endColorstr='#0a4579',GradientType=0 ); /* IE6-9 */


        }
		
		#cta3 {display:none;}
		

    .cta p {
        display:inline;
    }

@media only screen and (max-width:1000px) {

    .cta, #cta3 {
        width: 90%;
        float: none;
		margin:0 auto 0.5em;
		text-align:center;}
		
		.cta a {padding:1em 0;}
    
}


/***************************************************************
 *
 * Contact Page
 *
 ***************************************************************/

#google_map { /* The outer div */
    margin: 1.5em 0;
}

#google_map #map_canvas { /* the inner container that defines the actual map size */
    width: 95%;
    height: 300px;
    margin: auto;
}

/***************************************************************
 *
 * Footer
 *
 ***************************************************************/

footer {
    background:#0a4579 url(images/tint-new-fat-thin-fade50.png);
	border-top:10px solid #76b729;
	border-bottom:10px solid #76b729;
    padding:1em 0;
    font-size:.8em; /* footer has been set to 12.8px */
    clear: both;
	position:relative;
	height:150px;
}

footer .contentbox {max-width:1000px; margin:0 auto; background:transparent; position:relative}

footer .widgetarea {
    width:30%;
    margin: 0 1.5% 1em 1.5%;
    float: left;
	diplay:none; /*not using here */
}

footer .widgetarea>ul, footer .widgetarea>ul>li {
    list-style:none;
    margin:0;
    padding:0;
}

footer h1 {font-size: 2.8em;
	font-family: "peachy-keen",sans-serif;
	color:#76b729;}

section.credits {
    clear:both;
    color:#FFF;
    padding:0 3% 0;
    text-align:left;
	font-size:0.7em;
}

section.credits a {color:#FFF; text-decoration:none;}
section.credits a:hover {color:#76b729;}

section.credits span.divider {color:#76b729;}

section.credits p {margin-top:-0.3em;}

/* SPIKE */
img.Spike {
	position:absolute;
	right:0;
	top:-174px;
	z-index:1;
	}
	
	
.SpikeTools {width:220px; height:172px; background:transparent url(images/spike-calc.png?3); cursor:pointer; text-indent:-9999px}	

.SpikeTools a {display:block; width:220px; height:172px;}
	
@media only screen and (max-width:1000px) {
	img.Spike {
	width:314px;
	top:-74px;
	}

}

@media only screen and (max-width:790px) {
	img.Spike {
	display:none;
	}
	
	section.credits {margin:0 auto; text-align:center;}

}

@media only screen and (max-width:450px) {
	section.credits span.divider {display:none;}
	section.credits a {display:block;}
	section.credits img.FooterLogo {width:70%}

}

/* Rich Contact Widget */

.widget_rc_widget ul, .widget_rc_widget li {
    list-style:none;
    margin:0;
    padding:0;
}

    .widget_rc_widget>ul>li {
        margin:0 0 .5em;
    }

    .widget_rc_widget .email {
        font-size:.8em;
    }

    .widget_rc_widget .tel:before {
        content: "Phone: ";
        font-weight:bold;
    }

@media only screen and (max-width:800px) {

   /* footer .widgetarea {
        width:100%;
        padding:0;
        margin:1em 0;
		display:none;
    }*/

    /*footer>nav, footer .vcard, section.credits {
        width: auto;
        float: none;
    }*/

}

/* Calculator Page */

li#calculator-posts:before {content:"Results"; margin:1em 0 1em; font-size:18px}

/**** FENCING CALCULATOR *****/

.CalculatorSurround {margin-bottom:1em; padding:0.5em 1.5em; border-radius:0.5em; border:3px solid #76b729; background: #eeeeee; /* Old browsers */

background: -moz-linear-gradient(top,  #eeeeee 0%, #cccccc 100%); /* FF3.6+ */

background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eeeeee), color-stop(100%,#cccccc)); /* Chrome,Safari4+ */

background: -webkit-linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* Chrome10+,Safari5.1+ */

background: -o-linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* Opera 11.10+ */

background: -ms-linear-gradient(top,  #eeeeee 0%,#cccccc 100%); /* IE10+ */

background: linear-gradient(to bottom,  #eeeeee 0%,#cccccc 100%); /* W3C */

filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eeeeee', endColorstr='#cccccc',GradientType=0 ); /* IE6-9 */

}

.CalculatorSurround ul {padding:0; margin:0.5em 0 0.5em;}
.CalculatorSurround ul li {list-style:none; margin:0.5em 0 0.5em;}

.CalculatorSurround ul li input {display:block}

#fence-calc-form strong {margin:0.5em 0;}

#fence-calculator-posts, #fence-calculator-rails, #fence-calculator-palings, #fence-calculator-batten-screws, #fence-calculator-coil-nails, #calculator-posts, #calculator-whalers, #calculator-batten-screws {
	background-color: transparent;
	border:none;}

.CalculatorSurround label:after {content:":";}

.CalculatorSurround {width: 35%; float: left; margin-right: 2%;}

@media only screen and (max-width:700px) {
	.CalculatorSurround {width: auto; float: none; margin-right: 0;}
}


/****** aa-department-list **/

ul.aa-department-list {list-style:none; padding-left:0; margin-bottom:1em;}

ul.aa-department-list li {float:left; width:32%; text-align:center; margin:0.2em;}

@media only screen and (max-width:700px) {
	ul.aa-department-list li {width:47%;}
}

ul.aa-department-list li a {display:block; padding:3.5em 0.5em 0em; height:5em; background:#76b729; color:#FFF; text-decoration:none; text-indent:-9999px;}

    /** CAT ITEM PRODUCTS PAGE LINKS **/

    /** Concrete Reinforcing **/
    .aa-department-list .cat-item-30 a {background:url(images/dept-concrete.jpg) no-repeat center center;}

    /** cubby **/
    .aa-department-list .cat-item-25 a {background:url(images/dept-cubby.jpg) no-repeat center center;}

    /** Fencing **/
    .aa-department-list .cat-item-4 a {background:url(images/dept-fencing.jpg) no-repeat center center;}

    /** Gazebos **/
    .aa-department-list .cat-item-22 a {background:url(images/dept-gazebo.jpg) no-repeat center center;}

    /** Hardware **/
    .aa-department-list .cat-item-31 a {background:url(images/dept-hardware.jpg) no-repeat center center;}

    /** Landscape **/
    .aa-department-list .cat-item-33 a {background:url(images/dept-landscape.jpg) no-repeat center center;}

    /** Lattice **/
    .aa-department-list .cat-item-13 a {background:url(images/dept-lattice.jpg) no-repeat center center;}

    /** Outdoor **/
    .aa-department-list .cat-item-27 a {background:url(images/dept-outdoor-furniture.jpg) no-repeat center center;}

    /** Bridges **/
    .aa-department-list .cat-item-19 a {background:url(images/dept-bridges.jpg) no-repeat center center;}

    /** Pets **/
    .aa-department-list .cat-item-32 a {background:url(images/dept-petfood.jpg) no-repeat center center;}

    /** Retaining Wall **/
    .aa-department-list .cat-item-16 a {background:url(images/dept-retaining.jpg) no-repeat center center;}

    /** Services **/
    .aa-department-list .cat-item-35 a {background:url(images/dept-services.jpg) no-repeat center center;}

    /** Steel **/
    .aa-department-list .cat-item-26 a {background:url(images/dept-steel.jpg) no-repeat center center;}

    /** Timber **/
    .aa-department-list .cat-item-36 a {background:url(images/dept-timber.jpg) no-repeat center center;}

    /** Welding supplies **/
    .aa-department-list .cat-item-37 a {background:url(images/dept-welding.jpg) no-repeat center center;}

    /** Smokers **/
    .aa-department-list .cat-item-38 a {background:url(images/dept-smokers.jpg) no-repeat center center;}


    @media only screen and (min-width:701px) {
        .aa-department-list.aa-department-list a:hover {
            background-image: none;
            background-color: #76b729;
            text-indent: 0;
        }
    }


@media only screen and (max-width:700px) {

	/** CAT ITEM PRODUCTS PAGE LINKS **/
    .aa-department-list.aa-department-list a {
        background-position:-9999px 0;
        background-color: #76b729;
        text-indent: 0;
    }

        .aa-department-list.aa-department-list a:hover {
            background-position:center center;
        }

}
