/*
Lovingly hand-crafted by Citrus Tree Media.
http://www.citrustreemedia.com/
Please respect our copyright as we do yours...
*/

/* ---------------------
title: WPME stylesheet
author: Simon Tweedale
created: 26/11/13
---------------------  

teal #2ba086 - darker #1e705e

*/


/* -----------------------------------------------------------------------------  GENERIC */  

body {
	font-family: 'Cabin', sans-serif;
	font-size: 16px;
	color: #666;
	background: #e9e9e9;
	line-height: 1.65;
	font-weight: 500;
}

p	{	
	padding-bottom: 20px;
}

h1,h2,h3,h4,h5,h6	{
	line-height: 1.1;
	padding-bottom: 0.75em;
	font-weight: 700;
}

h1	{
	font-size: 48px;
	padding-bottom: 12px;
	color: #2ba086;
	letter-spacing: -0.03em;
}

h2	{
	font-size: 24px;
	color: #666;
}

h3	{
	font-size: 24px;
}

a {
	color: #2ba086;
}

a:hover {
	color: #1e705e;
}

.clearfix:before,
.clearfix:after {
	content: "";
	display: table;
} 
.clearfix:after {
	clear: both;
}
.clearfix {
	zoom: 1; /* For IE 6/7 (trigger hasLayout) */
}

/* ----------------------------------------------------------------------------- CMS OVERRIDES */	

#totop a {
background: #2ba086;
}

#totop a:hover {
background: #1e705e;
}



.item-list .pager li a	{	
	color: #2ba086; 
	padding: 0;
	background: none;
	}
	
.pager-current	{
	color: #666;
}
	
.item-list {
text-align: right;
	}

.item-list .pager li a:hover	{	
	text-decoration: none;
	background: #fff;
	color: #1e705e;
}

div.downloads {
	background: url(../images/header-bg.gif) 0 bottom repeat-x;
	padding: 10px;
	border: 1px solid #ddd;
}

input, textarea, select {
   padding: 8px;
   font-size: 15px;
   font-family: 'Cabin', sans-serif; 
   color: #666;
   border: 1px solid #ccc;
}

input.form-submit {
color: #fff;
background: #2ba086;
padding: 5px 20px;
}

input.form-submit:hover {
background: #1e705e;
}


/* ----------------------------------------------------------------------------- LAYOUT */

div.wrapper, footer	{
	max-width: 980px;
	margin: 0 auto;
	padding: 0 10px;
	position: relative;
}

.content-outer	{
	clear: both;
	padding: 25px 0;
	position: relative;
	background: #fff;

}

.content-outer:after {
	position: absolute;;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: url(../images/shadow.jpg) 0 0 repeat-x;
	z-index: 500;
	pointer-events: none;
}

body.home .content-outer	{
	background: transparent;
}


article.primary	{
	float: left;
	width: 64%;
	padding-top: 20px;
}

aside.secondary	{
	float: right;
	width: 318px;
}

/* ----------------------------------------------------------------------------- HEADER */

header	{
	background: url(../images/header-bg.gif) 0 0 repeat-x;
	border-bottom: 1px solid #ccc;
	height: 138px;
}

header .wrapper	{
	
}

.logo	{
	float: left;
	margin: 22px 0;
}

.logo-print	{
	display: none;
}

header div.contact {
	clear: right;
	margin: 10px 15px 0 0;
}

header ul.contact	{
	margin-top: 10px;
	list-style: none;
	float: right;
}

header ul.contact a,header ul.contact b {
	color: #2ba086;
	font-weight: 500;
	text-decoration: none;
}

/* ----------------------------------------------------------------------------- NAV */	

nav	{
	clear: both;
}

nav ul#nav {
	position: relative;
	/* overflow: hidden; */
}

ul#nav > li.last:before {
	position: absolute;
	content: "";
	width: 1px;
	height: 100%;
	background: #ccc;
	display: block;
	z-index: 10;
	top: 0;
	right: 0;
	pointer-events: none;
}

ul#nav > li {
	width: 12.5%;
	position: relative;
	font-size: 15px;
}

ul#nav > li:after {
	position: absolute;
	content: "";
	width: 1px;
	height: 100%;
	background: #ccc;
	display: block;
	z-index: 10;
	top: 0;
	left: 0;
	pointer-events: none;
}

ul#nav a {
	color: #666;
	text-align: center;
	font-weight: 700;
}

ul#nav a:hover {
	color: #000;
}

ul#nav a.active {
	color: #2ba086;
}

.tinynav, nav label { 
	display: none;
}

/* ----------------------------------------------------------------------------- DROPDOWN MENU */

ul#nav ul	{
	width: 165px;
	}

ul#nav ul a	{
	border-right: none;
	padding: 5px;
	background: #2ba086;
	color: #fff;
	width: 155px;
	font-size: 14px;
	text-align: left;
	border-bottom: 1px solid #bbb;
	border-right: 1px solid #bbb;
	}
	
ul#nav ul a:hover,ul#nav ul a.active,ul#nav ul a.active:hover	{
	background: #1e705e;
	color: #fff;
	}

	
ul#nav ul li.has-children {

position: relative;
}

ul#nav ul li.has-children:after {
content: "";
height: 0;
width: 0;
display: block;
right: 5px;
top: 50%;
margin-top: -4px;
position: absolute;
border-top: 4px solid transparent;
border-bottom: 4px solid transparent;
border-left: 8px solid #fff;
}

/* ----------------------------------------------------------------------------- social */

div.social {
	float: right;
	margin: 4px 25px 10px 0;
}

div.social li {
	float: left;
	margin: 0 0 0 10px;
	list-style: none;
}

div.social a {
	text-indent: -9999px;
	height: 34px;
	width: 30px;
	display: block;
	opacity: 0.4;
	background-size: 28px 27px;
	background-position: center bottom;
	background-repeat: no-repeat;
	-webkit-transition: opacity 0.3s ease;
	-moz-transition: opacity 0.3s ease;
	-ms-transition: opacity 0.3s ease;
	-o-transition: opacity 0.3s ease;
	transition: opacity 0.3s ease;
}

div.social a:hover {
	opacity: 0.8;
}

div.social .facebook a {
	background-image: url(../images/icon-fb.png);
}

div.social .twitter a {
	background-image: url(../images/icon-tw.png);
}

footer div.social {
	clear: right;
	margin: 0 0 20px 0;
}

/* ----------------------------------------------------------------------------- content.primary */


/** feature panels
===================================*/

.bx-wrapper {
	position: relative;
	margin: 0 auto;
	padding: 0;
	*zoom: 1;
}

.bx-wrapper img {
	max-width: 100%;
	display: block;
}

.bx-viewport {
	background: #fff;
}

.bx-viewport:after {
	position: absolute;;
	content: "";
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: url(../images/shadow.jpg) 0 0 repeat-x;
	z-index: 500;
	pointer-events: none;
}

ul.frontpanels li.odd.blue h2,ul.frontpanels li.odd.blue p {
	color: #fff;
}

ul.frontpanels li.even img {
	float: right;
}

ul.frontpanels li.odd img {
	float: left;
}

ul.frontpanels li h2 {
	font-size: 48px;
	color: #666;
	letter-spacing: -0.03em;
	padding-bottom: 15px;
	line-height: 1.2;
	padding-top: 50px;
}

ul.frontpanels li h2 b {
	color: #2ba086;
}

ul.frontpanels li h2 a {
	color: #999;
	font-size: 38px;
	text-decoration: none;
}

ul.frontpanels li h2 a:hover {
	color: #333;
}

/* LOADER */

.bx-wrapper .bx-loading {
	min-height: 50px;
	background: url(images/bx_loader.gif) center center no-repeat #fff;
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2000;
}

/* PAGER */

.bx-wrapper .bx-pager {
	display: none;
}

/* DIRECTION CONTROLS (NEXT / PREV) */

.bx-wrapper .bx-prev {
	left: 30px;
	background: url(../images/carousel-left.png);
	opacity: 0.2;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.bx-wrapper .bx-next {
	right: 30px;
	background: url(../images/carousel-right.png);
	opacity: 0.2;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

.bx-wrapper .bx-prev:hover {
	opacity: 0.5;
}

.bx-wrapper .bx-next:hover {
	opacity: 0.5;
}

.bx-wrapper .bx-controls-direction a {
	position: absolute;
	top: 50%;
	margin-top: -40px;
	outline: 0;
	width: 46px;
	height: 49px;
	text-indent: -9999px;
	z-index: 9999;
}

.bx-wrapper .bx-controls-direction a.disabled {
	display: none;
}

.bx-has-pager {
	background: #fff;
	border-bottom: 1px solid #ddd;
}


/* ----------------------------------------------------------------------------- ctas */

div.ctas {
	margin: 20px 0 0;
	overflow: hidden;
}

div.ctas ul {
	list-style: none;
	padding: 0;
}

div.ctas ul li {
	display: inline-block;
	vertical-align: bottom;
	margin-right: 33px;
	width: 302px;
}

div.ctas ul li.last {
	float: right;
	margin: 0;
}

div.ctas ul li a {
	display: block;
	text-decoration: none;
	position: relative;

	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

div.ctas ul li a img {
	display: block;
	opacity: 1;
	-webkit-box-shadow: 0 0 3px rgba(5,5,5,.14), inset -4px 3px 5px rgba(5,5,5,.75);
	-moz-box-shadow: 0 0 3px rgba(5,5,5,.14), inset -4px 3px 5px rgba(5,5,5,.75);
	box-shadow: 0 0 3px rgba(5,5,5,.14), inset -4px 3px 5px rgba(5,5,5,.75);
	border: solid 5px #fdfdfd;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

div.ctas ul li a:hover img {
	opacity: 0.8;
	-webkit-box-shadow: 0 0 3px rgba(5,5,5,.44), inset -4px 3px 5px rgba(5,5,5,.75);
	-moz-box-shadow: 0 0 3px rgba(5,5,5,.44), inset -4px 3px 5px rgba(5,5,5,.75);
	box-shadow: 0 0 3px rgba(5,5,5,.44), inset -4px 3px 5px rgba(5,5,5,.75);
}

div.ctas ul li a h2 {
	color: #666;
	font-size: 20px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
	min-height: 50px;
}

div.ctas ul li a:hover h2 {
	color: #333;
}

div.ctas ul li p.more {
	background: url(../images/cta-shadow.png) center -9px no-repeat;
	padding-top: 10px;
	font-weight: 700;
	font-size: 18px;
	letter-spacing: -0.03em;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}

div.ctas ul li a:hover p.more {
	background: url(../images/cta-shadow.png) center -5px no-repeat;
}

aside div.ctas ul li  {
	margin-bottom: 25px;
	float: none;
	padding-left: 5px;
	margin-right: 0;
}

/* ----------------------------------------------------------------------------- NEWS */

ul.news, ul.news ul { 
	list-style: none;
	padding: 0 !important;
}

ul.news > li {
	border-bottom: 1px solid #ccc;
	margin-bottom: 20px;
	padding-bottom: 20px;
}

ul.news ul.links a {
	list-style: none;
}

.content ul.news .links {
	margin: 0;
}

.date {
	color: #999;
	font-weight: bold;
	font-size: 13px;
	}
	
.addthis {
	width: 300px;
	float: right;
	margin: 15px 0;
	}

/* ----------------------------------------------------------------------------- FOOTER */

footer {
	padding: 40px 0 78px;
	background: url(../images/footer-bg.gif) repeat-x;
	font-size: 14px;
	text-align: center;
}

footer ul, footer div div {
	display: inline-block;
	float: none;
	clear: none;
	margin: 0 5px;
	}

footer li {
	display: inline;
	margin: 0 5px;
}

.secondarynav {
	clear: both;
	width: 100%;
}

#footernav {
	float: none;
	clear: both;
}

#footernav li {
	margin: 0 10px;
	float: none;
}

footer p {
	padding: 0;
}

footer a {
	text-decoration: none;
}

footer ul.contact li.address {
	clear: both;
	display: block;
}

p.siteby {
	clear: both;
	color: #999;
}

p.siteby a {
	color: #999;
	text-decoration: none;
}

p.siteby a:hover {
	color: #333;
	text-decoration: none;
}

/* ------------------------------------------------------------------------------ breakpoint */
@media screen and (max-width: 990px)	{
	#totop	{	

	display: none !important;
}

header {
	height: auto;
	}

.tinynav { 
	display: inline-block;
		font-size: 16px;
	padding: 5px;
	margin: 0 auto;
	width: 60%;
	 }
	 
#nav { 
	display: none;
	 }
    
nav	{
	padding: 5px;
	margin: 0 -18px;
	text-align: center;
		background: #2ba086;

	}
	
nav .tinynav_label	{
	display: inline-block;
	padding: 0 15px 0 0;
	color: #fff;
	}
	
aside.secondary, article.primary {
	float: none;
	width: auto;
}

aside.secondary {
	background: #f7f7f7;
	border-top: 2px solid #ddd;
	margin: 20px -18px 0;
	padding: 0 18px;
}

div.wrapper {
 padding: 0 18px;
 }
 
 .content-outer {
  padding-bottom: 0;
  }
  
 ul.ctas {
 text-align: center;
 }
 
 ul.ctas li {
 display: inline-block;
 float: none !important;
 margin: 0 10px;
 }
 
 .addthis {
 	float: none;
 	margin: 15px auto 0;
 	padding-bottom: 15px;
 	width: auto;
 	text-align: left;
 }
 
 ul.frontpanels li img {
 	display: none;
 }
 
 ul.frontpanels li h2 {
 padding: 20px 60px;
 font-size: 36px;
 }
 
 ul.frontpanels li h2 a {
 	display: block;
 	font-size: 24px;
 }
 
  ul.frontpanels li h2 br {
  	display: none;
  }
  
  
  .bx-wrapper .bx-next {
	right: 10px;
}

.bx-wrapper .bx-prev {
	left: 10px;
}
 

 
 .bx-wrapper .bx-controls-direction a {
 	width: 32px;
 	height: 34px;
 	background-size: cover;
 }
 
 article.primary {
 padding-top: 0;
 }
 
 


}

/* ------------------------------------------------------------------------------ breakpoint */
@media screen and (max-width: 760px)	{


.logo img {
 	width: 270px;
 	height: auto;
 }
 
 footer li {
 display: block;
 }
 
 
 }
 
/* ------------------------------------------------------------------------------ breakpoint */
@media screen and (max-width: 630px)	{


body {
	font-size: 15px;
}

.logo {
	margin: 10px 0;
}

.bx-wrapper .bx-prev {
	left: 10px;
}

 ul.frontpanels li h2 {
 font-size: 20px;
 }
 
 ul.frontpanels li h2 a {
 	display: block;
 	font-size: 20px;
 }



header ul.contact {
	float: none;
	text-align: center;
	clear: both;
	margin: 5px 0;
}

header ul.contact li {
	float: none;
	display: inline-block;
	font-size: 14px;
}

h1	{
	font-size: 32px;
}

h2	{
	font-size: 20px;
	color: #666;
}

h3	{
	font-size: 18px;
}

.webform-client-form input, .webform-client-form textarea, .webform-client-form select {
   width: 95%;
} 
 
 }
 

/* ------------------------------------------------------------------------------ breakpoint */
@media screen and (max-width: 480px)	{


div.ctas {
	margin: 0;
	}

div.ctas ul li {
	width: auto;
	margin: 0 0 15px;
	padding: 10px;
	border-bottom: 1px solid #ccc;
	}

.ctas img {
	width: 100%;
	height: auto;
	}
	
.content ul.images, .content ul.images_r {
	float: none;
	clear: both;
	padding: 0;
	}
	
.content ul.images img, .content ul.images_r img {
	width: 90%;
	padding: 5%;
	height: auto;
}


 
 
 }
 


/* -----------------------------------------------------------------------------	end style sheet */
