/*
   css Copyright © 2005-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.
*/


/*
GLOBAL

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

key colours in this layout are
	rgb(68,49,19)  - dark brown background
	rgb(174,98,74) - light red background
	#fff - text
*/


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

body {
	font-family: Georgia, Palatino, Times, "Times New Roman", serif;
	font-size: 76%; /* as recommended in CSS guide */
	color:#fff;
	line-height:1.6;
}

body.allow-sidebar {
	background-position: 0% 0%;
	background-repeat: repeat-y;
	color:#fff;
}

#sidebar, .callout, #page-top, h1, h2, h3, h4, h5, h6, .collection-navigation {
	font-family: "Trebuchet MS", Arial,  sans-serif;
	font-weight:normal;
	background-color:inherit;
	color:#fff;
}

h1, h2, h3 {
	margin-bottom:0.5em;
}

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

p {
	margin-bottom:0.5em;
	max-width:70em;
}

a {
	color:white;
	background-color:inherit;
	text-decoration:underline;
	font-weight:bold;
}

a img {
	border:none;
}

ul, ol {
	padding-left:24px;
	margin-bottom:10px;
	max-width:70em;
}

dl {
	margin-bottom: 10px;
	max-width:70em;
}

dt{
	font-style: italic;
}

dd {
	margin-left: 24px;
}

#sitemenu ul {
	margin-bottom:0px;
}


/*
GENERAL LAYOUT FOR HEADER AND SIDEBAR
float them on the left if there is a sidebar, this way we can unify them into a single structure. Have the header on top if there is no sidebar.
*/
.allow-sidebar #page-top, #sidebar-container {
	float:left;
	clear:left;
	width:220px;
}

#title, #sitemenu-content, #sidebar-container #sidebar {
	padding:14px;
}

#title a, #sidebar a:link, #page-bottom a {
	color:#fff;
}

.no-sidebar #title {
	float:left;
	position:relative;
	width:55%;
	height:100%;
	padding:0px;
}

.no-sidebar h1 {
	padding:14px 0px 0px 20px;
	padding-bottom:0px;
}

#page-top h1 a {
	text-decoration: none;
	font-weight: inherit;
}

#page-top h1 a:hover {
	text-decoration:underline;
}

.no-sidebar #title p {
	padding:0px 0px 0px 20px;
}



#sitemenu-content {
	padding-top:0px;
	font-weight: bold;
}

.allow-sidebar #sitemenu-content {
	position: relative;
	z-index: 100;
	padding-right: 0px;
}

.allow-sidebar #sitemenu-content.ddsmoothmenu-v ul .submenu-indicator {
	top: 0px;
	right: -12px;
}

.allow-sidebar #sitemenu-content.ddsmoothmenu-v ul ul .submenu-indicator,
.no-sidebar #sitemenu-content.ddsmoothmenu-v ul ul .submenu-indicator {
	top: 10px;
	right: 5px;
}

.no-sidebar #sitemenu-content {
	float:left;
	position:relative;
	width:43%;
	padding:14px 5px 3px 0px;
}

.no-sidebar #sitemenu-content ul {
	list-style-type:none;
	height:100%;
}

.no-sidebar #sitemenu-content li {
	display:inline;
}

.no-sidebar #sitemenu-content li.currentPage {
	font-weight:bold;
}

.no-sidebar #sitemenu-content li:before {
	content: " | ";
	font-weight:normal;
}

.no-sidebar #sitemenu-content li.i1:before {
	content:"";
	display:none;
}
#sitemenu-content ul li ul li span.in{
	border-bottom:solid 1px #FFF !important;
}

/* IE Hack as IE can't do :after, emulate the effect using borders */
/* Hides from IE5-mac \*/
* html .no-sidebar #sitemenu-content li {
	margin:0px;
	padding-left:4px;
	border-left:#999 solid 2px;
}
* html .no-sidebar #sitemenu-content li.i1 {
	border:none;
	padding:0px;
}
/* End hide from IE5-mac */



#sitemenu-content .currentParent > a,
#sitemenu-content .selected,
#sitemenu-content a:hover,
#sitemenu-content ul li ul li a:hover {
	text-decoration: none;
}

.allow-sidebar #sitemenu-content .currentParent > a {
	font-weight: normal;
}

#sitemenu-content .currentParent a:hover {
	text-decoration: underline;
}

#sitemenu-content li ul li:before {
	content: "";
	display: none;
}
.allow-sidebar #sitemenu-content li {
	display:block;
	white-space: normal;
}


.no-sidebar #sitemenu-content ul ul {
	height: auto;
}

.no-sidebar #sitemenu-content li ul li {
	display:list-item;
}

#sitemenu-content ul li span.in
{
    white-space: normal !important;
}


.no-sidebar #page-top + .clear {
	display:block;
	height:5px;
	width:100%;
	border-bottom:3px #fff double;
}

/* IE Hack as IE can't do adjacent selectors, use a top border on #main-content instead, to get roughly the same effect */
/* Hides from IE5-mac \*/
* html .no-sidebar #main-content{
	border-top:3px #fff double;
}
/* End hide from IE5-mac */

.no-sidebar #main {
	color:inherit;
}

.allow-sidebar #main {
	position:absolute;
	top:0px;
	left:250px;
}

/* IE Hack */

/* Hides from IE5-mac \*/
* html .allow-sidebar #main {
	margin-left:0px;
}
/* End hide from IE5-mac */

.allow-sidebar #main-top {
	/* set up minimum width for page */
	display:block;
	width:520px;
}


#main-content {
	padding:20px 10px 5px 20px;
}



/*
TITLE
Centre smaller logos within their 200px container and, in turn, that container in its container.
*/
#title {
	width:100%;
}

#logo-container {
	display:block;
	width:200px;
	text-align:center;
	margin:auto;
}

.no-sidebar #logo-container {
	float:right;
	width:auto;
}

/*
PAGELETS & CALLOUTS
*/
.callout {
	float:right;
	width:250px;
	padding: 0px 0px 0px 24px;
}

.no-sidebar .callout {
	margin-left:8px;
}

#sidebar {
	width:100%;
}

#sidebar .pagelet {
	border-top: 3px #fff double;
}

.pagelet {
	min-width:204px;
}

.pagelet + .pagelet {
	margin-top:12px;
}

.callout .pagelet.bordered {
	color:inherit;
	border: double #fff 3px;
	margin-bottom:12px;
	padding:2px 6px 0px 7px;
}

.callout .pagelet.bordered:hover {
	border-style:solid;
}

.pagelet h4 {
	margin:1.2em 0em 0.4em 0em;
}

.callout .pagelet.bordered h4 {
	margin-top:0.5em;
}


/*
ACTUAL CONTENT
*/

.article h3 {
	margin-top:1em;
}

blockquote {
	padding-left: 7px;
	border-left: 3px dotted #fff;
	font-style: italic;
}



/*
PHOTO GRID PAGE
*/

.photogrid-index {
    text-align: center;
    margin: auto;
    overflow: auto;
}

.photogrid-index a {
	color:inherit;
	background-color:inherit;
	text-decoration:none;
}
.photogrid-index h3 a:hover {
	text-decoration:underline;
}

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

.gridItem h3 {
    font-size: 0.9em;
    font-weight: normal;
    margin-top: 4px;
    margin-left: 7px;
    margin-right: 7px;
    position:absolute;
	top: 140px; /* needs to leave 38px from the bottom of the gridItem */
	width: 136px;
	line-height:15px;
}

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

#sidebar .photogrid-index{
	width:auto;
	margin-left:32px;
}

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




/*
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;
    background-repeat: no-repeat;
}

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

#previous-photo	{
    left: 42px;
}
#next-photo {
    left: 124px;
}
#photo-list {
    left: 83px;
}
.image-controls a {
	border-bottom:none !important;
}

.text-navigation #previous-photo, .text-navigation #next-photo, .text-navigation  #photo-list, .text-navigation a, .text-navigation a:hover{
	background:none!important;
	width:auto!important;
	font-weight:bold;
}
.text-navigation a{ text-decoration:none;}
.text-navigation a:hover{ text-decoration:underline;}

/*
PAGE BOTTOM
*/
.article-info {
	clear:both;
}

#page-bottom {
	padding:5px 14px;
	width:220px;
}

#page-bottom p {
	margin:0px;
}

.no-sidebar #page-bottom {
	width:93%;
}


/*
SANDVOX INTERNALS

these should be present in every style sheeto ensure that certain classes used by Sandvox to hide and clear elements are respected.
Don't change them unless you have very good reason to do so.
*/

.clear {clear: both; height: 0;}
.hidden {display:none;}
.narrow {float: right; margin:5px 0 5px 10px;}
img.wide {display: block;}
.ImageElement, .VideoElement { text-align:center;}
.ImageElement p, .VideoElement p { margin:auto; }
.narrow.left{
	margin:5px 10px 5px 0;
}
.narrow.right{
	margin:5px 0 5px 10px;
}
.whiteBackground p
{
	color:#000;
}
.whiteBackground p a:hover
{
	text-decoration:none;
}
.article-thumbnail {
    float: left;
    margin: 5px 10px 5px 0;
}

.no-page-title .photo-navigation {margin-top:38px;}
