/* 
========================================================================================================================
Title: 			Champion Chef website - layout and design
Author URI: 	www.altier.com.au

Description: 	Sets standard layout styles for entire site

Updated: 		05 September 2007
========================================================================================================================

COLOURS
Black				#000000
--
Pale grey:			#ebebeb
Mid grey:			#d2d2d2
Dark grey:			#999999
Darkest grey:		#333333
--
Red:				#CC0000
--
Pale grey/green:	#e bebe0
Mid grey/green:		#d 2d2bb
Dark grey/green:	#9 99966
Purple:				#64174d
Yellow:				#ffc20e
--
Logo Purple:		#6d3e67
Logo Yellow:		#f99d1c
--
======================================================================================================================== */


/* 
========================================================================================================================
RESET - LEVELS PLAYING FIELD ACROSS BROWSERS (A LOT OF THIS IS OVERWRITTEN BELOW, BUT THIS JUST ACTS AS INSURANCE)
======================================================================================================================== */
html, body, form, fieldset { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6, p, pre, blockquote, ul, ol, dl, address { margin: 1em 0; padding: 0; }
li, dd, blockquote { margin-left: 1em; }
a, button, label { cursor: pointer; }
input, select, textarea, th, td { font-size: 1em; }
fieldset { border: none; }

/* 
========================================================================================================================
BODY / PAGE SETUP
======================================================================================================================== */

*{ 
}

html{
	height: 100%;
}

body{
	margin: 0;
	padding: 10px 0 10px 0; /* bottom padding to force a scrollbar to prevent shifting on shorter pages */
	height: 100%;
	background: #000000 url(../images/interface/bg_body.gif) 0 0 repeat;
	background-attachment: fixed;
	color: #333333;
	font-family: arial, helvetica, sans-serif;
	/*
	Font sizing in ems beyond this point. if you want to change anything, just change this. Default 76%*/
	font-size: 76%; 
	/*
	IE 6 Peekaboo bug hack */
	line-height: 1.8em; 
	/*
	Win IE 5 horizontal center hack apply */
	text-align: center;
}

/* 
========================================================================================================================
IDS: LAYOUT
======================================================================================================================== */

/*
---------------------------------------------------------------------------------------------
CONTAINER MAIN
--------------------------------------------------------------------------------------------- */

#container{
	margin: 0 auto; 
	padding: 7px; 
	width: 760px;
	border: 3px solid #000000;
	background: #FFFFFF;
	/* 
	Win IE 5 horizontal center hack reset */
	text-align: left;
}
/* Start Holly Hack \*/
* html #container { width: 780px; w\idth: 760px; }
/* End Holly Hack */

/*
---------------------------------------------------------------------------------------------
SKIP LINKS
--------------------------------------------------------------------------------------------- */
#skip {
	height: 0;
	position: absolute;
	top: -900px;
}

/*
---------------------------------------------------------------------------------------------
MASTHEAD 
--------------------------------------------------------------------------------------------- */

#masthead {
	position: relative;
	margin: 0;
	height: 200px;
	background-color: #000000;
}

/*
---------------------------------------------------------------------------------------------
NAVIGATION 
--------------------------------------------------------------------------------------------- */

#navigation {
	position: relative;
	margin: 0;
	padding: 0;
	height: 2.7em;
	background: #000;
	border-top: 3px double #FFF;
	border-bottom: 3px double #FFF;
}
/* quick dirty hack to compensate for IE not bleeding the background colour under a doubled border */
* html #navigation {
	border-color: #000000;
 } 
#navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#navigation ul li {
	display: block;
	float: left;
	margin: 0;
	padding: 0;
}
#navigation ul li a {
	display: block;
	float: left;
	height: 2.7em;
	line-height: 2.7em;
	padding: 0 13px;
	border-right: 1px solid #000000;
	color: #FFFFFF;
	background: #000000;
	text-decoration: none;
	text-transform: uppercase;
}
#navigation ul li a:hover, #navigation ul li a:active {
	background: #cc0000 url(../images/interface/bg_nav_on.gif) 0 0 repeat;
}

/* welcome nav item */
#navigation ul li#welcome a {
	width: 190px;
	padding: 0 10px;
	overflow: hidden;
}
/* Start Holly Hack \*/
* html #navigation ul li#welcome a { width: 210px; w\idth: 190px; }
/* End Holly Hack */

/* order nav item */
#navigation ul li.order {
	float: right;
}
#navigation ul li.order a {
	padding: 0 13px;
	border: none;
}

/* redundant nav highlight state - method used by dw templates is below */
#navigation ul li a.current, #navigation ul li a.current:hover {
	background: #cc0000 url(../images/interface/bg_nav_on.gif) 0 0 repeat-x;
}

/* Set current navigation highlight state based on body id (needs to be assigned in dw templates) */
body#section-s0 #navigation #s0,
body#section-s1 #navigation #s1,
body#section-s2 #navigation #s2,
body#section-s3 #navigation #s3,
body#section-s4 #navigation #s4,
body#section-s5 #navigation #s5
{
	background: #cc0000 url(../images/interface/bg_nav_on.gif) 0 0 repeat;
}


/*
---------------------------------------------------------------------------------------------
CONTENT 
--------------------------------------------------------------------------------------------- */

#content-container {
	position: relative;
	margin: 7px 0;
	padding: 10px;
	background: transparent url(../images/interface/bg_content.gif) 0px 0px repeat-x;
}
#content-primary {
	float: left;
	width: 465px;
	margin: 0;
	padding-left: 20px;
	padding-right: 35px;
	background: #FFFFFF;
	border-top: 0px double #ebebeb;
}
/* Start Holly Hack \*/
* html #content-primary { width: 520px; w\idth: 465px; }
/* End Holly Hack */

#content-secondary {
	float: right;
	width: 190px;
	padding: 10px;
	color: #cc0000;
	background-color: #FFFFFF;
	text-align: center;
	line-height: 1.4em;
	border-top: 0px double #ebebeb;
}
/* Start Holly Hack \*/
* html #content-secondary { width: 210px; w\idth: 190px; }
/* End Holly Hack */

/* MODS FOR ONE COLUMN LAYOUT */
#content-container.onecol #content-primary {
	width: 685px;
	padding-left: 20px;
	padding-right: 35px;
}
* html #content-container.onecol #content-primary { width: 740px; w\idth: 685px; }
#content-container.onecol #content-secondary {
	display: none;
}

/***********/
#content-secondary ul li {
	list-style: none;
	margin: 0 5px;
	padding: 5px 3px;
	border-bottom: 1px solid #ebebeb;
}

/* Feature container in right hand column */
#content-secondary .feature-box {
	padding: 10px;
	background: #ebebeb;
	border: 3px double #FFFFFF;
}
/* Start Holly Hack - trigger hasLayout for IE \*/
* html #content-secondary .feature-box { height: 1px; }
/* End Holly Hack */

/* Additional links menu */
#content-secondary ul.additional-links {
	list-style: none;
	margin: 1em 0;
	padding: 0;
	padding: 10px;
	background: #ebebeb;
	border: 3px double #FFFFFF;
}
#content-secondary ul.additional-links li {
	list-style: none;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #FFFFFF;
}
#content-secondary ul.additional-links li a, #content-secondary ul.additional-links li a:visited {
	display: block;
	margin: 0;
	padding: 5px 3px;
	text-decoration: none;
	color: #cc0000;
}
/* Start Holly Hack - trigger hasLayout for IE \*/
* html #content-secondary ul.additional-links li a { height: 1px; }
/* End Holly Hack */

#content-secondary ul.additional-links li a:hover, #content-secondary ul.additional-links li a:active {
	background: #FFFFFF;
}

/*
---------------------------------------------------------------------------------------------
FOOTER 
--------------------------------------------------------------------------------------------- */

#footer {
	padding: 10px;
	background: #000000;
	color: #666666;
	font-size: 0.9em;
	line-height: 1em;
	border-top: 3px double #FFFFFF;
}
#footer .copyright {
	float: left;
	margin: 0;
	padding: 0;
}
#footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
#footer ul li {
	float: left;
	margin: 0 0 0 1em;
	padding: 0 0 0 1em;
	border-left: 1px solid #333333;
}
#footer a {
	color: #999999;
	text-decoration: none;
}
#footer a:hover, #footer a:active {
	text-decoration: underline;
}
#footer a.altier {
	float: right;
}

/* 
========================================================================================================================
CORE ELEMENTS
======================================================================================================================== */

/*
---------------------------------------------------------------------------------------------
HEADINGS
--------------------------------------------------------------------------------------------- */

h1, h2, h3 {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	color: #CC0000;
	background-color: #FFFFFF;
}
h1 {
	font-size: 1.4em;
	font-weight: bold;
	margin: 1em 0;
	padding: 0;}
h2 {
	font-size: 1.1em;
	font-weight: normal;
	margin: 1.1em 0em;
	padding: 0;
}
h3 {
	font-size: 1em;
	font-weight: bold;
	margin: 1em 0em;
	padding: 0;
}
h4, h5, h6 {
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #333333;
	margin: 1em 0;
	padding: 0;
}

/*
---------------------------------------------------------------------------------------------
PARAGRAPHS
--------------------------------------------------------------------------------------------- */

p {
}

/*
---------------------------------------------------------------------------------------------
QUOTES
--------------------------------------------------------------------------------------------- */

blockquote {
}
blockquote p {
}
cite {
}
blockquote cite {
}
q {
}

/*
---------------------------------------------------------------------------------------------
CODE
--------------------------------------------------------------------------------------------- */

pre {
	font-size: 1.2em;
}
code {
	font-size: 1.2em;
}
samp {
	font-size: 1.2em;
}
kbd {
	font-size: 1.2em;
}
p code {
}
pre code {
}

/*
---------------------------------------------------------------------------------------------
LISTS
--------------------------------------------------------------------------------------------- */

ol{
}
ul{
	
}
ol li{
}
ul li{
}

/*
---------------------------------------------------------------------------------------------
IMAGES
--------------------------------------------------------------------------------------------- */

img {
	border: none;
	vertical-align: middle;
}
a img {
	border: none;
}
#content-primary img {
	border: 1px solid #ebebeb;
	background: #FFFFFF url(../images/interface/bg_content.gif) 0 0 repeat-x;
	padding: 5px;
}
#content-primary a:hover img {
	border: 1px solid #d2d2d2;
}
img.align-left {
	float: left;
	margin-right: 1em;
}
img.align-right {
	float: right;
	margin-left: 1em;
}

/*
---------------------------------------------------------------------------------------------
HR
--------------------------------------------------------------------------------------------- */
hr {
	border: none;
	height: 1px;
	border-top: 1px dotted #d2d2d2;
}
/* Start Holly Hack \*/
* html hr { border-top: 1px solid #ebebeb; }
*:first-child+html hr { border-top: 1px dotted #d2d2d2; }
/* End Holly Hack */



/*
---------------------------------------------------------------------------------------------
TEXT FORMATTING
--------------------------------------------------------------------------------------------- */

strong{
}
em{
}
b{
}
i{
}

/*
---------------------------------------------------------------------------------------------
LINKS
--------------------------------------------------------------------------------------------- */

a {
	color: #333333;
}
a:hover {
	color: #CC0000;
}
a:visited {
	color: #666666;
}
a:active {
}
a:focus {
}

/*
---------------------------------------------------------------------------------------------
TABLES
--------------------------------------------------------------------------------------------- */

table {
	width: 100%;
	margin: 1em 0;
	padding: 0;
	border-collapse: collapse;
	border: none;
	font-size: 1em;
	text-align: left;
}
caption {
	font-style: italic;

}
thead {
}
tbody {
}
tfoot {
}
tr {
}
th{
	padding: 0.5em;
	vertical-align: top;
	text-align: left;
	background-color: #ebebeb;
	border: 0;
}
td{
	padding: 0.5em;
	vertical-align: top;
	border: 0;
}
td p, td h1, td h2, td h3, td h4, td h5, td h6, td ul, td ol, td dl,
th p, th h1, th h2, th h3, th h4, th h5, th h6, th ul, th ol, th dl {
	margin-top: 0;
}

/*
---------------------------------------------------------------------------------------------
FORMS
--------------------------------------------------------------------------------------------- */

/* Form field text-scaling */
input, select, textarea, button {
	font-size: 1em;
}
form {
}
fieldset {
	position: relative;
	display: block;
	padding: 1em;
	margin: 1em 0;
	background: #FFFFFF;
	border: 3px double #d2d2d2;
}
legend {
	position: relative;
	margin: 0;
	padding: 3px 7px;
	font-weight: normal;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	background: #ebebeb;
	border: 3px double #d2d2d2;
	color: #CC0000;
}
/* Start Holly Hack - IE overlaps fieldset bg color behind legend \*/
* html fieldset { margin: 1.7em 0; }
* html legend { position: relative; top: -1.4em; } 
*:first-child+html fieldset { margin: 1.7em 0; }
*:first-child+html legend { position: relative; top: -1.4em; } /* note these include IE7, as it retains the fieldset bg bug */
/* End Holly Hack */
label {
	display: block;
	text-align: left;
	cursor: pointer;
	color: #CC0000;
}
input, textarea, select {
	font-size: 1em;
	font-family: Arial, Helvetica, sans-serif;
	border: 1px solid #d2d2d2;
	padding: 3px 5px;
}
select {
}
optgroup {
}
option {
}
button, input.button, input.submit {
	font-family: Geneva, Arial, Helvetica, sans-serif;
	padding: 3px 7px;
	color: #FFFFFF;
	background: #CC0000 url(../images/interface/button_bg.gif) 0 0 repeat-x;
	border: 3px double #FFFFFF;
	cursor: pointer;
}
button:hover, input.button:hover, input.submit:hover {
	border: 3px solid #CC0000;
}

/* Contact forms */
form.contact-form {
}
form.contact-form label {
	display: block;
	width: 90px;
	float: left;
	padding-right: 15px;
	text-align: left;
}
form.contact-form p {
	border-bottom: 1px solid #d2d2d2;
	padding: 8px 0;
	margin: 0;
}
.instructions {
	font-size: 0.8em;
	font-style: italic;
	color: #CC0000;
}

/* PayPal forms */
form.paypal-form {
}
form.paypal-form label {
	display: block;
	width: 90px;
	float: left;
	padding-right: 15px;
	text-align: left;
}
form.paypal-form p {
	border: 0;
	padding: 8px 0;
	margin: 0;
}
.instructions {
	font-size: 0.8em;
	font-style: italic;
	color: #CC0000;
}
/*
---------------------------------------------------------------------------------------------
DEFINITIONS
--------------------------------------------------------------------------------------------- */

dl {
}
dt {
	margin-top: 1em;
	font-weight: bold;
	font-style: italic;
}
dd {
}


/* 
========================================================================================================================
CLASSES: GENERIC 
======================================================================================================================== */

.hide {
	display:none;
}
.show {
	display:block;
}
.float_left {
	float: left;
}
.float_right {
	float: right;
}
.float_none {
	float: none;
}
.align_left {
	text-align: left;
}
.align_center {
	text-align: center;
}
.align_right {
	text-align: right;
}
.clear {
	clear: both;
}

/* 
========================================================================================================================
HACKS, FIXES & WORKAROUNDS
======================================================================================================================== */

/*
---------------------------------------------------------------------------------------------
CLEARFIX - Cross-browser clearing method
--------------------------------------------------------------------------------------------- */
.clearfix:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.clearfix {display: inline-block;}
/* Start Holly Hack \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End Holly Hack */
