/***** other stuff from other people ****/

/* clearfix */
.clearfix:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
}

.clearfix {
    display: inline-block;
}
/* start commented backslash hack \*/
* html .clearfix {
    height: 1%;
}

.clearfix {
    display: block;
}
/* close commented backslash hack */

/************ default *************/
body,
html,
textarea,
input {
	font-family: 'Roboto', sans-serif;
	font-weight:300;
	font-size:16px;
}

body {
	background-color:#fff;
	overflow-y:scroll;
}

a {
	text-decoration: none;
	color:#00569b;
	-webkit-transition:color 0.5s ease;
	transition:color 0.5s ease;
}

a:hover,
a:focus {
	color:#000;
}

p {
	line-height:25px;
}

h1 {
	font-size:25px;
	text-transform: uppercase;
}

h2 {
	font-size:15px;
	text-transform: uppercase;
}

@media only screen and (max-width:768px) {
	h1 {
		font-size:20px;
	}
}

/*** line ***/
.line {
	background-color:#075b9e; 
	position: fixed;
	top:0;
	height:5px;
	left:0; right:0;
	z-index:999999;
}

/************ container *************/
.contain {
	width:100%;
	margin:0 auto;
	padding:0 40px 0;
	max-width:1280px;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
}

@media only screen and (max-width:768px) {
	.contain {
		padding:0;
		
	}
}

/************ header/sidebar *************/
.header {
	width:18%;
	float:left;
	position: relative;
}

.header .header-fix {
	position: absolute;
	left: 0;
	right: 0;
	padding-top:40px;
}

.header .logo img {
	width:190px;
	height:57px;
}

@media only screen and (max-width:1200px) {
	.header .logo img {
		width:157px;
		height:47px;
	}
}

@media only screen and (max-width:1024px) {
	.header {
		width:24%;
	}
}

@media only screen and (max-width:768px) {
	.header {
		width:100%;
		position: absolute;
		top: 0;
		left:0; right:0;
		z-index:99999;
	}

	.header .header-fix {
		background-color:#fff;
		height:70px;
		-webkit-box-shadow: 0 0 10px 5px rgba(0,0,0,0.2);
		box-shadow: 0 0 10px 5px rgba(0,0,0,0.2);	
		padding:0;
	}

	.header .logo {
		float:left;
		margin:22px 0 0 50px;
	}

	.header .logo img {
		max-height:50px;
	}
}

@media only screen and (max-width:450px) {
	.header .logo {
		margin:16px 0 0 30px;
	}

	.header .logo img {
		max-height:40px;
	}
}

/****** navigation ******/
.header .desk-navi {
	margin-top:40px;
}

.header .desk-navi li a {
	-webkit-transition:border 0.2s ease;
	transition:border 0.2s ease;
	border-right: 5px solid transparent;
}

/*** desktop ***/

/* main */
.header .desk-navi .main-navi {
	list-style:none;
	margin:0;
	padding:0;
}

.header .desk-navi .main-navi > li > a {
	display:block;
	font-size:14px;
	line-height:25px;
	color:#000;
	text-transform: uppercase;
	font-weight:500;
}

/* sub */
.header .desk-navi .sub-navi {
	list-style:none;
	margin:0;
	padding:5px 0 0 13px;
	display:none;
}

.header .desk-navi .sub-navi > li > a {
	display:block;
	font-size:13px;
	line-height:17px;
	color:#000;
	padding:4px 0;
}

/* hover */
.header .desk-navi li:hover > a:hover,
.header .desk-navi li.on > a {
	border-right:5px solid #075b9e;
	color:#075b9e;
}

.header .desk-navi .main-navi > li.on .sub-navi {
	display:block;
}

/*** mobile ***/
.header .mobile-navi {
	display:none;
	float:right;
	margin:15px 50px 0 0;
}

.mobile-navi .toggle {
	display:block;
	float:left;
	margin:0;
	cursor:pointer;
}

.mobile-navi .toggle > span {
	width:40px;
	height:3px;
	background:none repeat scroll 0 0 #000;
	display:block;
	margin:8px 0px;
	z-index:1;
}

@media only screen and (max-width:768px) {
	.header .mobile-navi {
		display:block;
	}

	.header .desk-navi {
		background-color:#fff;
		z-index:9;
		position: absolute;
		top:0;
		right:0;
		height: 0;
		padding:0;
		width:100%;
		-webkit-box-shadow: 0 5px 10px -3px rgba(0,0,0,0.2);
		box-shadow: 0 5px 10px -3px rgba(0,0,0,0.2);
		margin-top:70px;
		-webkit-transition: height 0.2s ease, opacity 0.2s ease;
		transition: height 0.2s ease, opacity 0.2s ease;
		overflow:hidden;
		opacity:0;
	}
	
	.header .desk-navi .main-navi {
		padding:20px 30px;
	}

	.header .desk-navi ul li {
		text-align:right;
	}

	.header .desk-navi ul li:hover > a,
	.header .desk-navi ul li.on > a {
		border-right:0 none;
	}

	.header .desk-navi .sub-navi > li > a {
		line-height:20px;
	}

	.header.expanded .desk-navi {
		height: auto;
		opacity: 1;
	}
}

@media only screen and (max-width:768px) {

	.header .mobile-navi {
		margin:15px 30px 0 0;
	}

}

/************ Emo *************/
.emo .emo-img img {
	width:100%;
}

/**** map *****/
.emo #map {
	height:250px;
}

.emo .map .overlay-content {
	display:none;
}

/************ content *************/
.wrapper {
	float:left;
	width:77%;
	border-left:1px solid #d7d7d7;
	padding:40px 0 0 4%;
	margin:0 0 0 18%;
}

.content {
	margin:0 0 50px 0;
}

@media only screen and (max-width:1024px) {
	.wrapper {
		width:71%;
		margin:0 0 0 24%;
	}
}

@media only screen and (max-width:768px) {
	.wrapper {
		float:none;
		width:100%;
		border-left:0 none;
		padding:0;
		margin:70px 0 0 0;
	}

	.content {
		margin:0 50px 50px;
	}
}

@media only screen and (max-width:450px) {
	.content {
		margin:0 30px 50px;
	}
}

/**** article ****/
.content article {
	border-top:1px solid #cdcdcd;
	clear:both;
	margin:60px 0 0;
	padding:60px 0 0;
}

/* head */
.content article .article-head {
	width:30%;
	float:left;
	margin:0 5% 40px 0;
}

.content article .article-head h1,
.content article .article-content h1 {
	margin-top:0;
	-moz-hyphens: auto;
	-o-hyphens: auto;
	-webkit-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

/* content */
.content article .article-content {
	width:65%;
	float:left;
	margin-bottom:40px;
}

.content article .article-content a {
	display: block;
}

.content article .article-content img {
	max-width:100%;
	width:auto;
	height:auto;
}

.content article .article-content p:first-child {
	margin-top:0;
}

/* special home */
.content article.article-special .article-head {
	margin-top:-80px;
	width:100%;
}

.content article.article-special .article-head h1 {
	background-color:#fff;
	display:inline-block;
	padding:0 25px 0 0;
}

.content article.article-special .article-content {
	display:none;
}

@media only screen and (max-width:768px) {
	.content article.article-special .article-head {
		text-align:center;
		margin-top:-75px;
	}

	.content article.article-special .article-head h1 {
		padding:0 10px;
	}
}

@media only screen and (max-width:700px) {
	.content article .article-head {
		width:100%;
		float:none;
		margin-right:0;
	}

	.content article .article-content {
		width:100%;
		float:none;
		clear:both;
	}
}

@media only screen and (max-width:900px) {
	.content .boxes .teaser > li:nth-child(2n+1) {
		clear:both;
	}
	
	.content .boxes .teaser > li:nth-child(2n+1) .box-content {
		float:left;
	}
}

/*** tables ***/
.article-content table {
	width:100%;
}

.article-content table td {
	padding:3px 5px;
	vertical-align:top;
	text-align:left;
	font-size:15px;
}

.article-content table td > p {
	margin:0;
}

.article-content table tr:nth-child(even) {
	background-color:#f2f2f2;
}

.article-content table tr td:last-child {
	text-align:right;
}

/**** referenzen ***/
.article-content dl.ref dt {
	width: 50%;
	float: left;
	clear: both;
	margin-bottom: 35px;
}

.article-content dl.ref dd {
	width: 50%;
	float: left;
	margin: 0 0 35px;
}

@media only screen and (max-width: 480px) {
	.article-content dl.ref dt {
		width: 100%;
		margin-bottom: 0;
	}

	.article-content dl.ref dd {
		width: 100%;
		clear: both;
	}
}

/*** special contact ***/
.content article .contact-address {
	line-height:25px;
}

.content .contact-form dl dt {
	width:25%;
	float:left;
	line-height:50px;
}

.content .contact-form dl dd {
	width:75%;
	float:left;
	margin:0;
	padding:0;
	margin-bottom:10px;
}

.content form input,
.content form textarea {
	outline:0;
	border:0 none;
	box-shadow:none;
	border-radius:0;
	-webkit-appearance: none;
	background-color:#e4e4e4;
	padding:15px;
	width:100%;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
}

.content form textarea {
	min-height:100px;
	resize:none;
	max-width:100%;
}
.content form button {
	background:0 none;
	outline:0;
	border:0 none;
	font-weight: bold;
	color:#00569b;
	text-transform: uppercase;
	padding:15px 0;
}

@media only screen and (max-width:500px) {
	.content .contact-form dl dd,
	.content .contact-form dl dt {
		width:100%;
		float:none;
		clear:both;
		line-height:25px;
	}

}

/* detail */
.content .article-content figure {
	margin:0 0 35px;
}

.content .article-content figure img {
	max-width:100%;
}

.content .article-content h3 {
	font-size:16px;
}

.content .article-content table td:first-child {
	line-height:25px;
	padding-right:25px;
}

.content .article-content .backlink {
	padding:35px 0;
	color:#00569b;
	font-size:18px;
	display: inline-block;
}

/**** boxes ****/
.content .boxes {
	clear:both;
}

.content .boxes ul {
	list-style:none;
	margin:0;
	padding:0;
}

.content .boxes ul > li {
	position: relative;
	width:33.3%;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	float:left;
	padding-bottom:40px;
}

.content .boxes ul.links > li:nth-child(3n+1) {
	clear:both;
}

.content .boxes ul.gallery li {
	width:50%;
}

.content article.article-special .article-head h1 {
	background-color:#fff;
}

.content .boxes ul > li .box-content {
	width:90%;
	margin: 0 auto;
	position: relative;
}

.content .boxes ul > li:first-child .box-content,
.content .boxes ul > li:nth-child(3n+1) .box-content {
	float:left;
}

.content .boxes ul.gallery > li:nth-child(2n+1) .box-content {
	float:left;
	clear:both;
}

.content .boxes ul > li:nth-child(3n) .box-content {
	float:right;
}

.content .boxes ul.gallery > li:nth-child(2n) .box-content {
	float:right;
}

@media only screen and (max-width:900px) {
	.content .boxes ul > li {
		width:50%;
	}
	
	.content .boxes ul.links > li:nth-child(3n+1) {
		float:left;
		clear:none;
	}
	
	.content .boxes ul.links > li:nth-child(2n+1) {
		float:left;
		clear:both;
	}

	.content .boxes ul.links > li:nth-child(2n+1) .box-content {
		float: left;
		clear:both;
	}

	.content .boxes ul.links > li:nth-child(2n) .box-content {
		float:right;
	}

	body.home .content .boxes ul.links > li:last-child {
		display:none;
	}
}

@media only screen and (max-width:450px) {
	.content .boxes ul > li,
	.content .boxes ul.gallery > li {
		width:100%;
	}

	.content .boxes ul > li:nth-child(n) .box-content {
		float:none;
	}

	body.home .content .boxes ul > li:last-child {
		display:block;
	}

	.content .boxes ul > li .box-content {
		width:100%;
	}
}

/* image */
.content .boxes .box-image {
	position: relative;
}
.content .boxes .box-image .image::before {
	content:"";
	position: absolute;
	top:5px; bottom:5px;
	left:5px; right:5px;
	border:1px solid #fff;
	z-index:7;
}

.content .boxes .box-image .image img {
	display:block;
	width:100%;
	height:auto;
}


/* overlay */
.content .boxes .box-image .overlay{
	position: absolute;
	top: 0; bottom: 0;
	left: 0; right: 0;
	-webkit-transition:background-color 0.5s ease;
	transition:background-color 0.5s ease;
}

.content .boxes li .box-image:hover .overlay {
	background-color:rgba(0,86,155,0.8);
}

.content .boxes .box-image .overlay-text {
	position: absolute;
	top:50%;
	left:50%;
	margin:-2% 0 0 -20%;
	color:#fff;
	opacity:0;
	-webkit-transition:opacity 0.5s ease;
	transition:opacity 0.5s ease;
}

.content .boxes .box-image:hover .overlay-text {
	opacity:1;
}

/* box text */
.content .boxes .box-text h2 {
	margin-bottom:0;
}

.content .boxes .box-text h4 {
	font-weight:400;
	font-size:16px;
	margin:0;
}


/* job liste */
.content .article-job ul {
	list-style:none;
	margin: 0;
	padding: 0;
	font-weight: bold;
}


/************ footer *************/
footer {
	background-color:#f3f4f5;
	padding:25px 25px 40px;
	clear:both;
}

footer a {
	color:#000;
}

footer a:hover {
	color:#00569b;
}

/* address */
footer .address {
	border-bottom:1px solid #c3c4c5;
	padding-bottom:20px;
}

footer .address h1 {
	font-size:18px;
	margin:0 0 10px;
}

footer .address .colset > .col {
	float:left;
	margin-right:45px;
	font-weight:bold;
	font-size:13px;
	color:#000;
}

/* navi */
footer .footer-navis ul {
	list-style:none;
	margin:0;
	padding:25px 0 0;
	font-size:13px;
}

footer .footer-navis ul li {
	float:left;
}

/* footer main */

footer .footer-main-navi {
	float:left;
}

footer .footer-main-navi li {
	float:left;
	margin-right:25px;
}

footer .footer-main-navi li a {
	color:#888989;
}

/* footer legal */

footer .footer-legal-navi {
	float:right;
}

footer .footer-legal-navi li {
	margin-left:25px;
}

@media only screen and (max-width:1200px) {
	footer .footer-legal-navi {
		float:left;
		clear:both;
	}

		footer .footer-legal-navi li {
		margin:0 25px 0 0;
	}
}

@media only screen and (max-width:350px) {
	footer .footer-main-navi li {
		float:none;
		clear:both;
		margin-right:0;
	}
}
