/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */

main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

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

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

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

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

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

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  -webkit-text-decoration: underline; /* 2 */
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

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

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */

progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */

textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

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

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

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

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */

details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

:root {
  --inner-width: 1200px;
  --font-family: "Open Sans", sans-serif;
  --text-color: #333;
  --text-color-light: #888;
  --link-color: #e62d1c;
  --link-hover-color: #a31e12;
}

html {
  box-sizing: border-box;
}

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

body {
  padding: 20px;
  font-family: "Open Sans", sans-serif;
  font-family: var(--font-family);
  line-height: 1.5;
  font-size: 14px;
  color: #333;
  color: var(--text-color);
  background: #eee;
  margin: 0px;
  padding: 0px;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  margin: 0px 0px 10px 0px;
}

h1:last-child {
    margin-bottom: 0px;
  }

h2:last-child {
    margin-bottom: 0px;
  }

h3:last-child {
    margin-bottom: 0px;
  }

h4:last-child {
    margin-bottom: 0px;
  }

h5:last-child {
    margin-bottom: 0px;
  }

h6:last-child {
    margin-bottom: 0px;
  }

p:last-child {
    margin-bottom: 0px;
  }

ul:last-child {
    margin-bottom: 0px;
  }

ol:last-child {
    margin-bottom: 0px;
  }

h1 {
  margin-bottom: 20px;
  font-weight: normal;
  font-size: 30px;
}

a,
a:visited {
  color: #e62d1c;
  color: var(--link-color);
}

h2 a:visited {
    -webkit-text-decoration: none;
    text-decoration: none;
  }

h2 a:not(.does-not-exist) {
    -webkit-text-decoration: none;
    text-decoration: none;
  }

h2 a:visited:hover {
      -webkit-text-decoration: underline;
      text-decoration: underline;
    }

h2 a:not(.does-not-exist):hover {
      -webkit-text-decoration: underline;
      text-decoration: underline;
    }

a:hover,
a:focus {
  color: #a31e12;
  color: var(--link-hover-color);
}

input[type="text"],
input[type="password"],
input[type="email"],
textarea,
select,
.select-wrapper {
  font-family: "Open Sans", sans-serif;
  font-family: var(--font-family);
  font-size: 18px;
  padding: 10px 10px;
  border-radius: 3px;
  transition: all 250ms ease-out;
  color: #333;
  color: var(--text-color);
  border: 1px solid #ddd;
  outline: none;
  background: #fff;
}

input[type="text"]:focus,input[type="password"]:focus,input[type="email"]:focus,textarea:not(.does-not-exist):focus,select:not(.does-not-exist):focus,.select-wrapper:not(does-not-exist):focus {
    border-color: #aaa;
  }

input[type="text"],
input[type="password"],
input[type="email"],
textarea {
  width: 100%;
  max-width: 700px;
}

textarea,
select {
  font-size: 14px;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 10px 70px 10px 10px;
  background-image:
    linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%),
    linear-gradient(to right, #ccc, #ccc);
  background-position:
    calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px),
    calc(100% - 2.5em) 0.5em;
  background-size:
    5px 5px,
    5px 5px,
    1px 1.8em;
  background-repeat: no-repeat;
}

.category {
  float: right;
  background: #f8f8f8;
  border-radius: 5px;
  padding: 5px 10px;
  box-shadow: inset -1px -1px 2px rgba(0, 0, 0, 0.1);
}

.category.no {
    background: #ffe0e0;
    color: #844;
  }

header,
main,
footer {
  width: 100%;
  margin: 0px auto;
}

main {
  max-width: 1200px;
  max-width: var(--inner-width);
  padding: 0px 15px;
}

header {
  background: #000;
  padding: 20px 0px;
  margin-bottom: 40px;
}

header h1 {
    max-width: 1200px;
    max-width: var(--inner-width);
    margin: 0px auto;
    line-height: 1;
    padding: 0px 15px;
    font-weight: normal;
    font-size: 24px;
  }

header h1 a:visited {
      transition: color 250ms;
      color: #aaa;
      -webkit-text-decoration: none;
      text-decoration: none;
    }

header h1 a {
      transition: color 250ms;
      color: #aaa;
      -webkit-text-decoration: none;
      text-decoration: none;
    }

header h1 a:hover,header h1 a:focus {
      color: #fff;
    }

nav {
  margin-top: -40px;
  margin-bottom: 40px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.05);
}

nav.topnav {
    background: #fff;
  }

nav.subnav {
    background: #f8f8f8;
    border-top: 1px solid #eee;
  }

nav .inner {
    max-width: 1200px;
    max-width: var(--inner-width);
    margin: 0px auto;
    padding: 10px 15px;
    overflow: auto;
  }

nav .user {
    float: right;
  }

nav .user a {
      margin-left: 5px;
    }

nav ul {
    margin: 0px;
    padding: 0px;
  }

nav ul li {
      display: inline-block;
      margin-left: 10px;
      padding-left: 10px;
      border-left: 1px solid #ccc;
    }

nav ul li:first-child {
        border-left: none;
        margin-left: 0px;
        padding-left: 0px;
      }

nav a,nav a:visited {
    color: #333;
    color: var(--text-color);
    //font-weight: bold;
    -webkit-text-decoration: none;
    text-decoration: none;
  }

nav a:hover,nav a:focus {
    -webkit-text-decoration: underline;
    text-decoration: underline;
  }

footer {
  background: #e0e0e0;
  margin-top: 100px;
  padding: 20px;
  text-align: center;
}

.info {
  padding: 0px 20px;
  margin-bottom: 30px;
}

article.demo,
article.playlist,
article.track,
section.login,
form {
  background: #fff;
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 3px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
}

article.demo .timestamp,article.playlist .timestamp,article.track .timestamp,section.login .timestamp,form:not(.does-not-exist) .timestamp {
    color: #888;
    color: var(--text-color-light);
    font-size: 12px;
  }

article.demo ul,article.playlist ul,article.track ul,section.login ul,form:not(.does-not-exist) ul {
    list-style-type: disc;
    padding-left: 20px;
  }

article.demo li.match,article.playlist li.match,article.track li.match,section.login li.match,form:not(.does-not-exist) li.match {
    background: #ffa;
  }

article.demo .buttons,article.playlist .buttons,article.track .buttons,section.login .buttons,form:not(.does-not-exist) .buttons {
    margin-top: -5px;
    float: right;
  }

article.demo .links a,article.playlist .links a,article.track .links a,section.login .links a,form:not(.does-not-exist) .links a {
      margin-left: 15px;
    }

article.demo .links a:first-child {
        margin-left: 0px;
      }

article.playlist .links a:first-child {
        margin-left: 0px;
      }

article.track .links a:first-child {
        margin-left: 0px;
      }

section.login .links a:first-child {
        margin-left: 0px;
      }

form:not(.does-not-exist) .links a:first-child {
        margin-left: 0px;
      }

article.demo iframe,article.playlist iframe,article.track iframe,section.login iframe,form:not(.does-not-exist) iframe {
    margin-bottom: 15px;
  }

article.demo .expand-embed,article.playlist .expand-embed,article.track .expand-embed,section.login .expand-embed,form:not(.does-not-exist) .expand-embed {
    margin-bottom: 20px;
    text-align: center;
    background: #fdfdfd;
    border: 2px dashed #eee;
    border-radius: 5px;
    padding: 10px;
    height: 166px;
    line-height: 150px;
    -webkit-text-decoration: underline;
    text-decoration: underline;
    cursor: pointer;
  }

iframe {
  border: 0px;
}

.filter-bar {
  margin-bottom: 15px;
}

.filter-bar input {
    font-size: 18px;
    padding: 10px 15px;
    width: 100%;
    max-width: 100%;
    border: 1px solid #ddd;
    border-radius: 3px;
    outline: none;
    transition: all 250ms ease-out;
    background: #f8f8f8;
  }

.filter-bar input:focus {
      border-color: #aaa;
      background: #fff;
    }

button {
  border: 1px solid #aaa;
  border-radius: 3px;
  font-family: "Open Sans", sans-serif;
  font-family: var(--font-family);
  color: #333;
  color: var(--text-color);
  line-height: 28px;
  padding: 0px 10px;
  background-image: linear-gradient(180deg, #fff 0%, #eee 100%);
}

button:hover,button:focus {
    border-color: #888;
    background-image: linear-gradient(180deg, #fff 0%, #f0f0f0 100%);
  }

button.toggled {
    color: #fff;
    border-color: #dd3200;
    background-image: linear-gradient(180deg, #ff8220 0%, #ff5200 100%);
  }

.flash {
  margin-top: -20px;
  margin-bottom: 20px;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.05);
}

.flash .notice {
    border-top: 1px solid #ee9;
    background: #ffa;
  }

.flash .error {
    color: #fff;
    background: #c00;
  }

.flash .inner {
    max-width: 1200px;
    max-width: var(--inner-width);
    margin: 0px auto;
    padding: 10px 15px;
  }

form .field {
    clear: both;
    margin-bottom: 20px;
  }

form .field:after {
      content: "";
      display: table;
      clear: both;
    }

form label {
    display: block;
    margin-bottom: 5px;
    color: #888;
    color: var(--text-color-light);
  }

form .button-row {
    clear: both;
  }

form .button-row button,form .button-row a {
      margin-right: 12px;
    }

.show-demo .edit {
    padding-top: 17px;
    float: right;
  }

.show-demo .notes {
    background: #f8f8f8;
    margin: 20px -20px;
    padding: 20px;
  }

.show-demo .notes p {
      max-width: 700px;
    }

.show-demo .related-tracks {
    margin-top: 60px;
  }

.categories {
  margin-bottom: 30px;
}

.categories a,.categories a.visited {
    margin-right: 10px;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 250ms ease-out;
  }

.categories a.current:not(.does-not-exist),.categories a.visited.current {
      background: #333;
      background: var(--text-color);
      color: #fff;
    }

.categories a:not(.does-not-exist) .count,.categories a.visited .count {
      margin-left: 5px;
      font-size: 12px;
    }
