/*
 Theme Name: Haycroft
 Theme URI: http://www.haycroft.com.au
 Description: Haycroft 2009 theme.
 Version: 1.0
 Author: Jason Foss, Almost Anything Web and Graphic Design
 Author URI: http://www.almostanything.com.au
 */
/*
 * COLOURS
 * red					:	ff0000
 * green				:	00ff00
 * blue					:	0000ff
 *
 * based on 960 12 col grid
 * columns 60px
 * column gaps 20px
 *
 * CONTENTS
 * 1.Header and Body
 * 2.Main Content
 * 3.Forms
 * 3.Footer
 * 4.Navigation
 * 5.News
 * 6.Sidebar
 * 7.Homepage
 */
/*
 * 1.Header and Body
 */
body {
    margin: 0;
    padding: 0;
    font-family: "Lucida Grande", "Trebuchet MS", "Gill Sans", Calibri, "Myriad Pro", sans-serif;
    /* ditch the background image when you have your alignment sorted */
    color: #000;
}

.outer { /* you can use this as a CSS hook or to constrian the entire width */
    width: 100%;
}

#header {
    background: #fff;
    width: 100%;
    height: 142px;
    position: relative; /* this is here for any absolute positioning */
}

#header h1 {
    margin: 0;
    padding: 1.3em 0 0 0;
    width: 354px;
    height: 63px;
    font: normal bold 2em / 1.5em sans-serif;
}

#header h1 a {
    color: #1d888f;
    text-decoration: none;
    display: block;
    width: 354px;
    height: 63px;
    text-indent: -9999px;
    background: transparent url(images/logo.png) no-repeat;
}

p#description {
    color: #299cb1;
    background: transparent url(images/description.png) no-repeat;
    text-indent: -9999px;
    width: 559px; /* 4 cols */
    height: 51px;
    float: right;
    margin: 3em 0 0 0;
    font: italic bold 1em / 1.6em sans-serif;
}

form#search {
    position: absolute;
    bottom: -29px;
    right: 0;
}

form#search input {
    background: #eee;
    border: 1px solid #ddd;
    padding: .3em .5em;
    color: #666;
}

form#search input#btnSearch {
    background: #299cb1;
    border: 1px solid #188cb1;
    color: #fff;
    cursor: pointer;
}

form#search input#btnSearch:hover {
    background: #188cb1;
    border: 1px solid #055cb1;
}

form#search input#btnSearch:focus, form#search input#btnSearch:active {
    background: #185d69;
    border: 1px solid #15505b;
}

.widthlimiter {
    width: 960px;
    margin: 0 auto;
    position: relative; /* this is here for any absolute positioning */
}

/*
 * 2.Main Content
 */
#homepromo {
    height: 300px;
    background: #299cb1;
}

#homepromo #ctacontainer {
    width: 595px;
    float: left;
}

#homepromo #ctacontainer .cta {
    width: 21%;
    padding: 10px 1%;
    height: 180px;
    position: relative;
    margin: 50px 1%;
    float: left;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    background: transparent url(images/white50transparency.png);
}

#ctacontainer .cta h2 {
    color: #134751;
    font-size: .7em;
    line-height: 1.3em;
    margin: 0;
    text-align: center;
}

#ctacontainer .cta p {
    position: absolute;
    bottom: 2.7em;
    left: .5em;
    margin: 0 .5em 0 0;
    color: #195e6b;
    font-size: 1em;
    text-align: center;
    line-height: 1.2em;
    font-weight: bold;
}

#ctacontainer .cta p.readmore {
    bottom: 0;
    left: 0;
    font-size: .9em;
    width: 100%;
}

#ctacontainer .cta p.readmore a {
    display: block;
    color: #fff;
    padding: .5em 0;
    text-decoration: none;
    text-transform: lowercase;
    background: #075f7b;
    -webkit-transition: all 500ms linear;
}

#ctacontainer .cta p.readmore a:hover {
    background: #333;
}

#testimonials {
    float: right;
	position:relative;
    height: 300px;
    width: 350px;
	padding:0 0 0 15px;
    overflow: hidden;
	background:transparent url(images/quotationmark.png) 0% 90% no-repeat;
	display:block;
}

#testimonials h2, #testimonials h1 {
    color: #fff;
}

#testimonials h2 {
	font-size:1em;
	text-transform:none;
	margin:0;
}

#testimonials p {
	color:#fff;
	font-size:.8em;
}

#content {
    font: normal .9em / 1.6em "Lucida Grande", "Trebuchet MS", "Gill Sans", Calibri, "Myriad Pro", sans-serif;
    width: 560px; /* 8 cols */
    float: left;
    color: #444;
}

h1, h2, h3, h4, h5 {
    color: #299cb1;
    margin-bottom: .5em;
    text-transform: uppercase;
}

h1 {
    font-size: 1.4em;
    margin-top: 0;
}

.homepage h1 {
    margin-top: 1em;
}

h2 {
    font-size: 1.2em;
}

h3 {
    font-size: 1.1em;
    color: #000;
    text-transform: none;
}

h4 {
    font-size: .9em;
    color: #000;
}

h1 + *, h2 + *, h3 + *, h4 + *, h5 + * {
    margin-top: 0;
}

h1 a {
    text-decoration: none; /* cause posts start with h1 and they are always links */
}

a {
    color: #1a8c8c;
}

a:hover {
    color: #000;
    text-decoration: none;
}

a#viewalltestimonials {
	display:block;
	height: 250px;
    width: 375px;
	text-indent:-9999px;
	z-index:9999;
	background:#fff;
	background:rgba(255,255,255,0);
	filter: alpha(opacity=01);
	position:absolute;
	zoom:1;
	top:0;
	left:0;
}

#contactlocations {
    background: #f7f7f7;
    margin: 1em 0;
    overflow: hidden;
}

#contactlocations h2 {
    margin: 0 0 .5em 0;
    border-bottom: 1px solid #eee;
}

#contactlocations ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

#contactlocations li {
    padding: .3em 0 0 0;
    margin: 0;
}

.contactlocation {
    width: 46%;
    padding: 1.5% 1.9%;
    float: left;
}

#kangaroopoint {
    text-align: right;
    border-left: 1px solid #ddd;
}

#sidebar li {
    padding: 0 15px !important;
    margin: 0;
}

#sidebar h2 {
    margin-left: -15px;
    width: 350px;
    padding: .3em 0 .3em 15px;
    background: #6bb8c7;
    color: #fff;
}

#sidebar h3 {
    margin: 0;
    font-size: 1em;
    color: #1a8c8c;
}

#sidebar div.execphpwidget p, #sidebar div.execphpwidget label {
    margin: 0;
    font-size: .9em;
}

#sidebar div.execphpwidget ul, #sidebar div.execphpwidget li {
    list-style: none;
    padding: 0 !important;
}

#sidebar div.execphpwidget {
    padding-bottom: 1em;
}

#mf-sidebar div.mf_sidebar {
    margin: 1.5em auto 0 auto;
    width: 275px;
    padding: 0;
}

#sidebar div.execphpwidget br {
    display: none;
}

/* the next 3 rules are for the way WP sets its image floats */
#content img.alignleft, #content div.alignleft {
    float: left;
    margin: 0 0.5em 0.5em 0;
}

#content img.alignright, #content div.alignright {
    float: right;
    margin: 0 0 0.5em 0.5em;
}

#content img.aligncentered, #content div.aligncentered {
    text-align: center;
    margin: 0 auto;
}

/* These 2 will make image captions look a bit like polaroids */
.wp-caption {
    background: #ccc;
}

p.wp-caption-text {
    font-size: 80%;
    text-align: center;
    padding: 0;
    margin: 0;
}

table.people td{
    border-bottom: 1px solid #299cb1;
    padding:.75em 0;
    line-height:1.4em;
}

table.people td img {
    margin-left:1.5em;
}

/*
 * 3.Forms
 * Override any of the default cforms styles here by prefixing with #content
 * to increase specifity
 */
#content .cform, #content .cform fieldset {
    margin: 0;
    padding: 0;
}

#content .cform legend {
    font-family: sans-serif;
}

#content .cform fieldset {
    border: 1px solid #ddd;
    background: #f5f5f5;
}

#content .cform fieldset legend {
    font-size: 1.2em;
    margin: 0 0 0 1em;
    font-weight: bold;
}

#content .cform ol, #content .cform ol li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#content .cform ol {
    padding: .5em 0;
}

#content .cform ol li {
    padding: .5em 1em;
	overflow:hidden;
	clear:left;
}

#content .cform ol li.cf_li_err {
    background: #fff;
}

#content .cform ol li.cf_li_err label, #content .cform ol li.cf_li_err .reqtxt, #content .cform ol li.cf_li_err .emailreqtxt {
    color: #f00;
}

#usermessagea {
    font-size: 1.2em;
    color: #299cb1;
    margin: 1em 0;
}

#content .cform ol li.even {
    background: #eee;
}

#content .cform label {
    width: 140px;
    color: #299cb1;
    font-weight: bold;
    padding: 0 10px 0 0;
    text-align: right;
    float: left;
	clear:left;
    display: block;
}

#content .cform li.cf-box-group {
	clear:left;
}

#content .cform li.cf-box-title {
	font-weight:bold;
}

#content .cform li.cf-box-group label, #content .cform li.cf-box-group input {
	float:right;
	width:auto;
}

#content .cform li.cf-box-group input {
	clear:right;
	margin:.4em 0 0 0;
}

#content .cform label:after {
    content: ": ";
}

#content .cform .reqtxt, #content .cform .emailreqtxt {
    font-size: .8em;
    margin: 0 1em;
    color: #999;
}

#content .cform #sendbutton {
    background: #f5f5f5;
    font-size: 1.2em;
    padding: .3em .5em;
    border: 1px solid #ccc;
    border-color: #e2e2e2 #ccc #ccc #e2e2e2;
    cursor: pointer;
}

#content .cform #sendbutton:focus, #content .cform #sendbutton:active {
    background: #eee;
    border-color: #ccc #e2e2e2 #e2e2e2 #ccc;
}

.linklove, .cf_hidden { /*hides link to author but still gives them the backlink*/
    display: none;
}

.button {
	display: inline-block;
	zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
	*display: inline;
	vertical-align: baseline;
	margin: 0 2px;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	font: 14px/100% Arial, Helvetica, sans-serif;
	padding: .5em 2em .55em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	-webkit-border-radius: .5em; 
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.button:hover {
	text-decoration: none;
}
.button:active {
	position: relative;
	top: 1px;
}
 
 
.big {
    font-size:130%;
}
.green {
	color: #e8f0de;
	border: solid 1px #007f93;
	background: #299CB1;
	background: -webkit-gradient(linear, left top, left bottom, from(#299CB1), to(#007f93));
	background: -moz-linear-gradient(top,  #299CB1,  #007f93);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#299CB1', endColorstr='#007f93');
}
.green:hover {
	background: #007f93;
	background: -webkit-gradient(linear, left top, left bottom, from(#299CB1), to(#007f93));
	background: -moz-linear-gradient(top,  #299CB1,  #007f93);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#299CB1', endColorstr='#007f93');
}
.green:active {
	background: -webkit-gradient(linear, left top, left bottom, from(#299CB1), to(#007f93));
	background: -moz-linear-gradient(top,  #299CB1,  #007f93);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#299CB1', endColorstr='#007f93');
}
.vacancy-category-list, .vacancy-category-list li {
    list-style:none;
    padding:0;
}
.vacancy-category-list li {
    float:left;
    display:block;
    width:48%;
    padding:0 1%;
    
}

.vacancy-category-button {
    display:block;
    width:auto;
}

/*
 * 3.Footer
 * Text should be a little smaller and more subtle in contrast.
 */
#footer {
    clear: both;
    background: #299cb1;
    padding: .5em 0;
    width: 100%;
    text-align: center;
}

#footer p {
    font-size: 0.8em;
    line-height: 1.4em;
    margin: 0;
    padding: 0 1em;
    display: inline;
    color: #fff;
}

#footer a {
    color: #fff;
    border-bottom: 2px dashed #2dabc2;
    text-decoration: none;
}

#footer a:hover {
    background: none;
    border-bottom: 2px dashed #34c5df;
}

/*
 * 4.Navigation
 * Ahhh, the fun part. If you get stuck, ask Jeff Vader. I'm his brother.
 * http://www.youtube.com/watch?v=7tUNNM-Hyu8
 */
/*** ESSENTIAL STYLES ***/
/* don't change these guys too much - unless you've got a really good reason! */
.nav, .nav * {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav {
    float: left;
	position:relative;
	z-index:9999;
}

.nav ul {
    position: absolute;
    top: -999em;
}

.nav ul li {
    width: 100%;
}

.nav li {
    float: left;
    position: relative;
    z-index: 99;
}

.nav a {
    display: block;
}

.nav li:hover li ul, .nav li.sfHover li ul {
    top: -999em;
}

.superfish li:hover ul, .superfish li li:hover ul {
    top: -999em;
}

/*** NAVIGATION SKIN ***/
/* customise this as much as you like... */

#menu {
    /*width: 960px;*/
    background: #e6ebf1;
	position:relative;
	z-index:9999;
    height: 34px;
    line-height: 34px;
    margin: 0 0 1em 0;
    font-size: .9em; /* would prefer a larger size if you can make it fit */
    border-bottom: 10px solid #299cb1;
}

.homepage #menu {
    border-bottom: 0;
    margin-bottom: .3em;
}

.nav li {
    background: #e6ebf1;
    text-align: center;
}

.nav a {
    color: #8f9296;
    padding: 0 1em;
    text-decoration: none;
    -webkit-transition: all 150ms linear;
}

.nav li:hover a, .nav li.sfHover a, .nav a:focus, .nav a:hover, .nav a:active, .current_page_item a {
    color: #66686b;
    background: none;
}

.nav li li:hover a, .nav li.sfHover li a {
    color: #fff;
}

.nav li li a:focus, .nav li li a:hover, .nav li li a:active {
    background: #207b8c;
    color: #fff;
}

.current_page_item a, .current_page_parent a, .current_page_parent .current_page_item a {
    font-weight: bold;
}

.current_page_parent li a {
    font-weight: normal;
}

.current_page_item li a {
    font-weight: normal;
}

.nav ul {
    width: 210px; /* dropdown width */
    background: #299cb1;
    padding: 10px 0 0 0;
	font-size: .95em;
}

.nav ul li {
    text-align: left;
    background: #299cb1;
    line-height: 1.6em;
}

.nav ul li a {
    padding: .3em 1em;
}

.nav li:hover ul, ul.nav li.sfHover ul { /* relative pozzie of dropdown */
    left: 0px;
    top: 34px;
}

.nav li li:hover ul, ul.nav li li.sfHover ul { /* pozzie of 2nd level dropdown */
    left: 125px;
    top: -1px;
}

/*
 * 5.News
 */
.postdate, .postmetadata {
    font-size: 0.8em;
    font-style: italic;
}

/*
 * 6.Sidebar
 */
ul#sidebar {
    width: 365px; /* 300 without the 1 px border & padding - 4 columns */
    float: right;
    margin: 0 0 0 15px;
    padding: 0;
    list-style: none;
    background: #e6ebf1;
}

#sidebar ul, #sidebar li {
    padding: 0;
    margin: 0;
    list-style: none;
}

#sidebar li ul { /* a nested list, so this should actually be displayed as a list */
    padding-left: 20px;
}

#sidebar li li {
    list-style-type: disc;
}