*{
	margin:0;
	padding:0;
	border:0;
	outline:none;
}

html {
	overflow: hidden;
}

body {
    display: flex;
    flex-direction: column;
}

header, footer {
	height: 35px;
	line-height: 35px; /* This is to center text vertically and only works if there is one line of text! */
	text-align: center;
	border: 2px solid #CCC;
	margin: 0 0;
}

footer {
	font-size: smaller;
}

img {
	/*transition: all .25s ease;*/
	transition: background-image .25s ease;
}



a { 
	text-decoration: none; 
}

.nap-scrollbar::-webkit-scrollbar
{
	height: 8px;
	width: 5px;
}
.nap-scrollbar::-webkit-scrollbar-thumb
{
	min-height: 20%;
	cursor: pointer;
}

.nap-icon, .nap-icon-l {	
	color: rgba(0,0,0,.87);
	cursor: pointer;
	-moz-user-focus: none;
	moz-user-focus: -moz-none;
	user-focus: none;
}

/*
.nap-ellipsis {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
*/

.nap-bar {
    display: flex; 
    padding: 10px;
}

.nap-search-bar {
	display: none;
}

.nap-top-bar > div {
	width: 33.333%
}

.nap-bar-block {
	display: flex;
	align-items: center;
	padding: 5px;
}

.nap-block-title {
    font-weight: bold;
}

.nap-left-block {
	justify-content: flex-start;
}

.nap-center-block {
	justify-content: center;
}

.nap-right-block {
	justify-content: flex-end;
}

.nap-menu {
	margin-right: 5px;
}

.nap-search-input {
	flex: 1;
    height: 100%;
    border: 0;
    padding: 0 5px;
}

.nap-search-bar .nap-left-block {
	display: none;
}

.nap-search-bar .nap-center-block {
	display: flex;
	flex: 1;
}

.nap-scrollbar {
	width: 100%;
	display: contents;
	overflow: auto;	
	cursor: pointer;
}

.nap-list {	
	margin-right: 10px;
	padding: 0;
}

.nap-list > li {
	display: inline-block;
	padding: 5px;
	box-sizing: border-box;
}

#nap-cover {
    padding-bottom: 100%;   /* ??? */
    background-image: url(../img/nap.gif);
   /* background-size: cover;*/
   background-size: contain; 
   background-repeat: no-repeat;
}

#nap-cover-container:before {
	content: "";
    display: block;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    background-color: rgba(255, 255, 255, 0.6);	/* semi transparent */	
}

#nap-info-and-volume {
	display: flex;
	margin: 10px;	
}

#nap-app-title {
	display: flex;
	flex-direction: column;
    align-items: center;	
    align-self: flex-end;
    margin-bottom: 10px;
}

#nap-song-info {
    /*display: flex;
    flex-direction: column;
    justify-content: center;*/
    width: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
    line-height: 1em;
    font-size: 1.3em;
}

h1.scroll {
    position: relative;
    width: 100%;
    white-space: nowrap;    
    display: block; 
    font-size: inherit; 
    margin: 1px; 
    font-size: normal;    
    font-weight: normal;	
}

#nap-song-artist, #nap-song-title {
    position: relative;
    white-space: nowrap;
    /* border: 1px solid red; */
}

#nap-volume-controls {
	display: flex;
	justify-content: center;
	align-self: flex-end;
}

#nap-volume-group {
	display: flex;
    flex-direction: row;
}

#nap-volume-bar {
	display: flex;	
	flex: 1;
	/*justify-content: center;*/
	align-items: center;
	cursor: pointer;
	/*border: 1px solid red;*/
}

#nap-volume-level {
	position: absolute;
    height: inherit;	
}

#nap-volume-bg {
	position: relative;	
	width: 100%;
	height: 6px;
	margin: 0 5px;
}

.jp-volume-bar {
    position:relative;
}
.jp-volume-bar-value {
    position:absolute;
    bottom: 0;
}

#nap-progressbar {
	height: 15px;
    cursor: pointer;
    touch-action: none;
    margin-bottom: 2px;
}

#nap-progressbar-bg {
	width: 100%;
	height: 5px;
    /*cursor: pointer;*/
}

#nap-time-group {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

#nap-progress-level {
	height: 100%;
}	

.nap-time {
	margin-top: 2px;
	font-size: 11px;
}

#nap-player-controls {
	display: flex;
	justify-content: space-between;
	z-index: 12000;
}


#nap-player-outer.jp-state-muted #nap-volume-down-btn {
	display: none; /* state muted, don't show volume down button */
}

#nap-player-outer.jp-state-muted #nap-volume-mute-btn {
	display: initial; /* state muted, show mute button */
}

#nap-player-outer:not(.jp-state-muted) #nap-volume-mute-btn {
	display: none; /* state not muted, don't show mute button */
}

#nap-player-outer:not(.jp-state-muted) #nap-volume-down-btn {
	display: initial; /* state not muted, show volume down button */
}

.nap-track, .nap-album {
	padding: 3px;
}

.nap-track, a.jp-playlist-item, .nap-album, a.nap-album-item  {
	display: flex;
	justify-content: space-between;
	width: 100%;
	padding: 3px;
}

.playLink {
	padding: 5px;
}


.nap-center-track-block, .nap-center-album-block {
	flex: 1;
	margin: 0 5px;
	overflow: hidden;
	overflow-wrap: break-word;
}

.nap-thumb {
	width: 50px;
	height: 50px;
}

.jp-track, .nap-audio-format, .nap-audio-channels, .nap-audio-bitrate {
	font-size: x-small;
	padding: 1px 2px;
}

.jp-artist, .nap-album-artist {
	font-weight: bold;
}

.swiper {
	flex: 1 0 auto;
	font-family: 'Lato', sans-serif;	
}


.swiper-button-next, .swiper-button-prev {
	z-index: 1000;
}

.nap-top-bar {
	display: none; /* REMOVE THE TOP BAR ALL TOGETHER! */
}

.ctrl {
	cursor: pointer;
	font-size: 24px;
	-moz-user-focus: none;
	moz-user-focus: -moz-none;
	user-focus: none;
}

.nap-small {
    font-size: small;
}

.nap-xsmall {
    font-size: x-small;
}

.nap-content {
	display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* changed to flex-start programically */
	flex: 1;
	padding: 10px;
	overflow: hidden;
	height: calc(100vh - 170px); 
}

.start {
	justify-content: flex-start;
}

.nap-player-content {
	justify-content: space-evenly;
}

 .nap-player-content > div {
     
     width: 90vw;
     /* background-color: skyblue; */
     /* border: 1px solid red; */
 }
 
 #nap-jplayer-placeholder {
	display: none;
}

.container {
	display: flex;
	margin-top: -50px;
	justify-content: center;
	align-items: center;
}

.msg {
	padding: 10px;
	border: 1px solid #000; 
	/* width, see media query at the end of this file */
}


#nap-song-artist {
	font-weight: bold;
}

#nap-song-title {
	font-weight: normal;
}

.nap-player-background {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: -10000;
	background-size: cover; 
	/*filter: blur(40px);*/
}

video {
    object-fit: cover;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.nav {
    text-decoration: none;
    transition: all .3s ease 0s;
    cursor: pointer;
}

/* LARGE SCREENS */
 @media screen and (min-width: 480px) {
     .nap-player-content > div {
         max-width: 500px;
         max-height: 500px;
     }
     
    .msg {
		width: 400px;
	}
 } 
 
 /* SMALL SCREENS */
 @media screen and  (max-width: 480px) {
	.swiper-button-prev, .swiper-button-next, #nap-volume-group { 
		display: none; 
	}  
	
	.ctrl {
		font-size: 18px;	
	}
	
	#nap-song-info {
	    line-height: 1.1em;
    	font-size: 1em;
	}	
	
	.msg {
		width: 90%;
	}	
}
