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

a {
	color:#000;
}

img {
	border:0px #000 none;
}

a:hover {
	background-color:#000;
	color:#fff;
	text-decoration:none;
}

ul {
	padding-left:20px;
	list-style-type:square;
}

ol {
	padding-left: 20px;
}

dd {
	margin-left: 20px;
}


#page {
	min-width: 773px;
	max-width: 90em;
	margin:0px 10px;
}

html>body.IR #page {
	margin-left: 55px;
}

/* float main-content to ensure we can have floating images without clearing the sidebar */
#main-content {
	float: left;
	width: 100%;
}

h1, h2, h3, h4, h1 .in, h1 a, h2 a, h3 a, h4 a {
	background-color:#000;
	color:#fff;
}

h1, h2, h3, h4 {
	padding:3px 7px;
	margin:10px 0px 5px 0px;
}

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

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

.article-info {
	clear:left;
}

/* IE Hack */
/* Hides from IE5-mac \*/
html > body h1.replaced, h1.TurnOffReplace {
	position:fixed;
	top:0px;
	left:0px;
	margin:0px;
	padding:0px;
	height:100%!important;
	width:40px!important;
	text-align:center!important;
	background-color: #000!important;
	background-position: 0px 5px!important;
}
/* End hide from IE5-mac */

h1 { font-size: 2em; line-height: 160%;}

* html h1 {position: relative; left: 0px; right: 0px; top : 0px;} 

h1 a, h1 a:hover {
	background:transparent;
}

#logo-container {
	margin-top: 1em;
	float:right;
}

/* 
BANNER HANDLING
*/
body.has-custom-banner #title {
	background-position:0 top;
	background-repeat: no-repeat;
	background:url(banner.gif) no-repeat bottom;
	padding-bottom:200px;
}

body.has-custom-banner #title p {
	margin-left: 7px;
	font-weight: bold;
	text-shadow: #fff 1px 1px 2px ;
}



/*
SITEMENU
*/
#sitemenu-content ul {
	list-style:none;
	text-align:center;
	padding-left:0px;
	margin-top: 1px;
}

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

#sitemenu-content ul li span.in {
	padding:3px 5px;
	color: #000;
	background: #fff;
}

#sitemenu-content a {
	text-decoration:none;
	color: #000;
	position: relative;
}

#sitemenu-content a span.in {
	text-decoration: underline;
}

#sitemenu-content a:hover {
	background:transparent;
}

#sitemenu-content .currentPage span.in, 
#sitemenu-content li a:hover span.in {
	color:#fff;
	background-color:#000;
}

#sitemenu-content > ul > li.currentParent > a > span.in {
	border: 1px solid black;
	padding: 2px 4px;
}

#sitemenu-content > ul > li.currentParent > a:hover > span.in {
	border: 0px none;
	padding: 3px 5px;
}

#sitemenu-content ul li ul li a, 
#sitemenu-content ul li ul li span.in {
	color: #000;
	background-color: #fff;
}


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

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

.pagelet {
	margin-bottom:15px;
}

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

.pagelet.bordered {
	border:1px solid #000;
}

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

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

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

.blockquote-container blockquote {
	border-left: 3px double #000;
	padding: 0em 1em;
	font-style: italic;
}

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



/* 
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:180px;	/* room for caption */
	margin:5px;
    padding-top: 10px;
    background-color: #fff;
    color:inherit;
    overflow: hidden;
}

.gridItem h3 {
    font-weight: normal;
	background-color:#fff;
    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;
}

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


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

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

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

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

#photo-list {
    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;
}

.text-navigation #previous-photo, .text-navigation #next-photo, .text-navigation  #photo-list, .text-navigation a, .text-navigation a:hover{
	background:none!important;
	color:#000;
}

/* 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 {
	margin-top:24px;
	line-height:1.4em;
}



/* 
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:8px 0 5px 10px;}
img.wide {display: block;}
.narrow.left{
	margin:3px 10px 5px 0;
}
.narrow.right{
	margin:3px 0 5px 10px;
}
.ImageElement, .VideoElement { text-align:center;}

.contactElement{ padding-top:25px;}

.article-thumbnail{
	float: left;
    margin: 8px 10px 5px 0;
	clear:left;
}
.no-page-title .photo-navigation {margin-top:10px;}