/*******************************
 * LAYOUT SITE ONLY - REMOVE
 *******************************/
body, html {
	overflow-x: inherit !important;
}

.header-text {
	color: #fff;
	padding: 4em 0;	
}

.header-text p,
.header-text h2,
.header-text h3,
.header-text h4,
.header-text h5 {
	color: #fff;
}

.header-text h1 {
	font-size: 3.25em;
    line-height: 1.3;
}

#content {
	padding: 0;
}


/*Colors*/
.button,
.dark,
.dark h1,
.dark h2,
.dark h3,
.dark h4,
.dark h5,
.dark h6,
.dark p,
.dark a:not(.button),
.nh3-monklet-section-grid article > a h4,
.nh3-monklet-section-staff article .info-rollover,
.nh3-monklet-section-staff article .info-rollover .info-rollover-inner p {
    color: #fff;
}

#nh3-location-map .infowindow,
.button:hover,
.nh3-monklet-section-staff article .info-rollover ul li a:hover {
	background-color: #ffffff;
}

.nh3-monklet-section-staff article .info-rollover ul li a {
	background-color: rgba(255, 255, 255, 0.5);
}

#nh3-location-map .infowindow:before {
	border-top-color: #ffffff !important;
}

#nh3-location-map .infowindow {
	filter: drop-shadow(0 0 7px rgba(0,0,0,.3));
}

.button {
	background-color: #5d7b9d;
}

.button:hover,
.dark a:not(.button):hover,
.nh3-monklet-section-staff article .info-rollover .info-rollover-inner p span.read-more {
}

.nh3-monklet-section-staff article .info-rollover ul li a {
	color: rgba(0, 0, 0, 0.8); 
}

.nh3-monklet-section-featured-event article.dark,
.nh3-monklet-section-featured-article article.dark,
.nh3-monklet-section-grid article {
	background-color: #000000;
}

.nh3-monklet-section-staff article .info-rollover {
	background-color: rgba(0, 0, 0, 0.7);
}

.nh3-monklet-section-grid article > a,
.nh3-monklet-section-grid .nh3-desktop,
.nh3-monklet-section-grid article .info {
	background-color: #f6f8fa;
}

/*Default Style Updates...can probably remove or update with client defaults*/
h2 {margin-bottom: 1em;}

#csec-new-here-3-billboard h2 {
	text-transform: uppercase;
}

@media (min-width: 1024px) {
	h2 {
	}
}

.button {
	display: inline-block;
	font-size: 14px;
	padding: .75rem 1.25rem;
	line-height: 1;
	border-radius: .25rem;
}

img {
    max-width: 100%;
}

/*Sections - try and use the clients default full width sections instead of these*/
.newhere-section .newhere-section-inner {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
	padding: 3rem 0 0 0;
}

@media (min-width: 1024px) {
	 .newhere-section .newhere-section-inner {
		 
    }
    .newhere-section .newhere-section-inner.parallax {
        background-attachment: fixed;
    }
}

.newhere-section .container {
	/*this is primarily used for the layout site and you should use the client default container */
    position: relative;
	width: 90%;
	padding: 0 5%;
}

.newhere-section p:last-of-type {
    margin: 0;
}

.newhere-section  h1.sec-title {
	font-size: 3em;
}

/*Featured Monklet*/
.nh3-monklet-section-featured {
	width: 100%;
	position: relative;
	display: -webkit-box; 
	display: flex;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	justify-content: center; 
}

.nh3-monklet-section-featured article {
	position: relative;
	width: 100%;
	margin-bottom: 3rem;
	text-align: center;
}

@media (min-width: 768px) {
	.nh3-monklet-section-featured article {
		width: 22.75%;
		margin-left: 3%;
	}
	.nh3-monklet-section-featured article:nth-child(4n+1) {
		margin-left: 0;
	}
}

.nh3-monklet-section-featured article .info > div {
	margin-bottom: 1rem;
}

.nh3-monklet-section-featured article .info > div span {
	font-size: 2.25rem;	
}

.nh3-monklet-section-featured article .info h6 {
	margin-bottom: .5rem;
}

.nh3-monklet-section-featured article .info p {
	margin-bottom: 0;
}

/*Grid Monklet*/
.nh3-monklet-section-grid {
	width: 100%;
	position: relative;
}

.nh3-monklet-section-grid .nh3-row {
	width: 100%;
	position: relative;
	display: -webkit-box; 
	display: flex;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	justify-content: center;
}

.nh3-monklet-section-grid .nh3-row article {
	width: 100%;
	min-height: 1px;
	flex: 0 0 100%; 
	max-width: 100%;
}

@media (min-width: 768px) {
	.nh3-monklet-section-grid .nh3-row article {
		flex: 25% 1 0; 
		max-width: none; 
	}
}

.nh3-monklet-section-grid article > a {
	display: block;
	position: relative;
	padding-bottom: 56.25%;
	background-size: 0 0;
	cursor: pointer;
	overflow: hidden;
	transition: none;
}

.nh3-monklet-section-grid article > a:after {
	content: "";
    position: absolute;
    left: 0;
	top: 0;
	width: 100%;
	height: 102%;
	background: inherit;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	z-index: 150;
	transition: .2s linear;
}

.nh3-monklet-section-grid article > a:hover:after {
	height: 110%;
}

.nh3-monklet-section-grid article.active > a {
	overflow: visible;
}

.nh3-monklet-section-grid article.active > a:after {
	height: 110%;
	-webkit-clip-path: polygon(100% 0, 100% 91%, 60% 91%, 50% 100%, 40% 91%, 0 91%, 0 0);
	clip-path: polygon(100% 0, 100% 91%, 60% 91%, 50% 100%, 40% 91%, 0 91%, 0 0);
}

.nh3-monklet-section-grid article.inactive > a {
	opacity: .3;
}

.nh3-monklet-section-grid article.inactive > a:hover {
	opacity: 1;
}

.nh3-monklet-section-grid article > a h3 {
	color: #fff;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
	transition: .3s opacity;
	z-index: 155;
	text-shadow: 1px 2px 3px rgba(0,0,0,.7);
}

.nh3-monklet-section-grid article > a:hover h3 {
	opacity: .7;
}

.nh3-monklet-section-grid article > a h3 span {
	display: block;
	position: relative;
	text-align: center;
	padding: 0 1rem;
  	top: 50%;
  	transform: translateY(-50%);
}

.nh3-monklet-section-grid article .info-wrap {
	width: 100%;
	transition: .3s;
	max-height: 0;
	opacity: 0;
	visibility: hidden;
	overflow: auto;
	z-index: 100;
}

.nh3-monklet-section-grid article.active .info-wrap {
	max-height: 600px;
	opacity: 1;
	visibility: visible;
}

.nh3-monklet-section-grid .nh3-desktop {
	display: none;
}


@media (min-width: 768px) {
	.nh3-monklet-section-grid article .info-wrap {
		display: none !important;
	}
}

@media (max-width: 768px) {
	.nh3-monklet-section-grid .nh3-desktop {
		display: none !important;
	}
}

.nh3-monklet-section-grid .nh3-desktop .info,
.nh3-monklet-section-grid article.active .info {
	padding: 3rem 2rem;
	font-size: 1rem;
	line-height: 1.4;
}

.nh3-monklet-section-grid .info .more {
	margin-top: 1.5rem;
}


/*Staff Monklet*/
.nh3-monklet-section-staff {
	width: 100%;
	position: relative;
	display: -webkit-box; 
	display: flex;
	flex-wrap: wrap;
	-webkit-box-pack: center;
	justify-content: center; 
}

.nh3-monklet-section-staff article {
	position: relative;
	width: 100%;
	margin-bottom: 3rem;
	text-align: center;
}

@media (min-width: 768px) {
	.nh3-monklet-section-staff article {
		width: 22%;
		margin-left: 4%;
	}
	.nh3-monklet-section-staff article:nth-child(4n+1) {
		margin-left: 0;
	}
}

.nh3-monklet-section-staff article .image {
    position: relative;
    margin-bottom: 1.5em;
    overflow: hidden;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

#text .nh3-monklet-section-staff article .image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

.nh3-monklet-section-staff article .image:hover .info-rollover {
    opacity: 1;
}

.nh3-monklet-section-staff article .info-rollover {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    opacity: 0;
    transition: 0.4s;
}

.nh3-monklet-section-staff article .info-rollover .info-rollover-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75%;
    height: calc(100% - 58px);
    /*buffer matches ul (li height + ul top calc + 10)*/
    overflow-x: hidden;
    overflow-y: auto;
}

.nh3-monklet-section-staff article .info-rollover .info-rollover-inner a {
    position: relative;
    display: block;
    height: 100%;
}

.nh3-monklet-section-staff article .info-rollover .info-rollover-inner p {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    width: 90%;
    padding: 1em 5% 0 5% !important;
    margin: 0 !important;
    font-size: 12px;
    line-height: 2em;
    text-align: center;
}

.nh3-monklet-section-staff article .info-rollover .info-rollover-inner span.spacer {
    height: 100%;
    display: inline-block;
    vertical-align: middle;
}

.nh3-monklet-section-staff article .info-rollover ul,
.nh3-monklet-section-staff article .info-rollover li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nh3-monklet-section-staff article .info-rollover ul {
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
}

.nh3-monklet-section-staff article .info-rollover ul li {
    padding: 0 .25rem !important;
}

.nh3-monklet-section-staff article .info-rollover ul li a {
    display: block;
    width: 28px;
    height: 28px;
    text-align: center;
    border-radius: 100%;
}

.nh3-monklet-section-staff article .info-rollover ul li a i {
    display: inline-block;
    font-size: 16px;
    line-height: 28px;
}

.nh3-monklet-section-staff article .info h6 {
	margin-bottom: .5rem;
}

.nh3-monklet-section-staff article .info p {
	margin-bottom: 0;
}

/*Featured Event Monklet*/
.nh3-monklet-section-featured-event article {
 	background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.nh3-monklet-section-featured-event .info {
	padding: 3rem 5%;
	text-align: center;
}

@media (min-width: 768px) {
	.nh3-monklet-section-featured-event .info {
		padding: 6rem 5%;
	}
	.nh3-monklet-section-featured-event .info p {
		max-width: 500px;
		margin-left: auto;
		margin-right: auto;
	}
}

/*Featured Article Monklet*/
.nh3-monklet-section-featured-article article {
 	background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
	padding: 2rem;
	overflow: hidden;
}

.nh3-monklet-section-featured-article .image {
	margin-bottom: 2rem;
	background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.nh3-monklet-section-featured-article .image img {
	display: block;
	width: 100%;
	height: auto;
}

.div-embed {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.div-embed img {
    display: block;
    width: 100%;
    height: auto;
}

.div-embed iframe,
.div-embed object,
.div-embed embed,
.div-embed video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0 !important;
}

.div-embed video {
    background-position: center center;
    background-size: cover;
    -o-object-fit: cover;
    object-fit: cover;
}

.nh3-monklet-section-featured-article .info {
	text-align: center;
}

@media (min-width: 768px) {
	.nh3-monklet-section-featured-article article {
		padding: 6rem 5%;
		position: relative;
		display: -webkit-box; 
		display: flex;
		-webkit-box-pack: center;
		justify-content: center; 
	}
	.nh3-monklet-section-featured-article .image {
		margin-bottom: 0;
		width: 47.5%;
		margin-right: 5%;
		display: inline-block;
	}
	.nh3-monklet-section-featured-article .info {
		width: 47.5%;
		text-align: left;
		display: inline-block;
		vertical-align: top;
	}
}

/*Church Map*/
#nh3-location-map {
	width: 100%;
	padding: 0;
	margin: 0;
}

#nh3-location-map.loading {
	min-height: 300px; 
    background-image: url(/_assets/img/loaders/preloader.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 64px 64px;
}

@media (min-width: 768px) { 
	#nh3-location-map.loading { 
		min-height: 460px;
	}
}

#nh3-location-map.active {
	height: 300px; 
	width: 100%;
	padding: 0;
	margin: 0;
}

@media (min-width: 768px) { 
	#nh3-location-map.active { 
		height: 460px;
	}
}

#nh3-location-map img { 
	max-width: none;
}

#nh3-location-map .infowindow {
    display: block;
    font-size: 16px;
    position: relative;
    text-decoration: none;
	padding: 20px 0 20px 15px;
}

#nh3-location-map .infowindow .info > div {
	text-align: center;
}

#nh3-location-map .infowindow .info h6 {
	margin-bottom: .5rem;
}

#nh3-location-map .infowindow .info p {
	font-size: 14px;
	margin-bottom: .25rem;
}

#nh3-location-map .infowindow .info p a {
	margin: 0 .25rem;
}