 /*
Theme Name: Stock-Air Heliworks 2014
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
 */

/* Resets, Globals */

* {
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
    box-sizing:border-box;
}

div,dl,dt,dd,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,select,button,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;
            line-height:1.2;
        }

            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 */

/* Styles to support our JS scrollbar width calculations */
.scrollbar_measure {
    width: 100px;
    height: 100px;
    overflow: scroll;
    position: absolute;
    top: -9999px;
}

/***************************************************************
 *
 * 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: #eee;
}

    html {
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;	
 	  /*font-family: "jaf-bernina-sans-condensed",sans-serif;*/
     }

    body {
        color:#000;
		font-weight:300;
        font-size: 100%; /* Baseline: this means that 1em = 16px */
		/*background:#FFF url(images/bg-home-new-alt3.jpg) no-repeat; /* using this as my generic background - other pages are customised below */
		/*background-position: center -130px;*/
    }
	
	@media only screen and (max-width: 870px) {
		/*body {background-position: 50% -100px;}*/
	}

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

article, .contentbox .sidebar {
    padding:0 3%;
}
    
    article {
        padding:1em 3%;
    }
	

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

.site_info {
    padding:1.5em 3%;
}

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

    .site_logo, .site_logo:hover, .site_logo img {
        display:block;
        position:relative;
        border:none;
		width:300px;
		max-width:300px;
		float:left;
		margin-bottom:0.5em;
		margin-top:-25px;
    }
	

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

@media only screen and (max-width: 870px) {
		.site_logo, .site_logo:hover, .site_logo img {
			float:none;
			margin:0 auto;
			text-align:center;
			margin-top:-55px!important;
		}
		
	}

/***************************************************************
 *
 * 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.2em;z-index:100;display:block;}
.nav li li:hover ul, .nav li li.sfHover ul {top:0; left:-250px;}

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

/* Customise from here... */

ul#menu-main-menu {float:right; margin-top:20px;}

header {
	/*background: rgba(255,255,255,0.8);*/
	/*background:#b80c2f;*/
	box-shadow: 0 0 40px rgba(0,0,0,0.7);
	padding:0.5em 0;
	background:url(images/header-bg-new.jpg) top center repeat-x;
	background-size:cover;
}

@media only screen and (max-width: 870px) {
header {
	padding:0;
}
}

header>nav {
    line-height:2;
}

.nav a {
    color: #FFF;
    padding:0 1em;
    border:none;
    display:block;
    text-decoration: none;
	border-bottom:3px solid #FFF;
}

.nav a:focus, .nav a:hover, .nav a:active, nav a:hover, nav .sfHover>a {
    color: #FFF;
	border-bottom:3px solid #194f7d;
}

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, nav .current-page-ancestor>a/*, .single-aacommerce_product nav .menu-item-151>a */ {
    color:#FFF;
    font-weight:bold;
	border-bottom:7px solid #FFF;
	
}

.nav li ul {
    display: none;
}

ul#menu-services {list-style:none; padding:0; margin:0;}

ul#menu-services li {
	width: 47%;
	margin: 0.5em 0.5em 0em 0; 
	color:#FFF; 
	text-shadow:1px 1px 1px #000; 
	float:left; 
	text-align:center; 
	box-shadow:0px 0px 5px rgba(0,0,0,0.7);
	background: #194f7d; /* Old browsers */
	background: -moz-linear-gradient(top,  #194f7d 1%, #112b56 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#194f7d), color-stop(100%,#112b56)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #194f7d 1%,#112b56 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #194f7d 1%,#112b56 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #194f7d 1%,#112b56 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #194f7d 1%,#112b56 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#194f7d', endColorstr='#112b56',GradientType=0 ); /* IE6-9 */
	border-left:8px solid #d00b1f;
}

ul#menu-services li.current_page_item {background:#b80c2f;}

ul#menu-services li:hover {background-color:#d00b1f; box-shadow:inset 0 0 30px rgba(0,0,0,0.7);}

ul#menu-services li a {color:#FFF; text-decoration:none; display:block; padding:9em 2% 5% 2%; font-size:0.9em;}

/* Aerial Photos */
ul#menu-services li.menu-item-46 a {background:transparent url(images/photography.png) center -10px no-repeat; }

/* Transfers */
ul#menu-services li.menu-item-47 a {background:transparent url(images/transfers.png) center -10px no-repeat;}

/* Animal Control */
ul#menu-services li.menu-item-48 a {background:transparent url(images/animalcontrol-new.png) center -10px no-repeat;}

/* Charter */
ul#menu-services li.menu-item-49 a {background:transparent url(images/charter.png) center -10px no-repeat; }

/* Stock */
ul#menu-services li.menu-item-50 a {background:transparent url(images/livestock.png) center -10px no-repeat;}

/* Deliveries */
ul#menu-services li.menu-item-55 a {background:transparent url(images/deliveries.png) center -10px no-repeat;}

/* Scenic */
ul#menu-services li.menu-item-51 a {background:transparent url(images/scenic.png) center -10px no-repeat;}

/* weddings */
ul#menu-services li.menu-item-52 a {background:transparent url(images/weddings.png) center -10px no-repeat;}

/* Crops */
ul#menu-services li.menu-item-297 a {background:transparent url(images/crop-icon.png) center -10px no-repeat;}

ul#menu-services li a {background-size:35%!important;}

.TrainingBanner {
	width:99%;
	margin: 0.5em 0.5em 0em 0; 
	color:#FFF; 
	text-shadow:1px 1px 1px #000; 
	text-align:center; 
	box-shadow:0px 0px 5px rgba(0,0,0,0.7);
	background: #194f7d; /* Old browsers */
	background: -moz-linear-gradient(top,  #194f7d 1%, #112b56 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#194f7d), color-stop(100%,#112b56)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #194f7d 1%,#112b56 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #194f7d 1%,#112b56 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #194f7d 1%,#112b56 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #194f7d 1%,#112b56 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#194f7d', endColorstr='#112b56',GradientType=0 ); /* IE6-9 */
	border-left:8px solid #d00b1f;}

.TrainingBanner:hover {background-color:#d00b1f; box-shadow:inset 0 0 30px rgba(0,0,0,0.7);}

.TrainingBanner a {text-decoration:none; color:#FFF; padding:0.5em 1em; display:block;}

.TrainingBanner a:hover {text-decoration:none; color:#FFF;}

.TrainingBanner h2 {border:none; margin:0; padding:0}

@media only screen and (max-width: 1000px) {
	
	.TrainingBanner {width:99%;}
}

@media only screen and (max-width: 870px) {
	
	.TrainingBanner {width:95%;}
	
	ul#menu-services li a {padding:8em 2% 5% 2%; background-size:contain!important;}
}

ul.sub-menu {background-color:#FFF;}

ul.sub-menu a, ul.sub-menu a:hover {color:#194f7d; border-bottom:1px solid #fff;}

ul.sub-menu a:hover {border-bottom:1px solid #b80c2f;}


/* 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 {
    padding:1em 3%;
    margin:0 auto;
    overflow:hidden;
    background: #eee;
	display:none;
}

    .mobile_sub_menu h2 {
        margin:0;
    }

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

/* Squish menu down into a button */
@media only screen and (max-width: 870px) {

    #menu-icon {
        padding:0 .75em;
        display: block;
        text-align: center;
        line-height: 3;
        color: #FFF;
        border-radius:3px;
        cursor: pointer;
		text-shadow:1px 1px 1px #000; 
		border-top:2px solid #fff;
		border-bottom:4px solid #194f7d;
    }
	

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

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

    .mobile_sub_menu {
        display:none;
    }

    header nav {
        margin:0 0 1em;
    }

    header nav>ul {
        clear: both;
        position: relative;
        z-index: 10000;
        background: #f8f8f8;
        border: 1px solid #999;
        border-top:none;
    }

    .nav { margin:0 0 1em; }

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

    .nav ul, .nav li { float:none; }
	
	ul#menu-main-menu {float:none; margin-top:0; margin:0 auto; position:absolute; width:100%; background:#FFF; z-index: 9999;}
	
	.nav a {color:#194f7d; text-align:center; border-bottom:none;}
	
.nav a:focus, .nav a:hover, .nav a:active, nav a:hover, nav .sfHover>a, 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, nav .current-page-ancestor>a/*, .single-aacommerce_product nav .menu-item-151>a */ {
	color:#194f7d;
	border-bottom:none;
	
}

}

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

#content {
	margin-top:25px;
	background:#FFF;	
	color:#194f7d;
	border-top-left-radius:1em;
	border-top-right-radius:1em;
}

article h1 {
    font-size: 1.8em;
	font-weight:300;
	margin-top:1em;
	border-bottom:1px solid #b80c2f;
}

article h2 {
    font-size: 1.4em;
	font-weight:300;
	border-bottom:1px solid #b80c2f;
}

article h3 {
    font-size: 1.2em;
}

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

article a {
    /* standard colours are okay, unless they're not */
}

article a:hover {
    color:#000;
}

/* Clear any floated images down near the bottom of posts */
.blog_navigation {
    clear:both;
}

/* 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;
}

.slideshow_container {box-shadow:0 0 5px rgba(0,0,0,0.7);}

#colorbox, #colorbox * {
    -moz-box-sizing:content-box;
    -webkit-box-sizing:content-box;
    box-sizing:content-box;
}

.FunFact {
	width:95%;
	margin:0 auto;
	margin-top:1em;
	background: #eee;
	padding:1em;
	border-radius:1em;
}

/* 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.3;
    }

        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;
		margin:0 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.3;
        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;
	border:none;
    cursor:pointer;
    border-radius:3px;
    padding: .5em .75em;
    text-decoration: none;
	text-shadow:1px 1px 1px #000; 
	text-align:center; 
	box-shadow:0px 0px 5px rgba(0,0,0,0.7);
	background: #194f7d; /* Old browsers */
	background: -moz-linear-gradient(top,  #194f7d 1%, #112b56 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#194f7d), color-stop(100%,#112b56)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #194f7d 1%,#112b56 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #194f7d 1%,#112b56 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #194f7d 1%,#112b56 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #194f7d 1%,#112b56 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#194f7d', endColorstr='#112b56',GradientType=0 ); /* IE6-9 */
}

    .button:hover {
        background-color:#d00b1f; 
		box-shadow:inset 0 0 20px rgba(0,0,0,0.7);	
		color: #fff;
		text-decoration:none;
    }

/* Gravity Forms Style fixes */ 

.gform_wrapper form {
    margin-top:0;
}

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:.3em;
        font-size:.9em;
        max-width:100%;
    }

article .gform_wrapper .gform_footer {
    padding:0;
}

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

.sidebar {
    background:#eee;
}

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

.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;
}

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

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

article.home {text-align:center;}

.cta {
    width:30%;
    margin: 0 3% 1em 0;
    background: #ccc;
    float: left;
}

    #cta3 {
        margin-right:0;
        width:33%;
    }

    .cta a {
        display:block;
        padding: .75em 1em;
    }

    .cta p {
        display:inline;
    }

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

    .cta, #cta3 {
        width: 100%;
        margin: 0 auto 1em auto;
        float: none;
    }

}

/***************************************************************
 *
 * 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 {
    border-top: 1px solid #aaa;
    font-size:.8em; /* footer has been set to 12.8px */
    clear: both;
	box-shadow:0px 5px 5px rgba(0,0,0,0.7);
	background: #194f7d; /* Old browsers */
	background: -moz-linear-gradient(top,  #194f7d 1%, #112b56 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#194f7d), color-stop(100%,#112b56)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #194f7d 1%,#112b56 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #194f7d 1%,#112b56 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #194f7d 1%,#112b56 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #194f7d 1%,#112b56 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#194f7d', endColorstr='#112b56',GradientType=0 ); /* IE6-9 */
}

    footer .contentbox {
        padding:1em 0;
    }

footer .widgetarea {
    width:100%;
    padding: 0 3% 0.1em;
    float: none;
	text-align:center;
}

.widgetarea .secondary, widgetarea tertiary {display:none;}

.Social {margin:0 5px 0;}

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

section.credits {
    clear:both;
    color:#194f7d;
    padding:1em 0 1em;
	font-size:0.8em;
    text-align:center;
}

section.credits span {color:#b80c2f;}

section.credits a {color:#194f7d; text-decoration:none;}

section.credits a:hover {color:#b80c2f; text-decoration:none;}

/* 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;
    }

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

}