:root {
	--links: #161;
	--links-hover: #030;
}

*,*::after,*::before { box-sizing: border-box; }
[v-cloak] { display: none; }

html,body {
	background: #eee;
	color: #aaa;
	margin: 0;
	padding: 0;
	position: relative;
	font-family: Arial, sans-serif;
	font-size: 13px;
	line-height: 1.2;
}
body {
	background: #fff;
	min-height: 100vh;
}

a, a:visited {
	color: var(--links);
	text-decoration: none;
}
	a:hover { color: var(--links-hover); }

th {
	font-weight: normal;
	padding-bottom: .25em;
	text-align: left;
}
td { vertical-align: top; }

ul, li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hide { display: none; }

.error {
	background: #a33;
	border: 2px solid #c33;
	border-radius: 3px;
	color: #fff;
	margin: 0 0 1em;
	padding: .5em;
}
	.error p { margin-top: 0; }
	.error ul { margin: 0; padding: 0 0 0 1em; }
	.error li { margin: 0; padding: 0; }

.success {
	background: #3A3;
	border: 2px solid #3C3;
	border-radius: 3px;
	color: #FFF;
	margin: 0 0 1em;
	padding: .5em;
}

.container {
	padding: 0 0 2em;
}
@media (max-width: 600px) {
	.container {
		padding-top: 0;
	}
}
.content_container {
	padding: 1em;
}

.slicknav_menu {
	display: none;
	z-index: 999999;
}
	@media (max-width: 600px) {
		.slicknav_menu { display: block; }
	}
header#page_header {
	background: #111;
	border-bottom: 1px solid #000;
	box-shadow: 0 1px 4px rgba(0,0,0,0.5);
	display: flex;
	justify-content: space-between;
	left: 0;
	letter-spacing: 0.05em;
	margin: 0;
	overflow: hidden;
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 99999;
}
	@media (max-width: 600px) {
		header#page_header {
			display: none;
			letter-spacing: 0;
		}
	}
#page_header ul,
#page_header li {
	display: inline;
	list-style: none;
	margin: 0;
	padding: 0;
}

	#page_header li {
		display: block;
		float: left;
	}
		#page_header li a {
			border: 0;
			color: #A3A7AB;
			display: block;
			line-height: 2.5em;
			padding: 0 1em;
			position: relative;
			text-shadow: 0 1px 1px #000;
			white-space: nowrap;
		}
			#page_header li a:hover {
				color: #DDD;
			}
			#page_header li:first-child a {
			}
			#page_header li:last-child a {
			}
			#page_header li.current a {
				color: #FFF;
			}
				#page_header li.current a:after {
					color: red;
					content: "♦";
					font-size: 1.5em;
					width: 100%;
					left: 0;
					text-align: center;
					position: absolute;
					bottom: -.75em;
					text-shadow: 0 -1px 3px #000;
				}
#user_details {
	float: right;
}
	#user_details li {
		border-left: 0;
	}
		#user_details li.logout {
			background: #444;
			border-left: 1px solid #000;
		}
			#user_details li.logout a:hover { background: #A44; }
		#user_details li.report_a_bug {
			background: #444;
		}
	@media (max-width: 600px) {
		display: none;
	}
#main_tabs {
	float: left;
}
	#main_tabs li {
		border-right: 0;
	}

nav.options {
	background: #EEE;
	border-bottom: 1px solid #BBB;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	color: #888;
	display: block;
	left: 0;
	line-height: 2.5em;
	margin: 0 0 .5em;
	overflow: hidden;
	padding: .25em .5em;
	position: sticky;
	top: 0;
	width: 100%;
	z-index: 9999998;
}
nav.options ul,
nav.options li {
	display: inline-block;
	margin: 0;
	padding: 0;
}
	nav.options ul {
		display: flex;
		flex-wrap: wrap;
		width: 100%;
	}
		@media (max-width: 700px) {
			nav.options {
				padding: .25em;
			}
			nav.options ul {
				justify-content: center;
			}
			nav.options .search {
				width: 100%;
				margin-bottom: .25em;
			}
			nav.options .search input {
				width: 100%;
			}
		}
	nav.options > ul > li:first-child {
		margin-right: auto;
	}
	nav.options .search {
		display: flex;
		align-items: center;
	}
		nav.options .search input {
			border: 1px solid #ccc;
			font-size: 1.25em;
			padding: .25em;
		}
			nav.options .search input:focus {
				outline: 1px solid #0D0;
			}
		nav.options .search label {
			display: none;
		}
	nav.options .right:first-of-type {
	}
	nav.options h1,
	nav.options h2,
	nav.options h3 {
		color: #888;
		display: inline;
		font-size: 16px;
		font-weight: normal;
		margin: 0;
		padding: 0;
	}
		nav.options h1 { color: #333; }
		nav.options h2 { color: #666; }
	nav.options a { color: inherit; }
		nav.options a:hover { color: #333; }
	nav.options a.button {
		background: #666;
		border-radius: 2px;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		-moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
		color: #FFF;
		cursor: pointer;
		display: inline-block;
		font-size: 1em;
		line-height: 1.5em;
		margin: 0 0 0 2px;
		padding: .5em .75em;
	}
		nav.options a.button:hover {
			background: #000;
		}
	nav.options a.add span:before {
		color: #AAA;
		content: "✚ ";
		position: relative;
		top: 1px;
	}
		nav.options a.add:hover span:before {
			color: green;
		}
	nav.options a.alert span:before {
		color: #AAA;
		content: "◬ ";
	}
		nav.options a.alert:hover span:before {
			color: #F33;
		}

#stations-list-table {
	color: #888;
	column-count: auto;
	column-fill: balance-all;
	column-gap: 1em;
	column-width: 350px;
	font-size: 12px;
	margin: 0 .5em;
}
	@media (max-width: 1600px) {
		#stations-list-table { column-count: 4 }
	}
	@media (max-width: 1200px) {
		#stations-list-table { column-count: 3 }
	}
	@media (max-width: 1000px) {
		#stations-list-table { column-count: 2 }
	}
	@media (max-width: 600px) {
		#stations-list-table { column-count: 1 }
	}

	#stations-list > aside {
		margin: 0 .5em .5em;
	}

	#stations-list-table .market {
		border: 1px solid #ccc;
		break-inside: avoid;
		padding: 0;
		margin: 0 0 1em;
		overflow: hidden;
	}
		#stations-list-table .market:nth-child(even) {
			background: #f8f8f8;
		}
	#stations-list-table header {
		background: #eee;
		border-bottom: 1px solid #ddd;
		color: #777;
		display: flex;
		gap: .75em;
		padding: .5em;
	}
		#stations-list-table header h2 {
			color: #222;
			font-size: unset;
			margin: 0 auto 0 0;
		}
		#stations-list-table .disabled header {
			background: #fff;
		}
	#stations-list-table table {
		border: 0;
		border-collapse: collapse;
		padding: .5em;
		width: 100%;
	}
		#stations-list-table td {
			padding: .3em .25em;
		}
		#stations-list-table tr:not(:last-child) td {
			border-bottom: 1px solid #ddd;
		}

	#stations-list td * {
		display: inline-block;
	}
	#stations-list tr:nth-child(even) td {
		background-color: #f4f4f4;
	}
		#stations-list tr.notes-open td {
			background-image: linear-gradient(to bottom, transparent 0%, transparent 25%, #ffe 100%);
		}
	#stations-list-table .uniqid,
	#stations-list-table .calls,
	#stations-list-table .freq,
	#stations-list-table .band {
		white-space: nowrap;
	}
	#stations-list-table .uniqid {
		font-family: monospace;
		font-weight: 500;
		width: 9ch;
		letter-spacing: 0.02em
	}
		#stations-list-table .disabled .uniqid a {
			text-decoration: line-through;
		}

	#stations-list tr.in_trust td { color: #a33; }
	#stations-list tr.in_trust a { color: #C66; }

	#stations-list tr.is_simulcast,
		#stations-list .status .is_simulcast { color: #33a; }

	#stations-list section.disabled { opacity: 0.5; filter: grayscale(1); }
		#stations-list section.disabled table.stations {
			display: none;
		}
		#stations-list section.disabled.open table.stations {
			display: revert;
		}
	#stations-list tr.disabled { 
		opacity: 0.5;
		text-decoration: line-through;
	}
		#stations-list .status {
			font-family: monospace;
			/*line-height: 1;*/
			vertical-align: top;
			white-space: nowrap;
			width: 1.5em;
		}
			#stations-list .status span {
				font-size: .85em;
				font-weight: bold;
				line-height: 1;
			}

		#stations-list .icon a {
			display: block;
		}
		#stations-list .icon a span {
			display: none;
		}
		#stations-list .icon a::after {
			background-size: 100%;
			background-repeat: no-repeat;
			background-position: center center;
			content: '';
			display: block;
			height: 1.15em;
			width: 1.15em;
			opacity: 0.8;
		}
		#stations-list .icon a:hover::after {
			opacity: 1;
		}
		#stations-list .admin_url.icon a::after {
			background-image: url(/images/admin-icon.png);
		}
		#stations-list .edit.icon a::after {
			background-image: url(/images/pencil-small.png);
		}

		#stations-list .cms {
			line-height: 1;
			text-align: center;
			vertical-align: top;
		}
		#stations-list .cms span {
			background-color: #AAA;
			border-radius: 2px;
			color: #FFF;
			cursor: help;
			display: block;
			font-size: 8px;
			font-weight: bold;
			font-family: monospace;
			line-height: 7px;
			text-align: center;
			padding: 3px 0;
			width: 1.5em;
		}
			#stations-list .cms-f_l_e_x span { background-color: #47A; }
			#stations-list .cms-amp_cms span { background-color: #5BC; }
			#stations-list .cms-amp_fse span { background-color: #79F; }
			#stations-list .cms-none span { background-color: #333; }
			#stations-list .cms-so_cast span { background-color: #0a6; }

	#stations-list tr .notes.icon {
		cursor: help;
	}
		#stations-list tr.notes-open .notes.icon {
			cursor: pointer;
			background-color: #FFB;
			text-shadow: 0 0 1px #F00;
		}

table.list {}
	table.list th {
		border-bottom: 3px solid #EEE;
		color: #AAA;
		font-size: 11px;
		font-weight: normal;
		padding: 0 .25em .25em 0;
		text-align: left;
	}
		table.list th a {
			color: #AAA;
			display: inline-block;
			text-decoration: none;
		}
		table.list th a.desc,
		table.list th a.asc {
			background: url(/images/bullet_arrow_down.png) no-repeat right;
			font-weight: bold;
			padding-right: 16px;
		}
			table.list th a.asc {
				background: url(/images/bullet_arrow_up.png) no-repeat right;
			}
	table.list tbody td {
		border-bottom: 1px solid #DDD;
		line-height: 1.25em;
		padding: .25em .25em;
	}
	table.list tr.even td { background-color: #F0FDF0; }
	table.list td.edit a {
		background: url(/images/pencil.png) no-repeat;
		display: block;
		opacity: .3;
		height: 16px;
		width: 16px;
	}
		table.list td.edit a span { display: none; }
	table.list td a:hover { opacity: 1; }
	table.list tr.disabled td { color: #888; opacity: 0.5; }
	table.list tr td.market { color: #000; opacity: 1; }

.notepad {
	display: none;
	position: absolute;
	color: #444;
	background: #ffe;
	/*background-image: repeating-linear-gradient(  transparent, transparent 1.35em, #eec 1.35em, #eec calc(1.35em + 1px) );*/
	line-height: 1.35;
	border: 1px solid #ddd;
	border-top: 0;
	padding: .3em .5em .3em;
	margin: -1px 0 0 0;
	max-width: 100%;
	max-height: 0;
	transition: max-height .5s;
	white-space: pre-wrap;
	box-shadow: 0 4px 5px rgba(0,0,0,0.3);
}
	.notepad.loading {
		display: block;
		max-height: 1.35em;
	}
	.notepad.open {
		display: block;
		max-height: 100%;
		overflow: scroll;
	}

form.editor {
	max-width: 600px;
}
	form.editor label {
		color: #222;
	}
	form.editor small {
		color: #666;
	}
		form.editor select ~ small {
			display: block;
			margin-top: .5em;
		}
	form.editor input[type="text"],
	form.editor input[type="email"],
	form.editor input[type="url"],
	form.editor input[type="password"],
	form.editor input[type="number"],
	form.editor textarea,
	form.editor select {
		border: 1px solid #AAA;
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-ms-box-sizing: border-box;
		padding: .75em;
		width: 99%;
	}
	form.editor input::-webkit-input-placeholder { color: #CCC; }
	form.editor input:-moz-placeholder { color: #CCC; }
	form.editor select { width: 99%; }

	form.editor .row p {
		margin: .25em 0;
	}

	form.editor .row {
		box-sizing: border-box;
		-moz-box-sizing: border-box;
		-webkit-box-sizing: border-box;
		-ms-box-sizing: border-box;
		clear: both;
		display: block;
		margin: 0 0 1em;
		overflow: hidden;
		width: 100%;
	}
		form.editor .row label {
			display: block;
		}
		form.editor .row .col {
			box-sizing: border-box;
			-moz-box-sizing: border-box;
			-webkit-box-sizing: border-box;
			-ms-box-sizing: border-box;
			float: left;
			width: 50%;
		}
			form.editor .row .col:first-child {
				padding-right: .5em;
			}
			form.editor .row .col:last-child {
				padding-left: .5em;
			}
			form.editor .row .col:only-child { padding: 0; }

		@media all and (max-device-width: 300px) {
			form.editor .row .col {
				float: none;
			}
		}

	form.editor input.submit,
	form.editor input.delete {
		background: #ADA url(/images/user_edit.png) no-repeat 22px center;
		border: 1px solid #0C0;
		border-radius: 3px;
		-moz-border-radius: 3px;
		-webkit-border-radius: 3px;
		-moz-background-clip: padding; -webkit-background-clip: padding-box; background-clip: padding-box;
		color: #FFF;
		display: inline-block;
		float: left;
		font-size: 18px;
		font-weight: bold;
		height: 3em;
		margin: 0 1em 0 0;
		padding: 0 2.5em 0 50px;
		text-decoration: none;
		text-shadow: 0 1px 2px #060;
	}
		form.editor input.delete {
			background: #ECC url(/images/delete.png) no-repeat 5px center;
			border: 1px solid #C00;
			float: right;
			font-size: 10px;
			height: 2.25em;
			margin: 0 0 0 1em;
			padding: 0 .5em 0 25px;
			text-shadow: 0 1px 2px #800;
		}
		form.editor input.submit:hover,
		form.editor input.delete:hover,
		form.editor input.submit:focus,
		form.editor input.delete:focus {
			border: 2px solid #000;
		}

		#stations-edit .content_container,
		#markets-edit .content_container,
		#formats-edit .content_container,
		#users-edit .content_container,
		#login .content_container {
			padding: .5em;
			max-width: 600px;
		}

		#stations-edit {}
			#stations-edit #frequencies {
				background: #F3F3F3;
				border: 1px solid #CCC;
				border-left: 0;
				border-right: 0;
				margin: 1em 0;
				padding: .5em;
			}
				#stations-edit #frequencies h3 { margin: 0; }
				#stations-edit #frequencies > p { margin: 0 0 .5em; }
				#stations-edit #frequencies .button {
					background: #AAA;
					border: 1px solid #999;
					border-radius: 3px;
					-moz-border-radius: 3px;
					-webkit-border-radius: 3px;
					color: #FFF;
					display: inline-block;
					font-weight: bold;
					margin: .25em 0;
					padding: .25em .5em;
				}
					#stations-edit #frequencies .button:hover {
						background: #ADA;
						border-color: #0C0;
					}
				#stations-edit #frequencies .frequency_row {
					border-top: 1px dotted #CCC;
					margin: 0;
					padding: .5em 0;
				}
				#stations-edit #frequencies .new {
					border-top: 2px solid #ACA;
				}
				#stations-edit #frequencies .col {
					margin-right: .5em;
					width: 30%;
				}
				#stations-edit #frequencies .band { width: 70px; }
				#stations-edit #frequencies .deletecol {
					margin: 0;
					width: 60px;
				}
				#stations-edit #frequencies .row .col:last-child { padding: 0; }

.loader {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	display: inline-block;
	position: relative;
	border: 3px solid;
	border-color: #000 #000 transparent transparent;
	box-sizing: border-box;
	animation: rotation 1s linear infinite;
	margin-left: .5em;
}
	.loader::after,
	.loader::before {
		content: '';
		box-sizing: border-box;
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		margin: auto;
		border: 3px solid;
		border-color: transparent transparent #888 #888;
		width: 17px;
		height: 17px;
		border-radius: 50%;
		box-sizing: border-box;
		animation: rotationBack 0.5s linear infinite;
		transform-origin: center center;
	}
	.loader::before {
		width: 9px;
		height: 9px;
		border-color: #000 #000 transparent transparent;
		animation: rotation 1.5s linear infinite;
	}

	@keyframes rotation {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
	}
	@keyframes rotationBack {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(-360deg);
	}
	}

.abbr {
	color: #888;
	font-style: italic;
}