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


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

body {
	font-family: Georgia, Times, serif;
	font-size:86%;
	background-color:#fff;
	color:#111;
	line-height:1.6;
}

a {
	color:#000;
}

img {
	border:0px #000 none;
}


ul, ol, dd {
	padding-left:24px;
}

ul{
	list-style-type:square;
}

dt {
	font-style: italic;
}

#page-top, #page-content {
	margin: 0em auto;
	width: 770px;
}

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

.article p, .article-info, .no-callouts {
	padding:0px 10px;
}

.article-info {
	clear:left;
}

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

#logo-container {
	float:right;
}

/* IE5/Mac love*/
* html>body #logo-container {
	width:200px;
	text-align:right;
}

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



/* TITLE */
#page-top {
}

#title {
	margin-top: 1.5em;
	border-top: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	text-align:center;
}

.has-custom-banner #title {
	min-height: 128px;
	background-repeat:no-repeat;
}

.has-custom-banner h1, .has-custom-banner #title p {
	font-weight: bold;
	text-shadow: #fff 1px 1.5px 2px;
}


.has-logo #title {
	min-height:128px;
}

#title h1 {
	font-size: 166%;
	margin:1.5em 1.5em 0em 1.5em;	
}

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

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

#title p {
	margin:0em 1.5em 1em 1.5em;
	text-transform: uppercase;
	font-size:87%;
	color: #999;
}


h1, h2, h3, h4, h5, h6, #title p, #page-bottom, #sitemenu, form, .pagelet {
	font-family: Helvetica, Arial, sans-serif;
}

h2 {
	padding:0px 10px;
	margin:1em 0em;
}

.article h3 {
	padding:0px 10px;
	margin:2em 0em 1em 0em;
	border-top: 3px solid #000;
	border-bottom: 1px solid #bbb;
}

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


/*
SITEMENU
*/


#sitemenu-content ul {
	width:100%;
	background:white;
	border-bottom: 3px #000 solid;
	list-style:none;
	padding:0.5em 0px 0.2em 0px;
	text-transform:uppercase;
	font-weight: bold;
	line-height:200%;
	text-align:center;
}

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

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

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

#sitemenu-content .currentPage, #sitemenu-content ul li a {
	padding:2px 4px;
}

#sitemenu-content ul ul .currentPage, #sitemenu-content ul ul li a {
	padding:0px;
}

#sitemenu-content .currentParent > a {
	color:#999;
}

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

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


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

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

.pagelet {
	border-top: 3px solid #000;
	margin-bottom:2em;
	line-height:150%;
	font-size:87%;
}

.blockquote-container>.pagelet-body, .blockquote-container>.graphic {
	position: relative;
	padding: 10px;
	background: -32px 2px no-repeat;
	background-image: url(QuotationMarks-Distinction.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 38px 30px no-repeat;
	background-image: url(QuotationMarks-Distinction.png);
} 

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


/* IE5/Mac Love */
* html>body .pagelet {
	overflow:hidden;
}


.pagelet h4 {
	border-bottom: 1px solid #bbb;
	margin-bottom: 0.5em;
	text-transform: uppercase;
}

.pagelet h4 span.in {
	display:block;
	padding:2px 0.5em;	
}

.pagelet.bordered {
	border:3px solid #bbb;
}

.pagelet.bordered h4 {
	background:#000;
	color: #fff;
	padding:0px 3px;
	margin:-3px -3px 0.5em -3px;
}

.pagelet div {
	margin:0px 3px;
}

.pagelet .slider-index div {
	margin:0px;
}

.pagelet.bordered .pagelet-body {
	margin:5px 3px;
}

.pagelet .ImageElement, .pagelet .VideoElement {
	padding:8px 0px 3px 0px;
}

.pagelet p {
	padding:0px;
}

/* 
PHOTO GRID PAGE
*/

.photogrid-index {
    height:1%; /*  for the IEs */
	position:relative; /* for IE < 7 */
	margin:auto;
    text-align: center;
	padding: 0em 12px;
	/*float:left; */       
}

.gridItem {
/*	display:inline-block; argh! Firefox can't do this */
	float:left;
    position:relative;
    width:150px;
    height:190px;
   	margin:5px;
    overflow: hidden;
}

.no-sidebar .gridItem {
	margin:5px 18px;
}

* html .no-sidebar .gridItem {
	margin: 5px 16px;
}

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

.gridItem a.imageLink {
	position: absolute;
	bottom:54px;
	left:10px;
	width: 130px;
	display:block;
	text-align:center;
}

.gridItem img {
    border: 1px solid #999;
    margin: auto;
 }

.gridItem h3 {
	position:absolute;
	top:0px;
	left:0px;
	width:150px;
	height:190px;
	background: transparent;
    font-size: 100%;
	line-height:17px;
	border:0;
}
.article .gridItem h3 {
	margin:0;
}

.gridItem h3 a {
	display:block;
	position:absolute;
	top:0px;
	left: 0px;
	width:150px;
	height: 54px;
	padding-top: 136px;
	background: transparent;
	text-decoration:none;
	text-align:center;
}

.gridItem h3 span.in {
	margin-top: 136px;
	display:block;
	margin:2px;
}

.gridItem h3 a span.in {
	/* if we're inside a link, the link will provide correct positioning */	
	margin-top: 0px; 
}
#sidebar .gridItem{
	margin-left:25px;
}


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

.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-decoration:none;
}



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

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

/* some love for IE5/Mac */
* html .photo-navigation>div {
	text-indent: 5000em;
}

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

#previous-photo, #previous-photo a:hover	{
    background: url(photo-prev-off.gif) no-repeat;
    left: 42px;
}
#previous-photo a {
    background: url(photo-prev.gif)	no-repeat;
}

#next-photo, #next-photo a:hover {
    background: url(photo-next-off.gif) no-repeat;
    left: 124px; 
}
#next-photo a {
    background: url(photo-next.gif) no-repeat;
}

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

.image-controls a {
	border-bottom:none !important;
}

/* for some reason IE5/Mac applies this to paragraphs after .article-info, so better hide it */
/* Hides from IE5-mac \*/
.timestamp {
	text-align:right;
	font-style: italic;
}
/* End hide from IE5-mac */



/* 
PAGE BOTTOM
*/
#page-bottom {
	margin-top:24px;
	padding:0.5em 1.5em;	
	line-height:1.4em;
	text-transform: uppercase;
	font-size: 87%;
	font-weight: bold;
	color: #fff;
}

#page-bottom a {
	color: #fff;
}

#page-bottom a:hover {
	color: #000;
}



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

.contactElement{ padding-top:25px;}
.narrow.left { margin: 0.3em 0.5em 0.5em 10px; }
.narrow.right {	margin: 0.3em 10px 0.5em 1em; }
.article-thumbnail {
    float: left;
	margin: 5px 10px 5px 0;
}

/* HACKS/SAFARI/CHROME */
@media screen and (-webkit-min-device-pixel-ratio:0)
{
.narrow.right{clear:right;}
}
.no-page-title .photo-navigation {margin-top:66px;}