/*============================*/
/*           MAIN             */
/*============================*/

html {
    height: 100%;
}

body {
    background-image: url("assets/music.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center 20%;
    height: 100%;
}

.page {
    display: none;
    padding-top: 1px;
    margin-top: -1px;
}

.page.active {
    display: block;
}

.the-logo {
    font-size: 40px;
    color: #337ab7;
    font-family: monospace;
    font-weight: bold;
    letter-spacing: -6px;
    text-shadow: -2px -2px #87eeff;
}

.the-logo .m {
    margin-right: 6px;
}

.the-logo .bay {
    margin-left: 6px;
}

.drag-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/*============================*/
/*        PAGE_LOGIN          */
/*============================*/

.page-login .inner {
    margin: 200px auto 30px auto;
    background-color: #FFFFFFC8;
    border-radius: 20px;
    width: 400px;
    padding: 50px 50px 30px 50px;
    border: 1px solid #f0f0f0;
}

.page-login .header {
    margin: 0 0 30px 0;
    text-align: center;
}

.page-login .header2 {
    margin: 0 0 30px 0;
    font-size: 40px;
    text-align: center;
    color: #337ab7;
    font-family: serif;
    font-style: italic;
    letter-spacing: 5px;
    text-shadow: 2px 2px #b9cad8;
}

.page-login .login-btn {
    display: block;
    width: 100%;
}

/*============================*/
/*       PAGE-PLAYER          */
/*============================*/

.page-player {
    height: 100%;
}

.page-player .the-container {
    margin: auto;
    background-color: #FFFFFFC8;
    border: 1px solid #f0f0f0;
    width: 1200px;
    min-height: 100%;
    position: relative;
}

.page-player .header {
    padding: 20px 40px;
    border-bottom: 1px solid #ddd;
}

.page-player .main {
    padding: 20px 40px;
}

.player-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55px;
    padding: 10px 0;
    margin: auto;
    width: 1200px;
}

.loop-btn {
    margin-left: 10px;
}

.nav-main {
    margin-top: 20px;
}

.nav-main .nav-entry {
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    display: inline-block;
    margin-right: 2px;
    padding: 10px 15px;
    cursor: pointer;
    margin-bottom: -1px;
}

.nav-main .nav-entry.active {
    border-color: #ddd;
    border-bottom-color: transparent;
    background-color: #ffffff80;
    cursor: default;
}

.progress-container {
    padding: 0 40px;
}

/*============================*/
/*          PLAYER            */
/*============================*/

.main-buttons-container {
    position: absolute;
    left: 10px;
    width: 205px;
}

.pos-bar-container {
    position: absolute;
    left: 215px;
    width: calc(100% - 385px);
}

.volume-buttons-container {
    position: absolute;
    right: 120px;
    width: 40px;
}

.volume-bar-container {
    position: absolute;
    right: 10px;
    width: 100px;
}

.player .btn {
    width: 40px;
    text-align: center;
}

.artwork {
    width: 33px;
    height: 33px;
}

.artwork:hover {
    position: absolute;
    z-index: 1;
    width: 200px;
    height: 200px;
    bottom: 0;
    right: -159px;
}

.bar {
    padding: 4px 0;
}

.bar .the-bar {
    position: relative;
    height: 5px;
    border-radius: 5px;
    background-color: #ddd;
    cursor: pointer;
}

.bar .bar-indicator {
    position: absolute;
    height: 5px;
    border-radius: 5px;
    background-color: #337ab7;
    top: 0;
    left: 0;
}

.bar.empty .bar-indicator {
    background-color: transparent;
}

.bar .bar-indicator:after {
    position: absolute;
    top: -3px;
    right: -5.5px;
    content: " ";
    height: 11px;
    width: 11px;
    border-radius: 11px;
    background-color: #fff;
    border: 1px solid #337ab7;
    display: none;
}

.bar:hover .bar-indicator:after,
.bar.dragged .bar-indicator:after {
    display: block;
}

.the-tab {
    float: left;
    width: 550px;
}

.the-tab {
    float: left;
    width: 550px;
}

.tab-content {
    background-color: #FFFFFF80;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
}

.empty-info {
    display: table;
    height: 100%;
    width: 100%;
    font-size: 30px;
    color: #999;
}

.empty-info .inner {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
}

.track-list {
    overflow-y: auto;
    height: calc(100vh - 330px);
}

.track-list .track {
    padding: 8px 10px;
    cursor: pointer;
}

.track-list .track.active {
    background-color: #E3E3E3C8;
}

.track-list .track:hover,
.track-list .track.ui-sortable-helper {
    background-color: #a4d5ffcc;
}

.track-list .track .track-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-list .track:hover .track-label {
    margin-right: 60px;
}

.track-list[data-bind="fs-file-list"] .track:hover .track-label {
    margin-right: 110px;
}

.track .buttons {
    display: none;
    float: right;
}

.track:hover .buttons {
    display: block;
}

.browse-content-header {
    margin: 10px;
}

.main > .nav-main {
    display: none;
}

.mode-switcher-container {
    float: right;
    margin: 30px;
}

/*NARROW MODE*/

.narrow-mode .the-tab {
    width: 100%;
    float: none !important;
}

.narrow-mode .the-tab.hidden-tab {
    display: none;
}

.narrow-mode .the-tab .nav-main {
    display: none;
}

.narrow-mode .page-player .the-container {
    width: 800px;
}

.narrow-mode .player-container {
    width: 800px;
}

.narrow-mode .main > .nav-main {
    display: block;
}
