/**
 * Fonts.
 */
@font-face {
    font-family: 'Museo-Regular';
    src: url('../fonts/museo.eot'),
    url('../fonts/museo.woff'),
    url('../fonts/museo.woff2'),
    url('../fonts/museo.ttf');
}
@font-face {
    font-family: 'Museo-Bold';
    src: url('../fonts/museo-semibold.eot'),
    url('../fonts/museo-semibold.woff'),
    url('../fonts/museo-semibold.woff2'),
    url('../fonts/museo-semibold.ttf');
}
@font-face {
    font-family: 'Museo-Bold-nonserif';
    src: url('../fonts/museo-bold-nonserif.eot'),
    url('../fonts/museo-bold-nonserif.woff'),
    url('../fonts/museo-bold-nonserif.woff2'),
    url('../fonts/museo-bold-nonserif.ttf');
}


body {
    font-family: 'Museo-Regular', Arial, sans-serif;
    font-weight:normal;
    color: #1d1d1b;
    font-size: 16px;
    line-height: 24px;
    margin:0 auto;
}
/**
 * Layout
 */

#wrapper {
    position: relative;
    width: 100%;
    max-width:900px;
    margin:40px auto;
    border: 1px solid #c21632;
    overflow: hidden;
}
img{
    width: 100%;
    height: auto;
}
.icons {
    width: 40px;
    height: 40px;
}

/**
 * Typography.
 */
h1 {
    font-family: 'Museo-Bold', Arial, sans-serif;
    font-weight: normal;
    font-size: 26px;
    line-height: 40px;
    margin-bottom:15px;
}

h3 {
    font-family: 'Museo-Bold', Arial, sans-serif;
    font-weight: normal;
    font-size:20px;
    line-height:24px;
    margin-bottom: 3px;
}
p{
    line-height: 24px;
}
p:last-child {
    margin-bottom: 1em;
}

a {
    color: #c21632;
    text-decoration: none;
    transition: color .3s;
}

.highlight {
    color: #c21632;
}
.bg-red {
    background: #c21632;
    color: #fff;
}
.bg-grey {
    background: #eee;
}

a:hover, a:focus {
    color: #9A0612;
}

b, strong {
    font-family: 'Museo-Bold-nonserif', Arial, sans-serif;
    font-weight: normal;
}

ul {
    list-style: none;
    padding-left: 18px;
}

ul li::before {
    content: "\2022";
    color: #c21632;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/**
 * Header
 */

#logo {
    float:left;
    padding: 30px 55px 0;
}
#logo img{
    max-width: 200px;
}

.topRightImages {
    float: right;
    padding: 30px 55px 0;
}

#courage {
    float: left;
}
#courage img {
    width: 60px;
}
#award {
    float: left;
    margin-right: 20px;
}
#award img {
    max-width: 55px;
}

.sticky-header {
    width:100%;
    max-width: 900px;
    opacity:0;
    position: fixed;
    top:-100px;
    background: #c21632;
    color: #fff;
    transition: all .15s ease-in-out;
    z-index: 3;
    padding: 24px 35px;
    box-shadow: 0 4px 15px 0 rgba(0,0,0,0.5);
}
header.sticky .sticky-header {
    opacity:1;
    top:0;
}
header.sticky .sticky-header h1 {
    margin-bottom:0;
    width: calc(-100px + 100%);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/**
 * Content
 */
.content {
    clear: both;
    padding: 30px 55px;
}
#job-title {
    color: #fff;
    padding: 15px 55px;
    margin-bottom: 20px;
}
.content .bg-red {
    padding: 6px 20px 3px;
    width: 195px;
    font-family: 'Museo-Bold', Arial, sans-serif !important;
}
.content .bg-red b, .content .bg-red strong{
    font-family: 'Museo-Bold', Arial, sans-serif !important;
}

.second-line {
    margin-top: 50px !important;
}
.border-red {
    border: 1px solid #c21632;
    padding: 10px 20px;
    height: 100%;
    margin-bottom: -40px;
}
.content:last-of-type{
    background: url("../images/bg-o.svg") no-repeat;
    background-size: 50%;
}
.abstand {
    margin-top: 40px;
}
#kontakt {
    padding-top: 40px;
}
#kontakt  .six {
    text-align: right;
}
#kontakt  .six img, #bild-siegel img {
    width: auto;
    height: 100px;
}
#location {
    position: relative;
}
#location i {
    color: #c21632;
    margin-left: -3px;
}
#location div {
    display: inline-block;
    margin-bottom: 0 !important;
}
#adresse {
    position: relative;
    top: -4px;
}
#kontakt div {
    line-height: 30px;
}
#kontakt div:last-of-type {
    margin-top: -5px;
    margin-bottom: 20px;
}
/**
 * Benefits
 */
#benefits {
    margin: 20px 0 45px;
}
#benefits .ui.grid>* {
    padding: 2px;
}
#benefits .ui.grid {
    margin: -1rem -2px;
}
#benefits .bg-red {
    margin-bottom: 12px;
}
#benefits .bg-grey {
    text-align: center;
    padding: 20px;
}
#benefits .bg-grey img{
    width: auto;
    height: 70px;
    margin-top: 20px;
}
.benefits-title {
    font-weight: bold;
    padding-top: 20px;
    margin-bottom: 0 !important;
    hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    -webkit-hyphens: auto;
    min-height: 70px;
    line-height: 20px;
    font-family: 'Museo-Bold', Arial, sans-serif;
}

/* Weitere Stellen */
#weitere-stellen {
    margin: 30px 0;
}
.ui.grid>[class*="five wide computer"].column {
    width: calc(100%/3 - 4px)!important;
}
#more-jobs {
    position: relative;
    margin: 0;
}
#more-jobs a, .all-jobs{
    text-decoration: none;
    height: 200px;
    color: #1d1d1b;
}

#more-jobs h3{
    hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    word-break: break-word;
    font-size: 16px;
    padding:0;
    line-height: 20px;
    color: #c21632;
}

#more-jobs .colored, .all-jobs {
    margin: 10px 2px 0;
}
#more-jobs .all-jobs {
    margin-right: 0;
    padding: 20px;
}
.colored {
    background: rgba(194, 22, 50, 0.05);
}
.all-jobs {
    background: rgba(194, 22, 50, 0.1);
}
.colored:hover, .all-jobs:hover {
    background: rgba(194, 22, 50, 0.01);
    cursor: pointer;
}
.zusatz-weitere-stellen, .all-jobs {
    font-size: 14px;
    width: 70%;
    float: left;
}
.zusatz-weitere-stellen div {
    height: 17px;
}
.icon-link{
    width: 30%;
    float: right;
    text-align: right;
}
a.five.wide.computer.column.five.wide.tablet.column.sixteen.wide.mobile.column {
    padding: 20px;
}
.position {
    position: absolute;
    bottom: 20px;
    width: 85%;
}
#weitere-stellen i.medium.material-icons {
    position: absolute;
    top: 13px;
    right: -5px;
}
.all-jobs i.medium.material-icons {
    top: -3px !important;;
}


/**
 * Footer
 */
footer {
    padding: 17px 55px;
    height: 67px;
}
.apply{
    width: 50%;
    float: right;
    margin-top: 4px;
    text-align: right;
}
a.apply-btn {
    background: #fff;
    padding: 10px 30px;
    color: #c21632;
    font-family: 'Museo-Bold', Arial, sans-serif;
    font-size: 18px;
}
a.apply-btn:hover {
    color: #000;
}
footer img {
    height: 35px;
    width: 35px;
    margin-right: 20px;
}
#social-icons {
    width: 50%;
    float: left;
}
/**
 * Modals
 */
.ui.dimmer {
    z-index: 1001;
}
.ui.modal {
    top:10%;
    border-radius: 0;
    background: transparent;
}
.modal .modal-content {
    width: 100%;
    max-width: 930px;
    margin:0 auto;
    padding:0;
    position:relative
}
.modal iframe {
    width:100%;
    display:block;
    min-height: 680px;
    overflow: hidden;
}
.contact-modal iframe {
    min-height: 980px;
}
.modal-close {
    transition: color .1s ease;
    -o-box-shadow: 0 0 10px rgba(0,0,0,.5);
    -ms-box-shadow: 0 0 10px rgba(0,0,0,.5);
    box-shadow: 0 0 10px rgba(0,0,0,.5);
    background: white;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border-radius: 50%;
    border: 2px solid #fff;
    top: -10px!important;
    right: -10px!important;
    cursor: pointer;
    z-index: 8040;
    position: absolute;
    width: 36px;
    height: 36px;
}
.modal-close:hover {
    color:#fff;
}
.modal-close:before {
    font-weight: lighter;
    font-size: 32px;
    line-height: 30px;
    content: "\00d7"!important;
    transform: rotate(45deg);
    color:#B60B19;
}

@media screen and (max-width: 670px) {
    .modal iframe {
        min-height: 850px;
    }
    .contact-modal iframe {
        min-height: 1200px;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-container-wrapper {
    max-width: 100%;
    left: 0;
    right:0;
    margin:auto;
}

/**
 * Media Queries
 */
@media screen and (max-width: 899px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }
}
@media screen and (max-width: 800px) {
    .content, #logo {
        padding: 10px 20px;
    }
    .topRightImages {
        padding: 15px 15px 0;
    }
    #job-title {
        font-size: 20px;
        padding: 10px 20px;
    }
    .sticky-header {
        padding: 10px 20px
    }
    header.sticky .sticky-header h1 {
        font-size: 20px;
    }
    .ui.modal {
        width: 95%;
    }
    .ui.modal>.content{
        padding: 0 !important;
    }
    .modals.dimmer .ui.scrolling.modal {
        margin:0;
    }
    .ui.modal>.close {
        color: #fff;
    }
    #kontakt .six {
        text-align: left;
    }
    footer {
        padding: 17px 20px;
    }
    a.apply-btn {
        padding: 10px;
        font-size: 16px;
    }
    footer img {
        margin-right: 10px;
    }
    .ui.grid>[class*="five wide computer"].column {
        width: 100% !important;
    }
    .ui.grid>[class*="eight wide mobile"].column {
        width: 50% !important;
    }
    #more-jobs a, .all-jobs{
        height: 105px;
    }
    .position {
        bottom: 10px;
    }
    #weitere-stellen i.medium.material-icons {
        right: -50px;
    }
    .print {
        display: none;
    }
    #weitere-stellen i.medium.material-icons {
        display: none;
    }
}
@media screen and (max-width: 490px) {
    #logo img {
        max-width: 150px;
    }

    #more-jobs a, .all-jobs{
        height: 120px;
    }
    footer {
        height: 110px;
    }
    #social-icons, .apply {
        width: 100%;
        text-align: center;
    }
    #social-icons img {
        width: 25px;
        height: 25px;
    }
    .apply {
        margin-top: 20px;
    }

}
