/* 
   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, Palatino, Times, "Times New Roman", serif;
	font-size: 76%; /* as recommended in CSS guide */
	background-color:#300;
	color:#fff;
	line-height:1.6;
}

/* white links (IE6 can't do 'inherit') */
a {
	color:#fff;
	border:0px none;
}

/* black links where we have a white background */
.callout a, #sidebar a, body.no-sidebar #title a {
	color:#000;
}


h1, h2, h3, h4, h5, h6 {
	font-weight:normal;
	text-transform:uppercase;
	letter-spacing:0.1em;
}
h1, #title p{ margin-left:40px;}

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

h1 a {
	text-decoration:none;
}

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

h2 {
	min-width:510px;
}

h3 {
	margin-top:2em;
}

ul, ol {
	padding-left:24px;
	margin-bottom:10px;
}

img {
	border:0px none;
}

#main-content .article, #main-content .no-callouts {
	clear: right;
}


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

.article-info {
	clear:right;
}


/* 
TITLE AREA
*/
/* allow-sidebar case */
body.allow-sidebar #page-top {
	position:relative;
	z-index:10;
	width:571px;
	margin-left:215px;
}


body.allow-sidebar #logo-container {
	float:right;
}

body.allow-sidebar h1, body.allow-sidebar h1 a {
	color:#fff;
	margin-top:1em;
}

#main {
	margin-top:2em;
	margin-right:2em;
}

body.allow-sidebar #main {
	margin-left:255px;
}

body.no-sidebar #main {
	margin-left:2em;
}


/* no-sidebar case */
body.no-sidebar #page-top {
	height:220px;
	width:100%;
	background:#300 url(no-sidebar-middle.png) repeat-x;
	/* overflow:hidden; */
}

body.no-sidebar #title {
	color:#111;
	background-color:transparent;
	text-align:center;
}

body.no-sidebar h1 {
	background:url(no-sidebar-left.png) left top no-repeat;
	height:220px;
	margin:0;
	
}

body.no-sidebar h1 span.in {
	background:url(no-sidebar-right.png) no-repeat right top;	
	height:70px;
	display:block;
	padding:30px 185px 120px 260px;
}

body.no-sidebar #title p {
	position:relative;
	top:-90px;
	margin:0px 180px 0px 260px;
	padding-top:10px;
	padding-right:6px;
	background-image:url(bar.gif);
	background-repeat:no-repeat;
	background-position:center top;
}

body.no-sidebar #logo-container {
	position:absolute;
	top:20px;
	left:20px;
}

/*
SITEMENU
*/
body.allow-sidebar #sitemenu ul {
	margin-top:0.5em;
	margin-left:12px;
}

body.no-sidebar #sitemenu {
	position:relative;
	top:-60px;
	text-align:right;
	padding-right:28px;
}

#sitemenu ul li {
	list-style:none;
	display:inline;
}

#sitemenu ul li.currentParent > a span.in {
	text-decoration: overline;
}

* html #sitemenu ul li {
	margin-right:0.2em;
}

#sitemenu ul li:before {
	content:'\002022';
	margin-right: 3px;
}

#sitemenu ul li.i1:before {
	content:'';
}

#sitemenu ul li ul li:before {
	content:'';
}

#sitemenu-content ul li ul {
	background-color: #300;
	box-shadow: 2px 1px 3px #999;
	-webkit-box-shadow: 2px 1px 3px #999;
	-moz-box-shadow: 2px 1px 3px #999;
	border-color: #999;
}

#sitemenu-content ul li ul li a:hover {
	text-decoration: none;
}
/*#sitemenu-content ul li ul li a{margin-top:-15px!important;}
*/
/*
SIDEBAR ARRANGEMENT 
and decorations
*/
#sidebar {
	position:absolute;
	top:0px;
	left:0px;
	width:241px;
	background-image:url(sidebar-background.png);
	background-repeat: repeat-y;
}

#sidebar-top {
	height:285px;
	width:100%;
	background:url(sidebar-top.png);
	background-repeat:no-repeat;
}

#sidebar-content {
	padding:0px 18px 0px 12px;
	color:#000;
	min-height:300px;
}

#sidebar-bottom {
	height:174px;
	width:100%;
	background:url(sidebar-bottom.png);
	background-repeat:no-repeat;
}



/*
PAGELETS
*/
#sidebar .pagelet {
	margin-top:1em;
	padding-bottom:1.5em;
	background-image:url(bar.gif);
	background-repeat:no-repeat;
	background-position:bottom center;
}

.callout {
	margin:0px 0px 0px 12px;
	width:230px;
	float:right;
	background-color:#E8BF95;
	background-position: -2px;
	background-image:url(sidebar-background.png);
	color:#000;
	
}

.callout .pagelet {
	margin:12px;
}

.callout .pagelet.bordered {
	border:3px #300 solid;
	margin:6px;
	padding:6px;
}

.pagelet h4 {
	text-transform:uppercase;
}


/*
BLOCKQUOTES
*/
.blockquote-container>.pagelet-body, .blockquote-container>.graphic {
	position: relative;
	padding: 0px 10px 0px 15px;
	background: -25px -5px no-repeat;
	background-image: url(QuotationMarks-Cabernet.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 47px no-repeat;
	background-image: url(QuotationMarks-Cabernet.png);
} 

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

blockquote p {
	margin: 10px 0px;
}



/* 
PHOTO GRID PAGE
*/

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

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

.gridItem {
    float: left;
    position:relative;
    width:150px;
    height:182px;	/* room for caption */
	margin:5px;
    padding-top: 10px;
	background-color:#E8BF95;
	background-position: -5px;
	background-image:url(sidebar-background.png);
    overflow: hidden;
}

.gridItem h3 {
    font-size: 0.9em;
    font-weight: normal;
    color: #000000;
    margin-top: 4px;
    margin-left: 7px;
    margin-right: 7px;
    position:absolute;
	top: 140px; /* needs to leave 38px from the bottom of the gridItem */
	width: 136px;
	line-height:15px;
}

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

#sidebar .photogrid-index{
	width:auto;
	margin-left:15px;
}

/* IE Hack */
/* Hides from IE5-mac \*/
* html .gridItem img {
	position: relative;
	top:0px;
}
#sidebar .gridItem{
	background:none;
}

* html .gridItem h3 {
	position: relative;
	top: 0px;
}
/* End hide from IE5-mac */




/*
PHOTO NAVIGATION
*/

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

.photo-navigation div {
	width:50px;
	height:9px;
	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: 35px;
}
#previous-photo a {
    background: url(photo-prev.gif)		no-repeat;
}

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

#photo-list {
    background: url(photo-list-off.gif)		no-repeat;
    left: 91px;
	width:19px;
}
#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;
	width:auto!important;
	font-weight:bold;
}

/* 
BOTTOM
*/
#page-bottom {
	font-style:italic;
	margin:36px 1em 5px 255px;
	clear:both;
}

body.no-sidebar #page-bottom {
	margin-left:2em;
}


/* 
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;}
.hidden {display:none;}
.narrow {float: right; margin:5px 0 5px 10px;}
img.wide {display: block;}
.ImageElement, .VideoElement { text-align:center;}
.narrow.left{
	margin:5px 10px 5px 0;
}
.narrow.right{
	margin:5px 0 5px 10px;
}
.whiteBackground, .whiteBackground a
{
	color:#000;
}
.article-thumbnail {
    float: left;
    margin: 5px 10px 5px 0;
	clear:left;
}
.article-info .timestamp, h3.index-title{ clear:left;}
