
body {
    background-color: #eaeaea;
    font-family: 'Source Sans Pro', sans-serif;
}
/**
 * Wrapper.
 */

#wrapper {
    max-width: 1000px;
    margin: 20px auto;
    border: 1px solid #eee;
    color: #333;
    font-family: 'Source Sans Pro', sans-serif;
    background-color: #fff;
}

#content {
    font-size: 16px;
    padding: 50px 70px;
}

/* LAYOUT */

h1,h2,h3,h4 {
    font-family: 'Roboto Slab', serif;
}
h1 {
    font-size: 42px;
    line-height: 46px;
    font-weight: 400;
}
h4 {
    font-weight: 400;
    font-size: 25px;
    margin: 30px 0;
}
.no-margin {
    margin-bottom: 0;
}
p {
    margin-top: 0;
    line-height: 1.7rem;
}
.top-margin {
    margin-top: 30px;
}
a {
    color:#161e61;
}
a:hover {
    color:#286ab7;
    text-decoration: none;
}

.logo {
    padding: 30px 70px;
    height: 80px;
    text-align: right;
}
.logo img {
    width: auto;
    max-height: 80px;
}
#headerimg {
    border-top: 8px solid #ddd;
    margin-top: 50px;
}
#headerimg img {
    max-width: 999px;
    height: auto;
    width: 100%;
}

#title {
    padding-top: 7px;
    margin: 30px 0;
}

ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0;
}
li {
    padding-left:12px;
    position: relative;
}
li:before {
    position: absolute;
    top: 0;
    left: 0;
    content: "-";
}
#subtitle {
    font-size: 16px;
}

#company-link{
    background-color: #008b57;
    cursor: pointer;
    padding: 12px 24px;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 1px;
    border-radius: 3px;
}

#company-link:hover{
    background-color: #333;
}
.abstand {
    padding: 15px 0 30px;
}

/* Kontakt */
h5 {
    font-size: 16px;
    font-weight: 700;
}
h2 b, h4 b, h5 b {
    font-weight: 400;
}
#kontakt-block {
    background-color: #f2f2f2;
    padding: 20px 30px 10px;
    display: flex;
    display: -ms-flex;
    display: -webkit-flex;
    color: #333;
}
#kontakt-block p:last-of-type {
    margin-left: 25px;
    position: relative;
}
#kontakt-block svg {
    position: absolute;
    left: -25px;
    top: 5px;
}
#kontakt-adresse, #kontakt-mail, #kontakt-person {
    display: inline-block;
    position: relative;
}
#kontakt {
    width: 45%;
}
#kontakt-person {
    width: calc(100% - 140px);
}
#kontakt-person-bild{
    max-width: 140px;
    float: left;
}
#kontakt-person-bild img {
    max-width: 125px;
    height: auto;
    margin-right: 15px;
}
#kontakt-adresse, #kontakt-mail {
    width: calc(55% / 2 - 10px);
    padding-left: 10px;
}
.fas {
    position: absolute;
    left: -25px;
    top: 6px;
}

/* Apply + Social*/

#apply-btn{
    margin: 50px 0;
}

#apply-btn a{
    background-color: #008b57;
    cursor: pointer;
    padding: 12px 24px;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Roboto Slab', serif;
    font-weight: 300;
    font-size: 16px;
    letter-spacing: 1px;
    border-radius: 3px;
}

#apply-btn a:hover{
    background-color: #333;
}
.social-icons img{
    height: 35px;
    width: 35px;
    margin-top: 20px;
    margin-left: 5px;
}

.printable-only {
    display: none;
}
/* Footer */
footer {
    background-color: #252525;
    padding: 40px 70px;
}
footer div {
    display: inline-block;
    padding: 20px;
    width: calc(100% / 3 - 4px);
    color: #bbb;
    vertical-align: top;
}
footer img {
    max-width: 180px;
}
.grimselweltLogo {
    margin-top: 15px;
}
.footerImage {
    height: 100px;
    display: inline-block;
}

/* Subfooter */
.subfooter {
    display: flex;
    justify-content: flex-end;
    background-color: #1c1c1c;
    line-height: 35px;
    padding: 15px 70px;
}

.subfooter a {
    color: #bbb;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.subfooter a:hover {
    color: #FFFFFF;
}

/* Media Queries */
@media screen and (max-width: 1100px) {
    #wrapper {
        border: 0;
        margin-top: 0;
    }
    .logo {
        padding: 20px 70px;
        height: 60px;
    }
}
@media screen and (max-width: 1000px) {
    #wrapper {
        margin-bottom: 0;
    }
}
@media screen and (max-width: 825px) {
    #kontakt-block {
        display: block;
    }
    #kontakt, #kontakt-adresse, #kontakt-mail {
        width: 100%;
        display: block;
    }
    #kontakt-adresse, #kontakt-mail {
        margin-top: 20px;
        border-top: 1px solid #fff;
        padding-top: 20px;
    }
    #content {
        padding: 50px 20px 30px;
    }
    footer {
        padding: 40px 20px;
    }
    footer div {
        width: 100%;
    }
    .subfooter {
        padding-left: 20px;
        padding-right: 20px;
    }
}
@media screen and (max-width: 590px) {

    #content, .logo{
        padding: 25px;
    }
    .logo img{
        width: 120px;
    }
    h1 {
        font-size: 36px;
        line-height:1.3;
        hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        -webkit-hyphens: auto;
    }
    .col-xs-4{
        width: 35%;
    }
    .col-xs-8{
        width: 65%;
    }
    #apply-btn{
        margin: 50px 0 20px;
    }
    .subfooter {
        padding-left: 25px;
        padding-right: 25px;
    }
}
@media screen and (max-width: 400px) {
    #apply-btn a {
        padding: 12px;
    }
    #kontakt-person-bild img {
        max-width: 100px;
        hyphens: auto;
        -moz-hyphens: auto;
        -ms-hyphens: auto;
        -webkit-hyphens: auto;
    }
    #kontakt-block {
        padding: 10px;
    }
}
