body.pattern {
    background-color: #fff;
    background-size: 33px 33px;
    background-image: repeating-linear-gradient(45deg, #f9f9f9 0, #f9f9f9 3.3px, #fff 0, #fff 50%);
}

header {
    width: 100%;
    font-weight: 500;
    justify-content: start !important;
    flex-direction: column;
    gap: 70px;
    background-color: transparent !important;
}

header:not(.no-bg) {
    height: 30vh;
    background-image: url("/img/job/job.jpg");
    background-image: image-set(url("/img/job/job.webp") type("image/webp"), url("/img/job/job.jpg") type("image/jpeg"));
    background-image: -webkit-image-set(url("/img/job/job.webp") type("image/webp"), url("/img/job/job.jpg") type("image/jpeg"));
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

header .toggle > div {
    background-color: #323232;
}

header > .brand {
    position: relative;
    left: 0;
}

header .brand h1 {
    color: #323232;
    font-size: 28px;
}

header:not(.no-bg) .brand h1 {
    font-size: 30px;
    color: white;
}

header > .fc {
    gap: 30px;
}

.nav {
    height: 58px;
    box-shadow: 0px 0px 4px 1px rgba(0, 0, 0, 0.25);
}

.center {
    margin: 60px auto;
    width: 900px;
    gap: 40px;
    min-height: 60vh;
    align-items: start;
}

.center .filter {
    position: absolute;
    border: 2px solid #d3dae3;
    width: 275px;
    height: 300px;
    border-radius: 5px;
    padding: 20px;
    left: 100px;
    top: 40vh;
    flex-direction: column;
    justify-content: space-evenly;
    user-select: none;
}

.center .filter > div:not(.select-box) {
    width: 100%;
    justify-content: space-around;
}

.center .filter > div:not(.select-box) > div {
    flex-direction: column;
    align-items: end;
    justify-content: space-evenly;
    height: 90px;
}

.center .filter > div:not(.select-box) > div > * {
    height: 20px;
    font-size: 17px
}

.center .filter .hr {
    width: 100%;
    height: 2px;
    background: #d3dae3;
}

.center .filter h4 {
    margin: 10px 0px;
}

.center .no-result {
    display: none;
}

/* sort dropdown */

.select-box {
	position: relative;
	display: block;
	width: 100%;
	margin: 0 auto;
	font-size: 16px;
	color: #60666d;
}

.select-box__current {
    position: relative;
    cursor: pointer;
    outline: none;
}

.select-box__current:focus + .select-box__list {
	opacity: 1;
	animation-name: none;
}

.select-box__current:focus + .select-box__list .select-box__option {
	cursor: pointer;
}

.select-box__current:focus .select-box__icon {
	transform: translateY(-50%) rotate(180deg);
}

.select-box__icon {
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);
	width: 20px;
	opacity: 0.3;
	transition: 0.2s ease;
}

.select-box__value {
	display: flex;
}

.select-box__input {
	display: none;
}

.select-box__input:checked + .select-box__input-text {
	display: block;
}

.select-box__input-text {
    display: none;
    width: 100%;
    margin: 0;
    padding: 15px;
    background-color: #e6e6e6;
}

.select-box__list {
	position: absolute;
	width: 100%;
	padding: 0;
	list-style: none;
	opacity: 0;
	animation-name: HideList;
	animation-duration: 0.5s;
	animation-delay: 0.5s;
	animation-fill-mode: forwards;
	animation-timing-function: step-start;
	box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.1);
}

.select-box__option {
	display: block;
	padding: 15px;
	background-color: #fff;
}

.select-box__option:hover, .select-box__option:focus {
	color: #546c84;
	background-color: #fbfbfb;
}

@keyframes HideList {
	from {
		transform: scaleY(1);
    }

	to {
		transform: scaleY(0);
    }
}

/* sort dropdown end */

.center > .job-options {
    flex-direction: column;
    gap: 40px;
}

.center > .job-options > div {
    border: 2px solid #d3dae3;
    width: 700px;
    min-height: 200px;
    border-radius: 5px;
    padding: 20px;
    position: relative;
}

.center > .job-options > div span > a {
    margin-top: 10px;
    margin-right: 20px;
    font-size: 17px;
    display: block;
    text-align: right;
    font-weight: 500;
}

.center > .job-options > div > a {
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 20px;
    display: block;
    text-decoration-color: #bbb;
}

.center > .job-options > div span {
    display: block;
    margin: 10px 0;
    color: #777;
}

.center > .job-options > div u {
    color: #323232;
}


.center > .bg {
    background: #fff;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, .1);
    width: 900px;
    min-height: 80vh;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 8px;
    padding: 50px 50px 20px 50px;
    line-height: 1.5;
}

.center > .bg > h3 {
    color: #d31c4a;
    margin: 40px 0 20px 0;
}

.center > .bg > p {
    margin: 20px 0;
    text-align: justify;
}

.center > .bg li {
    margin-bottom: 6px;
}

.center > .bg li::marker {
    color: #d31c4a;
}

.center > .bg > button {
    display: block;
    background: #d31c4a;
    font-family: "Rubik", sans-serif;
    border: 0;
    font-size: 20px;
    color: #eee;
    padding: 16px 100px;
    border-radius: 4px;
    margin: 60px auto 20px auto;
    cursor: pointer;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 99;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-content > div {
    width: 800px;
    max-height: 90vh;
    background: #d8dbce;
    padding: 40px 50px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.modal-content > div > div {
    display: flex;
    justify-content: space-between;
}

.modal-content .col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 44%;
}

.modal-content > div > .col {
    flex-grow: 1;
}

.modal-content .big {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 20px;
}

.modal-content .col.radio {
    gap: 10px;
}

.col.radio input {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.modal-content .col.radio > div {
    display: flex;
    align-items: center;
    gap: 20px;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    border: 0;
    height: 28px;
    width: 28px;
    cursor: pointer;
    background-color: transparent;
}

.close-btn > img {
    height: 100%;
    width: 100%;
}

.modal input,
.modal textarea {
    background-color: #f5f5f5;
    color: #242424;
    padding: 12px 8px 8px 8px;
    min-height: 40px;
    border-radius: 4px;
    outline: none;
    border: none;
    line-height: 1.15;
    box-shadow: 0px 8px 20px -18px;
    border-bottom: 2px solid transparent;
    font-size: 17px;
    resize: none;
}

.modal-content textarea {
    height: 100%;
}

.modal input:focus,
.modal textarea:focus {
    border-bottom: 2px solid #5b5fc7;
    border-radius: 4px 4px 2px 2px;
}

.modal .fc.end {
    gap: 30px;
    justify-content: end;
}

.modal .send-btn {
    background: #bbbfac;
    border: 0;
    padding: 10px 20px;
    width: 170px;
    border-radius: 4px;
    font-family: "Rubik", sans-serif;
    color: #323232;
    box-shadow: 0px 3px 12px -8px;
    transition: filter 200ms;
    font-size: 15px;
    font-weight: bold;
}
.custom-file-upload:hover,
.modal .send-btn:hover {
    filter: brightness(90%)
}

input[type="file"] {
    display: none;
}

.custom-file-upload {
    text-align: center;
    background: #bbbfac;
    border: 0;
    padding: 10px 20px;
    border-radius: 4px;
    font-family: "Rubik", sans-serif;
    box-shadow: 0px 3px 12px -8px;
    transition: filter 200ms;
    font-size: 16px;
}

.spinner-container {
    top: 0;
    height: 100vh;
    width: 100vw;
    position: fixed;
    display: none;
    z-index: 1000;
    background: rgba(0, 0, 0, .2);
}

.spinner-container.active {
    display: flex;
}

.spinner-container.active .loader {
    width: 200px;
    height: 200px;
    border: 14px solid #323232;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation .8s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
} 

@media only screen and (max-width: 1500px) {
    .center {
        justify-content: space-evenly;
        margin: 60px 0px;
        width: 100vw;
        gap: 0;
    }

    .center .filter {
        position: relative;
        left: 0;
        top: 0;
        flex-shrink: 0;
    }
}

@media only screen and (max-width: 1100px) {
    .center > .job-options > div {
        width: 650px;
    }
}

@media only screen and (max-width: 1000px) {
    .center .filter {
        display: none;
    }

    .center .bg {
        width: 95vw;
    }

    .modal-content {
        max-width: 95%;
        line-height: 1.5;
    }

    .modal-content > div {
        width: 100%;
    }
}

@media only screen and (max-width: 700px) {
    .center {
        line-height: 1.5;
    }
    .center > .job-options > div {
        width: 90vw;
    }

    .center > .job-options > div > a {
    text-decoration-color: #ccc;
    }

    .center .bg h2 {
        font-size: 22px;
    }

    .center .bg {
        padding: 30px 30px 10px 30px;
    }

    .modal-content > div > div {
        flex-direction: column;
    }

    .modal-content > div > div:first-of-type {
        gap: 20px;
    }

    .modal-content > div > div .col {
        width: 100%;
    }

    .modal .send-btn,
    .custom-file-upload {
        width: 100%;
        height: 60px;
    }

    .spinner-container.active .loader {
        width: 150px;
        height: 150px;
    }
}

@media only screen and (max-width: 500px) {
    .modal-content {
        max-width: 100%;
    }

    .modal-content > div {
        padding: 30px 30px;
    }
}

@media only screen and (max-width: 400px) {
    .center .bg {
        padding: 20px 20px 10px 20px;
    }
}