/**
 * HTML5 ✰ Boilerplate
 *
 * style.css contains a reset, font normalization and some base styles.
 *
 * Credit is left where credit is due.
 * Much inspiration was taken from these projects:
 * - yui.yahooapis.com/2.8.1/build/base/base.css
 * - camendesign.com/design/
 * - praegnanz.de/weblog/htmlcssjs-kickstart
 */


/**
 * html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
 * v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
 * html5doctor.com/html-5-reset-stylesheet/
 */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

blockquote, q { quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after { content: ""; content: none; }

ins { background-color: #ff9; color: #000; text-decoration: none; }

mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }

table { border-collapse: collapse; border-spacing: 0; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

input, select { vertical-align: middle; }


/**
 * Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/
 */

body { font:13px/1.231 "Trebuchet MS", Verdana, Arial, Geneva, Helvetica, sans-serif; *font-size:small; } /* Hack retained to preserve specificity */
select, input, textarea, button { font:99% sans-serif; }

/* Normalize monospace sizing:
   en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */
pre, code, kbd, samp { font-family: monospace, sans-serif; }


/**
 * Minimal base styles.
 */

/* Always force a scrollbar in non-IE */
html { overflow-y: scroll; }

/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }

ul, ol { margin-left: 2em; }
ol { list-style-type: decimal; }

/* Remove margins for navigation lists */
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }

small { font-size: 85%; }
strong, th { font-weight: bold; }

td { vertical-align: top; }

/* Set sub, sup without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

pre {
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; white-space: pre-wrap; word-wrap: break-word;
  padding: 15px;
}

textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

.ie6 legend, .ie7 legend { margin-left: -7px; }

/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* Hand cursor on clickable input elements */
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea { margin: 0; }

/* Colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid {
   border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }


/* These selection declarations have to be separate
   No text-shadow: twitter.com/miketaylr/status/12228805301
   Also: hot pink! */
::-moz-selection{ background: orange; color:#fff; text-shadow: none; }
::selection { background: orange; color:#fff; text-shadow: none; }

/* j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; }

/* Make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }

/* Bicubic resizing for non-native sized IMG:
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }

/**
 * You might tweak these..
 */

body, select, input, textarea {
  /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
  color: #444;
  /* Set your base font here, to apply evenly */
  /* font-family: Georgia, serif;  */
}

/* Headers (h1, h2, etc) have no default font-size or margin; define those yourself */
h1, h2, h3, h4, h5, h6 { font-weight: bold; }

a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }


/**
 * Primary styles
 */
html, body {
	min-height: 100%; /* Anzeigebereich in der Vertikalen auf 100% strecken */
}

body {
	margin: auto;
	padding: 1em 22px 1em 1em;
	min-width: 800px;
	max-width: 1000px;
	background-color: #f1f3fa;
	background-image: -moz-linear-gradient(center bottom , silver, #F1F3FA 50px);
	color: #333333;
	font-size: 10pt;

}

/* Allgemeine Formatierungen (hier nur relative Schriftgrößenangaben für print-Version)*/

#main h1 {
	font-size: 140%;
	margin-bottom: 7px;
	border-bottom: 2px dotted #2F60A8;
	text-align: left;
	margin-top: 12px;
}

#main h2 {
	font-size: 115%;
	margin-top: 12px;
	margin-bottom: 5px;
}

#main h3 {
	font-size: 105%;
	margin-top: 12px;
	margin-bottom: 3px;
}

#main h5 {
	text-align: right;
	margin: 0px;
}

#main h1, #main h2, #main h3, #main h4, #main h5, #main h6 {
	clear: both;
}

a {
	color: #2e5fa8;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}


a:hover img {
	-moz-box-shadow: 0px 0px 4px #1C3966;
	-webkit-box-shadow: 0px 0px 4px #1C3966;
	box-shadow: 0 0 4px #1C3966;
}

#main a[href$=".PDF"], #main a[href$=".pdf"], #main .gembrief li {
	padding: 0 0 0 18px;
	background: transparent url("file_pdf.png") center left no-repeat;
}

#main a[href$=".doc"], #main a[href$=".docx"] {
	padding: 0 0 0 18px;
	background: transparent url("file_word.png") center left no-repeat;
}

#main a[href$=".xls"], #main a[href$=".xlsx"] {
	padding: 0 0 0 18px;
	background: transparent url("file_excel.png") center left no-repeat;
}

a.rss {
	padding: 0 0 0 18px;
	background: transparent url("feed-icon.png") center left no-repeat;
}

#main a[href^="http://"],
#main a[href^="https://"] {
	padding: 0 14px 0 0;
	background: transparent url("external_link.gif") center right no-repeat;
}

#main a.youtube-video-link {
	padding: 0 0 0 18px;
	background: transparent url("yt_icon_64.png") center left no-repeat;
	background-size: 16px;
}

p {
	margin-bottom: 10px;
	margin-top: 5px;
	line-height: 125%;
}

b, strong {
	font-weight: bold;
}

i, em {
	font-style: italic;
}

.red, .error {
	color: red;
}

ul {
	list-style-type: square;
}

li {
	margin-bottom: 2px;
	margin-top: 2px;
}

#main nav ul {
	list-style-type: none;
}

#main nav ul li {
	margin-left: 0;
}

#main nav a:before {
	content: "» ";
}

#main .navigation-line {
	position: relative;
	text-align: center;
	padding: 8px;
	margin-top: 8px;
	background-color: #E4E6EC;
	clear:both;
}

#main .navigation-line .left {
	position: absolute;
	left: 4px;
	float: none;
}

#main .navigation-line .right {
	position: absolute;
	right: 4px;
	float: none;
}

#main .navigation-line a,
#main .navigation-line .active {
    background-color: #2F60A8;
	color: white;
    border-radius: 4px 4px 4px 4px;
    padding: 3px 5px;
}

#main .navigation-line .active {
	text-decoration: underline;
}

#main .navigation-line a:before {
	content: "";
}

#main img {
	margin: 3px;
	max-width: 99%;
}

#main img.mail {
	margin: 0 0 -3px;
	border-bottom: 1px solid transparent;
}

#main a:hover img.mail {
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	border-bottom: 1px solid #036;
}

#main .left img, #main img.left, #main .left-clear img, #main img.left-clear, #main .left figcaption,
#main .right img, #main img.right, #main .right-clear img, #main img.right-clear, #main .right figcaption,
#main .teaser img {
	margin: 1px 8px /* right and left margin around floating images */
}

#main figcaption {
    font-size: 80%;
}

#main .left, #main .left-clear {
	float: left;
	margin-left: 0 !important;
}

#main .right, #main .right-clear {
	float:right;
	margin-right: 0 !important;
}

#main .left-clear {
	clear:left;
}

#main .right-clear {
	clear:right;
}

#main .clear {
	clear:both;
}

#main .center {
	text-align: center;
}

#main table thead {
    font-weight: bold;
	background-color: #E4E6EC;
}

#main table td {
	border: 1px solid silver;
    padding: 3px;
    vertical-align: top;
}

#main form {
	width: 80%;
}

#main form ol {
	margin: 0;
}

#main form ol li {
	list-style: none;
	margin: 10px 0;
	clear:left;
}

#main form ol label {
	text-align: left;
	float:left;
	width: 25%;
    font-weight: bold;
    margin-bottom: 5px;
	padding-right: 5px;
}

#main form ol input, #main form ol select {
	width: 72%;
}

#main form ol input[type="checkbox"] {
	width: auto;
}

#main form ol textarea {
	clear: left;
	float: left;
	width: 97%;
	margin: 5px;
}

#main form button,
#main form input[type="button"],
#main form input[type="submit"] {
	background-color: #2F60A8;
    border: 1px solid white;
    height: 30px;
    min-width: 100px;
	color: white;
}

#main dl dt {
    font-weight: bold;
	margin-top: 10px; /*15*/
}
#main dl dd {
    margin-left: 30px;
    padding: 2px; /*5*/
}

#main dl.inline dt {
	float: left;
	margin-right: 5px;
	margin-top: 0;
	font-weight: normal;
}

#main dl.inline dt:after {
	content: " - ";
}

#main dl.inline dd {
	padding: 0;
	margin: 0;
}

#main .box, #main blockquote {
	padding: 5px;
	margin: 5px;
	background-color: #E4E6EC;
	border: 1px solid silver;
}

#main .gembrief h1, #main .predigt h1 {
	border: none;
	margin: 0;
	margin-bottom: 4px;
	font-size: 105%;
}

#main .gembrief {
	width: 50%;
	float: left;
	text-align: left;
}

#main .gembrief a {
	background-image: none;
	padding: 0;
}

#main .gembrief h1 {
	display: inline;
}

#main .gembrief h2 {
	font-weight: normal;
	margin: 0;
	background: transparent url("file_pdf.png") center right no-repeat;
	font-size: 100%;
	clear: none;
}

#main .gembrief ul {
	font-size: 85%;
	list-style: none;
	margin-left: 100px;
	border-top: 1px solid silver;
	margin-top: 5px;
    padding-top: 5px;
}

#main .predigt {
	clear: left;
}

#main .predigt a b {
	display: block;
    font-size: 20pt;
    margin-bottom: 10px;
}

#main .predigt span b {
	display: block;
    font-size: 16pt;
    margin-bottom: 10px;
}

#main .predigt dl {
	border-left: 1px solid silver;
    display: block;
    padding-left: 5px;
    text-align: left;
	margin: 0 0 0 110px;
}

#main .predigt dt {
	float: left;
	width: 64px;
	margin: 0;
}

#main .predigt dd {
	margin-left: 64px;
	margin-bottom: 4px;
	padding: 0;
}

#main dl.info {
	width: 250px;
}

#main dl.info-large {
	width: 480px;
}

#main dl.info, #main dl.info-large {
	border: 1px solid silver;
	padding: 5px;
	background-color: #e4e6ec;
	float: left;
	margin: 15px 10px 10px 0px;
}

#main dl.info dt, #main dl.info-large dt {
	font-weight: bold;
	display: block;
	border-bottom: 1px solid silver;
}

#main dl.info dd, #main dl.info-large dd {
	margin-left: 20px;
	margin-bottom: 10px;
}

#main .teaser {
	padding: 5px;
	margin-top: 5px;
	margin-bottom: 5px;
}

#main .teaser:hover {
	background-color: #E4E6EC;
}

#main .teaser header {
	margin-bottom: 15px;
	border-bottom: 1px solid silver;
	padding: 2px 0;
}

#main .teaser h1 {
	border: 0;
    float: left;
    font-size: 105%;
    width: 85%;
	margin: 0;
}

#main .teaser header span{
	font-size: 75%;
	color: #999999;
	float: right;
}

#main .teaser a p {
	color: #333333;
}

#main .teaser .readmore {
	float:right;
}

#main .teaser a:hover .readmore {
	text-decoration: underline;
}

#main .teaser img {
	float: left;
	margin-left: 0;
}

h2#Willkommen {
	font-size: 105%;
	margin-bottom: 20px;
}

#Naechste-Woche h2 {
	font-size: 105%;
	margin-top: 0;
}

#gallery a
{
	float: left;
	width: 113px;
	height: 113px;
	display:block;
	text-align: center;
}

#gallery a img
{

}

/* Besondere Seitenelemente */

#header {
	color: white;
	text-align: right;
	font-size: 12pt;
	height: 120px;
	background-image: url(header-extended.png);
	background-repeat: repeat-x;
	position: relative;
}

#header div {
	background-image: url(header.png);
	width: 800px;
	height: 100%;
	float:left; /* für IE < 8 */
}

#header a {
	position: absolute;
	left: 0px;
	top: 0px;
	display: block;
	width: 120px;
	height: 120px;
}

#header h1, #header h2 {
	position: absolute;
	right: 15px;
	text-shadow: 2px 2px 2px #333333;
	font-weight: normal;
}

#header h2 {
	/* mod */ top: 80px;
}

#header h1 {
	bottom: 45px;
	font-size: 22pt;
}

#nav-top ul {
	margin-left: 145px;
	margin-right: 155px;
	text-align: center;
	font-size: 10pt;
	font-weight: bold;
}

#nav-top li {
	border-bottom: 1px solid silver;
	border-top: 1px solid silver;
	float: left;
	width: 25%;
}
#nav-top a {
	display: block;
	padding: 5px;
	color: #333333;
	background-image: -moz-linear-gradient(top, silver, #E4E6EC);
	background-color: #E4E6EC;
}

#nav-top ul.right {
	float:right;
	margin: 0;
}

#nav-top ul.right li {
	width: 73px;
	font-size: 7pt;
}

#nav-top ul.right a {
	padding: 3px;
}

#nav-top a:hover {
	background-image: -moz-linear-gradient(top, #658BC5, #9BB7E3);
	background-color: #9BB7E3;
}

#nav-top li.active a{
	background-color: #2F60A8;
	background-image: none;
	color: #FFFFFF;
}

#nav-left h1, #calendarbar h1, #nav-left label {
	font-size: 9pt;
	background-color: #2F60A8;
	text-align: center;
	color: #FFFFFF;
	padding: 2px;
}

#nav-left h1 a, #calendarbar h1 a, #nav-left label a {
	color: #FFFFFF;
}

#nav-left {
	float: left;
	width: 135px;
	/*margin-left:-100%;  mod */
}

.ie6 #nav-left {
	padding-left: 23px;
}

#nav-left h1 {
	margin-top: 10px;
	border-bottom: 1px solid white;
	-moz-box-shadow: 2px 2px 1px #bbbbbb;
	-webkit-box-shadow: 2px 2px 1px #bbbbbb;
	box-shadow: 2px 2px 1px #bbbbbb;
}

#nav-left a {
	display: block;
	font-size: 10pt;
	font-weight: bold;
	padding: 5px 2px 5px 3px;
	color: #333333;
	background-color: #E4E6EC;
	border-left: 3px solid silver;
	border-bottom: 1px solid white;
	-moz-box-shadow: 2px 2px 1px #bbbbbb;
	-webkit-box-shadow: 2px 2px 1px #bbbbbb;
	box-shadow: 2px 2px 1px #bbbbbb;
}

#nav-left a:hover {
	border-color: #2F60A8;
	text-decoration: none;
}

#nav-left li.active a {
	background-color: #9BB7E3;
	border-color: #2F60A8;
}

#nav-left li.active ul a {
	background-color: #2F60A8;
	color: white;
}

#nav-left li.active ul a:hover {
	border-color: #1B3762;
}

#nav-left li.active ul li.active a {
	background-color: #2F60A8;
	text-decoration: underline;
}

#nav-left a span {
	display: block;
	font-size: 8pt;
	font-weight: normal;
	color: #999999;
	margin-top: 2px;
}

#nav-left img {
	margin-left: 20px;
}

/* Hide mobile navigation select-box per default */
#nav-left select, #nav-left label {
	display: none;
}

/* Kalender */
#calendarbar {
	float: left;
	margin-left: -136px; /* mod */
	max-width: 146px;
	min-height: 170px;
	margin-top: 10px;
}

#calendarswitch {
	display:block;
	position:absolute;
	margin-left: 145px;
	margin-top: 10px;
	background-color: #9BB7E3;
	border: 1px solid white;
	padding: 20px 5px;
	color: white;
	font-weight: bold;
	cursor: pointer;
	font-size: 10pt;
	border-radius: 0 10px 10px 0;
}

#calendarcontent {
	font-size: 8pt;
	text-align: center;
	border: 1px solid #FFFFFF;
	display: none;
	-moz-box-shadow: 0 0 10px #bbbbbb;
	-webkit-box-shadow: 0 0 10px #bbbbbb;
	box-shadow: 0 0 10px #bbbbbb;
}

#calendarbar noscript p {
	background-color: #f1f3fa;
}

#calendarbar img {
	margin-top: 40px;
	margin-bottom: 40px;
}

#calendarbar h2 {
	font-size: 8pt;
	margin: 0 3px;
	padding: 2px;
	display: block;
	border-bottom: 1px solid silver;
	text-align: left;
}

#calendarbar dl {
	margin: 2px 0 5px;
	padding-left: 5px;
	text-align: left;
}

#calendarbar dt  {
	font-size: 7pt;
	float: left;
	margin-right: 3px;
}

#calendarbar dd  {
	margin-left: 30px;
	font-weight: bold;
	line-height: 10pt;
	margin-bottom: 2px;
}

#calendarbar a.today {
	display: block;
	margin: 3px 0 15px;
	font-size: 9pt;
}

#calendarbar table {
	color: #333333;
	border-spacing: 1px;
	width: 100%;
}

#calendarbar td {
	text-align: center;
	vertical-align: middle;
	width: 60px;
	height: 15px;
	background-color: #F1F3FA;
	border: 1px solid #FFFFFF;
	padding: 2px;
}
#calendarbar tr#days-of-week td {
	background-color: #9BB7E3;
	font-weight: bold;
}
#calendarbar thead td {
	color: #FFFFFF;
	background-color: #2F60A8;
	font-size: 9pt;
	font-weight: bold;
	height: 30px;
}

#calendarbar table a {
	color: #333333;
	text-decoration: none;
}

#calendarbar thead a {
	color: #FFFFFF;
}

#calendarbar table a:hover {
	text-decoration: underline;
}

#calendarbar table .cal-prev-month-day a, #calendar table .cal-next-month-day a {
	color: #999999;
}

#events td {
	width: 240px;
}

#events td.cal-nav {
	width: 14.7%; /* mod */
}

#cal-current-day {
	background-color: #2F60A8 !important;
}

#cal-current-day a{
	color: #FFFFFF !important;
}

#cal-today {
	background-color: #9BB7E3 !important;
}

.cal-weekend {
	background-color: #e4e6ec !important;
}

#main-column {
	float:left; width:100%; padding:0;
	margin: 0 -145px 0 0; /* mod */
}

#main {
	text-align: justify;
	margin: 10px 140px 20px 10px; /* mod */
	padding: 0 2px;
}

#main.calendar-enabled {
	margin-right: 290px; /* mod (added) */
}

* html #main {
	height: 1em;  /* Workaround gegen den 3-Pixel-Bug des Internet Explorer bis Version 6 */
}

#footer {
	clear: both;
	font-size: 8pt;
	padding: 30px 2px 2px;
	text-align: center;
	border: 0;
}

#footer a {
	color: #666666;
}

#footer a:hover {
	color: #333333;
	text-decoration: none;
}

/* HYPHENATOR */

#HyphenatorToggleBox {
	position: absolute;
	top: 0px;
	right: 0px;
	background-color: #E4E6EC;
	color: silver;
	font-size: 7pt;
	padding: 1px 4px;
	cursor: pointer;
	border-width: 0 0 1px 1px;
	border-color: silver;
	border-style: solid;
	opacity: 0.75;
}

#HyphenatorToggleBox:hover {
	color: black;
	border-color: black;
	background-color: silver;
}

/**
 * Non-semantic helper classes: please define your styles before this section.
 */

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: drupal.org/node/897638 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* The Magnificent Clearfix: Updated to prevent margin-collapsing on child elements.
   j.mp/bestclearfix */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix { zoom: 1; }



/**
 * Media queries for responsive design.
 *
 * These follow after primary styles so they will successfully override.
 */

@media all and (orientation:portrait) {
  /* Style adjustments for portrait mode goes here */

}

@media all and (orientation:landscape) {
  /* Style adjustments for landscape mode goes here */

}

/* Grade-A Mobile Browsers (Opera Mobile, Mobile Safari, Android Chrome)
   consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {


  /* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you: j.mp/textsizeadjust */
  /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}


/**
 * Print styles. (TODO)
 *
 * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
 */
@media print {
	* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
	-ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
	a, a:visited { color: #444 !important; text-decoration: underline; }
	a[href^="http://"]:after { content: " (" attr(href) ")"; }
    a[href^="https://"]:after { content: " (" attr(href) ")"; }
	abbr[title]:after { content: " (" attr(title) ")"; }
	/*.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
	pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
	thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
	tr, img { page-break-inside: avoid; }
	@page { margin: 0.5cm; }
	p, h2, h3 { orphans: 3; widows: 3; }
	h2, h3{ page-break-after: avoid; }

	body {
		width: auto;
		font: 13px/1.231 "Linux Libertine", Palatino, "Times New Roman", Times, serif;
		font-size: 12pt;
	}

    #main a[href$=".PDF"],
    #main a[href$=".pdf"],
    #main a[href$=".doc"],
    #main a[href$=".docx"],
    #main a[href$=".xls"],
    #main a[href$=".xlsx"],
    a[href^="http://"],
    a[href^="https://"],
    a.rss {
		padding-right: 0;
		background: none;
	}

	#header div, #nav-top, #nav-left, #calendarbar, #main nav, #footer, .noprint, #HyphenatorToggleBox {
		display: none !important;
	}

	#header {
		text-align: left;
		height: 20px;
		background: none;
		position: relative;
		margin-bottom: 10px;
		border-bottom: 1px solid black;
		text-align: right;
	}
	#header h1, #header h2 {
		display: inline;
		position: relative;
		top: 0px;
		left: 0px;
		font-size: 11pt;
	}

	#header h1 {
		font-weight:bold;
	}

	#header h1:after {
		content: " - ";
	}

	#main {
		margin: 0;
		padding: 0;
		width: 100%;
	}

	h1,h2,h3,h4,h5,h6 {
		border-color: silver !important;
	}
}

/* ADDITIONS */

#main .newteaser {
	position: relative;
	margin-bottom: 20px;
	margin-top: 10px;
}

#main .newteaser a:hover {
	text-decoration: none;
}

#main .newteaser img {
	width: 100%;
	max-width: 100%;
	margin: 0;
}

#main .newteaser header {
	position:absolute;
	top: 0;
	left: 0;
	width: 100%;
	background-image: url(trans-back-light.png);
	color: #003366;
}

#main .newteaser header h1 {
	border-bottom: 0;
	margin: 5px;
}

#main .newteaser div {
	position: absolute;
	bottom: 3px;
	left: 0;
	width: 100%;
	/*background-image: url(trans-back.png);
	color: white;*/
	margin: 0;
	padding: 0;
}

#main .newteaser div p {
	margin: 5px;
	padding: 0;
}

#main .newteaser p img {
	display: none;
}

/* MOVE TEASER TEXT DOWN */
#main .newteaser div {
	padding: 5px 0;
	margin: 0;
	position: relative;
	border-top: 1px solid gray;
	border-bottom: 1px dashed silver;
	color: #333333;
}

#main .newteaser div p {
	margin: 0 5px 5px;
}

#main .newteaser img {
	 margin-bottom: -1px;
}

@media only screen and (max-width: 850px) {
	body {
		min-width: 100%;
		padding: 0;
	}

	.mobilehidden {
		display: none;
		visibility: hidden;
	}

	#header div {
		background-position: -145px 0;
		max-width: 655px;
		width: 100%;
	}

	#header div a {
		width: 100%;
	}

	#container {
		margin: 1em;
	}

	#main-column {
		float: none;
		margin: 0;
	}

	#main {
		margin: 25px 0;
	}

	#main.calendar-enabled {
		margin-right: 0;
	}

	#main form {
		width: 100%;
	}

	/* move calendar to bottom */
	#calendarbar {
		margin-left: 0;
		float: none;
		max-width: 100%;
	}

	#calendar-static {
		width: 100%;
		margin-bottom: 10px;
	}

	#calendar {
		float: left;
		width: 49%;
		margin-right: 2%;
	}

	#calendarbar a.today {
		margin-bottom: 3px;
	}

	#events {
		float: left;
		width: 49%;
	}

	#calendarswitch {
		display: none;
	}

    #year-events {
        width:100%;
        float:left;
    }

	/* move left navigation to the top (100% width) */
	#nav-left {
		float: none;
		margin-left: 0;
		width: 100%;
		margin-bottom: 0;
	}

	/* hide left navigation menu and show select-box instead */
	#nav-left ul, #nav-left > h1 {
		display: none;
	}

	#nav-left select {
		display: block;
		width: 100%;
		font-weight: bold;
		padding: 5px;
	}

	#nav-left label {
		display: block;
	}

	#nav-left .gembrief {
		width: 100px;
		float: left;
	}

	#nav-left .gembrief a {
		height: 55px;
	}

	#nav-left .predigt a {
		min-height: 55px;
	}

	#nav-left .gembrief img {
		height: 55px;
		margin-left: 25px;
	}

	#nav-left .predigt {
		margin-left: 105px;
	}

	#nav-top ul {
		margin-left: 0;
	}

}

/* make navigation in two rows & Gemeindebrief box 100% width*/
@media only screen and (max-width: 650px) {
	#nav-top ul {
		margin-right: 0;
	}

	#nav-top ul.right {
		width: 100%;
	}

	#nav-top ul li,
	#nav-top ul.right li {
		width: 50%;
	}

	#main .gembrief {
		width: 100%;
	}
}

/* move text in .newteaser below img */
@media only screen and (max-width: 500px) {
	/*#main .newteaser div {
		padding: 1px 0;
		margin: 0;
		position: relative;
		border-top: 1px solid gray;
	}

	#main .newteaser div p {
		margin: 0 5px 5px;
	}

	#main .newteaser img {
		 margin-bottom: -1px;
	}

	#main .newteaser header h1 {
		margin-bottom: 0;
		margin-top: 0;
	}

	#main .newteaser header {
		position: relative;
		border-bottom: 1px solid gray;
		padding-bottom: 5px;
		padding-top: 5px;
	}*/

	#main .newteaser div {
		padding: 5px 0;
		margin: 0;
		position: relative;
		border-top: 1px solid gray;
	}

	#main .newteaser div p {
		margin: 0 5px 5px;
	}

	#main .newteaser img {
		 margin-bottom: -1px;
	}

	#main .newteaser header h1 {
		margin-bottom: 0;
		margin-top: 0;
	}

	#main .newteaser header {
		position: relative;
		border-bottom: 1px solid gray;
		padding-bottom: 5px;
		padding-top: 5px;
		background: none;
	}
}

@media only screen and (max-width: 300px) {
	#calendar {
		width: 100%;
	}

	#events {
		width: 100%;
	}
}




/* Mobile Sermon */

.mobile-sermons{
    margin: 0px;
}
.mobile-sermons ul > li{
    list-style-type: none;
	margin: 8px 0px;
}
.mobile-sermons li > ul{
    margin-left: 95px;

}
#main .mobile-sermons h1{
    border-bottom: 0px;
    font-size: 118%;
    margin: 5px 0px;
}
.mobile-sermons > li{
    list-style-type: none;
    border-bottom: 1px solid #ccc;
    padding: 13px 0px;
}
.mobile-sermons > li:first-child{
    border-top: 1px solid #ccc;
}
.mobile-sermons time{
    color: #777;
    font-size: 90%;
}
.mobile-sermons img{
    float: left;
}
.mobile-sermons > li > a{
    display:block;
    clear:left;
    text-align:center;
}
.mobile-sermons dt{
    display:block;
    font-weight: bold;
}
.mobile-sermons dd{
    display:block;
	margin-left:15px;
}
.mobile-sermons audio{
    width:100%;
	margin:0px;
	clear:left;
}
.mobile-sermons p{
	clear:left;
	text-align:center;
	margin:0px;
}
