/******************************************************************
Theme Name: Green Apple Wellness
Theme URI: http://www.excitemedia.com.au
Description: Custom Wordpress theme created by ExciteMedia
Author: ExciteMedia
Author URI: http://www.excitemedia.com.au
Version: 1.0.7
Tags: fluid-layout, responsive-layout, accessibility-ready, translation-ready, microformats, rtl-language-support

License: ExciteMedia
License URI: http://www.excitemedia.com.au
******************************************************************/

/****
TEMP STYLES
****/

#gform_wrapper_1 { background:#84c447;padding:25px 25px 32px;color:#fff; }

/*********************
GENERAL STYLES
*********************/
/* Font Faces - BEGIN */
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,600,700);
@import 'library/css/fonts.css';
/* Font Faces - END */

html {
  font-size: 100% !important;
}
body, p, td, ul, li {
  color: #232426;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6em;
}
h1, h2, h3, h4, h5, h6 {
  color: #84c447;
  font-family: 'omnes-pro', sans-serif;
  font-weight: 500;
  line-height: 1.2em;
  margin: 0 0 30px;
  padding: 0;
  text-rendering: optimizelegibility;
}
h1 {
  font-size: 3.1875rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}
a {
  color: #84c447;
  outline: none;
  text-decoration: none;
}
a, a:before, a:after {
    -webkit-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
}
a:hover {
  color: #84c447;
  text-decoration: underline;
}
a:link, a:visited:link {
  -webkit-tap-highlight-color: #84c447;
}
a:hover, a:active, a:focus {
  outline: none;
}
img {
  border: 0;
  height: auto !important;
  max-width: 100%;
  position: relative;
  width: auto\9;
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}
img:before {
  background-color: #efefef;
  border: 2px dotted rgb(200, 200, 200);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  display: block;
  height: calc(100% + 10px);
  left: 0;
  position: absolute;
  top: -10px;
  width: 100%;
}
img:after {  
  color: rgb(100, 100, 100);
  content: "\f127" " Broken Image of " attr(alt);
  display: block;
  font-size: 16px;
  font-style: normal;
  font-family: FontAwesome;
  left: 0;
  position: absolute;
  text-align: center;
  top: 5px;
  width: 100%;
}
img.cke_wordpress_more {
  height: 10px !important;
}
img.img-zoom {
    width: auto;
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
  
  filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    filter: none;
}
img.img-zoom:hover {
    -webkit-transform: scale(1.075); 
    -moz-transform: scale(1.075);
    -o-transform: scale(1.075);
    transform: scale(1.075);
  
  filter: grayscale(100%);
    -webkit-filter: grayscale(100%);  /* For Webkit browsers */
    filter: gray;  /* For IE 6 - 9 */
    -webkit-transition: all .6s ease;  /* Transition for Webkit browsers */
}
p {
  margin: 0 0 30px;
  padding: 0;
}
p:last-child{
  margin-bottom: 0 !important;
}
table {
  margin: 30px 0;
}
hr {
  background-color: transparent;
  border-bottom: none;
  border-left: none;
  border-right: none;
  border-top: 1px solid #ccc;
  color: transparent;
  height: 1px;
  margin: 40px 0;
}
::-webkit-input-placeholder { opacity: 1; }
::-moz-placeholder { opacity: 1; } /* firefox 19+ */
:-ms-input-placeholder { opacity: 1; filter:alpha(opacity=100); } /* ie */
input:-moz-placeholder { opacity: 1; }
iframe {
  max-width: 100%;
}
ul.list-none{
  list-style: none;
  margin: 0;
    padding: 0;
}
.wrap {
  *zoom: 1;
}
ul.list-none:before,
ul.list-none:after,
.wrap:before,
.wrap:after {
  content: "";
  display: table;
  line-height: 0;
}
ul.list-none:after,
.wrap:after {
  clear: both;
}
.hidden {
  opacity: 0;
}
.visible {
  opacity: 1;
}
div.ezcol-one-quarter, div.ezcol-one-half, div.ezcol-three-quarter, div.ezcol-one-third, div.ezcol-two-third, div.ezcol-one-fifth, div.ezcol-two-fifth, div.ezcol-three-fifth, div.ezcol-four-fifth {
  hyphens: none;
}
.sfm-rollback {
  display: none;
}

.white-text *{color: #fff;}
.white-text form *{color: #403c3e;}

.bg-cover {
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

blockquote.em-blockquote {
border-left: 7px solid #84c447;
margin: 40px 0;
padding: 0 30px;
}

/*********************
LAYOUT STYLES
*********************/
.center {
  margin: 0 auto;
  max-width: 1230px;
}
.bottom-bar,
.mainbody,
.extra_content {
  padding: 80px 0;
}

/*** GENERAL LAYOUT ***/
/* Header */
.main-header{ 
  background-color: #fff;
  position: relative;
  padding: 0;
  width: 100%;
  z-index: 9;
  position: relative;
  z-index: 99;
}
.main-header .center{
  max-width: 100%;
  padding: 0;
}
.logo{
  float: left;
  margin-left: 50px;
    margin-top: 15px;
}
.top-menu{
  float: right;
}
.hide_link {display:none;}
.header-right{
  float: right;
  padding-left: 18px;
}
.header-right > ul > li{
  float: left;
  font-family: 'omnes-pro', sans-serif;
  font-size: 30px;
  font-weight: 500;
}
.header-right > ul > li:first-child{
  background-color: #84c447;
}
.header-right > ul > li:last-child{
  background-color: #002f55;
}
.header-right > ul > li > a,
.header-right > ul > li > span{
  padding-left: 104px;
  padding-right: 40px;
  line-height: 100px;
  display: block;
  color: #fff;
  text-transform: uppercase;
}
.header-right > ul > li > a{
  background: url('library/images/icons/circle-email.png') no-repeat 40px center;
}
.header-right > ul > li > a:hover{
  color: #002f55;
  text-decoration: none;
}
.header-right > ul > li > span{
  background: url('library/images/icons/circle-phone.png') no-repeat 40px center; 
}
.main-header.sticky{
  position: fixed;
}
/* 
.main-header.sticky nav.main-nav ul.nav > li > a,
.main-header.sticky .header-right > ul > li > a,
.main-header.sticky .header-right > ul > li > span{
  line-height: 70px;
}
.main-header.sticky .logo{margin-top: 3px;}
.main-header.sticky .top-menu{}
.main-header.sticky .header-right{}
*/
.main-header, .logo, .logo img, .top-menu, 
.header-right,
.header-right > ul > li,
.header-right > ul > li > a,
.header-right > ul > li > span {
    webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* Bottom Bar */
.bottom-bar{
  background: #002d53 url('library/images/bg-bottombar.jpg') no-repeat center center; 
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.bottom-bar .center{
  max-width: 100%;
    padding: 0 130px;
  text-align: center;
}
.bottom-bar h2{
  font-size: 3.175rem;
  font-weight: 400;
}
.bottom-bar p{
  color: #fff;
    font-size: 1.375rem;
    margin: 0 auto 40px;
    width: 77%;
}
.bottom-bar a.em-button{
  background: none;
  border: 1px solid #fff;
}
.bottom-bar a.em-button:hover{
  background: #84c447;
}


/* Footer */
.main-footer{}
.footer-columns{padding: 65px 0 60px;}
.footer-col{float: left;}
.footer-col h5{color: #232426;}
.footer-col-1{width: 31.71%;padding-right: 20px;}
.footer-col-1 p{font-size: 0.875rem;line-height: 1.9em;}
.footer-col-2{width: 28.05%;padding-left: 30px;}
.footer-col-2 ul{list-style: none;padding: 0;margin: 0;}
.footer-col-2 ul > li{
  display: inline-block;
  line-height: 1.2em;
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 45px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.footer-col-2 ul > li:first-child{background-image: url('library/images/icons/circle-email-3.png');margin-right: 27px;}
.footer-col-2 ul > li:first-child + li{background-image: url('library/images/icons/circle-phone-3.png');}
.footer-col-2 ul > li:last-child{background-image: url('library/images/icons/circle-location.png');margin-bottom: 0;}
.footer-col-2 a{color: #232426;}
.footer-col-2 a:hover{color: #84c447;}
.footer-col-3{width: 40.24%;padding-left: 30px;}
.footer-bottom{
  background-color: #84c447;
  padding: 10px 0;
}
.footer-bottom > div{text-align: center;}
.footer-bottom > div > div{
  display: inline-block;
  text-align: center;
}
.copyright{
  color: #fff;
  font-size: 0.875rem;
  margin-right: 24px;
}
.copyright a{color: #fff;}
.copyright a:hover{color: #002d53;}
.footer-socmed a{
  border: 1px solid #fff;
    display: block;
    height: 34px;
    width: 34px;
  -webkit-border-radius: 50px;
  -moz-border-radius: 50px;
  border-radius: 50px;
  -o-border-radius: 50px;
}
.footer-socmed a:hover{border-color: #002d53;}
.footer-socmed i{
  color: #fff;
    padding-top: 9px;
  -webkit-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
}
.footer-socmed a:hover i{color: #002d53;}

/*** end of GENERAL LAYOUT ***/

/*** HOMEPAGE ***/
/* Home Banner */
.home-banner{
  position: relative;
}

/* Home Portals */
.home-portals{
  position: relative;
  background-color: #f0efee;
  padding: 40px 0 80px;
}
.home-portals h3#home-portals-intro {
  text-align: center;
  color: #232426;
  font-weight: 300;
}
.home-portals h3#home-portals-intro:nth-last-child(2) {
  margin-bottom: 40px;
}
.home-portals ul > li{
  position: relative;
  overflow: hidden;
  float: left;
  width: 48.7825%;
  height: 274px;
  margin-right: 2.435%;
  overflow: hidden;
}
.home-portals ul > li:nth-child(2n){
  margin-right: 0;
}
.home-portals ul > li:first-child,
.home-portals ul > li:first-child + li, .home-portals ul > li:nth-child(4), .home-portals ul > li:nth-child(5) {
  margin-bottom: 30px;
}
.home-portals ul > li > div{
  float: left;
  height: 100%;
}
.home-portals ul > li:first-child .portal-content,
.home-portals ul > li:nth-child(4) .portal-content, .home-portals ul > li:nth-child(5) .portal-content{
  background-color: #84c447;
}
.home-portals ul > li:first-child + li .portal-content,
.home-portals ul > li:first-child + li + li .portal-content, .home-portals ul > li:last-child .portal-content{
  background-color: #002f55;
}
.home-portals ul > li:first-child + li + li .portal-photo,
.home-portals ul > li:nth-child(4) .portal-photo{
  float: right;
}
.home-portals ul > li .portal-photo{
  position: relative;
  overflow: hidden;
}
.home-portals ul > li .portal-photo img{
  -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
}
.home-portals ul > li:hover .portal-photo img{
  -webkit-transform: scale(1.075); 
    -moz-transform: scale(1.075);
    -o-transform: scale(1.075);
    transform: scale(1.075);
}
.home-portals ul > li:last-child .portal-content,
.home-portals ul > li:nth-child(5) .portal-content{
  float: left;
}
.home-portals ul > li:first-child:hover a.em-button,
.home-portals ul > li:nth-child(4n):hover a.em-button,
.home-portals ul > li:nth-child(5n):hover a.em-button{
  background-color: #002f55;
}
.home-portals ul > li:first-child + li:hover a.em-button,
.home-portals ul > li:first-child + li + li:hover a.em-button,
.home-portals ul > li:last-child:hover a.em-button{
  background-color: #84c447;
}
.home-portals ul > li:first-child:hover h3 a,
.home-portals ul > li:nth-child(4n):hover h3 a,
.home-portals ul > li:nth-child(5n):hover h3 a{
  color: #002f55;
}
.home-portals ul > li:first-child + li:hover h3 a,
.home-portals ul > li:first-child + li + li:hover h3 a,
.home-portals ul > li:last-child:hover h3 a{
  color: #84c447;
}
.portal-photo{
  width: 53%;
}
.portal-content{
  width: 47%;
  padding: 24px 20px 28px 24px;
}
.portal-content *{color: #fff;}
.portal-content h3{
  font-size: 1.438rem;
  margin-bottom: 20px;
}
.portal-content h3 a:visited,
.portal-content h3 a{
  color: #fff;
}
.portal-content p{
  font-size: 0.916rem;
  line-height: 1.7em;
  margin-bottom: 28px;
}
.portal-content a.em-button{
  background: none;
  border: 1px solid #fff;
  color: #fff;
  font-size: 0.854rem;
  padding: 14px 35px 13px;
}


/* Home row 01 */
.home-row-01 div.ezcol{width: 56.915% !important;}
.home-row-01 div.ezcol-last{width: 40.65% !important;text-align: center;}

/* Home Newsletter */
div.home-newsletter.gf_simple_horizontal,
div.home-newsletter.gf_simple_horizontal_wrapper{
  background: url('library/images/bg-newsletter.jpg') no-repeat 0 0;
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  max-width: 100%;
  padding: 30px 40px;
}
div.home-newsletter .gform_confirmation_message{
  color: #fff;
    font-weight: 600;
}
div.gf_simple_horizontal_wrapper h3.gform_title{
  font-family: 'Open Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 14px;
  color: #fff;
}
div.gf_simple_horizontal_wrapper span.gform_description{
  color: #fff;
  letter-spacing: -0.75px;
}
div.gf_simple_horizontal_wrapper div.gform_heading{
  margin-bottom: 24px;
}
div.home-newsletter.gf_simple_horizontal_wrapper div.gform_body{
  width: 54%;
}
div.gf_simple_horizontal_wrapper div.gform_body ul li.gfield .ginput_container{
  margin-top: 0;
}
div.gf_simple_horizontal_wrapper div.gform_body ul li.gfield input[type="text"]{
  background: none;
    border: 1px solid #fff;
    color: #fff;
  font-size: 0.875rem;
  text-align: center;
}
div.home-newsletter.gf_simple_horizontal_wrapper div.gform_footer{
  width: 45%;
}
div.gf_simple_horizontal_wrapper div.gform_footer input[type="submit"]{
  width: 100%;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  text-transform: uppercase;
}

/* Homepage - Enter any style for elements on homepage here */

/*** end of HOMEPAGE ***/


/*** INNERPAGE ***/
/* Inner Banner */
.inner-banner {
  background: url(library/images/banner-inner.jpg) no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  padding: 100px 0;
}
.inner-banner h1 {
  float: left;
  color: #fff;
    font-size: 55px;
    font-weight: 600;
    margin: 0;
}
.banner-button{
  float: right;
  padding-left: 3.25%;
}

body.page-id-760 .banner-button a.em-button,
body.page-id-758 .banner-button a.em-button,
body.page-id-756 .banner-button a.em-button,
body.page-id-750 .banner-button a.em-button{
	display: none;
}
.banner-button a.em-button{
  font-size: 25.26px;
  font-weight: 600;
  width: auto;
  padding: 25px 40px;
  border: 2px solid #fff;
  background: none;
}
.banner-button a.em-button:hover{
  background-color: #84c447;
}

.banner-button .splash-color {
  float: left;
  margin-right: 40px;
  background-color: #84c447!important;
}
.banner-button .splash-color:hover {
  background-color: #002d53!important;
}
#layerslider_2 .banner-button {
  padding-left: 0;
}
input#input_6_3, input#input_6_4, input#input_6_5, input#input_6_6, input#input_6_7, input#input_6_8 {
    width: 100%;
}
.gform_wrapper h3.gform_title{
		font-weight: 500;
    font-size: 1.75em;
}
.gform-title h4 {
    color: #fff;
    background-color: #84c447;
    padding: 15px;
    width: 20%;
    text-align: center;
}
.gform-title1 h4 {
    color: #fff;
    background-color: #84c447;
    padding: 15px;
    width: 31%;
    text-align: center
}
.gform_wrapper span.gform_description {
    font-weight: 600;
    display: block;
    width: calc(100% - 16px);
    margin-bottom: 16px;
    font-size: 1.20em;
    line-height: 1.5;
}
@media (max-width: 1023px) {
  #layerslider_2 .banner-button a.em-button {
    margin-right: 20px;
    padding: 16px 16px;
  }
}

/* Inner Bottom Portals */
.inner-bottom-portal{
  background-color: #d4b98c;
  padding: 60px 0;
}
.inner-bottom-portal ul {
	margin:0;
  padding:0;
	list-style:none;
  text-align:center;
}
.inner-bottom-portal ul li {
    width: 15%;
    display: inline-block;
    margin: 10px 0.5%;
}
.inner-bottom-portal a.em-button{
  width: 100%;
  background: none;
  border: 1px solid #fff;
  font-size: 0.8rem;
  padding: 30px 10px 29px;
  font-weight:bold;
}
.inner-bottom-portal a.em-button:hover{
  background-color: #fff;
  color: #002f55;
}

table.time-table strong {display:block;padding-bottom:20px;}

/*** SURVEY ***/

.gform_wrapper .gf_progressbar_wrapper h3.gf_progressbar_title {
    font-size: 1.813em;
 }


table.gsurvey-likert td.gsurvey-likert-choice {
    background-image: none !important;
    background: #fff;
  }

  .gform_wrapper .gform_page_footer .button.gform_button, .gform_wrapper .gform_page_footer .button.gform_next_button {
    margin-left: .625em;
    background-color: #002d53;
    border-width: 0;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    height: 50px;
    padding: 10px 25px;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
}

.gform_wrapper .gform_page_footer .button.gform_button, .gform_wrapper .gform_page_footer .button.gform_previous_button {
    margin-bottom: .5em;
    background-color: #0d4473;
    border-width: 0;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    height: 50px;
    padding: 10px 25px;
    text-align: center;
    text-decoration: none;
    -webkit-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
}

.gform_wrapper .gf_progressbar_wrapper {
    clear: both;
    width: 99%;
    margin: 0 0 1.5em;
    padding: 0 0 1.8em;
}

table.gsurvey-likert th.gsurvey-likert-choice-label {
  background-color: #84c447;
  color: #fff;
}

#gform_wrapper_1 .gform_body {
    max-width: 100% !important;
    width: 76%;
}

#gform_wrapper_1 #gform_fields_1 {
    width: 100%;
}

#gform_wrapper_1 #field_1_1,
#gform_wrapper_1 #field_1_2 {
    width: 50%;
    margin-bottom: 0;
    padding: 0;
}
#gform_wrapper_1 #field_1_2 {
    padding: 0 10px 0 0;
}

#gform_wrapper_1 #input_1_1, #gform_wrapper_1 #input_1_2 {
    text-align: left;
    padding: 5px 20px;
    width: 100%;
}

#gform_submit_button_1 {
    padding: 15px 25px;
    margin: 0 10px;
}


/*** SCHEDULE LAYOUT ***/

.schedule-table{
    width: 100%;
    table-layout: fixed;
    font-family: 'omnes-pro', sans-serif !important;
}
.schedule-table .table-heading {
    font-family: 'omnes-pro', sans-serif !important;
}

.schedule-table tr td:first-child, .schedule-table tr th:first-child{
  background:#ffffff !important;
      text-align: right;
 /* border-left: 1px solid #fff !important;
      border-top: 1px solid #fff !important;
  border-bottom: 1px solid #fff !important;*/
  font-family: 'omnes-pro', sans-serif !important;
  color:#002f55;
  padding: 20px 20px !important;
  width: 100px;
}

.schedule-table tr:nth-child(2n) td {
    background: #fff !important;
}

.schedule-table td{
    padding: 5px !important;
}
.schedule-table td{
    border: 1px solid #eee !important;
}

.schedule-table th,
.schedule-table .table-heading{
color:#84c447;
font-weight:bold;
/*letter-spacing: 1px;*/
text-align:center;
}
.timetable-mobile {
	border: 1px solid #eee;
	display: none;
	list-style: none;
	margin: 30px 0;
	padding: 0;
}
.timetable-mobile li {
	border-top: 1px solid #eee;
	padding: 10px;
}
.timetable-mobile li:first-child {
	border-top: none;
}
.timetable-day {
	background: #152e54;
	color: #84c447;
	font: bold 20px/1.3em 'omnes-pro', sans-serif !important;
}
.timetable-mobile li h5 {
	margin-bottom: 8px;
}
.timetable-mobile li div {
	text-align: center;
}

.class-block{
color:#fff;
padding:10px;
font-weight:bold;
/*letter-spacing: 1px;*/
text-align:center;
font-size:18px;
    min-height: 95px;
    vertical-align: middle;
 font-family: 'omnes-pro', sans-serif !important;
}

.class-block .time{
font-weight:normal;
/*font-size:16px;*/
display:block;
}

.step-exercise{
background:#8b73b3;
}

.aerobics-exercise{
background:#ee398a;
}

.stretch-exercise{
background:#f8981c;
}

.tai-exercise{
background:#b15b68;
}

.zumba-exercise{
background:#ffde16;
color:#404041;
}

.forever-exercise{
background:#91882d;
   /* line-height: 19px;
    font-size: 18px;*/
}

.body-exercise{
background:#f26a50;
}

.kai-exercise{
background:#ed1c24;
}

.yoga-exercise{
background:#955a48;
}

.thighs-exercise{
background:#3954a5;
    /*padding: 20px 8px;
    font-size: 18px;*/
}

.pilates-exercise{
background:#ad208e;
}

.hiit-exercise{
background:#84c447;
}

.aqua-exercise{
background:#01AAAD;
}

.power-hour-exercise{
background:#bbb;
}

.supervised-fitness-exercise{
background:#0099ff;
}

.fitball-exercise{
background:#B2BBC0;
color:#404041;
}

.pilates-stretch-exercise{
background: rgb(175,35,140); /* Old browsers */
background: -moz-linear-gradient(-45deg,  rgba(175,35,140,1) 0%, rgba(248,151,29,1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg,  rgba(175,35,140,1) 0%,rgba(248,151,29,1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg,  rgba(175,35,140,1) 0%,rgba(248,151,29,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#af238c', endColorstr='#f8971d',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.boxilates-exercise{
background: rgbrgb(252, 50, 32); /* Old browsers */
background: -moz-linear-gradient(-45deg,  rgba(252, 50, 32, 1) 0%, rgba(174, 32, 144, 1) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(-45deg,  rgba(252, 50, 32, 1) 0%,rgba(174, 32, 144, 1) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(135deg,  rgba(252, 50, 32, 1) 0%,rgba(174, 32, 144, 1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FC3220', endColorstr='#AE2090',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */
}

.circuit-exercise{
background:#002f55;
}

.barre-exercise{
background:#673070;
}

.med-exercise{
background:#d4b98c;
color:#404041;
}

/* Services page template */
body.page-template-services-page .mainbody{
  background-color: #f0efee;
}
body.page-template-services-page .fullwidth-content-photos{padding: 0;}
body.page-template-services-page .fullwidth-content-photos .center{max-width: 1920px;}
body.page-template-services-page .fullwidth-content-photos img {
    float: left;
    margin: 0;
    width: 25%;
}
ul.meet-staff-list{
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-visible {
	display: none;
}
/*ul.meet-staff-list > li:first-child{margin-right: 6%;}*/
/*ul.meet-staff-list > li{
  float: left;
    width: 47%;
}*/

.meet-staff-list p{
  display: none;
  text-transform: initial;
  font-size:14px;
}

ul.meet-staff-list > li > a{
  border: 1px solid #002f55;
    color: #002f55;
    display: block;
    font-size: 1rem;
  line-height: 1.285em;
    text-align: center;
  padding: 27px 16px 27px;
    text-decoration: none;
    text-transform: uppercase;
margin-top:5px;
  min-height:150px;
}
ul.meet-staff-list > li > a:hover{
  background-color: #84c447;
}
ul.meet-staff-list > li > a img{margin-bottom: 14px;}

[class*="block-grid-"]>li {
    max-width: 100%;
    width: 20%;
}
#post-336 ul.meet-staff-list > li.time-schedule > a,
#post-338 ul.meet-staff-list > li.wellness-course > a,
#post-341 ul.meet-staff-list > li.wellness-workshop > a,
#post-609 ul.meet-staff-list > li.wellness-group > a {
	background-color: #84c447;
}



/* Popup Modal Content */
.cd-modal-content h1,
.cd-modal-content h2,
.cd-modal-content h3,
.cd-modal-content h4,
.cd-modal-content h5{
  color: #002f55;
}
.cd-modal-content p{
  font-size: 1rem;
}
.cd-modal-content .gform_wrapper .top_label .gfield_label{
  color: #fff;
}
.cd-modal-content .gform_wrapper h3.gform_title{
  font-size: 2rem;
    font-weight: 500;
  margin: 0 0 20px;
}
.cd-modal-content .gform_wrapper ul.gform_fields table.gsurvey-likert td:after{
  color: #777;
  font-weight: 500
}
.cd-modal-content table.gsurvey-likert th.gsurvey-likert-choice-label{
  background-color: #84c447;
  font-weight: 400;
  color: #fff;
}
.cd-modal-content table.gsurvey-likert td input{
  position: static;
}

@media (max-width: 400px) {
  .cd-modal-content .gform_wrapper ul.gform_fields table.gsurvey-likert td:after{
    font-size: 10px;
  }
}


/* Innerpage - Enter any style for elements on innerpage here */

/*** end of INNERPAGE ***/


/*********************
SIDEBAR
*********************/
body.sidebar .mainbody-inner {
    padding-right: 350px;
    position: relative;
}
body.sidebar .main-content {
    float: left;
    position: relative;
    width: 100%;
}
body.sidebar .main-content #content{
  padding-right: 7%;
}
.main-sidebar {
    float: left;
  margin-top: 8px;
    margin-right: -100%;
    padding-left: 10px;
    width: 350px;
}
.main-sidebar .widget{
  border-top: 1px solid #dedede;
  margin-bottom: 40px;
    padding-top: 40px;
}
.main-sidebar .widget:first-child{
  border-top: 0;
  padding-top: 0;
}
.main-sidebar .widget h3{
  margin: 0 0 20px;
}
.main-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-sidebar ul.menu > li {
  margin-bottom: 13px;
}
.main-sidebar ul.menu > li > a {
  background: #152e54;
  color: #fff;

  display: block;
  font-size: 1.25rem;
  font-weight: normal;
  letter-spacing: 0.006em;
  padding: 22px 15px 21px 20px;
  position: relative;
  text-decoration: none;
}
.main-sidebar ul.menu > li.current-menu-item > a, .main-sidebar ul.menu > li > a:hover {
  background: #84c447;
}

/*********************
IMAGE SCROLLER
*********************/
.em-image-scroller .mTS_horizontal ul.mTSContainer > li {
  margin-left: 18px;
}
.em-image-scroller .mTS_horizontal ul.mTSContainer > li:first-child {
  margin-left: 0;
}
.em-image-slider {
  overflow: hidden;
}
.image-scrollbox > ul {
  *zoom: 1;
}
.image-scrollbox > ul:before,
.image-scrollbox > ul:after {
  content: "";
  display: table;
  line-height: 0;
}
.image-scrollbox > ul:after {
  clear: both;
}
.image-scrollbox > ul {
  list-style: none;
  margin: 25px 0 0;
  padding: 0;
  width: 5000px;
}
.image-scrollbox > ul li {
  float: left;
  margin: 0 40px 0 0;
}

/*********************
ACCORDION
*********************/
.accordion {
  margin: 30px 0;
}
h3.accordion-title:before {
  content: "\002B";
  line-height: 1em;
  margin-top: -12px;
  position: absolute;
  right: 34px;
  top: 50%;
}
h3.accordion-title.open:before {
  content: "\2212";
}
h3.accordion-title {
  background: #e7eff5;
  cursor: pointer;
  font-size: 1.333333rem;
  font-weight: normal;
  margin: 0 0 4px;
  padding: 29px 60px 29px 28px;
  position: relative;
  color:#002f55;
}
h3.accordion-title.open {
  background: #002f55;
  color: #fff;
}
.accordion-content {
  background: #f2f2f2;
  margin: -4px 0 23px;
  padding: 30px 55px;
}

/*********************
WP-TILES
*********************/
div.tb-close-icon:before {
  line-height: 18px;
}
div.tb-close-icon {
  height: 18px;
  line-height: 18px;
  width: 18px;
}
div#TB_caption {
  height: auto;
  padding-left: 15px;
}

/*********************
WOOCOMMERCE
*********************/
.em-shopping-cart-wdg.hidden {
  display: none;
}
.woocommerce .woocommerce-error, .woocommerce .woocommerce-info, .woocommerce .woocommerce-message {
  background: #fff;
  margin: 0 auto 30px !important;
  max-width: 1060px;
}

/* Category Listing Page */
.woocommerce ul.products li.product {
  *zoom: 1;
}
.woocommerce ul.products li.product:before,
.woocommerce ul.products li.product:after {
  content: "";
  display: table;
  line-height: 0;
}
.woocommerce ul.products li.product:after {
  clear: both;
}
.woocommerce ul.products li.product {
  border-top: 1px solid #c4c9d0;
  float: none;
  margin: 56px 0 0;
  padding: 51px 0 0;
  width: auto;
}
.woocommerce ul.products li.product:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.woocommerce ul.products li.product > a:before {
  background: rgba(179,35,23,0.6);
  bottom: 0;
  content: "";
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  visibility: hidden;
}
.woocommerce ul.products li.product > a:after {
  border: 1px solid #fff;
  color: #fff;
  content: "View Product Details";
  font-size: 1.38888889rem;
  height: 68px;
  left: 50%;
  line-height: 68px;
  margin: -34px 0 0 -145px;
  opacity: 0;
  position: absolute;
  text-align: center;
  top: 50%;
  visibility: hidden;
  width: 290px;
}
.woocommerce ul.products li.product-category> a:after {
  content: "View Range";
  margin-left: -101px;
  width: 202px;
}
.woocommerce ul.products li.product > a:hover:before, .woocommerce ul.products li.product > a:hover:after {
  opacity: 1;
  visibility: visible;
}
.woocommerce ul.products li.product > a {
  float: left;
  margin-top: 5px;
  position: relative;
  width: 47.169811%;
}
.woocommerce ul.products li.product > a > h3 {
  display: none;
}
.woocommerce ul.products li.product a img {
  margin: 0;
}
.cat-list-info, .product-list-info {
  float: right;
  padding-bottom: 60px;
  width: 47.169811%;
}
.cat-list-title, .product-listing-title {
  color: #596060;
  font-size: 1.444444rem;
  font-weight: 300;
}
.cat-list-title a, .product-listing-title a {
  color: #596060;
}
.cat-list-title a:hover, .product-listing-title a:hover {
  color: #b32317;
}
.cat-list-link, .product-list-link {
  bottom: 0;
  position: absolute;
  right: 0;
  width: 47.169811%;
}
.cat-list-link a.em-button, .product-list-link a.em-button {
  font-size: 1.055556rem;
  padding-bottom: 13px;
  padding-top: 14px;
}

/* Product Archive - Listing View */
.product-listing-switch-view {
  float: right;
  list-style: none;
  margin: 9px 0 0;
  padding: 0;
}
.product-listing-switch-view li {
  border-left: 1px solid #c7c6c2;
  float: left;
  margin-left: 13px;
  padding-left: 13px;
}
.product-listing-switch-view li:first-child {
  border-left: none;
  margin-left: 0;
  padding-left: 0;
}
.product-listing-switch-view li a:before {
  color: #d6d6d3;
  font-family: FontAwesome;
  font-size: 1.222222rem;
  margin-right: 3px;
  vertical-align: middle;
}
.product-listing-switch-view li a.em-list-view:before {
  content: "\f00b";
}
.product-listing-switch-view li a.em-grid-view:before {
  content: "\f009";
}
.product-listing-switch-view li a:hover:before, .product-listing-switch-view li a.em-active:before {
  color: #000;
}
.product-listing-switch-view li a {
  color: #596060;
  display: block;
  font-size: 16px;
  line-height: 1.375em;
  font-weight: normal;
  text-decoration: none;
}
.woocommerce form.woocommerce-ordering:before {
  content: "Order By:";
  font-size: 1.111111rem;
  left: 0;
  line-height: 36px;
  position: absolute;
  top: 0;
}
.woocommerce form.woocommerce-ordering {
  float: none;
  margin: 0 150px 35px 0;
  padding-left: 90px;
  position: relative;
}
.woocommerce form.woocommerce-ordering .jqTransformSelectWrapper {
  width: 160px;
}
.woocommerce form.woocommerce-ordering .jqTransformSelectWrapper div span {
  font-size: 14px;
  line-height: 36px;
}
.woocommerce form.woocommerce-ordering .jqTransformSelectWrapper a.jqTransformSelectOpen:before {
  font-size: 28px;
  line-height: 36px;
}
.product-list-des p {
  margin: 0;
}
.woocommerce ul.products li.product .price {
  color: #b32317;
  font-size: 1rem;
  font-weight: 500;
  margin: 24px 0 20px;
}
body.em-grid-view-mode .product-list-sku, body.em-grid-view-mode ul.products li.product .price, body.em-grid-view-mode .product-listing-size, body.em-grid-view-mode .product-list-des, body.em-grid-view-mode .product-list-link {
  display: none;
}
body.em-grid-view-mode ul.products {
  margin-top: -50px;
}
body.em-grid-view-mode ul.products li.product {
  border-top: none;
  float: left;
  margin: 50px 0 0 !important;
  padding-top: 0;
  width: 47.169811%;
}
body.em-grid-view-mode ul.products li.product:nth-child(2n) {
  float: right;
}
body.em-grid-view-mode ul.products li.product:nth-child(2n+1) {
  clear: both;
}
body.em-grid-view-mode ul.products li.product > a {
  display: block;
  float: none;
  width: auto;
}
body.em-grid-view-mode .product-list-info {
  float: none;
  padding: 0;
  width: auto;
}
body.em-grid-view-mode .product-listing-title {
  margin-top: 20px;
}
.woocommerce ul.products, .woocommerce ul.products * {
    -webkit-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
}

/*********************
TESTIMONIALS
*********************/
.widget_woothemes_testimonials > .testimonials {
  *zoom: 1;
}
.widget_woothemes_testimonials > .testimonials:before,
.widget_woothemes_testimonials > .testimonials:after {
  content: "";
  display: table;
  line-height: 0;
}
.widget_woothemes_testimonials > .testimonials:after {
  clear: both;
}
.widget_woothemes_testimonials > .testimonials {
  position: relative;
}
.testimonials-list .quote > img {
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
  float: left;
  width: 164px;
}
.testimonials-list .quote blockquote {
  font-size: 1.8125rem;
  line-height: 1.3384083em;
  margin: 15px 0 22px 210px;
}
.testimonials-list .quote blockquote p {
  font-size: 1.6875rem;
  line-height: 1.333333em;
  margin: 0;
}
.testimonials-list .quote .author {
  display: block;
  font-size: 1.4375rem;
  font-style: normal;
  margin: 0 0 0 210px;
}

/*********************
FLEXSLIDER
*********************/
.flexslider {
  background: none;
  border: none;
}
.flex-direction-nav {
  height: 0;
}
.flex-nav-prev {
  float: left;
}
.flex-nav-next {
  float: right;
}
.flex-direction-nav a:before {
  color: rgba(0,0,0,0.4);
  font-family: FontAwesome;
  font-size: 60px;
  line-height: 34px;
  text-indent: 0;
  text-shadow: none;
}
.flex-direction-nav .flex-nav-prev a:before {
  content: "\f104";
}
.flex-direction-nav .flex-nav-next a:before {
  content: "\f105";
}
.flex-direction-nav a:hover:before {
  color: rgba(0,0,0,1);
}
.flex-direction-nav a {
  font-size: 0;
  line-height: 0;
  opacity: 1 !important;
  outline: none;
  text-indent: -999em;
  width: 25px;
}
.flex-direction-nav .flex-prev {
  left: 10px;
}
.flex-direction-nav .flex-next {
  right: 10px;
}
.flexslider .slides img {
    -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

/*********************
NEXTGEN FLEXSLIDER
*********************/
.flexslider.em-nextgen-flexslider {
  margin: 0;
}
.flexslider.em-nextgen-flexslider .slides > li {
  margin-right: 36px;
}

/*********************
GRAVITY FORM
*********************/

#gform_wrapper_3.gform_wrapper {
    max-width: 900px;
    margin: 0 auto;
}

div.gform_wrapper {
  margin: 0;
  max-width: none;
}
div.gform_wrapper ul li.gfield {
  margin-bottom: 34px;
}
div.gform_wrapper .top_label .gfield_label,
div.gform_wrapper .left_label .gfield_label {
  display: block;
  font-weight: inherit;
  margin: 0 0 3px;
}
body .gform_wrapper label.gfield_label + div.ginput_container {
  margin-top: 0;
}
div.gform_wrapper .top_label input.medium, div.gform_wrapper .top_label select.medium {
  width: 100%;
}
div.gform_wrapper .top_label textarea.medium {
  width: 100%;
}
div.gform_wrapper .gform_footer {
  padding: 0;
}
body #fancybox-content .gform_wrapper label.gfield_label + div.ginput_container {
  margin-top: 3px;
}
#fancybox-content div.gform_wrapper ul li.gfield {
  margin-bottom: 8px;
}
#fancybox-content .gform_wrapper textarea.medium {
  height: 100px;
}

ul.description_below{
  position: relative;
}

li#field_3_11,  li#field_3_13, li#field_3_14, li#field_3_12{
    text-align: right;
    margin: 0 auto;
    position: absolute;
    right: 0;
}

li.gsurvey-survey-field {
    display: inline-block;
    width: 87%;
}

li#field_3_7 {
    width: 80%;
}

li#field_3_8 {
    width: 85%;
}

.gf_inline img{
  padding-bottom:20px; 
}

span.gform_description {
    color: #002f55;
}

.gform_confirmation_wrapper h3{
  color: #fff;
}

@media (max-width: 761px){
   li#field_3_11, li#field_3_13, li#field_3_14, li#field_3_12 {
      position: relative;
      text-align: left;
  }

  li.gsurvey-survey-field {
      display: block;
      width: 98%;
  }
}


/*********************
JQTRANSFORM
*********************/
.jqTransformHidden {
    display: none !important;
}
.jqTransformSelectWrapper,
.jqTransformSelectWrapper div span{
  width: 100% !important;
}
.jqTransformSelectWrapper div span{
  border: 1px solid #b7b7b7;
  line-height: 50px;
  font-size: 1rem;
  padding: 0 0 0 12px;
}
.jqTransformSelectWrapper a.jqTransformSelectOpen:before{
  font-size: 28px;
  line-height: 50px;
}
.jqTransformSelectWrapper a.jqTransformSelectOpen{
  height: 50px;
  top: 1px;
  right: 1px;
}
.jqTransformSelectWrapper ul a{
  font-size: 0.938rem;
  padding: 4px 12px;
}

/*********************
BLOG
*********************/
.blog-description {
  background: #f4f4f4;
  margin: 0 0 43px;
  padding: 25px 30px;
}
.blog-description p {
  margin: 0;
}
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.postlist .post {
  border-top: 1px solid #e5e5e5;
  margin-top: 35px;
  padding-top: 35px;
}
.postlist .post-list .post:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}
.post-list-date {
  font-size: 0.875rem;
  margin-bottom: 14px;
}

.post-list-date a {
  text-decoration: underline;
}
h2.entry-title {
  margin-bottom: 10px;
}
.post-list-thumbnail {
  margin-bottom: 24px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.post-list-thumbnail img{
  width: 100%;
}
.post-list-thumbnail a.em-button{
  position: absolute;
  bottom: 0;
  right: 0;
}
.post-list-content p {
  margin-top: 0;
}
.post-list-content a.excerpt-read-more{
  display: none;
}
.post-tags{
  background: url("library/images/icons/tags.png") no-repeat left center;
  font-size: 0.875rem;
  padding: 2px 0 2px 35px;
}
/* h2.entry-title a, h2.entry-title a:visited,
.post-tags a, .post-tags a:visited{
  color: #202020;
}
h2.entry-title a:hover,
.post-tags a:hover{
  color: #a7b32f;
} 
/* h1.single-title {
  font-size: 1.8125rem;
  font-weight: normal;
} */
.post-image {
  margin: 15px 0 30px;
}
.byline {
  display: none;
}

/*********************
NAVIGATION
*********************/
nav.main-nav ul.nav {
  *zoom: 1;
}
nav.main-nav ul.nav:before,
nav.main-nav ul.nav:after {
  content: "";
  display: table;
  line-height: 0;
}
nav.main-nav ul.nav:after {
  clear: both;
}
nav.main-nav ul.nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav.main-nav ul.nav > li {
  float: left;
  position: relative;
}
.nav.main-nav ul.nav > li:first-child {
  margin-left: 0;
}
nav.main-nav ul.nav > li > a {
  color: #232426;
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 100px;
  padding: 0 17px;
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  z-index: 1;
}
nav.main-nav ul.nav > li.current-menu-item > a,
nav.main-nav ul.nav > li.current-parent-item > a,
nav.main-nav ul.nav > li.current-menu-ancestor > a,
nav.main-nav ul.nav > li:hover > a {
  color: #84c447;
}
nav.main-nav ul.nav > li.current-menu-item > a,
nav.main-nav ul.nav > li.current-parent-item > a,
nav.main-nav ul.nav > li.current-menu-ancestor > a {
  font-weight: 700;
}
nav.main-nav ul.nav li ul {
  background: #84c447;
  left: 100%;
  -moz-opacity: 0.00;
  -khtml-opacity: 0.00;
  opacity: 0.00;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=0);
  filter:alpha(opacity=0);
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
    -webkit-transition: all 200ms ease-in;
    -moz-transition: all 200ms ease-in;
    -o-transition: all 200ms ease-in;
    transition: all 200ms ease-in;
  visibility: hidden;
  width: 250px;
}
nav.main-nav ul.nav li:hover > ul {
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha"(Opacity=100);
  filter: alpha(opacity=100);
  visibility: visible;
}
nav.main-nav ul.nav > li > ul {
  left: 0;
  top: 100%;
}
nav.main-nav ul.nav li ul li {
  border-top: 1px solid #fff;
  position: relative;
}
nav.main-nav ul.nav li ul li:first-child {
  border-top: none;
}
nav.main-nav ul.nav li ul li a {
  color: #fff;
  display: block;
  font-weight: 600;
  padding: 8px 14px;
  text-decoration: none;
}
nav.main-nav ul.nav li ul li.current-menu-item > a,
nav.main-nav ul.nav li ul li.current-parent-item > a,
nav.main-nav ul.nav li ul li.current-menu-ancestor > a,
nav.main-nav ul.nav li ul li a:hover {
  background: #002f55;
}

.visible .hidden {
	opacity: 1;
}

/*********************
Responsive Menu
*********************/
#sfm-sidebar .sfm-menu li a{font-size: 1.25rem;}
#sfm-sidebar .sfm-has-child-menu > .sfm-child-menu > li > a{font-size: 1.125rem;}

/*********************
BACK TO TOP
*********************/
.cd-top {
  display: inline-block;
  height: 50px;
  width: 50px;
  position: fixed;
  bottom: 30px;
  right: 20px;
  border: 1px solid rgba(132, 196, 71, 1.0);
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: url('library/images/cd-top-arrow.svg') no-repeat center 50% rgba(0, 0, 0, 0.75);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s;
  -moz-transition: opacity .3s 0s, visibility 0s .3s;
  transition: opacity .3s 0s, visibility 0s .3s;
  -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
.cd-top.cd-is-visible, .cd-top.cd-fade-out, .no-touch .cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s;
  -moz-transition: opacity .3s 0s, visibility 0s 0s;
  transition: opacity .3s 0s, visibility 0s 0s;
}
.cd-top.cd-is-visible {
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-fade-out {
  opacity: .5;
}
.no-touch .cd-top:hover {
  background-color: rgba(0, 0, 0, 0.9);
  opacity: 1;
}

/*********************
RESPONSIVE STYLES
*********************/
@media (max-width: 1600px) {  
  /* Header */
  .logo{margin-left: 20px;}
  .header-right > ul > li{
    font-size: 26px;
  }
  .header-right > ul > li > a, 
  .header-right > ul > li > span{
    background-position: 20px center !important;
    padding-left: 80px;
    padding-right: 20px;
  }
  nav.main-nav ul.nav > li > a{
    font-size: 1rem;
    padding: 0 12px;
  }

}
@media (max-width: 1400px) {
  .center{
    padding-left: 15px;
    padding-right: 15px;
  }
  
  /*** Enter your custom style here ***/
  /* Header */
  .logo{margin-left: 10px;}
  .logo img{max-width: 215px;}
  nav.main-nav ul.nav > li > a {font-size: 0.875rem;}
  nav.main-nav ul.nav > li > a,
  .header-right > ul > li > a, 
  .header-right > ul > li > span{
    line-height: 90px;
  }
  .header-right{padding-left: 10px;}
  .header-right > ul > li{font-size: 22px;}
  
  /* Home Portals */
  .home-portals ul > li{height: 260px;}
  .portal-content{padding: 22px 20px 26px 24px;}
  .portal-content h3{margin-bottom: 16px;}
  .portal-content p{
    line-height: 1.4em;
    margin-bottom: 25px;
  }
  
  /* Bottom Bar */
  .bottom-bar .center{padding: 0 20px;}
  
  .inner-banner{padding: 80px 0;}

}


@media (max-width: 1200px) {
  html{font-size: 95% !important;}  
  body, p, td, ul, li{
    line-height: 1.4em;
  } 
  h2, h3, h4, h5, h6, p{
    margin-bottom: 20px;
  }
  .bottom-bar,
  .home-portals,
  .mainbody,
  .extra_content {
    padding: 60px 0;
  }
  
  /* Sidebar */
  body.sidebar .mainbody-inner {
    padding-right: 320px;
  }
  .main-sidebar {
    width: 320px;
  }
  .main-sidebar .widget{
    margin-bottom: 30px;
    padding-top: 30px;
  }
  
  /*** Enter your custom style here ***/
  /* Header */
/*  .main-header.sticky .logo {margin-top: 7px;} */
  .logo{margin-top: 13px;}
  .logo img {max-width: 190px;}
  nav.main-nav ul.nav > li > a{padding: 0 10px;}
  .header-right > ul > li{font-size: 1.25rem;}
  .header-right > ul > li > a{background-image: url('library/images/icons/circle-email-2.png');}
  .header-right > ul > li > span{background-image: url('library/images/icons/circle-phone-2.png');}
  .header-right > ul > li > a, 
  .header-right > ul > li > span{
    background-position: 12px center !important;
    padding-left: 58px;
    padding-right: 12px;
  }
  nav.main-nav ul.nav > li > a,
  .header-right > ul > li > a, 
  .header-right > ul > li > span{
    line-height: 80px;
  }
  .header-right {padding-left: 6px;}
  
  /* Home Portals */
  .home-portals ul > li{height: 220px;}
  .portal-content{padding: 17px 20px 20px 20px;}
  .portal-content h3{
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
  .portal-content p{
    line-height: 1.3333em;
    margin-bottom: 16px;
  }
  .portal-content a.em-button{padding: 10px 35px 9px;}
  
  /* home-row-01 */
  .home-row-01 div.ezcol {
    width: 100% !important;
    margin: 0 0 20px;
  }
  .home-row-01 div.ezcol-last {
    margin-bottom: 0;
  } 
  
  /* Inner Banner */
  .inner-banner{padding: 60px 0;}
  .inner-banner h1{font-size: 3.125rem;}
  .banner-button a.em-button{
    font-size: 1.375rem;
    padding: 20px 24px;
  }
  
  /* Bottom Bar */
  .bottom-bar h2{font-size: 3rem;}
  .bottom-bar p{
    font-size: 1.25rem;
    width: 90%;
    margin-bottom: 30px;
  }
  
  /* Footer */
  .footer-col-1{width: 30.71%;}
  .footer-col-2{width: 30.05%;padding-left: 16px;}
  .footer-col-2 ul > li{display: block;font-size: 0.938rem;}
  .footer-col-3{width: 39.24%;padding-left: 20px;}
  
  /* Services page template */
  ul.meet-staff-list > li > a{font-size: 1rem;}

  #gform_wrapper_1 .gform_body {
    width: 85%;
  }

} 
@media (max-width: 1023px) {
  html{font-size: 90% !important;}
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h2.entry-title {
    font-size: 1.375rem;
  }
  
  .inner-bottom-portal,
  .bottom-bar,
  .home-portals,
  .mainbody,
  .extra_content {
    padding: 40px 0;
  }
  
  .post-list-thumbnail {
    margin-right: 15px;
  }
  .table-style-1 td, .table-style-1 th {
    padding-left: 10px;
  }
  .flex-direction-nav .flex-prev, .flexslider:hover .flex-direction-nav .flex-prev {
    left: 0;
  }
  .flex-direction-nav .flex-next, .flexslider:hover .flex-direction-nav .flex-next {
    right: 0;
  }
  div.ezcol-last + .ezcol-divider {
    clear: both !important;
    display: block !important;
  }
  .cd-top {
    bottom: 20px;
    right: 20px;
  }
  .sfm-rollback {
    display: block;
    width: 0;
  }
  
  /* WooCommerce */
  .woocommerce ul.products li.product > a:after {
    font-size: 1.25rem;
    height: 50px;
    line-height: 50px;
    margin: -25px 0 0 -100px;
    width: 200px;
  }
  .cat-list-info, .product-list-info {
    padding-bottom: 0;
  }
  .cat-list-link, .product-list-link {
    margin-top: 15px;
    position: static;
    width: auto;
  }
  .woocommerce ul.products li.product .price {
    margin: 14px 0 12px;
  }
  .cat-list-link a.em-button, .product-list-link a.em-button {
    font-size: 1rem;
  }
  body.em-grid-view-mode ul.products {
    margin-top: -30px;
  }
  body.em-grid-view-mode ul.products li.product {
    margin-top: 30px !important;
  }
  body.em-grid-view-mode .product-listing-title {
    margin-top: 10px;
  }
  .woocommerce div.product .product_title {
    font-size: 2.125rem;
    margin-bottom: 20px;
  }
  
  /* Sidebar */
  body.sidebar .mainbody-inner {
    padding-right: 260px;
  }
  .main-sidebar {
    width: 260px;
    padding-left: 0;
  }
  .main-sidebar .widget{
    margin-bottom: 20px;
    padding-top: 20px;
  }
  .main-sidebar ul.menu > li > a{
    padding: 20px 18px 20px 24px;
  }
  
  /*** Enter your custom style here ***/
  /* Header */
  .logo {margin-left: 80px;}
  .top-menu{display: none;}
  
  .inner-banner{padding: 50px 0;}
  .inner-banner h1{font-size: 3rem;}
  .banner-button a.em-button{
    font-size: 1.25rem;
    padding: 16px 20px;
  }
  
  /* Home Portals */
  .home-portals ul{
    margin: 0 auto;
    width: 570px;
  }
  .home-portals ul > li{
    width: 100%;
    height: 250px;
    margin: 0 0 20px !important;
  }
  .home-portals ul > li:last-child{
    margin: 0 !important;
  }
  .home-portals ul > li:first-child + li + li .portal-content{
    background-color: #84c447;
  }
  .home-portals ul > li:last-child .portal-content{
    background-color: #002f55;
  }
  .home-portals ul > li:first-child + li + li:hover a.em-button{
    background-color: #002f55;
  }
  .home-portals ul > li:last-child:hover a.em-button{
    background-color: #84c447;
  }
  .home-portals ul > li:first-child + li + li:hover h3 a{
    color: #002f55;
  }
  .home-portals ul > li:last-child:hover h3 a{
    color: #84c447;
  }
  .home-portals ul > li:nth-child(4) .portal-content {background-color: #002f55;}
  .portal-content{padding: 20px 20px 20px 24px;}
  .portal-content h3{
    font-size: 1.5rem;
    margin-bottom: 18px;
  }
  .portal-content p{
    font-size: 1rem;
    line-height: 1.7em;
    margin-bottom: 22px;
  }
  /* Footer */
  .inner-bottom-portal a.em-button{padding: 20px 10px 19px;}
  
  /* Footer */
  .footer-columns {padding: 34px 0 14px;}
  .footer-col {
    float: none;
    padding: 0 0 24px !important;
    width: 100% !important;
  }
  .footer-col h5{margin: 0 0 12px;}
  .footer-col-1 p{line-height: 1.4em;}
  .footer-col-2 ul > li{margin-bottom: 5px;}
  .inner-bottom-portal ul li {width:30%;}
}

@media (max-width: 990px) {
  #gform_wrapper_1 .gform_body {
    width: 80%;
  }
}


@media (min-width: 768px) {
  /* Responsive Column */
  div.ezcol-one-quarter {width: 23.17375% !important;}
  div.ezcol-one-half {width: 48.7825% !important;}
  div.ezcol-one-third {width: 31.71% !important;}
  div.ezcol-one-fifth {width: 18.052% !important;}
  div.ezcol-two-third {width: 65.855% !important;}
  div.ezcol-three-quarter {width: 74.39125% !important;}
  div.ezcol-two-fifth {width: 38.539% !important;}
  div.ezcol-three-fifth {width: 59.026% !important;}
  div.ezcol-four-fifth {width: 79.513% !important;}
  div.ezcol {margin-right: 2.435%;}
  div.ezcol-last {margin-right: 0;}
  div.ezcol.mobile-hidden,
  div.ezcol.timetable {
	  margin-right: 0;
  }
  
  /*** Enter your custom style here ***/
}
@media (max-width: 767px) {
  html {font-size: 87.5% !important;}
  body, p, td, ul, li{
    line-height: 1.33em;
  } 
  h2, h3, h4, h5, h6, p{
    margin-bottom: 16px;
  }
  .gform-title h4{
  width: 100%;
    text-align: center;
}
  .gform-title1 h4{
  width: 100%;
    text-align: center;
}
 
  img.no-margin{
    margin-bottom: 0;
  }
  
  .bottom-bar,
  .home-portals,
  .mainbody,
  .extra_content {
    padding: 30px 0;
  }
  
  .post-list-thumbnail {
    float: none;
    margin: 0 0 10px;
  }
  .postlist > article.post {
    margin-top: 25px;
    padding-top: 25px;
  }
  
  .cd-top {
    bottom: 10px;
    right: 10px;
    height: 40px;
    width: 40px;
  }
  
  /* WooCommerce */
  .woocommerce ul.products li.product {
    margin-top: 26px;
    padding-top: 22px;
  }
  .woocommerce ul.products li.product > a {
    display: block;
    float: none;
    margin: 0;
    width: auto;
  }
  .cat-list-info, .product-list-info {
    float: none;
    margin: 20px 0 0;
    width: auto;
  }
  .cat-list-link a.em-button, .product-list-link a.em-button {
    display: block;
    padding-left: 10px;
    padding-right: 10px;
  }
  .product-listing-switch-view {
    float: none;
    margin: 0 0 15px;
  }
  .woocommerce form.woocommerce-ordering {
    margin-right: 0;
    padding-left: 80px;
  }
  body.em-grid-view-mode ul.products {
    margin: -20px auto 0;
    max-width: 500px;
  }
  body.em-grid-view-mode ul.products li.product {
    float: none !important;
    margin: 20px 0 0 !important;
    width: auto;
  }
  body.em-grid-view-mode .product-list-info {
    margin-top: 0;
  }
  
  /* Responsive Column */
  div.ezcol {
    width: 100% !important;
    margin: 0 0 20px;
  }
  div.ezcol-last {
    margin-bottom: 0;
  }
  
  /* Sidebar */
  body.sidebar .mainbody-inner {
    padding-right: 0;
  }
  body.sidebar .main-content #content{
    padding-right: 0;
  }
  .main-sidebar {
    width: 100%;
    margin: 20px 0 0;
  } 
  .main-sidebar ul.menu > li > a{
    padding: 16px 20px;
  }
  
  .mainbody,
  .extra_content {
    padding: 30px 0;
  }
  
  /*** Enter your custom style here ***/  
  /* Bottom Bar */
  .bottom-bar h2{font-size: 2.5rem;}
  .bottom-bar p{font-size: 1.125rem;margin-bottom: 20px;}
  
  
  .inner-banner {padding: 40px 0;}
  .banner-button{display: none;}
  .page-id-1303 .inner-banner {
    text-align: center;
  }
  .page-id-1303 .inner-banner h1, .page-id-1303 .inner-banner .banner-button {
    float: none;
  }
  
  /* Footer */
  .footer-bottom > div > div{display: block;}
  .copyright{margin: 0 0 14px;}
  .copyright span{
    display: block;
    height: 3px;
    text-indent: -999em;
  }
  .footer-socmed{
    margin: 0 auto;
    width: 34px;
  }
ul.meet-staff-list > li > a:hover {
    min-height: 141px;
}
  [class*="block-grid-"] > li {
      max-width: 100%;
      width: 100%;
  }
  #gform_wrapper_1 .gform_body {
    width: 74%;
  }
  .inner-bottom-portal ul li {width:40%;}
  table.time-table strong {
    padding-bottom: 20px;
    width: 100px;
    display: inline-block;
	}
	.mobile-visible {
		display: inherit;
	}
	.mobile-hidden {
		display: none;
	}
	.mobile-visible .meet-staff-list {
		display: inherit;
		margin-top: 30px;
	}
	.timetable table,
	.mobile-hidden {
		display: none;
	}
	.timetable-mobile {
		display: block;
	}
	.schedule-table tr td:first-child {
		font-weight: bold;
		text-align: left;
	}
}
@media (max-width: 699px) {
  #post-1303 img.alignright {
    display: block;
    float: none;
    margin: 0 auto 25px;
  }
}
@media (max-width: 640px) {
  #gform_wrapper_1 .gform_body {
    width: 100%;
  }

  #gform_submit_button_1 {
    margin: 0;
  }
  #gform_wrapper_1 #field_1_1, #gform_wrapper_1 #field_1_2 {width:100%; padding:0;}
}

@media (min-width: 601px) {
  /* Facebook Feed */
  .fb-feed-desktop{display: block;}
  /* .fb-feed-mobile{display: none;} */
}
@media (max-width: 600px) {
  /* Header */
  .logo {
    float: none;
    width: 100%;
    margin: 10px 0 12px !important;
    text-align: center;   
  }
  .header-right {
    float: none;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    text-align: center; 
  }
  .header-right > ul > li{
    font-size: 1.375rem;
    width: 100%;
  }
  .header-right > ul > li > a, 
  .header-right > ul > li > span{
    background-position: left center !important;
    padding-left: 44px;
    padding-right: 0;
    line-height: 50px !important;
    display: inline-block;
    width: 170px;
    text-align: left;
  }
/*  .main-header.sticky .logo{margin: 3px 0 !important;}
  .main-header.sticky .logo img{max-width: 173px;}
  .main-header.sticky .header-right{display: none;}
  .sfm-mobile .sfm-navicon-button.sticky,
  .sfm-navicon-button.sticky{top: 0;}
*/
  .sfm-mobile .sfm-navicon-button,
  .sfm-navicon-button {
    top: 10px;
  }

  
  /* Home Portals */
  .home-portals ul{width: auto;}
  .home-portals ul > li{height: auto;}
  .portal-photo{display: none;}
  .portal-content{
    float: none;
    width: 100%;
    padding: 20px;
  }
  .portal-content h3{
    font-size: 1.5rem;
    margin-bottom: 12px;
  }
  .portal-content p {
    line-height: 1.4em;
    margin-bottom: 14px;
  }
  
  /* home-row-01 */
  .home-row-01 div.ezcol {
    margin: 0;
  }
  
  /* Home - Newsletter */
  div.gf_simple_horizontal_wrapper div.gform_body ul li.gfield input[type="text"],
  div.home-newsletter.gf_simple_horizontal_wrapper div.gform_body,
  div.home-newsletter.gf_simple_horizontal_wrapper div.gform_footer{
    width: 100% !important;
  }
  
  /* Home - Facebook Feed */
  .fb-feed-desktop{display: none;}
  
}
@media (max-width: 480px) {
  .g-recaptcha {
    -moz-transform: scale(0.925);
    -webkit-transform: scale(0.925);
    transform: scale(0.925);
    transform-origin: left center 0;
  }
  #fancybox-content .g-recaptcha {
    -moz-transform: scale(0.725);
    -webkit-transform: scale(0.725);
    transform: scale(0.725);
    transform-origin: left center 0;
  }
  /*** Enter your custom style here ***/
  .inner-bottom-portal ul li {width:100%;}
}
@media (max-width: 479px) {
  .sfm-navicon-button{
    padding: 26px 15px;
  }
  
  /* Home - Newsletter */
  div.home-newsletter.gf_simple_horizontal, 
  div.home-newsletter.gf_simple_horizontal_wrapper{
    padding: 20px 30px 27px;
  }

}