/** 
 * Kids Restore New Zealand Project.
 * 
 * Contains all the layout and structure for the design 
 * @author Will <will@silverstripe.com>
 *
 */
 
/* Misc Styles and defaults 
-------------------------------------------- */
* {
	margin: 0;
	padding: 0;
}
html {
	min-height: 100%;
	_height: 100%;	
}
	html#LightBox {
		background: #fff;
	}
		html#LightBox body {
			background: #fff;
		}
		html#LightBox .typography {
			position: static;
			width: auto;
			margin: 20px;
		}
body {
	font: 11px/16px "Lucida Grande", Helvetica, Verdana, sans-serif;
	background: #dbe8f0 url(../images/page-bg-gradient.gif) repeat-x top;
	color: #565656;
}
a {
	color: #1f7fc1;
	font-weight: bold;
	text-decoration: none;
}
	a:hover {
		text-decoration: underline;
	}
	a img { border: none; }

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

/* Layout and Structure
-------------------------------------------- */

/* CONTAINER */

#Wrapper {
	width: auto;
	margin: 0 auto;
	height: 100%;
	overflow: hidden;
	padding-bottom: 320px;
	position: relative;	
}

#Container {
	width: 960px;
	margin: 0 auto;
}

/* HEADER */
#Header {
	width: 778px;
	float: left;
	background: url(../images/header-menu-bg.gif) repeat-x bottom left;
	margin: 50px 0 0 21px;
	height: 168px;
}
	#Header h1 {
		display: block;
		float: left;
		width: 186px;
		background: url(../images/kids-restore-logo-bg.jpg);
		height: 168px;
	}
		#Header h1 a {
			display: block;
			width: 120px;
			height: 104px;
			float: left;
			margin: 24px 0 0 40px;
			text-indent: -9000000px;
			outline: none;
			cursor: pointer;
			background: url(../images/kids-restore-logo.jpg);
		}
/* MENU */
#Navigation {
	float: left;
	margin-top: 64px;
	display: block;
	height: 104px;
	background: url(../images/nav-topright.gif) no-repeat top right;
	width: 592px;
}
	#Navigation ul {
		float: left;
		overflow: hidden;
	}
		#Navigation li {
			list-style: none;
			float: left;
		}
			#Navigation li a {
				display: block;
				float: left;
				margin: 7px 10px 0 0;
				height: 27px;
				overflow: hidden;
				text-indent: -90000px;
			}
				#Navigation li a span {
					display: none;
					float: left;
					height: 27px;
				}
	
				#Navigation li a.home,
				#Navigation li a.home span {
					background: url(../images/nav-home.jpg) no-repeat top left;
					width: 58px;
				}
				#Navigation li a.who-we-are,
				#Navigation li a.who-we-are span {
					background: url(../images/nav-who.jpg) no-repeat top left;
					width: 108px;
				}
				#Navigation li a.what-we-do,
				#Navigation li a.what-we-do span {
					background: url(../images/nav-what.jpg) no-repeat top left;
					width: 108px;
				}		
				#Navigation li a.apply,
				#Navigation li a.apply span {
					background: url(../images/nav-apply.jpg) no-repeat top left;
					width: 58px;
				}
				#Navigation li a.help-us,
				#Navigation li a.help-us span {
					background: url(../images/nav-help.jpg) no-repeat top left;
					width: 75px;
				}
				
				#Navigation li a.home span,
				#Navigation li a.who-we-are span,
				#Navigation li a.what-we-do span,
				#Navigation li a.apply span,
				#Navigation li a.help-us span {
					background-position: bottom left;
				}
				
				#Navigation li a.section {
					background-position: bottom left;
				}
/* ARROWS */
a.arrow {
	display: block;
	width: 61px;
	height: 0;
	float: left;
	padding-top: 72px;
	overflow: hidden;
}
	
#LeftArrow {
	float: left;
	clear: both;
	margin-top: 60px;
	width: 121px;
}
	#LeftArrow a.arrow {
		float: right;
		background: url(../images/nav-arrows-left.jpg) no-repeat top left;
	}
		/* Need to define hover on #ID to beat last rule */
		#LeftArrow a.arrow:hover {
			background-position: bottom left;
		}
#RightArrow {
	width: 120px;
	float: left;
	margin-top: 60px;
}
	#RightArrow a.arrow {
		background: url(../images/nav-arrows-right.jpg) no-repeat top left;	
	}
		/* Need to define hover on #ID to beat last rule */
		#RightArrow a.arrow:hover {
			background-position: bottom left;
		}
		
/* LINK TO HOME - ON DONATION THANKS */
#LinkToHome {}
	
	#LinkToHome a {
		font-size: 16px;
		float: right;
		margin-top: 16px;
		text-align: right;
	}		
/* LAYOUT */
#Layout {
	width: 678px;
	float: left;
	background: url(../images/layout-bg.gif) repeat-y;
	margin: 0px;
}

/* MENU 2 */
#Menu2 {
	width: 245px;
	float: right;
	background: #e7f3fa;
}
	#Menu2 .menu-top {
		display: block;
		height: 18px;
		width: 245px;
		background: url(../images/menu2-top.gif) no-repeat;
	}
	#Menu2 .menu-bottom {
		width: 245px;
		height: 41px;
		clear: both;
		background: url(../images/menu2-bottom.gif) no-repeat;
	}
	#Menu2 ul {
		margin: 0 10px 0 18px;
	}
		#Menu2 li {
			list-style: none;
			margin: 0 0 8px 0;
		}
		#Menu2 li a {
			font-weight: normal;
		}
		#Menu2 li h4 {
			color: #1F7FC1;
			margin: 0;
			border-bottom: 1px solid #ddd;
			font-weight: bold;
		}
/* FOOTER */
#Footer {
	width: 678px;
	margin: 0 0 0 121px;
	background: url(../images/layout-footer.gif) no-repeat;
}
	#Footer p {
		color: #5ca5d9;
		font-size: 11px;
		margin: 0 30px 0 30px;
	}
		#Footer a {
			color: #2e79af;
		}
		#Footer p.donateBtn {
			margin:0;
			width: 664px;
			height: 60px;
			clear: both;
		} 
			#Footer p.donateBtn a {
				display: block;
				width: 105px;
				height: 37px;
				outline: none;
				float: right;
				display: block;
				text-indent: -80000px;
				background: url(../images/donate-button.gif) no-repeat top left;
			}
			
/* ANIMATION */

#AnimatedInner {
	position: relative;
	width: 960px;
	height: 320px;
	overflow: visible;
	margin: 0 auto;
	z-index: 10;
}

#AnimatedOuter {
	background: #dbe8f0 url(../images/kids-restore-bkgd.jpg) repeat-x bottom center;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 320px;
	overflow: hidden;
	z-index: 8;
}

#Kayaker {
	position: absolute;
	bottom: 16px;
	left: 60px;
	width: 80px;
	height: 30px;
	_height: 16px;
	z-index: 1000;
}	
	#Kayaker.right {
		background: url(../images/anim/kayak-right.png) right no-repeat;
		_background: url(../images/anim/kayak-ie.png) right no-repeat;
		_width: 40px;
	}
	#Kayaker.right.stroke {
		background: url(../images/anim/kayak-right-stroke.png) right no-repeat;
	}	
	#Kayaker.left {
		background: url(../images/anim/kayak-left.png) left no-repeat;
		_width: 40px !important;
	}
	#Kayaker.left.stroke {
		background: url(../images/anim/kayak-left-stroke.png) left no-repeat;
	}	

#HangGlider {
	position: absolute;
	width: 90px;
	height: 90px;
	left: 70px;
	top: 46px;
	background: url(../images/anim/HangGlider.gif) no-repeat;
	z-index: 999;
}
	#HangGlider.looping {
		background: url(../images/anim/HangGliderLooped.gif) no-repeat;
	}

#Bird {
	position: absolute;
	width: 30px;
	height: 30px;
	right: -73px;
	bottom: 111px;
	z-index: 999;
	background: url(../images/anim/bird-sitting.gif) no-repeat;
}
	#Bird.flying {
		background: url(../images/anim/bird-flying.gif) no-repeat;
	}
	
#Pukeko {
	position: absolute;
	width: 55px;
	height: 49px;
	left: -72px;
	bottom: 0;
	background: url(../images/anim/pukeko-walking.gif) no-repeat;
}
		
#BoatAndFish {
	position: absolute;
	width: 70px;
	height: 30px;
	right: 240px;
	bottom: 25px;
	z-index: 99;
}	
	#BoatAndFish.splash {	
		background: url(../images/anim/BoatAndFish.gif) no-repeat;
	}
			
/* TYPOGRAPHY */
.typography {
	position: relative;
	top: -10px;
	width: 640px;
	margin: 0 0px 0px 20px;
}

#Content {
	float: left;
}
	#Content.dualColumn {
		width: 340px;
	}
#RightContent {
	float: right;
	width: 300px;
}
/* DONATION FORM */
	#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 0 0 180px;
	}

#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;
	}
	
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: none;
}

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%;
	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;
}