@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;700&display=swap');

.tp-wrapper {
	position: relative;
	width: 100%;
	height: auto;
	margin: 20px 0;
	overflow: hidden;
	font-family: 'Roboto', sans-serif;
	--easeInExpo: cubic-bezier(0.7, 0, 0.84, 0);
	--easeOutExpo: cubic-bezier(0.16, 1, 0.3, 1);
	--easeInOutExpo: cubic-bezier(0.16, 1, 0.3, 1);
	--easeOutQuart: cubic-bezier(0.25, 1, 0.5, 1);
	--easeInOutQuart: cubic-bezier(0.76, 0, 0.24, 1);
	--easeInOutQuad: cubic-bezier(0.45, 0, 0.55, 1);
}

.tp-error {
	padding: 20px;
	background: #555;
	color: #fff;
	font-size: 18px;
	text-align: center;
}

.tp-wrapper.tp-rounded {
	border-radius: 10px;
}

.tp-wrapper,
.tp-wrapper * {
	font-family: 'Roboto', sans-serif;
	box-sizing: border-box;
}

.tp-player-wrapper {
	position: relative;
	width: 100%;
	height: 200px;
	display: grid;
	grid-template-columns: 200px 1fr 0px;
	grid-template-rows: 1fr;
	gap: 0px 0px;
	overflow: hidden;
	transition: all 600ms var(--easeInOutExpo);
}

.tp-hide-cover .tp-player-wrapper {
	grid-template-columns: 0px 1fr 0px;
}

.tp-sm-opened .tp-player-wrapper {
	grid-template-columns: 200px 1fr 60px;
}

.tp-hide-cover.tp-sm-opened .tp-player-wrapper {
	grid-template-columns: 0px 1fr 60px;
}

.tp-vertical .tp-player-wrapper {
	grid-template-columns: 1fr !important;
	grid-template-rows: auto 1fr 0px;
	height: auto;
}

.tp-hide-cover.tp-vertical .tp-player-wrapper {
	grid-template-rows: 0px 1fr 0px;
}

.tp-vertical.tp-sm-opened .tp-player-wrapper {
	grid-template-rows: auto 1fr 60px;
}

.tp-hide-cover.tp-vertical.tp-sm-opened .tp-player-wrapper {
	grid-template-rows: 0px 1fr 60px;
}

.tp-player-sidebar {
	position: relative;
	width: 200px;
	height: 200px;
	overflow: hidden;
}

.tp-vertical .tp-player-sidebar {
	width: 100%;
	height: auto;
}

.tp-cover-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	z-index: 1;
	overflow: hidden;
}

.tp-cover-image {
	position: relative;
	width: 100%;
	height: 100%;
	display: block;
	margin: 0;
	padding: 0;
	object-fit: cover;
	z-index: 2;
}


.tp-cover-loader {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 3;
}

.tp-cover-loader span {
	position: absolute;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1);
	animation: tp-song-loading 1000ms var(--easeInOutExpo) infinite;
}

.tp-cover-loader span:nth-child(1) {
	left: calc(50% - 40px);
	animation-delay: 0ms;
}

.tp-cover-loader span:nth-child(2) {
	left: 50%;
	animation-delay: 100ms;
}

.tp-cover-loader span:nth-child(3) {
	left: calc(50% + 40px);
	animation-delay: 200ms;
}

.tp-controls-wrapper {
	position: relative;
	width: 100%;
	min-width: 0;
	height: 200px;
	box-shadow: 10px 0px 15px 0px rgba(0, 0, 0, 0.25);
}

.tp-vertical .tp-controls-wrapper {
	height: auto;
}

.tp-player-header {
	position: relative;
	width: auto;
	height: 50px;
	margin: 20px;
	font-size: 28px;
	font-weight: 100;
	line-height: 50px;

	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	align-content: flex-start;
	flex-direction: row;
	overflow: hidden;
}

.tp-player-song-tiles {
	position: relative;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.tp-player-song-tiles.switchSong.toTop {
	animation: switchSongToTop 400ms;
}

@keyframes switchSongToTop {
	0% {
		transform: translateY(0px);
		animation-timing-function: var(--easeInExpo);
	}
	50% {
		transform: translateY(-40px);
	}
	51% {
		transform: translateY(40px);
		animation-timing-function: var(--easeOutExpo);
	}
	100% {
		transform: translateY(0px);
	}
}

.tp-player-song-tiles.switchSong.toBottom {
	animation: switchSongToBottom 400ms;
}

@keyframes switchSongToBottom {
	0% {
		transform: translateY(0px);
		animation-timing-function: var(--easeInExpo);
	}
	50% {
		transform: translateY(40px);
	}
	51% {
		transform: translateY(-40px);
		animation-timing-function: var(--easeOutExpo);
	}
	100% {
		transform: translateY(0px);
	}
}

.tp-player-song-tiles b {
	font-weight: 400;
}

.tp-player-main {
	position: relative;
	width: 100%;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.tp-vertical .tp-player-main {
	flex-wrap: wrap;
}

.tp-button {
	position: relative;
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	cursor: pointer;
}

.tp-vertical .tp-button {
	order: 1;
}

.tp-button::before {
	position: absolute;
	content: "";
	width: 40px;
	height: 40px;
	top: -10px;
	left: -10px;
	border-radius: 50%;
	z-index: 1;
	transform: scale(0);
	opacity: 1;
	animation: tp-button-click-out 0.6s var(--easeInOutExpo);
	pointer-events: none;
}

.tp-prev::before,
.tp-next::before {
	animation: none;
}

.tp-button.tp-active::before {
	animation: tp-button-click 0.6s var(--easeInOutExpo);
}

@keyframes tp-button-click-out {
	0% {
		transform: scale(0);
		opacity: 1;
	}
	100% {
		transform: scale(1);
		opacity: 0;
	}
}

@keyframes tp-button-click {
	0% {
		transform: scale(0);
		opacity: 1;
	}
	100% {
		transform: scale(1);
		opacity: 0;
	}
}

.tp-button svg {
	position: relative;
	display: block;
	z-index: 2;
	pointer-events: none;
	transition: transform 350ms var(--easeOutQuart);
}

.tp-button:active svg {
	transform: scale(.8);
}

.tp-button svg path {
	transition: all 350ms var(--easeOutQuart), fill 0s, stroke 0s;
}


.tp-wrapper.tp-rounded .tp-playback path,
.tp-button .tp-stroke {
	fill: none;
	stroke-width: 3px;
}

.tp-playlist-song-buy.tp-button path {
	stroke-width: 2px;
}

.tp-wrapper.tp-rounded .tp-playback path,
.tp-wrapper.tp-rounded .tp-stroke {
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tp-playback.tp-active svg{
	transform: rotate(-90deg);;
}

.tp-volume-mute-toggle .tp-stroke {
	stroke-width: 2px;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.tp-volume-mute-toggle path:nth-child(2),
.tp-volume-mute-toggle path:nth-child(3) {
	transform: scale(1);
	transform-origin: 0px 10px;
}

.tp-volume-mute-toggle path:nth-child(4) {
	transform: scale(0);
	transform-origin: 16.5px 10px;
}

.tp-volume-mute-toggle.tp-active path:nth-child(4) {
	transform: scale(1);
}

.tp-volume-mute-toggle path:nth-child(2) {
	transition-delay: 200ms, 0ms, 0ms;
}
.tp-volume-mute-toggle path:nth-child(3) {
	transition-delay: 100ms, 0ms, 0ms;
}
.tp-volume-mute-toggle path:nth-child(4) {
	transition-delay: 0ms, 0ms, 0ms;
}

.tp-volume-mute-toggle.tp-active path:nth-child(2) {
	transition-delay: 0ms, 0ms, 0ms;
}
.tp-volume-mute-toggle.tp-active path:nth-child(3) {
	transition-delay: 100ms, 0ms, 0ms;
}
.tp-volume-mute-toggle.tp-active path:nth-child(4) {
	transition-delay: 200ms, 0ms, 0ms;
}

.tp-playlist-toggle .tp-stroke {
	stroke-width: 4px;
}

.tp-playlist-toggle.tp-active .tp-stroke {
	stroke-width: 3px;
}

.tp-audio-seek {
	position: relative;
	width: 100%;
	min-width: 100px;
	height: 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex: 1 1 auto;
	z-index: 1;
	cursor: pointer;
	overflow: hidden;
}

.tp-vertical .tp-audio-seek {
	order: 2;
}

.tp-wrapper.tp-rounded .tp-audio-seek {
	border-radius: 5px;
	overflow: hidden;
}

.tp-buffered,
.tp-progress {
	position: absolute;
	width: 0%;
	height: 100%;
	left: 0;
	top: 0;
}

.tp-buffered {
	z-index: 2;
}

.tp-progress {
	z-index: 3;
}

.tp-current-time,
.tp-duration {
	position: absolute;
	font-size: 12px;
	font-weight: 400;
	z-index: 4;
	left: 5px;
}

.tp-duration {
	right: 5px;
	left: auto;
}

.tp-player-loader {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	z-index: 5;
	opacity: 0;
	transition: all 250ms var(--easeOutExpo) 500ms;
}

.tp-loading .tp-player-loader {
	opacity: 1;
}

.tp-player-loader span {
	position: absolute;
	width: 8px;
	height: 8px;
	left: -8px;
	top: 6px;
	border-radius: 4px;
}

.tp-loading .tp-player-loader span {
	animation: tpLoader 1s cubic-bezier(0.76, 0, 0.24, 1) infinite;
}

.tp-player-loader span:nth-child(1) {
	animation-delay: 0ms;
}

.tp-player-loader span:nth-child(2) {
	animation-delay: 100ms;
}

.tp-player-loader span:nth-child(3) {
	animation-delay: 200ms;
}

@keyframes tpLoader {
	0% {
		left: -8px;
	}
	50% {
		width: calc(8px * 5);
	}
	100% {
		left: 100%;
	}
}

.tp-player-footer {
	position: relative;
	width: 100%;
	height: 90px;
	padding: 20px;
	display: flex;
	justify-content: center;
	align-items: flex-end;
}

.tp-vertical .tp-player-footer {
	height: auto;
	flex-wrap: wrap;
	gap: 20px;
}

.tp-volume-wrapper {
	position: relative;
	width: 140px;
	margin-left: auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.tp-vertical .tp-volume-wrapper {
	order: 1;
}

.tp-volume-seek {
	position: relative;
	width: 100px;
	height: 4px;
	cursor: pointer;
}

.tp-vertical .tp-volume-seek {
	order: 1;
}

.tp-wrapper.tp-rounded .tp-volume-seek {
	border-radius: 2px;
	overflow: hidden;
}

.tp-volume-value {
	position: absolute;
	width: 75%;
	height: 100%;
	top: 0;
	left: 0;
}

.tp-social-media-wrapper {
	padding: 20px;
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: flex-start;
	flex-direction: column;
}

.tp-vertical .tp-social-media-wrapper {
	flex-direction: row;
}


.tp-playlist-wrapper {
	position: relative;
	width: 100%;
	height: 0px;
	overflow: hidden;
	transition: all 500ms var(--easeInOutExpo);
}

/* Chrome, Edge and Safari */
.tp-scroll .tp-playlist-container {
	padding-right: 7.5px;
}

.tp-scroll .tp-playlist-wrapper {
	overflow-y: scroll;
	scrollbar-width: thin;
	padding-right: 7.5px;
}

.tp-scroll .tp-playlist-wrapper::-webkit-scrollbar {
  width: 5px;
}

.tp-scroll .tp-playlist-wrapper::-webkit-scrollbar-button {
  width: 10px;
  height: 10px;
}

.tp-playlist-wrapper::-webkit-scrollbar-track {
	border: none;
}


.tp-scroll.tp-rounded .tp-playlist-wrapper::-webkit-scrollbar-track {
  border-radius: 2.5px;
}

.tp-scroll.tp-rounded .tp-playlist-wrapper::-webkit-scrollbar-thumb {
  border-radius: 2.5px;
}

.tp-playlist {
	position: relative;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	list-style-type: none;
}

.tp-playlist-item {
	position: relative;
	width: 100%;
	height: 40px;
	border-bottom-width: 1px;
	border-bottom-style: solid;

	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: flex-start;
	align-content: stretch;
	align-items: center;
	cursor: pointer;
}

.tp-playlist-item:last-child {
	border-bottom: none;
}

.tp-playlist-marker {
	position: relative;
	width: 40px;
	height: 40px;
}

.tp-playlist-bar {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 3px;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1);
	transition: all 250ms var(--easeOutExpo);
}

.tp-playing .tp-playlist-bar {
	height: 6px;
	width: 4px;
	animation: tp-playing 600ms infinite var(--easeInOutQuad);
}

.tp-playing .tp-playlist-bar:nth-child(1) {
	left: calc(50% - 8px);
	animation-delay: 75ms;
}

.tp-playing .tp-playlist-bar:nth-child(2) {
	animation-delay: 0ms;
}

.tp-playing .tp-playlist-bar:nth-child(3) {
	left: calc(50% + 8px);
	animation-delay: 150ms;
}

@keyframes tp-playing {
	0%, 100% {
		height: 6px;
	}
	50% {
		height: 20px;
	}
}

.tp-loading .tp-active .tp-playlist-bar {
	width: 6px;
	height: 6px;
	transform: translate(-50%, -50%) scale(1);
	animation: tp-song-loading 1000ms var(--easeInOutExpo) infinite;
}

.tp-loading .tp-active .tp-playlist-bar:nth-child(1) {
	left: calc(50% - 8px);
	animation-delay: 0ms;
}

.tp-loading .tp-active .tp-playlist-bar:nth-child(2) {
	animation-delay: 100ms;
}

.tp-loading .tp-active .tp-playlist-bar:nth-child(3) {
	left: calc(50% + 8px);
	animation-delay: 200ms;
}

@keyframes tp-song-loading {
	0% {
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		transform: translate(-50%, -50%) scale(.5);
	}
	100% {
		transform: translate(-50%, -50%) scale(1);
	}
}

.tp-playlist-song {
	position: relative;
	flex: 1 1 auto;
	font-size: 14px;
	font-weight: 400;
	line-height: 1;
	padding-right: 20px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: inherit;
}

.tp-playlist-song b {
	font-weight: 700;
}

.tp-playlist-song-download,
.tp-playlist-song-buy {
	position: relative;
	width: 20px;
	height: 20px;
	margin-right: 20px;
}

.tp-playlist-item a:last-of-type {
	margin-right: 10px;
}

.tp-playlist-song-download,
.tp-playlist-song-buy {
	fill: none;
	stroke-width: 2px;
	transition: transform 250ms var(--easeInOutExpo);
}

.tp-playlist-song-download:hover,
.tp-playlist-song-buy:hover {
	transform: scale(1.25);
}

.tp-playlist-song-download:active,
.tp-playlist-song-buy:active {
	transform: scale(0.75);
}

.tp-wrapper.tp-rounded .tp-playlist-song-download,
.tp-wrapper.tp-rounded .tp-playlist-song-buy {
	stroke-linecap: round;
	stroke-linejoin: round;
}