/* 
   css Copyright (c) 2006-2009 Karelia Software. All Rights Reserved.
   css released under Creative Commons License 
        - http://creativecommons.org/licenses/by-sa/2.5/ 
   All associated graphics belong to their respective owners 
        and are licensed separately. 
*/



/* 
CUSTOMISATION
=============

See "Imagine" design for information on customizing.

*/




/*
GLOBAL

Try to define style properties as globally as possible. E.g. the basic font setting should be right there for the body element
*/

* { 
	margin:0px;
	padding:0px;
}

body {
	font-family: "Trebuchet MS", sans-serif;
	font-size: 76%; /* as recommended in CSS guide */
	background:#929d97 url(background.jpg) repeat-x;
	color:#440011;
	word-wrap:break-word;
	line-height:1.6;
}

h1, #title p, h1 a:link, h1 a:visited {
		font-family: "Palatino", serif;
		color:#402;
		text-decoration:none;
}

img {
	border:0px #000 none;
}

a:link, a:visited {
	color:#880033;
}

a:hover {
	color:#fff;
	background: #880033;
	background: rgba(31,31,47,0.5);
}

.article, .no-callouts {
	clear: left;
}


.article p, .pagelet p {
	margin-bottom: 0.8em;
}

.article-info {
	clear: left;
}

h5, h6 {
	font-size: 100%;
}



/* head */

#page-container {
	background: #FFF;
	margin:auto;
	width:762px;
	border-left:#003322 3px solid;
	border-right:#003322 3px solid;
}


#page-top {
	padding-top:200px;
	width:762px;
	overflow:visible;
}


#title {
	height:200px;
	width:762px;
	position:absolute;
	top:0px;
	color:#003322;
	border-style: solid;
	border-color: transparent;
	border-width: 0px 3px;
	margin-left:-3px;
	background: url(DefaultHeader.jpeg) no-repeat top center;
	text-align: right;
}


* html #title {
	border-color: #003322 !important;	
}


#logo-container {
	float: none;
	position: absolute;
	left: 0px;
	margin:20px 24px 34px 26px;
	padding:3px;
}

h1 {
	position:absolute;
	top: 18px;
	left: 180px;
	right: 18px;
	font-size:240%;
	line-height:133%;
	text-shadow: #000 2px 2px 3px;
	color: #880033;
}

h1 a:link, h1 a:visited {
	color: #880033;
	text-decoration:none !important;
}

#title:hover a, #title a:hover {
	text-decoration:underline;
}

#title p {
	position:absolute;
	top: 4px;
	right: 18px;
	left: 180px;
	height: 1.5em;
	overflow:hidden;
}



/* sitemenu */
#sitemenu {
	color:#fff;
	background:#032;
	padding-right: 7px;
}

#sitemenu a {
	color:#fff;
	text-decoration:none;
}

#sitemenu ul {
	list-style-type:none;
	padding:0px;
}

#sitemenu li {	
	display:inline;
	margin:0px;
	padding-top:2px;
	padding-bottom:3px;
}

#sitemenu li a, #sitemenu li.currentPage, #sitemenu li.currentParent  {
	padding-left: 0.6em;
	padding-right: 0.6em;
}

/* Hides from IE5-mac \*/
* html #sitemenu li a, * html #sitemenu li.currentPage, * html #sitemenu li.currentParent  {
	padding:2px 0.6em;
}
/* End hide from IE5-mac */

#sitemenu li.currentPage, #sitemenu li.currentParent, #sitemenu li.currentParent a {
	background:#FFF;
	color:#440011;
}

#sitemenu li:hover, #sitemenu li:hover a, #sitemenu li a:hover  {
	background-color: #880033;
	color: #fff;
}

#sitemenu li.currentPage span.in {
	text-decoration:underline;
}


/* headings */

h3 {
	margin-top:1em;
}



/* sidebar / callout / pagelets */

#main, #page-bottom {
	padding:12px;
}

body.allow-sidebar #page-content, body.allow-sidebar #page-bottom {
	background:url(sidebarbackground.gif) center repeat-y;
}

body.allow-sidebar #main {
	margin-right:245px;
}

body.allow-sidebar #page-bottom {
	padding-right:245px;
}

#sidebar {
	float:right;
	position: relative;
	width:220px;
	padding:6px 10px 0px 10px;
	margin-bottom:-40px;
	background:#cccccc; 
	color:#440011;
}	

.callout {	
	width:220px;
	float:left;
	margin-right:18px;
}

.callout .pagelet {
	margin: 10px 0px;
	padding: 2px 10px;
	color:#fff;
	background:#032;
}

.callout .pagelet a {
	color:#fff;
}

.callout .pagelet a:hover {
	color:#880033;
	background:#FFF;
}

.callout .pagelet.bordered {
	background:#cccccc;
	color:#880033;
	border:1px solid #880033;
}

.callout .pagelet.bordered a {
	color:#880033;
}

.pagelet {
	padding-bottom:6px!important;
	padding-top:4px;
}

.pagelet h4 {
	margin:6px 0px;
	font-size:120%;
}



/* lists */

ul, ol {
	padding-left:2em;
}

dd {
	margin-left: 2em;
}

/* photo album */

.photogrid-index {
    text-align: center;
    margin: auto;
    overflow: hidden; /* for IE 5 Mac */
}

/* IE 6 Hack */
/* Hides from IE5-mac \*/
* html .photogrid-index {
	height:1%; /* for IE 5, 6 Win */
	margin-left:-8px;
}

* html body.allow-sidebar .photogrid-index {
	width:490px;
}
/* End hide from IE5-mac */

.photogrid-index a {
	text-decoration:none;
	background-color:#fff;
	color:#880033;
}

.photogrid-index h3 a:hover {
	text-decoration:underline;
	color: #803;
}

.gridItem {
    float: left;
    position:relative;
    width:150px;
    height:180px;	/* room for caption */
	margin:5px;
    padding-top: 10px;
    background-color: #fff;
    color:inherit;
    overflow: hidden;
}

body.no-sidebar .gridItem {
	width:136px;
}

.gridItem h3 {
    font-weight: normal;
    font-size:100%;
	background-color:#fff;
    color: #880033;
    margin: 4px 7px 0px 7px;
	padding: 0px 2px;
    position:absolute;
	top: 140px; /* needs to leave 38px from the bottom of the gridItem */
	width: 136px;
}

body.no-sidebar .gridItem h3 {
	margin: 4px 2px 0px 4px;
	padding: 0px;
	width: 128px;
}

.gridItem img {
    border: 1px solid #000;
    margin: auto;
    display:block;
    position: absolute;
    top: 0;
    bottom: 40px;
    right: 0;
    left: 0;
}

* html .gridItem img {
	position:relative;
}



/* photo navigation */

.photo-navigation {
	position:relative;
    height: 21px;
    width:200px;
    margin:0px auto 8px auto;
}

.photo-navigation div {
	width:34px;
	height:21px;
	position: absolute;
    text-indent: -5000em;
}

.photo-navigation a {
	border-bottom:none;
	display:block;
	width:100%;
	height:100%;
}

#previous-photo	{
    background: url(photo-prev-off.gif)		no-repeat;
    left: 42px;
}
#previous-photo a {
    background: url(photo-prev.gif)		no-repeat;
}

#next-photo {
    background: url(photo-next-off.gif)		no-repeat;
    left: 124px; 
}
#next-photo a {
    background: url(photo-next.gif)		no-repeat;
}

#photo-list {
    background: url(photo-list-off.gif)		no-repeat;
    left: 83px;
}
#photo-list a {
    background: url(photo-list.gif)		no-repeat;
}

.image-controls a {
	border-bottom:none !important;
}

/* IE Hack */
/* Hides from IE5-mac \*/
* html .gridItem img {
	position: relative;
	top:0px;
}

* html .gridItem h3 {
	position: relative;
	top: 0px;
}
/* End hide from IE5-mac */


/* 
SANDVOX INTERNALS
*/

.clear {clear: both; height: 0;}
#main .clear {clear:left;} /* CHANGE from standard! */
/* IE Hack */
/* Hides from IE5-mac \*/
* html .clear{ display:inline;}
/* End hide from IE5-mac */
.hidden {display:none;}
img.narrow {float: right;  margin: 0em 0em 0.8em 0.8em;}
img.wide {display: block;}
.ImageElement, .VideoElement { text-align:center;}


#title { background-image: url("../_Media/pageheader.jpeg"); }
