 /* @import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;700&family=Concert+One&display=swap'); */
 @import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@100&display=swap');

:root {
	/* --difficulty: #fc6603; */
	--difficulty: #32a852;
	--difficulty-border: #32a85255;
}

* {
	box-sizing: border-box;
	/* accent-color: #F55050; */
	/* accent-color: #dc4c29; */
	accent-color: var(--difficulty);
}

html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
}

body {
	display: flex;
	flex-direction: column;
}

a {
	/* color: #1a0dab; */
	/* color: #168bc6; */
	color: #129cff;
	text-decoration: none;
}
a:visited {
	color: #968bc6;
	/* color: #86a9e3; */
	/* color: #86a0eb; */
}
a:hover {
	text-decoration: underline;
}

.content {
  flex: 1 0 auto;
	width: 800px;
	margin-left: auto;
	margin-right: auto;
}
header {
  flex-shrink: 0;
	display: flex;
	flex-direction: row;
	padding: 24px 32px;
	font-size: 17px;
	align-items: center;
}
header a, header a:visited {
	margin: 0px 16px;
	color: #444;
	font-weight: normal;
}

footer {
  flex-shrink: 0;
	background: #eee;
	display: flex;
	flex-direction: row;
	padding-right: 32px;
	font-size: 14px;
}

footer a, footer a:visited {
	margin: 12px 16px;
	color: #444;
	font-weight: normal;
}

.spacer {
	flex-grow: 1;
}

#app {
  padding: 20px;
}

.apps-box {
	/* background: #f0f0f0; */
	background: #f4f4f4;
	border: solid 1px #f0f0f0;
	margin-top: 80px;
	padding: 40px 4px;
}
.apps-box h3 {
	text-align: center;
	color: #222;
	margin-bottom: 12px;
	margin-top: 12px;
}
.apps-row {
	display: flex;
	flex-direction: row;
	justify-content: center;
}
.app-box {
	display: flex;
	flex-direction: column;
	text-align: center;
	margin: 8px;
}
.app-icon img {
	width: 80px;
}
.apps-box a {
	color: #129cff;
}
.apps-box a:visited {
	color: #129cff;
}
.app-title {
	font-weight: bold;
	color: #555;
}

.search-box {
	border-radius: 6px;
	border: solid 1.5px #ddd;
	padding: 0px 8px 0px 32px;
	/* display: inline-block; */
	margin-left: auto;
	margin-right: auto;
}

.difficulty-slider-box {
	margin-top: 24px;
	margin-bottom: 40px;
	margin-left: auto;
	margin-right: auto;
	width: 500px;
	display: flex;
	flex-direction: row;
	align-items: center;
}
.difficulty-slider-box * {
	vertical-align: middle;
}
.difficulty-easier {
	width: 100px;
	text-align: right;
}
.difficulty-harder {
	width: 100px;
	text-align: left;
}
.difficulty-disabled {
	color: #aaa;
}
.difficulty-slider {
	-webkit-appearance: none;
	background: transparent;
	appearance: none;
}
.difficulty-slider:focus {
	outline: none;
}
.difficulty-slider::-ms-track {
	cursor: pointer;
	background: transparent; 
	border-color: transparent;
	color: transparent;
}
.difficulty-slider::-ms-thumb {
  margin: 0;
}
.difficulty-slider {
	flex-grow: 1;
	margin-left: 5px;
	margin-right: 5px;
}
.difficulty-slider::-ms-track {
	height: 8px;
	border-radius: 8px;
	background: #0cc078;
	background: url('images/difficulty_scale.png') no-repeat center;
	background-size: cover;
	image-rendering: pixelated;
	-webkit-image-rendering: pixelated;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: crisp-edges;
}
.difficulty-slider::-webkit-slider-runnable-track {
	height: 8px;
	border-radius: 8px;
	background: #0cc078;
	background: url('images/difficulty_scale.png') no-repeat center;
	background-size: cover;
	image-rendering: pixelated;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: crisp-edges;
}
.difficulty-slider::-moz-range-track {
	height: 8px;
	border-radius: 8px;
	background: #0cc078;
	background: url('images/difficulty_scale.png') no-repeat center;
	background-size: cover;
	image-rendering: pixelated;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
}
.difficulty-slider::-moz-range-thumb {
	appearance: none;
	background-color: #ffffff;
	border: 1px solid #b3b3b3;
	border-radius: 50%;
	cursor: pointer;
	height: 16px;
	width: 16px;
	margin-top: -6px;
	box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.8);
}
.difficulty-slider::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	background-color: #ffffff;
	border: 1px solid #b3b3b3;
	border-radius: 50%;
	cursor: pointer;
	height: 16px;
	width: 16px;
	box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.8);
}
.difficulty-slider::-ms-thumb {
	appearance: none;
	background-color: #ffffff;
	border: 1px solid #b3b3b3;
	border-radius: 50%;
	cursor: pointer;
	height: 16px;
	width: 16px;
	box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.8);
	margin-top: 0;
}

/* new difficulty */
.difficulty-container {
	vertical-align: middle;
	width: 50px;
	height: 6px;
	border: solid 1px black;
	border-radius: 6px;
	display: inline-block;
	margin-right: 6px;
}

.difficulty-bar {
	height: 100%;
	overflow: hidden;
	position: relative;
}

.difficulty-bar img {
	width: 50px;
	height: 6px;
	position: absolute;
	left: 0px;
	right: 0px;
	image-rendering: pixelated;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: crisp-edges;
}

.difficulty-bar-bg {
	width: 50px;
	height: 6px;
	background: #0cc078;
}

.similarity-button {
	margin-left: 8px;
	font-size: 16px;
	border: none;
	cursor: pointer;
}

.dropdown {
	position: relative;
	display: inline-block;
}

.dropdown-content {
	display: none;
	position: absolute;
	background-color: #f1f1f1;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
}

.dropdown-content a {
	color: black;
	padding: 4px 16px;
	text-decoration: none;
	display: block;
}

.dropdown-content a:hover {background-color: #ddd;}

.dropdown:hover .dropdown-content {display: block;}

.dropdown:hover .similarity-button {}
/* .dropdown:hover .similarity-button::after { */
/* 	content: ' Similar podcasts:'; */
/* } */







.search-box {
	font-size: 17px;
	/* font-size: 1.1em; */
	/* padding-bottom: 4px; */
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-left: 37px;
	margin-right: 37px;
}
.search-query {
	border-style: none;
	font-size: 17px;
	/* font-size: 1.1em; */
	/* padding-bottom: 4px; */
	outline: none;
	flex-grow: 1;
}
input.search-query::placeholder {
	overflow: visible;
}
.search-box input::placeholder {
	opacity: .3;
	width: 40px;
}

.search-box select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background: transparent;
	border: none;
	margin-right: 30px;
	outline: none;

	background: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%3E%3Ctitle%3Edown-arrow%3C%2Ftitle%3E%3Cg%20fill%3D%22%23000000%22%3E%3Cpath%20d%3D%22M10.293%2C3.293%2C6%2C7.586%2C1.707%2C3.293A1%2C1%2C0%2C0%2C0%2C.293%2C4.707l5%2C5a1%2C1%2C0%2C0%2C0%2C1.414%2C0l5-5a1%2C1%2C0%2C1%2C0-1.414-1.414Z%22%20fill%3D%22%23000000%22%3E%3C%2Fpath%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat;

	background-size: .6em;
	background-position: calc(100%) center;
	background-repeat: no-repeat;
	padding-right: 12px;
}

.search-box select::-ms-expand {
    display: none;
}

.search-box input {
	min-width: 0px;
}

.search-button {
	/* background: red; */
	background: transparent;
	border: none;
	/* display: inline-block; */
	vertical-align: bottom;
}
.search-button:active {
	background: #f1f1f1;
}

.podcast-header {
	clear: all;
	/* border: solid 1px red; */
	height: 50px;
	align-items: center;
	display: flex;
	flex-direction: row;
}

.podcast-title-header {
	/* display: table-cell; */
	flex-grow: 1;
	font-size: 20px;
	font-weight: bold;
	text-align: left;
	margin-left: 24px;
}

.back-button {
	/* float: right; */
	vertical-align: top;
	background: transparent;
	color: #129cff;
	border: solid 1px #ccc;
	border-radius: 8px;
	padding: 6px 10px;
	font-weight: bold;
	font-size: 24px;
}
.back-button:active {
	background: #f1f1f1;
}

.more {
	text-align: center;
}
.more-button {
	/* background: red; */
	margin-left: auto;
	margin-right: auto;
	background: transparent;
	width: 300px;
	padding: 8px;
	border: solid 1px #aaa;
	border-radius: 50px;
}
.more-button:active {
	background: #f1f1f1;
}

.view-podcast-link {
	/* color: #129cff; */
	color: #666;
	cursor: pointer;
	font-size: 14px;
}
.view-podcast-link:hover {
	text-decoration: underline;
}

.view-podcast-line {
	margin-top: 8px;
	margin-left: 60px;
}

/* .search-button { */
/* 	padding: 5px 20px; */
/* 	font-weight: normal; */
/* 	font-size: 14px; */
/* } */


.language-menu {
}

.language-menu select {
	appearance: none;
}

.results-box {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	/* grid-auto-rows: minmax(400px, auto); */
}

.result-box {
	/* border: solid 1px #bbb; */
	margin-top: 12px;
	margin-bottom: 12px;
	/* border-top: solid 1px #aaa; */
	padding-bottom: 4px;
	display: flex;
	flex-direction: column;
	align-items: left;
}
.result-details-box {
	display: flex;
	flex-direction: column;
	align-items: left;
	text-align: left;
}
.result-image {
	min-height: 200px;
}
.result-image img {
	width: 200px;
}

hr.podcast-hr {
	border: none;
	border-top: solid 1px #ddd;
	width: 100%;
}

a.podcast-title {
	font-size: 20px;
	/* font-weight: bold; */
	margin-top: 4px;
	color: #000;
}
a.podcast-title:visited {
	/* color: #548; */
	color: #968bc6;
}

.episode-title {
	font-size: 14px;
	color: #666666;
}

.podcast-author {
	font-style: italic;
	color: #666666;
	font-size: 12px;
}

.relevant-episodes {
	color: #666666;
}

.ids {
	color: transparent;
}
.ids:hover {
	color: black;
}
.result-count {
	/* margin-top: 16px; */
	color: #646a72;
	font-size: 14px;
}

.lingopods-logo {
	/* color: #32a852; */
	/* color: #131037; */
	/* color: #ed2121; */
	color: #129cff;
	width: 300px;
	cursor: pointer;
}

.lingopods-logo-small {
	/* color: #32a852; */
	/* color: #131037; */
	/* color: #ed2121; */
	color: #129cff;
	width: 200px;
	cursor: pointer;
}

.lingopods-subtitle {
	margin-top: 12px;
	margin-bottom: 36px;
	font-size: 20px;
	/* font-family: Comfortaa; */
	/* font-family: Concert One; */
	/* font-family: Kumbh Sans; */
	/* font-family: Padauk; */
	/* font-family: Yaldevi; */
}

.lingopods-subsubtitle {
	margin-top: 16px;
	margin-bottom: 24px;
	font-size: 16px;
	color: #555;
	/* font-style: italic; */
	/* font-family: Kumbh Sans; */
	/* font-family: Comfortaa; */
}

.notes {
	display: table-cell;
	max-width: 640px;
	font-size: 17px;
	margin: auto;
	color: #777;
}
.notes b {
	color: #222;
}

.stats {
	font-size: 14px;
	color: #aaa;
}

.about-column {
	max-width: 400px;
	margin: 0px auto;
}
.about-column h2 {
	text-align: center;
}

.article-column {
	max-width: 600px;
	margin: 0px auto;
}
.article-column h2, h3 {
	text-align: center;
}

@media only screen and (max-width: 840px) {
	.search-box {
	padding: 0px 8px;
	margin: 0px 4px;
	}
	.search-box > * {
		/* width: 30%; */
	}
	/* .search-query { */
	/* 	border-style: none; */
	/* 	outline: solid 1px #333; */
	/* 	font-size: 14px; */
	/* } */
	.search-box select {
		background: transparent;
		border: none;
		margin-right: 4px;
	}
	.content {
		width: 100%;
	}
	/* .difficulty-bar { */
	/* 	width: 100%; */
	/* } */
	.difficulty-slider-box {
		width: 100%;
		max-width: 400px;
		font-size: 12px;
	}
	.notes {
		width: 100%;
		padding: 8px;
	}
	header {
		font-size: 14px;
		padding: 6px 8px;
	}
	.stats {
		font-size: 12px;
		color: #aaa;
	}
	.lingopods-subtitle {
		margin-top: 2px;
		margin-bottom: 4px;
		font-size: 14px;
	}
	.lingopods-subsubtitle {
		margin-top: 2px;
		margin-bottom: 4px;
		font-size: 10px;
	}
	#app {
		padding: 0px;
	}

}

@media only screen and (max-width: 660px) {
	/* .result-image { */
	/* 	width: 200px; */
	/* } */
	.results-box {
		grid-template-columns: repeat(1, 1fr);
	}
	.result-box {
		/* border: solid 1px #bbb; */
		margin-top: 26px;
		/* border-top: solid 1px #aaa; */
		padding-bottom: 4px;
		display: flex;
		flex-direction: row;
		align-items: flex-start;
	}
	.result-details-box {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
		margin-left: 8px;
		width: 100%;
	}
	.result-image {
		min-height: 100px;
	}
	.result-image img {
		width: 100px;
	}
	.difficulty-bar {
		width: 100%;
	}
}

@media only screen and (max-width: 440px) {
	/* .result-image { */
	/* 	width: 200px; */
	/* } */
	.results-box {
		grid-template-columns: repeat(1, 1fr);
	}
}

/* https://cssloaders.github.io/ */
.loader, .loader:before, .loader:after {
  border-radius: 50%;
  width: 2.5em;
  height: 2.5em;
  animation-fill-mode: both;
  animation: bblFadInOut 1.8s infinite ease-in-out;
}
.loader {
  color: #129cff;
  font-size: 7px;
  position: relative;
  text-indent: -9999em;
  transform: translateZ(0);
  animation-delay: -0.16s;
}
.loader:before,
.loader:after {
  content: '';
  position: absolute;
  top: 0;
}
.loader:before {
  left: -3.5em;
  animation-delay: -0.32s;
}
.loader:after {
  left: 3.5em;
}

@keyframes bblFadInOut {
  0%, 80%, 100% { box-shadow: 0 2.5em 0 -1.3em }
  40% { box-shadow: 0 2.5em 0 0 }
}
    
