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

key colours in this layout are
	rgb(68,49,19)  - dark brown background
	rgb(174,98,74) - light red background
	new ones as of 030107
	204 206 169
	166 175 122
	#fff - text
*/

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

body {
	font-family: Lucida Grande, Verdana, Arial, sans-serif;
	font-size: 76%; /* as recommended in CSS guide */
	background-color:rgb(166,175,122);
	color:#3B3B30;
	word-wrap:break-word;
	line-height:1.6;
}

body.allow-sidebar {
	background-color:rgb(204,206,169);
	background-image:url(background.gif);
	background-position: 0% 0%;
	background-repeat: repeat-y;
	color:#585947;
}

#sidebar, .callout, #page-top, h1, h2, h3, h4 {
	/*font-family: Georgia, Palatino, Times, "Times New Roman", serif; */
	font-weight:normal;
	background-color:inherit;
	color:#585947;
}


h1, h3 {
	margin-bottom:0.5em;
}
h2 {
margin-bottom: 0.5em;
color: #9A9A84;
font-size: 1.9em;
background-color: #333333;  
height:30px;
padding: 5px;
border: double #fff 3px;
text-shadow: 0px -1px 1px rgb(161, 161, 161);

}

h4 {
	font-weight:bold;
}

p {
	margin-bottom:0.5em;
	max-width:70em;
}

a {
	color:white;
	background-color:inherit;
	text-decoration:underline;
	font-weight:bold;
}

a:hover {
	color:#3B3B30;
}

a img {
	border:none;
}

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

#sitemenu ul {
	margin-bottom:0px;
}


/* 
GENERAL LAYOUT FOR HEADER AND SIDEBAR 
float them on the left if there is a sidebar, this way we can unify them into a single structure. Have the header on top if there is no sidebar.
*/
.allow-sidebar #page-top, #sidebar-container {
	float:left;
	clear:left;
	width:220px;
}

#title, #sitemenu-container, #sidebar-container #sidebar {
	padding:14px;
}

#title a, #sidebar a:link, #page-bottom a {
	color:#fff;
}


.no-sidebar #title {
	float:left;	
	position:relative;
	width:55%;
	height:100%;
	padding:0px;
}

.no-sidebar h1 {
	padding:14px 0px 0px 20px;
	padding-bottom:0px;
}

.no-sidebar #title p {
	padding:0px 0px 0px 20px;
}

#sitemenu-container {
	padding-top:0px;
}

.no-sidebar #sitemenu-container {
	float:left;
	position:relative;
	width:43%;
	padding:14px 5px 3px 0px;
}

.no-sidebar #sitemenu-container ul {
	list-style-type:none;
	height:100%;
}

.no-sidebar #sitemenu-container li {
	display:inline;	
}

.no-sidebar #sitemenu-container li a:hover {
	color:#3B3B30;
}
.no-sidebar #sitemenu-container li.currentPage {
	font-weight:bold;
}


.no-sidebar #sitemenu-container li:before {
	content: " | ";
	font-weight:normal;
}

.no-sidebar #sitemenu-container li.i1:before {
	content:"";
	display:none;
}

/* IE Hack as IE can't do :after, emulate the effect using borders */
/* Hides from IE5-mac \*/
* html .no-sidebar #sitemenu-container li {
	margin:0px;
	padding-left:4px;
	border-left:#999 solid 2px;
}
* html .no-sidebar #sitemenu-container li.i1 {
	border:none;
	padding:0px;
}
/* End hide from IE5-mac */



.no-sidebar #page-top + .clear {
	display:block;
	height:5px;
	width:100%;
	border-bottom:3px #fff double;
	background-color: rgb(166, 175, 122);
}

/* IE Hack as IE can't do adjacent selectors, use a top border on #main-content instead, to get roughly the same effect */
/* Hides from IE5-mac \*/
* html .no-sidebar #main-content{
	border-top:3px #fff double;
}
/* End hide from IE5-mac */




.no-sidebar #main {
	background-color:rgb(204, 206, 169);
	color:inherit;
}

.allow-sidebar #main {
	position:absolute;
	top:0px;
	left:250px;
}

/* IE Hack */

/* Hides from IE5-mac \*/
* html .allow-sidebar #main {
	margin-left:0px;
}
/* End hide from IE5-mac */

.allow-sidebar #main-top {
	/* set up minimum width for page */
	display:block;
	width:520px;
}


#main-content {
	padding:20px 10px 5px 20px;
	font: 1.1em Lucida Grande, Verdana, Arial, sans-serif;
}

#main-content a {
    color: #8F995C;
    border-bottom: 1px dotted #B3B988;
    text-decoration:none;
	font-weight:normal;
    
 }
 
#main-content a:hover {
color: #F0F2E9;
}

/* 
TITLE
Centre smaller logos within their 200px container and, in turn, that container in its container.
*/
#title {
	width:100%;
}

#logo-container {
	display:block;
	width:200px;
	text-align:center;
	margin:auto;
}

.no-sidebar #logo-container {
	float:right;
	width:auto;
}

/*
PAGELETS & CALLOUTS
*/
.callout {
	float:right;
	width:250px;
	padding: 0px 0px 0px 24px;
	color: #D4D4D4;
	
}

.no-sidebar .callout {
	margin-left:8px;
}

#sidebar {
	width:100%;
}

#sidebar .pagelet {
	border-top: 3px #fff double;
}

.pagelet {
	min-width:204px;
	font: 0.9em Lucida Grande, Verdana, Arial, sans-serif;
	color: #D4D4D4;
}

.pagelet + .pagelet {
	margin-top:12px;
}

.callout .pagelet.bordered {
	color:inherit;
	background-color:rgb(166, 175, 122);
	border: double #fff 3px;
	margin-bottom:12px;
	padding:2px 6px 0px 7px;
}

.callout .pagelet.bordered:hover {
	border-style:solid;
}

.pagelet h4 {
     font-size: 1.4em;
	margin:1.2em 0em 0.4em 0em;
	/*border: 1px dotted #e6e6e6;*/
	background-color: inherit;  
	height:15px;
	padding: 5px;
}

.callout .pagelet.bordered h4 {
	margin-top:0.5em;
}

/*
ACTUAL CONTENT
*/

.article h3 {
	margin-top:1em;
}



/* 
PHOTO GRID PAGE
*/

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

.photogrid-index a {
	color:inherit;
	background-color:inherit;
	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: rgb(204, 206, 169);
    color:inherit;
    overflow: hidden;
}

.gridItem h3 {
    font-size: 0.9em;
    font-weight: normal;
    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: 21px;
    width:200px;
    margin:0px 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;
}

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


/*
PAGE BOTTOM
*/
.article-info {
	clear:both;
	font-size: 1.1 em;
}

#page-bottom {
	padding:5px 20px;
	width:220px;
}

#page-bottom p {
	margin:0px;
}

.no-sidebar #page-bottom {
	width:93%;
}


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