﻿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, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font: inherit;
}
* {
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
	box-sizing: border-box;
	position: relative;
}
body {
	background: #fff;
	padding: 0;
	font-family: SourceSansProLight, Arial, sans-serif;
	color: #444;
  	font-size: 62.5%; 
  	line-height: 1;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
h1, h2, h3, h4, h5, h6, p, ul, ol, dl {
	margin: 0 0 1em 0;
	line-height: 1;
	}
h1, h2, h3, h4, h5, h6 {
	font-style: normal;
	line-height: 1.2
	}
h4, h5, h6 {
	text-transform: uppercase;
	font-size: 1.3em
}
h1 {
	font-size: 3em;
}
h2 {
	font-size: 2.5em;
}
h3 {
	font-size: 2em
}	
p, ul, ol, label, dl, table {
	font-size: 2em;
	line-height: 1.3em
}
ul ul, ol ol, ol ul, ul ol, ul p, ol p, dl ul, ul h3, table ul {
	font-size: 1em
}
ol, ul {
	list-style: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
	width: 100%;
	text-align: left;
}
table th, table td {
	padding: 0.5em;
	text-align: left;
}
table tr {
	border-bottom: 1px solid #ddd;
}
strong, table th, dl dt {
	font-family: SourceSansProRegular;
}
.brand {
	color: #0779BE;
}
a {
	color: #222;
	text-decoration: none;
}
a:hover, a:focus {
	color: #222;
}

/* Forms */
input, select, textarea {
	width: 100%;
	margin: 0;
	padding: 7px;
	border-radius: 3px;
	border: 1px solid #ddd;
	font-family: SourceSansProRegular;
}
input[type="checkbox"], input[type="radio"] {
	width: auto;
}
input[type="file"] {
	border: 0;
}
/* Useful resusables */
.js .js-hide {
	display: none
}
.float-left {
	float: left;
}
.float-right {
	float: right;
}
.float-none {
	float: none;
}
.center-text {
	text-align: center;
}
.center-image {
	margin: 0 auto;
	display: block
}
.right-text {
	text-align: right;
}
.clear-left {
	clear: left;
}
.clear-right {
	clear: right;
}
.clear-both {
	clear: both;
}
.cf:before, .cf:after { content:""; display:table; }
.cf:after { clear: both; }
.cf { zoom: 1; }
.no-margin {
	margin: 0;
}
.no-padding, .no-padding[data-icon].icon-before:before, .no-padding[data-icon].icon-after:after {
	padding: 0;
}
.inline {
	display: inline;
}
.block-level {
	display: block
}
.hide { /* Use .hidden if possible... */
	display: none;
}
.hidden {  /* Instead of .hide - greater accessiblity */
	position: absolute;
	left: 0;
	top: -500px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.error, .success {
	font-size: 0.8em
}
.success {
	background: #cdfbcd;
}
.error {
	background: #FCE8E8;
}
.full-width {
	width: 100%;
	display: block
}
.padded-20 {
	padding: 20px;
}
.padded-10 {
	padding: 10px;
}
.block {
	margin-bottom: 20px
}
.block p:last-child {
	margin: 0;
}
.rounded {
	border-radius: 4px
}
.divider {
	border-bottom: 1px solid #ccc;
}
.no-line-height {
	line-height: 1
}
.text-right {
	text-align: right
}
.horiz li {
	float: left;
	margin-right: 0.5em;
}
.margin-left {
	margin-left: 15px;
}

/* Buttons + input styles */
.buttonesque, input[type="submit"], button {
	background: #737373;
	font-size: 1em;
	padding: 7px 14px;
	border: 0;
	border-radius: 4px;
	color: #fff;
	text-align: center;
	-webkit-appearance: none;
	cursor: pointer;
	display: inline-block;
	font-family: SourceSansProLight;
	line-height: 1
}
.buttonesque:hover {
	color: #fff;
}
.buttonesque.bg-white, .buttonesque.bg-white:hover {
	background: white;
	color: #737373;
}

/* Grid */
.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: -20px;
}
.grid:before, .grid:after { content:""; display: table; }
.grid:after { clear: both; }
.grid { zoom: 1; }
.grid-item {
  float: left;
  padding-left: 20px;
  vertical-align: top;
  width: 100%;
}
.one-whole {
  width: 100%;
}
.one-half, .two-quarters {
  width: 50%;
}
.one-third {
  width: 33.333%;
}
.two-thirds {
  width: 66.666%;
}
.one-quarter {
  width: 25%;
}
.three-quarters {
  width: 75%;
}
@media only screen and (max-width: 550px) {
  .palm-hidden {
    display: none;
  }
  .palm-one-whole {
    width: 100%;
  }
  .palm-one-half, .palm-two-quarters {
    width: 50%;
  }
  .palm-one-third {
    width: 33.333%;
  }
  .palm-two-thirds {
    width: 66.666%;
  }
  .palm-one-quarter {
    width: 25%;
  }
  .palm-three-quarters {
    width: 75%;
  }
}

.wrapper {
	width: 94%;
	max-width: 540px;
	margin: 0 auto;
}

/* Main (role=banner) Header */
header.banner {
	margin-bottom: 2em;
	background: #f4f4f4;
	border-bottom: 1px solid #c6c6c6;
}
header.banner * {
	margin: 0;
	line-height: 1;
}
header.banner .close {
	position: absolute;
	top: 5px;
	right: 5px;
}
header.banner .close a {
	display: block;
}
header.banner [data-icon].icon-before:before {
	color: #737373;
}

/* Main content (role=main) */
.main {
	margin-bottom: 3em
}

/* Footer (role=contantinfo) */
footer.contentinfo {
	border-top: 1px solid #ccc;
}
footer.contentinfo p {
	font-size: 1.6em
}
footer.contentinfo .copy {
	font-size: 1.4em;
	color: #888;
	margin: 1em 0 0 0.7em;
}

/* Accordion */
.js .accordion-trigger {
	cursor: pointer;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.js .expandable {
	overflow: hidden;
	width: 99.9%; /* Fixes form fields getting chopped off on right due to 'overflow: hidden' */
	-moz-transition-duration: 0.3s;
    -webkit-transition-duration: 0.3s;
    -o-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -moz-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    -webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    -o-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    max-height: 0;
}
.js .expandable.active {
	max-height: 9999px;
}
.js .accordion-trigger [data-icon] {
	font-size: 1.2em
}
.accordion-trigger.active .icon-after:after, .accordion-trigger.active .icon-before:before {
	content: '↑';
}

/* Services buttons */
.service {
	margin-bottom: 1em;
}
.service a {
	text-align: center;
	background: #737373;
	border-radius: 4px;
	display: block;
	padding: 0.5em 1em;
	color: #fff;
}
.service--single-provider {
	text-align: center;
}
.service--single-provider a {
	display: inline-block;
}

.file-upload .file-input {
	background: #e6e6e6;
	padding: 11px;
}
.file-upload .file-submit {
	margin-top: 0;
	padding: 12px;
	font-size: 2em;
	color: #fff;
	width: 100%;
}

/* File browser */
.browse {
	max-width: 800px;
	width: 100%;
	overflow: hidden
}
.browse.loading {
	min-height: 300px;
	background: url(../images/spin.gif) no-repeat 50% 10em;
}
.browse .nav {
	padding: 0 1em;
}
@media only screen and (max-width: 550px) {
	.browse .nav ul {
		margin-bottom: 0.6em
	}	
}
.browse .nav .unlink {
	float: right;
	margin: 0;
}
.browse .nav .unlink a {
	color: #F15A24;
	padding-right: 5px;
}
.browse .nav .crumb {
	font-size: 1.8em;
	line-height: 1.7em
}
.js .browse .file-list {
	-moz-transition-duration: 0.4s;
    -webkit-transition-duration: 0.4s;
    -o-transition-duration: 0.4s;
    transition-duration: 0.4s;
    -moz-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    -webkit-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    -o-transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
    transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
}
.js .browse .file-list {
	opacity: 1;
}
.js .browse .file-list.in, .js .browse .file-list.out, .js .browse .file-list.up {
	opacity: 0;
}
.js .browse .file-list.in {
    left: 100%;
}
.js .browse .file-list.out {
    right: 100%;
}
.browse table {
	font-size: 1.6em;
	background: #fff;
	word-wrap: break-word;
	table-layout: fixed;
}
.browse th, .browse td {
	padding-left: 0.6em;
}
.browse td {
	color: #B3B3B3;
	vertical-align:middle
}
.browse input {
	font-size: 1em;
	max-width: 100px;
	float: right;
}
.browse .name {
	font-size: 1.25em;
}
.browse .valid td, .browse th {
	padding: 0;
}
.browse .valid a, .browse .choosable td, .browse th a, .browse .dummy {
	padding: 0.6em;
}
.browse .valid a, .browse th a {
	display: block;
}
.browse .valid:hover {
	background: #e6e6e6
}
.browse .valid td {
	color: #4D4D4D;
}
.browse .action input {
	padding: 10px 7px;
	background: #737373;
}
.browse .action span:after {
	font-size: 1.4em;
}
.browse .modified a {
	padding-top: 0.8em;
}
.browse .modified abbr {
	padding-top: 0.1em;
	display: block;
}

/* Done */
.done {
	width: 92px;
	height: 92px;
	border-radius: 90px;
	margin: 0 auto 2em auto;
	background: #e6e6e6;
}
.done span {
	position: absolute;
	top: 18px;
	left: 14px;
}
.done [data-icon].icon-after:after {
	font-size: 5.5em;
}

/* Fonts + icons */
@font-face {
    font-family: 'SourceSansProLight';
    src: url('../fonts/SourceSansPro-Light-webfont.eot');
    src: url('../fonts/SourceSansPro-Light-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-Light-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-Light-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-Light-webfont.svg#SourceSansProLight') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'SourceSansProRegular';
    src: url('../fonts/SourceSansPro-Regular-webfont.eot');
    src: url('../fonts/SourceSansPro-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/SourceSansPro-Regular-webfont.woff') format('woff'),
         url('../fonts/SourceSansPro-Regular-webfont.ttf') format('truetype'),
         url('../fonts/SourceSansPro-Regular-webfont.svg#SourceSansProRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'icomoon';
    src:url('../fonts/icomoon.eot');
    src:url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.woff') format('woff'),
        url('../fonts/icomoon.ttf') format('truetype'),
        url('../fonts/icomoon.svg#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}
[data-icon].icon-after:after, [data-icon].icon-before:before {
    font-family: 'icomoon';
    content: attr(data-icon);
    speak: none;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    padding: 0 0 0 5px;
    font-size: 1em;
    color: #b3b3b3;
}
[data-icon].icon-before:before {
    padding: 0 5px 0 0;
}
[data-icon].icon-after.white:after, [data-icon].icon-before.white:before  {
    color: #fff;
}