/* vim:set tabstop=8 softtabstop=8 shiftwidth=8 noexpandtab: */

/**
 *
 * LICENSE: GNU Affero General Public License, version 3 (AGPL-3.0-or-later)
 * Copyright Ampache.org, 2001-2024
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <https://www.gnu.org/licenses/>.
 *
 */

@font-face {
    font-family: 'DejaVuSansCondensed';
    src: url('fonts/dejavusanscondensed.eot?') format('embedded-opentype'), url('fonts/dejavusanscondensed.woff') format('woff'), url('fonts/dejavusanscondensed.ttf') format('truetype'), url('fonts/dejavusanscondensed.svg#DejaVuSansCondensed') format('svg');
}

/* --------------------------
   General style rules
   -------------------------- */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    border: 0;
    outline: 0;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    height: 100%;
}

svg {
    height: 1em;
    width: 1em;
}

body {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    margin: 0;
    font-family: "DejaVuSansCondensed", Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: 16px;
    line-height: 1.5em;
    height: 90%;
}

body#main-page {
    min-width: 1024px;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: none;
}

:focus {
    outline: 0;
}

del {
    text-decoration: line-through;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
    cursor: pointer;
}

h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

hr {
    border-top: 1px solid;
    border-bottom: 1px solid;
    border-right: 0;
    border-left: 0;
}

input,
button,
textarea {
    margin: 0;
    font-size: 100%;
    vertical-align: middle;
}

input[type=password],
input[type=text],
input[type=url],
input[type=number] {
    line-height: normal;
    height: 23px;
}

input[type=file] {
    padding: 4px 6px;
    line-height: normal;
    height: 40px;
}

input[type=password],
input[type=text],
input[type=url],
input[type=number],
select,
textarea {
    padding: 4px 6px;
    background-repeat: repeat-x;
    border-style: solid;
    border-width: 1px;
    border-radius: 2px;
    box-sizing: border-box;
}

button,
input[type=button],
input[type=submit] {
    background-repeat: repeat-x;
    position: relative;
    padding: 5px 12px 4px;
    font-size: 18px;
    line-height: normal;
    border: 0;
    border-radius: 2px;
    cursor: pointer;
    outline: 0;
}

button:hover,
input[type=button]:hover,
input[type=button]:focus,
input[type=submit]:hover,
input[type=submit]:focus {
    background-position: 0 -10px;
    transition: background-position 0.1s linear;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    text-decoration: none;
}

button:focus:active,
input[type=button]:focus:active,
input[type=submit]:focus:active {
    transition: background-position 0.1s linear;
}

label {
    cursor: pointer;
}

.box-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.alert-danger {
    color: #c33;
}

div#autoupdate > span {
    color: #f00;
}

/* --------------------------
   Main
   -------------------------- */
#maincontainer {
    width: 100%;
    position: relative;
    z-index: 1;
}

#ajax-loading {
    background-repeat: no-repeat;
    background-position: right;
    display: none;
    font-size: 12px;
    left: 52px;
    position: absolute;
    text-align: center;
    top: 39px;
    width: 120px;
}

/* --------------------------
   Header
   -------------------------- */
#header {
    z-index: 5;
    height: 64px;
    padding: 0 5px;
    font-size: 15px;
}

.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 97%;
}

#header a {
    display: inline-block;
}

#header .box-top,
#header .box-bottom {
    display: none;
}

#header #headerlogo,
#header #headerbox,
#header .box_headerbox,
#header .box-inside,
#header .box-content {
    height: 100%;
    overflow: hidden;
}

#header #headerlogo {
    float: left;
    width: 20%;
}

#header #logo img {
    height: 128px;
    width: 128px;
}

#header #headerlogo img {
    height: 64px;
    width: 64px;
}

#mobileheader {
    height: 64px;
    padding-bottom: 64px;
    padding-top: 24px;
}

#mobileheader #logo img {
    height: 128px;
    width: 128px;
}

#header #headerbox {
    float: left;
    width: 80%;
}

#header .box-inside {
    text-align: right;
    float: right;
    width: 100%;
}

#header .box-content {
    display: flex;
    align-items: center;
    justify-content: end;
}

#header .box-content input,
#header .box-content select {
    height: 30px;
    font-size: 15px;
}

#cookie_notice {
    padding-top: 20px;
    text-align: center;
}

#play_type_switch {
    margin-left: 50px;
    margin-right: 4px;
}

#rightbar-minimize {
    position: absolute;
    top: 44px;
    right: 12px;
}

#rightbar-minimize .material-symbol-dock_to_left {
    color: #ccc;
}

#sb_Subsearch form {
    display: flex;
    gap: 4px;
    align-items: center;
}

#loginInfo {
    position: absolute;
    left: 80px;
    top: 17px;
}

#sb_Subsearch input[type=submit] {
    min-width: 100px;
}

#sb_Subsearch input[type=text] {
    width: 175px;
    padding: 0 10px;
    border-radius: 15px;
}

#headerbox select {
    min-width: 150px;
}

#sb_Subsearch a {
    font-size: 11px;
    vertical-align: bottom;
}

#ui-id-1 {
    min-width: 20%;
    max-width: 630px;
}

/* --------------------------
   Login / Registration
   -------------------------- */
#loginPage {
    display: flex;
    height: 100%;
    flex-direction: column;
}

#loginPage #maincontainer,
#registerPage #maincontainer {
    border-radius: 2px;
    box-sizing: border-box;
    display: block;
    margin: 0 auto;
    padding: 20px 0 20px 0;
}

#loginPage #maincontainer {
    margin: auto;
}

#loginPage #header,
#registerPage #header {
    height: 128px;
    background-color: transparent;
    width: 128px;
    margin: auto;
    border: none;
    box-shadow: none;
}

#loginPage #logo,
#registerPage #logo {
    width: 128px;
    height: 128px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin: auto;
}

#registerPage #content {
    margin: 0 5px;
}

.registerfield {
    padding-bottom: 5px;
}

.agreementContent {
    padding-bottom: 20px;
}

#loginbox,
#registerbox {
    margin: auto;
    max-width: 350px;
}

#loginbox h2 {
    display: none;
}

#registerbox h2,
#registerbox h3 {
    padding-bottom: 10px;
    margin-bottom: 0;
}

#loginbox div,
#registerbox div {
    font-size: 18px;
    line-height: 1.5em;
}

#loginbox .alert,
#registerbox .alert {
    margin-top: 5px;
}

.loginfield {
    padding: 15px 0 15px;
    overflow: auto;
}

.loginfield input[type=password],
.loginfield input[type=text],
.registerfield input[type=password],
.registerfield input[type=text] {
    float: none;
    margin-left: 0;
    width: 100%;
    min-height: 28px;
    box-sizing: border-box;
    border-radius: 7px;
    height: 32px;
}

.submit-registration {
    width: 100%;
    overflow: auto;
    padding-top: 10px;
}

#accept_agreement {
    min-height: 0;
    height: unset;
    cursor: pointer;
    width: 40px;
}

#registerPage #registerbox .submit-registration #agreementCheckbox {
    font-size: 16px;
    display: inline;
}

#submit-registration-button {
    float: right;
}

.require,
.require label::after {
    color: #c33;
    content: " *";
}

#remembermefield,
#agreementCheckbox {
    padding-top: 4px;
}

#loginPage #loginbox #agreementCheckbox,
#loginPage #loginbox #remembermefield {
    vertical-align: middle;
    font-size: 16px;
    padding: 0;
    float: left;
}

#loginPage #loginbox #remembermefield input {
    cursor: pointer;
    width: 40px;
}

.loginoptions {
    padding: 15px 0 15px;
    text-align: center;
}

.loginoptions a {
    font-size: 15px;
}

#registerbutton {
    float: left;
}

#lostpasswordbutton {
    float: right;
}

#submit-lostpassword {
    padding-top: 20px;
}

#loginPage #footer,
#registerPage #footer {
    margin: 15px;
    padding: 0 5px;
}

#loginPage span.error {
    display: block;
    clear: left;
    border: 1px solid;
    padding: 10px;
    text-align: center;
    margin-bottom: 10px;
}

/* --------------------------
   Sidebar
   -------------------------- */
#sidebar {
    font-size: 12px;
}

.sidebar-collapsed {
    width: 70px !important;
}

.sidebar-header-title {
    display: inline-block;
    max-width: 148px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#sidebar-header {
    height: 20px;
    width: 148px;
    border: 2px solid;
    border-radius: 2px;
    box-sizing: border-box;
    text-align: center;
    font-size: 10px;
}

#sidebar-header:hover {
    cursor: pointer;
}

#sidebar-header span {
    line-height: 15px;
}

.sidebar-header-collapsed {
    width: 70px !important;
    position: fixed;
}

#sidebar-content,
#sidebar-content-light,
#sidebar-light {
    border: 2px solid;
    border-radius: 2px;
    box-sizing: border-box;
    padding: 10px;
}

.sidebar-content-collapsed {
    display: none !important;
}

#sidebar-content {
    width: 148px;
}

#sidebar-content-light {
    padding: 0;
    display: none;
    width: 70px;
}

#sidebar-light {
    width: 70px;
    position: fixed;
    left: 0;
    margin: 17px auto 5px 5px;
    padding: 5px 0 10px 0;
    text-align: center;
}

#sidebar-light-default {
    border: 2px solid;
    border-radius: 2px;
    box-sizing: border-box;
    width: 70px;
    position: fixed;
    left: 0;
    margin: 0 auto 5px 5px;
    padding: 5px 0 10px 0;
    text-align: center;
}

#sidebar-light li {
    padding-top: 5px;
}

#sidebar-light img {
    margin: auto;
    height: 32px;
    width: 32px;
}

.sidebar-content-light-collapsed {
    display: block !important;
}

.sidebar-float {
    margin: 5px auto auto 5px;
    float: left;
}

.sidebar-fixed {
    margin: 0 auto auto 5px;
    float: left;
}

/* For sidebar tabs */
#sidebar-tabs {
    height: 29px;
}

#sidebar-tabs li.sb1 {
    float: left;
}

#sidebar-tabs li.sb1 + li {
    margin-left: 8px;
}

#sidebar-tabs > li > a {
    font-size: 15px;
    line-height: 1;
    vertical-align: top;
}

#sidebar-tabs .active > a {
    position: relative;
}

#sidebar-tabs .active > a:after {
    content: "";
    display: inline-block;
    position: absolute;
    background-color: currentColor;
    border-radius: 2px;
    height: 2px;
    bottom: -7px;
    left: 0;
    right: 0;
}

/* Tabs content */
#sidebar-page {
    width: 148px;
    margin: 3px auto 5px 5px;
    border-radius: 2px;
    border: 2px solid;
    box-sizing: border-box;
}

.sidebar-page-float {
    position: absolute;
    left: 0;
}

#sidebar-tabs .sb2 li h4 {
    height: 23px;
    margin: 10px 0 5px 0;
    padding: 0 10px 0 20px;
    border-bottom: 1px solid;
}

#sidebar-tabs .sb2 li h4:hover {
    cursor: pointer;
}

#sidebar-tabs .sb2 li ul li a {
    width: 100%;
    margin: 0 0 0 5px;
    background-color: transparent;
    transition: color 0.1s;
    box-sizing: border-box;
    display: inline-block;
}

#sidebar-tabs .sb2 li ul li a:hover {
    width: 95%;
    padding-left: 5px;
}

#sidebar-tabs .sb2 #browse_filters li {
    margin: 3px auto 5px 0;
}

#sidebar-tabs .sb2 #browse_filters #multi_alpha_filterLabel {
    margin: 5px 3px 0;
    display: block;
}

#sidebar-tabs .sb2 #browse_filters #multi_alpha_filter {
    border: 1px solid;
    border-radius: 2px;
    padding: 4px;
    width: 130px;
}

#sidebar-page .sb2 {
    margin-bottom: 100px;
}

.sb2 {
    display: flex;
    flex-direction: column;
}

#sidebar-tabs #catalog_select {
    width: 130px;
}

.image-topmenu-album,
.image-topmenu-artist,
.image-topmenu-favorite,
.image-topmenu-home,
.image-topmenu-logout,
.image-topmenu-playlist,
.image-topmenu-radio,
.image-topmenu-smartlist,
.image-topmenu-tagcloud,
.image-topmenu-upload {
  height: 32px;
  width: 32px;
  margin-bottom: -5px;
}

/* Localplay */
.active_instance {
    border: 1px solid;
}

span#sidebar-header-content::after {
    content: "<<<";
    left: 67px;
    position: absolute;
}

#sidebar-header.sidebar-header-collapsed > span#sidebar-header-content::after {
    content: ">>>";
    left: 20px;
    position: absolute;
}

/* --------------------------
   Rightbar
   -------------------------- */
#rightbar {
    position: fixed;
    overflow-y: auto;
    right: 10px;
    top: 66px;
    min-width: 100px;
    max-width: 250px;
    margin: 5px 15px auto auto;
    max-height: 85%;
    padding: 4px;
    border-radius: 2px;
    border: 2px solid #161616;
    box-sizing: border-box;
    z-index: 10000;
}

/* For jQuery scrolling feature */
.fixedrightbar {
    position: fixed !important;
    top: -20px !important;
    right: 10px !important;
}

.fixedrightbarsubmenu {
    position: fixed !important;
    top: 33px !important;
    right: 15px !important;
}

/* ---------------------------- */

#rightbar #rb_action {
    list-style-type: none;
}

#rightbar #rb_action li {
    display: inline;
    margin-right: 5px;
    padding-bottom: 3px;
}

#rightbar li #rb_add,
#rightbar li #pl_add {
    position: relative;
}

#rightbar #rb_current_playlist li {
    min-height: 29px;
    font-size: 14px;
    width: 100%;
    display: table;
}

#rightbar #rb_current_playlist li a {
    width: 100%;
    padding: 4px 7px 3px;
    display: table-cell;
}

#rightbar #rb_current_playlist li a:hover,
#rightbar #rb_current_playlist li a:focus {
    text-shadow: none;
    background-repeat: repeat-x;
}

#rightbar li:hover .submenu {
    display: block;
}

#rightbar .submenu {
    display: none;
    position: fixed;
    top: 98px;
    right: 15px;
    border: 2px solid;
    width: 214px;
    padding: 0.6em;
    font-size: 12px;
    z-index: 99;
    overflow: hidden;
    overflow-y: scroll;
    max-height: 350px;
}

#rightbar #rb_action .submenu li {
    margin: 0;
}

#rightbar .submenu a {
    display: block;
    border-bottom: 1px dotted;
    text-decoration: none;
    text-align: left;
    padding: 0.4em;
    width: 100%;
}

#rightbar .submenu a:hover {
    cursor: pointer;
}

#rightbar #localplay-control {
    padding-left: 5px;
}

#rightbar #localplay-control {
    padding: 5px;
    text-align: center;
    margin: 7px 0;
}

#rightbar #localplay-control img {
    vertical-align: bottom;
}

/* --------------------------
   Content
   -------------------------- */
#content {
    z-index: 3000000;
    transition: top 0.5s;
    width: auto;
    max-height: 85%;
    border-radius: 2px;
    border: 2px solid;
    box-sizing: border-box;
    padding: 20px 20px 40px;
}

.content-float {
    margin: 5px 0 0 160px;
}

.content-right-wild {
    margin-right: 20px !important;
}

.content-left-wild {
    margin-left: 80px !important;
}

.content-fixed {
    margin: 86px 250px 0 205px;
}

.content-fixed-topmenu {
    margin: 0 250px 0 205px;
}

.browse_content {
    margin-bottom: 20px;
}

.list-header,
.list-header a {
    margin: 10px 0 10px 0;
    font-size: 13px;
}

.list-header a:hover,
.list-header a:focus {
    text-decoration: none;
}

.ui-sortable-helper {
    display: table; /* maintain column widths during move */
}

table.gatherart,
table.tabledata {
    width: 100%;
    text-align: left;
    font-size: 14px;
    margin-bottom: 20px;
}

.box_debug_tools table {
    table-layout: fixed;
}

table.tabledata thead .th-top,
table.tabledata tfoot .th-bottom {
    font-size: 12px;
}

table.tabledata thead .th-top {
    border-bottom: 1px solid;
}

table.tabledata thead th.cel_play {
    text-align: right;
    padding-right: 10px;
}

table.tabledata thead th.cel_ratings {
    padding-left: 8px;
}

table.tabledata tfoot .th-bottom {
    border-top: 1px solid;
    display: none;
}

table.tabledata td {
    vertical-align: middle;
    overflow: hidden;
    padding: 3px 10px 3px 0;
    word-wrap: break-word;
    min-width: 50px;
}

table.tabledata tr:hover,
table.tabledata tr:focus {
    text-shadow: none;
    background-repeat: repeat-x;
}

table.tabledata .th-top:hover,
table.tabledata .th-bottom:hover,
table.tabledata .th-top:focus,
table.tabledata .th-bottom:focus {
    background-image: none;
    background-repeat: no-repeat;
}

table.tabledata tbody .cel_play {
    max-width: 60px;
    min-width: 60px;
    width: 40px !important;
    text-align: right;
}

table.tabledata tbody .cel_play_content {
    display: block;
}

table.tabledata tbody .cel_play_hover {
    display: none;
}

table.tabledata tbody tr:hover .cel_play_hover,
table.tabledata tbody tr:focus .cel_play_hover {
    display: block;
}

table.tabledata tbody tr:hover .cel_play_content,
table.tabledata tbody tr:focus .cel_play_content {
    display: none;
}

table.tabledata tbody tr.unread {
    font-weight: bold;
}

table.tabledata tbody .cel_add {
    max-width: 60px;
    min-width: 60px;
    width: 60px !important;
    text-align: right;
}

table.tabledata tbody .cel_add_list {
    max-width: 80px;
    min-width: 80px;
    width: 80px !important;
    text-align: right;
}

table.tabledata tbody .cel_item_add {
    display: none;
}

table.tabledata tbody tr:hover .cel_item_add,
table.tabledata tbody tr:focus .cel_item_add {
    display: block;
}

table.tabledata tbody .cel_time {
    min-width: 40px;
    width: 40px !important;
}

table.tabledata tbody .cel_action {
    width: 90px !important;
    max-width: 90px;
}

table.tabledata tbody .cel_action_text {
    max-width: 100% !important;
}

table.tabledata tbody td.cel_counter {
    text-align: center;
}

table.tabledata td.cel_ratings {
    width: 140px !important;
    min-width: 140px;
}

table.tabledata tbody .cel_cover {
    overflow: visible;
    padding-top: 10px;
}

table.tabledata tbody .cel_cover,
table.tabledata tbody .cel_tags,
table.tabledata tbody .cel_license {
    width: 150px !important;
    max-width: 150px;
}

table.tabledata tbody td.grid_cover {
    height: auto;
    overflow: visible;
}

table.tabledata tbody .grid_cover img,
table.tabledata tbody .cel_cover img {
    vertical-align: middle;
    border-radius: 2px;
    -o-object-fit: cover;
    object-fit: cover;
}

table.tabledata .cel_drag {
    max-width: 16px;
    width: 16px !important;
}

table.tabledata .cel_drag img:hover {
    cursor: pointer;
}

table.tabledata .cel_agent {
    text-align: center;
    width: 45px;
}

table.tabledata .cel_agent img:hover {
    cursor: help;
}

table.gatherart {
    width: 100%;
    text-align: left;
    border: 2px solid black;
    font-size: 14px;
    margin-bottom: 20px;
}

table.gatherart td {
    vertical-align: middle;
    overflow: hidden;
    padding: 3px 5px 3px 0;
    word-wrap: break-word;
    min-width: 50px;
}

table.gatherart thead .th-top,
table.gatherart tfoot .th-bottom {
    font-size: 12px;
}

table.gatherart thead .th-top {
    border-bottom: 1px solid;
}

table.gatherart thead th.cel_ratings {
    padding-left: 7px;
}

table.gatherart tfoot .th-bottom {
    border-top: 1px solid;
    display: none;
}

th.center,
td.center {
    vertical-align: middle;
    text-align: left;
}

table.gatherart tr:hover,
table.gatherart tr:focus {
    text-shadow: none;
    background-repeat: repeat-x;
}

table.gatherart .th-top:hover,
table.gatherart .th-bottom:hover,
table.gatherart .th-top:focus,
table.gatherart .th-bottom:focus {
    background-image: none;
    background-repeat: no-repeat;
}

#shoutbox-input {
    font-size: 14px;
}

#searchLimit {
    width: 4em;
}

#gatherYear {
    padding-right: 8px;
}

#gatherLimit {
    padding-right: 3px;
}

input:invalid {
    border: 4px solid red;
}

.box_preferences h4 {
    font-size: 15px;
    margin-bottom: 10px;
}

div.box.box_current_configuration {
    margin-top: 20px;
}

table.gridview thead {
    display: none;
}

table.gridview tr {
    float: left;
    max-width: 15%;
    min-width: 170px;
    padding: 0.5%;
    text-align: center;
    width: 15%;
}

table.gridview tr {
    background-color: transparent !important;
}

table.gridview td {
    display: block !important;
    height: 25px;
    margin-left: 4%;
    margin-right: 4%;
}

table.gridview td.optional {
    display: none !important;
}

table.gridview td.cel_cover {
    display: block !important;
    height: auto !important;
}

table.gridview td.cel_play,
table.gridview td.cel_add,
table.gridview td.cel_add_list,
table.gridview td.cel_action,
table.gridview td.cel_year,
table.gridview td.cel_drag {
    display: none !important;
}

table.gridview td.cel_ratings {
    display: flex !important;
    width: initial !important;
    min-width: initial !important;
    justify-content: center;
    gap: 10px;
}

.tableform {
    border-collapse: separate;
    border-spacing: 5px 0;
}

#col_php_setting,
#col_configuration {
    width: 20%;
}

.upload_select {
    display: grid;
    max-width: 90%;
}

.vakata-context,
.vakata-context ul {
    z-index: 3000001;
}

/* --------------------------
   Content (info-box)
   -------------------------- */
#content .info-box h3 {
    margin-top: 10px;
}

#content .info-box .box-content div.star-rating {
    width: 150px;
    max-width: 150px;
}

/* Random album (homepage) */
.random_selection {
    margin-bottom: 20px;
}

.random_selection .random_album,
.random_selection .random_video {
    float: left;
    min-width: 110px;
    max-width: 16%;
    margin-bottom: 1%;
    margin-right: 3%;
    text-align: center;
}

.random_selection .random_album .art_album img {
    vertical-align: middle;
    border-radius: 2px;
}

.random_selection .random_video .art_album img {
    vertical-align: middle;
    border-radius: 2px;
    width: 100px;
    height: 150px;
    margin: 2px;
}

.random_selection .random_album .star-rating,
.random_selection .random_video .star-rating {
    margin: auto;
}

.random_selection .random_album .play_album,
.random_selection .random_video .play_video {
    margin-left: 7px;
}

.random_selection .random_album .play_album img,
.random_selection .random_video .play_video img {
    border: 0;
    box-shadow: 0 0 0 0;
}

.random_selection .box-bottom {
    clear: left;
}

tr#search_item_count td,
tr#search_length td,
tr#search_size_limit td,
tr#search_max_results td,
tr#random_results td {
    width: 150px;
    overflow: hidden;
    display: inline-block;
    white-space: nowrap;
}

.operatoris_true {
    display: none;
}

div.box.box_rules {
    margin: 30px 0 30px 0;
}

#content .missing {
    background-repeat: no-repeat;
    background-position: center;
}

.cel_song,
.cel_album,
.cel_artist {
    width: 15%;
    text-align: left;
}

.cel_left {
    text-align: left;
}
.cel_counter,
.cel_songs,
.cel_albums,
.cel_year {
    width: 60px;
    text-align: center;
}

.cel_song,
.cel_album,
.cel_artist,
.cel_counter,
.cel_songs,
.cel_albums,
.cel_year {
    white-space: normal !important;
    text-overflow: ellipsis;
    overflow: hidden;
}

/* --------------------------
    Content (now playing)
   -------------------------- */
#now_playing {
    margin-bottom: 20px;
    width: auto;
}

#now_playing .np_group {
    float: left;
    padding-right: 8px;
}

#now_playing .np_row {
    display: table;
    margin-bottom: 10px;
}

#now_playing .np_cell {
    line-height: 15px;
    font-size: 13px;
}

#now_playing .cel_ratings label {
    display: none;
}

#now_playing .cel_userflag label {
    display: none;
}

#now_playing .np_group label {
    font-weight: bold;
}

#now_playing .cel_username {
    width: 140px;
}

#now_playing .cel_song,
#now_playing .cel_album,
#now_playing .cel_artist,
#now_playing .cel_video,
#now_playing .cel_year {
    width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#now_playing .cel_albumart {
    float: left;
    width: 110px;
}

#now_playing .cel_albumart img {
    vertical-align: middle;
    border-radius: 2px;
    float: left;
    margin: 2px;
}

#now_playing .cel_lyrics {
    margin-top: 5px;
}

#now_playing .similars {
    margin-right: 10px;
}

#recent_more {
    text-align: right;
    width: 100%;
}

#browse_header {
    margin-right: 140px;
}

.album_group_disks_title {
    float: left;
    margin-right: 30px;
}

/* --------------------------
    Content (Tag cloud)
   -------------------------- */
.box_tag_cloud {
    margin-bottom: 35px;
}

.clearfix {
    clear: left;
}

.box-bottom {
    clear: both;
}

span.fatalerror {
    padding: 5px;
    display: block;
}

.box-content #tag_filter div {
    float: left;
    height: 32px;
}

.box-content #tag_filter .tag_container {
    margin: 20px 0 0 15px;
}

.box-content #tag_filter .tag_button {
    margin: 20px 0 0 15px;
    font-size: 14px;
    vertical-align: middle;
    text-align: center;
}

.box-content #tag_filter .tag_actions {
    margin: 15px 0 0 -8px;
}

.box-content #tag_filter .tag_button span {
    padding: 8px 10px 8px;
    cursor: pointer;
    background-repeat: repeat-x;
    border-radius: 2px 4px 4px 2px;
    background-color: #5f5f5f;
    background-image: linear-gradient(to top, #6d6d6d, #4a4a4a);
    border-bottom-color: #b3b3b3;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset -1px 0 0 rgba(0, 0, 0, 0.2);
}

.box-content #tag_filter .tag_button span:hover {
    background-repeat: repeat-x;
}

.box-content #tag_filter li {
    height: 16px;
}

/* --------------------------
    Content (inline edit)
   -------------------------- */
.inline-edit select {
    max-width: 200px;
}

/* --------------------------
    Content (information-actions)
   -------------------------- */
#information_actions {
    margin: 20px 0 10px 0;
    width: 300px;
    font-size: 12px;
}

#content .info-box {
    margin-bottom: 30px;
    margin-right: 140px;
}

#content .info-box .box-content .item_art {
    float: right;
}

.item_info {
    float: right;
}

.item_properties {
    text-align: right;
    font-size: 13px;
    clear: right;
    max-width: 128px;
}

.item_art {
    display: inline-block;
    position: relative;
}

.item_art .item_art_play {
    display: none;
    height: 64px;
    margin: 35% auto 0 auto;
    position: relative;
    width: 64px;
}

.item_art .item_art_play_150 {
    display: none;
    height: 64px;
    margin: 43px auto 0 auto;
    position: relative;
    width: 64px;
}

.item_art .item_art_play .item_art_play_icon,
.item_art .item_art_play_150 .item_art_play_icon {
    display: block;
    height: 64px;
    opacity: 0.4;
    position: relative;
    text-align: center;
    width: 64px;
}

.item_art .item_art_play .item_art_play_icon:hover,
.item_art .item_art_play_150 .item_art_play_icon:hover {
    opacity: 1;
}

.item_art .item_art_actions {
    display: none;
    position: absolute;
    float: right;
    bottom: 0;
    right: 0;
    padding-bottom: 10px;
    padding-top: 5px;
    width: 100%;
    height: 16px;
    text-align: right;
}

.item_art .item_art_actions span {
    padding-right: 6px;
}

.item_art img {
    vertical-align: middle;
    border-radius: 2px;
    float: left;
}

.item_art > a {
    display: block;
}

.item_art:hover {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.item_art_actions img {
    margin: 2px;
    float: none;
}

.item_art:hover  .item_art_actions {
    display: block;
}

.item_art:hover  .item_art_play,
.item_art:hover  .item_art_play_150 {
    display: block;
}

#information_actions ul li {
    border-radius: 4px;
    transition: color 0.1s;
}

#information_actions h3 {
    font-size: 13px;
}

#information_actions a {
    margin-right: 5px;
}

#information_actions input {
    margin: 0 5px 0 2px;
}

#information_actions .star-rating li {
    padding: 0;
}

#information_actions li img {
    margin-right: 4px;
    vertical-align: top;
}

#information_actions li a {
    vertical-align: bottom;
}

.item_uploaded_by {
    padding-left: 0;
    padding-top: 10px;
    font-size: small;
}

.item_right_info {
    float: right;
    max-width: 60%;
}

.external_links {
    margin-top: 10px;
    text-align: right;
}

.external_links a {
    margin: 0 5px 0 0;
    opacity: 0.7;
}

.external_links a:hover {
    opacity: 1;
}

#item_summary {
    margin-right: 33%;
    padding-bottom: 20px;
    max-height: 340px;
    overflow-y: auto;
}

/* -------------------------
    Styles for star ratings
   ------------------------- */
.star-rating ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.star-rating .global-rating {
    bottom: 2px;
    font-size: 0.95em;
    position: relative;
    top: 0.9px;
}

.star-rating .current-rating {
    position: absolute;
    top: 0;
    left: 0;
    text-indent: -1000em;
    height: 15px;
    line-height: 15px;
    outline: none;
    overflow: hidden;
    border: none;
}

.rating {
    display: flex;
}

.cel_ratings .rating {
    gap: 10px;
}

.random_album .rating {
    justify-content: space-around;
}

/* --------------------------
   Content (Track view)
   -------------------------- */
.media_details {
    margin-top: 20px;
}

dl.media_details dt {
    float: left;
    clear: left;
    width: 200px;
    text-align: right;
}

dl.media_details dd {
    margin: 10px 0 10px 250px;
    min-height: 24px;
}

/* --------------------------
   Footer
   -------------------------- */
#footer {
    bottom: 0;
    margin: 15px 250px 0 0;
    right: 0;
    text-align: right;
    width: auto;
    z-index: 5;
}

.footer-wild {
    margin-right: 20px !important;
}

#footer a:hover {
    text-decoration: underline;
}

/* ------------------------
   Wunderbaum tree (upload page)
   ------------------------ */
.wunderbaum.wunderbaum.wunderbaum {
    font-family: inherit;
    --wb-active-border-color: transparent;
    --wb-active-border-color-grayscale: transparent;
    --wb-hover-border-color: transparent;
    --wb-active-hover-border-color: transparent;
    --wb-border-color: transparent;
    --wb-focus-border-color: transparent;
}

/* --------------------------
   Other
   -------------------------- */
.material-symbol {
    height: 1.2em;
    width: 1.2em;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
}

.material-symbol-lock {
    font-size: 15px;
    line-height: 1;
    vertical-align: top;
}

ol,
ul,
#rightbar ul {
    list-style: none;
}

.browse-options {
    float: right;
}

.browse-options form {
    display: inline;
}

.browse-options input[type=text] {
    width: 50px;
}

.browse-options-content {
    display: none;
}

.browse-options-content span {
    margin-right: 5px;
}

.jscroll-next {
    width: 50%;
    display: block;
    border: 1px solid;
    border-radius: 10px;
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    margin: auto;
}

.missing_album {
    text-decoration: none;
    border-bottom: 1px dotted;
}

.user_avatar {
    float: right;
}

#plugins_user_field {
    margin-top: 15px;
}

.list-header-navmenu-border {
    border: 1px solid;
    border-radius: 2px;
}

input.list-header-navmenu-input {
    padding: 0;
    margin-bottom: 2px;
    width: 50px;
    height: 16px;
    text-align: center;
}

span.item-count,
span.item-duration {
    font-size: 11px;
}

span.query-count {
    font-size: 11px;
    float: right;
}

a.option-list {
    border: solid 1px transparent;
    width: 100%;
    margin: 0;
    display: inline-block;
}

a.option-list:hover {
    border: 1px solid;
}

.stats_graph {
    text-align: center;
}

.followbtn {
    background-repeat: repeat-x;
    position: relative;
    padding: 5px 12px 4px;
    font-size: 15px;
    line-height: normal;
    border: 0 none;
    cursor: pointer;
    border-radius: 2px;
    background-position: 0 -10px;
    transition: background-position 0.1s linear 0s;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
    text-decoration: none;
    min-width: 100px;
}

.formValidation {
    margin: 0;
    padding: 0;
    float: right !important;
}

.formValidation input {
    border: none;
    min-width: 150px;
}

.formValidation a {
    font-size: 15px;
    vertical-align: bottom;
    margin-right: 20px;
}

.error.show-disabled {
    text-align: center;
}

.find-duplicates strong {
    display: block;
}
