/*
CONTENTS - STYLES.CSS
-----------------------------------------
1. RESET
2. ROOT
3. GENERAL SITE COLOURS
4. CORE TYPOGRAPHY
5. LINKS & BUTTONS
6. NAVIGATION & MENUS
7. GLOBAL LAYOUT
8. FORMS
9. LISTS
10. ICONS/SPRITES
11. SCREEN SIZE STYLING
12. BROWSER AND NON-SEMANTIC STYLING
13. RETINA DISPLAY STYLING
*/

/* 1. RESET
----------------------------------------------------------------------------------------*/

body, html{
	font:inherit;
	font-size:100%;
	line-height:100%;
	vertical-align:baseline;
	-ms-text-size-adjust:none;
	-o-text-size-adjust:none;
	-webkit-text-size-adjust:100%;} 
  
*{ 
	border:0 none;
	margin:0;
	outline:none;
	padding:0;		
	-o-box-sizing:		border-box;
	-moz-box-sizing:	border-box; 
	-ms-box-sizing:		border-box;
	-webkit-box-sizing:	border-box; 
	 box-sizing:		border-box;}
	
/* 2. ROOT
----------------------------------------------------------------------------------------*/
body{
	width:100%;}
		
/*image sizing*/
img{
	max-width:100%;}
	 
h1 + img, h5 + img{
	margin: 1em auto 0 auto;}

	
/* 3. GENERAL SITE COLOURS
----------------------------------------------------------------------------------------*/
/* 
[Color codes]
body				#FFF		(white) 
headings			#555		(grey - medium/dark ) 
sub headings		#888		(grey - light/dark ) 
a, button  			#FF8000		(orange)
footer				#333	 	(grey - dark ) 
hike				#A3D900	 	(lime) 
*/

html{ 
	background:#333;}
  
body{
	color:#F1F1F1;}
	
h1, h2, h3, h4, h5, h6{
	color:#FFF;}
	
h3 ~ h5{
	color:#BBB;}
	
a:link, a:visited{
	color:#00ACCD;}

.corner{
	background:transparent;}

/* 4. CORE TYPOGRAPHY
----------------------------------------------------------------------------------------*/
body{
	font-family:'Roboto Slab', "Trebuchet MS", Helvetica, sans-serif;
	font-weight:400;
	line-height:100%;
	-webkit-text-size-adjust:none;}

h1, h2, h3, h4, h5, h6{
	letter-spacing:-0.035em;
	line-height:1.125em;
	margin: 0 auto 0.2em;
	text-align:center;}
	
h1{
	font-size:2.425em;
	font-weight:900;}
h2{
	font-size:1.725em;}
h3{
	font-size:1.6em;}
h4{
	font-size:1.475em;}
h5{
	font-size:1.350em;
	font-weight:900;}
h6{ 
	font-size:1.225em;}
	
p, ul{
	font-size:1em;
	line-height:1.4em;
	margin: 0 auto 1.5em;}
	
h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p{
	margin: 0.8em auto 1.5em;}

img + p{
	margin: 1.2em auto 1.5em auto;}

p.parent{text-align:center}

/* 5. LINKS & BUTTONS
----------------------------------------------------------------------------------------*/
a:link, a:visited, a:focus, a:hover, a:active{
	cursor:pointer;
	text-decoration:none;}
	
/*Main Button*/
.btn:link, .btn:visited{
	background:#00ACCD;
	border:1px solid #333;
	color:#FFF;
	display:inline-block;
	font-weight:900;
	padding:0.2em 0.6em;
	text-align:center;
	vertical-align:middle;
	-moz-border-radius:		.4em;
	-webkit-border-radius:	.4em;
	 border-radius:			.4em;
	-moz-box-shadow:	inset 0 -3px 0 rgba(0, 0, 0, 0.2),0 1px 3px rgba(0, 0, 0, 0.4), inset 0px 1px 0 rgba(255, 255, 255, 0.4);
	-webkit-box-shadow:	inset 0 -3px 0 rgba(0, 0, 0, 0.2),0 1px 3px rgba(0, 0, 0, 0.4), inset 0px 1px 0 rgba(255, 255, 255, 0.4);
	box-shadow:			inset 0 -3px 0 rgba(0, 0, 0, 0.2),0 1px 3px rgba(0, 0, 0, 0.4), inset 0px 1px 0 rgba(255, 255, 255, 0.4);}

.btn:active{
	background:#DDD;
	border:#AAA 1px solid;
	-moz-box-shadow:	inset 0 2px 0 rgba(0, 0, 0, 0.1),	inset 0 2px 2px rgba(0, 0, 0, 0.3);
	-webkit-box-shadow:	inset 0 2px 0 rgba(0, 0, 0, 0.1),	inset 0 2px 2px rgba(0, 0, 0, 0.3);
	 box-shadow:		inset 0 2px 0 rgba(0, 0, 0, 0.1),	inset 0 2px 2px rgba(0, 0, 0, 0.3);}

/* back to top button*/
footer .btn:link{
	font-size:1.6em;
	margin:-0.6em auto 0 auto;
	padding:0.4em 0.3em 0.2em;
	-moz-border-radius:		10em;
	-webkit-border-radius:	10em;
	 border-radius:			10em;}
	
/* 6. NAVIGATION & MENUS
----------------------------------------------------------------------------------------*/	
#nav ul{
	display: block;
	float:left;
  	list-style: none;
	width: 100%;}

#nav li{
  	width: 100%;
  	display: block;}
	
#nav a{
	background:#00ACCD;
	margin-bottom:1px;
	color:#FFF;
	float: left;
	font-weight: 400;
	font-size: 1.225;
	letter-spacing:-0.025em;
	padding: .5em 1em;
	text-decoration: none;
	text-transform: uppercase;
	width: 100%;}

.js #nav{
  	clip: rect(0 0 0 0);
  	max-height: 0;
  	position: absolute;
  	display: block;
  	overflow: hidden;
  	zoom: 1;}

#nav.opened{
  	max-height: 9999px;}
	
#nav-toggle{
	color:#FFF;
	float:right;
	font-family:"Trebuchet MS", Helvetica, sans-serif;
	font-size:2em;
	font-weight:bold;
	line-height:0.2em;
	margin:0.4em 0.4em 0;
	padding-bottom:0.2em;
	text-decoration:none;}

		
/* 7. GLOBAL LAYOUT
----------------------------------------------------------------------------------------*/
header{
	background:#000;
	padding:0 0 0.5em 0;
	opacity:0.9;
	position:fixed;
	top:0;
	width:100%;
	z-index:99;}
	
#content{
	display:block;
	margin:1.425em 0 0;
	padding:1.625em 0 0;
	width:100%;}
	
footer{
	background:#333;
	text-align:center;
	width:100%;}
	
footer p{
	font-size:1em;
	margin:1em 0 1em 0;
	width:100%;}
	
#page1, #page2, #page3, #page4{
	padding:2em 0 1em 0;
	width:100%;}
	
#page1{
	background:#00ACCD no-repeat 0 0 fixed;
	margin:0;
	text-align:center;}
	
#page1 h1{
	font-size:2.8em;}
	
#page2{
	background:#FFF;
	color:#666;}
#page2 h1{
	color:#333;}
#page2 h2{
	color:#333;
	text-align:left;
	margin-top:2em;}
#page2 h3{
	color:#555;
	text-align:left;}
	
#page2 h4{
	text-align:left;}

	
#page3{
	background:#00ACCD no-repeat center top fixed;}
#page4{
	padding:2em 0 0em 0;
	text-align:center;}
	
.container{
	width: 90%;
	margin:0 auto;}
	
.block {
	display:block;
	position:relative;
	width:100%;
	margin:1em auto;}
	
.down{
	display:block;
	font-size:3.4em;
	font-weight:bold;
	margin-top:1em;
	opacity:0.3;
	text-align:center;
	width:100%;}
	
#page1 .down, #page3 .down, #page4 .down{
	color:#FFF;}
	
.circle {
  position: relative;
  width: 100%;
  height: 0;
  padding: 50% 0;
  margin: 1em auto;
  border-radius: 50%;
  background: #a7cd80;}

.thumb{
	border:#FFF thick solid;
	display:inline-block;
	float:left;
	height:120px;
	width:120px;
	-moz-border-radius:		60em;
	-webkit-border-radius:	60em;
	 border-radius:			60em;}
.denise{ 
	 background:url(/img/denise.jpg) no-repeat;
	 background-size:contain;}
.janet{ 
	 background:url(/img/janet.jpg) no-repeat;
	 background-size:contain;}
.jonathan{ 
	 background:url(/img/jonathan.jpg) no-repeat;
	 background-size:contain;}
.tim{ 
	 background:url(/img/tim.jpg) no-repeat;
	 background-size:contain;}

.talkbubble {
	position:relative;
	float:right;
	display:inline-block;
   	background: #00ACCD;
	margin-left:-10em;
	padding:1em;
	width: 74%;
	-moz-border-radius:    10px;
	-webkit-border-radius: 10px;
	 border-radius:        10px;}
	 
.talkbubble:before {
	content:"";
	position: absolute;
	right: 100%;
	top: 4em;
	width: 0;
	height: 0;
	border-top: 12px solid transparent;
	border-right: 24px solid #00ACCD;
	border-bottom: 12px solid transparent;}
   
.talkbubble h5, .talkbubble h6, .talkbubble p{
	margin:0 auto;
	width:100%;}
	
.talkbubble p{
	font-size:1em;
	line-height:1.5em;}
.imgborder{
	padding:2%;
	border:#F1F1F1 solid 4px;}
	
/* 8. FORMS
----------------------------------------------------------------------------------------*/
	
/* 9. LISTS
----------------------------------------------------------------------------------------*/
ol{
	margin:1em auto;
	width: 100%;}
ol li {
	font-size:0.9em;
	display:inline-block;
	padding:0.3em 0.6em;
	margin:0.2em 0.1em;
	background:#F1F1F1;
	list-style:none;
	text-transform: uppercase;}
	
.frame {
	float:left;
	width:100%;
	background-color:#000;}
	
.frameCentre {
	width:90%;
	margin:5%;}


/* 10. ICONS/SPRITES
----------------------------------------------------------------------------------------*/	
	
.logosm{
	float:left;
	height:28px;
	margin:0.5em 0 0em 0.5em;
	width:117px;
	color:#00ACCD;}
	
/* 11. SCREEN SIZE STYLING
----------------------------------------------------------------------------------------*/
@media screen and (min-width: 19.9375em) {

.block {
	display:block;
	position:relative;
	width:90%;
	margin:1em auto;}
	
.frame {
	float:left;
	width:90%;
	margin:5%;}}
	
	
@media screen and (min-width: 38em) {
p, ul{
	font-size:1.225em;
	line-height:1.6em;
	margin: 0 auto 1.5em;}
	
ol li {
	font-size:1em;
	padding:0.4em 0.8em;
	margin:0.2em 0.1em;}
	

header{
	padding:0;}
	
#content{
	margin:3em auto 0 auto;
	padding:0;
	width:100%;}
	
#page1, #page2, #page3, #page4{
	padding:3em 0 1em 0;
	width:100%;}

#page1 h1{
	font-size:4em;}

.block {
	width:70%;}
	
.thumb{
	height:180px;
	width:180px;
	-moz-border-radius:		90em;
	-webkit-border-radius:	90em;
	 border-radius:			90em;}
	 
.talkbubble {
	margin-left:-5em;
	width: 70%;}
	
.container{
	width: 70%;}
	
h1{
	font-size:3em;}	
	
/* HEADER MENU */	
#nav ul{
	float:none;
	text-align:center;}
	
#nav li{
	float:none;
	display:inline-block;
	*display:block;
	*float:left;
	width:auto;
	margin-left:0 .2em 0 .4em;}

#nav a{
	background:none;
	border:0px none;
	position:relative;
	padding:0.4em 0.4em 0.3em 0.4em;}
	 
#nav a:hover{
	background:#none;
	margin:-1em 0 -0.3em 0;}
	
#nav a .clean{
	display:inline-block;}
#nav a:hover .clean{
	display: inline-block;}
	
.js #nav{
    position: relative;}
	
.js #nav.closed{
    max-height:3em;}
	
#nav-toggle{
    display: none;}
	
.logosm{
	float:none;
	position:absolute;
	top:0.2em;
	left:0.5em;}
	
.frame {
	float:left;
	width:46%;
	margin:2%;}
	
.frameCentre {
	width:86%;
	margin:6%;}}
	
@media screen and (min-width: 42em) {
.container{
	width: 66%;}
#page1 h1{
	font-size:4.6em;}

.block {
	width:66%;}
.talkbubble {
	width: 70%;}}
	
@media screen and (min-width: 60em) {
.container{
	width: 56%;}
#page1 h1{
	font-size:5.8em;}
.block {
	width:56%;}
.talkbubble {
	width: 78%;}
	
a:hover{
	color:#888;}
	
.desk{
	display:block;
	position:relative;
	margin:0;
	width:90%;
	background:#0CC;
	}
	
.screenshot{
	display:block;
	position:absolute;
	top:0;
	left:0;
	z-index:1;
	}
	
.imac{
	position:absolute;
	top:0;
	left:0;
	z-index:2;
	background: url(../img/imac_2x.png);
	background-size:contain;
	display:block;
	}
	
.frame {
	float:left;
	width:31%;
	margin:1%;}
	
.frameCentre {
	width:90%;
	margin:5%;}

}
	
@media screen and (min-width: 99.9375em) {
.container{
	width: 46%;}
#page1 h1{
	font-size:6.4em;}
.onecolumn{
	margin: 0 auto;
	width:86%;}
.block {
	display:inline-block;
	margin:0.8em 0 0 1em;
	vertical-align:top;
	width:48%;}
.talkbubble {
	width: 78%;}
	
.frame {
	float:left;
	width:23%;
	margin:1%;}
	
.frameCentre {
	width:90%;
	margin:5%;}}
	
@media screen and (min-width: 120em) {
.container{
	width: 30%;}
#page1 h1{
	font-size:7em;}
.onecolumn{
	margin: 0 auto;
	width:70%;}
.block {
	width:48%;}
.talkbubble {
	width: 78%;}
	

	
.frame {
	float:left;
	width:18%;
	margin:1%;}
	
.frameCentre {
	width:90%;
	margin:5%;}}
	
/* 12. BROWSER AND NON-SEMANTIC STYLING
----------------------------------------------------------------------------------------*/
.cf:before, .cf:after{ content: ""; display: block; }
.cf:after{ clear: both;}

/* 13. RETINA DISPLAY STYLING
----------------------------------------------------------------------------------------*/	
	
@media 
only screen and (-webkit-min-device-pixel-ratio: 2), 
only screen and (min-resolution: 192dpi){ 
.retina{
	max-width:550px;}
.maxret{
	max-width:300px;}

/* ICONS/SPRITES*/
.logosm, .ihome, .iabout, .icontact, .iproject, .ifacebook, .itwitter, .itube{
	background-image: url(/img/sy_icons2x.png);
	background-size: 250px 150px;}}