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


* { 
	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;
	line-height:1.6;
}

@media only screen and (max-width: 780px){
	body {
		margin: 0 -4px 0 -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;
}

.timestamp {
	text-align:right;
	font-style: italic;
	margin-bottom:6px;
}



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

/* IE Hack */
/* End hide from IE5-mac */

/* End hide from IE5-mac */

#title {
	width:100%;
	top: -186px;
	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;
}

#title h1, #title p {
	text-align:center;
	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;
	line-height: 36px;
}

#title p {
	font-size: 114%;
	bottom:6px;
	text-shadow: #333 1px 1px 1px;
}

#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;
}


/* 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 ul {
	background: url(sitemenu-background.png);
	line-height: 150%;
}
#sitemenu-content ul li ul li span.in {
	padding: 0 15px 8px 5px;
	border-bottom-color: #fff;
}

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

#sitemenu ul ul li a, 
#sitemenu ul ul li.currentPage {
	margin: 0;
	padding: 5px 0;
}

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

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

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

#sitemenu ul li.currentPage li {
	font-weight: normal;
}

#sitemenu ul li.currentParent > a > span.in,
#sitemenu ul li.currentParent > span.in {
	font-weight: bold;
	color: #666;
}

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

*:first-child+html #sitemenu-content ul ul .submenu-indicator,
*:first-child+html #sitemenu-content ul ul .submenu-indicator {
	top: 2px;
}

* html #sitemenu-content ul ul .submenu-indicator {
	top: 2px;
}
#sitemenu-content ul li ul li span.in{
	border-bottom:solid 1px #FFF !important;
}

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


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

body.allow-sidebar #main {
	width:510px;
	float:right;
	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 h4 {
	padding: 12px 6px 0px 10px;
	margin-bottom: 2px;
}

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

.pagelet.bordered.titled  div.pagelet-body {
	padding: 0px 8px 16px 10px;
	min-height:4px;
}

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

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

.blockquote-container>.pagelet-body, .blockquote-container>.graphic {
	position: relative;
	background: -32px 0px no-repeat;
}

.blockquote-container .pagelet-body:after, .blockquote-container .graphic:after {
	display: block;
	position: absolute;
	height: 70px;
	width: 70px;
	bottom: 0px;
	right: 0px;
	content: "";
	background: 46px 50px no-repeat;
} 

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




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

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

#sidebar .photogrid-index{
	width:auto;
	margin-left:35px;
}
#sidebar .gridItem{
	height:188px;
}
#sidebar .gridItem h3 {
    height:40px;
	line-height:17px;
}

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

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

#previous-photo	{
    left: 24px;
}

#next-photo {
    left: 128px; 
}

#photo-list {
    left: 83px;
}


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

.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{
	text-decoration:underline;
}

.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
*/
#page-bottom {
	text-align: center;
	margin-top: 6px;
	position:relative;
	top: 59px;
}

* html #page-bottom {
	height:50px;
	padding-bottom:0px;
}

#page-bottom-contents {
	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;}
.narrow {float: right; margin:5px 0 5px 10px;}
img.wide {display: block;}
.ImageElement, .VideoElement { text-align:center;}
.narrow.left{
	margin:5px 10px 5px 0;
}
.narrow.right{
	margin:5px 0 5px 10px;
}
.article-thumbnail {
    float: left;
	margin: 5px 10px 5px 0;
	clear:left;
}
.article-info .timestamp, h3.index-title{ clear:left;}
.no-page-title .photo-navigation {margin-top:30px;}
