c.w3-theme-l5 {color:#000 !important; background-color:#f4fbfd !important}
.w3-theme-l4 {color:#000 !important; background-color:#daf0fa !important}
.w3-theme-l3 {color:#000 !important; background-color:#b5e2f5 !important}
.w3-theme-l2 {color:#000 !important; background-color:#91d3f0 !important}
.w3-theme-l1 {color:#000 !important; background-color:#6cc5eb !important}
.w3-theme-d1 {color:#fff !important; background-color:#2dace2 !important}
.w3-theme-d2 {color:#fff !important; background-color:#1d9dd4 !important}
.w3-theme-d3 {color:#fff !important; background-color:#1989b9 !important}
.w3-theme-d4 {color:#fff !important; background-color:#16769f !important}
.w3-theme-d5 {color:#fff !important; background-color:#126284 !important}

.w3-theme-light {color:#000 !important; background-color:#f4fbfd !important}
.w3-theme-dark {color:#fff !important; background-color:#126284 !important}
.w3-theme-action {color:#fff !important; background-color:#126284 !important}

.w3-theme {color:#fff !important; background-color:#46b6e6 !important}
.w3-text-theme {color:#46b6e6 !important}
.w3-theme-border {border-color:#46b6e6 !important}
.w3-hover-theme:hover {color:#fff !important; background-color:#46b6e6 !important}


/*TYPOGRAPHY*/
p {
    line-height: 1.5;

}

/*squishing the line height of p tags*/
.cards {
    line-height: 1.3;
}

h1{
 /*color:#ee6e73; */
 font-weight:400;  
 font-size:44px;
 padding-bottom:20px;
 }
 
 .heading{
  padding-top: 84px;   
 }
 
 /*Red Header*/
.features{
  color:#ee6e73;   
 }
 
h3 {
    line-height:1.3;
}

.footer{
font-size:13px;
margin-top: 0px;
}

.with-bullets{
    list-style-type:disc;
}

.strong{
  font-weight:bold !important;
}

/*END OF TYPOGRAPHY*/

/*NAV AND TOP LOGO*/

nav ul li:hover, nav ul li.active {
    background-color: #46b6e6;
}

/*Colour of hamburger nav*/
.button-collapse {
  color: #126284;
}
.topLogo{
    max-width:200px;
}

/*Creates a top margin, so that the scroll menu, hits the right target, and doesn't cut the header off*/
.topMargin{
    margin-top:20px;
}

a.anchor {
    display: block;
    position: relative;
    top: -60px; /* height of sticky navigation */
   /* visibility: hidden;*/
}
@media only screen and (max-width: 892px){
#index-banner .section {
    top: 17%;
}
}

/*Prevents nav wrapping at med width*/
@media only screen and (min-width: 993px){
.container {
    width: 85%;
}
}

/*END OF NAV AND TOP LOGO*/

/*CLIENT LOVE PAGE - FLIP PANELS */
.w3-col, .card2 {
  border: 1px 1px 1px 1px;
  border-style:solid;
  border-color: #eeeeee;
  height:260px;
}

.front{
  background-color: #fff;
  /* background-image:url(http://cdn-img.health.com/sites/default/files/migration/images/healthy-living/fitness/sport-head-injury-150.jpg)*/
 }

.back{
   background-color: #fff;
 }

/*Resizing of flip cards*/
.card2{
    width:19%;
    margin:4px
}

/*MEDIA QUERIES FOR FLIP CARDS*/
@media screen and (min-width:1600px) {
    
}

@media screen and (max-width:998px) {
  .card2{
    width:45%;
    
  }
}


@media screen and (min-width:601px) and (max-width:998px) {

}

@media screen and (max-width:601px) {
  .card2{
    width:95%;
    }
}
/*END OF CLIENT LOVE PAGE - FLIP PANELS */

/*TITLE SIZE FOR FEATURES REVEAL CARDS */
.card .card-title {
    
    font-size: 20px;
}
.card .card-content .card-title {
    line-height: 35px;
}
/*END OF REVEAL CARDS */

/*Positioning of images in FEATURES2 */
.featuresImage{
    float:left; 
    padding-right:32px;
    /*padding-top:20px;*/
}
.footerDivider{
 background-color: #5d7286;   
}

.card .card-content {
    padding: 30px;
}
/*BUTTON STYLES */
#buttonz{
    margin-top:20px;
}
/*********** BG Video *****/
.mb_YTPBar .level
{
    position:relative;
}
.mb_YTPBar .buttonBar
{
    display:none;
}
#bgndVideo
{
    position:relative;
    background-position: center; 
    background-size:cover;
    background-color:#efefef;
    background-position:fixed;
    margin-top:0px !important;
}
#textWrapper
{


}

#textWrapper1
{
    position:absolute;
    top:150px;
    
}
#bgndVideo h1
{
    padding-top:240px;
    text-align:center;
    font-size:60px;
}
#bgndBideo h3
{
    text-align:center;
    margin-top:20px;
}
#bgndVideoMed
{
    position:relative;
    max-height:400px;
    background-position: center; 
    background-size:cover;
    background-repeat:no-repeat;
    margin-bottom:0px;
}
#btnMedHome
{

    top: 150px;
    text-align:center
}
#bgndVideoSmall
{
    position:relative;
    max-height:250px;
    background-position: center; 
    background-size:cover;
    background-repeat:no-repeat;
    margin-bottom:0px;
}
#btnSmallHome
{

    top: 100px;
    text-align:center;

}

/*Scroll Arrow*/

.arrow-wrap {
  position:relative;
  z-index:1;
  left:50%;
  top:-5em;
  margin-left:-5em;
  background:#42A5F5;
  width:10em;
  height:10em;
  padding:4em 2em;
  border-radius:50%;
  font-size:0.5em;
  display:block;
  box-shadow:0px 0px 5px 0px #333;
}

.arrow {
  float:left;
  position:relative;
  width: 0px;
height: 0px;
border-style: solid;
border-width: 3em 3em 0 3em;
border-color: #ffffff transparent transparent transparent;
  -webkit-transform:rotate(360deg)
}

.arrow:after {
  content:'';
  position:absolute;
  top:-3.2em;
  left:-3em;
  width: 0px;
height: 0px;
border-style: solid;
border-width: 3em 3em 0 3em;
border-color: #111 transparent transparent transparent;
  -webkit-transform:rotate(360deg)
}


.hint {
  position:absolute;
  top:0.6em;
  width:100%;
  left:0;
  font-size:2em;
  font-style:italic;
  text-align:center;
  color:#fff;
  opacity:0;
}


.arrow-wrap:hover .hint {
  opacity:1;
}


  @-webkit-keyframes arrows {
    0% { top:0; }
    10% { top:12%; }
    20% { top:0; }
    30% { top:12%; }
    40% { top:-12%; }
    50% { top:12%; }
    60% { top:0; }
    70% { top:12%; }
    80% { top:-12%; }
    90% { top:12%; }
    100% { top:0; }
  }
  
  .arrow-wrap .arrow {
    -webkit-animation: arrows 2.8s 0.4s;
    -moz-animation: arrows 2.8s 0.4s;
    -webkit-animation-delay: 3s;
    -moz-animation-delay: 3s;
  }
  
  /* Scroller 2 */
  
.arrow-down {
width: 0; 
height: 0; 
border-left: 20px solid transparent;
border-right: 20px solid transparent;
border-top: 20px solid rgba(40,46,106,0.7);
position: fixed;
z-index: 99;
bottom: 2%;
left: 0;
right: 0;
margin: 0 auto;
}


#peoplesay img{
        width:100%;
    }


.contact-list{
    padding:16px;
    width:100%;
    }

.contact-list li {
    padding:16px;
    border-bottom-style:solid;
    border-bottom-width:1px;
    border-bottom-color:#bbbbbb;
    font-size:1.3em;
    color:#666666;
    width:100%;

    }
    
/** Contact us icon **/
body > div:nth-child(8) > div > div:nth-child(2) > ul > li > div.collapsible-header.center-align > h3 > i {
    margin-top:3px
    }

.collapsible {
    box-shadow:none !important;
    border:none;
    
    }
    
/*** Bulleted UL ***/

.with-bullets{
  padding-left: 20px;
  margin-left: 20px;
  list-style-position: outside;
}

body > div.row > div > div:nth-child(2) > ul > li > div.collapsible-header.center-align{
    border:none;
    }

nav ul li a{
    color:black
    }

/*** Carousel Styling ***/

.carousel {
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    width: 100%;
    height: 300px;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
}

.carousel .indicators .indicator-item.active {
    background-color: #cc0000;
}
.carousel .indicators .indicator-item {
    display: inline-block;
    position: relative;
    cursor: pointer;
    height: 8px;
    width: 8px;
    margin: 24px 4px;
    background-color: #444;
    transition: background-color .3s;
    border-radius: 50%;
}