#audio-recorder {
	/*gap: 0.1rem;*/
}

#audio-recorder .dropdown-buttons {
	display: flex;
	justify-content: space-around;
}

#track-dropdown button {
	padding: 0.25rem;
}

#playback-controls {
	display: flex;
	justify-content: space-evenly;
	height: 3rem;
}

audio-recorder svg {
	fill: var(--light-text);
	width: 2rem;
	height: 2rem;
}

#player {
	display: flex;
	flex-direction: column;
	padding: 0.25rem;
}

#player-details {
	display: flex;
	justify-content: space-between;
}

#track-dropdown {
	background: var(--light-background);
	border: 1px solid var(--blue-dark);
	box-shadow: 0 2px 6px var(--background-dark);
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	left: 0;
	padding: 0.5rem;
	position: fixed;
	right: 0;
	z-index: 1000;
	width: 3.3rem;
}

#tracks-container {
  border: 1px solid black;
	display: flex;
	flex-grow: 1;
	overflow-y: auto;
}

#track-title {
	transition: background-color 1s, color 1s;
}

#rename-field {
	position: fixed;
}

#tracks-container a {
	box-sizing: border-box;
	color: var(--blue);
	display: flex;
	justify-content: space-between;
	/*width: 92%;*/
}

#tracks-container a:hover {
	color: var(--blue-light);
	text-decoration: underline;
}

#tracks-container li {
	align-items: center;
	box-sizing: border-box;
	display: flex;
	justify-content: space-between;
	padding: 0.25rem;
	position: relative;
	gap: 0.25rem;
	width: 100%;
}

#tracks-container ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

#tracks-container button.clear {
	/*cursor: pointer;*/
	/*box-sizing: border-box;*/
	/*height: 1.5rem;*/
	padding: 0.25rem;
	/*width: 8%;*/
	/*fill: var(--light-text);*/
	/*height: 1rem;*/
	/*width: 1rem;*/
}

#tracks-container button {
	height: 2rem;
	width: 2rem;
	padding: 0.25rem;
}

/*#tracks-container button:hover {
	border: 1px solid var(--blue-dark);
	border-radius: 5px;
}*/

#tracks-container p {
	/*height: 1rem;*/
	margin: 0;
	overflow: hidden;
	padding: 0;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.track-label {
	/*width: 40%;*/
	flex-shrink: 3;
}

.track-duration {
	/*text-align: left;*/
	/*width: 19%;*/
}

.highlight {
  background-color: var(--blue-lighter);
}

.nofade {
	transition: none !important;
}

@media (max-width: 820px) {
	#tracks-container ul {
		height: 10rem;
	}

	#playback-controls {
		margin-bottom: 1rem;
	}

	#player-details {
		margin-top: 1rem;
	}

	#tracks-container button {
		border: 1px solid var(--blue-dark);
		border-radius: 5px;
		box-sizing: border-box;
		/*cursor: pointer;*/
		/*height: 1rem;*/
		/*max-height: 2rem;*/
		padding: 0.25rem;
		width: 44px;
		height: 44px;
	}

	#tracks-container p {
		font-size: 1.25rem;
	}

	#track-dropdown button {
		/*width: 44px;*/
	}

	.timeline-slider {
	  -webkit-appearance: none;
	  appearance: none;
	  border: 1px solid var(--blue);
	  border-radius: 4px;
	  cursor: pointer;
	  height: 0.5rem;
	  margin: 0.5rem 0;
	  width: 100%;
	}

	.timeline-slider::-webkit-slider-thumb,
	.timeline-slider::-moz-range-thumb {
	  border: 2px solid var(--blue);
	  border-radius: 2rem;
	  cursor: pointer;
	  height: 2rem;
	  width: 2rem;
	}
}
