/*
Welcome to Custom CSS!

To learn how this works, see http://wp.me/PEmnE-Bt
*/
html, body {
	font-size: 1em;
}

body
.has-custom-background #page,
#page {
	margin: 0 !important;
	box-shadow: 0 !important;
}

img.site-logo {
	max-width: 300px;
}

.main-header-links {
	padding: 12px;
}

.main-header-links * {
	font-size: 13px !important;
}

.header-search-container {
	padding-top: 2px;
}

#hero.has-background .overlay, #primary-header .overlay, .page-header.has-featured-image .overlay {
	opacity: .5;
/*background: #224199;*/
}

body.parent-pageid-66 #primary-header .overlay {
	background: #224199 !important;
	opacity: .95 !important;
}

body.home #hero .hentry .entry-content {
	max-width: 65%;
	margin: 0 auto;
	text-align: center;
}

body.home #hero header.entry-header {
	display: none;
}

body:not(.home) #primary-header h1.entry-title {
	text-align: center !important;
}

body:not(.home) #primary .grid-main-entry .entry-thumb {
	display: none;
}

body.parent-pageid-66 #primary #main .grid-main-entry .entry-thumb {
	display: block !important;
}

.homepage-widgets .featured-page-two h4 {
	display: none;
}

.homepage-widgets .featured-page-two {
	background: #224199 !important;
	color: #fff;
	font-size: 1.4em;
}

.homepage-widgets .featured-page-two > .container > h2.widget-title { display: none; }

.homepage-widgets .featured-page-two > .container > article > entry-content.featured-content {
	margin: 35px 0 !important;
}

/*~~ HOME SERVICES ~~*/
section.front-page-block  h4.widget-title {
	text-align: center;
}

section.featured-page-one .grid-wrapper .grid-item {
	text-align: center;
}

body:not(.search) #page .jetpack-testimonial.hentry .entry-content, .jetpack-testimonial-shortcode .testimonial-entry-content {
	position: relative;
	color: #fff;
	padding: 35px 35px 45px 85px;
	font-size: inherit;
	line-height: 1.45;
	font-style: italic;
	border: 0;
	box-shadow: 0;
}

/*~~ FOOTER ~~*/
#colophon {
	background: #1e1f1f !important;
}

#colophon .footer-bottom {
	background: transparent;
	display: none;
}

.site-footer .gotop {
	background: #224199 !important;
}

footer#colophon ul li a {
	display: block;
}

footer#colophon ul#menu-primary-1 ul.sub-menu li a {
	padding-left: 24px !important;
}

footer .jetpack_widget_social_icons,
footer .widget_contact_info {
	text-align: center;
}

footer .jetpack_widget_social_icons > ul {
	display: inline-block;
	margin: 8px auto;
}

footer .jetpack_widget_social_icons ul li {
	padding: 0 5px;
}

@media (min-width: 992px) {
	body.page-template .grid-wrapper .grid-item {
		width: 50%;
		border: none;
		text-align: center;
		padding-bottom: 36px;
	}
	
	body.page-template .grid-wrapper > .grid-sep {
		display: none;
	}
	
	body.home section.featured-page-one .grid-wrapper .grid-item {
		width: 25% !important;
		border: none;
		text-align: center;
	}
	
	#page .grid-wrapper .hentry .entry-title {
		font-size: 15px;
		border-bottom: 2px solid #1b3f9f;
		padding-bottom: 12px;
		font-weight: 700;
		color: #1b3f9f;
	}
	
	footer .widget_contact_info {
		text-align: right;
	}
}