/* User location */

.user-location {
	position: absolute;
	right: 16px;
	top: 21px;
	color: #777;
	cursor: pointer;
}

.user-location--active {
	position: absolute;
	right: 16px;
	top: 21px;
	color: rgb(213, 77, 57);
}

/* Search form */

.job-search-form {
	font-size: 15px;
}

.job-search-form input[type=submit] {
	width: 100%;
	font-weight: bold;
	padding: 6px 20px 7px !important;
}

.job-search-form select {
	appearance: none;
}

.job-search-form input,
.job-search-form select {
	margin-bottom: 15px;
	border-color: #6ea78a !important;
	border-width: 2px;
	border-radius: 24px !important;
	font-size: 15px;
}

.job-search-form .job-button {
	border-color: rgb(213, 77, 57) !important;
	font-weight: 700 !important;
}

.job-search-form input::placeholder {
	font-family: depot-new-web, sans-serif;
	color: #777 !important;
}

.job-search-form .user-location {
	right: 12px;
	top: 3px;
}

.job-filter-container--industry {
	display: block;
	position: relative;
}

.job-filter-container--industry::after {
	content: "\f063";
	position: absolute;
	right: 10px;
	top: 10px;
	color: #000;
	font-family: "Font Awesome 5 Free";
	font-weight: 400;
	pointer-events: none;
}

.job-filter-container__town {
	position: relative;
}

/* Main search widget */

.job-search .job-filters {
	display: flex;
	flex-direction: column; 
	margin: 0 auto 30px !important;
}

.job-search .job-filters button {
	width: 100%;
	padding: 15px 20px;
	font-weight: bold;
}

.job-search .job-filters select {
	appearance: none;
}

.job-search .job-filters input,
.job-search .job-filters select {
	width: 100%;
	margin-bottom: 15px !important;
	border-color: #6ea78a !important;
	border-radius: 30px !important;
	border-width: 2px;
	padding: 15px 20px;
	font-size: 18px;
}

.job-search .job-filters input::placeholder {
	font-family: depot-new-web, sans-serif;
	color: #777 !important;
}

.job-search .job-filter-container--industry::after {
	right: 18px;
	top: 18px;
}

.job-search .job-no-results {
	text-align: center;
}

.job-no-results a {
	color: rgb(213, 77, 57);
}

.pagination {
	margin: 0;
	font-family: depot-new-web, sans-serif;
	text-transform: uppercase;
	text-align: center;
}

.pagination-prev,
.pagination-next { 
	color: rgb(213, 77, 57);
	font-weight: 500;
	text-transform: uppercase;
	cursor: pointer;
}

.pagination-page {
	text-transform: small-caps;
	margin: 0 10px;
}

@media only screen and (min-width: 640px) {
	.job-search .job-filters {
		flex-direction: row;
		justify-content: space-between;
		gap: 10px;
	}
	
	.job-search .job-filters input,
	.job-search .job-filters select {
		margin-bottom: 0 !important;
	}
	
	.job-search .job-filter-container,
	.job-search .job-filters button {
		width: auto;
		flex-grow: 1;
	}
	
	
	.job-search .job-no-results {
		margin: 0 40px;
	}		
}
	
@media only screen and (min-width: 1024px) {
	.job-search .job-filters {
		margin: 0 50px 50px !important;
		gap: 15px;
	}
	
	.job-search .job-no-results {
		margin: 0 200px;
	}	
}
	
/* Job cards */
.job-grid {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}

.job-card {
	width: 100%;
	margin: 0 0 40px 0;
	border-radius: 30px;
	padding: 35px;
	color: rgb(43, 43, 43);
	background: #f4f4f4;
	font-family: depot-new-web, sans-serif;
	transition: opacity 0.2s;
}

.job-card__title {
	color: #6ea78a;
	margin: 0 0 1rem;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.job-card__benefits {
	margin: 0 0 15px;
	padding: 0;
	font-size: 19px;
	font-weight: 300;
	list-style: none;
}

.job-card__benefits i {
	display: inline-block;
	position: relative;
	top: -1px;
	width: 18px;
	margin-right: 5px;
	color: #d54d39;
	text-align: center;
	font-size: 15px;	
}

.job-card__benefits--distance {
	color: #d54d39;
	font-weight: 500;	
}

.job-card__benefits--distance i {
	color: #d54d39;
}

.job-card__description {
	margin-bottom: 20px;
	font-size: 16px;
	font-weight: 300;
	color: inherit;
}

.job-card__actions {
	margin-bottom: 0;
}

.job-card__cta {
	display: inline-block;
	color: #fff;
	background-color: rgb(213, 77, 57);
	border: 2px solid rgb(213, 77, 57);
	border-radius: 20px;
	padding: 5px 20px !important;
	font-weight: 700;
	transition: all 0.3s;
}

.job-card__cta:hover {
	color: rgb(213, 77, 57);
	background-color: transparent;
}

@media only screen and (min-width: 640px) {
	.job-grid {
		flex-direction: row;
		flex-wrap: wrap;
	}
	
	.job-grid--two .job-card,
	.job-grid--three .job-card {
		width: calc((100% - 40px) / 2);
		margin-right: 40px;
	}
	
	.job-grid--two .job-card:nth-of-type(2n),
	.job-grid--three .job-card:nth-of-type(2n) {
		margin-right: 0;
	}
}

@media only screen and (min-width: 1024px) {
	.job-grid {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.job-grid--two .job-card {
		width: calc((100% - 40px) / 2);
		margin-right: 40px;
	}

	.job-grid--two .job-card:nth-of-type(2n) {
		margin-right: 0;
	}

	.job-grid--three .job-card {
		width: calc((100% - 40px * 2) / 3);
		margin-right: 40px;
	}

	.job-grid--three .job-card:nth-of-type(2n) {
		margin-right: 40px;
	}

	.job-grid--three .job-card:nth-of-type(3n) {
		margin-right: 0;
	}
}