/**
	Helper Klassen, Clears und Resets
**/
.clear {
	clear: both;
}

a {
	text-decoration: none;
	color: #000000;
}

/**
	Allgemeine Layoutelemente
**/

* {
	font-family: 'PT Sans', sans-serif;
}

img {
	max-width: 100%;
}

#wrapper {
	margin-bottom: 15px;
}

html {
	font-size: 14px;
	width: 100%;
	background: linear-gradient(#FFFFFF, rgba(0,45,92,0.5)) no-repeat fixed;
	height: 100%;
}

body {
	margin: 0 auto;
	max-width: 1000px;
}

header {
	width: 100%;
	margin: 15px 0;
}

header img, header picture {
	max-height: 100%;
}

header a[id=rootPage] img, header a[id=rootPage] picture {
	width: 98px;
}

nav {
	width: 100%;
	margin: 15px 0;
}

main {
	width: 100%;
	margin: 15px 0;
}

main * {
	box-sizing: border-box;
}

section {
	padding: 10px 20px;
	width: 715px;
	float: left;
	background: #FFFFFF;
	overflow: hidden;
}

aside {
	width: 270px;
	float: right;
}

#emotion {
	height: 275px;
	width: 100%;
	overflow: hidden;
	position: relative;

}

.gototop {
	float: right;
	background: #002D5c;
	color: #ffffff;
	padding: 10px;
	margin: 10px -20px -10px;
	cursor: pointer;
}

.gototop:hover {
	background: #0044c3;
}

/**
	Header-Bereich
**/

header .languages {
	float: right;
	display: block;
	width: 13%;
	text-align: right;
}

header .languagelink {
	margin-right: 0px;
	line-height: 30px;
}

header .links_and_lang {
	clear: right;
}

header .languagelink img {
	max-width: 16px !important;
}

.rightheader {
	float: right;
	width: 35%;
}

header .subtitle {
	text-align: left;
    font-size: 16px;
    display: table-cell;
    line-height: 22px;
    font-weight: bold;
    width: 100%;
    float: left;
    margin-left: 8px;
    margin-bottom: 10px;
    clear: right;
    color: #002D5c;
}

header .title_logo {
	float: left;
	width: 60%;
}

header .site_title {
	padding-left: 8px;
	font-size: 22px;
	font-weight: bold;
	clear: right;
	color: #002D5c;
}

header .headerlinks {
	float: right;
	display: block;
	margin-bottom: 10px;
	width: 87%;
}

header .headerlinks a {
	float: right;
	width: 33%;
	text-align: left;
	line-height: 28px;
}

header .right-logo {
    float: right;
    width: 100%;
}

/**
	Navigation
**/

nav ul {
	width: 100%;
	padding: 0;
	margin: 0;
	background: #002D5c;
}

nav ul li {
	margin: 0;
	box-sizing: border-box;
	list-style-type: none;
	float: left;
	display: block;
	line-height: 30px;
	font-size: 14px;
	text-transform: uppercase;
	position: relative;
}

nav ul li.haschild i {
	float: right;
	color: #ffffff;
	cursor: pointer;
	padding: 15px 3px;
	font-size: 10px;
	width: 16px;
}

nav ul li:last-child {
	margin: 0;
}

nav ul li a {
	padding: 5px 10px;
	color: #ffffff;
	display: block;
	float: left;
	cursor: pointer;
}

nav ul.subnav {
	display: none;
	position: absolute;
	overflow: hidden;
	z-index: 10;
	min-width: 150px
}

nav ul.subnav a {
	display: block;
	width: 100%;
}

nav ul li:hover, nav ul li.active {
	background: #0044c3;
}

nav ul li.haschild i:hover {
	text-shadow: 1px 1px 2px #fff, -1px -1px 2px #fff, -1px 1px 2px #fff, 1px -1px 2px #fff;
}

nav ul.subnav li {
	float: none;
	margin: 0;
}

.quicklinks {
	float: right;
	display: block;
	width: 900px;
	height: 100%;
	box-sizing: border-box;
	position: relative;
}


nav ul.subnav li:hover a {
	background: #0044c3;
}

/**
	Emotion-Bereich
**/

#emotion [data-emote] {
	width: 100%;
	height: 275px;
	display: block;
	background-size: cover;
	position: absolute;
}

#emotion div:not([data-emote='0']) {
	display: none;
}

/**
Marginal-Bereich
**/
aside .m-box {
	padding: 10px 20px 20px 20px;
	background: rgba(255, 255, 255, 0.5);
	margin: 0 0 15px 0;
}

aside .m-box h3 {
	margin-top: 0;
}

/**
	Styles der festen Marginal-Blöcke
**/
aside .m-box ul {
	margin: 0;
	padding: 0;
}

aside .m-box ul li {
	list-style-type: none;
	margin-bottom: 10px;
	padding-bottom: 15px;
	padding-left: 5px;
	border-bottom: 1px dotted #000;
}

aside .m-box ul li:before {
	content: "\f0da";
	font-family: FontAwesome;
	display: inline-block;
	margin-left: -5px;
	height: 100%;
	float: left;
	margin-right: -1px;
}

aside .m-box ul li a {
	display: block;
	margin-left: 10px;
}

aside .m-box ul li a:hover {
	text-decoration: underline;
}

aside .m-content.contact {
	text-align: center;
}

aside .m-content.contact img, aside .m-content.contact picture {
	width: 107px;
	margin: 0 auto;
	display: block;
}

aside .m-box img, aside .m-box picture, aside .m-box video {
	margin: 0 auto;
	display: block;
}

/**
 Button für das Layout
 **/

.mehr {
	background: rgb(0, 45, 92);
	padding: 5px 10px;
	color: #FFFFFF;
}

.mehr:hover {
	background: #0044c3;
}

.mehr::before {
	content: "\f054";
	font-family: FontAwesome;
	display: inline-block;
	margin-right: 5px;
	font-size: 12px;
}

/**
	Kacheln
**/

/* Kacheln
-----------*/

.tile .tbox {
	overflow: hidden;
}

/* Bild
---------*/

.tile-img {
	height: 120px;
	background-color: #FFFFFF;
	background-repeat: no-repeat;
	background-size: 100%;
	background-position: center center;
	background-size: cover;
}

/* Inhalt
-----------*/

.tile-content {
	background-color: #8499af;
	padding: 5px 0;
}

.tile-content h2 {
	color: #ffffff;
	letter-spacing: 1px;
	font-size: 14pt;
	font-weight: normal;
	padding: 5px;
}

.tile-content h2 {
	padding: 0;
	margin: 0 0 0 10px;
	line-height: 24px;
	vertical-align: top;
}

.tile-content span {
	display: block;
	padding: 0;
	margin: 10px 10px 10px 20px;
}

#scroller {
	padding: 0;
	margin: 0;
	overflow: hidden;
	height: 45px;
	width: 100%;
}

.bx-wrapper {
	background: rgba(255,255,255, 0.5);
	padding: 20px;
	box-sizing: border-box;
}

.bx-wrapper, .bx-window {
	width: 100% !important;
}

#scroller div {
	display: inline-block;
	float: left;
	height: 45px;
	width: auto !important;
	margin: 0 10px;
}

/**
Content Bereich
**/

section h1 {
	background: url('img/headline.png') no-repeat;
	background-size: cover;
	background-position: right;
	display: inline-block;
	color: rgb(255, 255, 255);
	margin: 5px 0 0.67em -20px;
	padding: 10px 70px 10px 20px;
	position: relative;
	overflow: hidden;
}

main section a {
	color: #002D5c;
	font-weight: bold;
}

a.moreto {
	background: url('img/more.png') no-repeat;
	background-position: right;
	padding: 1px 30px 4px 5px;
	background-size: cover;
	color: #fff;
}