/*
 * general styles 
 */
body {
	font-family: 'Open Sans', sans-serif;
	color: #333333;
	background: #fff;
}
p {
	margin: 5px 0;
	line-height: 25px;
}

a {
	text-decoration: none;
	color: inherit;
	transition: color .5s ease;
}

strong { font-weight: bold; }
.clear { clear:both; }

.hidden { 
	position:absolute;
	clip: rect(1px 1px 1px 1px); /* IE6 & 7 */
	clip: rect(1px, 1px, 1px, 1px);
}
/*
 * header styles 
 */
header {
	position:relative;
	width:auto;
	height: 175px;
	background-image: url("../images/header.png");
   background-repeat: no-repeat;
   background-position: top left;
   background-size: 100% 175px;
}


header h1 {
	margin: 35px 0 0 0;
	font-size: 55px;
	color: #e56038;
	font-family: 'Baumans', cursive;
}


header p {
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	color: #4A463B;
	margin-left:132px;
}
header .tagline {
	position: absolute;
	left: 59%;
	top: 110px;:
	height: 50px;
	width: 20%;
	color: #F8A700;
	font-size: 13px;
	font-weight: bold;
}
header .tagline span.small {
	font-size: 10px;
	position: relative;
	top: 5px;
}
/*
 * navigation styles
 */

nav {
	max-width: 900px;
	margin: 0px auto;
	display:block;
	font-size: 16px;
}

ul#navigation {
    position:relative;
    border: none;
}
	 
ul#navigation li {
    display:inline;
    margin:0;
    padding:0;
    float:left;
    position:relative;
}
ul#navigation li.right {
 	 float:right;
}

ul#navigation li a {
    padding:4px 15px;
    display:inline-block;

    -webkit-transition:color 0.2s linear, background 0.2s linear;   
    -moz-transition:color 0.2s linear, background 0.2s linear;  
    -o-transition:color 0.2s linear, background 0.2s linear;    
    transition:color 0.2s linear, background 0.2s linear;   
}

ul#navigation li a:hover {
    color: #E56038;
}

ul#navigation li.first a {
    border-left: 0 none;
    padding-left: 0px;
}
	 
ul#navigation li.last a {
    border-right: 0 none;
    padding-right: 0px;
}

ul#navigation li:hover > a {
    color:#E56038;
}
/*
 * submenu nav
 */
ul#navigation li:hover > ul
{
	/*these 2 styles are very important, 
	being the ones which make the drop-down to appear on hover */
    visibility:visible;
    opacity:1;
}

ul#navigation ul, ul#navigation ul li ul {
    list-style: none;
    margin: 0;
    padding: 0;    
	/*the next 2 styles are very important, 
	being the ones which make the drop-down to stay hidden */
    visibility:hidden;
    opacity:0;
    position: absolute;
    z-index: 99999;
    width:180px;
    background:#FDC100;

	/* css3 transitions for smooth hover effect */
    -webkit-transition:opacity 0.2s linear, visibility 0.2s linear; 
    -moz-transition:opacity 0.2s linear, visibility 0.2s linear; 
    -o-transition:opacity 0.2s linear, visibility 0.2s linear; 
    transition:opacity 0.2s linear, visibility 0.2s linear;     
}
	 
ul#navigation ul {
    top: 25px;
    left: 1px;
}
	 
ul#navigation ul li ul {
    top: 0;
    left: 181px; /* strong related to width:180px; from above */
}
	 
ul#navigation ul li {
    clear:both;
    width:100%;
    border:0 none;
}
	 
ul#navigation ul li a {
    background:none;
    padding:7px 15px;
    text-decoration:none;
    display:inline-block;
    border:0 none;
    float:left;
    clear:both;
    width:150px;
} 
/*
 * mobile menu
 */
#mobileMenu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: none;
}

#mobileMenu ul li {
	display:block;
	background: linear-gradient(to right, #FFCC00, #F8A700);
	color: #fff;
	padding: 12px 0;
	letter-spacing: 0.1em;
	text-align: center;
	text-transform: uppercase;
	border-bottom: 1px solid #CC5836;
}

.toggleMobile { display:none; }
/*
 * spacer styles
 */
#spacer {
	width:auto;
	height:24px;
	background:linear-gradient(to right, #FFCC00, #F8A700);
	position:relative;
	font-family: 'Open Sans', sans-serif;
	color:#fff;
	font-size:18px;
	margin: 0px auto;
}

#spacer p {
	margin-top:22px;
	width:auto;
	position:absolute;
	left:50%;
	margin-left:-450px;
}
/*
 * main
 */
.main {
	margin-bottom: 35px;
}
/*
 * homepage
 */
.homepage {
	width: 100%;
	margin-top: 20px;
}
.homepage img {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.homepage p {
	text-align: center;
}
/*
 * angebotpage
 */
.angebotpage .size2of4 {
	width: 48%;
}
.angebotpage ul li {
    list-style: none;
}


/*
 * footer styles
 */
footer {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	clear:both;
	width:auto;
	height:35px;
	/* background:#FAC63F; */
	background:linear-gradient(to right, #FFCC00, #F8A700);
	color: #333;
}

footer .wrapper {
	line-height:25px;
	margin: 0 auto;
	padding-top:5px;
	width:auto;
	max-width:900px;
	font-size:14px;
}
/*
 * max-width : 915px
 */
@media (max-width: 915px) {
	#boxcontent article {
		float: none;
		margin: 30px auto 0 auto;
		width: 60%;
	}

	#spacer { font-size:15px; }

	#spacer .search {
		margin-top:19px;
		margin-right:-385px;
	}

	#spacer p { margin-left:-370px; }

	nav ul li.first {	padding-left: 15px; }

	input {
		padding:4px;
		font-size:14px;
	}

	input[type="submit"] { padding: 1px 14px; }

	#text_columns article.column1, #text_columns .column2 {
		float:none;
		max-width: 500px;
		margin: 50px auto 0 auto;
	}

	.column2 .row {
		float:none;
		margin:0 0 40px 50px;
	}

	footer .wrapper {
		padding-left: 15px;
	}
} 
/*
 * max-width : 820px
 */
@media (max-width: 820px) {

	footer {
		height: auto;
	}
	
	footer .wrapper {
		font-size: 14px;
		padding-left: 15px;
		height: auto;
		max-width: 450px;
		padding-bottom: 5px;
	}
}
/*
 * max-width : 765px
 */
@media (max-width: 765px) {
	
	.container { top: -1500px; }

	header nav {
		right: auto;
		bottom: auto;
		left: 50%;
		top:100px;
		margin-left: -184px;
	}
	
	#spacer p {
		text-align:center;
		position:static;
		margin: 0 auto;
		padding:15px 0 7px 0;
	}
	
	#spacer .search {
		text-align:center;
		position:static;
		margin: 0 auto;
	}
}
/*
 * max-width : 685px
 */
@media (max-width: 685px) {

	footer {
		height: auto;
	}
	
	footer .wrapper {
		font-size: 14px;
		padding-left: 15px;
		height: auto;
		max-width: 450px;
		padding-bottom: 5px;
	}

	.angebotpage .size2of4 {
		width: 100%;
	}
}
/*
 * max-width : 600px
 */
@media (max-width: 600px) {

	#spacer { font-size:14px; }
	
	nav ul li { padding: 3px 15px; }
}
/*
 * max-width : 555px
 */
@media (max-width: 555px) {

	#spacer { font-size:13px; }
	
	nav ul li { padding: 4px 10px; }
}
/*
 * max-width : 500px
 */
@media (max-width: 500px) {

	#spacer { display: none; }

	#mobileMenu {
		display: none;
		z-index: 99;
	}
	
	.toggleMobile {
		position: fixed;
		top: 10px;
		left: 10px;
		display: block;
		width: 40px;
		height: 36px;
		cursor: pointer;
		z-index: 999;
	}
	
	.toggleMobile span.menu1, .toggleMobile span.menu2, .toggleMobile span.menu3 {
		display: block;
		position: absolute;
		width: 40px;
		height: 8px;
		left: 0;
		background: #FEE580;
		-webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
	
	.toggleMobile span.menu1 { top: 0; }
	.toggleMobile span.menu2 { top: 14px; }
	.toggleMobile span.menu3 { top: 28px; }
	
	.toggleMobile.active span.menu1 {
		top: 14px;
		-webkit-transform: rotate(45deg);
		-moz-transform: rotate(45deg);
		-o-transform: rotate(45deg);
		-ms-transform: rotate(45deg);
		transform: rotate(45deg);
		-webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
	
	.toggleMobile.active span.menu2 {
		-webkit-transform: rotate(-45deg);
		-moz-transform: rotate(-45deg);
		-o-transform: rotate(-45deg);
		-ms-transform: rotate(-45deg);
		transform: rotate(-45deg);
		-webkit-transition: all 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: all 0.5s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
	
	.toggleMobile.active span.menu3 {
		opacity: 0;
		-webkit-transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
		transition: opacity 0.35s cubic-bezier(0.75, 0.25, 0.10, 0.95);
	}
}

