html {
        padding: 0 5% 10px;
}

body {
	position:relative;
	background: #d5d5d5;
	font-family: Arial, Helvetica, sans-serif;
	width: 1024px;
	margin: 0 auto;
	font-size: 1.1em;
	/* color: #535353; */
	color: #212121;
}

* {
        -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
        -moz-box-sizing: border-box;    /* Firefox, other Gecko */
        box-sizing: border-box;         /* Opera/IE 8+ */
}

a {
	text-decoration: none;
}

header {
	width: 100%;
	height: 295px;
	margin: 20px auto 0px;
	color: white;
}

header h1 a {
        display:block;
        /* color:white; */
        color: #d6d6f5;
        padding:10px 0 0 20px;
        /* font-family: sans-serif; */
        font-size:140%;
	line-height:30%;
}

header h1 a:hover {
        color: #8585e0;
}

header h1 span {
        font-family: sans-serif;
        font-size:39%;
        /* color:white; */
        color: #d6d6f5;
        padding: 0 20px;
}

.ribbon {
        margin: 30px 0 50px;
        position: relative;
        /* background: #535353; */
        background: #2929a3;
        border: 1px solid rgba(0,0,0,.3);
        box-shadow: 0px 1px 3px rgba(0,0,0,.2);
        padding: 10px 15px;
        clear: both;
        text-align: center;
        padding: 10px 9px 10px 10px;
        width: 35%;
        margin-left: -10px;
}

.ribbon::before {
        display: block;
        width: 10px;
        height: 0px;
        position: absolute;
        bottom: -10px;
        left: -11px;
        content: #4e68ad url("../img/Banner-Tschuggen.jpg") bottom right no-repeat;
        border-bottom: 10px solid transparent;
        border-right: 10px solid rgb(0, 80, 116);
}

.ribbon::after {
        display: block;
        width: 10px;
        height: 0px;
        position: absolute;
        bottom: -10px;
        right: -10px;
        content: "";
        border-bottom: 10px solid transparent;
        border-left: 10px solid rgb(0, 80, 116);
}

header a#navlink {
        display:none;
        float: right;
        text-decoration: none;
        font-size: 1.8em;
        font-weight: bold;
        margin:20px 20px 0 0;
}

ul#header-top {
        position:absolute;
        top:305px;
        right:50px;
        list-style-type: none;
}

ul#header-top  li             { float: right; list-style-type: none; padding: 0px 10px; border-left: 1px #ACACAC solid; }
ul#header-top  li:last-child  { border: none; }

header p{
        background: #4E68AD url("../img/Banner-Tschuggen.jpg") top left no-repeat;
        width: 100%;
        height:295px;
        margin:-20px 0 0 0;
}



/** CONTENT **/

main {
        float:left;
        width: 100%;
        margin: 0 0 10px 0;
        background: #fff;
        -webkit-box-shadow: 0 0 80px rgba(0,0,0,0.1) inset, 0 3px 1px rgba(0,0,0,0.15);
        box-shadow: 0 0 80px rgba(0,0,0,0.1) inset, 0 3px 1px rgba(0,0,0,0.15);
}

article {
        padding: 30px;
        width: 80%;
        float:right;
}

h1,
h2 {
        font-size: 1.75em;
        font-weight: normal;
        font-family: 'Tauri', serif;
        padding-left: 15px;
        color: #4E68AD;
        /* text-transform: uppercase; */
        border-left:5px solid #4e68AD;
}

h2 span {
        /* Additional Text in a h2 title */
        font-size: 0.80em;
        color: #212121;
        text-transform: none;
}

h3 {
        font-size: 1.5em;
        font-weight: normal;
        padding: 0px;
        margin: 0px;
        color: #4E68AD;
}

p {
        text-align: left;
        line-height: 1.6em;
        /* Was originally 10px */
        padding: 5px 0px
}

a {
        color: #4E68AD;
        padding: 3px 3px;
        outline: none;
        text-decoration: none;
}

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

a:focus {
        outline: none;
}

a.more {
        float: right;
        font-weight: bold;
}

a.more:hover {
        color: #535353;
}

a.more:after {
        content:" \2192 ";
        font-size:1.2em;
        font-weight:bold;
}

ul.square {
        list-style-type:square;
        color: #999999;
        float: left;
        margin: 0 0 10px 13px;
        font-weight:bold;
}

ul.square li{
        padding:10px;
}

.vtop { vertical-align: top; }



/* DL, DT, DD Datenliste */

dl  {margin-bottom:50px;}

dl dt {
    float:left;
    font-weight:bold;
    margin-right:5px;
    padding:5px;
    width:140px;
}

dl dd {
    margin:2px 0;
    padding:5px 0;
}

section#intro {
        width: 100%;
        padding:10px 2%;
        float: left;
}

section.spalte {
        width: 50%;
        padding:10px 2%;
        float: left;
}

section p img {
        float:left;
        margin:0 10px 10px 0;
}

#footer-p {
        float: left;
        font-weight: bold;
        font-size: 12px;
        margin: 20px 0 0 0;
}



/* Navigation */

nav#navigation{
        float: left;
        margin-right: 30px;
        width: 150px;
}

#navigation ul ul {
        display: none;
}

#navigation ul li:hover > ul {
        display: block;
}

#navigation ul {
        float: left;
        list-style-type: none;
        width: 100%;
        margin-bottom:30px;
}

#navigation ul li {
        position:relative;
}

#navigation ul li.first-child { border-top: 1px #DBDBDB solid; }

#navigation ul li:hover a, #navigation ul li:active a {
        float: left;
        width: 165px;
        color: #F5F5F5;
        background: #535353;
}

#navigation ul li a {
    border-bottom: 1px solid #DBDBDB;
    color: #535353;
    float: left;
    font-size: 1.1em;
    line-height: 1.5em;
    padding: 1em 35px;
    text-decoration: none;
    width: 165px;
}

#navigation ul li a:before {
        content:" ";
        display:inline-block;
        width:10px;
        height:15px;
        border-left:5px solid #CCC;
}

#navigation ul ul {
        position: absolute;
        top:143px;left:190px;
        z-index:99;
}

#navigation ul li:hover ul {display:block;}

#navigation ul ul li {
        display:block;
        float: none;
        position: relative;
}

#navigation ul ul li a {
        background: #97b314;
        color: #fff;
}

/* Original color was #d0ff00 */
#navigation ul ul li a:hover {
        background:  #cce6ff;
        color:gray;
}

footer p {
        float: right;
}

@media only screen and (max-width: 960px) {
        body{width:100%}
        header h1.ribbon {width:50%;}
        article {width:100%;}
        header a#navlink {
            display:block;
        }
}

/* 1-Spaltenlayout  */

@media only screen and (max-width: 600px) {
        header h1.ribbon {width: 80%;}
        ul#header-top {
            position:relative;
        }

	article section.spalte {
		width: 100%;
	}

	nav ul li {
		width: 90%;
	}

	#navigation {
        	float:left;
        	clear:left;
        	width: 90%;
        	padding: 0;
        	margin: 0;
	}

	#navigation ul {
        	position:relative;
        	padding: 0;
        	margin: 0;
        	top: 0;
        	left: 0%;
        	width: 100%;
        	clear:left;
	}

	#navigation li {
        	display: block;
        	padding: 0;
        	margin: 0;
	}
}
