/* 
   css Copyright (c) 2005-2006 by 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;
	word-wrap:break-word;
	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 {
	font-weight:normal;
	text-transform:uppercase;
	letter-spacing:0.1em;
}

h1 a {
	text-decoration:none;
}

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

h2 {
	min-width:510px;
}

h3 {
	margin-top:2em;
}

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

img {
	border:0px none;
}


/* 
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-color:#300;
	background-image:url(no-sidebar-middle.png) ;
	background-repeat: 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) transparent;
	background-repeat:no-repeat;
	height:220px;
}

body.no-sidebar h1 span.in {
	background-image:url(no-sidebar-right.png);
	background-repeat:no-repeat;
	background-position: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;
}

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

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

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

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

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


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



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

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

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




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

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

/* IE7 hacks */

*:first-child+html .gridItem img {
	position:relative;
	top:0px;
}

*:first-child+html .gridItem h3 {
	position:relative;
	top:0px;
}


/* Contact Element (standard and customized HTML) */

form.contactElement textarea,
form.contactElement input,
form.contactElement select {
	width:98%;
	margin:4px 0;
}
form.contactElement input.submit {
	width:auto;
	display:block;
	margin-left:auto;
	margin-right:2%;
	min-width:50%;
}
form.contactElement th {
	text-align:right;
	font-weight:normal;
	width:25%;
}

/* Contact Element For IE 7 */
*:first-child+html form.contactElement input.submit {
	padding:0px 10%;
	min-width: auto;
}
