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

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: #f8f9fa url(verlauf.png) repeat-x left top;
	color: #111;
	word-wrap:break-word;
	line-height:1.6;
}

/* sans-serif font for headings & sitemenu */
#sitemenu, h2, h3, h4, h5, h6, #title p, .collection-navigation {
	font-family: Helvetica, Arial, sans-serif;
}

h5, h6 {
	font-size: 100%;
	margin-bottom: 0.8em;
}

img {
	border:0px #000 none;
}

a, a:active {
	color:#44563c;
}

a:hover {
	color: #455292;
}

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


#page {
	width:770px;
	margin:18px auto;
	padding:15px;
	background: #fff;
}

#page-top {
	background: url(Sky.jpeg) center top no-repeat;
}

#title {
	background: transparent url(corner-topright.png) top right no-repeat;
	overflow: hidden;
	position: relative;
	height:160px;
	text-align:center;
	color: #fff;
}

.has-logo h1, .has-logo #title p  {
	margin-right:210px;
	width:525px;
}

* html #title {
	background-image: url(corner-topright.gif);
}


#title h1 {
	position: absolute;
	bottom: 50px;
	left: 20px;
	right: 20px;
	font-size: 240%;
	text-shadow: #000 2px 1px 2px;
	display: none;
}

#title p {
	position: absolute;
	bottom: 6px;
	left: 20px;
	right: 20px;
	font-style: italic;
	text-shadow: #000 1px 1px 2px;
	display: none;
}

#title h1 a {
	color:#fff;
	text-decoration: none;
	display:block;
} 

#title img {
	float: right;
	margin: 16px 8px 0px 12px;
}


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

dt {
	font-style: italic;
}


/*
SITEMENU
*/


#sitemenu ul {
	margin:0px 0px 16px 0px;
	list-style:none;
	background: #9c9870;
	height: 2.6em;
	line-height: 2.6em;
	overflow:hidden;
	padding: 0px;
}

#sitemenu ul li {
	float: left;
}

#sitemenu ul a, #sitemenu ul .currentPage .in {
	text-transform: uppercase;
	text-decoration: none;
	color: #fff;
	border-right: 1px solid #fff;
	display: block;
	white-space: nowrap;
	padding: 0px 8px;
}

#sitemenu .currentPage .in, #sitemenu .currentParent a {
	background: #fff;
	color:#3b0700 !important;
}

#sitemenu a:hover {
	background: url(corner-topright.png) top right no-repeat;
}

* html #sitemenu a:hover {
	background-image: url(corner-topright.gif);
}

#sitemenu .currentParent a:hover {
	color: #fff !important;
}


/* 
MAIN PART 
*/

.article, .general-index, .no-callouts {
	margin-bottom:1em;
	padding:10px 6px 6px;
}

.listing-index {
	margin-bottom: 1em;
	padding: 0px 6px;
}

.general-index .article {
	margin:0px;
	padding:0px;
	border:0px none;
	background:transparent;
	clear:left;
	margin-bottom: 1em;
}

.article-info {
	clear:left;
}


.article-info .timestamp {
	clear:left;
	text-align:right;
	background: #eee url(corner-topright.png) top right no-repeat;
	padding: 1px 0.7em;
	margin: 3px -6px 0px -6px;
}

* html .article-info .timestamp {
	background-image: url(corner-topright.gif);
}


#main h2 {
	color: #424242;
	font-weight: bold;
	padding:0px 6px;
	border-bottom: 1px solid #eee;
}

/*
SIDEBAR & CALLOUTS
*/
body.allow-sidebar #main {
	margin-right:245px;
	padding-top:1px;
}

#sidebar {
	margin-top:1px;
	width:230px;
	float:right;
}

.pagelet {
	margin-bottom:15px;
	padding:0px 0px 2px 0px;
	overflow:hidden;
}

.pagelet h4 {
	margin: 0 0px 2px;
	color: #212121;
	background: #fff url(corner-topright.png) no-repeat right top;
	padding: 1px 6px;
}

* html .pagelet h4 {
	background-image: url(corner-topright.gif);
}

.pagelet.bordered {
	border-style: solid;
	border-color: #eee;
	border-width: 0px 0px 1px 1px;
}

.pagelet.bordered h4 {
	border-width: 0px 0px 1px 0px;
}

.pagelet-body {
	margin:0px 6px;
}


.callout {
	width:230px;
	float:left;
	margin: 0px 10px 0px 0px ;
}

.callout .pagelet.bordered {
	margin-left:-1px;
}

/* 
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;
    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: #3b0700;
    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 #b4c756;
    margin: auto;
    display:block;
    position: absolute;
    top: 0;
    bottom: 40px;
    right: 0;
    left: 0;
}


.gridItem img:hover {
	border-style: double;
}


/*
PHOTO NAVIGATION
*/

.photo-navigation {
	position:relative;
    height: 21px;
    width:200px;
    margin:8px 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;
}

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


.collection-navigation {
	font-weight: bold;
}

.collection-navigation a {
	text-decoration: none;
}



/* 
PAGE BOTTOM
*/
#page-bottom {
	margin-top:12px;
	padding: 1px 1em;
	line-height:1.4em;
	background: #9c9870 url(corner-topright.png) no-repeat right;
	text-align: center;	
}

* html #page-bottom {
	background-image: url(corner-topright.gif);
}


/*
OTHER
*/
.article-thumbnail {
	float:left;
}
/* 
SANDVOX INTERNALS
	
these should be present in every style sheet to 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; margin: 0em 0em 0.8em 0.8em;}
img.wide {display: block;}
.ImageElement, .VideoElement { text-align:center;}

