/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.single .rg_careers {
	text-align: left;
	margin: 60px auto 100px;
}

h1 {
	font-family: 'Playfair Display';
	font-size: 32px;
	text-align: center;
	color: #487426;
}

h2 {
	font-family: 'Playfair Display';
}

/* Single Careers */

@media screen and (min-width: 768px) {
	.career-content {
		display: grid;
		grid-template-columns: 3fr 1fr;
		grid-gap: 80px;
	}

	.career-details {
		grid-column: 2;
		grid-row: 1;
		margin-top: 4px
	}
}

.career-details .detail-list {
	margin-top: 36px;
}

.career-details p {
	font-weight: bold;
}

.career-details label {
	display: block;
	line-height: 1;
	text-transform: uppercase;
	font-weight: normal;
	font-size: 14px
}

/* Position Type listings */

.tax-type #main {
	background-color: #F5F5F5 !important;
}

.careers.position-type {
	margin: 60px auto 100px;
}

.type-listings {
	display: grid;
	grid-gap: 40px;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.type-listings .rg_careers {
	padding: 20px 20px 70px;
	box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
	text-align: left;
	position: relative;
	background-color: #fff;
}

.type-listings .rg_careers .button.small {
	position: absolute;
	right: 20px;
	bottom: 20px;
	padding: 4px 12px;
}

.rg_careers h4 {
	margin-bottom: 0
}

.careers .pagination {
	display: flex;
	align-items: center;
	justify-content: center;
}

.careers .pagination .nav-links {
	font-size: 20px;
	line-height: 1;
	width: 100%;
}

.careers .pagination .nav-links .page-numbers:not(.dots) {
	width: auto;
	height: var(--pagination_width_height);
	display: inline-flex;
	position: relative;
	float: none;
	margin: 0 4px;
	padding: 0 10px;
	align-items: center;
	justify-content: center;
}

.careers .pagination .nav-links .page-numbers:not(.current):not(.dots) {
	background-color: #FAFAFA;
	border: 1px solid #eee;
}

.careers .pagination .nav-links .page-numbers.dots {
	padding: 0 10px;
}

.careers .pagination .nav-links .page-numbers.next,
.careers .pagination .nav-links .page-numbers.prev {
	padding: 0 12px;
}

	/* Job Search Form */
.job-search {
	background-color: #fff;
	border: 2px solid #487426;
	border-radius: 40px;
	padding: 0 80px 0 40px;
	position: relative;
	max-width: 960px;
	margin: 60px auto 40px;
}

.form-col {
	position: relative;
	display: inline-block;
	width: 33%;
}

.form-col label {
	position: absolute;
	top: -40px;
	color: #487426;
	text-transform: uppercase;
}

.form-col input {
	width: 100%;
	border: none;
	color: #9ea0a4 !important;;
	font-size: 16px;
}

.form-col :placeholder {
	color: #9ea0a4 !important;
}

.form-col select {
	width: 90%;
	position: relative;
	border: none;
	border-left: 1px solid #9ea0a4;
	font-size: 16px;
	border-radius: 0;
	height: 24px;
	padding-left: 14px;
	margin: 12px 0 12px -16px;
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;
}

.job-search .submit {
	position: absolute;
	display: block;
	top: -12px;
	right: -5px;
	width: 75px;
	height: 75px;
	background-color: #fff;
	border: 2px solid #f16456;
	background-image: url('search-solid.svg');
	border-radius: 50%;
}

.job-search .submit i {
	color: #f16456;
	font-size: 30px;
}

@media( max-width: 650px ) {
	.job-search {
		max-width: 400px;
		padding: 15px 20px 40px;
		margin: 60px auto 70px;
		text-align: left;
	}

	.form-col {
		display: block;
		width: 100%;
	}

	.form-col label {
		position: static;
		top: auto;
		padding-left: 14px;
	}

	.form-col select,
	.form-col input {
		width: 100%;
		position: relative;
		border: none;
		border-bottom: 1px solid #9ea0a4;
		font-size: 16px;
		border-radius: 0;
		height: 44px;
		padding-left: 14px;
		margin: 0 0 22px 0;
		-moz-appearance: none;
		-webkit-appearance: none;
		appearance: none;
	}

	.job-search .submit {
		top: auto;
		bottom: -32px;
		right: auto;
		left: 50%;
		margin-left: -37.5px;
	}
}
