/*
	Theme Name: IMS
	Theme URI:
	Description:
	Version:
	Author: Together
	Author URI: http://togetherdigital.com.au
	Tags:

*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font:300 11px/1.4 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color:#444;
/*
	background-color: #EAEFEF;
*/
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:top;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#0f6184;
	text-decoration: underline;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

p, a, ul, ol, input, .textwidget {
    font-family: 'Cantarell', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}
article {
    font-size: 1.3em;
}
h1, h2, h3, h4, h1 a, h2 a {
    font-family: 'Fjalla One', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: normal;
    text-transform: uppercase;

    color: #02364C;
}
h1 {
    font-size: 3.2em;
}
h2, h3 {
    font-size: 2em;
}
.headline p {
    font-family: 'Fjalla One', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    font-size: 3.5em;

    color: #FFFFFF;
}
nav {
    font-family: 'Fjalla One', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.4em;
    text-transform: uppercase;
}
nav ul li a {
    font-family: 'Fjalla One', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #02364C;
}
nav li.current_page_item a {
    color: #bf2839;
}
















ul#menu-sidebar a {
    font-family: 'Fjalla One', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.4em;
    text-transform: uppercase;
}
.wrapper section a {
    font-family: 'Fjalla One', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    color: #02364C;
}
.wrapper section a:hover {
	color:#0f6184;
}
footer .contact h1, footer .contact p {
    color: #FFFFFF;
}


/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/


/* header */
.header {
/*
	max-width:1070px;
*/
    width: 100%;
    padding: 0px;
	margin:0 auto;
	position:relative;

	background-color: #9bbbcd;
}
header .brand {
    padding-top: 30px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #FFFFFF;
}

.logo {
    width: 114px;
    float: left;

    margin-left: 90px;
}
.logo-img {
    width: 114px;
    height: 50px;
}
.nav {
    margin-right: 85px;
    float: right;

    margin-top: 30px;
}
/* wrapper */
.wrapper {
	max-width:1070px;
	padding-top: 40px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 60px;
	margin:0 auto;
	position:relative;

	background-color: #FFFFFF;
}
/* main content nest */
.wrapper section {
    width: 560px;
    padding-bottom: 30px;
    margin-left: 90px;
    float: left
}

/* sidebar */
.sidebar {
    width: 200px;
    margin-left: 90px;
    float: left;
}
.sidebar-widget {
    padding-bottom: 30px;
}
ul#menu-sidebar {
    list-style: none;
    padding-left: 0px;
}
/* footer */
.footer {
/*
	max-width:1070px;
*/
    width: 100%;
    padding: 0px;
	margin:0 auto;
	position:relative;

	background-color: #9bbbcd;
}
footer .contact {
    padding-top: 30px;
    padding-bottom: 30px;
    padding-left: 20px;
    padding-right: 20px;

    background-color: #343434;
}
footer .contact section {
    width: 850px;
    margin-left: 90px;
    float: left
}
footer .copyright {
    padding-top: 0px;
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #FFFFFF;
}

/*------------------------------------*\
    HEADER/FOOTER BANNERS
\*------------------------------------*/


header .banner, footer .banner {
    position: relative;
    height: 300px;
}
header .banner.no-headline, footer .banner.no-headline {
    height: 90px;
    overflow: hidden;
}
.banner .overlay, .banner .image, .banner .slides, .banner .headline {
    position: absolute;
    height: 300px;
    width: 100%;
}
.banner .overlay {
    background-image: url(img/banner-overlay.png);
    background-repeat: repeat;
    z-index: 20;
}
footer .banner .image {
    background-image: url(img/farm.jpg);
}
.banner .headline {
    padding-left: 20px;
    margin-left: 90px;
    width: 80%;
    z-index: 21;
}
.banner .headline .outer-nest {
    position: relative;
    height: 300px;
}
.banner .headline .inner-nest {
    position: absolute;
    top: 0px;
    height: 300px;
    display: table;
}

.banner .headline .inner-nest p {
  display: table-cell;
  vertical-align: middle;
}


/*------------------------------------*\
    DROPDOWN
\*------------------------------------*/



nav ul{
    list-style:none;
    margin-top: 0px;
    margin-bottom:10px;
    padding-left: 10px;
    float:left;
    width:100%;
    position:relative;
    z-index:50;
}
nav ul li{
    float:left;
    margin-right:10px;
    position:relative;
}
nav ul a{
    display:block;
    padding:5px;
}
nav ul ul {
    background-color:#fff; /* Adding a background makes the dropdown work properly in IE7+. Make this as close to your page's background as possible (i.e. white page == white background). */
    list-style:none;
    position:absolute;
    width: 200px;
    left:-9999px; /* Hide off-screen when not needed (this is more accessible than display:none;) */
}
nav ul ul li {
    padding-top:1px; /* Introducing a padding between the li and the a give the illusion spaced items */
    float:none;
}
nav ul ul a {
    white-space:nowrap; /* Stop text wrapping and creating multi-line dropdown items */
}
nav ul li:hover ul { /* Display the dropdown on hover */
    left:0; /* Bring back on-screen when needed */
}
.tinynav {
    display: none;
}










/*------------------------------------*\
    FORM
\*------------------------------------*/



.form-field {
    font-family: 'Cantarell', 'Helvetica Neue', Helvetica, Arial, sans-serif;
   border: 1px solid #ffffff;
   background: #292929;
   -webkit-border-radius: 3px;
   -moz-border-radius: 3px;
   border-radius: 3px;
   color: #ffffff;
   padding:8px;
   margin-bottom:0px;
   width:280px;
   }
.form-field:focus {
   background: #424242;
   color: #ffffff;
   }


.submit-container {
   margin:8px 0;
   text-align:right;
   }
.submit-button {
   border: 1px solid #ffffff;
   background: #292929;
   -webkit-border-radius: 5px;
   -moz-border-radius: 5px;
   border-radius: 5px;
   color: #ffffff;
    font-family: 'Fjalla One', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: normal;
    text-transform: uppercase;   padding: 8.5px 18px;
   font-size: 14px;
   text-decoration: none;
   vertical-align: middle;
   width:280px;
   }
.submit-button:hover {
   border: 1px solid #ffffff;
   background: #424242;
   color: #fff;
   }
.submit-button:active {
   border: 1px solid #ffffff;
   background: #424242;
   color: #fff;
   }




label.error {
    display: none!important;
}

.form-field.error {
    border-color: red;
}




/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/




@media only screen and (max-width:768px) {
    .logo, .banner .headline, .wrapper section, .sidebar, footer .contact section, footer .copyright section {
        margin-left: 0px;
    }

    .nav {
        margin-right: 0px;
    }

    .wrapper section, footer .contact section {
        width: 100%;
    }

    .headline p {
        font-size: 2.5em;
    }

}




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


    .tinynav {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    .nav {
        float: none;
        margin: 0px;
        padding-top: 20px;
        padding-bottom: 20px;
        width: 100%;
    }

    nav ul {
        display: none;
    }

    .logo {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

}




/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#9BB6B6;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#9BB6B6;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#9BB6B6;
	color:#FFF;
	text-shadow:none;
}
li.page-item-7 {
  display: none; /* Hide 'home' on menu */
}
.slidesjs-container, .slidesjs-control {
    height: 300px!important;
/*
    width: 1070px!important;
*/
}
.slidesjs-navigation {
    display: none!important;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}