/*
Theme Name: GEIDB
Theme URI: http://www.gladstoneindustry.org.au
Description: 2010 theme for the GEIDB.
Version: 1
Author: Jylan Wynne, 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-size:1em;
    font-family: Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif;
    color: #000;
	background:#e4ebf3;
}

.outer {
    width: 100%;
}

#header {
    width: 100%;
	background:#fff;
    position: relative;
}

#searchnav {
	text-align:right;
	width: 960px;
	margin:0 auto;
	padding:1em 0 .3em 0;
}

#mainheader {
	background:#0e2f50 url(images/headerBg.jpg) right top no-repeat;
	height:173px;
	width: 960px;
	margin:0 auto;
}

#header h1 {
    margin: 0 0 0 .7em;
    padding: .7em 0 0 0;
    font: normal bold 30px/100px sans-serif;
	width:228px;
	height:131px;
	float:left;
}

#header h1 a{
	color: #fff;
	display:block;
	background:transparent url(images/logo.png) no-repeat;
	width:228px;
	height:131px;
	text-indent:-9999px;
	text-decoration: none;
}

form#search {
	margin:0 0 1em 0;
}

form#search input#searchbox {
	background:#f4fcfd;
	-webkit-border-radius:15px;
	-moz-border-radius:15px;
	border:none;
	font-size:.8em;
	padding:.4em;
	color:#1e5b9a;
	font-style:italic;
	border-top:2px solid #dee5e6;
	border-left:2px solid #dee5e6;
}

form#search input.active {
	font-style:normal !important;
}

form#search input#btnSearch {
	color:#1e5b9a;
	text-transform:uppercase;
	font-weight:bold;
	background:none;
	border:none;
	cursor:pointer;
}

ul#ctas, ul#ctas li {
	list-style:none;
	margin:10px 0;
	padding:0;
}

ul#ctas {
	float:right;
	margin-bottom:10px;
	margin-top:20px;
	position:relative;
	right:310px;
}

ul#ctas a {
	display:block;
	text-align:right;
	width:360px;
	text-decoration:none;
	padding:.3em .5em;
	background:#274462;
	color:#fff;
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	font-weight:bold;
	font-size:1.1em;
	font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
	text-shadow:2px 2px 0 rgba(0,0,0,0.3);
}

ul#ctas a span {
	color:#fede66;
}

ul#ctas a:hover span {
	color:#fff;
}

ul#ctas a:hover {
	color:#fede66;
	text-shadow:-1px -1px 0 #000;
}

#submenu {
	background:#f5f5f5;
	margin:0 0 0 -10px;
	width:647px;
	padding:.5em 10px;
	font-size:1em;
}

#submenu li {
	display:inline;
	list-style:none;
	margin:0 .3em;
}

#submenu li a {
	color:#274462;
	background:none;
}

#submenu li.current_page_item a {
	color:#000;
	font-weight:bold;
	text-decoration:none;
}

.widthlimiter {
	width:960px;
	margin:0 auto;
	background:#fff url(images/contentBgRepeater.png) top right repeat-y;
	position:relative;
	overflow:hidden
}

/*
 * 2.Main Content
 */

#content{
    font-size:.9em;
	line-height:1.5em;
	padding:0 10px 1em 10px;
	width: 639px; /* 8 cols */
	float: left;
	color:#333;
}

h1, h2, h3, h4, h5 {
    color: #feca0a;
	text-transform:uppercase;
	border-bottom:1px dashed #274462;
	padding:0 0 .2em 0;
	margin:1em 0 .5em 0;
}

.blog h1, .archive h1 {
	margin-bottom:.1em;
}

h1 {
	font-size:1.4em;
}

h2 {
	font-size:1.2em;
}

h2#factsheets {
	border-bottom:none;
	margin-bottom:0;
}

h2#factsheets+ul {
	margin-top:0;
}

h3 {
	font-size:1em;
}

h4 {
	font-size:.9em;
}

#sidebar a {
	display:block;
	border:none;
	margin:.5em 0;
	color:#274462;
	background:none;
	text-transform:capitalize;
	font-size:.9em;
	text-decoration:none;
}

#sidebar a:hover {
	color:#39638f;
}

h1 a{
	text-decoration: none; /* cause posts start with h1 and they are always links */
}

a { /* please don't turn text-decoration off unless you have a really good reason! */
    color: #333;
}

a:hover {
    background-color: #eee;
    color: #333;
    text-decoration: none;
}

li.current-cat {
	font-weight:bold;
}

div.videoembed {
	float:left;
	background:#eee;
	padding:.5em 1em .1em .5em;
	margin:1em 0;
	font-weight:bold;
}

div#mediaspace {
	float:left;
	margin-right:1em;
}

#page2 div#mediaspace {
	float:right;
	margin:0 0 1em 1em;
}

div.execphpwidget a img {
	border:none;
}

/* the next 3 rules are for the way WP sets its image floats */

#content img.alignleft, #content div.alignleft {
	float:left;
	margin:0 1em 1em 0;
}
#content img.alignright, #content div.alignright {
	float:right;
	margin:0 0 1em 1em;
}
#content img.aligncentered, #content div.aligncentered {
	text-align:center;
	margin:0 auto;
}

#content img {
	border:1px solid #ccc;
	padding:1px;
}

/* These 2 will make image captions look a bit like polaroids */

.wp-caption{
	background:#eee;
	padding:.5em;
	border:1px solid #ccc;
}

p.wp-caption-text{
	font-size:80%;
	text-align:center;
	padding:0;
	margin:0;
}

/*
 * 3.Forms
 * Override any of the default cforms styles here by prefixing with #content
 * to increase specifity
 */
#content .cform legend {
    font-family: sans-serif;
}
#content .cform fieldset {
    background: #cccccc;
}
.linklove { /*hides link to author but still gives them the backlink*/
    display: none;
}

/*
 * 3.Footer
 * Text should be a little smaller and more subtle in contrast.
 */
#footer {
	clear: both;
    background: #103c7a;
    width: 100%;
	text-align:center;
}

#footer .widthlimiter {
	background:transparent;
}

#footer p {
    font-size: 0.8em;
    line-height: 1.4em;
	padding:.5em 0;
    color: #fff;
	float:left;
}

#footer p#designedby {
	float:right;
}

#footer a {
    color: #ccc;
    text-decoration: none;
}
#footer a:hover {
	background:none;
    text-decoration: underline;
}

/*
 * 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:right; position:relative; z-index:9; }
.nav li { display:block; position:relative; float:left; }
.nav ul { position:absolute; top:-999em; }
.nav ul li { width: 100%; position:relative; }
.nav ul a { display:block; }

/*** NAVIGATION SKIN ***/

.nav {
    font-size: .8em;
}
.nav li {
	text-align: center;
	padding-right:.5em;
	margin-right:.5em;
	border-right: 1px solid #fed747;
}

.nav li:last-child {
	border:none;
	margin:0;
	padding:0;
}

.nav a {
	color: #103c7a;
}

.nav li.current_page_item a, .nav li.current_page_ancestor a {
	color: #333;
	text-decoration:none;
}

.nav li:hover, .nav li.sfHover,
.nav a:focus, .nav a:hover, .nav a:active {
	color: #333;
	background:none;
}

.nav ul {
	background:#fff;
	-webkit-border-bottom-right-radius:5px;
	-webkit-border-bottom-left-radius:5px;
	-moz-border-radius-bottomright:5px;
	-moz-border-radius-bottomleft:5px;
	border-bottom-right-radius:5px;
	border-bottom-left-radius:5px;
	-webkit-box-shadow:5px 5px 10px rgba(0,0,0,0.4);
	padding:0 0 .2em 0;
	width:165px;
	font-size:1.1em;
}

.nav ul li {
	text-align:left;
	width:100%;
	padding:0;
	border:none;
}

#header .nav ul li a {
	color:#666;
	border-bottom:1px solid #eee;
	display:block;
	text-decoration:none;
	padding:.2em .5em;
}

#header .nav ul li:last-child a {
	border-bottom:none;
}

#header .nav ul li a:hover, #header .nav ul li.current_page_item a {
	color:#333;
}

#header .nav ul li.current_page_item a {
	font-weight:bold;
}

.nav li:hover ul, ul.nav li.sfHover ul { /* relative pozzie of dropdown */
	left:-.5em;
	top:18px;
}

.nav li li:hover ul, ul.nav li li.sfHover ul { /* pozzie of 2nd level dropdown */
	left:180px;
	top:-1px;
}

/*
 * 5.News
 */
.postdate, .postmetadata{
	font-size:1em;
	color: #000;
	margin-top:0;
	font-style:italic;
}

.postmetadata {
	background:#f3f3f3;
	color:#666;
	padding:.3em .5em;
	border-top:1px solid #ddd;
}

.postmetadata a {
	color:#555;
}

.category .postmetadata {
	display:none;
}

/*
 * 6.Sidebar
 */

ul#sidebar{
	width: 247px;
	float: right;
	margin: 0 0 0 10px;
	border: 1px solid #b2c0d4;
	border-width:0 12px;
	padding: 0 10px 1em 10px;
	list-style: none;
}

#sidebar ul, #sidebar li{
	padding: 0;
	margin: 0;
	list-style: none;
}

/**
 * Members area Junk :)
 **/

.logout-link {
    float:right;
}
#login_form {
    background:#0E2F50;
    padding: 10px;
    width:250px;
    margin:0 auto;
    color:#fff;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
}
#login_form a {
    
    color:#fff;
}
#login_form #wp-submit {
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    background:none repeat scroll 0 0 #274462;
    width:100%;
font-size:1.1em;
font-weight:bold;
text-shadow:2px 2px 0 rgba(0, 0, 0, 0.3);
color:#fff;
font-family:Frutiger,"Frutiger Linotype",Univers,Calibri,"Gill Sans","Gill Sans MT","Myriad Pro",Myriad,"DejaVu Sans Condensed","Liberation Sans","Nimbus Sans L",Tahoma,Geneva,"Helvetica Neue",Helvetica,Arial,sans-serif;
padding:0.3em;
cursor:pointer;
}

#login_form input{
    border:1px solid #0E2F50;
    width:auto;
    width:247px;
}
