html{
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

body{
position: relative;
font-size: 16px;
line-height: 1.45;
}

p.lead{
font-size: 1.2em;
margin-bottom: 1.5em;
line-height: 1.25;
}

p{ margin-bottom: 1.5em; }

h1{
font-size: 1.85em;
margin-bottom: 0.6em;
}

h2{ font-size: 1.5em; margin-top: 1.4em; margin-bottom: 0.6em; }

h3{ font-size: 1.3em; line-height: 1.25; }

h4{ font-size: 1em; line-height: 1.3; }


a{
-moz-transition: color 0.2s ease-in-out;
-o-transition: color 0.2s ease-in-out;
-webkit-transition: color 0.2s ease-in-out;
transition: color 0.2s ease-in-out;
}

strong{
font-family: Georgia, serif;
font-weight: bold;
color: #313131;
}

em, i{
font-family: Georgia, serif;
font-style: italic;
}

hr{
border-top: 1px solid #ddd;
margin-bottom: 30px;
}


.btn>i{
margin-right: 5px;
}

p>a{
word-wrap: break-word;
}

.img-centered{
display: block;
margin: 0px auto;
margin-top: 10px;
}

ol.long_text li{
margin-bottom: 15px;
}

ol.long_text li ul{
margin-top: 15px;
}

ol.long_text li ul li{
margin-bottom: 0;
}


ul.long_text{
	padding-left: 1.85rem;
}

ul.long_text li p:not(:last-child){
	margin-bottom: 1rem;
}



blockquote{
border-left: 5px solid #D00012;
background: #fafafa;
}

blockquote > h3{
margin-top: 0px;
}



.firstcharacter {
float: left;
color: #aaa;
font-size: 80px;
line-height: 60px;
padding-top: 0px;
padding-right: 8px;
padding-left: 2px;
}

@media (min-width: 768px){

h1{ font-size: 2.8em; margin-bottom: 0.5em; }
h2{ font-size: 2.1em; }
p.lead{ font-size: 1.5em; }

}


/* --------------------------------
TOPBAR
-------------------------------- */

#topbar{
display: block;
width: 100%;
overflow: hidden;
}

.logo{
display: block;
margin-top: 20px;
margin-bottom: 20px;
margin-left: auto;
margin-right: auto;
width: 250px;
}

@media (min-width: 768px){

	.logo{
	display: block;
	margin-top: 30px;
	margin-bottom: 30px;
	margin-left: 5px;
	margin-right: auto;
	width: 280px;
	}

	.toptext{
	margin: 48px 0 0 0;
	font-size: 14px;
	line-height: 17px;
	padding: 0px;
	text-align: right;
	}

	.toptext a{ color: #464c49; }
	.toptext a:hover{ color: #000; }
}


/* --------------------------------
NAVIGATION
-------------------------------- */

.navbar{
margin-bottom: 0px;
background: #ecf1ee;
border-radius: 0px !important;
border: none;
}

.navbar-nav{
background: #ecf1ee;
margin: 0 -15px;
}

.container>.navbar-header, .container-fluid>.navbar-header, .container>.navbar-collapse, .container-fluid>.navbar-collapse{
margin-left: -15px;
margin-right: -15px;
}

.nav>li{
border-left: none;
}

.nav>li.active>a{
color: #D00012;
}

.nav>li.dropdown>a:after{
	font-family: 'arial';
	content: "\25BE";
margin-left: 5px;
}

.nav>li>a{
font-size: 0.9em;
color: #464c49;
letter-spacing: 0.05em;
text-transform: uppercase;
padding-left: 20px;
padding-right: 20px;
}

.nav>li>a:hover, .nav>li>a:focus, .nav>li>.dropdown.open{
background: #dae3de;
}

.nav .open>a, .nav .open>a:hover, .nav .open>a:focus{
background: #dae3de;
}

.nav>li.dropdown.open>a.dropdown-toggle{
background: inherit;
}

.navbar-nav>li>.dropdown-menu{
border-top: 3px solid #D00012;
}

.dropdown-menu>li>a{
font-size: 1em;
letter-spacing: 0.02em;
padding: 8px 20px;
white-space: pre-wrap;
}

.navbar-header{
height: 50px;
text-align: center;
background: #ecf1ee;
}

.navbar-toggle{
border: none;
border-radius: none;
float: none;
height: 100%;
line-height: 52px;
margin:0;
padding: 0;
font-size: 16px;
}

.navbar-collapse{
border-top: none;
}

@media (min-width: 768px){

	.navbar-nav{
	margin: 0;
	}

	.nav>li>a{
	font-size: 0.8em;
	padding-left: 11px;
	padding-right: 11px;
	}

	.navbar-header{
	background: none;
	}

}

@media (min-width: 992px){

	.nav>li>a{
	font-size: 0.9em;
	padding-left: 20px;
	padding-right: 20px;
	}

	.dropdown-menu>li>a{
	white-space: nowrap;
	}

}



/* --------------------------------
BREADCRUMBS
-------------------------------- */

.breadcrumbs{
height: 50px;
background: #ecf1ee;
font-size: 12px;
line-height: 50px;
}


/* --------------------------------
LISTITEM FACHARTIKEL
-------------------------------- */


.listitem{
border: 1px solid #ededed;
background: #fafafa;
padding: 10px 20px 0 20px;
margin-bottom: 25px;
border-radius: 3px;
}

.listitem:nth-child(even){
clear: both;
}

.listitem a.btn{
margin-top: 10px;
margin-bottom: -5px;
}

.listitem .date{
font-size: .75em;
font-style: italic;
font-weight: bold;
}

/* --------------------------------
TRENNERBILD
-------------------------------- */

.trennerbild{
width: 100%;
display: none;
}

@media (min-width: 768px){

.trennerbild{
display: block;
height: 300px;
background: url("./img/header1.jpg") no-repeat center bottom;

background-size: cover;
}

.spectre{
display: block;
height: 300px;
background: url("./img/header2.jpg") no-repeat center center;

background-size: cover;
}

}

/* --------------------------------
CONTENT
-------------------------------- */

#maincontent{
padding-top: 20px;
}

#maincontent ul{
margin-bottom: 25px;
}


.spacer{
display: block;
clear: both;
height: 1px;
margin-bottom: 30px;
}

.inset{
border: 1px solid #ededed;
padding: 20px;
background: #fafafa;
margin-top: 5px;
border-radius: 3px;
}

.inset>h1:first-child, .inset > p:first-child{
margin-top: 0px;
}

.inset>img{
margin-bottom: 20px;
}

p.allcaps{
font-size: 85%;
text-transform: uppercase;
margin: 0;
letter-spacing: 0.05em;
}



@media (min-width: 768px){

	#maincontent{
	padding-top: 40px;
	}

}


@media (min-width: 992px){

	#maincontent{
	padding-top: 50px;
	}

	div[class*="col-"]>h1:first-child, div[class*="col-"]>h2:first-child, div[class*="col-"]>h3:first-child{
	margin-top: 0px;
	}

}




/* --------------------------------
FOOTER
-------------------------------- */

.footer{
border-top: 1px solid #ddd;
font-size: 12px;
padding-top: 30px;
padding-bottom: 30px;
margin-top: 60px;
}


/* --------------------------------
FORMS
-------------------------------- */

form{
background: rgba(255,255,255,0.8);
border: 1px solid #ddd;
border-radius: 4px;
padding: 20px 40px;
position: relative;
-webkit-box-shadow: -10px 5px 20px -10px rgba(0,0,0,0.4);
-moz-box-shadow: -10px 5px 20px -10px rgba(0,0,0,0.4);
box-shadow: -10px 5px 20px -10px rgba(0,0,0,0.4);
}

form:before {
content: '';
position: absolute;
top: -1px; right: -1px;
border-top: 50px solid white;
border-left: 50px solid #eee;
width: 0;
}

.form-group{
margin-left: 0px !important;
margin-right: 0px !important;
margin-bottom: 30px;
}

.radio, .checkbox {
display: inline-block;
}

.radio>label{
margin-right: 18px;
}

input[type="submit"]{
margin-bottom: 20px;
}
