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

body {
	font-family: Georgia, Palatino, Times, "Times New Roman", serif;
	font-size: 76%; /* as recommended in CSS guide */
	background: #006600 url(verlauf2.png) top left repeat-x;
	color:#111;
	word-wrap:break-word;
	line-height:1.6;
}

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


img {
	border:0px #000 none;
}

a, a:active {
	color:#006699;
}

a:hover {
	color:#003399;
}

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

#page-top {
	background: url(../_Media/tw_banner_web_2_copy-3_banner.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;
	text-shadow: #000 2px 2px 2px;
}

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

#title p {
	position: absolute;
	bottom: 6px;
	left: 20px;
	right: 20px;
	font-style: italic;
}

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

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


ul {
	padding-left:20px;
}


/*
SITEMENU
*/


#sitemenu ul {
	margin:0px 0px 16px 0px;
	list-style:none;
	background: #6666ff;
	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:#000066 !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 {
	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:#6666FF;
	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:0px 0px 2px 0px;
	color:#fff;
	background: #6666ff url(corner-topright.png) right top no-repeat;
	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 div {
	margin:0px 3px;
}


.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: #000066;
    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 #6666ff;
    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 */




/* 
PAGE BOTTOM
*/
#page-bottom {
	margin-top:12px;
	padding: 1px 1em;
	line-height:1.4em;
	background: #eee url(corner-topright.png) top right no-repeat;
	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;}
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;
}

td.dli1 { text-align:center;}
