.jobs-single {
	max-width: 1440px;
	padding: 0 20px;
	box-sizing: border-box;
	margin: 4rem auto;
	display: flex;
	justify-content: space-between;
}

.single-jobs h1 {
	margin-top: 0!important;
	color: #fff!important;
}

.jobs-single #breadcrumbs {
	margin-top: 0!important;
}

.sidebar {
	width: 300px;
	padding: 20px 20px 10px 20px;
	background-color: #e8e8e8;
	margin: 0 0 0 20px;
}

.closing-date {
	margin-bottom: 20px;
	background-color: #c8c8c8;
}

.job-benefits {
	margin: 0 0 0 20px;
}

.sidebar p {
	padding: 0 0 10px 0;
	margin: 0;
}

.page-banner-overlay {
	width: 1440px;
	padding: 0 20px;
	box-sizing: border-box;
}

.page-banner-title {
	margin: 0!important;
	max-width: 1440px;
}

.page-banner {
	background-position: center;
	background-size: cover;
	height: 20rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.job-benefits h3 {
	margin-bottom: 0.5rem;
}

.job-benefits ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.job-benefits ul li {
	margin: 0;
	display: inline-block;
	font-size: 0.65rem;
	font-weight: 500;
	color: #fff;
	background-color: #3c759e;
	padding: 0px 6px;
	border-radius: 5px;
	text-decoration: none;
}

.related-jobs {
	max-width: 1024px;
	margin: 4rem auto;
	box-sizing: border-box;
}

.related-jobs h2 {
	font-size: 1.8rem;
	margin-bottom: 40px;
	text-align: center;
}

.jobs-grid {
	display: flex;
	justify-content: center;
}

.job-card {
	width: 33.33%;
	margin: 0 20px;
	border-radius: 5px;
	padding: 0;
	transition: transform 0.2s, box-shadow 0.2s;
	text-decoration: none!important;
}

.job-card h3 {
	font-size: 1.2rem;
	margin: 0.5rem 20px;
	text-align: left;

}

.job-meta,
.job-title {
	display: block;
	width: 100%;
	padding: 0 20px;
	margin: 0!important;
	box-sizing: border-box;
}

.job-meta p {
	font-size: 0.9rem;
	margin: 5px 0;
	color: #555;
	text-align: left;
}

.job-excerpt {
	font-size: 0.9rem;
	margin: 0 20px 0 20px;
	color: #333;
	line-height: 1.4;
	text-align: left;

}

.job-card {
  background-color: transparent;
	height: 350px;
  perspective: 1000px;
}

.job-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
}

.job-card:hover .job-card-inner {
  transform: rotateY(180deg);
}

.job-card-front, .job-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.job-card-front {
  background-color: #e8e8e8;
  color: black;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.job-card-back {
  background-color: #2980b9;
  color: white;
  transform: rotateY(180deg);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

.job-card-back a {
	background-color: #fff;
	color: #2980b9;
	padding: 6px 15px;
	font-size: 0.8rem;
	border-radius: 5px;
	text-decoration: none;
}

.job-card-back a:hover {
	background-color: #eee;
}

.job-card-back .job-title {
	text-align: center;
	margin-bottom: 1rem!important; 
}

.application-submitted {
	background-color: #093;
}

.application-submitted p {
	max-width: 1440px;
	margin: 0 auto;
	color: #fff;
	padding: 1rem 20px;
	box-sizing: border-box;
}

.apply-container {
	background-color: #3c759e;
	padding: 30px;
}

.apply-container form {
	max-width: 720px;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.apply-inputs {
  display: grid;
	grid-template-columns: 50% 50%;
	gap: 1.5rem;
}

.apply-inputs label {
	margin-bottom: 5px;
	display: block;
}

.apply-inputs label,
.apply-container h2 {
	color: #fff;
}

.apply-container h2 {
	text-align: center;
	margin-bottom: 2rem;
}

.inputfield {
	margin-bottom: 1rem;
	margin-top: 0;
}

.apply-inputs input,
.apply-inputs textarea {
	width: 100%;
	box-sizing: border-box;
}

.apply-inputs textarea {
	height: 100%;
}

input[type="file"]::file-selector-button {
  border-radius: 4px;
  padding: 0 16px;
  height: 40px;
  cursor: pointer;
  background-color: white;
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
  margin-right: 16px;
  transition: background-color 200ms;
}

/* file upload button hover state */
input[type="file"]::file-selector-button:hover {
  background-color: #f3f4f6;
}

/* file upload button active state */
input[type="file"]::file-selector-button:active {
  background-color: #e5e7eb;
}

input[type="file"]::placeholder {
	color: #fff;
}

.additional-information-container {
	height: 100%;
	margin-top: 0;
	overflow: hidden;
}

.submit-button {
	text-align: center;
	margin-top: 2.5rem;
}

.submit-button input {
	background-color: #fff;
	color: #000;
	padding: 6px 15px;
	font-size: 0.8rem;
	border-radius: 7px!important;
	text-decoration: none;
	border: 0;
}

.submit-button input:hover {
	background-color: #eee;
}

.single-jobs .pswp {
	display: none!important;
}

@media only screen and (max-width: 720px) {
	.jobs-single,
	.apply-inputs {
		display: block;
	}
	
	.primary .jobs-single > div,
	.primary .jobs-single > div > .sidebar {
		max-width: 100%;
		margin-top: 2.5rem;
	}
	
	.primary .jobs-single > div > .sidebar {
		margin: 20px;
	}
	
	.related-jobs .job-card {
		width: 100%;
		margin: 0 3rem;
	}
}