/*! normalize.css v3.0.2 | MIT License | git.io/normalize */

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

html {
  font-family: sans-serif; /* 1 */
  -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/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 when focused and also mouse hovered in all browsers.
 */

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 {
  -moz-box-sizing: content-box;
  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"], /* 1 */
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
 *    (include `-moz` to future-proof).
 */

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

/**
 * Remove inner padding and search cancel button in Safari 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;
}


@charset "UTF-8";
:root {
    --color-red:        #ff4136;
    --color-orange:     #ff851b;
    --color-yellow:     #ffdc00;
    --color-green:      #2ecc40;
    --color-blue:       #0074d9;
    --color-magenta:    #E9198E;
    --color-purple:     #AF5FD3;
    --color-yellow-highlight: #fffbcc;
    --shade-black:      #000;
    --shade-off-black:  #2a2d30;
    --shade-dark:       #596066;
    --shade-mid:        #99a0a6;
    --shade-off-mid:    #c2c6ca;
    --shade-pale:       #ebeced;
    --shade-off-white:  #f8f9f9;
    --shade-white:      #fff;
}

@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}
@keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}

@-webkit-keyframes yellow-fade {
    0% {
        background-color: #fffbcc;
    }
    100% {
        background-color: transparent;
    }
}

@keyframes yellow-fade {
    0% {
        background-color: #fffbcc;
    }
    100% {
        background-color: transparent;
    }
}

html {
    font-size: 90%;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

body {
    color: #2a2d30;
    background: #fff;
    position: relative;
}

*, *:before, *:after {
    box-sizing: border-box;
}

a {
    color: #0074d9;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #2a2d30;
    font-weight: normal;
    line-height: 1.3;
}

h1 {
    font-size: 1.4em;
}

h2 {
    font-size: 2.0em;
}

h3 {
    font-size: 1.6em;
}

h4 {
    font-size: 1.2em;
}

h5,
h6 {
    font-size: 1.0em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    margin: 40px 0 20px 0;
}

.col h1:first-child,
.col h2:first-child,
.col h3:first-child {
    margin-top: 10px;
}

.container {
    margin: 0 auto;
    padding: 15px 30px;
}

main .container,
footer .container {
    max-width: 1280px;
}

header {
    color: #fff;
    background: #2a2d30;
}

header h1 {
    margin: 0;
}

header h1 a {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    /* Make room for the logo: */
    position: relative;
    padding-left: 178px;
}

header h1 a img.logo {
    position: absolute;
    left: 0;
    top: 50%;
    height: 40px;
    transform: translateY(-50%);
}

header .rgt {
    line-height: 25px;
    vertical-align: middle;
}

header a {
    color: #fff;
}

header .dim {
    color: #99a0a6;
}

.site-name {
    position: relative;
    display: inline-block;
    font-weight: 300;
    color: #99a0a6;
    padding-left: 15px;
}

.site-name:before {
    position: absolute;
    content: ' ';
    top: 15%;
    left: 5px;
    height: 80%;
    border-left: 1px solid #596066;
}

.site-env {
    display: inline-block;
    position: relative;
    top: -3px;
    left: 5px;
    color: #fff;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 20px;
    background: linear-gradient(#73beff, #40a6ff);
}

.menu-wrapper {
    position: relative;
    display: inline-block;
    cursor: default;
}

.menu-wrapper-with-arrow {
    padding-right: 16px;
    margin-right: -16px;
}

.menu-wrapper-with-arrow:after {
    content: ' ';
    display: inline-block;
    position: relative;
    top: -0.15em;
    margin-left: 5px;
    border: 5px solid transparent;
    border-bottom-width: 0;
    border-top-color: #99a0a6;
}

.menu-wrapper:hover .menu-options {
    display: block;
}

.menu-wrapper-disabled {
    padding-right: 0;
    margin-right: 0;
}

.menu-wrapper-disabled:after,
.menu-wrapper-disabled:hover .menu-options {
    display: none;
}

.menu-options {
    display: none;
    position: absolute;
    z-index: 999999;
    top: 100%;
    right: -15px;
    min-width: 100%;
    margin-top: 10px;
    font-size: 1rem;
    font-weight: normal;
    border-radius: 4px;
    padding: 10px 15px;
    color: #000;
    background: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.menu-wrapper-with-arrow .menu-options {
    right: 0;
}

.menu-options:before {
    position: absolute;
    content: ' ';
    display: block;
    bottom: 100%;
    left: 0;
    height: 11px;
    width: 100%;
}

.menu-options:after {
    position: absolute;
    content: ' ';
    display: block;
    top: -6px;
    right: 15px;
    width: 10px;
    height: 10px;
    background: #fff;
    background-clip: padding-box;
    border-top: 1px solid rgba(0, 0, 0, 0.25);
    border-right: 1px solid rgba(0, 0, 0, 0.25);
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

.menu-options ul,
.menu-options li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.menu-options ul {
    margin: 0 -15px;
}

.menu-options a {
    display: block;
    padding: 5px 15px;
    color: inherit;
    text-decoration: none;
}

.menu-options a:hover {
    color: #fff;
    background: #0074d9;
}

section.trail {
    font-size: 0.9em;
    color: #99a0a6;
    background: #f8f9f9;
    border-bottom: 1px solid #ebeced;
    margin-bottom: 0;
}

section.trail .container {
    padding-top: 0;
    padding-bottom: 0;
}

section.trail ul.inline li {
    padding-top: 10px;
    padding-bottom: 10px;
}

section.trail ul.inline li:before {
    content: '>';
    color: rgba(0, 0, 0, 0.2);
}

section.trail a {
    color: inherit;
}

section.navigation {
    color: #fff;
    background: #2a2d30;
    border-top: 1px solid #596066;
    margin-bottom: 0;
}

section.navigation .container {
    padding-top: 0px;
    padding-bottom: 0px;
}

section.navigation ul,
section.navigation li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

section.navigation ul.top {
    margin-left: -15px;
}

section.navigation ul.top > li {
    position: relative;
    float: left;
}

section.navigation ul.top > li > em,
section.navigation ul.top > li > a {
    display: block;
    padding: 10px 15px;
    font-size: 0.9em;
    font-style: normal;
    text-decoration: none;
    color: #99a0a6;
}

section.navigation ul.top > li > em {
    cursor: default;
}

section.navigation ul.top > li.active > em,
section.navigation ul.top > li.active > a {
    color: #fff;
    background: #000;
}

section.navigation ul.sub:before {
    position: absolute;
    content: ' ';
    display: block;
    bottom: 100%;
    height: 10px;
    width: 100%;
}

section.navigation ul.sub:after {
    position: absolute;
    content: ' ';
    display: block;
    bottom: 100%;
    left: 15px;
    border: 5px solid transparent;
    border-top-width: 0;
    border-bottom-color: #2a2d30;
}

section.navigation ul.sub {
    position: absolute;
    z-index: 99999;
    display: none;
    top: 100%;
    margin-top: 10px;
    margin-left: 0;
    min-width: 200px;
    padding: 10px 0;
    background: #2a2d30;
    border-radius: 4px;
}

section.navigation ul.sub > li > a,
section.navigation ul.sub > li > span {
    display: block;
    padding: 5px 15px;
    color: #99a0a6;
    font-size: 0.9em;
    text-decoration: none;
    white-space: nowrap;
}

section.navigation ul.sub > li > span {
    cursor: default;
}

section.navigation ul.sub > li > a:hover {
    color: #fff;
    background: #000;
}

section.navigation ul.top > li:hover > ul.sub {
    display: block;
}

section.navigation ul.top > li:hover:before,
section.navigation ul.top > li:hover:after {
    display: block;
}

section.navigation li.top-for-sub {
    position: relative;
}

section.navigation li.top-for-sub:hover > ul.sub {
    display: block;
}

section.navigation li.top-for-sub:hover > a,
section.navigation li.top-for-sub:hover > span {
    color: #fff;
    background: #000;
}

section.navigation li.top-for-sub:after {
    position: absolute;
    content: ' ';
    display: block;
    top: 50%;
    right: 10px;
    margin-top: -5px;
    border: 5px solid transparent;
    border-right-width: 0;
    border-left-width: 5px;
    border-left-color: #596066;
}

section.navigation li.top-for-sub:hover:after {
    border-left-color: #fff;
}

section.navigation li.top-for-sub > ul.sub {
    top: 0;
    left: 100%;
    margin-top: -10px;
    margin-left: 1px;
}

section.navigation li.top-for-sub > ul.sub:before {
    top: 0;
    right: 100%;
    height: 100%;
    width: 1px;
}

section.navigation li.top-for-sub > ul.sub:after {
    top: 20px;
    right: 100%;
    bottom: auto;
    left: auto;
    border: 5px solid transparent;
    border-left-width: 0;
    border-right-width: 7px;
    border-right-color: #2a2d30;
    display: none;
}

main .container {
    padding-top: 0;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

footer .container {
    padding-top: 0;
    margin-bottom: 20px;
    color: #99a0a6;
    font-size: 0.9em;
}

.dim {
    color: #99a0a6;
}

.unbold {
    font-weight: normal;
}

.pale {
    font-weight: 300;
    color: #ebeced;
}

.xl {
    font-size: 1.4em;
}

.large {
    font-size: 1.2em;
}

.small {
    font-size: 0.9em;
}

.xs {
    font-size: 0.8em;
}

.inactive {
    opacity: 0.25;
}

.inactive a,
a.inactive {
    color: inherit;
    cursor: default;
}

.inactive button,
button.inactive {
    cursor: default;
}

.hide {
    display: none;
}

.flush {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.flush-top {
    margin-top: 0 !important;
}

.flush-btm {
    margin-bottom: 0 !important;
}

.flush-children :first-child {
    margin-top: 0 !important;
}

.flush-children :last-child {
    margin-bottom: 0 !important;
}

.align-lft {
    text-align: left !important;
}

.align-ctr {
    text-align: center !important;
}

.align-rgt {
    text-align: right !important;
}

.flag {
    vertical-align: middle;
}

section {
    margin-bottom: 45px;
}

section:last-child {
    margin-bottom: 0;
}

section > h2,
.page-content > h2,
.underline {
    padding-bottom: 15px;
    border-bottom: 1px solid #ebeced;
    margin-bottom: 20px;
}

h2.no-underline {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

h2.no-underline ~ .title-links {
    margin-top: 0;
    margin-bottom: -15px;
}

hr {
    height: 1px;
    border: 0;
    background: #ebeced;
    margin: 20px 0;
}

ul {
    padding-left: 20px;
}

ul ul,
ul ul ul,
ul ul ul ul {
    list-style-type: disc;
}

ul li {
    margin: 0.5em 0;
}

/* No margins at the top of the list: */
ul.flush li:first-child,
ul.flush-top li:first-child {
    margin-top: 0;
}

/* No margins at the bottom of the list: */
ul.flush li:last-child,
ul.flush-btm li:last-child {
    margin-bottom: 0;
}

/* No margins between the list items: */
ul.compact li {
    margin: 0;
}

/* Inline list with space between items: */
ul.spaced {
    margin: 0;
    padding: 0;
}

ul.spaced li {
    margin: 0;
    padding: 0;
    margin-left: 5px;
    display: inline-block;
    position: relative;
}

ul.spaced li:first-child {
    margin-left: 0;
}

/* Inline list with vertical bars between items: */
ul.inline {
    margin: 0;
    padding: 0;
}

ul.inline > li {
    margin: 0;
    padding: 0;
    display: inline-block;
    position: relative;
}

ul.inline > li:before {
    display: inline-block;
    content: '|';
    color: #ebeced;
    padding: 0 7px;
    margin-left: -0.3em;
}

ul.inline > li:first-child:before {
    display: none;
}

header ul.inline > li:before {
    color: rgba(255, 255, 255, 0.5);
    padding: 0 10px;
}

/* List with ticks or crosses next to items */
ul.checklist {
    list-style-type: none;
}

ul.checklist li {
    position: relative;
}

ul.checklist li:before {
    position: absolute;
    top: 0;
    left: -20px;
    width: 1em;
    text-align: center;
    color: #0074d9;
    content: '\26a0';
}

ul.checklist li.present:before {
    color: #2ecc40;
    content: '\2714';
}

ul.checklist li.missing:before {
    color: #ff4136;
    content: '\2718';
}

code {
    font-size: 0.9em;
    padding: 1px 4px;
    border-radius: 4px;
    background: #ebeced;
}

pre {
    font-size: 0.9em;
    padding: 2px 6px;
    border: 1px solid #ebeced;
    border-radius: 0;
    background: #f8f9f9;
    overflow: auto;
    /* Undo `break-word` value from `.diff` otherwise
     * it will override `white-space: pre` in Safari: */
    word-wrap: normal;
}

pre code {
    font-size: 1em;
    padding: 0;
    border: 0;
    background: transparent;
}

pre::-webkit-scrollbar {
    height: 7px;
    background: #ebeced;
}

pre::-webkit-scrollbar-thumb:horizontal {
    background: #99a0a6;
    border-radius: 4px;
}

.lft {
    float: left;
}

.rgt {
    float: right;
}

.row:after,
.form-row:after,
.clearfix:after {
    content: '';
    display: table;
    clear: both;
}

.formset-form-template,
.formset-form-delete {
    display: none;
}

.row {
    margin-left: -15px;
    margin-right: -15px;
}

.row > .lft {
    padding-left: 15px;
}

.row > .rgt {
    padding-right: 15px;
}

.row + .row {
    margin-top: 20px;
}

.col {
    float: left;
    padding: 0 15px;
    width: 100%;
}

.row-2 > .col {
    width: 50%;
}

.row-3 > .col {
    width: 33.333%;
}

.row-3 > .col-double {
    width: 66.666%;
}

.row-4 > .col {
    width: 25%;
}

.row-4 > .col-double {
    width: 50%;
}

.row-4 > .col-triple {
    width: 75%;
}

.row-5 > .col {
    width: 20%;
}

.row-6 > .col {
    width: 16.666%;
}

.row-tight-gutter {
    margin-left: -5px;
    margin-right: -5px;
}

.row-tight-gutter .col {
    padding: 0 5px;
}

/* .table td:last-child a, */
.btn {
    display: inline-block;
    padding: 8px 12px;
    color: #0074d9;
    background: #fff;
    border-radius: 4px;
    border: 1px solid currentColor;
    font-size: 0.9em;
    text-decoration: none;
    text-align: center;
    min-width: 70px;
}

.btn-small {
    padding: 4px 12px;
    min-width: 0;
}

.btn-tiny {
    padding: 2px 12px;
    min-width: 0;
    font-size: 0.9em;
    border-radius: 14px;
}

.btn-full-width {
    display: block;
}

.btn-create,
.btn-positive {
    color: #2ecc40;
}

.btn-delete,
.btn-negative {
    color: #ff4136;
}

.btn-action {
    color: #fff;
    background: #0074d9;
    border-color: #0074d9;
}

.btn-action.btn-positive {
    color: #fff;
    background: #2ecc40;
    border-color: #2ecc40;
}

.btn-action.btn-negative {
    color: #fff;
    background: #ff4136;
    border-color: #ff4136;
}

.btn-action.inactive {
    color: #fff;
    background: #000;
    border-color: #000;
}

.btn-loading,
.btn-disabled {
    color: #ebeced;
    border-color: #ebeced;
    background: #fff;
    cursor: default;
}

.btn-loading {
    position: relative;
    color: rgba(204, 204, 204, 0.3);
}

.btn-loading:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -0.5em;
    margin-left: -0.5em;
    height: 1em;
    width: 1em;
    border-radius: 50%;
    border: 1px solid #0074d9;
    border-bottom-color: rgba(0, 116, 217, 0.3);
    -webkit-animation: loading 0.5s infinite linear;
    animation: loading 0.5s infinite linear;
}

.btn-auto-width {
    min-width: auto;
}

.page-messages {
    margin: 40px 0;
}

.message {
    position: relative;
    margin: 20px 0;
    padding: 12px 15px;
    padding-left: 45px;
    color: #0074d9;
    border-width: 1px;
    border-style: solid;
}

.message:before {
    position: absolute;
    top: 12px;
    left: 15px;
    content: '\26A0\FE0F';
}

.message-success,
.message-success a {
    color: #2ecc40;
}

.message-success:before {
    content: '\2714';
}

.message-warning,
.message-warning a {
    color: #ff851b;
}

.message-error,
.message-error a {
    color: #ff4136;
}

.message-error:before {
    content: '\2718';
}

.message-fade {
    -webkit-animation: yellow-fade 1s forwards;
            animation: yellow-fade 1s forwards;
}

.notice {
    position: relative;
    margin: 20px auto;
    padding: 12px 15px;
    padding-left: 45px;
    background: rgba(0, 116, 217, 0.075);
    border-radius: 4px;
}

.notice:before {
    position: absolute;
    top: 12px;
    left: 15px;
    content: '\26A0\FE0F';
}

.empty-message {
    margin: 5em auto;
    color: #99a0a6;
    font-size: 1.4em;
    font-weight: 300;
    text-align: center;
}

.empty-message-compact {
    margin: 40px auto;
}

.pagination {
    margin-top: 20px;
    margin-bottom: 20px;
}

.other-actions:after {
    display: inline-block;
    content: '\2630';
    color: #0074d9;
}

a.header-link {
    text-decoration: none;
    color: inherit;
}

a.header-link:before {
    content: '\00B6';
    opacity: 0;
    text-decoration: none;
    float: left;
    margin-left: -1.1em;
    font-size: 0.85em;
    margin-top: 0.05em;
    color: #99a0a6;
}

h1:hover > a.header-link:before,
h2:hover > a.header-link:before,
h3:hover > a.header-link:before,
h4:hover > a.header-link:before,
h5:hover > a.header-link:before,
h6:hover > a.header-link:before {
    opacity: 1;
}

form-row {
    display: block;
}

.form-row {
    margin-bottom: 16px;
}

.data-set-header,
.form-row.data-set,
.optional-section,
.optional-row-header,
.form-row.optional-row {
    display: none;
}

.form-actions {
    margin-top: 30px;
    margin-left: 20%;
}

.form-col {
    float: left;
}

.form-col.label {
    width: 20%;
    padding-right: 15px;
}

.form-col.label label {
    font-weight: 500;
}

.form-col.field,
.form-col.field-aligned,
.form-col.spinner {
    width: 40%;
    padding-right: 15px;
}

.form-col.field-aligned {
    margin-left: 20%;
}

.form-col.field-full-width {
    width: 80%;
    padding-right: 0;
}

.form-col.field-full-width + .form-col.extra {
    display: none;
}

.row-2 .col .form-col.label,
.row-3 .col .form-col.label {
    width: 150px;
}

.row-2 .col .form-col.field,
.row-3 .col .form-col.field {
    width: calc(100% - 150px);
    padding-right: 0;
}

.row-2 .col .form-col.extra,
.row-3 .col .form-col.extra {
    display: none;
}

.row-2 .form-actions,
.row-3 .form-actions {
    margin-left: 150px;
}

.form-col.field input[type='text'],
.form-col.field input[type='url'],
.form-col.field input[type='email'],
.form-col.field input[type='password'],
.form-col.field textarea {
    margin-top: -2px;
    width: 100%;
}

.form-col.field input[type='number'] {
    min-width: 50%;
    max-width: 100%;
}

.form-col.field select {
    min-width: 50%;
    max-width: 100%;
}

.form-col.field select[multiple].chosen {
    /* Stop layout jumping around as JS loads: */
    height: 25px;
}

.form-col.field input[type='checkbox'],
.form-col.field input[type='radio'] {
    margin-right: 0.5em;
}

.form-col.field input:disabled,
.form-col.field select:disabled,
.form-col.field textarea:disabled {
    color: lightgray;
}

.form-col.field-checkable label {
    position: relative;
    display: inline-block;
    padding-left: 1.6em;
}

.form-col.field-checkable input[type='checkbox'],
.form-col.field-checkable input[type='radio'] {
    position: absolute;
    top: 0.35em;
    left: 0;
}

.form-col.field textarea {
    min-height: 100px;
    display: block;
}

.form-col.field textarea.text-file-widget {
    padding: 5px 9px;
    height: 200px;
    font-family: monospace, monospace;
    white-space: pre;
    word-wrap: normal;
}

.form-col.field.multi-value ul {
    margin: -8px 0 0 -20px;
}

.form-col.field.multi-value ul li {
    list-style: none;
}

.form-col.field ul.errorlist,
.formset-form-field ul.errorlist {
    font-size: 0.9em;
}

.form-col.field pre {
    margin: -2px 0 0 0;
}

.form-col ul.field-checkbox-list:first-child,
.form-col ul.field-checkbox-list:first-child li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.form-col.extra {
    width: 40%;
    color: #99a0a6;
    font-size: 0.9em;
    padding-top: 2px;
}

.form-col.extra p:first-child {
    margin-top: 0;
}

.form-col.extra p:last-child {
    margin-bottom: 0;
}

.form-col.field .side-by-side {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
}

.form-col.field .side-by-side .lft,
.form-col.field .side-by-side .rgt {
    width: 50%;
}

.form-col.field .side-by-side span.dash {
    font-weight: 300;
    margin: 0 0.5em;
}

.form-col.field .side-by-side input[type="number"] {
    width: 100%;
}

.radio-inline .radio-list .radio-item {
    display: inline-block;
    margin-right: 1.6em;
}

.radio-inline .radio-list .radio-item:last-child {
    margin-right: 0;
}

ul.errorlist {
    margin: 0;
    margin-top: 5px;
    padding: 0;
    color: #ff4136;
    list-style-type: none;
}

ul.errorlist li {
    margin: 0;
}

ul.errorlist li.warning {
    color: #ff851b;
}

ul.errorlist li.info {
    color: #0074d9;
}

.message ul.errorlist {
    margin: 0;
}

form.compact .form-col {
    float: none;
    width: 100%;
    padding-right: 0;
}

form.compact .form-col.label {
    margin-bottom: 5px;
}

form.compact .form-col.label label:after {
    content: ':';
}

form.compact .form-col input,
form.compact .form-col select {
    width: 100%;
}

::-webkit-input-placeholder {
    color: #99a0a6;
}

::-moz-placeholder {
    color: #99a0a6;
}

:-ms-input-placeholder {
    color: #99a0a6;
}

::placeholder {
    color: #99a0a6;
}

dl.clearable-file-input {
    margin: 0;
}

dl.clearable-file-input dt {
    float: left;
    font-size: 0.9em;
    line-height: 1.8;
    color: #99a0a6;
}

dl.clearable-file-input dd {
    margin-left: 65px;
    margin-bottom: 5px;
}

button.link,
button:focus.link,
button:active.link {
    background: none;
    border: none;
    display: inline;
    font: inherit;
    margin: 0;
    padding: 0;
    outline: none;
    outline-offset: 0;
    color: #0074d9;
    cursor: pointer;
    text-decoration: underline;
}

button.link::-moz-focus-inner {
    border: none;
    padding: 0;
}

.form-col.field {
    position: relative;
}

.form-row .spinner,
.form-row .changed-marker {
    display: none;
    position: absolute;
    right: 0;
    top: 0;
}

.form-row.loading .spinner {
    display: block;
}

.changed .changed-marker {
    display: block;
    color: #993;
}

.form-row.loading .changed-marker {
    display: none;
}

.form-row.loading .label {
    opacity: 0.5;
}

.form-row.changed {
    background-color: #fffbcc;
}

.row-2 .col .field-aligned {
    margin-left: calc(20% + 12px);
}

.table {
    border-collapse: collapse;
    width: 100%;
}

.table th,
.table td {
    padding: 5px 10px;
    border: 1px solid #ebeced;
    vertical-align: top;
}

.table th {
    text-align: left;
    white-space: nowrap;
    background: #f8f9f9;
}

.table td.truncate {
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table td.wrap {
    white-space: normal;
}

.table td.collapse {
    width: 1px;
    white-space: nowrap;
}

.table-resizable th,
.table-resizable td {
    width: auto;
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-resizable-test-widths .table-filters {
    display: none;
}

.table-resizable-test-widths td.truncate {
    max-width: 250px;
    word-break: break-all;
    white-space: inherit;
}

.table-resizable-test-widths td.collapse {
    width: 1px;
}

.table-handle-wrap {
    position: relative;
}

.table-handle {
    position: absolute;
    /* background: rgba(0,255,0, 0.25); */
    width: 10px;
    cursor: -webkit-grab;
    cursor: grab;
}

body.dragging * {
    cursor: -webkit-grabbing;
    cursor: grabbing;
}

.table tr.selected {
    background: #fffbcc;
}

.table th a.order {
    color: inherit;
    text-decoration: none;
    /* A temporary stand-in for the cell padding that will
     * be added once the JS is initialised. Stops the table
     * columns moving around as the page loads: */
    margin-right: 11px;
}

.table th a.order:before {
    /* See "option 3" here: http://stackoverflow.com/a/22156412 */
    content: ' ';
    display: none;
    float: right;
    height: 11px;
    width: 11px;
    margin: 5px -16px 0 0;
    background-repeat: no-repeat;
    background-image: url(data:image/gif;base64,R0lGODlhCwALAJEAAAAAAP///xUVFf///yH5BAEAAAMALAAAAAALAAsAAAIUnC2nKLnT4or00PvyrQwrPzUZshQAOw==);
    opacity: 0.2;
}

.table th.order {
    cursor: pointer;
    padding-right: 21px;
}

.table th.order a.order {
    margin-right: 0;
}

.table th.order a.order:before {
    display: inline-block;
}

.table th.order:hover a.order:before,
.table th a.order:hover:before {
    opacity: 1.0;
}

.table th a.order.asc:before {
    background-image: url(data:image/gif;base64,R0lGODlhCwALAJEAAAAAAP///xUVFf///yH5BAEAAAMALAAAAAALAAsAAAIRnC2nKLnT4or00Puy3rx7VQAAOw==);
    opacity: 1.0;
}

.table th a.order.desc:before {
    background-image: url(data:image/gif;base64,R0lGODlhCwALAJEAAAAAAP///xUVFf///yH5BAEAAAMALAAAAAALAAsAAAIPnI+py+0/hJzz0IruwjsVADs=);
    opacity: 1.0;
}

.table-actions-form {
    margin: 20px 0;
}

.table-filters th {
    font-weight: normal;
    padding: 5px;
}

.table-filters th input,
.table-filters th select {
    width: 100%;
}

.table-formset th {
    font-size: 0.8em;
    font-weight: 300;
    padding: 1px 5px;
    background: #f8f9f9;
    color: #99a0a6;
}

.table-formset td .field input,
.table-formset td .field select {
    width: 100%;
}

.table-formset td .field input[type="file"],
.table-formset td .field input[type="checkbox"],
.table-formset td .field input[type="radio"] {
    width: auto;
}

.table-formset .formset-form-title {
    font-weight: 500;
    width: 20%;
}

.table-formset .formset-form-field {
    overflow: visible;
    padding: 5px;
}

.table-formset .formset-form-actions {
    padding: 5px;
}

tr.action td:first-child {
    position: relative;
    overflow: visible;
}

tr.action .action-cursor,
tr.action .action-number {
    display: none;
    position: absolute;
    top: 50%;
    right: calc(100% + 10px);
    font-size: 0.8em;
    line-height: 1;
    color: #2a2d30;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}

.table-numbered tr.action .action-number {
    display: block;
}

tr.active .action-number {
    right: calc(100% + 30px);
}

tr.active .action-cursor {
    display: block;
}

tr.highlighted {
    background: #ebeced;
    font-weight: bold;
}

.table .enabled-no {
    color: lightgray;
}

.table .enabled-no a {
    color: rgba(0, 116, 217, 0.5);
}

.table .alert {
    color: #ff4136;
}

.tooltip {
    position: absolute;
    z-index: 2;
    display: inline-block;
    padding: 7px 12px;
    color: #fff;
    background: #2a2d30;
    font-size: 0.9em;
    border-radius: 4px;
}

.tooltip:after {
    position: absolute;
    content: '';
    top: 100%;
    left: 50%;
    margin-left: -6px;
    border: 6px solid transparent;
    border-top-color: #2a2d30;
    border-bottom-width: 0;
}

.loading-icon {
    display: block;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 2px solid #0074d9;
    border-bottom-color: rgba(0, 116, 217, 0.3);
    -webkit-animation: loading 0.5s infinite linear;
    animation: loading 0.5s infinite linear;
}

.load-html .loading-icon {
    margin: 40px auto 20px auto;
}

.load-html-chart {
    position: relative;
    min-height: 250px;
    background: #f8f9f9;
}

.load-html-chart.load-html-done {
    background: none;
}

.load-html-chart .loading-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
}

span.load-html .loading-icon {
    display: inline-block;
    margin: 0;
    height: 0.9em;
    width: 0.9em;
    border-width: 1px;
}

.tabs {
    margin: 20px 0 40px 0;
    padding: 0;
    list-style-type: none;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-content: flex-start;
        -ms-flex-line-pack: start;
            align-content: flex-start;
    -webkit-flex-flow: row nowrap;
        -ms-flex-flow: row nowrap;
            flex-flow: row nowrap;
}

.tabs > li {
    margin: 0 -1px 0 0;
    padding: 0;
    border: 1px solid #ebeced;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    background: #f8f9f9;
    color: #99a0a6;
}

.tabs > li.active {
    background: #fff;
    color: #2a2d30;
    border-bottom: none;
}

.tabs > li > a {
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    color: inherit;
    text-decoration: none;
}

.tabs > li.error > a {
    color: #ff4136;
}

.tabs > li > a .tab-content-count {
    position: relative;
    top: -1px;
    display: inline-block;
    padding: 0px 5px;
    margin: 0 -12px 0 3px;
    font-size: 0.7em;
    color: rgba(0, 116, 217, 0.75);
    border: 1px solid rgba(0, 116, 217, 0.75);
    border-radius: 100px;
}

.tabs > li > a .tab-content-count-non-zero {
    font-weight: 500;
    text-shadow: 0 1px 1px #0074d9;
    color: #fff;
    background: linear-gradient(#73beff, #40a6ff);
    border-color: #40a6ff;
}


/* Toggleable full-width fluid layout */

body.fluid .container {
    max-width: 100%;
    padding-left: 30px;
    padding-right: 30px;
}
