/* 
   css Copyright (c) 2007-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. 
*/


/*
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: Georgia,  Times, "Times New Roman", serif;   /* Helvetica, Arial, sans-serif;*/
	font-size: 76%; /* as recommended in CSS guide */
	background:#fdf1d9;
	color:#000;
	word-wrap:break-word;
	line-height:1.6;
}

html>body {
	background:#fdf1d9 url(background.png) -10px -8px;
}

a {
	color:#000;
}

img {
	border:0px #000 none;
}

a:hover {
	text-decoration:none;
}

ul, ol {
	padding-left:28px;
}

dt {
	font-style: italic;
}

dd {
	margin-left: 28px;
}

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

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

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

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

.article-info {
	clear:right;
}


#page {
	margin: 198px auto 60px auto;
	background: url(page-background.png);
	width:780px;
}

/* IE Hack */
/* End hide from IE5-mac */
* html #page {
	background:url(page-background.jpg);
}
/* End hide from IE5-mac */

#title {
	width:100%;
	top: -186px;
	background: url(page-top.jpg) top left no-repeat;
	font-family: Optima, Helvetica, Arial, sans-serif;
	height:186px;
	position: relative;
	overflow: hidden;
}

#title, #page-bottom, #sitemenu, .collection-navigation {
	font-family: Optima, Helvetica, Arial, sans-serif;
}

html>body #title {
	background:url(page-top.png);
}

#title h1, #title p {
	text-align:center !important;
	color: #fff;
	font-weight:bold;
	margin: 0px 23px 0px 26px;
	padding: 0px;
	position:absolute;
	width:732px;
}


.has-logo #title  h1, .has-logo #title p {
	width: 530px;
	margin-left: 236px;
}

#title h1 {
	font-size: 240%;
	text-shadow: #333 2px 2px 1px;
	top:60px;
}

#title p {
	font-size: 114%;
	bottom:6px;
}

#title h1 a, #title p a {
	color: #fff;
	text-decoration:none;
}

#logo-container {
	position: absolute;
	top:36px;
	left:24px;
	height:128px;
	width:200px;
	text-align: center;
}



/*
SITEMENU
*/

#sitemenu-container {
	padding-top: 4px;
	margin-top: -186px;
}

#sitemenu {
	margin: 0px 7px 0px 11px;
	background: url(sitemenu-background.png);
}


/* hack to get wrong margin for IE5/Mac */
* html div #sitemenu {
	margin-top: 186px;
}

/* IE Hack */
/* now fix this again for the other old IEs \*/
* html #sitemenu {
	margin-top:0px !important;
}
/* End hide from IE5-mac */

#sitemenu ul {
	list-style:none;
	padding: 1px 6px 0px 6px;
	line-height:180%;
}

#sitemenu ul li {
	display:inline;
}

#sitemenu ul li a, #sitemenu ul li.currentPage {
	padding: 0px 0px 4px 0px;
	margin: 0px 6px 0px 0px;
	color: #333;
}

#sitemenu ul li a {
	text-decoration: none;
}

#sitemenu ul li a:hover span.in {
	text-decoration: underline;
}

#sitemenu ul li.currentPage, #sitemenu ul li.currentParent {
	font-weight: bold;
}

/* 
MAIN PAGE SETUP
*/
#page-content {
	padding: 4px 4px 0px 11px;
}


/*
SIDEBAR & CALLOUTS
*/
#main {
	margin-left:5px;
	margin-right: 5px;	
}

body.allow-sidebar #main {
	margin-left:245px;
	padding-top:1px;
}

#sidebar {
	margin-top:10px;
	width:234px;
	float:left;
}

.pagelet {
	margin-top:15px;
}

.pagelet.i1 {
	margin-top:0px;
}

.pagelet h4 {
	margin-top:0px;
}

.pagelet.bordered.titled {
	background: url(pagelet-background.jpg) top repeat-y;
}

html>body .pagelet.bordered.titled {
	background-image: url(pagelet-background.png);
}

.pagelet.bordered.titled h4 {
	background: url(pagelet-top.jpg) top no-repeat;
	padding: 12px 6px 0px 10px;
	margin-bottom: 2px;
}

html>body .pagelet.bordered.titled h4 {
	background-image: url(pagelet-top.png);
}

.pagelet.bordered.titled div {
	margin: 0px;
}

.pagelet.bordered.titled  div.pagelet-body {
	background: url(pagelet-bottom.jpg) bottom no-repeat;
	padding: 0px 8px 16px 10px;
	min-height:4px;
}

html>body .pagelet.bordered.titled  div.pagelet-body {
	background-image: url(pagelet-bottom.png);
}

.pagelet p {
	padding:0px;
	margin-bottom: 0.6em;
}

.callout {
	width:237px;
	float:right;
	margin:0px 0px 0px 12px;
}


/* 
PHOTO GRID PAGE
*/

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

.photogrid-index a {
	text-decoration:none;
	color:#000;
}
.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;
    background-color: #fff;
    color:inherit;
    overflow: hidden;
}

body.no-sidebar .gridItem {
	width:145px;
	margin: 5px 2px;
}

.gridItem h3 {
    font-weight: normal;
    font-size: 1em;
	background:#fff url(background.png) -10px -9px fixed;
    color: #000;
    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 {
	width: 133px;
	margin: 4px 4px 0px 4px;
}

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



/*
PHOTO NAVIGATION
*/

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

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

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

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

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

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


.text-navigation a {
	text-decoration: none;
}




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




/* 
PAGE BOTTOM
*/
.article-info {
	text-align:right;
	font-style: italic;
	margin-bottom:6px;
}


#page-bottom {
	text-align: center;
	margin-top: 6px;
	position:relative;
	top: 59px;
}

* html #page-bottom {
	height:50px;
	padding-bottom:0px;
	background:url(page-bottom.jpg);
}

#page-bottom-contents {
	background: url(page-bottom.png) no-repeat 0px bottom;
	padding: 10px 12px 24px 14px;
	min-height: 25px;
}



/* 
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;}
#main .clear {clear:right;}
.hidden {display:none;}
img.narrow {float: right;  margin: 0em 0em 0.8em 0.8em;}
img.wide {display: block;}
.ImageElement, .VideoElement { text-align:center;}

