/* ========== USER PANE ========== */
#user-pane-overlay{
    display: none;
    opacity: 0.28;
    background: rgb(20, 17, 29);
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

body.user-pane-expanded #user-pane-overlay{
    display: block;
}

#user-pane-header.playlist-editing a{
    cursor: default;
}

#user-pane{
    position: fixed;
    display: none;
    top: 4px;
    right: -445px;
    bottom: 4px;
    width: 439px;
    background-color: #fff;

    border-radius: 18px;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;

    z-index: 1002;
    -webkit-transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    -moz-transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    -ms-transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    -o-transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);

    -moz-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);

    -webkit-box-shadow: -1px 1px 36px -1px rgba(0,0,0,0.38);
    -moz-box-shadow: -1px 1px 36px -1px rgba(0,0,0,0.38);
    box-shadow: -1px 1px 36px -1px rgba(0,0,0,0.38);
}

body.user-pane-expanded #user-pane{
    -moz-transform: translate3d(-449px, 0, 0);
    -o-transform: translate3d(-449px, 0, 0);
    -ms-transform: translate3d(-449px, 0, 0);
    -webkit-transform: translate3d(-449px, 0, 0);
    transform: translate3d(-449px, 0, 0);
}

body.keep-visible #user-pane{
    display: block;
}

.playlist-item-contents,
.playlist-entry,
.history-item{
    opacity: 0;

    transition: transform 1.2s cubic-bezier(0.64, 0, 0.78, 0), opacity 0.05s ease-out;
    -webkit-transition: transform 1.2s cubic-bezier(0.64, 0, 0.78, 0), opacity 0.05s ease-out;
    -moz-transition: transform 1.2s cubic-bezier(0.64, 0, 0.78, 0), opacity 0.05s ease-out;
    -ms-transition: transform 1.2s cubic-bezier(0.64, 0, 0.78, 0), opacity 0.05s ease-out;
    -o-transition: transform 1.2s cubic-bezier(0.64, 0, 0.78, 0), opacity 0.05s ease-out;

    transform: translateX(12px) translateY(0) translateZ(0);
    -moz-transform: translateX(12px) translateY(0) translateZ(0);
    -o-transform: translateX(12px) translateY(0) translateZ(0);
    -ms-transform: translateX(12px) translateY(0) translateZ(0);
    -webkit-transform: translateX(12px) translateY(0) translateZ(0);
}

.user-pane-expanded .playlist-item-contents,
.user-pane-expanded .playlist-entry,
.user-pane-expanded .history-item
{
    opacity: 1;

    transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    -ms-transform: translateX(0);
    -webkit-transform: translateX(0);

    transition: transform 1.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease-out;
    -webkit-transition: transform 1.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease-out;
    -moz-transition: transform 1.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease-out;
    -ms-transition: transform 1.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease-out;
    -o-transition: transform 1.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease-out;
}

.list-placeholder{
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 80%;
    height: 160px;
    color: #888;
    text-align: center;
    font-size: 12px;
}

.list-placeholder i{
    border-radius: 10px;
    background-color: #f7f7f7;
    border: 1px solid #e0e0e0;
    width: 48px;
    text-align: center;
    cursor: default;
    margin-top: 7px;
}

#user-pane-content-box{
    position: relative;
	width: 100%;
	height: 100%;
}

#user-pane-content-box h1{
    font-size: 20px;
}

/* ========== PRE-LOGIN ========== */
/* (I.e. elements we show before a user logs in) */

/* Login UI */
.dialog-pane{
    padding: 0 10px;
}

.dialog-pane h2{
    text-align: center;
    margin-bottom: 24px;
}

.login-btn-box{
    text-align: center;
    padding: 3px 0;
}

.login-btn{
    display: inline-block;
    background-color: #fff;
    height: 40px;
    line-height: 42px;
    border-radius: 10px;
    padding: 0 28px;
    margin: 5px auto 14px 0;
    color: #854a45;
    font-size: 13px;
    border-radius: 20px;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.16), 0 0 0 1px rgba(0,0,0,0.08);
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
}

.login-btn:hover{
    color: #613633;
}

.login-btn.social{
    display: inline-block;
    font-size: 12px;
    padding: 0 8px 0 32px;
    width: 128px;
    margin: 0;
    vertical-align: top;
}

.login-btn span{
    font-weight: bold;
}

.login-link-btn{
    height: auto;
    line-height: 1.6;
    font-size: 12px;
    font-weight: normal;
    text-decoration: underline;
    text-align: left;
}

#login-social-box{
    text-align: center;
    margin: 29px 0 9px 0;
    vertical-align: top;
}

#login-facebook-btn{
    height: 41px;
    background-image: url('../img/fb_small.png');
    background-size: 29px 29px;
    background-position: 8px 4px;
    background-position-x: 8px;
    background-position-y: 4px;
    background-repeat: no-repeat;
    background-color: #3a5897;
    color: #fff;
    padding-top: 1px;
}

#login-google-btn{
    position: relative;
    display: inline-block;
    color: #555;
    padding: 0;
    width: auto;
}

.login-connect-device-box{
    position: relative;
    text-align: right;
}

.login-connect-device-box > p{
    text-align: right;
    margin: 0;
    padding: 3px 36px 0 16px;
}

.connect-device-btn{
    position: absolute;
    top: 0;
    right: 0;
    background-image: url('../img/connect-via-device-240.png');
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center;
    height: 26px;
    width: 26px;
    padding: 0;
    margin: 0;
}

.dialog-pane form{
    display: block;
    width: 100%;
    padding: 12px 12px 8px 12px;
    margin: 3px auto 18px auto;
    font-size: 12px;
    background-color: #f7f7f7;
    box-sizing: border-box;
    border-radius: 12px;
}

.dialog-pane input{
    width: 100% !important;
    border-radius: 6px;
    height: 30px;
    line-height: 30px;
}

.dialog-pane label{
    font-size: 11px;
    margin-bottom: 2px;
}

#dialog-form-busy-indicator{
    text-align: center;
    margin: 0 auto;
}

.dialog-keyboard-input-box{
    position: relative;
}

.dialog-keyboard-input-box input{
    height: 36px;
    padding: 10px 10px 7px 40px;
    margin-bottom: 3px;
}

/* Logout */
#profile-pane-connect-device{
    padding: 25px 12px 28px 18px;
    margin: 3px auto 18px auto;
    font-size: 12px;
    background-color: #f7f7f7;
    box-sizing: border-box;
    border-radius: 12px;
    text-align: center;
}

#profile-pane-connect-device > p{
    display: inline-block;
    text-align: center;
}

#profile-pane-connect-device > p > span{
    vertical-align: top;
}

#profile-pane-connect-device > p > a{
    position: relative;
    vertical-align: top;
    margin: -3px 0 0 7px;
}

#profile-pane-logout-box{
    position: relative;
    padding: 3px 46px 0 0;
    margin-top: 20px;
    text-align: center;
}

#profile-pane-logout-box > p{
    text-align: right;
    margin: 0;
}

#profile-pane-logout-box > p:first-child{
    font-size: 12px;
}

#profile-pane-logout-box > p.small-text{
    font-size: 9px;
}

#logout-btn{
    position: absolute;
    top: 0;
    right: 0;
    background-color: #aeaeae;
    border-radius: 20px;
    width: 40px;
    height: 40px;
    padding: 7px 0 0 1px;

    box-shadow: 1px 1px 15px 0px rgb(0 0 0 / 18%) inset;
    -webkit-box-shadow: 1px 1px 15px 0px rgb(0 0 0 / 18%) inset;
    -moz-box-shadow: 1px 1px 15px 0px rgba(0,0,0,0.18) inset;
}

#logout-btn > i{
    color: #fff;
}

/* Login-again dialog */
#login-again-box{
    text-align: center;
    margin-top: 24px;
}

#login-again-box > div{
    position: relative;
    display: inline-block;
}

#login-again-box .user-display-name-ui{
    display: inline-block;
    background-color: #fff;
    padding: 0 12px 0 10px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
}

#login-again-box.multiple-profiles .user-display-name-ui{
    border-right: none;
    margin-right: 35px;
    border-radius: 20px 0 0 20px;
}

#login-again-more-btn{
    position: absolute;
    display: none;
    top: 0;
    right: 0;
    width: 36px;
    height: 36px;
    border: 1px solid #e0e0e0;
    border-radius: 0 20px 20px 0;
    border-left-color: #f0f0f0;
}

#login-again-more-btn > i{
    padding: 8px 2px 0 0;
}

#login-again-box.multiple-profiles #login-again-more-btn{
    display: block;
}

#login-again-edit-box{
    position: absolute;
    top: 352px;
    right: 12px;
}

#login-again-edit-btn{
    display: inline-block;
    width: 36px;
    height: 36px;
    background-color: #f0f0f0;
    border-radius: 18px;
}

#login-again-edit-btn > i{
    padding: 9px;
}

#login-again-edit-ok-btn > span{
    padding-left: 18px;
}

#login-again-edit-cancel-btn,
#login-again-edit-ok-btn{
    display: none;
}

body.login-again-editing #login-again-edit-btn{
    display: none;
}

body.login-again-editing #login-again-edit-cancel-btn,
body.login-again-editing #login-again-edit-ok-btn{
    display: inline-block;
}

body.login-again-editing #login-again-items > a{
    cursor: default;
}

#login-again-items{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    overflow: auto;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 88px 0 24px 0;
}

#login-again-items > a{
    position: relative;
    display: inline-block;
    padding: 0 10px;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
    margin-bottom: 24px;
}

#login-again-items > a > a.delete-btn{
    position: absolute;
    display: none;
    top: 6px;
    right: -24px;
    width: 22px;
    height: 22px;
    border-radius: 11px;
}

#login-again-items > a > a.delete-btn > i{
    padding: 2px;
    border-radius: 11px;
}

body.non-touch-device #login-again-items > a > a.delete-btn:hover > i,
body.non-touch-device #login-again-items > a > a.delete-btn:active > i{
    color: #fff;
    background-color: #888;
}
body.login-again-editing #login-again-items > a > a.delete-btn{
    display: block;
}

/* Signup */
#signup-box > p.second{
    margin-bottom: 17px;
}

#signup-form > hr{
    margin: 17px 0 11px 0;
    border-top: 2px solid #fff;
}

#signup-box input{
    margin-bottom: 10px;
}

#signup-form-name-keyboard-btn{
    position: absolute;
    top: 0;
    left: 0;
    height: 32px;
    width: 48px;
    background-position: 5px 5px;
    background-position-x: 5px;
    background-position-y: 5px;
}

#signup-name-note{
    display: block;
    color: #888;
    font-size: 10px;
    margin-left: 11px;
}

#user-dialog-form{
    padding-bottom: 4px;
    margin-bottom: 20px;
}

#basic-login-btn{
    margin: 0 0 12px 0;
}

#login-forgot-password-btn{
    display: block;
    font-size: 10px;
    color: #888;
    padding: 0 8px 2px 3px;
    text-align: right;
    margin-top: -4px;
}

#forgot-password-email-sent-form{
    padding-top: 8px;
}

#forgot-password-email-sent-form > div{
    text-align: left;
}

/* ========== POST-LOGIN ========== */
/* (what we show after user logs in. I.e. the logged-in user's "home" (located inside the user pane.)) */

/* User Pane Home */
#user-home-header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

#user-home-title{
    position: relative;
    height: 64px;
    text-align: center;
    font-size: 0;
}

#user-pane-help-btn{
    position: absolute;
    top: 39px;
    right: 56px;
    font-size: 11px;
}

#user-pane-close-btn{
    position: absolute;
    top: 3px;
    left: 3px;
    width: 38px;
    height: 38px;
    margin: 0 13px 12px 0;
    border-radius: 20px;
}

#user-pane-close-btn > i{
    width: 38px;
    height: 38px;
    border-radius: 20px;
    text-align: center;
    line-height: 38px;
}

body.non-touch-device #user-pane-close-btn:hover > i,
body.non-touch-device #user-pane-close-btn:active > i{
    background-color: #f0f0f0;
}

#user-pane-profile-btn{
    position: absolute;
    top: 14px;
    right: 12px;
    height: 40px;
    width: 40px;
    padding: 7px 8px;
    line-height: 24px;
    background-color: #f7f7f7;
    border-radius: 20px;
    box-shadow: 1px 1px 15px 0px rgb(0 0 0 / 10%) inset;
    -webkit-box-shadow: 1px 1px 15px 0px rgb(0 0 0 / 10%) inset;
    -moz-box-shadow: 1px 1px 15px 0px rgba(0,0,0,0.1) inset;
}

body.non-touch-device #user-pane-profile-btn:hover{
    background-color: #f7f7f7;
}

body.non-touch-device #user-pane-profile-btn:hover > i,
body.non-touch-device #user-pane-profile-btn:active > i{
    color: #5378B7;
}

#user-pane-profile-btn > i{
    color: #888;
}

#user-home-title > h4{
    position: absolute;
    left: 0;
    right: 0;
    top: 8px;
    color: #888;
    font-size: 10px;
}

/* User Pane Home Tabs */
#user-home-tab-bar.tab-bar{
    position: relative;
    display: inline-block;
    border-radius: 7px;
    margin: 30px 22px 0 0;
    text-align: center;
    background-color: #f0f0f0;
}

#user-home-tab-bar > .tab{
    position: relative;
    display: inline-block;
    width: 80px;
    height: 28px;
    font-size: 11px;
    font-weight: normal;
    color: #555;
    line-height: 28px;
    text-align: center;
    z-index: 10;
}

#user-home-tab-token {
    position: absolute;
    left: 2px;
    top: 2px;
    background-color: #fff;
    border-bottom: none;
    width: 76px;
    height: 24px;
    border-radius: 6px;
    -webkit-box-shadow: 2px 2px 16px 0px rgb(0 0 0 / 4%);
    -moz-box-shadow: 2px 2px 16px 0px rgba(187, 65, 65, 0.04);
    box-shadow: 2px 2px 16px 0px rgb(0 0 0 / 4%);
    transform: translate3d(0, 0, 0);
    transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1);
}

#user-home-tab-bar .tab.selected{
    font-weight: bold;
}

body.user-pane-history #user-home-tab-token {
    transform: translateX(80px);
}

.user-pane-tab-box{
    position: absolute;
    top: 64px;
    bottom: 0;
    right: 0;
    width: 439px;
}

/* User Pane Dialog */
.user-pane-dialog{
    margin: auto 0;
    top: 104px;
    left: 10%;
    right: 10%;
    position: absolute;
    width: 80%;
    background-color: #fff;
    box-shadow: 0 16px 24px 2px rgba(0, 0, 0, 0.14), 0 6px 30px 5px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.4);
    padding: 11px 12px 10px 12px;
    border-radius: 12px;
    z-index: 2001;
}

#user-playlists-overlay{
    z-index: 2000;
}

.user-pane-dialog h4{
    color: #4285f4;
    margin: 18px 0 14px 0;
}

.user-pane-dialog p{
    font-size: 12px;
    color: #555;
    margin-bottom: 14px;
}

.user-pane-dialog form{
    position: relative;
    margin-bottom: 16px;
}

.user-pane-dialog input {
    width: 100% !important;
    border-radius: 8px;
    height: 36px;
    padding-left: 40px;
    margin: 0;
}

.user-pane-dialog .keyboard-btn{
    position: absolute;
    top: 0;
    left: 0;
    height: 32px;
    width: 48px;
    background-position: 5px 5px;
    background-position-x: 5px;
    background-position-y: 5px;
}

.user-pane-dialog .pill{
    font-size: 12px;
    height: 35px;
    border-radius: 18px;
    padding: 0 8px;
    min-width: 64px;
    font-weight: bold;
}

.user-pane-dialog .pill.primary{
    float: right;
    background-color: #4285f4;
    color: #fff;
    border-color: #4285f4;
}

.user-pane-dialog .x-btn{
    position: absolute;
    right: 0;
    top: 2px;
    padding: 4px 6px 0 6px;
    width: 36px;
    height: 36px;
    display: block;
}

#user-playlists-edit-name-busy{
    display: block;
    position: absolute;
    right: 84px;
    bottom: 12px;
    width: 32px;
    height: 32px;
    background-color: #fff;
    opacity: 0.4;
    background-image: url(../img/spinner.gif);
    background-position: center center;
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
    background-size: 32px 32px;
}

/* ========== PLAYLISTS ========== */
#user-pane-current-playlist-box{
    border-bottom: 1px solid #d9d9d9;
}

#user-pane-current-playlist-box > .inline-alert{
    z-index: 100;
}

#user-playlists-select-list a{
    display: block;
    padding: 8px;
    background-color: #f7f7f7;
    border-radius: 3px;
    margin-bottom: 8px;
    color: #854a45;
}

#user-playlists-select-list a:hover{
    background-color: #ececec;
}

#user-playlists-select-cancel{
    float: right;
}

/* User Profile */
#profile-pane{
    position: relative;
    transform: translateX(0);
}

#profile-pane-user-img{
    position: relative;
    display: block;
    width: 100%;
    text-align: center;
    padding: 28px 0;

    background-color: #5378B7;
    background-image: url(../img/blue_pattern.png);
    background-size: 120px 120px;
    background-repeat: repeat;
    box-shadow: 1px 1px 15px 0px rgb(0 0 0 / 18%) inset;
    -webkit-box-shadow: 1px 1px 15px 0px rgb(0 0 0 / 18%) inset;
    -moz-box-shadow: 1px 1px 15px 0px rgba(0,0,0,0.18) inset;

    border-radius: 3px;
}

#profile-pane-user-img > img{
    display: inline-block;
    width: 100px;
    height: 100px;
    filter: blur(0px);
    opacity: 1;
    -webkit-backdrop-filter: blur(0);
    vertical-align: top;
}

#profile-pane .user-display-name-ui{
    max-width: 100%;
    margin: 4px 0 11px 0;
}

#profile-sermon-box{
    position: absolute;
    display: none;
    left: 12px;
    right: 12px;
    top: 101px;
    background-color: #fff;
    background: #00000015;
    border-radius: 4px;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    background-color: rgba(255, 255, 255, 0.5);
    margin: 0 2px;
    padding: 10px 0;
    text-align: center;
}

#profile-sermon-box > audio{
    max-height: 48px;
    width: 100%;
    border-radius: 8px;
    background-color: #f7f7f7;
}

#profile-sermon-box > audio,
#profile-sermon-box > audio:focus,
#profile-sermon-box > audio:active{
    outline: none;
}

#profile-sermon-close-btn{
    position: absolute;
    left: 7px;
    top: 7px;
}

#profile-pane.sermon-box-visible #profile-sermon-box{
    display: block;
}

#profile-pane.sermon-box-visible #profile-pane-user-img{
    cursor: default;
}

#profile-sermon-close-btn > i{
    color: #f7f7f7;
}

.user-display-name-ui{
    text-align: center;
    font-weight: bold;
    height: 36px;
    max-width: 340px;
}

.user-display-name-ui > img{
    width: 16px;
    height: 16px;
    border-radius: 8px;
    margin: 10px 4px 10px 0;
}

.user-display-name-ui > span{
    height: 36px;
    line-height: 36px;
    vertical-align: top;
}

/* Playlists */
.user-pane-inner-box{
    position: relative;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
}

.upper.user-pane-inner-box{
    height: 64%;
    min-height: 64%;
    max-height: 64%;
}

.lower.user-pane-inner-box{
    height: 36%;
    min-height: 36%;
    max-height: 36%;
}

.user-pane-list-box{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    border-top: 1px solid #d9d9d9;
}

.user-pane-list-box-header{
    height: 40px;
    line-height: 40px;
    background-color: #fbfbfb;
    border-bottom: 1px solid #f0f0f0;
}

.user-pane-list-box-header h4{
    display: block;
    height: 40px;
    line-height: 44px;
    font-size: 12px;
    margin: 0 32px 0 14px;
    color: #777;
    font-weight: bold;
}

.user-pane-item-list{
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: scroll;
    overflow-y: auto;
    overflow-x: hidden;
}

a.user-pane-btn{
    display: inline-block;
    /*color: #4285f4;*/
    color: #777;
    height: 32px;
    border-radius: 20px;
    margin: 4px 0 0 4px;
    display: inline-block;
    width: auto;
}

.user-pane-btn > i{
    border: none;
}

.user-pane-btn > span{
    font-size: 11px;
    white-space: nowrap;
    padding: 0 3px;

    height: 24px;
    line-height: 24px;
    vertical-align: text-bottom;
}

.user-pane-btn.text-btn{
    position: relative;
    width: 64px;
    white-space: nowrap;
    vertical-align: top;
    background-color: #4285f4;
    color: #fff;
    border: 1px solid #fff;
    text-align: center;
    padding: 0 4px;
    margin-top: 3px;
}

.user-pane-btn.text-btn > i{
    position: absolute;
    left: 2px;
    top: 0;
}

.user-pane-btn.text-btn span{
    margin-top: 4px;
    vertical-align: top;
    display: inline-block;
}

.user-pane-btn i.md-18{
    margin: 7px;
}

.user-pane-btn i.md-24{
    margin: 4px;
}

#user-playlists-edit-done-btn{
    float: right;
    display: none;
    margin-right: 0;
    margin-left: 8px;
}

#user-playlists-edit-cancel-btn{
    float: right;
    margin-right: 5px;
    margin-left: 4px;
    display: none;
}

#user-playlists-edit-done-btn > span{
    padding-left: 18px;
}

.delete-playlist-pending #user-playlists-edit-done-btn{
    background-color: #ba0000;
}

#user-playlists-current-playlist-title{
    position: relative;
    height: 40px;
    line-height: 44px;
    text-align: left;
    color: #854a45;
    padding-left: 3px;
}

.editing #user-playlists-current-playlist-title{
    margin-left: 6px;
    padding: 0 36px 0 8px;
    cursor: pointer;
    color: #555;
}

.editing #user-playlists-current-playlist-title::before{
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 4px;
    top: 3px;
    border: 1px dashed #4285f4;
    border-radius: 8px;
}

.editing #user-playlists-current-playlist-title::after{
    content: "\E254";
    position: absolute;
    right: 4px;
    top: -1px;
    width: 24px;
    height: 20px;
    font-family: 'Material Icons';
    font-size: 18px;
    font-feature-settings: 'liga';
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.editing #user-playlists-current-playlist-list > .list-placeholder{
    display: none;
}

.delete-playlist-pending #user-playlists-current-playlist-title::before{
    border: 1px solid #888;
}

.delete-playlist-pending #user-playlists-current-playlist-title{
    color: #888;
}

.editing #user-playlists-edit-done-btn,
.editing #user-playlists-edit-cancel-btn{
    display: block;
}

.editing .playlist-item-url{
    cursor: default;
}

#user-playlists-busy{
    position: absolute;
    right: 4px;
    top: 40px;
}

#user-pane-all-playlists-header > h4{
    margin-left: 14px;
}

#user-playlists-downloading{
    color: #888;
    background: url(../img/spinner.gif) no-repeat;
    background-size: 24px 24px;
    margin: 8px 0 0 10px;
    padding: 5px 0 0 32px;
    width: 24px;
    height: 24px;
    font-size: 11px;
}

#user-playlists-playlists-download-btn > span {
    margin-top: 6px;
    vertical-align: top;
}

#user-playlists-playlists-download-btn > i {
    margin-top: 5px;
}

#user-playlists-box.playlist-downloading a#user-playlists-playlists-download-btn{
    cursor: default !important;
}

#user-playlists-box.playlist-downloading #user-playlists-playlists-download-btn > i{
    color: #aeaeae;
}

#user-playlists-current-playlist-edit-btn,
#user-playlists-playlists-download-btn,
#user-playlists-playlists-create-btn,
#user-history-search-btn{
    float: right;
    margin-right: 4px;
}

.empty-playlist#user-pane-current-playlist-box,
.empty-playlist #user-playlists-current-playlist-list{
    background-color: #e0e0e0;
}

.editing #user-playlists-current-playlist-edit-btn,
.editing #user-playlists-playlists-download-btn,
.editing #user-playlists-playlists-create-btn,
.empty-playlist #user-playlists-current-playlist-edit-btn,
.empty-playlist #user-playlists-playlists-download-btn{
    display: none;
}

.playlist-entry{
    display: block;
    padding: 8px 13px;
    color: #777;
    font-weight: bold;
    border-bottom: 1px solid #f0f0f0;
}

body.non-touch-device .playlist-entry:hover,
.playlist-entry.selected{
    background-color: #f7f7f7 !important;
}

.editing .playlist-entry{
    cursor: default;
}

.playlist-entry.selected {
    color: #854a45 !important;
}

.playlist-entry:hover,
.playlist-entry:focus,
.playlist-entry:active{
    color: #777;
    border-bottom: 1px solid #f0f0f0;
}

.playlist-entry span{
    float: right;
    font-weight: normal;
}

.playlist-item-list{
    border: 1px solid #f0f0f0;
    border-radius: 0 0 6px 6px;
    padding: 0 4px 8px 0;
}

#user-playlists-current-playlist-list{
    bottom: 40px;
    box-sizing: border-box;
    background-color: #fff; /* Is this necessary for drag/drop mechanism to function properly. Otherwise remove this! */
}

#user-playlists-current-playlist-bottom-bar{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    border-top: #f0f0f0 1px solid;
}

#user-playlists-delete-btn{
    margin-top: 3px;
    display: none;
}

.editing #user-playlists-delete-btn{
    display: inline-block;
}

#user-playlists-delete-btn > i{
    color: #ba0000;
    font-weight: bold;
    margin: 4px;
    padding: 3px;
    border-radius: 12px;
}

#user-playlists-delete-btn > i:hover{
    background-color: #ba0000;
    color: #fff;
}


.delete-playlist-pending #user-playlists-delete-btn{
    display: none !important;
}

.delete-playlist-pending #user-playlists-current-playlist-list{
    background-color: #ececec;
}

/* Playlist item */
.playlist-item{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: hidden;
    background-color: #fff;
}

.user-playlists-box.editing .playlist-item{
    overflow: visible;
    overflow-x: visible;
    overflow-y: visible;
}

.playlist-item-contents{
    height: 100%;
    border-bottom: 1px solid #f0f0f0;
}

.playlist-item-url{
    display: block;
    background-image: url('../img/dhamma-chakra-small.png?v=1.1');
    background-position: 12px 15px;
    background-position-x: 12px;
    background-position-y: 15px;
    background-size: 16px 16px;
    background-repeat: no-repeat;
    padding: 13px 12px 11px 36px;
    overflow: visible;
    overflow-y: visible;
    overflow-x: hidden;
}

.playlist-item.now-playing,
.playlist-item.now-playing:hover{
    background-color: #fff;
}

.playlist-item a{
    background-color: #fff;
    -webkit-transition: background-color 1s cubic-bezier(0.47, 0, 0.745, 0.715);
    -ms-transition: background-color 1s cubic-bezier(0.47, 0, 0.745, 0.715);
    transition: background-color 1s cubic-bezier(0.47, 0, 0.745, 0.715);
}

.playlist-item.highlight a{
    background-color: #e1ceb9;
    -webkit-transition: background-color 0.4s cubic-bezier(0.32, 0, 0.67, 0);
    -ms-transition: background-color 0.4s cubic-bezier(0.32, 0, 0.67, 0);
    transition: background-color 0.4s cubic-bezier(0.32, 0, 0.67, 0);
}

.editing .playlist-item.now-playing{
    background-color: #fff;
}

.playlist-item.now-playing a{
    position: relative;
    cursor: default;
    color: #874d08;
}

.playlist-item .playlist-item-duration{
    float: right;
    color: #888;
    font-size: 12px;
    border-radius: 5px;
}

.playlist-item:hover{
    background-color: #f7f7f7;
}

/* Editing (Playlist) */
.editing .playlist-item:hover{
    background-color: #fff;
}
.playlist-item.item-mode-drag,
.playlist-item.item-mode-drag a,
.playlist-item.item-mode-drag i{
    cursor: ns-resize !important;
}

.editing .item-contents > a{
    cursor: default;
    vertical-align: top;
}

.editing .playlist-item.item-mode-drag{
    background-color: #fff;
    -webkit-box-shadow: 0px 2px 12px 0px rgba(0,0,0,0.16);
    -moz-box-shadow: 0px 2px 12px 0px rgba(0,0,0,0.16);
    box-shadow: 0px 2px 12px 0px rgba(0,0,0,0.16);
    margin: -1px 0 1px 0;
    z-index: 50000;
}

.editing .playlist-item > a{
    cursor: default;
}

.editing .playlist-item .playlist-item-duration{
    display: none;
}

.playlist-item .edit-controls{
    float: right;
    clear: right;
    width: 132px;
    text-align: right;
    display: none;
}

.editing .playlist-item .edit-controls{
    display: block;
}

.playlist-item .edit-controls > a{
    display: inline-block;
    text-align: center;
    height: 100%;
}

.playlist-item .edit-grip {
    display: inline-block;
    height: 28px;
    width: 48px;
    cursor: default;
    text-align: center;
    border-radius: 3px;
    margin: 10px 4px 4px 4px;
    vertical-align: top;
    background-color: #f7f7f7;
}

.playlist-item .edit-grip i {
    cursor: default;
    color: #4285f4;
    cursor: ns-resize;
    line-height: 28px;
    height: 28px;
}

.playlist-item .edit-delete{
    display: inline-block;
    margin: 12px 10px 0 6px;
    border-radius: 12px;
    width: 24px;
    height: 24px;
    vertical-align: top;
}

.playlist-item:hover .edit-delete{
    background-color: #fff;
}

.playlist-item .edit-delete i{
    display: block;
    height: 24px;
    line-height: 24px;
    color: #4285f4;
    border-radius: 12px;
}

.playlist-item.item-mode-non-drag .edit-delete:hover i{
    background-color: #4285f4;
    color: #fff;
}

/* History */
.history-item{
    display: block;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid #ececec;
    background-image: url('../img/dhamma-chakra-small.png?v=1.1');
    background-position: 12px 15px;
    background-position-x: 12px;
    background-position-y: 15px;
    background-size: 16px 16px;
    background-repeat: no-repeat;
    padding: 13px 12px 12px 36px;
    overflow: visible;
    overflow-y: visible;
    overflow-x: hidden;
}

.history-item:hover,
.history-item:active,
.history-item:focus{
    background-color: #f7f7f7;
    border-bottom: 1px solid #ececec !important;
}

.history-item a{
    display: block;
}
.history-item .time{
    display: block;
    text-align: right;
    color: #888;
    font-size: 11px;
    margin: 6px 0 0 0;
}

#user-history-load-more{
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;

    background-color: #d9d9d9;
    display: block;
    margin: 0 auto;
    width: 60%;
    height: 28px;
    line-height: 28px;
}

#user-history-load-more-btn{
    opacity: 1;
    text-align: center;
    margin: 12px 8px;
    padding-top: 10px;
    background-color: #f0f0f0;
    color: #555;
    font-weight: bold;
    border-radius: 8px;
    width: auto;
}


#user-history-all-loaded{
    text-align: center;
    color: #888;
    font-size: 12px;
    padding: 10px;
}

#reset-password-form-busy-indicator{
    float: right;
}

/* Connect to other device dialog page */

.qr-code-box{
    text-align: center;
    padding: 20px 0;
    height: 176px;
}

.qr-code-box > img{
    width: 132px;
    height: 132px;
    border: 2px solid #f0f0f0;
    border-radius: 18px;
}

.text-code-box{
    text-align: center;
    padding: 19px 0 21px 0;
}

.text-code-box > span{
    display: inline-block;
    width: 136px;
    height: 136px;
    line-height: 134px;
    font-size: 32px;
    letter-spacing: 6px;
    font-weight: bold;
    border: 2px solid #f0f0f0;
    border-radius: 18px;
}

#connect-from-device-box > .busy-indicator{
    text-align: center;
    margin: 0 auto 11px auto;
}

/* https://codepen.io/seancurtis/pen/JWPoXo */
.text-code-input-box > form{
    position: relative;
    display: inline-block;
    width: 250px;
    height: 50px;
    text-align: left;
}

input[type="number"].text-code-input{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 32px !important;
    width: 290px;
    max-width: 290px;
    margin: 13px 0 0 0;
    z-index: 10;
    padding: 7px 10px 6px 18px;
}

input[type="number"].text-code-input,
input[type="number"].text-code-input:hover
input[type="number"].text-code-input:focus,
input[type="number"].text-code-input:active{
    background-color: transparent !important;
    letter-spacing: 48px;
    font-weight: bold;
    outline: none;
    border: none !important;
}

/* Hide up/down spinner: Chrome, Safari, Edge, Opera */
.text-code-input::-webkit-outer-spin-button,
.text-code-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide up/down spinner: Firefox */
.text-code-input[type=number] {
  -moz-appearance: textfield;
}

.text-code-input-box .frames{
    position: absolute;
    left: 3px;
    top: 7px;
    pointer-events: none;
    width: 298px;
}

.text-code-input-box .frames > span{
    display: inline-block;
    width: 47px;
    height: 49px;
    border-radius: 12px;
    border: 3px solid #f1d59e;
    margin-right: 19px;
}

#connect-to-other-device-box{
    position: relative;
    width: 100%;
    height: 100%;
}

#connect-to-other-device-title-box{
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
}

#connect-to-other-device-qr-code-box{
    position: absolute;
    left: 0;
    top: 56px;
    bottom: 56px;
    width: 50%;
    text-align: center;
}

#connect-to-other-device-text-code-box{
    position: absolute;
    right: 0;
    top: 56px;
    bottom: 56px;
    width: 50%;
    text-align: center;
}

#connect-to-other-device-qr-code-box > p,
#connect-to-other-device-text-code-box > p{
    display: inline-block;
    padding: 8px;
    max-width: 164px;
}

#connect-to-other-device-sep{
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    bottom: 56px;
    margin: 0 auto;
    width: 2px;
    background-color: #f0f0f0;
    border-radius: 2px;
}

#connect-to-other-device-box .profile-connect-symbols{
    margin-left: 20px;
}

/* Connect from other device dialog page */

#connect-from-device-box > p.description{
    text-align: left;
    padding: 0 24px;
}

.profile-connect-symbols{
    display: inline-block;
    transform-origin: left top;
    transform: scale(0.82);
}

#connect-from-device-box .profile-connect-symbols{
    margin: 11px 0 13px 30px;
}

.profile-connect-symbols > div,
.profile-connect-symbols > i{
    position: static !important;
    box-shadow: none !important;
    display: inline-block;
    vertical-align: middle;
    pointer-events: none;
}

.profile-connect-symbols > i{
    color: #ccc;
    margin-left: 3px;
}

.profile-connect-symbols > #open-user-pane-btn{
    padding: 0;
    background-color: #f7f7f7;
}

.profile-connect-symbols > .connect-device-btn{
    width: 38px;
    height: 38px;
    margin-top: 3px;
}

/* Search in activity history */
#search-in-activity-history-box button{    
    height: 36px;
    line-height: 38px;
    margin: 6px 0 2px 0;
}

#search-in-activity-history-box > p{
    text-align: left;
    margin-bottom: 14px;
}

#search-in-activity-history-box > .dialog-form > p{
    font-size: 11px;
    margin: 22px 0 4px 0;
}