/**
 * Gel 5.3
 * Job Listings Stylesheet
 * @version 5.3.1
 * @created 2016-01-27 by Kelly Chisum
 * @modified 2016-06-14 by Kelly Chisum
 */

/*
font-family: "Futura PT", "futura-pt", Futura, Arial, sans-serif
Dark Blue: #143255 rgb(20, 50, 85)
Medium Blue: #005695 rgb(0, 86, 149)
Light Blue: #6E91BF rgb(110, 145, 191)
Dark Green: #5E9321 rgb(94, 147, 33)
Medium Green: #74B535 rgb(116, 181, 53)
Light Green: #86C54F rgb(134, 197, 79)
Black: #222 rgb(34, 34, 34)
*/

/******************************/
/* TAHRA JOB LISTINGS */
.job-listings {
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-moz-box-direction: row;
	-webkit-box-direction: row;
	-webkit-box-orient: horizontal;
	-webkit-flex-direction: row;
	-ms-flexbox-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-moz-box-wrap: wrap;
	-webkit-box-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-ms-flexbox-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin: 2em 0 0 0;
}
.job-list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-flex: 1 0 40%;
	-moz-box-flex: 1 0 40%;
	-webkit-flex: 1 0 40%;
	-ms-flex: 1 0 40%;
	flex: 1 0 40%;
	margin: .5em 0 .5em 1em;
	padding: .75em 1em 1em;
	background: rgba(0, 86, 149, .99);
	mix-blend-mode: multiply;
}
.job-list-content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	-moz-box-direction: row;
	-webkit-box-direction: row;
	-webkit-box-orient: horizontal;
	-webkit-flex-direction: row;
	-ms-flexbox-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-moz-box-wrap: wrap;
	-webkit-box-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-ms-flexbox-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: flex-start;
	-webkit-align-items: flex-start;
	-moz-box-align: flex-start;
	-ms-flex-align: flex-start;
	align-items: flex-start;
	-webkit-box-align-content: flex-start;
	-webkit-align-content: flex-start;
	-ms-flex-align-content: flex-start;
	align-content: flex-start;
}
.job-list * {
	color: #FFF;
}
.job-list h3 {
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	-webkit-box-ordinal-group: 1;  
	-moz-box-ordinal-group: 1;     
	-ms-flex-order: 1;     
	-webkit-order: 1;  
	order: 1;
	margin: 0 0 .5em;
	font-size: 1.4em;
	line-height: 1.2em;
}
.job-list h4 {
	-webkit-box-flex: 1 0 100%;
	-moz-box-flex: 1 0 100%;
	-webkit-flex: 1 0 100%;
	-ms-flex: 1 0 100%;
	flex: 1 0 100%;
	width: 100%;
	-webkit-box-ordinal-group: 3;
	-moz-box-ordinal-group: 3;
	-ms-flex-order: 3;
	-webkit-order: 3;
	order: 3;
	margin: 0 0 .5em;
	font-size: 1em;
	text-transform: uppercase;
}
.job-list h5 {
	-webkit-box-flex: 1 100%;
	-moz-box-flex: 1 100%;
	-webkit-flex: 1 100%;
	-ms-flex: 1 100%;
	flex: 1 100%;
	-webkit-box-ordinal-group: 4;
	-moz-box-ordinal-group: 4;
	-ms-flex-order: 4;
	-webkit-order: 4;
	order: 4;
	margin: 0;
	font-size: 1em;
}
.job-list h3:after {
	display: none;
}
.job-list .button {
	-webkit-box-ordinal-group: 2;
	-moz-box-ordinal-group: 2;
	-ms-flex-order: 2;
	-webkit-order: 2;
	order: 2;
	float: none;
	margin: 0 0 0 1em;
	background: #143255;
	font-size: .9em;
}
.job-list .button:hover {
	background: #74B535;
}
@media screen and (min-width: 1001px) {
	.job-list:first-of-type {
		-webkit-box-basis: 90%;
		-webkit-flex-basis: 90%;
		-ms-flex-basis: 90%;
		flex-basis: 90%;
		padding: 1em;
		background: rgba(20, 50, 85, .99);
	}
	.job-list:first-of-type h3 {
		font-size: 2em;
		margin-bottom: .2em;
	}
	.job-list:first-of-type h4 {
		font-size: 1.4em;
		margin-bottom: .2em;
	}
	.job-list:first-of-type h5 {
		font-size: 1.15em;
	}
	.job-list:first-of-type .button {
		background: #0867AA;
		font-size: 1.1em;
	}
	.job-list:first-of-type .button:hover {
		background: #74B535;
	}
}
@media screen and (max-width: 1000px) {
	.job-list {
		-webkit-box-basis: 100%;
		-webkit-flex-basis: 100%;
		-ms-flex-basis: 100%;
		flex-basis: 100%;
	}
	.job-list .button {
		width: auto;
	}
}
@media screen and (max-width: 750px) {
	.job-list .button {
		-webkit-box-ordinal-group: 5;
		-moz-box-ordinal-group: 5;
		-ms-flex-order: 5;
		-webkit-order: 5;
		order: 5;
		margin: 1em 0 0;
	}
	.job-list-content {
		display: block;
	}
}
@media screen and (max-width: 550px) {
	.job-list .button {
		width: 100%;
	}
}

/* JOB DETAILS */
.job-detail {
	-webkit-box-flex: 1 100%;
	-moz-box-flex: 1 100%;
	-webkit-flex: 1 100%;
	-ms-flex: 1 100%;
	flex: 1 100%;
}
.job-detail-content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-moz-box-direction: row;
	-webkit-box-direction: row;
	-webkit-box-orient: horizontal;
	-webkit-flex-direction: row;
	-ms-flexbox-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-moz-box-wrap: wrap;
	-webkit-box-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-ms-flexbox-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-left: -1em;
}
.job-detail-block {
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-moz-box-direction: column;
	-webkit-box-direction: column;
	-webkit-box-orient: vertical;
	-webkit-flex-direction: column;
	-ms-flexbox-direction: column;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-flex: 1 100%;
	-moz-box-flex: 1 100%;
	-webkit-flex: 1 100%;
	-ms-flex: 1 100%;
	flex: 1 100%;
	margin: 1em 0 0 1em;
	padding: 1.25em 2em 1.5em;
	background: #FFF;
}
.job-detail-2 {
	-webkit-box-basis: 45%;
	-webkit-flex-basis: 45%;
	-ms-flex-basis: 45%;
	flex-basis: 45%;
}
.job-detail-4 {
	-webkit-box-basis: 25%;
	-webkit-flex-basis: 25%;
	-ms-flex-basis: 25%;
	flex-basis: 25%;
}
.job-detail-block p,
.job-detail-block h4,
.job-detail-block ol,
.job-detail-block ul {
	margin-top: 0; 
	margin-bottom: 0;
}
.job-detail-block:first-of-type {
	-moz-box-direction: row;
	-webkit-box-direction: row;
	-webkit-box-orient: horizontal;
	-webkit-flex-direction: row;
	-ms-flexbox-direction: row;
	-ms-flex-direction: row;
	flex-direction: row;
	-moz-box-wrap: wrap;
	-webkit-box-wrap: wrap;
	-webkit-flex-wrap: wrap;
	-ms-flexbox-wrap: wrap;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: flex-start;
	-webkit-align-items: flex-start;
	-moz-box-align: flex-start;
	-ms-flex-align: flex-start;
	align-items: flex-start;
}
.job-detail-block:first-of-type h4 {
	-webkit-box-ordinal-group: 1;
	-moz-box-ordinal-group: 1;
	-ms-flex-order: 1;
	-webkit-order: 1;
	order: 1;
	-webkit-box-flex: 1;
	-moz-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;
	margin: 0 0 .25em;
}
.job-detail-block:first-of-type h5 {
	-webkit-box-ordinal-group: 3;
	-moz-box-ordinal-group: 3;
	-ms-flex-order: 3;
	-webkit-order: 3;
	order: 3;
	-webkit-box-flex: 1 100%;
	-moz-box-flex: 1 100%;
	-webkit-flex: 1 100%;
	-ms-flex: 1 100%;
	flex: 1 100%;
}
.job-detail-block:first-of-type p {
	-webkit-box-ordinal-group: 5;
	-moz-box-ordinal-group: 4;
	-ms-flex-order: 4;
	-webkit-order: 4;
	order: 4;
	-webkit-box-flex: 1 100%;
	-moz-box-flex: 1 100%;
	-webkit-flex: 1 100%;
	-ms-flex: 1 100%;
	flex: 1 100%;
}
.job-detail-block .button {
	-webkit-box-ordinal-group: 2;
	-moz-box-ordinal-group: 2;
	-ms-flex-order: 2;
	-webkit-order: 2;
	order: 2;
	margin: 0;
}
@media screen and (max-width: 1000px) {
	.job-list {
		margin-left: 0;
	}
	.job-list .button {
		background-color: #143255 !important;
	}
	.job-detail .button {
		width: auto;
	}
	.job-detail-2 {
		-webkit-box-flex: 1 100%;
		-moz-box-flex: 1 100%;
		-webkit-flex: 1 100%;
		-ms-flex: 1 100%;
		flex: 1 100%;
	}
	.job-detail-4 {
		-webkit-box-flex: 1 45%;
		-moz-box-flex: 1 45%;
		-webkit-flex: 1 45%;
		-ms-flex: 1 45%;
		flex: 1 45%;
	}
}
@media screen and (max-width: 750px) {
	.job-detail-block {
		display: block;
		background: rgb(225, 225, 225);
	}
	.job-detail-4 {
		-webkit-box-basis: 100%;
		-webkit-flex-basis: 100%;
		-ms-flex-basis: 100%;
		flex-basis: 100%;
	}
	.job-detail p {
		font-size: .9em;
	}
	.job-detail .button {
		-webkit-box-ordinal-group: 5;
		-moz-box-ordinal-group: 5;
		-ms-flex-order: 5;
		-webkit-order: 5;
		order: 5;
		width: 100%;
		margin: 1em 0;
	}
}