/* Front Page
---------------------------------------------------------------------------------------------------- */

.front-page .site-container {
	background-color: #fff;
}

.front-page .site-inner {
	margin-bottom: 0;
	margin-top: 90px;
	max-width: 100%;
}

.full-width-content.front-page .content  {
	width: 100%;
}

.front-page .wrap {
	max-width: 1200px;
}

.front-page .site-header .wrap {
	max-width: 100%;
}

.front-page .button {
	padding: 15px 20px;
}

.nav-primary .consult a {
	padding: 8px 15px !important;
	color: #FFFFFF !important;
	font-size: 16px !important;
	font-weight: 700;
}

.image-section button,
.image-section input[type="button"],
.image-section input[type="reset"],
.image-section input[type="submit"],
.image-section .button,
.image-section .more-link {
	background-color: #fff;
	border-width: 0;
	color: #000;
}

.image-section button:hover,
.image-section button:focus,
.image-section input[type="button"]:hover,
.image-section input[type="button"]:focus,
.image-section input[type="reset"]:hover,
.image-section input[type="reset"]:focus,
.image-section input[type="submit"]:hover,
.image-section input[type="submit"]:focus,
.image-section .button:hover,
.image-section .button:focus,
.image-section .more-link:hover,
.image-section .more-link:focus {
	background-color: #0066cc;
	border-width: 0;
	color: #fff;
}

.front-page-4 .widget-title {
	font-family: 'Helvetica Neue', sans-serif;
	font-size: 16px;
	font-size: 4.5rem;
	font-weight: 500;
	letter-spacing: -0.5px;
	margin-bottom: 10px;
	text-transform: uppercase;
	padding-bottom: 6rem;
}


/* Flexible Widgets
---------------------------------------------------------------------------------------------------- */

.front-page .flexible-widgets {
	margin-left: auto;
	margin-right: auto;
	padding-bottom: 100px;
	padding-top: 80px;
}

.flexible-widgets .widget {
	float: left;
	margin-bottom: 40px;
	padding-left: 40px;
	padding-right: 40px;
}

.flexible-widgets .widget:last-of-type {
	margin-bottom: 0;
}

.flexible-widgets.widget-halves .widget:last-of-type {
	margin-bottom: 20px;
}

.flexible-widgets.widget-full .widget,
.flexible-widgets.widget-area .widget:nth-of-type(1),
.flexible-widgets.widget-halves.uneven .widget:last-of-type {
	width: 100%;
}

.flexible-widgets.widget-fourths .widget {
	width: 25%;
}

.flexible-widgets.widget-halves .widget {
	width: 50%;
}

.flexible-widgets.widget-thirds .widget {
	width: 33.33%;
}

.flexible-widgets.widget-halves .widget:nth-child(even),
.flexible-widgets.widget-thirds .widget:nth-child(3n+2),
.flexible-widgets.widget-fourths .widget:nth-child(4n+2) {
	clear: left;
}


/* Comment Elements
---------------------------------------------------------------------------------------------------- */

.front-page-3 .flexible-widgets.widget-full .widget,
.front-page-3 .flexible-widgets.widget-area .widget:nth-of-type(1),
.front-page-4 .flexible-widgets.widget-full .widget,
.front-page-4 .flexible-widgets.widget-area .widget:nth-of-type(1) {
	margin-bottom: 0;
}

.front-page-2 .flexible-widgets.widget-full .widget,
.front-page-2 .flexible-widgets.widget-area .widget:nth-of-type(1) {
	margin-bottom: 10px;
}

.front-page-2 .flexible-widgets .widget_text:nth-of-type(1)::after,
.front-page-3 .flexible-widgets .widget_text:nth-of-type(1)::after,
.front-page-4 .flexible-widgets .widget_text:nth-of-type(1)::after {
	border-bottom: 0px solid #000;
	content: "";
	display: block;
	margin-bottom: 10px;
	padding-bottom: 10px;
	width: 2.5%;
}

.front-page-2 .flexible-widgets .widget:nth-of-type(1) .widget-title,
.front-page-3 .flexible-widgets .widget:nth-of-type(1) .widget-title,
.front-page-4 .flexible-widgets .widget:nth-of-type(1) .widget-title {
	font-family: 'Helvetica Neue', sans-serif;
	font-size: 48px;
	font-size: 4.8rem;
	font-weight: 900;
	letter-spacing: -1px;
	line-height: 1;
	margin-bottom: 5px;
	text-transform: none;
}


/* Front Page 1
---------------------------------------------------------------------------------------------------- */

.front-page-1 {
	background-color: #FFF;
	background-position: 50% 40%;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size:    cover;
	background-size:         cover;
	border-bottom: 0px solid rgba(31, 59, 71, 0.95);
}

.front-page-1 .flexible-widgets {
	overflow: hidden;
	padding-bottom: 0px;
	margin-bottom: -15px;
	padding-top: 20px;
	background-color: #FFF;
}


.front-page-1,
.front-page-1 p,
.front-page-1 .widget-title {
	color: #fff;
	font-weight: 200;
}

.front-page-1 .widget-title {
	font-family: 'Helvetica Neue', sans-serif;
	font-size: 60px;
	font-size: 6rem;
	font-weight: 900;
	letter-spacing: -1px;
	line-height: 1;
	margin-bottom: 10px;
	padding-right: 10%;
	text-transform: none;
}

/*.front-page-1 p {
	font-size: 14px;
	font-size: 1.4rem;
	margin-bottom: 40px;
}*/

.front-page-1 .lead {
	font-weight: 400;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.front-page-1 a {
	text-decoration: none;
	border-bottom: 0px !important;
}


.front-page-1 .textwidget .banner-top {
	width: 100%;
	display: table;
	height: 17px;
	background-image: url(images/header-bottom.jpg);
	background-repeat: repeat-x;
}

.front-page-1 .textwidget .atx-ad-link {
	text-align: center;
	width: 100%;
	display: table;
}

.front-page-1 #text-17 .textwidget {
	margin-bottom: 15px !important;
	padding-bottom: 0px;
	/* background-color: #072E57 !important; */
}

.front-page-1 img {
	height: auto;
	width: 100%;
	/*max-width: 1800px;*/
}

.front-page-1 .flexible-widgets .widget-wrap {
    padding: 0px !important;
	margin: 0px !important;
	line-height: 0 !important;
}

.front-page-1 .flexible-widgets .widget {
    padding: 0px !important;
	margin: 0px !important;
}

.front-page-1 .wrap {
    padding-left: 0px;
    padding-right: 0px;
	width: 100%;
	max-width: 100%;
	border-top: 3px solid #015989;
}

.front-page-1 .widget p  {
	text-align: left !important;
}

.front-page-1 #text-21 .textwidget {
	margin: 0px !important;
	padding: 0px !important;
	border-top: 4px solid rgba(247, 134, 14, 0.75); 
}

.front-page-1 #text-21 .textwidget img {
	margin: 0px auto 10px!important;
	padding: 0px !important;
}

/* Front Page 2
---------------------------------------------------------------------------------------------------- */



.front-page-2
{
	/*margin-top: -54px;*/
	-webkit-background-clip: padding-box;
	-moz-background-clip:    padding;
	background-clip:         padding-box;
	position: relative;
	z-index: 9;
	background-image: url(images/headerwave4.jpg);
	background-position: bottom;
	background-repeat: no-repeat;
	background-size:100% auto; 
	padding-bottom: 90px;
}

.front-page-2 {
	margin-left: auto;
	margin-right: auto;
	margin-top: 0;
	position: relative;
	background-color: #017ac3;
	color: whitesmoke;
	padding-top: 40px;
	 border-top: 4px solid rgba(247, 134, 14, 0.75); 

}

.front-page-2 h2 {
	color: #FFF;
}
.front-page-2 h4 {
	font-size: 34px;
	font-size: 3.4rem;
	font-weight: 400;
	line-height: 1.5;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.front-page-2 .wrap {
	padding: 0 5%;
}

.front-page-2 h3 {
	line-height: 1.5;
	margin-bottom: 20px;
}
.front-page-2 p {
	margin-bottom: 15px;
}
.front-page-2 .flexible-widgets {
	padding: 0;
}

.front-page-2 .flexible-widgets .widget {
  margin: 0 0 20px;
}

.front-page-2 .image-section .widget-area {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

.front-page-2 .flexible-widgets .widget:nth-of-type(1) .widget-title, .front-page-3 .flexible-widgets .widget:nth-of-type(1) .widget-title, .front-page-4 .flexible-widgets .widget:nth-of-type(1) .widget-title {
	font-family: 'Helvetica Neue', sans-serif;
	font-size: 48px;
	font-size: 4.8rem;
	font-weight: 900;
	letter-spacing: -1px;
	line-height: 1;
	margin-bottom: 5px;
	text-transform: none;
}

.front-page-2 {
	color: whitesmoke;
}

.front-page-2 #homecta-image {
	display: inline-block;
	margin-right: 30px;
	width: 20%;
	max-width: 179px;
}

.front-page-2 #homectaright {
	display: inline-block;
	width: 70%;
	vertical-align: top;
	margin-top: 20px;
}


.front-page-2 h2.title {
	margin-top: 0;
}


/* Net Results Forms */

.front-page-2 .maForm {
	padding: 20px 0 0;
	font-size: 1.2em;
	color: #000;
	font-family: 'Muli', sans-serif;
}

.front-page-2 .maForm label {
	color: #FFFFFF;
}

.front-page-2 .maForm label .formRequiredLabel {
	color: rgba(246,134,13,1);
}

.front-page-2 .maForm .formText {
	padding: 10px;
	margin: 10px 0 0;
	height: auto !important;
	line-height: 150%;
	background-color: #FFF;
	color: #000;
	border: 1px solid #DEDEDE;
}

.front-page-2 .maForm .formTextarea {
	padding: 10px;
	margin: 5px 0 0;
	color: #000;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #DEDEDE;
}

.front-page-2 .maForm .formSubmit {
	background-color: rgba(246,134,13,1);
	display: inline-block;
	width: auto !important;
	font-size: 2.4rem;
	font-size: 24px;
}

.front-page-2 .maForm .formSubmit:hover {
	background-color: #D17207;
}

.front-page-2 form.maForm .maFormComboHalf {
    display: inline-block;
    width: 45%;
}

.front-page-2 form.maForm .maFormComboHalf label {
    display: block;
}

.front-page-2 form.maForm div.maFormComboHalf input.formText {
    width: 100%;
}

.front-page-2 .flexible-widgets .widget_text:nth-of-type(1)::after {
	margin-bottom: 0px;
	padding-bottom: 0px;
}

.front-page-2 .flexible-widgets .widget:nth-of-type(1) .widget-title, .front-page-3 .flexible-widgets .widget:nth-of-type(1) .widget-title, .front-page-4 .flexible-widgets .widget:nth-of-type(1) .widget-title {
	font-family: 'Helvetica Neue', sans-serif;
	font-size: 48px;
	font-size: 3.2rem;
	font-weight: 400;
	letter-spacing: -1px;
	line-height: 1;
	margin-bottom: 10px;
	text-transform: none;
	text-align: center;
}

.widget p:last-of-type, .widget ul > li:last-of-type, .widget-area .widget:last-of-type {
	margin-bottom: 0;
	text-align: center;
}




/* Front Page 3
---------------------------------------------------------------------------------------------------- */

.front-page-3 {
	background-color: #000;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	-webkit-background-size: cover;
	-moz-background-size:    cover;
	background-size:         cover;
}

.front-page-3 h2, .front-page-3 h3, .front-page-3 h4 {
	color: #FFF;
}

.front-page-3 h3.widget-title {
	padding-bottom: 20px;
}

.front-page-3 .flexible-widgets .widget:nth-of-type(1) p {
	font-size: 18px;
	font-size: 1.8rem;
	margin-bottom: 20px;
}

.front-page-3 p {
	font-size: 14px;
	font-size: 1.4rem;
}

.front-page-3,
.front-page-3 p,
.front-page-3 .widget-title {
	color: #fff;
	font-weight: 200;
}

.front-page-3 .textwidget .one-fourth {
	padding: 0 2%;
}

.front-page-3 .textwidget .one-fourth h3 {
	font-size: 16px;
	font-size: 1.6rem;
}

.front-page-3 .textwidget .one-fourth .button:hover {
	background: rgba(246,134,13,1);
}




/* Front Page 4
---------------------------------------------------------------------------------------------------- */

.front-page-4 {
	background-color: #fff;
	padding-bottom: 30px;
}

.front-page-4 .flexible-widgets.widget-fourths,
.front-page-4 .flexible-widgets.widget-halves {
	padding-bottom: 20px;
}

.front-page-4 .flexible-widgets.widget-halves.uneven {
	padding-bottom: 0;
}

.front-page-4 .flexible-widgets.widget-fourths .widget:nth-of-type(1) {
	width: 100%;
}

.front-page-4 .flexible-widgets.widget-fourths .widget {
	width: 50%;
}

.front-page-4 .flexible-widgets.widget-fourths .widget:nth-child(4n) {
	clear: left;
}

.front-page-4 .flexible-widgets.widget-area .featuredpost:nth-child(1) .entry,
.front-page-4 .flexible-widgets.widget-halves.uneven .featuredpost .entry {
	float: left;
	width: 50%;
}

.front-page-4 .flexible-widgets.widget-area .featuredpost:nth-child(1) .entry:nth-of-type(odd),
.front-page-4 .flexible-widgets.widget-halves.uneven .featuredpost .entry:nth-of-type(odd) {
	clear: left;
	padding-right: 40px;
}

.front-page-4 .flexible-widgets.widget-area .featuredpost:nth-child(1) .entry:nth-of-type(even),
.front-page-4 .flexible-widgets.widget-halves.uneven .featuredpost .entry:nth-of-type(even) {
	padding-left: 40px;
}

.front-page-4 .flexible-widgets .widget-wrap p {
	margin-bottom: 20px;
}

.front-page-4 .flexible-widgets.widget-area .widget-wrap p.entry-meta {
	font-size: 14px;
	font-size: 1.4rem;
	margin-bottom: 0;
}

.front-page-4 .one-half {
	margin-bottom: 20px;
}

.front-page-4 .service-icon {
	padding-bottom: 10px;

}

.front-page-4 .service-icon img {
	width: 50%;
	max-width: 200px;
}

/* Featured Content
---------------------------------------------------------------------------------------------------- */

.flexible-widgets.widget-fourths .entry:last-of-type,
.flexible-widgets.widget-halves .entry:last-of-type {
	margin-bottom: 80px;
}

.flexible-widgets .featured-content img {
	margin-bottom: 10px;
	vertical-align: top;
}

.flexible-widgets .featured-content .entry-title {
	font-family: 'Helvetica Neue', sans-serif;
	font-size: 16px;
	font-size: 1.6rem;
	font-weight: 500;
	letter-spacing: -0.5px;
	margin-bottom: 5px;
	text-transform: uppercase;
}

.image-section a,
.image-section .featured-content .entry-meta a,
.image-section .featured-content .entry-title a {
	color: #fff;
}

.image-section a {
	border-bottom: 1px solid #fff;
}

.image-section a:hover,
.image-section a:focus,
.image-section .featured-content .entry-meta a:hover,
.image-section .featured-content .entry-meta a:focus,
.image-section .featured-content .entry-title a:hover,
.image-section .featured-content .entry-title a:focus {
	color: #ccc;
}

.image-section a:hover,
.image-section a:focus {
	border-bottom: 1px solid #ccc;
}

.flexible-widgets .featured-content .entry-header::after {
	display: none;
}


/* Fadeup Effect
---------------------------------------------------------------------------------------------------- */

.js .fadeup-effect {
	opacity: 0;
	overflow: hidden;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
}

@-webkit-keyframes fadeInUp {
	from { opacity: 0; -webkit-transform: translateY(20px); }
	to { opacity: 1; -webkit-transform: translateY(0); }
}

@keyframes fadeInUp {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

.fadeInUp {
	-webkit-animation-name: fadeInUp;
	animation-name: fadeInUp;
}


/* Media Queries
---------------------------------------------------------------------------------------------------- */

@media only screen and (max-width: 1280px) {



}

@media only screen and (max-width: 1023px) {

	.flexible-widgets.widget-fourths .widget,
	.flexible-widgets.widget-halves .widget,
	.flexible-widgets.widget-thirds .widget {
		width: 100%;
	}


	.front-page .one-sixth {
		width: 31.623931623931625%;
	}

	.front-page .one-sixth:nth-of-type(4) {
		margin-left: 0;
	}

}

@media only screen and (max-width: 782px) {

	.front-page .site-inner {
		padding-left: 0;
		padding-right: 0;
	}

	.front-page .wrap {
		max-width: 100%;
	}

	.flexible-widgets.widget-halves.uneven .featuredpost .entry,
	.flexible-widgets .featured-content .entry,
	.front-page .one-sixth,
	.front-page-4 .flexible-widgets.widget-fourths .widget,
	.front-page-4 .flexible-widgets.widget-halves.uneven .featuredpost .entry,
	.front-page-4 .flexible-widgets.widget-area .featuredpost:nth-child(1) .entry	{
		width: 100%;
	}

	.flexible-widgets .featuredpost .entry:nth-of-type(odd)
	.front-page-4 .flexible-widgets.widget-halves.uneven .featuredpost .entry:nth-of-type(odd),
	.front-page-4 .flexible-widgets.widget-area .featuredpost:nth-child(1) .entry:nth-of-type(odd) {
		padding-right: 0;
	}

	.flexible-widgets .featuredpost .entry:nth-of-type(even),
	.front-page-4 .flexible-widgets.widget-halves.uneven .featuredpost .entry:nth-of-type(even),
	.front-page-4 .flexible-widgets.widget-area .featuredpost:nth-child(1) .entry:nth-of-type(even) {
		padding-left: 0;
	}

	.featured-content .entry:last-of-type {
		margin-bottom: 100px;
	}

	.front-page .one-sixth img {
		max-width: 180px;
	}

}


@media only screen and (max-width: 600px) {

	.admin-bar.front-page .site-inner {
		margin-top: 0;
	}
	
	.front-page-2 .maForm .formText {
		width: 100% !important;
		display: block !important;
		float: none !important;
		clear: both;
	}
	

}
