@import url("player.css?2");

@font-face {
    font-family:     "DejaVu Sans";
    src: url("/static/DejaVuSans-webfont.eot");
    src: url("/static/DejaVuSans-webfont.eot#iefix") format("embedded-opentype"),
         url("/static/DejaVuSans-webfont.woff") format("woff"),
         url("/static/DejaVuSans-webfont.ttf") format("truetype"),
         url("/static/DejaVuSans-webfont.svg") format("svg");
}

html, body { background-color: #F2F2F2; }

#main {
    max-width: 1000px;
    margin: auto;
}

/** Header ********************************************************************/

#header {
    margin: 0 auto;
    color: #203;
}

#header h1 {
    margin: 0;
    padding: 25px 20px 0;
    font-size: 2.2em;
    font-weight: 100;
    font-family: "DejaVu Sans";
}
#header h1 a {
    display: block;
    text-decoration: none;
    padding: 20px 0 20px 160px;
    background: url("/static/logo.png") no-repeat left center;
}

.feed {
    display: inline-block;
    height: 12px;
    width: 12px;
    background: url("/static/icons/feed.png") center left;
}
.feed span { display: none; }
.feed:hover { background-position: center right; }

/** Navigation bar ************************************************************/

#navbar {
    padding: 0;
    margin: 0;
}
#navbar a {
    float: left;
    display: block;
    padding: 10px;
    margin: 0;
}
#navbar a:hover {
    text-decoration: none;
}

#navbar form {
    margin: 0;
    padding: 0;
    padding-top: 5px;
}

#navbar button img {
    vertical-align: bottom;
}

#navbar button {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
    margin-left: 10px;
    display: inline-block;
}

#navbar input[type=text] {
    font-size: 0.7em;
    width: 100px;
    background: transparent;
    border: 1px solid #ccc;
    transition-property: width;
    transition-duration: 0.1s;
    transition-timing-function: ease-out;
    -webkit-transition-property: width;
    -webkit-transition-duration: 0.1s;
    -webkit-transition-timing-function: ease-out;
}

#navbar form input[type=text]:hover,
#navbar form input[type=text]:focus {
    border: 1px solid #999;
    background: white;
}

#navbar form input[type=text]:focus {
    width: 200px;
}

#navbar form input[type=text]:focus:after {
    content: "test";
}


#logstatus {
    float: right;
    padding: 10px 20px;
}

/******************************************************************************/

#contents {
    padding: 25px 40px 20px;
    background-color: #fefcf9;
    color: #181211;
    margin: 0 auto;
    box-shadow: 0px 0px 1px #888;
}

#footer {
    font-size: 0.7em;
    color: #999;
    margin-top: 0;
    padding: 17px;
    text-align: center;
    background: url("silhouette.png") no-repeat 98% center;
    text-shadow: 0 1px white;
    line-height: 1.2em;
}

#footer a { color: #777; padding: 0 3px; }
#footer a:hover { color: #444; }

/** Generic *******************************************************************/

p {
    margin: 15px;
    text-indent: 15px;
}

#contents h3 {
    border-radius: 5px;
    padding: 10px 12px;
    border: 1px solid #eee;
    background: url("/static/title-grad.png") repeat-x bottom #fbfbfb;
}

#contents h3 img, #contents h4 img {
    float: left;
    display: block;
    margin-right: 7px;
}

.legend {
    color: #444;
    font-size: 0.8em;
}
div.legend {
    float: right;
    margin: 6px;
}

.leftcol, .rightcol {
    width: 48%;
}
.leftcol {
    float: left;
    clear: both;
}
.rightcol {
    float: right;
}


/** Track page ****************************************************************/

.toolbar {
    margin: 10px 0 0;
    line-height: 2em;
}

.toolbar img {
    margin: 0 5px 0 20px;
    vertical-align: middle;
    padding-bottom: 3px;
}

.toolbar span {
    white-space: nowrap;
}

.tags a, .toolbar a, .report {
    padding: 2px 0;
    margin: 0 5px;
}

.toolbar form {
    display: inline;
    margin: 0;
    padding: 0;
}

.report {
    border: none;
    background: none;
    margin-left: 20px;
}

.report span {
    visibility: hidden;
    margin-left: 5px;
}

.report:hover { cursor: pointer; }
.report:hover span { visibility: visible; }
.report img { margin: 0; }

ul.downloads {
    display: inline-block;
    padding: 0;
    margin: 0;
    vertical-align: top;
    height: 2.5em;
}

ul.downloads li{
    display: block;
    position: relative;
    visibility: hidden;
    margin: 0;
    padding: 0;
    z-index: 100;
}

.downloads a{
    display:inline-block;
    width:100%;
    background: white;
    padding: 0; margin: 0;
}

.downloads a > span{
    padding: 8px;
}


.downloads a:hover{
    background: #fafafa;
    text-decoration: none;
}

ul.downloads li a{
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

ul.downloads li:first-child:after{
    content: "▼";
    position: absolute;
    text-align: right;
    right: .5em;
    top: 0;
    left: 0;
    bottom:0;
    z-index: 99999;
    /* this ensures that the menu can be opened on touch devices
       the first click will click on this and hover, thus removing this element */
    cursor: default;
    color: #333;
}
ul.downloads:hover li:first-child:after{
    display: none;
}
ul.downloads li:first-child a{
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
ul.downloads:hover li:first-child a{
    border-bottom: none;
}
ul.downloads:hover li:last-of-type a{
    border-bottom: 1px solid #ccc;
}
ul.downloads li:first-child,
ul.downloads:hover li{
    visibility: visible;
}

.downloads .codecinfo, .downloads .settings{
    color: grey;
    font-size: 0.7em;
}
.downloads a .settings{
    visibility: hidden;
    position: absolute;
    right: 0;
    bottom: 1px;
    color: #ccc;
    background: #fafafa;
}
.downloads a:hover .settings{
    visibility: visible;
}

.notes, .news {
    line-height: 1.7em;
    font-size: 0.9em;
    text-align: justify;
}

.notes {
    border-radius: 3px;
    padding: 15px 20px;
    margin: 0 0 15px;
    background: #fefefe;
    border: 1px #f3f3f3 solid;
    border-top-color: #eee;
    box-shadow: inset 0 5px 30px -15px #f3f3f3;
    font-size: 0.8em;
    color: #111;
}
.track .notes {
    margin: 15px 20px 0;
}

.description {
    margin: 0 10px;
}
.description p {
    margin: 5px;
}
.description div {
    margin: 25px 0px;
}
.description ul {
    margin: 5px 10px;
}

.danger {
    color: #A00;
    margin: 20px 0;
}

.empty {
    margin: 20px;
    text-align: center;
    color: #444;
}

.comment {
    margin: 10px;
    padding: 15px 20px;
    border-radius: 3px;
    border: solid #eee;
    border-width: 0px 0 1px 1px;
    line-height: 1.6em;
    font-size: 0.9em;
}
.postcomment {
    text-align: center;
}
.postcomment h3 {
    margin: 15px;
}

.honeypot {
    display: none;
    padding: 0;
    border: none;
    height: 0px;
}

.comment .by {
    margin-top: 8px;
    font-size: 0.9em;
    color: #000;
}

.track .art {
    display: block;
    max-width: 80%;
    max-height: 480px;
    margin: 25px auto;
    padding: 5px;
    border: 1px solid #ddd;
}

.tags form {
    display: inline;
    margin: 0;
}

.license {
    font-size: 0.8em;
    color: #888;
    margin: 10px 25px 0px;
}
.license a {
    color: #444;
}

.track h4, .playlist h4 {
    margin: 10px;
}

h4 .date, .event .date {
    font-size: 0.7em;
    color: #666;
}

h2 .buttons { padding-left: 4px; }

.tracklist button, .report button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

a img { border: none; }

#addplaylist {
    position: relative;
    vertical-align: middle;
}
#addplaylist img {
    padding-bottom: 1px;
}
#addplaylist form {
    display: none;
    position: absolute;
    margin: 0;
    left: 0;
    padding-left: 20px;
    top: 0;
    width: 300px;
}

#addplaylist:hover form, #addplaylist:active form, #addplaylist form:focus {
    display: block;
}

#addplaylist input, #addplaylist select {
    padding : 3px;
    font-size: 0.4em;
}

.status {
    font-weight: bold;
    padding: 20px;
}


/** Track edit area ****************************************************************/

.edit-container {
    clear: left;
    margin-left: 27px;
    padding: 5px 10px;

    border-left: 1px solid #c9f;
}
.edit-container > div {
    display: inline-block;
    vertical-align: top;
    margin-left: 20px;
    min-width: 400px;
}

.dialog h4.edit-category {
    display: inline-block;
    float: left;
    padding: 3px 10px;
    margin-right: 10px;
    margin-left: 10px;
    border-bottom: 1px solid #c9f;
}
div.edit-notes {
    display: block;
    max-width: 820px;
}
div.edit-notes textarea {
    width: 95%;
}


/** User page *****************************************************************/

.user {
    margin-bottom: 20px;
}

.user h2 {
    padding: 7px 0;
}

.avatar {
    position: relative;
    border: 1px solid #eee;
    width: 80px;
    height: 80px;
    margin: 0 15px;
    display: block;
    float: left;
}
.avatar span {
    display: none;
    position: absolute;
    bottom: 0;
    font-size: 0.6em;
    color: white;
    background: rgba(0,0,0,0.6);
    padding: 3px;
}
a.avatar:hover span {
    display: block;
}
a.avatar:hover[href] {
    text-decoration: none;
    border-color: #777;
}

.user .items {
    margin-left: 116px;
}
.user .item {
    margin: 8px 25px 15px 0px;
    display: inline-block;
}
.user .item img {
    vertical-align: middle;
    padding-bottom: 4px;
    margin-right: 4px;
}
.user .notes {
    margin-top: 7px;
}

.userlist {
    margin: 0;
    padding: 0;
}
.userlist li {
    list-style-type: none;
    padding: 0;
    margin: 12px;
}
.userlist .avatar {
    margin: 0;
}
.userlist .name, .userlist .about {
    margin-left: 90px;
}
.userlist a.name {
    display: block;
    font-size: 1.15em;
    font-weight: 100;
    padding: 2px 4px;
    height: 16px;
}
.userlist .about {
    font-size: 0.7em;
    color: #444;
    margin-top: 5px;
    height: 45px;
    padding: 5px;
    overflow: hidden;
}
.userlist .about a {
    color: #888;
}

.newplaylist{
    float: right;
    margin: 14px 10px;
    text-align:right;
}
.playlists {
    clear: both;
    margin: 0;
}
.playlists li{
    list-style: none;
    color: #222;
}
.playlists .count{
    font-size: 0.7em;
    margin-left: 10px;
}
.playlists .description{
    border-left: 1px solid #eee;
    padding: 5px 8px;
    font-size: 0.9em;
    line-height: 1.3em;
    text-align: justify;
}

/** FAQ page ******************************************************************/

.faq div {
    margin: 30px 10px 35px;
}

.faq div:last-child {
    margin-bottom: 0;
}

.faq div:focus {
    background: #ffe;
}

.faq var {
    font-family: monospace;
}

a.huh {
    font-size: 0.7em;
    margin-left: 3px;
    vertical-align:middle;
    color: #756;
}

/** News page *****************************************************************/

.news h4 {
    margin: 10px 12px;
    color: #444;
}

.news-contents {
    margin: 20px 10px 25px;
}

.oldnews {
    margin-top: 30px;
}

a.more {
    display: inline-block;
    margin: 0 20px;
}
a.more:before {
    content: "» ";
}

/** Lists *********************************************************************/

li {
    margin: 0;
    list-style: square;
    padding: 8px 0;
    color: #406;
}
ul {
    margin: 10px 20px;
    padding: 0 20px;
}

/** Track list ****************************************************************/

.tracklist {
    margin: 10px 0;
    padding: 0 10px;
    list-style-type: none;
}

.tracklist li {
    padding: 7px 15px;
    margin: 0;
    display: block;
    border-bottom: 1px solid #e3e3e3;
    clear: both;
}
.js .tracklist li { cursor: pointer; }
.js .tracklist li.empty { cursor: default; }

.js .tracklist li:hover { background-color: #f4f4f4; }
.js .tracklist li.empty:hover { background-color: transparent; }

.tracklist .title, .tracklist .by {
    line-height: 33px;
    font-weight: 100;
    height: 33px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.tracklist .title {
    font-size: 1.1em;
}

.tracklist .cover {
    float: right;
    max-width: 128px;
}

.tracklist .hidden a, .tracklist .hidden {
    color: #777;
}
.tracklist .hidden .title:after {
    content: "(hidden)";
    font-size: 0.6em;
    margin-left: 5px;
}

.tracklist .player {
    margin: 5px 0 10px 0;
}

/** Playlists *****************************************************************/

.playlist .notes { margin-bottom: 30px; }
.tracklist .buttons { float: right; }
.tracklist .buttons form { margin: 2px; }
.playlist .dialog form img {
    vertical-align: middle;
    padding-bottom: 2px;
}

/** Forms *********************************************************************/

form {
    margin: 20px;
}
form input, textarea, select, .qq-upload-button, button {
    border: 1px solid #555;
    border-radius: 2px;
    padding: 4px;
    margin: 2px;
}
button.fakelink {
    border: none;
    padding: 0;
    margin: 0;
    background: none;
    cursor: pointer;
}
form input, select {
    vertical-align: middle;
    width: 240px;
}
input[type="checkbox"], input[type="radio"] {
    margin: 0 5px;
    padding: 0;
    width: auto;
}
form input[type="file"] {
    width: auto;
    margin-bottom: 3px;
    border: none;
}
form input[type="submit"], .qq-upload-button, button {
    width: auto;
    background-color: #F8F8FF;
    padding: 3px 7px;
}
form input[type="submit"]:hover, .qq-upload-button-hover {
    background-color: #F6F3FF;
}
select {
    background-color: #FFF;
    width: auto;
}
textarea {
    width: 400px;
    height: 200px;
}
#embedcode {
    height: 100px;
    margin: 10px 20px;
}

.dialog {
    padding-bottom: 10px;
    margin: 30px 0;
    border-radius: 5px;
    border: 1px solid #eee;
    line-height: 1.1em;
    position: relative;
    transition-property: max-height;
    transition-duration: 0.3s;
    transition-timing-function: ease-in-out;
    -webkit-transition-property: max-height;
    -webkit-transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-in-out;
    -moz-transition-property: max-height;
    -moz-transition-duration: 0.3s;
    -moz-transition-timing-function: ease-in-out;
    overflow: hidden;
}
.dialog h4 {
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
}
#contents .dialog h3 {
    margin: 0;
    border: none;
    border-radius: 5px 5px 0 0;
}
.dialog h4 {
    margin: 15px 0 0 0;
    padding: 5px;
}
.dialog form {
    margin: 10px 10px;
}
.dialog .column {
    float: left;
}
.dialog .column, .dialog .double-column {
    padding: 0 3%;
}
.dialog .double-column input[type="text"]{
    width: 400px;
    max-width: 50%;
}
.dialog textarea {
    width: 350px;
    height: 220px;
}
.dialog .publish {
    font-weight: bold;
    color: #548;
    text-align: left;
}
.dialog .publish img {
    float: left;
    margin: 2px 7px 0 5px;
}
.dialog .publish input {
    color: #FFF;
    background: #307;
    border: none;
}
.dialog .publish input:hover {
    background-color: #509;
}

/** Follow / Favorite / Delete buttons ****************************************/

.follow {
    font-size: 14px;
    padding: 3px 3px 3px 20px;
    margin-left: 5px;
    background: url("/static/icons/plus.png") left center no-repeat;
}
.follow:hover{ 
    text-decoration: none;
    color: #555;
}
.follow.disabled { background-image: url("/static/icons/plus-grey.png"); }
.follow span { visibility: hidden; }
.follow:hover span { visibility: visible; }

.delete {
    float: right;
    margin-right: 20px;
    background: url("/static/icons/delete.png") no-repeat 7px center;
    padding-left: 37px;
    color: #b00;
    border-radius: 2px;
    padding: 7px 9px 7px 33px;
    clear: both;
}
.delete:hover {
    text-decoration: none;
    background-color: #d00;
    color: #fff;
}

/** Events ********************************************************************/

.events {
    border: 1px #eee solid;
    border-bottom: none;
    padding: 0;
    margin: 15px 0 5px;
    font-size : 0.7em;
}
.events h4 {
    background: #f3f3f3;
    margin: 0 0 2px 0;
    padding: 8px 12px;
    border-bottom: 1px #eee solid;
    border-right:none;
}
.events .event, .events .empty {
    color: #555;
    border-bottom: 1px #eee solid;
    padding: 5px 20px;
    margin: 0;
    list-style: none;
}
.event img {
    vertical-align: middle;
    position: relative;
    right: 10px;
    opacity: .8;
}
.event:hover img {
    opacity: 1;
}
.event .date {
    float: right;
    font-size: 1em;
}
.events .comment {
    color: #555;
    border: none;
    margin: 5px 10px 5px 30px;
    padding: 0;
    font-size: 1.1em;
    text-indent:0;
}
.events .event:nth-child(2n+1) { background: #fcfcfc; }
.event a { color: #7733bb; }

.event:hover {
    color: black;
}
.event:hover a { color: #440088; }
.events_wrapper form {
    float : right;
    margin: 1px;
}
.events_wrapper input, .newplaylist input {
    border-color: #aaa;
}
.events_wrapper input:hover, .newplaylist input:hover{
    border-color: #555;
}
.events_wrapper input[type="text"] {
    width: 220px;
}
.events_wrapper input[type="text"][name="name"] {
    width: 90px;
}

/** Feature box ***************************************************************/

.featurebox {
    background: #eee;
    border-radius: 5px;
    position: relative;
}

.user .featurebox {
    margin-top: 15px;
}

.featurebox,
.prev, .next,
.featurebox a,
.featurebox h3 a,
.featurebox .by,
.featurebox .title,
.featurebox .playtime {
    color: #333;
    text-shadow: 0 1px 0 rgba(255,255,255,0.7);
}
.featurebox h3 a,
.featurebox .title a{
    color: #111;
}

#contents .featurebox h3 {
    background-image: none;
    background: rgba(242,242,242,0.8);
    background:   linear-gradient(to bottom, rgba(254,252,249,1) 0%,rgba(254,252,249,0.95) 100%);
    background: -webkit-linear-gradient(top, rgba(254,252,249,1) 0%,rgba(254,252,249,0.95) 100%);
    background:      -o-linear-gradient(top, rgba(254,252,249,1) 0%,rgba(254,252,249,0.95) 100%);
    border-radius: 0;
    border: none;
    margin: 0;
}

.js .featurebox ul {
    padding: 0;
    margin: 0;
}
.js .featurebox li{
    display: none;
    border: none;
}
.js .featurebox li,
.js .featurebox li:hover {
    background: rgba(242,242,242,0.8);
    background:   linear-gradient(to bottom, rgba(254,252,249,0.95) 0%,rgba(230,230,230,0.75) 100%);
    background: -webkit-linear-gradient(top, rgba(254,252,249,0.95) 0%,rgba(230,230,230,0.75) 100%);
    background:      -o-linear-gradient(top, rgba(254,252,249,0.95) 0%,rgba(230,230,230,0.75) 100%);
}

.featurebox li.active {
    display: block;
}

.featurebox .scrubberbar { background: rgba(0,0,0,0.1); border: 1px solid #666; }
.featurebox .scrubberbar .scrubber { background-color: #444; }
.featurebox .volume img { display: none; }
.featurebox .volume .slider { background-color: rgba(0,0,0,0.2); }
.featurebox .volume .slider div { background-color: #444; }

.prevnext {
    position: absolute;
    bottom: 10px;
    left: 50px;
}

.prev, .next {
    margin: 0 5px;
    font-size: 0.6em;
    font-family: "DejaVu Sans";
    cursor: pointer;
    text-shadow: none;
}

.prev:hover, .next:hover {
    opacity: 0.7;
}

.prev.disabled, .next.disabled {
    opacity: 0;
}

.prev::before { content: "◀◀"; }
.next::before { content: "▶▶"; margin-right: 5px; }

form.defeature {
    margin: 0;
    position: absolute;
    top: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    border-top-right-radius: 5px;
    background: #fefcf9;
}

form.defeature button{
    font-size: 0.8em;
    color: #333;
}

form.defeature span {
    margin-left: 5px;
    color: #700;
}

form.defeature button:not(:hover) span {
    display: none;
}

/** Messages ******************************************************************/

.message, .error {
    margin: 15px;
    font-weight: bold;
}
.error {
    color: #800;
}

/** Ticker ********************************************************************/

#newsticker, #nowplaying-widget {
    margin-top: 8px;
    margin-bottom: 30px;
    padding-left: 12px;
}

#newsticker {
    /*margin-left: 19px;
    margin-right: 19px;*/
    background: #fbffff;
    border: 1px solid #e2eaea;
    border-radius: 2px;
    padding: 10px;
}

#newsticker img {
    display: block;
    float: left;
    margin: 1px 8px 0 0;
}

/** Search form (homepage) ****************************************************/

.search {
    padding: 0 10px;
    font-size: 1.2em;
    font-weight: 100;
    margin: 10px 0 5px;
}
.search img {
    vertical-align: middle;
    padding: 0 4px 3px;
}
.search form {
    display: inline;
    margin: 0;
}

/** Partners (homepage) *******************************************************/

.partner {
    display: block;
    margin: 20px;
}

/** File uploader *************************************************************/

.qq-uploader {
    position: relative;
    width: 90%;
    margin: 20px;
}

.qq-upload-button {
    display:block;
    width: 150px; 
    padding: 5px;
    text-align:center;
}

.qq-upload-drop-area {
    padding: 30px;
    margin: 10px 0;
    background-color: #408;
    color: #fff;
    text-align:center; 
    border-radius: 5px;
}
.qq-upload-drop-area-active { background-color:#80c; }

.qq-upload-list { margin:15px 35px; padding:0; list-style:disc; }
.qq-upload-list li { margin:0; padding:0; line-height:15px; font-size:12px;}
.qq-upload-file, .qq-upload-spinner, .qq-upload-size, .qq-upload-cancel, .qq-upload-failed-text {
    margin-right: 7px;
}

.qq-upload-file {}
.qq-upload-spinner {display:inline-block; width:15px; height:15px; vertical-align:text-bottom;}
.qq-upload-size,.qq-upload-cancel {font-size:11px;}

.qq-upload-failed-text {display:none;}
.qq-upload-fail .qq-upload-failed-text {display:inline;}

a.qq-upload-file, a.qq-upload-file:hover {
    text-decoration: none;
    color: #000;
}
.qq-upload-success a.qq-upload-file {
    color: #408;
    text-decoration: none;
}
.qq-upload-success a.qq-upload-file:hover {
    color: #80C;
    text-decoration: underline;
}

/** API documentation *********************************************************/

#api p {
    text-indent: 0;
    margin: 15px 40px;
    line-height: 1.2em;
}
#api tt, #api pre { color: #511; }
#api var {
    color: #840;
    font-style: normal;
}
#api pre {
    padding: 3px 7px;
    background: #fbfbfb;
    border: 1px solid #ddd;
    margin: 10px 40px;
    border-radius: 3px;
}
#api table { 
    margin: 10px 40px;
    border : 1px solid #fafafa;
    border-bottom : none;
    }
#api td {
    vertical-align: top; 
    padding: 3px 7px;
    border-bottom : 1px solid #fafafa;
}

/** Licenses ******************************************************************/

.licenses td {
    padding: 10px 5px;
    vertical-align: top;
}
.licenses div {
    font-size: 0.9em;
    padding: 7px 0;
}
.licenses div input[type="radio"] {
    margin: 0 0 0 10px;
}

/* stats *************************** */

.charts {
    display: none;
}

svg.chart {
    position: relative;
    margin: 10px auto;
    display: block;
    border: 1px #666 solid;
    background: #f9f9f9;
    font-family: sans-serif;
    font-size: .7em;
}

svg .views { fill: #3cc; z-index: 20; }
svg .plays { fill: #55f; z-index: 20; }
svg .dls { fill: #31a; z-index: 20; }
svg .ytick, svg .ylabel, svg .chartlabel { fill: #333; z-index: 50; }

.charts .settings, .charts .inspector {
    text-align: center;
    margin: 3px;
}

.charts .inspector {
    color: #222;
    font-size: 0.8em;
}

.inspector .views { color: #099; }
.inspector .plays { color: #33c; }
.inspector .dls   { color: #108; }

.charts .settings span {
    margin: 0 10px;
}

.charts .ellipsis {
    z-index: 100;
    background: url("/static/ellipsis.png") no-repeat center center, rgba(0,0,0, 0.1);
    position: absolute;
    top: 0; bottom: 0; left: 0; right: 0;
}

.charts table.referrers {
    margin: 0;
    width: 100%;
    border-collapse: collapse;
}
.charts .referrers tr{
    margin: 0;
    padding: 0;
    width: 100%;
}
.charts .referrers td{
    border: none;
    margin: 0;
    padding: 10px;
    vertical-align: top;
}
.charts .referrers tr:nth-child(2n){
    background: #f5f5f5;
}
.charts .referrers td.value{
    text-align: right;
}

.charts .referrers td>a {
    color: #181211;
}
.charts .referrers td>a::before {
    content: "+ ";
    font-family: monospace;
}
.charts .referrers td.open>a::before {
    content: "- ";
}

.charts .referrers col.value {
    width: 0;
}

.charts .referrers ul {
    margin: 0;
    padding: 0;
}
.charts .referrers ul>li {
    margin: 0;
    margin-left: 30px;
    margin-top: 5px;
    padding: 0;
    max-width: 100%;
    position:relative;
    color: black;
}
.charts .referrers ul>li>a {
    position:absolute;
    max-width: 100%;
    height: 120%; /* hurr hurr hurr */
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.charts .referrers td:not(.open) ul {
    display: none;
}

/* Responsive */

@media (max-width: 999px) {
    .edit-container > div {
        display: block;
        min-width: none;
    }
}
@media (max-width: 800px) {
    #contents {
        padding: 25px 10px 20px;
    }
    .leftcol, .rightcol {
        float: none;
        width: 100%;
    }
    form {
        margin: 20px auto;
    }
    textarea, .dialog textarea {
        max-width: 80%;
    }
}
@media (max-width: 500px) {
    #header h1 a {
        font-size: 0.8em;
        text-align: center;
        background-position: top center;
        padding: 72px 0 20px 0;
    }
    #logstatus {
        float: none;
        position: absolute;
        top: 0;
        right: 0;
    }
    #header {
        text-align: center;
    }
    #navbar form {
        display: block;
        float: none;
        margin: 10px 0;
    }
    #navbar a {
        float: none;
        display: inline;
    }
    #navbar input[type=text] {
        width: 200px;
    }
    form input, select,
    .events_wrapper input[type=text] {
        width: 120px;
        margin: 2px 0;
    }
    .user .item {
        margin: 8px 0px;
        display: block;
    }
    .events .event {
        padding: 5px 5px;
    }
    .event img {
        right: 0;
    }
    ul.downloads {
        display:block;
        margin: 0 20px;
    }
    textarea, .dialog textarea {
        width: 250px;
        height: 170px;
    }
    .newplaylist{
        max-width: 50%;
    }
    .newplaylist input {
        max-width: 45%;
    }
}




.closed-notice {
    display: block;
    background: white;
    padding: 8px 25px;
    border-bottom: grey 1px solid;
    text-align: center;
}
