/* 
homepage - additional structural / style elements needed for the homepage.
N.B. cascades from generic structure.

Ben Walker
2009-10
*/

#content {
	width: 710px;
	padding-top: 1em;
}
#featured {
	position: relative;
	width: 100%;
	margin-bottom: 23px;
}
#featured h2 {
	display: none;
}
#featured ul, #featured li {
	margin: 0;
	padding: 0;
	list-style: none;
}
#featured .content {
	width: 710px;
	height: 260px;
}
#featured .content li {
	display: none;
	list-style: none;
	width: 710px;
	height: 260px;
	background: left top no-repeat;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	border-radius: 6px;
}
#featured .content li.current {
	display: block;
}
#featured .teaser {
	position: absolute;
	right: 21px;
	top: 21px;
	width: 188px;
	padding: 21px;
	background: #fff;
	border: 2px solid #002663;
	-moz-border-radius: 38px 0 38px 0;
	-webkit-border-radius: 38px 0 38px 0;
	border-radius: 38px 0 38px 0;
}
#featured .teaser h3 {
	font-family: "Avant Garde", "Trebuchet MS", Arial, sans-serif;
	font-size: 2em;
	margin: 0 0 0.25em;
}
#featured .teaser p {
	margin: 0 0 0.5em;
}
#featured .teaser a {
	font-size: 1.172em;
}
#featured .nav {
	position: absolute;
	width: 100%;
	bottom: 10px;
	left: 10px;
}
#featured .nav li {
	float: left;
	width: 164px;
	margin-right: 10px;
}
#featured .nav a {
	display: block;
	width: 144px;
	height: 40px;
	padding: 10px 10px 0 10px;
	color: #fff;
	background: #555;
	background: rgba(51,51,51,0.7);
	text-decoration: none;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	text-shadow: #000 1px 1px 2px;
}

/* Themes */

#featured .teaser { border-color: #002663; }
#featured .teaser h3 { color: #002663; }
#featured .nav a:hover, #featured .nav a:active, #featured .nav a.current { background-color: #002663; }

#featured .theme-1 .teaser { border-color: #002663; }
#featured .theme-2 .teaser { border-color: #8E258D; }
#featured .theme-3 .teaser { border-color: #007AA1; }
#featured .theme-4 .teaser { border-color: #008B95; }
#featured .theme-5 .teaser { border-color: #69BE28; }
#featured .theme-6 .teaser { border-color: #D4BA00; }
#featured .theme-9 .teaser { border-color: #69BE28; } /* Symposium */

#featured .theme-1 .teaser h3 { color: #002663; }
#featured .theme-2 .teaser h3 { color: #8E258D; }
#featured .theme-3 .teaser h3 { color: #007AA1; }
#featured .theme-4 .teaser h3 { color: #008B95; }
#featured .theme-5 .teaser h3 { color: #69BE28; }
#featured .theme-6 .teaser h3 { color: #D4BA00; }
#featured .theme-9 .teaser h3 { color: #69BE28; }

#featured .nav .theme-1 a:hover, #featured .nav .theme-1 a:active, #featured .nav .theme-1 a.current { background-color: #002663; }
#featured .nav .theme-2 a:hover, #featured .nav .theme-2 a:active, #featured .nav .theme-2 a.current { background-color: #8E258D; }
#featured .nav .theme-3 a:hover, #featured .nav .theme-3 a:active, #featured .nav .theme-3 a.current { background-color: #007AA1; }
#featured .nav .theme-4 a:hover, #featured .nav .theme-4 a:active, #featured .nav .theme-4 a.current { background-color: #008B95; }
#featured .nav .theme-5 a:hover, #featured .nav .theme-5 a:active, #featured .nav .theme-5 a.current { background-color: #69BE28; }
#featured .nav .theme-6 a:hover, #featured .nav .theme-6 a:active, #featured .nav .theme-6 a.current { background-color: #D4BA00; }
#featured .nav .theme-9 a:hover, #featured .nav .theme-9 a:active, #featured .nav .theme-9 a.current { background-color: #69BE28; }

#main-column {
	width: 710px;
}

ul.buttons, .buttons li {
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.buttons {
	height: 60px;
	margin-bottom: 28px;
}
.buttons li {
	float: left;
	margin-right: 22px;
}
.buttons li.what-is-mnd {
	margin-right: 0;
}
.buttons li a {
	display: block;
	width: 344px;
	height: 60px;
	background: left -60px no-repeat;
	text-indent: -9999px;
}
.buttons li a:hover {
	background-position: left top;
}
.buttons .diagnosed a {
	background-image: url(/display_images/homepage/btn-diagnosed.png);
}
.buttons .what-is-mnd a {
	background-image: url(/display_images/homepage/btn-what-is-mnd.png);
}

#whatsnew {
	float: left;
	width: 342px;
	margin-right: 31px;
	border-top: 2px solid #002663;
}
#whatsnew h2 {
	font-size: 2em;
	margin: 15px 0;
}
#whatsnew ul, #whatsnew li {
	list-style: none;
	margin: 0;
	padding: 0;
}
#whatsnew li {
	margin-bottom: 15px;
	padding-top: 15px;
	border-top: 1px solid #E0E0E0;
}
#whatsnew img {
	float: left;
	margin-right: 20px;
}
#whatsnew h3 {
	margin: 0;
}
#whatsnew h3 a {
	text-decoration: none;
}
#whatsnew h3 a:hover {
	text-decoration: underline;
}
#whatsnew p {
	margin-top: 0;
}

#teasers {
	float: left;
	width: 156px;
	margin-right: 28px;
}
#teasers img {
	border: 1px solid #e0e0e0;
	margin-bottom:30px;
}

#quote {
	float: left;
	width: 152px;
}
