/*
Theme Name: Maliganis Edwards Johnson
Theme URI: http://mej.com.au/
Description: Customised WordPress theme written for MEJ  by <a href="http://www.zoogroup.com.au/">ZOO Group</a>.
Version: 1.0
Author: Adam Cooper
Author URI: http://www.zoogroup.com.au
Tags: photorealistic, shadows, textures, zoo

Sections in this stylesheet:
INCLUDES	- Other stylesheets to import
TYPOGRAPHY	- Typography rules and colours (includes rules for p, headings etct)
STRUCTURE	- Document structure  (includes body, #header, #footer etc)
NAVIGATION	- Navigation elements (.pagenav)
TABLES 		- Tables specific rules (table, tr, th, td etc)
FORMS		- Form specific rules (form, fieldset, input etc)
ELEMENTS	- Default styles for generic elements not covered by other rules
MISC		- Other miscellaneous rules (ie: .hidden)
All section headers are denoted with an '='

Colours used in this stylesheet:
#fcf6e3		- light beige text, background
#a68c6c		- dark beige text
#dcd3b4		- medium beige background
#6a5337		- brown content text
#90060a		- dark red text, background
#fbf5e3		- light beige content background
#efe7d0		- light beige table row background
#f5eed9		- lighter beige table row background
#e1d4b4		- yet another beige

Font sizes used in this stylesheet:
12pt, 16pt, 20pt, 25pt
*/

/*
=INCLUDES
Import other stylesheets 
*/
@import url(reset-fonts.css);

/*
=TYPOGRAPHY
Begin Typography & Colors 
*/

body
{
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Georgia, 'Hoefler Text', 'HoeflerText-Regular', Times, Sans-serif;
	color: #6a5337;
	text-align: center;
}

#page
{
	text-align: left;
}

#header
{
}

#headerimg
{
}

.post
{
	font-size: 1.2em;
}

.home .post
{
	font-size: 2.5em;
	font-weight: normal;
	text-align: right;
	color: #fcf6e3;
	text-shadow: rgb(0,0,0) 0px 2px 5px;
}

.entry
{
}

#footer
{
}

p, ul, li
{
	font-weight: normal;
	margin-bottom: 1em;
}

ul
{
	padding-left: 1em;
}

li
{
	list-style-type: disc;
}

li li
{
	list-style-type: circle;
}

p.first
{
	font-size: 1.66em;
	border-style: dotted;
	border-width: 0 0 2px 0;
	border-color: #90060a;
	padding-bottom: 2em;
}

h1
{
}

h2
{
	font-size: 1.66em;
	color: #90060a;
	margin-bottom: 0.75em;
}

h3
{
	font-size: 1.33em;
	margin-bottom: 0.75em;
}

h4
{
	font-style: italic;
	margin-bottom: 0.75em;
}

blockquote
{
	font-size: 1.33em;
	text-align: right;
	color: #a68c6c;
}

p.edit
{
	display: block;
	position: absolute;
	padding: 0.5em 1em;
	top: 15px;
	right: 0;
	background-color: #4d4a47;
	
	-moz-border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	border-radius: 0.5em;
	text-transform: uppercase;
}

p.edit a
{
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
	color: #fff;
	text-decoration: none;
}
/* End TYPOGRAPHY */


/* 
=STRUCTURE
Begin Structure 
*/
html
{
	background-image: url(images/body_bg.jpg);
	background-repeat: no-repeat;
	background-position: 50% -11px;
	background-color: #e1d4b4;
}

body
{
	
}

#page
{
	display: block;
	position: relative;
	width: 1032px;
	height: 456px;
	margin: -20px auto 0 auto;
	padding-top: 228px;
	/*
	background-image: url(images/page_bg.png);
	background-repeat: no-repeat;
	*/
	overflow: visible;
}

#header
{
	display: block;
	position: absolute;
	width: 945px;
	height: 172px;
	top: 72px;
	left: 0;
	margin: 0;
	padding-top: 45px;
	background-image: url(images/header_bg.png);
	background-repeat: no-repeat;
	overflow: visible;
	z-index: 1;
}

#header #nav
{
	display: block;
	position: relative;
	width: 80em;
	height: 84px;
	margin: 0 0 0 259px;
	padding: 0;
}

#header #nav .spare1,
#header #nav .spare2
{
	display: block;
	position: relative;
	float: left;
	height: 84px;
	background-color: transparent;
	z-index: 3;
}

#header #nav .spare1
{
	width: 80px;
	background-image: url(images/nav_bg.png);
	background-position: 0 0;
	background-repeat: repeat-x;
}

#header #nav .spare2
{
	width: 23px;
	background-image: url(images/nav_bg_cap.png);
	background-position: -23px 0;
	background-repeat: no-repeat;
}

#headerimg
{
	display: block;
	position: absolute;
	width: 200px;
	top: 0;
	left: 0;
	margin: 25px;
}

#headerimg .description
{
	display: none;
}

#headerimg h1 a
{
	display: block;
	position: relative;
	height: 101px;
	width: 175px;
	background-image: url(images/mej_logo.gif);
	background-repeat: no-repeat;
	margin: 10px 0 0 38px;
	overflow: hidden;
	font-size: 1px;
	text-indent: -900em;
}

.post
{
	display: block;
	position: relative;
	margin: 0 auto;
	padding: 43px 0 0 0;
	width: 786px;
	height: auto;
	background-image: url(images/content_bg.png);
	background-repeat: repeat-y;
}

.home .post
{
	background-image: none;
}

.post .cap
{
	display: block;
	position: absolute;
	left: 0;
	bottom: -49px;
	clear: both;
	margin: 0 auto;
	padding: 0;
	width: 786px;
	height: 49px;
	background-image: url(images/content_bg_cap.png);
	background-repeat: no-repeat;
}

.home .post .cap
{
	display: none;
	background-image: none;
}

.entry
{
	display: block;
	position: relative;
	margin: 0 85px 0 230px;
	width: auto;
	min-height: 400px;

	zoom: 1;
}

.home .post .entry
{
	margin-left: 85px;
	margin-right: 345px;
	min-height: 300px;
}

.postmetadata
{
	padding-top: 5px;
	clear: both;
}

#footer
{
	display: block;
	position: relative;
	left: 0;
	padding: 6em 0 0 100px;
	margin: 0 auto 0 auto;
	width: 856px;
	height: 30px;
	clear: both;
}

/* End STRUCTURE */


/*
=NAVIGATION
Begin navigation elements
*/

#nav li
{
	list-style-type: none;
	clear: none;
}

.search
{
	display: none;
}


.pagenav,
.pagenav ul
{
	display: block;
	position: relative;
	float: left;
	height: 100%;
	width: auto;
	padding: 0;
	text-indent: 0;
}

.pagenav h2,
.pagenav li
{
	display: block;
	position: relative;
	float: left;
	text-indent: 0;
	padding: 0;
	margin: 0;
	height: 100%;
	width: auto;
}

.pagenav h2
{
	width: 23px;
	font-size: 1pt;
	text-indent: -900em;
	overflow: hidden;
	color: #90060a;
	background-color: transparent;
	
	background-image: url(images/nav_bg_cap.png);
	background-position: 0 0;
	background-repeat: no-repeat;
	
	z-index: 3;
}

.pagenav li a 
{
	display: block;
	position: relative;
	
	width: auto;
	height: auto;
	margin: 0;
	padding: 35px 10px;
	
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	font-size: 1.2em;
	font-weight: bold;
	color: #fcf6e3;
	
	background-color: transparent;
	background-image: url(images/nav_bg.png);
	background-position: 0 0;
	background-repeat: repeat-x;
	
	z-index: 3;

}

.pagenav li.current_page_item a,
.pagenav li a:hover
{
	color: #c16964;
}


.pagenav li ul
{
	display: none;
	position: absolute;
	width: 130px;
	height: auto;
	top: 69px;
	left: -5px;
	padding-top: 0;
	padding-left: 0px;
	z-index: 2;
	background-color: #fcf6e3;
	list-style-type: none;
	list-style-position: outside;
	text-indent: 0;
	overflow: hidden;
	
	border-style: solid;
	border-color: #efe7d0;
	border-width: 0 1px 1px 1px;
	
	-webkit-box-shadow: 0px 2px 5px #504430;
	-moz-box-shadow: 0px 2px 5px #504430;
	box-shadow: 0px 2px 5px #504430;
	-webkit-border-bottom-left-radius: 5px;
	-moz-border-radius-bottomleft: 5px;
	border-bottom-left-radius: 5px;
	-webkit-border-bottom-right-radius: 5px;
	-moz-border-radius-bottomright: 5px;
	border-bottom-right-radius: 5px;
}

.pagenav li:hover ul,
.pagenav li ul:hover
{
	display: block;
}

.pagenav li ul li
{
	display: block;
	position: relative;
	height: auto;
	width: auto;
	float: none;
	clear: both;
	background-color: #fcf6e3;
	margin: 0 5px;
	padding: 0;
	border-style: dotted;
	border-width: 1px 0 0 0;
	border-color: #c16964;
	list-style-type: none;
	list-style-position: outside;
	text-indent: 0;
}

.pagenav li ul li a 
{
	display: block;
	position: relative;
	height: auto;
	width: 100%;
	padding: 0;
	margin: 15px 0;
	color: #6a5337;
	background-color: #fcf6e3;
	background-image: none;
	border-style: none;
	text-indent: 0;
	text-transform: none;
}

.pagenav li ul li a:hover
{
	color: #90060a;
}


/* See CSS notes */
.pagenav .page-item-15
{
	display: none;
}

#footer .pagenav
{
	left: 0;
	margin: 0 0 0 0;
	padding: 0;
	height: auto;
}

#footer .pagenav strong,
#footer .pagenav li
{
	float: left;
	font-size: 12px;
	padding: 0;
	margin: 0 20px 0 0;
	color: #a08868;
}

#footer .pagenav a
{
	display: inline;
	background-color: transparent;
	background-image: none;
	color: #a08868;
	font-weight: normal;
	font-size: 12px;
	text-transform: none;
	padding: 0;
	margin: 0 0 0 0;
}

#footer .pagenav li.current_page_item a,
#footer .pagenav a:hover
{
	color: #6a5337;
}

#footer p.author
{
	display: block;
	position: relative;
	float: left;
	height: 10px;
	width: 34px;
	padding: 0;
	margin-top: 1px;
	overflow: hidden;
	text-indent: 900em;
	font-size: 1px;
}

#footer p.author a
{
	display: block;
	position: absolute;
	height: 10px;
	width: 34px;
	margin: 0;
	top: 0;
	left: 0;
	background-image: url(images/zoo_logo.gif);
	background-repeat: no-repeat;
	background-position: -10px left;
	overflow: hidden;
	text-align: left;
	text-indent: -900em;
	font-size: 1px;
}

#footer p.author a:hover
{
	background-position: 0px left;
}

/* End NAVIGATION */

/* 
=TABLE
Begin Table Elements
*/

table, tr
{
	width: 100%;
	border-collapse: collapse;
}

th, td
{
	padding: 5px 20px;
}

tfoot
{
	display: none;
}

thead th
{
	background-color: #efe6d0;
	color: #90060a;
	font-size: 1.33em;
}

tbody tr
{
	border-width: 1px 0 0 0;
	border-color: #fcf6e3;
	border-style: solid;
	background-color: #f4eed7;
}

tbody tr.even
{
	background-color: #efe6d0;
}

tbody th
{
	border-width: 0 1px 0 0;
	border-color: #e1d4b4;
	border-style: solid;
	font-weight: bold;
}

/* End TABLE */

/* 
=FORMS
Begin Form Elements
*/
#searchform
{
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
}

#searchform #s
{
	width: 108px;
	padding: 2px;
}

#searchsubmit
{
	padding: 1px;
}

select
{
	width: 130px;
}

#commentform input
{
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
}

#commentform textarea
{
	width: 100%;
	padding: 2px;
}

#commentform #submit
{
	margin: 0;
	float: right;
}
/* End Form Elements */

/* 
=ELEMENTS
Begin rules for generic elements 
*/
acronym, abbr, span.caps
{
	cursor: help;
}

acronym, abbr
{
	border-bottom: 1px dashed #999;
}

blockquote
{
	display: block;
	position: relative;
	width: 155px;
	float: left;
	margin: 250px 0 0 -190px;
}

blockquote cite
{
	margin: 5px 0 0;
	display: block;
}

hr
{
	display: none;
}

a img
{
	border: none;
}


/* End ELEMENTS */

/*
=MISC
Begin miscellaneous
*/

.hidden
{
	display: none;
}

.clear
{
	display: block;
	width: 100%;
	clear: both;
}

/* .photo is converted to polaroid by JS, .polaroid is left untouched */
.photo,
.polaroid
{
	display: block;
	position: relative;
	float: left;
	margin: -54px 20px 0 -350px;
}

.home .post .photo,
.home .post .polaroid
{
	display: block;
	position: absolute;
	float: none;
	left: auto;
	top: -83px;
	right: -441px;
	margin: 0;
}


div.randombg1 {
	background-image: url(images/car.png);
	background-position:left top;
	background-repeat:no-repeat;
	width: 426px;
	height: 332px;
}

div.randombg2 {
	background-image: url(images/girl.png);
	background-position:left top;
	background-repeat:no-repeat;
	width: 426px;
	height: 332px;
}

div.randombg3 {
	background-image: url(images/worker.png);
	background-position:left top;
	background-repeat:no-repeat;
	width: 426px;
	height: 332px;
}

div.randombg4 {
	background-image: url(images/xray.png);
	background-position:left top;
	background-repeat:no-repeat;
	width: 426px;
	height: 332px;
}

div#map {
	margin: 0 0 0 90px;
}

/* End MISC */