@import url("https://dashboard.deltaplayer.net/DeltaPlayer/player/components/JiggleComponent/jiggle.css");

:root {
  --primary-color: #ffd005;
  --secondary-color: #5e4d05;
  --old-primary-color: #454b54;
  --old-secondary-color: #2e3238;
  --button-color: #2E3238;
}


.player-background{
	background-color: var(--old-secondary-color);
	border-radius: 16px;
	padding-bottom: 1px;
}

#currentTime {
	margin: 0 5px 0 5px;
}

#compareWidget {
	box-sizing: border-box;
	color: #f0f0f0;
	margin: auto;
	overflow: hidden;

	max-width: 470px;
	border-radius: 12px;
	font-family: 'Geologica', sans-serif;
	font-size: 14px;
	font-weight: 300;

	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	outline: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
}

#allPlayers {
	width: 100%;
	margin: auto;
}

.audio-player {
	-webkit-transition: .4s;
	transition: .4s;
	padding: 15px 20px;
	margin: auto;
	background-color: var(--primary-color);
	display: flex;
	flex-direction: column;
	border-radius: 16px;
}

.audio-player .player-controls {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 5px;
}

.audio-player #playAudio {
	-webkit-appearance: none;
	outline: none;
	cursor: pointer;
	border: none;
	width: 30px;
	min-width: 20px;
	height: 30px;
	background: url('https://img.icons8.com/fluency-systems-filled/96/null/play.png') no-repeat center;
	background-size: contain;
	background-color: transparent;
	-webkit-transition: .4s;
	transition: .4s;
	margin-right: 5px;

}

.audio-player #playAudio.pause {
	background: url('https://img.icons8.com/fluency-systems-filled/96/null/pause.png') no-repeat center;
	background-size: contain;
}

.audio-player p {
	margin: 0 0 0 5px;
	line-height: 1;
	display: inline-flex;

	-webkit-transition: .4s;
	transition: .4s;
}

.audio-player .seekContainer {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.audio-player #seekObjContainer {
	position: relative;
	width: 300px;
	margin: 0 5px;
	height: 5px;
}

.audio-player img {
	height: 250px;
	width: 250px;
	margin: 0 auto;
	margin: auto;
	margin-left: auto;
	border-radius: 20px;
	margin-bottom: 16px;
}

.audio-player #seekObjContainer #seekObj {
	-webkit-transition: .4s;
	transition: .4s;
	position: relative;
	width: 100%;
	height: 100%;
}

.audio-player #seekObjContainer #seekObj #percentage {
	-webkit-transition: .4s;
	transition: .4s;
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
}


.audio-player #switchContainer {
	font-weight: 400;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-content: center;
	align-items: center;
	gap: 5px;
}

.audio-player #switchContainer p {
	font-size: 11px;
	margin: 0;
	text-align: center;
}

/* STYLES FOR THE TOGGLESWITCH */
.switch {
	position: relative;
	display: block;
	width: 17px;
	height: 30px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 13px;
	width: 13px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked+.slider {
	background-color: #2196F3;
}

input:checked+.slider:before {
	-webkit-transform: translateY(-13px);
	-ms-transform: translateY(-13px);
	transform: translateY(-13px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 17px;
}

.slider.round:before {
	border-radius: 50%;
}

/* SONG BUTTONS */
#songButtons .songButton {
	cursor: pointer;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	outline: none;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	background-color: #2E3238;
	margin: 5px auto;
	border-radius: 16px;
	height: 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-left: 20px;
	padding-right: 20px;
	transition: background-color 0.25s ease, color 0.25s ease;
	margin: 5px 5px;
}

#songButtons .songButton.active {
	background-color: #454B54;
}

#songButtons .songButton .song-title {
	font-weight: 400;
	margin-bottom: 4px;
}

#songButtons .songButton .song-info {
	text-align: left;
}


#versionText {
	min-width: 58px;
	text-align: left;
}

#playAudio {
	filter: invert(5%);
}

.audio-player {
	background-color:  var(--primary-color);
	color: #2E3238
}

.audio-player #playAudio::before {
	color: #2E3238
}

.audio-player input:checked+.slider {
	background-color: #5E4D05
}

.audio-player input:checked+.slider:before {
	background-color: #F0F0F0
}

.audio-player #seekObj {
	background-color: #5E4D05
}

.audio-player #seekObj #percentage {
	background-color: #BD9C0B
}

.songButton {
	color: #F0F0F0;
	background-color: #2E3238;
	border-top: 0px solid #000000;
}

.songButton.active {
	background-color: #454B54
}

.songButton.hover {
	background-color: #454B54 !important
}

.audio-player.old {
	background-color: var(--old-primary-color);
	color: #F0F0F0
}

.audio-player.old #playAudio::before {
	color: #F0F0F0
}

.audio-player.old #playAudio {
	filter: invert(95%);
}

.audio-player.old .slider {
	background-color: #2E3238
}

.audio-player.old .slider:before {
	background-color: #F0F0F0
}

.audio-player.old #seekObj {
	background-color: #2E3238
}

.audio-player.old #seekObj #percentage {
	background-color: #BABABA
}


@media (min-width: 960px) {
  #compareWidget {
    transform: scale(1.1);
    transform-origin: center;
  }
}

#currentTime {
	font-weight: 400;
}

.audio-player #seekObjContainer #seekObj {
	border-radius: 5px;
}

.audio-player #seekObjContainer #seekObj #percentage {
	border-radius: 5px;
}

.song-artist {
	color: #d0d0d0;
}

.song-service {
	color: #d0d0d0;
}
