/* 
   css Copyright © 2006-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:#efefe7 url(DiagonalPattern.gif) fixed;
	color:#3b0700;
	line-height:1.6;
}

img {
	border:0px #000 none;
}

a {
	color:#3b0700;
}

a:visited {
	color:#700;
}
a:hover {
	color:#b00;
}
a:active {
	color:#c00;
}

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

#page {
	width:776px;
	margin:0px auto;
}

#title {
	background: transparent url(transparent.png);
	overflow:auto;
	height:100%;
}

* html #title {
	background: url(DiagonalPatternLight.gif);
}

body.has-custom-banner #title {
	height: 195px;
}

body.has-custom-banner #title h1 {
	text-shadow: 1.5px 1.5px 1.5px #fff;
}

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


#title h1, #title p {
	margin:2px 8px;
}

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

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

#title img {
	float: right;
}


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

ul {
	list-style-type:square;
}



/*
SITEMENU
*/

#sitemenu {
	clear:right;
}

#sitemenu-content ul {
	margin:0px 0px 16px 0px;
	padding:1px 6px 1px 2px;
	list-style:none;
	text-align:left;
	background:#3b0700  url(DiagonalPatternDark.gif);
	border: 1px #3b0700 solid;
}

#sitemenu-content ul li ul {
	background:#3b0700  url(DiagonalPatternDark.gif);
	box-shadow: 3px 2px 4px #3b0700;
	-webkit-box-shadow: 3px 2px 4px #3b0700;
	-moz-box-shadow: 3px 2px 4px #3b0700;
}

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

#sitemenu-content ul a, 
#sitemenu-content ul .currentPage .in {
	color: #fff;
	text-decoration: none;
	padding:3px 4px;
}

#sitemenu-content ul ul a {
	padding: 0px;
}

#sitemenu-content ul ul .currentPage .in {
	padding: 5px;
}

#sitemenu-content .currentPage .in, 
#sitemenu-content .currentParent > a,  
#sitemenu-content a:hover, 
#sitemenu-content a.selected  {
	background: url(DiagonalPatternLight.gif);
	color:#3b0700 !important;
}


/* 
MAIN PART 
*/


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

body.no-sidebar #main-content{
	width:776px;
}

.article,  .no-callouts {
	background: transparent url(transparent.png);
	margin-bottom:1em;
	border: 1px solid #3b0700;
	padding:10px 6px 6px;
}

#sidebar .article{ padding:0px;}
#sidebar .article, #sidebar .no-callouts { border:0; margin:0;}

* html .article, * html .no-callouts {
	background: #ebe8e5 url(DiagonalPatternLight.gif);	
}

.article-info {
	clear:left;
}

.timestamp {
	text-align:right;
}

#main h2 {
	background: #3b0700  url(DiagonalPatternDark.gif);
	color:#efefe7;
	padding:0px 6px;
	border-width: 1px 1px 0px 1px;
	border-color: #3b0700;
	border-style: solid;
}

#main h2 a {
	color: #efefe7;
	text-decoration: underline;
}

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

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

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

.pagelet {
	margin-bottom:15px;
	padding:0px 0px 2px 0px;
	background: transparent url(transparent.png);
	overflow:hidden;
}

* html .pagelet {
	background: transparent url(DiagonalPatternLight.gif);
}

.pagelet h4 {
	margin:0px 0px 2px 0px;
	color:#efefe7;
	background: #3b0700  url(DiagonalPatternDark.gif);
	padding:1px 6px;
	border-color: #3b0700;
	border-style: solid;
	border-width: 1px;
}

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

.pagelet.bordered h4 {
	border-width: 0px 0px 1px 0px;
}

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


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

.callout .pagelet.bordered {
	margin-left:-1px;
}

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

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


/* 
PHOTO GRID PAGE
*/

.photogrid-index {
    text-align: center;
    margin: auto;
    overflow: hidden; /* for IE 5 Mac */
	height:1%; /* for IE 5, 6 Win */
}

.photogrid-index a {
	text-decoration:none;
	padding:1px 3px;
}
.photogrid-index h3 a:hover {
	text-decoration:underline;
}

.gridItem {
    float: left;
    position:relative;
    width:142px;
    height:180px;	/* room for caption */
	margin:5px;
    padding-top: 10px;
    color:inherit;
    overflow: hidden;
}

body.allow-sidebar .gridItem {
	width: 160px;
}

.gridItem h3 {
    font-weight: normal;
    font-size: 100%;
    line-height: 130%;
    color: #3b0700;
    margin: 4px 7px 0px 5px;
	padding: 0px 2px;
    position:absolute;
	top: 140px; /* needs to leave 38px from the bottom of the gridItem */
	width: 128px;
}

body.allow-sidebar .gridItem h3 {
	width:136px;
	margin: 4px 11px 0px 11px; 
}

.gridItem img {
    border: 1px solid #3b0700;
    margin: auto;
    display:block;
    position: absolute;
    top: 0;
    bottom: 40px;
    right: 0;
    left: 0;
}

.gridItem img:hover {
	border-style: double;
}
#sidebar .photogrid-index{
	width:auto;
	margin-left:25px;
	border:0;
	background:none;
}

/*
PHOTO NAVIGATION
*/

.photo-navigation {
	position:relative;
    height: 21px;
    width:200px;
    margin:8px 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;
}

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

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

/* IE 6 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:12px;
	line-height:1.4em;
	background: url(DiagonalPatternDark.gif);
	color: #ebe8e5;
	text-align: center;	
	border: 1px solid #4b0700;
}

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

/*
OTHER
*/
.article-thumbnail {
	float:left;
	margin: 5px 10px 5px 0;
}
#index .article {
	clear:left;
}

/* 
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.5em 0;
}
.narrow.right{
	margin: 0.3em 0 0.5em 0.7em;
}
.no-page-title .photo-navigation {margin-bottom:17px;}