/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


body {
	background-color: #ECECEC; /* Old browsers */
	background: url("images/bg-body-top1.png") repeat-x scroll 0 0, -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ECECEC), color-stop(100%,#D1DBE5)) repeat fixed 0 0 transparent; /* Chrome,Safari4+ */
	background: url("images/bg-body-top1.png") repeat-x scroll 0 0, -webkit-linear-gradient(top, #ECECEC 0%,#D1DBE5 100%) repeat fixed 0 0 transparent; /* Chrome10+,Safari5.1+ */
	background: url("images/bg-body-top1.png") repeat-x scroll 0 0, -moz-linear-gradient(top, #ECECEC 0%, #D1DBE5 100%) repeat fixed 0 0 transparent; /* FF3.6+ */
	background: url("images/bg-body-top1.png") repeat-x scroll 0 0, -ms-linear-gradient(top, #ECECEC 0%,#D1DBE5 100%) repeat fixed 0 0 transparent; /* IE10+ */
	background: url("images/bg-body-top1.png") repeat-x scroll 0 0, -o-linear-gradient(top, #ECECEC 0%,#D1DBE5 100%) repeat fixed 0 0 transparent; /* Opera11.10+ */
	background: url("images/bg-body-top1.png") repeat-x scroll 0 0, linear-gradient(top, #ECECEC 0%,#D1DBE5 100%) repeat fixed 0 0 transparent; /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ECECEC', endColorstr='#D1DBE5',GradientType=0 ); /* IE6-9 */
	margin: 0;
	padding: 0;
}

.site-header {
	background: url("images/bg-header-top1.png") repeat-x scroll center top #FFFFFF;
	xxz-index: -1;
}

.site-logo {
	border: 1px solid #BBBBBB;
	border-left: 0;
	border-top: 0;
	xborder-radius: 0 0 8px 8px;
	margin: 10px 20px 20px;
}

.header-widget #custom_html-3 a {
	color: #ffffff;
	font-size: 13px;
	position: absolute;
	right: 5px;
	top: 3px;
}
.kftester {
	xxposition: absolute;
	xxz-index: 500;
}
.header-widget #custom_html-3 a:hover {
	color: #cccccc;
}

.header-widget #custom_html-4 {
	margin: 40px 60px 0 0;
	text-align: center;
}


#site-navigation {
	background-color: #FFFFFF; /* Old browsers */
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#FFFFFF), color-stop(100%,#AAAAAA)); /* Chrome,Safari4+ */
	background-image: -webkit-linear-gradient(top, #FFFFFF 0%,#AAAAAA 100%); /* Chrome10+,Safari5.1+ */
	background-image: -moz-linear-gradient(top, #FFFFFF 0%, #AAAAAA 100%); /* FF3.6+ */
	background-image: -ms-linear-gradient(top, #FFFFFF 0%,#AAAAAA 100%); /* IE10+ */
	background-image: -o-linear-gradient(top, #FFFFFF 0%,#AAAAAA 100%); /* Opera11.10+ */
	background-image: linear-gradient(top, #FFFFFF 0%,#AAAAAA 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#AAAAAA',GradientType=0 ); /* IE6-9 */
	box-shadow: 0 4px 15px #444444;
	border-bottom: 6px solid #406786;
	position: relative;
}
xx.inside-navigation:after {
	content: "";
	position: absolute;
	xxtop: 0;
	xxleft: 0;
	xxright: 0;
	width: 100%;
	bottom: 1px;
	box-shadow: 0 4px 15px #444444;
	z-index: -1;
	transform: scale(.9);
	xxheight: 25px;
	xxwidth: 500px;
	xxbackground: #fff;
	xxbottom: -20px;
	xxright: -5px;
}

.main-navigation .main-nav ul#menu-main > li > a {
	padding: 0 30px;
}

.menu-item-has-children .dropdown-menu-toggle {
	display: none;
}

.main-navigation ul ul {
	width: auto;
	white-space: nowrap;
}
.main-navigation ul ul li {
	border: 1px solid #e5e5e5;
}
.main-navigation .menu ul > li + li {
	border-top: 0;
}

.main-navigation .main-nav ul ul li > a {
	font-weight: 400;
}

.main-navigation .main-nav ul ul li[class*="current-menu-"] > a:hover {
	background-color: #dddddd;
}



.home .featured-image {
	xxborder-top: 6px solid #406786;
}

.page-hero {
	xxposition: relative;
	xxz-index: 100;
	xxbackground-size: auto;
	xxborder-top: 6px solid #406786;
}

.inside-page-hero {
	display: flex;
}

.inside-page-hero img {
	display: block;
}


xx#featured-block {
	background: url("images/featured-block.jpg") no-repeat;
	background-color: #EEEEEE;
	background-size: 100%;
	height: 150px;
	margin-bottom: 0;
	width: 287px;
	xpadding-top: 17.64%;
	xdisplay: block;
	xheight: 100%;
	xwidth: 100%;
}

xx.featured-photo {
	height: 150px;
	max-width: 100%;
}


.site-content {
	xxdisplay: flex;
}

body:not(.home) #primary {
	padding: 44px 50px 40px 50px;
	width: calc(100% - 29.9%);
}

.entry-content:not(:first-child) {
	margin-top: 0;
}

.fdp-list-newsletter {
	margin-bottom: 6px;
}

.fdp-list-spaced li + li {
	margin-top: 8px;
}



div.wpforms-container-full .wpforms-form .wpforms-submit-container {
	xxpadding-left: 20%;
	text-align: center;
}
div.wpforms-container-full .wpforms-form button[type=submit] {
	border-radius: 10px;
}




#left-sidebar {
	background-color: #eeeeee;
	width: 29.9%;
}

.sidebar .widget {
	margin: 30px 0 52px;
	padding-left: 0;
}
.sidebar .widget:last-child {
	margin: 0 0 52px;
}


.sidebar aside.widget_nav_menu .widget-title,
.sidebar aside#custom_html-10 .widget-title {
	background-color: #EEEEEE; /* Old browsers */
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#EEEEEE), color-stop(100%,#CCCCCC)); /* Chrome,Safari4+ */
	background-image: -webkit-linear-gradient(top, #EEEEEE 0%, #CCCCCC 100%); /* Chrome10+,Safari5.1+ */
	background-image: -moz-linear-gradient(top, #EEEEEE 0%, #CCCCCC 100%); /* FF3.6+ */
	background-image: -ms-linear-gradient(top, #EEEEEE 0%, #CCCCCC 100%); /* IE10+ */
	background-image: -o-linear-gradient(top, #EEEEEE 0%, #CCCCCC 100%); /* Opera11.10+ */
	background-image: linear-gradient(top, #EEEEEE 0%, #CCCCCC 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#EEEEEE', endColorstr='#CCCCCC',GradientType=0 ); /* IE6-9 */

	border-top: 2px solid #888888;
	color: #666666;
	font-size: 18px;
	font-weight: 700;
	margin: 0;
	padding: 10px 0 10px 40px;
}

.sidebar aside.widget_nav_menu ul.menu {
	padding-left: 20px;
	padding-right: 20px;
}

.sidebar aside.widget_nav_menu ul.menu li {
	border-top: 1px solid #888888;
	margin: 0;
	xxpadding: 0;
}
.sidebar aside.widget_nav_menu ul.menu li:first-child {
	border-top: medium none;
}
.sidebar aside.widget_nav_menu ul.menu li:hover {
	background-color: #dddddd;
	color: #1c4094;
}

.sidebar aside.widget_nav_menu ul.menu li a {
	color: #666666;
	display: block;
	font-size: 14px;
	padding: 10px 0 10px 25px;
	xxtext-decoration: none;
}
.sidebar aside.widget_nav_menu ul.menu li a:hover {
	color: #1c4094;
}

.sidebar aside.widget_custom_html {
	xxpadding-left: 0;
	text-align: center;
}

.sidebar aside#custom_html-10 .widget-title {
	padding-left: 0;
}
.sidebar aside#custom_html-10 .custom-html-widget {
	font-size: 13px;
	padding: 20px 16px 20px 26px;
	text-align: left;
}




.footer-widgets .footer-widget-1 {
    flex: 0 0 35%;
}

.footer-widgets .footer-widget-2 {
    flex: 0 0 35%;
	padding-right: 40px;
	text-align: center;
}

.footer-widgets .footer-widget-3 {
    flex: 0 0 30%;
}

.footer-widget-1 .widget_text {
	font-size: 16px;
}

#footer-widgets .social-icons img:hover {
	opacity: 0.8;
}

#footer-widgets .footer-nav {
	font-size: 14px;
}
#footer-widgets .footer-nav a {
	color: #15285d;
}
#footer-widgets .footer-nav a:hover {
	color: #aaaaaa;
}

#footer-widgets .footer-widget-3 img {
	vertical-align: middle;
}

#footer-widgets .footer-widget-3 .down-right {
	margin: 0 10px -100px -10px;
}





/* =Responsive (Mobile) Design
-------------------------------------------------------------- */

@media (max-width: 955px) {

	.footer-widgets .footer-widget-2 {
		flex: 0 0 30%;
	}
	#custom_html-6 {
		margin: 50px 0 0;
	}
	#custom_html-7 {
		display: none;
	}

	.footer-widgets .footer-widget-3 {
		flex: 0 0 35%;
	}
	#custom_html-9 {
		padding-left: 10px;
	}
	#footer-widgets .footer-widget-3 .down-right {
		margin: -20px 0 0 150px;
	}


}


@media (max-width: 835px) {

    .inside-header {
	    flex-direction: column;
    }

	.site-logo {
		margin-top: 25px;
		text-align: center;
		width: 100%
	}
	
	.site-header .header-widget {
		margin: 0 auto;
		xxmargin-top: 0;
	}
	
	.header-widget #custom_html-4 {
		margin: 0 0 10px 0;
	}
	
	.left-block {
		xxwidth: 29.9%;
	}
	
	.right-block {
		xxwidth: calc(100% - 29.9%);
	}
	
	.footer-widget-1 .widget_text {
		font-size: 14px;
	}

}

@media (max-width: 768px) {

	#site-navigation {
		background-color: #EFEFEF; /* Old browsers */
		background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#EFEFEF), color-stop(100%,#AAAAAA)); /* Chrome,Safari4+ */
		background-image: -webkit-linear-gradient(top, #EFEFEF 0%,#AAAAAA 100%); /* Chrome10+,Safari5.1+ */
		background-image: -moz-linear-gradient(top, #EFEFEF 0%, #AAAAAA 100%); /* FF3.6+ */
		background-image: -ms-linear-gradient(top, #EFEFEF 0%,#AAAAAA 100%); /* IE10+ */
		background-image: -o-linear-gradient(top, #EFEFEF 0%,#AAAAAA 100%); /* Opera11.10+ */
		background-image: linear-gradient(top, #EFEFEF 0%,#AAAAAA 100%); /* W3C */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#EFEFEF', endColorstr='#AAAAAA',GradientType=0 ); /* IE6-9 */
		box-shadow: none;
	}

	.main-navigation.toggled .main-nav > ul {
		background-color: #ffffff;
	}

	.menu-item-has-children .dropdown-menu-toggle {
		display: initial;
	}

    body:not(.home) #primary {
		padding: 0;
        width: 100%;
    }
	.entry-header .entry-title {
		font-size: 22px;
	}

    #left-sidebar {
        display: none;
    }
	
	.footer-widgets .inside-footer-widgets {
		flex-direction: row;
	}


}

@media (max-width: 724px) {

	.footer-widgets .inside-footer-widgets {
		flex-direction: column;
	}

	.footer-widgets .footer-widget-1,
	.footer-widgets .footer-widget-3 {
		text-align: center;
	}

	.footer-widgets .footer-widget-2 {
		padding-right: 0;
	}

	#custom_html-6 {
		margin: 0;
	}

	#footer-widgets .footer-widget-3 .down-right {
		margin: 0 0 0 100px;
	}


}



@media (max-width: 690px) {


	.solid-block {					/* for removal of blue block to left of image */
		display: none;
	}
	
	.photo-block {
		xxwidth: 100%;
	}
	



}

/*
@media (max-width: 650px) {

	.footer-widgets .footer-widget-1 {
		text-align: center;
	}

	#custom_html-6 {
		margin: 0;
	}

	.footer-widgets .footer-widget-2 {
		padding-right: 0;
	}


}


@media (max-width: 474px) {

	#footer-widgets .footer-widget-3 .down-right {
		margin: 0 0 0 100px;
	}


}
*/

@media (max-width: 400px) {

	.fdp-txt-decrease a {
		font-size: 14px;
	}

	.photo-block {
		display: none;
	}

	.gb-container.gb-container-a8de6f39 {
		border: none;
	}

	.gb-container.gb-container-a8de6f39 > .gb-inside-container {		/* for form on Contact Us page */
		padding: 20px 10px 40px;
	}

	div.wpforms-container-full .wpforms-form input[type="text"],
	div.wpforms-container-full .wpforms-form input[type="email"] {
		font-size: 12px;
	}

	.gb-inside-container h2.gb-headline-2d792c54 {			/* for h2 adjustment on Team page */
		font-size: 15px;
	}


}

@media (max-width: 280px) {

	#custom_html-9 {
		text-align: center;
	}
	#footer-widgets .footer-widget-3 .down-right {
		margin: 20px 0 0;
	}



}


