/*Defaults:*/
BODY{
	font-size:16px;
	margin:0;
	line-height:1.4;
}
IMG{ max-width:100%; height:auto; }
A,
A:active,
A:visited{
	color:#248996;
}
A:hover{
	color:#52b4c0;
}
A.read-more{
	margin-top: 5px;
	display:block;
}
ARTICLE{
	display:inline-block;
	width:100%;
}
ARTICLE P:last-of-type{
	margin-bottom:0;
}
ARTICLE P:first-of-type{
/*	this comes second so that it overrides in the case there is only one P*/
	margin-bottom:15px;
}
DIV{
}
H1, H2, H3 ,H4 , H5 , H6{
	display:inline-block;
	line-height:1;
	font-weight:600;
	margin:0;
}
H1{
	font-size:225%;
}
H2{
	font-size:200%;
}
H3{
	font-size:175%;
}
H4{
	font-size:150%;
}
H5{
	font-size:115%;
	color: #008899;
	margin-bottom: 10px;
}
H6{
	font-size:100%;
}
HR{
	display: block;
	height:1px; 
	border: 0 none;
    margin: 25px 0;
	background-color:#5d5e61;
    -webkit-margin-before: 0;
    -webkit-margin-after: 0;
    -webkit-margin-start: auto;
    -webkit-margin-end: auto;
}
IFRAME{
}
IMG{
	display:inline-block;
	vertical-align:middle;
}
IMG.alignleft,
IMG.aligncenter,
IMG.alignright,
IMG.alignnone{
	display:inline-block;
}
IMG.alignleft{
	float:left;
	margin: 0 15px 15px 0;
}
IMG.aligncenter{
	float:none;
	margin: 0 auto;
}
IMG.alignright{
	float:right;
	margin: 0 0 15px 15px;
}
IMG.alignnone{
	float:none;
	margin: 0 15px;
}
INPUT{
	/*defined later with the TEXTAREA*/
}
INPUT[type="submit"],
BUTTON,
.button{
	font-family: "Merriweather Sans", arial, sans-serif;
	padding:6px 10px 5px;
	border: 1px solid #5a5a5d;
	color:white;
	font-size:15px;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#494a4d+0,65666a+100 */
background: #494a4d; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzQ5NGE0ZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM2NTY2NmEiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  #494a4d 0%, #65666a 100%); /* FF3.6-15 */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#494a4d), color-stop(100%,#65666a)); /* Chrome4-9,Safari4-5 */
background: -webkit-linear-gradient(top,  #494a4d 0%,#65666a 100%); /* Chrome10-25,Safari5.1-6 */
background: -o-linear-gradient(top,  #494a4d 0%,#65666a 100%); /* Opera 11.10-11.50 */
background: -ms-linear-gradient(top,  #494a4d 0%,#65666a 100%); /* IE10 preview */
background: linear-gradient(to bottom,  #494a4d 0%,#65666a 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#494a4d', endColorstr='#65666a',GradientType=0 ); /* IE6-8 */
}
INPUT[type="submit"]:hover,
BUTTON:hover,
.button:hover{
	cursor:pointer;
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#65666a+0,494a4d+100 */
background: #65666a; /* Old browsers */
/* IE9 SVG, needs conditional override of 'filter' to 'none' */
background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzY1NjY2YSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM0OTRhNGQiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
background: -moz-linear-gradient(top,  #65666a 0%, #494a4d 100%); /* FF3.6-15 */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#65666a), color-stop(100%,#494a4d)); /* Chrome4-9,Safari4-5 */
background: -webkit-linear-gradient(top,  #65666a 0%,#494a4d 100%); /* Chrome10-25,Safari5.1-6 */
background: -o-linear-gradient(top,  #65666a 0%,#494a4d 100%); /* Opera 11.10-11.50 */
background: -ms-linear-gradient(top,  #65666a 0%,#494a4d 100%); /* IE10 preview */
background: linear-gradient(to bottom,  #65666a 0%,#494a4d 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#65666a', endColorstr='#494a4d',GradientType=0 ); /* IE6-8 */

}
.copyright A:hover {
    text-decoration: underline !important;
}
LABEL{
	font-size:80%;
}
LABEL.screen-reader-text{
	display:none;
}
P{
	margin: 0 0 15px 0;
	font-size:100%;
}
ARTICLE P:last-of-type{
	margin-bottom:0;
}
ARTICLE P:first-of-type{
/*	this comes second so that it overrides in the case there is only one P*/
	margin-bottom:15px;
}
INPUT, SELECT, TEXTAREA{
	font-family: "Merriweather Sans", arial, sans-serif;
	border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 4px 5px;
}
UL, OL{
	margin:0 0 0 20px;
	-webkit-margin-before: 0px;
    -webkit-margin-after: 0px;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;
}
.home-slider .soliloquy-outer-container,
.home-slider .soliloquy-container .soliloquy-caption .soliloquy-caption-inside,
.container{
	margin: 0 auto;
	clear:both;
	/* width:960px; */
	display:table; 
}
.widget{
	box-sizing: border-box;
	margin:0;
	padding:0;
}
#comments{

}
p.comment-form-comment label {
    width: 100%;
    display: block;
}
.page-id-199 h4 {
    font-size: 125%;
    color: #008899;
    margin-bottom: 10px;
}
#sidebar{
	display:none;
}
.gt1280,
.gt960,
.gt767,
.gt480{
	display:inline-block !important;
}
.lt1280,
.lt960,
.lt767,
.lt480{
	display:none !important;
}

/*Gravity Forms Defaults:*/
UL.gform_fields{
    list-style: none;
    margin: 0;
    padding: 0;
	display:block;
    -webkit-margin-before: 0px;
    -webkit-margin-after: 0px;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 0px;
}
UL.gform_fields LABEL{
	display:inline-block;
	margin: 5px 0;
	font-size:100%;
}
UL.gform_fields LI#field_1_1 LABEL{
	margin-top:0;
}
UL.gform_fields LI{
	/* display:table-row; */
}
UL.gform_fields LI.gf_left_half,
UL.gform_fields LI.gf_right_half{
	width: calc( (100% - 10px) / 2);
	float:left;
}
UL.gform_fields LI.gf_right_half{
	float:right;
}
UL.gform_fields INPUT,
UL.gform_fields TEXTAREA{
	width:100%;
	/* padding:5px; */
	box-sizing: border-box;
}
UL.gform_fields .gfield_html {
	clear:left;
}
UL.gform_fields .gfield_description{
	font-size:80%;
}
UL.gform_fields SELECT{
	clear:right;
	display:block;
}
UL.gfield_checkbox,
UL.gfield_radio{
	padding-left:0;
	list-style-type:none;
}
UL.gfield_checkbox LI,
UL.gfield_radio LI{
	display:block;
}
UL.gfield_checkbox LI LABEL,
UL.gfield_radio LI LABEL{
	margin: 0;
	float:left;
	font-size:80%;
	width:calc(100% - 20px);
	height:16px;
	display:inline-table;
}
UL.gfield_checkbox LI INPUT,
UL.gfield_radio LI INPUT{
	width:20px;
	padding: 0;
	margin:0;
	margin-top:3px;
	float:left;
	clear:left;
	box-sizing: content-box;
}
.gform_body .gform_validation_container{
	display:none;
	/*honeypot*/
}
IMG#gform_ajax_spinner_2{ 
	display:none; 
/*remove spinner*/
}

/*WooCommerce Compatibility:*/
BODY.woocommerce-page .entry-title,
BODY.woocommerce-page .page-title{
	display:block;
}
.woocommerce .woocommerce-breadcrumb{
	margin-top:15px;
}
.woocommerce ul.products li.product, 
.woocommerce-page ul.products li.product, 
.woocommerce-page[class*="columns-"] ul.products li.product, 
.woocommerce[class*="columns-"] ul.products li.product{
	margin-bottom:0;
}
.woocommerce #respond input#submit, 
.woocommerce a.button, 
.woocommerce button.button, 
.woocommerce input.button{
}
.woocommerce #respond input#submit:hover, 
.woocommerce a.button:hover, 
.woocommerce button.button:hover, 
.woocommerce input.button:hover{
	cursor:pointer;
}
/*Incompatible Browser Warning:*/
#incompatible_warning{
	width: 100%;
	display:none; 
	font-size:18px;
	text-shadow: 1px 1px 1px #000;
	text-align: center;
	line-height:45px;
}
.page article UL:not( .gform_fields) {
    padding-left: 20px;
    margin-bottom: 20px;
}
HTML[data-useragent*="IE 8"] #incompatible_warning,
HTML[data-useragent*="IE 7"] #incompatible_warning{
	display:inline-block;
}

/* IE6 and below */
* html #incompatible_warning  { display:inline-block; }
 
/* Opera 9.27 and below, safari 2 */
html:first-child #incompatible_warning { display:inline-block; }

/* Safari 2 - 3.1, Opera 9.25 */
*|html[xmlns*=""] #incompatible_warning { display:inline-block;  }

@media screen and (-webkit-min-device-pixel-ratio:0) { 
    /* Safari and Chrome */
    HTML #incompatible_warning{
        display:none;
    } 

    /* Safari only override */
    ::i-block-chrome,#incompatible_warning{
        display:inline-block;
    } 
}

/* Firefox */
	 HTML[data-useragent*="Firefox"] #incompatible_warning{ display:none !important; }


/*Basic Styles and Colors: Header*/
HEADER#header{
	display:block;
	border-top:18px solid #00b4cb;
}
HEADER#header .container{
	position:relative;
}
HEADER#header A{
	text-decoration:none;
}
HEADER#header .separator{
	display:inline-block;
}
HEADER#header .logo{
	display:inline-block;
	vertical-align:bottom;
}
HEADER#header .logo IMG {
	display:block;
	max-width: 100%;
	width:100%;
}
HEADER#header .widget-title{
	font-weight:bold;
	color:#008899;
}
HEADER#header .icons{
	display:flex;
	justify-content:space-between;
}

/*Basic Styles and Colors: Menu*/
NAV#menu #search{
	display:none;
}
NAV#menu .container{
	border-top:1px solid #cec6c8;
}
UL#menu-main-menu{
	display:flex;
	justify-content: space-between;
}
UL#menu-main-menu > LI{
	display:inherit;
	position:relative;
}
UL#menu-main-menu  > LI A{
	line-height:1;
	text-decoration:none;
	color:#2d292a;
	font-weight:bold;
}
UL#menu-main-menu > LI A:hover,
UL#menu-main-menu > LI.current_page_item > A,
UL#menu-main-menu > LI.current-menu-ancestor > A,
UL#menu-main-menu UL.sub-menu > li.current-menu-item > A
{
	color:#00b4cb;
}
UL#menu-main-menu UL.sub-menu > li {
    width: calc( 100% - 20px );
    margin: 0 10px 10px;
    padding: 0;
}

UL#menu-main-menu UL.sub-menu {
    z-index: 51;
    list-style: none;
    background-color: white;
    position: absolute;
    top: 100%;
    width: 250px;
    display: none;
    padding: 0 !important;
    margin-left: 0 !important;
    left: 0;
}
UL#menu-main-menu > LI:hover .sub-menu{ display: block !important;}


NAV#menu .menu-link A{
	color:#6d6e72;
	text-decoration:none;
}
	
/*Basic Styles and Colors: Home */
.home .home-slider{
	padding:30px 0;
	background: rgba(101,102,106,1);	
}
.home-slider .soliloquy-outer-container{
	display:block;
}
.home-slider .soliloquy-container .soliloquy-caption .caption{
	box-sizing:border-box;
	color:white;
}
.home-slider .soliloquy-container .soliloquy-caption H1{
	display:block;
	color:#00b4cb;
	background-color:white;
}
.home-slider .soliloquy-container .soliloquy-caption P{
	display:block;
	background-color:#00b4cb;
	color:white;
}
.home-slider .soliloquy-container .soliloquy-caption A:hover{
	text-decoration:underline;
}
.services .container{
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
}
.services .widget{
	border:1px solid #6d6e72;
	max-width:267px;
	box-sizing:Border-box;
}
.services .widget A{
	text-decoration:none;
}
.services .widget IMG{
	width:100%;
	max-width:100%;
	height:auto;
}
.services .widget .widget-title{
	width:100%;
	display:block;
	background-image:url(../images/service-title.png);
	background-repeat:no-repeat;
	background-position:bottom left;
	color:white;
	font-weight:bold;
	height:35px;
	line-height:35px;
	box-sizing:border-box;
}
#welcome ARTICLE{
	box-sizing:border-box;
	border: 1px solid #d5d5d5;
	background-color:#f5f5f5;
	padding:14px;
}
#middle .home-1{
	box-sizing:border-box;
}

#middle .home-1 p {font-size: 16px;}

.home .entry-title{
/*override all other page title definitions for the home page*/
	color:#00b4cb;
	font-weight:bold;
}
#middle .home-2{
	box-sizing:border-box;
}
.home-2 .home-sidebar-1{
	width:100%;
	box-sizing:border-box;
	background-color:#6d6e72;
	position:relative;
}
.home-2 .home-sidebar-1 .widget-title{
	color:white;
	font-weight:bold;
}
.home-2 .home-sidebar-1 A{
	text-decoration:none;
	color:#5adbeb;
}
.home-2 .home-sidebar-1 A:hover{
	text-decoration:underline;
}
.home-2 .home-sidebar-1 IFRAME{
}
.home-1 a.post-edit-link {
    display: none;
}
.home-2 .home-sidebar-2{
	width:100%;
	box-sizing:border-box;
	background-color:#00b4cb;
	padding:15px;
}
/*Drop-in code for homepage Gravity Form*/
	.home-sidebar-2 .gform_title{
		display:inline-block;
		color:white;
		font-weight:bold;
	}
	.home-sidebar-2 .gform_description{
		display:inline-block;
		color:white;
	}
	.home-sidebar-2 .gform_body{
		display:inline-block;
	}
	.home-sidebar-2 UL.gform_fields LABEL{
		display:none;
	}
	.home-sidebar-2 UL.gform_fields INPUT{
	}
	.home-sidebar-2 .gform_footer{
		display:inline-block;
	}
	.home-sidebar-2 INPUT[type="submit"]{
		display:block;
	}

/*Basic Styles and Colors: Generic Middle and Backpages*/
.page_top{
	padding:30px 0;
	background: rgba(101,102,106,1);
}
.page_top .container{
	position:relative;
}
.page_top_img{
	width: 100%;
    max-width: 100%;
}
BODY:not(.home) HEADER.header A{
	text-decoration:none;
}
BODY:not(.home) HEADER.header .entry-title{
	color:#00b4cb;
	font-weight:bold;
}
BODY:not(.home) ARTICLE{
/*all backpages' ARTICLEs*/
	box-sizing:border-box;
	padding:0;
}
BODY.page ARTICLE:last-of-type P:last-of-type{
	/* .page because that EXCLUDES search/404 */
	margin-bottom:0;
}
BODY:not(.home) ARTICLE ARTICLE{
/*nested ARTICLEs occur only on
search (results) and custom post category display pages*/
	border: 0 none;
	border-bottom:1px solid #5d5e61;
}
BODY:not(.home) ARTICLE ARTICLE:last-of-type{
	border-bottom: 0;
	padding-bottom:0;
}

/*Basic Styles and Colors: Search Results Page*/
BODY.search.search-results ARTICLE ARTICLE:first-of-type{
	padding-top:0;
}
BODY.search.search-results ARTICLE ARTICLE:last-of-type{
	padding-bottom:0;
}
BODY.search.search-results ARTICLE ARTICLE P{
	margin-bottom:0;
}
.search-results .result-title A,
.search-results .result-title A:hover{
	font-weight:normal;
	display:block;
	text-decoration:none;
}
FORM[role="search"] INPUT[type="text"]{
	width:  calc( 100% - 100px);
	/* padding: 5px 0;	 */
}
FORM[role="search"] INPUT[type="submit"]{
	float:right;
	margin-top:0;
}

/*Basic Styles and Colors: Custom Blog Feed Page: */
.blog_content ARTICLE{
	border-top:1px solid #5d5e61;
}
ARTICLE ARTICLE.custom_post P:last-of-type{
	margin-bottom:15px;
}
.custom_post .thumbnail{
}
NAV.custom-pagination,
NAV#nav-below{
	text-align:Center;
}
NAV.custom-pagination .page-numbers.page-num{
	clear:both;
	display:block;
}

/*Basic Styles and Colors: Single Post Page:*/
BODY.single ARTICLE{
}
BODY.single .entry-title A,
BODY.single .entry-title A:hover{
	text-decoration:none;
	display:block;
}
.single .entry-content .attachment-post-thumbnail,
.single .entry-content .wp-post-image{
	max-width:100%;
	width:100%;
	height:auto;
}
.single .entry-meta,
.single FOOTER.entry-footer,
.single #nav-below{
	display:none;
}

/*Basic Styles and Colors: Contact Page:*/
.contact_left, .contact_right{
}
.contact_right{
}
.contact_right INPUT[type="submit"]{
}

/*Basic Styles and Colors: Footer*/
FOOTER#footer{
	display:block;
	clear:both;
	color:white;
	background-color:#323f41;
}
FOOTER#footer A{
	color:white;
	text-decoration:none;
}
FOOTER#footer A:hover{
	color:white;
	text-decoration:underline;
}
FOOTER#footer .widget{
	display:inline-block;
}
FOOTER#footer .logos{
	display:flex;
	justify-content:space-between;
}
FOOTER#footer .copyright{
	clear:both;
	display:block;
}
FOOTER#footer .copyright .container{
	border-top:1px solid #88bac0;
}
FOOTER#footer .copyright A,
FOOTER#footer .copyright A:hover{
	text-decoration:none;
}
FOOTER#footer .separator{
	display:inline-block;
}
.home-slider .soliloquy-container .soliloquy-prev , .home-slider .soliloquy-container .soliloquy-next{ display: none; }
.home-slider .soliloquy-container:hover .soliloquy-prev , .home-slider .soliloquy-container:hover .soliloquy-next{ display: block; }
nav#menu {
    padding-top: 25px;
}

FOOTER#footer .copyright EM {
    font-size: 88%;
}
.page-id-214 h5 {
    margin-top: 10px;
}
.page-id-216 section > UL > LI {
    list-style-image: url(../images/gf-bullet.png);
}
.page.page-id-216 section > UL {
    padding-left: 48px;
}
.page.page-id-216 #middle UL UL {
    margin-bottom: 0;
}

.page.page-id-216 #middle UL LI {
    margin-bottom: 7px;
}

.page.page-id-216 #middle .twocols IMG{ margin: 0; max-width:100%; }
BODY.page ARTICLE:last-of-type P:last-of-type + .colsWrapperFull {
    margin-top: 20px;
}

a.button.special {
    color: #fff;
    width: calc( 100% - 22px );
    display: block;
    text-align: center;
    text-decoration: none;
}

.logged{ display: none !important; }
.logged-in .notlogged{ display: none !important; }
.logged-in .logged{ display: inherit !important; }

.page-id-205 .read-more{ display:  none; }
.page-id-205 .read-more.special{ display:  block; }

header#header .logos {
    float: right;
}

.fourcols{
	width: calc( ( 100% / 4 ) - ( 60px / 4 ) );
}
.fourcols.left, .fourcols.middle{
	float: left;
	margin-right: 20px;	
}
.fourcols.right{ float: right;}

.fivecols{
	width: calc( ( 100% / 5 ) - ( 80px / 5 ) );
}

.fivecols.left, .fivecols.middle{
	float: left;
	margin-right: 20px;
}
.fivecols.right{ float: right;}
.twocols.onethird{ width: calc( ( 100% / 3 ) - ( 20px / 2 ) ); }
.twocols.twothird{ width: calc( ( ( 100% / 3) * 2 ) - ( 20px / 2 ) ); }
.twocols.onefourth{ width: calc( ( 100% / 4 ) - ( 20px / 2 ) ); }
.twocols.threefourth{ width: calc( ( ( 100% / 4) * 3 ) - ( 20px / 2 ) ); }



.textleft{ text-align: left !important; }
.textright{ text-align: right !important; }
.textcenter{ text-align: center !important; }

img.gfield_captcha {
    width: 96px;
    height: 27px;
    float: left;
}

.gfield_captcha_input_container.simple_captcha_medium {
    float: right;
    width: calc( 100% - 96px - 10px );
}

.gfield_captcha_container {
    display: inline-block;
    width: 100%;
    margin-top: 10px;
}


/* Landing Page */
.page-template-landingpage header.header h1 {
    display: none;
}
.page-template-landingpage .entry-content .twocols.left h2 {
    font-size: 25px;
    color: #00b4cb;
    margin-bottom: 3px;
    line-height: 1.4;
    margin-top: -6px;
}
.page-template-landingpage .gform_wrapper {
    background: #00b4cb;
    padding: 16px 20px 20px;
    color: #fff;
}
.page-template-landingpage UL.gform_fields LABEL {
    margin: 15px 0 5px;
}

.page-template-landingpage .gform_footer.top_label {
    margin-top: 14px;
}

.page-template-landingpage a.post-edit-link {
    display: none;
}

.customTop {
    line-height: 1.25;
    width: 400px;
    position: absolute;
    bottom: 0;
    right: 0;
    margin: 0 5px 35px 0;
}

.customTop H1 {
    margin-bottom: 10px;
    width: 100%;
    font-size: 30px;
    line-height: 1;
    padding: 13px 18px;
    box-sizing: border-box;
    text-align: right;
    display: block;
    color: #00b4cb;
    background-color: white;
}

.customTop .text {
    width: 100%;
    font-size: 17px;
    line-height: 1.4;
    padding: 15px 18px;
    box-sizing: border-box;
    text-align: right;
    display: block;
    background-color: #00b4cb;
    color: white;
}
.customTop .text A{ color: #fff; text-decoration: none; }
.customTop .text A:hover{ text-decoration: underline; }

.page-template-landingpage .gform_heading {
    text-align: center;
}
.page-template-landingpage .gform_footer.top_label input[type="submit"] {
    width: 100%;
}

.header-3 {
    text-align: initial;
    float: none;
    width: 100%;
    margin-bottom: 20px;
}

.header-3 img {
    padding: 0;
    margin: 0;
}

/*Responsive Structures:*/
@media only screen and (min-width: 0px) {
/*Initial Structures load first:*/
	.container{
		width: 960px;
	}
	
	/*Structures: Header*/
	HEADER#header{
		padding:25px 0 0;
		box-shadow: 0px -13px 54px 12px rgba(0,0,0,.8);
		position: relative;
	}
	HEADER#header .separator{
		margin: 0 5px;
	}
	HEADER#header .logo{
		position:relative;
		float:left;
	}
	HEADER#header .widget{
		font-size:17px;
		text-align:right;
		float:right;
	}
	HEADER#header .widget-title{
		font-size:18px;
	}
	HEADER#header .header-1{
		margin-bottom:15px;
		margin-top: 13px;
	}
	HEADER#header .icons{
		width:240px;
		float:right;
		margin-top:15px;
	}
	
	/*Structures: Menu*/
	NAV#menu .container{
		position:relative;
	}
	UL#menu-main-menu{		
		margin:0;
		padding:0;
	}
	UL#menu-main-menu > LI{
		margin:0;
	}
	UL#menu-main-menu  > LI > A{
		padding:23px 0;
		font-size:18px;
	}
	NAV#menu .menu-link{
		font-size:18px;
		padding:23px 0;
		line-height:1;
		position:absolute;
		right:0;
		top: 0;
	}
	.main-menu li:last-of-type{ padding-left: 85px; }
	UL#menu-main-menu  > LI:last-of-type > A{ color: #6d6e72; font-weight: 400; }
	UL#menu-main-menu  > LI:last-of-type > A:hover, UL#menu-main-menu  > LI.current_page_item:last-of-type > A{
		color: #00b4cb;	
	}

	/*Structures: Home */
	.home-slider .soliloquy-container .soliloquy-caption.soliloquy-caption-bottom{
		bottom:0px;
		height:100%;
	}
	.home-slider .soliloquy-container .soliloquy-caption .soliloquy-caption-inside{
		background-color:transparent;
		padding:0;
		height:100%;
	}
	.home-slider .soliloquy-container .soliloquy-caption .caption{
		line-height:1.25;
		width:400px;
		position:absolute;
		bottom: 0;
		right: 0;
		margin: 0 5px 35px 0;
	}
	.home-slider .soliloquy-container .soliloquy-caption H1{
		margin-bottom:10px;
		width:100%;
		font-size:30px;
		line-height:1;
		padding:13px 18px;
		box-sizing:border-box;
		text-align:right;
	}
	.home-slider .soliloquy-container .soliloquy-caption P{
		width:100%;
		font-size:17px;
		line-height:1.4;
		padding:15px 18px 5px;
		box-sizing:border-box;
		text-align:right;		
	}
	.home-slider .soliloquy-container .soliloquy-caption P:last-of-type{
		padding-bottom:20px;
	}
	.services{
		padding:0;
	}
	.services .widget{
		width: calc( (100% - 20px) / 2);
		/*100% - 3*margin-right*/
		position:relative;
		float:left;
	}
	.services .widget.service-2{
		float:right;
	}
	.services .widget .widget-title{
		text-align:left;
		position:absolute;
		bottom:0;
		left:0;
		font-size:17px;
		padding: 0 10px;
	}
	#welcome{
		padding: 30px 0;
	}
	#welcome ARTICLE{
		margin-top:20px;
		max-height: 318px;
	}
	#middle .home-1{
		width:calc(100% - 390px - 20px);
		float:left;
		padding:0;
	}
	.home .entry-title{
		font-size:22px;
		margin-bottom:10px;
	}
	.home-1 ARTICLE IMG{
		float:left;
		position:Relative;
		top:-55px;
		left:-22px;
		max-height: 337px;
	}
	.home-1 P{
		display:table;
	}
	.home-1 HEADER.header{
		float: right;
		text-align: left;
		width: calc(100% - 225px);
	}	
	.home-1 .entry-content{ width: 100%; display: inline-block; }	
	
	
	#middle .home-2{
		width:390px;
		float:right;
		padding:0;
	}
	.home-2 .home-sidebar-1{
		margin-bottom:20px;
		padding:15px;
	}
	.home-2 .home-sidebar-1 .widget-title{
		font-size:22px;
		margin-bottom:10px;
	}
	.home-2 .home-sidebar-1 A{
		position:absolute;
		top: 20px;
		right:15px;
		font-size:14px;
	}
	/*Drop-in code for homepage Gravity Form*/
		.home-sidebar-2 .gform_title{
			margin-bottom:5px;
			font-size:22px;
			text-align:Center;
			display:block;
		}
		.home-sidebar-2 .gform_description{
			margin-bottom:10px;
			text-align:Center;
		}
		.home-sidebar-2 .gform_body{
			width: 100%;
		}
		.home-sidebar-2 UL.gform_fields INPUT{
			margin-bottom:10px;
		}
		.home-sidebar-2 .gform_footer{
			width: 100%;
		}
		.home-sidebar-2 INPUT[type="submit"]{
			margin: 0 auto;
		}
	
	/*Structures: Generic Middle and Backpages*/
	BODY:not(.home) HEADER.header{
		margin-top:20px;
	}
	BODY:not(.home) HEADER.header .entry-title{
		font-size:25px;
		margin-bottom:10px;
	}
	BODY:not(.home) ARTICLE{
		padding: 0 0 20px 0;
	}
	BODY:not(.home) ARTICLE ARTICLE{
		padding:20px 0;
	}
		BODY:not(.home) ARTICLE ARTICLE:first-of-type{
		padding:0px 0 20px;
	}	
	
	
	BODY:not(.home) ARTICLE ARTICLE HEADER.header{
		margin:0;
	}
	
	/*Structures: 404 page*/
	BODY.error404 HEADER.header{
	}
	BODY.error404 HEADER.header .entry-title{
	}
	BODY.error404 ARTICLE{
	}
	
	/*Structures: Search Results Page*/
	BODY.search HEADER.header{
	}
	BODY.search HEADER.header .entry-title{
	}
	BODY.search ARTICLE{
	}
	BODY.search.search-results ARTICLE ARTICLE{
	}
	BODY.search:not(.home) ARTICLE ARTICLE HEADER.header{
	}
	BODY.search:not(.home) ARTICLE ARTICLE HEADER.header .entry-title{
		
	}
	.search-results .result-title A,
	.search-results .result-title A:hover{
		font-size:20px;
		margin-bottom:10px;
	}
	
	/*Structures: Custom Blog Feed Page: */
	BODY.page:not(.home) ARTICLE ARTICLE.custom_post HEADER.header{
		margin-top: 0;
	}
	BODY.page:not(.home) ARTICLE ARTICLE.custom_post HEADER.header .entry-title{
		font-size:18px;
	}
	.blog_content .entry-title,
	.blog_content .entry-title:hover{
	}
	.blog_content ARTICLE{
		padding: 10px 0;
	}	
	.custom_post .thumbnail{
		float:left;
		margin-right:15px;
	}
	
	/*Structures: Single Post Page:*/
	BODY.single ARTICLE{
		padding:0px 0 20px;
	}
	BODY.single .entry-title A,
	BODY.single .entry-title A:hover{
		margin-bottom:10px;
		font-size:20px;
	}
	.single .entry-content .attachment-post-thumbnail,
	.single .entry-content .wp-post-image{
		margin-bottom:20px;
	}
	
	/*Structures: Contact Page:*/
	.contact_left, .contact_right{
		width: calc( (100% - 20px) / 2 );
		float:left;
	}
	.contact_right{
		float:right;
	}
	.contact_right INPUT[type="submit"]{
		margin-top:10px;
	}
	
	/*Structures: Footer*/
	FOOTER#footer{
		padding:0;
	}
	FOOTER#footer .widget{
		padding:20px 0;
	}
	FOOTER#footer .footer-1{
		float:left;
	}
	FOOTER#footer .footer-2{
		float:right;
		text-align:right;
	}
	FOOTER#footer .logos{
		width:190px;
		float:right;
	}
	FOOTER#footer .copyright{
		text-align:center;
		padding:0;
	}
	FOOTER#footer .copyright .container{
		padding:20px 0;
	}
	FOOTER#footer .separator{
		margin: 0 10px;
	}
}



@media only screen and (max-width: 1279px) {
/*wide-screen desktop computers and high-resolution mobile devices*/
	.container{
		width: 960px;
	}
	.gt1280{
		display:none !important;
	}
	.lt1280{
		display:inline-block !important;
	}
}

@media only screen and (max-width: 979px) {
	UL#menu-main-menu  > LI > A{ font-size: 14px; }

		
	
	
		#welcome{
		padding: 30px 0 15px;
		margin-bottom: 0px;
	}
	.services .widget .widget-title{ font-size: 11px; }
		.home-1 ARTICLE IMG{
		float:right;
		position: static; 
		top:0px;
		left:0px;
		width: 135px;
		margin-top: -52px;
	}
	.home-1 P{
		display:block;
	}
	.home-1 HEADER.header{
		float: left;
		text-align: left;
		width: 100%;
	}	
/*desktop computers and modern mobile devices*/
	.container{
		width: 748px;
	}
	.home-slider .soliloquy-wrapper{
		max-width: 748px !important;
		margin: 0 auto !important;
	}
	
	#welcome ARTICLE {max-height: 390px;}
#middle .home-1 p, body {font-size: 16px;}

	/*Structures: Header*/



	
	/*Structures: Menu*/
.main-menu li:last-of-type{ padding-left: 0px; }
	
	/*Structures: Home */

	#welcome{
		padding: 30px 0 20px;
	}

	.gt960{
		display:none !important;
	}
	.lt960{
		display:inline-block !important;
	}
	HEADER#header .widget-title{ font-size: 15px; }
	HEADER#header .widget{ font-size: 15px; float: none; margin-top: 4px; }
	HEADER#header .logo{  }
		HEADER#header .separator{
		display:table-column;
	}
	.logged-in UL#menu-main-menu > LI > A {
	font-size: 14px;
}
.logged-in UL.sub-menu A {
	font-size: 13px;
}

.colsWrapperFull.specialMenu .fourcols{ width: calc( ( 100% / 2 ) - 10px ); }
.colsWrapperFull.specialMenu .fourcols:nth-child( 1 ),
.colsWrapperFull.specialMenu .fourcols:nth-child( 3 ){ float: left; margin-right: 20px; }
.colsWrapperFull.specialMenu .fourcols:nth-child( 2 ),
.colsWrapperFull.specialMenu .fourcols:nth-child( 4 ){ float: right; margin-right: 0; }

.colsWrapperFull.specialMenu .fourcols:nth-child( 1 ),
.colsWrapperFull.specialMenu .fourcols:nth-child( 2 ){ margin-bottom: 20px; }


}

@media only screen and (max-width: 767px) {
	.customTop .text {
    text-align: center;
}
.page-template-landingpage .twocols.right.onethird {
    margin-bottom: 0;
}

.page-template-landingpage .twocols.left.twothird {
    margin-bottom: 20px;
}
.customTop H1 {
    text-align: center;
    font-size: 22px; 
}
	.customTop {
    line-height: 1.25;
    bottom: 0;
    right: 0;
    margin: 0 5px 35px 0;
    margin: 0;
    position: relative;
    width: 100%;
}
	.colsWrapperFull.specialMenu .fourcols{ width: 100%; }

.colsWrapperFull.specialMenu .fourcols:nth-child( 1 ),
.colsWrapperFull.specialMenu .fourcols:nth-child( 2 ),
.colsWrapperFull.specialMenu .fourcols:nth-child( 3 ),
.colsWrapperFull.specialMenu .fourcols:nth-child( 4 ){ float: none; margin: 0 0 20px; }
.colsWrapperFull.specialMenu .fourcols:nth-child( 4 ){ margin-bottom: 0; }
	header#header .logos .logo {
    float: left;
    width: auto;
    margin: 20px 0 0;
}
header#header .logos {
    float: none;
    display: table;
    margin: 0 auto;
}

		.services .widget .widget-title{ font-size: 12px; }
	
		#middle .home-1{ 
		width:100%;
		float:none;
	}
	#middle .home-2{
		width:100%;
		float:none;
		margin: 15px auto 0;
	}
	.home-2 .home-sidebar-1{
		margin-bottom:20px;
		padding:15px;
	}
	.home-2 .home-sidebar-1 .widget-title{
		font-size:22px;
		margin-bottom:10px;
	}
	.home-2 .home-sidebar-1 A{
		position:absolute;
		top: 20px;
		right:15px;
		font-size:14px;
	}
		HEADER#header .logo{
		float:none;
		display:table;
		margin:0 auto 20px;
		width: 100%;
	}
		HEADER#header .widget{
		font-size:17px;
		text-align:center;
		float:none;
	}
	HEADER#header .widget-title{ font-size: 16px;}
		HEADER#header .icons{
		width:250px;
		float:none;
		margin-top:15px;
		margin: 15px auto 0;
	}
	HEADER#header{ padding: 25px 0px; }
/*Tablets*/
	.container{
		width: 420px;
	}
	.home-slider .soliloquy-wrapper{
		max-width: 420px !important;
		margin: 0 auto !important;
	}
	/*Structures: Header*/
	HEADER#header .header-1 {
		font-size: 16px;
	}
	HEADER#header .widget-title{
		font-size: 14px;
	}

#welcome ARTICLE {max-height: 390px;}
#middle .home-1 p, body {font-size: 15px;}
	
	/*Structures: Home */
	.home-slider .soliloquy-viewport {
		display: table;
		display: block;
	}
	.home-slider .soliloquy-container .soliloquy-caption.soliloquy-caption-bottom{
		position:relative;
	}
	.home-slider .soliloquy-container .soliloquy-caption .caption {
		line-height: 1.25;
		bottom: 0;
		right: 0;
		margin: 0 5px 35px 0;

		margin: 0;
		position: relative;
		width: 100%;
	}
	.home-slider .soliloquy-container .soliloquy-caption H1{
		text-align:center;
		font-size:22px;
	}
	.home-slider .soliloquy-container .soliloquy-caption P{
		text-align:center;
	}
	
	#welcome ARTICLE{
		height:auto;
	}
	.home-2 .home-sidebar-1 .widget-title{
		font-size:20px;
	}
	.home-sidebar-2 .gform_title{
		font-size:20px;
	}
	
	/*Structures: Contact Page:*/
	.contact_left, 
	.contact_right{
        width: 100%;
        float: none;
        clear: both;
        display: table;
	}
	.contact_left{
        margin: 0px auto 20px;
	}
	.contact_right INPUT[type="submit"]{
	}

	/*Structures: Footer*/
	FOOTER#footer .footer-1{
		float:none;
		text-align:Center;
		width:100%;
		padding-bottom:0;
	}
	FOOTER#footer .footer-2{
		float:none;
		text-align:Center;
		width:100%;
	}
	FOOTER#footer .logos{
		float:none;
		margin: 0 auto;
	}
	.gt767{
		display:none !important;
	}
	.lt767{
		display:inline-block !important;
	}
	.home-slider .soliloquy-container .soliloquy-prev , .home-slider .soliloquy-container .soliloquy-next{ margin-top: -110px; }
}

@media only screen and (max-width: 479px) {
			.services .widget .widget-title{ font-size: 17px; }
		.services .widget.service-1{
		margin: 0 20px 0 calc( (100% - 267px - 20px - 267px) / 2);
	}
	.services .widget.service-2{
		float:left;
	}
	.services .widget.service-1,
	.services .widget.service-2{
		margin: 0 auto;
		float:none;
	}
	.services .widget.service-1{
		margin: 0 auto 20px;
	}
	.services .widget{
		width:100%;
		float:none;
		margin: 0 auto;
	}
	.services .widget{ max-width: 300px; }
	.services .widget .widget-title{ background-size: 100% 36px; }
/*Phones and older mobile devices*/
	.container{
		width: 300px;
	}
	.home-slider .soliloquy-wrapper{
		max-width: 300px !important;
		margin: 0 auto !important;
	}
	
	#welcome ARTICLE {max-height: 390px;}
#middle .home-1 p, body {font-size: 14px;}

	/*Structures: Header*/
	HEADER#header .header-1 {
		font-size: 16px;
	}
	HEADER#header .widget-title{
		font-size: 14px;
	}
	HEADER#header .separator{
		display:table-column;
	}
	
	/*Structures: Home */
	.home-slider .soliloquy-container .soliloquy-caption H1{
		text-align:center;
		font-size:22px;
	}
	.home-slider .soliloquy-container .soliloquy-caption P{
		text-align:center;
	}
	#welcome ARTICLE{
		height:auto;
	}
	.home-1 HEADER.header {
		float: none;
		width: 100%;
	}
	.home-1 ARTICLE IMG{
		display:none;
	}

	FOOTER#footer .separator{
		display:table-column;
	}
	.gt480{
		display:none !important;
	}
	.lt480{
		display:inline-block !important;
	}
}