/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font: 14px/26px Helvetica, Helvetica Neue, Arial;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
   =================== */

.header-container {
    border-bottom: 20px solid #f07e14;
    overflow: hidden;
}

.footer-container {
    border-top: 20px solid #f07e14;
}

.header-container,
.footer-container {
    background: #f16529;
}

.main aside {
    background: transparent;
}

.title {
    color: white;
}

.seperatevertical li {
    margin: 10px 0;
}

.seperatevertical li:first-child {
    margin: 0 0 10px 0;
}

.seperatevertical li:last-child {
    margin: 10px 0 0 0;
}

.aside-contact {
    position: absolute;
    right: 40px;
    width: 405px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-top: 50px;
}

input {
    padding: 10px 10px 10px 35px;
    width: 360px;
    color: #000;
    border: none;
    margin-bottom: 10px;
}

textarea {
    width: 385px;
    border: none;
    color: #000;
    margin-bottom: 10px;
    padding: 10px;
}

#name {
    background-image: url(../img/icons/kontakt_name.png);
    background-repeat: no-repeat;
    background-position: left 12px center;
}

#tel {
    background-image: url(../img/icons/kontakt_telefon.png);
    background-repeat: no-repeat;
    background-position: left 12px center;
}

#email {
    background-image: url(../img/icons/kontakt_mail.png);
    background-repeat: no-repeat;
    background-position: left 12px center;
}

/* ==============
    MOBILE: Menu
   ============== */
.navigation-right {
    position: fixed;
    //top: 164px;
    height: 100%;
    right: -230px;
    background-color: rgba(0, 0, 0, 1);
    //border-right: 4px solid #ccc;
    width: 200px;
    z-index: 5;
    font-size: 16px;
    padding: 15px;
    text-align: left;
    transition: all 1s ease;
}

.navigation-right .logo-nav {
    width: 200px;
    margin-bottom: 20px;
}

.navigation-right .toggleNavRight {
    position: absolute;
    left: -45px;
    background-color: rgba(0, 0, 0, 1);
    color: #FFF;
    padding: 0 8px;
    cursor: pointer;
} 

.navigation-right .toggleNavRight:hover {
    color: #f07e14;
} 

nav ul, .navigation-right ul{
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav a {
    display: block;
    background: transparent;
    color: #FFF;
    margin: 10px 0;
    //border-right: 1px solid #000;
    
    //text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: normal;
    line-height: 14px;
}

nav a.aktiv {
    color: #f07e14;
}

nav ul li:last-child a {
    border-right: none;
    margin-right: 18px;
}

nav a:hover {
    color: #f07e14;
}

nav a:hover {
    text-decoration: none;
}

/* ============== 
   MOBILE: Main
   ============== */

.main {
    /* padding: 30px 0; */
}

.main article h1 {
    /* font-size: 2em; */
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html, body {
    height: 100%;
}

body {
    background-image: url(../img/backgrounds/start-background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

.header-container {
    height: 155px;
    background-color: transparent;
    //background-image: url(../img/backgrounds/header-background.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    border-bottom: 0px;
    box-shadow: none;
}

.footer-container {
    height: 45px;
    background-color: transparent;
    //background-image: url(../img/backgrounds/header-background.jpg);
    background-repeat: no-repeat;
    background-position: bottom left;
    background-size: cover;
    border-top: 0px;
    box-shadow: none;
}

.footer-container footer {
    height: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: flex-end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 0;
    padding-right: 40px;
}

header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    height: 100%;
}

.logo-container {
    display: block;
    margin-left: 40px;
}

.logo-head {
    height: 94px;
}

/*.small_nav {
    display: none;
}

nav ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
}*/

.orange {
    color: #f07e14;
}


.copyright {
    font-size: 11px;
    color: #222;
    width: calc(33% - 40px);
    padding-left: 40px;
}

.container-spacer {
    width: 33%;
}

.copyright a {
    color: #222;
    text-decoration: none;
}

.social-container {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: flex-end;
    justify-content: flex-end;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

.social-button {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    width: 20px;
    height: 20px;
    margin-left: 5px;
}

.social-button:nth-child(1) {
    background-color: #575757;
    margin-left: 0;
}

.social-button:nth-child(2) {
    background-color: #616A71;
}

.social-button:nth-child(3) {
    background-color: #989898;
}

.social-button:nth-child(4) {
    background-color: #c9c9c9;
}

.social-button:nth-child(1):hover {
    background-color: #3B5998;
}

.social-button:nth-child(2):hover {
    background-color: #cf3e2c;
}

.social-button:nth-child(3):hover {
    background-color: #5EA9DD;
}

.social-button:nth-child(4):hover {
    background-color: #DAE600;
}

.main-container {
    height: calc(100% - 48px - 159px );
    position: relative;
}

.slider-container {
    height: 160px;
    width: 100%;
    background-image: url(../img/backgrounds/slider-background.png);
    background-repeat: repeat;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: none;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

body {
    -webkit-transition: all 1s ease;
    transition: all 1s ease;
}

@-webkit-keyframes articlestart {
    from {
        padding-bottom: 0;
        max-height: 0;

    }
    to {
        padding-bottom: 22px;
        max-height: 600px;

    }
}

@keyframes articlestart {
    from {
        padding-bottom: 0;
        max-height: 0;

    }
    to {
        padding-bottom: 22px;
        max-height: 600px;

    }
}

article.main-article {
    position: absolute;
    margin-left: 40px;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    max-height: 0;
    overflow: hidden;
    /* box-sizing: border-box; */
    padding: 22px;
    padding-top: 0;
    padding-bottom: 0;
}

@media only screen and (min-width: 768px) {
    article.main-article {
        position: absolute;
        margin-left: 40px;
        bottom: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.7);
        color: #fff;
        max-height: 0;
        overflow: hidden;
        padding: 22px;
        padding-top: 0;
        padding-bottom: 0;
        -webkit-animation-name: articlestart;
        animation-name: articlestart;
        -webkit-animation-duration: 3s;
        animation-duration: 3s;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
        -webkit-animation-delay: 5500ms;
        animation-delay: 500ms;
    }
}

@media only screen and (min-width: 1140px) {
    article.main-article {
        position: absolute;
        margin-left: 40px;
        bottom: -51px;
        left: 0;
        background-color: rgba(0, 0, 0, 0.7);
        color: #fff;
        max-height: 0;
        overflow: hidden;
        /* box-sizing: border-box; */
        padding: 22px;
        padding-top: 0;
        padding-bottom: 0;
        -webkit-animation-name: articlestart;
        animation-name: articlestart;
        -webkit-animation-duration: 3s;
        animation-duration: 3s;
        -webkit-animation-fill-mode: forwards;
        animation-fill-mode: forwards;
        -webkit-animation-delay: 5500ms;
        animation-delay: 500ms;
    }
}

.imagegallery  {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-around;
    -ms-flex-pack: justify;
    justify-content: space-around;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    height: 100%;
    margin: 40px;
}

.imagegallery a{
    margin-right: 40px;
    margin-bottom: 40px;
    border: 1px solid grey;
}

.imagegallery a img {
    height: 130px;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

.imagegallery a:hover img {
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
}

.article-header h1 {
    width: 100%;
    font-size: 16px;
    font-weight: normal;
    text-align: left;
    text-transform: uppercase;
    margin: 0;
    padding-bottom: 10px;
    //border-bottom: 1px solid #999;
    padding-top: 22px;
}

.bx-wrapper .bx-viewport {
    background: none;
    box-shadow: none;
    border: none;
}

.bx-viewport {
    height: 145px !important;
}

.bxslider li img {
    border: 1px solid #666;
    -webkit-filter: grayscale(100%);
    filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feColorMatrix type="matrix" color-interpolation-filters="sRGB" values="0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0" /></filter></svg>#filter');
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    -webkit-transition: all 500ms ease;
    transition: all 500ms ease;
}

.bxslider li img:hover, .bxslider li img.active {
    -webkit-filter: grayscale(0%);
    filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feColorMatrix type="matrix" color-interpolation-filters="sRGB" values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0" /></filter></svg>#filter');
    -webkit-filter: grayscale(0%);
    filter: grayscale(0%);
    cursor: pointer;
}

@-webkit-keyframes thumb {
    0% {
        -webkit-transform: scale(1);
    }
    50% {
        -webkit-transform: scale(0.9);
    }
    100% {
        -webkit-transform: scale(1);
    }
}

@keyframes thumb {
    0% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);

    }
    50% {
        -webkit-transform: scale(0.9);
        -ms-transform: scale(0.9);
        transform: scale(0.9);

    }
    100% {
        -webkit-transform: scale(1);
        -ms-transform: scale(1);
        transform: scale(1);

    }
}

.bxslider li img:hover {
    -webkit-animation-name: thumb;
    -webkit-animation-duration: 200ms;
    -webkit-transform-origin: 50% 50%;
    -webkit-animation-iteration-count: 1;
    -webkit-animation-timing-function: linear;
}

#slider-next:hover, #slider-prev:hover {
    cursor: pointer;
}

#slider-next, #slider-prev {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#slider-next {
    margin-right: 40px;
}

#slider-prev {
    margin-left: 40px;
}

.link-triangle {
    position: absolute;
    top: 90px;
    left: -100px;
    height: 10px;
    width: 39px;
    background-image: url(../img/icons/triangle.png);
    background-repeat: no-repeat;
    background-position: bottom center;
}

.main-article ul {
    list-style: none;
    padding-left: 10px;
}

.main-article ul li:first-letter {
    color: #f07e14;
}

ul.col2 {
    -webkit-columns: 2;
    -moz-columns: 2;
    columns: 2;
}

.section-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.section-flex p:first-child {
    padding-right: 150px;
}

.logo-container {
    position: relative;
}

/*.logo-container:after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    bottom: -50%;
    left: -125%;
    background: -webkit-linear-gradient(top, rgba(229, 172, 142, 0), rgba(255, 255, 255, 0.5) 50%, rgba(229, 172, 142, 0));
    background: linear-gradient(to bottom, rgba(229, 172, 142, 0), rgba(255, 255, 255, 0.5) 50%, rgba(229, 172, 142, 0));
    -webkit-transform: rotateZ(60deg) translate(-5em, 7.5em);
    transform: rotateZ(60deg) translate(-5em, 7.5em);
}

.logo-container:hover:after, .logo-container:focus:after {
    -webkit-animation: sheen 500ms forwards;
    animation: sheen 500ms forwards;
}

@-webkit-keyframes sheen {
    100% {
        -webkit-transform: rotateZ(60deg) translate(1em, -9em);
        transform: rotateZ(60deg) translate(1em, -9em);
    }
}

@keyframes sheen {
    100% {
        -webkit-transform: rotateZ(60deg) translate(1em, -9em);
        transform: rotateZ(60deg) translate(1em, -9em);
    }
}*/

body.start_bg {
    background-image: url(../img/backgrounds/bg_start.jpg);
}

body.ueber-uns_bg {
    background-image: url(../img/backgrounds/bg_ueber_uns.jpg);

}

body.leistungen_bg {
    background-image: url(../img/backgrounds/bg_leistungen.jpg);

}

body.referenzliste_bg {
    background-image: url(../img/backgrounds/bg_referenzen.jpg);

}

body.kontakt_bg {
    background-image: url(../img/backgrounds/bg_kontakt.jpg);

}

body.stellengesuche_bg {
    background-image: url(../img/backgrounds/bg_stellengebote.jpg);

}

body.impressum_bg {
    background-image: url(../img/backgrounds/bg_impressum.jpg);

}

.article-section a, .article-section a:visited, .article-section a, .article-section a:focus {
    color: #fff;
}

.article-section a:hover {
    color: #f07e14;
}

button {
    width: 405px;
    border: none;
    background-image: url(../img/icons/kontakt_absenden.png);
    background-repeat: no-repeat;
    color: #fff;
    background-color: #f07e14;
    text-align: center;
    background-position: left 130px center;
}

.success {
    position: absolute;
    margin: 0 auto;
    color: #fff;
    font-size: 20px;
    right: 30px;
    top: 25px;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
}

aside.job-1, aside.job-2 {
    display: none;
    position: absolute;
    top: 2.5%;
    left: 1%;
    width: 96%;
    height: 85%;
    background-color: rgba(0, 0, 0, 0.99);
    color: #fff;
    padding: 22px;
    overflow: auto;
}

aside h2 {

    width: 100%;
    font-size: 16px;
    font-weight: normal;
    text-align: left;
    text-transform: uppercase;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #999;
    padding-top: 22px;
}

.start-animation {
    display: none;
}

#slider-next:hover, #slider-prev:hover {
    background-color: rgba(220, 220, 220, 0.75);
}

.list-job li:hover {
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 480px) {

    /* ====================
        INTERMEDIATE: Menu
       ==================== */
    /*
        nav a {
          float: left;
            width: 27%;
            margin: 0 1.7%;
            padding: 25px 2%;
            margin-bottom: 0;

        }

        nav li:first-child a {
            margin-left: 0;
        }

        nav li:last-child a {
            margin-right: 0;
        }
    */
    /* ========================
        INTERMEDIATE: IE Fixes
       ======================== */
    /*nav ul li {
        display: inline;
    }*/

    .oldie nav a {
        margin: 0 0.7%;
    }
}
header.article-header {
    height: auto;
}
@media only screen and (min-width: 768px) {

    /* ====================
        WIDE: CSS3 Effects
       ==================== */
    /*.header-container,
   .bxslider li img:hover {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }
    */
    /* ============
        WIDE: Menu
       ============ */
    .title {
        float: left;
    }

    /* ============
        WIDE: Main
       ============ */
    .main article {
        width: 42%;
    }

    @-webkit-keyframes articlestart {
        from {
            padding-bottom: 0;
            max-height: 0;
        }
        to {
            padding-bottom: 22px;
            max-height: 400px;
        }
    }

    @keyframes articlestart {
        from {
            padding-bottom: 0;
            max-height: 0;
        }
        to {
            padding-bottom: 22px;
            max-height: 400px;
        }
    }

}

@media only screen and (min-width: 1140px) {

    /* ===============
        Maximal Width
       =============== */
    .main article {
        width: 42%;
    }

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }

    @-webkit-keyframes articlestart {
        from {
            padding-bottom: 0;
            max-height: 0;

        }
        to {
            padding-bottom: 22px;
            max-height: 600px;

        }
    }

    @keyframes articlestart {
        from {
            padding-bottom: 0;
            max-height: 0;

        }
        to {
            padding-bottom: 22px;
            max-height: 600px;

        }
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }

}

@media only screen and (min-width: 1140px) and (max-height: 769px ) {
    .main article {
        width: 59%;
        height: 85%;
    }

    .referenzliste_bg .main article {
        width: 85%;
    }

    .aside-contact {
        margin-top: 5px;
    }
    input, textarea {
        margin-bottom: 5px;
    }
}
