/* Stop: Normalize.
/* ---------------------------------------------------------- */

/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */

/**
 * 1. Set default font family to sans-serif.
 * 2. Prevent iOS and IE text size adjust after device orientation change,
 *    without disabling user zoom.
 */

html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
}

/**
 * Remove default margin.
 */

body {
  margin: 0;
}

/* HTML5 display definitions
   ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11
 * and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
menu,
nav,
section,
summary {
  display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
  display: none;
  height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
 */

[hidden],
template {
  display: none;
}

/* Links
   ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * Improve readability of focused elements when they are also in an
 * active/hover state.
 */

a:active,
a:hover {
  outline: 0;
}

/* Text-level semantics
   ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
  border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
  font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
  font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
  background: #ff0;
  color: #000;
}

/**
 * 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/10.
 */

img {
  border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
  overflow: hidden;
}

/* Grouping content
   ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
  margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
  box-sizing: content-box;
  height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
  overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Forms
   ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  /* 1 */
  font: inherit;
  /* 2 */
  margin: 0;
  /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
  overflow: visible;
}

/**
 * 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 Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

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;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
  line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
 */

input[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  box-sizing: content-box;
  /* 2 */
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 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/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
  border: 0;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
  overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
  font-weight: bold;
}

/* Tables
   ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

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

td,
th {
  padding: 0;
}

/* Patterns: Groups of Styles
/* ---------------------------------------------------------- */

/* Global styles
/* ---------------------------------------------------------- */

/* Variables
/* ---------------------------------------------------------- */

:root {
  /* Colours */
  /* Style values */
}

/* Colour classes
/* ---------------------------------------------------------- */

.darkgrey {
  color: #242628;
}

.midgrey {
  color: #7d878a;
}

.lightgrey {
  color: #e2edf2;
}

.blue {
  color: #5ba4e5;
}

.red {
  color: #e25440;
}

.orange {
  color: #f2a925;
}

.green {
  color: #9fbb58;
}

/* Layout
/* ---------------------------------------------------------- */

*,
*:before,
*:after {
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

html {
  overflow: hidden;
  width: 100%;
  /* Prevent elastic scrolling on the whole page */
  height: 100%;
  font: 62.5%/1.65 "Open Sans", sans-serif;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  overflow: auto;
  overflow-x: hidden;
  width: 100%;
  /* Prevent elastic scrolling on the whole page */
  height: 100%;
  color: rgb(61, 64, 67);
  font-size: 1.4rem;
}

::-moz-selection {
  background: rgb(180, 214, 243);
}

::selection {
  background: rgb(180, 214, 243);
}

/* Text
/* ---------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.3em 0;
  color: #242628;
  line-height: 1.15em;
  text-rendering: optimizeLegibility;
}

h1 {
  text-indent: -1px;
  font-size: 5rem;
}

h2 {
  text-indent: -1px;
  font-size: 4.2rem;
}

h3 {
  font-size: 3.8rem;
}

h4 {
  font-size: 3.1rem;
}

h5 {
  font-size: 2.8rem;
}

h6 {
  font-size: 2.2rem;
}

p,
ul,
ol,
dl {
  margin: 0 0 1.7em 0;
}

ol,
ul {
  padding-left: 2.5em;
}

ol ol,
ul ul,
ul ol,
ol ul {
  margin: 0 0 0.4em 0;
  padding-left: 2em;
  font-size: 0.9em;
}

mark {
  background-color: #fdffb6;
}

a {
  color: #5ba4e5;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

a:hover {
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
}

a.highlight {
  color: #f2a925;
  font-weight: bold;
}

hr {
  display: block;
  margin: 3.2em 0;
  padding: 0;
  height: 1px;
  border: 0;
  border-top: 1px solid #dfe1e3;
}

dl {
  margin: 1.6em 0;
}

dl dt {
  float: left;
  clear: left;
  overflow: hidden;
  margin-bottom: 1em;
  width: 180px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: bold;
}

dl dd {
  margin-bottom: 1em;
  margin-left: 200px;
}

blockquote {
  margin: 1.6em 0;
  padding: 0 1.6em 0 1.6em;
  border-left: #dfe1e3 0.6em solid;
}

blockquote p {
  margin: 0.8em 0;
  font-size: 1.2em;
  font-weight: 300;
}

blockquote small {
  display: inline-block;
  margin: 0.8em 0 0.8em 1.5em;
  color: #7d878a;
  font-size: 0.9em;
}

/* Quotation marks */

blockquote small:before {
  content: "\2014 \00A0";
}

blockquote cite {
  font-weight: bold;
}

blockquote cite a {
  font-weight: normal;
}

.markdown,
pre,
code,
tt {
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

code,
tt {
  padding: 0.2rem 0.3rem 0.1rem;
  border: rgb(216, 224, 228) 1px solid;
  background: #f5f7f8;
  border-radius: 2px;
  color: #c25;
  vertical-align: middle;
  white-space: pre-wrap;
  font-size: 0.8em;
  line-height: 1em;
}

pre {
  overflow: auto;
  margin: 1.6em 0;
  padding: 10px;
  width: 100%;
  border: rgb(216, 224, 228) 1px solid;
  background: #f5f7f8;
  border-radius: 3px;
  white-space: pre;
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 0.9em;
}

pre code,
pre tt {
  padding: 0;
  border: none;
  background: transparent;
  color: inherit;
  white-space: pre-wrap;
  font-size: inherit;
}

kbd {
  display: inline-block;
  margin-bottom: 0.4em;
  padding: 1px 8px;
  border: #ccc 1px solid;
  background: #f4f4f4;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2),
    0 1px 0 0 #fff inset;
  color: #242628;
  text-shadow: #fff 0 1px 0;
  font-size: 0.9em;
  font-weight: bold;
}

button {
  padding: 0;
  outline: none;
  border: none;
  background: transparent;
  box-shadow: none;
}

i {
  display: block;
}

img {
  max-width: 100%;
}

/* Utilities
/* ---------------------------------------------------------- */

.clearfix,
.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.wrapper {
  position: relative;
}

.show {
  display: block !important;
}

.hidden {
  visibility: hidden !important;
  display: none !important;
}

.invisible {
  visibility: hidden;
}

.sr-only {
  position: absolute;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  margin: -1px;
  padding: 0;
  width: 1px;
  height: 1px;
  border: 0;
}

.sr-only:active,
.sr-only:focus {
  position: static;
  overflow: visible;
  clip: auto;
  margin: 0;
  width: auto;
  height: auto;
}

.right {
  float: right;
}

.left {
  float: left;
}

.vertical {
  display: table-cell;
  vertical-align: middle;
}

/* Animations
/* ---------------------------------------------------------- */

@-webkit-keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@-webkit-keyframes fade-in-snap {
  to {
    opacity: 1;
  }
}

@keyframes fade-in-snap {
  to {
    opacity: 1;
  }
}

@-webkit-keyframes fade-in-scale {
  from {
    opacity: 0;
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes fade-in-scale {
  from {
    opacity: 0;
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-webkit-keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@-webkit-keyframes keyboard-focus-style-fade-out {
  from {
    box-shadow: inset 0 0 30px 1px rgb(180, 186, 187);
  }

  to {
    box-shadow: none;
  }
}

@keyframes keyboard-focus-style-fade-out {
  from {
    box-shadow: inset 0 0 30px 1px rgb(180, 186, 187);
  }

  to {
    box-shadow: none;
  }
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.fade-in {
  -webkit-animation: fade-in 0.2s;
  animation: fade-in 0.2s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.fade-in-scale {
  -webkit-animation: fade-in-scale 0.2s;
  animation: fade-in-scale 0.2s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

.fade-out {
  -webkit-animation: fade-out 0.5s;
  animation: fade-out 0.5s;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
}

/* Shame
/* ---------------------------------------------------------- */

/* TODO: Kill with fire */

/* Animations
/* ---------------------------------------------------------- */

/* Icons
/* ---------------------------------------------------------- */

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

[data-icon]:before {
  content: attr(data-icon);
  text-transform: none !important;
  font-family: "ghosticons" !important;
  line-height: 1;
  font-weight: normal !important;
  font-style: normal !important;
  -webkit-font-feature-settings: normal,;
  font-feature-settings: normal,;
  font-variant: normal !important;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

[class^="icon-"]:before,
[class*=" icon-"]:before {
  text-transform: none !important;
  font-family: "ghosticons" !important;
  line-height: 1;
  font-weight: normal !important;
  font-style: normal !important;
  -webkit-font-feature-settings: normal,;
  font-feature-settings: normal,;
  font-variant: normal !important;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-user:before {
  content: "\e000";
}

.icon-search:before {
  content: "\e001";
}

.icon-design:before {
  content: "\e003";
}

.icon-content:before {
  content: "\e004";
}

.icon-x:before {
  content: "\e005";
}

.icon-add:before {
  content: "\e006";
}

.icon-apps:before {
  content: "\e007";
}

.icon-settings:before {
  content: "\e008";
}

.icon-front-end:before {
  content: "\e00a";
}

.icon-dash:before {
  content: "\e00b";
}

.icon-tag:before {
  content: "\e009";
}

.icon-compass:before {
  content: "\e002";
}

.icon-code:before {
  content: "\e00c";
}

.icon-team:before {
  content: "\e00d";
}

.icon-idea:before {
  content: "\e00e";
}

.icon-arrow:before {
  content: "\e00f";
}

.icon-pen:before {
  content: "\e010";
}

.icon-clip:before {
  content: "\e011";
}

.icon-trash:before {
  content: "\e012";
}

.icon-edit:before {
  content: "\e013";
}

.icon-new:before {
  content: "\e014";
}

.icon-lock:before {
  content: "\e015";
}

.icon-link:before {
  content: "\e016";
}

.icon-chat:before {
  content: "\e017";
}

.icon-smiley:before {
  content: "\e018";
}

.icon-star:before {
  content: "\e019";
}

.icon-rss:before {
  content: "\e01b";
}

.icon-hotspot:before {
  content: "\e01d";
}

.icon-mail:before {
  content: "\e01e";
}

.icon-sound-on:before {
  content: "\e01f";
}

.icon-sound-off:before {
  content: "\e020";
}

.icon-download:before {
  content: "\e021";
}

.icon-upload:before {
  content: "\e022";
}

.icon-bell:before {
  content: "\e023";
}

.icon-shop:before {
  content: "\e01c";
}

.icon-box:before {
  content: "\e024";
}

.icon-connections:before {
  content: "\e025";
}

.icon-arrow-right:before {
  content: "\e01a";
}

.icon-arrow-left:before {
  content: "\e026";
}

.icon-arrow-up:before {
  content: "\e027";
}

.icon-ghost:before {
  content: "\e028";
}

.icon-dice:before {
  content: "\e029";
}

.icon-ambulance:before {
  content: "\e02a";
}

.icon-calendar:before {
  content: "\e02b";
}

.icon-folder:before {
  content: "\e02c";
}

.icon-pulse:before {
  content: "\e02d";
}

.icon-photos:before {
  content: "\e02e";
}

.icon-legal:before {
  content: "\e02f";
}

.icon-letter:before {
  content: "\e030";
}

.icon-grid:before {
  content: "\e031";
}

.icon-list:before {
  content: "\e032";
}

.icon-blog:before {
  content: "\e033";
}

.icon-question:before {
  content: "\e034";
}

.icon-error:before {
  content: "\e035";
}

.icon-power:before {
  content: "\e036";
}

.icon-markdown:before {
  content: "\e037";
}

.icon-external:before {
  content: "\e038";
}

.icon-arrow2:before {
  content: "\e039";
}

.icon-arrow2-up:before {
  content: "\e03a";
}

.icon-arrow2-left:before {
  content: "\e03b";
}

.icon-arrow2-right:before {
  content: "\e03c";
}

.icon-x2:before {
  content: "\e03d";
}

.icon-gh:before {
  content: "\e03e";
}

.icon-signout:before {
  content: "\e036";
}

.icon-minimise:before {
  content: "\e03f";
}

.icon-maximise:before {
  content: "\e040";
}

.icon-book:before {
  content: "\e041";
}

.icon-twitter:before {
  content: "\e042";
}

.icon-check:before {
  content: "\e043";
}

.icon-grab:before {
  content: "\e044";
}

.icon-add2:before {
  content: "\e045";
}

.icon-pause:before {
  content: "\e046";
}

.icon-play:before {
  content: "\e047";
}

/* Forms
/* ---------------------------------------------------------- */

form * {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

form label {
  display: block;
  color: #242628;
  font-size: 1.3rem;
  font-weight: bold;
}

form .word-count {
  float: right;
  font-weight: bold;
}

fieldset {
  margin: 0 0 3em 0;
  padding: 0;
  border: none;
}

legend {
  display: block;
  margin: 2em 0;
  width: 100%;
  border-bottom: #dfe1e3 1px solid;
  color: #b1b1b1;
  font-size: 1.2em;
  line-height: 2.0em;
}

input {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.form-group.error .response {
  color: #e25440;
}

/* Form Groups
/* ---------------------------------------------------------- */

.form-group {
  position: relative;
  margin-bottom: 1.6em;
  max-width: 500px;
  width: 100%;
}

.form-group p {
  margin: 4px 0 0 0;
  color: #b1b1b1;
  font-size: 1.3rem;
}

.form-group label {
  margin-bottom: 4px;
}

@media (max-width: 550px) {
  .form-group {
    max-width: 100%;
  }
}

/* Input Icons
/* ---------------------------------------------------------- */

.input-icon[class*="icon-"] {
  position: relative;
  display: block;
}

.input-icon[class*="icon-"] input[type="email"],
.input-icon[class*="icon-"] input[type="number"],
.input-icon[class*="icon-"] input[type="password"],
.input-icon[class*="icon-"] input[type="search"],
.input-icon[class*="icon-"] input[type="tel"],
.input-icon[class*="icon-"] input[type="text"],
.input-icon[class*="icon-"] input[type="url"],
.input-icon[class*="icon-"] input[type="date"] {
  padding-left: 3.2rem;
}

.input-icon[class*="icon-"] .gh-select select {
  padding-left: 3.2rem;
}

.input-icon[class*="icon-"]:before {
  position: absolute;
  top: 50%;
  left: 1.1rem;
  z-index: 100;
  font-size: 1.3rem;
  -webkit-transform: translateY(-52%);
  transform: translateY(-52%);
}

/* Inputs
/* ---------------------------------------------------------- */

.gh-input,
.gh-select,
select {
  display: block;
  padding: 8px 10px;
  width: 100%;
  border: 1px solid #dfe1e3;
  border-radius: 4px;
  color: #666;
  font-size: 1.4rem;
  font-weight: normal;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  transition: border-color 0.15s linear;
  -webkit-appearance: none;
}

.gh-input.error,
.form-group.error .gh-input,
.gh-select.error,
select.error {
  border-color: #e25440;
}

.gh-input:focus,
.gh-input.focus,
.gh-select:focus,
select:focus {
  outline: 0;
  border-color: #b1b1b1;
}

textarea {
  min-width: 250px;
  min-height: 10rem;
  max-width: 500px;
  width: 100%;
  height: auto;
  line-height: 1.5;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  resize: vertical;
}

/* Radio / Checkboxes
/* ---------------------------------------------------------- */

.for-radio label,
.for-checkbox label {
  display: block;
  padding-bottom: 4px;
}

.for-radio label p,
.for-checkbox label p {
  color: #000;
  font-weight: normal;
}

.for-radio label:hover input:not(:checked) + .input-toggle-component,
.for-checkbox label:hover input:not(:checked) + .input-toggle-component {
  border-color: #dfe1e3;
}

.for-radio input,
.for-checkbox input {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: -9999px;
}

.for-radio .input-toggle-component,
.for-checkbox .input-toggle-component {
  position: relative;
  top: 1px;
  display: inline-block;
  float: left;
  margin-right: 7px;
  width: 18px;
  height: 18px;
  border: 1px solid #dfe1e3;
  background: #f7f7f7;
}

.for-radio p,
.for-checkbox p {
  color: #b3b2a8;
  white-space: nowrap;
  font-weight: normal;
}

.for-checkbox .input-toggle-component {
  border-radius: 4px;
}

.for-checkbox .input-toggle-component {
  transition: background 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.for-checkbox .input-toggle-component:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 3px;
  width: 10px;
  height: 6px;
  border: 2px solid #fff;
  border-top: none;
  border-right: none;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.for-checkbox input:checked + .input-toggle-component {
  border-color: rgb(133, 159, 65);
  background: #9fbb58;
}

.for-checkbox input:checked + .input-toggle-component:before {
  opacity: 1;
}

.for-radio .input-toggle-component {
  border-radius: 100px;
}

.for-radio .input-toggle-component {
  transition: background 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.for-radio .input-toggle-component:before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 100%;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
}

.for-radio input:checked + .input-toggle-component {
  border-color: rgb(133, 159, 65);
  background: #9fbb58;
}

.for-radio input:checked + .input-toggle-component:before {
  opacity: 1;
}

/* Select
/* ---------------------------------------------------------- */

.gh-select {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  max-width: 100%;
  width: 100%;
  border-width: 0;
}

.gh-select:after {
  content: "\e00f";
  position: absolute;
  top: 50%;
  right: 1.2rem;
  margin-top: -0.5em;
  text-transform: none !important;
  font-family: "ghosticons" !important;
  font-size: 1rem;
  line-height: 1;
  font-weight: normal !important;
  font-style: normal !important;
  -webkit-font-feature-settings: normal,;
  font-feature-settings: normal,;
  font-variant: normal !important;
  pointer-events: none;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.gh-select select {
  padding: 8px 10px;
  outline: none;
  background: #fff;
  text-indent: 0.01px;
  text-overflow: "";
  line-height: normal;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: window;
}

.gh-select select::-ms-expand {
  display: none;
}

.gh-select select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}

/* FFF: Fucking Firefox Fixes
/* ---------------------------------------------------------- */

@-moz-document url-prefix()  {
  .gh-select {
    border-width: 1px;
  }

  .gh-select select {
    padding: 7px 10px 7px 8px;
  }

  .gh-select:focus {
    border-color: #b1b1b1;
  }
}

/* Buttons
/* ---------------------------------------------------------- */

/* Base button style */

.btn {
  display: inline-block;
  margin-bottom: 0;
  padding: 9px 15px;
  border: #dfe1e3 1px solid;
  background: #fff;
  background-image: none;
  /* Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214 */
  border-radius: 4px;
  color: #808284;
  text-align: center;
  text-transform: uppercase;
  text-shadow: none;
  white-space: nowrap;
  letter-spacing: 1px;
  font-size: 1.1rem;
  line-height: 1.428571429;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

/* When hovered or clicked */

.btn:hover,
.btn:focus {
  border-color: #5ba4e5;
  color: rgb(48, 141, 223);
  text-decoration: none;
}

/* When focused with keyboard */

.btn:focus,
.btn:active:focus,
.btn.active:focus {
  outline: thin dotted;
  outline: 0 auto -webkit-focus-ring-color;
  outline-offset: -2px;
}

/* When clicked */

.btn:active,
.btn.active {
  outline: 0;
  background-image: none;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* When disabled */

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn {
  box-shadow: none;
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

.btn i {
  display: inline-block;
  vertical-align: middle;
}

/* Blue button
/* ---------------------------------------------------------- */

.btn-blue {
  border-color: rgb(48, 141, 223);
  background: #5ba4e5;
  color: #fff;
}

.btn-blue:hover,
.btn-blue:active,
.btn-blue:focus {
  border-color: rgb(30, 115, 190);
  background: rgb(48, 141, 223);
  color: #fff;
}

/* Green button
/* ---------------------------------------------------------- */

.btn-green {
  border-color: rgb(133, 159, 65);
  background: #9fbb58;
  color: #fff;
}

.btn-green:hover,
.btn-green:active,
.btn-green:focus {
  border-color: rgb(102, 123, 50);
  background: rgb(133, 159, 65);
  color: #fff;
}

/* Red button
/* ---------------------------------------------------------- */

.btn-red {
  border-color: rgb(209, 52, 31);
  background: #e25440;
  color: #fff;
}

.btn-red:hover,
.btn-red:active,
.btn-red:focus {
  border-color: rgb(164, 41, 25);
  background: rgb(209, 52, 31);
  color: #fff;
}

/* Link button
/* ---------------------------------------------------------- */

/* For styling a button like a link */

.btn-link {
  border-color: transparent;
  background: transparent;
  color: #5ba4e5;
}

.btn-link:hover,
.btn-link:active,
.btn-link:focus {
  border-color: transparent;
  background: transparent;
  color: #5ba4e5;
  text-decoration: underline;
}

.btn-link.disabled,
.btn-link[disabled] {
  box-shadow: none;
  color: #b2b2b2;
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}

/* Minor button
/* ---------------------------------------------------------- */

/* For buttons with a small/insignificant action for
// example a "cancel" button. Style is de-emphasised. */

.btn-minor {
  padding: 8px 15px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.2rem;
}

.btn-minor:hover,
.btn-minor:active,
.btn-minor:focus {
  border-color: #c1c1c1;
  background: #fff;
  box-shadow: none;
  color: #808284;
}

/* Button size variations
/* ---------------------------------------------------------- */

.btn-lg {
  padding: 12px 18px;
  border-radius: 4px;
  font-size: 1.4rem;
  line-height: 1.33;
}

.btn-sm {
  padding: 7px 10px;
  border-radius: 2px;
  font-size: 1rem;
  line-height: 1.5;
}

.btn-block {
  display: block;
  width: 100%;
}

/* Vertically space out multiple block buttons */

.btn-block + .btn-block {
  margin-top: 5px;
}

/* Specificity overrides */

input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
  width: 100%;
}

/* Spin Buttons!
/* ---------------------------------------------------------- */

.spinner {
  position: relative;
  display: inline-block;
  box-sizing: border-box;
  margin: -2px 0;
  width: 14px;
  height: 14px;
  border: rgba(0,0,0,0.2) solid 4px;
  border-radius: 100px;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

.spinner:before {
  content: "";
  display: block;
  margin-top: 6px;
  width: 4px;
  height: 4px;
  background: rgba(0,0,0,0.6);
  border-radius: 100px;
}

/* Labels
/* ---------------------------------------------------------- */

.label {
  display: inline;
  padding: 0.2em 0.6em 0.3em;
  border-radius: 0.25em;
  color: #fff;
  vertical-align: baseline;
  text-align: center;
  white-space: nowrap;
  font-size: 75%;
  line-height: 1;
  font-weight: 300;
}

.label:empty {
  display: none;
}

.btn .label {
  position: relative;
  top: -1px;
}

h1 .label,
h2 .label,
h3 .label,
h4 .label,
h5 .label,
h6 .label {
  position: relative;
  top: -0.18em;
  display: inline-block;
  padding: 0.2em 0.5em 0.25em;
  font-size: 70%;
  line-height: 70%;
}

a.label:hover,
a.label:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

/* Label Colours
/* ---------------------------------------------------------- */

.label-default {
  background-color: #a1adb3;
  color: #fff;
}

.label-default[href] {
  color: #fff;
}

.label-default[href]:hover,
.label-default[href]:focus {
  background-color: rgb(133, 149, 157);
}

.label-alt {
  background-color: #666;
  color: #fff;
}

.label-alt[href] {
  color: #fff;
}

.label-alt[href]:hover,
.label-alt[href]:focus {
  background-color: rgb(77, 77, 77);
}

.label-blue {
  background-color: #5ba4e5;
  color: #fff;
}

.label-blue[href] {
  color: #fff;
}

.label-blue[href]:hover,
.label-blue[href]:focus {
  background-color: rgb(48, 141, 223);
}

.label-green {
  background-color: #9fbb58;
  color: #fff;
}

.label-green[href] {
  color: #fff;
}

.label-green[href]:hover,
.label-green[href]:focus {
  background-color: rgb(133, 159, 65);
}

.label-red {
  background-color: #e25440;
  color: #fff;
}

.label-red[href] {
  color: #fff;
}

.label-red[href]:hover,
.label-red[href]:focus {
  background-color: rgb(209, 52, 31);
}

/* Tables
/* ---------------------------------------------------------- */

/* Base */

table,
.table {
  margin: 1.6em 0;
  max-width: 100%;
  width: 100%;
  background-color: transparent;
}

table th,
table td,
.table th,
.table td {
  padding: 8px;
  vertical-align: middle;
  text-align: left;
  line-height: 20px;
}

/* Default Table
/* ---------------------------------------------------------- */

.table th,
.table td {
  border-top: 1px solid #dfe1e3;
}

.table th {
  color: #7d878a;
}

.table caption + thead tr:first-child th,
.table caption + thead tr:first-child td,
.table colgroup + thead tr:first-child th,
.table colgroup + thead tr:first-child td,
.table thead:first-child tr:first-child th,
.table thead:first-child tr:first-child td {
  border-top: 0;
}

.table tbody + tbody {
  border-top: 2px solid #dfe1e3;
}

.table table table {
  background-color: #fff;
}

.table tbody > tr:nth-child(odd) > td,
.table tbody > tr:nth-child(odd) > th {
  background-color: rgb(250, 250, 250);
}

.table.plain tbody > tr:nth-child(odd) > td,
.table.plain tbody > tr:nth-child(odd) > th {
  background: transparent;
}

/* Nav Lists
/* ---------------------------------------------------------- */

.nav-list {
  padding: 0;
  max-width: 500px;
  border: 1px solid #e0dfd7;
  background: #fff;
  border-radius: 4px;
}

.nav-list.nav-list-block {
  max-width: none;
}

.nav-list-item {
  position: relative;
  display: block;
  padding: 8px 40px 8px 12px;
  color: #242628;
}

.nav-list-item:hover {
  background: rgb(250, 250, 250);
  cursor: pointer;
}

.nav-list-item:first-of-type {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.nav-list-item:last-of-type {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

.nav-list-item:not(:last-of-type) {
  border-bottom: 1px solid #e0dfd7;
}

.nav-list-item button {
  text-align: left;
}

.nav-list-item a {
  color: #242628;
}

.nav-list-item b {
  display: block;
  font-size: 1.6rem;
  line-height: 1.375;
  font-weight: normal;
}

.nav-list-item span {
  display: block;
  color: #7d878a;
  font-size: 1.1rem;
  line-height: 1.375;
}

.nav-list-item i {
  position: absolute;
  top: 50%;
  right: 10px;
  margin-top: -0.9rem;
  color: #7d878a;
  font-size: 1.4rem;
}

/* Components: Groups of Patterns
/* ---------------------------------------------------------- */

/* Modals
/* ---------------------------------------------------------- */

/* Full screen container
/* ---------------------------------------------------------- */

.modal-container {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  display: none;
  overflow-x: auto;
  overflow-y: scroll;
  padding-right: 10px;
  padding-left: 10px;
  transition: all 0.15s linear 0s;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.modal-background {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  display: none;
  background: rgba(0, 0, 0, 0.6);
}

/* The modal
/* ---------------------------------------------------------- */

.modal,
.modal-action {
  right: auto;
  left: 50%;
  z-index: 1050;
  margin-right: auto;
  margin-left: auto;
  padding-top: 30px;
  padding-bottom: 30px;
  max-width: 550px;
  width: 100%;
  pointer-events: auto;
}

@media (max-width: 900px) {
  .modal,
  .modal-action {
    padding: 10px;
  }
}

.modal button,
.modal-action button {
  min-width: 100px;
}

.modal .image-uploader,
.modal .pre-image-uploader,
.modal-action .image-uploader,
.modal-action .pre-image-uploader {
  margin: 0;
}

.modal-action {
  padding: 60px 0 30px;
}

@media (max-width: 900px) {
  .modal-action {
    padding: 30px 0;
  }
}

/* Modal content
/* ---------------------------------------------------------- */

.modal-content {
  position: relative;
  padding: 18px;
  background-color: #fff;
  background-clip: padding-box;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.2) 0 0 0 6px;
}

.modal-content * {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.modal-content .close {
  position: absolute;
  top: 19px;
  right: 19px;
  z-index: 9999;
  margin: 0;
  padding: 0;
  width: 16px;
  border: none;
  color: #808284;
}

.modal-content .close:hover {
  color: #242628;
}

.modal-header {
  position: relative;
  margin-bottom: 18px;
}

.modal-header h1 {
  display: inline-block;
  margin: 0 25px 0 0;
  font-size: 1.85em;
  font-weight: 100;
}

.modal-body {
  position: relative;
  overflow-y: auto;
}

.modal-body .red {
  color: #e25440;
}

.modal-body > *:first-child {
  margin-top: 0;
}

.modal-body > *:last-child {
  margin-bottom: 0;
}

.modal-footer {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
  margin-top: 20px;
}

.modal-footer button {
  margin-left: 8px;
  text-align: center;
}

.modal-footer button:first-of-type {
  margin-left: 0;
}

/* Modifiers
/* ---------------------------------------------------------- */

.modal-style-wide {
  width: 550px;
}

@media (max-width: 900px) {
  .modal-style-wide {
    width: 100%;
  }
}

.modal-style-centered {
  text-align: center;
}

/* Login styles */

.modal-body .login-form {
  display: block;
}

.modal-body .login-form .password-wrap input {
  width: 100%;
}

@media (max-width: 900px) {
  .modal-body .login-form {
    margin: 0 auto;
    max-width: 264px;
  }

  .modal-body .login-form .password-wrap {
    margin: 0 auto 1em;
    width: 100%;
  }

  .modal-body .login-form .btn {
    margin: 0;
    margin-bottom: 1em;
    width: 100%;
  }
}

@media (min-width: 901px) {
  .modal-body .login-form {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }

  .modal-body .login-form .password-wrap {
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
}

/* Open States
/* ---------------------------------------------------------- */

.modal-container.open,
.modal-container.open > .modal,
.modal-container.open > .modal-action {
  display: block;
}

.modal-background.open {
  display: block;
}

/* Animations
/* ---------------------------------------------------------- */

.modal-container.fade-out {
  -webkit-animation-duration: 0.08s;
  animation-duration: 0.08s;
}

.modal-background.fade-out {
  -webkit-animation-duration: 0.15s;
  animation-duration: 0.15s;
}

/* Notifications
/* ---------------------------------------------------------- */

/* Base notification style */

.gh-notifications {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 7000;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

/* Base notification style */

.gh-notification {
  position: relative;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-top: 5px;
  padding: 4px;
  width: 220px;
  border: #dfe1e3 1px solid;
  background: rgba(255,255,255,0.9);
  border-radius: 4px;
  box-shadow: rgba(0,0,0,0.06) 0 1px 7px;
  color: #808284;
  font-size: 1.2rem;
  line-height: 1.4em;
}

.gh-notification:hover {
  cursor: pointer;
}

.gh-notification-content {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  padding: 10px 15px;
  border-radius: 3px;
  transition: background 0.2s ease;
}

.gh-notification em {
  color: #5ba4e5;
  font-style: normal;
}

.gh-notification:hover .gh-notification-content {
  background: rgb(242, 248, 253);
}

.gh-notification-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 6px 6px 5px 5px;
  background: #fff;
  border-radius: 0 4px 0 4px;
  font-size: 7px;
  line-height: 5px;
}

.gh-notification-close:hover {
  background: #fff;
  color: #e25440;
}

.gh-notification-passive {
  -webkit-animation: fade-out;
  animation: fade-out;
  -webkit-animation-delay: 5s;
  animation-delay: 5s;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

.gh-notification-passive:hover {
  -webkit-animation: fade-in;
  animation: fade-in;
}

/* Red notification
/* ---------------------------------------------------------- */

.gh-notification-red {
  border: rgb(245, 195, 188) 1px solid;
}

.gh-notification-red em {
  color: #e25440;
}

.gh-notification-red:hover .gh-notification-content {
  background: rgb(253, 243, 242);
}

/* Green notification
/* ---------------------------------------------------------- */

.gh-notification-green {
  border: rgb(217, 228, 190) 1px solid;
}

.gh-notification-green em {
  color: #9fbb58;
}

.gh-notification-green:hover .gh-notification-content {
  background: rgb(242, 246, 233);
}

/* Alerts
/* ---------------------------------------------------------- */

/* Alert wrapper, top of screen */

.gh-alerts {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

/* Base alert style */

.gh-alert {
  z-index: 1000;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 14px 15px;
  border-bottom: #dfe1e3 1px solid;
}

.gh-alert-content {
  font-size: 1.4rem;
  line-height: 1.3em;
  font-weight: 200;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.gh-alert a {
  text-decoration: underline;
  font-weight: 400;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.gh-alert-close {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-left: 20px;
  padding: 5px;
  font-size: 10px;
  line-height: 10px;
}

.gh-alert-close:hover {
  color: #e25440;
}

/* Blue alert
/* ---------------------------------------------------------- */

.gh-alert-blue {
  border-bottom: rgb(48, 141, 223) 1px solid;
  background: #5ba4e5;
  color: #fff;
}

.gh-alert-blue a {
  color: #fff;
}

.gh-alert-blue .gh-alert-close:hover {
  color: #fff;
}

/* Red alert
/* ---------------------------------------------------------- */

.gh-alert-red {
  border-bottom: rgb(209, 52, 31) 1px solid;
  background: #e25440;
  color: #fff;
}

.gh-alert-red a {
  color: #fff;
}

.gh-alert-red .gh-alert-close:hover {
  color: #fff;
}

/* Green alert
/* ---------------------------------------------------------- */

.gh-alert-green {
  border-bottom: rgb(142, 170, 70) 1px solid;
  background: #9fbb58;
  color: #fff;
}

.gh-alert-green a {
  color: #fff;
}

.gh-alert-green .gh-alert-close:hover {
  color: #fff;
}

/* Black alert
/* ---------------------------------------------------------- */

.gh-alert-black {
  border-bottom: rgb(12, 13, 13) 1px solid;
  background: #242628;
  color: #fff;
}

.gh-alert-black a {
  color: #fff;
}

.gh-alert-black .gh-alert-close:hover {
  color: #fff;
}

/* Yellow alert
/* ---------------------------------------------------------- */

.gh-alert-yellow {
  border-bottom: #e9ebb6 1px solid;
  background: #fdffb6;
}

/* Image Uploader
/* ---------------------------------------------------------- */

.image-uploader {
  position: relative;
  overflow: hidden;
  margin: 1.6em 0;
  padding: 55px 60px;
  width: 100%;
  height: auto;
  background: #f6f7f8;
  border-radius: 4px;
  color: #808284;
  text-align: center;
}

.image-uploader .description {
  font-size: 1.6rem;
}

.image-uploader a {
  color: #7d878a;
  text-decoration: none;
}

.image-uploader a:hover {
  color: #242628;
}

.image-uploader .image-upload,
.image-uploader .image-url {
  position: absolute;
  bottom: 0;
  left: 0;
  display: block;
  padding: 10px;
  color: #7d878a;
  text-decoration: none;
  font-size: 14px;
  line-height: 12px;
}

.image-uploader .image-upload:hover,
.image-uploader .image-url:hover {
  cursor: pointer;
}

.image-uploader .btn-green {
  position: relative;
  z-index: 700;
  display: inline-block;
  margin-top: 10px;
  color: #fff;
}

.image-uploader input.main {
  position: absolute;
  right: 0;
  margin: 0;
  font-size: 23px;
  opacity: 0;
  cursor: pointer;
  -webkit-transform: scale(14);
  transform: scale(14);
  -webkit-transform-origin: right;
  transform-origin: right;
  direction: ltr;
}

.image-uploader input.main.right {
  right: 9999px;
  height: 0;
}

.image-uploader input.url {
  margin: 0 0 10px 0;
  padding: 9px 7px;
  outline: 0;
  background: #fff;
  vertical-align: middle;
  font: -webkit-small-control;
  font-size: 1.4rem;
}

.image-uploader input.url + .btn.btn-blue {
  color: #fff;
}

.image-uploader .progress {
  position: relative;
  top: 50%;
  display: block;
  overflow: hidden;
  background: linear-gradient(to bottom, #f5f5f5, #f9f9f9);
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.1) 0 1px 2px inset;
}

.image-uploader .fileupload-loading {
  top: 50%;
  display: block;
  margin: 0 auto;
  width: 35px;
  height: 28px;
  background-size: contain;
}

.image-uploader .failed {
  position: relative;
  top: -40px;
  font-size: 16px;
}

.image-uploader .bar {
  height: 12px;
  background: #5ba4e5;
}

.image-uploader .bar.fail {
  background: #e25440;
}

/* Pre-Image-Uploader // TODO: RENAME
/* ---------------------------------------------------------- */

.pre-image-uploader {
  position: relative;
  overflow: hidden;
  margin: 1.6em 0;
  min-height: 46px;
  height: auto;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  color: #7d878a;
}

.pre-image-uploader input {
  position: absolute;
  left: 9999px;
  opacity: 0;
}

.pre-image-uploader a {
  z-index: 10000;
  color: #7d878a;
  text-decoration: none;
}

.pre-image-uploader a:hover {
  color: #242628;
}

.pre-image-uploader img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  line-height: 0;
}

.pre-image-uploader .image-cancel {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 300;
  display: block;
  padding: 8px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 4px;
  box-shadow: rgba(255, 255, 255, 0.2) 0 0 0 1px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  line-height: 10px;
}

.pre-image-uploader .image-cancel:hover {
  background: #e25440;
  color: #fff;
  cursor: pointer;
}

/* Splitbuttons
/* ---------------------------------------------------------- */

.splitbtn {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  /* Flatten out the right side */
  /* Flatten out the left side */
}

.splitbtn .btn {
  position: relative;
  float: left;
  /* Prevent double border between buttons */
  /* Make sure the hovered element is always on
    // top so overlap from .btn + btn. invisible */
}

.splitbtn .btn + .btn {
  margin-left: -1px;
}

.splitbtn .btn:hover,
.splitbtn .btn:focus,
.splitbtn .btn:active,
.splitbtn .btn.active {
  z-index: 2;
}

.splitbtn .btn:first-child {
  margin-left: 0;
}

.splitbtn .btn:first-child:not(:last-child):not(.dropdown-toggle) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.splitbtn .dropdown-toggle {
  padding-right: 12px;
  padding-left: 12px;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  /* This is the additional dropdown arrow, to the right of the button. */
}

.splitbtn .dropdown-toggle.btn-sm {
  padding-right: 10px;
  padding-left: 10px;
  height: 31px;
}

.splitbtn .dropdown-toggle.btn-lg {
  padding-right: 16px;
  padding-left: 16px;
}

.splitbtn .dropdown-toggle .options {
  color: #fff;
  text-align: center;
}

/* Dropdowns
/* ---------------------------------------------------------- */

.dropdown {
  position: relative;
  z-index: 1000;
}

.dropdown-toggle:focus {
  outline: 0;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  float: left;
  margin: 2px 0 0;
  padding: 10px;
  min-width: 200px;
  border: #dfe1e3 1px solid;
  background-color: #fff;
  background-clip: padding-box;
  border-radius: 4px;
  box-shadow: rgba(0, 0, 0, 0.10) 0 2px 6px;
  list-style: none;
  text-align: left;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.4rem;
  font-weight: normal;
}

.dropdown-menu.pull-right {
  right: 0;
  left: auto;
}

.dropdown-menu .divider {
  overflow: hidden;
  margin: 8px 0;
  height: 1px;
  background: rgb(236, 237, 238);
}

.dropdown-menu > li > a,
.dropdown-menu > li > button {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  clear: both;
  padding: 6px 10px;
  width: 100%;
  border-radius: 3px;
  color: rgb(85, 89, 94);
  text-align: left;
  white-space: nowrap;
  font-size: 1.3rem;
  line-height: 1em;
  font-weight: normal;
  transition: none;
}

.dropdown-menu i {
  margin-right: 10px;
  font-size: 14px;
  line-height: 1em;
}

@media (max-width: 500px) {
  .dropdown-menu > li > a,
  .dropdown-menu > li > button {
    padding: 7px 8px;
    font-size: 1.5rem;
  }

  .dropdown-menu i {
    font-size: 16px;
  }
}

/* States
/* ---------------------------------------------------------- */

/* Hover/Focus */

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus,
.dropdown-menu > li > button:hover,
.dropdown-menu > li > button:focus {
  background: rgba(91, 164, 229, 0.15000000000000002);
  color: #242628;
  text-decoration: none;
}

/* Active */

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus,
.dropdown-menu > .active > button,
.dropdown-menu > .active > button:hover,
.dropdown-menu > .active > button:focus {
  outline: 0;
  background-color: #428bca;
  color: #fff;
  text-decoration: none;
}

/* Disabled */

.dropdown-menu > .disabled > a,
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus,
.dropdown-menu > .disabled > button,
.dropdown-menu > .disabled > button:hover,
.dropdown-menu > .disabled > button:focus {
  color: #777;
}

.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus,
.dropdown-menu > .disabled > button:hover,
.dropdown-menu > .disabled > button:focus {
  background-color: transparent;
  background-image: none;
  text-decoration: none;
  cursor: not-allowed;
}

/* Open / Close
/* ---------------------------------------------------------- */

.open > .dropdown-menu {
  display: block;
}

.open > a {
  outline: 0;
}

.closed > .dropdown-menu {
  display: none;
}

/* Selectize
/* ---------------------------------------------------------- */

.selectize-dropdown {
  z-index: 200;
}

/* Pagination
/* ---------------------------------------------------------- */

.pagination {
  display: inline-block;
  margin: 20px 0;
  padding-left: 0;
  border-radius: 4px;
}

.pagination > li {
  display: inline;
}

.pagination > li > a,
.pagination > li > span {
  position: relative;
  float: left;
  margin-left: -1px;
  padding: 6px 12px;
  border: 1px solid #dfe1e3;
  background-color: #fff;
  color: #5ba4e5;
  text-decoration: none;
  line-height: 1.42857143;
}

.pagination > li:first-child > a,
.pagination > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > span:hover,
.pagination > li > span:focus {
  background-color: #eee;
  color: #2a6496;
}

.pagination > .active > a,
.pagination > .active > a:hover,
.pagination > .active > a:focus,
.pagination > .active > span,
.pagination > .active > span:hover,
.pagination > .active > span:focus {
  z-index: 2;
  background-color: #428bca;
  color: #fff;
  cursor: default;
}

.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  border-color: #ddd;
  background-color: #fff;
  color: #777;
  cursor: not-allowed;
}

/* Sizing
/* ---------------------------------------------------------- */

.pagination-lg > li > a,
.pagination-lg > li > span {
  padding: 10px 16px;
  font-size: 18px;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
  padding: 5px 10px;
  font-size: 12px;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

/* Badges
/* ---------------------------------------------------------- */

.badge {
  display: inline-block;
  padding: 2px 4px;
  min-width: 10px;
  background-color: #777;
  border-radius: 10px;
  box-shadow: 0 0 0 1px #777;
  color: #fff;
  vertical-align: baseline;
  text-align: center;
  white-space: nowrap;
  font-size: 1rem;
  line-height: 1;
  font-weight: inherit;
}

.badge:empty {
  display: none;
}

.btn .badge {
  position: relative;
  top: -1px;
}

.btn-xs .badge {
  top: 0;
  padding: 1px 5px;
}

p .badge {
  position: relative;
  top: -2px;
  margin-left: -1px;
  padding: 0 4px 3px;
}

.nav-pills > li > a > .badge {
  margin-left: 3px;
}

.nav-item .badge {
  margin-top: -5px;
  margin-left: 3px;
}

a.badge:hover,
a.badge:focus {
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}

/* Colour variations
/* ---------------------------------------------------------- */

.badge.badge-blue {
  background-color: #5ba4e5;
  box-shadow: 0 0 0 1px #5ba4e5;
}

.badge.badge-green {
  background-color: #9fbb58;
  box-shadow: 0 0 0 1px #9fbb58;
}

.badge.badge-red {
  background-color: #e25440;
  box-shadow: 0 0 0 1px #e25440;
}

/* Popovers
/* ---------------------------------------------------------- */

.popover-item {
  position: relative;
  display: inline-block;
  padding: 11px 26px 13px 16px;
  min-width: 300px;
  max-width: 400px;
  background: #242628;
  border-radius: 6px;
  color: #7d878a;
  font-size: 1.2rem;
}

.popover-title {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 300;
}

.popover-desc {
  margin-top: -4px;
}

.popover-body {
  margin-top: 11px;
  line-height: 1.7;
}

.popover-body b {
  color: #fff;
}

.popover-body > *:last-child {
  margin: 0;
}

/* Open / Close
/* ---------------------------------------------------------- */

.popover {
  position: relative;
  display: inline-block;
}

.popover .popover-item {
  position: absolute;
  z-index: 20;
}

.popover .popover-item.open {
  display: block;
}

.popover .popover-item.closed {
  display: none;
}

/* Settings Menu
/* ---------------------------------------------------------- */

/* Container
/* ---------------------------------------------------------- */

.settings-menu-container {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 500;
  overflow: hidden;
  width: 350px;
  border-left: #dfe1e3 1px solid;
  background: #fff;
  transition: -webkit-transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
  transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
  -webkit-transform: translate3d(350px, 0px, 0px);
  transform: translate3d(350px, 0px, 0px);
}

.settings-menu-expanded .settings-menu-container {
  -webkit-transform: translate3d(0, 0px, 0px);
  transform: translate3d(0, 0px, 0px);
}

.settings-menu-container .settings-menu-pane {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  opacity: 1;
  -webkit-transform: translate3d(0, 0px, 0px);
  transform: translate3d(0, 0px, 0px);
}

@media (min-width: 901px) {
  .settings-menu-container .settings-menu-pane {
    transition: -webkit-transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
    transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
  }
}

.settings-menu-container .settings-menu-pane.settings-menu-pane-out-left {
  -webkit-transform: translate3d(-100%, 0px, 0px);
  transform: translate3d(-100%, 0px, 0px);
}

.settings-menu-container .settings-menu-pane.settings-menu-pane-out-right {
  -webkit-transform: translate3d(100%, 0px, 0px);
  transform: translate3d(100%, 0px, 0px);
}

.settings-menu-container .settings-menu-pane.settings-menu-pane-in {
  -webkit-transform: translate3d(0, 0px, 0px);
  transform: translate3d(0, 0px, 0px);
}

/* Header
/* ---------------------------------------------------------- */

.settings-menu-header {
  position: relative;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 15px 24px;
}

.settings-menu-header h4 {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.375;
  font-weight: normal;
}

.settings-menu-header .close {
  margin-right: -15px;
  padding: 10px 15px;
  font-size: 12px;
  line-height: 12px;
}

.settings-menu-header.subview h4 {
  text-align: center;
}

.settings-menu-header.subview .back {
  margin-left: -15px;
  padding: 10px 15px;
  font-size: 14px;
  line-height: 14px;
}

/* Content
/* ---------------------------------------------------------- */

.settings-menu-content {
  padding: 0 24px 24px;
}

.settings-menu-content .image-uploader {
  margin: 0 0 1.6rem 0;
}

.settings-menu-content .image-uploader .description {
  font-size: 1.4rem;
}

.settings-menu-content .image-uploader.image-uploader-url {
  padding: 35px 45px;
}

.settings-menu-content textarea {
  height: 108px;
}

.settings-menu-content .tag-delete-button {
  padding-left: 0;
  color: #e25440;
}

.settings-menu-content .tag-delete-button:before {
  position: relative;
  top: -1px;
  margin-right: 4px;
}

.settings-menu-content .tag-delete-button:hover,
.settings-menu-content .tag-delete-button:hover:before {
  color: rgb(209, 52, 31);
}

.settings-menu-content .nav-list {
  margin-top: 3rem;
}

.settings-menu-content .pre-image-uploader {
  margin-top: 0;
  min-height: 50px;
  max-height: 250px;
  width: auto;
}

.settings-menu-content .word-count {
  font-weight: bold;
}

.ghost-url-preview {
  /* Preview never wider than input */
  overflow: hidden;
  width: 98%;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Background
/* ---------------------------------------------------------- */

.settings-menu-expanded .content-cover,
.mobile-menu-expanded .content-cover {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 900;
  transition: -webkit-transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
  transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
  /* Not off the screen, to give a parallax effect */
}

.settings-menu-expanded .content-cover {
  -webkit-transform: translate3d(-350px, 0px, 0px);
  transform: translate3d(-350px, 0px, 0px);
}

.mobile-menu-expanded .content-cover {
  -webkit-transform: translate3d(235px, 0px, 0px);
  transform: translate3d(235px, 0px, 0px);
}

.selectize-control.plugin-drag_drop.multi > .selectize-input > div.ui-sortable-placeholder {
  visibility: visible !important;
  border: 0 none !important;
  background: #f2f2f2 !important;
  background: rgba(0, 0, 0, 0.06) !important;
}

.selectize-control.plugin-drag_drop .ui-sortable-placeholder:after {
  content: "!";
  visibility: hidden;
}

.selectize-control.plugin-drag_drop .ui-sortable-helper {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.selectize-dropdown-header {
  position: relative;
  padding: 5px 8px;
  border-bottom: 1px solid #d0d0d0;
  background: #f8f8f8;
  border-radius: 4px 4px 0 0;
}

.selectize-dropdown-header-close {
  position: absolute;
  top: 50%;
  right: 8px;
  margin-top: -12px;
  color: #303030;
  font-size: 20px !important;
  line-height: 20px;
  opacity: 0.4;
}

.selectize-dropdown-header-close:hover {
  color: #000;
}

.selectize-dropdown.plugin-optgroup_columns .optgroup {
  float: left;
  box-sizing: border-box;
  border-top: 0 none;
  border-right: 1px solid #f2f2f2;
}

.selectize-dropdown.plugin-optgroup_columns .optgroup:last-child {
  border-right: 0 none;
}

.selectize-dropdown.plugin-optgroup_columns .optgroup:before {
  display: none;
}

.selectize-dropdown.plugin-optgroup_columns .optgroup-header {
  border-top: 0 none;
}

.selectize-control.plugin-remove_button [data-value] {
  position: relative;
  padding-right: 20px !important;
}

.selectize-control.plugin-remove_button [data-value] .remove {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  box-sizing: border-box;
  width: 17px;
  border-radius: 0 2px 2px 0;
  color: inherit;
  vertical-align: middle;
  text-align: center;
  text-decoration: none;
  font-size: 12px;
  font-weight: bold;
}

.selectize-control.plugin-remove_button [data-value] .remove:hover {
  background: rgba(0, 0, 0, 0.05);
}

.selectize-control.plugin-remove_button [data-value].active .remove {
  border-left-color: #00578d;
}

.selectize-control.plugin-remove_button .disabled [data-value] .remove:hover {
  background: none;
}

.selectize-control.plugin-remove_button .disabled [data-value] .remove {
  border-left-color: #aaa;
}

.selectize-control {
  position: relative;
}

.selectize-dropdown,
.selectize-input,
.selectize-input input {
  color: #303030;
  font-family: inherit;
  font-size: 1.4rem;
}

.selectize-input,
.selectize-control.single .selectize-input.input-active {
  display: inline-block;
  background: #fff;
  cursor: text;
}

.selectize-input {
  position: relative;
  z-index: 1;
  display: inline-block;
  overflow: hidden;
  box-sizing: border-box;
  padding: 8px 10px;
  width: 100%;
  height: 37px;
  border: 1px solid #dfe1e3;
  border-radius: 4px;
  color: #666;
  transition: border-color 0.15s linear;
}

.selectize-input.focus {
  border-color: #b1b1b1;
}

.selectize-control.multi .selectize-input.has-items {
  padding: 5px 8px 2px;
  height: auto;
}

.selectize-input.full {
  background-color: #fff;
}

.selectize-input.disabled,
.selectize-input.disabled * {
  cursor: default !important;
}

.selectize-input.dropdown-active {
  border-radius: 4px 4px 0 0;
}

.selectize-input > * {
  display: -moz-inline-stack;
  display: inline-block;
  vertical-align: baseline;
  zoom: 1;
  *display: inline;
}

.selectize-control.multi .selectize-input > div {
  margin: 0 3px 3px 0;
  padding: 1px 4px;
  background: #5ba4e5;
  color: #fff;
  cursor: pointer;
}

/* Active tag - selected state when tag is clicked */

.selectize-control.multi .selectize-input > div.active {
  background: rgb(48, 141, 223);
  color: #fff;
}

.selectize-control.multi .selectize-input.disabled > div,
.selectize-control.multi .selectize-input.disabled > div.active {
  border: 1px solid #aaa;
  background: #d2d2d2;
  color: #fff;
}

.selectize-input > input {
  display: inline-block !important;
  margin: 0 1px !important;
  padding: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: none !important;
  border: 0 none !important;
  background: none !important;
  box-shadow: none !important;
  text-indent: 0 !important;
  line-height: inherit !important;
}

.selectize-input > input:-ms-clear {
  display: none;
}

.selectize-input > input:focus {
  outline: none !important;
}

.selectize-input:after {
  content: " ";
  display: block;
  clear: left;
}

.selectize-input.dropdown-active:before {
  content: " ";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  height: 1px;
  background: #f0f0f0;
}

.selectize-dropdown {
  position: absolute;
  z-index: 1000;
  box-sizing: border-box;
  margin: -1px 0 0 0;
  border: 1px solid #b1b1b1;
  border-top: 0 none;
  background: #fff;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.selectize-dropdown [data-selectable] {
  overflow: hidden;
  cursor: pointer;
}

.selectize-dropdown [data-selectable] .highlight {
  background: #fff3b8;
  border-radius: 1px;
}

.selectize-dropdown [data-selectable],
.selectize-dropdown .optgroup-header,
.selectize-dropdown .dropdown-empty-message {
  padding: 7px 8px;
}

.selectize-dropdown .optgroup-header {
  background: #fff;
  color: #303030;
  cursor: default;
}

.selectize-dropdown .active {
  background: rgba(91, 164, 229, 0.15000000000000002);
  color: #242628;
}

.selectize-dropdown .active.create {
  color: #666;
}

.selectize-dropdown .create {
  color: rgba(48, 48, 48, 0.5);
}

.selectize-dropdown-content {
  overflow-x: hidden;
  overflow-y: auto;
  max-height: 200px;
}

.selectize-control.single .selectize-input,
.selectize-control.single .selectize-input input {
  cursor: pointer;
}

.selectize-control.single .selectize-input.input-active,
.selectize-control.single .selectize-input.input-active input {
  cursor: text;
}

.selectize-control.single .selectize-input:after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 15px;
  display: block;
  margin-top: -3px;
  width: 0;
  height: 0;
  border-width: 5px 5px 0 5px;
  border-style: solid;
  border-color: #808080 transparent transparent transparent;
}

.selectize-control.single .selectize-input.dropdown-active:after {
  margin-top: -4px;
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent #808080 transparent;
}

.selectize-control.rtl.single .selectize-input:after {
  right: auto;
  left: 15px;
}

.selectize-control.rtl .selectize-input > input {
  margin: 0 4px 0 -2px !important;
}

.selectize-control .selectize-input.disabled {
  background-color: #fafafa;
  opacity: 0.5;
}

.selectize-control.multi .selectize-input.has-items {
  padding-right: 5px;
  padding-left: 5px;
}

.selectize-control.multi .selectize-input.disabled [data-value] {
  background: none;
  box-shadow: none;
  color: #999;
  text-shadow: none;
}

.selectize-control.multi .selectize-input.disabled [data-value],
.selectize-control.multi .selectize-input.disabled [data-value] .remove {
  border-color: #e6e6e6;
}

.selectize-control.multi .selectize-input.disabled [data-value] .remove {
  background: none;
}

.selectize-control.multi .selectize-input [data-value] {
  background: #5ba4e5;
  border-radius: 3px;
}

.selectize-control.multi .selectize-input [data-value].active {
  background: rgb(48, 141, 223);
}

.selectize-control.single .selectize-input {
  background: #f9f9f9;
}

.selectize-control.single .selectize-input,
.selectize-dropdown.single {
  border-color: #b8b8b8;
}

.optgroup:first-of-type .optgroup-header {
  margin-bottom: 7px;
  padding-top: 0;
  padding-bottom: 0;
}

.selectize-dropdown .optgroup-header {
  position: relative;
  display: inline-block;
  padding-top: 7px;
  background: #fff;
  color: #7d878a;
  font-size: 0.85em;
}

.selectize-dropdown .optgroup-header:after {
  content: "";
  position: absolute;
  top: 52%;
  left: calc(100% + 3px);
  display: block;
  width: calc(189px - 100%);
  height: 1px;
  border-bottom: #dfe1e3 1px solid;
}

@media (max-width: 800px) {
  .selectize-dropdown .optgroup-header:after {
    width: calc(224px - 100%);
  }
}

@media (max-width: 500px) {
  .selectize-dropdown .optgroup-header:after {
    width: calc(80vw - 45px - 100%);
  }
}

.selectize-dropdown .option {
  line-height: 1.35em;
}

.dropdown-empty-message {
  position: relative;
  color: #7d878a;
  font-size: 0.9em;
}

/* Layouts: Groups of Components
/* ---------------------------------------------------------- */

/* Global Layout
/* ---------------------------------------------------------- */

/* Main viewport, contains main content, and alerts */

.gh-app {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow: hidden;
  height: 100vh;
}

/* Content viewport, contains everything else */

.gh-viewport {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  max-height: 100vh;
}

.gh-main {
  position: relative;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  background: #fff;
}

/* Global Nav
/* ---------------------------------------------------------- */

.gh-nav {
  position: relative;
  z-index: 800;
  -webkit-flex: 0 0 235px;
  -ms-flex: 0 0 235px;
  flex: 0 0 235px;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  /* TODO: This is a bullshit Firefox hack */
  border-right: #dfe1e3 1px solid;
  background: #f5f7f8;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.gh-nav-menu {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 15px;
}

.gh-nav-menu i {
  margin-right: 8px;
  width: 11px;
  height: 11px;
  font-size: 11px;
  line-height: 11px;
}

.gh-nav-menu:hover {
  cursor: pointer;
}

.gh-nav-menu-icon {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-right: 10px;
  width: 34px;
  height: 34px;
  background-color: #222;
  background-size: 34px;
  border-radius: 4px;
}

.gh-nav-menu-details {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  padding-right: 10px;
  min-width: 0;
  /* TODO: This is a bullshit Firefox hack */
}

.gh-nav-menu-details-blog {
  overflow: hidden;
  margin-bottom: 1px;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.5rem;
  line-height: 1.3em;
  font-weight: 600;
}

.gh-nav-menu-details-user {
  overflow: hidden;
  color: #7d878a;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.2rem;
  line-height: 1.2em;
}

.gh-nav-body {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  overflow-y: auto;
}

.gh-nav-search {
  position: relative;
  margin: 0 15px 10px;
}

.gh-nav-search .selectize-control {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.gh-nav-search-input .selectize-input {
  padding: 4px 8px;
  padding-right: 30px;
  height: auto;
}

.gh-nav-search-input .selectize-input,
.gh-nav-search-input .selectize-input input,
.gh-nav-search-input .selectize-dropdown {
  font-size: 1.3rem;
}

.gh-nav-search .selectize-input.dropdown-active {
  border-bottom: #fff 1px solid;
}

.gh-nav-search .selectize-input.dropdown-active:before {
  display: none;
}

.gh-nav-search .selectize-dropdown-content {
  max-height: calc(100vh - 150px);
}

.gh-nav-search-button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0 8px 0 5px;
}

.gh-nav-search-button i {
  width: 16px;
  height: 16px;
  color: #7d878a;
  font-size: 13px;
  line-height: 13px;
  transition: color 0.2s ease;
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
}

.gh-nav-search-button:hover i {
  color: #242628;
}

.gh-nav-list {
  margin: 0;
  padding: 0 15px 0 0;
  list-style: none;
  font-size: 1.3rem;
  line-height: 1.5em;
}

.gh-nav-list-h {
  overflow: hidden;
  margin-top: 15px;
  padding: 5px 10px 5px 15px;
  color: #808284;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 1px;
  font-size: 1.2rem;
  line-height: 1.1em;
}

.gh-nav-list a {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 5px 10px 5px 15px;
  border-radius: 0 4px 4px 0;
  color: #242628;
  transition: none;
}

.gh-nav-list .active {
  background: rgb(136, 190, 236);
  color: #fff;
}

.gh-nav-list a:not(.active):hover {
  background: rgba(91, 164, 229, 0.15000000000000002);
  color: #242628;
}

.gh-nav-list i {
  margin-right: 8px;
  width: 15px;
  height: 15px;
  color: rgba(0,0,0,0.6);
  text-align: center;
  font-size: 15px;
}

.gh-nav-list .active i {
  color: #fff;
}

.gh-nav-list a:not(.active):hover i {
  color: #242628;
}

.gh-nav-footer {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 40px;
  border-top: #dfe1e3 1px solid;
  color: #7d878a;
}

.gh-nav-footer-sitelink {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  padding: 12px;
  color: rgb(102, 110, 112);
  text-align: center;
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1;
  font-weight: 200;
}

.gh-nav-footer-sitelink i {
  margin-left: 5px;
  font-size: 1rem;
}

.gh-nav-footer-sitelink:hover {
  color: #5ba4e5;
}

/* Mobile Nav
/* ---------------------------------------------------------- */

.gh-mobilemenu-button {
  display: none;
}

@media (max-width: 800px) {
  .view-header {
    padding-left: 0 !important;
  }

  .gh-mobilemenu-button {
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: block;
    margin: 0;
    padding: 24px;
    font-size: 18px;
    line-height: 18px;
  }

  .gh-mobilemenu-button .icon-gh {
    margin: 0;
  }

  /* Hide the nav */

  .gh-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 270px;
    height: 100%;
    transition: -webkit-transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
    transition: transform 0.4s cubic-bezier(0.1, 0.7, 0.1, 1);
    -webkit-transform: translate3d(-270px, 0px, 0px);
    transform: translate3d(-270px, 0px, 0px);
  }

  .mobile-menu-expanded .gh-nav {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

  .gh-nav-list a {
    padding: 7px 10px 7px 15px;
    border-radius: 0 4px 4px 0;
  }
}

@media (max-width: 500px) {
  .gh-mobilemenu-button {
    padding: 24px 15px 24px 16px;
  }

  .gh-nav {
    width: 80vw;
    -webkit-transform: translate3d(-80vw, 0px, 0px);
    transform: translate3d(-80vw, 0px, 0px);
  }

  .mobile-menu-expanded .gh-nav {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

  .mobile-menu-expanded .content-cover {
    -webkit-transform: translate3d(80vw, 0, 0);
    transform: translate3d(80vw, 0, 0);
  }

  .gh-nav-search-input .selectize-input,
  .gh-nav-search-input .selectize-input input,
  .gh-nav-search-input .selectize-dropdown {
    font-size: 1.5rem;
  }

  .gh-nav-list {
    font-size: 1.5rem;
  }

  .gh-nav-list-h {
    font-size: 1.4rem;
  }

  .gh-nav-list i {
    margin-right: 8px;
    width: 17px;
    height: 17px;
    text-align: center;
    font-size: 17px;
  }
}

/* Auto Nav - Opens and closes like OSX dock
/* ---------------------------------------------------------- */

.gh-menu-toggle {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 5px 10px;
  width: 45px;
  height: 27px;
  border-right: #dfe1e3 1px solid;
  line-height: 1;
  cursor: pointer;
}

.gh-menu-toggle:hover {
  cursor: pointer;
}

.gh-menu-toggle i {
  transition: all 0.2s ease;
}

.gh-menu-toggle:hover i {
  color: #5ba4e5;
}

/* Autonav is tricky, because hit areas of translated elements aren't in sync
   with the visible element we need to add the hover behaviour to a small,
   non-moving element. The following code positions our hit area and transitions
   it in-sync with it's container so it always sticks to the left of the viewport
   then hides off-canvas when required as display:none breaks transitions. */

.gh-autonav-toggle {
  position: absolute;
  top: 0;
  right: 0;
  display: none;
  width: 15px;
  height: 100%;
  transition: -webkit-transform 0.20s;
  transition: transform 0.20s;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.gh-autonav .gh-autonav-toggle {
  display: block;
}

.gh-nav.open .gh-autonav-toggle {
  transition: -webkit-transform 0.15s;
  transition: transform 0.15s;
  -webkit-transform: translate3d(-235px,0,0);
  transform: translate3d(-235px,0,0);
}

@media (min-width: 801px) {
  /* Hide the nav */

  .gh-autonav .gh-nav {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 235px;
    height: 100%;
    transition: -webkit-transform 0.20s;
    transition: transform 0.20s;
    /* translate3d for GPU accelerated animation - http://bit.ly/1EY1Xhx */
    -webkit-transform: translate3d(-220px,0,0);
    transform: translate3d(-220px,0,0);
  }

  /* THE FUTURE: Super sexy background blur for Webkit - http://cl.ly/b1rG */

@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none) {
    .gh-autonav .gh-nav {
      background: rgba(246,246,246, 0.7);
      -webkit-backdrop-filter: blur(10px);
      backdrop-filter: blur(10px);
    }
}

  /* Bring it back on hover */

  .gh-autonav .gh-nav.open {
    transition: -webkit-transform 0.15s;
    transition: transform 0.15s;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
  }

  /* Move main content over for the closed-nav trigger bar */

  .gh-autonav .gh-main {
    margin-left: 15px;
  }
}

/* Help (?) Menu
/* ---------------------------------------------------------- */

.gh-help-menu {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  border-left: #dfe1e3 1px solid;
  cursor: pointer;
}

.gh-help-button {
  padding: 5px 15px;
  color: #7d878a;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.2em;
  transition: all 0.5s;
}

.gh-help-menu:hover .gh-help-button {
  color: #5ba4e5;
  transition: all 0.3s;
}

.gh-help-menu .dropdown {
  bottom: 215px;
  left: -180px;
}

.gh-help-menu .dropdown.fade-in-scale {
  -webkit-animation-duration: 0.1s;
  animation-duration: 0.1s;
}

.gh-help-menu .dropdown.fade-out {
  -webkit-animation-duration: 0.01s;
  animation-duration: 0.01s;
}

/* Container for App View
/* ---------------------------------------------------------- */

.gh-view {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.view-header {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 20px;
  height: 65px;
  border-bottom: #dfe1e3 1px solid;
}

.view-title {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
  margin: 0;
  padding: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 2rem;
  line-height: 1.2em;
  font-weight: 400;
}

.view-title a {
  color: inherit;
}

.view-title a:hover {
  color: #5ba4e5;
}

.view-title i {
  margin: 0 10px;
  color: #818181;
  font-size: 14px;
  line-height: 12px;
}

.view-actions {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.view-actions .btn {
  margin-left: 8px;
}

.view-container,
.view-content {
  position: relative;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.view-content {
  padding: 20px;
}

.view-content p,
.view-content p * {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

@media (max-width: 400px) {
  .view-header {
    padding: 0 7px;
    height: 50px;
  }

  .view-title {
    font-size: 1.8rem;
  }

  .view-content {
    padding: 15px;
  }
}

/* Full screen workflow
/* ---------------------------------------------------------- */

.gh-flow {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  overflow-y: auto;
  min-height: 100vh;
}

.gh-flow-head {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding-top: 4vh;
  padding-bottom: 20px;
}

.gh-flow-content-wrap {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 5%;
  padding-bottom: 8vh;
}

.gh-flow-back {
  position: absolute;
  top: 0;
  left: 0;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 0 0 3%;
  padding: 2px 9px 2px 5px;
  border: transparent 1px solid;
  border-radius: 4px;
  color: #7d878a;
  font-weight: 100;
  transition: all 0.3s ease;
}

.gh-flow-back i {
  margin-right: 4px;
  font-size: 12px;
  line-height: 8px;
}

.gh-flow-back:hover {
  border: #dae1e3 1px solid;
}

.gh-flow-nav {
  position: relative;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.gh-flow-nav ol {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0;
  width: 160px;
  list-style: none;
}

.gh-flow-nav li {
  margin: 0;
}

.gh-flow-nav .divider {
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
  width: 22px;
  height: 2px;
  background-image: linear-gradient(to right, #9fbb58 33%, rgba(255, 255, 255, 0) 0%);
  background-position: bottom;
  background-size: 6px 2px;
  background-repeat: repeat-x;
}

.gh-flow-nav .active ~ .divider {
  background-image: linear-gradient(to right, #e3e3e3 33%, rgba(255, 255, 255, 0) 0%);
}

.gh-flow-nav .step {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border: transparent 2px solid;
  background: #9fbb58;
  border-radius: 100%;
  color: #fff;
  vertical-align: middle;
  text-align: center;
  text-align: center;
  font-size: 1.3rem;
  line-height: 1;
}

.gh-flow-nav .step .num {
  display: none;
}

.gh-flow-nav .step i {
  width: 26px;
  height: 26px;
  font-size: 26px;
}

.gh-flow-nav .active ~ li:not(divider) .step {
  border: #e3e3e3 2px solid;
  background: transparent;
  color: #cdcdcd;
}

.gh-flow-nav .active ~ li:not(divider) .step .num {
  display: block;
}

.gh-flow-nav .active ~ li:not(divider) .step i {
  display: none;
}

.gh-flow-nav .active .step {
  border: #9fbb58 2px solid;
  background: transparent;
  color: rgb(133, 159, 65);
  cursor: default;
}

.gh-flow-nav .active .step .num {
  display: block;
}

.gh-flow-nav .active .step i {
  display: none;
}

.gh-flow-nav .done {
  border: none;
  background: #9fbb58;
  color: #fff;
}

.gh-flow-content {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  max-width: 700px;
  width: 100%;
  color: #7d878a;
  text-align: center;
  font-size: 1.9rem;
  line-height: 1.5em;
  font-weight: 100;
}

@media (max-width: 500px) {
  .gh-flow-content {
    font-size: 4vw;
  }
}

.gh-flow-content header {
  margin: 0 auto;
  max-width: 520px;
}

.gh-flow-content h1 {
  letter-spacing: -1px;
  font-size: 4.2rem;
  font-weight: 100;
}

@media (max-width: 600px) {
  .gh-flow-content h1 {
    font-size: 7vw;
  }
}

.gh-flow-content strong {
  font-weight: 400;
}

.gh-flow-content em {
  color: #5ba4e5;
  font-weight: 400;
  font-style: normal;
}

.gh-flow-content .gh-flow-screenshot {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0;
  height: 45vh;
}

.gh-flow-content .gh-flow-screenshot img {
  position: relative;
  left: -3%;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: block;
  margin: 0 auto;
  max-height: 100%;
}

@media (max-width: 860px) {
  .gh-flow-content .gh-flow-screenshot img {
    left: 0;
  }
}

@media (max-width: 600px) {
  .gh-flow-content .gh-flow-screenshot {
    height: auto;
  }
}

.gh-flow-content .btn {
  display: block;
  margin: 20px auto 0;
  max-width: 400px;
}

.gh-flow-content .gh-flow-skip {
  display: inline-block;
  margin-top: 5px;
  color: #7d878a;
  font-size: 1.2rem;
}

.gh-flow-content .gh-flow-create {
  position: relative;
  margin: 70px auto 30px;
  padding: 50px 40px 25px;
  max-width: 400px;
  width: 100%;
  border: #dae1e3 1px solid;
  background: #f8fbfd;
  border-radius: 5px;
  text-align: left;
}

.gh-flow-content .account-image {
  position: absolute;
  top: -50px;
  left: 50%;
  overflow: hidden;
  margin: 0;
  margin-left: -50px;
  padding: 4px;
  width: 100px;
  height: 100px;
  border: #d1d9db 1px solid;
  background: #fff;
  border-radius: 100%;
  text-align: center;
}

.gh-flow-content .account-image:hover .edit-account-image {
  opacity: 1;
}

.gh-flow-content .edit-account-image {
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(100% - 8px);
  background: rgba(87, 163, 232, 0.7);
  border-radius: 100%;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 3rem;
  line-height: 90px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gh-flow-content .placeholder-img {
  display: block;
  width: 90px;
  height: 90px;
  background-color: #f8fbfd;
  background-position: center center;
  background-size: cover;
  border-radius: 100%;
  -webkit-animation: fade-in 1s;
  animation: fade-in 1s;
}

.gh-flow-content .gravatar-img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  box-sizing: content-box;
  width: calc(100% - 8px);
  width: 90px;
  height: 90px;
  border: #fff 4px solid;
  background-position: center center;
  background-size: cover;
  border-radius: 100%;
  -webkit-animation: fade-in 1s;
  animation: fade-in 1s;
}

.gh-flow-content .file-uploader {
  position: absolute;
  right: 0;
  margin: 0;
  font-size: 23px;
  opacity: 0;
  cursor: pointer;
  -webkit-transform: scale(14);
  transform: scale(14);
  -webkit-transform-origin: right;
  transform-origin: right;
  direction: ltr;
}

.gh-flow-content .form-group {
  margin-bottom: 2.5rem;
}

.gh-flow-content .form-group label {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 400;
}

.gh-flow-content .form-group a {
  text-decoration: underline;
}

.gh-flow-content input {
  padding: 10px;
  border: #dae1e3 1px solid;
  font-size: 1.6rem;
  line-height: 1.4em;
  font-weight: 100;
}

.gh-flow-content .pw-strength {
  position: absolute;
  top: 50%;
  right: 1px;
  margin-top: -11px;
  padding: 0 10px;
  height: 24px;
  background: rgba(255, 255, 255, 0.9);
}

.gh-flow-content .pw-strength-dot {
  display: block;
  margin-top: 2px;
  width: 3px;
  height: 3px;
  background-color: #d9e0e3;
  border-radius: 100%;
}

.gh-flow-content .pw-strength-dot:first-child {
  margin-top: 0;
}

.gh-flow-content .pw-strength-activedot {
  background-color: #e25440;
}

.gh-flow-content .input-icon[class*="icon-"]:before {
  -webkit-transform: translateY(-49%);
  transform: translateY(-49%);
}

.gh-flow-content .gh-flow-invite {
  position: relative;
  margin: 0 auto;
  max-width: 400px;
  width: 100%;
  text-align: left;
}

.gh-flow-invite label {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.gh-flow-invite label i {
  width: 14px;
  height: 14px;
  font-size: 14px;
  line-height: 1.4em;
}

.gh-flow-invite textarea {
  background: url(img/invite-placeholder.png) 8px 10px no-repeat;
  background-size: 202px 48px;
  box-shadow: none;
  /* Remove some default styling for Firefox (required attribute) */
}

.gh-flow-invite textarea:valid {
  background: none;
}

@media (max-width: 460px) {
  .gh-flow-content .gh-flow-invite label i {
    display: none;
  }
}

.gh-flow-content .gh-flow-faces {
  margin-bottom: 2vw;
}

.gh-flow-content textarea {
  width: 100%;
  height: 160px;
  font-size: 1.6rem;
  font-weight: 100;
}

.gh-flow-content .response {
  position: absolute;
  right: 0;
  bottom: -25px;
  margin: 0;
  color: #a6b0b3;
  text-align: right;
  font-size: 1.2rem;
}

.gh-flow-content .success .input-icon:before {
  color: #9fbb58;
}

.error,
.error-content,
.main-error {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.gh-flow-content .error input {
  border-color: #e25440;
}

.gh-flow-content .error .input-icon:before {
  color: #e25440;
}

.gh-flow-content .error .response {
  color: #e25440;
}

.gh-flow-content .main-error {
  margin-top: 5px;
  color: #e25440;
  font-size: 1.3rem;
}

/* Sign in
/* ---------------------------------------------------------- */

.gh-signin {
  position: relative;
  margin: 30px auto;
  padding: 40px;
  max-width: 400px;
  width: 100%;
  border: #dae1e3 1px solid;
  background: #f8fbfd;
  border-radius: 5px;
  text-align: left;
}

.gh-signin .form-group {
  margin-bottom: 1.5rem;
}

.gh-signin .btn {
  margin: 0;
  padding: 12px;
}

.forgotten-wrap {
  position: relative;
}

.forgotten-wrap input {
  padding-right: 7rem;
}

.forgotten-wrap .forgotten-link {
  position: absolute;
  top: 10px;
  right: 1px;
  bottom: 10px;
  padding: 0 11px 0 12px;
  border-left: #dae1e3 1px solid;
  border-radius: 0;
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.1rem;
  line-height: 1.2rem;
  /* Needs white BG to hide ugly lastpass icon */
}

.forgotten-link:hover {
  border-left: #dae1e3 1px solid;
  color: rgb(30, 115, 190);
  text-decoration: none;
}

/* Content /ghost/

/* Show/Hide on Mobile // TODO: What the fuck does that mean?
/* ---------------------------------------------------------- */

.content-list.show-menu {
  display: block;
}

.content-list.show-content {
  display: none;
}

.content-preview.show-menu {
  display: none;
}

.content-preview.show-content {
  display: block;
}

/* Content List (Left pane)
/* ---------------------------------------------------------- */

.content-list {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  padding: 15px;
  width: 33%;
  border-right: #dfe1e3 1px solid;
  background: #fff;
}

@media (max-width: 900px) {
  .content-list {
    right: 0;
    z-index: 500;
    width: auto;
    border: none;
  }
}

.content-list .content-list-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.content-list .entry-title {
  font-size: 1.6rem;
  line-height: 1.4em;
  font-weight: normal;
}

.content-list .entry-meta {
  margin-top: 14px;
  line-height: 18px;
}

.content-list .avatar {
  position: relative;
  float: left;
  margin-right: 14px;
  width: 18px;
  height: 18px;
  background-position: center center;
  background-size: cover;
  border-radius: 18px;
}

.content-list .avatar img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.content-list .status,
.content-list .author {
  font-size: 1.3rem;
  font-weight: 300;
  transition: opacity 0.15s linear;
}

.content-list .avatar:hover + .author + .status {
  opacity: 0;
}

.content-list .avatar:hover + .author {
  opacity: 1;
}

.content-list .author {
  position: absolute;
  bottom: 22px;
  left: 56px;
  opacity: 0;
}

.content-list .status .draft {
  color: #e25440;
}

.content-list .status .scheduled {
  color: #f2a925;
}

.content-list ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-list li {
  position: relative;
  margin: 0;
  padding: 0;
  border-bottom: #dfe1e3 1px solid;
}

.content-list li a {
  display: block;
  padding: 19px 20px 22px 24px;
  color: rgba(0, 0, 0, 0.5);
}

.content-list li a:hover {
  text-decoration: none;
}

@media (max-width: 400px) {
  .content-list li a {
    padding: 15px;
  }
}

@media (max-width: 900px) {
  .content-list li a {
    padding-right: 40px;
  }
}

@media (min-width: 901px) {
  .content-list li a:after {
    display: none;
  }
}

@media (min-width: 901px) {
  .content-list .active a {
    border-left: #5ba4e5 3px solid;
  }
}

/* Preview (Right pane)
/* ---------------------------------------------------------- */

.content-preview-content .content-preview-title a {
  position: relative;
  color: #242628;
  text-decoration: none;
}

.content-preview {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 15px;
  width: 67%;
  background: #fff;
}

@media (max-width: 900px) {
  .content-preview {
    display: none;
    overflow: visible;
    width: 100%;
    border: none;
  }
}

.content-preview .content-preview-content {
  padding: 5%;
  word-break: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

@media (max-width: 900px) {
  .content-preview .content-preview-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.content-preview .content-preview-content .wrapper {
  margin: 0 auto;
  max-width: 700px;
}

.content-preview .post-controls {
  position: absolute;
  top: 20px;
  right: 25px;
}

.content-preview .post-controls .post-edit {
  padding-top: 0;
  padding-right: 0;
  border: none;
  font-size: 18px;
}

.content-preview img {
  width: 100%;
  height: auto;
}

/* Empty State
/* ---------------------------------------------------------- */

.no-posts-box {
  position: relative;
  z-index: 600;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 auto;
  padding: 0;
  height: 90%;
}

.no-posts-box .no-posts {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.no-posts-box .no-posts h3 {
  margin-bottom: 20px;
  color: #7d878a;
  font-size: 2em;
  font-weight: 200;
}

/* Keyboard Focus Effects
/* ---------------------------------------------------------- */

/* This has to be a pseudo element to sit over the top of everything else in the content list */

.content-list.keyboard-focused:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 500;
  -webkit-animation: keyboard-focus-style-fade-out 1.5s 1 forwards;
  animation: keyboard-focus-style-fade-out 1.5s 1 forwards;
  pointer-events: none;
}

.content-preview.keyboard-focused {
  -webkit-animation: keyboard-focus-style-fade-out 1.5s 1 forwards;
  animation: keyboard-focus-style-fade-out 1.5s 1 forwards;
}

/* Editor /ghost/editor/
/* ---------------------------------------------------------- */

/* Title
/* ---------------------------------------------------------- */

.gh-editor-title {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.gh-editor-title input {
  margin: 0;
  padding: 0;
  width: 100%;
  border: 0;
  background: transparent;
  color: #242628;
  letter-spacing: -1px;
  font-size: 2.6rem;
  font-weight: bold;
}

.gh-editor-title input:focus {
  outline: 0;
}

.editor-options .dropdown-menu {
  top: 35px;
  right: 0;
  left: auto;
}

/* Container & Headers
/* ---------------------------------------------------------- */

.view-editor {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.editor .entry-preview {
  border-left: #dfe1e3 1px solid;
}

.editor .entry-markdown,
.editor .entry-preview {
  position: relative;
  /*TODO: Remove*/
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  width: 50%;
}

/* Content areas at the top, and fill available space */

.editor .entry-markdown-content,
.editor .entry-preview-content {
  -webkit-order: 1;
  -ms-flex-order: 1;
  order: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

/* Headers at the bottom, and fixed height */

.editor .floatingheader {
  -webkit-order: 2;
  -ms-flex-order: 2;
  order: 2;
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 5px 15px;
  height: 40px;
  border-top: #dfe1e3 1px solid;
  color: #7d878a;
  font-size: 1.2rem;
  line-height: 1em;
}

.editor .floatingheader a {
  padding: 5px 15px;
  color: #7d878a;
}

.editor .floatingheader a.active {
  font-weight: bold;
}

.editor .floatingheader a:first-of-type {
  padding-left: 0;
}

.editor .floatingheader a:last-of-type {
  padding-right: 0;
}

.editor .floatingheader span a:not(:first-of-type) {
  border-left: 1px solid #dfe1e3;
}

.editor .floatingheader .mobile-tabs {
  display: none;
}

/* Switch to 1 col editor on small screens */

@media (max-width: 1000px) {
  .editor .entry-markdown,
  .editor .entry-preview {
    width: 100%;
    border-left: none;
  }

  /* We can't use display:none here as we want to keep widths/heights
     * so that scrolling is kept in sync */

  .editor .entry-markdown:not(.active),
  .editor .entry-preview:not(.active) {
    visibility: hidden;
    position: absolute;
    z-index: -1;
    height: 100%;
  }

  .editor .floatingheader .mobile-tabs {
    display: inline;
  }

  .editor .floatingheader .desktop-tabs {
    display: none;
  }
}

/* Editor (Left pane)
/* ---------------------------------------------------------- */

.editor .entry-markdown-content {
  position: relative;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.editor .markdown-editor {
  /* Legacy absolute positioning */
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 21px 20px 36px 20px;
  max-width: 100%;
  height: 100%;
  border: 0;
  color: rgb(61, 64, 67);
  font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
  font-size: 1.6rem;
  line-height: 2.5rem;
  resize: none;
}

.editor .markdown-editor:focus {
  outline: 0;
}

@media (max-width: 450px) {
  .editor .markdown-editor {
    padding: 15px;
  }
}

/* FFF: Fucking Firefox Fixes
/* ---------------------------------------------------------- */

@-moz-document url-prefix()  {
  .editor .markdown-editor {
    top: 40px;
    padding-top: 0;
    padding-bottom: 0;
    height: calc(100% - 40px);
  }
}

/* Preview (Right pane)
/* ---------------------------------------------------------- */

.editor .entry-preview-content {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 19px 20px 37px 20px;
  word-break: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  cursor: default;
}

/* The styles for the actual content inside the preview */

.entry-preview-content,
.content-preview-content {
  font-size: 1.8rem;
  line-height: 1.5em;
  font-weight: 200;
}

.entry-preview-content *,
.content-preview-content * {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.entry-preview-content a,
.content-preview-content a {
  color: #5ba4e5;
  text-decoration: underline;
}

.entry-preview-content sup a,
.content-preview-content sup a {
  text-decoration: none;
}

.entry-preview-content .btn,
.content-preview-content .btn {
  color: #dfe1e3;
  text-decoration: none;
}

.entry-preview-content .img-placeholder,
.content-preview-content .img-placeholder {
  position: relative;
  height: 100px;
  border: 5px dashed #dfe1e3;
}

.entry-preview-content .img-placeholder span,
.content-preview-content .img-placeholder span {
  position: absolute;
  top: 50%;
  display: block;
  margin-top: -15px;
  width: 100%;
  height: 30px;
  text-align: center;
}

.entry-preview-content a.image-edit,
.content-preview-content a.image-edit {
  width: 16px;
  height: 16px;
}

.entry-preview-content img,
.content-preview-content img {
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* Placeholder objects for <script> & <iframe> */

.js-embed-placeholder,
.iframe-embed-placeholder {
  padding: 100px 20px;
  border: none;
  background: #f9f9f9;
  text-align: center;
  font-family: "Open Sans", sans-serif;
  font-size: 1.6rem;
  font-weight: bold;
}

/* Tags input CSS (TODO: needs some revision)
/* ------------------------------------------------------ */

.tags-input-list {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.tags-input-list li {
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
}

.label-tag {
  margin-right: 0.3em;
  padding: 0.2em 0.6em 0.3em;
  background-color: #242628;
  border-radius: 0.25em;
  color: #e2edf2;
  text-align: center;
  font-weight: 300;
}

.label-tag.highlight {
  background: #7d878a;
  color: #fff;
}

.tag-input {
  margin-top: 5px;
  border: none;
  font-weight: 300;
  cursor: default;
}

.tag-input:focus {
  outline: 0;
}

.publish-bar-actions {
  -webkit-flex: 1 0 auto;
  -ms-flex: 1 0 auto;
  flex: 1 0 auto;
  -webkit-align-self: auto;
  -ms-flex-item-align: auto;
  align-self: auto;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  text-align: right;
}

.post-settings {
  position: relative;
  display: inline-block;
  padding: 15px;
  color: #7d878a;
  transition: all 0.15s ease-out 0s;
}

.post-settings:hover,
.post-settings.active {
  color: #242628;
}

.post-settings i {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 16px;
}

.post-settings-menu .dropdown-menu {
  top: auto;
  right: 100%;
  bottom: 100%;
  left: auto;
}

.post-view-link {
  position: absolute;
  top: 1px;
  right: 0;
  font-size: 1.3rem;
}

.post-view-link i {
  font-size: 10px;
}

/* Post settings meta
/* ---------------------------------------------------------- */

/* Google Imitation */

.seo-preview {
  font-family: Arial, sans-serif;
}

.seo-preview-title {
  color: #1e0fbe;
  text-overflow: ellipses;
  word-wrap: break-word;
  font-size: 1.8rem;
  line-height: 2.16rem;
  -webkit-text-overflow: ellipsis;
}

.seo-preview-link {
  margin: 1px 0 2px 0;
  color: #006621;
  word-wrap: break-word;
  font-size: 1.3rem;
  line-height: 1.6rem;
}

.seo-preview-description {
  color: #545454;
  word-wrap: break-word;
  font-size: 1.3rem;
  line-height: 1.4;
}

/* Markdown Help Icon + Modal
/* ---------------------------------------------------------- */

.markdown-help {
  font-size: 16px;
}

.markdown-help:hover {
  cursor: help;
}

.modal-markdown-help-table {
  margin: 0 0 20px;
  width: 100%;
}

.modal-markdown-help-table td,
.modal-markdown-help-table th {
  padding: 8px 0;
}

.modal-markdown-help-table th {
  text-align: left;
}

/* Settings
/* ---------------------------------------------------------- */

/* Navigation
/* ---------------------------------------------------------- */

.gh-blognav {
  margin: 20px 0;
}

.gh-blognav-item {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 10px;
  padding: 0 20px;
}

.gh-blognav-grab {
  padding: 0 16px 0 0;
  width: 16px;
  color: #d1d1d1;
  text-indent: -4px;
  font-size: 16px;
  cursor: move;
}

.gh-blognav-url .fake-placeholder {
  color: #c1c1c1;
}

.gh-blognav-line {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
}

.gh-blognav-label {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  margin-right: 10px;
}

.gh-blognav-url {
  -webkit-flex-grow: 3;
  -ms-flex-positive: 3;
  flex-grow: 3;
}

.gh-blognav-delete {
  padding: 8px 0 8px 10px;
  color: #c1c1c1;
  font-size: 14px;
  transition: color 0.1s linear;
}

.gh-blognav-delete:hover,
.gh-blognav-delete:focus {
  color: #e25440;
}

.gh-blognav-add {
  margin-right: -2px;
  margin-left: 10px;
  width: 16px;
  height: 16px;
  background: #9fbb58;
  border-radius: 2px;
  color: #fff;
  text-align: center;
  font-size: 10px;
  line-height: 8px;
  transition: background 0.1s linear;
}

.gh-blognav-add:hover,
.gh-blognav-add:focus {
  background: rgb(133, 159, 65);
}

.gh-blognav-item:last-child {
  padding-left: 36px;
  /* icon-grab + nav-item padding) */
}

.gh-blognav-item:last-child .gh-blognav-grab {
  display: none;
}

/* Remove space between inputs on smaller screens */

@media (max-width: 800px) {
  .gh-blognav-label {
    margin-right: -1px;
  }

  .gh-blognav-label input {
    border-right-color: #eaeaea;
    border-radius: 4px 0 0 4px;
  }

  .gh-blognav-url input {
    border-left-color: #eaeaea;
    border-radius: 0 4px 4px 0;
  }

  .gh-blognav-item input:focus {
    position: relative;
    z-index: 100;
  }
}

/* Code Injection
/* ---------------------------------------------------------- */

.settings-code {
  max-width: 700px;
}

.settings-code p {
  margin: 0 0 4px 0;
}

.settings-code code {
  vertical-align: middle;
}

.settings-code-editor {
  padding: 0;
  min-width: 250px;
  min-height: 300px;
  max-width: 680px;
  width: 100%;
  height: auto;
  border: 1px solid #e0dfd7;
  border-radius: 4px;
  line-height: 22px;
  transition: border-color 0.15s linear;
  -webkit-appearance: none;
}

.settings-code-editor.focused {
  outline: 0;
  border-color: #7d878a;
}

.settings-code-editor .CodeMirror {
  border-radius: inherit;
}

.settings-code-editor .cm-s-xq-light span.cm-meta {
  color: #000;
}

/* Labs
/* ---------------------------------------------------------- */

#startupload {
  line-height: inherit;
}

@media (max-width: 400px) {
  #startupload {
    margin-top: 5px;
  }
}

/* Users /ghost/settings/users/
/* ---------------------------------------------------------- */

.users-list-wrapper {
  overflow: auto;
  height: 100%;
}

/* User list
/* ---------------------------------------------------------- */

.invited-users {
  margin-bottom: 34px;
}

.user-list-title {
  margin-bottom: 14px;
  color: #a1a1a1;
  font-size: 13px;
  font-weight: normal;
}

.user-list-item {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: start;
  -ms-flex-pack: start;
  justify-content: start;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 0 15px;
  height: 68px;
  border-top: 1px solid #dfe1e3;
}

/* Only apply these styles to anchor tags (pending invited are divs) */

a.user-list-item {
  text-decoration: none;
}

@media (min-width: 601px) {
  a.user-list-item:hover {
    background: rgb(250, 250, 250);
  }

  a.user-list-item:last-of-type:hover {
    box-shadow: inset 0 -1px 0 #dfe1e3;
  }
}

.user-list-item-icon {
  position: relative;
  display: block;
  overflow: hidden;
  width: 35px;
  height: 35px;
  background: #dfe1e3;
  border-radius: 100%;
  color: transparent;
  font-size: 0;
}

.user-list-item-icon:before {
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  margin-top: -7px;
  color: #7d878a;
  text-align: center;
  font-size: 14px;
}

.user-list-item-figure {
  position: relative;
  display: block;
  width: 35px;
  height: 35px;
  background-position: center center;
  background-size: cover;
  border-radius: 35px;
}

.user-list-item-figure img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.user-list-item-body {
  -webkit-flex: 1 1 auto;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  -webkit-align-items: stretch;
  -ms-flex-align: stretch;
  align-items: stretch;
  padding-left: 15px;
  line-height: 1;
}

.user-list-item-body .name {
  display: inline-block;
  color: #242628;
  font-size: 15px;
  font-weight: 400;
}

.user-list-item-body .description {
  display: inline-block;
  margin-top: 3px;
  color: #a1a1a1;
  white-space: nowrap;
  font-size: 12px;
}

.user-list-item-body .description-error {
  display: inline-block;
  margin-top: 3px;
  color: #e25440;
  white-space: nowrap;
  font-size: 12px;
}

.user-list-item-aside .user-list-action:not(:first-of-type) {
  margin-left: 20px;
}

.user-list-item-aside .role-label {
  float: left;
  margin-top: -1px;
}

.user-list-item-aside .role-label + .role-label {
  margin-left: 5px;
}

.user-list-action {
  text-decoration: underline;
  text-transform: uppercase;
  font-size: 11px;
}

/* Role Labels
/* ---------------------------------------------------------- */

.role-label {
  display: inline-block;
  padding: 6px 8px;
  background: #eee;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 9px;
  line-height: 1;
  font-weight: 400;
}

.role-label.owner {
  background: #242628;
  color: rgba(255, 255, 255, 0.8);
}

.role-label.administrator {
  background: #e25440;
  color: rgba(255, 255, 255, 0.8);
}

.role-label.editor {
  background: #5ba4e5;
  color: rgba(255, 255, 255, 0.8);
}

/* User invitation modal
/* ---------------------------------------------------------- */

.invite-new-user .form-group {
  margin-bottom: 0;
  padding: 0;
}

.invite-new-user .form-group label {
  position: static;
  display: block;
  text-align: left;
}

.invite-new-user .form-group:nth-of-type(1) {
  float: left;
  width: 60%;
}

.invite-new-user .form-group:nth-of-type(2) {
  float: left;
  margin-left: 5%;
  width: 35%;
}

.invite-new-user .form-group input {
  width: 100%;
}

.invite-new-user .btn-green {
  margin: 0;
  width: 100%;
}

/* User profile /ghost/settings/users/<user>/
/* ---------------------------------------------------------- */

/* User actions menu
/* ---------------------------------------------------------- */

.user-actions-cog {
  margin-right: 10px;
  padding: 9px 11px;
}

.user-actions-menu {
  top: calc(100% + 17px);
  right: 0;
  left: auto;
}

.user-actions-menu.fade-out {
  -webkit-animation-duration: 0.01s;
  animation-duration: 0.01s;
}

/* Layout
/* ---------------------------------------------------------- */

.content.settings-user {
  padding: 0;
}

@media (min-width: 901px) {
  .content.settings-user {
    padding: 0 40px;
  }
}

.user-cover {
  position: relative;
  overflow: hidden;
  margin: 0;
  width: auto;
  height: 300px;
  background: #fafafa no-repeat center center;
  background-size: cover;
}

@media (max-width: 900px) {
  .user-cover {
    margin: 0;
  }
}

.user-cover:after {
  /* Gradient overlay */
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 110px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.18));
}

.user-cover-edit {
  position: absolute;
  top: 30px;
  left: 35px;
  z-index: 2;
  min-height: 37px;
  height: 37px;
  border-width: 0;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease, background 0.3s ease;
}

.user-cover-edit:hover {
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
}

/* Edit user
/* ---------------------------------------------------------- */

@media (min-width: 651px) {
  .first-form-group {
    margin-right: 20px;
    padding-left: 40px;
  }

  .first-form-group input {
    max-width: 100%;
  }
}

.user-details-top {
  position: relative;
}

@media (max-width: 650px) {
  .user-details-top {
    margin-top: 40px;
    margin-bottom: 0;
  }
}

@media (min-width: 651px) {
  .user-details-top {
    margin-top: -91px;
    margin-bottom: 0;
    padding: 0;
  }

  .user-details-top p {
    color: #fff;
  }

  .user-details-top label[for="user-name"] {
    color: transparent;
  }

  .user-details-top .user-name {
    border-color: #fff;
  }
}

.user-profile {
  position: relative;
  z-index: 1;
}

@media (min-width: 651px) {
  .user-profile {
    padding-right: 20px;
    padding-left: 143px;
  }
}

@media (max-width: 650px) {
  .user-profile fieldset {
    padding: 0 40px;
  }
}

@media (max-width: 550px) {
  .user-profile fieldset {
    padding: 0 15px;
  }
}

.user-profile textarea {
  min-width: 240px;
}

/* Profile picture
/* ---------------------------------------------------------- */

.user-image {
  position: absolute;
  z-index: 2;
  display: block;
  float: left;
  overflow: hidden;
  margin-right: 20px;
  margin-left: -6px;
  padding: 3px;
  width: 126px;
  height: 126px;
  background: #fff;
  border-radius: 100%;
  text-align: center;
}

@media (min-width: 651px) {
  .user-image {
    top: -19px;
    left: -98px;
  }
}

@media (max-width: 650px) {
  .user-image {
    top: -135px;
    left: 50%;
    margin-right: 0;
    margin-left: -63px;
  }
}

.user-image .img {
  display: block;
  width: 120px;
  height: 120px;
  background-position: center center;
  background-size: cover;
  border-radius: 100%;
}

.user-image:hover .edit-user-image {
  opacity: 1;
}

.edit-user-image {
  position: absolute;
  top: 3px;
  right: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(100% - 6px);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 100%;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  line-height: 120px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* About /ghost/settings/about/
/* ---------------------------------------------------------- */

.gh-logo {
  position: relative;
  width: 120px;
  height: auto;
}

.gh-env-details {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 1em 0;
}

.gh-env-list {
  margin: 0;
  padding: 0 40px 0 0;
  list-style: none;
}

.gh-env-help {
  max-width: 200px;
}

.gh-env-help .btn {
  display: block;
  margin: 5px 0;
}

@media (max-width: 670px) {
  .gh-env-details {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .gh-env-help {
    margin: 1em 0;
    max-width: none;
  }

  .gh-env-help .btn {
    display: inline-block;
  }
}

.gh-credits {
  margin: 2em 0;
  max-width: 650px;
  color: #7d878a;
  font-size: 1.8rem;
  font-weight: 200;
}

@media (max-width: 890px) {
  .gh-credits {
    max-width: 460px;
  }
}

.gh-credits h2 {
  font-size: 2.4rem;
}

/* Contributors
/* ---------------------------------------------------------- */

.gh-contributors {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 1em 0;
}

.gh-contributors a {
  position: relative;
  display: block;
  margin: 0 10px 10px 0;
  width: 60px;
  height: 60px;
}

.gh-contributors img {
  border-radius: 100%;
}

.gh-contributors a:before {
  content: attr(title);
  position: absolute;
  top: -20px;
  left: 50%;
  padding: 2px 6px;
  background: #242628;
  border-radius: 4px;
  color: #fff;
  font-size: 1rem;
  line-height: 1.3em;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  pointer-events: none;
}

.gh-contributors a:after {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  opacity: 0;
  transition: opacity 0.15s ease-in-out;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.gh-contributors a:hover:before,
.gh-contributors a:hover:after {
  opacity: 1;
}

/* Copyright Info
/* ---------------------------------------------------------- */

.gh-copyright-info {
  color: #7d878a;
  font-size: 1.2rem;
}

/* Tag Management /ghost/settings/tags/
/* ---------------------------------------------------------- */

/* Search
/* ---------------------------------------------------------- */

.tags-search {
  position: relative;
  display: inline-block;
  margin-left: 7px;
}

.tags-search .btn {
  position: relative;
  padding-right: 10px;
  padding-left: 10px;
  transition: padding 0.3s ease-in-out;
}

.tags-search .btn.active {
  box-shadow: none;
}

.tags-search .btn .icon-search:before {
  font-size: 1.3rem;
}

.tags-search .tags-search-input {
  position: absolute;
  top: 1px;
  left: 1px;
  margin: 0;
  padding: 7px 10px;
  width: 0;
  border: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  pointer-events: none;
}

@media (max-width: 400px) {
  .tags-search.opened .btn {
    padding-left: 120px;
  }

  .tags-search.opened .tags-search-input {
    width: 110px;
  }
}

@media (min-width: 401px) {
  .tags-search.opened .btn {
    padding-left: 140px;
  }

  .tags-search.opened .tags-search-input {
    width: 130px;
  }
}

.tags-search.opened .tags-search-input {
  opacity: 1;
  pointer-events: auto;
}

/* Tag
/* ---------------------------------------------------------- */

.settings-tag {
  position: relative;
  display: block;
  padding: 0 45px 0 0;
  border-bottom: 1px solid #dfe1e3;
}

.settings-tag .tag-edit-button {
  padding: 20px;
  width: calc(100% + 45px);
  text-align: left;
}

.settings-tag .tag-edit-button:hover,
.settings-tag .tag-edit-button:focus,
.settings-tag .tag-edit-button:active {
  background: rgb(250, 250, 250);
}

.settings-tag:last-of-type:hover .tag-edit-button {
  box-shadow: inset 0 -1px 0 #dfe1e3;
}

.settings-tag .label {
  position: relative;
  top: -2px;
  margin-left: 2px;
}

.settings-tag .label-alt {
  text-transform: uppercase;
}

.settings-tag .tag-title {
  color: #242628;
  font-size: 16px;
  font-weight: normal;
}

.settings-tag .tag-description {
  margin: 0;
  color: rgb(195, 199, 203);
  font-size: 13px;
}

.settings-tag .tags-count {
  position: absolute;
  top: 20px;
  right: 12px;
  color: rgb(195, 199, 203);
  font-size: 16px;
}

/* Error /ghost/404/
/* ---------------------------------------------------------- */

.error-content {
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.error-details {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 4rem;
}

.error-ghost {
  margin: 15px;
  height: 115px;
}

@media (max-width: 630px) {
  .error-ghost {
    display: none;
  }
}

.error-code {
  margin: 0;
  color: #979797;
  font-size: 7.8rem;
  line-height: 0.9em;
}

.error-description {
  margin: 0;
  padding: 0;
  border: none;
  color: #979797;
  font-size: 1.9rem;
  font-weight: 300;
}

.error-message {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 15px;
}

.error-message a {
  margin-top: 5px;
  font-size: 1.4rem;
  line-height: 1;
}

/* Stack trace
/* ---------------------------------------------------------- */

.error-stack {
  margin: 1rem auto;
  padding: 2rem;
  max-width: 800px;
  background-color: rgba(255, 255, 255, 0.3);
}

.error-stack-list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.error-stack-list li {
  display: block;
}

.error-stack-list li:before {
  content: "\21AA";
  display: inline-block;
  margin-right: 0.5rem;
  color: #bbb;
  font-size: 1.2rem;
}

.error-stack-function {
  font-weight: bold;
}

/* Packages - Themes / Apps
/* ---------------------------------------------------------- */

.package-filter {
  border-radius: 5px;
}

@media (max-width: 1460px) {
  .package-filter {
    max-width: 700px;
  }
}

/* Main Layout
/* ---------------------------------------------------------- */

.package-grid {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-flow: row wrap;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-align-items: space-between;
  -ms-flex-align: space-between;
  align-items: space-between;
  margin: -10px -10px 4vw -10px;
  max-width: 1200px;
}

/* 3 col themes */

.package-grid-themes .package-grid-cell {
  -webkit-flex: 0 0 33.3333%;
  -ms-flex: 0 0 33.3333%;
  flex: 0 0 33.3333%;
}

/* 2 col themes */

@media (max-width: 1240px) {
  .package-grid-themes .package-grid-cell {
    -webkit-flex: 0 0 50%;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
  }
}

/* 1 col themes */

@media (max-width: 800px) {
  .package-grid-themes .package-grid-cell {
    -webkit-flex: 1 1 100%;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
  }
}

/* 2 col apps */

.package-grid-apps .package-grid-cell {
  -webkit-flex: 0 0 50%;
  -ms-flex: 0 0 50%;
  flex: 0 0 50%;
}

/* 1 col apps */

@media (max-width: 1200px) {
  .package-grid-apps .package-grid-cell {
    -webkit-flex: 1 1 100%;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
  }
}

/* Package Card Theme
/* ---------------------------------------------------------- */

.package-card-theme {
  overflow: hidden;
  margin: 10px;
  border: rgba(0,0,0,0.1) 1px solid;
  border-radius: 5px;
}

.package-index .package-card-theme,
.package-featured .package-card-theme {
  -webkit-flex: 1 1 240px;
  -ms-flex: 1 1 240px;
  flex: 1 1 240px;
}

.package-card-theme-image {
  position: relative;
  display: block;
}

.package-card-theme-image:hover img {
  filter: grayscale(0.5) blur(1px);
  -webkit-filter: grayscale(0.5) blur(1px);
}

.package-card-theme-image:hover .package-card-theme-overlay {
  opacity: 1;
  transition: all 0.2s ease;
}

.package-card-theme-image img {
  display: block;
  max-width: 100%;
  line-height: 0;
}

.package-card-theme-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 10%;
  background: rgba(0,20,40,0.2);
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.package-card-theme-title {
  color: #fff;
  font-size: 2rem;
  line-height: 1.15em;
  font-weight: 100;
}

.package-card-theme .package-card-footer {
  margin: 0;
  padding: 16px 20px;
  border-top: rgba(0,0,0,0.1) 1px solid;
}

/* Package Card App
/* ---------------------------------------------------------- */

.package-card-app {
  overflow: hidden;
  margin: 10px;
  padding: 20px;
  max-width: 700px;
  border: rgba(0,0,0,0.1) 1px solid;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.package-card-app:hover {
  background: rgba(0,20,60,0.03);
  cursor: pointer;
  transition: background 0.1s ease;
}

.package-card-content {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.package-card-app-icon {
  -webkit-flex: 0 0 60px;
  -ms-flex: 0 0 60px;
  flex: 0 0 60px;
  margin: 0 15px 0 0;
  width: 60px;
  height: 60px;
  background-position: center center;
  background-size: cover;
  border-radius: 15%;
}

.package-card-meta {
  position: relative;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}

.package-card-app-title {
  overflow: hidden;
  margin: 0 0 4px 0;
  padding: 0 70px 0 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.9rem;
  font-weight: normal;
}

/* Package Card Meta
/* ---------------------------------------------------------- */

.package-card-stats {
  position: absolute;
  top: -5px;
  right: 0;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}

.package-downloads {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  height: 26px;
  border: transparent 1px solid;
  color: #7d878a;
  font-size: 13px;
  line-height: 24px;
}

.package-downloads:hover {
  cursor: default;
}

.package-downloads i {
  margin-right: 5px;
  font-size: 15px;
}

.package-download-count {
  font-size: 13px;
}

.package-card-app-desc {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  padding: 0;
  max-height: 4.2rem;
  height: 38px;
  color: #7d878a;
  text-overflow: ellipsis;
  font-size: 1.4rem;
  line-height: 1.3em;
  font-weight: 200;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (min-width: 600px) and (max-width: 1460px) {
  .package-card-app-desc {
    padding-right: 80px;
  }
}

/* Package Card Footer
/* ---------------------------------------------------------- */

.package-card-footer {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-justify-content: space-between;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 15px;
  width: 100%;
}

.package-developer {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  color: #7d878a;
}

.package-developer:hover {
  color: #5ba4e5;
}

.package-developer img {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-right: 6px;
  width: 20px;
  height: 20px;
  border-radius: 100%;
}

.package-developer-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.4rem;
}

.package-controls {
  -webkit-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  overflow: hidden;
  border: rgba(0,0,0,0.1) 1px solid;
  border-radius: 4px;
}

.package-controls-button {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 7px 12px;
  border-left: rgba(0,0,0,0.1) 1px solid;
  background: #fff;
  color: #7d878a;
  font-size: 1.3rem;
  line-height: 1;
  transition: none;
}

.package-controls-button:first-child {
  border: none;
}

.package-controls-button:hover {
  color: #242628;
}

.package-controls-button i {
  margin-right: 5px;
  width: 11px;
  height: 11px;
  font-size: 11px;
}

.package-disable {
  border-right: #9fbb58 3px solid;
}

.package-enable {
  border-right: #e25440 3px solid;
}

/* Media Queries
/* ---------------------------------------------------------- */

@media (max-width: 800px) {
  .package-grid-apps {
    overflow: hidden;
    margin: 0 0 4vw 0;
    border: #dfe1e3 1px solid;
    border-radius: 5px;
  }

  .package-card-app {
    margin: 0;
    border: none;
    border-top: #dfe1e3 1px solid;
    border-radius: 0;
  }

  .package-grid-cell:first-of-type .package-card-app {
    border-top: none;
  }
}

@media (max-width: 760px) {
  .package-card-app {
    padding: 15px;
  }

  .package-card-app .package-developer {
    display: none;
  }

  .package-card-app .package-card-footer {
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .package-card-theme .package-card-footer {
    margin: 0;
    padding: 15px;
  }
}

@media (max-width: 600px) {
  .package-grid {
    margin: -10px -10px 4vw -10px;
    border: none;
  }

  .package-grid-apps {
    margin: -10px -20px 4vw -20px;
  }
}

@media (max-width: 540px) {
  .package-card-footer {
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }

  .package-card-app .package-card-footer {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
  }

  .package-card-footer .package-developer {
    display: none;
  }
}