/* Basics */

body {
	background: white;
	font-family: 'Asap', sans-serif;
	font-size: 16px;
	line-height: 1.5;
}

html,body,.body-bg {
  height: 100%;

}

#wrap {
  min-height: 100%;
}

#content {
	padding-bottom: 51px;
}

#content  section{
	padding-bottom: 50px;
}

footer {
	height: 51px;
	margin-top: -51px;
	box-sizing: border-box;
}

.frame {
	margin: 0;
}

.body-bg {
		overflow-y: scroll;	  
	}

.container .frame {
    margin: 0;
}

#content li {
	position: relative;
	list-style-type: none;
	padding: 0;
	margin-bottom: 12px;
	padding-left: 15px;
	font-size: 16px;
	line-height: 1.5;
	margin-left: 20px;
}

#content li li {
	margin-bottom: 0;	
}

#content ul {
	padding: 0;
	margin: 0;
	position: relative;
}

ul.tx-indexedsearch-browsebox li:before,
ul#language_switch li:before,
ul.f3-widget-paginator li:before,
ul.pagination li:before,
ul.topnavigation li:before,
li.media:before ,
.carousel-indicators>li:before ,
.breadcrumb>li:before ,
.nav li:before {
    content: "";
    display: inline;
    border: 0;
    left:0;
    top: 0;
    height: 0;
    width: 0;
    position: relative;
}


li:before {
    content: "\00a0";
    display: block;
    border: solid 3px rgba(120,120,120,0.5); 
	left: 0;
    top: 10px;
	height: 0;
    width: 0;
	position: absolute;
}

.container .frame.well.spacebefore {
	margin-top: 40px;
}


/* Header */

header #logo {
	padding: 10px 0 20px 0;
}

header #logo img {
	height: 90px;
}

header #logo img:active {
	position: relative;
	top: 1px;
}

header > .container {
	position: relative;
}

/* Basic-HTML */

p {
	font-size: 16px;
	line-height: 1.5;
	margin-bottom: 12px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: 'Asap', sans-serif;
    font-weight: bold;
    line-height: 1.5;
    color: inherit;
}

h1 {
	font-size: 28px;
}

h2 {
	font-size: 22px;
}

h3 {
	font-size: 18px;
}

.image a img {
	position: relative;
	z-index: 100;
}

image 

.caption {
    color: #666;
	font-size: 16px;
	margin-top: 5px;
}

figure {
	padding-bottom: 20px;
}

.mfp-content figure {
	padding: 0;
}

.caption a{
    color: #000;
	text-decoration: none;
}

.caption a:hover{
    color: #ccc;
	text-decoration: none;
}

a {
    cursor: pointer;
    text-decoration: none;
}

a:hover, a:focus {
    color: #000;
    text-decoration: underline;
}

.image {
    margin-bottom: 0;
    line-height: 1.55;
}

/* Language */

#language_switch {
	padding: 0;
	margin: 0;
	position: absolute;
	top: 0px;
	right: 15px;
	border: solid 1px #ccc;
	border-top: 0;
	background: #fff;
	height: 39px;
	border-sizing: border-box;
	padding:  10px 10px 0 10px;
	z-index: 500;
}

#language_switch li {
	float: left;
	list-style-type: none;
	text-indent: -99999em;
	background: white;
	margin: 0;
	padding: 0 2px 0 2px;
}

#language_switch li:last-child {
	padding: 0;	
}

#language_switch li a{
	background-size:100% 100%;
	width: 36px;
	height: 16px;
	background-repeat: no-repeat;
	margin-left: 0;
	display: block;
	opacity: 0.5;

}

#language_switch li a:hover,
#language_switch li a:active,
#language_switch li a:focus,
#language_switch li.active a{
	opacity: 1;
}

#language_switch li.de a{
	background-image: url(///typo3/sysext/core/Resources/Public/Icons/Flags/SVG/DE.html);
		width: 30px;
}

#language_switch li.en a{
	background-image: url(///typo3/sysext/core/Resources/Public/Icons/Flags/SVG/GB.html);
}

h2.leveltitle  {
	font-size: 20px;
	margin-top: 0;
	margin-bottom: 8px;
}

a.lightbox {
	position: relative;
	display: table;
	height: auto;
	cursor: zoom-in
}

a.lightbox .zoom {
	position: absolute;
	z-index: 500;
	right: 10px;
	bottom: 10px;
	background: white;
	display: table-row;
	    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.5);
}

a.lightbox .zoom .glyphicon-plus-sign {
	font-size: 24px;
	vertical-align: middle;
	text-align: center;
	font-style: normal;
	display: table-cell;
	padding: 3px;
}




/* Slider */

.carousel-indicators li {
	padding: 0;
    width: 20px;
    height: 20px;
	border: 2px solid #ffffff;
	margin: 0 2px 0 2px;
}

.carousel-indicators .active {
    margin: 0;
    width: 20px;
    height: 20px;
    background-color: #ffffff;
	margin: 0 2px 0 2px;
}

.carousel {
	margin-top: -1px;
}

.slider {
	margin-bottom: 30px;
	width: 100%;
}


.row-flex, .row-flex > div[class*='col-'] {  
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex:1 1 auto;
}

.flex-col {
    display: flex;
    display: -webkit-flex;
    flex: 1 100%;
	flex-flow: column nowrap;
}

.row-flex-wrap {
	-webkit-flex-flow: row wrap;
    align-content: flex-start;
    flex:0;
}

.container-flex > div[class*='col-'] div,.row-flex > div[class*='col-'] div {
	width:100%;
}

.row-flex > div[class*='col-'], .container-flex > div[class*='col-'] {
	 margin:-.2px; /* hack adjust for wrapping */
}


/* Searchbox */

#searchbox {
	display: none;
}

.csstransforms  #searchbox {
	display: block;
}

#searchbox {
	position: absolute;
	right: 115px;
	top: 0;
	padding: 0;
}

#searchbox .form-group {
	padding: 0;
	margin: 0;
}

#searchbox .toogle_content {
	height: 100%;
	width: 500px;
	transform: translate(0,-58px);
	transition: all 0.4s ease-in-out;
	height: 97px;
	position: relative;
	box-sizing: border-box;
}

#searchbox .toogle_box {
	background: #fff;
	box-sizing: border-box;
	padding: 10px;
	height: 58px;
	position: relative;
	z-index: 101;
	border: 1px solid #ccc;
	border-top:0;
}

#searchbox .toggle_head {
	background: #fff;
	padding: 10px;	
	width: 40px;
	height: 40px;
	box-sizing: border-box;
	position: absolute;
	right: 0;
	bottom: 0;
	border: 1px solid #ccc;
	border-top: 0;
	z-index: 300;
}

#searchbox .input-group-btn{
    display: table-cell;
	padding: 0;
	border: 0;
}

#searchbox .toogle_content.active {
	-webkit-transform: translate(0%, 0px);
	transform: translate(0%, 0px);
	transition: all 0.75s ease-in-out;
}

.glyphicon-search {
	color: #666;
}

.btn-primary:hover,
.btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover, .btn-primary:active:focus, .btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus {
    color: #ffffff;
    background-color: #666;
    border-color: #666;
}

.btn-primary {
    padding: 6px 10px;
}

#searchbox .toggle_head {
	cursor:pointer;
}

#content li.media {
    position: relative;
    list-style-type: none;
    padding: 0;
    margin-bottom: 0;
    padding-left:0;
    font-size: 16px;
    line-height: 1.5;
    margin-left: 0;
}

.media-heading {
	font-size: 16px;
	font-weight: normal
}

.media-list .media {
    padding: 10px;
    -webkit-box-shadow:none;
    -moz-box-shadow: none;
    box-shadow: none;
    background: rgba(255,255,255,0.5);
    box-sizing: border-box;
    margin-top: 15px;
}

.media-heading span {
    font-weight: normal;
    float: none;
	display: inline-block;
	margin-right: 10px;
}

#content ul.tx-indexedsearch-browsebox {
    display: block;
    padding: 0;
    margin: 0 0;
    border-radius: 0px;
	float: right;
}

#content ul.tx-indexedsearch-browsebox  li{
	display: inline-block;
	padding: 0;
	margin: 0;
	margin-right: 5px;
}

.tx-indexedsearch-browsebox {
	display: block;
	margin: 10px 0 0 0;
}

.tx-indexedsearch-browsebox:after {
  content: "";
  display: table;
  clear: both;
}

.media-body p {
	margin: 0;
}

h4.media-heading span{
	display: inline-block;
	margin-right: 0px;
}

li.media {
	padding-left: 0;
	margin-left: 0;
}

a:hover.media-icon,
a.media-icon {
	text-decoration: none;
}

@media (min-width: 992px){
	

	.pull-left {
		margin-right: 12px;
		margin-top: 10px;
		position: relative;
	}

	.pull-right{
		margin-left: 12px;
		margin-top: 10px;
		position: relative;
	}

	.pull-left,
	.pull-right {
		max-width: 50%;
		min-height: 40px;
	}
	
	.navbar-header span {
		display: none;
	}	
	
	.container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
		margin-right: 15px; 
		margin-left: -15px; 
	}	
	
		.image > img, .image a > img {
		width: 100%;
		height: auto;
		margin: 0;
	}
}


@media (max-width: 991px) {
	.image > img, .image a > img {
		width: 100%;
		height: auto;
		margin: 0;
	}
	
	
	
	.row-flex-wrap, .row-flex, .row-flex > div[class*='col-'],.flex-col { 
		display: block;
		flex: none;
	}

	header.active #language_switch {
		z-index: 0;
	}
	
	.navbar-toggle .icon-bar {
		background: white;
	}
	
	.navigation .container {
		margin-top: -10px;
	}
	
	header {
		padding-bottom: 0px;
	}
	
	#content section {
		padding-top: 20px;	
	}
	
	.backendlayout-pagets__default_clean #content  section{
		padding-top: 0;	
	}
	
	.pull-right {
		float: none !important;
		width: 100%;
		height: auto;
	}	
	
	
	
	
	.meta-section p {
		 margin: 0;
	}
	.container {
		width: 100%;
	}	
	.navbar-header span {
		display: inline-block;
		margin: 4px 0 0 8px;
	}
	
	.navbar-header {
		padding-bottom: 10px;
	}
	
	.row.flex {
		display: flex;
		flex-direction: column;
		flex-direction: column-reverse;
	}
	
	.subnav-wrap {
		padding-top: 20px;
		padding-bottom: 10px;
	}

	.carousel-inner > .item {
		height: 250px;
	}
	
	.navbar-toggle {
		position: relative;
		float: none;
		padding: 9px 10px;
		margin: 0;
		background-color: transparent;
		background-image: none;
		border: 1px solid transparent;
		border-radius: 0px;
	}

	header #logo img {
		height: auto;
		width: 350px;
		margin: 0;
	}
	
	header #logo {
		padding: 25px 0 25px 0;
		width: 350px;
	}
	
	.active #searchbox {
		z-index: 200;
	}

	
	.navbar-toggle {
		height: 34px;
		width: 34px;
		padding: 0;
		background: transparent;
		float: none;
	}
	
	.navbar-header {
		position: absolute;
		right: 32px;
		top: 50px;
		left: auto;
		z-index: 201;
	}	
	
	#searchbox .toogle_content {
		width: 230px;
	}
	
	.list-inline  li {
		display: list-item;
	}
	
	.list-inline  li a{
		word-wrap:break-word;
	}
	
	h4.media-heading {
	font-size: 24px;
	}
}



@media (max-width: 580px) {
	.carousel-inner > .item {
		height: 200px;
	}
	
	h1 {
		font-size:6vw;
	}
		
	header #logo {
		padding: 60px 0 15px 0;
		width: 280px;
	}
	
	header #logo img {
		height: auto;
		width: 280px;
		margin: 0;
		position: relative;
		z-index: 20;
	}

	.navbar-header {
		position: absolute;
		left: auto;
		right: 32px;
		top: 60px;
		z-index: 201;
	}
}

@media (max-width: 400px) {
	.carousel-inner > .item {
		height: 150px;
	}
}