
/* ====================================================   GLOBAL DEFINITION   ==================================================== */
html {
	margin: 0 2% 10px;
}

body {
	position:relative;
	background: white;
	font-family: Arial, Helvetica, sans-serif;
	width: 1000px;
	margin:0 auto;
	font-size: 14px;
	color: #666;
}

* {
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	
}

/* ====================================================  HEADER   ==================================================== */

header {
	width: 100%;
	color:white;   /* Farbe Header.Banner */
	background: #333; /* Hintergrundfarbe Header.Banner */
    display: block;
    margin: 0 auto;
}

header h1 a{
	display:block;
	color:white;
	padding:10px 0 0 2%;
	font-size:140%;
}

header a#navlink {
	display:none;
	position:absolute;
	top:.5em;
	right:0.5em;
	color: white;
	text-decoration: none;
	font-size: 3em;
	font-weight: bold;
}

/*  section.flexslider ist im eigenen flexslider.css definiert!  */

/* ====================================================   CONTENT   ==================================================== */

main {
	float:left;
	width: 100%;
	margin: 30px 0;
}

article{
	background: #fff;
	width: 100%;
	float:left;
}

section{
	width:100%;
	padding:10px 2%;
	float: left;
	margin-bottom:30px;
}
section.spalte {
    float: left;
    width:33%;
    padding:20px 2%;
    min-height: 100px;
}
section.spalte1 {
    float: left;
    width:45%;
    padding:10px 2%;
    min-height: 30px;
    max-height: 40px;
}
section.spalte2 {
    float: right;
    width:45%;
    padding:10px 2%;
    min-height: 30px;
    max-height: 40px;
}
section.spalte70 {
    float: left;
    width:70%;
    padding:20px 2%;
    min-height: 10px;
}
section.spalte50 {
    float: left;
    width:49%;
    padding:20px 2%;
    min-height: 100px;
}
section.spalte100 {
    float: left;
    width:100%;
    padding:20px 2%;
    min-height: 100px;
}
section.spalte h2	{
    border-bottom: 0 none;
}
article section{
	width:65%;
}
article aside{
	width:30%;
	float:right;
}
aside.invert {
	width:100%;
	float:left;
	color:white;
	background: #34383D; /* Farbe aside - Kontakt */
}

h1 {
	font-size: 1.5em; 
	padding: 0px; 
	margin: 0 0 0.5em;
	color: #303030;    /* Farbe H1 */
}
	
h2	{ 
	font-size: 1.25em; 
	padding: 0px; 
	margin: 0 0 0.5em;
	color: #303030;  /* Farbe H2 */

}

p {
	text-align: left; 
	line-height: 1.6em; 
	padding: 0px 0px
}

a 	{ 
	color:white;  /* Farbe Links */
	outline: none; 
	text-decoration:none;
}
a:hover 	{ 
	color: #818181; /* Farbe Links MouseOver */
	text-decoration: none; 
}
a:focus 	{ 
	outline: none; 
}
a.more	{ 
	float: right; 
	font-weight: bold; 
	font-size: 0.90em;  
	padding: 5px 15px; 
	color: #4E68AD;
	text-decoration: none; 
	background: url('../img/icon/arrow.png') no-repeat right; }
a.more:hover { 
	color: #535353;
}

/* Durch class="linkin" kann jeder Link unseren eigenen Stil bekommen */
.linkin {
	color:#818181;      /* ButtonText Farbe */
}
.linkin:hover 	{
	color: #FF0000; /* Farbe Links MouseOver */
	text-decoration: none;
}

/* Durch class="button" kann jeder Link oder Button unseren eigenen Stil bekommen */
.button {	
	font: bold 14px Arial, Verdana, sans-serif;
	border-radius:2px;
	text-align:center;
	text-decoration:none; 
	color:#999;      /* ButtonText Farbe */
	border:1px solid #402607;  /* Button-Rahmen Farbe */
	-webkit-box-shadow: inset 1px 1px 5px black;
    box-shadow: inset 1px 1px 5px 0px ;
	-webkit-box-shadow: inset -1px -1px 3px #131b0e;	/* webkit browser*/
	box-shadow: inset 2px 2px 5px white, 
	            inset -1px -1px 5px black;	
}

.button{
	display:inline-block;
	opacity:1; 
	background:#333; /* Button Farbe */
	margin:  4px 2px;
	padding: 10px 10px;
}

.button:hover,.button:active {
    background: #0186ba;
	color:#fafafa;
	margin:  4px  2px;
	padding: 10px  10px;
}

/* Darstellung der Bilder mit Untertitel */
figure,
figcaption {
	margin: 0;
	padding: 0;
}

figure.einzel {
	position: relative;
	display: inline-block;
	width: 32.8%;
}

figure img {
	width: 100%;
	display: block;
}

figcaption {
	position: absolute;
	bottom: 0;
	width: 100%;
	text-align: center;
	line-height: 3em;
	color: white;
	background: rgba(0, 0, 0, 0.5);
}

section#bar {
	width:100%;
	position:relative;	
	background: #d2d2d1;
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#e8e7e5), color-stop(100%,#d2d2d1)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #e8e7e5 0%,#d2d2d1 100%); /* Chrome10+,Safari5.1+ */
	background: linear-gradient(to bottom, #e8e7e5 0%,#d2d2d1 100%); /* W3C */
	
	margin-bottom:42px;
	border:0px solid orange;
}

section#bar:before,section#bar:after{    
    position:absolute;
    bottom:-35px;
    content:'';
    width:50%;
    height:35px;
}
section#bar:before	{
    background: url('../img/shadow-links.png') no-repeat top left; 	
    left:0px;
} 

section#bar:after{    
    background: url('../img/shadow-rechts.png') no-repeat top right; 	
    right:0px;
}

#bar p {
	float:left;
}

#bar form {
	float:right;
	padding:20px 10px;
}

form input#search{
	border: medium none;
    color: #666666;
    font-size: 12px;
    padding: 10px;
    width: 230px;
}
#search::-webkit-input-placeholder { color:#ccc; font-style:italic;}
#search::-moz-placeholder { color:#ccc; font-style:italic; } /* firefox 19+ */
#search:-ms-input-placeholder { color:#ccc; font-style:italic; } /* ie */
#search::input-placeholder { color:#ccc; font-style:italic; }



aside h2,aside section ul{color:white;}	

ul.feature{

}

ul.feature li{
	border-bottom: 2px dotted #616161;
    color: white; /*#CCCCCC*/       /* Farbe Listenelemente */
    list-style: square;
    padding: 15px 0 5px 15px;
}
ul.feature.li:before {
	content:"☆";
	color:red;
}
/* ====================================================  NAV   ==================================================== */


#navigation, #navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
#navigation {
 	position:absolute;
	float: left;
    right: 3%;
	top: 20px;
}
#navigation:before,
#navigation:after {
    content: "";
    display: table;
}

#navigation:after {
    clear: both;
}

#navigation {
    zoom:1;
}
#navigation li {
    float: left;
    border-right: 1px solid #222; /* Borders zwischen den Menus */
    box-shadow: 1px 0 0 #444;     /* Borders-Schatten zwischen den Menus */
    position: relative;
}

#navigation a {
    float: left;
    padding: 12px 16px;
    color: #999;       /* Menu-Text-Farbe */
    text-transform: uppercase;
    font: bold 12px Arial, Helvetica;
    text-decoration: none;
    text-shadow: 0 1px 0 #000;
}

#navigation li:hover > a {
    color: #fafafa;    /* Menu-Text-Farbe MouseOver */
}

*html #navigation li a:hover { /* IE6 only */
    color: #fafafa;
}
#navigation ul {
    margin: 20px 0 0 0;
    _margin: 0; /*IE6 only*/
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 38px;
    left: 0;
    z-index: 1;
    background: #444;
    background: linear-gradient(#444, #111);
    box-shadow: 0 -1px 0 rgba(255,255,255,.3);
    border-radius: 3px;
    transition: all .2s ease-in-out;
}

#navigation li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
}

#navigation ul ul {
    top: 0;
    left: 150px;
    margin: 0 0 0 20px;
    _margin: 0; /*IE6 only*/
    box-shadow: -1px 0 0 rgba(255,255,255,.3);
}

#navigation ul li {
    float: none;
    display: block;
    border: 0;
    _line-height: 0; /*IE6 only*/
    box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}

#navigation ul li:last-child {
    box-shadow: none;
}

#navigation ul a {
    padding: 10px;
    width: 130px;
    _height: 10px; /*IE6 only*/
    display: block;
    white-space: nowrap;
    float: none;
    text-transform: none;
}

#navigation ul a:hover {
    background-color: #0186ba;
    background-image: linear-gradient(#04acec, #0186ba); /* Hintergrundfarbe Submenu MouseOver */
}
#navigation ul li:first-child > a {
    border-radius: 3px 3px 0 0;
}

#navigation ul li:first-child > a:after {
    content: '';
    position: absolute;
    left: 40px;
    top: -6px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #444;
}

#navigation ul ul li:first-child a:after {
    left: -6px;
    top: 50%;
    margin-top: -6px;
    border-left: 0;
    border-bottom: 6px solid transparent;
    border-top: 6px solid transparent;
    border-right: 6px solid #3b3b3b;
}

#navigation ul li:first-child a:hover:after {
    border-bottom-color: #04acec;
}

#navigation ul ul li:first-child a:hover:after {
    border-right-color: #0299d3;
    border-bottom-color: transparent;
}

#navigation ul li:last-child > a {
    border-radius: 0 0 3px 3px;
}

#navigation-trigger { /* Hide it initially */
    display: none;
}

@media screen and (max-width: 600px) {

    #navigation-wrap {
        position: relative;
    }

    #navigation-wrap * {
        box-sizing: border-box;
    }

    #navigation-trigger {
        display: block; /* Show it now */
        height: 40px;
        line-height: 40px;
        cursor: pointer;
        padding: 0 0 0 35px;
        border: 1px solid #222;
        color: #fafafa;
        font-weight: bold;
        background-color: #111;
        /* Multiple backgrounds here, the first is base64 encoded */
        background: url(data:image/png;base64,iVBOR...) no-repeat 10px center, linear-gradient(#444, #111);
        border-radius: 6px;
        box-shadow: 0 1px 1px #777, 0 1px 0 #666 inset;
    }

    #navigation {
        margin: 0; padding: 10px;
        position: absolute;
        top: 40px;
        width: 100%;
        z-index: 1;
        display: none;
        box-shadow: none;
    }

    #navigation:after {
        content: '';
        position: absolute;
        left: 25px;
        top: -8px;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #444;
    }

    #navigation ul {
        position: static;
        visibility: visible;
        opacity: 1;
        margin: 0;
        background: none;
        box-shadow: none;
    }

    #navigation ul ul {
        margin: 0 0 0 20px !important;
        box-shadow: none;
    }

    #navigation li {
        position: static;
        display: block;
        float: none;
        border: 0;
        margin: 5px;
        box-shadow: none;
    }

    #navigation ul li{
        margin-left: 20px;
        box-shadow: none;
    }

    #navigation a{
        display: block;
        float: none;
        padding: 0;
        color: #999;
    }

    #navigation a:hover{
        color: #fafafa;
    }

    #navigation ul a{
        padding: 0;
        width: auto;
    }

    #navigation ul a:hover{
        background: none;
    }

    #navigation ul li:first-child a:after,
    #navigation ul ul li:first-child a:after {
        border: 0;
    }

}

@media screen and (min-width: 100px) {
    #navigation {
        display: block !important;
    }
}

/* iPad */
.no-transition {
    transition: none;
    opacity: 1;
    visibility: visible;
    display: none;
}

#navigation li:hover > .no-transition {
    display: block;
}
/* ====================================================   FOOTER   ==================================================== */

footer {
	float: left;
	width:100%;
	padding:0;
	background: red;
	color:white;
	font-size: 1.2em;
}

footer p {
	display:inline;
	float:right;
}

aside spalte1 {
    float: left;
    width:40%;
}
aside spalte2 {
    float: right;
    width:40%;
}

/* 2-Spaltenlayout mit breiterem aside */
@media only screen and (max-width: 1000px) {
	body {
		width: 100%;
		margin: 2% 0;
		padding: 1%;
	}
    section {width:58%;}
    section.spalte,
    aside {width:29%;}
	figure.einzel {
		width: 48%;
	}

}
/* 1-Spaltenlayout mit Navigation unten*/
@media only screen and (max-width: 750px) {

    header a#navlink {
        display:block;
    }

    section,
    section.spalte,
    aside {
        float: none;
        width: 96%;
    }
	figure.einzel {
		width: 100%;
	}

nav#navigation{
	position:relative;
	float:left;
	clear:left;
	width:90%;
	padding:0;
	margin:0;
}
#navigation ul {
	padding:0;
	margin:2%;
	top:0;
	left:0%;
	width:100%;
	clear:left;
}

#navigation ul li a {
	display:block;
	background:#333;
	width:90%;
	padding: 20px 2%;
	font-size:2em;
	border-radius:5px;
}