/* 
   css Copyright (c) 2006-2007 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;
	line-height: 160%;
}

body {
	font-family:  Georgia, Times, "Times New Roman", serif;
	font-size: 76%; /* as recommended in CSS guide */
	background:#fff;
	color:#111;
	word-wrap:break-word;
}

img {
	border:0px #000 none;
}

a {
	color:#311;
}

a:visited {
	color:#511;
}
a:hover {
	color:#911;
}
a:active {
	color:#b11;
}


h2 {
	font-size: 150%;
	margin: 0.33333333em 8px;
}

h4 {
	font-size: 125%;
	margin: 0.6em 0em 0.5em 0em;
	color: #666;
}

#title {
	overflow:auto;
	height:100%;
	text-align:center;
}

#title h1 {
	margin:2.25em 5px 0.75em 5px;
}

#title h1 a {
	text-decoration:none;
} 

#title p {
	font-style: italic;
	color: #755;
	margin: 0em 5px 1.5em 5px;
}

#title img {
	float: right;
}

ul {
	padding-left:20px;
	list-style-type:square;
}


/*
SITEMENU
*/

#sitemenu {
	clear:right;
	color: #666;
	border:  double #ddd;
	border-width: 3px 0px;
	margin-bottom: 2em
}

#sitemenu:hover {
	border-color: #b99;
}

#sitemenu ul {
	padding:0px 2px;
	margin:2px 7.5% 2px 7.5%;
	list-style:none;
	text-align:center;
}

#sitemenu ul li {
	display:inline;
	margin:0px 0.3em;
}

#sitemenu ul a, #sitemenu ul .currentPage .in {
	color: #666;
	text-decoration: none;
}

#sitemenu .currentPage .in, #sitemenu .currentParent .in,  #sitemenu a:hover  {
	color:#300 !important;
}


/* 
MAIN PART 
*/

.article, #index {
	margin:8px;
}

#index .article {
	margin:0px;
}

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

/*
SIDEBAR & CALLOUTS
*/


#page-content {
	width:776px;
	margin: 0px auto
}

body.no-sidebar #page-content {
	width: 620px;
}

.callout {
	width:222px;
	float:left;
	margin: 0px 10px 0px 0px ;
	border-right: 1px solid #eee;
}

body.allow-sidebar #main {
	margin-right:245px;
}

#sidebar {
	width:230px;
	float:right;
	border-left: 1px #eee solid;
}

.pagelet h4 {
	margin-top:0px;
}

.pagelet {
	margin-top:1.5em;
	overflow:hidden;
	padding: 0px 12px;
}

.pagelet.i1 {
	margin-top:0px;
}

.pagelet.bordered {
	background:#eee;
	padding: 12px;
}

/* 
PHOTO GRID PAGE
*/

.photogrid-index {
    text-align: center;
    margin: auto;
    overflow: hidden; /* for IE 5 Mac */
	height:1%; /* for IE 5, 6 Win */
}

.photogrid-index a {
	text-decoration:none;
	padding:1px 3px;
}
.photogrid-index h3 a:hover {
	text-decoration:underline;
}

.gridItem {
    float: left;
    position:relative;
    width:142px;
    height:180px;	/* room for caption */
	margin:5px 4px;
    padding-top: 10px;
    color:inherit;
    overflow: hidden;
}

body.allow-sidebar .gridItem {
	width: 160px;
}

.gridItem h3 {
    font-weight: normal;
    font-size: 100%;
    line-height: 130%;
	color: #755;
    margin: 4px 7px 0px 5px;
	padding: 0px 2px;
    position:absolute;
	top: 140px; /* needs to leave 38px from the bottom of the gridItem */
	width: 128px;
}

body.allow-sidebar .gridItem h3 {
	width:136px;
	margin: 4px 11px 0px 11px; 
}

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


/*
PHOTO NAVIGATION
*/

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

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

#next-photo {
    background: url(photo-next-off.gif)		no-repeat;
    left: 122px; 
}
#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;
}


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

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




/* 
PAGE BOTTOM
*/
#page-bottom {
	margin:2em 0px 0px 0px;
	padding-bottom: 2px;
	line-height:1.4em;
	font-style: italic;
	text-align: center;	
}

/*
OTHER
*/
.article-thumbnail {
	padding: 3px 8px 0px 0px;
	float:left;
}
#index .article {
	clear:left;
}

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


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


/* Overall pagelet */
div.rssBadge
{
	margin: 10px;
}

/* Small icon option */
img.smallRSSBadgeIcon { vertical-align:middle; }
img.smallRSSBadgeIconLeft { margin-right:3px; }
img.smallRSSBadgeIconRight { margin-left:3px; }

/* Large icon option */
div.largeRSSBadgeIcon, p.largeRSSBadgeIcon
{
	margin: 0 10px;
	text-align:center !important;
}

img.largeRSSBadgeIcon { margin-bottom: 4px; }
p.largeRSSBadgeIcon { margin: 0; }
/* 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;
}

td.dli1 { text-align:center;}
