
/*MAIN PAGE*/

body {
    margin: 0;
    padding: 0;
    font-family: Trebuchet MS;
}

i {
    color: #fff;
    font-size: 18px;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 20px;
}

h3 {
    font-size: 16px;
    color: #312783;
    margin-bottom: 0px;
    margin-top: 30px;
    padding-bottom: 0px;
}

p {
    margin-top: 5px;
}

p strong {
    color: #1877B1;
}

img {
    border: none;
}

.fade {
	opacity: 1;
	-webkit-transition: opacity;
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-duration: 500ms;
}

.fade:hover {
	opacity: .5;
	-webkit-transition: opacity;
	-webkit-transition-timing-function: ease-out;
	-webkit-transition-duration: 500ms;
}

#header {
    position: absolute;
    top: 0px;
    height: 150px;
    width: 100%;
    background-color:rgba(255, 255, 255, 0.65);
    z-index: 9999;
    -webkit-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.50);
    -moz-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.50);
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.50);
}



#header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

#header-image {
    position: relative;
    top: 0px;
    z-index: 0;
    max-height: 850px;
    overflow: hidden;
}

@media screen and (max-width: 1000px) {
    #header-image  {
    position: relative;
    top: 0px;
    z-index: 0;
    max-height: 550px;
    overflow: hidden;
    }
}

@media screen and (max-width: 500px) {
    #header-image  {
    position: relative;
    top: 75px;
    z-index: 0;
    max-height: 850px;
    overflow: hidden;
        padding-bottom: 50px;
    }
}

#info-box {
    position: absolute;
    top: -250px;
    width: 500px;
    height: 150px;
    background-color:rgba(0, 159, 227, 0.5);
    z-index: 999999;
    color: #ffffff;
}

#info-box-text {
    opacity: 1.0;
}

#info-box-text p {
    font-size: 28px;
	text-transform:capitalize;
    color: #ffffff;
    margin-left: 35px;
}


@media screen and (max-width: 800px) {
    #info-box  {
    display: none;
    }
}

#header-buttons {
    position: relative;
    text-align: right;
    right: 0px;
    top: 27px;
}

@media screen and (max-width: 1250px) {
    #header-buttons  {
    display:none;
    }
}

@media screen and (max-width: 1250px) {
    #header  {
    position: absolute;
    top: 0px;
    height: 75px;
    width: 100%;
    background-color:rgba(255, 255, 255, 0.65);
    z-index: 9999;
    -webkit-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.50);
    -moz-box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.50);
    box-shadow: 0px 2px 3px 0px rgba(0,0,0,0.50);
    }
}




#header .logo {
    float: left;
    top: 0px;
    margin: 0;
    margin-top: -4px;
    padding: 0;
    margin-left: 0px;
    margin-right: 0px;
}


@media screen and (max-width: 1250px) {
    #header .logo {
        float: left;
        top: 0px;
        margin: 0;
        padding: 0;
        margin-left: 0px;
        margin-right: 0px;
        width: 180px;
    }
}

#header .navicon {
    float: right;
    margin: 0;
    padding: 0;
    top: 0px;
    max-width: 100%;
    margin-left: 0px;
    margin-right: 0px;
    display: none;
}


@media screen and (max-width: 1250px) {
    #header .navicon {
        float: right;
        margin: 0;
        padding: 0;
        top: 0px;
        width: 85px;
        margin-left: 0px;
        margin-right: 0px;
        display: block;
}
}


@media screen and (max-width: 500px) {
    #header .navicon {
        float: right;
        margin: 0;
        padding: 0;
        top: 0px;
        width: 60px;
        margin-left: 0px;
        margin-right: 0px;
        display: block;
}
}

#header .navicon:hover {
    opacity: 0.8;
}




#mainpage {
    width: 100%;
    margin: 0 auto;
}



#footer {
    position: relative;
    height: 50px;
    width: 100%;
    z-index: 100;
    padding: 0;
    margin: 0;
    margin-top: 25px;
    border-top: 1px dotted #000000;
}

#footer-wrapper {
    max-width: 850px;
    margin: 0 auto;
}

#footer a {
    color: #000000;
    text-decoration: none;
    line-height: 55px;
}

#footer a:hover {
    color: #009fe3;
}

#footer ul {
    margin: 0px;
}

#footer ul li {
    list-style: none;
    text-decoration: none;
    display: inline-block;
    margin: 0px 25px 0px 25px;
}

@media screen and (max-width: 500px) {
#footer-wrapper {
    max-width: 480px;
}
}

@media screen and (max-width: 500px) {
#footer ul li {
    margin: 0px 1px 0px 1px;
}
}

@media screen and (max-width: 500px) {
.copy {
    display:none;
}
}


.clear {
    clear: both;
}


.content {
    position: relative;
    background: #ffffff;
    width: 100%;
    height: auto;
    margin-top: 50px;
    padding-bottom: 51px;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
}

.content-wrapper a {
    color: #009fe3;
}

.content-wrapper a:hover {
    color: #383838;
}

.content-wrapper h1 {
    margin-bottom: 0px;
    color: #009fe3;
}

.content-wrapper h2 {
    margin-top: 0px;
    font-size: 20px;
    color: #312783;
}

.content-wrapper p {
    color: #383838;
}

.flexible-container {
    width: 100%;
    height: 600px;
    margin-top: 65px;
}

.content-box {
    float: left;
    max-width: 850px;
    height: auto;
}



@media screen and (max-width: 500px) {
.content-box {
    max-width: 480px;
}
}


@media screen and (max-width: 1000px) {
.flexible-container {
    width: 100%;
    height: 400px;
    margin-top: 50px;
}
}

@media screen and (max-width: 500px) {
.flexible-container {
    width: 100%;
    height: 300px;
    margin-top: 50px;
}
}

#rundgang{
    position: relative;
    width: 100%;
}

.prev-button {
    position: absolute;
    top: 30%;
    background: url(../images/arrow.png) no-repeat;
    width: 97px;
    height: 194px;
    margin: 0;
    padding: 0;
    z-index: 999999;
    opacity: 0.75;
    cursor: pointer;
}

.next-button {
    position: absolute;
    top: 30%;
    right: 0px;
    background: url(../images/arrow-right.png) no-repeat;
    width: 97px;
    height: 194px;
    margin: 0;
    padding: 0;
    z-index: 999999;
    opacity: 0.75;
    cursor: pointer;
}


@media screen and (max-width: 500px) {
.prev-button {
    display: none;
}
}

@media screen and (max-width: 500px) {
.next-button {
    display: none;
}
}

/* Navigation Main */

.navi-box {
    float: left;
    width: 350px;
    height: auto;
}

.navi-box ul li {
    height: 75px;
    width: 200px;
    border-top: 1px dotted #000000;
    text-decoration: none;
    list-style: none;
    line-height: 75px;

}

.navi-box ul li a {
    text-decoration: none;
    color: #000000;
    font-size: 18px;
    padding-left: 20px;
}

.navi-box ul li.active a {
    text-decoration: none;
    color: #000000;
    font-size: 18px;
    padding-left: 20px;
}

.navi-box ul li a:hover {
    color: #009fe3;
}

.triangle {
    display: none;
    padding: 0px;
    padding-right: 10px; 
    -webkit-transform:rotate(360deg);
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #009fe3;
    vertical-align: middle;
}

.navi-box ul li:hover .triangle {
    display: inline-block;
}

.triangle-active {
    display: inline-block;
    margin-left: -20px;
    padding-right: 10px; 
    -webkit-transform:rotate(360deg);
    border-style: solid;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #009fe3;
    vertical-align: middle;
}

.navi-box ul li:hover a {
    padding-left: 0px;
}

.navi-box ul li.active:hover a {
    padding-left: 20px;
}

@media screen and (max-width: 1245px) {
.navi-box {
    width: 0px;
    display: none;
}
}

/* Navigation Main ENDE */

/* Navigation Sub */

.sub-navi-box {
    margin-left: 0px;
    margin-bottom: 50px;

}

.sub-navi-box ul {
    margin: 0;
}

.sub-navi-box ul li {
    text-decoration: none;
    list-style: none;
    display: inline-block;
    margin: 0px 10px 0px 10px;
}

.sub-navi-box ul li a {
    text-decoration: none;
    color: #000000;
}

.sub-navi-box ul li a:hover {
    color: #009fe3;
}

@media screen and (max-width:500px) {
.sub-navi-box {
    display: none;
}
}

/* Navigation Sub ENDE */


 /* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0;
    right: 0;
    background-color: #262626; /* Black*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    z-index: 9999999;
}

/* The navigation menu links */
.sidenav a {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s
}

/* When you mouse over the navigation links, change their color */
.sidenav a:hover, .offcanvas a:focus{
    color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
    position: absolute;
    top: 0;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* Style page content - use this if you want to push the page content to the right when you open the side navigation */
#main {
    transition: margin-left .5s;
    padding: 20px;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
    .sidenav {padding-top: 15px;}
    .sidenav a {font-size: 18px;}
}



#leistungen tr td {
    min-width: 100px;
}