/*
   css Copyright © 2008-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
*/


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

body {
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-size:86%;
	background: #958976;
	color:#1d2326;
	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;
}

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

ul, ol, dd {
	padding-left: 2.5em;
}

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


/*
	TITLE & LOGO
*/

#title {
	position: relative;
	height: 140px;
	padding: 5px 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;
	text-decoration:none;
}

#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;
	padding-right:5px;
}

#sitemenu ul {
	list-style: none;
}

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

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

#sitemenu-content ul li span.in
{
    white-space: normal !important;
}

/* IE Hack */
/* Hides from IE5-mac \*/
* html #sitemenu li,
* html #sitemenu li a,
* html #sitemenu li span.in {
	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 > a > span.in:before {
	visibility: visible;
}

#sitemenu li:hover ul span.in:before,
#sitemenu li.currentPage ul span.in:before {
	visibility: hidden;
}

#sitemenu li.currentPage,
#sitemenu li.currentParent,
#sitemenu li.currentPage span.in:before,
#sitemenu li.currentParent > a span.in:before {
	background: #611427;
	color: #dddcc5;
	border-color: #dddcc5;
	padding-right:5px;
}

* html #sitemenu li.currentPage {
	background: #611427;
	color: #dddcc5;
	border-color: #dddcc5;
	padding-right:5px;
}

#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 4px;
}

#sitemenu li.hasSubmenu span.in {
	padding: 2px 0px 2px 4px;
}

#sitemenu-content.ddsmoothmenu-v ul li.hasSubmenu span.in {
	padding-left: 16px;
}

#sitemenu-content.ddsmoothmenu-v ul .submenu-indicator {
	display: block;
	background: url(left.gif) center center no-repeat;
	width: 8px;
	height: 11px;
	position: absolute;
	top: 5px;
	left: 5px;
}


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

.no-sidebar #sitemenu-content ul li ul {
	box-shadow: 2px 3px 3px #611427;
	-webkit-box-shadow: 2px 3px 3px #611427;
	-moz-box-shadow: 2px 3px 3px #611427;
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}

.allow-sidebar #sitemenu-content ul {
	margin-left: 14px;
}

.allow-sidebar #sitemenu ul li ul  {
	-webkit-border-top-left-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-top-left-radius: 10px;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 0px;
	-webkit-border-bottom-right-radius: 0px;
	-moz-border-radius-bottomright: 0px;
	margin-left: 0px;
}

.no-sidebar #sitemenu ul li ul li,
.allow-sidebar #sitemenu ul li ul li {
	display: list-item;
	border-radius: 0px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
}

.allow-sidebar #sitemenu ul li ul li {
	padding-right: 6px;
}


.no-sidebar #sitemenu ul li ul li.last-item {
	-webkit-border-bottom-right-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-moz-border-radius-bottomleft: 10px;
	border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
}

.allow-sidebar #sitemenu ul li ul li.i1 {
	border-top-left-radius: 10px;
	-webkit-border-top-left-radius: 10px;
	-moz-border-radius-topleft: 10px;
}

.allow-sidebar #sitemenu ul li ul li.last-item {
	border-bottom-left-radius: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-moz-border-radius-bottomleft: 10px;
}


#sitemenu ul li ul li {
	padding: 0px;
	border: 0px none;
}

#sitemenu ul li ul li.currentPage span.in {
	border: 0px none;
}

#sitemenu-content .rightarrowclass {
	top: 10px;
}

#sitemenu-content .downarrowclass {
	padding: 0px;
	position: relative;
	right: -4px;
}

/*
	PAGE-CONTENT
*/

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

#main {
	background: #ffe;
	padding: 1em;
	border-bottom-left-radius:10px;
	-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: 15px;
	background: #611427;
	border-top-right-radius: 7px;
	border-top-left-radius: 7px;
	-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;
	border-top-right-radius: 7px;
	border-bottom-right-radius: 7px;
	-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;
	border-radius: 7px;
	-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;
	border-radius: 7px;
	-webkit-border-radius: 7px;
	-moz-border-radius: 7px;
}
#sidebar .pagelet h4 {
	padding: 1px 0px 1px 5px;
	text-align: left;
}

.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;
	border-radius: 0px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
}

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

.blockquote-container>.pagelet-body, .blockquote-container>.graphic {
	position: relative;
	background: -48px -5px no-repeat;
	background-image: url(QuotationMarks-Expansion.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 25px 30px no-repeat;
	background-image: url(QuotationMarks-Expansion.png);
}

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

#sidebar .bordered blockquote {
	margin-left: 30px;
}

blockquote p {
	margin: 0.5em 0px;
}

.blockquote-container .graphic {
	background-color: #dddcc5;
	padding: 6px;
	border-radius: 7px;
	-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;
/*	float:left;
*/}

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

#sidebar .photogrid-index{
	width:auto;
	margin-left:20px;
}
#sidebar .photogrid-index a{
	color:#DDDCC5;
}
#sidebar .photogrid-index a:hover{
	color:#611427;
}

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


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

.narrow.left{
	margin:5px 10px 3px 0;
}
.narrow.right{
	margin:5px 0 1px 10px;
}
.article-thumbnail {
	float:left;
	margin: 5px 10px 3px 0;
}

.no-page-title .photo-navigation {margin-top:37px;}