﻿@media only screen and (min-device-width: 481px) {
    html {
        font-size: 90%
    }
}

body {
    font-family: "trebuchet ms", arial, sans-serif;
    margin: 0;
}

input[type=text],
input[type=password],
textarea,
select,
table {
    font-family: "trebuchet ms", arial, sans-serif;
}

table {
    border-collapse: collapse;
}

td {
    padding: 0;
}

ul {
    list-style-type: none;
    padding: 0px;
    margin: 0px;
}

p {
    margin: 0;
    padding: 0;
}

button {
    background: none;
    border: none;
    outline: none;
}

button:focus {
    outline: none;
}

#main {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
}

#mainTable {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    font-size: inherit;
    border-right: 1px solid #aaa;
}

#header {
    background: #005BAF;
    /* needed here for settings but now also set in javascript and dependent on remote access */
    height: 43px;
    color: white;
}

div.subHeader {
    background: #999;
    color: white;
    overflow-y: hidden;
    width: 100%;
}

div.subHeaderTitle {
    display: inline-block;
    vertical-align: top;
    padding-top: 8px;
    padding-left: 4px;
    white-space: nowrap;
    overflow: hidden;
}

img.subHeaderTitleImg {
    cursor: pointer;
    width: 15px;
    height: 15px;
    align-self: center;
    margin-left: 10px;
    padding: 3px;
}

@media (hover: hover) {
    img.subHeaderTitleImg:hover {
        background-color: #333;
    }
}


div.filterHeader {
    background-color: beige;
    height: 30px;
    overflow-y: hidden;
    width: 100%;
}

div.headerPlayer {
    display: inline-block;
    color: white;
    vertical-align: top;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    padding: 12px 9px 6px 9px;
    height: 25px;
}

div.headerPlayer.small {
    padding: 9px 7px 5px 7px;
    height: 21px;
}

@media (hover: hover) {
    div.headerPlayer:hover {
        background-color: grey;
    }
}

div.headerDownArrow {
    display: inline-block;
    content: "";
    color: white;
    width: 0;
    height: 0;
    border-width: 5px 5px 0 5px;
    border-style: solid;
    border-color: white transparent;
    margin-bottom: 0.2rem;
    margin-left: 0.3rem;
}

div.modalContainer {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    background: transparent;
}

div.modalOverlay {
    background: #000;
    opacity: 0.4;
}

img.menuButton {
    padding: 9px;
    height: 25px;
    cursor: pointer;
    outline: none;
}

img.menuButton.small {
    padding: 7px;
    height: 21px;
}

div.dummyMenuButton {
    padding: 9px;
    height: 25px;
    width: 25px;
    display: inline-block;
}

img.subMenuButton {
    padding: 6px;
    height: 22px;
    cursor: pointer;
    outline: none;
}

@media (hover: hover) {
    img.subMenuButton:hover {
        background-color: #333;
    }
}

img.headerButton {
    padding: 12px;
    height: 19px;
    cursor: pointer;
}

@media (hover: hover) {
    img.headerButton:hover {
        background-color: grey;
    }
}

input[type=text].headerSearch {
    font-family: Verdana, 'Helvetica Neue', Helvetica, Arial, Geneva, sans-serif;
    font-size: 13pt;
    color: #fff;
    background: transparent;
    border: none;
    margin: 0px;
    padding: 0px;
    outline: none;
    border-radius: none;
    box-shadow: none;
}

input[type=text].headerSearchDesktop {
    color: #fff;
    background: transparent;
    border: none;
    margin: 0px;
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px;
    outline: none;
    border-radius: 15px;
    border: 1px dotted white
}

input[type=text].headerSearchDesktop::placeholder {
    color: #DADBB8;
}

#content {
    width: 100%;
    /* background-color: #FAFAFA;*/
}

#collapsedPlayer {
    border-top: solid 1px #aaa;
    box-sizing: border-box;
}

div.contentScroll {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* required for ios */
    width: 100%;
    height: 100%;
}

div.content {
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 1rem;
}

div.content.settings {
    max-width: 20cm;
    margin-left: 0;
    margin-right: 0;
}

div.prompt {
    color: #999;
    font-size: 0.9rem;
}

#player {}

img.searchIcon {
    height: 25px;
    vertical-align: middle;
}

button.btn {
    background: #666;
    color: white;
    font-size: 0.8rem;
    padding: 7px;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    vertical-align: bottom;
}

button.btn:disabled {
    cursor: default;
    opacity: 0.5;
}

button.major {
    background: #359953;
}

button.btn.tertiary {
    background: #666;
}

@media (hover:hover) {
    button.btn.messageDialog:hover {
        border-color: #999;
        color: white;
    }

    button.btn.major:hover {}

    button.btn.messageDialogCancel:hover {
        border-color: #999;
        color: white;
    }
}

button.imgBtn {
    background: #666;
    color: white;
    font-size: 0.8rem;
    padding: 0.5rem;
    border-radius: 3px;
    border: none;
    cursor: pointer;
    vertical-align: bottom;
}

button.imgBtn>img {
    height: 1rem;
    margin-right: 0.5rem;
    vertical-align: middle;
}

button.btn.messageDialog {
    background: #359953;
    color: #fff;
    border: 1px dotted transparent;
}

button.imgBtn.messageDialog {
    background: #359953;
}

button.btn.messageDialogCancel {
    background: transparent;
    color: #ddd;
    border: 1px dotted transparent;
}

button.btn.back:before {
    font-size: 1rem;
    margin-right: 0.2rem;
    content: "<";
}

button.image {
    height: 2rem;
}

img.imgButton {
    height: 1.04rem;
}

div.loading {
    margin-top: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}


/* collapsible stuff */
div.collapsible {
    font-weight: bold;
    font-size: 1.1rem;
    color: #000;
    background-color: #ddd;
    cursor: pointer;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
    margin-top: 1rem;
    user-select: none;
}

div.collapsibleImg {
    display: inline-block;
    width: 15px;
    height: 15px;
    vertical-align: middle;
    margin-right: 0.3rem;
    margin-left: 0.5rem;
    background-repeat: no-repeat;
}

div.collapsibleImg.collapsed {
    background-image: url('/Images/ExpandHeading (15x15).png');
}

div.collapsibleImg.expanded {
    background-image: url('/Images/CollapseHeading (15x15).png');
}

div.collapsibleData div.collapsible {
    font-size: 1rem;
    background: #DADBB8;
    cursor: pointer;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    padding-left: 1rem;
    margin-top: 0.4rem;
    user-select: none;
}

div.collapsibleDiv>div {
    display: inline-block;
    color: black;
    width: 0;
    height: 0;
    border-style: solid;
    margin-right: 5px;
}

div.collapsibleDiv>div.collapsed {
    border-color: transparent transparent transparent black;
    border-width: 5px 5px 5px 5px;
}

div.collapsibleDiv>div.expanded {
    border-color: black transparent transparent transparent;
    border-width: 5px 5px 5px 5px;
}

/* collapsible dialog stuff */
div.collapsibleDialog {
    font-weight: bold;
    font-size: 1rem;
    color: white;
    background-color: transparent;
    cursor: pointer;
    margin-top: 5px;
    padding-bottom: 3px;
    padding-top: 3px;
    user-select: none;
    margin-right: 10px;
    border-radius: 3px;
}

div.collapsibleDialog.expanded {
    background-color: #005BAF;
}

@media (hover: hover) {
    div.collapsibleDialog:hover {
        background-color: #005BAF;
    }
}

div.collapsibleDialogImg {
    display: inline-block;
    width: 15px;
    height: 15px;
    vertical-align: middle;
    margin-right: 0.3rem;
    margin-left: 0.5rem;
    background-repeat: no-repeat;
}

div.collapsibleDialogImg.collapsed {
    background-image: url('/Images/ExpandHeading (white)(15x15).png');
}

div.collapsibleDialogImg.expanded {
    background-image: url('/Images/CollapseHeading (white)(15x15).png');
}

div.collapsibleDialogData div.collapsibleDialog {
    font-size: 1rem;
    background: #666;
    cursor: pointer;
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
    padding-left: 1rem;
    margin-top: 0.4rem;
    user-select: none;
}

div.collapsibleDialogDiv>div {
    display: inline-block;
    color: black;
    width: 0;
    height: 0;
    border-style: solid;
    margin-right: 5px;
}

div.collapsibleDialogDiv>div.collapsed {
    border-color: transparent transparent transparent white;
    border-width: 5px 5px 5px 5px;
}

div.collapsibleDialogDiv>div.expanded {
    border-color: white transparent transparent transparent;
    border-width: 5px 5px 5px 5px;
}

/* end */

div.attributeLetterHeading {
    background: #DADBB8;
    font-size: 1rem;
    font-weight: bold;
    padding-left: 1.7rem;
    margin-top: 0.4rem;
    border-radius: 3px;
}

div.attributeValue {
    font-size: 1rem;
    line-height: 150%;
    padding-left: 1.7rem;
    padding-top: 5px;
    cursor: pointer;
}

@media (hover: hover) {
    div.attributeValue>span:hover {
        padding-bottom: 3px;
        border-bottom: 2px solid white;
    }
}

div.attributeLetterHeadingDialog {
    background: #005BAF;
    font-size: 1rem;
    font-weight: bold;
    padding-left: 1.7rem;
    margin-top: 0.4rem;
    padding-top: 3px;
    padding-bottom: 3px;
    border-radius: 3px;
}

/* playlistList */
div.playlistListEntry {
    cursor: pointer;
    padding: 4px;
    border-bottom: 1px solid #bbb;
}

div.playlistListImg {
    width: 54px;
    height: 54px;
    position: relative;
}

div.playlistListImg>div {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
}

div.playlistListImg>img {
    width: 100%;
}

@media (hover:hover) {
    div.playlistListImg:hover::after {
        content: "";
        background-image: url('/Images/SelectedRow.png');
        background-size: cover;
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0px;
        top: 0px;
        opacity: 0.8;
    }
}

div.playlistListImg>div>img {
    width: 54px;
}

@media (hover:hover) {
    div.playlistListName:hover {
        background-color: #ddd;
    }
}

div.playlistListName {
    font-size: 0.9rem;
    padding-left: 3px;
}

div.playlistListName.selected {
    opacity: 0.4;
}

div.playlistListButtons {
    padding-left: 2rem;
    padding-right: 0.5rem;
}

div.playlistListButtons.selected {
    opacity: 0.4;
}

span.playlistListOwner {
    font-size: 0.7rem;
    color: #666;
}

div.playlistTags {
    padding-left: 0.5rem;
}

div.attributeLabel {
    font-size: 0.6rem;
    margin-top: 0.3rem;
    border-radius: 5px;
    color: white;
    display: inline-block;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-right: 3px;
    font-weight: bold;
}

div.attributeLabel.tag {
    background-color: #D35400;
}

div.attributeLabel.genre {
    background-color: #005BAF;
}

div.attributeLabel.year {
    background-color: #9a2617;
}

div.attributeLabel.composer {
    background-color: #008080;
}

div.podcastLastUpdate {
    font-size: 0.7rem;
    color: #00a;
    display: inline-block;
}

/* playlist */
div.playlistArtist {
    font-size: 0.8rem;
}

div.playlistName {
    font-weight: bold;
    font-size: 1rem;
}

div.playlistDescription {
    font-size: 0.8rem;
    font-style: italic;
}

div.playlistOwner {
    font-size: 0.7rem;
    font-weight: bold;
    color: #666;
}

div.playlistInfo {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    vertical-align: bottom;
}

div.playlistTrackArtist {
    font-size: 0.9rem;
    font-style: italic;
    color: #999;
}

div.playlistTrackTimeStamp {
    color: #009;
    font-size: 0.8rem;
    font-weight: bold;
}

div.playlistTrackComment {
    font-size: 0.7rem;
    /*font-style: italic;*/
    margin-top: 0.5rem;
    color: #999;
}

div.playlistTrackExpiry {
    font-size: 0.7rem;
    font-style: italic;
    margin-top: 0.5rem;
    color: #900;
}

span.playlistTrackName {
    font-size: 1rem;
}

div.playlistTrackWrapper {
    font-size: 1.2em;
    font-weight: bold;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    border-bottom: 1px solid #999;
    box-sizing: border-box;
}

div.playlistTrack {
    font-size: 0.9rem;
    border-left-width: 0.3rem;
    border-left-style: solid;
    border-left-color: white;
    padding-left: 0.3rem;
}

div.playlistIsPlaying {
    /*opacity: 0.5;*/
}

div.playlistTrackUnavailable {
    text-decoration: line-through;
    /* Can't get this to work with drop down menus - the drop down menus
    opacity: 0.5;
    */
}

div.playlistTrackIsPlaying {
    border-left-color: #999;
    opacity: 1;
}

div.playlistDownloadProgressHeader {
    font-size: 0.9rem;
    color: #666;
}

div.playlistDownloadProgressHeader.error {
    color: red;
}

div .playlistDownloadProgressBar {
    background-color: coral;
    width: 0%;
    margin-top: 4px;
    height: 5px;
}

div.playlistTrack table {
    width: 100%;
}

div.playlistTrack:hover div.playlistMarker {
    background: #ccc;
}

div.nowPlayingTrack {
    font-size: 0.9rem;
    border-left-width: 0.3rem;
    border-left-style: solid;
    border-left-color: white;
    padding-left: 0.3rem;
    opacity: 0.5;
}

div.nowPlayingTrackIsPlaying {
    border-left-color: #999;
    opacity: 1;
}

div.playlistMarker {
    width: 0.4rem;
    height: 2rem;
    margin-right: 0.3rem;
}

div.playlistMarkerCurrent {
    background: #999;
}

span.playlistTrackNameCurrent {
    font-weight: bold;
}

span.playlistDuration {
    font-size: 0.7rem;
    color: #999;
}

img.playlistButton {
    height: 36px;
    cursor: pointer;
    margin-left: 3px;
    margin-right: 3px;
}

@media (hover: hover) {
    img.playlistButton:hover {
        background-color: #ddd;
    }
}

/* player */
div.player {
    /*padding: 0.5rem;*/
}

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

div.playerArtist {
    font-size: 0.8rem;
    font-style: italic;
    color: #666;
    line-height: 100%;
}

div.playerTitle {
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 90%;
}

div.playerProgress {
    color: #666;
    font-size: 0.8rem;
}

img.playerButton {
    height: 30px;
    cursor: pointer;
}

img.playerTrackImg {
    width: 100%;
    cursor: pointer;
}

div.nowPlayingProgressBar {
    height: 5px;
    margin-top: 0px;
    margin-bottom: 3px;
    background: coral;
}

div.nowPlayingProgressBar.desktop {
    margin-bottom: 0px;
}

img.nowPlayingButton {
    width: 30px;
    vertical-align: middle;
    cursor: pointer;
}

img.nowPlayingButton.large {
    width: 40px;
}

img.nowPlayingButton.small {
    width: 20px;
}

@media (hover: hover) {
    img.nowPlayingButton:hover {
        background-color: #ddd;
    }
}

@media (hover: hover) {
    td.nowPlayingTrackCommand:hover>img.nowPlayingButton {
        background-color: #ddd;
    }
}

div.trackInfo {
    font-size: 0.8rem;
    font-style: italic;
    color: #00a;
}

/* volume */
div .volumeControl {
    width: 80%;
    max-width: 20rem;
    background: #333;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
    padding: 1rem;
    border-radius: 5px;
    box-shadow: -2px 2px 8px #000;
}

/* modal dialog */
div.modalDialog {
    display: table;
    max-width: 10cm;
    background: #333;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
    padding: 1rem;
    border-radius: 5px;
    color: white;
    box-shadow: -2px 2px 8px #000;
}

div.modalDialog input[type="text"] {
    color: white;
    background: transparent;
    padding: 0.3rem;
    border: 1px #aaa solid;
    border-radius: 5px;
}

div.dialogTitle {
    margin-bottom: 1rem;
    font-weight: bold;
    border-bottom: 1px dotted white;
    padding-bottom: 0.5rem;
}

/* players */
div.players>div.titleBlock {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0.5rem;
}

div.players>div.titleBlock> :nth-child(1) {
    font-weight: bold;
    text-transform: uppercase;
}

div.players>div.titleBlock> :nth-child(2) {
    font-size: 0.8em;
    max-width: 5rem;
    text-align: right;
}

div.players>div.playersList {}

div.players>div.playersList>div.playerEntry {
    padding: 0;
}

div.playerEntry.disabled {
    opacity: 0.4;
}

div.players div.playerText {
    padding: 0.25rem;
    display: inline-block;
    border: 1px solid #333;
    min-width: 15rem;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
}

div.players div.playerText> :nth-child(1) {
    cursor: pointer;
}

div.players div.playerText> :nth-child(2) {
    padding-left: 1rem;
    cursor: pointer;
}

div.playerText input {
    cursor: pointer;
}

hr.players {
    border-width: 1px;
    border-color: #999;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

/* servers */
div.servers>div.serversTitle {
    padding: 0.5rem;
    font-weight: bold;
}

div.servers div.serverEntry {
    min-width: 12rem;
}

div.servers div.serverEntry,
div.servers div.serverEntry input {
    cursor: pointer;
}

div.servers div.serverEntry.disabled {
    opacity: 0.4;
}

/* filter options */
div.filterOptions>div.title {
    font-weight: bold;
    padding: 0.5rem;
}

div.filterOptions>div.item {
    padding: 0.5rem;
    margin-left: 2rem;
    cursor: pointer;
}

/* menus */
ul.menu {
    margin-top: 4px;
    background: white;
    display: table;
    font-size: 0.9rem;
    box-shadow: -2px 2px 8px #000;
    color: #000;
    text-align: left;
}

ul.menu.right {
    float: right;
}

ul.menu>li {
    padding: 0.8rem 0.5rem 0.8rem 0rem;
    /*border-bottom: 1px solid #999;*/
    vertical-align: middle;
    cursor: pointer;
    white-space: nowrap;
}

ul.menu>li.splitter {
    border-bottom: 1px solid #999;
}

ul.menu>li:last-child {
    border-bottom: none;
}

ul.menu>li>div:first-child {
    vertical-align: middle;
    text-align: center;
    width: 35px;
    display: inline-block;
}

ul.menu>li>div:first-child>img {
    height: 18px;
}

ul.menu>li:hover {
    background: #eee;
}

/* message */
div.message {
    display: table;
    max-width: 20rem;
    background: #333;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
    padding: 1rem;
    border-radius: 5px;
    color: white;
    box-shadow: -2px 2px 8px #000;
    white-space: pre-line;
}

/* message dialog */
div.messageDialog {
    display: table;
    max-width: 20rem;
    background: #333;
    margin-left: auto;
    margin-right: auto;
    margin-top: 4rem;
    padding: 1rem;
    border-radius: 5px;
    color: white;
    box-shadow: -2px 2px 8px #000;
}

div.messageDialog input {
    color: white;
    background: transparent;
    padding: 0.3rem;
    border: 1px #aaa solid;
    border-radius: 5px;
}

div.messageDialog input:focus {
    outline: none;
    background: transparent;
    padding: 0.3rem;
    border: 1px white solid;
    border-radius: 5px;
}

div.messageDialog div.errorMsg {
    color: red;
}

/* drop down menu */
.dropdownWrapper {
    /* Size and position */
    position: relative;
    /* Enable absolute positioning for children and pseudo elements */
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    display: inline-block;
}

.dropdownWrapper .dropdown {
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .3);
    text-shadow: none;
    font-weight: normal;
    font-size: 11px;
    text-align: center;
    /* Styles */
    background-color: white;
    list-style: none;
    padding: 3px 3px 0px 3px;
    /* Hiding */
    display: none;
    /*pointer-events: none;*/
    z-index: 10;
    overflow: visible;
}

.dropdownWrapper.active .dropdown {
    display: block;
}

.dropdownWrapper ul.right {
    right: 0px;
}

.dropdownWrapper ul.left {
    left: 0px;
}

.dropdownWrapper ul.dropdown {
    right: 0px;
    position: absolute;
    list-style: none;
    top: 110%;
    margin-left: 0px;
    margin-top: 0.3rem;
    margin-bottom: 0px;
    margin-right: 0px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 25rem;
}

.dropdownWrapper .dropdown li {
    list-style: none;
    white-space: nowrap;
}

/* nowplaying touch icon */
div.touchCorner {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 50px;
    opacity: 0.1;
    cursor: pointer;
}

/* playistEditor */
div.playlistEditorTitle {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

textarea.playlistEditorTitleEdit {
    margin-top: 0.5rem;
    font-size: 1.1rem;
    font-weight: bold;
    width: 100%;
    max-width: 100%;
    height: 4rem;
}

div.playlistEditorYear,
form.playlistEditorYear {
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

div.playlistEditorError {
    color: darkRed;
    font-weight: bold;
    font-size: 0.9rem;
}

div.playlistEditAttributeTitle {
    font-size: 1.1rem;
    font-weight: bold;
    color: #131A8E;
}

div.playlistEditAttributeValue {
    color: #666;
    font-size: 1.1rem;
    line-height: 150%;
    margin-left: 1rem;
}

input.playlistEditAttributeInput {
    font-size: 1.1rem;
    width: 10rem;
    vertical-align: middle;
}

/* playlist download */
div.playlistDownloadItem {
    font-size: 0.9rem;
    font-weight: bold;
    padding: 0.5rem
}

/* channel search */
div.channelSearchResultsHeader {
    display: inline-block;
    margin: 4px 12px 4px 4px;
    cursor: pointer;
    padding-bottom: 4px;
    opacity: 0.4;
}

div.channelSearchResultsHeader>img {
    height: 15px;
    margin-right: 4px;
    vertical-align: middle;
}

div.channelSearchResultsHeader>span {
    vertical-align: middle;
}

div.channelSearchResultsHeader.current {
    border-bottom: 3px solid coral;
    opacity: 1;
}

div.channelSearchResultsHeader:hover {
    opacity: 1;
}

div.channelSearchResult {
    font-size: 0.8rem;
    border-bottom: 1px solid #aaa;
    color: #333;
    cursor: pointer;
}

div.channelSearchResult>table {
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
    font-size: 0.9rem;
    border-left: 3px solid white;
}

@media (hover:hover) {

    div.channelSearchResult.albums>table:hover,
    div.channelSearchResult.playlists>table:hover {
        background-color: #ddd;
    }

    div.channelSearchResult.programmes td:nth-child(2):hover,
    div.channelSearchResult.podcasts td:nth-child(2):hover,
    div.channelSearchResult.radioStations td:nth-child(2):hover {
        background-color: #ddd;
    }
}

div.albumArtistName {
    font-size: 0.7rem;
    font-style: italic
}

div.albumAlbumName {
    font-size: 0.8rem;
    font-weight: bold
}

div.albumAlbumType {
    font-size: 0.6rem;
    margin-top: 0.3rem;
    border-radius: 5px;
    background: #090;
    color: white;
    display: inline-block;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    padding-bottom: 3px;
}

div.albumReleaseYear {
    font-size: 0.6rem;
    margin-top: 0.3rem;
    border-radius: 5px;
    background: chocolate;
    color: white;
    font-weight: bold;
    display: inline-block;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    padding-bottom: 3px;
}

div.channelName {
    font-size: 0.6rem;
    margin-top: 0.3rem;
    border-radius: 5px;
    background: #999;
    color: white;
    display: inline-block;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    padding-bottom: 3px;
}

div.genreName {
    font-size: 0.6rem;
    margin-top: 0.3rem;
    border-radius: 5px;
    background: #005BAF;
    color: white;
    display: inline-block;
    padding-left: 6px;
    padding-right: 6px;
    padding-top: 3px;
    padding-bottom: 3px;
}

div.artistSearchResult {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    margin-left: 1.2rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    border-left: 3px solid white;
}

div.artistSearchResult:hover {
    border-left: 3px solid #999;
}

div.artistBiography {
    margin-left: 1.7rem;
    margin-top: 0.5rem;
    font-size: 1.1rem;
    line-height: 150%;
}

div.artistName {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* */
img.miniImgButton {
    height: 30px;
    cursor: pointer;
    padding: 0px;
    /*border-radius: 16px;*/
    /*border: 1px solid #999;*/
}

@media (hover:hover) {
    img.miniImgButton:hover {
        background-color: #ddd;
    }
}

img.miniButton {
    height: 25px;
    cursor: pointer;
}

@media (hover:hover) {
    img.miniButton:hover {
        background-color: #ddd;
    }
}

/* */
div.pageTitle {
    color: #131A8E;
    font-weight: bold;
    font-size: 1.1rem;
    border-bottom: 1px dotted #999;
    padding-top: 2rem;
}

img.reCycleBinImg {
    width: 0.8rem;
}

table.reCycleBin {
    margin-top: 1rem;
    font-size: 0.9rem;
    width: 100%;
}

table.reCycleBin td:nth-child(1) {
    padding-bottom: 1em;
    padding-top: 1em;
}

table.reCycleBin td:nth-child(2),
table.reCycleBin td:nth-child(3) {
    text-align: right;
}

table.reCycleBin tr {
    border-bottom: 1px solid #999;
}

/* */
.disabled {
    opacity: 0.5;
}

.enabled {
    cursor: pointer;
}

.hidden {
    visibility: hidden;
}

.noselect {
    -webkit-touch-callout: none;
    /* iOS Safari */
    -webkit-user-select: none;
    /* Safari */
    -khtml-user-select: none;
    /* Konqueror HTML */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version, currently
                                supported by Chrome and Opera */
}


/* */
table.instances {
    width: 100%;
}

table.instances tr th {
    text-align: left;
    font-size: 0.7rem;
}

table.instances tr td {
    text-align: left;
    padding-top: 1rem;
    padding-right: 0rem;
    font-size: 0.8rem;
}

/* */
div.loading {
    text-align: center;
    margin-top: 3rem;
}

/* */
div.radioStationEntry {
    padding: 0.5rem;
    font-size: 0.8rem;
    border-top: 1px solid #999;
}

/* */
.disabled {
    opacity: 0.5;
}

/* */
div.settingsHeading {
    color: #131A8E;
    font-weight: bold;
    border-bottom: 1px dotted #999;
    padding-top: 2rem;
}

table.settingsTable {
    font-size: 0.9rem;
    margin-top: 1rem;
    margin-left: 2rem;
    margin-right: 1rem;
    border-collapse: separate;
    border-spacing: 0rem 1rem;
    width: 90%;
}

div.settingsPara {
    margin-top: 1rem;
    margin-left: 2rem;
    margin-right: 2rem;
    font-size: 1.1rem;
}

/* */
div.roundButton {
    display: inline-block;
    /*background: #fff;*/
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 16px;
    color: #999;
    border: 2px solid #999;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 4px;
    cursor: pointer;
}

/* */
div.loadMore {
    text-align: center;
    margin-top: 0.5em;
    margin-bottom: 1em;
}

/* */
div.settingsErrorMessage {
    background-color: firebrick;
    color: white;
    padding: 1rem 0rem 1rem 1rem;
}

/* input range
input[type=range]{
    -webkit-appearance: none;
}

input[type=range]::-webkit-slider-runnable-track {
    -webkit-appearance: none;
    background: #72A7A7;
    border: none;
    height: 5px;
}

input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: none;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    background: #eee;
    margin-top: -5px;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]:focus::-webkit-slider-runnable-track {
    background: #ccc;
}
*/

/* centered image */
div.centeredImage {
    background-position: center;
    /* Make the background image cover the area of the <div>, and clip the excess */
    background-size: cover;
}

/* side menu */
div.sideMenu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #333;
    color: white;
    padding: 5px;
}

div#sideMenuBody {
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100% - 34px);
}

img.sideMenuImg {
    width: 18px;
}

table.sideMenu {
    color: white;
    font-size: 0.9rem;
    width: 100%;
}

table.sideMenu>tbody>tr.entry td {
    padding: 10px;
    cursor: pointer;
}

table.sideMenu>tbody>tr.header td {
    padding: 10px;
}

table.sideMenu>tbody>tr>td:nth-child(1) {
    width: 38px;
}

table.sideMenu div.sideMenuHeader {
    padding-top: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: coral;
}

table.sideMenu>tbody>tr.entry:hover {
    background-color: #555;
}

/* desktop menu */
div.desktopMenu {
    overflow-x: hidden;
    background-color: transparent;
    color: white;
    padding: 5px;
}

div#desktopMenuHeader {
    height: 33px;
    color: white;
    padding: 5px;
}

img.desktopMenuImg {
    width: 18px;
}

table.desktopMenu {
    color: white;
    font-size: 0.9rem;
    border-collapse: separate;
    border-spacing: 0px 0px;
}

table.desktopMenu>tbody>tr.entry td {
    cursor: pointer;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 10px;
}

table.desktopMenu>tbody>tr.entry>td.current {
    border-left: 2px solid coral;
}

table.desktopMenu>tbody>tr.header td {
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

table.desktopMenu>tbody>tr>td:nth-child(1) {
    border-left: 2px solid transparent;
    border-right: 2px solid transparent;
}

table.desktopMenu div.desktopMenuHeader {
    white-space: nowrap;
    padding-top: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: coral;
    font-weight: bold;
}

@media (hover: hover) {
    table.desktopMenu>tbody>tr.entry:hover {
        background-color: #555;
    }
}

table.desktopMenu div.desktopMenuEntry {
    white-space: nowrap;
}

/* now playing */
div.nowPlayingArtist {
    font-size: 1rem;
    font-style: italic;
    color: #666;
}

div.nowPlayingTitle {
    margin-top: 5px;
    font-size: 2rem;
    font-weight: bold;
}

/* home button */
div.homeButton {
    display: inline-block;
    margin: 1rem;
    vertical-align: top;
    cursor: pointer;
    border-radius: 5px;
    padding: 5px;
    border: 1px solid transparent;
}

div.homeButton:hover {
    border: 1px dotted #999;
}

/* filter by attribute */
div.filterByAttributeHeader {
    display: inline-block;
    margin: 4px 12px 4px 4px;
    cursor: pointer;
    padding-bottom: 4px;
    opacity: 0.4;
}

div.filterByAttributeHeader>img {
    height: 15px;
    margin-right: 4px;
    vertical-align: middle;
}

div.filterByAttributeHeader>span {
    vertical-align: middle;
}

div.filterByAttributeHeader.current {
    border-bottom: 3px solid coral;
    opacity: 1;
}

div.filterByAttributeHeader:hover {
    opacity: 1;
}

/* desktop menu footer */
table.desktopMenuFooter {
    color: inherit;
    width: 100%;
    margin-top: 34px;
}

table.desktopMenuFooter>tbody>tr>td>img {
    width: 25px;
    margin-bottom: 10px;
    margin-left: 5px;
    margin-right: 5px;
    cursor: pointer;
}

table.desktopMenuFooter>tbody>tr>td>img:hover {
    background-color: #333;
}

/* mini delete button */
div.miniDeleteButton {
    display: inline-block;
    background-image: url('/Images/miniDeleteButton (grey)(60x60).png');
    background-size: cover;
    width: 12px;
    height: 12px;
    vertical-align: middle;
    padding: 2px;
    border-radius: 50%;
    border: 1px solid grey;
    cursor: pointer;
}

@media (hover: hover) {
    div.miniDeleteButton:hover {
        background-image: url('/Images/miniDeleteButton (white)(60x60).png');
        background-color: #333;
        color: white;
    }
}

/* mini OK button */
div.miniOKButton {
    display: inline-block;
    background-image: url('/Images/miniOKButton (grey)(60x60).png');
    background-size: cover;
    width: 12px;
    height: 12px;
    vertical-align: middle;
    padding: 2px;
    border-radius: 50%;
    border: 1px solid grey;
    cursor: pointer;
}

@media (hover: hover) {
    div.miniOKButton:hover {
        background-image: url('/Images/miniOKButton (white)(60x60).png');
        background-color: #333;
        color: white;
    }
}

img.playlistMiniImg {
    height: 1.2em;
    vertical-align: bottom;
    margin-left: 2px;
}

/* my library */
img.myLibraryFilterResultsImg {
    height: 1rem;
    vertical-align: bottom;
    margin-left: 2px;
}

img.myLibraryPlaylistEntryImg {
    height: 25px;
    vertical-align: middle;
    padding: 3px;
}

@media (hover:hover) {
    img.myLibraryPlaylistEntryImg:hover {
        background-color: #ddd;
    }
}

div.myLibrarySearchResultsTitle {
    text-align: center;
    font-size: 1.1rem;
    color: #131A8E;
}

div.myLibraryPlaylistListIcon {
    width: 150px;
    margin-left: 30px;
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
    cursor: pointer;
}

div.myLibraryPlaylistListIconOverlay {
    position: absolute;
    width: 100%;
    height: 0;
    left: 0px;
    top: 0px;
    box-sizing: border-box;
    padding: 5px;
}

div.myLibraryPlaylistListHoverOverlay {
    position: absolute;
    width: 100%;
    left: 0px;
    top: 50px;
    text-align: center;
}

img.myLibraryPlaylistListHoverButton {
    width: 50px;
    cursor: pointer;
    opacity: 0.4;
    transition: all linear 0.1s;
}

@media (hover: hover) {
    img.myLibraryPlaylistListHoverButton:hover {
        width: 55px;
        cursor: pointer;
        opacity: 1;
    }
}

img.myLibraryPlaylistListIconImg {
    width: 20px;
    cursor: pointer;
}

div.myLibraryViewButtons {
    position: absolute;
    bottom: 105px;
    right: 0px;
    margin-right: 40px;
    background: rgba(255, 255, 255, 0.5);
    display: grid;
    grid-auto-flow: column;
}

div.myLibraryViewButtons>img {
    width: 25px;
    padding: 5px;
    cursor: pointer;
}

@media (hover: hover) {
    div.myLibraryViewButtons>img:hover {
        background-color: #ddd;
    }
}

/* mini player */
@media (hover: hover) {
    img.menuButton:hover {
        background-color: grey;
    }

    img.menuButton.small.close:hover {
        background-color: #E81123;
    }
}

div.miniPlayerTrackBox {
    text-align: center;
    padding-top: 10px;
}

div.miniPlayerTrackArtist {
    font-size: 0.8rem;
    font-style: italic;
}

div.miniPlayerTrackTitle {
    font-size: 1rem;
    font-weight: bold;
}

/* main message on home screen */
div.mainMessage {
    background-color: firebrick;
    color: white;
    padding: 1rem 0rem 1rem 1rem;
}

div.mainMessage a {
    color: yellow;
}

form.mainSearch {
    display: inline-grid;
    width: 80%;
    max-width: 12cm;
    border: 1px solid #999;
    border-radius: 40px;
    padding: 10px 15px 10px 15px;
    grid-auto-flow: column;
    align-items: center;
    grid-template-columns: 30px auto;
    cursor: pointer;
}

form.mainSearch:hover {
    box-shadow: 0px 0px 5px 0px #ccc;
}

form.mainSearch input[type=text] {
    border: none;
    font-size: 1.3em;
}

form.mainSearch input[type=text]:focus {
    outline: none;
}

/* */
img.aboutInstanceIcon {
    width: 20px;
}

img.aboutInstanceIcon.noUserAccess {
    opacity: 0.5;
}

/* login */
div.notAuthenticated {
    font-size: 14pt;
    text-align: center;
    padding-top: 4rem;
}

span.mainLink {
    cursor: pointer;
    text-decoration: underline;
    color: purple;
}

div.inputPrompt {
    margin-top: 1rem;
}

span.dialogLink {
    font-size: 10pt;
    cursor: pointer;
    text-decoration: underline;
    color: coral;
}

/* signal R */
div.signalRStatus {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 0px;
    height: 0px;
    box-sizing: content-box;
    z-index: 100;
    border: 5px solid transparent
}

div.signalRStatus.disconnected {
    border-bottom-color: darkred;
    border-right-color: darkred;
}

div.signalRStatus.connected {
    border-bottom-color: green;
    border-right-color: green;
}

/* radioItem */
label.radioItem {
    cursor: pointer;
}

/* account */
table.account td:nth-child(1) {
    padding-right: 1rem;
}

table.account td {
    padding-top: 1rem;
}

table.account td:nth-child(2) {
    font-weight: bold;
}

span.capitiliseFirstLetter::first-letter {
    text-transform: uppercase;
}