/* reset */
* {margin:0; padding:0;}
img {border:none; max-width: 100%;}
a {text-decoration:none;}
*:focus {outline: none;}
/* *** */

body {
	font-family: 'Lato', sans-serif;
	background: #1e1e1e;
	color: #fff;
}

h1 {		
	font-family: 'Lobster', cursive;
	font-size: 50px;
	font-weight: normal;
	color: #325130;
	text-shadow: 3px 3px #000;
	text-align: center;
}

#playlist {
	background: #252526;
	width: 100%;
    max-width: 500px;
    margin: 20px auto;
    border: 1px solid #c5c5c6;
    padding: 30px;
    border-radius: 10px;
}

div.biisi {   
	padding: 10px 8px 14px 0px;
	border-top: 1px solid #494949;	
	cursor: pointer;
}
div.biisi:hover {background: #3c3c3c;}
div.biisi:last-child { 
    border-bottom: 1px solid #494949;	
}

div.biisi .fa-info-circle {	
	float: right;
	float: right;
    font-size: 23px;
    color: #c5c5c6;    
}

div.biisi .fa-volume-up {display: none;}


.fas {font-size: 16px;}
.biisinimi, .biisikesto {margin: 0 10px;}
#controls {
    margin: 54px 0 0 0;
    background: #181817;
    border: 1px solid #c5c5c6;
    padding: 15px 22px;
    border-radius: 40px;
    margin-bottom: 50px;
	position: relative;
}
#controls .fas {
	font-size: 40px;
	cursor: pointer;
	color: 	#c6c6c6;
	text-shadow: 3px 3px #000;
	margin-right: 5px;
}

.chosen {background: #1e1e1d}

/* PLAYER */
#albumFrame {
	-webkit-box-shadow: 4px 4px 25px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 4px 4px 25px 0px rgba(0,0,0,0.75);
	box-shadow: 4px 4px 25px 0px rgba(0,0,0,0.75);
}

#player {
	width: 100%;
	max-width: 330px;
	margin: 20px auto;
}

#pause {display: none;}

/* time bar */
#albumFrame {
	width: 100%;
	margin-bottom: 8px;	
}
#timeBarBg {
	margin: -2px 0 0 0;
	background: #4f4f4f;
	height: 8px;
	cursor: pointer;
	display: none;	
}

#timeBar {
	background: #3e7b3a;
	height: 100%;
	width: 0%;
}

#currentTime {
	float: left;
	font-size: 12px;
}
#duration {
	float: right;
	font-size: 12px;
}

.smallCtrl {
	font-size: 20px !important;
    position: relative;
    top: -7px;
}
.randomOn, .repeatOn {color: #007acc !important;}

#repeatAll, #repeatOne {
	color: #c6c6c6;
    font-size: 20px;    
    width: 20px;
    text-align: center;
    position: relative;
    left: -25px;
    top: 2px;
	text-shadow: 3px 3px #000;
	display: none;
}
#repeatOne {
	left: -21px;    
}

#songInfo {
	position: relative;
	background: url(../img/ruutuvihko_bg.png);
	padding: 32px 20px;
	display: none;
}
.fa-times-circle {
	position: absolute;
    top: 6px;
    right: 5px;
    font-size: 25px;
}
span.key {
	text-transform: capitalize;
	margin-right: 4px;
	font-weight: bold;
}
#songInfo p {	
	color: #1e1e1d;
	font-size: 18px;
    margin-bottom: 4px;
}

/* volume slider */
#volume {
    -webkit-appearance: none !important;
    margin: 0px;
    padding: 0px;
    background: #c5c5c6;
    height: 6px;
    border-bottom: #333 1px solid;
    margin-left: 10px;
    width: 90px;
    position: absolute;
    top: 32px;
    right: 20px;
}
#volume::-ms-fill-lower  {
	background: #c5c5c6;
}
#volume::-ms-fill-upper  {
	background: #c5c5c6;
}
#volume::-moz-range-track {
	border:none;
    background: #c5c5c6;
}
#volume::-webkit-slider-thumb {
    -webkit-appearance: none !important;
    background: #4178c8;
    height:11px;
    width:11px;
	border-radius:100%;
	cursor:pointer;
}
#volume::-moz-range-thumb {	
	background: #4178c8;
    height:11px;
    width:11px;
	border-radius:100%;
	cursor:pointer;
}
#volume::-ms-thumb {
    -webkit-appearance: none !important;	
	background: #4178c8;
    height:11px;
    width:11px;
	border-radius:100%;
	cursor:pointer;
}

.volumeIndicator {
    font-size: 16px !important;
    margin-left: 25px !important;
    position: absolute;
    top: 27px;
    left: 173px;
}

/* MEDIA QUERIES */
/* width */
@media screen and (max-width: 590px) {
	#playlist {
		max-width: 450px;		
		padding: 20px;		
	}
  }

  @media screen and (max-width: 496px) {
	#playlist {
		max-width: 400px;
		padding: 10px;		
	}
  }


  @media screen and (max-width: 430px) {
	#playlist {
		max-width: 320px;
		padding: 5px;		
	}
  }

  /* height */
  @media screen and (max-height: 545px) {
	h1 {
		font-size: 40px;	
	}
	#player {
		width: 100%;
		max-width: 330px;
		margin: 10px auto;
	}
  }
