* {
    user-select: none;
   -khtml-user-select: none;
   -o-user-select: none;
   -moz-user-select: -moz-none;
   -webkit-user-select: none;
}

html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: rgb(32, 32, 32);
    color: white;
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', 'Microsoft Yahei', sans-serif;
    margin: 0px;
    padding: 0px;
}

* {
    font-weight: 300;
}

input, select {
    background-color: rgb(42, 42, 42);
    color: white;
    font-size: 85%;
    margin: 3px;
    padding: 2px;
}

input[type="range"] {
    width: 60px;
}

textarea {
    background-color: rgb(42, 42, 42);
    color: white;
    width: 100%;
    resize: vertical;
    margin-top: 2px;
    white-space: nowrap;
}

a {
    color: white;
}

#appTitle {
    font-size: 1.1em;
    color: rgb(168, 220, 255);
}

.popupTitle {
    background-color: black;
}

#btnAuthorize {
    background: url(btn_google_signin_dark_normal_web.png) no-repeat;
    width: 191px;
    height: 46px;
    cursor: pointer;
}

#btnAuthorize:hover {
    background: url(btn_google_signin_dark_focus_web.png) no-repeat;
    width: 191px;
    height: 46px;
}

#btnAuthorize:active {
    background: url(btn_google_signin_dark_pressed_web.png) no-repeat;
    width: 191px;
    height: 46px;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
    background: black;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 4px;
    border-radius: 4px;
    background: rgb(220, 220, 220);
}

table {
    border-spacing: 0px;
    border-collapse: collapse;
    table-layout: fixed;
    background: rgb(32, 32, 32);
    width: 100%; 
    height: 100%;
}

tr, td {
    padding: 0px;
    margin: 0px;
}

audio {
    width: 100%;
}

.btn {
    border-style: solid;
    border-radius: 6px;
    border-width: 1px;
    border-color: rgb(72, 72, 72);
    margin-left: 2px;
    margin-right: 2px;
    margin-top: 1px;
    margin-bottom: 1px;
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 3px;
    padding-bottom: 3px;
    box-shadow: 1px 1px 1px 1px rgba(24, 24, 24, 1);
    cursor: pointer;
}

.btn .fa-solid {
    color: rgb(220, 220, 220);
    text-shadow: 0.1em 0.1em black;
}

.btn:hover {
    border-color: rgb(128, 128, 128);
    background-color: rgb(64, 64, 64);
}

.tab {
    display: inline-block;
    border-style: solid;
    border-width: 2px 2px 0px 2px;
    border-radius: 8px 8px 0px 0px;
    border-color: rgb(102, 102, 102);
    margin: 2px 0px 0px 0px;
    padding: 4px 10px 4px 10px;
    cursor: pointer;
}

.tab.open {
    padding: 10px 10px 4px 10px;
}

.pageBorder {
    border-style: solid;
    border-width: 2px;
    border-color: rgb(102, 102, 102);
}

.page {
    height: 100%; 
    overflow-x: hidden;
    overflow-y: auto;
}

.header {
    text-align: center;
    font-size: 0.9em;
    padding-top: 3px;
    padding-bottom: 3px;
    background-color: rgb(32, 32, 32);
}

.loading {
    border-color: rgb(0, 255, 255) !important;
}

.playing {
    border-color: rgb(128, 255, 140) !important;
}

.warn {
    border-color: rgb(220, 128, 0) !important;
}

.error {
    border-color: red !important;
}

.errorMsg {
    color: red !important;
}

.enabled {
    color: rgb(128, 255, 140) !important;
}

.enabled .fa-solid {
    color: rgb(128, 255, 140) !important;
}

.item {
    background-color: rgb(44, 44, 44);
    border-color: rgb(72, 72, 72);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
}

.item:hover {
    background-color: rgb(55, 55, 55);
    border-color: rgb(104, 122, 111);
}

.item.selecting {
    border-color: rgb(255, 196, 0);
}

.itemBox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    overflow-wrap: anywhere;
}

.itemIndex {
    display: inline-block;
    height: 1.5em;
    width: 1.5em;
    padding: 0px;
    margin: 0px;
    background-color: rgb(25, 25, 25);
    border-radius: 50%;
    text-align: center;
    text-shadow: 0.1em 0.1em black;
  }

.itemTextArea {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.itemName {
    font-size: 90%;
    margin-left: 4px;
    margin-right: 4px;
    padding-left: 4px;
    padding-right: 4px;
    padding-top: 2px;
    padding-bottom: 2px;
    text-shadow: 0.1em 0.2em black;
}

.itemFileSize {
    font-size: 0.9em;
    color: rgb(210, 230, 255);
    vertical-align: sub;
    font-family: monospace;
    padding-left: 4px;
    padding-right: 4px;
}

.itemLastUpdateDate {
    font-size: 0.9em;
    color: rgb(248, 227, 195);
    vertical-align: sub;
    font-family: monospace;
    padding-left: 4px;
    padding-right: 4px;
}

.itemTags {
    margin: 1px;
    font-weight: 300;
}

.itemTag {
    background-color: rgb(70, 109, 143);
    padding-left: 6px;
    padding-right: 5px;
    margin-left: 0.25em;
    margin-right: 0.25em;
    border-radius: 1em 0px 0px 1em;
    border-color: rgb(109, 180, 221);
    border-width: 1px;
    border-style: solid;
    text-shadow: 0.1em 0.1em black;
    cursor: pointer;
}

.itemTag.selecting {
    border-color: rgb(255, 196, 0) !important;
}

.itemTag:hover {
    background-color: rgb(80, 139, 183);
}

.itemTagName {
    white-space: nowrap;
}

.itemTag.selecting {
    background-color: rgb(180, 120, 50) !important;
}

.itemTagFiles {
    margin: 0.4em;
}

.itemFuncs {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.itemFooterInfo {
    color: rgb(140, 140, 140);
    font-size: 0.8em;
}

.iconTypeFolder {
    color: rgb(255, 200, 128) !important;
}

.iconTypeFile {
    color: rgb(255, 255, 255) !important;
}

.title {
    background-color: rgba(0, 0, 0, 0.5);
    padding-bottom: 2px;
    font-size: 1.2em;
}

.innerBorder {
    margin: 0.5em;
    padding: 0.5em;
    font-size: 0.9em;
    background-color: rgb(30, 30, 30);
    border-style: dashed;
    border-width: 1px;
}

@keyframes updateNotify {
    0%   {background-color: none;}
    25%  {background-color:rgb(0, 255, 0);}
    100% {background-color: none;}
}
  
.animUpdateNotify {
    animation-name: updateNotify;
    animation-duration: 1.5s;
}

@keyframes failedNotify {
    0%   {background-color: none;}
    25%  {background-color:rgb(255, 0, 0);}
    100% {background-color: none;}
}
  
.animFailedNotify {
    animation-name: failedNotify;
    animation-duration: 1.5s;
}

@keyframes unsavedNotify {
    0%   {color:rgb(176, 255, 72); background-color: none;}
    25%  {color: rgb(255, 255, 255); background-color:rgb(44, 110, 180);}
    100% {color:rgb(176, 255, 72); background-color: none;}
}
  
.animUnsavedNotify {
    animation-name: unsavedNotify;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
}

@keyframes readNotify {
    0%   {color: none;}
    25%  {color:rgb(0, 255, 0);}
    100% {color: none;}
}
  
.animReadNotify {
    animation-name: readNotify;
    animation-duration: 1.5s;
}

@keyframes burnHint {
    0%   {color: none;}
    50%  {color:rgb(176, 255, 72);}
    100% {color: none;}
}
  
.animBurnHint {
    animation-name: burnHint;
    animation-duration: 0.5s;
    animation-iteration-count: infinite;
}

.audioPlaying {
    color: rgb(0, 255, 64);
}

.audioLoading {
    color: rgb(255, 255, 64);
}

.audioPlaying.audioLoading {
    color: rgb(0, 255, 255);
}

.audioPlayerInfoImage {
    width: auto;
    max-height: 3em;
    cursor: pointer;
}

.audioTime {
    font-family: monospace;
    margin: 0.2em;
    padding: 0.3em;
    border: 1px solid gray;
    border-radius: 6px;
}

.audioTimeHour {
    color: rgb(255, 200, 200);
}

.audioTimeMin {
    color: rgb(200, 255, 200);
}

.audioTimeSec {
    color: rgb(200, 200, 255);
}

.audioTimeMsec {
    font-size: 0.9em;
    color: rgb(255, 255, 255);
}

#audioPlayerImages {
    margin: 0.2em;
}

#audioPlayerInfo {
    font-size: 0.75em;
    font-weight: 300;
    float: left;
}

#audioPlayerImages {
    float: left;
}

#lyricsEditor {
    width: 100%;
    height: 100%;
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    font-family: 'Noto Sans TC', 'Microsoft JhengHei', 'Microsoft Yahei', sans-serif;
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.85);
    color: rgb(229, 255, 212);
    text-align: center;
    font-size: 1em;
    border-radius: 6px;
    padding: 8px 12px;
    white-space: nowrap;
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}