/* Main Stylesheet for Sir Richard Hadlee Trust - website http://www.hadlee.org.nz */

/*  Table of Contents 
 *
 *  1. General Rules
 *  2. Containers
 *  3. Content Areas
 *  4. Headers
 *  5. Anchors
 *  6. Lists
 *  7. General Document Rules
 *  8. Home overrides
 *
 */

/* Containers */
html { min-height: 100%; margin-bottom: 1px; } /* force right scrollbar */
body
{
    background: url(../images/header_repeat.jpg) repeat-x 0 0px;
}
#wrapper
{
    width: 820px;
    max-width: 820px;
    margin: 0 auto;
    text-align: left;
    position: relative;
}
#container
{
    padding: 0 15px;
    margin-top: 0.9em;
}
#main
{
    float: right;
    width: 71%;
    font-size: 0.8em;
    text-align: justify;
}
#secondary
{
    float: left;
    padding: 0 2em;
    width: 20%;
    color: #888;
    margin-top: 2.6em;
}
#navigation
{
    font-size: 75%;
    color: #aaa;
    background-color: #504f4f;
    height: 32px;
    background: none;
	padding: 0 15px;
}
#header { height: 132px; position: relative; }
#header h1
{
    margin: 0; padding: 0;
    width: 760px; height: 130px;
    background: transparent url(../images/header_sm.jpg) no-repeat top center;
}
#header h1 span { width: 0; height: 0; display: block; overflow: hidden;}
#header a#homelink
{
    text-decoration: none;
    color: #fff;
    position: absolute;
    top: 21px; left: 9px; 
    height: 82px; width: 371px;
    display: block;
    outline: none;   
}
#header a#homelink span { width: 0; height: 0; display: block; overflow: hidden;}

/* Navigation */
#navigation h3
{
    height: 0; width: 0;
    margin: 0; padding: 0;
    overflow: hidden;
}
#navigation ul 
{
    float: left;
	margin: 0 0 0 2em;
	padding: 0;
	list-style: none;	
}
#navigation li 
{ 
	float: left;
	margin: 0;
	padding: 0;
	background: none;
	list-style: none;
	border: solid #999;
    border-width: 0 1px;
}
#navigation a 
{
	float: left;
	display: block;
	padding: 5px 15px;
	width: 89px;
    min-width: 89px;
    line-height: 22px;
	text-decoration: none;
	font-size: 1em;
	color: #999;
	text-align: center;
	outline: none;
}
#navigation a#current
{
    background: #999;
    color: #fff;
    font-weight: normal;
    text-transform: uppercase;
}
#navigation a:hover
{
    color: #eee;
    background-position: -89px 50%;
}

/* Content Areas */
#breadcrumb 
{
    padding: 0;
    margin: 2em 0 0 30%;
    font-size: 0.75em;
    color: #666;
}
#breadcrumb ul
{
    margin: 0; padding: 0;
    list-style: none;
}
#breadcrumb li
{
    margin: 0; padding: 0;
    list-style: none;
    display: inline;
	background: none;
}
#breadcrumb li a
{
    color: #aaa;
    text-decoration: none;
    display: inline;
    outline: none; 
}
#breadcrumb li a.current { color: #555; }
.side_inner
{
    margin-bottom: 2.6em;
	font-size: 0.75em;
}
.mission 
{
    background-color: #CFCFCF;
    color:#000000;
    margin:-1em -1em 1em;
    padding:1em;
}
.side_inner p { margin: 0.7em 0; }
.side_inner h2 
{
    font-size: 1em;
    font-weight: bold; 
    margin: 0;
    color: #000;
    padding: 10px 0 4px;
    border-bottom: 1px dotted #888;
}
#secondary ul
{
    margin: 0; padding: 0;
    list-style: none;
}
#secondary li
{
    background: none;
    padding: 10px 0 4px;
    margin-top: 0;
    border-bottom: 1px dotted #888;
}
#secondary li, #secondary li a
{
   text-decoration: none;
   color: #000;
   outline: none;
}
#secondary li a:hover { color: #999; }
#footer_nav 
{
   width: 450px;
   margin: 1.6em auto 0;
   padding: 0.5em 0;
}
#footer_nav ul 
{
    margin: 0; padding: 0;
    list-style: none; 
}
#footer_nav li
{
   background: none;
   float: left;
   padding: 0 25px;
   border-left: 1px solid #CDCDCB;
   font-size: 0.7em;
   line-height: 1;
}
#footer_nav li.first { border-left: none; }
#footer_nav a
{
    color: #666;
    text-decoration: none; 
}
#footer_nav a:visited { color: #000; }
#footer_nav a:hover { color: #ff5050; }
#footer
{
    clear: both;
    height: 50px;
    background: #fff;
    text-align: center;
    font-size: 0.7em;
    line-height: 1.2em;
    margin-top: 2.5em;
    color: #aaa;
}
#footer a { text-decoration: none; } 
#footer p { margin: 0; }

.inner_wrap
{
    margin-top: 2.5em;
}
/* headers */
h1.first { margin-top: 0; }
.side_inner h2 
{ 
	margin-top: 0;
	padding-top: 0;
}
h1 a.no-link,
h2 a.no-link {
	color: #222;
    text-decoration: none;
}
/* lists */
#main ul 
{
    margin-top: 0;
    margin-left: 1.4em; 
}
#main table ul 
{
    margin-left: 0;
}
li.first-item
{
    margin-top: 0;
}
/* Image Thumbnails */
.images
{
    margin: 2.8em 0 2em 2.8em;
}
.images img
{
    border: 1px solid #bbb;
    padding: 2px;
    float: left;
    margin: 0 15px 15px 0;
}
.image_right
{
    width: 120px;
    float: right;
    margin: 0 0 1em 1em;
    padding: 2px;
    border: 1px solid #bbb;
}
.image_large {
    width: 200px;
}

.image_left {
    float: left;
    margin: 0 1em 1em 0;
}
.image_xlarge {
    width: 350px;
}
.caption
{
    clear: left;
    font-size: 0.8em;
    color: #999;
    margin: 0;
}
.media_release
{
    padding-bottom: 10px;
    border-bottom: 1px dotted #888;
}
/* Links */
.logo-link a,
.logo-link img
{
    border: none 0;
}
/* Tables */
.table_wrap
{
    margin: 2.2em 0;
    text-align: left;
}
.table_wrap table
{
    border-collapse: collapse;
    width: 100%;
}
.table_wrap table th 
{
    padding: 0.1em 0.3em 0.5em 0.1em;
    font-size: 1.2em; 
}
.table_wrap table td 
{
    padding: 0.1em 0.3em; 
    border: 1px #ccc solid; 
    vertical-align: top;     
    font-size: 85%; 
}
.table_wrap table tr.finalist td
{
    color: #000;
    background-color: #ccffff;
    text-transform: uppercase;
}
.table_wrap table tr.current_winner td
{
    color: #000;
    background-color: #ffcccc;
    text-transform: uppercase;
}
.invite-section-wrapper 
{
    padding: 8px 12px;
    border: solid 1px #ccc;
}
col.winner_year { width: 10%; }
col.winner_name { width: 90%; }
col.nomination_name { width: 30%; }
col.nomination_sport { width: 30%; }
col.nomination_by {}
.table-horizontal th, .table-horizontal td
{
    vertical-align: top;
    padding: 1px 2px 5px;
}
.table-horizontal th 
{
    font-weight: bold;
    width: 25%;
    text-transform: uppercase;    
}
.center-wrapper { text-align: center; }
strong.strong-emphasis { text-transform: uppercase; }
.footnote { font-size: 85%; }

/* Home overrides */
/* Three column based on holy grail ALA http://alistapart.com/article/holygrail */
.home #container
{
    padding: 0 190px 0 200px;
    margin-top: 0.9em;
}
.home #main {
    float: left;
    width: 400px;
	padding: 0 10px;
    font-size: 0.8em;
    text-align: justify;
}
.home #secondary {
	float: left;
	width: 200px;
	padding: 0;
	margin: 0.9em 0 0 -100%;
	position: relative;
	right: 190px;
}
.home #tertiary {
    float: left;
	width: 200px;
	padding: 0;
	margin: 0.9em -210px 0 0;
}
.home .mission  {
    background-color: #CFCFCF;
    color:#000000;
    margin: 0 0 2.6em 0;
    padding: 1em;
}
.home #breadcrumb {
	margin: 2em 0 0 0;
}
#page-title {
	margin: 0 -200px;
}

em.quote-attribution {
	margin-bottom: 2.5em;
	display: inline-block;
}
/* Full width overrides */
.full-width #main { width: 100% }
.full-width	#breadcrumb { margin-left: 15px }