﻿body {
    padding: 20px 0;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.rotate {
    position: absolute;
    font-style: normal;
    animation: spin 1.5s ease-in-out infinite;
}

@keyframes spin {
    100% { transform: rotateY(360deg); }
}

.loading-panel {
    width: 288px;
    text-align: center;
}

.small {
    font-size: small;
    color: #888;
}

tr.entry-disabled > td.sle-title,
tr.entry-disabled > td.sle-artist,
tr.entry-disabled > td.sle-category,
tr.entry-disabled > td.sle-search-terms,
tr.entry-disabled > td.sle-link,
tr.entry-disabled > td.sle-last-played {
    color: #888;
    text-decoration: line-through;
}

/* submenu stuff */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

/* submenu stuff end */

.user-avatar {
    position: relative;
}

.user-avatar img.logo {
    height: 42px;
    width: auto;
    margin: 4px;
    border-radius: 50%;
}

.user-avatar img.channel-badge {
    border-radius: 10%;
    position: absolute;
    width: 12px;
    height: auto;
}

.user-avatar img.mod, .user-avatar img.owner {
    right: 38px;
    bottom: 0;
}

.user-avatar img.sub {
    right: 0;
    bottom: 0;
}

.empty-queue {
    text-align: center;
    font-style: italic;
    color: #888;
}

#song-lists {
    margin-top: 1rem;
}

.table.table-middle > tbody > tr > td {
    vertical-align: middle;
}

td.empty {
    color: #888;
    text-align: center;
    font-style: italic;
}

img.user-badge {
    border-radius: 10%;
}

.no-wrap {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.no-decoration {
    color: inherit;
    text-decoration: none;
}

a.no-decoration:hover {
    text-decoration: none;
}

a.no-decoration:active {
    text-decoration: none;
}

#command-content {
    resize: vertical;
    min-height: 64px;
    max-height: 240px;
}

@media screen and (max-width: 1279px) {
    .body-content {
        padding: 0 8px !important;
    }
}

.body-content {
    margin-top: 0;
    padding: 0 10%;
}

#song-list-entries thead th {
    border-top: none;
}

nav.navbar {
    background-repeat: no-repeat;
    background-size: 40px;
}

nav.navbar a.navbar-brand {
    margin-left: 12px;
}

nav.navbar .channel-logo {
    width: 48px;
    border-radius: 50%;
}

.song-list-buttons {
    margin-top: 1rem;
}

#song-queue .handle {
    padding: 8px;
    border-radius: 3px;
    cursor: move;
}

.loading-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 10000000;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.3);
    color: black;
    font-size: xx-large;
    font-weight: bold;
    text-align: center;
    padding-top: 5%;
}

.moderator-comment, .requester-info {
    margin: 0.5em 0 0;
    color: #888;
    font-size: small;
}

.requester-info .requester-state {
    font-weight: bold;
    padding: 2px 4px;
    border-radius: 4px;
    color: initial;
}

#song-search {
    margin-top: 0.5em;
}

#song-lyrics-edit {
    height: 480px;
    font-family: Consolas, Courier New, Courier, monospace;
}

pre.lyrics {
    font-size: medium;
    margin-top: 60px;
}

div.lyrics-header {
    position: fixed;
    top: 0;
    background-color: white;
}

#lists-tooltip {
    position: absolute;
    top: 1px;
    left: 1px;
    width: auto;
    height: auto;
    max-width: 40%;
    margin: 0;
    padding: 0;
    z-index: 100000;
}

#lists-tooltip .alert {
    border-radius: 6px;
    padding: 6px 10px;
    margin: 0;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
    cursor: default;
}

#lists-tooltip .arrow.border-primary {
    position: relative;
    bottom: 0;
    left: 50%;
    width: 10px;
    margin-left: -5px;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    border-top-width: 5px;
    border-top-style: solid;
}

.ui-autocomplete {
    z-index: 2147483647;
}

.modal-dialog {
    box-shadow: 2px 2px 16px rgba(0, 0, 0, 0.5);
}

.twitter-profile {
    border: 1px solid #888;
    padding: 4px;
    max-width: 400px;
    margin: 1em 0;
}

.twitter-profile img {
    border-radius: 50%;
}

.twitter-profile > div {
    display: inline;
}

th.notification-header {
    padding-top: 1rem;
    text-align: center;
}

.table hr {
    margin: 0.5rem 0;
    opacity: 0.15;
}

#song-queue .category-emote {
    display: inline-block;
    width: 28px;
    overflow: hidden;
    margin-right: 8px;
    vertical-align: middle;
}

table#users th {
    cursor: pointer;
}