/* Fonts */
@font-face {
    font-family: 'Akkurat-Regular';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/akkrg.eot');
    src: url('../fonts/akkrg.eot?#iefix') format('embedded-opentype'),
    url('../fonts/akkrg.woff') format('woff'),
    url('../fonts/akkrg.ttf') format('truetype');
}

@font-face {
    font-family: 'Akkurat-Light';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/akklg.eot');
    src: url('../fonts/akklg.eot?#iefix') format('embedded-opentype'),
    url('../fonts/akklg.woff') format('woff'),
    url('../fonts/akklg.ttf') format('truetype');
}

@font-face {
    font-family: 'Akkurat-Bold';
    font-weight: normal;
    font-style: normal;
    src: url('../fonts/akkbd.eot');
    src: url('../fonts/akkbd.eot?#iefix') format('embedded-opentype'),
    url('../fonts/akkbd.woff') format('woff'),
    url('../fonts/akkbd.ttf') format('truetype');
}

/* needed for iframeResizer. do not remove! */
html, body {
    height:auto;
}

/* layout  */
body {
    font-family: 'Akkurat-Regular', Arial, sans-serif;
    font-weight:normal;
    color: #202020;
    font-size: 16px;
    line-height: 22px;
    margin:0;
    box-sizing: border-box;
    width: 1px;
    width: 100%;
}
/**
 * Typography.
 */
h1 {
    font-family: 'Akkurat-Light', Arial, sans-serif;
    font-size: 44px;
    line-height: 52px;
    margin-bottom:25px;
}

h2 {
    font-family: 'Akkurat-Regular', Arial, sans-serif;
    font-size:28px;
    line-height: 36px;
    margin-top:0px;
    margin-bottom: 10px;
}

h3 {
    font-family: 'Akkurat-Light', Arial, sans-serif;
    font-size:28px;
    line-height: 36px;
    margin-top:0px;
    margin-bottom:20px;
}

h4 {
    font-family: 'Akkurat-Light', Arial, sans-serif;
    font-size:24px;
    line-height: 32px;
    margin-top:0px;
    margin-bottom:22px;
}

em {
    display: block;
    font-family: 'Akkurat-Light', Arial, sans-serif;
    font-size:22px;
    line-height: 30px;
    font-style: normal;
    margin-bottom:15px;
}

a {
    color: #9A0941;
    text-decoration: none;
    transition: color .15s ease-in-out;
}

a:hover {
    color: rgb(173, 11, 73);
    cursor: pointer!important;
}

ul {
    padding-left:0px;
    margin:0;
}
li {
    list-style-type:none;
    margin-bottom:15px;
}

b, strong {
    font-family: 'Akkurat-Bold', Arial, sans-serif;
    margin-bottom:10px;
    font-size: 14px;
    line-height: 20px;
}

p {
    margin:15px 0px 0px;
    line-height: 24px;
}

/**
 * Layout
 */

#wrapper {
    width: 100%;
    max-width:1200px;
    margin:0 auto;
    padding: 0px;
}
section {
    box-sizing: border-box;
    width:100%;
    max-width:1024px;
    margin:64px auto;
}
#wrapper section:first-of-type {
    margin-top:0px;
}
.teaser {
    padding-bottom:5px;
}
.multicolumn {
    display:table;
    width:100%;
    table-layout: fixed;
}
.multicolumn > * {
    display:table-cell;
    vertical-align: top;
    width:100%;
}
.width-80 {
    width:80%;
}
.width-75 {
    width:75%;
}
.width-50 {
    width:50%;
}
.width-66 {
    width:66.666%;
}
.width-33 {
    width:33.333%;
}
.width-25 {
    width:25%;
}
.separator {
    width:16px;
}


/**
 * Form.
 */
.form input:not([type]),
.form input[type=date],
.form input[type=datetime-local],
.form input[type=email],
.form input[type=file],
.form input[type=number],
.form input[type=password],
.form input[type=search],
.form input[type=tel],
.form input[type=text],
.form input[type=time],
.form input[type=url],
.form textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: 'Akkurat-Regular', Arial, sans-serif;
    padding: 25px;
    font-size: 16px;
    line-height: 20px;
    width: 100%;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    box-shadow: inset 0 0 0 1px #E0E0E0;
    border: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom:60px;
}

.form input:not([type]):focus,
.form input[type=date]:focus,
.form input[type=datetime-local]:focus,
.form input[type=email]:focus,
.form input[type=file]:focus,
.form input[type=number]:focus,
.form input[type=password]:focus,
.form input[type=search]:focus,
.form input[type=tel]:focus,
.form input[type=text]:focus,
.form input[type=time]:focus,
.form input[type=url]:focus,
.form textarea:focus,
#search input:focus {
    box-shadow: rgb(32, 32, 32) 0px 0px 0px 2px inset!important;
    border-radius: 2px;
}

*:focus {
    outline: none;
}

#search {
    position:relative;
    height:130px;
}

#search input {
    border: 1px solid #E0E0E0;
    background: transparent;
    box-shadow: rgba(0, 0, 0, 0.16) 1px 8px 15px -12px;
    transition: box-shadow 0.15s ease-in-out;
    cursor: pointer;
    position: absolute;
}

#search input:hover {
    box-shadow: rgba(0, 0, 0, 0.3) 1px 8px 15px -12px;
}

#search svg {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 25px;
    right: 25px;
}

.filter {
    position:relative;
}

.label-legend {
    position: absolute;
    top: 2.5rem;
    left: 20px;
    transform: translateY(-50%);
    margin-bottom: 0;
    padding: 0px 4px;
    transition: all 0.15s ease-in-out;
    -webkit-transition: all 0.15s ease-in-out;
    -moz-transition: all 0.15s ease-in-out;
    -ms-transition: all 0.15s ease-in-out;
    -o-transition: all 0.15s ease-in-out;
    font-size: 16px;
    color: #707070 !important;
}
.active .label-legend {
    background: #fff;
    transform: translateY(-3.2rem);
    z-index: 1;
    font-size: 14px!important;
}
.filter label {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 3.8rem;
    left: 15px;
    transform: translateY(-50%);
    -webkit-transform: translateY(-50%);;
    -moz-transform: translateY(-50%);;
    -ms-transform: translateY(-50%);;
    -o-transform: translateY(-50%);;
    margin-bottom: 0;
    padding: 4px;
    transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -ms-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    font-size: 16px;
    background: #fff;
    transform: translateY(-2.8rem);
    z-index: 1000;
    color: #707070 !important;
}

.filter.active label {
    visibility: visible;
    opacity: 1;
    top: 1.8rem;
}

/**
 * Multi select.
 */
.default-hide {
    display:none;
}
.ui-multiselect {
    position: relative;
    text-align: left;
    cursor: pointer;
    font-style: normal;
    overflow: hidden;
    border: solid 1px #707070;
    background-color:white;
    margin-bottom:30px;
    border-radius: 2px;
}

.ui-multiselect span {
    font-size: 16px;
    line-height: 20px;
    padding: 17px 0px 17px 16px;
    width: 90%;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'Akkurat-Regular', Arial, sans-serif;
    color:#707070;
}

.ui-multiselect span.ui-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    margin-top: -12px;
    width: 24px;
    height: 24px;
    content: '';
    background: url(../images/svg/icons/chevron-down.svg) no-repeat;
    transition: all 0.15s ease-in-out;

}
.ui-multiselect.ui-state-active span.ui-icon {
    background: url("../images/svg/icons/chevron-up.svg") no-repeat;
}
.ui-multiselect:focus,
.ui-multiselect:hover {
    outline: 0;
}
.ui-state-active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.ui-multiselect-single .ui-multiselect-checkboxes input {
    position: absolute;
    top: auto;
    left: -9999px;
}

.ui-multiselect-single .ui-multiselect-checkboxes label {
    padding: 5px;
}

.ui-multiselect-header {
    margin-bottom: 3px;
    padding: 0 0 0 4px;
}

.ui-multiselect-header ul {
    font-size: 1em;
}

.ui-multiselect-header ul li {
    float: left;
    padding: 0 10px 0 0;
    display: none;
}

.ui-multiselect-header a {
    text-decoration: none;
}

.ui-multiselect-header a:hover {
    text-decoration: underline;
}

.ui-multiselect-header li.ui-multiselect-close {
    float: right;
    text-align: right;
    padding-right: 0;
    display: block;
}

.ui-multiselect-menu {
    display: none;
    position: absolute;
    z-index: 10000;
    text-align: left;
    background: #fff;
    border:solid 1px #E0E0E0;
    max-width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: rgba(0, 0, 0, 0.16) 1px 16px 21px -12px;
}

.ui-multiselect-checkboxes {
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
    height: inherit !important;
    max-height: 400px !important;
}

.ui-multiselect-checkboxes label {
    cursor: pointer;
    display: block;
    border: 1px solid transparent;
    padding: 5px 0px 10px;
    font-family: 'Akkurat-Regular', Arial, sans-serif;
}

.ui-multiselect-checkboxes label input {
    display: none;
}

.ui-multiselect-checkboxes li {
    clear: both;
    padding: 7px 0 4px 16px;
    margin-bottom:0px;
    transition: all 0.15s ease-in-out;
}
.ui-multiselect-checkboxes li:hover {
    background: #F2F2F2;
    cursor: pointer;
}
.ui-multiselect-checkboxes li:last-child {
    border-bottom: 0;
}

.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label {
    text-align: center;
    font-weight: bold;
}

.ui-multiselect-checkboxes li.ui-multiselect-optgroup-label a {
    display: block;
    padding: 3px;
    margin: 1px 0;
    text-decoration: none;
}

.ui-widget-header.ui-corner-all.ui-multiselect-header.ui-helper-clearfix {
    display: none;
}

.ui-corner-all input[type='checkbox']:not(:checked),
.ui-corner-all input[type='checkbox']:checked {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.ui-corner-all input[type='checkbox'] + span {
    font-size:16px;
    line-height:22px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding-left: 30px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.ui-corner-all input[type='checkbox'] + span::before,
.ui-corner-all input[type='checkbox'] + span::after {
    position: absolute;
    top: 1px;
    left: 0;
    z-index: 0;
    content: '';
}

.ui-corner-all input[type='checkbox'] + span::before {
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #707070;
    width: 22px;
    height: 22px;
    border-radius: 4px;
}

.ui-corner-all input[type='checkbox'] + span::after {
    opacity: 0;
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    width: 14px;
    height: 14px;
    top: 5px;
    left: 4px;
    text-align: center;
    line-height: 22px;
    color: #707070;
    content: "";
    background: url(../images/svg/icons/tick.svg) no-repeat;
}

.ui-corner-all input[type='checkbox']:hover + span::before {
    border: 2px solid #202020;
}

.ui-corner-all input[type='checkbox']:checked + span::before {
    border: 2px solid #202020;
}

.ui-corner-all input[type='checkbox']:checked + span::after {
    opacity:1;
    color: #202020;
}

.ui-corner-all input[type='checkbox']:disabled + span,
.ui-corner-all input[type='checkbox']:disabled + span + p {
    opacity: .4;
    pointer-events: none;
}

/**
 * Parsley
 */
.parsley-error {
    border: 1px solid #be505a !important;
}

label.parsley-error {
    border: 0 !important;
    color: #be505a;
}

.parsley-errors-list {
    color: #be505a;
    list-style: none;
    padding: 0;
    font-size: 14px;
    margin: 5px 0 10px 0;
}
#selected-filters {
    overflow: auto;
}
#selected-filters strong {
    display: block;
    padding-bottom:10px;
    border-bottom:solid 1px #E0E0E0;
}
#selected-filters label {
    font-family: 'Akkurat-Light', Arial, sans-serif;
    color: #202020;
    padding: 14px 20px 14px 16px;
    float: left;
    width: auto;
    margin-right: 16px;
    margin-bottom: 16px;
    background: none;
    border: solid 1px #949494;
    border-radius: 2px;
}
#selected-filters label:hover {
    color:#202020;
    border-color: #202020;
}
#selected-filters label i {
    padding-left:10px;
}
i.icon.remove:before {
    content: "\00d7";
    font-family: 'Akkurat-Regular', Arial, sans-serif;
    font-size: 17px;
    color:#202020;
}

/**
 * Button.
 */
.buttons {
    margin-top:20px;
    padding-top:38px;
    overflow: auto;
}
.buttons .button {
    float:left;
    margin-right:16px;
    padding: 16px 32px;
}
.submit-button {
    text-align: right;
}
.button, #btn-back, #btn-forward {
    font-family: 'Akkurat-Bold', Arial, sans-serif;
    border-radius: 2px;
    border: none;
    box-shadow: inset 0 0 0 2px #9A0941;
    display: inline-block;
    padding: 20px 30px;
    float: left;
    transition: all 0.15s ease-in-out;
    font-size: 16px;
    line-height: 16px;
    margin-right: 16px;
    background-color: #9A0941;
    color: #F2F2F2;
    cursor: pointer;
}
#btn-back, #btn-forward {
    float:none;
    margin-right:0px;
    padding:12px 16px;
}
.button[disabled],a.button[disabled], a.button.disabled, #btn-back.disableClick, #btn-forward.disableClick {
    background-color: rgb(224, 224, 224);
    box-shadow: inset 0 0 0 2px rgb(224, 224, 224);
    color: rgb(166, 166, 166);
    opacity: 1;
    cursor: not-allowed;
    pointer-events: none;
}
a.button.disabled, #btn-back.disableClick, #btn-forward.disableClick {
    background: #fff;
}
.button:hover, a.button:hover {
    box-shadow: inset 0 0 0 2px rgb(187, 12, 80);
    color: #fff;
    background-color: rgb(187, 12, 80);
}
.button.secondary, #btn-back, #btn-forward {
    background: #fff;
    color:#9A0941;
    text-align:center;
}
.button.secondary:hover, #btn-back:hover, #btn-forward:hover {
    background: #fff;
    color:#9A0941;
    box-shadow: inset 0 0 0 4px #9A0941;
}
.jobabo h3 {
    float:left;
}
.jobabo p {
    font-size:20px;
    line-height:24px
}

/**
 * Jobs.
 */
#jobs {
    border-bottom:solid 1px #E0E0E0;
    margin:64px 0px 32px;
}
#jobs > strong {
    display: block;
    margin-bottom: 10px;
    font-size:14px;
}
.job {
    box-sizing: border-box;
    border-top:solid 1px #E0E0E0;
    position:relative;
    color:#202020;
}
.job a {
    display: table;
    width:100%;
    padding:20px 0px 20px 0px;
    color:#202020;
    background: url(../images/svg/icons/chevron-right.svg) no-repeat;
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: 98% 50%;
    -webkit-transition: 0.25s all ease-in-out;
    -moz-transition: 0.25s all ease-in-out;
    -ms-transition: 0.25s all ease-in-out;
    -o-transition: 0.25s all ease-in-out;
    transition: 0.25s all ease-in-out;
}
.job a:hover {
    color:#202020;
    background-position: 98.5% 50% ;
}
.job h4 {
    display: table-cell;
    width: 45.5%;
    padding-right:32px;
}
.job p {
    display:table-cell;
    width:20%;
    font-size:12px;
    line-height: 14px;
    text-transform: uppercase;
}
#no-results {
    margin-bottom:20px;
}
#jobs + .button {
    float:none;
    background: #fff;
    color: #9A0941;
}
#jobs + .button:hover {
    background: #fff;
    color:#9A0941;
    box-shadow: inset 0 0 0 4px #9A0941;
}

/**
 * Features
 */
.teaser .width-33 {
    vertical-align: top;
    background:white;
    transition: box-shadow 0.15s ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.16) 1px 16px 21px -12px;
    border:solid 1px #E0E0E0;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
}
.teaser .width-33:last-child {
    background: transparent;
    box-shadow: none;
    border:none;
}
.card {
    display:block;
}
.teaser .width-33:hover {
    box-shadow: rgba(0, 0, 0, 0.3) 1px 16px 21px -12px;
}
.teaser .width-33:last-child:hover {
    box-shadow: none;
}
.card img {
    width:100%;
    height:auto;
    display: block;
}
.card .data {
    padding:25px;
    box-sizing: border-box;
    background: #fff;
}
.card .data strong {
    display: block;
    font-family: Akkurat-Bold, Arial, sans-serif;
    margin-bottom:15px;
    font-size:16px;
}
.card .data em {
    color:#202020;
    margin-bottom:0px;
}
/**
 * Modul Jobabo
 */
.ui.page.dimmer {
    background: rgba(0, 0, 0, .6);
}
.ui.modal {
    border-radius: 0px;
    background: transparent;
}
.modal .modal-content {
    background: white;
    width: 100%;
    max-width: 990px;
    margin:0 auto;
    padding:0px;
    position:relative;
}
.modal iframe {
    width:100%;
    display:block;
    min-height: 900px;
    overflow: hidden;
    border-radius: 2px;
}
.modal-close {
    transition: color .1s ease;
    background: rgb(242, 242, 242);
    text-align: center;
    text-decoration: none;
    border-radius: 50%;
    border: 2px solid #fff;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 8040;
    position: absolute;
    width: 48px;
    height: 48px;
}
.modal-close:before {
    font-family: 'Akkurat-Light', Arial, sans-serif;
    font-weight: lighter;
    font-size: 28px;
    line-height: 40px;
    content: "\00d7"!important;
    color: #202020;
}

/* paging */

#btn-page {
    color: #707070;
    margin: 0 0 0 32px;
    font-weight: bold;
}
#btn-page:hover {
    color: #212529;
}

#btn-forward {
    margin-left:32px;
}

.page.paging.active {
    border-radius: 50%;
    padding: 2px 8px;
    background-color: #707070;
    color: white !important;
}

.back.disableClick, .forward.disableClick {
    pointer-events: none;
}

.last.disableClick {
    pointer-events: none;
}

/**
 * Media Queries
 */
@media screen and (max-width: 1024px) {
    .buttons .width-33 {
        width:66.666%;
    }
    .buttons .width-66 {
        width:33.333%;
    }
    .bg .width-33 {
        width:50%;
        vertical-align: top;
    }
    .bg .width-33:last-child, .bg .separator.isLast {
        display: none;
    }
    .card .data {
        min-height: 218px;
    }
}
@media screen and (max-width: 667px) {
    .desktop {
        display: none;
    }
    section {
        margin:0px;
    }
    .teaser {
        margin-top:24px;
    }
    h2 {
        font-family: 'Akkurat-Light', Arial, sans-serif;
        font-size: 24px;
        line-height: 32px;
        margin:48px 0 32px!important;
    }
    .multicolumn > * {
        display: block;
        width: 100%;
    }
    .separator {
        display: none;
    }
    .submit, .bg .width-33 {
        margin-bottom: 24px;
    }
    .job h4, .job p {
        width:100%;
        display: block;
    }
    .job h4 {
        margin-bottom:0px;
        font-size:16px;
        line-height:22px;
    }
    .card .data em {
        font-size:16px;
        line-height:22px;
    }
    .job p {
        margin-top:10px;
    }
    .bg {
        margin-top: 64px;
        padding: 48px 24px 16px;
    }
    .bg section {
        margin:0px;
    }
    .ui.modal {
        width:100%;
        margin-top: 0px!important;
    }
    .modal .modal-content {
        -webkit-overflow-scrolling: touch;
        overflow-y: scroll;
    }
    .modal iframe {
        min-height:1550px!important;
        height:1550px!important;
        width: 100%;
    }
    .form input:not([type]), .form input[type=date], .form input[type=datetime-local], .form input[type=email], .form input[type=file], .form input[type=number], .form input[type=password], .form input[type=search], .form input[type=tel], .form input[type=text], .form input[type=time], .form input[type=url], .form textarea {
        margin-bottom: 48px;
    }
    .ui-multiselect {
        margin-bottom: 32px;
    }
    .buttons {
        margin-top: 0;
        padding-top: 0;
    }
    #jobs > strong {
        font-family: 'Akkurat-Regular', Arial, sans-serif;
    }
    .job a {
        padding: 20px 32px 20px 0px;
    }
    .job:after {
        right:6px;
        top: 37px;
    }
    .button, a.button {
        width:100%;
        text-align: center;
    }
    .buttons .width-33 {
        width:100%;
    }
    .buttons .width-66 {
        width:100%;
    }
    .bg .width-33 {
        width:100%;
        vertical-align: top;
    }
    .bg .width-33:last-child, .bg .separator.isLast {
        display: none;
    }
    .card .data {
        height: auto;
        min-height: auto;
    }
    #btn-back, #btn-forward {
        text-align: center;
        margin: 20px 0px;
        padding:12px 9px;
    }
    #btn-forward {
        float:right;
    }
}
