/*!
 * Base Toolkit
 *
 * Base's CSS framework is heavily inspired by the works of many talented
 * developers. Thanks to the following projects:
 *  - Normalize.css: https://github.com/necolas/normalize.css
 *  - HTML5 Boilerplate: http://html5boilerplate.com/
 *  - Foundation: http://foundation.zurb.com/
 *  - Bootstrap: http://twitter.github.com/bootstrap/
 */

/*! normalize.css 2011-10-24T11:29 UTC - http://github.com/necolas/normalize.css */

/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

/*
 * Corrects block display not defined in IE6/7/8/9 & FF3
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
    display: block;
}

/*
 * Corrects inline-block display not defined in IE6/7/8/9 & FF3
 */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

/*
 * Prevents modern browsers from displaying 'audio' without controls
 */

audio:not([controls]) {
    display: none;
}

/*
 * Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
 * Known issue: no IE6 support
 */

[hidden] {
    display: none;
}


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Keeps page centred in all browsers regardless of content height
 * 3. Prevents iOS text size adjust after orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

html {
    font-size: 100%; /* 1 */
    overflow-y: scroll; /* 2 */
    -webkit-text-size-adjust: 100%; /* 3 */
    -ms-text-size-adjust: 100%; /* 3 */
}

/*
 * Addresses margins handled incorrectly in IE6/7
 */

body {
    margin: 0;
}

/*
 * Addresses font-family inconsistency between 'textarea' and other form elements.
 */

body,
button,
input,
select,
textarea {
    font-family: sans-serif;
}


/* =============================================================================
   Links
   ========================================================================== */

/*
 * Addresses outline displayed oddly in Chrome
 */

a:focus {
    outline: thin dotted;
}

/*
 * Improves readability when focused and also mouse hovered in all browsers
 * people.opera.com/patrickl/experiments/keyboard/test
 */

a:hover,
a:active {
    outline: 0;
}


/* =============================================================================
   Typography
   ========================================================================== */

/*
 * Addresses styling not present in IE7/8/9, S5, Chrome
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/*
 * Addresses style set to 'bolder' in FF3/4, S4/5, Chrome
*/

b,
strong {
    font-weight: bold;
}

blockquote {
    margin: 1em 40px;
}

/*
 * Addresses styling not present in S5, Chrome
 */

dfn {
    font-style: italic;
}

/*
 * Addresses styling not present in IE6/7/8/9
 */

mark {
    background: #ff0;
    color: #000;
}

/*
 * Corrects font family set oddly in IE6, S4/5, Chrome
 * en.wikipedia.org/wiki/User:Davidgothberg/Test59
 */

pre,
code,
kbd,
samp {
    font-family: monospace, serif;
    _font-family: 'courier new', monospace;
    font-size: 1em;
}

/*
 * Improves readability of pre-formatted text in all browsers
 */

pre {
    white-space: pre;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/*
 * 1. Addresses CSS quotes not supported in IE6/7
 * 2. Addresses quote property not supported in S4
 */

/* 1 */

q {
    quotes: none;
}

/* 2 */

q:before,
q:after {
    content: '';
    content: none;
}

small {
    font-size: 75%;
}

/*
 * Prevents sub and sup affecting line-height in all browsers
 * gist.github.com/413930
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}


/* =============================================================================
   Lists
   ========================================================================== */

ul,
ol {
    margin: 1em 0;
    padding: 0 0 0 40px;
}

dd {
    margin: 0 0 0 40px;
}

nav ul,
nav ol {
    list-style: none;
    list-style-image: none;
}


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
 * 2. Improves image quality when scaled in IE7
 *    code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */

img {
    border: 0; /* 1 */
    -ms-interpolation-mode: bicubic; /* 2 */
}

/*
 * Corrects overflow displayed oddly in IE9
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

/*
 * Addresses margin not present in IE6/7/8/9, S5, O11
 */

figure {
    margin: 0;
}


/* =============================================================================
   Forms
   ========================================================================== */

/*
 * Corrects margin displayed oddly in IE6/7
 */

form {
    margin: 0;
}

/*
 * Define consistent border, margin, and padding
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/*
 * 1. Corrects color not being inherited in IE6/7/8/9
 * 2. Corrects alignment displayed oddly in IE6/7
 */

legend {
    border: 0; /* 1 */
    *margin-left: -7px; /* 2 */
}

/*
 * 1. Corrects font size not being inherited in all browsers
 * 2. Addresses margins set differently in IE6/7, FF3/4, S5, Chrome
 * 3. Improves appearance and consistency in all browsers
 */

button,
input,
select,
textarea {
    font-size: 100%; /* 1 */
    margin: 0; /* 2 */
    vertical-align: baseline; /* 3 */
    *vertical-align: middle; /* 3 */
}

/*
 * Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
 */

button,
input {
    line-height: normal; /* 1 */
}

/*
 * 1. Improves usability and consistency of cursor style between image-type 'input' and others
 * 2. Corrects inability to style clickable 'input' types in iOS
 * 3. Corrects inner spacing displayed oddly in IE7 without effecting normal text inputs
 *    Known issue: inner spacing remains in IE6
 */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer; /* 1 */
    -webkit-appearance: button; /* 2 */
    *overflow: visible;  /* 3 */
}

/*
 * 1. Addresses box sizing set to content-box in IE8/9
 * 2. Addresses excess padding in IE8/9
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/*
 * 1. Addresses appearance set to searchfield in S5, Chrome
 * 2. Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof)
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/*
 * Corrects inner padding displayed oddly in S5, Chrome on OSX
 */

input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/*
 * Corrects inner padding and border displayed oddly in FF3/4
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/*
 * 1. Removes default vertical scrollbar in IE6/7/8/9
 * 2. Improves readability and alignment in all browsers
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}


/* =============================================================================
   Tables
   ========================================================================== */

/*
 * Remove most spacing between table cells
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* =============================================================================
    CORE
============================================================================= */

html {
  overflow-y: scroll;
  padding-bottom: 40px;
}

/* =============================================================================
    TYPOGRAPHY
============================================================================= */

body {
  line-height: 1.4;
  -webkit-font-smoothing: antialiased; 
  color: #484641;
    font-family: Arial,Helvetica,Verdana,sans-serif;
    font-size: 14px;
}

button, input, select, textarea {
  color: #333;
  font-family: "Helvetica Neue", "HelveticaNeue", Helvetica, Arial, sans-serif;
}

/* =============================================================================
    UI
============================================================================= */

/* handle draggable elements */
[draggable],
[draggable=true] {
  -khtml-user-drag: element;
  -webkit-user-drag: element;
  -khtml-user-select: none;
  -webkit-user-select: none;
}

hr {
  border: 2px solid #333;
}

pre {
  margin: 0;
}

pre code {
  font-size: 12px;
  background: #f6f6f6;
  border: 1px solid #ddd;
  -webkit-background-clip: padding-box; /* fix WebKit background bleed on border-radius */
  -webkit-border-radius: 10px;
     -moz-border-radius: 10px;
          border-radius: 10px;
  padding: 20px;
  display: block;
}

details summary {
  cursor: pointer;
}
/* ========================================================
  UI | Forms
=========================================================== */

form {
  width: 100%;
}

form .form-list {
  list-style: none;
  padding-left: 0;
}

form .form-list li {
  margin-top: 20px;
}

form .form-list li:first-child {
  margin-top: 0;
}

form label {
  font-weight: bold;
  cursor: pointer;
}

form label,
form label span {
  display: block;
}

form textarea {
  height: 150px;
  width: 350px;
}

/*
 * Removes outline for text inputs. In WebKit, this removes the blue glow
 * around text-based inputs.
 */
form input:focus,
form textarea:focus {
  outline: none;
}

.input-text {
  width: 200px;
}

.input-text.small {
  width: 125px;
}

.input-text.large {
  width: 275px;
}

/* ========================================================
  UI | Lists
=========================================================== */

ul.disc {
  list-style: disc;
}

ul.square {
  list-style: square;
}

dt {
  font-weight: bold;
  margin-top: 10px;
}

dl dt:first-child {
  margin-top: 0;
}

nav ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

/* ========================================================
  UI | Tables
=========================================================== */

table {
  background: #fff;
  width: 100%;
}

thead th {
  background: #eee;
  text-align: left;
}

thead th,
tbody td {
  padding: 10px;
}

tbody {
  font-size: 14px;
}

  /* ========================================================
    UI | Tables | Zebra
  =========================================================== */

  table.zebra {}

  /*
   * nth-child selectors are not supported in IE8 or below. Use the `.even`
   * class instead.
   */
  table.zebra tbody tr:nth-child(even),
  table.zebra tbody tr.even {
    background: #f6f6f6;
  }

/* =============================================================================
    UTILITIES
============================================================================= */

  /* ========================================================
      UTILITIES | Clearfix
  =========================================================== */

  .clearfix:before,
  .clearfix:after,
  .clearfixed > li:before,
  .clearfixed > li:after {
    content: "";
    display: table;
  }

  .clearfix:after,
  .clearfixed > li:after {
    clear: both;
  }

  .clearfix,
  .clearfixed > li {
    *zoom: 1;
  }

  /* ========================================================
      UTILITIES | Floaters
  =========================================================== */

  .left,
  .lefted > li {
    float: left;
  }

  .right,
  .righted > li {
    float: right;
  }

  /* ========================================================
      UTILITIES | Image Replacement
  =========================================================== */

  /* from h5bp */
  .ir {
    direction: ltr;
    *line-height: 0;
    text-align: left;
    text-indent: -999em;
    display: block;
    border: 0;
    overflow: hidden;
    background-color: transparent;
    background-repeat: no-repeat;
  }

  .ir br {
    display: none;
  }

  /* ========================================================
      UTILITIES | Spacers
  =========================================================== */

  .quarter,
  .quartered > li {
    margin-bottom: 5px;
  }

  .half,
  .halved > li {
    margin-bottom: 10px;
  }

  .single,
  .singled > li {
    margin-bottom: 20px;
  }

  .double,
  .doubled > li {
    margin-bottom: 40px;
  }

  /* ========================================================
      UTILITIES | Visibility
  =========================================================== */

  /* Hide from both screenreaders and browsers: h5bp.com/u */
  .hidden {
    display: none;
    visibility: hidden;
  }

  /* Hide only visually, but have it available for screenreaders: h5bp.com/v */
  .visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    position: absolute;
  }

  /* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
  .visuallyhidden.focusable:active,
  .visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    width: auto;
    margin: 0;
    overflow: visible;
    position: static;
  }

  /* Hide visually and from screenreaders, but maintain layout */
  .invisible {
    visibility: hidden;
  }

  /* Platform-specific */
  .show-on-small  { display: none !important; }
  .show-on-medium { display: none !important; }
  .show-on-large  { }

  .hide-on-small  { }
  .hide-on-medium { }
  .hide-on-large  { display: none !important; }

  /* ========================================================
      UTILITIES | Miscellaneous
  =========================================================== */

  /* Used to indicate that the page is busy */
  body.busy {
    cursor: wait;
  }

/* =============================================================================
    GRID
============================================================================= */

.container {
  margin: 0 auto;
}

.row:before,
.row:after {
  content: "";
  display: table;
}

.row:after {
  clear: both;
}

.row {
  width: 100%;
  max-width: 100%;
  *zoom: 1;
}

.row .row {
  width: auto;
  max-width: none;
  min-width: 0;
}

.column,
.columns {
  float: left;
  min-height: 1px;
  position: relative;
}
/* =============================================================================
    GRID - 960 (default, 24 column, 10px gutter)
============================================================================= */

.container {
  width: 960px;
}

.row .row {
  margin-left: -5px;
  margin-right: -5px;
}

.column,
.columns {
  padding-left: 5px;
  padding-right: 5px;
}

.row .one.column,
.row .one.columns         { width: 30px;  }
.row .two.columns         { width: 70px;  }
.row .three.columns       { width: 110px; }
.row .four.columns        { width: 150px; }
.row .five.columns        { width: 190px; }
.row .six.columns         { width: 230px; }
.row .seven.columns       { width: 270px; }
.row .eight.columns       { width: 310px; }
.row .nine.columns        { width: 350px; }
.row .ten.columns         { width: 390px; }
.row .eleven.columns      { width: 430px; }
.row .twelve.columns      { width: 470px; }
.row .thirteen.columns    { width: 510px; }
.row .fourteen.columns    { width: 550px; }
.row .fifteen.columns     { width: 590px; }
.row .sixteen.columns     { width: 630px; }
.row .seventeen.columns   { width: 670px; }
.row .eighteen.columns    { width: 710px; }
.row .nineteen.columns    { width: 750px; }
.row .twenty.columns      { width: 790px; }
.row .twentyone.columns   { width: 830px; }
.row .twentytwo.columns   { width: 870px; }
.row .twentythree.columns { width: 910px; }
.row .twentyfour.columns  { width: 950px; }

.row .offset-by-one         { margin-left: 40px;  }
.row .offset-by-two         { margin-left: 80px;  }
.row .offset-by-three       { margin-left: 120px; }
.row .offset-by-four        { margin-left: 160px; }
.row .offset-by-five        { margin-left: 200px; }
.row .offset-by-six         { margin-left: 240px; }
.row .offset-by-seven       { margin-left: 280px; }
.row .offset-by-eight       { margin-left: 320px; }
.row .offset-by-nine        { margin-left: 360px; }
.row .offset-by-ten         { margin-left: 400px; }
.row .offset-by-eleven      { margin-left: 440px; }
.row .offset-by-twelve      { margin-left: 480px; }
.row .offset-by-thirteen    { margin-left: 520px; }
.row .offset-by-fourteen    { margin-left: 560px; }
.row .offset-by-fifteen     { margin-left: 600px; }
.row .offset-by-sixteen     { margin-left: 640px; }
.row .offset-by-seventeen   { margin-left: 680px; }
.row .offset-by-eighteen    { margin-left: 720px; }
.row .offset-by-nineteen    { margin-left: 760px; }
.row .offset-by-twenty      { margin-left: 800px; }
.row .offset-by-twentyone   { margin-left: 840px; }
.row .offset-by-twentytwo   { margin-left: 880px; }

.row .offset-by-one:first-child         { margin-left: 35px;  }
.row .offset-by-two:first-child         { margin-left: 75px;  }
.row .offset-by-three:first-child       { margin-left: 115px; }
.row .offset-by-four:first-child        { margin-left: 155px; }
.row .offset-by-five:first-child        { margin-left: 195px; }
.row .offset-by-six:first-child         { margin-left: 235px; }
.row .offset-by-seven:first-child       { margin-left: 275px; }
.row .offset-by-eight:first-child       { margin-left: 315px; }
.row .offset-by-nine:first-child        { margin-left: 355px; }
.row .offset-by-ten:first-child         { margin-left: 395px; }
.row .offset-by-eleven:first-child      { margin-left: 435px; }
.row .offset-by-twelve:first-child      { margin-left: 475px; }
.row .offset-by-thirteen:first-child    { margin-left: 515px; }
.row .offset-by-fourteen:first-child    { margin-left: 555px; }
.row .offset-by-fifteen:first-child     { margin-left: 595px; }
.row .offset-by-sixteen:first-child     { margin-left: 635px; }
.row .offset-by-seventeen:first-child   { margin-left: 675px; }
.row .offset-by-eighteen:first-child    { margin-left: 715px; }
.row .offset-by-nineteen:first-child    { margin-left: 755px; }
.row .offset-by-twenty:first-child      { margin-left: 795px; }
.row .offset-by-twentyone:first-child   { margin-left: 835px; }
.row .offset-by-twentytwo:first-child   { margin-left: 875px; }
.row .offset-by-twentythree:first-child { margin-left: 915px; }

/* =============================================================================
    PRINT

    Inlined to avoid required HTTP connection: h5bp.com/r
============================================================================= */

@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important;
  }

  /* Black prints faster: h5bp.com/s */
  a, a:visited {
    text-decoration: underline;
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
    content: "";
  }

  /* Don't show links for images, or javascript/internal links */
  pre, blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  /* h5bp.com/t */
  tr, img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }

  h2, h3 {
    page-break-after: avoid;
  }
}
