/* 
   css Copyright (c) 2008-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
*/


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

body {
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size:86%;
	background: #958976;
	color:#1d2326;
	word-wrap:break-word;
	line-height:1.7;
}

#page-container {
	margin: auto;
	max-width: 1200px;
	position: relative;
}


#page {
	padding:26px 2em 0em 2em;
}

a {
	color: #611427;
}

a:hover {
	color: #958976;
}


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


img {
	border: 0px none;
}

.article-info {
	text-align: right;
	font-style: italic;
	color: #611427;
}

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

ol {
	padding-left: 3em;
}

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


/* 
	TITLE & LOGO
*/

#title {
	position: relative;
	height: 150px;
	padding: 0em 1em;
	margin: 14px -1em 14px -1em;
	z-index: 0;
	border: solid 1px #dddcc5;
	background: #611427;
	background-position: left top;
	background-repeat: no-repeat;
	color: #dddcc5;
	border: 2px solid #dddcc5;
	-webkit-border-top-left-radius: 10px; 
	-webkit-border-top-right-radius: 10px;
	/* no border radius for mozilla because of potential background image */

}


h1 {
	position:absolute;
	bottom: 63px;
	left: 16px;
	right: 250px;
	line-height: 1.3;
	text-shadow: #000 1px 1px 2px;
}

h1 a {
	color: #dddcc5;
}

#title p {
	position:absolute;
	top: 90px;
	left: 16px;
	right:250px;
	text-transform: uppercase;
}


/* IE5/Mac love */
* html .allow-sidebar #title>h1, * html .allow-sidebar  #title>p {
	right:0px;
	padding-right:230px;
	width:auto;
}

.has-logo h1, .has-logo #title p {
	left: 220px;
}

.no-sidebar h1, .no-sidebar #title p {
	right: 1em;
}

#logo-container {
	position:absolute;
	top: -1em;
	left: 1em;
}


/*
	SITEMENU
*/
#sitemenu-container {
	width: 240px;
	position:relative;
	margin-top:-178px;
	z-index: 10;
	float: right;
	color: #dddcc5
}


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

.allow-sidebar #sitemenu a { 
	display: block;
}

#sitemenu ul {
	list-style: none;
}

#sitemenu li {
	background: #dddcc5;
	text-transform: uppercase;
	margin-bottom: 3px;
	border: 2px solid #611427;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
}

.allow-sidebar #sitemenu li {
	text-align: right;
}

/* IE Hack */
/* Hides from IE5-mac \*/
* html #sitemenu li, * html #sitemenu li a {
	position:relative;
}
/* End hide from IE5-mac */

#sitemenu li span.in:before {
	content: "\002605";
	padding-right: 3px;
	visibility: hidden;
	color: #611427;
}

#sitemenu li:hover span.in:before, #sitemenu li.currentPage span.in:before, #sitemenu li.currentParent span.in:before {
	visibility: visible;
}

#sitemenu li.currentPage, #sitemenu li.currentParent, #sitemenu li.currentPage span.in:before, #sitemenu li.currentParent span.in:before {
	background: #611427;
	color: #dddcc5;
	border-color: #dddcc5;
}

#sitemenu li.currentParent a {
	color: #dddcc5;
}

/* IE Hack */
/* Hides from IE5-mac \*/
* html #sitemenu li.currentPage, * html #sitemenu li.currentParent {
	border-top-width: 2px;
}
/* End hide from IE5-mac */

* html #sitemenu a:hover {
	background-color: #ffe;
}

*:first-child+html #sitemenu a:hover {
	background-color: #ffe;
}

#sitemenu li span.in {
	padding: 2px 6px;
}

.no-sidebar #sitemenu-container {
	float:none;
	position: static;
	width: auto;
	margin-top: 0px;
	margin-bottom: 12px;
}

.no-sidebar #sitemenu li {
	display:inline;
	border:0px none;
	padding:1px 2px;
}



/*
	PAGE-CONTENT
*/

.allow-sidebar #page-content {
	margin-top: 1em;
}

#main {
	background: #ffe;	
	padding: 1em;
	-webkit-border-bottom-left-radius:10px;
	-moz-border-radius-bottomleft: 10px;
}

.allow-sidebar #main {
	position:absolute;
	top:210px;
	right: 1em;
	left: 2em;
	padding-right: 260px;
}

/* positioning fix for IE6 and IE5/Mac, undone for IE5 in ie.css */
* html .allow-sidebar #main {
	margin-right: 1em;
}

/* IE Hack */
/* Hides from IE5-mac \*/
* html .allow-sidebar #main {
	right: -3em;
}
/* End hide from IE5-mac */


.no-sidebar #main {
	clear: right;
	margin-right: -1em;
}

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

.article-info {
	clear:left;
}

h2 {
	font-size: 160%;
}

h3 {
	font-size: 140%;
	margin-top: 2em;
}



/*
	SIDEBAR & CALLOUTS
*/

#sidebar {
	width: 240px;	
	clear: right;
	float:right;
	position:relative;
	z-index: 10;
	margin-top: 2px;
	background: #611427;
	-webkit-border-top-right-radius: 7px; 
	-webkit-border-top-left-radius: 7px; 
	-moz-border-radius-topright: 7px;
	-moz-border-radius-topleft: 7px;
}

.callout {
	float:left;
	position: relative;
	width: 225px;
	margin: 0em 1em 0em -2em;
	padding: 15px  15px 0em 0em;
	background: #958976;
	-webkit-border-top-right-radius: 7px;
	-webkit-border-bottom-right-radius: 7px;
	-moz-border-radius-topright:  7px;
	-moz-border-radius-bottomright: 7px;
	z-index:10;
}


/* IE Hack */
/* Hides from IE5-mac \*/
* html .callout {
	position:relative;
	margin-left: -1em;
}
/* End hide from IE5-mac */


.pagelet {
	margin-bottom: 2em;
	background-color: #dddcc5!important;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
}

.pagelet.last-item {
	margin-bottom: 1em;
}

.pagelet h4 {
	padding: 1px 0px;
	font-size: 100%;
	font-weight: bold;
	letter-spacing: 3px;
	text-transform: uppercase;
	text-align: center;
	background: #611427;
	color: #dddcc5;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
}

.pagelet h4 span.in {
	padding: 2px 0px 2px 3px;
}

.pagelet-body {
	padding: 6px;
}

.pagelet.bordered {
	border: 2px solid #611427;
	background: #611427;
	color: #dddcc5;
}

.pagelet.bordered h4 {
	padding: 0px;
	background: #dddcc5;
	color: #611427;
}

.pagelet.bordered a {
	color: #dddcc5;
}

.pagelet.bordered a:hover {
	background: #958976;
	color: #611427;
}

#sidebar .pagelet.bordered + .pagelet {
	border-top: 2px solid #dddcc5;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
}

#sidebar .pagelet.bordered + .pagelet.bordered {
	border-top: 2px solid #611427;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
}


/* 
	PHOTO GRID PAGE
*/

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

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

.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 #958976;
    margin: auto;
 }

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

.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;
	text-transform: uppercase;
	font-size:100%;
	font-weight:normal;
	color:#611427;
}


.gridItem:hover {
    background: url(photogrid-item-gradient.png) repeat-x;
}

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

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



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






/*
	NAVIGATION LINKS
*/
.photo-navigation {
	position:relative;
    height: 21px;
    width:200px;
    margin:0px auto 8px auto;
}

.photo-navigation div {
	width:46px;
	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, #next-photo, #photo-list, #previous-photo a, #next-photo a, #photo-list a {
	background-image: url(Arrows.gif);
	background-repeat: no-repeat;
}


#previous-photo	{
    left: 26px;
   	background-position: 0px -39px;
}

#previous-photo a {
	background-position: 0px 0px;
}

#next-photo {
    background-position: -100px -39px;
    left: 133px; 
}
#next-photo a {
    background-position: -100px 0px;
}

#photo-list {
    background-position: -53px -39px;
    left: 83px;
}
#photo-list a {
    background-position: -53px 0px;
}

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



/*
	PAGE-BOTTOM
*/

#page-bottom {
	text-transform: uppercase;
	background: #611427;
	color: #dddcc5;
	text-align:center;
}

.allow-sidebar #page-bottom {
	float:right;
	clear:right;
	position:relative;
	z-index: 10;
	width: 240px;
	margin-top: 3px;
	text-align: right;
}

.allow-sidebar #page-bottom-contents {
	padding: 2px 6px;
}

.no-sidebar #page-bottom {
	margin: 0px -2em;
}

.no-sidebar #page-bottom-contents {
	margin: 0px 2em;
}

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


/* 
	SANDVOX GENERALITIES
*/
.clear {clear: left; 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;}


/* IE 5/5.5 Hackery to read extra stylesheet */

@media tty {
i{content:"\";/*" "*/}} @import 'ie.css'; /*";}
}/* */
