/*
 * Stylesheet MIB GmbH
*/
 
@font-face {
           font-family:'PT Sans';
           src: url("fonts/PTS55F.ttf");
}
@font-face {
           font-family:'PT Serif';
           src: url("fonts/PTF55F.ttf");
}
html {
	height: 96%;
	width: 100%;
}
body {
    color: #545353;
    font-family: PT-Serif;
    font-size: 16px;
    height: 100%;
    margin: 0;
    max-height: 100%;
    max-width: 100%;
    padding: 0;
    position: relative;
    width: 100%;
}

#mobileNavigation {
	height: 0;
	margin-left: -1050px;
	display: none;
}
#wrapper {
    height: 100%;
    width: 100%;
}

#mobileNavigationWrapper {
	display: none;
}
#navigationWrapper {
    height: 70px;
    margin: 0 auto;
    max-width: 1000px;
    width: 1000px;
}
#topNavigation {
    float: right;
}
#mainNavigation {
    clear: both;
    float: left;
    width: 100%;
    margin-left: 130px;
}
#logoContainer {
    height: 95px;
    margin-top: 10px;
    text-align: left;
    width: auto;
}
#topNavigation ul {
    margin-top: 0;
    padding: 0;
}
#topNavigation ul li {
    display: inline;
    float: right;
    list-style-type: none;
    width: auto;
    margin: 0 20px;
    font-size: 14px;
}
#topNavigation ul li a {
    color: #898686;
    text-decoration: none;
}
#mainNavigation ul {
	padding: 0;
}
#mainNavigation ul.erste-ebene {
    margin: 60px 0;
}
#mainNavigation ul li {
    display: inline;
    float: left;
    list-style-type: none;
}
#mainNavigation ul li.red-border {
	border-left: 2px solid #f18500;
	padding-left: 5px;
	height: 40px;
}
#mainNavigation ul li.white-border {
	border-top: 2px solid #fff;
}
#mainNavigation ul li.blue-border {
	border-left: 4px solid #5996c2;
	padding-left: 5px;
}

#mainNavigation ul li a:hover {
/*	font-weight: bold; */
}

#mainNavigation ul li a {
    color: #1c3c67;
    display: block;
    height: auto;
    padding-left: 5px;
    padding-right: 30px;
    text-decoration: none;
	font-size: 24px;
	font-family: Ubuntu;
}

#mainNavigation ul li ul li {
    display: inline;
    float: left;
    list-style-type: none;
    width: auto;
}
#mainNavigation ul li ul li a {
	font-size: 14px;
	padding-bottom: 22px;
}

#mainNavigation ul li ul li ul.subMenu,
#topNavigation ul li ul.subMenu {
	position: absolute;
	opacity: 0;
	width: 260px;
	visibility: hidden;
	transition: opacity 0.75s linear;
	background: #344f7c;
	padding: 15px;
}



#mainNavigation ul li ul li:hover > ul.subMenu,
#topNavigation ul li:hover > ul.subMenu {
	visibility: visible;
	max-height: 500px;
	opacity: 1;
	transition: opacity 0.75s linear;
	margin-left: -7px;
}

#mainNavigation ul li ul li ul.subMenu li,
#topNavigation ul li ul.subMenu li {
	width: 265px;
}

#mainNavigation ul li ul li ul.subMenu li:before,
#topNavigation ul li ul.subMenu li:before {
	margin-right: 15px;
	vertical-align: top;
}

#mainNavigation ul li ul li ul.subMenu li a,
#topNavigation ul li ul.subMenu li a {
    height: auto;
    width: 100%;
    display: inline-block;
    max-width: 215px;
    color: #fff;
    padding: 0;
    margin-top: 5px;
    margin-bottom: 5px;
}
#contentWrapper {
	min-height: 50%;
    height: auto;
    margin-top: 20px;
    width: 100%;
}
#titelleiste {
    width: 100%;
    height: auto;
    margin-top: -30px;
    position: relative;
}
#titelleiste img{
    width: 100%;
}
#titelleiste span {
    text-align: center;
    position: absolute;
    margin: 3rem auto;
    width: 100%;
    left: 0;
    color: white;
    font-size: 5rem;
}
#boxesWrapper {
    margin: 0 auto;
    max-width: 1000px;
    width: 100%;
}
.blocktext {
    height: auto;
    margin: 20px auto 0;
	max-width: 1280px;
    width: 800px;
}
.blocktext p {
    color: #646463;
    font-size: 17px;
	line-height: 33px;
	font-family: "Ubuntu",sans-serif;
	margin-left: 150px;
}
.blocktext ul {
    margin-left: 150px;
    margin-bottom: 5rem;
    background-color: #e6eaec;
    padding: 20px 10px 20px 10px;
    border-radius: 0 0 0 20px;
}
.blocktext ul li {
	color: #14275a;
	font-size: 22px;
}
.blocktext ul li:before {
	content: ">> ";
}
.blocktext h3 {
    color: #14275a;
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 5px;
    margin-left: 150px; 
    font-weight: normal;
}
.clear {
    clear: both;
}
.spacer {
    clear: both;
}
.spacer15px {
    height: 15px;
}
.spacer25px {
    height: 25px;
}
.spacer50px {
    height: 50px;
}
.spacer150px {
	height: 100px;
}
.spacer350px {
    height: 350px;
}
#hsm {
    width: 100%;
    margin-left: 0;
    background-color: #fff;
    margin-bottom: 0;
}
#hsm h3 {
    color: #14275a;
    font-size: 30px;
    margin-top: 0;
    margin-bottom: 5px;
    margin-left: 0;
    font-weight: normal;
}
#hsm img {
    margin: 5px 10px -5px;
}
#hsm ul {
    margin-left: 140px;
    background-color: #e6eaec;
    border-radius: 20px 0 0 20px;
    margin-bottom: 20px;
    cursor: pointer;
}
#hsm li:before {
    content: "";
}
#hsm ul div {
    float: none;
    font-size: 17px;
    margin-left: 60px;
    line-height: 1.5;
    font-family: Ubuntu;
}
#hsm ul li {
    float: none;
    font-size: 17px;
    margin: 20px -10px -20px -10px;
    padding: 20px 20px 20px 70px;
    border-radius: 0 0 0 20px;
    line-height: 1.5;
    font-family: Ubuntu;
    background-color: #d3dff3;
    display: none;
}
#hsm ul li:before {
    content: ">> ";
    padding: 0;
}
#hsm > li > ul > li {
    border-radius: 0;
    padding: 0.5rem 70px 0.5rem 70px;
    text-indent: -1.3em;
}
#footer {
    background-color: #e6eaec;
    height: auto;
    padding: 20px 0;
    width: 100%;
}
#footerWrapper {
    background-color: #e6eaec;
    height: auto;
    margin: 0 auto;
    max-width: 1000px;
    width: 100%;
}
#footerResp {
    background-color: #e6eaec;
    height: auto;
    margin: 0 auto;
    display: none;
}
#footer ul {
    float: left;
    margin: 0 100px 0 0;
    padding: 0;
}
#footer ul li {
    list-style-type: none;
}
#footer ul li a {
    color: #14275a;
    text-decoration: none;
    font-family: Ubuntu;
    font-size: 11px;
}


#toTopWrapper {
	position: fixed;
	bottom: 15px;
	right: 25px;
	font-size: 1.5em;
	text-align: right;
	z-index: 5;
}

h1 {
    border-bottom: 2px solid #f18500;
	padding-bottom: 10px;
    color: #14275a;
    font-family: PT-Serif;
    font-size: 42px;
    font-weight: normal;
}
h1.white {
    color: #fff;
    text-align: left;
}

h2 {
    color: #fff;	
	font-size: 28px;
}

h3 {
    color: #fff;	
    font-size: 24px;
}

h4 {
    color: #fff;	
	font-size: 22px;
}

a,
a:visited {
	color: #fff;
        text-decoration: none;
}

div.textbox li:before,
div.blocktext ul li:before {
	content: "»";
	padding-right: 10px;
}
div.textbox li,
div.blocktext ul li {
	list-style: none;
}

a.anchor {
    display: block;
    position: relative;
    top: -100px;
    visibility: hidden;
}

img.resizable {
	width: 100%;
	height: auto;
	max-width: 1280px;
}

img {
	border: none;
}

@media screen and (max-width: 1290px) {
	.blue-border {
		margin-top: 15px;
	}
}

@media screen and (max-width: 950px) {
	#navigationWrapper,
	.nomobile {
		display: none;
	}
	
	#mobileNavigationWrapper {
		display: block;
		height: 70px;
	}
	#mobileNavigation {
		width: 60%;
		z-index: 40;
		position: absolute;
		top: 70px;
		left: 0;
		background-color: #1c3c67;
		height: auto;
		display: block;
		min-width: 300px;
	}
	#mobileNavigation ul li {
		list-style: none;
		border-left: 2px solid #f18500;
		margin-bottom: 30px;
		margin-top: 20px;
		padding-left: 20px;
	}
	#mobileNavigation ul li a {
		color: #fff;		
		font-size: 20px;
		text-decoration: none;
	}
	#mobileNavigation ul li ul li {
		border-left: none;
		display: flex;
		margin-bottom: 15px;
		padding-left: 0;
	}
	#mobileNavigation ul li ul li a {
		font-size: 16px;
	}
	.sub {
        padding-left: 10px;
    }
	#mobileNavigationButton {
		float: left;
	}
	#mobileNavigationButton i {
		font-size: 54px;
		color: #116398;
		margin: 10px;
		cursor: pointer;
	}
	
	#mainNavigation ul li.green-border,
	#mainNavigation ul li.blue-border {
		border-left: none;
	}
	
	
	#boxesWrapper {
		height: auto;
		width: 100%;
		text-align: center;
	}
		
	div.blocktext {
		padding: 10px;
		width: auto;
	}
	.blocktext p {
        margin-left: 50px;
    }
    .blocktext ul {
        margin-left: 50px;
    }
    #hsm ul {
        margin-left: 40px;
    }
    #hsm img {
        display: none;
    }
    #hsm h3 {
        font-size: 20px;
    }
    .spacer150px {
        height: 20px;
    }
    h1 {
    font-size: 25px;
    }
    h2 {
    	font-size: 25px;
    }
    
    h3 {
    	font-size: 25px;
    }
    h4 {
    	font-size: inherit;
    }

    #footer {
        padding-bottom: 20px;
    }
    #footerWrapper {
        display: none;
    }
    #footerResp {
        display: block;
        margin: 0px 70px;
    }
    #footerResp ul {
        float: none;
    }
}

@media screen and (max-width: 1322px) {
	div#contentWrapper {
		width: 98.5% !important;
	}	
}
