.search-head {
}

.hero img {
	height: 14vh;
	width: auto;
}

@media screen and (min-width: 500px) {
	.hero img {
		height: 18vh;
		width: auto;
	}
}

.hero h1 {
	color: white;
	font-family: "Special Elite";
	font-size: 2rem;
	position: relative;
	top: -.5rem;
	text-shadow: 1.25px 1.25px black;
}

@media screen and (min-width: 500px) {
	.hero > div,
	.hero > h1 {
		width: 60%;
		margin-left: auto;
	}
}

@media screen and (min-width: 720px) {
	.hero > div,
	.hero > h1 {
		width: 100%;
		margin-left: auto;
	}
}

h2 {
	font-weight: bold;
	font-size: 1.5rem;
	font-family: 'Cousine';
}

.tabs-panel {
	padding: .5rem 1rem;
}

.tabs-title {
	margin-right: .25rem;
}

.tabs-title > a {
	text-transform: uppercase;
	color: #e30922;
	background-color: #fed113;
}

.tabs-title > a:focus,
.tabs-title > a:hover,
.tabs-title > a[aria-selected='true'],
.tabbed-search-content label {
	color: #fff;
	background-color: #e30922;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.tabs-title > a:focus, .tabs-title > a[aria-selected='true'],
.tabbed-search-content label,
.tabs-title > a:hover {
	color: #fff;
	background-color: #e30922;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

.tabbed-search-content {
	background-color: #fcd720;
}
.tabbed-search-content {
	background-color: rgba(227, 9, 34, .5);
	background-color: #fcd720;
	background-color: #e30922;
}
.tabbed-search-content1::after {
	width: 100%;
	height: 100%;
	content: " ";
	background-image: url(../images/pattern.png);
}

.button.primary {
	background-color: #2eb8ca;
	color: white;
}

.results-total {
	font-family: Cousine;
	text-align: right;
	position: relative;
	top: -18px;
	color: #555;
	font-size: .75rem;
}

.results {
	padding: 0 2rem 2rem;
}

.processing {
	position: relative;
	top: 0;
	left: 0;
}

.processing > div {
	font-family: Cousine;
	text-align: center;
	position: absolute;
	top: 90px;
	width: 100%;
}

.processing .spin {
	-webkit-animation-name: spin;
	-webkit-animation-duration: 4000ms;
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: linear;
	-moz-animation-name: spin;
	-moz-animation-duration: 4000ms;
	-moz-animation-iteration-count: infinite;
	-moz-animation-timing-function: linear;
	-ms-animation-name: spin;
	-ms-animation-duration: 4000ms;
	-ms-animation-iteration-count: infinite;
	-ms-animation-timing-function: linear;
	animation-name: spin;
	animation-duration: 4000ms;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	width: 64px;
	height: 64px;
	background-image: url(../images/triangle.png);
	background-size: contain;
	background-repeat: no-repeat;
	margin: 5rem auto;
	display: block;
}

@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}

.beat,
.episode {
	margin-bottom: 3rem;
	position: relative;
	top: 0;
	left: 0;
}
.beat h5,
.episode h5 {
	font-size: 1rem;
	border-bottom: solid 2px #2eb8ca;
	padding: 0 0 .25rem;
}
.beat h5 .episode-title {
	display: inline-block;
}

.beat .beat-summary {
	position: absolute;
	width: 5.5rem;
	top: 0;
	left: 0;
	margin-top: .1rem;
}
.beat .beat-details {
	margin-left: 6.5rem;
	font-family: Cousine;
}

.beat .beat-summary .episode-date,
.beat .beat-summary .episode-season,
.beat .beat-summary .episode-number {
	display: table-row;
	padding: .1rem 0;
	font-size: .75rem;
}
.beat .beat-summary .episode-date {
	display: block;
	font-weight: bold;
	color: #222;
	font-size: .75rem;
	font-family: "Cousine";
}
.beat .beat-summary .episode-season span,
.beat .beat-summary .episode-number span {
	display: table-cell;
	width: 3.5rem;
}
.beat .beat-summary .episode-season strong,
.beat .beat-summary .episode-number strong {
	display: table-cell;
	width: 1.75rem;
	text-align: right;
}
.beat .beat-summary .beat-number {
	display: block;
	font-size: .75rem;
}
.beat .beat-summary .beat-number i {
	color: red;
}
.beat-content {
	display: table-row;
}
.beat-content > div {
	display: table-cell;
}
.beat-content > .beat-character {
	text-transform: uppercase;
	font-weight: bold;
	width: 8rem;
}

.episode .episode-season {
	font-family: "Cousine";
	display: inline-block;
	width: 5.5rem;
	margin-right: .5rem;
	font-size: .75rem;
	padding: .2rem 0;
	text-align: center;
	background-color: #fcd720;
	color: #e30922;
  box-shadow: -1px 2px 0 black;
	font-weight: bold;
	top: -3px;
	position: relative;
}
.episode .episode-people {
	text-transform: uppercase;
	font-family: "Cousine";
	margin-top: .5rem;
}
.episode .episode-number {
	width: 5.5rem;
	margin-right: .5rem;
}
.episode .episode-date,
.episode .episode-number {
	font-size: .9rem;
	display: inline-block;
}
.episode .episode-link {
  color: skyblue;
  margin-left: .5rem;
}

.footer {
	font-size: .75rem;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
}

.footer > div {
	width: auto;
	margin-left: auto;
}

.footer a {
	display: block;
	color: black;
	height: 1.5rem;
	line-height: 1.5rem;
	background-color: rgba(255, 255, 255, .95);
	text-align: right;
	padding: 0 .5rem;
}

.footer a:hover {
	text-decoration: underline;
}

.footer a > span {
	display: inline-block;
	height: 1.5rem;
	line-height: 1.5rem;
}

.footer img {
  fill: black;
	height: 1rem;
	width: auto;
}

.beat-content .beat-content {
	padding-right: 1rem;
}

button.toggle-favorite {
	display: none;
}

body.is-logged-in button.toggle-favorite {
	display: inline-block;
}

button.toggle-favorite {
	cursor: pointer;
	position: absolute;
	right: 0rem;
	top: 2.25rem;
	color: gray;
}
button.toggle-favorite.is-favorite {
	color: green;
}