/* Global vacancy page styling */
.lef-recruitnow-section {
    padding: 60px 0;
    font-size: 16px;
}

@media only screen and (max-width: 991px) {
   .lef-recruitnow-section {
    padding: 30px 0;
   }
}

.lef-recruitnow-section .row.align-items-center {
    display: flex;
    align-items: center;
}


/* Vacancy header */
.lef-recruitnow-vacancy-header {
    padding: 100px 0;
    position: relative;
    min-height: 40vh;

    display: flex;
    align-items: center;

    font-size: 16px;

    background-color: var(--lef-recruitnow-primary-color);
}

.lef-recruitnow-vacancy-header h1,
.lef-recruitnow-vacancy-header .vacancy-excerpt {
    color: white !important;
}

.lef-recruitnow-vacancy-header .vacancy-excerpt p:last-child {
    margin-bottom: unset;
} 

.lef-recruitnow-vacancy-header .background-image {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.lef-recruitnow-vacancy-header .background-overlay {
    position: absolute;
    background: rgba(0,0,0,.4);
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.lef-recruitnow-vacancy-header .container {
    position: relative;
    z-index: 3;
}

.lef-recruitnow-vacancy-header .header-buttons {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    grid-row-gap: 15px;
    grid-column-gap: 30px;
    flex-wrap: wrap;

}

@media only screen and (max-width: 991px) {
    .lef-recruitnow-vacancy-header .header-buttons {
        justify-content: flex-start;
        margin-top: 30px;
    }
}

.lef-recruitnow-vacancy-header .header-buttons a:not(.button) {
    color: white !important;
}

.lef-recruitnow-vacancy .lef-recruitnow-vacancy-header .header-buttons .vacancy-apply {
    display: block;
    margin: unset;
    width: 210px;
}

.lef-recruitnow-vacancy.apply .lef-recruitnow-vacancy-header .header-buttons .vacancy-apply {
    display: none;
}

.lef-recruitnow-vacancy .lef-recruitnow-vacancy-header .header-buttons .vacancy-cancel-apply {
    display: none;
    margin: unset;
    width: 210px;
}

.lef-recruitnow-vacancy.apply .lef-recruitnow-vacancy-header .header-buttons .vacancy-cancel-apply {
    display: block;
}

.lef-recruitnow-section .section-title,
.lef-recruitnow-section h2  {
    color: var(--lef-recruitnow-primary-color);
    font-weight: 700;
}

/* Vacancy details block */
.lef-recruitnow-vacancy .lef-recruitnow-vacancy-details {
    display: block;
}

.lef-recruitnow-vacancy.apply .lef-recruitnow-vacancy-details {
    display: none;
}

.lef-recruitnow-vacancy-details .recruiter-info {
    position: sticky;
    top: 160px;
}

@media only screen and (max-width: 991px) {
    .lef-recruitnow-vacancy-details .recruiter-info {
        margin-top: 30px;
    }
}

.lef-recruitnow-vacancy-details .tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}

.lef-recruitnow-vacancy-details .tags .tag {
    align-items: center;
    border-radius: 99px;
    display: flex;
    font-style: normal;
    font-weight: 400;
    justify-content: center;
    letter-spacing: normal;
    line-height: normal;
    padding: 4px 8px;
    font-size: 14px !important;
}

.lef-recruitnow-vacancy-details .job-element {
    margin-bottom: 20px;
}

.lef-recruitnow-vacancy-details .job-element .job-element-title {
    color: var(--lef-recruitnow-primary-color);
    font-weight: 700;
}

.lef-recruitnow-vacancy-details .job-requirements,
.lef-recruitnow-vacancy-details .job-offers {
    padding: 30px 35px;
    background: rgb(223, 223, 223);
    margin-bottom: 20px;
    border-radius: 8px;
}

.lef-recruitnow-vacancy-details .job-requirements ul,
.lef-recruitnow-vacancy-details .job-offers ul {
    margin-bottom: unset;
    margin: unset;
    padding: unset;
}

.lef-recruitnow-vacancy-details .job-requirements li,
.lef-recruitnow-vacancy-details .job-offers li {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.lef-recruitnow-vacancy-details .job-requirements li::before,
.lef-recruitnow-vacancy-details .job-offers li::before {
    content: '';
    min-width: 8px;
    min-height: 8px;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background-color: var(--lef-recruitnow-secondary-color);
}

.lef-recruitnow-vacancy-details .vacancy-description {
    font-size: 16px;
    color: black;
}


/* Vacancy apply block */
.lef-recruitnow-vacancy .lef-recruitnow-vacancy-apply {
    display: none;
}

.lef-recruitnow-vacancy.apply .lef-recruitnow-vacancy-apply {
    display: block;
}

.lef-recruitnow-vacancy .vacancy-apply-form fieldset {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: unset;
    margin: unset;
    padding: unset;
}

.lef-recruitnow-vacancy .vacancy-apply-form input:not([type="checkbox"]),
.lef-recruitnow-vacancy .vacancy-apply-form textarea,
.lef-recruitnow-vacancy .vacancy-apply-form select {
    width: 100%;
}

.lef-recruitnow-vacancy .vacancy-apply-form .rnButtons {
    margin-top: 20px;
}

/* Vacancy application steps */
.lef-recruitnow-application-steps .application-steps .row {
    display: flex;
    grid-row-gap: 15px;
}

.lef-recruitnow-application-steps .application-steps {
    padding: unset !important;
}

.lef-recruitnow-application-steps .application-steps::before {
    all: unset !important;
}

.lef-recruitnow-application-steps .application-steps .application-step {
    background: white;
    padding: 20px;
    height: 100%;
    border-radius: 8px;

    border: 1px solid #e4e4e4;

    transition: border-color .3s ease-in-out;
}

.lef-recruitnow-application-steps .application-steps .application-step:hover {
    border-color: var(--lef-recruitnow-primary-color);
}

.lef-recruitnow-application-steps .application-steps .application-step h3 {
    color: var(--lef-recruitnow-primary-color);
}

/* Vacancy related vacancies */
.lef-recruitnow-related-vacancies .related-vacancies {
    margin: unset !important;
}

.lef-recruitnow-related-vacancies .related-vacancies .row {
    display: flex;
    grid-row-gap: 15px;
}

.lef-recruitnow-section h1,
.lef-recruitnow-section h2,
.lef-recruitnow-section h3,
.lef-recruitnow-section h4,
.lef-recruitnow-section h5,
.lef-recruitnow-section h6 {
    margin-top: unset;
}

.lef-recruitnow-section .button {
    border-radius: 3px;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 12px;
    text-align: center;
    text-transform: none;
    background: var(--lef-recruitnow-primary-color);
    transition: background .3s ease-in-out;
    letter-spacing: unset;
}

.lef-recruitnow-section .button-primary {
    background: var(--lef-recruitnow-secondary-color);
}


@media only screen and (min-width: 998px) {
    .lef-recruitnow-section .rnFieldList fieldset {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        grid-column-gap: 15px;
    }
    
    .lef-recruitnow-section .rnFormGroup {
        width: 100%;
    }
    
    .lef-recruitnow-section .rnFormGroup.rnfirstName,
    .lef-recruitnow-section .rnFormGroup.rnmiddleName,
    .lef-recruitnow-section .rnFormGroup.rnlastName,
    .lef-recruitnow-section .rnFormGroup.rnmobilePhoneNumber,
    .lef-recruitnow-section .rnFormGroup.rnemailAddress {
        width: calc(50% - 7.5px);
    }
    
    .rnFormGroup.rnfirstName {
        order: 1;
    }
    .rnFormGroup.rnmobilePhoneNumber {
        order: 2;
    }
    .rnFormGroup.rnmiddleName {
        order: 3;
    }
    .rnFormGroup.rnemailAddress {
        order: 4;
    }
    .rnFormGroup.rnlastName {
        order: 5;
    }
    
    .rnFormGroup.rncvFile {
        order: 20;
    }
    .rnFormGroup.rnmotivation-text {
        order: 21;
    }    
}

.lef-recruitnow-section .rnFormGroup label {
    font-size: 16px;
}

.lef-recruitnow-section .rnFormGroup label .required {
    font-size: 16px;
    color: unset !important;
}

.lef-recruitnow-section fieldset legend {
    font-size: 20px;
    color: var(--lef-recruitnow-primary-color);
    font-weight: 700;
}

.lef-recruitnow-section .rnFormGroup input:not([type="checkbox"]),
.lef-recruitnow-section .rnFormGroup select {
    padding: 11px 24px !important;
    border: 1px solid gray;
    outline: none;
    font-size: 16px;
    margin: unset !important;
}

.lef-recruitnow-section .rnFormWrapper .rnButton {
    border-radius: 3px;
    font-size: 16px;
    color: #fff;
    font-weight: 500;
    letter-spacing: normal;
    line-height: 12px;
    padding: 11px 24px;
    text-align: center;
    text-transform: none;
    background: var(--lef-recruitnow-primary-color);
    transition: background .3s ease-in-out;
    letter-spacing: unset;
    border: unset;
    outline: none;
    box-shadow: unset !important;
}

.lef-recruitnow-section .rnFormWrapper .rnButton:hover {
    background: var(--lef-recruitnow-primary-hover-color);
}

.lef-recruitnow-section .rnFormGroup:not(.rnprivacystatementField).required label::after {
    content: "*";
}

.lef-recruitnow-section .rnprivacystatementField, 
.lef-recruitnow-section .rnwhatsapp-consent {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

@media only screen and (max-width: 991px) {
    .lef-recruitnow-section .rnprivacystatementField, 
    .lef-recruitnow-section .rnwhatsapp-consent { 
        flex-wrap: unset;
    }

    .lef-recruitnow-section .rnprivacystatementField .rnErrors, 
    .lef-recruitnow-section .rnwhatsapp-consent .rnErrors{ 
        display: none;
    }
}

.lef-recruitnow-section .rnLabel {
    font-weight: 700;
}

.lef-recruitnow-section .rnLabel .required {
    margin-left: unset;
}

.lef-recruitnow-section .rnprivacystatementField .rnLabel, 
.lef-recruitnow-section .rnwhatsapp-consent .rnLabel {
    order: 2;
    margin-left: 8px;
}

.lef-recruitnow-section .rnprivacystatementField .rnErrors  {
    order: 3;
    width: 100%;
}

.lef-recruitnow-vacancies-archive .btn,
.lef-recruitnow-section .btn {
	padding: 11px 24px !important;
	border: unset !important;
	text-decoration: none !important;
	border-radius: 4px !important;
    background: var(--lef-recruitnow-primary-color) !important;
    border: unset !important;
    box-shadow: unset !important;
}


.lef-recruitnow-vacancies-archive .btn:hover,
.lef-recruitnow-section .btn:hover {
	background: var(--lef-recruitnow-primary-hover-color) !important;
}