/**
 * Audio Player
 *
 * This file is licensed under the Affero General Public License version 3 or
 * later. See the LICENSE.md file.
 *
 * @author Marcel Scherello <audioplayer@scherello.de>
 * @author Sebastian Doell <sebastian@libasys.de>
 * @author Artem Anufrij <artem.anufrij@live.de>
 * @copyright 2016-2021 Marcel Scherello
 * @copyright 2015 Sebastian Doell
 */

.ap_hidden {
    display: none !important;

}

#view-toggle {
    background-color: transparent;
    border: none;
    margin: 0;
    opacity: 0.5;
    z-index: 100;
    padding: 15px 40px;
    background-position: 15px 19px;
    cursor: pointer;
}

#AlbumPlay {
    position: absolute;
    display: block;
    height: 30px;
    width: 30px;
    top: 115px;
    left: 5px;
    background-image: url(../img/albumplay.svg);
    filter: var(--background-invert-if-dark);
    background-size: 30px;
    opacity: 0.5;
    cursor: pointer;
}

#searchresults {
    margin-top: 0 !important;
}

.popovermenu {
    margin-top: 30px !important;
}

#audio-settings li > a {
    line-height: 30px;
    min-height: 30px;
}

#audio-settings li.audio-settings-item {
    background-size: 15px 15px;
    background-position: 0 center;
    opacity: .57;
}

#loading {
    position: absolute;
    z-index: 1000;
    margin-top: 15%;
    left: 0;
    display: none;
    width: 100%;
    text-align: center;
    color: #000;
    font-size: 100px;
}

.app-audios #searchresults {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: -1px 1px 8px rgba(0, 0, 0, 0.5);
    position: fixed;
    overflow: auto;
    height: 100%;
    text-overflow: ellipsis;
    width: 300px;
    right: 0;
    padding-top: 20px;
    box-sizing: border-box;
    z-index: 130;
    /* account for margin-bottom in files list */
    margin-top: 0;

}

i#scanAudiosFirst {
    font-size: 20px;
    cursor: pointer;
}

.innerNav h3 {
    color: #999;
}

#albenoverview {
    height: 60px !important;
    min-height: 60px;
}

#albenoverview li {
    min-height: 44px;
    line-height: 44px;
    padding-left: 40px;
    background-size: 18px 18px;
    background-image: url(../img/albums.svg);
    filter: var(--background-invert-if-dark);
    background-repeat: no-repeat;
    background-position: 11px;
    margin: 6px 0;
    opacity: 0.57;
}

#albenoverview li span {
    cursor: pointer;
}

#albenoverview li i {
    font-size: 16px;
    float: right;
    padding: 0 6px;
    cursor: pointer;
    opacity: 0.57;
}

#albenoverview li i:hover {
    opacity: 1;
}

#category_area {
    display: flex;
    margin: 0 6px 6px 6px;
    min-height: 40px;
}

#category_selector {
    width: 100%;
    margin: 0;
}

#app-navigation-toggle_alternative {
    position: fixed;
    opacity: 1;
    height: 40px;
    width: 45px;
}

#app-navigation {
    overflow-y: auto;
}

#app-navigation .plclone {
    display: none;
    float: left;
}

#app-navigation .mp3_hide {
    display: none;
    float: left;
}

#app-navigation .app-navigation-entry-edit:hover {
    background: transparent;
}

#app-navigation #playlist_controls {
    display: flex;
    margin: 0 6px;
}

#app-navigation #playlist_controls #playlist {
    width: 100%;
}

#app-navigation #newPlaylist_controls {
    display: flex;
    margin: 0 6px;
}

#app-navigation .app-navigation-entry-edit {
    z-index: 1;
    opacity: 1;
    position: relative;
}

#app-navigation button#addPlaylist {
    width: 36px;
    height: 32px;
    margin: 0 0 0 4px;
}

#myCategory {
    height: initial !important;
}

#myCategory li {
    line-height: 28px;
    display: block;
    float: left;
    padding: 0 6px 0 12px;
    opacity: 0.57;
    cursor: pointer;
}

#myCategory .ui-droppable {
    padding: 0 6px 0 12px;
}

#myCategory li span.info-cover,
#alben span.info-cover {
    position: relative;
    width: 20px;
    display: block;
    float: left;
    background-color: #000;
    color: var(--color-main-text);
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    margin-right: 5px;
}

#myCategory li span.pl-name {
    float: left;
    position: relative;
    width: 185px;
    min-height: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: inherit;
}

#myCategory li span.pl-name-play {
    float: left;
    position: relative;
    width: 135px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: inherit;
}

#albenoverview li:hover,
#myCategory li:hover {
    opacity: 1;
}

#myCategory li span.counter {
    float: right;
    right: 10px;
    position: absolute;
    width: 24px;
    text-align: center;
    cursor: inherit;
}

.ui-state-highlight {
    height: 1.5em;
    line-height: 1.2em;
    background: #FFFABC;
}

#myCategory li i.icon-rename {
    display: none;
    float: left;
    position: relative;
    width: 24px;
    min-height: 25px;
    height: 25px;
    padding: 0;
    line-height: 30px;
    opacity: 0.3;
    right: -5px;
    margin-top: 2px;
}

#myCategory li.active i.icon-rename:hover {
    opacity: 1;
    background-color: transparent;
}

#myCategory li i.ioc-sort {
    display: none;
    float: right;
    position: absolute;
    right: 57px;
    font-size: 18px;
    color: #cccccc;
}

#myCategory li.active i.ioc-sort,
#myCategory li.active i.ioc-delete,
#myCategory li.active i.icon-rename {
    display: block;
}

#myCategory li.active i.ioc-sort:hover,
#myCategory li.active i.ioc-sort.sortActive {
    color: #008000;
}

#myCategory li i.ioc-delete {
    display: none;
    float: right;
    position: absolute;
    right: 38px;
    font-size: 16px;
    color: #cccccc;
}

#myCategory li.active i.ioc-delete:hover {
    color: #A9302A;
}

#empty-container {
    margin: 0;
    width: 100%;
    position: relative;
    padding: 0;
    top: 70px;
    float: left;
    display: none;
    height: auto;
}

#playlist-container {
    margin: 0;
    width: 98%;
    position: relative;
    float: left;
    display: inline;
    height: auto;
    padding-top: 50px;
    padding-left: 10px;
    padding-bottom: 30px;
    background-color: var(--color-main-background);
}

#individual-playlist {
    margin-left: auto;
    margin-right: auto;
}

#individual-playlist > li, #individual-playlist-header span {
    height: 24px;
    line-height: 24px;
}

#individual-playlist li .ioc-delete {
    display: none;
}

#individual-playlist li:hover .edit-song,
#individual-playlist li:hover .icon,
#individual-playlist li:focus .icon {
    opacity: 0.3;
}

#individual-playlist li:hover .ioc-delete {
    display: block;
}

#individual-playlist-header .header-indi {
    border-bottom: 1px solid #E7E7E7;
    width: 100%;
    display: block;
    float: left;
    height: 26px;
    font-size: 12px;
}

#individual-playlist-header span.header-num {
    position: relative;
    float: left;
    display: block;
    width: 18px;
    text-align: right;
    padding-right: 5px;
}

#individual-playlist-header span.header-title {
    position: relative;
    float: left;
    display: block;
    min-width: 35%;
}

#individual-playlist-header span.header-artist {
    position: relative;
    float: left;
    display: block;
    min-width: 25%;
}

#individual-playlist-header span.header-album {
    position: relative;
    float: left;
    display: block;
    min-width: 25%;
}

#individual-playlist-header span.header-time {
    position: absolute;
    float: right;
    display: block;
    width: 10%;
    text-align: right;
    right: 35px;
}

#individual-playlist-header span.header-opt {
    position: absolute;
    float: right;
    display: block;
    width: 30px;
    right: 0;
}

.albumwrapper li .actionsSong {
    position: relative;
    float: left;
    display: block;
    line-height: 20px;
    width: 22px;
}

.albumwrapper li .ioc {
    font-size: 16px;
    line-height: 22px;
    display: none;
}

.albumwrapper li .icon {
    display: inline-block;
    vertical-align: middle;
    background-size: 16px 16px;
}

.albumwrapper li .icon-star {
    opacity: 0;
}

.icon-starred {
    opacity: 0.3;
}

.albumwrapper .icon:hover,
.albumwrapper .icon:focus,
#individual-playlist .edit-song:hover,
#individual-playlist .edit-song:focus {
    opacity: 1 !important;
}

#individual-playlist li .number {
    position: relative;
    float: left;
    display: block;
    width: 20px;
    height: 24px;
    text-align: right;
    padding-right: 5px;
}

#individual-playlist li span.title {
    position: relative;
    float: left;
    display: block;
    width: 35%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#individual-playlist li span.interpret {
    position: relative;
    float: left;
    display: block;
    width: 25%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: var(--color-text-lighter);
}

#individual-playlist li span.album-indi {
    position: relative;
    float: left;
    display: block;
    width: 25%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    color: var(--color-text-lighter);
}

#individual-playlist li span.time {
    position: absolute;
    float: right;
    display: block;
    width: 10%;
    text-align: right;
    right: 35px;
    color: var(--color-text-lighter);
}

#individual-playlist li span.ioc-delete {
    position: absolute;
    float: right;
    right: 5px;
    margin-right: 5px;
    width: 20px;
    text-align: right;
    margin-top: 0;
    height: 24px;
    line-height: 24px;
    color: rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

#individual-playlist li span.ioc-delete:hover {
    color: #A9302A;
}

#individual-playlist li span.edit-song {
    float: right;
    position: absolute;
    right: 0;
    width: 30px;
    height: 20px;
    opacity: 0;
}

#app-content {
    /* remove for NC25
    padding-left: 0;
    overflow: hidden;
     */
}

.no-songs-found {
    font-size: 20px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    line-height: 28px;
    display: block;
    text-align: center;
}

.coverrow {
    width: 100%;
    position: relative;
    float: left;
    display: block;
    height: auto;
    padding-bottom: 250px;
}

.margin-bottom {
    margin-bottom: 300px;
}

.album {
    position: relative;
    width: 150px;
    height: auto;
    display: block;
    float: left;
    margin-bottom: 20px;
    transform: translate(0, 0);
}

.album.is-active {
    -moz-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-transition: all .2s ease-in-out 0s;
    -moz-transition: all .2s ease-in-out 0s;
    -o-transition: all .2s ease-in-out 0s;
    transition: all .2s ease-in-out 0s;
}

.album .albumdescr {
    position: relative;
    float: left;
    line-height: 18px;
    padding-left: 5px;
    width: 100%;
}

.albumcover {
    position: relative;
    width: 150px;
    height: 150px;
    display: block;
    float: left;
    text-align: center;
    font-size: 60px;
    line-height: 150px;
    text-transform: capitalize;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.albumdescr span.artist {
    position: relative;
    width: 100%;
    float: left;
    color: var(--color-text-lighter);
    font-size: 12px;
    font-style: italic;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.albumdescr span.albumname {
    position: relative;
    width: 100%;
    float: left;
    font-size: 13px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

/*SONGSCONTAINER*/
.songcontainer {
    position: absolute;
    z-index: 2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    float: left;
    min-height: 200px;
    padding: 5px;
    display: none;
    background-color: #E6E6E6;
    color: #555;
    box-shadow: 0 0 4px #ccc;

}

.songcontainer .open-arrow {
    position: absolute;
    left: 0;
    top: -15px;

}

.songcontainer .open-arrow:after, .songcontainer .open-arrow:before {
    position: absolute;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
}

.songcontainer .open-arrow:after {
    margin-left: -6px;
    border-left: 11px solid transparent;
    border-right: 11px solid transparent;
    border-bottom: 11px solid transparent;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.songcontainer .open-arrow:before {
    margin-left: -7px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #E6E6E6;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}

.songcontainer h3 {
    margin: 0 0 20px;
    font-weight: normal;
    font-size: 14px;
    padding-left: 25px;
}

.songcontainer h2 {
    margin-bottom: 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 24px;
    padding-left: 25px;
    width: calc(100% - 300px);
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.songcontainer h2 span {
    line-height: 16px;
    height: 24px;
    font-size: 22px;
    padding-right: 5px;
    cursor: pointer;
}

.songcontainer-inner {
    position: relative;
    padding: 10px 0;
}

.songcontainer a.close {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 20px;
    display: block;
    height: 20px;
    font-size: 14px;
    text-align: center;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    color: rgba(255, 255, 255, 0.5);
}

.songcontainer .songcontainer-cover {
    position: relative;
    width: 250px;
    height: 250px;
    display: block;
    float: right;
    margin-right: 15px;
    text-align: center;
    font-size: 80px;
    line-height: 250px;
    text-transform: capitalize;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.songcontainer .songcontainer-cover.cover-small {
    width: 180px;
    height: 180px;
    line-height: 180px;
}

.songcontainer .songlist {
    position: relative;
    /*float: left;*/
    padding-left: 20px;
    display: block;
}

.two-column {
    column-count: 2;
    width: 65%;
}

.one-column {
    column-count: 1;
    width: 55%;
}

.songcontainer .albumwrapper li {
    line-height: 20px;
    width: 100%;
    float: left;
}

.songcontainer span.number {
    position: relative;
    width: 30px;
    float: left;
    overflow: hidden;
    white-space: nowrap;
}

.songcontainer span.title {
    position: relative;
    width: 65%;
    float: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-left: 5px;
}

.songcontainer .albumwrapper li span.edit-song {
    float: right;
    position: relative;
    width: 30px;
    height: 20px;
    text-align: right;
    opacity: 0;
    display: inline-block;
}

.songcontainer .albumwrapper li:hover span.edit-song {
    opacity: 1;
}

.albumwrapper li:hover * {
    cursor: pointer;
}

.albumwrapper li:hover:not(.isActive) {
    background: var(--color-background-hover);
}

.isActive {
    font-weight: bold;
    background: var(--color-primary-light);
}

input[type=range].volume-slider {
    -webkit-appearance: none;
    background: var(--color-main-background);
}

.volume-slider::-moz-range-progress {
    background-color: #0082c9;
    padding: 2px;
    border-radius: 5px;
}

input[type=range].volume-slider:focus {
    outline: none;
}

input[type=range].volume-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: var(--color-background-darker);
    border-radius: var(--border-radius);
}

input[type=range].volume-slider::-moz-range-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: var(--color-background-dark);
    border-radius: var(--border-radius);
}

input[type=range].volume-slider::-webkit-slider-thumb {
    border: 1px solid var(--color-border-dark);
    height: 14px;
    width: 14px;
    border-radius: 7px;
    background: var(--color-main-background);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -3px;
}

input[type=range].volume-slider::-moz-range-thumb {
    border: 1px solid var(--color-border-dark);
    height: 14px;
    width: 14px;
    border-radius: 7px;
    background: var(--color-main-background);
    cursor: pointer;
}

input[type=range].volume-slider::-ms-track {
    width: 100%;
    height: 8px;
    cursor: pointer;
    background: transparent;
    border-color: transparent;
    color: transparent;
}

input[type=range].volume-slider::-ms-fill-lower {
    background: #ededed;
    border-radius: 3px;
}

input[type=range].volume-slider::-ms-fill-upper {
    background: #ededed;
    border-radius: 3px;
}

input[type=range].volume-slider::-ms-thumb {
    border: 1px solid #dbdbdb;
    height: 14px;
    width: 14px;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
}

.volume-slider {
    margin: 0;
    top: 3px !important;
    opacity: unset;
}

.sm2-playlist-bd li.selected a {
    background: #000;
}

.sm2-playlist-cover {
    display: block;
    float: left;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-weight: bold;
    text-align: center;
    text-transform: capitalize;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    border: 1px solid lightgray;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.draggingSong {
    max-width: 200px;
    padding: 5px;
    z-index: 300;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 8px;
    list-style: none;
    cursor: move;
}

li.activeHover {
    border: 1px solid #ccc;
    margin: 1px;

}

#audios_import_process,
#audios_import_done {
    display: none;
}

#audios_import_process_message,
#audios_import_process_progress,
#audios_import_done_message {
    text-align: center;
}

#audios_import_dialog {
    padding: 0;
    margin: 0;
}

#app-sidebar .thumbnail.larger {
    width: 180px;
    height: 180px;
    background-size: 180px
}

#app-sidebar .thumbnail.full {
    width: 250px;
    height: 250px;
    background-size: 250px
}

#metadataTabView .table,
#playlistsTabView .table {
    margin-left: 2em;
}

#metadataTabView .key,
#playlistsTabView .key {
    padding-right: 1em;
    vertical-align: top;
    display: table-cell;
    white-space: nowrap;
}

#metadataTabView .value,
#playlistsTabView .value {
    width: 75%;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 1px;
    display: table-cell;
}

#playlistsTabView .icon {
    padding: 0 0 0 16px;
    opacity: 0.4;
}

.whatsNewPopover {
    bottom: 35px !important;
    left: 15px !important;
    width: 270px;
    z-index: 700;
}

.whatsNewPopover p {
    width: auto !important;
}

.whatsNewPopover .caption {
    font-weight: bold;
    cursor: auto !important;
}

.whatsNewPopover .icon-close {
    position: absolute;
    right: 0;
}

.whatsNewPopover::after {
    content: none;
}

@media only screen and (max-width: 768px) {

    #app-navigation-toggle_alternative {
        display: none;
    }

    #app-navigation {
        display: unset;
    }

    .sm2-bar-ui.fixed {
        margin-left: 45px;
        left: 0;

    }

    #individual-playlist-header span.header-artist,
    #individual-playlist-header span.header-album,
    #individual-playlist-header span.header-time,
    #individual-playlist-header span.header-opt,
    #individual-playlist li span.number,
    #individual-playlist li span.interpret,
    #individual-playlist li span.album-indi,
    #individual-playlist li span.edit-song,
    #individual-playlist li span.time {
        display: none;
    }

    #individual-playlist-header span.actionsSong,
    #individual-playlist li span.number {
        width: 20px;
    }

    #individual-playlist-header span.header-opt,
    #individual-playlist li span.title {
        width: 80%;
    }

    #individual-playlist li {
        font-weight: 200;
    }
}

@media only screen and (max-width: 480px) {

    .sm2-bar-ui.fixed {
        margin-left: 45px;
        left: 0;
        width: 80%;
    }

    .sm2-inline-element.sm2-button-element.sm2-menu {
        display: none;
    }

    .sm2-inline-element.sm2-button-element.sm2-volume {
        display: none;
    }

    .sm2-inline-element.sm2-inline-status {
        display: none;
    }

    .sm2-inline-button.next,
    .sm2-inline-button.previous {
        background-size: 70%;
    }

    .playing .play-pause {
        background-size: 50%;
    }

    .play-pause {
        background-size: 50%;
    }

    #albums-container {
        padding: 0;

    }

    .album {
        width: 140px;

    }

    .album .albumcover {
        width: 140px;
        height: 140px;
    }

    .album .albumdescr {
        display: none;
    }

    .songcontainer h3,
    .songcontainer h2,
    .songcontainer .songlist {
        padding-left: 20px;
        width: 100%;
    }

    .songcontainer .songlist.albumwrapper {
        -webkit-column-count: 1;
        -moz-column-count: 1;
        column-count: 1;
        padding: 0;
        margin: 0;
        width: 96%;
        float: left;
        display: block;
    }

    .songcontainer .songlist .albumwrapper {
        padding: 0;
        margin: 0;
    }

    .songcontainer .songlist .albumwrapper li {
        font-size: 15px;
        font-weight: 200;
        line-height: 24px;
        height: 24px;
    }

    .songcontainer .songcontainer-cover {
        display: none;
    }

    .album span.number {
        width: 22px;

    }

    .songcontainer .albumwrapper li span.edit-song {
        display: none;

    }

    .songcontainer span.time {
        width: 56px;
    }

    .songcontainer span.actionsSong {
        height: 24px;
    }

    .songcontainer span.actionsSong i.ioc {
        margin-left: 0;
        margin-top: 2px;
        line-height: 20px;
    }

    .songcontainer .albumwrapper li:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

}
