/*
lime: #8CC63F
raspberry: #B6005F
*/

/* writing styles */	
html {
	padding: 0;
	margin: 0;
}

body {
  padding: 0px;
  margin: 0px;  
  font-family: "futura-pt", Futura, sans-serif;
}

input, select, textarea {
	font-family: Arial, Helvetica, sans-serif;
}

strong, b {
	font-weight: 500;
}	

.page-header {
	background-color: ##ffffff;
    box-shadow: #aaa 0px 10px 10px;
	padding: 8px 0 5px 0;
}

.page-header-logo {
	margin: 0 auto;
	padding: 0px;
	max-width: 1020px;
	box-sizing: border-box;
}

.page-header img   
{
    max-height: 100px;
}

.page-content {
	max-width: 1040px;
	margin: 20px auto;		
	padding: 20px;
	box-sizing: border-box;
	min-height: 400px;
}

div#top {
  width: 100%;
  height: 194px;
  padding: 0px;
  position: relative;
  
  box-shadow: 0px 10px 10px #999999;
  box-sizing: border-box;
}

div#topbar {
  position: absolute;
  width: 100%;
  top: 123px;
  left: 0px;
  height: 28px;
  box-sizing: border-box;
  
  z-index: 5;
  
  background-color: #8CC63F;
}

div#topcentre {
  width: 1000px;
  margin-left: auto;
  margin-right: auto;  
  
  position: relative;
  
  z-index: 10;
  box-sizing: border-box;
}

div#topcentre img:first-child {
  position: absolute;
  left: 0px;
  top: 0px;
  
  
}

div#contact_box {
  position: absolute;
  top: 10px;
  right: 0px;
  
  text-align: right;
}

div#contact_box2 {
  position: absolute;
  top: 150px;
  height: 50px;
  width: 100%;
  
  text-align: right;
  
  box-sizing: border-box;
  
  display: none;
  
  padding-right: 5%;
  padding-top: 5px;
  padding-top: 5px;
  
  background-color: #ffffff;
}

div#contact_box a {
  font-size: 14pt;
  text-decoration: none;
  color: #B6005F;
  font-weight: 500;
  
  line-height: 16pt;
}

div#contact_box span {
  font-size: 14pt;
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  
  line-height: 16pt;
}

div#contact_box2 a {
  font-size: 12pt;
  text-decoration: none;
  color: #B6005F;
  font-weight: 500;
  
  line-height: 14pt;
}

div#contact_box2 span {
  font-size: 12pt;
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  
  line-height: 14pt;
}

div#menu_container {
  position: absolute;
  top: 150px;
  left: 0px;
  width: 100%;

  text-align: center;
  
  z-index: 101;

}

div#main {
  width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  box-shadow: 0px 10px 10px #999999;
  box-sizing: border-box;
  
  min-height: 600px;
  
  padding-bottom: 43px;
  margin-bottom: 30px;
  
  position: relative;
  
  background-color: #ffffff;
}

div#main_inner {
  margin: 10px;
}

div#slideshowDiv {
  width: 1000px;
  height: 333px;
  position: relative;
  left: -10px;
  top: -10px;
  padding: 0px;
   
  box-sizing: border-box;
}

div#slideshowDiv img {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
}

div#mainbottom {
  position: absolute;
  bottom: 0px;
  min-height: 28px;
  height: 28px;
  height: auto!important;
  background-color: #B6005F;
  width: 100%;
  box-sizing: border-box;
  
  color: #ffffff;
  padding: 5px;
}

div#mainbottom a {
  position: absolute;
  top: 0px;
  right: 5px;
  left: 50%;
  text-align: right;
  color: #ffffff;
  font-size: 16pt;
  text-decoration: none;
}

div#mainbottom a:first-child {
  left: 5px;
  right: 50%;
  text-align: left;
}

ul.oh li {
  list-style-image: url('images/lime O small.png');
  list-style-position: middle;
  font-size: 14pt;
  line-height: 30px;
  font-weight: 500;
}

ul.oh li a {
  text-decoration: none;
}

ul.oh li a:hover {
  text-decoration: underline;
}

img.rightfeature {
  float: right;
  
  box-shadow: 0px 0px 20px #999999;
  margin-left: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 20px;
}

@media screen and (max-width: 999px)
{
  div#topcentre, div#main, div#slideshowDiv { width: 870px; }
  div#slideshowDiv { height: 290px; }
}

@media screen and (max-width: 899px)
{
  div#topcentre, div#main, div#slideshowDiv { width: 770px; }
  div#slideshowDiv { height: 257px; }
}

@media screen and (max-width: 799px)
{
  div#topcentre, div#main, div#slideshowDiv { width: 670px; }
  div#slideshowDiv { height: 223px; }
  }
  
@media screen and (max-width: 699px)
{
  div#topcentre, div#main, div#slideshowDiv { width: 570px; }
  div#slideshowDiv { height: 190px; }
}

/* last one - collapse as narrow as possible */
@media screen and (max-width: 599px)
{
  div#main { width: 90%; }
  div#slideshowDiv { display: none; }
  div#contact_box { display: none; }
    
  div#top { height: 244px; }
  div#contact_box2 { display: block; }
  div#menu_container { top: 200px; }
  
  div#mainbottom a { font-size: 12px; }
}

/* really narrow */
@media screen and (max-width: 350px)
{
  div#contact_box2 { height: 70px; }
  div#menu_container { top: 220px; }
}

  
h1 {
  margin-top: 5px;
  margin-bottom: 3px;
  
  font-weight: 400;
  font-size: 36px;
  color: #097cbe;
}

h2, h4 {
  margin-top: 4px;
  margin-bottom: 2px;
  
  color: #808080;
}

h3 {
  margin-top: 4px;
  margin-bottom: 2px;
  
  color: #097cbe;
}

.grn { color: #8CC63F; }

a { color: #B6005F; }
a:visited { color: #B6005F; }
a:active { color: #8CC63F; }

/* Habit Group footer */
.habit-group-footer {
	margin: 0 auto;
	text-align: center;
	max-width: 1040px;
	padding: 0 20px 30px;
	width: 100%;
	box-sizing: border-box;
}
.habit-group-footer .habit-group-logo {
	padding-top: 10px;
	padding-bottom: 30px;
	margin-bottom: 30px;
}
.habit-group-footer img {
	display: inline-block;
}
.habit-group-footer .habit-group-brand-1 {
	float: left;
}
.habit-group-footer .habit-group-brand-3{
	float: right;
}

@media (max-width: 699px) {
	.habit-group-footer .habit-group-brand-1,
	.habit-group-footer .habit-group-brand-2,
	.habit-group-footer .habit-group-brand-3 {
		float: none;
		text-align: center;
		margin-bottom: 30px;
	}		
	
	.habit-group-footer img	{
		max-width: 100%;
	}
}

	
/* footer */
#footer {
  background-color: #474546;
  box-shadow: 0 100vh 0 100vh #474546;
  color: #fff;
  
  max-width: 1040px;
  margin: auto;
  
  padding: 20px 0; }
  #footer #footer-logo-section {
    
    margin-top: 1em;
    padding-top: 0em;
    padding-bottom: 1em;
    text-align: right; }
    #footer #footer-logo-section img {
      max-height: 100px;
      max-width: none; }
  #footer #left-content {
    margin-top: 2em;
    text-align: left; }
  #footer #centre-content {
    margin-top: 2em;
    text-align: center; }
  #footer #second-centre-content {
    margin-top: 2em;
    text-align: center; }
  #footer #right-content {
    margin-top: 2em;
    text-align: right; }
	
	
	div.col-md-3
	{
		width: 24%;
		display: inline-block;
	}
	
  @media only screen and (max-width: 991px) {
    #footer #footer-logo-section {
      
      margin-left: 20px;
      margin-right: 20px; }
    #footer #left-content, #footer #centre-content, #footer #right-content {
      text-align: center; } 
	  
	  div.col-md-3
	{
		width: inherit;
		display: block;
	}
	  
	  }

#footer-contact-button-section {
  background-color: #e7e7e8;
  text-align: center;
  padding: 2em; }

.footer-contact-button {
  background-color: #007bc1;
  display: inline-block;
  padding: 0.5em 2em;
  color: #fff;
  text-transform: none;
  font-weight: 400;
  border: none;
  letter-spacing: 1px;
  line-height: 1;
  border-radius: 0.5em;
  line-height: 1.4;
  text-align: center; }
  .footer-contact-button.full-width {
    width: 100%;
    padding-left: 3px;
    padding-right: 3px;
    text-align: center;
    display: block; }
  .footer-contact-button:active, .footer-contact-button:visited, .footer-contact-button:focus {
    color: #fff; }
  .footer-contact-button:hover {
    background-color: #009cf4;
    color: #fff; }
  .footer-contact-button .top-line {
    text-transform: uppercase;
    font-weight: 500; }
  .footer-contact-button .bottom-line {
    font-size: 0.7em; }

