@font-face {
    font-family: 'DicSans Normal';
    src: url('../fonts/DicSans-Light.eot');
    src: url('../fonts/DicSans-Light.eot?#iefix') format('embedded-opentype'),
    url('../fonts/dicsans_normal.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'DicSans Bold';
    src: url('../fonts/DicSans-Bold.eot');
    src: url('../fonts/DicSans-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/dicsans_bold.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

/* layout  */
body {
    color: #181716;
    font-weight: normal;
    font-size: 16px;
    line-height: 20px;
    margin: 0;
    width: 1px;
    width: 100%;
    font-family: 'DicSans Normal', sans-serif;
}
/**
 * Typography.
 */
h1, h2, h3 {
    font-family: 'DicSans Bold', sans-serif;
    color:#E72835;
    margin-bottom: 20px;
    margin-top: 20px;
    font-weight: bold;
    font-size:17px;
    line-height: 24px;
}

h1 {
    font-size:20px;
    line-height:22px;
}

a {
    text-decoration:none;
    color:#E72835;
    transition: color 0.3s ease;
    cursor:pointer;
}

a:hover {
    color:#626262;
}

a label {
    cursor: pointer;
}

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

b, strong {
    font-family: 'DicSans Bold', sans-serif;
    margin-bottom:10px;
}

strong {
    display: block;
}

p {
    margin:10px 0px;
}

/**
 * Layout
 */

#wrapper {
    width: 100%;
    max-width:984px;
    margin:0 auto;
    padding:20px 20px 100px 20px;
    box-sizing: border-box;
}

.content {
    margin:0px 0px 30px;
}
.multicolumn {
    display:table;
    width:100%;
    table-layout: fixed;
    margin-bottom:10px;
}
.multicolumn .multicolumn {
    margin-bottom:0px;
}
.multicolumn > * {
    display:table-cell;
    vertical-align: bottom;
    width:100%;
}

.width-75 {
    width:75%;
}

.width-50 {
    width:50%;
}

.width-66 {
    width:70%;
}

.width-33 {
    width:33.333%;
    position: relative;
}

.width-25 {
    width:25%;
}
.width-25:last-child {
    text-align: right;
}
.separator {
    width:20px;
}
.tablet {
    display:none;
}
@media screen and (max-width: 767px) {
    .submit-button {
        display: block;
    }
    .tablet {
        display: none;
    }
    .multicolumn > * {
        display:block!important;
        width:100%!important;
        clear:both;
    }
    .multicolumn .separator {
        display:none!important;
    }
    .tablet .submit-button {
        display:none;
    }
}


/**
 * 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 {
    font-family: 'DicSans Normal', sans-serif;
    padding: 15px 5px;
    font-size: 18px;
    line-height: 18px;
    width: 100%;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-top: none;
    border-bottom: solid 1px #181716;
    border-left:none;
    border-right:none;
    border-radius: 0px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-bottom:0px;
}

.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 {
    border-top: none;
    border-bottom: solid 1px #181716;
    border-left:none;
    border-right:none;
}

#search {
    position:relative;
    border-radius: 0px;
}
#search input {
    border-bottom: solid 1px #181716;
    border-left:none;
    border-right:none;
    border-top:none;
    border-radius: 0px;
    padding: 20px 0px 10px;
    cursor: pointer;
}
#search input:hover {
    border-bottom: solid 1px #E72835;
}
#search input::placeholder {
    color:#A0A4A7!important;
    transition: all 0.2s ease-out;
}
#search input::-moz-placeholder {
    color:#A0A4A7!important;
    transition: all 0.2s ease-out;
}
#search input::-ms-input-placeholder {
    color:#A0A4A7!important;
    transition: all 0.2s ease-out;
}
#search input:hover::placeholder {
    color:#E72835!important;
}
#search input:hover::-moz-placeholder {
    color:#E72835!important;
}
#search input:hover::-ms-input-placeholder {
    color:#E72835!important;
}
#search svg {
    width:30px;
    height:30px;
    position: absolute;
    top:16px;
    right:16px;
    transform: rotate(90deg);
}
#search svg path {
    fill:#A0A4A7;
    transition: all 0.2s ease-out;
}
#search input:hover + svg path {
    fill:#E72835;
}
a.reset {
    position:absolute;
    bottom:-30px;
    right:0;
    color:#A0A4A7;
    font-size:15px;
}
a.reset:hover {
    color:#626262;
}

/**
 * Multi select.
 */
.default-hide {
    display:none;
}
.ui-multiselect {
    position: relative;
    text-align: left;
    padding: 12px 0px;
    cursor: pointer;
    font-style: normal;
    font-weight: 400;
    overflow: hidden;
    border-bottom: solid 1px #181716;
    border-top:none;
    border-left:none;
    border-right:none;
    background-size: 30px 10px;
    background-color:white;
    margin-bottom:0px;
}
.ui-multiselect.ui-state-hover {
    border-bottom: solid 1px #E72835;
}
.ui-multiselect span {
    font-size:18px;
    line-height:21px;
    width: 90%;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: 'DicSans Normal', sans-serif;
    color:#181716;
    transition: all 0.2s ease-out;
}
.ui-multiselect.ui-state-hover span {
    color:#E72835;
}
.ui-multiselect span.ui-icon {
    transition: all 0.2s ease-out;
    background: url("../images/svg/icons/arrow-down.svg") no-repeat;
    background-size: cover;
    width: 20px;
    height: 20px;
    position: absolute;
    right: 0;
    padding: 0;
    transition: all 0.2s ease-out;
}
.ui-multiselect.ui-state-hover span.ui-icon {
    background: url("../images/svg/icons/arrow-down-red.svg") no-repeat;
}
.ui-multiselect.ui-state-active span.ui-icon {
    background: url("../images/svg/icons/arrow-up.svg") no-repeat;
    background-size: cover;
}
.ui-multiselect.ui-state-active.ui-state-hover span.ui-icon {
    background: url("../images/svg/icons/arrow-up-red.svg") no-repeat;
    background-size: cover;
}
.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-top: 0;
    max-width: 100%;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);
}

.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: 6px 1px;
    font-family: 'DicSans Normal', sans-serif;
}

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

.ui-multiselect-checkboxes li {
    clear: both;
    padding: 0px 0 0px 11px;
    border-bottom: 1px solid #b9bdc0;
    margin-bottom:0px;
    transition: all 0.2s ease;
}

.ui-multiselect-checkboxes li:hover {
    background: #f8f9f8;
}

.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:18px;
    line-height:24px;
    display: inline-block;
    position: relative;
    cursor: pointer;
    padding-left: 30px;
    color: #181716;
    -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: 1px solid #EA4138;
    width: 20px;
    height: 20px;
}

.ui-corner-all input[type='checkbox'] + span::after {
    -webkit-transform: scale(0);
    transform: scale(0);
    transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 22px;
    color: #E72835;
    font-size: 18px;
    content: "-";
    background: #E72835;
}

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

.ui-state-hover input[type='checkbox'] + span::after {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    color: #E72835;
}

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

.ui-corner-all input[type='checkbox']:checked + span::after {
    -webkit-transform: scale(1);
    transform: scale(1);
    color: #E72835;
}

.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;
}

/**
 * Button.
 */
.submit-button {
    text-align: right;
}
.button, a.button {
    display: block;
    font-family: 'DicSans Normal', sans-serif;
    color: #fff;
    border:none;
    vertical-align: top;
    text-align: center;
    padding: 12px 0px 10px;
    font-size: 20px;
    font-style: normal;
    position: relative;
    z-index: 0;
    outline: none;
    background: #E72835;
    transition: background 0.2s ease;
    overflow:hidden;
    cursor: pointer;
    width:100%;
}
.button[disabled],a.button[disabled] {
    opacity: .5;
    cursor: not-allowed;
}
a.jobabo-subscribe-button {
    background: #626262;
    color: #fff;
    padding: 13px 0px 12px;
}
.button:hover, a.button:hover {
    background: #A0A4A7;
    color:#fff;
}

/**
 * Jobs.
 */
#jobs {
    margin:30px auto;
    display: flex;
    flex-flow: row wrap;
    margin-left: -10px;
    margin-right: -10px;
}
.job {
    box-sizing: border-box;
    width: calc( 33.333% - 20px );
    min-height:214px;
    margin:10px;
    background-color: #fff;
    border:solid 1px #A0A4A7;
    padding:30px 20px 90px 20px;
    transition: all .15s ease-in-out;
    position:relative;
}
.job:nth-child(3n) {
    margin-right:0px;
}
.job:hover {
    background-color: #E72835;
    border-color: #E72835;
}
.job:hover h3, .job:hover p, .job:hover strong {
    color:#fff;
}
.job h3 {
    color:#181716;
    font-size:18px;
    line-height:24px;
}

.job p, .job strong {
    color:#181716;
    font-size:15px;
    margin:0px;
}
.job .footer {
    position: absolute;
    bottom:20px;
    left:20px;
    width:90%;
}
.job .pensum {
    font-size:15px;
    line-height:17px;
    margin-bottom:20px;
}
.job .location {
    font-size:15px;
    line-height:17px;
}
#no-results {
    margin:30px 10px 10px;
}
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
    #jobs {
        margin-top:20px;
    }
    .job {
        width: calc( 50% - 20px );
    }
    .job:nth-child(3n) {
        margin-right:10px;
    }
    .button, a.button {
        margin-bottom:20px;
    }
}
@media screen and (max-width: 767px) {
    .button, a.button {
        margin-bottom:20px;
    }
    #jobs {
        margin-left:0px;
        margin-right:0px;
    }
    .job {
        width: 100%;
        margin: 10px 0;
    }
    .ui-multiselect, #search input {
        margin-bottom:20px;
    }
}

/**
 * Modul Jobabo
 */
.ui.dimmer {
    background-color:rgba(0,0,0,.45)
}
.modal {
    background: #ffffff;
}
.modal.bottom-sheet {
    max-height: 75%;
}
.modal .modal-content {
    width: 100%;
    max-width: 930px;
    margin:0 auto;
    padding:0px;
    position:relative
}
.modal iframe {
    width:100%;
    display:block;
    min-height: 660px;
    overflow: hidden;
}
.modal #wrapper {
    padding:0px;
}
.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: #181716 none;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border-radius: 50%;
    border: 2px solid #fff;
    top: -10px!important;
    right: -20px!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: 28px;
    line-height: 30px;
    content: "\00d7"!important;
}

@media screen and (max-width: 767px) {
    .ui.modal {
        max-height: 100%;
        height: 100%;
        z-index: 2;
    }
    .ui.modal iframe {
        max-height: 100%;
        height: 100%;
    }
}

/**
 * Media Queries
 */
@media screen and (max-width: 420px) {
    #wrapper {
        padding:20px;
    }
    .button, a.button {
        width:100%;
        text-align: center;
        margin:20px 0px;
    }
    #search svg {
        right:0px;
    }
    #jobabo-subscribe-button-header {
        margin-bottom:20px;
    }
    .width-25:last-child {
        text-align: left;
    }
    .jobabo {
        overflow: hidden;
    }
    .ui-multiselect {
        margin-bottom:20px;
    }
}

