/* General Template */
.inspire-njb-more-link {
	font-weight: 600;
}
.inspire-njb-more-link:: after {
	content: '\f054';
	font-family: 'Font Awesome 5 Free', 'FontAwesome';
}
.inspire-njb-custom-thumb {
	width: 100%;
    padding-top: 100%;
	background-size: cover;
	background-postion: center;
}
.inspire-njb-custom-thumb.circle {
	border-radius: 900px;
}
.inspire-njb-custom-feature {
	width: 100%;
    padding-top: 400px;
	background-size: cover;
	background-postion: center;
	margin-bottom: 40px;
}
.inspire-njb-calendar-link .fa {
	font-size: 1.4em;
	color: #666;
}
.inspire-njb-pagination {
	background: #f5f5f5;
	padding: 20px 10px;
	margin-top: 40px;
	margin-bottom: 40px;
	border-bottom: 1px solid #eee;
	border-top: 1px solid #eee;
	clear: both;
	overflow: hidden;
}
.inspire-njb-pagination .alignright, .inspire-njb-pagination .alignleft {
	margin-bottom: 0;
}
h4.inspire-njb-section-header {
	margin-top 0;
	margin-bottom: 10px;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: 600;
}
.inspire-njb-flex-row {
	display: flex;
 	flex-wrap: wrap;
}
.inspire-njb-flex-row:last-child {
	margin-bottom: 40px;
}
.inspire-njb-flex-row .col-md-6 {
	display: flex;
	float: none;
}
.inspire-njb-flex-row .col-md-6 .inspire-njb-widget-post {
	width: 100%;
}

.njb-post-header {
	border-bottom: 1px solid #eee;
	padding-bottom: 20px;
	margin-bottom: 20px;
}

h4.njb-title-small {
	margin-top: 40px;
	padding-bottom: 10px;
}

h4.njb-title-small:nth-child(1) {
	margin-top: 0;
}

.njb-apply-link {
	width: 100%;
}

.njb-meta-item::before {
	content: "|";
	margin: 10px;
}

.njb-meta-item:first-child::before {
	margin: 0;
	content: "";
}
.njb-gallery {
	padding: 20px 0;
	display: flex;
	flex-wrap: wrap;
}
.njb-gallery-image {
	padding: 5px;
	width: 50%;
	box-sizing: border-box;
	display: block;
	overflow: hidden;
}
.njb-gallery-thumbnail {
	padding-bottom: 100%;
	width: 100%;
	box-sizing: border-box;
	background-size: cover;
	background-position:center;
	cursor: pointer;
}
.njb-gallery-thumbnail:hover {
	transform: scale(1.25); 
}
.njb-lightbox {
	position:fixed;
	top:0;
	left: 0;
	width: 100%;
	height: 100vh;
	background: rgba(0,0,0,.75);
	z-index: 10000;
}
.njb-lightbox-image {
	position: absolute;
	max-width: 90%;
	max-height: 90vh;
	width: auto;
	height: auto;
	transform: translate(-50%,-50%);
	top: 50%;
	left: 50%;
}
.njb-lightbox-close {
	position: absolute;
	top: 20px;
	right: 20px;
	color: #fff;
	cursor: pointer;
	font-size: 20px;
}
.njb-lightbox-next, .njb-lightbox-prev {
	position: absolute;
	top: 50%;
	right: 20px;
	color: #fff;
	cursor: pointer;
	font-size: 20px;
	margin-top: -10px;
}
.njb-lightbox-prev {
	right: auto;
	left: 20px;
}
@media (min-width: 992px) {

	.fl-post .col-md-9 {
		width: 75%;
	}
	.njb-gallery-image {
		width: 20%	
	}

}

/* Search */
.inspire-njb-form {
	background: #f5f5f5;
	padding: 10px 20px;
	margin-bottom: 40px;
	border-bottom: 1px solid #eee;
	border-top: 1px solid #eee;
}
.inspire-njb-form .col-sm-12 {
	padding: 10px 10px;
}
.inspire-njb-form select {
	height: 34px;
	width: 100%;
}
.inspire-njb-form #searchsubmit {
	width: 100%;
}

/* Form */

.njb-checkbox-wrap {
	border-radius: 4px;
	border: 1px solid #eee;
	height: 200px;
	max-height: 200px;
	overflow-y: scroll;
	box-sizing: border-box;
	padding: 10px;
	background: #fcfcfc;
}