/* css released under Creative Commons License -  http://creativecommons.org/licenses/by/2.0/deed.en  */
/* html5 + CSS 3 Template created by miss monorom  http://intensivstation.ch 2013 */

/* reset */
* {
	margin: 0;
	padding: 0;
	box-sizing: padding-box;
	box-sizing: border-box;
}
/* render html5 elements as block 
   rendert html5 elemente als block  */

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

body {
	background-color: #f2f2f2;
	font-size: 1em;
/*	font-family: 'Didact Gothic', SunSans-Regular, Sans-Serif;*/
	font-family: Geneva, Sans-Serif;
	color:#020202;
}

pre, code {
	font-size: 1.3em;
}
a {color: #999;}
a:visited {color:#999;}
a:hover {color: rgb(0,165,80); }
a:active { color: rgb(0,165,80); }

h1,h2,h3,h4 {
	font-size:1.8em;
	font-weight: normal;
	margin: 0 0 10px;
}
h3 {
	font-size:1.38em;
}
h4 {
	font-size:1em;
}

img{
	border:none;
}

ul{
	list-style-type:none;
}

p { 
	hyphens: auto; 
}
.clearleft {
	clear:left;
}
.clearright {
	clear:right;
}
.error { color:red !important; }

/* ---------- container zentriert -------------- */
#container {
	max-width: 1200px;
	min-width:310px;
	margin:0  auto;
	background-color: #fff;
}

/* ---------- header -------------- */
#top:after{
    height: 0;
    content: ".";
    display: block;
    clear: both;
	visibility:hidden;
} 
#top {
	background-image: url('../img/sihlpost.jpg');
	background-position: 0 -300px;
	background-color: rgb(0,174,239);
	color:#fff;
	position:relative;
}

#top header{
	padding:0 20px 20px;
	margin: 0 0 30px 0;
	float:left;
	width:60%;
}
#top header a {
	float:left;
	width:auto;
	padding:0;
	margin: 0 12px 0 0;
}
#titel,#titletablet {
/*	background-image: url('../img/gruen-49.png');*/
	background-color: rgba(0,165,80,0.3);
	clear:left;	
	padding: 20px 20px 10px 20px;
	margin:0 0 0 0;
}

#members {
	padding:16px 0 0 0;
}
#titletablet,
.mobile,
.mini,
.menubutton{
	display:none;
}
.menubutton a {
	cursor:pointer;
}
 
/* ------------------ new nav -------------------- */
nav {
	padding:0 20px 0 0;
	margin:0 0 2px;
	float:right;
	width:40%;
} 

nav ul:after {
	height: 0;
	content: ".";
	display: block;
	clear: both;
	visibility:hidden;
} 
nav ul {
  float:right;
}   
nav li {
  float: left;
  margin: 0 3px 0 0;
	width:32%;
}

nav a, nav a:visited {
/*	background-image: url('../img/gruen-33.png');*/
	background-color: rgba(0,165,80,0.3);
	color: #FFFFFF;
	display: block;
	padding: 5px 20px;
	text-decoration: none;
	transition: all 0.5s linear;
	box-shadow: 0 1px 3px #666666;
	border-radius: 0 0 6px 6px;
}


nav a:active { color:#000000;}
nav a:hover, nav a.current {
  color:#fff;
  background-color:rgb(0,165,80); 
} 

/* ----------------- content--------------------- */
section:before {
    height: 0;
    content: ".";
    display: block;
    clear: both;
	visibility:hidden;
}

section#content {
	float: left;
	width: 76%;
	padding: 20px 60px 20px 20px;
	min-height:600px;
}
p, pre{
	padding:  0 0 20px;
	line-height:1.5em;
}	
ul{
	line-height:1.5em;
}

article header{
	background:#fff;
	padding:0;
}
	
article footer{
	border-bottom: 1px solid #564B47;
	color:#564B47;
	padding:0 0 20px;
	margin:0 0 20px;
}

article h1 {
	margin:0;
}
article h2 {
	font-size:1.6em;
	font-weight:bold;
	margin-bottom: 0;
}

.upperid {
	float:right;
	text-align:right;
	width:60px;
}
.blue {
	color: rgb(0,173,242);
}

/* ------------- start ------------*/
#start h1 {
	margin: 0 0 6px 0;
}
#start p {
	margin:0 0 12px 0;
	column-count:3;
	column-gap:18px;
}


/* ------------- nr - nahreisen ------------*/
#nr h1 {
/*	border-bottom:1px solid rgb(0,173,242);*/
	margin: 0 0 0 0;
}
#nr h2, #nr h4 {
	font-size:1.46em;
	margin:0;
}
#nr h4 {
	background-color:rgba(0,173,242,0.08);
	padding:4px 1px;
}
#daten, #diacontainer {
	margin:18px 0 0 0;
}
#nr strong,#nr h1,#nr h3 {
	color: rgb(0,173,242);	
}
#links { margin:12px 0; }
#links li {
	display:inline;
}
#links li:not(:first-child):not(:last-child):after {
	content: " /";
}

#diacontainer {
	margin:24px auto;
	width: 600px;
	height:472px;
	position:relative;
}

#diacontainer figcaption {
	text-align:center;
	padding:0;
	font-size:0.85em;
}

#diacontainer figure {
	position:absolute;
	display:block;
	opacity:0;
	z-index:0;
	transition: opacity 2s ease-in-out;
}

#diacontainer figure.top {
	opacity:1;
	z-index:1;
}

#description {
	padding: 8px 0 0 0;
	column-count:3;
	column-gap:18px;
}

/* -------------- uebersicht ------------- */
#uebersicht a  {
	display:block;
	color:rgb(0,173,242);
	padding:8px 0;
	text-decoration:none;
}
#uebersicht .firsttitle, #uebersicht .upperid   {
	font-size:2em;
}
#uebersicht .firsttitle:after {
	content:' – ';
}
#uebersicht h1 {
	margin: 0 0 18px 0;
}
#uebersicht .secondtitle {
	font-size:1.45em;
	color:#666;
}
#uebersicht a:hover {
	background-color:rgba(0,173,242,0.3);
}
#uebersicht>ul>li {
	margin:0 0 18px 0;
	border-bottom: 1px solid rgb(0,173,242);
}
#uebersicht .termine li {
	display:inline;
}
#uebersicht .termine li:first-child:not(:last-child):after {
	content: " / ";
}
/* -------------- anmeldung ------------- */
.anmeldung h1 {
	font-size:1.4em;
	border-bottom:1px solid rgb(0,173,242);
	margin: 0 0 12px 0;
}
.anmeldung h1 a {
	text-decoration:none;
}
.anmeldung {
	width:44%;
	float:left; 
	margin:0 18px 18px 0;
}
.anmeldungsreihe {
	margin:12px 0 0 0;
}
#formPerson { border:0; margin:24px 0 ; }
#formPerson p { margin:0; font-size:0.85em; }
#formPerson label {
	display:inline-block;
	width:120px;
	margin: 0 0 8px 0;
}
#formPerson input[type=text], #formPerson input[type=email] {
	width:220px;
}
#formPerson input.plz {
	width:40px;
}
#formPerson textarea {
	margin:6px 0;
	display:block;
	width:342px;
	height:120px;
}
#formPerson label.must:after {
	content:' *';
}
/* -------------- programm ------------- */
#programm #formPerson {
	margin-top:0;
}
#programm h2 {
	margin:0 0 12px 0;
}
/* -------------- aside - agenda ------------- */
aside {
	padding:20px 0;
	float:right;
	width: 24%;
	font-size:0.856em;
}

aside .monat {
	background-color:rgb(0,165,80); 
	color:#fff;
	margin:8px 0 0 0;
	padding:2px;
}
aside .tage {
	padding:2px;

}
aside .tage strong {
	display:inline-block;
	width:128px;
}
aside li:nth-child(odd) {
	background-color:rgba(0,165,80,0.2);
}
aside #reservation {
	font-size:0.856em;-	
}
/* -----------footer--------------------------- */
footer.footer {
	font-size:0.8856em;
	
	padding: 20px;
	clear:both;
	background-color: rgb(48,48,48);
	color:#fff;
}
footer a {
	color: #999; text-decoration:none;
}
#simpleTooltip img { display:block; }
#simpleTooltip { 
	border:1px solid rgb(0,165,80);
	min-height:80px;
	box-shadow: rgb(0,165,80) 1px 1px 16px;
}
.footer-segment {
    display: inline-block;
    vertical-align: top;
    width: 33%;
	padding: 0 18px 0 0;
}

.footer-segment h3 {
	padding: 0 0 8px 0;
	margin:0 0 12px 0;
	border-bottom:1px solid #666;
}
.footer-segment h3:not(:first-child) {
	margin-top:34px;
}
.impressum li {
}

/* -------------------- Media Queries -------------------- */
@media only screen and (max-width: 1024px) { 
	#top header, nav {
	    float:none;
	    width:100%;
	}
	#top header a {
		margin-right:0;
	}
	#members img {
		width:92%;
	}
  #mainnav {
	position:absolute;
	bottom:-1px;
    padding:0;
  } 
  nav ul {
    float:none;
  }
  nav li {
    float: left;
    margin: 0;
    width:25%;
  }
	#titel {
		display:none;
	}
	#titletablet {
		display:block;
		padding:20px 20px 78px 20px;
		margin:0 0 0 0;
	}
}

@media only screen and (max-width: 768px) { 

	section#content {
	float: none;
	width: 100%;
	padding: 20px;
	}

	aside {
	padding:20px;
	float: none;
	width: 100%;
	}

	#start p, #description {
		column-count:2;
	}

	.footer-segment {
	    display: inline-block;
	    vertical-align: top;
	    width: 49%;
		padding: 0 0 20px;
	}

	.footer-segment:last-child {
	    border-top:1px solid #999;
	    display: block;
	    width: 100%;
		padding:20px 0 0 ;
	}
}



@media only screen and (max-width: 480px) { 
	#members {
		padding-top:0;
	}
	#mainnav {
		position:relative;
		margin-top:8px;
  	}
	aside {
		padding:20px 10px;
	}
	nav li {
		float: none;
		margin: 0;
		width:100%;
		display:block;
	} 
	nav a {
		font-size:1.2em;
		position:relative;
		border-radius: 0 6px 6px 0;
	}

	nav a:not(.selected):after {
		content:'»';
		position:absolute;
		right:10px;
	}
	#top header {
		margin-bottom:-12px;
		padding:10px;
	}
	
	#titel,.sponsoren, #titletablet {
		display:none;
	}

	section#content {
		padding: 20px 20px 20px 10px;
	}
	
	#start p, #description {
		column-count:1;
	}

	.mobile { 
		display:block;
		margin:0;
	}	
	
	.mini {
		display:block;
		width: 80%;
	} 

	.menubutton {
		display:block;
		position:absolute;
		right:0;
		top:56px;
		z-index: 400;
	}

	.maxi{
		display:block;
	}
	#nr h4 {
		font-size:1em;
	}
	#diacontainer {
		width: 290px;
		height:262px;
	}
	#diacontainer img {
		width: 290px;
		height:225px;
	}

	#uebersicht a  {
		padding:6px 0;
	}
	#uebersicht .firsttitle, #uebersicht .upperid   {
		font-size:1.2em;
	}
	#uebersicht .firsttitle:after {
		content:'';
	}
	#uebersicht h1 {
		margin: 0 0 10px 0;
	}
	#uebersicht .secondtitle {
		display:block;
		font-size:1em;
	}
		
	#anmeldung .anmeldung {
		width:99%;
	}
	#formPerson label {
		display:block;
		width:120px;
		margin:4px 0;
	}
	#formPerson textarea {
		display:block;
		width:300px;
		height:120px;
	}
	footer.footer {
		padding: 0;
	}

	.footer-segment, .footer-segment:last-child  {
		display: block;
		vertical-align: top;
		width: 100%;
		border-bottom:1px solid #999;
		padding:20px 10px;
	}

}

