/* 
   css Copyright (c) 2005-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: Helvetica, Arial, sans-serif;
	font-size: 76%; /* as recommended in CSS guide */
	background-color:#fff;
	color:#111;
	word-wrap:break-word;
	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 {
	max-width: 90em;
	margin:0px 10px;
}


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

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 {
	height:160px;
	background-position:-24px top;
	background-repeat: no-repeat;
}

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



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

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

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

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

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

#sitemenu a:hover{
	background:transparent;
}

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



/*
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 p {
	padding:0px;
	margin-bottom: 0.4em;
}

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



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

/* 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;}
img.narrow {float: right; margin:0em 0em 0.8em 0.8em;}
img.wide {display: block;}
.ImageElement, .VideoElement { text-align:center;}
html > body #graphical-text-BD6CE95B-9F9C-4D03-B62D-0E1413438A4D {
	background/**/:url("../_Media/pastedimage.png") top left no-repeat;
}
html > body #graphical-text-BD6CE95B-9F9C-4D03-B62D-0E1413438A4D, html > body #graphical-text-BD6CE95B-9F9C-4D03-B62D-0E1413438A4D a:link, html > body #graphical-text-BD6CE95B-9F9C-4D03-B62D-0E1413438A4D a:visited {
	display/**/:block;
	text-align/**/:left;
	text-indent/**/:-9999px;
	width/**/:40px;
	height/**/:1024px;
}
