/*
client		Brandhome
author		Danny Calders for Brandhome
date		jan 2013
version		1.0
*/

/* reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	outline: 0;
	border: 0;
	vertical-align: baseline;
	font: inherit;
	font-size: 100%;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
    }

blockquote, q {
    quotes: none;
    }

blockquote:before, blockquote:after, q:before, q:after {
    content: "";
    content: none;
    }

ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
    }

mark {
    background-color: #ff9;
    color: #000;
    font-weight: bold;
    font-style: italic;
    }

del {
    text-decoration: line-through;
    }

abbr[title], dfn[title] {
    border-bottom: 1px dotted #000;
    cursor: help;
    }

table {
    border-spacing: 0;
    border-collapse: collapse;
    }

hr {
    display: block;
    margin: 1em 0;
    padding: 0;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    }

input, select {
    vertical-align: middle;
    }

img {
    display: block;
    }

/* used colors
#EE8018		orange
#616B70		grey
#EBEBEC		light grey
*/
/* extra fonts */
/*  */
body {
    color: #616B70;
    font: 90%/1.6 Verdana, Tahoma, sans-serif;
    }

h1 {
    margin: 0.65em 0;
    font-weight: bold;
    font-size: 1.5em;
    line-height: 1.3;
    color: #EE8018;
    text-transform: uppercase;
    }

h2 {
    margin-bottom: 1em;
    color: #5C676B;
    font-size: 1.2em;
    font-weight: bold;
    }

p {
    margin-bottom: 1em;
    }

em {
    font-weight: bold;
    }

b {
    font-weight: normal;
    }
strong {
	font-weight: bold;
	color: #EE8018;
}
blockquote p {
    font-style: italic;
    font-size: 90%;
    }

a {
    color: #EE8018;
    text-decoration: none;
    }

a:hover, a:active {
    border-bottom: 1px solid;
    }

a.more:after {
    content: " >>";
    }

::selection {
    background: #EE8018;
    color: #FFF;
    }

::-moz-selection {
    background: #EE8018;
    }

hr {
    height: 2px;
    border: none;
    background: #EBEBEC;
    }

sup {
    vertical-align: top;
    font-size: 0.6em;
    }
    
img.grow {
	max-width: 100%;
}

input, textarea {
    color: #616B70;
    font: 90%/1.6 Verdana, Tahoma, sans-serif;
    }

p.dircom {
    margin-bottom: 1em;
    font-weight: 600;
    }

.container {
    margin: 0 auto 2em;
    padding: 1em 0;
    max-width: 36em;
    width: 88%;
    position: relative;
    }
header {
	margin-bottom: 2em;
}
footer {
	margin-top: 3em;
}
header a, footer a {
	border: none;
}

ul p {
    margin-bottom: 0.25em;
    }

ul li {
    position: relative;
    margin-bottom: 1em;
    padding: 0 0 1em 0;
    border-bottom: 2px solid #EBEBEC;
    }
ul li i {
	display: none;
}
ul li label {
    display: block;
    padding: 0.5em 0.5em 0.5em 0;
    color: #EE8018;
    vertical-align: middle;
    }

ul li label:hover {
    color: #616B70;
    }

.progress {
    position: absolute;
    bottom: -3px;
    left: 0;
    height: 3px;
    background: #EE8018;
    }

button, a.button {
    display: inline-block;
    float: right;
    margin: 1em 0;
    padding: 0.5em 1em;
    border: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    background: #EE8018;
    color: #fff;
    font-size: 1em;
    line-height: 1;
    cursor: pointer;
    zoom: 1;
    }

button:hover, a.button:hover {
    background: #616B70;
    }

.form {
	padding: 1em 0;
}
.form p {
    margin-bottom: 0.25em;
    overflow: hidden;
    }

.form span {
    display: block;
    padding: 0.2em 0.33em;
    border: 2px solid #EBEBEC;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    line-height: 1;
    }

.form label {
    display: block;
    margin-bottom: 0.25em;
    width: 100%;
    }

.form input {
    margin: 0;
    padding: 0;
    width: 100%;
    border: none;
    }

.page {
    padding-bottom: 2em;
    }
.hide {
	position: absolute;
	overflow: hidden;
	width: 0;
	height: 0;
}
.show {
	position: relative;
}

.score {
	color: #EE8018;
	font-weight: bold
}
.score:before {
    color: #EBEBEC;
    content: "→ ";
    }

#graph {
    overflow: hidden;
    position: relative;
    margin-bottom: 1em;
    }
#graph img {
    margin-bottom: -10%;
    }
.label {
    position: absolute;
    background: #FFF;
    font-size: 0.875em;
	font-weight: bold;
	color: #f0912c;
    }

#axis-1 {
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding-top: 0em;
    }

#axis-2 {
    top: 80%;
    right: 0;
    padding: 1em 0 1em 3em;
    }

#axis-3 {
    top: 80%;
    left: 0;
    padding: 1em 3em 1em 0;
    }
.legend {
	position: absolute;
	font-size: 0.875em;
	top: 4em;
	left: 0;
	height: 90%;
	width: 100%;
	border-bottom: 2px solid #EBEBEC;
}    
.legend span {
	display: inline-block;
	width: 1em;
	height: 1em;
	background: #f0912c;
	margin-right: 0.5em;
}
.legend span.avg {
	background: #EBEBEC;
}
.cta {
	margin-bottom: 3em;
	overflow: hidden;
}
.cta .button {
	display: block;
	float: none;
	margin: 0.5em 0;
	line-height: 1.3;
}
#error {
	color: red;
	font-style: italic;
	text-align: right;
}
.error label {
	color: red;
}
.error span {
	border-color: red;
}
.response {
	font-style: italic;
}
    
@media (min-width: 32em) {
	body {
		font-size: 95%;
		line-height: 1.7;
	}
	header {
		margin-bottom: 3em;
	}
	p.dircom {
    	margin-bottom: 2em;
    }
	ul {
		xlist-style: decimal;
	}
	ul li label {
		display: inline-block;
	}
	ul li i {
		display: inline-block;
		zoom: 1;
		*display: inline;
		width: 1em;
		text-align: right;
		padding-right: 1em;
		
	}
	ul li p {
		text-indent: -2.4em;
	}
	ul li p i {
		text-indent: 0;
	}
	.form label {
		display: inline-block;
		width: 28%;
		float: left;
	}
	.form span {
		display: inline-block;
		width: 66%;
		float: right;
	}
	#graph {
		margin-bottom: 0;
	}
	#axis-1 {
		padding-top: 1.5em;
	}
	#axis-2 {
		padding-right: 10%;
	}
	#axis-3 {
		padding-left: 10%;
	}
	.legend {
		top: 1.5em;
	}
}
@media (min-width: 40em) {
	body {
		font-size: 100%;
		line-height: 1.8;
	}
	#graph {
		xmargin-bottom: 2em;
		xborder-bottom: 2px solid #EBEBEC;
	}
}
@media (min-width: 66em) {
	.cta {
		position: absolute;
		top: 13.3em;
		left: 38em;
		width: 33%;
	}
}
@media (min-width: 72em) {
	.cta {
		width: 38%;
	}
}
@media print {
	body {
		color: #616B70 !important;
		font-size: 62.5%;
	}
	header, footer {
		text-align: center;
	}
	header a {
		display: none;
	}
	header {
		height: 96px;
	}
	footer {
		position: absolute;
		top: 0;
		left: 0;
		margin: 0;
		padding: 0;
	}
	.container {
		width: auto;
		max-width: none;
		padding: 0;
		margin: 0;
	}
	#graph {
		padding-left: 16em;
	}
	#graph img {
		height: 300px;
	}
	#axis-2 {
		top: 82%;
		padding-right: 27%;
	}
	#axis-3 {
		top: 82%;
		padding-left: 27%;
	} 
	div.cta, .legend {
		display: none;
	}
}