/* RESET */
*{box-sizing:border-box; margin: 0; padding: 0;}
html{font-family: helvetica, arial, sans-serif;line-height: 1.5;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;}
body{background-color: #fffff8; color:#111111;}
img{width: 100%; height: auto;}

/* UTILITIES*/

.bold{font-weight: 600;}
.pad-2{padding: 2em;}
.pad-4-top{padding-top: 4em;}
.text-center {text-align: center;}

.desktop{display: none; visibility: hidden;}
.mobile{display: block; visibility: visible; top: 56.25%;}
br{display: none}
@media screen and (min-width: 56em) {
	.desktop{display: block; visibility: visible;}
	.mobile{display: none; visibility: hidden;}
	br{display: inline}
}

.funnel{padding: 2em;}
.funnel--wide{padding: 1em;}
.funnel--max{padding: 3em 0;}

@media screen and (min-width: 56em) {
	.funnel{max-width: 60em; margin: 0 auto; padding: 4em 0;}
	.funnel--wide{max-width: 100em; margin: 0 auto; padding: 2em; position: relative;}
}

.verticalAlign{
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

/* 	COLOURS */

.whiteBG{background: #fffff8}
.whiteText{color: #fffff8}


/* TYPOGRAPHY */

h1{
	font-size: 2.5em;
	line-height: 1em;
	font-weight: 600;
	letter-spacing: -0.05em;
	margin-top: -0.125em;
	margin-bottom: 0.5em;
}
h2{
	font-size: 2em;
	line-height: 1.25em;
	font-weight: 600;
	letter-spacing: -0.05em;
	margin-top: 0;
	margin-bottom: .5em;
	}
h3{
	font-size: 1.5em;
	line-height: 1.25;
	font-weight: 600;
	letter-spacing: -0.05em;
	margin-top: -.125em;
	}
h4{
	font-size: 1em; 
	line-height: 1.5;
	font-weight: 600;
	letter-spacing: -0.05em;
	margin-bottom: 0; 
	margin-bottom: 1em;
	}
p{
	font-size: 1em;
	line-height: 1.5;
	margin-bottom: 1.5em;
	}
	
a{
	text-decoration: none;
	color: white;
	border-bottom: 2px solid;

	}

	
@media screen and (min-width: 56em) {
	h1{font-size: 5em;}
	h2{font-size: 3em;}
	h3{font-size: 2em;}
	h4{font-size: 1.5em;}
	p{font-size: 1.5em;}
}


/* LAYOUT */
	#who{
		display: block;
		background: white;
		text-align: center;
	}
	#who:after {
		content: "";
		display: table;
		clear: both;
	}

	#who .col--eighth {
		float: left;
		width: 50%;
	}

@media screen and (min-width: 56em) {
	.col-wrapper {
		margin-left: -4em;
	}
	.col-wrapper:after {
		    content: "";
		    display: table;
		    clear: both;
		}
	.col--full {
		float: left;
		width: 100%;
		margin-bottom: 2em;
		padding-left: 4em;
	}
	.col--half {
		float: left;
		width: 50%;
		margin-bottom: 2em;
		padding-left: 4em;
	}
	.col--third {
		float: left;
		width: 33.333%;
		margin-bottom: 2em;
		padding-left: 4em;
	}
	.col--twothirds {
		float: left;
		width: 66.667%;
		margin-bottom: 2em;
		padding-left: 4em;
	}
	.col--quart {
		float: left;
		width: 25%;
		margin-bottom: 2em;
		padding-left: 4em;
	}
	#who .col--eighth,
	.col--eighth {
		float: left;
		width: 12.5%;
		margin-bottom: 2em;
		padding-left: 4em;
	}
	.col--threequarts {
		float: left;
		width: 75%;
		margin-bottom: 2em;
		padding-left: 4em;
	}
	.no-margin--bottom{
		margin-bottom: 0;
	}
}

#title{
	position: relative;
	height: 150vw;
	}
#title p{width: 100%; padding: 0; font-weight: normal;}

.stripe-inverse:before{
content: '';
height: .75em;
width: 100%;
background: white;
position: absolute;
top: -3.7em;
}
.stripe-inverse{
position: relative;
height: 6em;
width: 100%;
border-top: 3em solid orangeRed;
background: darkOrange;
border-bottom: 1em solid orange;
box-shadow: 0 .25em .5em rgba(0,0,0,.1);
}

#services{
border-top: .5em solid #F0CB35;
border-top: none;
border-bottom: .5em solid #F0CB35;
border-bottom: none;
position: relative;
background: linear-gradient(to bottom, dodgerBlue, deepSkyBlue);
background: orange;
color: #fffff8;
}

.sticky{
	position:fixed;
	margin-top: 0;
	top:0;
	width: 100%;
	height: 5em;
	z-index: 100;
}
@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.stickypad{
	height: 5em;
	width: 100%;
	position: relative;
	display: none;
}

.rotate {
    -webkit-transition-duration: .5s;
    -moz-transition-duration: .5s;
    -o-transition-duration: .5s;
    transition-duration: .5s;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    -o-transition-property: -o-transform;
    transition-property: transform;
}
.rotate:hover {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    transform: rotate(360deg);
}


.imgFixed{
	position: fixed;
	width: 100%;
	top:0;
	height: 100vh;
	z-index: -1;
	background: saddleBrown;
	background: url(../img/hero-slider/me.jpg) no-repeat bottom right, saddleBrown;
	background-size: cover;
	background-blend-mode: multiply;
}
.work-logo{margin-bottom: 1.5em;}

#carboncandy > div,
#f1 > div,
#palendar > div,
#didlr > div,
#bes > div{
	border-bottom: 1px solid #111;
	padding-bottom: 6em;
}
#archive > div{
	padding-bottom: 6em;
}

#didlr a:hover{
	color: #f05a26;
}
.arrow{
	height: 4em;
	width: auto;
	float: right;
}

footer{
	background: saddleBrown;
	color: white;
}
.company{z-index: 10;}

@media screen and (min-width: 56em) {
.sticky:after{
	content: 'Phil Penny';
	position: fixed;
	left: 2em;
	top: 0;
	font-weight: 600;
	font-size: 3em;
	line-height: 2em;
	letter-spacing: -0.05em;
	color: white;
	animation: fadein 1s;
	}
	
	#carboncandy > div,
	#f1 > div,
	#palendar > div,
	#didlr > div,
	#bes > div,
	#archive > div{
		padding-bottom: 0;
	}
	.work-logo{margin-bottom: 0;}

	#title{
	height: 50vw;
	}
}






/* MOBILE MENU */

header{
	height: 3em;
	display: block;
	width: 100%;
	position: absolute;
	z-index: 10;
}
.logo{
	position: fixed;
	top: 1em;
	left: 1em;
	width: 4em;
	z-index: 1000;
}
.contact{
	position: fixed;
	top: 1.5em;
	right: 1em;
	width: 4em;
	z-index: 1000;
}

.button{
background: #fffff8;
color: darkOrange;
-webkit-transition: all .5s ease-out;
   -moz-transition: all .5s ease-out;
   -o-transition: all .5s ease-out;
   -ms-transition: all .5s ease-out;
   transition: all .5s ease-out;
}
.button:hover{
	box-shadow: 0 .25em orangeRed;
	transform:translateY(-.25em);
	-webkit-transition: all .25s ease-in;
   -moz-transition: all .25s ease-in;
   -o-transition: all .25s ease-in;
   -ms-transition: all .25s ease-in;
   transition: all .25s ease-in;
}


/* DESKTOP MENU */

@media screen and (min-width: 56em) {
	header{
		width: auto;
		position: relative;
		height: 5em;
		float: left;
	}
	
	.logo{
		position: fixed;
		width: auto;
		height: 4em;
		z-index: 10000;
	}
	
}

.button, input[type="submit"]{
	-webkit-appearance: none;
	-moz-appearance: none;
	display: inline-block;
	border-radius: 1.5em;
	border: 0;
	font-size: 1em;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	padding: 1em 0;
	line-height: 1em;
	width: 12em;
	font-weight: 600;
}
button{
	display: none;
	visibility: hidden;
	}
@media screen and (min-width: 56em) {
	button{
		display: block;
		visibility: visible;
		}
	}


.replaceline{display: none;}

/*only mobile*/

@media screen and (max-width: 56em) {
	html[data-useragent*='MSIE 10.0'] .line {display: none;}
	html[data-useragent*='MSIE 10.0'] .replaceline {display: block; margin: 0 -2em}
}


/* ############################################################################ */
/* ########################## DESKTOP STYLING ################################# */
/* ############################################################################ */


@media screen and (min-width: 56em) {
	

	.desktop{display: block; visibility: visible;}
	.mobile{display: none; visibility: hidden;}
	.buffer{display: none;}
	


	
	#home{text-align: left;}
	

	.imgFixed{
		position: fixed;
		width: 100%;
		height: 100vh;
		z-index: -1;
	}
	.widescreen{display: block;width: 100%; padding-bottom: 42.55%; padding-bottom: calc(56.25% - 1em);}
	
}


/* INTERNET EXPLORER */

/** Let's target IE to respect aspect ratios and sizes for img tags containing SVG files */
.ie9 img[src$=".svg"] {
  width: 100%; 
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  img[src$=".svg"] {
    width: 100%; 
  }
}
