/* Custom CSS
------------------------------------------------------------ */
html body {
	background-image: linear-gradient(#3c80bc, #97afaf);
	background-size: 100% 600px;
    background-color: #97afaf !important;
}

.site-container {
	margin-top: 48px;
	margin-bottom: 24px;
}
.site-header {
	display: none;
}

#custom-header {
	background-image: url('https://wolfeboro.cemsites.com/wp-content/uploads/sites/534/dynamik-gen/theme/images/masthead-bg-desktop.jpg');
	background-position: cover;
	background-repeat: no-repeat;
	border-top-left-radius: 50% 80px;
	border-top-right-radius: 50% 80px;
	border-top: 5px solid rgb(4, 62, 114);
	box-shadow: 0px -4px 0px 0px #d6e4f0;
	height: 261px;
}

#custom-header .logo {
	margin: 72px 0 0 72px;
}

#custom-header .header-image {
	border: 1px solid #043e72;
	float: right;
	margin: 48px 96.5px 0 0;
}

.site-inner {
	box-sizing: content-box;
}

#menu-main-menu {
	padding: 0 10px;
}

.entry-content {
	overflow: hidden
}

#burial-search h2 {
	display: none;
}

#burial-search > div:nth-child(2) > div:nth-child(2) {
	z-index: 9999 !important;
}

.upcoming-recent-events-widget {
	border-radius: 6px !important;
}
.upcoming-recent-events-widget .textwidget {
	padding: 0px !important;
}

.current-menu-item:hover {
	background-color: #157473;
}

.upcoming-recent-events li {
	border-bottom: 1px solid #CCC !important;
}

.page-template-cemsites-walktosite #custom-header {
	display: none;
}


@media only screen and (max-width: 1024px) {
	.logo {
		margin-left: 18px !important;
		margin-top: 60px !important;
	}
}

@media only screen and (max-width: 960px) {
	#custom-header {
		border-radius: 0;
		height: 187px !important;
	}
	.logo {
		margin-top: 30px !important;
	}
	.header-image {
		margin-top: 0px !important;
	}
}



/* Custom Responsive CSS
------------------------------------------------------------ */
@media only screen and (max-width: 1140px) {

}

@media only screen and (min-width: 840px) and (max-width: 1140px) {

}

@media only screen and (min-width: 480px) and (max-width: 1140px) {

}

@media only screen and (max-width: 839px) {

}

@media only screen and (min-width: 480px) and (max-width: 839px) {

}

@media only screen and (max-width: 479px) {

}