/**
 * Created by dkeltere on 30.11.16.
 */

.hero-unit {
    background-image: url('../img/hero_v2_white_cutted.png');
    position: relative;
    left: 0px;
    top: 0px;
    z-index: 3;
    background-size: cover;
    background-color: #EEEEEE;
    /*height: 51vw;*/
    /*height: 66vw;*/
    height: 77vw;

}

.Logo {
    background: url("../img/SpeedColl_2_logo_trans.png") no-repeat center / contain;
    transform: translateX(-50%);
    left: 50%;
    position: absolute;
    width: 300px;
}

.content-block {
    width: 100%;
    padding: 60px 0 60px 0;
    z-index: 100;
    position: relative;
    background-color: #ffffff;
}

/* H2 in Sections */
#partners > div > div.row.text-center > div > h2 {
    font-size: 2.5em !important;
}

section h2 {
    /*font-size: 2.1em !important;*/
    font-weight: 700 !important;
}

/* exclute ise and itw from opacity */
#partners > div > div.col-lg-6 > div:nth-child(1) > div > div:nth-child(1) > a > img {
    opacity: 0.9 !important;
    /*max-width: 13vw !important;*/
    max-width: 220px;
}

#partners > div > div.col-lg-6 > div:nth-child(1) > div > div:nth-child(2) > a > img {
    opacity: 0.9 !important;
    /*max-width: 11vw !important;*/
    max-width: 180px;
}


.partner-logo {
    margin: 8px !important;
}


/*
* Navbar style
*/

.navbar-inverse {
    background-color: transparent;
    border-color: transparent;
}

.navbar-inverse .navbar-nav > li > a, .navbar-inverse .navbar-nav > li.active > a,
.navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li.active > a:hover {
    color: rgb(255, 255, 255);
    font-family: "Trebuchet MS", Helvetica, sans-serif;
    font-size: 30px;
}

.navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:focus, .navbar-inverse .navbar-nav > .active > a:hover {
    background-color: transparent !important;
}

.navbar-brand {
    padding-top: 2px;
}

.navbar-brand > img {
    width: 3em;
}

@media (min-width: 768px) {
    .navbar {
        /*padding-top: 13vw;*/
        padding-top: 6vw;
    }

    .navbar-right {
        margin-right: -30px !important;
    }

    .navbar-nav {
        margin-left: -21px !important;
    }

    .navbar-brand {
        position: absolute;
        top: 14.4vw;
        left: 5em;
        right: 0;
    }

    .navbar-brand > img {
        width: 6em;
        margin: 0 auto;
        display: block;
    }

    .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand {
        /*margin-left: -15px !important;*/
        margin-left: -13vw !important;
    }

    .navbar > li {
        margin-left: 18px;
        margin-right: -6px;
    }

    .navbar-nav > li {
        float: none !important;
    }

}

@media (max-width: 992px) {
    .navbar-inverse .navbar-nav > li > a, .navbar-inverse .navbar-nav > li.active > a,
    .navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li.active > a:hover {
        color: rgb(255, 255, 255);
        font-family: "Trebuchet MS", Helvetica, sans-serif;
        font-size: 20px;
    }
}

/* smal navbar hack - centered logo in hero image */
@media (max-width: 767px) {

    .navbar {
        padding-top: 2vw;
    }

    .navbar-brand {
        padding: 0px !important;
        transform: translateX(48%) !important;
        height: 13vw !important;
        margin-top: 9vw !important;
    }

    .navbar-inverse .navbar-nav > li > a, .navbar-inverse .navbar-nav > li.active > a,
    .navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li.active > a:hover {
        color: rgb(255, 255, 255);
        font-family: "Trebuchet MS", Helvetica, sans-serif;
        font-size: 16px;
    }

    .pull-left {
        float: none !important;
    }

    .nav > li > a {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
        background-color: gray;
        margin-top: -21px;
        border-color: white !important;
        border: 1px solid;

    }

    .nav-hr {
        visibility: hidden;
    }

    #speedcoll-navbar > div > div.row.center-block > div:nth-child(1) > a > img {
        width: 62vw !important;
    }

    #navbar-collapse > ul {
        margin: 0px 0px !important;
    }


}

.navbar {
    margin-bottom: 0;
    /*background-color: #e4e4e4;*/
    z-index: 2;
    border: 0;
    font-size: 12px !important;
    line-height: 1.42857143 !important;
    letter-spacing: 4px;
    border-radius: 0;
}

.navbar-brand {
    padding: 0px; /* firefox bug fix */
    height: 6vw;
}

.navbar-brand > img {
    max-height: 100%;
    height: 100%;
    width: auto;
    margin: 0 auto;

    /* probably not needed anymore, but doesn't hurt */
    -o-object-fit: contain;
    object-fit: contain;

}

.navbar-default .navbar-toggle {
    /*border-color: transparent; */

    color: white !important;
}

/* Brand Logo fitting in Navbar */
.navbar-brand > img {
    height: 100%;
}

/* Align nav bar tabs*/
.nav-tabs > li, .nav-pills > li {
    float: none;
    display: inline-block;
}

.nav-tabs {
    text-align: center;
}

/* Divider Paralax */
.divider {
    height: 40px !important;
}

.parallax {
    background: url('../img/para-gb.png') no-repeat center center fixed;
    /*background: url('../img/2nd_part_hero.png') no-repeat center center fixed;*/
    color: #fff;
    background-size: cover;
    opacity: .8;
}

/* Back to Top Button */
a.back-to-top {
    display: none;
    width: 60px;
    height: 60px;
    text-indent: -9999px;
    position: fixed;
    z-index: 999;
    right: 20px;
    bottom: 20px;

    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

/* a tags in corporate color */
a.corporate, a.corporate:active, a.corporate:focus, a.corporate:hover {
    color: #f28a24 !important;
}

a.corporate_footer, a.corporate_footer:active, a.corporate_footer:focus, a.corporate_footer:hover {
    color: white !important;
}

/*a, a.active, a:active, a:focus, a:hover {*/
/*color: white !important;*/
/*}*/

.panel {
    border: 1px solid #f4511e;
    border-radius: 0;
    transition: box-shadow 0.5s;
}

.panel:hover {
    box-shadow: 5px 0px 40px rgba(0, 0, 0, .2);
}

section {
    margin-top: 25px;
    margin-bottom: 25px;
}

footer {
    /*margin: 50px 0;*/
}

.panel-footer .btn:hover {
    border: 1px solid #f4511e;
    background-color: #fff !important;
    color: #f4511e;
}

.panel-heading {
    color: #fff !important;
    background-color: #f4511e !important;
    padding: 25px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.panel-footer {
    background-color: #fff !important;
}

.panel-footer h3 {
    font-size: 32px;
}

.panel-footer h4 {
    color: #aaa;
    font-size: 14px;
}

.panel-footer .btn {
    margin: 15px 0;
    background-color: #f4511e;
    color: #fff;
}

.carousel-inner {
    width: 100%;
    max-height: 40vw !important;
    min-height: 40vw !important;
}

.carousel-inner .item img {
    margin-top: -5%;
}

#myCarousel.carousel.slide {
    width: 100%;
}

.partner-row {
    padding: 10px;
}

.editContent h2 {
    color: grey;
    opacity: 0.85;
    padding-bottom: 7vh;
}

.flex-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding: 10px;
}

/* to center flex-items */
.flex-item {
    margin: auto;
}

.flex-container .flex-item img {
    max-width: 120px;
    /*max-width: 125px;*/
    max-height: 60px;
    /*margin: 15px;*/
    opacity: 0.3;
    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    transition: all .2s ease;
    -webkit-backface-visibility: none;
}

.flex-container .flex-item img:hover {
    opacity: 1;
}

.flex-container .flex-item .row {
    display: inline-block;
    width: 80%;
}

.content-1-6 .client-row:last-child .row-wrapper {
    border-bottom: none;
}

.content-1-6 .row-wrapper .col-md-3 {

}

.content-1-6 .row-wrapper .col-md-3:last-child {
    border-right: none;
}

/* EXAMPLE 3

line height is 20px by default so add 30px top and bottom to equal the new .navbar-brand 80px height  */

.nav > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 16px;
}

.navbar-toggle {
    padding: 10px;
    margin: 25px 15px 25px 0;
}

/* Site Font Size*/

p {
    font-size: 16px !important;
}

p.footer {
    text-align: center;
    font-size: 13px !important;
}

/* Projektbeschreibungs Mod*/
.project_desc p {
    font-weight: 400 !important;
    text-align: justify !important;
}

/* Divider */

.divider {
    height: 1px;
    width: 100%;
    display: block; /* for use on default inline elements like span */
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5;
}


/* Pagination Color Fix */
.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    background-color: #f28a24 !important;
    border-color: #f28a24 !important;
}

.pagination>li>a, .pagination>li>span {
    color: #333 !important;
}

figure {
    padding: 10px !important;
}

.language-selector {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 3;
}

footer .footer-above{
    background-color: #ffffff !important;
    color: black;
}

footer h3 {
    color: grey;
}