body {
    min-width: 320px;
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
    margin-top: 70px;
    padding-right: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    text-rendering: optimizeLegibility;
}

h3 {
    font-size: 38px;
    margin-top: 70px;
    padding-bottom: 50px;
    margin-bottom: 60px;
    position: relative;
}

h3::after {
    position: absolute;
    content: '';
    width: 90px;
    height: 5px;
    background: #c70613;
    bottom: 0;
    left: 50%;
    margin-left: -45px;
}

p {
    line-height: 35px;
    font-size: 16px;
}

.extlink{
    color: #c70613;
    font-weight: normal;
}

.extlink:hover{
    color: #c70613;
}

#top {
    position: absolute;
    top: 0;
    left: 0;
}

.fullheight {
    min-height: calc( 100vh - 70px);
    position: relative;
    overflow: hidden;
}

.modal-content {
    border-radius: 0;
}

.heading {
    padding-top: 5px;
    padding-bottom: 7px;
    color: #222;
    font-size: 30px;
    margin-top: -20px;
    margin-bottom: 20px;
}

.star-image {
    min-height: 600px;
    padding-bottom: 0;
}


/* Top Button */

.cd-top {
    display: inline-block;
    height: 40px;
    width: 40px;
    position: fixed;
    bottom: 40px;
    right: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
    background: rgba(232, 98, 86, 0.8) url("/img/cd-top-arrow.svg") no-repeat center 50%;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity .3s 0s, visibility 0s .3s;
    -moz-transition: opacity .3s 0s, visibility 0s .3s;
    transition: opacity .3s 0s, visibility 0s .3s;
}

.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
    -webkit-transition: opacity .3s 0s, visibility 0s 0s;
    -moz-transition: opacity .3s 0s, visibility 0s 0s;
    transition: opacity .3s 0s, visibility 0s 0s;
}

.cd-top.cd-is-visible {
    visibility: visible;
    opacity: 1;
}

.cd-top.cd-fade-out {
    opacity: .5;
}

.no-touch .cd-top:hover {
    background-color: #e86256;
    opacity: 1;
}

.phase.lead{
    margin-top: 30px;
    display: block;
}

.phase{
    font-size: 23px;
    /*margin-top: 24px;*/
    margin-bottom: 25px;
}


/* Slider head */
.bxslider li {
    position: absolute;
}

.bxslider li img {
    min-width: 100%;
}

.bx-viewport {
    min-height: calc( 100vh - 70px);
    max-height: calc( 100vh - 70px);
}

.bxslider {
    margin-left: -40px;
}

.bx-controls {
    display: none;
}


/* CTA Head*/

.cta--container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    height: calc( 100vh - 70px);
    width: 100vw;
    z-index: 300;
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    background: linear-gradient( rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3) );
}

.cta--container h2 {
    font-size: 43px;
    color: #fff;
    text-shadow: 1px 1px 5px #222;
    padding: 0 100px;
}

.cta--link {
    position: absolute;
    bottom: 100px;
    width: 100%;
    left: 0;
}

.cta--container a {
    text-align: center;
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.1s ease-in-out;
}

.cta--container a:hover {
    text-decoration: none;
    transition: all 0.1s ease-in-out;
}

.cta--container a span {
    transition: all 0.1s ease-in-out;
    padding: 10px 40px;
    border: 1px solid #c70613;
    background: #c70613;
}

.cta--container a:hover span {
    /*border: 1px solid #222;*/
    transition: all 0.1s ease-in-out;
    background: #fff;
    color: #c70613;
}


/* Modal */

.modal-dialog {
    overflow-y: initial !important
}

.modal-body {
    max-height: 80vh;
    overflow-y: auto;
}


/* FontAwesome */

.fa-inverse {
    color: #c70613;
}

.fa-stack-1x, .fa-stack-2x {
    line-height: 150px;
}

.fa-stack {
    display: block;
}

.fa-stack-1x {
    font-size: 0.7em;
    line-height: 155px;
}

.fa-stack-2x {
    font-size: 1.6em;
}


/* Round Circles */

.infobox {
    width: 150px;
    height: 150px;
    background: #c70613;
    line-height: 150px;
    color: #fff;
    font-size: 43px;
    margin-bottom: 25px;
}


/* Nav */

#lang_switch {
    padding-left: 0;
    padding-right: 0;
}

.visible-eng {
    display: none;
}

.navbar {
    min-height: 70px;
}

.navbar .main, .navbar .main > li {
    float: none;
    display: inline-block;
    *display: inline;
    *zoom: 1;
    vertical-align: top;
}

.mininav-top {
    border: 0;
    background-color: #fff;
    border-bottom: 3px solid #333333;
}

.mininav-top a {
    font-size: 20px;
    font-weight: lighter;
    color: #222;
}

.nav-top .mininav-top li.active a:hover, .nav-top .mininav-top li.active a:focus, .nav-top .mininav-top li.active a {
    background: none;
    color: #c70613;
}

.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:hover, .navbar-default .navbar-nav>.active>a:focus {
    background: none;
}

.nav-top nav {
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    transition: padding 0.3s ease-in-out;
}

.navbar-main .navbar-nav>li.active>a, .nav .active a {
    color: #c70613;
}

.main .nav>li>a:hover, .footer .nav>li>a:hover, .navbar-main .navbar-nav>li>a:hover, .mininav-top .nav>li>a:hover {
    background: none;
    color: #c70613;
}

.main .nav>li>a:focus, .footer .nav>li>a:focus, .mininav-top .nav>li>a:focus {
    background: none;
}

.navbar-main {
    background: #fff;
    border-color: #f0f0f0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

.navbar-main .navbar-nav>li>a {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 22px;
    color: #000;
    padding: 25px 2.5vw;
}

.navbar-nav>li {
    padding-left: 25px;
}

.navbar-nav>li>a {
    padding-top: 35px;
    padding-bottom: 12px;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
}

.navbar-nav>li.active>a, .navbar-nav>li>a:hover, .navbar-nav>li>a:focus, .navbar-nav>li>a:hover, .navbar-nav>li:focus>a, .navbar-nav>li:hover>a {
    border-bottom: 3px solid #c70613;
    color: #c70613;
}

.navbar-brand {
    height: auto;
    padding: 7px 15px;
}


/* Content */

.container-fluid > .row {
    padding-bottom: 70px;
}

.container-fluid > .start, .container-fluid > .nav-top {
    padding: 0;
}

.start > .fullheight {
    background: url("/img/para.jpg") no-repeat;
    background-size: cover;
}

.erfahrungen > div > p.text-center, .about > div > p.text-center {
    margin-bottom: 50px;
}

.info-container h5, .projekt-container h5, .about-container h5 {
    font-size: 23px;
    margin-top: 24px;
    margin-bottom: 25px;
}

.info-container p, .projekt-container p, .about-container p {
    font-size: 16px;
    line-height: 27px;
    padding-left: 40px;
    padding-right: 40px;
}

.about-container, .info-container {
    margin-top: 50px;
}

.info-container p {
    margin-top: 30px;
}

.about h5.lead {
    margin-top: 15px;
    font-weight: bold;
}

.about, .erfahrungen {
    min-height: 100vh;
    min-height: calc( 100vh - 70px);
}

.info-container > .col-md-4, .projekt-container > .col-md-4, .about-container > .col-md-4 {
    margin-bottom: 60px;
}

.container-fluid > .leistungen, .container-fluid > footer.row {
    padding-bottom: 0;
}


/*Footer*/

footer {
    min-height: 300px;
    background: #222;
}

footer img {
    margin-top: 30px;
    margin-bottom: 30px;
    max-width: 100%;
}

footer p {
    line-height: normal;
    color: #fff;
    font-weight: lighter;
}

footer .breaker {
    display: block;
    margin: 25px 0;
}

footer .leadtext span {
    color: #fff;
    font-size: 30px;
    background: #c70613;
    padding: 5px 10px;
}

footer .nolink {
    color: #fff;
    text-decoration: none;
}

footer .nolink:hover {
    text-decoration: underline;
}

footer .col-sm-9 {
    display: flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    min-height: 300px;
}

footer .col-sm-9 p {
    margin-bottom: 0;
    line-height: 35px;
}

footer .col-sm-9 p .lead {
    font-weight: normal;
    display: block;
    margin-bottom: 0;
}


/*Media Queries*/

@media only screen and (min-width: 768px) {
    .cd-top {
        right: 20px;
        bottom: 20px;
    }
}

@media only screen and (min-width: 1024px) {
    .cd-top {
        height: 60px;
        width: 60px;
        right: 30px;
        bottom: 30px;
    }
}

@media (max-width: 1280px) {
    .navbar-nav>li {
        padding-left: 0;
    }
    .mininav-top a {
        font-size: 15px;
    }
    .navbar-brand {
        max-width: 120px;
        padding-top: 23px;
    }
    #lang_switch {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 1024px) {
    .mininav-top a {
        font-size: 16px;
    }
    .navbar-default .navbar-brand {
        width: 100px;
        padding-bottom: 0;
        padding-top: 20px;
        padding-left: 0;
        padding-right: 0;
    }
    #lang_switch {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 990px){
    .phase{
        margin-top: 30px;
    }
}

@media (max-width: 830px) {
    .navbar-default .navbar-brand {
        width: 90px;
    }
}

@media (max-width:767px) {
    .cta--container h2 {
        font-size: 32px;
        padding: 0 20px;
    }
    .cta--link {
        bottom: 60px;
    }
    .navbar-toggle {
        margin-top: 17px;
    }
    .navbar-nav > li > a {
        padding-top: 15px;
    }
    .info-container > .col-md-4, .projekt-container > .col-md-4, .about-container > .col-md-4 {
        margin-bottom: 60px;
    }
    .info-container > .col-md-4:last-of-type, .projekt-container > .col-md-4:last-of-type, .about-container > .col-md-4:last-of-type {
        margin-bottom: 0;
    }
    footer {
        text-align: center;
    }
}

@media (max-width:500px) {
    h3 {
        font-size: 33px;
    }
    .heading {
        font-size: 27px;
    }
    .cta--link {
        bottom: 60px;
    }
    .cd-top {
        height: 30px;
        width: 30px;
        right: 5px;
        bottom: 5px;
    }
    .profile-img {
        max-width: 60%;
    }
}


/* IPAD */

@media only screen and (min-device-width: 768px) and (max-device-width: 1030px) and (orientation: landscape) {
    .navbar-nav>li {
        padding: 0;
    }
    .mininav-top a {
        font-size: 14px;
    }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    .navbar-right {
        float: none !important;
        text-align: center;
        width: 100%;
    }
    .navbar-nav>li {
        float: none;
        display: inline-block;
    }
    .navbar-nav>li>a {
        margin-bottom: -4px;
    }
    .navbar-default .navbar-brand {
        display: none;
    }
    footer {
        text-align: center;
    }
}

@media only screen and (min-width: 1280px) and (max-width: 1720px) {
    .navbar-brand {
        max-width: 130px;
        padding-top: 20px;
    }
    .mininav-top a {
        font-size: 16px;
    }

    .nav>li>a{
        padding: 35px 5px 12px 5px;
    }
}

@media (max-width:940px) and (min-width: 768px){
    .navbar-right {
        float: none !important;
        margin-right: 0;
        text-align: center;
        width: 100%;
    }

    .navbar-nav>li{
        float: none;
        display: inline-block;
    }

    .navbar-default .navbar-nav>li>a {
        padding-left: 10px;
        font-size: 13px;
        padding-right: 10px;
    }

    .navbar-default .navbar-brand{
        display: none;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    /*.star-image,
    .about,
    .erfahrungen,
    .cta--container,
    .bx-viewport {
        min-height: 410px;
    }*/

    .cta--container h2 {
        font-size: 25px;
    }

    .start {
        overflow: hidden;
    }
}

@media only screen and (max-device-width : 320px) and (max-device-height : 480px) and (orientation : portrait) {
    .fullheight {
        min-height: 410px;
    }

    .fullheightnp{
        min-height: 410px;
    }

    .fullheightfull{
        min-height: 480px;
    }

    .start.fullheight {
        min-height: 410px;
    }

    .star-image,
    .about,
    .erfahrungen,
    .cta--container,
    .bx-viewport {
        min-height: 410px;
    }

    .cta--container {
        width: 320px;
        height: 410px;
    }

    .cta--link {
        display: none;
    }

    .bxslider li img {
        max-height: 410px;
    }

    .modal-body {
        max-height: 440px;
    }
}

@media only screen and (max-device-height : 320px) and (max-device-width : 480px) and (orientation : landscape) {
    .fullheight {
        min-height: 250px;
    }

    .fullheightnp{
        min-height: 250px;
    }

    .fullheightfull{
        min-height: 320px;
    }

    .start.fullheight {
        min-height: 250px;
    }

    .star-image {
        min-height: 160px;
        max-height: 320px;
    }

    .cta--container {
        height: 250px;
        width: 480px;
    }

    .about,
    .erfahrungen,
    .cta--container,
    .modal-body,
    .fullheight {
        min-height: 250px;
    }

    .cta--link {
        display: none;
    }

    .bxslider li img {
        max-height: 250px;
    }
}
