/*
Theme Name: Bewerberfunnel
Theme URI: https://2-code.de/
Author: secret
Description: Bewerberfunnel Theme
Version: 1.0
*/
:root {
    --main-color: #0079c2;
    --main-bg-color: #989898;
    --main-font-color: white;
    --secondary-font-color: #253746;
    --main-bg-content: #FFF;
}

@font-face {
    font-display: swap;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 300;
    src: url('assets/fonts/barlow/BarlowSemiCondensed-Light.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Barlow Regular';
    font-style: normal;
    font-weight: 400;
    src:url('assets/fonts/barlow/BarlowSemiCondensed-Regular.ttf') format('truetype');
}


@font-face {
    font-display: swap;
    font-family: 'Barlow Semi';
    font-style: normal;
    font-weight: 500;
    src: url('assets/fonts/barlow/BarlowSemiCondensed-SemiBold.ttf') format('truetype');
       
}

@font-face {
    font-display: swap;
    font-family: 'Lacquer';
    font-style: normal;
    font-weight: 400;
    src: url('assets/fonts/Lacquer/Lacquer-Regular.ttf') format('truetype');
}



html,
body {
    background-color: #E0E0E0;
    /* font-family: "Alegreya Sans"; */
    font: normal normal normal 18px / 28px 'Barlow Regular';
     font-weight: 400; 
    /* font-size: 18px; */
    /* line-height: 28px; */
    height: 100%;
    accent-color: var(--main-color);
    letter-spacing: 0.86px;
}

body {
    display: flex;
    flex-direction: column;
}

a,
a:hover {
    color: #848490;
    text-decoration: none;
}

.wp-block-quote {
    display: inline-block;
    width: 100%;
    margin-bottom: 0;
}

.wp-element h1,
.wp-element p,
.wp-block-quote p {
    margin-bottom: 0;
    padding-bottom: 22px;
}

.wp-element .container p {
    padding-bottom: 16px !important;
}

.maincontent {
    flex: 1;
    float: left;
    height: fit-content;
    position: relative;
    width: 100%;
    background: rgb(0,121,194);
    background: linear-gradient(90deg, rgba(0,121,194,1) 0%, rgba(0,121,194,1) 50%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 100%);
}

.maincontent .container>.wp-element {
    background: white;
    display: block;
    position: relative;
    float: none;
}

h1.wp-block-heading {
    margin-bottom: 0 !important;
    padding-bottom: 20px !important;
}

h2.wp-block-heading {
    /* font-family: 'Alegreya Sans'; */
    /* font-weight: normal; */
    font: normal normal normal 25px / 30px 'Barlow';
    font: weight 500px;
}

.wp-block-heading {
    margin-bottom: 0 !important;
    padding: 16px 0 !important;
    /* float: left; */
    width: 100%;
}

.wp-block-heading:not(.wp-block-heading:first-of-type){
    padding-top: 16px !important;
}

.wp-block-button a {
    background-color: var(--main-color);
    color: #FFF;
    text-decoration: none;
    padding: 10px 60px 10px 15px;
    font-family: 'Barlow';
    font-weight: 500;
    width: auto;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    border-radius: 0;
    position: relative;
}

.maincontent .wp-element:first-child .container {
    padding-top: 20px;
}

.wp-element ul li {
    margin-bottom: 0 !important;
}

.wp-element ul li::marker {
    font-size: unset !important;
    color: initial !important;
}

.wp-block-button a:hover {
    background-color: var(--main-bg-color);
    color: var(--main-font-color);
}

.wp-block-button a::after {
    content: url('assets/img/arrow-right.webp');
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translate(0, -50%);
}

.wp-block-buttons {
    margin-top: 120px;
}

/* thankyou template */
.page-template-template-thankyou {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-template-template-thankyou .maincontent {
    flex: 1;
}

.page-template-template-thankyou .maincontent>.container {
    padding-top: 130px;
    padding-bottom: 130px;
    height: 100%;
}

.page-template-template-thankyou h1 {
    margin-bottom: 110px;
}

.page-template-template-thankyou .info-box p {
    margin: 0 !important;
}

header {
    /* border-bottom: 3px solid var(--main-color); */
    box-shadow: 0px 0px 4px #00000073;
    background-color: var(--main-bg-content);
    padding: 14px 0;

    position: fixed;
    z-index: 9;
    width: 100%;
}

header .container {
    padding: 0;
}

header .logolink {
    max-width: 100%;
    width: 280px;
    display: block;
}

h1 {
    color: var(--main-color);
    margin-bottom: 20px;
    font: normal normal 500 42px / 1.2 'Barlow Semi';
    letter-spacing: 2.28px;
    /* font-size: 38px; */
    /* font-family: 'Alegreya Sans'; */
    /* line-height: 50px; */
}

h2 {
    color: var(--main-color);
    font: normal normal 500 30px / 40px 'Barlow Semi';
    /* font-family: 'Alegreya Sans';
    font-size: 30px;
    font-weight: 500;
    line-height: 40px; */
    margin-bottom: 0;
    padding-bottom: 17px;
    letter-spacing: 1.68px;
}

h3 {
    color: var(--main-color);
    font: normal normal 500 20px / 20px 'Barlow Semi';
    /* font-family: 'Alegreya Sans';
    font-size: 30px;
    font-weight: 500;
    line-height: 40px; */
    margin-bottom: 0;
    padding-bottom: 17px;
    letter-spacing: 1.68px;
}

section.wp-element h2 {
    padding-bottom: 0;
    font-family:'Barlow Semi';
}

h3 em {
    font-family: 'Barlow';
    font-weight: 400;
    font-style: italic;
}

p {
    margin-bottom: 22px;
    letter-spacing: 0.86px;
    line-height:1.4;

}

p strong {
    font-family: 'Barlow Semi';
    font-weight: 400;
}

img {
    max-width: 100%;
}

.container.nobg {
    background-color: transparent !important;
}

.maincontent .container {
    background-color: var(--main-bg-content);
    padding-left: 40px;
    padding-right: 40px;
}

section {
    float: left;
    width: 100%;
    height: fit-content;
}

.page-id-495 .maincontent {
    display: flex;
    flex-direction: column;
}

.page-id-495 .maincontent .wp-element:last-child {
    flex: 1 1 auto;
    display: flex;
}

footer {
    /* border-top: var(--main-color) 3px solid; */
    background-color: var(--main-bg-color);
    padding-top: 25px;
    font-size: 15px;
    color: var(--main-font-color);

    height: fit-content;
    float: left;
    width: 100%;
}

footer h3 {
    font-size: 26px;
    font-family: 'Barlow';
    font-weight: 500;
    font-style: italic;
}

footer h3 em {
    color: var(--main-font-color);
    font-weight: 500;
}

footer .topfooter {
    margin-bottom: 33px;
}

footer .menu {
    margin-bottom: 13px;
}

footer .row>div {
    padding-left: 0;
    padding-right: 0;
}

footer .menu {
    padding-left: 0;
}

footer .menu li {
    display: inline-block;
}

footer .menu li:not(:last-child):after {
    content: '|';
    color: var(--main-color);
    margin-left: 6px;
    margin-right: 2px;
    position: relative;
    bottom: 2px;
}

footer .menu li a {
    color: var(--main-font-color);
    font-size: 15px;
    text-decoration: none;
}

.text-right {
    text-align: right;
}

/**** modules ****/
/* headerimage */
section.headerimage {
    position: relative;
}

section.headerimage h1 {
    font-family: 'Lacquer';
    /* font-weight: 500; */
    margin-bottom: 10px;
    color:var(--main-color)
}

.headerimage>img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.toptitle {
    font-family: 'Barlow';
    font-weight: 500;
    line-height: 25px;
    font-size: 22px;
    margin-bottom: 5px;
}

.text-over-image {
    position: absolute;
    width: 100%;
    bottom: 110px;
    left: -15px;
}

.text-over-image .container {
    padding-left: 15px;
    padding-right: 15px;
}

.coloredbox {
    background-color: rgb(255, 255, 255, 0.89);
    padding: 45px 65px;
    max-width: 666px;
    box-shadow: 0px 3px 6px #70707080;
}

.coloredbox h1 {
    margin-bottom: 10px;
}

.coloredbox p:not(:last-child) {
    margin-bottom: 15px;
}

.coloredbox .buttonlinktop {
    position: absolute;
    bottom: -21px;
    background-color: var(--main-color);
    color: #FFF;
    text-decoration: none;
    padding: 10px 60px 10px 15px;
    font-family: 'Barlow';
    font-weight: 500;
    width: auto;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    letter-spacing: 0.86px;
}

.coloredbox .buttonlinktop:after {
    content: url('assets/img/arrow-right.webp');
    position: absolute;
    right: 15px;
    top: 11px;
}

.coloredbox .buttonlinktop:hover,
section.bottom-banner .buttonlink:hover {
    /* background-color: var(--main-bg-color); */
    box-shadow: inset 400px 0 0 0 var(--main-bg-color);
    color: var(--main-font-color);
}

.coloredbox .buttonlinktop:hover:after,
section.bottom-banner .buttonlink:hover:after {
    content: url('assets/img/arrow-right.webp');
}

/* jobcontent */
.maincontent ul {
    margin: 0;
    padding-left: 18px;
    /* list-style: none; */
}

.maincontent ul li {
    margin-bottom: 17px;
}

.maincontent ul li::marker {
    color: var(--main-color);
    font-size: 14px;
}

.maincontent ul li:last-of-type {
    margin-bottom: 0;
}

.maincontent ul li::before {
    /* content: "•";
      color: #A22542;
      padding-right: 10px; */
}

section.application-flow .container {
    padding-top: 107px;
    padding-bottom: 80px;
}

/* section.application-flow  .row{
      --bs-gutter-x: 136px;
  } */
section.application-flow .title {
    font-family: 'Barlow';
    font-size: 20px;
    line-height: 25px;
    margin-bottom: 50px;
}

section.application-flow .title p:first-child {
    font-family: 'Barlow';
    font-weight: 500;
    /* font-size: 20px;
    line-height: 25px;
    margin-bottom: 50px; */
    color: var(--secondary-font-color);
}

section.application-flow .title p:not(:first-child) {
    font-weight: 400;
    margin-bottom: 0;
    /* color: var(--bs-body-color); */
}

section.application-flow img.arrow {
    width: 28px;
    padding: 0;
}

section.application-flow .icontext img {
    height: 50px;
    width: auto;
    /* filter: invert(13%) sepia(69%) saturate(7498%) hue-rotate(336deg) brightness(78%) contrast(106%); */
}

section.application-flow .icons {
    flex-direction: row;
    justify-content: space-between;
}

section.application-flow .icontext {
    display: flex;
    flex-direction: column;
    justify-content: unset;
    align-items: center;
    gap: 20px;
    position: relative;
    text-align: center;
    width: fit-content;
    letter-spacing: 0.86px;
}

section.application-flow .container .buttonlink {
    margin-top: 60px;
}

section.bottom-banner>.container {
    padding: 0;
    position: relative;
}

section.bottom-banner .text-over-image {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
}

section.bottom-banner .text-over-image * {
    color: white;
}

section.bottom-banner .buttonlink,
section.application-flow .buttonlink {
    width: fit-content;
    padding: 10px 60px 10px 15px;
    margin: 0 auto;
}

section.bottom-banner .buttonlink {
    background: transparent;
    border: 1px solid white;
}

section.bottom-banner .text-over-image .container {
    background: transparent;
    padding: 0;
}

section.bottom-banner img {
    min-height: 350px;
    object-fit: cover;
}

body.single-jobs h2 {
    padding-bottom: 27px;
}

body.single-jobs .border-box {
    height: 100%;
    border: 1px solid #0079c2;
    padding: 30px 40px;
    padding-bottom: 35px;
    /* box-shadow: 0px 3px 6px #70707080; */

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.single-jobs section.application,
body.single-jobs section.application .container {
    height: 100%;
}

body.single-jobs section.headerimage h1 {
    font-family: 'Barlow Semi';
    font-weight: 400;
    word-break: break-word;
}

body.single-jobs section.headerimage h1 span.add {
    font-family: 'Barlow' !important;
    font-weight: 500;
}

body.single-jobs .bg-wrapper .text-wrapper {
    background: #E6E6E6;
    padding: 30px 40px;
    padding-bottom: 47px;
}

.row.two-boxes {
    /* --bs-gutter-x: 34px; */
    /* --bs-gutter-y: 34px; */

    padding-top: 35px;
}

.row.two-boxes img {
    width: 100%;
    height: auto;
}

section.jobcontent .container {
    padding-top: 57px;
    padding-bottom: 62px;
}

section.text .container p {
    padding-bottom: 0;
}

/* Text with teaser */
section.text-with-teaser .container {
    padding-top: 57px;
    padding-bottom: 32px;
}

section.text-with-teaser .col-lg-8 :last-child {
    /* margin-bottom: 0; */
}

.buttonlink {
    font-family: 'Barlow';
    font-weight: 500;
    padding: 10px 15px;
    background-color: var(--main-color);
    color: #FFF;
    display: block;
    width: 100%;
    margin-bottom: 15px;
    position: relative;
    text-decoration: none;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
    letter-spacing: 0.86px;
}

.buttonlink p {
    margin-bottom: 0;
    max-width: 90%;
}

.buttonlink:after {
    content: url('assets/img/arrow-right.webp');
    position: absolute;
    right: 15px;
    top: 12px;
}

.buttonlink:hover:after {
    content: url('assets/img/arrow-right.webp');
}

.buttonlink:hover {
    /* background-color: var(--main-bg-color); */
    color: var(--main-font-color);
    box-shadow: inset 550px 0 0 0 var(--main-bg-color);
}

.buttonlink.grey {
    background-color: var(--main-bg-color);
    color: var(--main-font-color);
}

.buttonlink.grey:after {
    content: url('assets/img/arrow-right.webp');
}

.buttonlink.grey:hover {
    /* background-color: var(--main-color); */
    box-shadow: inset 400px 0 0 0 var(--main-color);
    color: #FFF;
}

.buttonlink.grey:hover:after {
    content: url('assets/img/arrow-right.webp');
}

section.application fieldset.savedata-fieldset {
    display: flex;
    align-items: center;
    margin-top: 25px;
}

section.application input#savedata {
    margin: 0;
    margin-right: 10px;
    margin-bottom: auto;
}

section.application fieldset.savedata-fieldset label {
    font-family: 'Barlow';
    font-weight: 300;
    font-size: 15px;
    color: #707070;
}

section.application p.disclaimer {
    color: #707070;
    font-size: 12px;
    line-height: 18px;
}

/* benefits */
.benefits .container {
    padding-bottom: 60px;
}

.benefits .title {
    /* font-family: 'Alegreya Sans'; */
    /* font-weight: 500; */
    /* font-size: 19px; */
    margin-bottom: 10px;

    font: normal normal 400 20px / 21px 'Barlow Semi';
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--main-color);
}

.benefits img {
    height: auto;
    width: 100%;
}

.bg-box {
    background-color: #E9EBEC;
    padding: 41px 30px 10px;
}

.bg-box .row .row {
    --bs-gutter-x: 20px;
    --bs-gutter-y: 10px;
}

.benefits .benefitwrap {
    margin-bottom: 30px;
}

.benefits .benefitwrap p {
    margin-bottom: 0;
}

.benefits h2 {
    padding-bottom: 32px;
    font-family: 'Barlow Semi';
    color:var(--secondary-font-color);
    /* font-size: 24px; */
    /* line-height: 25px; */
}


/* all jobs */
.alljobs .container {
    position: relative;
}

.alljobs>.container {
    padding-bottom: 45px;
}

.alljobs h2 {
    padding: 0 !important;
    font-family:'Barlow Semi';
}

.alljobs .row:first-child {
    margin-bottom: 40px;
}

.alljobswrapper.row {
    --bs-gutter-x: 35px;
    --bs-gutter-y: 35px;
}

.jobbox {
    margin-bottom: 35px;
}

.jobbox a {
    text-decoration: none;
    color: var(--main-font-color);
}

.jobbox .innerwrapper {
    background-color: #e2e2e1;
    /* padding: 15px 15px 25px; */
    padding: 3px 20px;
    position: relative;
}

.jobbox .innerwrapper h3 {
    color: var(--main-color);
    word-break: break-word;
    letter-spacing: 1.68px;
    font-family:'Barlow Semi';
}

.jobbox img {
    width: 100%;
    height: auto;
    /* height: 240px; */
    object-fit: cover;
    aspect-ratio: 3/2;
}

.jobbox svg {
    fill: #25374673;
    position: relative;
    margin-top: -2px;
    margin-right: 8px;
    height: 14px;
}

.jobbox .details span {
    margin-right: 17px;
    font-size: 16px;
    line-height: 28px;
    letter-spacing: 0.77px;
    color: #25374673;
}

.jobbox .innerwrapper svg.fa-arrow-right-long {
    height: auto;
    width: 25px;
    position: absolute;
    bottom: 20px;
    right: 16px;
    color: #25374673;
}

.jobbox h3 {
    /* font-family: 'Alegreya Sans'; */
    /* font-size: 28px; */
    /* line-height: 32px; */
    /* font-weight: bold; */

    font: normal normal 400 28px / 32px 'Barlow';
}

span.togglelink {
    font-size: 15px;
    line-height: 20px;
    background: #E9EBEC;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-left: 10px;
    padding-right: 10px;
    display: block;
    width: fit-content;
    float: right;
    /* margin-bottom: 20px; */
}

span.togglelink:hover {
    cursor: pointer;
}

span.togglelink svg {
    height: 16px;
    width: auto;
    padding-left: 5px;
}

.alljobs .filter {
    position: absolute;
    width: 350px;
    background-color: #E9EBEC;
    padding: 30px;
    z-index: 9;
    right: 40px;
    display: none;
    top: 36px;
}

.alljobs .filter label {
    position: relative;
}

.alljobs .filter input {
    margin-right: 15px;
    visibility: hidden;
}


/* Creating a custom checkbox based on demand */
.w3docs {
    position: absolute;
    top: 0;
    left: 0;
    height: 21px;
    width: 21px;
    background-color: white;
    border: 1px solid transparent;
    margin-top: 2px;
}

.fixedHeader img
{
    max-height:50px;
    width:auto !important;
}

.w3docs.mimickry-filter{
    height: 16px;
    width: 16px;
    border: 1px solid #253746;
    background-color: #E9EBEC;
    margin-top: 0;
    top: 50%;
    transform: translate(0, -50%);
    margin-right: 15px;
}

/* Specify the background color to be shown when hovering over checkbox */
.alljobs:hover input ~ .w3docs {
    background-color: transparent;
}
/* Specify the background color to be shown when checkbox is active */
.alljobs input:active ~ .w3docs {
    background-color: transparent;
}
/* Specify the background color to be shown when checkbox is checked */
.alljobs input:checked ~ .w3docs {
    background-color: transparent;
}
/* Checkmark to be shown in checkbox */
/* It is not be shown when not checked */
.w3docs:after {
    content: "";
    position: absolute;
    display: none;
}
/* Display checkmark when checked */
.alljobs input:checked ~ .w3docs:after,
.alljobs input:hover ~ .w3docs:after,
.alljobs input:active ~ .w3docs:after{
    display: block;
}
/* Styling the checkmark using webkit */
/* Rotated the rectangle by 45 degree and 
showing only two border to make it look
like a tickmark */
.main .w3docs:after {
    left: 6.5px;
    bottom: 5.5px;
    width: 8px;
    height: 13px;
    border: solid white;
    border-width: 0 4px 4px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* Specify the background color to be shown when hovering over checkbox */
.alljobs label:hover input ~ .w3docs {
    background-color: #E9EBEC;
}
/* Specify the background color to be shown when checkbox is active */
.alljobs label input:active ~ .w3docs {
    background-color: #E9EBEC;
}
/* Specify the background color to be shown when checkbox is checked */
.alljobs label input:checked ~ .w3docs {
    background-color: #E9EBEC;
}
/* Checkmark to be shown in checkbox */
/* It is not be shown when not checked */
.w3docs.mimickry-filter:after {
    content: "";
    position: absolute;
    display: none;
}
/* Display checkmark when checked */
.alljobs label input:checked ~ .w3docs:after,
.alljobs label input:hover ~ .w3docs:after,
.alljobs label input:active ~ .w3docs:after{
    display: block;
}
/* Styling the checkmark using webkit */
/* Rotated the rectangle by 45 degree and 
showing only two border to make it look
like a tickmark */
.alljobs label .w3docs:after {
    left: 3.5px;
    bottom: 2.5px;
    width: 7px;
    height: 11px;
    border: solid #253746;
    border-width: 0 4px 4px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}




.checkbox-group+.title {
    margin-top: 20px;
    display: inline-block;
}

.alljobs .filter label {
    width: 100%;
    float: left;
    color: var(--secondary-font-color);
    font: normal normal normal 18px / 26px 'Barlow';
}

.filter .title {
    margin-bottom: 5px;
    color: var(--secondary-font-color);
    font: normal normal bold 20px / 28px 'Barlow';
    text-transform: uppercase;
}

/**** end modules ****/




/* applicion */
.questionwrap {
    display: none;
}

.questionwrap:first-of-type {
    display: block;
}

.questionwrap h1 {
    text-align: center;
    padding-top: 120px;
    padding-bottom: 100px;
}

.application .questionwrap .row {
    --bs-gutter-y: 15px;
    --bs-gutter-x: 34px;
}

.application textarea {
    width: 100%;
    min-height: 200px;
    color: var(--secondary-font-color);
}

.application input[type="checkbox"],
.application input[type="radio"] {
    margin-right: 10px;
    height: 19px;
    width: 19px;
    min-width: 19px;
    vertical-align: bottom;
    accent-color: var(--main-color);
}

.application label,
.application .rating p {
    font-family: "Barlow";
    font-weight: 500;
    font-size: 17px;
    line-height: 19px;
}

.application .greybox {
    padding: 20px 15px;
    background-color: #E6E6E6;
    position: relative;
    width: 100%;
}

/* .application .checkboxes .greybox:after {
    content: url('assets/img/shield-halved-solid.svg');
    filter: invert(13%) sepia(69%) saturate(7498%) hue-rotate(336deg) brightness(78%) contrast(106%);
    color: var(--main-color);
    position: absolute;
    right: 15px;
    width: 25px;
    top: 0;
    bottom: 0;
    margin: auto 0;
    height: fit-content;
} */

/* pagination */
.application .buttonlink {
    width: fit-content;
    padding-right: 60px;
    margin-bottom: 0;
}

.application .buttonlink:hover {
    cursor: pointer;
}

.application .buttonlink.prev {
    display: none;
    float: left;
    padding-right: 15px;
    padding-left: 60px;
}

.application .buttonlink.prev:after {
    transform: scaleX(-1);
    left: 15px;
    right: unset;
}

.application .buttonlink.next,
.application .buttonlink.submit {
    float: right;
}

.application .buttonlink.next.disabled {
    filter: brightness(70%);
}

.application .buttonlink.next.disabled:hover {
    /* background-color: var(--main-color); */
    color: white;
    cursor: default;
}

.application .buttonlink.next.disabled:hover::after {
    content: url(assets/img/arrow-right.webp);
}

.application .pagebuttons {
    margin-top: 120px;
    padding-bottom: 155px;
}

/* skills */
.rating .greybox {
    display: flex;
    justify-content: space-between;
}

.rating p {
    margin: 0;
}

.rating input[type="radio"]:not(:nth-of-type(0)) {
    /* hide visually */
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.rating [type="radio"]:not(:nth-of-type(0))+label {
    display: none;
}

label[for]:hover {
    cursor: pointer;
}

.rating .stars label:before {
    content: "★";
    font-size: 23px;
}

.stars label {
    color: lightgray;
}

.stars label:hover {
    text-shadow: 0 0 1px #000;
}

.rating [type="radio"]:nth-of-type(1):checked~.stars label:nth-of-type(-n+1),
.rating [type="radio"]:nth-of-type(2):checked~.stars label:nth-of-type(-n+2),
.rating [type="radio"]:nth-of-type(3):checked~.stars label:nth-of-type(-n+3),
.rating [type="radio"]:nth-of-type(4):checked~.stars label:nth-of-type(-n+4),
.rating [type="radio"]:nth-of-type(5):checked~.stars label:nth-of-type(-n+5) {
    color: var(--main-color);
}

.rating [type="radio"]:nth-of-type(1):focus~.stars label:nth-of-type(1),
.rating [type="radio"]:nth-of-type(2):focus~.stars label:nth-of-type(2),
.rating [type="radio"]:nth-of-type(3):focus~.stars label:nth-of-type(3),
.rating [type="radio"]:nth-of-type(4):focus~.stars label:nth-of-type(4),
.rating [type="radio"]:nth-of-type(5):focus~.stars label:nth-of-type(5) {
    color: var(--main-color);
}

.application .rating input[type="radio"]:checked {
    display: none;
}

/* buttons */
.application .row.buttons input[type="radio"] {
    visibility: hidden;
    height: 0;
    width: 0;
}

.application .row.buttons label {
    display: flex;
    align-items: center;
    text-align: center;
    cursor: pointer;
    background-color: #E6E6E6;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 164px;
    padding-right: 209px;
    transition: all .3s ease-out;
    position: relative;
}

.application .row.buttons input[type="radio"]:checked+label {
    background-color: var(--main-color);
    color: white;
}

.application .row.buttons input[type="radio"]:checked+label svg {
    color: white;
}

.application .buttons {
    padding-top: 60px;
    padding-bottom: 60px;
}

.application .buttons svg {
    padding-left: 25px;
    color: var(--main-color);
    font-size: 20px;
}

.application .buttons .allbuttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    margin: 0;
}

/* personal details */
.personal-details input {
    width: 100%;
    background: #E6E6E6;
    border: none;
    height: 60px;
    margin-bottom: 15px;
    padding: 15px;
    color: var(--secondary-font-color);
}

.personal-details fieldset+p {
    margin-bottom: 6px;
    font-size: 15px;
}

.personal-details .policy-fieldset label {
    color: #707070;
    font-family: "Barlow";
    font-weight: 300;
    font-size: 15px;
    line-height: 20px;
}

.personal-details .policy-fieldset {
    display: flex;
    flex-direction: row;
    margin-top: 15px;
    position: relative;
}

.personal-details .savedata-fieldset a,
.personal-details .policy-fieldset a {
    color: var(--main-color);
}

.personal-details .file-fieldset input {
    position: relative;
}

.personal-details .file-fieldset input:hover {
    cursor: pointer;
}

.personal-details .file-fieldset input:after {
    content: url('assets/img/paperclip-solid.svg');
    color: #707070;
    position: absolute;
    right: 15px;
    width: 18px;
    height: 20px;
    top: 0;
    bottom: 0;
    margin: auto 0;
}

.personal-details input[name="address"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
    pointer-events: none;
}

input,
input:active,
input:focus,

button[type=submit],
button[type=submit]:active,
button[type=submit]:focus {
    border: none;
    outline: none;
    box-shadow: none;
}

pre {
    display: none;
}

.stars {
    width: 138px;
    min-width: 138px;
    float: right;
}

.starstext {
    float: left;
}
/* BOOTSTRAP BREAKPOINTS Responsive */

@media screen and (-webkit-min-device-pixel-ratio:0) { 
    /* Safari only override */
    /* .page:not(.home) .maincontent > .container { 
        min-height: 45vh;
    } */
    .page:not(.home) h1{
        margin-bottom: 0;
        padding-bottom: 20px;
    }
    h2, h3{
        font-weight: normal;
    }
}

@media (max-width: 1199.98px) {

    /* templates */
    section.application-flow .icontext {
        width: 100%;
    }

    section.application-flow img.arrow {
        margin: 0 auto;
        margin-top: 25px;
        margin-bottom: 25px;
        transform: rotate(90deg);
    }

    .row.two-boxes .bg-wrapper>img,
    .row.two-boxes .bg-wrapper>.text-wrapper {
        width: 50%;
        object-fit: cover;
    }

    .row.two-boxes .bg-wrapper>.text-wrapper {
        padding-left: 15px;
        padding-right: 15px;
    }

    .row.two-boxes .bg-wrapper>img {
        order: 2;
    }

    .row.two-boxes {
        flex-direction: column;
        gap: 60px;
    }

    .row.two-boxes .border-box {
        position: relative;
        padding: 20px;
        padding-bottom: 50px;
        margin: 0 60px;
    }

    .row.two-boxes .buttonlink {
        position: absolute;
        bottom: -20px;
        width: calc(100% - 40px);
        left: 0;
        right: 0;
        margin: 0 auto;
    }

    .bg-wrapper {
        display: flex;
        flex-wrap: wrap;
    }

    /* application */
    .application .row.buttons label {
        padding-left: 79px;
        padding-right: 79px;
    }

    .application .buttons .allbuttons {
        gap: 5px;
    }
}

@media (max-width: 991.98px) {
    section>.container {
        margin: 0;
        width: 100%;
        max-width: unset;
    }

    .maincontent .container {
        padding-left: 57px;
        padding-right: 57px;
    }

    .maincontent>.container {
        padding-bottom: 100px;
    }

    /* header + footer*/
    header>.container,
    footer>.container {
        padding-left: 57px;
        padding-right: 57px;
        margin: 0;
        width: 100%;
        max-width: unset;
    }

    footer>.container>.row,
    header>.container>.row {
        margin: 0;
    }

    /* templates */
    body.single-jobs h2 {
        padding-bottom: 14px;
    }

    .page-template-template-thankyou h1 {
        margin-bottom: 80px;
    }

    /* modules START */
    .benefits .bg-box {
        padding: 20px 15px;
    }

    .benefits .title {
        /* font-size: 17px; */
        margin-bottom: 5px;
        color:var(--main-color);
        font-family:'Barlow Semi';
    }

    .benefits .benefitwrap {
        margin-bottom: 15px;
    }

    .benefits .benefitwrap p {
        /* font-size: 15px; */
    }

    body.single-jobs .benefits h2,
    .benefits h2 {
        padding-bottom: 20px;
        /* font-size: 20px; */
    }

    .headerimage .container {
        padding-bottom: 0;
    }

    .coloredbox {
        max-width: unset;
        width: 100%;
        padding: 25px 30px;
    }

    .coloredbox .buttonlinktop {
        position: relative;
        display: block;
        bottom: unset;
    }

    section.headerimage {
        background-color: white;
    }

    .headerimage>img {
        height: 417px;
        margin-bottom: 130px;
    }

    section.bottom-banner img {
        height: 310px;
        min-height: unset;
    }

    section.bottom-banner .text-over-image {
        bottom: 0;
        top: 0;
        height: 100%;
    }

    section.bottom-banner .text-over-image .container {
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    section.bottom-banner h2 {
        padding-bottom: 45px;
    }

    section.application-flow .container {
        padding-top: 60px;
        padding-bottom: 100px;
    }

    .headerimage .text-over-image {
        z-index: 2;
        bottom: 0;
        left: 0;
        right: 0;
    }

    .text-over-image .container {
        margin: 0;
        width: 100%;
        max-width: unset;
    }

    .text-with-teaser .col-lg-4 {
        margin-top: 27px;
    }

    section.benefits {
        padding-top: 11px;
        background-color: white;
    }

    .alljobs>.container {
        padding-bottom: 100px;
    }

    .alljobs span.togglelink {
        margin-top: 5px;
        margin-bottom: 10px;
    }

    .alljobswrapper.row {
        --bs-gutter-y: 5px;
        --bs-gutter-x: 5px;
    }

    .alljobs .filter {
        right: 57px;
    }

    .jobbox {
        margin-bottom: 5px;
        display: flex;
        width: calc(50% - 2px);
    }

    .jobbox .innerwrapper {
        /* width: 60%; */
    }

    .jobbox a {
        width: 100%;
    }

    .questionwrap h1 {
        padding-top: 100px;
        padding-bottom: 60px;
    }

    .question-text p:last-of-type {
        margin-bottom: 10px;
    }

    .application .pagebuttons {
        margin-top: 60px;
        padding-bottom: 177px;
    }

    .page-template-template-thankyou .maincontent>.container {
        margin: 0;
        width: 100%;
        max-width: unset;
    }

    .wp-block-buttons {
        margin-top: 60px;
    }

    .buttonlink:hover,
    .coloredbox .buttonlinktop:hover, 
    section.bottom-banner .buttonlink:hover {
        box-shadow: inset 100vw 0 0 0 var(--main-bg-color);
    }

    .buttonlink.grey:hover {
        box-shadow: inset 100vw 0 0 0 var(--main-color);
    }

    .application .buttonlink.next.disabled:hover {
        box-shadow: none;
    }
}
@media (max-width: 767.98px) {
    h1 {
        font-size: 32px;
        letter-spacing: 2.5px;
        line-height: 34px;
    }

    h2 {
        letter-spacing: 1.56px;
        line-height: 34px;
    }

    p {
        margin-bottom: 10px;
    }

    .maincontent .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* header + footer*/
    header>.container,
    footer>.container {
        padding-left: 15px;
        padding-right: 15px;
    }

    footer {
        padding-bottom: 20px;
    }

    footer .menu {
        margin-bottom: 5px;
    }

    footer .text-right {
        text-align: left;
    }

    footer h3 {
        font-size: 18px;
    }

    /* modules */
    .coloredbox {
        padding: 25px 20px 15px;
    }

    .headerimage>img {
        margin-bottom: 220px;
    }

    .alljobs .filter {
        width: calc(100% - 30px);
        right: 15px;
    }

    .alljobswrapper.row {
        --bs-gutter-y: 10px;
        --bs-gutter-x: 10px;
    }

    .jobbox {
        margin-bottom: 10px;
        display: block;
    }

    .jobbox .innerwrapper {
        width: 100%;
    }

    .jobbox a {
        width: 100%;
    }

    .row.two-boxes .bg-wrapper>img,
    .row.two-boxes .bg-wrapper>.text-wrapper {
        width: 100%;
    }

    .row.two-boxes .bg-wrapper>.text-wrapper {
        padding: 20px;
    }

    .bg-wrapper {
        display: block;
    }

    .row.two-boxes .border-box {
        margin: 0;
    }

    section.bottom-banner img {
        height: 263px;
    }

    section.bottom-banner h2 {
        padding-bottom: 25px;
    }

    /* application */
    .questionwrap h1 {
        padding-bottom: 30px;
    }

    .question-text p {
        margin-bottom: 20px;
    }

    .application .pagebuttons {
        margin-top: 50px;
        padding-bottom: 92px;
    }

    .application .row.buttons label {
        width: 100%;
        justify-content: center;
    }

    .application .pagebuttons {
        display: inline-block;
        width: 100%;
    }

    .application .buttonlink.prev,
    .application .buttonlink.next,
    .application .buttonlink.submit {
        width: 100%;
        margin-bottom: 15px;
        text-align: center;
        padding-left: 15px;
        padding-right: 15px;
    }

    .application .container .row {
        margin: 0;
    }

    .application .buttons,
    .application .container .row>* {
        padding: 0;
    }
}

@media (max-width: 575.98px) {
    .maincontent ul {
        padding-left: 12px;
    }

    .jobbox {
        margin-bottom: 5px;
        display: flex;
        width: 100%;
    }

    .policy-fieldset {
        margin-bottom: 15px;
    }
}

@media (max-width: 399.98px) {
    .application .personal-details .file-fieldset input:after {
        content: none;
    }
}