/*------------------------------------*\
	COLOURS
\*------------------------------------*

	Primary			#000000
	Green			#a7ce38
	Grey			#58595b
	
*/

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@import url('../fonts/fontawesome/fontawesome.css');

/*------------------------------------*\
    STYLES
\*------------------------------------*/

html,
button,
input,
select,
textarea {
	font-size: 16px;
	font-family: 'freight-sans-pro',Arial, sans-serif;
	color: #525151;
	font-weight: 400;
}

body {
	line-height: 1;
	margin: 0;
	
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
	color: #0090a0;
	text-decoration: none;
	font-weight: 400;
	
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;	
}
a:hover {
	text-decoration: underline;
}
a:focus,
a:hover,
a:active {
	outline: 0;
}
a.link {
    background-image: url("../img/arrow.png");
    background-repeat:  no-repeat;
    background-size: 18px 18px;
    background-position: right 4px;
    padding-right: 50px;
}
a.link:hover {
	text-decoration: none;
}

p {
	line-height: 1.4;
	padding: 0;
	margin: 0 0 20px;
}
p.links {
	line-height: 1.5;
}
p a {
	text-decoration: underline;
}

p strong {
	font-weight: 600;
}

p small {
	font-size: 14px;
}

h1,
h2,
h3 {
	font-family: 'freight-sans-pro';
	font-weight: 300;
	line-height: 1;
	color: #0090a0;
	margin: 0;
	padding: 0;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a, {
	font-weight: 300;
	text-decoration: none;
	color: #0090a0;
}

h1 {
	font-size: 45px;
	margin-bottom: 30px;
}

h2 {
	font-size: 33px; 
	margin-bottom: 21px;
}

h3 {
	font-size: 16px;
	margin-bottom: 20px;
	font-weight: 400;
}

h4 {
	font-size: 18px;
	font-weight: 600;
}

img {
	vertical-align: bottom;
	max-width: 100%;
	height: auto;
}

aside p {
	font-size: 19px;
	color: #0090a0;
}

section.content p em {
	font-style: italic;
}

/*------------------------------------*\
    FORMS
\*------------------------------------*/

input,
textarea {
	outline: 0;
	border: none;
	border-radius: 0;
	padding: 0 12px;
	line-height: 30px;
	height: 30px;
	font-size: 16px;
	color: #525151;
	
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;		
}
select {
	font-size: 15px;
	color: #525151;
	border: 1px solid white;	
}
input:focus,
select:focus,
textarea:focus {
	outline: 0;
	border: none;
}
input[type=text],
textarea {
	background-color: #fff;
	width: 100%;
}
textarea {
	height: 180px;
}
input[type="button"],
input[type="submit"],
.button {
	display: inline-block;
	outline: 0;
	border: none;
	padding: 0 15px;
	height: 32px;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	background-color: #0090a0;
	letter-spacing: 1px;
	font-weight: 600;
	
	-webkit-transition: all 300ms ease;
	-moz-transition: all 300ms ease;
	-ms-transition: all 300ms ease;
	-o-transition: all 300ms ease;
	transition: all 300ms ease;	
}
input[type="button"]:hover,
input[type="submit"]:hover,
.button:hover {
	opacity: 0.8;
}

.gform_wrapper {
	max-width: 100%;
	margin: 0 auto;
}

.gform_body li {
	text-align: center;
	margin-bottom: 10px;
	height: 30px;
}
.gform_body .gfield_required {
	display: none;
}
.gform_body label {
	display: none;
}
.gform_body li#field_1_6 label,
.gform_body li#field_1_7 label {
	margin-left: 12px;
	display: block;
	float: left;
	padding-top: 6px;
	color: #525151;
}
.gform_body li#field_1_6 select,
.gform_body li#field_1_7 select {
	margin-right: 25%;
	float: right;
	margin-top: 5px;
	min-width: 210px;
}
.gform_body li#field_1_6 {
	margin-top: 10px;
}
.gform_body li#field_1_7 {
	margin-bottom: 15px;
}
.gform_body li#field_1_8 {
	height: 180px;
}
.gform_footer {
	clear: both;
	margin-top: 30px;
}
.gform_footer img {
	display: none;
}
.gform_confirmation_message,
.validation_error {
	padding: 0 0 30px;
	color: #525151;
	font-weight: 600;
}
.validation_message {
	display: none;
}
.gfield_error input {
	background-color: #f5d3d3;
}

::-webkit-input-placeholder {
	color: #525151;
	opacity: 1;
}

:-moz-placeholder {
	color: #525151;
	opacity: 1;
}

::-moz-placeholder {
	color: #525151;
	opacity: 1;
}

:-ms-input-placeholder {
	color: #525151;
	opacity: 1;
}

/*------------------------------------*\
    BASE
\*------------------------------------*/

html,
body {
	width: 100%;
	height: 100%;
	font-size: 100%;
}

body {
	background-color: #fff;
}

body > div.page {
	position: relative;
	width: 100%;
	height: 100%;
}

body > div.page .container {
	position: relative;
	min-width: 320px;
	max-width: 980px;
	margin: 0 auto;
	padding: 0 20px
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

body header {	
	position: relative;
	width: 100%;
	height: 115px;	
}

body header a.logo {	
	float: left;
	display: block;
	width: 225px;
	margin-top: 33px;
	margin-right: 20px;
	text-decoration: none;
}
body header a.logo img {	
	width: 225px;
}

body header div.textsize {
	float: right;
	height: 35px;
	margin-top: 20px;
	margin-right: 10px;
	color: #a4a7aa;
}
body header div.textsize a {
	height: 35px;
	line-height: 35px;
	display: inline-block;
	color: #a4a7aa;
	padding: 0 5px;
	text-decoration: none;
	font-size: 16px;
	cursor: pointer;
}
body header div.textsize a:hover {
	text-decoration: none;
}


body header nav.nav {	
	float: left;
	position: absolute;
	height: 35px;
	top: 59px;
	margin-left: 33%;
}
body header nav ul {	
	height: 35px;
	margin-left: -14px;
}
body header ul li {
	float: left;
}
body header ul li:first-child a {
	padding-left: 0 !important;
}
body header ul li:last-child {
	margin-right: 0;
}
body header ul li.current_page_item ul.sub-menu,
body header ul li.current_page_parent ul.sub-menu {
/* body header ul li:hover ul.sub-menu { */
	display: block;
}
body header ul li a:hover,
body header ul li.current_page_parent > a,
body header ul li.current_page_item > a {
	color: #499aa7;
	text-decoration: none;
}
body header ul li a {	
	color: #a4a7aa;
	font-size: 16px;
	display: block;
	padding: 7px 18px 12px;
}
body.home header ul li a {	
	color: #499aa7;
}


body header nav.sub {	
	width: 100%;
	height: 40px;
	position: absolute;
	bottom: -40px;
	left: 0;
	right: 0;
	background-color: #0090a0;
	z-index: 10;
}
body header nav.sub ul {	
	max-width: 980px;
	padding: 0 20px;
	margin: 0 auto;
	height: 40px;
}
body header nav.sub li {	
	float: none;
	display: inline-block;
	height: 40px;
}
body header nav.sub li:first-child {
	margin-left: 33%;
	padding-left: 0;
}
body header nav.sub li a {	
	color: #fff;
	display: block;
	height: 40px;
	padding: 12px 10px;
}
body header nav.sub li a:hover,
body header nav.sub li.current_page_parent > a,
body header nav.sub li.current_page_item > a {
	color: #73caca;
	text-decoration: none;
}



body header .nav-button {
	display: none;
}

body section.banner.slider {
	overflow: hidden;
}

body .flex-control-nav {
	bottom:40px;
	width:auto;
	float:right;
	right:20px;
	z-index: 999;
}

body .flex-control-nav li {
	margin:0px 0px 0px 6px;
}

body .flex-control-nav a {
	width:14px;
	height:14px;
	box-shadow: inherit;
	background:rgba(0, 0, 0, 0.3);
}

body .flex-control-nav a.flex-active {
	background:#fff;
}

body .flex-direction-nav a {
	opacity: 1;
	color:#fff;
	text-shadow: inherit;
}

body .flex-direction-nav a::before {
	font-family: 'skeleticons';
	content: "\edc3";
}

body .flex-direction-nav a.flex-next::before {
	content: "\edbb";
}

body .flex-direction-nav .flex-prev {
	left:20px;
}

body .flex-direction-nav .flex-next {
	right:20px;
}

body section.banner.slider ul.slides {
	float:left;
	width:100%;
	height:100%;
	padding:0px;
	margin: 0px;
}

body section.banner.slider ul.slides li {
	float:left;
	width:100%;
	height:100%;
	padding:0px;
	margin: 0px;
	background-size: cover;
	background-position: top center;
	display: none;
}

body section.banner.slider ul.slides li a {
	width: 100%;
	height:100%;
	position: absolute;
}

body section.banner {
	position: relative;
	width: 100%;
	height: 760px;
	background-size: cover;
	background-position: center center;
	margin-bottom: 10px;
}
body.location section.banner {
	position: relative;
	width: 100%;
	height: 760px;
	background-size: cover;
	background-position: center top;
	margin-bottom: 10px;
}
body section.banner a.down {
	display: inline-block;
	height: 71px;
	width: 71px;
	cursor: pointer;
	position: absolute;
	bottom: 33px;
	left: 0;
	right: 0;
	margin: 0 auto;
	z-index: 1000;
}
body section.banner a.down img {
	height: 71px;
	width: 71px;
}





body > div.page > div.main {
	position: relative;
}
body > div.page > div.main section.content.first {
	padding-top: 60px;
}
body > div.page > div.main section.content.last {
	padding-bottom: 40px;
}
body > div.page > div.main section.content aside {
	width: 33%;
	float: left;
	margin-top: 90px;
	padding-right: 20px;
}
body > div.page > div.main section.content aside p {
	line-height: 1.2;
}
body > div.page > div.main section.content aside p a {
	font-weight: inherit;
	text-decoration: none;
}
body > div.page > div.main section.content aside p a:hover {
	text-decoration: underline;
}
body > div.page > div.main section.content article {
	padding: 35px 0 0;
	width: 67%;
	float: left;
}
body > div.page > div.main section.content article div.mobile-side-content {
	display: none;
	margin-top: -10px;
	padding-bottom: 25px;
}
body > div.page > div.main section.content article div.mobile-side-content h4 {
	font-weight: 600;
}







body > div.page > footer {
	position: relative;
	width: 100%;
	background-color: #fafbfb;
	padding: 45px 0 30px;
} 
body > div.page > footer div.box {
	float: left;
}
body > div.page > footer div.box.one {
	width: 33%;
}
body > div.page > footer div.box.two {
	width: 47%;
}
body > div.page > footer div.box.three {
	width: 20%;
	text-align: right;
}
body > div.page > footer div.box.three a {
	text-decoration: none !important;
}
body > div.page > footer p,
body > div.page > footer a {
	font-size: 14px;
	line-height: 1.3;
	color: #555657;
}
body > div.page > footer p {
	margin-bottom: 15px;
}
body > div.page > footer a {
	text-decoration: underline;
}
body > div.page > footer ul {
	padding-top: 12px;
}

/*------------------------------------*\
    PAGES > HOME
\*------------------------------------*/

body.home > div.page > div.main section.standard {
	padding-top: 25px;
	padding-bottom: 35px;
	margin-top: 0 !important;
}
body.home > div.page > div.main section.content aside {
	display: none;
}
body.home > div.page > div.main section.content article {
	padding: 0;
	width: 100%;
	float: none;
}
body.home > div.page > div.main section.content article div.mobile-side-content {
	display: block;
	margin-top: 10px;
	padding-bottom: 0;
}
body.home > div.page > div.main section.featured {
	position: relative;
	width: 100%;
	padding-bottom: 50px;
}
body.home > div.page > div.main section.featured div.box {
	float: left;
	position: relative;
	width: 32%;
	margin-right: 2%;
}
body.home > div.page > div.main section.featured div.box.number3 {
	margin-right: 0;
}
body.home > div.page > div.main section.featured div.box.number4 {
	display: none;
}
body.home > div.page > div.main section.featured h2 {
	margin-top: 30px;
	margin-bottom: 12px;
}
body.home > div.page > div.main section.featured h2 a {
	font-weight: 300;	
}
body.home > div.page > div.main section.featured p {
	margin-bottom: 2px;
}

/*------------------------------------*\
    PAGES > NEWS
\*------------------------------------*/

body > div.page > div.main section.content.post {
	padding-top: 20px;
	padding-bottom: 40px;
}
body > div.page > div.main section.content.alt {
	background-color: #f6f6f6;
}

body > div.page > div.main section.content.post aside {
	margin-top: 115px;
}

body > div.page > div.main section.content.post p.image {
	margin: 0px 0px 30px;
}

body > div.page > div.main section.content.post h3 {
	margin: 0px 0px 10px;
	font-size: 16px !important;
}

body > div.page > div.main section.pagination {
	padding-top: 20px;
	padding-bottom: 60px;
}

body > div.page > div.main section.pagination a {
	font-weight: 600;
	text-decoration: underline;
}

/*------------------------------------*\
    PAGES > GALLERY
\*------------------------------------*/

body.gallery > div.page > div.main section.gallery article.image {
	position: relative;
	width: 100%;
	margin-bottom: 10px;
}
body.gallery > div.page > div.main section.gallery article.image img {
	width: 100%;
	min-width: 100%;
}

body.gallery > div.page > div.main section.gallery article.image a.down-gallery {
	display: inline-block;
	height: 71px;
	width: 71px;
	cursor: pointer;
	position: absolute;
	bottom: 33px;
	left: 0;
	right: 0;
	margin: 0 auto;
}
body.gallery > div.page > div.main section.gallery article.image a.down-gallery img {
	height: 71px;
	width: 71px;
}

/*------------------------------------*\
    PAGES > FLEXIBLE
\*------------------------------------*/

body > div.page > div.main section.gallery article a.popup-image {
	display: block;
	width: 100%;
	min-width: 100%;
}
body > div.page > div.main section.gallery article a img {
	width: 100%;
	min-width: 100%;
}
body > div.page > div.main section.gallery article a span.image {
	display: none;
}
body > div.page > div.main section.gallery article a span.image.show {
	display: block;
}
body > div.page > div.main section.gallery article a span.title {
	font-size: 15px;
	font-weight: normal;
	background: #0090A0 none repeat scroll 0% 0%;
	text-shadow: none;
	width: 100%;
	padding: 10px 15px;
	font-family: inherit !important;
	border-radius: 0px 0px 5px 5px;
	display: block;
	color: #fff;
}
body > div.page > div.main section p.links a {
	color: #525151;
}

/*------------------------------------*\
    FANCYBOX
\*------------------------------------*/

.fancybox-title a.download {
    background: url("../img/pdf.png") no-repeat scroll right 4px transparent;
    color: #fff;
    padding-right: 40px;
    line-height:24px;
    text-decoration:none;
    font-size:15px !important;
}

.fancybox-nav span {
    cursor: pointer;
    height: 34px !important;
    line-height:34px !important;
    padding: 0px 10px !important;
    margin-top: -18px;
    position: absolute;
    top: 50%;
    visibility: hidden;
    width: auto !important;
}

.fancybox-prev span {
	left:0px !important;
	background:#0090A0;
	color:#fff;
	background-image:none !important;
	top:18% !important;
	border-radius: 0 5px 5px 0;
}

.fancybox-next span {
	right:0px !important;
	background:#0090A0;
	color:#fff;
	top:18% !important;
	background-image:none !important;
	border-radius: 5px 0 0 5px;
}

.fancybox-title {
	bottom: -34px;
	font-size: 15px;
	font-weight: normal;
	background: none repeat scroll 0% 0% #0090A0;
	left: 0px;
	position: absolute;
	text-shadow: none;
	visibility: hidden;
	width: 100%;
	padding: 5px 10px;
	z-index: 8050;
	font-family: inherit !important;
	border-radius: 0 0 5px 5px;
}


/*------------------------------------*\
    LAZYLOAD
\*------------------------------------*/

.b-lazy {
    -webkit-transition: opacity 500ms ease-in-out;
       -moz-transition: opacity 500ms ease-in-out;
         -o-transition: opacity 500ms ease-in-out;
            transition: opacity 500ms ease-in-out;
             max-width: 100%;
               opacity: 0;
}
.b-lazy.b-loaded {
               opacity: 1;
}


/*------------------------------------*\
    MOBILE
\*------------------------------------*/

body header .nav-button {
    position: absolute;
    right: 35px;
    bottom: 10px;
    cursor: pointer;
    height: 52px;
    width: 52px;
    padding: 10px;
}
body header .nav-button img {
    display: block;
    height: 32px;
    width: 32px;
}

body > div.page div.nav-mobile {
	position: fixed;
	top: 0;
	bottom: 0;
	right: 0;
	left: 0;
	background-color: #424040;
	z-index: 9999;
	padding-top: 115px;
	visibility: hidden;
	opacity: 0;
		
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-ms-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;	
}

body > div.page div.nav-mobile .nav-close {
    position: absolute;
	right: 35px;
	top: 25px;
    cursor: pointer;
    height: 52px;
    width: 52px;
    padding: 14px;
}
body > div.page div.nav-mobile .nav-close img {
    display: block;
    height: 24px;
    width: 24px;
}

div.nav-mobile.expand {
	visibility: visible !important;
	opacity: 1 !important;
}
div.nav-mobile ul {
	float: none;
	padding: 0 !important;
	margin: 0 !important;
	border-top: 1px solid #2b2a2a;
}
div.nav-mobile ul li {
	width: 100%;
	text-align: center;
	font-size: 16px;
	position: relative;
	padding: 0 !important;
	margin-bottom: 0;
	opacity: 1;
	margin-left: 0;
	height: auto;
	display: block;
	position: relative;
	border-bottom: 1px solid #2b2a2a;
}
div.nav-mobile ul li a:hover,
div.nav-mobile ul li.current_page_parent > a,
div.nav-mobile ul li.current_page_item > a {
	color: #0090a0;
}
/*

div.nav-mobile ul li:hover {
	opacity: 1;
}

div.nav-mobile li:hover .sub-menu {
	display: none;
}
*/

div.nav-mobile ul li a {
	background-color: #424040;
	width: 100%;
	color: #fff;
	padding: 10px 25px;
	display: block;
	height: 100%;
	font-size: 20px;
	position: relative;
	float: none;
	text-align: left;
	font-weight: 600;
	
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;		
}	
div.nav-mobile ul li a:hover {
	color: #fff !important;
	text-decoration: none !important;
	background-color: #4f4d4d;
}

div.nav-mobile .sub-menu, 
.nav .children {
	width: 100%;
	position: relative;
	top: 0;
	left: 0;
	margin-top: -15px;
	background-color: #2b2a2a;
	
	max-height: 0;
	opacity: 0;
	visibility: hidden;
	
	-webkit-transition: all 200ms ease;
	-moz-transition: all 200ms ease;
	-ms-transition: all 200ms ease;
	-o-transition: all 200ms ease;
	transition: all 200ms ease;	
}

div.nav-mobile .sub-menu li {
	border-bottom: none;
}
div.nav-mobile .sub-menu li:first-child a {
	padding-top: 18px;
}
div.nav-mobile .sub-menu li:last-child a {
	padding-bottom: 18px;
}
div.nav-mobile .sub-menu li a {
	width: 100%;
	float: none;
	padding: 8px 25px;
	color: #fff !important;
	text-decoration: none !important;
	font-size: 16px !important;
	background-color: #2b2a2a;
}
div.nav-mobile .sub-menu li a:hover {
	color: #fff !important;
}
div.nav-mobile .sub-menu.visible{
	max-height: 1000px;
	opacity: 1;
	visibility: visible;
}
div.nav-mobile .open-menu-link { 
	display: none;
	position: absolute;
	right: 15px;
	top: 0;
	cursor: pointer;
	padding: 9px;
	width: 38px;
	height: 38px;
	background-image: url('../img/arrow-down.png');
	background-size: 20px 20px;
	background-position: center center;
	background-repeat: no-repeat;
}
div.nav-mobile .open-menu-link.visible {
	display: block !important;
}
div.nav-mobile .open-menu-link.close {
	width: 38px;
	height: 38px;
	background-image: url('../img/arrow-up.png');
}


/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:980px) {
	
	body > div.page .container {
	    padding: 0px 50px !important;
	}
	
	body header nav {
	    display: none;
	}
	body header .nav-button {
	    display: block;
	}
	body header div.textsize {
	    display: none;
	}
	
	body section.banner {
	    height: 445px;
	}
	body section.banner a.down {
	    display: none;
	}
	
	body > div.page > div.main section.content.first {
	    padding-top: 0;
	}
	body > div.page > div.main section.content.first {
	    margin-top: 0;
	}
	body.home > div.page > div.main section.standard {
    	padding-top: 10px;
    }
	
	body > div.page > div.main section.content article div.mobile-side-content {
		display: block;
	}	
	
	body > div.page > div.main section.content article {
		width: 100%;
		float: none;
	    padding: 15px 0px 0px;
	}	
	
	body > div.page > div.main section.content aside {
		display: none;
	}
	
	body.home > div.page > div.main section.featured div.box {
	    margin-bottom: 35px;
	}
	
	
	

	body > div.page > footer {
	    padding: 25px 0px 20px;
	}
	body > div.page > footer div.box {
	    width: 50% !important;
	}
	body > div.page > footer div.box.one {
	    display: none;
	}
	body > div.page > footer div.box.two {
	    width: 60% !important;
	}
	body > div.page > footer div.box.three {
	    width: 40% !important;
	}
	
	
	
	body.home > div.page > div.main section.featured {
	    padding-bottom: 0;
	}	
	body.home > div.page > div.main section.featured div.box {
	    width: 49% !important;
	    margin-right: 0;
	    margin-bottom: 50px;
	}	
	body > div.page > div.main section.featured div.box.number1,
	body > div.page > div.main section.featured div.box.number3 {
	    margin-right: 2% !important;
	}	
	body > div.page > div.main section.featured div.box.number4 {
	    display: block !important;
	}	
	
	
	h3 {
		font-size: 30px;
	}
	
	
	
	.gform_wrapper {
	    max-width: 100%;
	}	
	.gform_body li {
	    text-align: left;
	    width: 100%;
	    margin-bottom: 20px;
	}	
	input {
	    height: 40px !important;
	}	
	input[type="text"], 
	textarea {
	    width: 100%;
	}	
	.gform_body li#field_1_6 label, 
	.gform_body li#field_1_7 label {
	    margin-left: 12px;
	}
	.gform_body li#field_1_6 select, .gform_body li#field_1_7 select {
	    margin-right: 0px;
		min-width: 190px;
	}
	.gform_confirmation_message, .validation_error {
	    padding: 0px 0px 30px;
	    text-align: left;
	    line-height: 1.4;
	}
		
	body > div.page > div.main section.content article div.mobile-side-content {
		margin-top: 0;
	}
	
	body.contact-us > div.page > div.main section.content.first.last {
    	padding-top: 10px;
    }
	
}
@media only screen and (max-width:767px) {
	
	body.gallery > div.page > div.main section.gallery article.image a.down-gallery {
	    height: 40px;
	    width: 40px;
	    bottom: 10px;
	}
	body.gallery > div.page > div.main section.gallery article.image a.down-gallery img {
	    height: 40px;
	    width: 40px;
	}	
	
	body .flex-control-nav {
		display: none;
	}
	
/*
	body > div.page > div.main section.content article {
	    padding: 40px 0;
	    text-align: left;
	}
	body > div.page > div.main section.content article.posts {
	    padding: 40px 0 0;
	    text-align: left;
	}
	body > div.page > div.main section.content article.post {
	    padding: 20px 0;
	}
	body > div.page > div.main section.content article.pagination {
	    padding: 30px 0 35px;
	}
	body > div.page > div.main section.content article.post .content.hasimage {
	    margin-right: 0;
	}	
	body > div.page > div.main section.content article.post .image {
	    float: none;
	    width: 100%;
	    position: relative;
	    right: 0;
	    top: 0;
	    margin-bottom: 20px;
	}
	body > div.page > div.main section.content article.post .image img {
	    width: 100%;
	    min-width: 100%;
	}
	
	h1,
	h2 {
		text-align: left;
	}
	
	h1 {
		font-size: 26px;
		margin-bottom: 15px;
		letter-spacing: 2px;
	}
	h2 {
		font-size: 18px;
		padding: 0;
		margin-bottom: 20px;
	}
	
*/
}

@media only screen and (max-width:560px) {
	
	body > div.page .container {
	    padding: 0px 20px !important;
	}

	body header .nav-button {
	    right: 15px;
	}
	body > div.page div.nav-mobile .nav-close {
		right: 15px;
	}	
	
	
	body.home > div.page > div.main section.standard.first {
	    background-color: #0090a0;
	    padding-bottom: 25px;
	}
	body.home > div.page > div.main section.standard h1,
	body.home > div.page > div.main section.standard h2,
	body.home > div.page > div.main section.standard h3,
	body.home > div.page > div.main section.standard h4,
	body.home > div.page > div.main section.standard p,
	body.home > div.page > div.main section.standard a {
	    color: #fff;
	}
	
	body.home section.banner {
		margin-bottom: 0 !important;
	}
	body.home > div.page > div.main section.content article div.mobile-side-content {
		margin-top: 0;
	}
	body.home > div.page > div.main section.content article div.mobile-side-content h4 {
		font-size: 20px;
	}
	
	body.home > div.page > div.main section.featured div.box {
	    width: 100% !important;
	    float: none;
	    margin-right: 0 !important;
	}
	body.home > div.page > div.main section.featured div.box img {
	    width: 100% !important;
	}
	
	body.home > div.page > div.main section.featured .container {
	    padding: 0 !important;
	}	
	
	body.home > div.page > div.main section.featured h2,
	body.home > div.page > div.main section.featured p {
	    padding: 0 20px;
	}
	
	body.home > div.page > div.main section.standard {
	    padding-top: 20px;
	}
	body section.banner {
		height: 250px;
	}
	p {
		font-size: 20px;
	}
	
	body.home a.link {
	    background-image: url("../img/arrow-mobile.png");
	    background-size: 23px 23px;
	}
	
	body > div.page > div.main section.content.last {
	    padding-bottom: 10px;
	}
	body.contact-us > div.page > div.main section.content.first.last {
    	padding-bottom: 30px;
    }
	
}

@media only screen and (max-width:445px) {
	
	.gform_body li#field_1_6 label,
	.gform_body li#field_1_7 label {
		float: none;
		margin-bottom: 5px;
		width: 100%;
	}
	.gform_body li#field_1_6 select,
	.gform_body li#field_1_7 select {
		margin-right: 0;
		float: none;
		width: 100%;
	}
	.gform_body li#field_1_6 {
		width: 100%;
		height: 50px;
		margin-bottom: 10px;
	}
	.gform_body li#field_1_7 {
		width: 100%;
		height: 50px;
		margin-bottom: 20px;
	}	

}


@media only screen and (max-width:420px) {
	
	body > div.page > footer div.box.two {
	    width: 100% !important;
	    float: none;
	    margin-bottom: 20px;
	}
	body > div.page > footer div.box.three {
	    width: 100% !important;
	    text-align: left;
	}
	
}
/*------------------------------------*\
    HELPERS
\*------------------------------------*/

.clear:before,
.clear:after {
    content:' ';
    display:table;
}
.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}

.v-wrap{
    height: 100%;
    white-space: nowrap;
    text-align: center;
}
.v-wrap:before{
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 0;
    margin-right: -.25em;
    height: 100%; 
}
.v-box{
    display: inline-block;
    vertical-align: middle;
    white-space: normal;
}

.no-margin {
	margin: 0 !important;
}

.no-padding {
	padding: 0 !important;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.invisible {
    visibility: hidden;
}

/*------------------------------------*\
    MISC
\*------------------------------------*/

*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

html {
  -webkit-tap-highlight-color: transparent; 
}

::selection {
	background: #000;
	color: #FFF;
	text-shadow: none;
}
::-webkit-selection {
	background: #000;
	color: #FFF;
	text-shadow: none;
}
::-moz-selection {
	background: #000;
	color: #FFF;
	text-shadow: none;
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	
	a,
	a:visited {
		text-decoration:underline;
	}
	
	a[href]:after {
		content:" (" attr(href) ")";
	}
	
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	
	thead {
		display:table-header-group;
	}
	
	tr,img {
		page-break-inside:avoid;
	}
	
	img {
		max-width:100% !important;
	}
	
	@page {
		margin:0.5cm;
	}
	
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	
	h2,
	h3 {
		page-break-after:avoid;
	}
}
