@import url("https://dashboard.deltaplayer.net/DeltaPlayer/player/components/JiggleComponent/jiggle.css");

:root {
  --primary-color: #003449;
  --secondary-color: #456877;
  --old-primary-color: #f5f5f5;
  --old-secondary-color: #4d4d4d;
  --button-color: #f5f5f5;
}

:root {
  --default-offset: -13px;
  --jiggle-strength: 2.0;
  --jiggle-duration: 2.5s;
}

.jiggle {
  animation: grow var(--jiggle-duration) infinite; 
}
.jiggle:before {
  animation: none
}

#currentTime {
	margin: 0 5px 0 5px;
}

#compareWidget {
	background: var(--old-primary-color);
  border-radius: 20px;
	box-sizing: border-box;  
/*	box-shadow: rgba(246, 177, 122, 0.4) 0px 5px, rgba(246, 177, 122, 0.3) 0px 10px, rgba(246, 177, 122, 0.2) 0px 15px, rgba(246, 177, 122, 0.1) 0px 20px, rgba(246, 177, 122, 0.05) 0px 25px;*/
		box-shadow: rgba(0, 0, 0, 0.25) 0px 0px 47px 10px;
/*  border: 1px solid #7077a199;*/
	color: #212529;
	margin: auto;
	overflow: hidden;
	max-width: 470px;
	border-radius: 12px;
	font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans","Liberation Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
	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;

	width: 100%;
	float: left;
	margin: 20px 35px 20px 0px;
}

#allPlayers {
	width: 100%;
	margin: auto;
}

.audio-player {
	background-color:  var(--primary-color);
	color: #2E3238
	-webkit-transition: .4s;
	transition: .4s;
	padding: 15px 20px;
	margin: auto;
	background-color: var(--primary-color);
	display: flex;
	flex-direction: column;
	border-radius: 0 0 16px 16px;
}

.audio-player .player-controls {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 5px;
	color: var(--old-primary-color);
}

.audio-player.old .player-controls {
	color: var(--old-secondary-color);
}

.audio-player #playAudio {
	-webkit-appearance: none;
	outline: none;
	cursor: pointer;
	border: none;
	background-size: contain;
	background-color: transparent;
	-webkit-transition: .4s;
	transition: .4s;
	margin-right: 5px;

}

.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;
	transition: all 0.4s;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
	margin-top: 15px;
}

.audio-player.old img {
	opacity: 0.7;
	filter: grayscale(70%);
	scale: 0.97;
}

.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: transparent;
	margin: 5px auto;
	border-radius: 16px;
	min-height: 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	transition: background-color 0.25s ease, color 0.25s ease;
	margin: 5px 5px;
}

@media (hover: hover) {
	#songButtons .songButton:hover {
		background-color: #00344930;
	}
}

#songButtons .songButton.active {
	background-color: #00344930;
}

#songButtons .songButton .song-title {
	font-weight: 400;
	margin-bottom: 4px;
}

#songButtons .songButton .song-info {
	text-align: left;
}

#songButtons .songButton .song-service {
	text-align: right;
}


#versionText {
	min-width: 58px;
	text-align: left;
}


.audio-player #playAudio::before {
	color: #2E3238
}

.audio-player input:checked+.slider {
	background-color: var(--secondary-color);
}

.audio-player input:checked+.slider:before {
	background-color: #F0F0F0
}

.audio-player #seekObj {
	background-color: var(--secondary-color);
}

.audio-player #seekObj #percentage {
	background-color: #f0f0f0;
}

.audio-player.old #seekObj #percentage {
	background-color: #acaeaf;
}

.audio-player.old {
	background-color: var(--old-primary-color);
	color: #F0F0F0
}

.audio-player.old #playAudio::before {
	color: #F0F0F0
}

.audio-player.old .slider {
	background-color: var(--old-secondary-color);
}

.audio-player.old .slider:before {
	background-color: #F0F0F0
}

.audio-player.old #seekObj {
	background-color: var(--old-secondary-color);
}


@media (min-width: 960px) {
  #compareWidget {
    transform-origin: center;
  }
}

#currentTime {
	font-weight: 400;
}

.audio-player #seekObjContainer #seekObj {
	border-radius: 5px;
}

.audio-player #seekObjContainer #seekObj #percentage {
	border-radius: 5px;
}




/* ICONS */


.play-icon, #playAudio div{      
	transition: 0.4s;      
    background-color: white;
    webkit-mask-image: url('data:image/svg+xml;utf8, <svg class="w-6 h-6 text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M8.6 5.2A1 1 0 0 0 7 6v12a1 1 0 0 0 1.6.8l8-6a1 1 0 0 0 0-1.6l-8-6Z" clip-rule="evenodd"/></svg>');
    mask-image:  url('data:image/svg+xml;utf8, <svg class="w-6 h-6 text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M8.6 5.2A1 1 0 0 0 7 6v12a1 1 0 0 0 1.6.8l8-6a1 1 0 0 0 0-1.6l-8-6Z" clip-rule="evenodd"/></svg>');
    width: 48px;
    height: 48px;
}

.pause-icon, #playAudio.pause div {            
    background-color: white;
    webkit-mask-image: url('data:image/svg+xml;utf8, <svg class="w-6 h-6 text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M8 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H8Zm7 0a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-1Z" clip-rule="evenodd"/></svg>');
    mask-image: url('data:image/svg+xml;utf8, <svg class="w-6 h-6 text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="48" height="48" fill="currentColor" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M8 5a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2H8Zm7 0a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-1Z" clip-rule="evenodd"/></svg>');
    width: 48px;
    height: 48px;
}

.old .play-icon, .old #playAudio div, .old .pause-icon, .old #playAudio.pause div {
    background-color: var(--old-secondary-color);
}


@keyframes grow {
  0%, 75% { /* 1.5s pause */
    scale: 1.0;
  }
  80% {
    scale: 1.3;
  }
  85% {
    scale: 0.8;
  }
  90% {
    scale: 1.2;
  }
  95% {
    scale: 0.9;
  }
  100% {
    scale: 1.0;
  }
}