body,html {
    height:100%;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size:11pt;
    line-height:1.5em;
    padding-bottom:80px;
}

body {
    /* padding-top:120px; */
}

@media(max-width:991px) {
}

@media(max-width:767px) {
    body {
        padding-top:40px;
    }
    nav {
        margin-top:0;
    }  
}

h1,h2,h3,h4 {
    font-weight: 300;
    font-family: 'Roboto', sans-serif;
}

h1 {
    margin-top:0;
    font-size: 2.2em;
}

h2 {
    font-size:1.6em;
    line-height:1.4em;
}

h3 {
    margin-top:40px;
    margin-bottom:25px;
}

h4 {

}

a:focus,
a:active {
    text-decoration:none;
}

.h2space {
    float:left;
    clear:left;
    height:45px;
}

.page-header {
    border:none;
}

.article-info {
    display:none;
}

h3 {
    line-height:1.4em;
}

h1 a:hover,
h2 a:hover {
    text-decoration: none;
}

a {
    cursor:pointer;
    color:#990c1e;
}

a,
a:hover,
a:focus {
    outline:none;
    border: 0;
    outline-width:0;
}

a:hover {

    color:#777;
}

table th, table td {
    vertical-align:top;
}

a,img {
    border:none;
}

ul {
    list-style:square;
}


.container {
    position:relative;
    max-width:980px;
    z-index:9999;
}

.logo {
    position:absolute;
    top:0;
    left:-15px;
    width:100%;
    z-index:9999;
}

.logo img {
    width:150px;
    position:absolute;
    top:0;
    right:0;
}

/* header */

header {
    height:550px;
    position:relative;
    box-shadow:0 0 30px rgba(51,51,51,0.2);
}

header .blocks {
    position:absolute;
    bottom:10px;
    left:0;
    width:100%;
    z-index:9998;
}

header .blocks .block a,
header .blocks .block > div {
    height:225px;
}

header .blocks .block .fa {
    margin-right:10px;
}

header .blocks .block a {
    color:inherit;
}

header .blocks .block h4 {
    font-size:1.75em;
}

header ul.autoslider li {
    height:550px;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;  
}

/* header mobile */

@media(max-width:991px) {
    header .blocks .block a,
    header .blocks .block > div {
        height:auto;
    }  
}

@media(max-width:767px) {
    header {
        margin-top:20px;
        position:static;
        height:auto;
        overflow:hidden;
    }
    header .overlay {
        display:none;
    }
    header .bx-wrapper {
        display:none;
    }
    header .blocks {
        position:static;
    }
    header .blocks .block a,
    header .blocks .block > div {
        height:auto;
    } 
    header .blocks .block .landingpage-block-default-title {
        padding:15px;
    }  
    header .blocks .block .landingpage-block-default-content {
        display:none;
    }
    .blocks .block .block-contact .landingpage-block-default-content {
        display:block !important;
    }  
}

/* page view */

section.container > .content {
    margin-top: -315px;
    margin-bottom:40px;
    line-height:1.9em;
}

section.container > .content .logos {
    margin-top:40px;
}

section.container > .content .logos img {
    margin:0 40px 40px 0;
    max-width:100%;
}

.page-header {
    margin-bottom:200px;
    overflow:hidden;
}

.page-header h1,
.page-header h2 {
    font-size:2.4em;
    display:block;
    clear:left;
    float:left;
    background:#990C1E;
    color:#fff;
    padding:8px;
    margin: 0 0 6px 0;
    line-height:1;
}

.item-page {
    clear:both;
}

/* flyouts */

.flyouts {
    position:fixed;
    top:210px;
    right:-546px;
    z-index:99999;
}

.flyouts .flyout {
    height:60px;
    position:relative;
}

.flyouts .flyout .flyout-label {
    position:absolute;
    left:-55px;
    width:50px;
    line-height:50px;
    height:50px;
    background:#fff;
    color:rgba(51,51,51,0.7);
    border-radius:1px;
    overflow:hidden;
    cursor:pointer;
    text-align:center;
    font-size:18px;
    transition:all 0.3s;
}

.flyouts .flyout .flyout-label:hover {
    box-shadow:0 0 15px rgba(51,51,51,0.2) inset;
    color:rgba(51,51,51,0.9);
}

.flyouts .flyout .flyout-close {
    float:right;
    color:rgba(51,51,51,0.7);
    cursor:pointer;
    font-size:1.4em;
    margin-bottom:15px;
}

.flyouts .flyout .flyout-close:hover {
    color:rgba(51,51,51,0.9);
}

.flyouts .flyout .flyout-content {
    width:550px;
    padding:25px;
    background:#fff;
    color:#333;
    box-shadow:0 0 60px rgba(0,0,0,0.5);
    opacity:0;
    border-radius:1px;
    overflow:hidden;
}

.flyouts .flyout .flyout-content img {
    max-width:100%;
}

.flyouts .flyout .flyout-content h2,
.flyouts .flyout .flyout-content h3 {
    margin:0 0 15px 0;
}

.flyouts .flyout .flyout-content a.readmore {
    float:right;
    font-size:0.8em;
    text-decoration:none;
}

.flyouts .flyout h1,
.flyouts .flyout h2,
.flyouts .flyout h3,
.flyouts .flyout h4 {
    color:#333;
}

.flyouts .flyout .flyout-content a {
    color:#990c1e;
    text-decoration:underline;

}

.flyouts .flyout .flyout-content h3 {
    font-size:1.6em;
    padding:0;
    margin: 0 0 10px 0;
}

.flyouts .flyout .flyout-label.glow:hover {
    text-shadow:0 0 15px #ffeb5e;
}

/* content blocks in page view */

.content .blocks .block a > div {
    height:300px;
}

@media(max-width:991px) {
    .content .blocks .block a > div {
        height:300px;
    }
}

@media(max-width:767px) {
    .content .blocks .block a > div {
        height:auto;
    }
    ul.autoslider {
        display:none;
    }
    section.container > .content {
        margin-top: 0;
    }  
}

/* page classes */

/* red */
.color-1 h1,
.color-1 h2 {
    background:rgb(153,12,30);
    color:#fff;
}

/* green */
.color-2 h1,
.color-2 h2 {
    background:rgb(127,132,0);
    color:#fff;
    transition:background 0.3s;
}

/* violet */
.color-3 h1,
.color-3 h2 {
    background:rgb(68,0,61);
    color:#fff;
}

/* yellow */
.color-4 h1,
.color-4 h2 {
    background:rgb(245,156,0);
    color:#fff;
}

/* grey */
.color-5 h1,
.color-5 h2 {
    background:rgb(119,119,122);
    color:#fff;
}

.row > .block {
    padding-left:5px;
    padding-right:5px;
}


.content .team {
    clear:both;
    margin-bottom:40px;
}

.content .team img.portrait {
    float:left;
    margin-right:20px;
    margin-bottom:20px;
}

.content .team img.logo {
    width:150px;
    position:static;
    margin-bottom:20px;
}

.content .team .description {
    clear:both;
    padding-top:15px;
}


.content .team .description ul {
    margin-top:15px;
}


.content img {
    vertical-align:middle;
}

.impressum h1 {
    visibility:hidden;
}


.modal-overlay {
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background-color:rgba(0,0,0,0.8);
    z-index:99998;
}

.modal-video {
    position:fixed;
    top:200px;
    left:50%;
    margin-left:-320px;
    width:634px;
    height:360px;
    z-index:99999;
    box-shadow:0 0 150px rgba(0,0,0,1);
    border:4px solid #fff;
    border-radius:4px;
}

@media(max-width:767px) {
/*    .modal-overlay {
        display:none;
    }    */
}

.cc-banner.cc-bottom {
    z-index:99999999 !important;
}