/*   
Project: South Yorkshire Young Drivers Quiz
Project URI: http://
Author: Little Thunder
Author URI: http://littlethunder.co
*/
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
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-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
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 {
  content: '';
  content: none; }

q:before, q:after {
  content: '';
  content: none; }

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

/*   
Project:      Bass - A smart, lightweight responsive grid, built with Sass
Project URI:  http://timpotter.github.io/bass-grid
Version:      1.2.1
Updated:      17th June 2015
Author:       Tim Potter
Author URI:   http://littlethunder.co
*/
*,
*:before,
*:after {
  box-sizing: border-box; }

.one, .two, .three, .four, .five, .six, .half, .results .score, .seven, .eight, .nine, .ten, .eleven, .twelve, .full, .results .final, .left-column, .right-column {
  float: left;
  margin: 10px 1%;
  padding: 10px; }

/* Container - delete this if you don't need one
------------------------------------------------------------------------------------------------------------------------------------------ */
.container {
  width: 960px;
  margin: 0 auto;
  clear: both; }
  @media screen and (max-width: 960px) {
    .container {
      width: 100%; } }

/* Makes images responsive
------------------------------------------------------------------------------------------------------------------------------------------ */
img {
  max-width: 100%; }

/* Choose a column size
------------------------------------------------------------------------------------------------------------------------------------------ */
.one {
  width: 6.3333333333%; }
  @media screen and (max-width: 640px) {
    .one {
      width: 98%; } }

.two {
  width: 14.6666666667%; }
  @media screen and (max-width: 640px) {
    .two {
      width: 98%; } }

.three {
  width: 23%; }
  @media screen and (max-width: 640px) {
    .three {
      width: 98%; } }

.four {
  width: 31.3333333333%; }
  @media screen and (max-width: 640px) {
    .four {
      width: 98%; } }

.five {
  width: 39.6666666667%; }
  @media screen and (max-width: 640px) {
    .five {
      width: 98%; } }

.six, .half, .results .score {
  width: 48%; }
  @media screen and (max-width: 640px) {
    .six, .half, .results .score {
      width: 98%; } }

.seven {
  width: 56.3333333333%; }
  @media screen and (max-width: 640px) {
    .seven {
      width: 98%; } }

.eight {
  width: 64.6666666667%; }
  @media screen and (max-width: 640px) {
    .eight {
      width: 98%; } }

.nine {
  width: 73%; }
  @media screen and (max-width: 640px) {
    .nine {
      width: 98%; } }

.ten {
  width: 81.3333333333%; }
  @media screen and (max-width: 640px) {
    .ten {
      width: 98%; } }

.eleven {
  width: 89.6666666667%; }
  @media screen and (max-width: 640px) {
    .eleven {
      width: 98%; } }

.twelve, .full, .results .final {
  width: 98%; }
  @media screen and (max-width: 640px) {
    .twelve, .full, .results .final {
      width: 98%; } }

/* Offsets for positioning columns
------------------------------------------------------------------------------------------------------------------------------------------ */
.offset-by-one {
  margin-left: 9.3333333333%; }
  @media screen and (max-width: 640px) {
    .offset-by-one {
      margin-left: 1%; } }

.offset-by-two {
  margin-left: 17.6666666667%; }
  @media screen and (max-width: 640px) {
    .offset-by-two {
      margin-left: 1%; } }

.offset-by-three {
  margin-left: 26%; }
  @media screen and (max-width: 640px) {
    .offset-by-three {
      margin-left: 1%; } }

.offset-by-four {
  margin-left: 34.3333333333%; }
  @media screen and (max-width: 640px) {
    .offset-by-four {
      margin-left: 1%; } }

.offset-by-five {
  margin-left: 42.6666666667%; }
  @media screen and (max-width: 640px) {
    .offset-by-five {
      margin-left: 1%; } }

.offset-by-six {
  margin-left: 51%; }
  @media screen and (max-width: 640px) {
    .offset-by-six {
      margin-left: 1%; } }

.offset-by-seven {
  margin-left: 59.3333333333%; }
  @media screen and (max-width: 640px) {
    .offset-by-seven {
      margin-left: 1%; } }

.offset-by-eight {
  margin-left: 67.6666666667%; }
  @media screen and (max-width: 640px) {
    .offset-by-eight {
      margin-left: 1%; } }

.offset-by-nine {
  margin-left: 76%; }
  @media screen and (max-width: 640px) {
    .offset-by-nine {
      margin-left: 1%; } }

.offset-by-ten {
  margin-left: 84.3333333333%; }
  @media screen and (max-width: 640px) {
    .offset-by-ten {
      margin-left: 1%; } }

.offset-by-eleven {
  margin-left: 92.6666666667%; }
  @media screen and (max-width: 640px) {
    .offset-by-eleven {
      margin-left: 1%; } }

/* Or make your own - Delete the default columns to save bloating your CSS if you chose to make your own
------------------------------------------------------------------------------------------------------------------------------------------ */
.left-column {
  width: 31.3333333333%;
  background: #3498db; }
  @media screen and (max-width: 640px) {
    .left-column {
      width: 98%; } }

.right-column {
  width: 64.6666666667%;
  background: #3498db; }
  @media screen and (max-width: 640px) {
    .right-column {
      width: 98%; } }

/* ------------ Reusables ------------  */
.gradient {
  background: #96ca2e;
  /* Old browsers */
  background: -moz-linear-gradient(left, #96ca2e 0%, #50c5b8 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right top, color-stop(0%, #96ca2e), color-stop(100%, #50c5b8));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(left, #96ca2e 0%, #50c5b8 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(left, #96ca2e 0%, #50c5b8 100%);
  /* Opera 11.10+ */
  background: -ms-linear-gradient(left, #96ca2e 0%, #50c5b8 100%);
  /* IE10+ */
  background: linear-gradient(to right, #96ca2e 0%, #50c5b8 100%);
  /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#96ca2e', endColorstr='#50c5b8',GradientType=1 );
  /* IE6-9 */ }

.center, h1, h2.lead {
  text-align: center; }

.reset-margin {
  margin: 0; }

.group:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden; }

/* ------------ Typography ------------  */
body {
  font-family: 'Open Sans', sans-serif;
  color: #42203c;
  font-size: 8.3333333333%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

h1, h2, h3, h4 {
  font-weight: 800; }

h1 {
  font-size: 3.75rem;
  line-height: 97.0820394px;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: white; }
  @media (max-width: 640px) {
    h1 {
      font-size: 3.4rem; } }
  @media (max-width: 750px) {
    h1.title {
      line-height: 1em;
      margin-bottom: 10px;
      height: auto;
      background: none; } }
  h1 span {
    color: #96ca2d; }

h2 {
  font-size: 3rem;
  line-height: 77.66563152px; }
  @media (max-width: 640px) {
    h2 {
      font-size: 2.65rem; } }
  h2.lead {
    font-weight: 400;
    text-transform: uppercase;
    font-size: 1.375rem;
    line-height: 35.59674778px;
    color: #48C6B8;
    letter-spacing: 1px;
    margin: 0 auto;
    line-height: 1.25em !important; }
    @media (max-width: 640px) {
      h2.lead {
        font-size: 1.025rem; } }
  section h2 {
    line-height: 1.25em; }

h3 {
  font-size: 1.875rem;
  line-height: 48.5410197px; }
  @media (max-width: 640px) {
    h3 {
      font-size: 1.525rem; } }

h4 {
  font-size: 1.125rem;
  line-height: 29.12461182px; }
  @media (max-width: 640px) {
    h4 {
      font-size: 0.775rem; } }

p {
  font-size: 1.5rem;
  line-height: 38.83281576px;
  margin-bottom: 15px;
  color: #8d8d8d; }
  @media (max-width: 640px) {
    p {
      font-size: 1.15rem; } }
  #home p:nth-of-type(1) {
    font-size: 1.875rem;
    line-height: 48.5410197px; }
    @media (max-width: 640px) {
      #home p:nth-of-type(1) {
        font-size: 1.525rem; } }

a {
  text-decoration: none; }

.button {
  color: #96ca2d;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 29.12461182px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 20px;
  border: 4px solid #96ca2d;
  display: table;
  margin: 40px auto;
  background: rgba(255, 255, 255, 0.5);
  width: 280px;
  text-align: center;
  transition: all 0.3s ease 0s; }
  @media (max-width: 640px) {
    .button {
      font-size: 0.775rem; } }
  .button:hover {
    background: #acd852;
    color: white;
    cursor: pointer;
    border: 4px solid #96ca2d; }

.timer {
  text-align: center;
  height: 130px; }
  .timer h3 {
    font-size: 4.5rem;
    line-height: 116.49844728px;
    background-color: #48C6B8;
    border: 4px solid #48C6B8;
    color: white; }
    @media (max-width: 640px) {
      .timer h3 {
        font-size: 4.15rem; } }
  .timer p {
    font-size: 1rem;
    line-height: 25.88854384px;
    text-transform: uppercase;
    font-weight: 600;
    color: #48C6B8;
    margin-top: 5px; }
    @media (max-width: 640px) {
      .timer p {
        font-size: 0.65rem; } }

.results {
  text-align: center; }
  .results .score h2 {
    font-size: 6rem;
    line-height: 0.85em; }
    .results .score h2.green {
      color: #96ca2d; }
    .results .score h2.amber {
      color: #ff8c02; }
    .results .score h2.red {
      color: #ff3207; }
  .results .score h3 {
    margin-bottom: 20px; }
  .results .score p {
    font-weight: 700;
    font-size: 1.25rem;
    color: #42203c;
    margin-bottom: 40px; }
  .results .final {
    margin-bottom: 40px; }
    .results .final h2 {
      font-size: 8rem; }

.social ul {
  margin: 10px; }
  .social ul li {
    display: block;
    width: 33.3333333333%;
    text-align: center;
    border: 2px solid #dadada;
    float: left;
    padding: 20px;
    text-indent: -9999px;
    height: 80px;
    background-size: 40px !important; }
    .social ul li.facebook {
      background: url(../img/facebook.svg) no-repeat center center;
      background-size: 20px !important; }
    .social ul li.twitter {
      background: url(../img/twitter.svg) no-repeat center center; }
    .social ul li.email {
      background: url(../img/email.svg) no-repeat center center; }
    .social ul li a {
      display: block;
      width: 100%;
      height: 80px; }
    .social ul li:nth-of-type(2), .social ul li:nth-of-type(3) {
      border-left: none; }

/* ------------ Layout ------------  */
body {
  background: url(../img/bg-alt.jpg) no-repeat top center;
  background-color: #291F20;
  background-size: cover; }
  body#home {
    background-image: url(../img/bg.jpg); }

.gradient {
  height: 10px;
  margin-bottom: 40px; }

section {
  padding: 50px;
  margin-top: 50px; }
  section.boxed {
    background: url(../img/section-lines.png) rgba(255, 255, 255, 0.9); }
  @media (max-width: 640px) {
    section {
      padding: 20px;
      margin-top: 20px; } }

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 35px;
  height: 0;
  overflow: hidden; }
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; }

.social {
  width: 65%;
  margin: 20px auto; }

/* ------------ Forms ------------  */
input[type=text],
input[type=email] {
  display: block;
  clear: both;
  width: 100%;
  border: 1px solid #ececec;
  padding: 10px 20px;
  margin-bottom: 30px;
  font-size: 1.875rem;
  line-height: 48.5410197px;
  font-weight: 300; }
  @media (max-width: 640px) {
    input[type=text],
    input[type=email] {
      font-size: 1.525rem; } }

input {
  outline: 0; }
  input:focus {
    border: 1px solid #48C6B8;
    color: #48C6B8; }

label {
  font-size: 1.875rem;
  line-height: 48.5410197px;
  font-weight: 300;
  color: #8d8d8d; }
  @media (max-width: 640px) {
    label {
      font-size: 1.525rem; } }

input[type=radio] {
  display: none; }

input[type=radio] + label::before {
  content: '';
  display: inline-block;
  border: 2px solid #8d8d8d;
  border-radius: 50%;
  margin: 0 0.5em;
  width: 24px;
  height: 24px; }

input[type=radio]:checked + label::before {
  border-color: #48C6B8;
  background-color: #48C6B8; }

input[type=radio]:checked + label {
  color: #48C6B8; }

::-webkit-input-placeholder {
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.5;
  font-size: 1.25rem; }

:-moz-placeholder {
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.5;
  font-size: 1.25rem; }

::-moz-placeholder {
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.5;
  font-size: 1.25rem; }

:-ms-input-placeholder {
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.5;
  font-size: 1.25rem; }

form li {
  margin: 10px 0; }
  form li label {
    font-weight: 700; }
