~xdavidwu/xdavidwu.link

0a71132bff8c378cab9f9e63c807531ebdd05dca — Michael Rose 10 years ago 8d0146f + 6cac33d
Merge branch 'feature/build-script' into develop
A .jshintrc => .jshintrc +20 -0
@@ 0,0 1,20 @@
{
  "bitwise": true,
  "browser": true,
  "curly": true,
  "eqeqeq": true,
  "eqnull": true,
  "es5": false,
  "esnext": true,
  "immed": true,
  "jquery": true,
  "latedef": true,
  "newcap": true,
  "noarg": true,
  "node": true,
  "strict": false,
  "trailing": false,
  "undef": true,
  "multistr": true,
  "expr": true
}
\ No newline at end of file

A Gruntfile.js => Gruntfile.js +110 -0
@@ 0,0 1,110 @@
'use strict';
module.exports = function(grunt) {

  grunt.initConfig({
    jshint: {
      options: {
        jshintrc: '.jshintrc'
      },
      all: [
        'Gruntfile.js',
        'assets/js/*.js',
        '!assets/js/plugins/*.js',
        '!assets/js/scripts.min.js'
      ]
    },
    recess: {
      dist: {
        options: {
          compile: true,
          compress: true
        },
        files: {
          'assets/css/main.min.css': [
            'assets/less/main.less'
          ],
          'assets/css/ie.min.css': [
            'assets/less/ie.less'
          ]
        }
      }
    },
    uglify: {
      dist: {
        files: {
          'assets/js/scripts.min.js': [
            'assets/js/plugins/*.js',
            'assets/js/_*.js'
          ]
        }
      }
    },
    imagemin: {
      dist: {
        options: {
          optimizationLevel: 7,
          progressive: true
        },
        files: [{
          expand: true,
          cwd: 'images/',
          src: '{,*/}*.{png,jpg,jpeg}',
          dest: 'images/'
        }]
      }
    },
    svgmin: {
      dist: {
        files: [{
          expand: true,
          cwd: 'images/',
          src: '{,*/}*.svg',
          dest: 'images/'
        }]
      }
    },
    watch: {
      less: {
        files: [
          'assets/less/*.less',
          'assets/less/bootstrap/*.less'
        ],
        tasks: ['recess']
      },
      js: {
        files: [
          '<%= jshint.all %>'
        ],
        tasks: ['jshint','uglify']
      }
    },
    clean: {
      dist: [
        'assets/css/main.min.css',
        'assets/js/scripts.min.js'
      ]
    }
  });

  // Load tasks
  grunt.loadNpmTasks('grunt-contrib-clean');
  grunt.loadNpmTasks('grunt-contrib-jshint');
  grunt.loadNpmTasks('grunt-contrib-uglify');
  grunt.loadNpmTasks('grunt-contrib-watch');
  grunt.loadNpmTasks('grunt-recess');
  grunt.loadNpmTasks('grunt-contrib-imagemin');
  grunt.loadNpmTasks('grunt-svgmin');

  // Register tasks
  grunt.registerTask('default', [
    'clean',
    'recess',
    'uglify',
    'imagemin',
    'svgmin'
  ]);
  grunt.registerTask('dev', [
    'watch'
  ]);

};
\ No newline at end of file

M README.md => README.md +1 -1
@@ 142,7 142,7 @@ Insert the following HTML in post or page content that you want a *table of cont
``` html
<section id="table-of-contents" class="toc">
  <header>
    <h3 class="delta">Contents</h3>
    <h3>Contents</h3>
  </header>
<div id="drawer" markdown="1">
*  Auto generated table of contents

M _config.yml => _config.yml +1 -1
@@ 64,4 64,4 @@ kramdown:
    coderay_css: class

include: [".htaccess"]
exclude: ["lib", "config.rb", "Capfile", "config", "log", "Rakefile", "Rakefile.rb", "tmp", "less", "minimal-mistakes.sublime-project", "minimal-mistakes.sublime-workspace"]
\ No newline at end of file
exclude: ["lib", "config.rb", "Capfile", "config", "log", "Rakefile", "Rakefile.rb", "tmp", "less", "*.sublime-project", "*.sublime-workspace", "test", "spec", "Gruntfile.js", "package.json", "node_modules"]
\ No newline at end of file

M _includes/head.html => _includes/head.html +2 -2
@@ 38,10 38,10 @@
<!-- Google Webfonts -->
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow:400,700|PT+Serif:400,700,400italic' rel='stylesheet' type='text/css'>
<!-- For all browsers -->
<link rel="stylesheet" href="{{ site.url }}/assets/css/main.css">
<link rel="stylesheet" href="{{ site.url }}/assets/css/main.min.css">

<!--[if (lt IE 9) & (!IEMobile)]>
<link rel="stylesheet" href="{{ site.url }}/assets/css/ie.css">
<link rel="stylesheet" href="{{ site.url }}/assets/css/ie.min.css">
<![endif]-->

<meta http-equiv="cleartype" content="on">

M _includes/scripts.html => _includes/scripts.html +1 -1
@@ 1,6 1,6 @@
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="{{ site.url }}/assets/js/vendor/jquery-1.9.1.min.js"><\/script>')</script>
<script src="{{ site.url }}/assets/js/main.min.js"></script>
<script src="{{ site.url }}/assets/js/scripts.min.js"></script>
{% if site.google_analytics %}
<!-- Asynchronous Google Analytics snippet -->
<script>

M _posts/2011-03-10-sample-post.md => _posts/2011-03-10-sample-post.md +1 -1
@@ 13,7 13,7 @@ image:

<section id="table-of-contents" class="toc">
  <header>
    <h3 class="delta">Contents</h3>
    <h3>Contents</h3>
  </header>
<div id="drawer" markdown="1">
*  Auto generated table of contents

D assets/css/ie.css => assets/css/ie.css +0 -1725
@@ 1,1725 0,0 @@
/* CSS Normalize =========================================== */
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined in IE 8/9.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}
/**
 * Correct `inline-block` display not defined in IE 8/9.
 */
audio,
canvas,
video {
  display: inline-block;
}
/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}
/**
 * Address styling not present in IE 8/9.
 */
[hidden] {
  display: none;
}
/* ==========================================================================
   Base
   ========================================================================== */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-family: sans-serif;
  /* 1 */

  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  /* 2 */

}
/**
 * Remove default margin.
 */
body {
  margin: 0;
}
/* ==========================================================================
   Links
   ========================================================================== */
/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  outline: thin dotted;
}
/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}
/* ==========================================================================
   Typography
   ========================================================================== */
/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}
/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */
b,
strong {
  font-weight: bold;
}
/**
 * Address styling not present in Safari 5 and Chrome.
 */
dfn {
  font-style: italic;
}
/**
 * Address differences between Firefox and other browsers.
 */
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}
/**
 * Address styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000;
}
/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}
/**
 * Improve readability of pre-formatted text in all browsers.
 */
pre {
  white-space: pre;
}
/**
 * Set consistent quote types.
 */
q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}
/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
/* ==========================================================================
   Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9.
 */
img {
  border: 0;
}
/**
 * Correct overflow displayed oddly in IE 9.
 */
svg:not(:root) {
  overflow: hidden;
}
/* ==========================================================================
   Figures
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari 5.
 */
figure {
  margin: 0;
}
/* ==========================================================================
   Forms
   ========================================================================== */
/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */

  padding: 0;
  /* 2 */

}
/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */
button,
input,
select,
textarea {
  font-family: inherit;
  /* 1 */

  font-size: 100%;
  /* 2 */

  margin: 0;
  /* 3 */

}
/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal;
}
/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none;
}
/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */

  cursor: pointer;
  /* 3 */

}
/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}
/**
 * 1. Address box sizing set to `content-box` in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */

  padding: 0;
  /* 2 */

}
/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and 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;
}
/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve 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;
  margin-bottom: 1.5em;
}
/* Variables and mixins ==================================== */
/* Links ================================================= */
/* Site wide styles (html, body, global classes) =========== */
/* Selection ============================================= */
::-moz-selection {
  background-color: #dadada;
  color: #343434;
  text-shadow: none;
}
::selection {
  background-color: #dadada;
  color: #343434;
  text-shadow: none;
}
/* Global Classes ======================================== */
.all-caps {
  text-transform: uppercase;
}
.pull-left {
  float: left;
}
.pull-right {
  float: right;
}
.image-pull-right {
  float: right;
  margin-top: 0;
}
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}
.unstyled-list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
.unstyled-list li {
  list-style-type: none;
}
/* Global Transition ==================================== */
b,
i,
strong,
em,
blockquote,
p,
q,
span,
figure,
img,
h1,
h2,
header,
input,
a {
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
body {
  font-family: 'PT Serif', serif;
  color: #333332;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'PT Sans Narrow', sans-serif;
}
h1 {
  font-size: 32px;
  font-size: 2rem;
  line-height: 0.8125;
  margin-bottom: 26px;
  margin-bottom: 1.625rem;
}
h2 {
  font-size: 28px;
  font-size: 1.75rem;
  line-height: 0.9286;
  margin-bottom: 26px;
  margin-bottom: 1.625rem;
}
h3 {
  font-size: 24px;
  font-size: 1.5rem;
  line-height: 1.0833;
  margin-bottom: 26px;
  margin-bottom: 1.625rem;
}
h4 {
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1.4444;
  margin-bottom: 26px;
  margin-bottom: 1.625rem;
}
h5 {
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.625;
  margin-bottom: 26px;
  margin-bottom: 1.625rem;
}
h6 {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.8571;
  margin-bottom: 26px;
  margin-bottom: 1.625rem;
}
a {
  text-decoration: none;
  color: #343434;
}
a:visited {
  color: #676767;
}
a:hover {
  color: #010101;
}
a:focus {
  outline: thin dotted;
  color: #010101;
}
a:hover,
a:active {
  outline: 0;
}
figcaption {
  padding-top: 10px;
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.8571;
  line-height: 1.3;
  color: #4d4d4b;
}
.image-credit {
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  display: block;
  text-align: right;
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 2.1667;
  line-height: 1.3;
  font-style: italic;
  color: #80807e;
}
.image-credit a {
  color: #80807e;
}
.notice {
  margin-top: 1.5em;
  padding: .5em 1em;
  text-indent: 0;
  font-size: 14px;
  font-size: 0.875rem;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
blockquote {
  margin-left: -28px;
  padding-left: 20px;
  border-left: 8px solid #333332;
  font-family: 'PT Serif', serif;
  font-style: italic;
  font-size: 24px;
  font-size: 1.5rem;
}
.footnotes ol,
.footnotes li,
.footnotes p {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.8571;
  margin-bottom: 26px;
  margin-bottom: 1.625rem;
}
p {
  margin: 0 0 1.625rem;
}
p + p {
  text-indent: 1.625rem;
  margin-top: -1.625rem;
}
tt,
code,
kbd,
samp,
pre {
  font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
}
p code,
li code {
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1.5;
  white-space: nowrap;
  margin: 0 2px;
  padding: 0 5px;
  border: 1px solid #f7f7f7;
  background-color: #ffffff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
pre {
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1.5;
  overflow-x: auto;
}
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
.hidden {
  display: none;
  visibility: hidden;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  position: static;
  clip: auto;
  height: auto;
  width: auto;
  margin: 0;
  overflow: visible;
}
/* Figures, images, social media, other elements =========== */
hr {
  display: block;
  margin: 1em 0;
  padding: 0;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #fff;
}
/* Figures and images ==================================== */
article img {
  max-width: 100%;
  height: auto;
  border-width: 0;
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}
svg:not(:root) {
  overflow: hidden;
}
.half {
  margin: 0 auto;
  width: 100%;
  *zoom: 1;
}
.half:before,
.half:after {
  display: table;
  content: "";
}
.half:after {
  clear: both;
}
.half:before,
.half:after {
  display: table;
  content: "";
  line-height: 0;
}
.half:after {
  clear: both;
}
.half img {
  display: inline;
  float: left;
  width: 50%;
}
.half figcaption {
  display: inline;
  float: left;
  width: 100%;
}
.third {
  margin: 0 auto;
  width: 100%;
  *zoom: 1;
}
.third:before,
.third:after {
  display: table;
  content: "";
}
.third:after {
  clear: both;
}
.third:before,
.third:after {
  display: table;
  content: "";
  line-height: 0;
}
.third:after {
  clear: both;
}
.third img {
  display: inline;
  float: left;
  width: 33.333333333333336%;
}
.third figcaption {
  display: inline;
  float: left;
  width: 100%;
}
/* Buttons ============================================== */
.btn {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 20px;
  font-size: 14px;
  font-size: 0.875rem;
  background-color: #111111;
  color: #ffffff;
  border: 2px solid #111111 !important;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.btn:visited {
  color: #ffffff;
}
.btn:hover {
  background-color: #ffffff;
  color: #111111;
}
.btn:active {
  -webkit-transform: translate(0, 2px);
  -moz-transform: translate(0, 2px);
  -ms-transform: translate(0, 2px);
  -o-transform: translate(0, 2px);
  transform: translate(0, 2px);
}
/* Well ================================================= */
.well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
/* Standard form controls ================================== */
form {
  margin: 0 0 5px 0;
}
form fieldset {
  margin-bottom: 5px;
  padding: 0;
  border-width: 0;
}
form legend {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  *margin-left: -7px;
  padding: 0;
  color: #333332;
  border: 0;
  border-bottom: 1px solid #dddddd;
  white-space: normal;
}
form p {
  margin-bottom: 2.5px;
}
form ul {
  list-style-type: none;
  margin: 0 0 5px 0;
  padding: 0;
}
form br {
  display: none;
}
label,
input,
button,
select,
textarea {
  vertical-align: baseline;
  *vertical-align: middle;
}
input,
button,
select,
textarea {
  font-family: 'PT Serif', serif;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
label {
  display: block;
  margin-bottom: 1.25px;
  font-weight: bold;
  color: #333332;
  cursor: pointer;
}
label input,
label textarea,
label select {
  display: block;
}
input,
textarea,
select {
  display: inline-block;
  width: 100%;
  padding: 4px;
  margin-bottom: 1.25px;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  color: #333332;
}
input:hover,
textarea:hover,
select:hover {
  border-color: #919191;
}
.input-mini {
  width: 60px;
}
.input-small {
  width: 90px;
}
input[type="image"],
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  height: auto;
  padding: 0;
  margin: 3px 0;
  *margin-top: 0;
  line-height: normal;
  cursor: pointer;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  border: 0 \9;
}
input[type="checkbox"],
input[type="radio"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  *width: 13px;
  *height: 13px;
}
input[type="image"] {
  border: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
input[type="file"] {
  width: auto;
  padding: initial;
  line-height: initial;
  border: initial;
  background-color: transparent;
  background-color: initial;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
input[type="button"],
input[type="reset"],
input[type="submit"] {
  width: auto;
  height: auto;
  cursor: pointer;
  *overflow: visible;
}
select,
input[type="file"] {
  *margin-top: 4px;
}
select {
  width: auto;
  background-color: #ffffff;
}
select[multiple],
select[size] {
  height: auto;
}
textarea {
  resize: vertical;
  height: auto;
  overflow: auto;
  vertical-align: top;
}
input[type="hidden"] {
  display: none;
}
.radio,
.checkbox {
  padding-left: 18px;
  font-weight: normal;
}
.radio input[type="radio"],
.checkbox input[type="checkbox"] {
  float: left;
  margin-left: -18px;
}
.radio.inline,
.checkbox.inline {
  display: inline-block;
  padding-top: 5px;
  margin-bottom: 0;
  vertical-align: middle;
}
.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
  margin-left: 10px;
}
/* disabled ==================================== */
input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
  -webkit-opacity: 0.5;
  -moz-opacity: 0.5;
  opacity: 0.5;
  cursor: not-allowed;
}
/* focus and active ============================ */
input:focus,
textarea:focus {
  border-color: #111111;
  outline: 0;
  outline: thin dotted \9;
}
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus,
select:focus {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
/* help text ==================================== */
.help-block,
.help-inline {
  color: #919191;
}
.help-block {
  display: block;
  margin-bottom: 1em;
  line-height: 1em;
}
.help-inline {
  display: inline-block;
  vertical-align: middle;
  padding-left: 5px;
}
/* .form-inline ================================= */
.form-inline input,
.form-inline textarea,
.form-inline select {
  display: inline-block;
  margin-bottom: 0;
}
.form-inline label {
  display: inline-block;
}
.form-inline .radio,
.form-inline .checkbox,
.form-inline .radio {
  padding-left: 0;
  margin-bottom: 0;
  vertical-align: middle;
}
.form-inline .radio input[type="radio"],
.form-inline .checkbox input[type="checkbox"] {
  float: left;
  margin-left: 0;
  margin-right: 3px;
}
/* .form-search ================================= */
.form-search input,
.form-search textarea,
.form-search select {
  display: inline-block;
  margin-bottom: 0;
}
.form-search .search-query {
  padding-left: 14px;
  padding-right: 14px;
  margin-bottom: 0;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
}
.form-search label {
  display: inline-block;
}
.form-search .radio,
.form-search .checkbox,
.form-inline .radio {
  padding-left: 0;
  margin-bottom: 0;
  vertical-align: middle;
}
.form-search .radio input[type="radio"],
.form-search .checkbox input[type="checkbox"] {
  float: left;
  margin-left: 0;
  margin-right: 3px;
}
/* Page level layout styles */
body {
  background-color: #ffffff;
  font-family: 'PT Serif', serif;
  font-color: #333332;
}
.navigation-wrapper {
  margin: 0 auto;
  width: 100%;
  padding: 2em 0 3em;
  font-family: 'PT Sans Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}
.site-name {
  margin: 0 auto;
  width: 100%;
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  margin-bottom: 1em;
}
.top-navigation {
  margin: 0 auto;
  width: 100%;
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  margin-bottom: 1em;
}
.top-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.top-navigation li {
  list-style-type: none;
  display: inline;
  margin-right: 25px;
}
.top-navigation li a {
  decoration: none;
  border-bottom: 0 solid transparent;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}
#main {
  counter-reset: captions;
  margin: 0 auto;
  width: 100%;
  *zoom: 1;
  clear: both;
  margin-top: 1em;
}
#main:before,
#main:after {
  display: table;
  content: "";
}
#main:after {
  clear: both;
}
#main:before,
#main:after {
  display: table;
  content: "";
  line-height: 0;
}
#main:after {
  clear: both;
}
#main article {
  margin: 0 auto;
  width: 100%;
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  margin-bottom: 2em;
}
#index {
  margin: 0 auto;
  width: 100%;
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  margin-bottom: 2em;
}
#index h3 {
  margin: 0;
  padding-bottom: .5em;
  font-size: 28px;
  font-size: 1.75rem;
  border-bottom: 1px solid #c3c3c3;
}
#index article h2 {
  margin-bottom: 0;
  font-size: 24px;
  font-size: 1.5rem;
}
#index article p + p {
  text-indent: 0;
}
.image-wrap {
  position: relative;
  margin-bottom: 2em;
}
.image-wrap:after {
  content: " ";
  display: block;
  position: absolute;
  bottom: -1px;
  left: 8%;
  width: 0;
  height: 0;
  border: 20px solid transparent;
  border-bottom-color: #ffffff;
}
.image-wrap img {
  width: 100%;
  height: auto;
  -ms-interpolation-mode: bicubic;
}
.image-wrap .headline-wrap {
  position: absolute;
  bottom: 25px;
  margin-left: 8.333333333333334%;
}
.image-wrap .headline-wrap h1,
.image-wrap .headline-wrap h2 {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.byline {
  clear: both;
  font-size: 80%;
}
.article-author-top h3,
.article-author-bottom h3 {
  margin-bottom: 0;
}
.article-author-top p,
.article-author-bottom p {
  font-size: 80%;
  font-style: italic;
}
.article-author-top a,
.article-author-bottom a,
.article-author-top a:hover,
.article-author-bottom a:hover {
  border-bottom: 0 solid transparent;
}
.article-author-top img.bio-photo,
.article-author-bottom img.bio-photo {
  width: 100px;
  height: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
}
.author-social {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-size: 0.875rem;
  color: #111111;
}
.author-social:visited {
  color: #111111;
}
.author-social:hover {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}
.author-social:active {
  -webkit-transform: translate(0, 2px);
  -moz-transform: translate(0, 2px);
  -ms-transform: translate(0, 2px);
  -o-transform: translate(0, 2px);
  transform: translate(0, 2px);
}
.article-author-top {
  display: none;
  text-align: center;
}
.article-author-bottom {
  margin-bottom: 1em;
}
.article-author-bottom .bio-photo {
  float: left;
  margin-right: 25px;
}
.article-author-bottom .author-social {
  display: inline-block;
  margin-right: 5px;
}
.article-wrap p > a,
.article-wrap li > a {
  border-bottom: 1px dotted #b3b3b3;
}
.article-wrap p > a:hover,
.article-wrap li > a:hover {
  border-bottom-style: solid;
}
.article-wrap p > a.reversefootnote,
.article-wrap li > a.reversefootnote {
  border-bottom-width: 0;
}
.toc {
  display: none;
  font-size: 95%;
  -webkit-opacity: 0.7;
  -moz-opacity: 0.7;
  opacity: 0.7;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}
.toc:hover {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.toc header {
  background: #2b2b2b;
}
.toc h3 {
  margin: 0;
  padding: 5px 10px;
  color: #ffffff;
}
.toc h3:hover {
  cursor: pointer;
}
.toc ul {
  margin: 2px 0 0;
  padding: 0;
  background: #5e5e5e;
  line-height: 1;
}
.toc li {
  display: block;
  margin: 0;
  padding: 0;
  font-family: 'PT Sans Narrow', sans-serif;
  border-bottom: 1px solid #808080;
}
.toc li:last-child {
  border-bottom: 0 solid transparent;
}
.toc li a,
.toc li a:hover {
  color: #ffffff;
  border-bottom: 0 solid transparent;
}
.toc li a {
  padding: 10px;
  display: block;
}
.toc li ul {
  margin: 0;
  border-top: 1px solid #808080;
}
.image-grid {
  *zoom: 1;
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
}
.image-grid:before,
.image-grid:after {
  display: table;
  content: "";
}
.image-grid:after {
  clear: both;
}
.image-grid:before,
.image-grid:after {
  display: table;
  content: "";
  line-height: 0;
}
.image-grid:after {
  clear: both;
}
.image-grid li {
  display: inline;
  float: left;
  width: 50%;
}
.recent-grid {
  *zoom: 1;
  list-style: none;
  margin: 1em 0;
}
.recent-grid:before,
.recent-grid:after {
  display: table;
  content: "";
}
.recent-grid:after {
  clear: both;
}
.recent-grid:before,
.recent-grid:after {
  display: table;
  content: "";
  line-height: 0;
}
.recent-grid:after {
  clear: both;
}
.recent-grid li {
  display: inline;
}
.recent-grid li a {
  border-bottom: 0 solid transparent;
}
.recent-grid li a:hover {
  border-bottom: 0 solid transparent;
}
.recent-grid img {
  width: 19%;
  margin-bottom: 1%;
}
.holder {
  font-family: 'PT Sans Narrow', sans-serif;
}
.holder a {
  cursor: pointer;
  margin: 0 5px;
}
.holder a.jp-previous {
  margin-left: 0;
  margin-right: 15px;
}
.holder a.jp-next {
  margin-left: 15px;
  margin-right: 0;
}
.holder a.jp-current {
  font-weight: bold;
}
.holder a.jp-current,
.holder a.jp-current:hover,
.holder a.jp-disabled,
.holder a.jp-disabled:hover {
  cursor: default;
  background: none;
}
.holder span {
  margin: 0 5px;
}
.footer-wrap {
  margin: 0 auto;
  width: 100%;
  *zoom: 1;
  clear: both;
  margin-top: 1em;
  padding-top: 2em;
  padding-bottom: 3em;
  background-color: #111111;
}
.footer-wrap:before,
.footer-wrap:after {
  display: table;
  content: "";
}
.footer-wrap:after {
  clear: both;
}
.footer-wrap:before,
.footer-wrap:after {
  display: table;
  content: "";
  line-height: 0;
}
.footer-wrap:after {
  clear: both;
}
.footer-wrap a,
.footer-wrap a:active,
.footer-wrap a:visited,
.footer-wrap p,
.footer-wrap h4,
.footer-wrap h5,
.footer-wrap h6,
.footer-wrap span {
  color: #bfbfbf;
}
.footer-wrap span {
  font-size: 14px;
  font-size: 0.875rem;
}
.footer-wrap a {
  border-bottom: 0 solid transparent;
}
.footer-wrap a:hover {
  color: #ffffff;
  border-bottom: 0 solid transparent;
}
.footer-wrap footer {
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
}
.related-articles {
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  margin-bottom: 2em;
}
.related-articles h4 {
  text-transform: uppercase;
  margin-bottom: 0;
}
.related-articles li {
  margin-bottom: 0;
  color: #ffffff;
}
.footer-icons li {
  display: inline-block;
  padding-right: 5px;
}
.footer-icons li a {
  color: #9a9a9a;
  -webkit-transition: 0.4s linear;
  -moz-transition: 0.4s linear;
  -ms-transition: 0.4s linear;
  -o-transition: 0.4s linear;
  transition: 0.4s linear;
}
.footer-icons li a:hover {
  text-decoration: none;
  border-bottom: none;
}
.footer-icons li a:hover .icon-twitter,
.footer-icons li a:hover .icon-twitter-sign {
  color: #2aa9df;
}
.footer-icons li a:hover .icon-facebook,
.footer-icons li a:hover .icon-facebook-sign {
  color: #3a5a98;
}
.footer-icons li a:hover .icon-instagram,
.footer-icons li a:hover .icon-instagram-sign {
  color: #306088;
}
.footer-icons li a:hover .icon-google-plus,
.footer-icons li a:hover .icon-google-plus-sign {
  color: #b63324;
}
.footer-icons li a:hover .icon-lastfm,
.footer-icons li a:hover .icon-lastfm-sign {
  color: #d80049;
}
.footer-icons li a:hover .icon-github {
  color: #4183c4;
}
.browser-upgrade {
  background: #000;
  margin: 0 0 2em 0;
  padding: 10px;
  text-align: center;
  color: #ffffff;
}
.browser-upgrade a {
  color: #ffffff;
  border-bottom: 1px dotted #ffffff;
  text-decoration: none;
}
.browser-upgrade a:hover {
  border-bottom: 1px solid #ffffff;
}
#goog-fixurl ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
#goog-fixurl ul li {
  list-style-type: none;
}
#goog-wm-qt {
  width: auto;
  margin-right: 10px;
  margin-bottom: 20px;
  padding: 8px 20px;
  display: inline-block;
  font-size: 14px;
  font-size: 0.875rem;
  background-color: #ffffff;
  color: #111111;
  border-width: 2px !important;
  border-style: solid !important;
  border-color: #919191;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
#goog-wm-sb {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 20px;
  font-size: 14px;
  font-size: 0.875rem;
  background-color: #111111;
  color: #ffffff;
  border: 2px solid #111111 !important;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
#goog-wm-sb:visited {
  color: #ffffff;
}
#goog-wm-sb:hover {
  background-color: #ffffff;
  color: #111111;
}
#goog-wm-sb:active {
  -webkit-transform: translate(0, 2px);
  -moz-transform: translate(0, 2px);
  -ms-transform: translate(0, 2px);
  -o-transform: translate(0, 2px);
  transform: translate(0, 2px);
}
/* 480px wide ============================================== */
.article-author-top,
.article-author-bottom {
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
  -webkit-opacity: 0.7;
  -moz-opacity: 0.7;
  opacity: 0.7;
}
.article-author-top:hover,
.article-author-bottom:hover {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.image-grid li {
  width: 33.333333%;
}
/* 600px wide ============================================== */
.site-name {
  display: inline;
  float: left;
  width: 16.666666666666668%;
  margin-left: 4.166666666666667%;
  margin-right: 4.166666666666667%;
}
.top-navigation {
  display: inline;
  float: left;
  width: 75%;
  margin-left: 0%;
  margin-right: 0%;
}
.image-wrap .headline-wrap,
.image-wrap:after {
  left: 25%;
}
.image-wrap .headline-wrap {
  margin-left: 0;
}
.image-credit {
  display: inline;
  float: left;
  width: 75%;
  margin-left: 0%;
  margin-right: 0%;
}
#main article {
  display: inline;
  float: left;
  width: 50%;
  margin-left: 0%;
  margin-right: 0%;
}
#index {
  display: inline;
  float: left;
  width: 50%;
  margin-left: 0%;
  margin-right: 0%;
}
.footer-wrap footer {
  display: inline;
  float: left;
  width: 50%;
  margin-left: 25%;
  margin-right: 25%;
}
.article-author-top {
  display: block;
  display: inline;
  float: left;
  width: 16.666666666666668%;
  margin-left: 4.166666666666667%;
  margin-right: 4.166666666666667%;
}
.article-author-bottom {
  display: none;
}
.toc {
  display: block;
  display: inline;
  float: left;
  width: 16.666666666666668%;
  margin-left: 4.166666666666667%;
  margin-right: 4.166666666666667%;
  position: fixed;
  top: 120px;
  right: 0;
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}
.image-grid li {
  width: 25%;
}
.related-articles {
  display: inline;
  float: left;
  width: 50%;
  margin-left: 25%;
  margin-right: 25%;
}
/* 768px wide ============================================== */
/* Image Grid ============================================== */
.image-grid li {
  width: 20%;
}
/* 992px wide ============================================== */
.article-author-top img.bio-photo,
.article-author-bottom img.bio-photo {
  width: 150px;
  height: 150px;
  -webkit-border-radius: 150px;
  -moz-border-radius: 150px;
  border-radius: 150px;
}
/* Image Grid ============================================== */
.image-grid li {
  width: 16.666666666%;
}
/* 1382px wide ============================================= */
.site-name {
  display: inline;
  float: left;
  width: 12.5%;
  margin-left: 16.666666666666668%;
}
.top-navigation {
  display: inline;
  float: left;
  width: 66.66666666666667%;
}
.image-wrap:after {
  left: 33.333333333%;
}
.image-wrap .headline-wrap {
  margin-left: 8.333333333333334%;
}
.image-credit {
  display: inline;
  float: left;
  width: 70.83333333333334%;
}
#main article {
  display: inline;
  float: left;
  width: 37.5%;
}
#index {
  display: inline;
  float: left;
  width: 37.5%;
}
.related-articles {
  display: inline;
  float: left;
  width: 37.5%;
  margin-left: 33.333333333333336%;
  margin-right: 29.166666666666668%;
}
.footer-wrap footer {
  display: inline;
  float: left;
  width: 37.5%;
  margin-left: 33.333333333333336%;
  margin-right: 29.166666666666668%;
}
.article-author-top {
  display: inline;
  float: left;
  width: 12.5%;
  margin-left: 16.666666666666668%;
}

A assets/css/ie.min.css => assets/css/ie.min.css +1 -0
@@ 0,0 1,1 @@
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{margin-bottom:1.5em;border-collapse:collapse;border-spacing:0}::-moz-selection{color:#343434;text-shadow:none;background-color:#dadada}::selection{color:#343434;text-shadow:none;background-color:#dadada}.all-caps{text-transform:uppercase}.pull-left{float:left}.pull-right{float:right}.image-pull-right{float:right;margin-top:0}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.unstyled-list{padding-left:0;margin-left:0;list-style:none}.unstyled-list li{list-style-type:none}b,i,strong,em,blockquote,p,q,span,figure,img,h1,h2,header,input,a{-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}body{font-family:'PT Serif',serif;color:#333332}h1,h2,h3,h4,h5,h6{font-family:'PT Sans Narrow',sans-serif}h1{margin-bottom:26px;margin-bottom:1.625rem;font-size:32px;font-size:2rem;line-height:.8125}h2{margin-bottom:26px;margin-bottom:1.625rem;font-size:28px;font-size:1.75rem;line-height:.9286}h3{margin-bottom:26px;margin-bottom:1.625rem;font-size:24px;font-size:1.5rem;line-height:1.0833}h4{margin-bottom:26px;margin-bottom:1.625rem;font-size:18px;font-size:1.125rem;line-height:1.4444}h5{margin-bottom:26px;margin-bottom:1.625rem;font-size:16px;font-size:1rem;line-height:1.625}h6{margin-bottom:26px;margin-bottom:1.625rem;font-size:14px;font-size:.875rem;line-height:1.8571}a{color:#343434;text-decoration:none}a:visited{color:#676767}a:hover{color:#010101}a:focus{color:#010101;outline:thin dotted}a:hover,a:active{outline:0}figcaption{padding-top:10px;font-size:14px;font-size:.875rem;line-height:1.8571;line-height:1.3;color:#4d4d4b}.image-credit{display:inline;display:block;float:left;width:83.33333333333334%;margin-right:8.333333333333334%;margin-left:8.333333333333334%;font-size:12px;font-size:.75rem;font-style:italic;line-height:2.1667;line-height:1.3;color:#80807e;text-align:right}.image-credit a{color:#80807e}.notice{padding:.5em 1em;margin-top:1.5em;font-size:14px;font-size:.875rem;text-indent:0;background-color:#fff;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}blockquote{padding-left:20px;margin-left:-28px;font-family:'PT Serif',serif;font-size:24px;font-size:1.5rem;font-style:italic;border-left:8px solid #333332}.footnotes ol,.footnotes li,.footnotes p{margin-bottom:26px;margin-bottom:1.625rem;font-size:14px;font-size:.875rem;line-height:1.8571}p{margin:0 0 1.625rem}p+p{margin-top:-1.625rem;text-indent:1.625rem}tt,code,kbd,samp,pre{font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace}p code,li code{padding:0 5px;margin:0 2px;font-size:12px;font-size:.75rem;line-height:1.5;white-space:nowrap;background-color:#fff;border:1px solid #f7f7f7;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}pre{overflow-x:auto;font-size:12px;font-size:.75rem;line-height:1.5}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hidden{display:none;visibility:hidden}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}hr{display:block;height:1px;padding:0;margin:1em 0;border:0;border-top:1px solid #ccc;border-bottom:1px solid #fff}article img{height:auto;max-width:100%;vertical-align:middle;border-width:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}.half{width:100%;margin:0 auto;*zoom:1}.half:before,.half:after{display:table;content:""}.half:after{clear:both}.half:before,.half:after{display:table;line-height:0;content:""}.half:after{clear:both}.half img{display:inline;float:left;width:50%}.half figcaption{display:inline;float:left;width:100%}.third{width:100%;margin:0 auto;*zoom:1}.third:before,.third:after{display:table;content:""}.third:after{clear:both}.third:before,.third:after{display:table;line-height:0;content:""}.third:after{clear:both}.third img{display:inline;float:left;width:33.333333333333336%}.third figcaption{display:inline;float:left;width:100%}.btn{display:inline-block;padding:8px 20px;margin-bottom:20px;font-size:14px;font-size:.875rem;color:#fff;background-color:#111;border:2px solid #111!important;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.btn:visited{color:#fff}.btn:hover{color:#111;background-color:#fff}.btn:active{-webkit-transform:translate(0,2px);-moz-transform:translate(0,2px);-ms-transform:translate(0,2px);-o-transform:translate(0,2px);transform:translate(0,2px)}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}form{margin:0 0 5px 0}form fieldset{padding:0;margin-bottom:5px;border-width:0}form legend{display:block;width:100%;padding:0;margin-bottom:10px;*margin-left:-7px;color:#333332;white-space:normal;border:0;border-bottom:1px solid #ddd}form p{margin-bottom:2.5px}form ul{padding:0;margin:0 0 5px 0;list-style-type:none}form br{display:none}label,input,button,select,textarea{vertical-align:baseline;*vertical-align:middle}input,button,select,textarea{font-family:'PT Serif',serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}label{display:block;margin-bottom:1.25px;font-weight:bold;color:#333332;cursor:pointer}label input,label textarea,label select{display:block}input,textarea,select{display:inline-block;width:100%;padding:4px;margin-bottom:1.25px;color:#333332;background-color:#fff;border:1px solid #ddd}input:hover,textarea:hover,select:hover{border-color:#919191}.input-mini{width:60px}.input-small{width:90px}input[type="image"],input[type="checkbox"],input[type="radio"]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;cursor:pointer;border:0 \9;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}input[type="checkbox"],input[type="radio"]{*width:13px;*height:13px;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}input[type="image"]{border:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}input[type="file"]{width:auto;padding:initial;line-height:initial;background-color:transparent;background-color:initial;border:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}input[type="button"],input[type="reset"],input[type="submit"]{width:auto;height:auto;*overflow:visible;cursor:pointer}select,input[type="file"]{*margin-top:4px}select{width:auto;background-color:#fff}select[multiple],select[size]{height:auto}textarea{height:auto;overflow:auto;vertical-align:top;resize:vertical}input[type="hidden"]{display:none}.radio,.checkbox{padding-left:18px;font-weight:normal}.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px}.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle}.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px}input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;-webkit-opacity:.5;-moz-opacity:.5;opacity:.5}input:focus,textarea:focus{border-color:#111;outline:0;outline:thin dotted \9}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus,select:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.help-block,.help-inline{color:#919191}.help-block{display:block;margin-bottom:1em;line-height:1em}.help-inline{display:inline-block;padding-left:5px;vertical-align:middle}.form-inline input,.form-inline textarea,.form-inline select{display:inline-block;margin-bottom:0}.form-inline label{display:inline-block}.form-inline .radio,.form-inline .checkbox,.form-inline .radio{padding-left:0;margin-bottom:0;vertical-align:middle}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}.form-search input,.form-search textarea,.form-search select{display:inline-block;margin-bottom:0}.form-search .search-query{padding-right:14px;padding-left:14px;margin-bottom:0;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px}.form-search label{display:inline-block}.form-search .radio,.form-search .checkbox,.form-inline .radio{padding-left:0;margin-bottom:0;vertical-align:middle}.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}body{font-family:'PT Serif',serif;background-color:#fff;font-color:#333332}.navigation-wrapper{width:100%;padding:2em 0 3em;margin:0 auto;font-family:'PT Sans Narrow',sans-serif;font-weight:700;text-transform:uppercase}.site-name{display:inline;float:left;width:100%;width:83.33333333333334%;margin:0 auto;margin-right:8.333333333333334%;margin-bottom:1em;margin-left:8.333333333333334%}.top-navigation{display:inline;float:left;width:100%;width:83.33333333333334%;margin:0 auto;margin-right:8.333333333333334%;margin-bottom:1em;margin-left:8.333333333333334%}.top-navigation ul{padding:0;margin:0;list-style:none}.top-navigation li{display:inline;margin-right:25px;list-style-type:none}.top-navigation li a{border-bottom:0 solid transparent;-webkit-transition:all .2s;-moz-transition:all .2s;-ms-transition:all .2s;-o-transition:all .2s;transition:all .2s;decoration:none}#main{width:100%;margin:0 auto;margin-top:1em;clear:both;*zoom:1;counter-reset:captions}#main:before,#main:after{display:table;content:""}#main:after{clear:both}#main:before,#main:after{display:table;line-height:0;content:""}#main:after{clear:both}#main article{display:inline;float:left;width:100%;width:83.33333333333334%;margin:0 auto;margin-right:8.333333333333334%;margin-bottom:2em;margin-left:8.333333333333334%}#index{display:inline;float:left;width:100%;width:83.33333333333334%;margin:0 auto;margin-right:8.333333333333334%;margin-bottom:2em;margin-left:8.333333333333334%}#index h3{padding-bottom:.5em;margin:0;font-size:28px;font-size:1.75rem;border-bottom:1px solid #c3c3c3}#index article h2{margin-bottom:4px;font-size:20px;font-size:1.25rem;text-transform:uppercase}#index article p{font-size:14px;font-size:.875rem}#index article p+p{text-indent:0}.image-wrap{position:relative;margin-bottom:2em}.image-wrap:after{position:absolute;bottom:-1px;left:8%;display:block;width:0;height:0;border:20px solid transparent;border-bottom-color:#fff;content:" "}.image-wrap img{width:100%;height:auto;-ms-interpolation-mode:bicubic}.image-wrap .headline-wrap{position:absolute;bottom:25px;margin-left:8.333333333333334%}.image-wrap .headline-wrap h1,.image-wrap .headline-wrap h2{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,0.25)}.byline{clear:both;font-size:80%}.article-author-top h3,.article-author-bottom h3{margin-bottom:0}.article-author-top p,.article-author-bottom p{font-size:80%;font-style:italic}.article-author-top a,.article-author-bottom a,.article-author-top a:hover,.article-author-bottom a:hover{border-bottom:0 solid transparent}.article-author-top img.bio-photo,.article-author-bottom img.bio-photo{width:100px;height:100px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px}.author-social{display:block;margin-bottom:5px;font-size:14px;font-size:.875rem;color:#111}.author-social:visited{color:#111}.author-social:hover{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-ms-transform:scale(1.1);-o-transform:scale(1.1);transform:scale(1.1)}.author-social:active{-webkit-transform:translate(0,2px);-moz-transform:translate(0,2px);-ms-transform:translate(0,2px);-o-transform:translate(0,2px);transform:translate(0,2px)}.article-author-top{display:none}.article-author-bottom{margin-bottom:1em}.article-author-bottom .bio-photo{float:left;margin-right:25px}.article-author-bottom .author-social{display:inline-block;margin-right:5px}.article-wrap p>a,.article-wrap li>a{border-bottom:1px dotted #b3b3b3}.article-wrap p>a:hover,.article-wrap li>a:hover{border-bottom-style:solid}.article-wrap p>a.reversefootnote,.article-wrap li>a.reversefootnote{border-bottom-width:0}.toc{display:none;font-size:95%;-webkit-opacity:.7;-moz-opacity:.7;opacity:.7;-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;-ms-transition:opacity .2s ease-in-out;-o-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.toc:hover{-webkit-opacity:1;-moz-opacity:1;opacity:1}.toc header{background:#2b2b2b}.toc h3{padding:5px 10px;margin:0;color:#fff}.toc h3:hover{cursor:pointer}.toc ul{padding:0;margin:2px 0 0;line-height:1;background:#5e5e5e}.toc li{display:block;padding:0;margin:0;font-family:'PT Sans Narrow',sans-serif;border-bottom:1px solid #808080}.toc li:last-child{border-bottom-width:0}.toc li a{display:block;padding:10px;color:#fff;border-bottom-width:0}.toc li a:hover{font-weight:400}.toc li a:hover:before{padding-right:5px;content:"\00bb"}.toc li ul{margin:0;border-top:1px solid #808080}.image-grid{padding:0;margin:0 0 1em;list-style:none;*zoom:1}.image-grid:before,.image-grid:after{display:table;content:""}.image-grid:after{clear:both}.image-grid:before,.image-grid:after{display:table;line-height:0;content:""}.image-grid:after{clear:both}.image-grid li{display:inline;float:left;width:50%}.recent-grid{margin:1em 0;list-style:none;*zoom:1}.recent-grid:before,.recent-grid:after{display:table;content:""}.recent-grid:after{clear:both}.recent-grid:before,.recent-grid:after{display:table;line-height:0;content:""}.recent-grid:after{clear:both}.recent-grid li{display:inline}.recent-grid li a{border-bottom:0 solid transparent}.recent-grid li a:hover{border-bottom:0 solid transparent}.recent-grid img{width:19%;margin-bottom:1%}.holder{font-family:'PT Sans Narrow',sans-serif}.holder a{margin:0 5px;cursor:pointer}.holder a.jp-previous{margin-right:15px;margin-left:0}.holder a.jp-next{margin-right:0;margin-left:15px}.holder a.jp-current{font-weight:bold}.holder a.jp-current,.holder a.jp-current:hover,.holder a.jp-disabled,.holder a.jp-disabled:hover{cursor:default;background:0}.holder span{margin:0 5px}.footer-wrap{width:100%;padding-top:2em;padding-bottom:3em;margin:0 auto;margin-top:1em;clear:both;background-color:#111;*zoom:1}.footer-wrap:before,.footer-wrap:after{display:table;content:""}.footer-wrap:after{clear:both}.footer-wrap:before,.footer-wrap:after{display:table;line-height:0;content:""}.footer-wrap:after{clear:both}.footer-wrap a,.footer-wrap a:active,.footer-wrap a:visited,.footer-wrap p,.footer-wrap h4,.footer-wrap h5,.footer-wrap h6,.footer-wrap span{color:#bfbfbf}.footer-wrap span{font-size:14px;font-size:.875rem}.footer-wrap a{border-bottom:0 solid transparent}.footer-wrap a:hover{color:#fff;border-bottom:0 solid transparent}.footer-wrap footer{display:inline;float:left;width:83.33333333333334%;margin-right:8.333333333333334%;margin-left:8.333333333333334%}.related-articles{display:inline;float:left;width:83.33333333333334%;margin-right:8.333333333333334%;margin-bottom:2em;margin-left:8.333333333333334%}.related-articles h4{margin-bottom:0;text-transform:uppercase}.related-articles li{margin-bottom:0;color:#fff}.footer-icons li{display:inline-block;padding-right:5px}.footer-icons li a{color:#9a9a9a;-webkit-transition:.4s linear;-moz-transition:.4s linear;-ms-transition:.4s linear;-o-transition:.4s linear;transition:.4s linear}.footer-icons li a:hover{text-decoration:none;border-bottom:0}.footer-icons li a:hover .icon-twitter,.footer-icons li a:hover .icon-twitter-sign{color:#2aa9df}.footer-icons li a:hover .icon-facebook,.footer-icons li a:hover .icon-facebook-sign{color:#3a5a98}.footer-icons li a:hover .icon-instagram,.footer-icons li a:hover .icon-instagram-sign{color:#306088}.footer-icons li a:hover .icon-google-plus,.footer-icons li a:hover .icon-google-plus-sign{color:#b63324}.footer-icons li a:hover .icon-lastfm,.footer-icons li a:hover .icon-lastfm-sign{color:#d80049}.footer-icons li a:hover .icon-github{color:#4183c4}.browser-upgrade{padding:10px;margin:0 0 2em 0;color:#fff;text-align:center;background:#000}.browser-upgrade a{color:#fff;text-decoration:none;border-bottom:1px dotted #fff}.browser-upgrade a:hover{border-bottom:1px solid #fff}#goog-fixurl ul{padding-left:0;margin-left:0;list-style:none}#goog-fixurl ul li{list-style-type:none}#goog-wm-qt{display:inline-block;width:auto;padding:8px 20px;margin-right:10px;margin-bottom:20px;font-size:14px;font-size:.875rem;color:#111;background-color:#fff;border-color:#919191;border-style:solid!important;border-width:2px!important;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}#goog-wm-sb{display:inline-block;padding:8px 20px;margin-bottom:20px;font-size:14px;font-size:.875rem;color:#fff;background-color:#111;border:2px solid #111!important;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}#goog-wm-sb:visited{color:#fff}#goog-wm-sb:hover{color:#111;background-color:#fff}#goog-wm-sb:active{-webkit-transform:translate(0,2px);-moz-transform:translate(0,2px);-ms-transform:translate(0,2px);-o-transform:translate(0,2px);transform:translate(0,2px)}.image-grid li{width:33.333333%}.site-name{display:inline;float:left;width:16.666666666666668%;margin-right:4.166666666666667%;margin-left:4.166666666666667%}.top-navigation{display:inline;float:left;width:75%;margin-right:0;margin-left:0}.image-wrap .headline-wrap,.image-wrap:after{left:25%}.image-wrap .headline-wrap{margin-left:0}.image-credit{display:inline;float:left;width:75%;margin-right:0;margin-left:0}#main article{display:inline;float:left;width:50%;margin-right:0;margin-left:0}#index{display:inline;float:left;width:50%;margin-right:0;margin-left:0}.footer-wrap footer{display:inline;float:left;width:50%;margin-right:25%;margin-left:25%}.article-author-top{display:block;display:inline;float:left;width:16.666666666666668%;margin-right:4.166666666666667%;margin-left:4.166666666666667%}.article-author-top h3,.article-author-top .bio-photo,.article-author-top p,.article-author-top .author-social{display:block;max-width:125px;margin:auto}.article-author-top h3{margin-top:10px;margin-bottom:10px}.article-author-top p{margin-bottom:20px}.article-author-top .author-social{margin-bottom:5px}.article-author-bottom{display:none}.toc{position:absolute;top:5.5em;right:0;display:block;display:inline;float:left;width:16.666666666666668%;margin-right:4.166666666666667%;margin-left:4.166666666666667%;-webkit-box-shadow:0 0 5px rgba(0,0,0,0.5);-moz-box-shadow:0 0 5px rgba(0,0,0,0.5);box-shadow:0 0 5px rgba(0,0,0,0.5)}.image-grid li{width:25%}.related-articles{display:inline;float:left;width:50%;margin-right:25%;margin-left:25%}.image-grid li{width:20%}.article-author-top h3,.article-author-bottom h3,.article-author-top .bio-photo,.article-author-bottom .bio-photo,.article-author-top p,.article-author-bottom p,.article-author-top .author-social,.article-author-bottom .author-social{max-width:150px}.article-author-top img.bio-photo,.article-author-bottom img.bio-photo{width:150px;height:150px;-webkit-border-radius:150px;-moz-border-radius:150px;border-radius:150px}.image-grid li{width:16.666666666%}.site-name{display:inline;float:left;width:12.5%;margin-left:16.666666666666668%}.top-navigation{display:inline;float:left;width:66.66666666666667%}.image-wrap:after{left:33.333333333%}.image-wrap .headline-wrap{margin-left:8.333333333333334%}.image-credit{display:inline;float:left;width:70.83333333333334%}#main article{display:inline;float:left;width:37.5%}#index{display:inline;float:left;width:37.5%}.related-articles{display:inline;float:left;width:37.5%;margin-right:29.166666666666668%;margin-left:33.333333333333336%}.footer-wrap footer{display:inline;float:left;width:37.5%;margin-right:29.166666666666668%;margin-left:33.333333333333336%}.article-author-top{display:inline;float:left;width:12.5%;margin-left:16.666666666666668%}
\ No newline at end of file

D assets/css/main.css => assets/css/main.css +0 -3069
@@ 1,3069 0,0 @@
/* CSS Normalize =========================================== */
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
/* ==========================================================================
   HTML5 display definitions
   ========================================================================== */
/**
 * Correct `block` display not defined in IE 8/9.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}
/**
 * Correct `inline-block` display not defined in IE 8/9.
 */
audio,
canvas,
video {
  display: inline-block;
}
/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */
audio:not([controls]) {
  display: none;
  height: 0;
}
/**
 * Address styling not present in IE 8/9.
 */
[hidden] {
  display: none;
}
/* ==========================================================================
   Base
   ========================================================================== */
/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */
html {
  font-family: sans-serif;
  /* 1 */

  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  /* 2 */

}
/**
 * Remove default margin.
 */
body {
  margin: 0;
}
/* ==========================================================================
   Links
   ========================================================================== */
/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */
a:focus {
  outline: thin dotted;
}
/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */
a:active,
a:hover {
  outline: 0;
}
/* ==========================================================================
   Typography
   ========================================================================== */
/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari 5, and Chrome.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}
/**
 * Address styling not present in IE 8/9, Safari 5, and Chrome.
 */
abbr[title] {
  border-bottom: 1px dotted;
}
/**
 * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
 */
b,
strong {
  font-weight: bold;
}
/**
 * Address styling not present in Safari 5 and Chrome.
 */
dfn {
  font-style: italic;
}
/**
 * Address differences between Firefox and other browsers.
 */
hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}
/**
 * Address styling not present in IE 8/9.
 */
mark {
  background: #ff0;
  color: #000;
}
/**
 * Correct font family set oddly in Safari 5 and Chrome.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, serif;
  font-size: 1em;
}
/**
 * Improve readability of pre-formatted text in all browsers.
 */
pre {
  white-space: pre;
}
/**
 * Set consistent quote types.
 */
q {
  quotes: "\201C" "\201D" "\2018" "\2019";
}
/**
 * Address inconsistent and variable font size in all browsers.
 */
small {
  font-size: 80%;
}
/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
/* ==========================================================================
   Embedded content
   ========================================================================== */
/**
 * Remove border when inside `a` element in IE 8/9.
 */
img {
  border: 0;
}
/**
 * Correct overflow displayed oddly in IE 9.
 */
svg:not(:root) {
  overflow: hidden;
}
/* ==========================================================================
   Figures
   ========================================================================== */
/**
 * Address margin not present in IE 8/9 and Safari 5.
 */
figure {
  margin: 0;
}
/* ==========================================================================
   Forms
   ========================================================================== */
/**
 * Define consistent border, margin, and padding.
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}
/**
 * 1. Correct `color` not being inherited in IE 8/9.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */
legend {
  border: 0;
  /* 1 */

  padding: 0;
  /* 2 */

}
/**
 * 1. Correct font family not being inherited in all browsers.
 * 2. Correct font size not being inherited in all browsers.
 * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
 */
button,
input,
select,
textarea {
  font-family: inherit;
  /* 1 */

  font-size: 100%;
  /* 2 */

  margin: 0;
  /* 3 */

}
/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */
button,
input {
  line-height: normal;
}
/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */
button,
select {
  text-transform: none;
}
/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  /* 2 */

  cursor: pointer;
  /* 3 */

}
/**
 * Re-set default cursor for disabled elements.
 */
button[disabled],
html input[disabled] {
  cursor: default;
}
/**
 * 1. Address box sizing set to `content-box` in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */

  padding: 0;
  /* 2 */

}
/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and 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;
}
/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/**
 * Remove inner padding and border in Firefox 4+.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
/**
 * 1. Remove default vertical scrollbar in IE 8/9.
 * 2. Improve 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;
  margin-bottom: 1.5em;
}
/* Variables and mixins ==================================== */
/* Links ================================================= */
/* Site wide styles (html, body, global classes) =========== */
/* Selection ============================================= */
::-moz-selection {
  background-color: #dadada;
  color: #343434;
  text-shadow: none;
}
::selection {
  background-color: #dadada;
  color: #343434;
  text-shadow: none;
}
/* Global Classes ======================================== */
.all-caps {
  text-transform: uppercase;
}
.pull-left {
  float: left;
}
.pull-right {
  float: right;
}
.image-pull-right {
  float: right;
  margin-top: 0;
}
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}
.unstyled-list {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
.unstyled-list li {
  list-style-type: none;
}
/* Global Transition ==================================== */
b,
i,
strong,
em,
blockquote,
p,
q,
span,
figure,
img,
h1,
h2,
header,
input,
a {
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
body {
  font-family: 'PT Serif', serif;
  color: #333332;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'PT Sans Narrow', sans-serif;
}
h1 {
  font-size: 32px;
  font-size: 2rem;
  line-height: 0.8125;
  margin-bottom: 26px;
  margin-bottom: 1.625rem;
}
h2 {
  font-size: 28px;
  font-size: 1.75rem;
  line-height: 0.9286;
  margin-bottom: 26px;
  margin-bottom: 1.625rem;
}
h3 {
  font-size: 24px;
  font-size: 1.5rem;
  line-height: 1.0833;
  margin-bottom: 26px;
  margin-bottom: 1.625rem;
}
h4 {
  font-size: 18px;
  font-size: 1.125rem;
  line-height: 1.4444;
  margin-bottom: 26px;
  margin-bottom: 1.625rem;
}
h5 {
  font-size: 16px;
  font-size: 1rem;
  line-height: 1.625;
  margin-bottom: 26px;
  margin-bottom: 1.625rem;
}
h6 {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.8571;
  margin-bottom: 26px;
  margin-bottom: 1.625rem;
}
a {
  text-decoration: none;
  color: #343434;
}
a:visited {
  color: #676767;
}
a:hover {
  color: #010101;
}
a:focus {
  outline: thin dotted;
  color: #010101;
}
a:hover,
a:active {
  outline: 0;
}
figcaption {
  padding-top: 10px;
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.8571;
  line-height: 1.3;
  color: #4d4d4b;
}
.image-credit {
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  display: block;
  text-align: right;
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 2.1667;
  line-height: 1.3;
  font-style: italic;
  color: #80807e;
}
.image-credit a {
  color: #80807e;
}
.notice {
  margin-top: 1.5em;
  padding: .5em 1em;
  text-indent: 0;
  font-size: 14px;
  font-size: 0.875rem;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
blockquote {
  margin-left: -28px;
  padding-left: 20px;
  border-left: 8px solid #333332;
  font-family: 'PT Serif', serif;
  font-style: italic;
  font-size: 24px;
  font-size: 1.5rem;
}
.footnotes ol,
.footnotes li,
.footnotes p {
  font-size: 14px;
  font-size: 0.875rem;
  line-height: 1.8571;
  margin-bottom: 26px;
  margin-bottom: 1.625rem;
}
p {
  margin: 0 0 1.625rem;
}
p + p {
  text-indent: 1.625rem;
  margin-top: -1.625rem;
}
tt,
code,
kbd,
samp,
pre {
  font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
}
p code,
li code {
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1.5;
  white-space: nowrap;
  margin: 0 2px;
  padding: 0 5px;
  border: 1px solid #f7f7f7;
  background-color: #ffffff;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
pre {
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 1.5;
  overflow-x: auto;
}
/* Pygments Syntax highlighting ============================= */
.highlight {
  background-color: #efefef;
  font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 2.1667;
  color: #333332;
  margin-bottom: 1.5em;
  /* Comment */

  /* Error */

  /* Keyword */

  /* Operator */

  /* Comment.Multiline */

  /* Comment.Preproc */

  /* Comment.Single */

  /* Comment.Special */

  /* Generic.Deleted */

  /* Generic.Emph */

  /* Generic.Error */

  /* Generic.Heading */

  /* Generic.Inserted */

  /* Generic.Output */

  /* Generic.Prompt */

  /* Generic.Strong */

  /* Generic.Subheading */

  /* Generic.Traceback */

  /* Keyword.Constant */

  /* Keyword.Declaration */

  /* Keyword.Namespace */

  /* Keyword.Pseudo */

  /* Keyword.Reserved */

  /* Keyword.Type */

  /* Literal.Number */

  /* Literal.String */

  /* Name.Attribute */

  /* Name.Builtin */

  /* Name.Class */

  /* Name.Constant */

  /* Name.Decorator */

  /* Name.Entity */

  /* Name.Exception */

  /* Name.Function */

  /* Name.Label */

  /* Name.Namespace */

  /* Name.Tag */

  /* Name.Variable */

  /* Operator.Word */

  /* Text.Whitespace */

  /* Literal.Number.Float */

  /* Literal.Number.Hex */

  /* Literal.Number.Integer */

  /* Literal.Number.Oct */

  /* Literal.String.Backtick */

  /* Literal.String.Char */

  /* Literal.String.Doc */

  /* Literal.String.Double */

  /* Literal.String.Escape */

  /* Literal.String.Heredoc */

  /* Literal.String.Interpol */

  /* Literal.String.Other */

  /* Literal.String.Regex */

  /* Literal.String.Single */

  /* Literal.String.Symbol */

  /* Name.Builtin.Pseudo */

  /* Name.Variable.Class */

  /* Name.Variable.Global */

  /* Name.Variable.Instance */

  /* Literal.Number.Integer.Long */

}
.highlight pre {
  position: relative;
  margin: 0;
  padding: 1em;
}
.highlight .lineno {
  padding-right: 24px;
  color: #b3b3b1;
}
.highlight .hll {
  background-color: #ffffcc;
}
.highlight .c {
  color: #999988;
  font-style: italic;
}
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}
.highlight .k {
  color: #000000;
  font-weight: bold;
}
.highlight .o {
  color: #000000;
  font-weight: bold;
}
.highlight .cm {
  color: #999988;
  font-style: italic;
}
.highlight .cp {
  color: #999999;
  font-weight: bold;
  font-style: italic;
}
.highlight .c1 {
  color: #999988;
  font-style: italic;
}
.highlight .cs {
  color: #999999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000000;
  background-color: #ffdddd;
}
.highlight .ge {
  color: #000000;
  font-style: italic;
}
.highlight .gr {
  color: #aa0000;
}
.highlight .gh {
  color: #999999;
}
.highlight .gi {
  color: #000000;
  background-color: #ddffdd;
}
.highlight .go {
  color: #888888;
}
.highlight .gp {
  color: #555555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaaaaa;
}
.highlight .gt {
  color: #aa0000;
}
.highlight .kc {
  color: #000000;
  font-weight: bold;
}
.highlight .kd {
  color: #000000;
  font-weight: bold;
}
.highlight .kn {
  color: #000000;
  font-weight: bold;
}
.highlight .kp {
  color: #000000;
  font-weight: bold;
}
.highlight .kr {
  color: #000000;
  font-weight: bold;
}
.highlight .kt {
  color: #445588;
  font-weight: bold;
}
.highlight .m {
  color: #009999;
}
.highlight .s {
  color: #d01040;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086b3;
}
.highlight .nc {
  color: #445588;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .nd {
  color: #3c5d5d;
  font-weight: bold;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #990000;
  font-weight: bold;
}
.highlight .nf {
  color: #990000;
  font-weight: bold;
}
.highlight .nl {
  color: #990000;
  font-weight: bold;
}
.highlight .nn {
  color: #555555;
}
.highlight .nt {
  color: #000080;
}
.highlight .nv {
  color: #008080;
}
.highlight .ow {
  color: #000000;
  font-weight: bold;
}
.highlight .w {
  color: #bbbbbb;
}
.highlight .mf {
  color: #009999;
}
.highlight .mh {
  color: #009999;
}
.highlight .mi {
  color: #009999;
}
.highlight .mo {
  color: #009999;
}
.highlight .sb {
  color: #d01040;
}
.highlight .sc {
  color: #d01040;
}
.highlight .sd {
  color: #d01040;
}
.highlight .s2 {
  color: #d01040;
}
.highlight .se {
  color: #d01040;
}
.highlight .sh {
  color: #d01040;
}
.highlight .si {
  color: #d01040;
}
.highlight .sx {
  color: #d01040;
}
.highlight .sr {
  color: #009926;
}
.highlight .s1 {
  color: #d01040;
}
.highlight .ss {
  color: #990073;
}
.highlight .bp {
  color: #999999;
}
.highlight .vc {
  color: #008080;
}
.highlight .vg {
  color: #008080;
}
.highlight .vi {
  color: #008080;
}
.highlight .il {
  color: #009999;
}
.CodeRay {
  background-color: #efefef;
  font-family: Monaco, "Courier New", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", monospace;
  font-size: 12px;
  font-size: 0.75rem;
  line-height: 2.1667;
  color: #333332;
  margin-bottom: 1.5em;
}
.CodeRay pre {
  margin: 0px;
  padding: 1em;
}
span.CodeRay {
  white-space: pre;
  border: 0px;
  padding: 2px;
}
table.CodeRay {
  border-collapse: collapse;
  width: 100%;
  padding: 2px;
}
table.CodeRay td {
  padding: 1em 0.5em;
  vertical-align: top;
}
.CodeRay .line-numbers,
.CodeRay .no {
  background-color: #ECECEC;
  color: #AAA;
  text-align: right;
}
.CodeRay .line-numbers a {
  color: #AAA;
}
.CodeRay .line-numbers tt {
  font-weight: bold;
}
.CodeRay .line-numbers .highlighted {
  color: #ff0000;
}
.CodeRay .line {
  display: block;
  float: left;
  width: 100%;
}
.CodeRay span.line-numbers {
  padding: 0 24px 0 4px;
}
.CodeRay .code {
  width: 100%;
}
ol.CodeRay {
  font-size: 10pt;
}
ol.CodeRay li {
  white-space: pre;
}
.CodeRay .code pre {
  overflow: auto;
}
.CodeRay .debug {
  color: white ! important;
  background: blue ! important;
}
.CodeRay .annotation {
  color: #000077;
}
.CodeRay .attribute-name {
  color: #ff0088;
}
.CodeRay .attribute-value {
  color: #770000;
}
.CodeRay .binary {
  color: #509;
  font-weight: bold;
}
.CodeRay .comment {
  color: #998;
  font-style: italic;
}
.CodeRay .char {
  color: #0044dd;
}
.CodeRay .char .content {
  color: #0044dd;
}
.CodeRay .char .delimiter {
  color: #003399;
}
.CodeRay .class {
  color: #458;
  font-weight: bold;
}
.CodeRay .complex {
  color: #A08;
  font-weight: bold;
}
.CodeRay .constant {
  color: teal;
}
.CodeRay .color {
  color: #00aa00;
}
.CodeRay .class-variable {
  color: #336699;
}
.CodeRay .decorator {
  color: #B0B;
}
.CodeRay .definition {
  color: #099;
  font-weight: bold;
}
.CodeRay .directive {
  color: #088;
  font-weight: bold;
}
.CodeRay .delimiter {
  color: #000000;
}
.CodeRay .doc {
  color: #997700;
}
.CodeRay .doctype {
  color: #3344bb;
}
.CodeRay .doc-string {
  color: #D42;
  font-weight: bold;
}
.CodeRay .escape {
  color: #666;
  font-weight: bold;
}
.CodeRay .entity {
  color: #800;
  font-weight: bold;
}
.CodeRay .error {
  color: #F00;
  background-color: #ffaaaa;
}
.CodeRay .exception {
  color: #C00;
  font-weight: bold;
}
.CodeRay .filename {
  color: #099;
}
.CodeRay .function {
  color: #900;
  font-weight: bold;
}
.CodeRay .global-variable {
  color: teal;
  font-weight: bold;
}
.CodeRay .hex {
  color: #058;
  font-weight: bold;
}
.CodeRay .integer {
  color: #099;
}
.CodeRay .include {
  color: #B44;
  font-weight: bold;
}
.CodeRay .inline {
  color: #000000;
}
.CodeRay .inline .inline {
  background: #cccccc;
}
.CodeRay .inline .inline .inline {
  background: #bbbbbb;
}
.CodeRay .inline .inline-delimiter {
  color: #D14;
}
.CodeRay .inline-delimiter {
  color: #D14;
}
.CodeRay .important {
  color: #f00;
}
.CodeRay .interpreted {
  color: #B2B;
  font-weight: bold;
}
.CodeRay .instance-variable {
  color: #008080;
}
.CodeRay .label {
  color: #970;
  font-weight: bold;
}
.CodeRay .local-variable {
  color: #996633;
}
.CodeRay .octal {
  color: #40E;
  font-weight: bold;
}
.CodeRay .predefined-constant {
  font-weight: bold;
}
.CodeRay .predefined {
  color: #369;
  font-weight: bold;
}
.CodeRay .preprocessor {
  color: #579;
}
.CodeRay .pseudo-class {
  color: #00C;
  font-weight: bold;
}
.CodeRay .predefined-type {
  color: #074;
  font-weight: bold;
}
.CodeRay .reserved,
.keyword {
  color: #000;
  font-weight: bold;
}
.CodeRay .key {
  color: #808;
}
.CodeRay .key .delimiter {
  color: #606;
}
.CodeRay .key .char {
  color: #80f;
}
.CodeRay .value {
  color: #088;
}
.CodeRay .regexp {
  background-color: #fff0ff;
}
.CodeRay .regexp .content {
  color: #880088;
}
.CodeRay .regexp .delimiter {
  color: #440044;
}
.CodeRay .regexp .modifier {
  color: #cc22cc;
}
.CodeRay .regexp .function {
  color: #404;
  font-weight: bold;
}
.CodeRay .string {
  color: #D20;
}
.CodeRay .string .string .string {
  background-color: #ffd0d0;
}
.CodeRay .string .content {
  color: #D14;
}
.CodeRay .string .char {
  color: #D14;
}
.CodeRay .string .delimiter {
  color: #D14;
}
.CodeRay .shell {
  color: #dd1144;
}
.CodeRay .shell .delimiter {
  color: #dd1144;
}
.CodeRay .symbol {
  color: #990073;
}
.CodeRay .symbol .content {
  color: #aa6600;
}
.CodeRay .symbol .delimiter {
  color: #663300;
}
.CodeRay .tag {
  color: #007700;
}
.CodeRay .tag-special {
  color: #D70;
  font-weight: bold;
}
.CodeRay .type {
  color: #339;
  font-weight: bold;
}
.CodeRay .variable {
  color: #003366;
}
.CodeRay .insert {
  background: #afa;
}
.CodeRay .delete {
  background: #faa;
}
.CodeRay .change {
  color: #aaf;
  background: #007;
}
.CodeRay .head {
  color: #f8f;
  background: #550055;
}
.CodeRay .insert .insert {
  color: #080;
  font-weight: bold;
}
.CodeRay .delete .delete {
  color: #800;
  font-weight: bold;
}
.CodeRay .change .change {
  color: #66f;
}
.CodeRay .head .head {
  color: #f4f;
}
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
  line-height: 0;
}
.clearfix:after {
  clear: both;
}
.hidden {
  display: none;
  visibility: hidden;
}
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  position: static;
  clip: auto;
  height: auto;
  width: auto;
  margin: 0;
  overflow: visible;
}
/* Figures, images, social media, other elements =========== */
hr {
  display: block;
  margin: 1em 0;
  padding: 0;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #fff;
}
/* Figures and images ==================================== */
article img {
  max-width: 100%;
  height: auto;
  border-width: 0;
  vertical-align: middle;
  -ms-interpolation-mode: bicubic;
}
svg:not(:root) {
  overflow: hidden;
}
.half {
  margin: 0 auto;
  width: 100%;
  *zoom: 1;
}
.half:before,
.half:after {
  display: table;
  content: "";
}
.half:after {
  clear: both;
}
.half:before,
.half:after {
  display: table;
  content: "";
  line-height: 0;
}
.half:after {
  clear: both;
}
.half img {
  display: inline;
  float: left;
  width: 50%;
}
.half figcaption {
  display: inline;
  float: left;
  width: 100%;
}
.third {
  margin: 0 auto;
  width: 100%;
  *zoom: 1;
}
.third:before,
.third:after {
  display: table;
  content: "";
}
.third:after {
  clear: both;
}
.third:before,
.third:after {
  display: table;
  content: "";
  line-height: 0;
}
.third:after {
  clear: both;
}
.third img {
  display: inline;
  float: left;
  width: 33.333333333333336%;
}
.third figcaption {
  display: inline;
  float: left;
  width: 100%;
}
/* Buttons ============================================== */
.btn {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 20px;
  font-size: 14px;
  font-size: 0.875rem;
  background-color: #111111;
  color: #ffffff;
  border: 2px solid #111111 !important;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.btn:visited {
  color: #ffffff;
}
.btn:hover {
  background-color: #ffffff;
  color: #111111;
}
.btn:active {
  -webkit-transform: translate(0, 2px);
  -moz-transform: translate(0, 2px);
  -ms-transform: translate(0, 2px);
  -o-transform: translate(0, 2px);
  transform: translate(0, 2px);
}
/* Well ================================================= */
.well {
  min-height: 20px;
  padding: 19px;
  margin-bottom: 20px;
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}
/* Custom set of Icomoon webfont icons ===================== */
@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;
}
/* Use the following CSS code if you want to use data attributes for inserting your icons */
[data-icon]:before {
  font-family: 'icomoon';
  content: attr(data-icon);
  speak: none;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
/* Use the following CSS code if you want to have a class per icon */
/*
Instead of a list of all class selectors,
you can use the generic selector below, but it's slower:
[class*="icon-"] {
*/
.icon-instagram,
.icon-facebook,
.icon-twitter,
.icon-google-plus,
.icon-feed,
.icon-feed-2,
.icon-linkedin,
.icon-tumblr,
.icon-lastfm,
.icon-mail,
.icon-github {
  font-family: 'icomoon';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
}
.icon-instagram:before {
  content: "\e004";
}
.icon-facebook:before {
  content: "\e003";
}
.icon-twitter:before {
  content: "\e007";
}
.icon-google-plus:before {
  content: "\e00a";
}
.icon-feed:before {
  content: "\e00b";
}
.icon-feed-2:before {
  content: "\e00c";
}
.icon-linkedin:before {
  content: "\e001";
}
.icon-tumblr:before {
  content: "\e002";
}
.icon-lastfm:before {
  content: "\e005";
}
.icon-mail:before {
  content: "\e006";
}
.icon-github:before {
  content: "\e000";
}
/* Standard form controls ================================== */
form {
  margin: 0 0 5px 0;
}
form fieldset {
  margin-bottom: 5px;
  padding: 0;
  border-width: 0;
}
form legend {
  display: block;
  width: 100%;
  margin-bottom: 10px;
  *margin-left: -7px;
  padding: 0;
  color: #333332;
  border: 0;
  border-bottom: 1px solid #dddddd;
  white-space: normal;
}
form p {
  margin-bottom: 2.5px;
}
form ul {
  list-style-type: none;
  margin: 0 0 5px 0;
  padding: 0;
}
form br {
  display: none;
}
label,
input,
button,
select,
textarea {
  vertical-align: baseline;
  *vertical-align: middle;
}
input,
button,
select,
textarea {
  font-family: 'PT Serif', serif;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
}
label {
  display: block;
  margin-bottom: 1.25px;
  font-weight: bold;
  color: #333332;
  cursor: pointer;
}
label input,
label textarea,
label select {
  display: block;
}
input,
textarea,
select {
  display: inline-block;
  width: 100%;
  padding: 4px;
  margin-bottom: 1.25px;
  background-color: #ffffff;
  border: 1px solid #dddddd;
  color: #333332;
}
input:hover,
textarea:hover,
select:hover {
  border-color: #919191;
}
.input-mini {
  width: 60px;
}
.input-small {
  width: 90px;
}
input[type="image"],
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  height: auto;
  padding: 0;
  margin: 3px 0;
  *margin-top: 0;
  line-height: normal;
  cursor: pointer;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  border: 0 \9;
}
input[type="checkbox"],
input[type="radio"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  *width: 13px;
  *height: 13px;
}
input[type="image"] {
  border: 0;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
input[type="file"] {
  width: auto;
  padding: initial;
  line-height: initial;
  border: initial;
  background-color: transparent;
  background-color: initial;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
input[type="button"],
input[type="reset"],
input[type="submit"] {
  width: auto;
  height: auto;
  cursor: pointer;
  *overflow: visible;
}
select,
input[type="file"] {
  *margin-top: 4px;
}
select {
  width: auto;
  background-color: #ffffff;
}
select[multiple],
select[size] {
  height: auto;
}
textarea {
  resize: vertical;
  height: auto;
  overflow: auto;
  vertical-align: top;
}
input[type="hidden"] {
  display: none;
}
.radio,
.checkbox {
  padding-left: 18px;
  font-weight: normal;
}
.radio input[type="radio"],
.checkbox input[type="checkbox"] {
  float: left;
  margin-left: -18px;
}
.radio.inline,
.checkbox.inline {
  display: inline-block;
  padding-top: 5px;
  margin-bottom: 0;
  vertical-align: middle;
}
.radio.inline + .radio.inline,
.checkbox.inline + .checkbox.inline {
  margin-left: 10px;
}
/* disabled ==================================== */
input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
  -webkit-opacity: 0.5;
  -moz-opacity: 0.5;
  opacity: 0.5;
  cursor: not-allowed;
}
/* focus and active ============================ */
input:focus,
textarea:focus {
  border-color: #111111;
  outline: 0;
  outline: thin dotted \9;
}
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus,
select:focus {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
/* help text ==================================== */
.help-block,
.help-inline {
  color: #919191;
}
.help-block {
  display: block;
  margin-bottom: 1em;
  line-height: 1em;
}
.help-inline {
  display: inline-block;
  vertical-align: middle;
  padding-left: 5px;
}
/* .form-inline ================================= */
.form-inline input,
.form-inline textarea,
.form-inline select {
  display: inline-block;
  margin-bottom: 0;
}
.form-inline label {
  display: inline-block;
}
.form-inline .radio,
.form-inline .checkbox,
.form-inline .radio {
  padding-left: 0;
  margin-bottom: 0;
  vertical-align: middle;
}
.form-inline .radio input[type="radio"],
.form-inline .checkbox input[type="checkbox"] {
  float: left;
  margin-left: 0;
  margin-right: 3px;
}
/* .form-search ================================= */
.form-search input,
.form-search textarea,
.form-search select {
  display: inline-block;
  margin-bottom: 0;
}
.form-search .search-query {
  padding-left: 14px;
  padding-right: 14px;
  margin-bottom: 0;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  border-radius: 14px;
}
.form-search label {
  display: inline-block;
}
.form-search .radio,
.form-search .checkbox,
.form-inline .radio {
  padding-left: 0;
  margin-bottom: 0;
  vertical-align: middle;
}
.form-search .radio input[type="radio"],
.form-search .checkbox input[type="checkbox"] {
  float: left;
  margin-left: 0;
  margin-right: 3px;
}
/* Page level layout styles ================================ */
body {
  background-color: #ffffff;
  font-family: 'PT Serif', serif;
  font-color: #333332;
}
.navigation-wrapper {
  margin: 0 auto;
  width: 100%;
  padding: 2em 0 3em;
  font-family: 'PT Sans Narrow', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}
.site-name {
  margin: 0 auto;
  width: 100%;
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  margin-bottom: 1em;
}
.top-navigation {
  margin: 0 auto;
  width: 100%;
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  margin-bottom: 1em;
}
.top-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.top-navigation li {
  list-style-type: none;
  display: inline;
  margin-right: 25px;
}
.top-navigation li a {
  decoration: none;
  border-bottom: 0 solid transparent;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}
#main {
  counter-reset: captions;
  margin: 0 auto;
  width: 100%;
  *zoom: 1;
  clear: both;
  margin-top: 1em;
}
#main:before,
#main:after {
  display: table;
  content: "";
}
#main:after {
  clear: both;
}
#main:before,
#main:after {
  display: table;
  content: "";
  line-height: 0;
}
#main:after {
  clear: both;
}
#main article {
  margin: 0 auto;
  width: 100%;
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  margin-bottom: 2em;
}
#index {
  margin: 0 auto;
  width: 100%;
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  margin-bottom: 2em;
}
#index h3 {
  margin: 0;
  padding-bottom: .5em;
  font-size: 28px;
  font-size: 1.75rem;
  border-bottom: 1px solid #c3c3c3;
}
#index article h2 {
  margin-bottom: 0;
  font-size: 24px;
  font-size: 1.5rem;
}
#index article p + p {
  text-indent: 0;
}
.image-wrap {
  position: relative;
  margin-bottom: 2em;
}
.image-wrap:after {
  content: " ";
  display: block;
  position: absolute;
  bottom: -1px;
  left: 8%;
  width: 0;
  height: 0;
  border: 20px solid transparent;
  border-bottom-color: #ffffff;
}
.image-wrap img {
  width: 100%;
  height: auto;
  -ms-interpolation-mode: bicubic;
}
.image-wrap .headline-wrap {
  position: absolute;
  bottom: 25px;
  margin-left: 8.333333333333334%;
}
.image-wrap .headline-wrap h1,
.image-wrap .headline-wrap h2 {
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.byline {
  clear: both;
  font-size: 80%;
}
.article-author-top h3,
.article-author-bottom h3 {
  margin-bottom: 0;
}
.article-author-top p,
.article-author-bottom p {
  font-size: 80%;
  font-style: italic;
}
.article-author-top a,
.article-author-bottom a,
.article-author-top a:hover,
.article-author-bottom a:hover {
  border-bottom: 0 solid transparent;
}
.article-author-top img.bio-photo,
.article-author-bottom img.bio-photo {
  width: 100px;
  height: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  border-radius: 100px;
}
.author-social {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  font-size: 0.875rem;
  color: #111111;
}
.author-social:visited {
  color: #111111;
}
.author-social:hover {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
}
.author-social:active {
  -webkit-transform: translate(0, 2px);
  -moz-transform: translate(0, 2px);
  -ms-transform: translate(0, 2px);
  -o-transform: translate(0, 2px);
  transform: translate(0, 2px);
}
.article-author-top {
  display: none;
  text-align: center;
}
.article-author-bottom {
  margin-bottom: 1em;
}
.article-author-bottom .bio-photo {
  float: left;
  margin-right: 25px;
}
.article-author-bottom .author-social {
  display: inline-block;
  margin-right: 5px;
}
.article-wrap p > a,
.article-wrap li > a {
  border-bottom: 1px dotted #b3b3b3;
}
.article-wrap p > a:hover,
.article-wrap li > a:hover {
  border-bottom-style: solid;
}
.article-wrap p > a.reversefootnote,
.article-wrap li > a.reversefootnote {
  border-bottom-width: 0;
}
.toc {
  display: none;
  font-size: 95%;
  -webkit-opacity: 0.7;
  -moz-opacity: 0.7;
  opacity: 0.7;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}
.toc:hover {
  -webkit-opacity: 1;
  -moz-opacity: 1;
  opacity: 1;
}
.toc header {
  background: #2b2b2b;
}
.toc h3 {
  margin: 0;
  padding: 5px 10px;
  color: #ffffff;
}
.toc h3:hover {
  cursor: pointer;
}
.toc ul {
  margin: 2px 0 0;
  padding: 0;
  background: #5e5e5e;
  line-height: 1;
}
.toc li {
  display: block;
  margin: 0;
  padding: 0;
  font-family: 'PT Sans Narrow', sans-serif;
  border-bottom: 1px solid #808080;
}
.toc li:last-child {
  border-bottom: 0 solid transparent;
}
.toc li a,
.toc li a:hover {
  color: #ffffff;
  border-bottom: 0 solid transparent;
}
.toc li a {
  padding: 10px;
  display: block;
}
.toc li ul {
  margin: 0;
  border-top: 1px solid #808080;
}
.image-grid {
  *zoom: 1;
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
}
.image-grid:before,
.image-grid:after {
  display: table;
  content: "";
}
.image-grid:after {
  clear: both;
}
.image-grid:before,
.image-grid:after {
  display: table;
  content: "";
  line-height: 0;
}
.image-grid:after {
  clear: both;
}
.image-grid li {
  display: inline;
  float: left;
  width: 50%;
}
.recent-grid {
  *zoom: 1;
  list-style: none;
  margin: 1em 0;
}
.recent-grid:before,
.recent-grid:after {
  display: table;
  content: "";
}
.recent-grid:after {
  clear: both;
}
.recent-grid:before,
.recent-grid:after {
  display: table;
  content: "";
  line-height: 0;
}
.recent-grid:after {
  clear: both;
}
.recent-grid li {
  display: inline;
}
.recent-grid li a {
  border-bottom: 0 solid transparent;
}
.recent-grid li a:hover {
  border-bottom: 0 solid transparent;
}
.recent-grid img {
  width: 19%;
  margin-bottom: 1%;
}
.holder {
  font-family: 'PT Sans Narrow', sans-serif;
}
.holder a {
  cursor: pointer;
  margin: 0 5px;
}
.holder a.jp-previous {
  margin-left: 0;
  margin-right: 15px;
}
.holder a.jp-next {
  margin-left: 15px;
  margin-right: 0;
}
.holder a.jp-current {
  font-weight: bold;
}
.holder a.jp-current,
.holder a.jp-current:hover,
.holder a.jp-disabled,
.holder a.jp-disabled:hover {
  cursor: default;
  background: none;
}
.holder span {
  margin: 0 5px;
}
.footer-wrap {
  margin: 0 auto;
  width: 100%;
  *zoom: 1;
  clear: both;
  margin-top: 1em;
  padding-top: 2em;
  padding-bottom: 3em;
  background-color: #111111;
}
.footer-wrap:before,
.footer-wrap:after {
  display: table;
  content: "";
}
.footer-wrap:after {
  clear: both;
}
.footer-wrap:before,
.footer-wrap:after {
  display: table;
  content: "";
  line-height: 0;
}
.footer-wrap:after {
  clear: both;
}
.footer-wrap a,
.footer-wrap a:active,
.footer-wrap a:visited,
.footer-wrap p,
.footer-wrap h4,
.footer-wrap h5,
.footer-wrap h6,
.footer-wrap span {
  color: #bfbfbf;
}
.footer-wrap span {
  font-size: 14px;
  font-size: 0.875rem;
}
.footer-wrap a {
  border-bottom: 0 solid transparent;
}
.footer-wrap a:hover {
  color: #ffffff;
  border-bottom: 0 solid transparent;
}
.footer-wrap footer {
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
}
.related-articles {
  display: inline;
  float: left;
  width: 83.33333333333334%;
  margin-left: 8.333333333333334%;
  margin-right: 8.333333333333334%;
  margin-bottom: 2em;
}
.related-articles h4 {
  text-transform: uppercase;
  margin-bottom: 0;
}
.related-articles li {
  margin-bottom: 0;
  color: #ffffff;
}
.footer-icons li {
  display: inline-block;
  padding-right: 5px;
}
.footer-icons li a {
  color: #9a9a9a;
  -webkit-transition: 0.4s linear;
  -moz-transition: 0.4s linear;
  -ms-transition: 0.4s linear;
  -o-transition: 0.4s linear;
  transition: 0.4s linear;
}
.footer-icons li a:hover {
  text-decoration: none;
  border-bottom: none;
}
.footer-icons li a:hover .icon-twitter,
.footer-icons li a:hover .icon-twitter-sign {
  color: #2aa9df;
}
.footer-icons li a:hover .icon-facebook,
.footer-icons li a:hover .icon-facebook-sign {
  color: #3a5a98;
}
.footer-icons li a:hover .icon-instagram,
.footer-icons li a:hover .icon-instagram-sign {
  color: #306088;
}
.footer-icons li a:hover .icon-google-plus,
.footer-icons li a:hover .icon-google-plus-sign {
  color: #b63324;
}
.footer-icons li a:hover .icon-lastfm,
.footer-icons li a:hover .icon-lastfm-sign {
  color: #d80049;
}
.footer-icons li a:hover .icon-github {
  color: #4183c4;
}
.browser-upgrade {
  background: #000;
  margin: 0 0 2em 0;
  padding: 10px;
  text-align: center;
  color: #ffffff;
}
.browser-upgrade a {
  color: #ffffff;
  border-bottom: 1px dotted #ffffff;
  text-decoration: none;
}
.browser-upgrade a:hover {
  border-bottom: 1px solid #ffffff;
}
#goog-fixurl ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}
#goog-fixurl ul li {
  list-style-type: none;
}
#goog-wm-qt {
  width: auto;
  margin-right: 10px;
  margin-bottom: 20px;
  padding: 8px 20px;
  display: inline-block;
  font-size: 14px;
  font-size: 0.875rem;
  background-color: #ffffff;
  color: #111111;
  border-width: 2px !important;
  border-style: solid !important;
  border-color: #919191;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
#goog-wm-sb {
  display: inline-block;
  margin-bottom: 20px;
  padding: 8px 20px;
  font-size: 14px;
  font-size: 0.875rem;
  background-color: #111111;
  color: #ffffff;
  border: 2px solid #111111 !important;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
#goog-wm-sb:visited {
  color: #ffffff;
}
#goog-wm-sb:hover {
  background-color: #ffffff;
  color: #111111;
}
#goog-wm-sb:active {
  -webkit-transform: translate(0, 2px);
  -moz-transform: translate(0, 2px);
  -ms-transform: translate(0, 2px);
  -o-transform: translate(0, 2px);
  transform: translate(0, 2px);
}
/* jQuery Magnific-Popup =================================== */
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 502;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80);
}
.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 503;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden;
}
.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
.mfp-align-top .mfp-container:before {
  display: none;
}
.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 505;
}
.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
  width: 100%;
  cursor: auto;
}
.mfp-inline-holder .mfp-content:after,
.mfp-ajax-holder .mfp-content:after {
  content: '';
  display: block;
  width: auto;
  height: auto;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
.mfp-ajax-cur {
  cursor: progress;
}
.mfp-zoom-out-cur,
.mfp-zoom-out-cur .mfp-image-holder .mfp-close {
  cursor: -moz-zoom-out;
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}
.mfp-zoom,
.image-popup {
  cursor: pointer;
  cursor: -webkit-zoom-in;
  cursor: -moz-zoom-in;
  cursor: zoom-in;
}
.mfp-auto-cursor .mfp-content {
  cursor: auto;
}
.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}
.mfp-loading.mfp-figure {
  display: none;
}
.mfp-hide {
  display: none !important;
}
.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 504;
}
.mfp-preloader a {
  color: #cccccc;
}
.mfp-preloader a:hover {
  color: white;
}
.mfp-s-ready .mfp-preloader {
  display: none;
}
.mfp-s-error .mfp-content {
  display: none;
}
button.mfp-close,
button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  border: 0;
  -webkit-appearance: none;
  display: block;
  padding: 0;
  z-index: 506;
}
button.mfp-close {
  background: transparent;
}
button::-moz-focus-inner {
  padding: 0;
  border: 0;
}
.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace;
}
.mfp-close:hover,
.mfp-close:focus {
  opacity: 1;
}
.mfp-close:active {
  top: 1px;
}
.mfp-close-btn-in .mfp-close {
  color: #333333;
}
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
  color: white;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%;
}
.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px;
}
.mfp-arrow {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  position: absolute;
  top: 0;
  opacity: 0.65;
  margin: 0;
  top: 50%;
  margin-top: -55px;
  padding: 0;
  width: 90px;
  height: 110px;
  background-color: #111111;
  -webkit-transition: opacity 0.2s ease-in-out;
  -moz-transition: opacity 0.2s ease-in-out;
  -ms-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.mfp-arrow:active {
  margin-top: -54px;
}
.mfp-arrow:hover,
.mfp-arrow:focus {
  opacity: 1;
}
.mfp-arrow:before,
.mfp-arrow:after,
.mfp-arrow .mfp-b,
.mfp-arrow .mfp-a {
  content: '';
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 0;
  top: 0;
  margin-top: 35px;
  margin-left: 35px;
  border: solid transparent;
}
.mfp-arrow:after,
.mfp-arrow .mfp-a {
  opacity: 0.8;
  border-top-width: 12px;
  border-bottom-width: 12px;
  top: 8px;
}
.mfp-arrow:before,
.mfp-arrow .mfp-b {
  border-top-width: 20px;
  border-bottom-width: 20px;
}
.mfp-arrow-left {
  left: 0;
  -webkit-border-top-right-radius: 5px;
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 0;
  -webkit-border-top-left-radius: 0;
  -moz-border-radius-topright: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 0;
  -moz-border-radius-topleft: 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
}
.mfp-arrow-left:after,
.mfp-arrow-left .mfp-a {
  border-right: 12px solid #fff;
  left: 5px;
}
.mfp-arrow-left:before,
.mfp-arrow-left .mfp-b {
  border-right: 20px solid #fff;
}
.mfp-arrow-right {
  right: 0;
  -webkit-border-top-right-radius: 0;
  -webkit-border-bottom-right-radius: 0;
  -webkit-border-bottom-left-radius: 5px;
  -webkit-border-top-left-radius: 5px;
  -moz-border-radius-topright: 0;
  -moz-border-radius-bottomright: 0;
  -moz-border-radius-bottomleft: 5px;
  -moz-border-radius-topleft: 5px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 5px;
  border-top-left-radius: 5px;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
}
.mfp-arrow-right:after,
.mfp-arrow-right .mfp-a {
  border-left: 12px solid #fff;
  left: 3px;
}
.mfp-arrow-right:before,
.mfp-arrow-right .mfp-b {
  border-left: 20px solid #fff;
}
.mfp-iframe-holder {
  padding-top: 40px;
  padding-bottom: 40px;
}
.mfp-iframe-holder .mfp-content {
  line-height: 0;
  width: 100%;
  max-width: 900px;
}
.mfp-iframe-scaler {
  width: 100%;
  height: 0;
  overflow: hidden;
  padding-top: 56.25%;
}
.mfp-iframe-scaler iframe {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
  background: black;
}
.mfp-iframe-holder .mfp-close {
  top: -40px;
}
/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto;
}
/* The shadow behind the image */
.mfp-figure:after {
  content: '';
  position: absolute;
  left: 0;
  top: 40px;
  bottom: 40px;
  display: block;
  right: 0;
  width: auto;
  height: auto;
  z-index: -1;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
.mfp-figure {
  line-height: 0;
}
.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto;
}
.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
}
.mfp-figure small {
  color: #bdbdbd;
  display: block;
  font-size: 12px;
  line-height: 14px;
}
.mfp-image-holder .mfp-content {
  max-width: 100%;
}
.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer;
}
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
     * Remove all paddings around the image on small screen
     */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0;
  }
  .mfp-img-mobile img.mfp-img {
    padding: 0;
  }
  /* The shadow behind the image */
  .mfp-img-mobile .mfp-figure:after {
    top: 0;
    bottom: 0;
  }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  .mfp-img-mobile .mfp-bottom-bar:empty {
    padding: 0;
  }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px;
  }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0;
  }
  .mfp-img-mobile .mfp-figure small {
    display: inline;
    margin-left: 5px;
  }
}
@media all and (max-width: 800px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75);
  }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0;
  }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
  }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px;
  }
}
.mfp-ie7 .mfp-img {
  padding: 0;
}
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px;
}
.mfp-ie7 .mfp-container {
  padding: 0;
}
.mfp-ie7 .mfp-content {
  padding-top: 44px;
}
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0;
}
/**
 * Fade-zoom animation for first dialog
 */
/* start state */
.mfp-fade .zoom-anim-dialog {
  opacity: 0;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
}
/* animate in */
.mfp-fade.mfp-ready .zoom-anim-dialog {
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
}
/* animate out */
.mfp-fade.mfp-removing .zoom-anim-dialog {
  -webkit-transform: scale(0.8);
  -moz-transform: scale(0.8);
  -ms-transform: scale(0.8);
  -o-transform: scale(0.8);
  transform: scale(0.8);
  opacity: 0;
}
/* Dark overlay, start state */
.mfp-fade.mfp-bg {
  opacity: 0;
  -webkit-transition: opacity 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out;
  -ms-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
}
/* animate in */
.mfp-fade.mfp-ready.mfp-bg {
  opacity: 0.8;
}
/* animate out */
.mfp-fade.mfp-removing.mfp-bg {
  opacity: 0;
}
/* Print =================================================== */
@media print {
  * {
    background: transparent !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important;
    position: static !important;
  }
  @page  {
    margin: 0.5cm;
  }
  h2,
  h3 {
    orphans: 3;
    widows: 3;
    page-break-after: avoid;
  }
  p {
    orphans: 3;
    widows: 3;
  }
  pre,
  blockquote {
    border: 1px solid #333;
    page-break-inside: avoid;
    padding: 1em;
  }
  abbr[title]:after {
    content: " (" attr(title) ")";
  }
  a,
  a:visited {
    text-decoration: underline;
  }
  a[href]:after {
    content: " (" attr(href) ")";
  }
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }
  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }
  thead {
    display: table-header-group;
  }
  tr {
    page-break-inside: avoid;
  }
}
/* 480px wide ============================================== */
@media only screen and (min-width: 30em) {
  .article-author-top,
  .article-author-bottom {
    -webkit-transition: all 0.2s ease;
    -moz-transition: all 0.2s ease;
    -ms-transition: all 0.2s ease;
    -o-transition: all 0.2s ease;
    transition: all 0.2s ease;
    -webkit-opacity: 0.7;
    -moz-opacity: 0.7;
    opacity: 0.7;
  }
  .article-author-top:hover,
  .article-author-bottom:hover {
    -webkit-opacity: 1;
    -moz-opacity: 1;
    opacity: 1;
  }
  .image-grid li {
    width: 33.333333%;
  }
}
/* 600px wide ============================================== */
@media only screen and (min-width: 37.5em) {
  .site-name {
    display: inline;
    float: left;
    width: 16.666666666666668%;
    margin-left: 4.166666666666667%;
    margin-right: 4.166666666666667%;
  }
  .top-navigation {
    display: inline;
    float: left;
    width: 75%;
    margin-left: 0%;
    margin-right: 0%;
  }
  .image-wrap .headline-wrap,
  .image-wrap:after {
    left: 25%;
  }
  .image-wrap .headline-wrap {
    margin-left: 0;
  }
  .image-credit {
    display: inline;
    float: left;
    width: 75%;
    margin-left: 0%;
    margin-right: 0%;
  }
  #main article {
    display: inline;
    float: left;
    width: 50%;
    margin-left: 0%;
    margin-right: 0%;
  }
  #index {
    display: inline;
    float: left;
    width: 50%;
    margin-left: 0%;
    margin-right: 0%;
  }
  .footer-wrap footer {
    display: inline;
    float: left;
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
  }
  .article-author-top {
    display: block;
    display: inline;
    float: left;
    width: 16.666666666666668%;
    margin-left: 4.166666666666667%;
    margin-right: 4.166666666666667%;
  }
  .article-author-bottom {
    display: none;
  }
  .toc {
    display: block;
    display: inline;
    float: left;
    width: 16.666666666666668%;
    margin-left: 4.166666666666667%;
    margin-right: 4.166666666666667%;
    position: fixed;
    top: 120px;
    right: 0;
    -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  }
  .image-grid li {
    width: 25%;
  }
  .related-articles {
    display: inline;
    float: left;
    width: 50%;
    margin-left: 25%;
    margin-right: 25%;
  }
}
/* 768px wide ============================================== */
@media only screen and (min-width: 48em) {
  /* Image Grid ============================================== */
  .image-grid li {
    width: 20%;
  }
}
/* 992px wide ============================================== */
@media only screen and (min-width: 62em) {
  .article-author-top img.bio-photo,
  .article-author-bottom img.bio-photo {
    width: 150px;
    height: 150px;
    -webkit-border-radius: 150px;
    -moz-border-radius: 150px;
    border-radius: 150px;
  }
  /* Image Grid ============================================== */
  .image-grid li {
    width: 16.666666666%;
  }
}
/* 1382px wide ============================================= */
@media only screen and (min-width: 86.375em) {
  .site-name {
    display: inline;
    float: left;
    width: 12.5%;
    margin-left: 16.666666666666668%;
  }
  .top-navigation {
    display: inline;
    float: left;
    width: 66.66666666666667%;
  }
  .image-wrap:after {
    left: 33.333333333%;
  }
  .image-wrap .headline-wrap {
    margin-left: 8.333333333333334%;
  }
  .image-credit {
    display: inline;
    float: left;
    width: 70.83333333333334%;
  }
  #main article {
    display: inline;
    float: left;
    width: 37.5%;
  }
  #index {
    display: inline;
    float: left;
    width: 37.5%;
  }
  .related-articles {
    display: inline;
    float: left;
    width: 37.5%;
    margin-left: 33.333333333333336%;
    margin-right: 29.166666666666668%;
  }
  .footer-wrap footer {
    display: inline;
    float: left;
    width: 37.5%;
    margin-left: 33.333333333333336%;
    margin-right: 29.166666666666668%;
  }
  .article-author-top {
    display: inline;
    float: left;
    width: 12.5%;
    margin-left: 16.666666666666668%;
  }
}
/* 2x for retina displays ================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  
}

A assets/css/main.min.css => assets/css/main.min.css +1 -0
@@ 0,0 1,1 @@
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,video{display:inline-block}audio:not([controls]){display:none;height:0}[hidden]{display:none}html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{margin:.67em 0;font-size:2em}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:bold}dfn{font-style:italic}hr{height:0;-moz-box-sizing:content-box;box-sizing:content-box}mark{color:#000;background:#ff0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}pre{white-space:pre}q{quotes:"\201C" "\201D" "\2018" "\2019"}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-0.5em}sub{bottom:-0.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:0}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}button,input,select,textarea{margin:0;font-family:inherit;font-size:100%}button,input{line-height:normal}button,select{text-transform:none}button,html input[type="button"],input[type="reset"],input[type="submit"]{cursor:pointer;-webkit-appearance:button}button[disabled],html input[disabled]{cursor:default}input[type="checkbox"],input[type="radio"]{padding:0;box-sizing:border-box}input[type="search"]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type="search"]::-webkit-search-cancel-button,input[type="search"]::-webkit-search-decoration{-webkit-appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}textarea{overflow:auto;vertical-align:top}table{margin-bottom:1.5em;border-collapse:collapse;border-spacing:0}::-moz-selection{color:#343434;text-shadow:none;background-color:#dadada}::selection{color:#343434;text-shadow:none;background-color:#dadada}.all-caps{text-transform:uppercase}.pull-left{float:left}.pull-right{float:right}.image-pull-right{float:right;margin-top:0}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:""}.clearfix:after{clear:both}.unstyled-list{padding-left:0;margin-left:0;list-style:none}.unstyled-list li{list-style-type:none}b,i,strong,em,blockquote,p,q,span,figure,img,h1,h2,header,input,a{-webkit-transition:all .2s ease;-moz-transition:all .2s ease;-ms-transition:all .2s ease;-o-transition:all .2s ease;transition:all .2s ease}body{font-family:'PT Serif',serif;color:#333332}h1,h2,h3,h4,h5,h6{font-family:'PT Sans Narrow',sans-serif}h1{margin-bottom:26px;margin-bottom:1.625rem;font-size:32px;font-size:2rem;line-height:.8125}h2{margin-bottom:26px;margin-bottom:1.625rem;font-size:28px;font-size:1.75rem;line-height:.9286}h3{margin-bottom:26px;margin-bottom:1.625rem;font-size:24px;font-size:1.5rem;line-height:1.0833}h4{margin-bottom:26px;margin-bottom:1.625rem;font-size:18px;font-size:1.125rem;line-height:1.4444}h5{margin-bottom:26px;margin-bottom:1.625rem;font-size:16px;font-size:1rem;line-height:1.625}h6{margin-bottom:26px;margin-bottom:1.625rem;font-size:14px;font-size:.875rem;line-height:1.8571}a{color:#343434;text-decoration:none}a:visited{color:#676767}a:hover{color:#010101}a:focus{color:#010101;outline:thin dotted}a:hover,a:active{outline:0}figcaption{padding-top:10px;font-size:14px;font-size:.875rem;line-height:1.8571;line-height:1.3;color:#4d4d4b}.image-credit{display:inline;display:block;float:left;width:83.33333333333334%;margin-right:8.333333333333334%;margin-left:8.333333333333334%;font-size:12px;font-size:.75rem;font-style:italic;line-height:2.1667;line-height:1.3;color:#80807e;text-align:right}.image-credit a{color:#80807e}.notice{padding:.5em 1em;margin-top:1.5em;font-size:14px;font-size:.875rem;text-indent:0;background-color:#fff;border:1px solid #ccc;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}blockquote{padding-left:20px;margin-left:-28px;font-family:'PT Serif',serif;font-size:24px;font-size:1.5rem;font-style:italic;border-left:8px solid #333332}.footnotes ol,.footnotes li,.footnotes p{margin-bottom:26px;margin-bottom:1.625rem;font-size:14px;font-size:.875rem;line-height:1.8571}p{margin:0 0 1.625rem}p+p{margin-top:-1.625rem;text-indent:1.625rem}tt,code,kbd,samp,pre{font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace}p code,li code{padding:0 5px;margin:0 2px;font-size:12px;font-size:.75rem;line-height:1.5;white-space:nowrap;background-color:#fff;border:1px solid #f7f7f7;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}pre{overflow-x:auto;font-size:12px;font-size:.75rem;line-height:1.5}.highlight{margin-bottom:1.5em;font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;font-size:12px;font-size:.75rem;line-height:2.1667;color:#333332;background-color:#efefef;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.highlight pre{position:relative;padding:1em;margin:0}.highlight .lineno{padding-right:24px;color:#b3b3b1}.highlight .hll{background-color:#ffc}.highlight .c{font-style:italic;color:#998}.highlight .err{color:#a61717;background-color:#e3d2d2}.highlight .k{font-weight:bold;color:#000}.highlight .o{font-weight:bold;color:#000}.highlight .cm{font-style:italic;color:#998}.highlight .cp{font-style:italic;font-weight:bold;color:#999}.highlight .c1{font-style:italic;color:#998}.highlight .cs{font-style:italic;font-weight:bold;color:#999}.highlight .gd{color:#000;background-color:#fdd}.highlight .ge{font-style:italic;color:#000}.highlight .gr{color:#a00}.highlight .gh{color:#999}.highlight .gi{color:#000;background-color:#dfd}.highlight .go{color:#888}.highlight .gp{color:#555}.highlight .gs{font-weight:bold}.highlight .gu{color:#aaa}.highlight .gt{color:#a00}.highlight .kc{font-weight:bold;color:#000}.highlight .kd{font-weight:bold;color:#000}.highlight .kn{font-weight:bold;color:#000}.highlight .kp{font-weight:bold;color:#000}.highlight .kr{font-weight:bold;color:#000}.highlight .kt{font-weight:bold;color:#458}.highlight .m{color:#099}.highlight .s{color:#d01040}.highlight .na{color:#008080}.highlight .nb{color:#0086b3}.highlight .nc{font-weight:bold;color:#458}.highlight .no{color:#008080}.highlight .nd{font-weight:bold;color:#3c5d5d}.highlight .ni{color:#800080}.highlight .ne{font-weight:bold;color:#900}.highlight .nf{font-weight:bold;color:#900}.highlight .nl{font-weight:bold;color:#900}.highlight .nn{color:#555}.highlight .nt{color:#000080}.highlight .nv{color:#008080}.highlight .ow{font-weight:bold;color:#000}.highlight .w{color:#bbb}.highlight .mf{color:#099}.highlight .mh{color:#099}.highlight .mi{color:#099}.highlight .mo{color:#099}.highlight .sb{color:#d01040}.highlight .sc{color:#d01040}.highlight .sd{color:#d01040}.highlight .s2{color:#d01040}.highlight .se{color:#d01040}.highlight .sh{color:#d01040}.highlight .si{color:#d01040}.highlight .sx{color:#d01040}.highlight .sr{color:#009926}.highlight .s1{color:#d01040}.highlight .ss{color:#990073}.highlight .bp{color:#999}.highlight .vc{color:#008080}.highlight .vg{color:#008080}.highlight .vi{color:#008080}.highlight .il{color:#099}.CodeRay{margin-bottom:1.5em;font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;font-size:12px;font-size:.75rem;line-height:2.1667;color:#333332;background-color:#efefef;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.CodeRay pre{padding:1em;margin:0}span.CodeRay{padding:2px;white-space:pre;border:0}table.CodeRay{width:100%;padding:2px;border-collapse:collapse}table.CodeRay td{padding:1em .5em;vertical-align:top}.CodeRay .line-numbers,.CodeRay .no{color:#AAA;text-align:right;background-color:#ececec}.CodeRay .line-numbers a{color:#AAA}.CodeRay .line-numbers tt{font-weight:bold}.CodeRay .line-numbers .highlighted{color:#f00}.CodeRay .line{display:block;float:left;width:100%}.CodeRay span.line-numbers{padding:0 24px 0 4px}.CodeRay .code{width:100%}ol.CodeRay{font-size:10pt}ol.CodeRay li{white-space:pre}.CodeRay .code pre{overflow:auto}.CodeRay .debug{color:white!important;background:blue!important}.CodeRay .annotation{color:#007}.CodeRay .attribute-name{color:#f08}.CodeRay .attribute-value{color:#700}.CodeRay .binary{font-weight:bold;color:#509}.CodeRay .comment{font-style:italic;color:#998}.CodeRay .char{color:#04d}.CodeRay .char .content{color:#04d}.CodeRay .char .delimiter{color:#039}.CodeRay .class{font-weight:bold;color:#458}.CodeRay .complex{font-weight:bold;color:#A08}.CodeRay .constant{color:teal}.CodeRay .color{color:#0a0}.CodeRay .class-variable{color:#369}.CodeRay .decorator{color:#B0B}.CodeRay .definition{font-weight:bold;color:#099}.CodeRay .directive{font-weight:bold;color:#088}.CodeRay .delimiter{color:#000}.CodeRay .doc{color:#970}.CodeRay .doctype{color:#34b}.CodeRay .doc-string{font-weight:bold;color:#D42}.CodeRay .escape{font-weight:bold;color:#666}.CodeRay .entity{font-weight:bold;color:#800}.CodeRay .error{color:#F00;background-color:#faa}.CodeRay .exception{font-weight:bold;color:#C00}.CodeRay .filename{color:#099}.CodeRay .function{font-weight:bold;color:#900}.CodeRay .global-variable{font-weight:bold;color:teal}.CodeRay .hex{font-weight:bold;color:#058}.CodeRay .integer{color:#099}.CodeRay .include{font-weight:bold;color:#B44}.CodeRay .inline{color:#000}.CodeRay .inline .inline{background:#ccc}.CodeRay .inline .inline .inline{background:#bbb}.CodeRay .inline .inline-delimiter{color:#D14}.CodeRay .inline-delimiter{color:#D14}.CodeRay .important{color:#f00}.CodeRay .interpreted{font-weight:bold;color:#B2B}.CodeRay .instance-variable{color:#008080}.CodeRay .label{font-weight:bold;color:#970}.CodeRay .local-variable{color:#963}.CodeRay .octal{font-weight:bold;color:#40E}.CodeRay .predefined-constant{font-weight:bold}.CodeRay .predefined{font-weight:bold;color:#369}.CodeRay .preprocessor{color:#579}.CodeRay .pseudo-class{font-weight:bold;color:#00C}.CodeRay .predefined-type{font-weight:bold;color:#074}.CodeRay .reserved,.keyword{font-weight:bold;color:#000}.CodeRay .key{color:#808}.CodeRay .key .delimiter{color:#606}.CodeRay .key .char{color:#80f}.CodeRay .value{color:#088}.CodeRay .regexp{background-color:#fff0ff}.CodeRay .regexp .content{color:#808}.CodeRay .regexp .delimiter{color:#404}.CodeRay .regexp .modifier{color:#c2c}.CodeRay .regexp .function{font-weight:bold;color:#404}.CodeRay .string{color:#D20}.CodeRay .string .string .string{background-color:#ffd0d0}.CodeRay .string .content{color:#D14}.CodeRay .string .char{color:#D14}.CodeRay .string .delimiter{color:#D14}.CodeRay .shell{color:#d14}.CodeRay .shell .delimiter{color:#d14}.CodeRay .symbol{color:#990073}.CodeRay .symbol .content{color:#a60}.CodeRay .symbol .delimiter{color:#630}.CodeRay .tag{color:#070}.CodeRay .tag-special{font-weight:bold;color:#D70}.CodeRay .type{font-weight:bold;color:#339}.CodeRay .variable{color:#036}.CodeRay .insert{background:#afa}.CodeRay .delete{background:#faa}.CodeRay .change{color:#aaf;background:#007}.CodeRay .head{color:#f8f;background:#505}.CodeRay .insert .insert{font-weight:bold;color:#080}.CodeRay .delete .delete{font-weight:bold;color:#800}.CodeRay .change .change{color:#66f}.CodeRay .head .head{color:#f4f}.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;line-height:0;content:""}.clearfix:after{clear:both}.hidden{display:none;visibility:hidden}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}hr{display:block;height:1px;padding:0;margin:1em 0;border:0;border-top:1px solid #ccc;border-bottom:1px solid #fff}article img{height:auto;max-width:100%;vertical-align:middle;border-width:0;-ms-interpolation-mode:bicubic}svg:not(:root){overflow:hidden}.half{width:100%;margin:0 auto;*zoom:1}.half:before,.half:after{display:table;content:""}.half:after{clear:both}.half:before,.half:after{display:table;line-height:0;content:""}.half:after{clear:both}.half img{display:inline;float:left;width:50%}.half figcaption{display:inline;float:left;width:100%}.third{width:100%;margin:0 auto;*zoom:1}.third:before,.third:after{display:table;content:""}.third:after{clear:both}.third:before,.third:after{display:table;line-height:0;content:""}.third:after{clear:both}.third img{display:inline;float:left;width:33.333333333333336%}.third figcaption{display:inline;float:left;width:100%}.btn{display:inline-block;padding:8px 20px;margin-bottom:20px;font-size:14px;font-size:.875rem;color:#fff;background-color:#111;border:2px solid #111!important;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.btn:visited{color:#fff}.btn:hover{color:#111;background-color:#fff}.btn:active{-webkit-transform:translate(0,2px);-moz-transform:translate(0,2px);-ms-transform:translate(0,2px);-o-transform:translate(0,2px);transform:translate(0,2px)}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);-moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.05);box-shadow:inset 0 1px 1px rgba(0,0,0,0.05)}@font-face{font-family:'icomoon';font-style:normal;font-weight:normal;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')}[data-icon]:before{font-family:'icomoon';-webkit-font-smoothing:antialiased;font-weight:normal;line-height:1;text-transform:none;content:attr(data-icon);speak:none;font-variant:normal}.icon-instagram,.icon-facebook,.icon-twitter,.icon-google-plus,.icon-feed,.icon-feed-2,.icon-linkedin,.icon-tumblr,.icon-lastfm,.icon-mail,.icon-github{font-family:'icomoon';-webkit-font-smoothing:antialiased;font-style:normal;font-weight:normal;line-height:1;text-transform:none;speak:none;font-variant:normal}.icon-instagram:before{content:"\e004"}.icon-facebook:before{content:"\e003"}.icon-twitter:before{content:"\e007"}.icon-google-plus:before{content:"\e00a"}.icon-feed:before{content:"\e00b"}.icon-feed-2:before{content:"\e00c"}.icon-linkedin:before{content:"\e001"}.icon-tumblr:before{content:"\e002"}.icon-lastfm:before{content:"\e005"}.icon-mail:before{content:"\e006"}.icon-github:before{content:"\e000"}form{margin:0 0 5px 0}form fieldset{padding:0;margin-bottom:5px;border-width:0}form legend{display:block;width:100%;padding:0;margin-bottom:10px;*margin-left:-7px;color:#333332;white-space:normal;border:0;border-bottom:1px solid #ddd}form p{margin-bottom:2.5px}form ul{padding:0;margin:0 0 5px 0;list-style-type:none}form br{display:none}label,input,button,select,textarea{vertical-align:baseline;*vertical-align:middle}input,button,select,textarea{font-family:'PT Serif',serif;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}label{display:block;margin-bottom:1.25px;font-weight:bold;color:#333332;cursor:pointer}label input,label textarea,label select{display:block}input,textarea,select{display:inline-block;width:100%;padding:4px;margin-bottom:1.25px;color:#333332;background-color:#fff;border:1px solid #ddd}input:hover,textarea:hover,select:hover{border-color:#919191}.input-mini{width:60px}.input-small{width:90px}input[type="image"],input[type="checkbox"],input[type="radio"]{width:auto;height:auto;padding:0;margin:3px 0;*margin-top:0;line-height:normal;cursor:pointer;border:0 \9;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}input[type="checkbox"],input[type="radio"]{*width:13px;*height:13px;padding:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;-ms-box-sizing:border-box;box-sizing:border-box}input[type="image"]{border:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}input[type="file"]{width:auto;padding:initial;line-height:initial;background-color:transparent;background-color:initial;border:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}input[type="button"],input[type="reset"],input[type="submit"]{width:auto;height:auto;*overflow:visible;cursor:pointer}select,input[type="file"]{*margin-top:4px}select{width:auto;background-color:#fff}select[multiple],select[size]{height:auto}textarea{height:auto;overflow:auto;vertical-align:top;resize:vertical}input[type="hidden"]{display:none}.radio,.checkbox{padding-left:18px;font-weight:normal}.radio input[type="radio"],.checkbox input[type="checkbox"]{float:left;margin-left:-18px}.radio.inline,.checkbox.inline{display:inline-block;padding-top:5px;margin-bottom:0;vertical-align:middle}.radio.inline+.radio.inline,.checkbox.inline+.checkbox.inline{margin-left:10px}input[disabled],select[disabled],textarea[disabled],input[readonly],select[readonly],textarea[readonly]{cursor:not-allowed;-webkit-opacity:.5;-moz-opacity:.5;opacity:.5}input:focus,textarea:focus{border-color:#111;outline:0;outline:thin dotted \9}input[type="file"]:focus,input[type="radio"]:focus,input[type="checkbox"]:focus,select:focus{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.help-block,.help-inline{color:#919191}.help-block{display:block;margin-bottom:1em;line-height:1em}.help-inline{display:inline-block;padding-left:5px;vertical-align:middle}.form-inline input,.form-inline textarea,.form-inline select{display:inline-block;margin-bottom:0}.form-inline label{display:inline-block}.form-inline .radio,.form-inline .checkbox,.form-inline .radio{padding-left:0;margin-bottom:0;vertical-align:middle}.form-inline .radio input[type="radio"],.form-inline .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}.form-search input,.form-search textarea,.form-search select{display:inline-block;margin-bottom:0}.form-search .search-query{padding-right:14px;padding-left:14px;margin-bottom:0;-webkit-border-radius:14px;-moz-border-radius:14px;border-radius:14px}.form-search label{display:inline-block}.form-search .radio,.form-search .checkbox,.form-inline .radio{padding-left:0;margin-bottom:0;vertical-align:middle}.form-search .radio input[type="radio"],.form-search .checkbox input[type="checkbox"]{float:left;margin-right:3px;margin-left:0}body{font-family:'PT Serif',serif;background-color:#fff;font-color:#333332}.navigation-wrapper{width:100%;padding:2em 0 3em;margin:0 auto;font-family:'PT Sans Narrow',sans-serif;font-weight:700;text-transform:uppercase}.site-name{display:inline;float:left;width:100%;width:83.33333333333334%;margin:0 auto;margin-right:8.333333333333334%;margin-bottom:1em;margin-left:8.333333333333334%}.top-navigation{display:inline;float:left;width:100%;width:83.33333333333334%;margin:0 auto;margin-right:8.333333333333334%;margin-bottom:1em;margin-left:8.333333333333334%}.top-navigation ul{padding:0;margin:0;list-style:none}.top-navigation li{display:inline;margin-right:25px;list-style-type:none}.top-navigation li a{border-bottom:0 solid transparent;-webkit-transition:all .2s;-moz-transition:all .2s;-ms-transition:all .2s;-o-transition:all .2s;transition:all .2s;decoration:none}#main{width:100%;margin:0 auto;margin-top:1em;clear:both;*zoom:1;counter-reset:captions}#main:before,#main:after{display:table;content:""}#main:after{clear:both}#main:before,#main:after{display:table;line-height:0;content:""}#main:after{clear:both}#main article{display:inline;float:left;width:100%;width:83.33333333333334%;margin:0 auto;margin-right:8.333333333333334%;margin-bottom:2em;margin-left:8.333333333333334%}#index{display:inline;float:left;width:100%;width:83.33333333333334%;margin:0 auto;margin-right:8.333333333333334%;margin-bottom:2em;margin-left:8.333333333333334%}#index h3{padding-bottom:.5em;margin:0;font-size:28px;font-size:1.75rem;border-bottom:1px solid #c3c3c3}#index article h2{margin-bottom:4px;font-size:20px;font-size:1.25rem;text-transform:uppercase}#index article p{font-size:14px;font-size:.875rem}#index article p+p{text-indent:0}.image-wrap{position:relative;margin-bottom:2em}.image-wrap:after{position:absolute;bottom:-1px;left:8%;display:block;width:0;height:0;border:20px solid transparent;border-bottom-color:#fff;content:" "}.image-wrap img{width:100%;height:auto;-ms-interpolation-mode:bicubic}.image-wrap .headline-wrap{position:absolute;bottom:25px;margin-left:8.333333333333334%}.image-wrap .headline-wrap h1,.image-wrap .headline-wrap h2{color:#fff;text-shadow:0 1px 2px rgba(0,0,0,0.25)}.byline{clear:both;font-size:80%}.article-author-top h3,.article-author-bottom h3{margin-bottom:0}.article-author-top p,.article-author-bottom p{font-size:80%;font-style:italic}.article-author-top a,.article-author-bottom a,.article-author-top a:hover,.article-author-bottom a:hover{border-bottom:0 solid transparent}.article-author-top img.bio-photo,.article-author-bottom img.bio-photo{width:100px;height:100px;-webkit-border-radius:100px;-moz-border-radius:100px;border-radius:100px}.author-social{display:block;margin-bottom:5px;font-size:14px;font-size:.875rem;color:#111}.author-social:visited{color:#111}.author-social:hover{-webkit-transform:scale(1.1);-moz-transform:scale(1.1);-ms-transform:scale(1.1);-o-transform:scale(1.1);transform:scale(1.1)}.author-social:active{-webkit-transform:translate(0,2px);-moz-transform:translate(0,2px);-ms-transform:translate(0,2px);-o-transform:translate(0,2px);transform:translate(0,2px)}.article-author-top{display:none}.article-author-bottom{margin-bottom:1em}.article-author-bottom .bio-photo{float:left;margin-right:25px}.article-author-bottom .author-social{display:inline-block;margin-right:5px}.article-wrap p>a,.article-wrap li>a{border-bottom:1px dotted #b3b3b3}.article-wrap p>a:hover,.article-wrap li>a:hover{border-bottom-style:solid}.article-wrap p>a.reversefootnote,.article-wrap li>a.reversefootnote{border-bottom-width:0}.toc{display:none;font-size:95%;-webkit-opacity:.7;-moz-opacity:.7;opacity:.7;-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;-ms-transition:opacity .2s ease-in-out;-o-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out}.toc:hover{-webkit-opacity:1;-moz-opacity:1;opacity:1}.toc header{background:#2b2b2b}.toc h3{padding:5px 10px;margin:0;color:#fff}.toc h3:hover{cursor:pointer}.toc ul{padding:0;margin:2px 0 0;line-height:1;background:#5e5e5e}.toc li{display:block;padding:0;margin:0;font-family:'PT Sans Narrow',sans-serif;border-bottom:1px solid #808080}.toc li:last-child{border-bottom-width:0}.toc li a{display:block;padding:10px;color:#fff;border-bottom-width:0}.toc li a:hover{font-weight:400}.toc li a:hover:before{padding-right:5px;content:"\00bb"}.toc li ul{margin:0;border-top:1px solid #808080}.image-grid{padding:0;margin:0 0 1em;list-style:none;*zoom:1}.image-grid:before,.image-grid:after{display:table;content:""}.image-grid:after{clear:both}.image-grid:before,.image-grid:after{display:table;line-height:0;content:""}.image-grid:after{clear:both}.image-grid li{display:inline;float:left;width:50%}.recent-grid{margin:1em 0;list-style:none;*zoom:1}.recent-grid:before,.recent-grid:after{display:table;content:""}.recent-grid:after{clear:both}.recent-grid:before,.recent-grid:after{display:table;line-height:0;content:""}.recent-grid:after{clear:both}.recent-grid li{display:inline}.recent-grid li a{border-bottom:0 solid transparent}.recent-grid li a:hover{border-bottom:0 solid transparent}.recent-grid img{width:19%;margin-bottom:1%}.holder{font-family:'PT Sans Narrow',sans-serif}.holder a{margin:0 5px;cursor:pointer}.holder a.jp-previous{margin-right:15px;margin-left:0}.holder a.jp-next{margin-right:0;margin-left:15px}.holder a.jp-current{font-weight:bold}.holder a.jp-current,.holder a.jp-current:hover,.holder a.jp-disabled,.holder a.jp-disabled:hover{cursor:default;background:0}.holder span{margin:0 5px}.footer-wrap{width:100%;padding-top:2em;padding-bottom:3em;margin:0 auto;margin-top:1em;clear:both;background-color:#111;*zoom:1}.footer-wrap:before,.footer-wrap:after{display:table;content:""}.footer-wrap:after{clear:both}.footer-wrap:before,.footer-wrap:after{display:table;line-height:0;content:""}.footer-wrap:after{clear:both}.footer-wrap a,.footer-wrap a:active,.footer-wrap a:visited,.footer-wrap p,.footer-wrap h4,.footer-wrap h5,.footer-wrap h6,.footer-wrap span{color:#bfbfbf}.footer-wrap span{font-size:14px;font-size:.875rem}.footer-wrap a{border-bottom:0 solid transparent}.footer-wrap a:hover{color:#fff;border-bottom:0 solid transparent}.footer-wrap footer{display:inline;float:left;width:83.33333333333334%;margin-right:8.333333333333334%;margin-left:8.333333333333334%}.related-articles{display:inline;float:left;width:83.33333333333334%;margin-right:8.333333333333334%;margin-bottom:2em;margin-left:8.333333333333334%}.related-articles h4{margin-bottom:0;text-transform:uppercase}.related-articles li{margin-bottom:0;color:#fff}.footer-icons li{display:inline-block;padding-right:5px}.footer-icons li a{color:#9a9a9a;-webkit-transition:.4s linear;-moz-transition:.4s linear;-ms-transition:.4s linear;-o-transition:.4s linear;transition:.4s linear}.footer-icons li a:hover{text-decoration:none;border-bottom:0}.footer-icons li a:hover .icon-twitter,.footer-icons li a:hover .icon-twitter-sign{color:#2aa9df}.footer-icons li a:hover .icon-facebook,.footer-icons li a:hover .icon-facebook-sign{color:#3a5a98}.footer-icons li a:hover .icon-instagram,.footer-icons li a:hover .icon-instagram-sign{color:#306088}.footer-icons li a:hover .icon-google-plus,.footer-icons li a:hover .icon-google-plus-sign{color:#b63324}.footer-icons li a:hover .icon-lastfm,.footer-icons li a:hover .icon-lastfm-sign{color:#d80049}.footer-icons li a:hover .icon-github{color:#4183c4}.browser-upgrade{padding:10px;margin:0 0 2em 0;color:#fff;text-align:center;background:#000}.browser-upgrade a{color:#fff;text-decoration:none;border-bottom:1px dotted #fff}.browser-upgrade a:hover{border-bottom:1px solid #fff}#goog-fixurl ul{padding-left:0;margin-left:0;list-style:none}#goog-fixurl ul li{list-style-type:none}#goog-wm-qt{display:inline-block;width:auto;padding:8px 20px;margin-right:10px;margin-bottom:20px;font-size:14px;font-size:.875rem;color:#111;background-color:#fff;border-color:#919191;border-style:solid!important;border-width:2px!important;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}#goog-wm-sb{display:inline-block;padding:8px 20px;margin-bottom:20px;font-size:14px;font-size:.875rem;color:#fff;background-color:#111;border:2px solid #111!important;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}#goog-wm-sb:visited{color:#fff}#goog-wm-sb:hover{color:#111;background-color:#fff}#goog-wm-sb:active{-webkit-transform:translate(0,2px);-moz-transform:translate(0,2px);-ms-transform:translate(0,2px);-o-transform:translate(0,2px);transform:translate(0,2px)}.mfp-bg{position:fixed;top:0;left:0;z-index:502;width:100%;height:100%;overflow:hidden;background:#0b0b0b;opacity:.8;filter:alpha(opacity=80)}.mfp-wrap{position:fixed;top:0;left:0;z-index:503;width:100%;height:100%;outline:none!important;-webkit-backface-visibility:hidden}.mfp-container{position:absolute;top:0;left:0;width:100%;height:100%;padding:0 8px;text-align:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mfp-container:before{display:inline-block;height:100%;vertical-align:middle;content:''}.mfp-align-top .mfp-container:before{display:none}.mfp-content{position:relative;z-index:505;display:inline-block;margin:0 auto;text-align:left;vertical-align:middle}.mfp-inline-holder .mfp-content,.mfp-ajax-holder .mfp-content{width:100%;cursor:auto}.mfp-inline-holder .mfp-content:after,.mfp-ajax-holder .mfp-content:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;display:block;width:auto;height:auto;content:'';box-shadow:0 0 8px rgba(0,0,0,0.6)}.mfp-ajax-cur{cursor:progress}.mfp-zoom-out-cur,.mfp-zoom-out-cur .mfp-image-holder .mfp-close{cursor:-moz-zoom-out;cursor:-webkit-zoom-out;cursor:zoom-out}.mfp-zoom,.image-popup{cursor:pointer;cursor:-webkit-zoom-in;cursor:-moz-zoom-in;cursor:zoom-in}.mfp-auto-cursor .mfp-content{cursor:auto}.mfp-close,.mfp-arrow,.mfp-preloader,.mfp-counter{-webkit-user-select:none;-moz-user-select:none;user-select:none}.mfp-loading.mfp-figure{display:none}.mfp-hide{display:none!important}.mfp-preloader{position:absolute;top:50%;right:8px;left:8px;z-index:504;width:auto;margin-top:-0.8em;color:#ccc;text-align:center}.mfp-preloader a{color:#ccc}.mfp-preloader a:hover{color:white}.mfp-s-ready .mfp-preloader{display:none}.mfp-s-error .mfp-content{display:none}button.mfp-close,button.mfp-arrow{z-index:506;display:block;padding:0;overflow:visible;cursor:pointer;border:0;-webkit-appearance:none}button.mfp-close{background:transparent}button::-moz-focus-inner{padding:0;border:0}.mfp-close{position:absolute;top:0;right:0;width:44px;height:44px;padding:0 0 18px 10px;font-family:Arial,Baskerville,monospace;font-size:28px;font-style:normal;line-height:44px;color:white;text-align:center;text-decoration:none;opacity:.65}.mfp-close:hover,.mfp-close:focus{opacity:1}.mfp-close:active{top:1px}.mfp-close-btn-in .mfp-close{color:#333}.mfp-image-holder .mfp-close,.mfp-iframe-holder .mfp-close{right:-6px;width:100%;padding-right:6px;color:white;text-align:right}.mfp-counter{position:absolute;top:0;right:0;font-size:12px;line-height:18px;color:#ccc}.mfp-arrow{position:absolute;top:0;top:50%;width:90px;height:110px;padding:0;margin:0;margin-top:-55px;overflow:hidden;text-indent:100%;white-space:nowrap;background-color:#111;opacity:.65;-webkit-transition:opacity .2s ease-in-out;-moz-transition:opacity .2s ease-in-out;-ms-transition:opacity .2s ease-in-out;-o-transition:opacity .2s ease-in-out;transition:opacity .2s ease-in-out;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mfp-arrow:active{margin-top:-54px}.mfp-arrow:hover,.mfp-arrow:focus{opacity:1}.mfp-arrow:before,.mfp-arrow:after,.mfp-arrow .mfp-b,.mfp-arrow .mfp-a{position:absolute;top:0;left:0;display:block;width:0;height:0;margin-top:35px;margin-left:35px;border:solid transparent;content:''}.mfp-arrow:after,.mfp-arrow .mfp-a{top:8px;border-top-width:12px;border-bottom-width:12px;opacity:.8}.mfp-arrow:before,.mfp-arrow .mfp-b{border-top-width:20px;border-bottom-width:20px}.mfp-arrow-left{left:0;-webkit-border-top-right-radius:5px;border-top-right-radius:5px;-webkit-border-bottom-right-radius:5px;border-bottom-right-radius:5px;-webkit-border-bottom-left-radius:0;border-bottom-left-radius:0;-webkit-border-top-left-radius:0;border-top-left-radius:0;-moz-border-radius-topright:5px;-moz-border-radius-bottomright:5px;-moz-border-radius-bottomleft:0;-moz-border-radius-topleft:0;-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.mfp-arrow-left:after,.mfp-arrow-left .mfp-a{left:5px;border-right:12px solid #fff}.mfp-arrow-left:before,.mfp-arrow-left .mfp-b{border-right:20px solid #fff}.mfp-arrow-right{right:0;-webkit-border-top-right-radius:0;border-top-right-radius:0;-webkit-border-bottom-right-radius:0;border-bottom-right-radius:0;-webkit-border-bottom-left-radius:5px;border-bottom-left-radius:5px;-webkit-border-top-left-radius:5px;border-top-left-radius:5px;-moz-border-radius-topright:0;-moz-border-radius-bottomright:0;-moz-border-radius-bottomleft:5px;-moz-border-radius-topleft:5px;-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box}.mfp-arrow-right:after,.mfp-arrow-right .mfp-a{left:3px;border-left:12px solid #fff}.mfp-arrow-right:before,.mfp-arrow-right .mfp-b{border-left:20px solid #fff}.mfp-iframe-holder{padding-top:40px;padding-bottom:40px}.mfp-iframe-holder .mfp-content{width:100%;max-width:900px;line-height:0}.mfp-iframe-scaler{width:100%;height:0;padding-top:56.25%;overflow:hidden}.mfp-iframe-scaler iframe{position:absolute;top:0;left:0;display:block;width:100%;height:100%;background:black;box-shadow:0 0 8px rgba(0,0,0,0.6)}.mfp-iframe-holder .mfp-close{top:-40px}img.mfp-img{display:block;width:auto;height:auto;max-width:100%;padding:40px 0 40px;margin:0 auto;line-height:0;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mfp-figure:after{position:absolute;top:40px;right:0;bottom:40px;left:0;z-index:-1;display:block;width:auto;height:auto;content:'';box-shadow:0 0 8px rgba(0,0,0,0.6)}.mfp-figure{line-height:0}.mfp-bottom-bar{position:absolute;top:100%;left:0;width:100%;margin-top:-36px;cursor:auto}.mfp-title{line-height:18px;color:#f3f3f3;text-align:left}.mfp-figure small{display:block;font-size:12px;line-height:14px;color:#bdbdbd}.mfp-image-holder .mfp-content{max-width:100%}.mfp-gallery .mfp-image-holder .mfp-figure{cursor:pointer}@media screen and (max-width:800px) and (orientation:landscape),screen and (max-height:300px){{}.mfp-img-mobile .mfp-image-holder{padding-right:0;padding-left:0}.mfp-img-mobile img.mfp-img{padding:0}.mfp-img-mobile .mfp-figure:after{top:0;bottom:0}.mfp-img-mobile .mfp-bottom-bar{position:fixed;top:auto;bottom:0;padding:3px 5px;margin:0;background:rgba(0,0,0,0.6);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.mfp-img-mobile .mfp-bottom-bar:empty{padding:0}.mfp-img-mobile .mfp-counter{top:3px;right:5px}.mfp-img-mobile .mfp-close{position:fixed;top:0;right:0;width:35px;height:35px;padding:0;line-height:35px;text-align:center;background:rgba(0,0,0,0.6)}.mfp-img-mobile .mfp-figure small{display:inline;margin-left:5px}}@media all and (max-width:800px){.mfp-arrow{-webkit-transform:scale(0.75);transform:scale(0.75)}.mfp-arrow-left{-webkit-transform-origin:0 0;transform-origin:0 0}.mfp-arrow-right{-webkit-transform-origin:100%;transform-origin:100%}.mfp-container{padding-right:6px;padding-left:6px}}.mfp-ie7 .mfp-img{padding:0}.mfp-ie7 .mfp-bottom-bar{left:50%;width:600px;padding-bottom:5px;margin-top:5px;margin-left:-300px}.mfp-ie7 .mfp-container{padding:0}.mfp-ie7 .mfp-content{padding-top:44px}.mfp-ie7 .mfp-close{top:0;right:0;padding-top:0}.mfp-fade .zoom-anim-dialog{opacity:0;-webkit-transform:scale(0.8);-moz-transform:scale(0.8);-ms-transform:scale(0.8);-o-transform:scale(0.8);transform:scale(0.8);-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-ms-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.mfp-fade.mfp-ready .zoom-anim-dialog{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.mfp-fade.mfp-removing .zoom-anim-dialog{opacity:0;-webkit-transform:scale(0.8);-moz-transform:scale(0.8);-ms-transform:scale(0.8);-o-transform:scale(0.8);transform:scale(0.8)}.mfp-fade.mfp-bg{opacity:0;-webkit-transition:opacity .3s ease-out;-moz-transition:opacity .3s ease-out;-ms-transition:opacity .3s ease-out;-o-transition:opacity .3s ease-out;transition:opacity .3s ease-out}.mfp-fade.mfp-ready.mfp-bg{opacity:.8}.mfp-fade.mfp-removing.mfp-bg{opacity:0}@media print{*{position:static!important;color:black!important;text-shadow:none!important;background:transparent!important;-ms-filter:none!important;filter:none!important;box-shadow:none!important}@page{margin:.5cm}h2,h3{orphans:3;widows:3;page-break-after:avoid}p{orphans:3;widows:3}pre,blockquote{padding:1em;border:1px solid #333;page-break-inside:avoid}abbr[title]:after{content:" (" attr(title) ")"}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}img{max-width:100%!important;page-break-inside:avoid}thead{display:table-header-group}tr{page-break-inside:avoid}}@media only screen and (min-width:30em){.image-grid li{width:33.333333%}}@media only screen and (min-width:37.5em){.site-name{display:inline;float:left;width:16.666666666666668%;margin-right:4.166666666666667%;margin-left:4.166666666666667%}.top-navigation{display:inline;float:left;width:75%;margin-right:0;margin-left:0}.image-wrap .headline-wrap,.image-wrap:after{left:25%}.image-wrap .headline-wrap{margin-left:0}.image-credit{display:inline;float:left;width:75%;margin-right:0;margin-left:0}#main article{display:inline;float:left;width:50%;margin-right:0;margin-left:0}#index{display:inline;float:left;width:50%;margin-right:0;margin-left:0}.footer-wrap footer{display:inline;float:left;width:50%;margin-right:25%;margin-left:25%}.article-author-top{display:block;display:inline;float:left;width:16.666666666666668%;margin-right:4.166666666666667%;margin-left:4.166666666666667%}.article-author-top h3,.article-author-top .bio-photo,.article-author-top p,.article-author-top .author-social{display:block;max-width:125px;margin:auto}.article-author-top h3{margin-top:10px;margin-bottom:10px}.article-author-top p{margin-bottom:20px}.article-author-top .author-social{margin-bottom:5px}.article-author-bottom{display:none}.toc{position:absolute;top:5.5em;right:0;display:block;display:inline;float:left;width:16.666666666666668%;margin-right:4.166666666666667%;margin-left:4.166666666666667%;-webkit-box-shadow:0 0 5px rgba(0,0,0,0.5);-moz-box-shadow:0 0 5px rgba(0,0,0,0.5);box-shadow:0 0 5px rgba(0,0,0,0.5)}.image-grid li{width:25%}.related-articles{display:inline;float:left;width:50%;margin-right:25%;margin-left:25%}}@media only screen and (min-width:48em){{}.image-grid li{width:20%}}@media only screen and (min-width:62em){{}.article-author-top h3,.article-author-bottom h3,.article-author-top .bio-photo,.article-author-bottom .bio-photo,.article-author-top p,.article-author-bottom p,.article-author-top .author-social,.article-author-bottom .author-social{max-width:150px}.article-author-top img.bio-photo,.article-author-bottom img.bio-photo{width:150px;height:150px;-webkit-border-radius:150px;-moz-border-radius:150px;border-radius:150px}.image-grid li{width:16.666666666%}}@media only screen and (min-width:86.375em){.site-name{display:inline;float:left;width:12.5%;margin-left:16.666666666666668%}.top-navigation{display:inline;float:left;width:66.66666666666667%}.image-wrap:after{left:33.333333333%}.image-wrap .headline-wrap{margin-left:8.333333333333334%}.image-credit{display:inline;float:left;width:70.83333333333334%}#main article{display:inline;float:left;width:37.5%}#index{display:inline;float:left;width:37.5%}.related-articles{display:inline;float:left;width:37.5%;margin-right:29.166666666666668%;margin-left:33.333333333333336%}.footer-wrap footer{display:inline;float:left;width:37.5%;margin-right:29.166666666666668%;margin-left:33.333333333333336%}.article-author-top{display:inline;float:left;width:12.5%;margin-left:16.666666666666668%}}
\ No newline at end of file

A assets/js/_main.js => assets/js/_main.js +36 -0
@@ 0,0 1,36 @@
/*! Plugin options and other jQuery stuff */

// FitVids options
$(function() {
	$("article").fitVids();
});

// Table of Contents toggle
$(function() {
  $(".toc h3").click(function () {
    $("#drawer").toggleClass("hidden");
  });
});

// Add lightbox class to all image links
$("a[href$='.jpg'],a[href$='.png'],a[href$='.gif']").addClass("image-popup");

// Magnific-Popup options
$(document).ready(function() {
  $('.image-popup').magnificPopup({
    type: 'image',
    tLoading: 'Loading image #%curr%...',
    gallery: {
      enabled: true,
      navigateByImgClick: true,
      preload: [0,1] // Will preload 0 - before current, and 1 after the current image
    },
    image: {
      tError: '<a href="%url%">Image #%curr%</a> could not be loaded.',
    },
    removalDelay: 300, // Delay in milliseconds before popup is removed
    // Class that is added to body when popup is open. 
    // make it unique to apply your CSS animations just to this exact popup
    mainClass: 'mfp-fade'
  });
});
\ No newline at end of file

D assets/js/main.js => assets/js/main.js +0 -1902
@@ 1,1902 0,0 @@
/*global jQuery */
/*jshint multistr:true browser:true */
/*!
* FitVids 1.0
*
* Copyright 2011, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
*
* Date: Thu Sept 01 18:00:00 2011 -0500
*/

(function( $ ){

  "use strict";

  $.fn.fitVids = function( options ) {
    var settings = {
      customSelector: null
    };

    var div = document.createElement('div'),
        ref = document.getElementsByTagName('base')[0] || document.getElementsByTagName('script')[0];

    div.className = 'fit-vids-style';
    div.innerHTML = '&shy;<style>         \
      .fluid-width-video-wrapper {        \
         width: 100%;                     \
         position: relative;              \
         padding: 0;                      \
      }                                   \
                                          \
      .fluid-width-video-wrapper iframe,  \
      .fluid-width-video-wrapper object,  \
      .fluid-width-video-wrapper embed {  \
         position: absolute;              \
         top: 0;                          \
         left: 0;                         \
         width: 100%;                     \
         height: 100%;                    \
      }                                   \
    </style>';

    ref.parentNode.insertBefore(div,ref);

    if ( options ) {
      $.extend( settings, options );
    }

    return this.each(function(){
      var selectors = [
        "iframe[src*='player.vimeo.com']",
        "iframe[src*='www.youtube.com']",
        "iframe[src*='www.youtube-nocookie.com']",
        "iframe[src*='www.kickstarter.com']",
        "object",
        "embed"
      ];

      if (settings.customSelector) {
        selectors.push(settings.customSelector);
      }

      var $allVideos = $(this).find(selectors.join(','));

      $allVideos.each(function(){
        var $this = $(this);
        if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; }
        var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(),
            width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(),
            aspectRatio = height / width;
        if(!$this.attr('id')){
          var videoID = 'fitvid' + Math.floor(Math.random()*999999);
          $this.attr('id', videoID);
        }
        $this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+"%");
        $this.removeAttr('height').removeAttr('width');
      });
    });
  };
})( jQuery );

/*! Magnific Popup - v0.8.9 - 2013-06-04
* http://dimsemenov.com/plugins/magnific-popup/
* Copyright (c) 2013 Dmitry Semenov; */
;(function($) {

/*>>core*/
/**
 * 
 * Magnific Popup Core JS file
 * 
 */


/**
 * Private static constants
 */
var CLOSE_EVENT = 'Close',
  AFTER_CLOSE_EVENT = 'AfterClose',
  BEFORE_APPEND_EVENT = 'BeforeAppend',
  MARKUP_PARSE_EVENT = 'MarkupParse',
  OPEN_EVENT = 'Open',
  CHANGE_EVENT = 'Change',
  NS = 'mfp',
  EVENT_NS = '.' + NS,
  READY_CLASS = 'mfp-ready',
  REMOVING_CLASS = 'mfp-removing',
  PREVENT_CLOSE_CLASS = 'mfp-prevent-close';


/**
 * Private vars 
 */
var mfp, // As we have only one instance of MagnificPopup object, we define it locally to not to use 'this'
  MagnificPopup = function(){},
  _isJQ = !!(window.jQuery),
  _prevStatus,
  _window = $(window),
  _body,
  _document,
  _prevContentType,
  _wrapClasses,
  _currPopupType;


/**
 * Private functions
 */
var _mfpOn = function(name, f) {
    mfp.ev.on(NS + name + EVENT_NS, f);
  },
  _getEl = function(className, appendTo, html, raw) {
    var el = document.createElement('div');
    el.className = 'mfp-'+className;
    if(html) {
      el.innerHTML = html;
    }
    if(!raw) {
      el = $(el);
      if(appendTo) {
        el.appendTo(appendTo);
      }
    } else if(appendTo) {
      appendTo.appendChild(el);
    }
    return el;
  },
  _mfpTrigger = function(e, data) {
    mfp.ev.triggerHandler(NS + e, data);

    if(mfp.st.callbacks) {
      // converts "mfpEventName" to "eventName" callback and triggers it if it's present
      e = e.charAt(0).toLowerCase() + e.slice(1);
      if(mfp.st.callbacks[e]) {
        mfp.st.callbacks[e].apply(mfp, $.isArray(data) ? data : [data]);
      }
    }
  },
  _setFocus = function() {
    (mfp.st.focus ? mfp.content.find(mfp.st.focus).eq(0) : mfp.wrap).focus();
  },
  _getCloseBtn = function(type) {
    if(type !== _currPopupType || !mfp.currTemplate.closeBtn) {
      mfp.currTemplate.closeBtn = $( mfp.st.closeMarkup.replace('%title%', mfp.st.tClose ) );
      _currPopupType = type;
    }
    return mfp.currTemplate.closeBtn;
  },
  // Initialize Magnific Popup only when called at least once
  _checkInstance = function() {
    if(!$.magnificPopup.instance) {
      mfp = new MagnificPopup();
      mfp.init();
      $.magnificPopup.instance = mfp;
    }
  },
  // Check to close popup or not
  // "target" is an element that was clicked
  _checkIfClose = function(target) {

    if($(target).hasClass(PREVENT_CLOSE_CLASS)) {
      return;
    }

    var closeOnContent = mfp.st.closeOnContentClick;
    var closeOnBg = mfp.st.closeOnBgClick;

    if(closeOnContent && closeOnBg) {
      return true;
    } else {

      // We close the popup if click is on close button or on preloader. Or if there is no content.
      if(!mfp.content || $(target).hasClass('mfp-close') || (mfp.preloader && target === mfp.preloader[0]) ) {
        return true;
      }

      // if click is outside the content
      if(  (target !== mfp.content[0] && !$.contains(mfp.content[0], target))  ) {
        if(closeOnBg) {
          return true;
        }
      } else if(closeOnContent) {
        return true;
      }

    }
    return false;
  };



/**
 * Public functions
 */
MagnificPopup.prototype = {

  constructor: MagnificPopup,

  /**
   * Initializes Magnific Popup plugin. 
   * This function is triggered only once when $.fn.magnificPopup or $.magnificPopup is executed
   */
  init: function() {
    var appVersion = navigator.appVersion;
    mfp.isIE7 = appVersion.indexOf("MSIE 7.") !== -1; 
    mfp.isIE8 = appVersion.indexOf("MSIE 8.") !== -1;
    mfp.isLowIE = mfp.isIE7 || mfp.isIE8;
    mfp.isAndroid = (/android/gi).test(appVersion);
    mfp.isIOS = (/iphone|ipad|ipod/gi).test(appVersion);
    // We disable fixed positioned lightbox on devices that don't handle it nicely.
    // If you know a better way of detecting this - let me know.
    mfp.probablyMobile = (mfp.isAndroid || mfp.isIOS || /(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent) );
    _body = $(document.body);
    _document = $(document);

    mfp.popupsCache = {};
  },

  /**
   * Opens popup
   * @param  data [description]
   */
  open: function(data) {

    var i;

    if(data.isObj === false) { 
      // convert jQuery collection to array to avoid conflicts later
      mfp.items = data.items.toArray();

      mfp.index = 0;
      var items = data.items,
        item;
      for(i = 0; i < items.length; i++) {
        item = items[i];
        if(item.parsed) {
          item = item.el[0];
        }
        if(item === data.el[0]) {
          mfp.index = i;
          break;
        }
      }
    } else {
      mfp.items = $.isArray(data.items) ? data.items : [data.items];
      mfp.index = data.index || 0;
    }

    // if popup is already opened - we just update the content
    if(mfp.isOpen) {
      mfp.updateItemHTML();
      return;
    }
    
    mfp.types = []; 
    _wrapClasses = '';
    mfp.ev = data.mainEl || _document;

    if(data.key) {
      if(!mfp.popupsCache[data.key]) {
        mfp.popupsCache[data.key] = {};
      }
      mfp.currTemplate = mfp.popupsCache[data.key];
    } else {
      mfp.currTemplate = {};
    }



    mfp.st = $.extend(true, {}, $.magnificPopup.defaults, data ); 
    mfp.fixedContentPos = mfp.st.fixedContentPos === 'auto' ? !mfp.probablyMobile : mfp.st.fixedContentPos;
    
    

    // Building markup
    // main containers are created only once
    if(!mfp.bgOverlay) {

      // Dark overlay
      mfp.bgOverlay = _getEl('bg').on('click'+EVENT_NS, function() {
        mfp.close();
      });

      mfp.wrap = _getEl('wrap').attr('tabindex', -1).on('click'+EVENT_NS, function(e) {
        if(_checkIfClose(e.target)) {
          mfp.close();
        }
      });

      mfp.container = _getEl('container', mfp.wrap);
    }

    mfp.contentContainer = _getEl('content');
    if(mfp.st.preloader) {
      mfp.preloader = _getEl('preloader', mfp.container, mfp.st.tLoading);
    }


    // Initializing modules
    var modules = $.magnificPopup.modules;
    for(i = 0; i < modules.length; i++) {
      var n = modules[i];
      n = n.charAt(0).toUpperCase() + n.slice(1);
      mfp['init'+n].call(mfp);
    }
    _mfpTrigger('BeforeOpen');


    // Close button
    if(!mfp.st.closeBtnInside) {
      mfp.wrap.append( _getCloseBtn() );
    } else {
      _mfpOn(MARKUP_PARSE_EVENT, function(e, template, values, item) {
        values.close_replaceWith = _getCloseBtn(item.type);
      });
      _wrapClasses += ' mfp-close-btn-in';
    }

    if(mfp.st.alignTop) {
      _wrapClasses += ' mfp-align-top';
    }

  

    if(mfp.fixedContentPos) {
      mfp.wrap.css({
        overflow: mfp.st.overflowY,
        overflowX: 'hidden',
        overflowY: mfp.st.overflowY
      });
    } else {
      mfp.wrap.css({ 
        top: _window.scrollTop(),
        position: 'absolute'
      });
    }
    if( mfp.st.fixedBgPos === false || (mfp.st.fixedBgPos === 'auto' && !mfp.fixedContentPos) ) {
      mfp.bgOverlay.css({
        height: _document.height(),
        position: 'absolute'
      });
    }

    

    // Close on ESC key
    _document.on('keyup' + EVENT_NS, function(e) {
      if(e.keyCode === 27) {
        mfp.close();
      }
    });

    _window.on('resize' + EVENT_NS, function() {
      mfp.updateSize();
    });


    if(!mfp.st.closeOnContentClick) {
      _wrapClasses += ' mfp-auto-cursor';
    }
    
    if(_wrapClasses)
      mfp.wrap.addClass(_wrapClasses);


    // this triggers recalculation of layout, so we get it once to not to trigger twice
    var windowHeight = mfp.wH = _window.height();

    
    var bodyStyles = {};

    if( mfp.fixedContentPos ) {
            if(mfp._hasScrollBar(windowHeight)){
                var s = mfp._getScrollbarSize();
                if(s) {
                    bodyStyles.paddingRight = s;
                }
            }
        }

    if(mfp.fixedContentPos) {
      if(!mfp.isIE7) {
        bodyStyles.overflow = 'hidden';
      } else {
        // ie7 double-scroll bug
        $('body, html').css('overflow', 'hidden');
      }
    }

    
    
    var classesToadd = mfp.st.mainClass;
    if(mfp.isIE7) {
      classesToadd += ' mfp-ie7';
    }
    if(classesToadd) {
      mfp._addClassToMFP( classesToadd );
    }

    // add content
    mfp.updateItemHTML();

    _mfpTrigger('BuildControls');


    // remove scrollbar, add padding e.t.c
    _body.css(bodyStyles);
    
    // add everything to DOM
    mfp.bgOverlay.add(mfp.wrap).prependTo( document.body );



    // Save last focused element
    mfp._lastFocusedEl = document.activeElement;
    
    // Wait for next cycle to allow CSS transition
    setTimeout(function() {
      
      if(mfp.content) {
        mfp._addClassToMFP(READY_CLASS);
        _setFocus();
      } else {
        // if content is not defined (not loaded e.t.c) we add class only for BG
        mfp.bgOverlay.addClass(READY_CLASS);
      }
      
      // Trap the focus in popup
      _document.on('focusin' + EVENT_NS, function (e) {
        if( e.target !== mfp.wrap[0] && !$.contains(mfp.wrap[0], e.target) ) {
          _setFocus();
          return false;
        }
      });

    }, 16);

    mfp.isOpen = true;
    mfp.updateSize(windowHeight);
    _mfpTrigger(OPEN_EVENT);
  },

  /**
   * Closes the popup
   */
  close: function() {
    if(!mfp.isOpen) return;

    mfp.isOpen = false;
    // for CSS3 animation
    if(mfp.st.removalDelay && !mfp.isLowIE)  {
      mfp._addClassToMFP(REMOVING_CLASS);
      setTimeout(function() {
        mfp._close();
      }, mfp.st.removalDelay);
    } else {
      mfp._close();
    }
  },

  /**
   * Helper for close() function
   */
  _close: function() {
    _mfpTrigger(CLOSE_EVENT);

    var classesToRemove = REMOVING_CLASS + ' ' + READY_CLASS + ' ';

    mfp.bgOverlay.detach();
    mfp.wrap.detach();
    mfp.container.empty();

    if(mfp.st.mainClass) {
      classesToRemove += mfp.st.mainClass + ' ';
    }

    mfp._removeClassFromMFP(classesToRemove);

    if(mfp.fixedContentPos) {
      var bodyStyles = {paddingRight: ''};
      if(mfp.isIE7) {
        $('body, html').css('overflow', '');
      } else {
        bodyStyles.overflow = '';
      }
      _body.css(bodyStyles);
    }
    
    _document.off('keyup' + EVENT_NS + ' focusin' + EVENT_NS);
    mfp.ev.off(EVENT_NS);

    // clean up DOM elements that aren't removed
    mfp.wrap.attr('class', 'mfp-wrap').removeAttr('style');
    mfp.bgOverlay.attr('class', 'mfp-bg');
    mfp.container.attr('class', 'mfp-container');

    // remove close button from target element
    if(!mfp.st.closeBtnInside || mfp.currTemplate[mfp.currItem.type] === true ) {
      if(mfp.currTemplate.closeBtn)
        mfp.currTemplate.closeBtn.detach();
    }


    if(mfp._lastFocusedEl) {
      $(mfp._lastFocusedEl).focus(); // put tab focus back
    }
    mfp.currItem = null;  
    mfp.content = null;
    mfp.currTemplate = null;
    mfp.prevHeight = 0;

    _mfpTrigger(AFTER_CLOSE_EVENT);
  },
  
  updateSize: function(winHeight) {

    if(mfp.isIOS) {
      // fixes iOS nav bars https://github.com/dimsemenov/Magnific-Popup/issues/2
      var zoomLevel = document.documentElement.clientWidth / window.innerWidth;
      var height = window.innerHeight * zoomLevel;
      mfp.wrap.css('height', height);
      mfp.wH = height;
    } else {
      mfp.wH = winHeight || _window.height();
    }
    // Fixes #84: popup incorrectly positioned with position:relative on body
    if(!mfp.fixedContentPos) {
      mfp.wrap.css('height', mfp.wH);
    }

    _mfpTrigger('Resize');

  },

  /**
   * Set content of popup based on current index
   */
  updateItemHTML: function() {
    var item = mfp.items[mfp.index];

    // Detach and perform modifications
    mfp.contentContainer.detach();

    if(mfp.content)
      mfp.content.detach();

    if(!item.parsed) {
      item = mfp.parseEl( mfp.index );
    }

    var type = item.type; 

    _mfpTrigger('BeforeChange', [mfp.currItem ? mfp.currItem.type : '', type]);
    // BeforeChange event works like so:
    // _mfpOn('BeforeChange', function(e, prevType, newType) { });
    
    mfp.currItem = item;

    

    

    if(!mfp.currTemplate[type]) {
      var markup = mfp.st[type] ? mfp.st[type].markup : false;

      // allows to modify markup
      _mfpTrigger('FirstMarkupParse', markup);

      if(markup) {
        mfp.currTemplate[type] = $(markup);
      } else {
        // if there is no markup found we just define that template is parsed
        mfp.currTemplate[type] = true;
      }
    }

    if(_prevContentType && _prevContentType !== item.type) {
      mfp.container.removeClass('mfp-'+_prevContentType+'-holder');
    }
    
    var newContent = mfp['get' + type.charAt(0).toUpperCase() + type.slice(1)](item, mfp.currTemplate[type]);
    mfp.appendContent(newContent, type);

    item.preloaded = true;

    _mfpTrigger(CHANGE_EVENT, item);
    _prevContentType = item.type;
    
    // Append container back after its content changed
    mfp.container.prepend(mfp.contentContainer);

    _mfpTrigger('AfterChange');
  },


  /**
   * Set HTML content of popup
   */
  appendContent: function(newContent, type) {
    mfp.content = newContent;
    
    if(newContent) {
      if(mfp.st.closeBtnInside && mfp.currTemplate[type] === true) {
        // if there is no markup, we just append close button element inside
        if(!mfp.content.find('.mfp-close').length) {
          mfp.content.append(_getCloseBtn());
        }
      } else {
        mfp.content = newContent;
      }
    } else {
      mfp.content = '';
    }

    _mfpTrigger(BEFORE_APPEND_EVENT);
    mfp.container.addClass('mfp-'+type+'-holder');

    mfp.contentContainer.append(mfp.content);
  },



  
  /**
   * Creates Magnific Popup data object based on given data
   * @param  {int} index Index of item to parse
   */
  parseEl: function(index) {
    var item = mfp.items[index],
      type = item.type;

    if(item.tagName) {
      item = { el: $(item) };
    } else {
      item = { data: item, src: item.src };
    }

    if(item.el) {
      var types = mfp.types;

      // check for 'mfp-TYPE' class
      for(var i = 0; i < types.length; i++) {
        if( item.el.hasClass('mfp-'+types[i]) ) {
          type = types[i];
          break;
        }
      }

      item.src = item.el.attr('data-mfp-src');
      if(!item.src) {
        item.src = item.el.attr('href');
      }
    }

    item.type = type || mfp.st.type || 'inline';
    item.index = index;
    item.parsed = true;
    mfp.items[index] = item;
    _mfpTrigger('ElementParse', item);

    return mfp.items[index];
  },


  /**
   * Initializes single popup or a group of popups
   */
  addGroup: function(el, options) {
    var eHandler = function(e) {
      e.mfpEl = this;
      mfp._openClick(e, el, options);
    };

    if(!options) {
      options = {};
    } 

    var eName = 'click.magnificPopup';
    options.mainEl = el;
    
    if(options.items) {
      options.isObj = true;
      el.off(eName).on(eName, eHandler);
    } else {
      options.isObj = false;
      if(options.delegate) {
        el.off(eName).on(eName, options.delegate , eHandler);
      } else {
        options.items = el;
        el.off(eName).on(eName, eHandler);
      }
    }
  },
  _openClick: function(e, el, options) {
    var midClick = options.midClick !== undefined ? options.midClick : $.magnificPopup.defaults.midClick;
    if( midClick || e.which !== 2 ) {
      var disableOn = options.disableOn !== undefined ? options.disableOn : $.magnificPopup.defaults.disableOn;

      if(disableOn) {
        if($.isFunction(disableOn)) {
          if( !disableOn.call(mfp) ) {
            return true;
          }
        } else { // else it's number
          if( _window.width() < disableOn ) {
            return true;
          }
        }
      }
      
      if(e.type) {
        e.preventDefault();

        // This will prevent popup from closing if element is inside and popup is already opened
        if(mfp.isOpen) {
          e.stopPropagation();
        }
      }
        

      options.el = $(e.mfpEl);
      if(options.delegate) {
        options.items = el.find(options.delegate);
      }
      mfp.open(options);
    }
  },


  /**
   * Updates text on preloader
   */
  updateStatus: function(status, text) {

    if(mfp.preloader) {
      if(_prevStatus !== status) {
        mfp.container.removeClass('mfp-s-'+_prevStatus);
      }

      if(!text && status === 'loading') {
        text = mfp.st.tLoading;
      }

      var data = {
        status: status,
        text: text
      };
      // allows to modify status
      _mfpTrigger('UpdateStatus', data);

      status = data.status;
      text = data.text;

      mfp.preloader.html(text);

      mfp.preloader.find('a').click(function(e) {
        e.stopImmediatePropagation();
      });

      mfp.container.addClass('mfp-s-'+status);
      _prevStatus = status;
    }
  },


  /*
    "Private" helpers that aren't private at all
   */
  _addClassToMFP: function(cName) {
    mfp.bgOverlay.addClass(cName);
    mfp.wrap.addClass(cName);
  },
  _removeClassFromMFP: function(cName) {
    this.bgOverlay.removeClass(cName);
    mfp.wrap.removeClass(cName);
  },
  _hasScrollBar: function(winHeight) {
    return (  (mfp.isIE7 ? _document.height() : document.body.scrollHeight) > (winHeight || _window.height()) )
  },
  _parseMarkup: function(template, values, item) {
    var arr;
    if(item.data) {
      values = $.extend(item.data, values);
    }
    _mfpTrigger(MARKUP_PARSE_EVENT, [template, values, item] );

    $.each(values, function(key, value) {
      if(value === undefined || value === false) {
        return true;
      }
      arr = key.split('_');
      if(arr.length > 1) {
        var el = template.find(EVENT_NS + '-'+arr[0]);

        if(el.length > 0) {
          var attr = arr[1];
          if(attr === 'replaceWith') {
            if(el[0] !== value[0]) {
              el.replaceWith(value);
            }
          } else if(attr === 'img') {
            if(el.is('img')) {
              el.attr('src', value);
            } else {
              el.replaceWith( '<img src="'+value+'" class="' + el.attr('class') + '" />' );
            }
          } else {
            el.attr(arr[1], value);
          }
        }

      } else {
        template.find(EVENT_NS + '-'+key).html(value);
      }
    });
  },

  _getScrollbarSize: function() {
    // thx David
    if(mfp.scrollbarSize === undefined) {
      var scrollDiv = document.createElement("div");
      scrollDiv.id = "mfp-sbm";
      scrollDiv.style.cssText = 'width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;';
      document.body.appendChild(scrollDiv);
      mfp.scrollbarSize = scrollDiv.offsetWidth - scrollDiv.clientWidth;
      document.body.removeChild(scrollDiv);
    }
    return mfp.scrollbarSize;
  }

}; /* MagnificPopup core prototype end */




/**
 * Public static functions
 */
$.magnificPopup = {
  instance: null,
  proto: MagnificPopup.prototype,
  modules: [],

  open: function(options, index) {
    _checkInstance(); 

    if(!options) 
      options = {};

    options.isObj = true;
    options.index = index || 0;
    return this.instance.open(options);
  },

  close: function() {
    return $.magnificPopup.instance.close();
  },

  registerModule: function(name, module) {
    if(module.options) {
      $.magnificPopup.defaults[name] = module.options;
    }
    $.extend(this.proto, module.proto);     
    this.modules.push(name);
  },

  defaults: {   

    // Info about options is in docs:
    // http://dimsemenov.com/plugins/magnific-popup/documentation.html#options
    
    disableOn: 0, 

    key: null,

    midClick: false,

    mainClass: '',

    preloader: true,

    focus: '', // CSS selector of input to focus after popup is opened
    
    closeOnContentClick: false,

    closeOnBgClick: true,

    closeBtnInside: true, 

    alignTop: false,
  
    removalDelay: 0,
    
    fixedContentPos: 'auto', 
  
    fixedBgPos: 'auto',

    overflowY: 'auto',

    closeMarkup: '<button title="%title%" type="button" class="mfp-close">&times;</button>',

    tClose: 'Close (Esc)',

    tLoading: 'Loading...'

  }
};



$.fn.magnificPopup = function(options) {
  _checkInstance();

  var jqEl = $(this);

  // We call some API method of first param is a string
  if (typeof options === "string" ) {

    if(options === 'open') {
      var items,
        itemOpts = _isJQ ? jqEl.data('magnificPopup') : jqEl[0].magnificPopup,
        index = parseInt(arguments[1], 10) || 0;

      if(itemOpts.items) {
        items = itemOpts.items[index];
      } else {
        items = jqEl;
        if(itemOpts.delegate) {
          items = items.find(itemOpts.delegate);
        }
        items = items.eq( index );
      }
      mfp._openClick({mfpEl:items}, jqEl, itemOpts);
    } else {
      if(mfp.isOpen)
        mfp[options].apply(mfp, Array.prototype.slice.call(arguments, 1));
    }

  } else {

    /*
     * As Zepto doesn't support .data() method for objects 
     * and it works only in normal browsers
     * we assign "options" object directly to the DOM element. FTW!
     */
    if(_isJQ) {
      jqEl.data('magnificPopup', options);
    } else {
      jqEl[0].magnificPopup = options;
    }

    mfp.addGroup(jqEl, options);

  }
  return jqEl;
};


//Quick benchmark
/*
var start = performance.now(),
  i,
  rounds = 1000;

for(i = 0; i < rounds; i++) {

}
console.log('Test #1:', performance.now() - start);

start = performance.now();
for(i = 0; i < rounds; i++) {

}
console.log('Test #2:', performance.now() - start);
*/


/*>>core*/

/*>>inline*/

var INLINE_NS = 'inline',
  _hiddenClass,
  _inlinePlaceholder, 
  _lastInlineElement,
  _putInlineElementsBack = function() {
    if(_lastInlineElement) {
      _inlinePlaceholder.after( _lastInlineElement.addClass(_hiddenClass) ).detach();
      _lastInlineElement = null;
    }
  };

$.magnificPopup.registerModule(INLINE_NS, {
  options: {
    hiddenClass: 'hide', // will be appended with `mfp-` prefix
    markup: '',
    tNotFound: 'Content not found'
  },
  proto: {

    initInline: function() {
      mfp.types.push(INLINE_NS);

      _mfpOn(CLOSE_EVENT+'.'+INLINE_NS, function() {
        _putInlineElementsBack();
      });
    },

    getInline: function(item, template) {

      _putInlineElementsBack();

      if(item.src) {
        var inlineSt = mfp.st.inline,
          el = $(item.src);

        if(el.length) {

          // If target element has parent - we replace it with placeholder and put it back after popup is closed
          var parent = el[0].parentNode;
          if(parent && parent.tagName) {
            if(!_inlinePlaceholder) {
              _hiddenClass = inlineSt.hiddenClass;
              _inlinePlaceholder = _getEl(_hiddenClass);
              _hiddenClass = 'mfp-'+_hiddenClass;
            }
            // replace target inline element with placeholder
            _lastInlineElement = el.after(_inlinePlaceholder).detach().removeClass(_hiddenClass);
          }

          mfp.updateStatus('ready');
        } else {
          mfp.updateStatus('error', inlineSt.tNotFound);
          el = $('<div>');
        }

        item.inlineElement = el;
        return el;
      }

      mfp.updateStatus('ready');
      mfp._parseMarkup(template, {}, item);
      return template;
    }
  }
});

/*>>inline*/

/*>>ajax*/
var AJAX_NS = 'ajax',
  _ajaxCur,
  _removeAjaxCursor = function() {
    if(_ajaxCur) {
      _body.removeClass(_ajaxCur);
    }
  };

$.magnificPopup.registerModule(AJAX_NS, {

  options: {
    settings: null,
    cursor: 'mfp-ajax-cur',
    tError: '<a href="%url%">The content</a> could not be loaded.'
  },

  proto: {
    initAjax: function() {
      mfp.types.push(AJAX_NS);
      _ajaxCur = mfp.st.ajax.cursor;

      _mfpOn(CLOSE_EVENT+'.'+AJAX_NS, function() {
        _removeAjaxCursor();
        if(mfp.req) {
          mfp.req.abort();
        }
      });
    },

    getAjax: function(item) {

      if(_ajaxCur)
        _body.addClass(_ajaxCur);

      mfp.updateStatus('loading');

      var opts = $.extend({
        url: item.src,
        success: function(data, textStatus, jqXHR) {
          var temp = {
            data:data,
            xhr:jqXHR
          };

          _mfpTrigger('ParseAjax', temp);

          mfp.appendContent( $(temp.data), AJAX_NS );

          item.finished = true;

          _removeAjaxCursor();

          _setFocus();

          setTimeout(function() {
            mfp.wrap.addClass(READY_CLASS);
          }, 16);

          mfp.updateStatus('ready');

          _mfpTrigger('AjaxContentAdded');
        },
        error: function() {
          _removeAjaxCursor();
          item.finished = item.loadError = true;
          mfp.updateStatus('error', mfp.st.ajax.tError.replace('%url%', item.src));
        }
      }, mfp.st.ajax.settings);

      mfp.req = $.ajax(opts);

      return '';
    }
  }
});





  

/*>>ajax*/

/*>>image*/
var _imgInterval,
  _getTitle = function(item) {
    if(item.data && item.data.title !== undefined) 
      return item.data.title;

    var src = mfp.st.image.titleSrc;

    if(src) {
      if($.isFunction(src)) {
        return src.call(mfp, item);
      } else if(item.el) {
        return item.el.attr(src) || '';
      }
    }
    return '';
  };

$.magnificPopup.registerModule('image', {

  options: {
    markup: '<div class="mfp-figure">'+
          '<div class="mfp-close"></div>'+
          '<div class="mfp-img"></div>'+
          '<div class="mfp-bottom-bar">'+
            '<div class="mfp-title"></div>'+
            '<div class="mfp-counter"></div>'+
          '</div>'+
        '</div>',
    cursor: 'mfp-zoom-out-cur',
    titleSrc: 'title', 
    verticalFit: true,
    tError: '<a href="%url%">The image</a> could not be loaded.'
  },

  proto: {
    initImage: function() {
      var imgSt = mfp.st.image,
        ns = '.image';

      mfp.types.push('image');

      _mfpOn(OPEN_EVENT+ns, function() {
        if(mfp.currItem.type === 'image' && imgSt.cursor) {
          _body.addClass(imgSt.cursor);
        }
      });

      _mfpOn(CLOSE_EVENT+ns, function() {
        if(imgSt.cursor) {
          _body.removeClass(imgSt.cursor);
        }
        _window.off('resize' + EVENT_NS);
      });

      _mfpOn('Resize'+ns, mfp.resizeImage);
      if(mfp.isLowIE) {
        _mfpOn('AfterChange', mfp.resizeImage);
      }
    },
    resizeImage: function() {
      var item = mfp.currItem;
      if(!item.img) return;

      if(mfp.st.image.verticalFit) {
        var decr = 0;
        // fix box-sizing in ie7/8
        if(mfp.isLowIE) {
          decr = parseInt(item.img.css('padding-top'), 10) + parseInt(item.img.css('padding-bottom'),10);
        }
        item.img.css('max-height', mfp.wH-decr);
      }
    },
    _onImageHasSize: function(item) {
      if(item.img) {
        
        item.hasSize = true;

        if(_imgInterval) {
          clearInterval(_imgInterval);
        }
        
        item.isCheckingImgSize = false;

        _mfpTrigger('ImageHasSize', item);

        if(item.imgHidden) {
          if(mfp.content)
            mfp.content.removeClass('mfp-loading');
          
          item.imgHidden = false;
        }

      }
    },

    /**
     * Function that loops until the image has size to display elements that rely on it asap
     */
    findImageSize: function(item) {

      var counter = 0,
        img = item.img[0],
        mfpSetInterval = function(delay) {

          if(_imgInterval) {
            clearInterval(_imgInterval);
          }
          // decelerating interval that checks for size of an image
          _imgInterval = setInterval(function() {
            if(img.naturalWidth > 0) {
              mfp._onImageHasSize(item);
              return;
            }

            if(counter > 200) {
              clearInterval(_imgInterval);
            }

            counter++;
            if(counter === 3) {
              mfpSetInterval(10);
            } else if(counter === 40) {
              mfpSetInterval(50);
            } else if(counter === 100) {
              mfpSetInterval(500);
            }
          }, delay);
        };

      mfpSetInterval(1);
    },

    getImage: function(item, template) {

      var guard = 0,

        // image load complete handler
        onLoadComplete = function() {
          if(item) {
            if (item.img[0].complete) {
              item.img.off('.mfploader');
              
              if(item === mfp.currItem){
                mfp._onImageHasSize(item);

                mfp.updateStatus('ready');
              }

              item.hasSize = true;
              item.loaded = true;
              
            }
            else {
              // if image complete check fails 200 times (20 sec), we assume that there was an error.
              guard++;
              if(guard < 200) {
                setTimeout(onLoadComplete,100);
              } else {
                onLoadError();
              }
            }
          }
        },

        // image error handler
        onLoadError = function() {
          if(item) {
            item.img.off('.mfploader');
            if(item === mfp.currItem){
              mfp._onImageHasSize(item);
              mfp.updateStatus('error', imgSt.tError.replace('%url%', item.src) );
            }

            item.hasSize = true;
            item.loaded = true;
            item.loadError = true;
          }
        },
        imgSt = mfp.st.image;


      var el = template.find('.mfp-img');
      if(el.length) {
        var img = new Image();
        img.className = 'mfp-img';
        item.img = $(img).on('load.mfploader', onLoadComplete).on('error.mfploader', onLoadError);
        img.src = item.src;

        // without clone() "error" event is not firing when IMG is replaced by new IMG
        // TODO: find a way to avoid such cloning
        if(el.is('img')) {
          item.img = item.img.clone();
        }
      }

      mfp._parseMarkup(template, {
        title: _getTitle(item),
        img_replaceWith: item.img
      }, item);

      mfp.resizeImage();

      if(item.hasSize) {
        if(_imgInterval) clearInterval(_imgInterval);

        if(item.loadError) {
          template.addClass('mfp-loading');
          mfp.updateStatus('error', imgSt.tError.replace('%url%', item.src) );
        } else {
          template.removeClass('mfp-loading');
          mfp.updateStatus('ready');
        }
        return template;
      }

      mfp.updateStatus('loading');
      item.loading = true;

      if(!item.hasSize) {
        item.imgHidden = true;
        template.addClass('mfp-loading');
        mfp.findImageSize(item);
      } 

      return template;
    }
  }
});



/*>>image*/

/*>>iframe*/

var IFRAME_NS = 'iframe',
  _emptyPage = '//about:blank',
  
  _fixIframeBugs = function(isShowing) {
    if(mfp.currTemplate[IFRAME_NS]) {
      var el = mfp.currTemplate[IFRAME_NS].find('iframe');
      if(el.length) { 
        // reset src after the popup is closed to avoid "video keeps playing after popup is closed" bug
        if(!isShowing) {
          el[0].src = _emptyPage;
        }

        // IE8 black screen bug fix
        if(mfp.isIE8) {
          el.css('display', isShowing ? 'block' : 'none');
        }
      }
    }
  };

$.magnificPopup.registerModule(IFRAME_NS, {

  options: {
    markup: '<div class="mfp-iframe-scaler">'+
          '<div class="mfp-close"></div>'+
          '<iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe>'+
        '</div>',

    srcAction: 'iframe_src',

    // we don't care and support only one default type of URL by default
    patterns: {
      youtube: {
        index: 'youtube.com', 
        id: 'v=', 
        src: '//www.youtube.com/embed/%id%?autoplay=1'
      },
      vimeo: {
        index: 'vimeo.com/',
        id: '/',
        src: '//player.vimeo.com/video/%id%?autoplay=1'
      },
      gmaps: {
        index: '//maps.google.',
        src: '%id%&output=embed'
      }
    }
  },

  proto: {
    initIframe: function() {
      mfp.types.push(IFRAME_NS);

      _mfpOn('BeforeChange', function(e, prevType, newType) {
        if(prevType !== newType) {
          if(prevType === IFRAME_NS) {
            _fixIframeBugs(); // iframe if removed
          } else if(newType === IFRAME_NS) {
            _fixIframeBugs(true); // iframe is showing
          } 
        }// else {
          // iframe source is switched, don't do anything
        //}
      });

      _mfpOn(CLOSE_EVENT + '.' + IFRAME_NS, function() {
        _fixIframeBugs();
      });
    },

    getIframe: function(item, template) {
      var embedSrc = item.src;
      var iframeSt = mfp.st.iframe;
        
      $.each(iframeSt.patterns, function() {
        if(embedSrc.indexOf( this.index ) > -1) {
          if(this.id) {
            if(typeof this.id === 'string') {
              embedSrc = embedSrc.substr(embedSrc.lastIndexOf(this.id)+this.id.length, embedSrc.length);
            } else {
              embedSrc = this.id.call( this, embedSrc );
            }
          }
          embedSrc = this.src.replace('%id%', embedSrc );
          return false; // break;
        }
      });
      
      var dataObj = {};
      if(iframeSt.srcAction) {
        dataObj[iframeSt.srcAction] = embedSrc;
      }
      mfp._parseMarkup(template, dataObj, item);

      mfp.updateStatus('ready');

      return template;
    }
  }
});



/*>>iframe*/

/*>>gallery*/
/**
 * Get looped index depending on number of slides
 */
var _getLoopedId = function(index) {
    var numSlides = mfp.items.length;
    if(index > numSlides - 1) {
      return index - numSlides;
    } else  if(index < 0) {
      return numSlides + index;
    }
    return index;
  },
  _replaceCurrTotal = function(text, curr, total) {
    return text.replace('%curr%', curr + 1).replace('%total%', total);
  };

$.magnificPopup.registerModule('gallery', {

  options: {
    enabled: false,
    arrowMarkup: '<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',
    preload: [0,2],
    navigateByImgClick: true,
    arrows: true,

    tPrev: 'Previous (Left arrow key)',
    tNext: 'Next (Right arrow key)',
    tCounter: '%curr% of %total%'
  },

  proto: {
    initGallery: function() {

      var gSt = mfp.st.gallery,
        ns = '.mfp-gallery',
        supportsFastClick = Boolean($.fn.mfpFastClick);

      mfp.direction = true; // true - next, false - prev
      
      if(!gSt || !gSt.enabled ) return false;

      _wrapClasses += ' mfp-gallery';

      _mfpOn(OPEN_EVENT+ns, function() {

        if(gSt.navigateByImgClick) {
          mfp.wrap.on('click'+ns, '.mfp-img', function() {
            if(mfp.items.length > 1) {
              mfp.next();
              return false;
            }
          });
        }

        _document.on('keydown'+ns, function(e) {
          if (e.keyCode === 37) {
            mfp.prev();
          } else if (e.keyCode === 39) {
            mfp.next();
          }
        });
      });

      _mfpOn('UpdateStatus'+ns, function(e, data) {
        if(data.text) {
          data.text = _replaceCurrTotal(data.text, mfp.currItem.index, mfp.items.length);
        }
      });

      _mfpOn(MARKUP_PARSE_EVENT+ns, function(e, element, values, item) {
        var l = mfp.items.length;
        values.counter = l > 1 ? _replaceCurrTotal(gSt.tCounter, item.index, l) : '';
      });

      _mfpOn('BuildControls' + ns, function() {
        if(mfp.items.length > 1 && gSt.arrows && !mfp.arrowLeft) {
          var markup = gSt.arrowMarkup,
            arrowLeft = mfp.arrowLeft = $( markup.replace('%title%', gSt.tPrev).replace('%dir%', 'left') ).addClass(PREVENT_CLOSE_CLASS),     
            arrowRight = mfp.arrowRight = $( markup.replace('%title%', gSt.tNext).replace('%dir%', 'right') ).addClass(PREVENT_CLOSE_CLASS);

          var eName = supportsFastClick ? 'mfpFastClick' : 'click';
          arrowLeft[eName](function() {
            mfp.prev();
          });     
          arrowRight[eName](function() {
            mfp.next();
          }); 

          // Polyfill for :before and :after (adds elements with classes mfp-a and mfp-b)
          if(mfp.isIE7) {
            _getEl('b', arrowLeft[0], false, true);
            _getEl('a', arrowLeft[0], false, true);
            _getEl('b', arrowRight[0], false, true);
            _getEl('a', arrowRight[0], false, true);
          }

          mfp.container.append(arrowLeft.add(arrowRight));
        }
      });

      _mfpOn(CHANGE_EVENT+ns, function() {
        if(mfp._preloadTimeout) clearTimeout(mfp._preloadTimeout);

        mfp._preloadTimeout = setTimeout(function() {
          mfp.preloadNearbyImages();
          mfp._preloadTimeout = null;
        }, 16);   
      });


      _mfpOn(CLOSE_EVENT+ns, function() {
        _document.off(ns);
        mfp.wrap.off('click'+ns);
      
        if(mfp.arrowLeft && supportsFastClick) {
          mfp.arrowLeft.add(mfp.arrowRight).destroyMfpFastClick();
        }
        mfp.arrowRight = mfp.arrowLeft = null;
      });

    }, 
    next: function() {
      mfp.direction = true;
      mfp.index = _getLoopedId(mfp.index + 1);
      mfp.updateItemHTML();
    },
    prev: function() {
      mfp.direction = false;
      mfp.index = _getLoopedId(mfp.index - 1);
      mfp.updateItemHTML();
    },
    goTo: function(newIndex) {
      mfp.direction = (newIndex >= mfp.index);
      mfp.index = newIndex;
      mfp.updateItemHTML();
    },
    preloadNearbyImages: function() {
      var p = mfp.st.gallery.preload,
        preloadBefore = Math.min(p[0], mfp.items.length),
        preloadAfter = Math.min(p[1], mfp.items.length),
        i;

      for(i = 1; i <= (mfp.direction ? preloadAfter : preloadBefore); i++) {
        mfp._preloadItem(mfp.index+i);
      }
      for(i = 1; i <= (mfp.direction ? preloadBefore : preloadAfter); i++) {
        mfp._preloadItem(mfp.index-i);
      }
    },
    _preloadItem: function(index) {
      index = _getLoopedId(index);

      if(mfp.items[index].preloaded) {
        return;
      }

      var item = mfp.items[index];
      if(!item.parsed) {
        item = mfp.parseEl( index );
      }

      _mfpTrigger('LazyLoad', item);

      if(item.type === 'image') {
        item.img = $('<img class="mfp-img" />').on('load.mfploader', function() {
          item.hasSize = true;
        }).on('error.mfploader', function() {
          item.hasSize = true;
          item.loadError = true;
        }).attr('src', item.src);
      }


      item.preloaded = true;
    }
  }
});

/*
Touch Support that might be implemented some day

addSwipeGesture: function() {
  var startX,
    moved,
    multipleTouches;

    return;

  var namespace = '.mfp',
    addEventNames = function(pref, down, move, up, cancel) {
      mfp._tStart = pref + down + namespace;
      mfp._tMove = pref + move + namespace;
      mfp._tEnd = pref + up + namespace;
      mfp._tCancel = pref + cancel + namespace;
    };

  if(window.navigator.msPointerEnabled) {
    addEventNames('MSPointer', 'Down', 'Move', 'Up', 'Cancel');
  } else if('ontouchstart' in window) {
    addEventNames('touch', 'start', 'move', 'end', 'cancel');
  } else {
    return;
  }
  _window.on(mfp._tStart, function(e) {
    var oE = e.originalEvent;
    multipleTouches = moved = false;
    startX = oE.pageX || oE.changedTouches[0].pageX;
  }).on(mfp._tMove, function(e) {
    if(e.originalEvent.touches.length > 1) {
      multipleTouches = e.originalEvent.touches.length;
    } else {
      //e.preventDefault();
      moved = true;
    }
  }).on(mfp._tEnd + ' ' + mfp._tCancel, function(e) {
    if(moved && !multipleTouches) {
      var oE = e.originalEvent,
        diff = startX - (oE.pageX || oE.changedTouches[0].pageX);

      if(diff > 20) {
        mfp.next();
      } else if(diff < -20) {
        mfp.prev();
      }
    }
  });
},
*/


/*>>gallery*/

/*>>retina*/

var RETINA_NS = 'retina';

$.magnificPopup.registerModule(RETINA_NS, {
  options: {
    replaceSrc: function(item) {
      return item.src.replace(/\.\w+$/, function(m) { return '@2x' + m; });
    },
    ratio: 1 // Function or number.  Set to 1 to disable.
  },
  proto: {
    initRetina: function() {
      if(window.devicePixelRatio > 1) {

        var st = mfp.st.retina,
          ratio = st.ratio;

        ratio = !isNaN(ratio) ? ratio : ratio();

        if(ratio > 1) {
          _mfpOn('ImageHasSize' + '.' + RETINA_NS, function(e, item) {
            item.img.css({
              'max-width': item.img[0].naturalWidth / ratio,
              'width': '100%'
            });
          });
          _mfpOn('ElementParse' + '.' + RETINA_NS, function(e, item) {
            item.src = st.replaceSrc(item, ratio);
          });
        }
      }

    }
  }
});

/*>>retina*/

/*>>fastclick*/
/**
 * FastClick event implementation. (removes 300ms delay on touch devices)
 * Based on https://developers.google.com/mobile/articles/fast_buttons
 *
 * You may use it outside the Magnific Popup by calling just:
 *
 * $('.your-el').mfpFastClick(function() {
 *     console.log('Clicked!');
 * });
 *
 * To unbind:
 * $('.your-el').destroyMfpFastClick();
 * 
 * 
 * Note that it's a very basic and simple implementation, it blocks ghost click on the same element where it was bound.
 * If you need something more advanced, use plugin by FT Labs https://github.com/ftlabs/fastclick
 * 
 */

(function() {
  var ghostClickDelay = 1000,
    supportsTouch = 'ontouchstart' in window,
    unbindTouchMove = function() {
      _window.off('touchmove'+ns+' touchend'+ns);
    },
    eName = 'mfpFastClick',
    ns = '.'+eName;


  // As Zepto.js doesn't have an easy way to add custom events (like jQuery), so we implement it in this way
  $.fn.mfpFastClick = function(callback) {

    return $(this).each(function() {

      var elem = $(this),
        lock;

      if( supportsTouch ) {

        var timeout,
          startX,
          startY,
          pointerMoved,
          point,
          numPointers;

        elem.on('touchstart' + ns, function(e) {
          pointerMoved = false;
          numPointers = 1;

          point = e.originalEvent ? e.originalEvent.touches[0] : e.touches[0];
          startX = point.clientX;
          startY = point.clientY;

          _window.on('touchmove'+ns, function(e) {
            point = e.originalEvent ? e.originalEvent.touches : e.touches;
            numPointers = point.length;
            point = point[0];
            if (Math.abs(point.clientX - startX) > 10 ||
              Math.abs(point.clientY - startY) > 10) {
              pointerMoved = true;
              unbindTouchMove();
            }
          }).on('touchend'+ns, function(e) {
            unbindTouchMove();
            if(pointerMoved || numPointers > 1) {
              return;
            }
            lock = true;
            e.preventDefault();
            clearTimeout(timeout);
            timeout = setTimeout(function() {
              lock = false;
            }, ghostClickDelay);
            callback();
          });
        });

      }

      elem.on('click' + ns, function() {
        if(!lock) {
          callback();
        }
      });
    });
  };

  $.fn.destroyMfpFastClick = function() {
    $(this).off('touchstart' + ns + ' click' + ns);
    if(supportsTouch) _window.off('touchmove'+ns+' touchend'+ns);
  };
})();

/*>>fastclick*/
})(window.jQuery || window.Zepto);

/*! Plugin options and other jQuery stuff */

// FitVids options
$(function() {
	$("article").fitVids();
});

// Table of Contents toggle
$(function() {
  $(".toc h3").click(function () {
    $("#drawer").toggleClass("hidden");
  });
});

// Add lightbox class to all image links
$("a[href$='.jpg'],a[href$='.png'],a[href$='.gif']").addClass("image-popup");

// Magnific-Popup options
$(document).ready(function() {
  $('.image-popup').magnificPopup({
    type: 'image',
    tLoading: 'Loading image #%curr%...',
    gallery: {
      enabled: true,
      navigateByImgClick: true,
      preload: [0,1] // Will preload 0 - before current, and 1 after the current image
    },
    image: {
      tError: '<a href="%url%">Image #%curr%</a> could not be loaded.',
    },
    removalDelay: 300, // Delay in milliseconds before popup is removed
    // Class that is added to body when popup is open. 
    // make it unique to apply your CSS animations just to this exact popup
    mainClass: 'mfp-fade'
  });
});
\ No newline at end of file

D assets/js/main.min.js => assets/js/main.min.js +0 -1
@@ 1,1 0,0 @@
(function(e){"use strict";e.fn.fitVids=function(t){var n={customSelector:null};var r=document.createElement("div"),i=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];r.className="fit-vids-style";r.innerHTML="­<style>               .fluid-width-video-wrapper {                 width: 100%;                              position: relative;                       padding: 0;                            }                                                                                   .fluid-width-video-wrapper iframe,        .fluid-width-video-wrapper object,        .fluid-width-video-wrapper embed {           position: absolute;                       top: 0;                                   left: 0;                                  width: 100%;                              height: 100%;                          }                                       </style>";i.parentNode.insertBefore(r,i);if(t){e.extend(n,t)}return this.each(function(){var t=["iframe[src*='player.vimeo.com']","iframe[src*='www.youtube.com']","iframe[src*='www.youtube-nocookie.com']","iframe[src*='www.kickstarter.com']","object","embed"];if(n.customSelector){t.push(n.customSelector)}var r=e(this).find(t.join(","));r.each(function(){var t=e(this);if(this.tagName.toLowerCase()==="embed"&&t.parent("object").length||t.parent(".fluid-width-video-wrapper").length){return}var n=this.tagName.toLowerCase()==="object"||t.attr("height")&&!isNaN(parseInt(t.attr("height"),10))?parseInt(t.attr("height"),10):t.height(),r=!isNaN(parseInt(t.attr("width"),10))?parseInt(t.attr("width"),10):t.width(),i=n/r;if(!t.attr("id")){var s="fitvid"+Math.floor(Math.random()*999999);t.attr("id",s)}t.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",i*100+"%");t.removeAttr("height").removeAttr("width")})})}})(jQuery);(function(e){var t="Close",n="AfterClose",r="BeforeAppend",i="MarkupParse",s="Open",o="Change",u="mfp",a="."+u,f="mfp-ready",l="mfp-removing",c="mfp-prevent-close";var h,p=function(){},d=!!window.jQuery,v,m=e(window),g,y,b,w,E;var S=function(e,t){h.ev.on(u+e+a,t)},x=function(t,n,r,i){var s=document.createElement("div");s.className="mfp-"+t;if(r){s.innerHTML=r}if(!i){s=e(s);if(n){s.appendTo(n)}}else if(n){n.appendChild(s)}return s},T=function(t,n){h.ev.triggerHandler(u+t,n);if(h.st.callbacks){t=t.charAt(0).toLowerCase()+t.slice(1);if(h.st.callbacks[t]){h.st.callbacks[t].apply(h,e.isArray(n)?n:[n])}}},N=function(){(h.st.focus?h.content.find(h.st.focus).eq(0):h.wrap).focus()},C=function(t){if(t!==E||!h.currTemplate.closeBtn){h.currTemplate.closeBtn=e(h.st.closeMarkup.replace("%title%",h.st.tClose));E=t}return h.currTemplate.closeBtn},k=function(){if(!e.magnificPopup.instance){h=new p;h.init();e.magnificPopup.instance=h}},L=function(t){if(e(t).hasClass(c)){return}var n=h.st.closeOnContentClick;var r=h.st.closeOnBgClick;if(n&&r){return true}else{if(!h.content||e(t).hasClass("mfp-close")||h.preloader&&t===h.preloader[0]){return true}if(t!==h.content[0]&&!e.contains(h.content[0],t)){if(r){return true}}else if(n){return true}}return false};p.prototype={constructor:p,init:function(){var t=navigator.appVersion;h.isIE7=t.indexOf("MSIE 7.")!==-1;h.isIE8=t.indexOf("MSIE 8.")!==-1;h.isLowIE=h.isIE7||h.isIE8;h.isAndroid=/android/gi.test(t);h.isIOS=/iphone|ipad|ipod/gi.test(t);h.probablyMobile=h.isAndroid||h.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent);g=e(document.body);y=e(document);h.popupsCache={}},open:function(t){var n;if(t.isObj===false){h.items=t.items.toArray();h.index=0;var r=t.items,o;for(n=0;n<r.length;n++){o=r[n];if(o.parsed){o=o.el[0]}if(o===t.el[0]){h.index=n;break}}}else{h.items=e.isArray(t.items)?t.items:[t.items];h.index=t.index||0}if(h.isOpen){h.updateItemHTML();return}h.types=[];w="";h.ev=t.mainEl||y;if(t.key){if(!h.popupsCache[t.key]){h.popupsCache[t.key]={}}h.currTemplate=h.popupsCache[t.key]}else{h.currTemplate={}}h.st=e.extend(true,{},e.magnificPopup.defaults,t);h.fixedContentPos=h.st.fixedContentPos==="auto"?!h.probablyMobile:h.st.fixedContentPos;if(!h.bgOverlay){h.bgOverlay=x("bg").on("click"+a,function(){h.close()});h.wrap=x("wrap").attr("tabindex",-1).on("click"+a,function(e){if(L(e.target)){h.close()}});h.container=x("container",h.wrap)}h.contentContainer=x("content");if(h.st.preloader){h.preloader=x("preloader",h.container,h.st.tLoading)}var u=e.magnificPopup.modules;for(n=0;n<u.length;n++){var l=u[n];l=l.charAt(0).toUpperCase()+l.slice(1);h["init"+l].call(h)}T("BeforeOpen");if(!h.st.closeBtnInside){h.wrap.append(C())}else{S(i,function(e,t,n,r){n.close_replaceWith=C(r.type)});w+=" mfp-close-btn-in"}if(h.st.alignTop){w+=" mfp-align-top"}if(h.fixedContentPos){h.wrap.css({overflow:h.st.overflowY,overflowX:"hidden",overflowY:h.st.overflowY})}else{h.wrap.css({top:m.scrollTop(),position:"absolute"})}if(h.st.fixedBgPos===false||h.st.fixedBgPos==="auto"&&!h.fixedContentPos){h.bgOverlay.css({height:y.height(),position:"absolute"})}y.on("keyup"+a,function(e){if(e.keyCode===27){h.close()}});m.on("resize"+a,function(){h.updateSize()});if(!h.st.closeOnContentClick){w+=" mfp-auto-cursor"}if(w)h.wrap.addClass(w);var c=h.wH=m.height();var p={};if(h.fixedContentPos){if(h._hasScrollBar(c)){var d=h._getScrollbarSize();if(d){p.paddingRight=d}}}if(h.fixedContentPos){if(!h.isIE7){p.overflow="hidden"}else{e("body, html").css("overflow","hidden")}}var v=h.st.mainClass;if(h.isIE7){v+=" mfp-ie7"}if(v){h._addClassToMFP(v)}h.updateItemHTML();T("BuildControls");g.css(p);h.bgOverlay.add(h.wrap).prependTo(document.body);h._lastFocusedEl=document.activeElement;setTimeout(function(){if(h.content){h._addClassToMFP(f);N()}else{h.bgOverlay.addClass(f)}y.on("focusin"+a,function(t){if(t.target!==h.wrap[0]&&!e.contains(h.wrap[0],t.target)){N();return false}})},16);h.isOpen=true;h.updateSize(c);T(s)},close:function(){if(!h.isOpen)return;h.isOpen=false;if(h.st.removalDelay&&!h.isLowIE){h._addClassToMFP(l);setTimeout(function(){h._close()},h.st.removalDelay)}else{h._close()}},_close:function(){T(t);var r=l+" "+f+" ";h.bgOverlay.detach();h.wrap.detach();h.container.empty();if(h.st.mainClass){r+=h.st.mainClass+" "}h._removeClassFromMFP(r);if(h.fixedContentPos){var i={paddingRight:""};if(h.isIE7){e("body, html").css("overflow","")}else{i.overflow=""}g.css(i)}y.off("keyup"+a+" focusin"+a);h.ev.off(a);h.wrap.attr("class","mfp-wrap").removeAttr("style");h.bgOverlay.attr("class","mfp-bg");h.container.attr("class","mfp-container");if(!h.st.closeBtnInside||h.currTemplate[h.currItem.type]===true){if(h.currTemplate.closeBtn)h.currTemplate.closeBtn.detach()}if(h._lastFocusedEl){e(h._lastFocusedEl).focus()}h.currItem=null;h.content=null;h.currTemplate=null;h.prevHeight=0;T(n)},updateSize:function(e){if(h.isIOS){var t=document.documentElement.clientWidth/window.innerWidth;var n=window.innerHeight*t;h.wrap.css("height",n);h.wH=n}else{h.wH=e||m.height()}if(!h.fixedContentPos){h.wrap.css("height",h.wH)}T("Resize")},updateItemHTML:function(){var t=h.items[h.index];h.contentContainer.detach();if(h.content)h.content.detach();if(!t.parsed){t=h.parseEl(h.index)}var n=t.type;T("BeforeChange",[h.currItem?h.currItem.type:"",n]);h.currItem=t;if(!h.currTemplate[n]){var r=h.st[n]?h.st[n].markup:false;T("FirstMarkupParse",r);if(r){h.currTemplate[n]=e(r)}else{h.currTemplate[n]=true}}if(b&&b!==t.type){h.container.removeClass("mfp-"+b+"-holder")}var i=h["get"+n.charAt(0).toUpperCase()+n.slice(1)](t,h.currTemplate[n]);h.appendContent(i,n);t.preloaded=true;T(o,t);b=t.type;h.container.prepend(h.contentContainer);T("AfterChange")},appendContent:function(e,t){h.content=e;if(e){if(h.st.closeBtnInside&&h.currTemplate[t]===true){if(!h.content.find(".mfp-close").length){h.content.append(C())}}else{h.content=e}}else{h.content=""}T(r);h.container.addClass("mfp-"+t+"-holder");h.contentContainer.append(h.content)},parseEl:function(t){var n=h.items[t],r=n.type;if(n.tagName){n={el:e(n)}}else{n={data:n,src:n.src}}if(n.el){var i=h.types;for(var s=0;s<i.length;s++){if(n.el.hasClass("mfp-"+i[s])){r=i[s];break}}n.src=n.el.attr("data-mfp-src");if(!n.src){n.src=n.el.attr("href")}}n.type=r||h.st.type||"inline";n.index=t;n.parsed=true;h.items[t]=n;T("ElementParse",n);return h.items[t]},addGroup:function(e,t){var n=function(n){n.mfpEl=this;h._openClick(n,e,t)};if(!t){t={}}var r="click.magnificPopup";t.mainEl=e;if(t.items){t.isObj=true;e.off(r).on(r,n)}else{t.isObj=false;if(t.delegate){e.off(r).on(r,t.delegate,n)}else{t.items=e;e.off(r).on(r,n)}}},_openClick:function(t,n,r){var i=r.midClick!==undefined?r.midClick:e.magnificPopup.defaults.midClick;if(i||t.which!==2){var s=r.disableOn!==undefined?r.disableOn:e.magnificPopup.defaults.disableOn;if(s){if(e.isFunction(s)){if(!s.call(h)){return true}}else{if(m.width()<s){return true}}}if(t.type){t.preventDefault();if(h.isOpen){t.stopPropagation()}}r.el=e(t.mfpEl);if(r.delegate){r.items=n.find(r.delegate)}h.open(r)}},updateStatus:function(e,t){if(h.preloader){if(v!==e){h.container.removeClass("mfp-s-"+v)}if(!t&&e==="loading"){t=h.st.tLoading}var n={status:e,text:t};T("UpdateStatus",n);e=n.status;t=n.text;h.preloader.html(t);h.preloader.find("a").click(function(e){e.stopImmediatePropagation()});h.container.addClass("mfp-s-"+e);v=e}},_addClassToMFP:function(e){h.bgOverlay.addClass(e);h.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e);h.wrap.removeClass(e)},_hasScrollBar:function(e){return(h.isIE7?y.height():document.body.scrollHeight)>(e||m.height())},_parseMarkup:function(t,n,r){var s;if(r.data){n=e.extend(r.data,n)}T(i,[t,n,r]);e.each(n,function(e,n){if(n===undefined||n===false){return true}s=e.split("_");if(s.length>1){var r=t.find(a+"-"+s[0]);if(r.length>0){var i=s[1];if(i==="replaceWith"){if(r[0]!==n[0]){r.replaceWith(n)}}else if(i==="img"){if(r.is("img")){r.attr("src",n)}else{r.replaceWith('<img src="'+n+'" class="'+r.attr("class")+'" />')}}else{r.attr(s[1],n)}}}else{t.find(a+"-"+e).html(n)}})},_getScrollbarSize:function(){if(h.scrollbarSize===undefined){var e=document.createElement("div");e.id="mfp-sbm";e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;";document.body.appendChild(e);h.scrollbarSize=e.offsetWidth-e.clientWidth;document.body.removeChild(e)}return h.scrollbarSize}};e.magnificPopup={instance:null,proto:p.prototype,modules:[],open:function(e,t){k();if(!e)e={};e.isObj=true;e.index=t||0;return this.instance.open(e)},close:function(){return e.magnificPopup.instance.close()},registerModule:function(t,n){if(n.options){e.magnificPopup.defaults[t]=n.options}e.extend(this.proto,n.proto);this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:false,mainClass:"",preloader:true,focus:"",closeOnContentClick:false,closeOnBgClick:true,closeBtnInside:true,alignTop:false,removalDelay:0,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading..."}};e.fn.magnificPopup=function(t){k();var n=e(this);if(typeof t==="string"){if(t==="open"){var r,i=d?n.data("magnificPopup"):n[0].magnificPopup,s=parseInt(arguments[1],10)||0;if(i.items){r=i.items[s]}else{r=n;if(i.delegate){r=r.find(i.delegate)}r=r.eq(s)}h._openClick({mfpEl:r},n,i)}else{if(h.isOpen)h[t].apply(h,Array.prototype.slice.call(arguments,1))}}else{if(d){n.data("magnificPopup",t)}else{n[0].magnificPopup=t}h.addGroup(n,t)}return n};var A="inline",O,M,_,D=function(){if(_){M.after(_.addClass(O)).detach();_=null}};e.magnificPopup.registerModule(A,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){h.types.push(A);S(t+"."+A,function(){D()})},getInline:function(t,n){D();if(t.src){var r=h.st.inline,i=e(t.src);if(i.length){var s=i[0].parentNode;if(s&&s.tagName){if(!M){O=r.hiddenClass;M=x(O);O="mfp-"+O}_=i.after(M).detach().removeClass(O)}h.updateStatus("ready")}else{h.updateStatus("error",r.tNotFound);i=e("<div>")}t.inlineElement=i;return i}h.updateStatus("ready");h._parseMarkup(n,{},t);return n}}});var P="ajax",H,B=function(){if(H){g.removeClass(H)}};e.magnificPopup.registerModule(P,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){h.types.push(P);H=h.st.ajax.cursor;S(t+"."+P,function(){B();if(h.req){h.req.abort()}})},getAjax:function(t){if(H)g.addClass(H);h.updateStatus("loading");var n=e.extend({url:t.src,success:function(n,r,i){var s={data:n,xhr:i};T("ParseAjax",s);h.appendContent(e(s.data),P);t.finished=true;B();N();setTimeout(function(){h.wrap.addClass(f)},16);h.updateStatus("ready");T("AjaxContentAdded")},error:function(){B();t.finished=t.loadError=true;h.updateStatus("error",h.st.ajax.tError.replace("%url%",t.src))}},h.st.ajax.settings);h.req=e.ajax(n);return""}}});var j,F=function(t){if(t.data&&t.data.title!==undefined)return t.data.title;var n=h.st.image.titleSrc;if(n){if(e.isFunction(n)){return n.call(h,t)}else if(t.el){return t.el.attr(n)||""}}return""};e.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure">'+'<div class="mfp-close"></div>'+'<div class="mfp-img"></div>'+'<div class="mfp-bottom-bar">'+'<div class="mfp-title"></div>'+'<div class="mfp-counter"></div>'+"</div>"+"</div>",cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:true,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=h.st.image,n=".image";h.types.push("image");S(s+n,function(){if(h.currItem.type==="image"&&e.cursor){g.addClass(e.cursor)}});S(t+n,function(){if(e.cursor){g.removeClass(e.cursor)}m.off("resize"+a)});S("Resize"+n,h.resizeImage);if(h.isLowIE){S("AfterChange",h.resizeImage)}},resizeImage:function(){var e=h.currItem;if(!e.img)return;if(h.st.image.verticalFit){var t=0;if(h.isLowIE){t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)}e.img.css("max-height",h.wH-t)}},_onImageHasSize:function(e){if(e.img){e.hasSize=true;if(j){clearInterval(j)}e.isCheckingImgSize=false;T("ImageHasSize",e);if(e.imgHidden){if(h.content)h.content.removeClass("mfp-loading");e.imgHidden=false}}},findImageSize:function(e){var t=0,n=e.img[0],r=function(i){if(j){clearInterval(j)}j=setInterval(function(){if(n.naturalWidth>0){h._onImageHasSize(e);return}if(t>200){clearInterval(j)}t++;if(t===3){r(10)}else if(t===40){r(50)}else if(t===100){r(500)}},i)};r(1)},getImage:function(t,n){var r=0,i=function(){if(t){if(t.img[0].complete){t.img.off(".mfploader");if(t===h.currItem){h._onImageHasSize(t);h.updateStatus("ready")}t.hasSize=true;t.loaded=true}else{r++;if(r<200){setTimeout(i,100)}else{s()}}}},s=function(){if(t){t.img.off(".mfploader");if(t===h.currItem){h._onImageHasSize(t);h.updateStatus("error",o.tError.replace("%url%",t.src))}t.hasSize=true;t.loaded=true;t.loadError=true}},o=h.st.image;var u=n.find(".mfp-img");if(u.length){var a=new Image;a.className="mfp-img";t.img=e(a).on("load.mfploader",i).on("error.mfploader",s);a.src=t.src;if(u.is("img")){t.img=t.img.clone()}}h._parseMarkup(n,{title:F(t),img_replaceWith:t.img},t);h.resizeImage();if(t.hasSize){if(j)clearInterval(j);if(t.loadError){n.addClass("mfp-loading");h.updateStatus("error",o.tError.replace("%url%",t.src))}else{n.removeClass("mfp-loading");h.updateStatus("ready")}return n}h.updateStatus("loading");t.loading=true;if(!t.hasSize){t.imgHidden=true;n.addClass("mfp-loading");h.findImageSize(t)}return n}}});var I="iframe",q="//about:blank",R=function(e){if(h.currTemplate[I]){var t=h.currTemplate[I].find("iframe");if(t.length){if(!e){t[0].src=q}if(h.isIE8){t.css("display",e?"block":"none")}}}};e.magnificPopup.registerModule(I,{options:{markup:'<div class="mfp-iframe-scaler">'+'<div class="mfp-close"></div>'+'<iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe>'+"</div>",srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){h.types.push(I);S("BeforeChange",function(e,t,n){if(t!==n){if(t===I){R()}else if(n===I){R(true)}}});S(t+"."+I,function(){R()})},getIframe:function(t,n){var r=t.src;var i=h.st.iframe;e.each(i.patterns,function(){if(r.indexOf(this.index)>-1){if(this.id){if(typeof this.id==="string"){r=r.substr(r.lastIndexOf(this.id)+this.id.length,r.length)}else{r=this.id.call(this,r)}}r=this.src.replace("%id%",r);return false}});var s={};if(i.srcAction){s[i.srcAction]=r}h._parseMarkup(n,s,t);h.updateStatus("ready");return n}}});var U=function(e){var t=h.items.length;if(e>t-1){return e-t}else if(e<0){return t+e}return e},z=function(e,t,n){return e.replace("%curr%",t+1).replace("%total%",n)};e.magnificPopup.registerModule("gallery",{options:{enabled:false,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:true,arrows:true,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=h.st.gallery,r=".mfp-gallery",u=Boolean(e.fn.mfpFastClick);h.direction=true;if(!n||!n.enabled)return false;w+=" mfp-gallery";S(s+r,function(){if(n.navigateByImgClick){h.wrap.on("click"+r,".mfp-img",function(){if(h.items.length>1){h.next();return false}})}y.on("keydown"+r,function(e){if(e.keyCode===37){h.prev()}else if(e.keyCode===39){h.next()}})});S("UpdateStatus"+r,function(e,t){if(t.text){t.text=z(t.text,h.currItem.index,h.items.length)}});S(i+r,function(e,t,r,i){var s=h.items.length;r.counter=s>1?z(n.tCounter,i.index,s):""});S("BuildControls"+r,function(){if(h.items.length>1&&n.arrows&&!h.arrowLeft){var t=n.arrowMarkup,r=h.arrowLeft=e(t.replace("%title%",n.tPrev).replace("%dir%","left")).addClass(c),i=h.arrowRight=e(t.replace("%title%",n.tNext).replace("%dir%","right")).addClass(c);var s=u?"mfpFastClick":"click";r[s](function(){h.prev()});i[s](function(){h.next()});if(h.isIE7){x("b",r[0],false,true);x("a",r[0],false,true);x("b",i[0],false,true);x("a",i[0],false,true)}h.container.append(r.add(i))}});S(o+r,function(){if(h._preloadTimeout)clearTimeout(h._preloadTimeout);h._preloadTimeout=setTimeout(function(){h.preloadNearbyImages();h._preloadTimeout=null},16)});S(t+r,function(){y.off(r);h.wrap.off("click"+r);if(h.arrowLeft&&u){h.arrowLeft.add(h.arrowRight).destroyMfpFastClick()}h.arrowRight=h.arrowLeft=null})},next:function(){h.direction=true;h.index=U(h.index+1);h.updateItemHTML()},prev:function(){h.direction=false;h.index=U(h.index-1);h.updateItemHTML()},goTo:function(e){h.direction=e>=h.index;h.index=e;h.updateItemHTML()},preloadNearbyImages:function(){var e=h.st.gallery.preload,t=Math.min(e[0],h.items.length),n=Math.min(e[1],h.items.length),r;for(r=1;r<=(h.direction?n:t);r++){h._preloadItem(h.index+r)}for(r=1;r<=(h.direction?t:n);r++){h._preloadItem(h.index-r)}},_preloadItem:function(t){t=U(t);if(h.items[t].preloaded){return}var n=h.items[t];if(!n.parsed){n=h.parseEl(t)}T("LazyLoad",n);if(n.type==="image"){n.img=e('<img class="mfp-img" />').on("load.mfploader",function(){n.hasSize=true}).on("error.mfploader",function(){n.hasSize=true;n.loadError=true}).attr("src",n.src)}n.preloaded=true}}});var W="retina";e.magnificPopup.registerModule(W,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=h.st.retina,t=e.ratio;t=!isNaN(t)?t:t();if(t>1){S("ImageHasSize"+"."+W,function(e,n){n.img.css({"max-width":n.img[0].naturalWidth/t,width:"100%"})});S("ElementParse"+"."+W,function(n,r){r.src=e.replaceSrc(r,t)})}}}}});(function(){var t=1e3,n="ontouchstart"in window,r=function(){m.off("touchmove"+s+" touchend"+s)},i="mfpFastClick",s="."+i;e.fn.mfpFastClick=function(i){return e(this).each(function(){var o=e(this),u;if(n){var a,f,l,c,h,p;o.on("touchstart"+s,function(e){c=false;p=1;h=e.originalEvent?e.originalEvent.touches[0]:e.touches[0];f=h.clientX;l=h.clientY;m.on("touchmove"+s,function(e){h=e.originalEvent?e.originalEvent.touches:e.touches;p=h.length;h=h[0];if(Math.abs(h.clientX-f)>10||Math.abs(h.clientY-l)>10){c=true;r()}}).on("touchend"+s,function(e){r();if(c||p>1){return}u=true;e.preventDefault();clearTimeout(a);a=setTimeout(function(){u=false},t);i()})})}o.on("click"+s,function(){if(!u){i()}})})};e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+s+" click"+s);if(n)m.off("touchmove"+s+" touchend"+s)}})()})(window.jQuery||window.Zepto);$(function(){$("article").fitVids()});$(function(){$(".toc h3").click(function(){$("#drawer").toggleClass("hidden")})});$("a[href$='.jpg'],a[href$='.png'],a[href$='.gif']").addClass("image-popup");$(document).ready(function(){$(".image-popup").magnificPopup({type:"image",tLoading:"Loading image #%curr%...",gallery:{enabled:true,navigateByImgClick:true,preload:[0,1]},image:{tError:'<a href="%url%">Image #%curr%</a> could not be loaded.'},removalDelay:300,mainClass:"mfp-fade"})})
\ No newline at end of file

R assets/js/vendor/jquery.fitvids.js => assets/js/plugins/jquery.fitvids.js +20 -27
@@ 1,9 1,9 @@
/*global jQuery */
/*jshint multistr:true browser:true */
/*jshint multistr:true, browser:true */
/*!
* FitVids 1.0
*
* Copyright 2011, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
*


@@ 19,29 19,20 @@
      customSelector: null
    };

    var div = document.createElement('div'),
        ref = document.getElementsByTagName('base')[0] || document.getElementsByTagName('script')[0];
    if(!document.getElementById('fit-vids-style')) {

    div.className = 'fit-vids-style';
    div.innerHTML = '&shy;<style>         \
      .fluid-width-video-wrapper {        \
         width: 100%;                     \
         position: relative;              \
         padding: 0;                      \
      }                                   \
                                          \
      .fluid-width-video-wrapper iframe,  \
      .fluid-width-video-wrapper object,  \
      .fluid-width-video-wrapper embed {  \
         position: absolute;              \
         top: 0;                          \
         left: 0;                         \
         width: 100%;                     \
         height: 100%;                    \
      }                                   \
    </style>';
      var div = document.createElement('div'),
          ref = document.getElementsByTagName('base')[0] || document.getElementsByTagName('script')[0],
          cssStyles = '&shy;<style>.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>';

    ref.parentNode.insertBefore(div,ref);
      div.className = 'fit-vids-style';
      div.id = 'fit-vids-style';
      div.style.display = 'none';
      div.innerHTML = cssStyles;

      ref.parentNode.insertBefore(div,ref);

    }

    if ( options ) {
      $.extend( settings, options );


@@ 50,9 41,9 @@
    return this.each(function(){
      var selectors = [
        "iframe[src*='player.vimeo.com']",
        "iframe[src*='www.youtube.com']",
        "iframe[src*='www.youtube-nocookie.com']",
        "iframe[src*='www.kickstarter.com']",
        "iframe[src*='youtube.com']",
        "iframe[src*='youtube-nocookie.com']",
        "iframe[src*='kickstarter.com'][src*='video.html']",
        "object",
        "embed"
      ];


@@ 62,6 53,7 @@
      }

      var $allVideos = $(this).find(selectors.join(','));
      $allVideos = $allVideos.not("object object"); // SwfObj conflict patch

      $allVideos.each(function(){
        var $this = $(this);


@@ 78,4 70,5 @@
      });
    });
  };
})( jQuery );
\ No newline at end of file
// Works with either jQuery or Zepto
})( window.jQuery || window.Zepto );
\ No newline at end of file

R assets/js/vendor/jquery.magnific-popup.js => assets/js/plugins/jquery.magnific-popup.js +299 -56
@@ 1,4 1,4 @@
/*! Magnific Popup - v0.8.9 - 2013-06-04
/*! Magnific Popup - v0.9.3 - 2013-07-16
* http://dimsemenov.com/plugins/magnific-popup/
* Copyright (c) 2013 Dmitry Semenov; */
;(function($) {


@@ 15,6 15,7 @@
 * Private static constants
 */
var CLOSE_EVENT = 'Close',
	BEFORE_CLOSE_EVENT = 'BeforeClose',
	AFTER_CLOSE_EVENT = 'AfterClose',
	BEFORE_APPEND_EVENT = 'BeforeAppend',
	MARKUP_PARSE_EVENT = 'MarkupParse',


@@ 76,7 77,7 @@ var _mfpOn = function(name, f) {
		}
	},
	_setFocus = function() {
		(mfp.st.focus ? mfp.content.find(mfp.st.focus).eq(0) : mfp.wrap).focus();
		(mfp.st.focus ? mfp.content.find(mfp.st.focus).eq(0) : mfp.wrap).trigger('focus');
	},
	_getCloseBtn = function(type) {
		if(type !== _currPopupType || !mfp.currTemplate.closeBtn) {


@@ 116,7 117,10 @@ var _mfpOn = function(name, f) {
			// if click is outside the content
			if(  (target !== mfp.content[0] && !$.contains(mfp.content[0], target))  ) {
				if(closeOnBg) {
					return true;
					// last check, if the clicked element is in DOM, (in case it's removed onclick)
					if( $.contains(document, target) ) {
						return true;
					}
				}
			} else if(closeOnContent) {
				return true;


@@ 124,6 128,23 @@ var _mfpOn = function(name, f) {

		}
		return false;
	},
	// CSS transition detection, http://stackoverflow.com/questions/7264899/detect-css-transitions-using-javascript-and-without-modernizr
	supportsTransitions = function() {
		var s = document.createElement('p').style, // 's' for style. better to create an element if body yet to exist
			v = ['ms','O','Moz','Webkit']; // 'v' for vendor

		if( s['transition'] !== undefined ) {
			return true; 
		}
			
		while( v.length ) {
			if( v.pop() + 'Transition' in s ) {
				return true;
			}
		}
				
		return false;
	};




@@ 146,6 167,8 @@ MagnificPopup.prototype = {
		mfp.isLowIE = mfp.isIE7 || mfp.isIE8;
		mfp.isAndroid = (/android/gi).test(appVersion);
		mfp.isIOS = (/iphone|ipad|ipod/gi).test(appVersion);
		mfp.supportsTransition = supportsTransitions();

		// We disable fixed positioned lightbox on devices that don't handle it nicely.
		// If you know a better way of detecting this - let me know.
		mfp.probablyMobile = (mfp.isAndroid || mfp.isIOS || /(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent) );


@@ 193,7 216,11 @@ MagnificPopup.prototype = {
		
		mfp.types = []; 
		_wrapClasses = '';
		mfp.ev = data.mainEl || _document;
		if(data.mainEl && data.mainEl.length) {
			mfp.ev = data.mainEl.eq(0);
		} else {
			mfp.ev = _document;
		}

		if(data.key) {
			if(!mfp.popupsCache[data.key]) {


@@ 208,7 235,13 @@ MagnificPopup.prototype = {

		mfp.st = $.extend(true, {}, $.magnificPopup.defaults, data ); 
		mfp.fixedContentPos = mfp.st.fixedContentPos === 'auto' ? !mfp.probablyMobile : mfp.st.fixedContentPos;
		

		if(mfp.st.modal) {
			mfp.st.closeOnContentClick = false;
			mfp.st.closeOnBgClick = false;
			mfp.st.showCloseBtn = false;
			mfp.st.enableEscapeKey = false;
		}
		

		// Building markup


@@ 245,14 278,16 @@ MagnificPopup.prototype = {
		_mfpTrigger('BeforeOpen');


		// Close button
		if(!mfp.st.closeBtnInside) {
			mfp.wrap.append( _getCloseBtn() );
		} else {
			_mfpOn(MARKUP_PARSE_EVENT, function(e, template, values, item) {
				values.close_replaceWith = _getCloseBtn(item.type);
			});
			_wrapClasses += ' mfp-close-btn-in';
		if(mfp.st.showCloseBtn) {
			// Close button
			if(!mfp.st.closeBtnInside) {
				mfp.wrap.append( _getCloseBtn() );
			} else {
				_mfpOn(MARKUP_PARSE_EVENT, function(e, template, values, item) {
					values.close_replaceWith = _getCloseBtn(item.type);
				});
				_wrapClasses += ' mfp-close-btn-in';
			}
		}

		if(mfp.st.alignTop) {


@@ 282,12 317,14 @@ MagnificPopup.prototype = {

		

		// Close on ESC key
		_document.on('keyup' + EVENT_NS, function(e) {
			if(e.keyCode === 27) {
				mfp.close();
			}
		});
		if(mfp.st.enableEscapeKey) {
			// Close on ESC key
			_document.on('keyup' + EVENT_NS, function(e) {
				if(e.keyCode === 27) {
					mfp.close();
				}
			});
		}

		_window.on('resize' + EVENT_NS, function() {
			mfp.updateSize();


@@ 306,20 343,20 @@ MagnificPopup.prototype = {
		var windowHeight = mfp.wH = _window.height();

		
		var bodyStyles = {};
		var windowStyles = {};

		if( mfp.fixedContentPos ) {
            if(mfp._hasScrollBar(windowHeight)){
                var s = mfp._getScrollbarSize();
                if(s) {
                    bodyStyles.paddingRight = s;
                    windowStyles.paddingRight = s;
                }
            }
        }

		if(mfp.fixedContentPos) {
			if(!mfp.isIE7) {
				bodyStyles.overflow = 'hidden';
				windowStyles.overflow = 'hidden';
			} else {
				// ie7 double-scroll bug
				$('body, html').css('overflow', 'hidden');


@@ 343,7 380,7 @@ MagnificPopup.prototype = {


		// remove scrollbar, add padding e.t.c
		_body.css(bodyStyles);
		$('html').css(windowStyles);
		
		// add everything to DOM
		mfp.bgOverlay.add(mfp.wrap).prependTo( document.body );


@@ 384,10 421,11 @@ MagnificPopup.prototype = {
	 */
	close: function() {
		if(!mfp.isOpen) return;
		_mfpTrigger(BEFORE_CLOSE_EVENT);

		mfp.isOpen = false;
		// for CSS3 animation
		if(mfp.st.removalDelay && !mfp.isLowIE)  {
		if(mfp.st.removalDelay && !mfp.isLowIE && mfp.supportsTransition )  {
			mfp._addClassToMFP(REMOVING_CLASS);
			setTimeout(function() {
				mfp._close();


@@ 416,13 454,13 @@ MagnificPopup.prototype = {
		mfp._removeClassFromMFP(classesToRemove);

		if(mfp.fixedContentPos) {
			var bodyStyles = {paddingRight: ''};
			var windowStyles = {paddingRight: ''};
			if(mfp.isIE7) {
				$('body, html').css('overflow', '');
			} else {
				bodyStyles.overflow = '';
				windowStyles.overflow = '';
			}
			_body.css(bodyStyles);
			$('html').css(windowStyles);
		}
		
		_document.off('keyup' + EVENT_NS + ' focusin' + EVENT_NS);


@@ 434,14 472,15 @@ MagnificPopup.prototype = {
		mfp.container.attr('class', 'mfp-container');

		// remove close button from target element
		if(!mfp.st.closeBtnInside || mfp.currTemplate[mfp.currItem.type] === true ) {
		if(mfp.st.showCloseBtn &&
		(!mfp.st.closeBtnInside || mfp.currTemplate[mfp.currItem.type] === true)) {
			if(mfp.currTemplate.closeBtn)
				mfp.currTemplate.closeBtn.detach();
		}


		if(mfp._lastFocusedEl) {
			$(mfp._lastFocusedEl).focus(); // put tab focus back
			$(mfp._lastFocusedEl).trigger('focus'); // put tab focus back
		}
		mfp.currItem = null;	
		mfp.content = null;


@@ 539,7 578,8 @@ MagnificPopup.prototype = {
		mfp.content = newContent;
		
		if(newContent) {
			if(mfp.st.closeBtnInside && mfp.currTemplate[type] === true) {
			if(mfp.st.showCloseBtn && mfp.st.closeBtnInside &&
				mfp.currTemplate[type] === true) {
				// if there is no markup, we just append close button element inside
				if(!mfp.content.find('.mfp-close').length) {
					mfp.content.append(_getCloseBtn());


@@ 632,37 672,41 @@ MagnificPopup.prototype = {
	},
	_openClick: function(e, el, options) {
		var midClick = options.midClick !== undefined ? options.midClick : $.magnificPopup.defaults.midClick;
		if( midClick || e.which !== 2 ) {
			var disableOn = options.disableOn !== undefined ? options.disableOn : $.magnificPopup.defaults.disableOn;

			if(disableOn) {
				if($.isFunction(disableOn)) {
					if( !disableOn.call(mfp) ) {
						return true;
					}
				} else { // else it's number
					if( _window.width() < disableOn ) {
						return true;
					}
				}
			}
			
			if(e.type) {
				e.preventDefault();

				// This will prevent popup from closing if element is inside and popup is already opened
				if(mfp.isOpen) {
					e.stopPropagation();
		if(!midClick && ( e.which === 2 || e.ctrlKey || e.metaKey ) ) {
			return;
		}

		var disableOn = options.disableOn !== undefined ? options.disableOn : $.magnificPopup.defaults.disableOn;

		if(disableOn) {
			if($.isFunction(disableOn)) {
				if( !disableOn.call(mfp) ) {
					return true;
				}
			} else { // else it's number
				if( _window.width() < disableOn ) {
					return true;
				}
			}
				
		}
		
		if(e.type) {
			e.preventDefault();

			options.el = $(e.mfpEl);
			if(options.delegate) {
				options.items = el.find(options.delegate);
			// This will prevent popup from closing if element is inside and popup is already opened
			if(mfp.isOpen) {
				e.stopPropagation();
			}
			mfp.open(options);
		}
			

		options.el = $(e.mfpEl);
		if(options.delegate) {
			options.items = el.find(options.delegate);
		}
		mfp.open(options);
	},




@@ 692,7 736,7 @@ MagnificPopup.prototype = {

			mfp.preloader.html(text);

			mfp.preloader.find('a').click(function(e) {
			mfp.preloader.find('a').on('click', function(e) {
				e.stopImmediatePropagation();
			});



@@ 714,7 758,7 @@ MagnificPopup.prototype = {
		mfp.wrap.removeClass(cName);
	},
	_hasScrollBar: function(winHeight) {
		return (  (mfp.isIE7 ? _document.height() : document.body.scrollHeight) > (winHeight || _window.height()) )
		return (  (mfp.isIE7 ? _document.height() : document.body.scrollHeight) > (winHeight || _window.height()) );
	},
	_parseMarkup: function(template, values, item) {
		var arr;


@@ 826,6 870,12 @@ $.magnificPopup = {

		closeBtnInside: true, 

		showCloseBtn: true,

		enableEscapeKey: true,

		modal: false,

		alignTop: false,
	
		removalDelay: 0,


@@ 1222,6 1272,8 @@ $.magnificPopup.registerModule('image', {

							item.hasSize = true;
							item.loaded = true;

							_mfpTrigger('ImageLoadComplete');
							
						}
						else {


@@ 1265,6 1317,9 @@ $.magnificPopup.registerModule('image', {
				if(el.is('img')) {
					item.img = item.img.clone();
				}
				if(item.img[0].naturalWidth > 0) {
					item.hasSize = true;
				}
			}

			mfp._parseMarkup(template, {


@@ 1305,6 1360,193 @@ $.magnificPopup.registerModule('image', {

/*>>image*/

/*>>zoom*/
var hasMozTransform,
	getHasMozTransform = function() {
		if(hasMozTransform === undefined) {
			hasMozTransform = document.createElement('p').style.MozTransform !== undefined;
		}
		return hasMozTransform;		
	};

$.magnificPopup.registerModule('zoom', {

	options: {
		enabled: false,
		easing: 'ease-in-out',
		duration: 300,
		opener: function(element) {
			return element.is('img') ? element : element.find('img');
		}
	},

	proto: {

		initZoom: function() {
			var zoomSt = mfp.st.zoom,
				ns = '.zoom';
				
			if(!zoomSt.enabled || !mfp.supportsTransition) {
				return;
			}

			var duration = zoomSt.duration,
				getElToAnimate = function(image) {
					var newImg = image.clone().removeAttr('style').removeAttr('class').addClass('mfp-animated-image'),
						transition = 'all '+(zoomSt.duration/1000)+'s ' + zoomSt.easing,
						cssObj = {
							position: 'fixed',
							zIndex: 9999,
							left: 0,
							top: 0,
							'-webkit-backface-visibility': 'hidden'
						},
						t = 'transition';

					cssObj['-webkit-'+t] = cssObj['-moz-'+t] = cssObj['-o-'+t] = cssObj[t] = transition;

					newImg.css(cssObj);
					return newImg;
				},
				showMainContent = function() {
					mfp.content.css('visibility', 'visible');
				},
				openTimeout,
				animatedImg;

			_mfpOn('BuildControls'+ns, function() {
				if(mfp._allowZoom()) {

					clearTimeout(openTimeout);
					mfp.content.css('visibility', 'hidden');

					// Basically, all code below does is clones existing image, puts in on top of the current one and animated it
					
					image = mfp._getItemToZoom();

					if(!image) {
						showMainContent();
						return;
					}

					animatedImg = getElToAnimate(image); 
					
					animatedImg.css( mfp._getOffset() );

					mfp.wrap.append(animatedImg);

					openTimeout = setTimeout(function() {
						animatedImg.css( mfp._getOffset( true ) );
						openTimeout = setTimeout(function() {

							showMainContent();

							setTimeout(function() {
								animatedImg.remove();
								image = animatedImg = null;
								_mfpTrigger('ZoomAnimationEnded');
							}, 16); // avoid blink when switching images 

						}, duration); // this timeout equals animation duration

					}, 16); // by adding this timeout we avoid short glitch at the beginning of animation


					// Lots of timeouts...
				}
			});
			_mfpOn(BEFORE_CLOSE_EVENT+ns, function() {
				if(mfp._allowZoom()) {

					clearTimeout(openTimeout);

					mfp.st.removalDelay = duration;

					if(!image) {
						image = mfp._getItemToZoom();
						if(!image) {
							return;
						}
						animatedImg = getElToAnimate(image);
					}
					
					
					animatedImg.css( mfp._getOffset(true) );
					mfp.wrap.append(animatedImg);
					mfp.content.css('visibility', 'hidden');
					
					setTimeout(function() {
						animatedImg.css( mfp._getOffset() );
					}, 16);
				}

			});

			_mfpOn(CLOSE_EVENT+ns, function() {
				if(mfp._allowZoom()) {
					showMainContent();
					if(animatedImg) {
						animatedImg.remove();
					}
				}	
			});
		},

		_allowZoom: function() {
			return mfp.currItem.type === 'image';
		},

		_getItemToZoom: function() {
			if(mfp.currItem.hasSize) {
				return mfp.currItem.img;
			} else {
				return false;
			}
		},

		// Get element postion relative to viewport
		_getOffset: function(isLarge) {
			var el;
			if(isLarge) {
				el = mfp.currItem.img;
			} else {
				el = mfp.st.zoom.opener(mfp.currItem.el || mfp.currItem);
			}

			var offset = el.offset();
			var paddingTop = parseInt(el.css('padding-top'),10);
			var paddingBottom = parseInt(el.css('padding-bottom'),10);
			offset.top -= ( $(window).scrollTop() - paddingTop );


			/*
			
			Animating left + top + width/height looks glitchy in Firefox, but perfect in Chrome. And vice-versa.

			 */
			var obj = {
				width: el.width(),
				// fix Zepto height+padding issue
				height: (_isJQ ? el.innerHeight() : el[0].offsetHeight) - paddingBottom - paddingTop
			};

			// I hate to do this, but there is no another option
			if( getHasMozTransform() ) {
				obj['-moz-transform'] = obj['transform'] = 'translate(' + offset.left + 'px,' + offset.top + 'px)';
			} else {
				obj.left = offset.left;
				obj.top = offset.top;
			}
			return obj;
		}

	}
});



/*>>zoom*/

/*>>iframe*/

var IFRAME_NS = 'iframe',


@@ 1582,6 1824,7 @@ $.magnificPopup.registerModule('gallery', {
				}).on('error.mfploader', function() {
					item.hasSize = true;
					item.loadError = true;
					_mfpTrigger('LazyLoadError', item);
				}).attr('src', item.src);
			}


A assets/js/scripts.min.js => assets/js/scripts.min.js +1 -0
@@ 0,0 1,1 @@
!function(a){"use strict";a.fn.fitVids=function(b){var c={customSelector:null};if(!document.getElementById("fit-vids-style")){var d=document.createElement("div"),e=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0],f="&shy;<style>.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>";d.className="fit-vids-style",d.id="fit-vids-style",d.style.display="none",d.innerHTML=f,e.parentNode.insertBefore(d,e)}return b&&a.extend(c,b),this.each(function(){var b=["iframe[src*='player.vimeo.com']","iframe[src*='youtube.com']","iframe[src*='youtube-nocookie.com']","iframe[src*='kickstarter.com'][src*='video.html']","object","embed"];c.customSelector&&b.push(c.customSelector);var d=a(this).find(b.join(","));d=d.not("object object"),d.each(function(){var b=a(this);if(!("embed"===this.tagName.toLowerCase()&&b.parent("object").length||b.parent(".fluid-width-video-wrapper").length)){var c="object"===this.tagName.toLowerCase()||b.attr("height")&&!isNaN(parseInt(b.attr("height"),10))?parseInt(b.attr("height"),10):b.height(),d=isNaN(parseInt(b.attr("width"),10))?b.width():parseInt(b.attr("width"),10),e=c/d;if(!b.attr("id")){var f="fitvid"+Math.floor(999999*Math.random());b.attr("id",f)}b.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*e+"%"),b.removeAttr("height").removeAttr("width")}})})}}(window.jQuery||window.Zepto),function(a){var b,c,d,e,f,g,h,i="Close",j="BeforeClose",k="AfterClose",l="BeforeAppend",m="MarkupParse",n="Open",o="Change",p="mfp",q="."+p,r="mfp-ready",s="mfp-removing",t="mfp-prevent-close",u=function(){},v=!!window.jQuery,w=a(window),x=function(a,c){b.ev.on(p+a+q,c)},y=function(b,c,d,e){var f=document.createElement("div");return f.className="mfp-"+b,d&&(f.innerHTML=d),e?c&&c.appendChild(f):(f=a(f),c&&f.appendTo(c)),f},z=function(c,d){b.ev.triggerHandler(p+c,d),b.st.callbacks&&(c=c.charAt(0).toLowerCase()+c.slice(1),b.st.callbacks[c]&&b.st.callbacks[c].apply(b,a.isArray(d)?d:[d]))},A=function(){(b.st.focus?b.content.find(b.st.focus).eq(0):b.wrap).trigger("focus")},B=function(c){return c===h&&b.currTemplate.closeBtn||(b.currTemplate.closeBtn=a(b.st.closeMarkup.replace("%title%",b.st.tClose)),h=c),b.currTemplate.closeBtn},C=function(){a.magnificPopup.instance||(b=new u,b.init(),a.magnificPopup.instance=b)},D=function(c){if(!a(c).hasClass(t)){var d=b.st.closeOnContentClick,e=b.st.closeOnBgClick;if(d&&e)return!0;if(!b.content||a(c).hasClass("mfp-close")||b.preloader&&c===b.preloader[0])return!0;if(c===b.content[0]||a.contains(b.content[0],c)){if(d)return!0}else if(e&&a.contains(document,c))return!0;return!1}},E=function(){var a=document.createElement("p").style,b=["ms","O","Moz","Webkit"];if(void 0!==a.transition)return!0;for(;b.length;)if(b.pop()+"Transition"in a)return!0;return!1};u.prototype={constructor:u,init:function(){var c=navigator.appVersion;b.isIE7=-1!==c.indexOf("MSIE 7."),b.isIE8=-1!==c.indexOf("MSIE 8."),b.isLowIE=b.isIE7||b.isIE8,b.isAndroid=/android/gi.test(c),b.isIOS=/iphone|ipad|ipod/gi.test(c),b.supportsTransition=E(),b.probablyMobile=b.isAndroid||b.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),d=a(document.body),e=a(document),b.popupsCache={}},open:function(c){var d;if(c.isObj===!1){b.items=c.items.toArray(),b.index=0;var f,h=c.items;for(d=0;d<h.length;d++)if(f=h[d],f.parsed&&(f=f.el[0]),f===c.el[0]){b.index=d;break}}else b.items=a.isArray(c.items)?c.items:[c.items],b.index=c.index||0;if(b.isOpen)return b.updateItemHTML(),void 0;b.types=[],g="",b.ev=c.mainEl&&c.mainEl.length?c.mainEl.eq(0):e,c.key?(b.popupsCache[c.key]||(b.popupsCache[c.key]={}),b.currTemplate=b.popupsCache[c.key]):b.currTemplate={},b.st=a.extend(!0,{},a.magnificPopup.defaults,c),b.fixedContentPos="auto"===b.st.fixedContentPos?!b.probablyMobile:b.st.fixedContentPos,b.st.modal&&(b.st.closeOnContentClick=!1,b.st.closeOnBgClick=!1,b.st.showCloseBtn=!1,b.st.enableEscapeKey=!1),b.bgOverlay||(b.bgOverlay=y("bg").on("click"+q,function(){b.close()}),b.wrap=y("wrap").attr("tabindex",-1).on("click"+q,function(a){D(a.target)&&b.close()}),b.container=y("container",b.wrap)),b.contentContainer=y("content"),b.st.preloader&&(b.preloader=y("preloader",b.container,b.st.tLoading));var i=a.magnificPopup.modules;for(d=0;d<i.length;d++){var j=i[d];j=j.charAt(0).toUpperCase()+j.slice(1),b["init"+j].call(b)}z("BeforeOpen"),b.st.showCloseBtn&&(b.st.closeBtnInside?(x(m,function(a,b,c,d){c.close_replaceWith=B(d.type)}),g+=" mfp-close-btn-in"):b.wrap.append(B())),b.st.alignTop&&(g+=" mfp-align-top"),b.fixedContentPos?b.wrap.css({overflow:b.st.overflowY,overflowX:"hidden",overflowY:b.st.overflowY}):b.wrap.css({top:w.scrollTop(),position:"absolute"}),(b.st.fixedBgPos===!1||"auto"===b.st.fixedBgPos&&!b.fixedContentPos)&&b.bgOverlay.css({height:e.height(),position:"absolute"}),b.st.enableEscapeKey&&e.on("keyup"+q,function(a){27===a.keyCode&&b.close()}),w.on("resize"+q,function(){b.updateSize()}),b.st.closeOnContentClick||(g+=" mfp-auto-cursor"),g&&b.wrap.addClass(g);var k=b.wH=w.height(),l={};if(b.fixedContentPos&&b._hasScrollBar(k)){var o=b._getScrollbarSize();o&&(l.paddingRight=o)}b.fixedContentPos&&(b.isIE7?a("body, html").css("overflow","hidden"):l.overflow="hidden");var p=b.st.mainClass;b.isIE7&&(p+=" mfp-ie7"),p&&b._addClassToMFP(p),b.updateItemHTML(),z("BuildControls"),a("html").css(l),b.bgOverlay.add(b.wrap).prependTo(document.body),b._lastFocusedEl=document.activeElement,setTimeout(function(){b.content?(b._addClassToMFP(r),A()):b.bgOverlay.addClass(r),e.on("focusin"+q,function(c){return c.target===b.wrap[0]||a.contains(b.wrap[0],c.target)?void 0:(A(),!1)})},16),b.isOpen=!0,b.updateSize(k),z(n)},close:function(){b.isOpen&&(z(j),b.isOpen=!1,b.st.removalDelay&&!b.isLowIE&&b.supportsTransition?(b._addClassToMFP(s),setTimeout(function(){b._close()},b.st.removalDelay)):b._close())},_close:function(){z(i);var c=s+" "+r+" ";if(b.bgOverlay.detach(),b.wrap.detach(),b.container.empty(),b.st.mainClass&&(c+=b.st.mainClass+" "),b._removeClassFromMFP(c),b.fixedContentPos){var d={paddingRight:""};b.isIE7?a("body, html").css("overflow",""):d.overflow="",a("html").css(d)}e.off("keyup"+q+" focusin"+q),b.ev.off(q),b.wrap.attr("class","mfp-wrap").removeAttr("style"),b.bgOverlay.attr("class","mfp-bg"),b.container.attr("class","mfp-container"),!b.st.showCloseBtn||b.st.closeBtnInside&&b.currTemplate[b.currItem.type]!==!0||b.currTemplate.closeBtn&&b.currTemplate.closeBtn.detach(),b._lastFocusedEl&&a(b._lastFocusedEl).trigger("focus"),b.currItem=null,b.content=null,b.currTemplate=null,b.prevHeight=0,z(k)},updateSize:function(a){if(b.isIOS){var c=document.documentElement.clientWidth/window.innerWidth,d=window.innerHeight*c;b.wrap.css("height",d),b.wH=d}else b.wH=a||w.height();b.fixedContentPos||b.wrap.css("height",b.wH),z("Resize")},updateItemHTML:function(){var c=b.items[b.index];b.contentContainer.detach(),b.content&&b.content.detach(),c.parsed||(c=b.parseEl(b.index));var d=c.type;if(z("BeforeChange",[b.currItem?b.currItem.type:"",d]),b.currItem=c,!b.currTemplate[d]){var e=b.st[d]?b.st[d].markup:!1;z("FirstMarkupParse",e),b.currTemplate[d]=e?a(e):!0}f&&f!==c.type&&b.container.removeClass("mfp-"+f+"-holder");var g=b["get"+d.charAt(0).toUpperCase()+d.slice(1)](c,b.currTemplate[d]);b.appendContent(g,d),c.preloaded=!0,z(o,c),f=c.type,b.container.prepend(b.contentContainer),z("AfterChange")},appendContent:function(a,c){b.content=a,a?b.st.showCloseBtn&&b.st.closeBtnInside&&b.currTemplate[c]===!0?b.content.find(".mfp-close").length||b.content.append(B()):b.content=a:b.content="",z(l),b.container.addClass("mfp-"+c+"-holder"),b.contentContainer.append(b.content)},parseEl:function(c){var d=b.items[c],e=d.type;if(d=d.tagName?{el:a(d)}:{data:d,src:d.src},d.el){for(var f=b.types,g=0;g<f.length;g++)if(d.el.hasClass("mfp-"+f[g])){e=f[g];break}d.src=d.el.attr("data-mfp-src"),d.src||(d.src=d.el.attr("href"))}return d.type=e||b.st.type||"inline",d.index=c,d.parsed=!0,b.items[c]=d,z("ElementParse",d),b.items[c]},addGroup:function(a,c){var d=function(d){d.mfpEl=this,b._openClick(d,a,c)};c||(c={});var e="click.magnificPopup";c.mainEl=a,c.items?(c.isObj=!0,a.off(e).on(e,d)):(c.isObj=!1,c.delegate?a.off(e).on(e,c.delegate,d):(c.items=a,a.off(e).on(e,d)))},_openClick:function(c,d,e){var f=void 0!==e.midClick?e.midClick:a.magnificPopup.defaults.midClick;if(f||2!==c.which&&!c.ctrlKey&&!c.metaKey){var g=void 0!==e.disableOn?e.disableOn:a.magnificPopup.defaults.disableOn;if(g)if(a.isFunction(g)){if(!g.call(b))return!0}else if(w.width()<g)return!0;c.type&&(c.preventDefault(),b.isOpen&&c.stopPropagation()),e.el=a(c.mfpEl),e.delegate&&(e.items=d.find(e.delegate)),b.open(e)}},updateStatus:function(a,d){if(b.preloader){c!==a&&b.container.removeClass("mfp-s-"+c),d||"loading"!==a||(d=b.st.tLoading);var e={status:a,text:d};z("UpdateStatus",e),a=e.status,d=e.text,b.preloader.html(d),b.preloader.find("a").on("click",function(a){a.stopImmediatePropagation()}),b.container.addClass("mfp-s-"+a),c=a}},_addClassToMFP:function(a){b.bgOverlay.addClass(a),b.wrap.addClass(a)},_removeClassFromMFP:function(a){this.bgOverlay.removeClass(a),b.wrap.removeClass(a)},_hasScrollBar:function(a){return(b.isIE7?e.height():document.body.scrollHeight)>(a||w.height())},_parseMarkup:function(b,c,d){var e;d.data&&(c=a.extend(d.data,c)),z(m,[b,c,d]),a.each(c,function(a,c){if(void 0===c||c===!1)return!0;if(e=a.split("_"),e.length>1){var d=b.find(q+"-"+e[0]);if(d.length>0){var f=e[1];"replaceWith"===f?d[0]!==c[0]&&d.replaceWith(c):"img"===f?d.is("img")?d.attr("src",c):d.replaceWith('<img src="'+c+'" class="'+d.attr("class")+'" />'):d.attr(e[1],c)}}else b.find(q+"-"+a).html(c)})},_getScrollbarSize:function(){if(void 0===b.scrollbarSize){var a=document.createElement("div");a.id="mfp-sbm",a.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(a),b.scrollbarSize=a.offsetWidth-a.clientWidth,document.body.removeChild(a)}return b.scrollbarSize}},a.magnificPopup={instance:null,proto:u.prototype,modules:[],open:function(a,b){return C(),a||(a={}),a.isObj=!0,a.index=b||0,this.instance.open(a)},close:function(){return a.magnificPopup.instance.close()},registerModule:function(b,c){c.options&&(a.magnificPopup.defaults[b]=c.options),a.extend(this.proto,c.proto),this.modules.push(b)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">&times;</button>',tClose:"Close (Esc)",tLoading:"Loading..."}},a.fn.magnificPopup=function(c){C();var d=a(this);if("string"==typeof c)if("open"===c){var e,f=v?d.data("magnificPopup"):d[0].magnificPopup,g=parseInt(arguments[1],10)||0;f.items?e=f.items[g]:(e=d,f.delegate&&(e=e.find(f.delegate)),e=e.eq(g)),b._openClick({mfpEl:e},d,f)}else b.isOpen&&b[c].apply(b,Array.prototype.slice.call(arguments,1));else v?d.data("magnificPopup",c):d[0].magnificPopup=c,b.addGroup(d,c);return d};var F,G,H,I="inline",J=function(){H&&(G.after(H.addClass(F)).detach(),H=null)};a.magnificPopup.registerModule(I,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){b.types.push(I),x(i+"."+I,function(){J()})},getInline:function(c,d){if(J(),c.src){var e=b.st.inline,f=a(c.src);if(f.length){var g=f[0].parentNode;g&&g.tagName&&(G||(F=e.hiddenClass,G=y(F),F="mfp-"+F),H=f.after(G).detach().removeClass(F)),b.updateStatus("ready")}else b.updateStatus("error",e.tNotFound),f=a("<div>");return c.inlineElement=f,f}return b.updateStatus("ready"),b._parseMarkup(d,{},c),d}}});var K,L="ajax",M=function(){K&&d.removeClass(K)};a.magnificPopup.registerModule(L,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){b.types.push(L),K=b.st.ajax.cursor,x(i+"."+L,function(){M(),b.req&&b.req.abort()})},getAjax:function(c){K&&d.addClass(K),b.updateStatus("loading");var e=a.extend({url:c.src,success:function(d,e,f){var g={data:d,xhr:f};z("ParseAjax",g),b.appendContent(a(g.data),L),c.finished=!0,M(),A(),setTimeout(function(){b.wrap.addClass(r)},16),b.updateStatus("ready"),z("AjaxContentAdded")},error:function(){M(),c.finished=c.loadError=!0,b.updateStatus("error",b.st.ajax.tError.replace("%url%",c.src))}},b.st.ajax.settings);return b.req=a.ajax(e),""}}});var N,O=function(c){if(c.data&&void 0!==c.data.title)return c.data.title;var d=b.st.image.titleSrc;if(d){if(a.isFunction(d))return d.call(b,c);if(c.el)return c.el.attr(d)||""}return""};a.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><div class="mfp-img"></div><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var a=b.st.image,c=".image";b.types.push("image"),x(n+c,function(){"image"===b.currItem.type&&a.cursor&&d.addClass(a.cursor)}),x(i+c,function(){a.cursor&&d.removeClass(a.cursor),w.off("resize"+q)}),x("Resize"+c,b.resizeImage),b.isLowIE&&x("AfterChange",b.resizeImage)},resizeImage:function(){var a=b.currItem;if(a.img&&b.st.image.verticalFit){var c=0;b.isLowIE&&(c=parseInt(a.img.css("padding-top"),10)+parseInt(a.img.css("padding-bottom"),10)),a.img.css("max-height",b.wH-c)}},_onImageHasSize:function(a){a.img&&(a.hasSize=!0,N&&clearInterval(N),a.isCheckingImgSize=!1,z("ImageHasSize",a),a.imgHidden&&(b.content&&b.content.removeClass("mfp-loading"),a.imgHidden=!1))},findImageSize:function(a){var c=0,d=a.img[0],e=function(f){N&&clearInterval(N),N=setInterval(function(){return d.naturalWidth>0?(b._onImageHasSize(a),void 0):(c>200&&clearInterval(N),c++,3===c?e(10):40===c?e(50):100===c&&e(500),void 0)},f)};e(1)},getImage:function(c,d){var e=0,f=function(){c&&(c.img[0].complete?(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("ready")),c.hasSize=!0,c.loaded=!0,z("ImageLoadComplete")):(e++,200>e?setTimeout(f,100):g()))},g=function(){c&&(c.img.off(".mfploader"),c===b.currItem&&(b._onImageHasSize(c),b.updateStatus("error",h.tError.replace("%url%",c.src))),c.hasSize=!0,c.loaded=!0,c.loadError=!0)},h=b.st.image,i=d.find(".mfp-img");if(i.length){var j=new Image;j.className="mfp-img",c.img=a(j).on("load.mfploader",f).on("error.mfploader",g),j.src=c.src,i.is("img")&&(c.img=c.img.clone()),c.img[0].naturalWidth>0&&(c.hasSize=!0)}return b._parseMarkup(d,{title:O(c),img_replaceWith:c.img},c),b.resizeImage(),c.hasSize?(N&&clearInterval(N),c.loadError?(d.addClass("mfp-loading"),b.updateStatus("error",h.tError.replace("%url%",c.src))):(d.removeClass("mfp-loading"),b.updateStatus("ready")),d):(b.updateStatus("loading"),c.loading=!0,c.hasSize||(c.imgHidden=!0,d.addClass("mfp-loading"),b.findImageSize(c)),d)}}});var P,Q=function(){return void 0===P&&(P=void 0!==document.createElement("p").style.MozTransform),P};a.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(a){return a.is("img")?a:a.find("img")}},proto:{initZoom:function(){var a=b.st.zoom,c=".zoom";if(a.enabled&&b.supportsTransition){var d,e,f=a.duration,g=function(b){var c=b.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),d="all "+a.duration/1e3+"s "+a.easing,e={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},f="transition";return e["-webkit-"+f]=e["-moz-"+f]=e["-o-"+f]=e[f]=d,c.css(e),c},h=function(){b.content.css("visibility","visible")};x("BuildControls"+c,function(){if(b._allowZoom()){if(clearTimeout(d),b.content.css("visibility","hidden"),image=b._getItemToZoom(),!image)return h(),void 0;e=g(image),e.css(b._getOffset()),b.wrap.append(e),d=setTimeout(function(){e.css(b._getOffset(!0)),d=setTimeout(function(){h(),setTimeout(function(){e.remove(),image=e=null,z("ZoomAnimationEnded")},16)},f)},16)}}),x(j+c,function(){if(b._allowZoom()){if(clearTimeout(d),b.st.removalDelay=f,!image){if(image=b._getItemToZoom(),!image)return;e=g(image)}e.css(b._getOffset(!0)),b.wrap.append(e),b.content.css("visibility","hidden"),setTimeout(function(){e.css(b._getOffset())},16)}}),x(i+c,function(){b._allowZoom()&&(h(),e&&e.remove())})}},_allowZoom:function(){return"image"===b.currItem.type},_getItemToZoom:function(){return b.currItem.hasSize?b.currItem.img:!1},_getOffset:function(c){var d;d=c?b.currItem.img:b.st.zoom.opener(b.currItem.el||b.currItem);var e=d.offset(),f=parseInt(d.css("padding-top"),10),g=parseInt(d.css("padding-bottom"),10);e.top-=a(window).scrollTop()-f;var h={width:d.width(),height:(v?d.innerHeight():d[0].offsetHeight)-g-f};return Q()?h["-moz-transform"]=h.transform="translate("+e.left+"px,"+e.top+"px)":(h.left=e.left,h.top=e.top),h}}});var R="iframe",S="//about:blank",T=function(a){if(b.currTemplate[R]){var c=b.currTemplate[R].find("iframe");c.length&&(a||(c[0].src=S),b.isIE8&&c.css("display",a?"block":"none"))}};a.magnificPopup.registerModule(R,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){b.types.push(R),x("BeforeChange",function(a,b,c){b!==c&&(b===R?T():c===R&&T(!0))}),x(i+"."+R,function(){T()})},getIframe:function(c,d){var e=c.src,f=b.st.iframe;a.each(f.patterns,function(){return e.indexOf(this.index)>-1?(this.id&&(e="string"==typeof this.id?e.substr(e.lastIndexOf(this.id)+this.id.length,e.length):this.id.call(this,e)),e=this.src.replace("%id%",e),!1):void 0});var g={};return f.srcAction&&(g[f.srcAction]=e),b._parseMarkup(d,g,c),b.updateStatus("ready"),d}}});var U=function(a){var c=b.items.length;return a>c-1?a-c:0>a?c+a:a},V=function(a,b,c){return a.replace("%curr%",b+1).replace("%total%",c)};a.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var c=b.st.gallery,d=".mfp-gallery",f=Boolean(a.fn.mfpFastClick);return b.direction=!0,c&&c.enabled?(g+=" mfp-gallery",x(n+d,function(){c.navigateByImgClick&&b.wrap.on("click"+d,".mfp-img",function(){return b.items.length>1?(b.next(),!1):void 0}),e.on("keydown"+d,function(a){37===a.keyCode?b.prev():39===a.keyCode&&b.next()})}),x("UpdateStatus"+d,function(a,c){c.text&&(c.text=V(c.text,b.currItem.index,b.items.length))}),x(m+d,function(a,d,e,f){var g=b.items.length;e.counter=g>1?V(c.tCounter,f.index,g):""}),x("BuildControls"+d,function(){if(b.items.length>1&&c.arrows&&!b.arrowLeft){var d=c.arrowMarkup,e=b.arrowLeft=a(d.replace("%title%",c.tPrev).replace("%dir%","left")).addClass(t),g=b.arrowRight=a(d.replace("%title%",c.tNext).replace("%dir%","right")).addClass(t),h=f?"mfpFastClick":"click";e[h](function(){b.prev()}),g[h](function(){b.next()}),b.isIE7&&(y("b",e[0],!1,!0),y("a",e[0],!1,!0),y("b",g[0],!1,!0),y("a",g[0],!1,!0)),b.container.append(e.add(g))}}),x(o+d,function(){b._preloadTimeout&&clearTimeout(b._preloadTimeout),b._preloadTimeout=setTimeout(function(){b.preloadNearbyImages(),b._preloadTimeout=null},16)}),x(i+d,function(){e.off(d),b.wrap.off("click"+d),b.arrowLeft&&f&&b.arrowLeft.add(b.arrowRight).destroyMfpFastClick(),b.arrowRight=b.arrowLeft=null}),void 0):!1},next:function(){b.direction=!0,b.index=U(b.index+1),b.updateItemHTML()},prev:function(){b.direction=!1,b.index=U(b.index-1),b.updateItemHTML()},goTo:function(a){b.direction=a>=b.index,b.index=a,b.updateItemHTML()},preloadNearbyImages:function(){var a,c=b.st.gallery.preload,d=Math.min(c[0],b.items.length),e=Math.min(c[1],b.items.length);for(a=1;a<=(b.direction?e:d);a++)b._preloadItem(b.index+a);for(a=1;a<=(b.direction?d:e);a++)b._preloadItem(b.index-a)},_preloadItem:function(c){if(c=U(c),!b.items[c].preloaded){var d=b.items[c];d.parsed||(d=b.parseEl(c)),z("LazyLoad",d),"image"===d.type&&(d.img=a('<img class="mfp-img" />').on("load.mfploader",function(){d.hasSize=!0}).on("error.mfploader",function(){d.hasSize=!0,d.loadError=!0,z("LazyLoadError",d)}).attr("src",d.src)),d.preloaded=!0}}}});var W="retina";a.magnificPopup.registerModule(W,{options:{replaceSrc:function(a){return a.src.replace(/\.\w+$/,function(a){return"@2x"+a})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var a=b.st.retina,c=a.ratio;c=isNaN(c)?c():c,c>1&&(x("ImageHasSize."+W,function(a,b){b.img.css({"max-width":b.img[0].naturalWidth/c,width:"100%"})}),x("ElementParse."+W,function(b,d){d.src=a.replaceSrc(d,c)}))}}}}),function(){var b=1e3,c="ontouchstart"in window,d=function(){w.off("touchmove"+f+" touchend"+f)},e="mfpFastClick",f="."+e;a.fn.mfpFastClick=function(e){return a(this).each(function(){var g,h=a(this);if(c){var i,j,k,l,m,n;h.on("touchstart"+f,function(a){l=!1,n=1,m=a.originalEvent?a.originalEvent.touches[0]:a.touches[0],j=m.clientX,k=m.clientY,w.on("touchmove"+f,function(a){m=a.originalEvent?a.originalEvent.touches:a.touches,n=m.length,m=m[0],(Math.abs(m.clientX-j)>10||Math.abs(m.clientY-k)>10)&&(l=!0,d())}).on("touchend"+f,function(a){d(),l||n>1||(g=!0,a.preventDefault(),clearTimeout(i),i=setTimeout(function(){g=!1},b),e())})})}h.on("click"+f,function(){g||e()})})},a.fn.destroyMfpFastClick=function(){a(this).off("touchstart"+f+" click"+f),c&&w.off("touchmove"+f+" touchend"+f)}}()}(window.jQuery||window.Zepto),$(function(){$("article").fitVids()}),$(function(){$(".toc h3").click(function(){$("#drawer").toggleClass("hidden")})}),$("a[href$='.jpg'],a[href$='.png'],a[href$='.gif']").addClass("image-popup"),$(document).ready(function(){$(".image-popup").magnificPopup({type:"image",tLoading:"Loading image #%curr%...",gallery:{enabled:!0,navigateByImgClick:!0,preload:[0,1]},image:{tError:'<a href="%url%">Image #%curr%</a> could not be loaded.'},removalDelay:300,mainClass:"mfp-fade"})});
\ No newline at end of file

M assets/less/480.less => assets/less/480.less +0 -8
@@ 3,14 3,6 @@
// TEXTURE ====================================================
// ELEMENTS ===================================================
// LAYOUT =====================================================
.article-author-top,
.article-author-bottom {
	.transition(all .2s ease);
	.opacity(.7);
	&:hover {
		.opacity(1);
	}
}
.image-grid {
	li {
		width: 33.333333%;

M assets/less/600.less => assets/less/600.less +20 -2
@@ 45,6 45,24 @@
	.grid(12,2);
	.prefix(12,0.5);
	.suffix(12,0.5);
	h3,
	.bio-photo,
	p,
	.author-social {
		display: block;
		max-width: 125px;
		margin: auto;
	}
	h3 {
		margin-top: 10px;
		margin-bottom: 10px;
	}
	p {
		margin-bottom: 20px;
	}
	.author-social {
		margin-bottom: 5px;
	}
}
.article-author-bottom {
	display: none;


@@ 54,8 72,8 @@
	.grid(12,2);
	.prefix(12,0.5);
	.suffix(12,0.5);
	position: fixed;
	top: 120px;
	position: absolute;
	top: 5.5em;
	right: 0;
	.box-shadow(0 0 5px rgba(0,0,0,.50));
}

M assets/less/992.less => assets/less/992.less +6 -0
@@ 5,6 5,12 @@
// LAYOUT =====================================================
.article-author-top,
.article-author-bottom {
	h3,
	.bio-photo,
	p,
	.author-social {
		max-width: 150px;
	}
	img.bio-photo {
		width: 150px;
		height: 150px;

M assets/less/coderay.less => assets/less/coderay.less +1 -0
@@ 4,6 4,7 @@
  .font(12);
  color: #333332;
  margin-bottom: 1.5em;
  .rounded(4px);
  pre {
    margin: 0px;
    padding: 1em;

M assets/less/elements.less => assets/less/elements.less +1 -1
@@ 47,7 47,7 @@ svg:not(:root) {
  background-color: @black;
  color: @white;
  border: 2px solid @black !important;
  .rounded(20px);
  .rounded(4px);
  &:visited {
    color: @white;
  }

M assets/less/page.less => assets/less/page.less +17 -9
@@ 69,8 69,12 @@ body {
	}
	article {
		h2 {
			margin-bottom: 0;
			.font-rem(24);
			margin-bottom: 4px;
			.font-rem(20);
			text-transform: uppercase;
		}
		p {
			.font-rem(14);
		}
		p+p {
			text-indent: 0;


@@ 145,7 149,6 @@ body {
}
.article-author-top {
	display: none;
	text-align: center;
}
.article-author-bottom {
	margin-bottom: 1em;


@@ 204,15 207,20 @@ body {
		font-family: @heading-font;
		border-bottom: 1px solid darken(@white, 50);
		&:last-child {
			border-bottom: 0 solid transparent;
		}
		a, a:hover {
			color: @white;
			border-bottom: 0 solid transparent;
			border-bottom-width: 0;
		}
		a { 
		a {
			padding: 10px;
			display: block;
			color: @white;
			border-bottom-width: 0;
			&:hover {
				font-weight: 400;
				:before {
					content: "\00bb";
					padding-right: 5px;
				}
			}
		}
		ul {
			margin: 0;

M assets/less/pygments.less => assets/less/pygments.less +1 -0
@@ 4,6 4,7 @@
	.font(12);
	color: #333332;
	margin-bottom: 1.5em;
	.rounded(4px);
	pre {
		position: relative;
		margin: 0;

M images/3953273590_704e3899d5_m.jpg => images/3953273590_704e3899d5_m.jpg +0 -0
M images/apple-touch-icon-114x114-precomposed.png => images/apple-touch-icon-114x114-precomposed.png +0 -0
M images/apple-touch-icon-144x144-precomposed.png => images/apple-touch-icon-144x144-precomposed.png +0 -0
M images/apple-touch-icon-72x72-precomposed.png => images/apple-touch-icon-72x72-precomposed.png +0 -0
M images/apple-touch-icon-precomposed.png => images/apple-touch-icon-precomposed.png +0 -0
M images/bio-photo.jpg => images/bio-photo.jpg +0 -0
M images/default-thumb.png => images/default-thumb.png +0 -0
M images/mm-theme-post-600.jpg => images/mm-theme-post-600.jpg +0 -0
M images/texture-feature-01.jpg => images/texture-feature-01.jpg +0 -0
M images/texture-feature-02.jpg => images/texture-feature-02.jpg +0 -0
M images/texture-feature-03.jpg => images/texture-feature-03.jpg +0 -0
M images/texture-feature-04.jpg => images/texture-feature-04.jpg +0 -0
M images/texture-feature-05.jpg => images/texture-feature-05.jpg +0 -0
A package.json => package.json +25 -0
@@ 0,0 1,25 @@
{
  "name": "minimal-mistakes-theme",
  "author": "Michael Rose <michael@mademistakes.com>",
  "homepage": "http://mmistakes.github.io/minima-mistakes/",
  "repository": {
    "type": "git",
    "url": "git://github.com/mmistakes/minimal-mistakes.git"
  },
  "bugs": {
    "url": "https://github.com/mmistakes/minimal-mistakes/issues"
  },
  "engines": {
    "node": ">= 0.10.0"
  },
  "devDependencies": {
    "grunt": "~0.4.1",
    "grunt-contrib-clean": "~0.5.0",
    "grunt-contrib-jshint": "~0.6.3",
    "grunt-contrib-uglify": "~0.2.2",
    "grunt-contrib-watch": "~0.5.2",
    "grunt-recess": "~0.3.5",
    "grunt-contrib-imagemin": "~0.2.0",
    "grunt-svgmin": "~0.2.0"
  }
}

M theme-setup.md => theme-setup.md +2 -2
@@ 12,7 12,7 @@ image:

<section id="table-of-contents" class="toc">
  <header>
    <h3 class="delta">Contents</h3>
    <h3 >Contents</h3>
  </header>
<div id="drawer" markdown="1">
*  Auto generated table of contents


@@ 131,7 131,7 @@ Any article or page that you want a *table of contents* to render insert the fol
{% highlight html %}
<section id="table-of-contents" class="toc">
  <header>
    <h3 class="delta">Contents</h3>
    <h3>Contents</h3>
  </header>
<div id="drawer" markdown="1">
*  Auto generated table of contents