  /*---------------------------------------------------------------------------------------------------------------------------
    The SleepWell Method - 2017
---------------------------------------------------------------------------------------------------------------

  /*---------------------------------------------------------------------------------------------------------------------------
    GENERAL STYLES
-----------------------------------------------------------------------------------------------------------------------------*/


  
a {
background-color: transparent;
}

b,
strong {
font-weight: inherit; 
}

img {
border-style: none; 
}

body {
margin: 0;
padding: 0;
background: #fefefe;
font-family: Segoe UI,Frutiger,Frutiger Linotype,Dejavu Sans,Helvetica Neue,Arial,sans-serif;
font-weight: normal;
line-height: 1.5;
color: #404040;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; 
}
  
a {
line-height: inherit;
color: #4F697B;
text-decoration: none;
cursor: pointer; 
}

a:hover, a:focus {
color: #1468a0; 
}

a img {
border: 0; 
}

hr {
clear: both;
max-width: 75rem;
height: 0;
margin: 1.25rem auto;
border-top: 0;
border-right: 0;
border-bottom: 1px solid #cacaca;
border-left: 0; 
}  
  
img {
display: inline-block;
vertical-align: middle;
max-width: 100%;
height: auto;
-ms-interpolation-mode: bicubic; 
}

html {
box-sizing: border-box;
font-size: 100%; 
}

p {
margin-bottom: 1rem;
font-size: inherit;
line-height: 1.6;
text-rendering: optimizeLegibility; 
}
/* this makes the first paragraph larger text. Tony has used h3 instead of p1 so can be deleted*/
p1 {
    font-size: 125%;
    word-spacing:0.04em;
}

em,
i {
font-style: italic;
line-height: inherit; 
}

strong,
b {
font-weight: bold;
line-height: inherit; 
}
  
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Segoe UI,Frutiger,Frutiger Linotype,Dejavu Sans,Helvetica Neue,Arial,sans-serif;
  font-style: normal;
  font-weight: normal;
  color: inherit;  
  }
  
  
h1 {
  font-size: 1.8rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem;
  }

h2 {
  font-size: 1.4rem;
  font-style: normal;
  font-weight: normal;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem; 
  }
  
h3 {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.4rem; 
  }

h4 {
  font-size: 1.4rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem; 
  text-align: center;
   }

h5 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.7rem; 
  }

h6 {
  font-size: 0.8rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0.5rem; 
  }
  

  /*---------------------------------------------------------------------------------------------------------------------------
    Containers/panels
-----------------------------------------------------------------------------------------------------------------------------*/
  
.contentholder{   /*This holds both the contentmain and sidebarcontainer divs*/
	margin-bottom:0;
	margin-top:0;	
	width:100%;	
	display: inline-block;
	}
	
.sidebarcontainer{    /*The side panel*/
	width:20%;
	/*This needs taking out, cant be inline blockl and float, when you do, will need margin adjustments on left*/
	float:left;/*cant use inline block and float together , needs changing*/
	padding-right:0;
	padding-left: 1.5rem;	
}

.contentmain{   /*The main content div*/
	width:47%;
	float:left;	
	padding-left:9.5%;
	padding-top: 1.89rem;		
}	

.fullcontentmain{   /*The main content div for other pages*/	
	margin:auto;
	padding-left: 9%;
	padding-right: 9%;
	padding-top: 2.8rem;
}

.box2 {
	display: inline-block;
	width: 16%;
	text-align: center;
	font-weight: bold;
	padding-top: 0.3em;
	padding-bottom: 0.3em;
	background-color: #E4EFEF;
	}
	
    .box2:hover {
    background-color: #BBDEF7; 
    }

.logocontainer{   /*This holds the transparent logo at the head of the page*/
	text-align:center;
}

.headercontainer{   /*This holds the divs bgimg, logocontainer and the logo within */
	margin-bottom:1.5rem;
	
}

.footercontainer{
	margin:auto;
	text-align:center;	
	display:inline-block;
	background-color:#AFCED3;
	width:100%;
	padding-top:1.3rem;
	padding-bottom:1.3rem;
	font-family: Segoe UI,Frutiger,Frutiger Linotype,Dejavu Sans,Helvetica Neue,Arial,sans-serif;
	color:#4F697B;
	border-top: 1px solid #4F697B;
}


.navbarholder{   /*This holds the navigation/menu bar, this is necessary for centering/padding and positioning of the navbar*/
text-align:center;	
margin: auto;
}

.sidebarheader{
	font-family: Segoe UI,Frutiger,Frutiger Linotype,Dejavu Sans,Helvetica Neue,Arial,sans-serif;
	font-size: 1.1rem;
	margin-bottom:0.3rem;
	line-height:1.4;
	color:#4F697B;
}

.tonyimage{
	float:left;
	width:18%;	/*TONYREF4 - pic of Tony, only the width is required, will scale automatically*/
}

	
	  /*---------------------------------------------------------------------------------------------------------------------------
    PANELS/BACKGROUND SHADING FOR PANELS
    -----------------------------------------------------------------------------------------------------------------------------*/
.minidivider{
	width:50%;
	margin:auto;
	margin-top:0.2rem;
	margin-bottom:0.2rem;
}
	
/* The banner image in the page of the SleepWell Product package*/
.bgimg {
background-image: url('fullbanner5.png');
background-position: left;
height: 10rem;
width:100%;
margin:auto;
}

/* right panel divs*/
.skyblue {
background-color: #F3F4F4;
padding: 1rem;
margin-bottom:0.5rem;
display: inline-block;
min-width: 200px;
width:90%;
}

/* The sidebar panel background*/
.sidepanelbacking {
background-color: #F3F4F4;
padding: 1rem;
max-width:365px;
margin-top:2rem;
}

/* The main image in the page of the SleepWell Product package*/
.bigimageholder{
cursor: pointer;
border-radius: 20px 20px 20px 20px;
background: #FFFFFF;
}

.panel1{	
	background-repeat: no-repeat;	
	padding-bottom:1rem;
	padding-top:1rem;
	padding-left:;
	padding-right: 1rem;
	text-align: justify;
}



.panel2{	
	background-repeat: no-repeat;	
	padding-bottom:1rem;
	padding-top:1rem;
	padding-left: 1rem;
	padding-right: 1rem;
	text-align: justify;
}

.sleepytab, 
	.storytab, 
	.head4tab, 
	.head6tab, 
	.head5tab, 
	.coursestab {
	display: inline-block;
    width: 13%;
    text-align: center;
	margin-right:0.5%;
    font-weight: bold;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
    background-color: #A9CDCD;	
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: background-color 0.25s ease-out, color 0.25s ease-out;	
    }
	
	.sleepytab:hover, 
	.storytab:hover, 
	.head4tab:hover, 
	.head6tab:hover, 
	.head5tab:hover, 
	.coursestab:hover  {
		background: rgba(169, 205, 205, 0.59);		
	}

/* COLOURED BUTTONS - LARGE SCREEN - REF:  TONY3*/
	.colourbuttonorder{background-color: #D8EAEA;} 	/*edit the numbers - red, green, blue.  the 4th value is the opacity.  1 = Opaque*/ 
	.colourbuttontestimonial{background-color: #D8EAEA;} 
	.colourbuttoncontact{background-color: #D8EAEA;} 
	.colourbuttonfaqs{background-color: #D8EAEA;} 	
	.colourbuttonsupport {background-color: #D8EAEA;}
	.colourbuttonhome{background-color: #D8EAEA;}
	
	.colourbuttonorder,
	.colourbuttontestimonial,
	.colourbuttoncontact,
	.colourbuttonfaqs,
	.colourbuttonsupport,
	.colourbuttonhome  {
	display: inline-block;
    width: 13%;
    text-align: center;
	margin-right:0.5%;
    font-weight: bold;
    padding-top: 0.3em;
    padding-bottom: 0.3em;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    transition: background-color 0.25s ease-out, color 0.25s ease-out;	
    }

.logoimage{width:30%;}
	
		
	
.pplink{
	display: block;
    margin-left: auto;
    margin-right: auto
}
  
  /*---------------------------------------------------------------------------------------------------------------------------
    logo centering (1600px) - This centers the main logo as it was looking odd too far to the left in this screen size
-----------------------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 1600px) {  
    .logocontainer{
	text-align:left;
	padding-left:15%;	
    }
	
	.navbarholder{
		padding-right:8%;
		padding-left:8%;
	}
	
	.contentmain{		
		padding-left:15.5%;
	}
	
	.fullcontentmain{
		padding-left: 16%;
		padding-right: 16%;
	}
}


  /*---------------------------------------------------------------------------------------------------------------------------
    MIDWAY SCREENS 
-----------------------------------------------------------------------------------------------------------------------------*/
@media screen and (min-width: 800px) {
	@media screen and (max-width: 899px) {
		.sidebarcontainer {
		width: 31%;
		float: left;
		padding-right:0;}
}
}
	
@media screen and (min-width: 900px) {
	@media screen and (max-width: 1219px) {	
		.sidebarcontainer {
		width: 31%;
		padding-right:0;
		float:left;}
}
}	
	
	
	




  /*---------------------------------------------------------------------------------------------------------------------------
    MEDIUM SCREEN (max-width: 1220px)
-----------------------------------------------------------------------------------------------------------------------------*/


@media screen and (min-width: 1220px) {
	@media screen and (max-width: 1599px) {
	.fullcontentmain{   /*The main content div for other pages*/	
	margin:auto;
	padding-top: 2.8rem;
	padding-left: 5%;
    padding-right: 5%;
	}
	
	.bgimg{
    background-image: url('fullbanner5.png');
	height: 10rem;
	width:100%;
	margin:auto;	
	}

	.contentmain{
	width:60%;
	float:left;	
	padding-left:5%;	
	}

	.sidebarcontainer{
	width:27%;	
	float:left;
	padding-left:2%;
	}

    .navbarholder{	
	margin: auto;	
    }

	.sleepytab, 
	.storytab, 
	.head4tab, 
	.head6tab, 
	.head5tab, 
	.coursestab {
	display: inline-block;
    width: 15%;
    text-align: center;	
    font-weight: bold;
    padding-top: 0.3em;
    padding-bottom: 0.3em;	
    background-color: #A9CDCD;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }	
	}
}

  /*---------------------------------------------------------------------------------------------------------------------------
    SMALL SCREEN (max-width: 50em)
-----------------------------------------------------------------------------------------------------------------------------*/
@media screen and (max-width: 800px) {
	h1{
		font-size:1.5rem; 
		font-family: Segoe UI,Frutiger,Frutiger Linotype,Dejavu Sans,Helvetica Neue,Arial,sans-serif;
		}

	.fullcontentmain {
    padding-left: 4%;
    padding-right: 4%;	
		padding-top:1.5rem;
	}
	
	
	.box2 {
	display: inline-block;
	width: 30%;
	text-align: center;
	font-weight: bold;
	padding-top: 0.3em;
	padding-bottom: 0.3em;
	background-color: #E4EFEF; 
	}

    .box2:hover {
    background-color: #BBDEF7; 
	}
  
    .navbarholder{
	text-align:center;
	padding-top: 2%;
	margin: auto;	
	background-color: #8EA8B5;
	background-image: url('mobilebannermenu.png');
	height:4.7rem;	
    }  

    .sleepytab, 
	.storytab, 
	.head4tab, 
	.head6tab, 
	.head5tab, 
	.coursestab {
	display: inline-block;
    width: 30%;
    text-align: center;
    font-weight: bold;
    padding-top: 0.3em;
    padding-bottom: 0.3em;    
    border-color: #FFFFFF;
    transition: background-color 0.25s ease-out, color 0.25s ease-out;
	background: rgba(217, 232, 233, 0.4);
	border-width: 1px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }	
	
	.colourbuttonorder,
	.colourbuttontestimonial,
	.colourbuttoncontact,	
	.colourbuttonfaqs,
	.colourbuttonsupport, 
	.colourbuttonhome {
	display: inline-block;
    width: 30%;
    text-align: center;
    font-weight: bold;
    padding-top: 0.3em;
    padding-bottom: 0.3em;    
    border-color: #FFFFFF;
    transition: background-color 0.25s ease-out, color 0.25s ease-out;
	border-width: 1px;
	box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    }
	
	/*This is the hover effect for the menu buttons (in small screen) - REF:  TONY-EDIT-NOTE-2*/
	.colourbuttonorder{background: rgba(216, 234, 234, 0.7); border-bottom-style: solid;} 	/*edit the numbers - red, green, blue.  the 4th value is the opacity.  1 = Opaque*/ 
	.colourbuttontestimonial{background: rgba(216, 234, 234, 0.7); border-right-style: solid ; border-top-style: solid;} 
	.colourbuttoncontact{background: rgba(216, 234, 234, 0.7); border-bottom-style: solid; border-right-style: solid;} 
	.colourbuttonfaqs{background: rgba(216, 234, 234, 0.7); border-left-style: solid; border-bottom-style: solid;} 	
	.colourbuttonsupport {background: rgba(216, 234, 234, 0.7); border-top-style: solid;}
	.colourbuttonhome{background: rgba(216, 234, 234, 0.7); border-left-style: solid; border-top-style: solid; }
	
	.sleepytab:hover, 
	.storytab:hover, 
	.head4tab:hover, 
	.head6tab:hover, 
	.head5tab:hover, 
	.coursestab:hover  {		
		background: rgba(191, 214, 217, 1);
	}
	
	.sleepytab{	
    border-top-style: solid;
    border-right-style: solid;	
	}
		
    .storytab{	
    border-left-style: solid;
    border-top-style: solid;    	
	}

	.head4tab{	
	border-left-style: solid;
	border-bottom-style: solid;	
	}

	.head6tab{  
	border-right-style: solid;
	border-bottom-style: solid;	
	}

	.head5tab{	
	border-bottom-style: solid;    	
	}

	.coursestab{  
    border-top-style: solid;	
    }
   
	.headercontainer{
	margin-bottom:0rem;
	width:100%;
	} 

	.contentholder{	
	width:100%;	
	display: inline-block;
	}
	
	.sidebarcontainer{
	width:100%;
	padding-right:0;
	padding-left:0;	
	text-align:center;
	margin:auto;
	}
	
	.sidepanelbacking{
	margin:auto;
	margin-top:3rem;		
	}

	.contentmain{
	width:90%;
	float:left;	
	padding-left:5%;
	padding-right:5%;
	padding-top:0.2rem;
	}	

	.bgimg {
    background-image: url('mobilebannertop.png');
	height: 8.9rem;
	width:100%;
	margin:auto;	
	}
 
	.logocontainer{
	width:100%;
	} 
	
	
	.sidebarheader{
	font-size: 1.1rem;
	}
	
	.skyblue {
	font-size:0.9rem;
	
	}
	
	.footercontainer{
	margin:auto;
	text-align:center;	
	display:inline-block;
	background-color:#AFCED3;
	width:100%;
	padding-top:1.3rem;
	padding-bottom:1.3rem;
	font-family: Segoe UI,Frutiger,Frutiger Linotype,Dejavu Sans,Helvetica Neue,Arial,sans-serif;
	color:#4F697B;	
	border-top: 1px solid #4F697B;
	}
	
	.tonyspanel{
	margin-top:0.5rem;	
	}

	.logoimage{
		width:100%;
		}

	.panel1{
	padding-right:0;
}
}	


  

  
