/** 
 * main.css
 * 
 * 1. General HTML tags
 * 2. Masthead area
 * 3. Main content and sidebar
 * 4. Footer
 * 5. Media queries for responsive layout
 * 
 */

/*********************************************************************
 * 1. General HTML tags
 *
 */

* {
	box-sizing: border-box; 
}
h2.motto{
	text-align: right;
float:right;


}
body {
	padding: 0;
	margin: 0 auto;
	}

body, td, input[type=text], textarea {
	font-family: 'Quattrocento', serif;
	font-size: 105%; 
	line-height: 1.8em;
	color: #444; 
}

img {
	max-width: 100%; 
}

h2 {
	font-weight: normal;
}

h3 {
	border-top: 1px solid #eee; 
	padding-top: 1em;
	color: #777; 
}

a {
	color: #333;
	text-decoration: none;
	border-bottom: 1px solid #ccc; 
}
	a:hover,
	.nav a:hover {
		color: #000;
		border-color: #aaa; 
	}

blockquote {
	margin-left: 0;
	padding-left: 1.5em;
	padding-right: 2em; 
	border-left: 4px solid #ddd; 
	font-style: italic; 
	color: #777; 
}

pre, code {
	background: #eee; 
	border: 1px solid #ddd; 
}

pre {
	font-size: 14px; 
	line-height: 1.4em;
	padding: 1em;
	border-left: 4px solid #ddd; 
}

.rot {
	color: red;
	
}
/*********************************************************************
 * 2. Masthead area
 *
 */

#logo img {
	width:  130px;
height: 130px;
margin: 5px;
vertical-align: bottom;
}

#header{
padding: 5% 10%;
padding-bottom:0;
}
	#header a {
		border-bottom: 0;
	}
	
	#header h1 {
		display: inline;
		font-size: 2.5em;
		margin-bottom: 50px;
	}

#navigation {
	clear:both;
	height: 2em;
	padding-left: 10%; 
	padding-right: 10%;
	background-image: url(../images/wave.png);
}

.topnav, .topnav li {
	list-style: none; 
	padding: 0;
	margin: 0;	
}
	.topnav li {
		float: left; 
		margin-right: 1em;
		margin-bottom: 1em;
		margin-top:2em;
		
	}
	.topnav a {
		padding: 0.25em 0.5em;
		text-decoration: none; 
		display: block;
		background: #eee; 
		color: #333; 
		border: 1px solid #eee; 
	}
	.topnav a:hover {
		background: #ddd;
		border-color: #ddd; 
	}
	.topnav li.current a {
		background: #ddd; 
		border-color: #ddd; 
	}
	.topnav li.edit a {
		background: none; 
	}


form.search {
	float: right; 
	margin: 0;
	width: 30%; 
}
	form.search input {
		margin: 0;
		padding: 0.25em 0.5em;
		border: 1px solid #ccc; 
		width: 100%; 
	}
	form.search button {
		display: none; 
	}

.breadcrumbs {
	display: none;
	padding: 10%;
	max-width: 1600px; 
	clear: both; 
	padding-top: 1em; 


}
	.breadcrumbs span:after {
		content: ">";
		color: #999; 
		padding-left: 0.5em;
		padding-right: 0.25em; 
	}

/*********************************************************************
 * 3. Main content and sidebar
 *
 */

#main {
	padding: 10%;
	max-width: 1600px; 
	border-top: 1px solid #eee; 
	padding-top: 1em; 
	margin-top: 1em; 
	clear: both; 

}

}

#content {
	width: 85%; 
}

#content, #sidebar {
	padding-bottom: 2em; 
}

body.has-sidebar #content {
	width: 65%; 
	float: left;
}

body.has-sidebar #sidebar {
	width: 35%;
	padding-left: 5%; 
	float: left; 
}

.nav {
	margin-left: 0;
	padding-left: 0;
	list-style: none; 
}
	.nav .nav {
		padding-left: 1.5em;
		list-style: disc;
	}
	.nav li {
		margin: 1em 0;
	}

	.nav-tree li {
		margin-top: 0;
		margin-bottom: 0;
	}

	.nav a {
		font-weight: bold;
	}

	.nav-tree li a {
		color: #777; 
	}

	.nav .current > a {
		color: #333; 
	}

.align_left {
	/* for images placed in rich text editor */ 
	float: left;
	margin: 0 1em 0.5em 0; 
	position: relative;
	top: 0.5em;
	max-width: 50%; 
}

.align_right {
	/* for images placed in rich text editor */ 
	float: right;
	margin: 0 0 0.5em 1em;
	max-width: 50%; 
}

.align_center {
	/* for images placed in rich text editor */ 
	display: block;
	margin: 1em auto; 
	position: relative;
	top: 0.5em;
}


.thumbs {
	list-style: none;
	padding: 20px 0;
	margin: 0 auto;
	text-align: center;
	width: 100%;
	max-width: 850px;
}

.thumbs li {
	display: inline-block;
	margin: 10px 5px 0 5px;
	vertical-align: top;
	width:45%;
}

.thumbs li a img {
}


/*********************************************************************
 * 4. Footer
 *
 */

#footer {
	
	padding: 10%;
	max-width: 1600px; 
	clear: both; 
	border-top: 1px solid #eee; 
	font-size: 80%; 
}



/*********************************************************************
 *  Kontaktformular
 *
 */

#InputfieldForm23 li {
	list-style: none;

	
}
#Inputfield_Bestellung_Name {
	
		width: 100%;
	padding: 10px;
	font-size: 1.2em;
	}


#Inputfield_Bestellung_Mail {
	width: 100%;
	padding: 10px;
	font-size: 1.2em;
}
#Inputfield_Bestellung_Kommentar {
	width: 100%;
	height: 200px;
	padding: 10px;
	font-size: 1.2em;
}

#Inputfield_submit {
	margin-top: 1em;
	width: 100%;
	height: 50px;
	font-size: 1.2em;
}

.field--error--message {

    color: #ff0000;
	}

	
		
#wrap_Inputfield_scf-website, #wrap_Inputfield_submitted, #wrap_Inputfield_scf-date {
	display: none;
}
	
p.error.scf-state{
	padding-left: 10%;
	font-weight: bold;
	color: red;
}
p.success.scf-state{
	padding-left: 10%;
	font-weight: bold;
	color: green;
}


/*********************************************************************
 * 5. Media queries for responsive layout
 *
 */

@media only screen and (max-width: 767px) {
	/* mobile layout */ 

	body, td, textarea {
		font-size: 100%;
		padding: 5%; 
	}
	body.has-sidebar #content, 
	body.has-sidebar #sidebar {
		float: none;
		width: 100%; 
		padding: 0; 
	}
	form.search {
		float: none; 
		width: 100%; 
	}
	#content {
		width: 100%; 
	}
	#sidebar {
		border-top: 1px solid #eee;
		padding-top: 1em; 
	}
	.align_left, .align_right, .align_center {
		display: block;
		float: none; 
		margin: 1em auto;
		max-width: 100%; 
	}

	.thumbs li {
		width:100%;
	}
}

/* iPhone portrait */

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) and (orientation : portrait) 
{
	body, td, textarea {
		font-size: 200%;
		padding: 5%; 
	}
	body.has-sidebar #content, 
	body.has-sidebar #sidebar {
		float: none;
		width: 100%; 
		padding: 0; 
	}
	#navigation {
		padding: 0%;
	}
	#header{
		padding: 0%;
	}
	#main{
		padding: 0%;
	}
	#content {
		width: 100%; 
	}
	#sidebar {
		border-top: 1px solid #eee;
		margin-top: 3em; 
		
	}
	
	#sidebar img{
		display: none;
	}
	
	.align_left, .align_right, .align_center {
		display: block;
		float: none; 
		margin: 1em auto;
		max-width: 100%; 
	}

	.thumbs li {
		width:100%;
	}
	
	

}

@media only screen and (min-width: 767px) and (max-width: 1200px){
	/* small layout */ 
.thumbs li {
	width:100%


}
}

@media only screen and (min-width: 1200px) {
	/* extra-wide desktop layout */ 
	
	body, td, textarea {
		font-size: 115%; 
	}
}
