/*
 Theme Name:     Seawaves
 Description:    Seawaves Theme
 Author:         Devon Mather
 Author URI:     http://devoncmather.com
 Version:        1.0.0
*/

/*________ GLOBAL ELEMENTS ________*/

* {
	margin: 0;
	padding: 0;
}
.ie * {
}
img {
	display: block;
	border: 0;
}
a {
	outline: none;
	text-decoration: underline;
	color: #4dc752;
}
a:hover {
	text-decoration: none;
	color: #4dc752;
}
html {
	font-size: 100%;
}
body {
	font-family: 'Lato', Arial, Verdana, Sans Serif;
	font-size: 16px;
	font-size: 1rem;
	color: #5d5d5d;
	background-color: #fff;
}

.wrapper {
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}


/*________ HEADER & NAV ________*/

.mobileWrapper {
	display: none;
	background-color: #2DB5D6;
}
.mobileWrapper .topMobile {
	padding: 16px;
	padding: 1rem;
	width: 100%;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	overflow: hidden;
	border-bottom: 2px solid #fff;
}

.mobileNavToggle {
	float: left;
	border: none;
	height: 42px;
	height: 2.625rem;
	width: 42px;
	width: 2.625rem;
	background: url(images/icon-mobile-nav.png) no-repeat center center;
	background-position: contain;
	cursor: pointer;
	text-indent: -9999px;
}
.mobileWrapper .phone {
	float: right;
	color: #202020;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 1;
	font-weight: 900;
	color: #fff;
	font-size: 22px;
	font-size: 1.375rem;
	padding: 0.5rem 0;
}

.mobileWrapper .bottomMobile {
	width: 100%;
	overflow: hidden;
}
.mobileNav {
	display: none;
	background-color: #2DB5D6;
}
.mobileNav li {
	list-style: none;
}
.mobileNav li a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid #fff;
	display: block;
	padding: 24px;
	padding: 1.5rem;
}
.mobileNav ul {
	display: none;
}
.mobileNav li:hover > ul {
	display: block;
}
.mobileNav ul a {
	color: #fff;
	text-decoration: none;
	border-bottom: 1px solid #fff;
	display: block;
	padding: 20px 20px 20px 40px;
	padding: 1.25rem 1.25rem 1.25rem 2.5rem;
}

.header {
	top: 0;
	position: fixed;
	height: 100px;
	height: 6.25rem;
	width: 100%;
	background-color: #fff;
	-webkit-box-shadow:  0px 1px 2px 0px rgba(0, 0, 0, 0.1);
	box-shadow:  0px 1px 2px 0px rgba(0, 0, 0, 0.1);
	z-index: 2500;
	-webkit-transition: all 120ms linear;
	-moz-transition: all 120ms linear;
	-ms-transition: all 120ms linear;
	-o-transition: all 120ms linear;
	transition: all 120ms linear;
}
.header .wrapper {
	height: 100%;
}
.header.small {
	height: 60px;
	height: 3.75rem;
	position: fixed;
}
.header h1 {
	float: left;
	position: relative;
	-webkit-transition: all 120ms linear;
	-moz-transition: all 120ms linear;
	-ms-transition: all 120ms linear;
	-o-transition: all 120ms linear;
	transition: all 120ms linear;
	height: 100%;
}
.header h1 a {
	text-decoration: none;
}
.header.small h1 {
	float: left;
	font-size: 24px;
	font-size: 1.5rem;
}
.header h1 img {
	margin: auto;
  	position: absolute;
  	top: 0; left: 0; bottom: 0; right: 0;
  	max-width: 220px;
  	max-width: 13.75rem;
}
.header.small h1 img {
	max-height: 50px;
	max-height: 3.125rem;
}
.header h1 span {
	display: block;
	line-height: 100px;
	line-height: 6.25rem;
}
.header.small h1 span {
	line-height: 60px;
	line-height: 3.75rem;
}


/* Solid MultiLevel Css Nav */
.mainNav {
	margin: 0;
	line-height: 100%;
	z-index: 5000;
	position: relative;
	float: right;
}
.mainNav li {
	margin: 0;
	padding: 0;
	float: left;
	position: relative;
	list-style: none;
}
/* main level link */
.mainNav a {
	text-decoration: none;
	display: block;
	padding: 38px 32px 42px;
	padding: 2.375rem 2rem 2.625rem;
	margin: 0;
	color: #202020;
	border-top: 4px solid #fff;
	border-top: 0.25rem solid #fff;
	-webkit-transition: all 120ms linear;
	-moz-transition: all 120ms linear;
	-ms-transition: all 120ms linear;
	-o-transition: all 120ms linear;
	transition: all 120ms linear;
	line-height: 1;
}
.header.small .mainNav a {
	padding-top: 18px;
	padding-top: 1.125rem;
	padding-bottom: 22px;
	padding-bottom: 1.375rem;
}

/* main level link hover */
.mainNav li:hover > a {
	border-top: 4px solid #4dc752;
	border-top: 0.25rem solid #4dc752;
	color: #4dc752;
}
.mainNav li.current-menu-parent > a,
.mainNav li.current-menu-item > a {
	color: #4dc752;
}
/* sub levels link hover */
.mainNav ul li:hover a, .mainNav li:hover li a {

}
.mainNav li ul a:hover {
	border-top: none;
}
/* level 2 list */
.mainNav ul {
	display: none;
	margin: 0;
	padding: 0;
	width: 290px;
	width: 18.125rem;
	position: absolute;
	top: 100px;
	top: 6.25rem;
	left: 0;
	background-color: #fff;
	background-color: rgba(255,255,255,0.9);
	border-radius: 0 0 4px 4px;
	overflow: hidden;
}
.header.small .mainNav ul {
	top: 60px;
	top: 3.75rem;
}

/* dropdown */
.mainNav li:hover > ul {
	display: block;
}
.mainNav ul li {
	float: none;
	margin: 0;
	padding: 0;
}
.mainNav ul a {
	border-top: none;
	border-bottom: 1px solid #f2f2f2;
	padding: 20px;
	padding: 1.25rem;
	margin: 0;
	color: #202020;
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1;
	display: block;
}
.mainNav ul li:first-child a {
	border-top: 4px solid #4dc752;
	border-top: 0.25rem solid #4dc752;
}
.mainNav ul a:hover {
	padding: 20px 20px;
	padding: 1.25rem 1.25rem;
	margin: 0;
	color: #4dc752;
	border-top: none;
}
/* level 3+ list */
.mainNav ul ul {
	left: 220px;
	left: 13.75rem;
	top: -3px;
}
/* clearfix */
.mainNav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.mainNav {
	display: inline-block;
}
html[xmlns] .mainNav {
	display: block;
}
* html .mainNav {
	height: 1%;
}

.header .phone {
	float: right;
	color: #202020;
	text-transform: uppercase;
	text-decoration: none;
	margin: 40px 0 0 32px;
	margin: 2.5rem 0 0 2rem;
	line-height: 1;
	font-weight: 700;
	-webkit-transition: all 120ms linear;
	-moz-transition: all 120ms linear;
	-ms-transition: all 120ms linear;
	-o-transition: all 120ms linear;
	transition: all 120ms linear;
}
.header .phone span {
	color: #4dc752;
}

.header.small .phone {
	margin: 22px 0 0 32px;
	margin: 1.375rem 0 0 2rem;
}





/*________ SLIDER ________*/

.sliderWrapper,
.imageWrapper {
	margin: 100px 0 0;
	margin: 6.25rem 0 0;
	position: relative;
	width: 100%;
	overflow: hidden;
}
.sliderWrapper.wrapper,
.imageWrapper.wrapper {
	margin-left: auto;
	margin-right: auto;
	max-width: 1300px;
	max-width: 81.25rem;
	width: 100%;
	padding: 0;
}
.imageWrapper.wrapper {
	max-height: 250px;
	max-height: 15.625rem;
}

.sliderWrapper .nivoSlider {
	position: relative;
	background: url(images/loading.gif) no-repeat 50% 50%;
	overflow: hidden;
	min-width: 600px;
	min-width: 37.5rem;
}
.sliderWrapper .nivoSlider img {
	position: absolute;
	top: 0;
	left: 0;
	display: none;
}
.sliderWrapper .nivoSlider a {
	border: 0;
	display: block;
}

.imageWrapper img {
	margin: 0 auto;
	width: 100%;
	height: auto;
	min-width: 1000px;
	min-width: 62.5rem;
}

.overlayWrapper {
	z-index: 2000;
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: visible;
	margin: auto;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
.overlayWrapper h2 {
	float: left;
	font-size: 38px;
	font-size: 2.375rem;
	color: #202020;
	padding: 0 20px;
	padding: 0 1.25rem;
	position: relative;
	font-weight: 300;
	margin: 0 0 12px;
	margin: 0 0 0.75rem;
	max-width: 560px;
	max-width: 35rem;
}
.overlayWrapper h2 span {
	background: rgba(255, 255, 255, 0.8);
	box-shadow: 20px 0 0 rgba(255, 255, 255, 0.8), -20px 0 0 rgba(255, 255, 255, 0.8);
	display: inline;
	line-height: 64px;
	line-height: 4rem;
	padding: 2px 0 10px 0;
	padding: 0.125rem 0 0.625rem 0;
}
.overlayWrapper .button {
	position: relative;
	clear: both;
	float: left;
}
.home .overlayWrapper h2,
.home .overlayWrapper .button {
	display: none;
}


.overlayWrapper .block {
	text-align: left;
	height: 100%;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}
.overlayWrapper .block:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
.overlayWrapper .centered {
	display: inline-block;
	vertical-align: middle;
}


/*________ CONTENT ________*/

.outerWrapper {
	width: 100%;
	max-width: 1180px;
	margin: -20px auto 0;
	margin: -1.25rem auto 0;
	background-color: #fff;
	position: relative;
	padding: 20px 0;
	padding: 1.25rem 0;
	z-index: 2000;
	overflow: hidden;
}

.content {
	min-height: 240px;
	min-height: 15rem;
	width: 65%;
	float: left;
	margin: 0 5% 0 0;
	margin: 0 5% 0 0;
}
.home .content {
	width: 100%;
	float: none;
}

.content h1 {
	font-size: 32px;
	font-size: 2rem;
	font-weight: 700;
	margin: 42px 0 20px;
	margin: 2.625rem 0 1.25rem;
	font-style: italic;
	color: #202020;
	font-weight: 900;
}
.content h2 {
	font-size: 26px;
	font-size: 1.625rem;
	font-weight: 700;
	margin: 8px 0 20px;
	margin: 0.5rem 0 1.25rem;
	font-style: italic;
	color: #202020;
	font-weight: 900;
}
.content h3 {
	font-size: 20px;
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 16px;
	margin: 0 0 1rem;
	padding: 8px 0 0;
	padding: 0.5rem 0 0;
	font-style: italic;
	color: #202020;
	font-weight: 900;
}
.content h4 {
	font-size: 18px;
	font-size: 1.125rem;
	font-weight: 700;
	margin: 0 0 16px;
	margin: 0 0 1rem;
	padding: 8px 0 0;
	padding: 0.5rem 0 0;
	font-style: italic;
	color: #202020;
	font-weight: 900;
}
.content h5 {
	color: #202020;
	font-weight: 900;
	margin: 0 0 16px;
	margin: 0 0 1rem;
}
.content h6 {
	color: #202020;
	font-weight: 900;
	margin: 0 0 16px;
	margin: 0 0 1rem;
}
.content p {
	margin-bottom: 16px;
	margin-bottom: 1rem;
	line-height: 1.6;
}
.content strong {
	color: #454545;
}
.content ul,
.content ol {
	margin: 0 0 16px 40px;
	margin: 0 0 1rem 2.5rem;
}
.content ul li,
.content ol li {
	line-height: 1.6;
	margin: 0 0 8px;
	margin: 0 0 0.5rem;
}
.content blockquote {
	font-style: italic;
	margin: 0 0 16px 40px;
	margin: 0 0 1rem 2.5rem;
}

.content .entry-content {
	padding: 32px 0 0;
	padding: 2rem 0 0;
}


/*________ FRONT PAGE ________*/

.home .entry-content {
	-moz-column-count: 2;
	-webkit-column-count: 2;
	column-count: 2;
	-moz-column-gap: 3.75rem;
	-webkit-column-gap: 3.75rem;
	column-gap: 3.75rem;
	border-bottom: 1px solid #e5e5e5;
	padding: 0 0 10px;
	padding: 0 0 0.625rem;
	margin: 0 0 40px;
	margin: 0 0 2.5rem;
}

.homePromos {
	text-align: center;
}
.promoPanel {
	display: inline-block;
	vertical-align: top;
	*display: inline;
	zoom: 1;
	margin: 0 3.5% 20px 0;
	margin: 0 3.5% 1.25rem 0;
	position: relative;
	max-width: 341px;
	width: 31%;
	height: 270px;
	height: auto;
	height: 16.875rem;
	cursor: pointer;
}
.promoPanel.promoPanel-3 {
	margin-right: 0;
}
.promoPanel a.image img {
	position: relative;
	z-index: 10;
	display: block;
	-webkit-transition: all 100ms linear;
	-moz-transition: all 100ms linear;
	-ms-transition: all 100ms linear;
	-o-transition: all 100ms linear;
	transition: all 100ms linear;
	width: 100%;
	height: auto;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0) scale(1.0, 1.0);
}
.promoPanel a.info {
	display: block;
	width: 300px;
	width: 18.75rem;
	width: 92%;
	background-color: #fff;
	padding: 24px 0;
	padding: 1.5rem 0;
	margin: -10px auto 0;
	margin: -0.625rem auto 0;
	z-index: 15;
	position: relative;
	-webkit-transition: all 100ms linear;
	-moz-transition: all 100ms linear;
	-ms-transition: all 100ms linear;
	-o-transition: all 100ms linear;
	transition: all 100ms linear;
	text-decoration: none;
}
.promoPanel span.title {
	display: block;
	font-size: 20px;
	font-size: 1.25rem;
	color: #202020;
	font-style: italic;
	margin: 0 0 2px;
	text-decoration: none;
	font-weight: 900;
}
.promoPanel span.readMore {
	display: block;
}
.promoPanel:hover a.info {
	margin: -140px auto 0;
	margin: -8.75rem auto 0;
	margin: -42% auto 0;
}
.promoPanel:hover a.image img {
	opacity: 0.5;
}



/*________ LATEST NEWS PAGE ________*/

.latestPostsContainer {
	overflow: hidden;
}

.latestPostsContainer .type-post {
	overflow: hidden;
	margin: 0 0 40px;
	margin: 0 0 2.5rem;
}
.latestPostsContainer .wp-post-image {
	overflow: hidden;
	float: left;
	margin: 0 16px 16px 0;
	margin: 0 1rem 1rem 0;
}
.latestPostsContainer .info {
	overflow: hidden;
}
.latestPostsContainer .info h3 {
	margin: 0 0 8px;
	margin: 0 0 0.5rem;
}
.latestPostsContainer .info h3 a {
	color: #202020;
	text-decoration: none;
}
.content .latestPostsContainer .info p.excerpt {
	margin: 0;
}


/*________ CONTACT PAGE ________*/

.contactPage .content {
	width: 100%;
	float: none;
}
.contactPage .entry-content {
	float: left;
	margin: 0 8% 0 0;
	width: 52%;
}
.contactPage .contactFrom {
	float: left;
	width: 40%;
	margin: 34px 0 0 0;
	margin: 2.125rem 0 0 0;
}


/*________ SINGLES PAGE ________*/




/*________ FOOTER ________*/

.latestPosts {
	background-color: #2db5d6;
	padding: 48px 0 70px;
	padding: 3rem 0 4.275rem;
	text-align: center;
}
.latestPosts h3 {
	font-size: 26px;
	font-size: 1.625rem;
	font-weight: 700;
	font-style: italic;
	color: #fff;
	margin: 0 0 28px;
	margin: 0 0 1.75rem;
	line-height: 1;
	font-weight: 900;
	text-align: left;
}
.latestPost {
	display: inline-block;
	vertical-align: top;
	*display: inline;
	zoom: 1;
	margin: 0 3.7% 20px 0;
	margin: 0 3.7% 1.25rem 0;
	max-width: 244px;
	max-width: 15.25rem;
	width: 22.2%;
	text-align: left;
}
.latestPost.latestPost-4 {
	margin-right: 0;
}
.latestPost a.imgContainer {
	background-color: #fff;
	display: block;
	overflow: hidden;
	margin: 0 0 16px;
	margin: 0 0 1rem;
}
.latestPost img {
	border: 6px solid #fff;
	border: 0.375rem solid #fff;
	width: 100%;
	height: auto;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-transition: all 0.9s linear;
	-moz-transition: all 0.09s linear;
	-ms-transition: all 0.09s linear;
	-o-transition: all 0.09s linear;
	transition: all 0.09s linear;
	-webkit-transform: rotate(0);
	-moz-transform: rotate(0);
	transform: rotate(0);
	-webkit-backface-visibility: hidden;
	position: relative;
}
.latestPost img:hover {
	opacity: 0.9;
}
.latestPost h4 {
	font-size: 16px;
	font-size: 1rem;
	font-weight: 700px;
	font-style: italic;
	margin: 0 0 4px;
	margin: 0 0 0.25rem;
}
.latestPost h4 a {
	color: #fff;
	text-decoration: none;
}
.latestPost p.date {
	font-size: 12px;
	color: #b0deec;
	margin: 0 0 12px;
	margin: 0 0 0.75rem;
}
.latestPost p.excerpt {
	font-size: 14px;
	color: #0c5668;
	line-height: 1.4
}
.latestPost p.excerpt a {
	color: #0c5668;
}


/*________ SIDEBAR ________*/

.sidebar {
	margin: 48px 0 0 0;
	margin: 3rem 0 0 0;
	width: 20%;
	float: right;
}
.sidebar h3 {
	font-size: 18px;
	color: #202020;
	text-transform: uppercase;
	font-weight: 300;
	margin: 0 0 12px;
	margin: 0 0 0.75rem;
}
.sidebar .promolist {
	margin: 0 0 40px;
	margin: 0 0 2.5rem;
}
.sidebar .promolist ul, .widget-container ul {
	font-style: italic;
	font-color: #828282;
	font-size: 14px;
	font-size: 0.875rem;
	margin: 24px 0 0 0;
	margin: 1.5rem 0 0 0;
}

.sidebar .promolist ul {
	list-style: none;
}
.sidebar .promolist ul li {
	border-bottom: 1px dotted #e5e5e5;
	padding: 16px 0;
	padding: 1rem 0;
}

.sidebar .widget-container {
	list-style: none;
	margin: 0 0 40px;
	margin: 0 0 2.5rem;
}

.sidebar .textwidget {
	font-size: 14px;
	font-size: 0.875rem;
	line-height: 1.6;
	font-color: #828282;
}

.widget-container ul {
	list-style: none;
}
.widget-container ul li {
	border-bottom: 1px solid #e5e5e5;
	padding: 0 0 10px;
	margin: 0 0 10px;
}
.widget-container ul li a {
	text-decoration: none;
}
.widget-container ul li a:hover {
	text-decoration: underline;
}


/*________ FOOTER ________*/

.footer {
	background-color: #187577;
	padding: 18px 0;
	padding: 1.125rem 0;
	color: #9dbbbc;
	overflow: hidden;
}
.footer a {
	color: #9dbbbc;
}
.footer p.copyright {
	font-size: 12px;
	font-size: 0.75rem;
	float: left;
	margin: 4px 0 0 0;
	margin: 0.25rem 0 0 0;
}
.footer ul.socialNav {
	float: right;
	list-style: none;
}
.footer ul.socialNav li {
	float: left;
	margin: 0 0 0 22px;
	margin: 0 0 0 1.375rem;
	width: 24px;
	width: 1.5rem;
	height: 1.5rem;
	overflow: hidden;
}
.footer ul.socialNav li img {
	padding: 0 0 1px;
	max-width: 100%;
	height: auto;
}
.footer ul.socialNav li img:hover {
	padding: 1px 0 0;
}


/*________ FORMS ________*/

form textarea {
	resize: vertical;
}
form label {
	font-size: 14px;
	font-size: 0.875rem;
}
form input[type="text"],
form input[type="password"],
form select,
form textarea,
form.elab_form input[type="text"],
form.elab_form select,
form.elab_form textarea {
	border-radius: 4px;
	border-radius: 0.25rem;
	font-size: 14px;
	font-size: 0.875rem;
	padding: 0.25rem 0.375rem;
	border: 1px solid #ccc;
}
form.elab_form fieldset div span.error-field {
	top: 2.25em;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form textarea {
	-webkit-appearance: none;
}

/* Quick Contact */
.sidebar form.elab_form .footnote {
	padding: 1rem 0.5rem;
	text-align: center;
	float: none;
	clear: both;
}

/* Contact */
.contactFrom form.elab_form .single {
	width: 64%;
}
.contactFrom form.elab_form .single.textarea {
	width: 100%;
}
.contactFrom form.elab_form textarea {
	height: 180px;
	height: 11.25rem;
}

/* Post Password */
.post-password-form label {
	float: left;
	padding: 4px 4px 0 0;
	padding: 0.25rem 0.25rem 0 0;
}


/* Buttons */
.button,
.fc_container form.elab_form input[type="submit"],
input[type="submit"],
button[type="submit"] {
	color: #fff;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	font-size: 14px;
	font-size: 0.875rem;
	border-radius: 4px;
	border-radius: 0.25rem;
	padding: 8px 16px;
	background: #ccc;
	border: none;
	font-weight: bold;

	color: #fff;
	background: #73d377; /* Old browsers */
	background: -moz-linear-gradient(top,  #73d377 0%, #4dc752 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#73d377), color-stop(100%,#4dc752)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #73d377 0%,#4dc752 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #73d377 0%,#4dc752 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #73d377 0%,#4dc752 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #73d377 0%,#4dc752 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#73d377', endColorstr='#4dc752',GradientType=0 ); /* IE6-9 */
}
.button:hover,
.fc_container form.elab_form input[type="submit"]:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
	padding-top: 9px;
	padding-bottom: 7px;
	background: #999;

	color: #fff;
	background: #73d377; /* Old browsers */
	background: -moz-linear-gradient(top,  #73d377 0%, #4dc752 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#73d377), color-stop(100%,#4dc752)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #73d377 0%,#4dc752 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #73d377 0%,#4dc752 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #73d377 0%,#4dc752 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #73d377 0%,#4dc752 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#73d377', endColorstr='#4dc752',GradientType=0 ); /* IE6-9 */
}

.button {
	font-weight: normal;
}

.button.large {
	padding: 16px 32px;
}
.button.large:hover {
	padding-top: 17px;
	padding-bottom: 15px;
}




/*________ MISC ________*/

.hide {
	display: none;
}


/* Flexible iFrame */
.flexibleContainer {
	position: relative;
	padding-bottom: 50%;
	padding-top: 30px;
	height: 0;
	overflow: hidden;
}
.flexibleContainer iframe,
.flexibleContainer object,
.flexibleContainer embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}



/*________ WP IMAGES ________*/

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
.alignleft,
img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-right: 1.5rem;
}
.alignright,
img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-left: 1.5rem;
}
.aligncenter,
img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
img.alignleft,
img.alignright,
img.aligncenter {
	margin-bottom: 12px;
	margin-bottom: 0.75rem;
}
.wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	line-height: 1.125rem;
	margin-bottom: 20px;
	margin-bottom: 1.25rem;
	max-width: 632px !important; /* prevent too-wide images from breaking layout */
	padding: 4px;
	padding: 0.25rem;
	text-align: center;
}
.wp-caption img {
	margin: 6px 6px 0;
	margin: 0.375rem 0.375rem 0;
}
.wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	font-size: 0.75rem;
	margin: 6px;
	margin: 0.375rem;
}
.wp-smiley {
	margin: 0;
}
.gallery {
	margin: 0 auto 18px;
	margin: 0 auto 1.125rem;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
	margin: 0 0 16px;
	margin: 0 0 1rem;
}
.gallery-columns-2 .gallery-item {
	width: 50%;
}
.gallery-columns-4 .gallery-item {
	width: 25%;
}
.gallery img {
	border: 4px solid #ececec;
	padding: 1px;
	-webkit-transition: all 0.9s linear;
	-moz-transition: all 0.09s linear;
	-ms-transition: all 0.09s linear;
	-o-transition: all 0.09s linear;
	transition: all 0.09s linear;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0) scale(1.0, 1.0);
}
.gallery img:hover {
	opacity: 0.9;
}
.gallery-columns-2 .attachment-medium {
	max-width: 92%;
	height: auto;
}
.gallery-columns-4 .attachment-thumbnail {
	max-width: 84%;
	height: auto;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	font-size: 0.75rem;
	margin: 0 0 12px;
	margin: 0 0 0.75rem;
}
.gallery dl {
	margin: 0;
}
.gallery br+br {
	display: none;
}
.content .attachment img {/* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}


/*________ WP PRINT ________*/

@media print {

}


/*________ Responsive Structure ________*/

/*1400px*/
@media (max-width: 87.5em) {
}

/*1200px*/
@media (max-width: 75em) {
	.wrapper,
	.overlayWrapper .block {
		padding: 0 2%;
		width: 96%;
	}
	.outerWrapper {
		margin-top: 0;
	}
}

/*1100px*/
@media (max-width: 68.75em) {
	.mainNav > li > a {
		padding-left: 16px !important;
		padding-left: 1rem !important;
		padding-right: 16px !important;
		padding-right: 1rem !important;
	}
}

/*1000px*/
@media (max-width: 62.5em) {
	html {
		font-size: 90%;
	}
	.wrapper {
		padding: 0 4%;
		width: 92%;
	}
}

/*900px*/
@media (max-width: 56.25em) {
	.header {
		height: auto;
		position: relative !important;
	}
	.header.small {
		height: auto;
	}
	.header h1 {
		height: auto;
	}
	.header h1 img {
		margin: 20px 0 0 0;
		margin: 1.25rem 0 0 0;
	  	position: relative;
	}
	.sliderWrapper,
	.imageWrapper {
		margin: 0;
	}
	.imageWrapper img {
		left: 50%;
		margin-left: -500px;
		margin-left: -31.25rem;
		position: relative;
		height: auto;
	}
	.mainNav {
		margin: 20px 0 0;
		margin: 1.25rem 0 0;
		width: 100%;
	}
	.mainNav > li > a {
		padding: 28px 16px 32px;
		padding: 1.75rem 1rem 2rem
	}
	.mainNav > li:hover > a {
		padding-bottom: 30px;
		padding-bottom: 1.875rem
	}
	.mainNav ul {
		top: 80px;
		top: 5rem;
	}
}

/*800px*/
@media (max-width: 50em) {
	html {
		font-size: 80%;
	}
	.wrapper,
	.overlayWrapper .wrapper {
		padding: 0 4%;
		width: 92%;
	}

	.home .entry-content {
		-moz-column-count: 1;
		-webkit-column-count: 1;
		column-count: 1;
		-moz-column-gap: 0;
		-webkit-column-gap: 0;
		column-gap: 0;
	}
	.content {
		width: 100%;
		float: none;
		margin: 0;
	}
	.sidebar {
		width: 100%;
		float: none;
		margin: 0;
	}
}

/*700px*/
@media (max-width: 43.75em) {
	.mobileWrapper {
		display: block;
		overflow: hidden;
		width: 100%;
	}
	.mobileWrapper .mobileNavToggle {
		float: left;
		display: block;
	}
	.mobileWrapper .mobileNavToggle {
		float: left;
		display: block;
	}
	.mobileWrapper .phone {
		float: right;
	}
	.header {
		overflow: hidden;
	}
	.header .phone {
		display: none;
	}
	.header h1 {
		float: none !important;
		margin: 2rem auto !important;
	}
	.header h1 img {
		float: none;
		margin: 0 auto;
	}
	.mainNav {
		display: none;
	}
	.overlayWrapper,
	.overlayWrapper .block {
		text-align: center;
	}
	.overlayWrapper h2 {
		float: none;
		text-align: center;
		max-width: 100%;
		display: inline;
		font-size: 22px;
		font-size: 1.375rem;
		font-weight: 400;
		overflow: hidden;
		margin: 0 0 16px;
		margin: 0 0 1rem;
	}
	.overlayWrapper .imageWrapper h2 {
		font-size: 32px;
		font-size: 2rem;
		margin: 0;
		float: none;
		text-align: center;
		max-width: 100%;
		display: block;
	}
	.overlayWrapper h2 span {
		line-height: 44px;
		line-height: 2.75rem;
	}
	.overlayWrapper .button {
		float: none;
		margin: 0 auto;
		display: inline-block;
		padding: 8px 16px;
		padding: 8px 1rem;
		text-align: center;
	}
	.overlayWrapper .button:hover {
		padding-top: 9px;
		padding-bottom: 7px;
	}
	.overlayWrapper .block {
		padding: 20px 0 0;
		padding: 1.25rem 0 0;
		-moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
	}
	.overlayWrapper .block:before {
		height: 0;
		vertical-align: top;
	}
	.overlayWrapper .centered {
		vertical-align: top;
	}
	.promoPanel {
		width: 340px;
		width: 21.25rem;
		height: 270px;
		height: 16.875rem;
	}
	.promoPanel:hover a.info {
		margin: -140px auto 0;
		margin: -8.75rem auto 0;
	}
	.contactFrom form.elab_form .single {
		width: 100%;
	}
	.latestPost {
		margin-right: 32px !important;
		margin-right: 2rem !important;
		margin-left: 32px !important;
		margin-left: 2rem !important;
		width: 244px;
		width: 15.25rem;
	}
	.contactPage .entry-content {
		float: none;
		width: 100%;
		margin: 0;
	}
	.contactPage .contactFrom {
		float: none;
		width: 100%;
	}
	.latestPostsContainer .type-post {
		border-bottom: 1px solid #f2f2f2;
		padding: 0 0 2.5rem;
	}
	.latestPostsContainer .wp-post-image {
		width: 40%;
		height: auto;
		margin-bottom: 4px;
		margin-bottom: 0.25rem;
	}
	.latestPostsContainer .info {
		overflow: visible;
	}

	.footer p.copyright {
		float: none;
		text-align: center;
		margin: 0 0 18px;
		margin: 0 0 1.125rem;
	}
	.footer ul.socialNav {
		float: none;
		text-align: center;
	}
	.footer ul.socialNav li {
		float: none;
		display: inline-block;
		vertical-align: top;
		zoom:1;
		*display: inline;
		margin: 0 10px;
		margin: 0 0.625rem;
	}
}

/*500px*/
@media (max-width: 31.25em) {
	.nivoSlider {
		left: 50%;
		margin-left: -300px;
		margin-left: -18.75rem;
	}
}