/* 
   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: Helvetica, Arial, sans-serif;
	font-size: 76%; /* as recommended in CSS guide */
	background:#8d8da4;
	color:#000;
	line-height:1.6;
	text-align: center;
}

a {
	color:#000;
}

img {
	border:0px #000 none;
}

a:hover {
	text-decoration:none;
}

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

.pagelet ul, .pagelet ol {
	padding-left:10px;
	list-style-position: inside;
}

.pagelet ul {
	padding-left:12px;
}

dd {
	padding-left: 3em;
}

.pagelet dd {
	padding-left: 12px;
}


#page {
	margin:12px auto 24px auto;
	background:url(page-background.jpg);
	width:780px;
	text-align: left;
}


#title {
	background: url(page-top.jpg) top left no-repeat;
	height:186px;
	position: relative;
	overflow: hidden;
}

body.has-custom-banner #title {
	background:center top no-repeat;
	border: #fff 4px solid;
	border-bottom-width: 0px;
	margin: 0px 0px 0px 7px;
	width: 762px;
}


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

#title h1 {
	/*top:90px;*/
	top:70px;
	background-position: center top !important;
	height:65px;
	overflow:hidden;
	line-height:30px;
}

html>body #title h1.replaced, html>body #title h1.TurnOffReplace {
	height: 100px;
	top: 100px;
}

#title p {
/*	bottom:6px;
*/	bottom:0px;
	height:30px;
	overflow:hidden;
	line-height:14px;
}

#title h1 a, #title p a {
	color: #fff;
}

#title h1 a {
	text-decoration:none;
}


#logo-container {
	float:left;
	margin: 36px 10px 10px 24px;
	display:block;
}



/*
SITEMENU
*/
#sitemenu {
	margin: 4px 7px 0px 11px;
	background: #6b6b82;     /* #8d8da4;*/
}

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

#sitemenu-content ul li {
	display:inline;
}

#sitemenu-content ul li a, 
#sitemenu-content ul li.currentPage {
	padding:1px 3px 4px 3px;
	color: #fff;
	position: relative; /* happier IE 7 */
}

#sitemenu-content ul a,
#sitemenu-content ul li.currentPage li span.in {
	text-decoration: none;
}

#sitemenu-content .selected span.in,
#sitemenu-content ul li.currentPage span.in, 
#sitemenu-content ul .currentParent > a > span.in, 
#sitemenu-content ul li a:hover span.in {
	text-decoration: underline;
}

#sitemenu-content ul li ul {
	background: #6b6b82;
}

#sitemenu-content ul li ul li span.in  {
	padding: 0 5px;
}

#sitemenu-content ul ul .submenu-indicator {
	top: 3px;
}


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

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

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

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

.article, no-callouts {
	margin:0px 3px 0px 0px;
	clear: left;
}

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

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

.article-info {
	clear: left;
}

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

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


/*
SIDEBAR & CALLOUTS
*/
body.allow-sidebar #main {
	margin-right:245px;
	padding-top:1px;
}

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

#sidebar .pagelet {
	margin-right:2px;
}

#sidebar .pagelet.bordered {
	margin-right:0px;
}

.pagelet {
	margin-bottom:15px;
}

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

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

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

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

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

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

.callout {
	width:234px;
	float:left;
	margin-right:10px;
}

.blockquote-container>.pagelet-body, .blockquote-container>.graphic {
	position: relative;
	padding: 10px;
	background: -32px 0px no-repeat;
	background-image: url(QuotationMarks-Reflections.png);
}

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

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

blockquote p {
	margin: 0px 0px;
}


/* 
PHOTO GRID PAGE
*/

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

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

.gridItem {
    float: left;
    position:relative;
    width:150px;
    height:190px;	/* 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: 1.2em;
	background-color:#fff;
    color: #000;
	padding: 0px 2px;
    position:absolute;
	top: 142px;
	width: 136px;
	line-height:18px;
}

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:38px;
}


/*
PHOTO NAVIGATION
*/

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

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

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

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

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

#photo-list {
    background: url(index-off.gif)		no-repeat;
    left: 83px;
}
#photo-list a {
    background: url(index.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;
}

.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: 6px 0px 0px 6px;
}

/* IE Hack */
/* Hides from IE5-mac \*/
* html #page-bottom {
	height:40px;
	padding-bottom:0px;
}
/* End hide from IE5-mac */

#page-bottom-contents {
	padding: 10px 12px 24px 14px;
	background: url(page-bottom.jpg) no-repeat bottom;
}



/* 
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:left;}
.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.7em 0.35em 0; }
.narrow.right {	margin: 0.3em 0 0.35em 0.7em; }
.contactElement{ padding-top:25px;}
.article-thumbnail {
    float: left;
    margin:5px 10px 5px 0;
}
.no-page-title .photo-navigation {margin-top:29px;}