/** 
 * Air NZ EnviroTrust Project.
 * 
 * Contains all the layout and structure for the design 
 * @author Will <will@silverstripe.com>
 *
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
* {
	margin: 0;
	padding: 0;
}
html {
	background: #D4D7C2 url(../images/page-background.jpg) no-repeat top center;
}

html.tempsecurity {
	background: #ffffff center;
}

	html#LightBox {
		background: #D4D7C2;
		background-image: none;
		padding: 10px;
	}
body {
	font-family: Arial, Verdana, sans-serif;
}
a {
	color: #ffa500;
	text-decoration: none;
}
	a img { border: none; }

/* CLASS'S */
.left { float: left; }
.right { float: right; }
.clear { clear: both; }
.red { color: #f00; }
.printOnly { display: none; }

/* Layout and Structure
-------------------------------------------- */
#Container {
	width: 960px;
	margin: 0 auto;
}
#LeftCol {
	float: left;
	width: 750px;
}
#RightCol {
	float: right;
	width: 190px;
}
#Header {
	height: 120px;
	width: 100%;
	display: block;
}
	#Header h1 {
		display: block;
		width: 251px;
		height: 86px;
		float: left;
		margin: 16px 0 0 136px;
		_margin-left: 68px;	
	}
	#Header h1 a {
		display: block;
		width: 251px;
		height: 86px;
		text-indent: -90000px;
		float: left;
		background: url(../images/logo.jpg) no-repeat;
	}

/* NAVIGATION */
#Navigation {
	float: left;
	margin-top: 16px;
	width: 210px;
}
	#Navigation ul {}
		#Navigation li {
			list-style: none;			
		}
			#Navigation li a {
				display: block;
				width: 160px;
				height: 30px;
				outline-color: #bcc0a4;
				outline: none;
				font-size: 12px;
				color: #336600;
				text-decoration: none;
				text-align: center;
				background-position: top center;
			}
				#Navigation li a.about-the-trust {
					background: url(../images/nav-aboutthetrust.gif);
					text-indent: -90000px;
				}
				#Navigation li a.home {
					background: url(../images/nav-home.gif);
					text-indent: -90000px;
				}
				#Navigation li a.projects {
					background: url(../images/nav-projects.gif);
					text-indent: -90000px;
				}
				#Navigation li a.how-you-can-help {
					background: url(../images/nav-howyoucanhelp.gif);
					text-indent: -90000px;
				}
				#Navigation li a.how-we-can-help {
					background: url(../images/nav-howwecanhelp.gif);
					text-indent: -90000px;
				}
				#Navigation li a.contact-us {
					background: url(../images/nav-contactus.gif);
					text-indent: -90000px;
				}
				#Navigation li a.corporate-supporters {
					background: url(../images/nav-corporatesupporters.gif);
					text-indent: -90000px;
				}
				#Navigation li a.apply-for-funding {
					background: url(../images/nav-applyforfunding.gif);
					text-indent: -9000px;
				}
				#Navigation li a:hover {
					background-position: bottom center;
					color: #ff6600;
				}
				#Navigation li a.current {
					background-position: bottom center;
					color: #ff6600;
				}
					#Navigation li ul {
						display: block;
						margin-bottom: 5px;
					}
						#Navigation li li a {
							height: auto;
							padding: 3px 0;
							margin: 2px 0;
							width: 180px;
						}
							#Navigation li li a:hover {
								background: url(../images/nav-standardhover.gif) no-repeat center center;
							}
/* LAYOUT */
#Layout {
	float: right;
	width: 540px;
}
	#Layout #Top {
		width: 540px;
		height: 7px;
		background: url(../images/container-top.gif) no-repeat;
	}
	#Layout #Content {
		width: 540px;
		background: url(../images/container-mid.gif) repeat-y;
	}
	#Layout #Bottom {
		width: 540px;
		height: 11px;
		background: url(../images/container-bottom.gif) no-repeat;
	}

/* TYPOGRAPHY */
.typography {
	width: 500px;
	float: left;
	margin: 10px 0 10px 20px;
	_margin-left: 10px;
}
	html#LightBox .typography {
		width: 490px;
		float: none;
		overflow-x: hidden;
		margin: 0 auto;
	}
/* LEFT COLUMN */
#DonateNow {
	margin-top: 20px;
}

/* RIGHT COLUMN */
#RightCol {}
	#RightCol h3 {
		margin-bottom: 8px;
	}
	#RightCol div.infoBox {
		display: block;
		float: right;
		width: 161px;
		height: 78px;
		margin-bottom: 12px;
		padding: 10px;
		overflow: hidden;
		background: #fff url(../images/right-box.jpg) no-repeat;
	}
		#RightCol div.infoBox h4 {
			font-size: 11px;
			color: #6b8e23;
			margin-bottom: 8px;
			font-weight: bold;
		}
		#RightCol div.infoBox p {
			font-size: 11px;
			line-height: 16px;
			color: #6b8e23;
		}

/* SUBCONTENT PAPER FEEL. This is for the 'paper' feel in the forms */
#SubContent {
	width: 505px;
	background: #f0f0ec url(../images/subcontent-mid.gif) repeat-y;
}
	#SubContent #PaperFold {
		width: 505px;
		height: 25px;
		background: url(../images/subcontent-top.gif);
	}
	#SubContent #RoundBottom {
		width: 505px;
		height: 12px;
		background: url(../images/subcontent-bottom.gif);
	}
	#SubContent #SubContentContent {
		margin: 10px 20px 20px 20px;
	}
	
/* DONATION FORM */
#DonationHelp {
	width: 100%;
	border-bottom: 1px dotted #ffa500;
	padding-bottom: 10px;
	margin-bottom: 30px;
	text-align: center;
}
	#DonationHelp img {
		margin: 0 auto;
	}
.formMessage {
	margin: 0 0 20px 0;
	width: 100%;
	border-top: 1px dotted #ffa500;
	padding: 10px 0;
	text-align: center;
	color: #D2691E;
	font-size: 11px;
	border-bottom: 1px dotted #ffa500;
}
#DonationForm_Form .Actions {
	text-align: center;
	margin: 0 auto 20px;
}
	#DonationForm_Form .Actions input {
		margin: 0 auto;
	}

#DonationForm_Form div.field.short div.middleColumn input,
#DonationForm_Form div.field.short div.middleColumn select{
	width: 100px;
}
#Password .red {
	display: none;
}
	#Password div .red {
		display: inline;
	}
	
/* FOOTER */
#Footer {
	width: 960px;
	padding-top: 15px;
	margin: 0 auto;
	height: 200px;
}
	#Footer p {
		color: #8D906D;
		width: 480px;
		margin: 0 auto;
		font-size: 11px;
	}
		#Footer p a {
			color: #8D906D;
			text-decoration: none;
			padding: 0 3px;
		}
#DonateFooter {
	width: 540px;
	margin: 0 auto;
}
	#DonateFooter a {
		outline: none;
	}
#donationreceipt,
#donationdetails {
	margin-top: 40px;
}
/* DONATE FORM STYLING */
#PartnerIcon {
	float: right;
	position: absolute;
	top: 140px;
	width: 150px;
	height: 100px;
	overflow: hidden;
	margin: 0 0 0 350px;
	z-index: 800;
}
	#PartnerIcon.inContent {
		position: relative;
		top: -50px;
		margin: 0 0 10px 10px;
	}
	.printleft #PartnerIcon.inContent {
		top: -90px;
	}
	#PartnerIcon h4 {
		color: #333;
		margin-bottom: 6px;
	}
/* FANCYBOX */
div#fancy_overlay {
	position:absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	background-color: #333;
}

div#fancy_loading {
	position: absolute;
	height: 40px;
	width: 40px;
	cursor: pointer;
	display: none;
	overflow: hidden;
	background: transparent;
	z-index: 100;
}

div#fancy_loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background: transparent url(../images/fancy/fancy_progress.png) no-repeat;
}

div#fancy_close {
	position: absolute;
	top: -12px;
	right: -12px;
	height: 30px;
	width: 30px;
	background: transparent url(../images/fancy/fancy_closebox.png) ;
	cursor: pointer;
	z-index: 100;
	display: none;
}

div#fancy_content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	padding: 0; 
	margin: 0;
	z-index: 96;
}

#fancy_frame {
	position: relative;
	width: 100%;
	height: 100%;
	display: block;
}

img#fancy_img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border:0; 
	padding: 0; 
	margin: 0;
	z-index: 92;
}

div#fancy_title {
	position: absolute;
	bottom: -35px;
	left: 0;
	width: 100%;
	z-index: 100;
	display: none;
}

div#fancy_title table {
	margin: 0 auto;
}

div#fancy_title div {
	color: #FFF;
	font: bold 12px Arial;
	padding-bottom: 2px;
}

td#fancy_title_left {
	height: 32px;
	width: 15px;
	background: transparent url(../images/fancy/fancy_title_left.png) repeat-x;
}

td#fancy_title_main {
	height: 32px;
	background: transparent url(../images/fancy/fancy_title_main.png) repeat-x;
}

td#fancy_title_right {
	height: 32px;
	width: 15px;
	background: transparent url(../images/fancy/fancy_title_right.png) repeat-x;
}

div#fancy_outer {
	position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    padding: 18px 18px 58px 18px;
    margin: 0;
    overflow: hidden;
    background: transparent;
    display: none;
}

div#fancy_inner {
	position: relative;
	width:100%;
	height:100%;
	border: 1px solid #FFF;
	background: #FFF;
}

a#fancy_left, a#fancy_right {
	position: absolute; 
	bottom: 10px; 
	height: 100%; 
	width: 35%; 
	cursor: pointer;
	background-image: url(../data:image/gif;base64,AAAA);
	z-index: 100; 
}

a#fancy_left {
	left: 0px; 
}

a#fancy_right {
	right: 0px; 
}

a#fancy_left:hover {
	background: transparent url(../images/fancy/fancy_left.gif) no-repeat 0% 100%;
}

a#fancy_right:hover {
	background: transparent url(../images/fancy/fancy_right.gif) no-repeat 100% 100%;
}

#fancy_bigIframe, #fancy_freeIframe {
	position:absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 10;
}

div#fancy_bg {
	display: none;
}
	
div.fancy_bg {
	position: absolute;
	display: block;
	z-index: 70;
}

div.fancy_bg_n {
	top: -18px;
	width: 100%;
	height: 18px;
	background: transparent url(../images/fancy/fancy_shadow_n.png) repeat-x;
}

div.fancy_bg_ne {
	top: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(../images/fancy/fancy_shadow_ne.png) no-repeat;
}

div.fancy_bg_e {
	right: -13px;
	height: 100%;
	width: 13px;
	background: transparent url(../images/fancy/fancy_shadow_e.png) repeat-y;
}

div.fancy_bg_se {
	bottom: -18px;
	right: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(../images/fancy/fancy_shadow_se.png) no-repeat;
}

div.fancy_bg_s {
	bottom: -18px;
	width: 100%;
	height: 18px;
	background: transparent url(../images/fancy/fancy_shadow_s.png) repeat-x;
}

div.fancy_bg_sw {
	bottom: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(../images/fancy/fancy_shadow_sw.png) no-repeat;
}

div.fancy_bg_w {
	left: -13px;
	height: 100%;
	width: 13px;
	background: transparent url(../images/fancy/fancy_shadow_w.png) repeat-y;
}

div.fancy_bg_nw {
	top: -18px;
	left: -13px;
	width: 13px;
	height: 18px;
	background: transparent url(../images/fancy/fancy_shadow_nw.png) no-repeat;
}
