/*
 * Colours:
 * #515151
 * #FFFFFF
 * #00B4FF
 * #EEEEEE #ccc
 */


/*
 * Fonts
 */

@font-face {
  font-family: 'fontello';
  src: url('font/fontello.eot');
  src: url('font/fontello.eot#iefix') format('embedded-opentype'),
       url('font/fontello.woff') format('woff'),
       url('font/fontello.ttf') format('truetype'),
       url('font/fontello.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  font-variant: normal;
  text-transform: none;
}


/*
 * Scaffolding and Basic Reset
 */

html {
  font-size: 16px;
}
@media (min-width: 48em) {
  html {
    font-size: 20px;
  }
}

body {
  margin: 0;
  font: 1rem/1.5 "PT Sans", sans-serif;
  color: #515151;
}

a {
  color: #00b4ff;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

h1, h2, h3, h4 {
  margin: 0 0 .5rem;
  font-weight: normal;
  line-height: 1;
  color: #2a2a2a;
  letter-spacing: -.05em;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem }

p {
  margin: 0;
}
p.ref {
	margin: 1rem;
}


/*
 * Tab Bar
 */
*, *:before, *:after {
  -webkit-box-sizing: border-box; 
     -moz-box-sizing: border-box; 
          box-sizing: border-box;
}

.tab-bar {
	width: 100%;
	margin: 0;
	padding: 0;
}

/* 
 * Simple inline block elements with width: 25%
 * adding a border without using box-sizing: border-box
 * will break the layout because by default width doesn't
 * include border and the:
 * total width = 25% * 4 + 1px * 4 > 100%
 */
.tab-bar .tab-link {
	display: inline-block;
	width: 25%;
	height: 80px;
	background-color: #eee;
	border-right: 1px solid #ccc;
	text-align: center;
}