
#job-listing {
	position: relative;
	min-height: 100px;
}
#job-listing::after {
	content: ' ';
	position: absolute;
	left: 50%;
	top: 10px;
	margin-top: 20px;
	width: 48px;
	height: 48px;
	background: url(../img/loading.gif) center center/contain no-repeat;
	opacity: 0;
	transform: translateX(-50%);
	transition: all .3s ease-in-out;
}
#job-listing.loading::after {
	margin-top: 0;
	opacity: 0.5;
}

.modal {
	display: none;
	position: fixed;
	z-index: 100;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.4);
	padding: 50px 0;
}

.modal.loading .modal-header h2 {
	visibility: hidden;
}
.modal.loading .modal-body {
	/*display: none;*/
}
.modal.loading .modal-content::after {
	/*content: ' ';*/
	position: absolute;
	left: 50%;
	top: 50%;
	width: 48px;
	height: 48px;
	background: url(../img/loading.gif) center center/contain no-repeat;
	transform: translate(-50%, -50%);
}

.modal-content {
	position: relative;
	margin: auto;
	padding: 60px;
	width: 100%;
	max-width: 1000px;
	min-height: 300px;
	box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	background-color: #fefefe;
	animation-name: animatetop;
	animation-duration: 0.4s
}

.modal-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
}
.modal-header h2 {
	padding-right: 30px;
}

.close {
	font-size: 38px;
	font-weight: bold;
	line-height: 1;
	color: #1d252c;
}
.close:hover,
.close:focus {
	text-decoration: none;
	color: black;
	cursor: pointer;
}

.modal-body {
	margin-top: 30px;
}

.job-detail-block {
	display: flex;
	margin-bottom: 15px;
}

.job_detail_label {
	max-width: 140px;
	width: 100%;
	margin-right: 30px;
}

.apply_btn_wrap {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}
.apply_btn {
	padding: 10px 30px;
	border-radius: 5px;
	color: #fff;
	background-color: #5cb85c;
	display: inline-block;
	text-decoration: none;
	display: inline-block;
}

@media screen and (max-width : 768px) {
	.modal-content {
		padding: 30px;
	}
	.job-detail-block {
		display: block;
	}
	.job_detail_label {
		max-width: none;
		margin-right: 0;
	}
}