.galandas-radio-panel {
	margin-bottom: 10px;
}

.galandas-radio-panel .inner {
	position: relative;
}

.galandas-radio-counter {
	position: absolute;
	top: 8px;
	left: 12px;
	font-size: 0.95em;
	font-weight: bold;
	opacity: 0.85;
}

.galandas-radio-head {
	display: grid;
	grid-template-columns: 42px minmax(0, 720px) 42px;
	align-items: center;
	justify-content: center;
	column-gap: 54px;
	margin: 8px 20px 4px;
	text-align: center;
}

.galandas-radio-title-wrap {
	min-width: 0;
	max-width: 720px;
	text-align: center;
}

.galandas-radio-brand {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 34px;
	padding: 0 0 4px;
	border-bottom: 1px solid #c7c7c7;
}

.galandas-radio-title {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1.35em;
	line-height: 1.25;
	word-break: break-word;
}

.galandas-radio-head-compact .galandas-radio-title {
	font-size: 1.18em;
	margin: 0;
}

.galandas-radio-head-compact.has-logo .galandas-radio-title {
	display: block;
}

.galandas-radio-switch-hint {
	margin: 2px 0 0;
	font-size: 0.9em;
	opacity: 0.8;
}

.galandas-radio-nav {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	font-size: 20px;
	line-height: 1;
	color: #105289;
}

.galandas-radio-nav:hover,
.galandas-radio-nav:focus {
	color: #d31141;
	text-decoration: none;
	outline: 0;
}

.galandas-radio-nav .icon {
	margin: 0;
}

.galandas-radio-logo {
	display: inline-block;
	max-width: 42px;
	max-height: 42px;
	margin: 0;
	border-radius: 7px;
	vertical-align: middle;
	object-fit: contain;
}

.radio_player_wrap {
	margin: 10px 20px 12px;
	text-align: center;
}

.galandas-radio-player {
	max-width: 720px;
	width: 100%;
}

.radio_buttons {
	text-align: center;
	margin-bottom: 5px;
}

.radio_button,
.galandas-radio-popup-link {
	display: inline-block;
	margin-left: 2px;
	margin-right: 2px;
	opacity: 0.82;
	vertical-align: middle;
}

.radio_button:hover,
.radio_button:focus,
.galandas-radio-popup-link:hover,
.galandas-radio-popup-link:focus {
	opacity: 1;
}

.radio_information {
	margin-left: 20px;
	margin-right: 20px;
	margin-top: 15px;
	clear: both;
}

.radio_clear {
	clear: both;
}

.radio_icon {
	float: left;
	margin-right: 10px;
	width: 37px;
	height: 37px;
}

.radio_item {
	float: left;
	min-height: 58px;
	box-sizing: border-box;
	padding-right: 8px;
}

.radio_item h4 {
	margin-top: 0;
	margin-bottom: 3px;
}

.radio_item p {
	margin-top: 0;
	word-break: break-word;
}

.radio_error {
	font-weight: bold;
	text-align: center;
}

.radio_station {
	width: 25%;
}

.radio_song {
	width: 35%;
}

.radio_genre {
	width: 25%;
}

.radio_bitrate {
	width: 15%;
}

.galandas-radio-popup-page .galandas-radio-panel {
	margin-top: 10px;
}

@media (max-width: 700px) {
	.galandas-radio-counter {
		position: static;
		display: block;
		margin: 4px 8px 0;
		text-align: left;
	}

	.galandas-radio-head {
		gap: 6px;
		margin-left: 8px;
		margin-right: 8px;
	}

	.galandas-radio-nav {
		width: 34px;
		height: 34px;
		padding: 0;
	}

	.radio_item,
	.radio_station,
	.radio_song,
	.radio_genre,
	.radio_bitrate {
		float: none;
		width: 100%;
		margin-bottom: 10px;
	}
}

.radio_player_wrap_hidden {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	margin: 0;
	padding: 0;
}

.galandas-radio-mini-player {
	margin: 5px 20px 0;
	text-align: center;
}

.galandas-radio-play-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	font-size: 17px;
	line-height: 1;
	color: #105289;
}

.galandas-radio-play-toggle:hover,
.galandas-radio-play-toggle:focus {
	color: #d31141;
	text-decoration: none;
	outline: 0;
}

.galandas-radio-play-toggle .icon {
	margin: 0;
}

.galandas-radio-play-status {
	display: inline-block;
	margin-left: 8px;
	opacity: 0.82;
	vertical-align: middle;
}

.galandas-radio-mini-player.is-playing .galandas-radio-play-toggle {
	color: #228822;
}

.galandas-radio-mini-player.is-blocked .galandas-radio-play-toggle,
.galandas-radio-mini-player.is-error .galandas-radio-play-toggle {
	color: #bc2a4d;
}

@media (max-width: 700px) {
	.galandas-radio-head {
		grid-template-columns: 34px minmax(0, 1fr) 34px;
		column-gap: 8px;
	}

	.galandas-radio-logo {
		max-width: 34px;
		max-height: 34px;
	}

	.galandas-radio-head-compact .galandas-radio-title {
		font-size: 1.05em;
	}

	.galandas-radio-mini-player {
		margin-left: 8px;
		margin-right: 8px;
	}
}

.sr-only {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.galandas-radio-style-rules,
.galandas-radio-style-forabg {
	margin-bottom: 10px;
}

.galandas-radio-style-rules .inner,
.galandas-radio-style-forabg .inner {
	position: relative;
}

.galandas-radio-style-forabg {
	padding: 5px;
}

.galandas-radio-style-forabg > .inner {
	background: #ffffff;
	border-radius: 4px;
	box-sizing: border-box;
	color: #333333;
	padding: 8px 0 10px;
}

.galandas-radio-style-forabg .galandas-radio-title {
	color: #105289;
}

.galandas-radio-style-forabg .galandas-radio-nav,
.galandas-radio-style-forabg .galandas-radio-play-toggle {
	color: #105289;
}

.galandas-radio-style-forabg .galandas-radio-nav:hover,
.galandas-radio-style-forabg .galandas-radio-nav:focus,
.galandas-radio-style-forabg .galandas-radio-play-toggle:hover,
.galandas-radio-style-forabg .galandas-radio-play-toggle:focus {
	color: #d31141;
}

.galandas-radio-style-forabg .galandas-radio-mini-player.is-playing .galandas-radio-play-toggle {
	color: #228822;
}

.galandas-radio-style-forabg .galandas-radio-brand {
	border-bottom-color: #c7c7c7;
}

/* Soft station-change animation. */
.galandas-radio-station-changing .galandas-radio-title-wrap,
.galandas-radio-station-changing .radio_information {
	animation-duration: 460ms;
	animation-timing-function: ease;
	animation-fill-mode: both;
}

.galandas-radio-changing-next .galandas-radio-title-wrap,
.galandas-radio-changing-next .radio_information {
	animation-name: galandas-radio-soft-next;
}

.galandas-radio-changing-prev .galandas-radio-title-wrap,
.galandas-radio-changing-prev .radio_information {
	animation-name: galandas-radio-soft-prev;
}

@keyframes galandas-radio-soft-next {
	0% {
		opacity: 0.35;
		transform: translateX(12px) translateY(3px);
		filter: saturate(0.9);
	}
	55% {
		opacity: 1;
		transform: translateX(-2px) translateY(0);
		filter: saturate(1.08);
	}
	100% {
		opacity: 1;
		transform: translateX(0) translateY(0);
		filter: saturate(1);
	}
}

@keyframes galandas-radio-soft-prev {
	0% {
		opacity: 0.35;
		transform: translateX(-12px) translateY(3px);
		filter: saturate(0.9);
	}
	55% {
		opacity: 1;
		transform: translateX(2px) translateY(0);
		filter: saturate(1.08);
	}
	100% {
		opacity: 1;
		transform: translateX(0) translateY(0);
		filter: saturate(1);
	}
}

/* Compact animated equalizer shown while the radio is playing. */
.galandas-radio-equalizer {
	display: inline-flex;
	align-items: flex-end;
	justify-content: center;
	gap: 3px;
	height: 18px;
	margin-left: 7px;
	vertical-align: middle;
	opacity: 0;
	transform: translateY(2px);
	transition: opacity 180ms ease, transform 180ms ease;
}

.galandas-radio-equalizer span {
	display: block;
	width: 3px;
	height: 7px;
	border-radius: 2px;
	animation: galandas-radio-eq 760ms ease-in-out infinite;
	animation-play-state: paused;
	background: #4f80a8;
}

.galandas-radio-equalizer span:nth-child(2) {
	height: 12px;
	animation-delay: -180ms;
	background: #5b9b73;
}

.galandas-radio-equalizer span:nth-child(3) {
	height: 9px;
	animation-delay: -330ms;
	background: #8b6fae;
}

.galandas-radio-equalizer span:nth-child(4) {
	height: 15px;
	animation-delay: -470ms;
	background: #c28a3d;
}

.galandas-radio-equalizer span:nth-child(5) {
	height: 10px;
	animation-delay: -610ms;
	background: #105289;
}

.galandas-radio-mini-player.is-playing .galandas-radio-equalizer {
	opacity: 1;
	transform: translateY(0);
}

.galandas-radio-mini-player.is-playing .galandas-radio-equalizer span {
	animation-play-state: running;
}

.galandas-radio-mini-player.is-blocked .galandas-radio-equalizer,
.galandas-radio-mini-player.is-error .galandas-radio-equalizer {
	opacity: 0.25;
}

@keyframes galandas-radio-eq {
	0%, 100% {
		transform: scaleY(0.42);
	}
	35% {
		transform: scaleY(1);
	}
	70% {
		transform: scaleY(0.62);
	}
}

.radio-hidden {
	display: none;
}

.galandas-radio-popup-page {
	padding: 8px 10px 12px;
}

.galandas-radio-popup-page h2 {
	margin-top: 0;
}

.galandas-radio-popup-page .action-bar.bottom {
	margin-top: 10px;
	text-align: center;
}
