/* 
   css Copyright © 2006-2012 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;
	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;
	background: #fff;
}


#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:110%;
	text-shadow: #000 2px 1.5px 2px;
	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-content {
	color:#fff;
	background:#032;
	padding-right: 7px;
}

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

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

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

#sitemenu-content li span.in {
	padding-left: 0.6em;
	padding-right: 0.6em;
	position: relative; /* IE7 clickability */
}

#sitemenu-content li.hasSubmenu span.in {
	padding-right: 0;
}

/* Hides from IE5-mac \*/
* html #sitemenu-content li span.in { 
	padding:2px 0.6em;
}
/* End hide from IE5-mac */

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

#sitemenu-content li:hover,
#sitemenu-content li a:hover,
#sitemenu-content li.currentPage,
#sitemenu-content li.currentParent
{
	background-color: #880033;
	color: #fff;
	text-decoration:none!important;
}

#sitemenu-content ul li ul {
	background-color: #032;
}

*:first-child+html #sitemenu-content > ul > li.hasSubmenu > span.in > .submenu-indicator,
*:first-child+html #sitemenu-content > ul > li.hasSubmenu > a > span.in > .submenu-indicator {
	top: -3px;
}


/* headings */

h3 {
	margin-top:1em;
}



/* sidebar / callout / pagelets */

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

#main-content {
	float: left;
	width: 100%;
}

*:first-child+html #main-content {
	padding-right: 20px;
}

* html #main-content {
	padding-right: 20px;
}

body.allow-sidebar #page {
	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%;
}

.blockquote-container>.pagelet-body, .blockquote-container>.graphic {
	position: relative;
	background: -30px -5px no-repeat;
	background-image: url(QuotationMarks-Imagine.png);
}

.blockquote-container .pagelet-body:after, .blockquote-container .graphic:after {
	display: block;
	position: absolute;
	height: 70px;
	width: 70px;
	bottom: 0px;
	right: 0px;
	content: "";
	background: 50px 50px no-repeat;
	background-image: url(QuotationMarks-Imagine.png);
} 

.blockquote-container blockquote {
	margin: 0px;
	padding: 0px 20px 0px 20px;
	z-index: 100;
	position: relative;
	font-style: italic;
}





/* 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:184px;	/* 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;
	line-height:16px;
}

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;
}
#sidebar .photogrid-index{
	width:auto;
	margin-left:28px;
}


/* 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;
}

.text-navigation #previous-photo, .text-navigation #next-photo, .text-navigation  #photo-list, .text-navigation a, .text-navigation a:hover{
	background:none!important;
	font-weight:bold;
}
.text-navigation a:hover{
	color:#032;
}

.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;}
.narrow {float: right; margin:5px 0 5px 10px;}
img.wide {display: block;}
.ImageElement, .VideoElement { text-align:center;}
.narrow.left{ margin: 0.3em 0.6em 0.3em 0; }
.narrow.right {	margin: 0.3em 0 0.3em 0.6em; }
.whiteBackground p
{
	color:#440011;
}
.callout .whiteBackground p a{
 	color:#880033!important;
 }
.callout .whiteBackground p a:hover {
	color:#fff!important;
	background: rgba(31,31,47,0.5);
}
.article-thumbnail {
    float: left;
	margin: 5px 10px 5px 0;
}
.no-page-title .photo-navigation {margin-top:30px;}