html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	box-sizing: inherit;
}

body {
	font: 16px/24px 'Source Sans Pro', sans-serif;
	min-width: 980px;
}

a {
	color: #E60011;
	text-decoration: none;
	transition: all 0.25s ease-out;
	border-bottom: 1px solid transparent;
}

a:hover {
	border-color: #E60011;
	text-decoration: none;
}

b,
strong {
	font-weight: bold;
}

i,
em {
	font-style: italic;
}

hr {
	height: 1px;
	background: #ddd;
	border: 0;
	margin: 0 0 15px 0;
}

.container {
	position: relative;
	padding: 15px 15px 25px 15px;
}

header.migrate-logo-generic {
	height: 3.25rem;
}

header.migrate-logo-round {
	height: 10.25rem;
}

header::after {
	clear: both;
	content: '';
	display: table;
}

header h1 {
	float: left;
}

header h1 img {
	width: 10rem;
	height: auto;
	transform: rotate(-5deg);
}

header h1 a:hover {
	border-color: transparent;
}

header .menu-header-menu-container {
	float: left;
	padding-left: 30px;
	padding-top: 15px;
}

header .menu-header-menu-container li {
	display: inline-block;
	margin-right: 4rem;
	margin-bottom: 0;
	line-height: 1.6;
}

header .menu a {
	text-transform: uppercase;
}

header .menu .current-menu-item a {
	border-color: #E60011;
}

img {
	vertical-align: top;
}

h2 {
	font-size: 36px;
	font-weight: lighter;
	margin-bottom: 0.2em;
	line-height: 1.4;
}

.post-title {
	font-size: 2rem;
	margin-bottom: 0.5rem;
}

.post-title span {
	font-weight: bold;
}

.post-title a {
	border-color: #e60011;
}

h3 {
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 7px;
}

h3.tag-set-title {
	margin-top: 15px;
}

section {
	padding: 15px 0 !important;
	border-top: 1px solid #dedede;
}

p {
	margin-bottom: 15px;
}

.artist img {
	border: 1px solid #000;
	transition: all 0.25s ease-out;
	margin-bottom: 5px;
}

.artist a:hover img {
	border-color: #E60011;
}

.item {
	margin-top: 30px;
}

.item:first-child {
	margin-top: 0;
}

img.logo {
	width: 180px;
	vertical-align: middle;
	margin: 15px;
}

label {
	color: #E60011;
}

input,
textarea {
	display: block;
	font: 14px 'Source Sans Pro', sans-serif;
	margin: 5px 0 15px 0;
	padding: 5px;
	background: #f2f2f2;
	border: 1px solid #ccc;
	width: 100%;
	transition: all 0.25s ease-out;
}

input:focus,
textarea:focus {
	border-color: #E60011;
	background: #fff;
}

button,
input[type=submit],
input[type=button] {
	font: bold 14px 'Source Sans Pro', sans-serif;
	color: #E60011;
	background: #ccc;
	border: none;
	padding: 7px;
	border-radius: 5px;
	cursor: pointer;
	transition: all 0.25s ease-out;
	background: #E60011;
	color: #fff;
}

input[type=button] {
	display: inline !important;
	width: auto;
	margin: 0 0.5rem;
}

.feedback {
	background: #e6b9bc;
	padding: 10px;
	border: 1px solid #bf000d;
	margin-bottom: 15px;
}

.feedback-ok {
	border-color: #00bf39;
	background: #b8e5c5;
}

.right-sidebar {
	float: right;
	width: 225px;
}

.right-sidebar img {
	width: 100%;
	height: auto;
	margin-bottom: 15px;
}

.columns::after {
	content: '';
	clear: both;
	display: table;
}

.post-content {
	width: 100%;
	overflow: auto;
	margin-bottom: 1rem;
}

.post-content h3 {
	font-weight: normal;
	position: absolute;
	left: 15px;
}

.post-content h3 strong {
	color: #E60011;
}

.gallery {
	height: 220px;
	overflow: hidden;
	margin-bottom: 1rem;
	min-width: 100%;
}

.gallery-empty {
	background: #f0f0f0;
	height: 100% !important;
	color: #aaa;
	padding-left: 4rem;
	line-height: 6rem;
	font-weight: 200;
	box-sizing: border-box;
}

#images-gallery .gallery-empty {
	line-height: 220px !important;
	height: 220px !important;
	padding-left: 100px;
	font-size: 1.5rem;
}

#images-gallery h3 {
	font-size: 1.25rem !important;
}

.gallery:after {
	content: '';
	clear: both;
	display: table;
}

.gallery-item {
	float: left;
	margin-right: 0.5rem;
	height: 100%;
	width: auto;
}

.gallery-icon {
	height: 100%;
	width: auto;
}

.gallery-icon img {
	height: 100%;
	background: #eee;
	display: block;
}

footer {
	background: #f2f2f2;
	padding: 1rem 0;
}

footer li {
	margin-bottom: 0.5rem;
}

.post-meta {
	color: #808080;
}

.post-meta a {
	color: #666;
}

.post-meta a:hover {
	color: #E60011;
}

#pagination .container:after {
	content: '';
	clear: both;
	display: table;
	border: 0;
}

.nav-next,
.nav-previous {
	float: left;
	margin-right: 30px;
}

#library {
	padding: 0 15px !important;
	position: relative;
}

#library .content {
	float: none;
	width: 100%;
	max-width: none;
	padding-left: 0;
}

#library .container {
	padding: 0 15px;
}

#library .post-content h3 {
	position: relative;
	left: 0;
}

#library .gallery {
	padding-top: 0;
}

.migrate-search-library .migrate-everything-else h2,
.migrate-search-library .migrate-everything-else h3 {
	text-transform: none;
	font-weight: normal;
	font-size: 1.75rem;
	line-height: 2rem;
	margin-bottom: 0.4rem;
	font-weight: 200;
	color: black;
}

.migrate-search-library h2 b {
	text-transform: none;
	color: black;
}

.migrate-search-library-special {
	width: 10000px;
	padding: 25px 25px 25px 25px !important;
	margin: 0 !important;
	border: 0;
}

.migrate-search-library-special .gallery {
	height: 300px;
	line-height: 300px;
	margin-bottom: 100px;
}

.migrate-search-library-special .gallery:last-child {
	margin-bottom: 0;
}

.migrate-search-library-special .gallery .gallery-icon img {
	width: auto !important;
	height: 100% !important;
}

.migrate-search-library-special .gallery .gallery-item {
	margin-right: 25px;
}

.migrate-search-library-close {
	position: absolute;
	top: 10px;
	right: 10px;
	height: 60px;
	width: 60px;
	border-radius: 60px;
	border: #aaa 1px solid;
	display: none;
	cursor: pointer;
}

.migrate-search-library-close:before,
.migrate-search-library-close:after {
	content: '';
	position: absolute;
	top: 50%;
	right: 4px;
	width: 50px;
	height: 1px;
	background-color: #aaa;
	transform-origin: center;
}

.migrate-search-library-close:before {
	transform: rotate(45deg);
}

.migrate-search-library-close:after {
	transform: rotate(-45deg);
}

.migrate-search-library-close:hover {
	border-color: #e60011;
}

.migrate-search-library-close:hover:before,
.migrate-search-library-close:hover:after {
	background-color: #e60011;
}

.migrate-search-library-close-legend {
	position: absolute;
	top: 70px;
	right: 0px;
	width: 60px;
	text-align: center;
	font-size: 0.8rem;
	line-height: 1rem;
	color: #aaa;
}

.migrate-explainer {
	text-align: left;
	font-size: 0.8rem;
	vertical-align: middle;
	line-height: 1.2;
	text-transform: uppercase;
}

.migrate-highlight {
	padding: 0.6rem 1rem;
	margin: 0 0 1rem 0;
	line-height: 1.4;
	font-size: 1rem;
	font-weight: normal;
	background-color: #f0f0f0;
}

.tag-navigation-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-start;
	overflow-y: hidden;
	max-height: calc(800px/9 + 15px);
	margin: 45px 0 30px 0;
	transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.tag-navigation-container.open {
	max-height: calc(800px/4);
	transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.tag-navigation-opener {
	cursor: pointer;
	color: red;
	font-size: 0.8em;
	line-height: 1.2;
	text-align: center;
}

.tag-navigation-container svg#more-button {
	fill-opacity: 1;
	transition: fill-opacity 0.5s ease-out;
}

.tag-navigation-container.open svg#more-button {
	fill-opacity: 0;
	transition: fill-opacity 0.5s ease-out;
}

.tag-navigation-container.open .tag-navigation-opener:before {
	content: 'Show fewer categories';
	color: red;
	font-size: 22px;
	padding-bottom: 15px;
	position: absolute;
	right: calc(92%/9);
	padding-top: calc(800px/25);
	width: calc(92%/9);
}

.sidebar .post-tag {
	display: inline-block;
	width: 100%;
	margin-bottom: 5px;
}

.post-content ul li {
	list-style: disc;
	margin-left: 1em;
}

.post-voting-controls {
	position: relative;
	background-color: #e0e0e0;
	padding: 1rem 1.5rem;
	margin: 0 0 2rem 0;
}

.post-vote-buttons-container {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-evenly;
	width: 100%;
	margin: 1.5rem 0;
}

.vote-button-container {
	margin-right: 20px;
	text-align: center;
	width: calc(100%/8 - 20px);
}

.vote-button-container .vote-count {
	margin: 0.5rem 0 0 0;
	line-height: 2rem;
	font-size: 1.5rem;
	color: #e60011;
	font-weight: normal;
	text-indent: -1rem;
	cursor: help;
	position: relative;
}

.vote-button-container .vote-count-historic {
	margin: 0.6rem 0 0 0;
	line-height: 14px;
	font-size: 1rem;
	color: #888;
	font-weight: normal;
	text-indent: 2rem;
	position: relative;
	cursor: help;
}

.vote-button-container .vote-count-historic:after{
	content: '';
	position: absolute;
	border-top: 1px solid #aaa;
	width: 2.5rem;
	transform: rotate(-45deg);
	transform-origin: 0% 0%;
	right: 1rem;
	top: 0.4rem;
}

.fwc-vote-button.fwc-nav-tag {
	height: 100px;
	width: 100px;
	cursor: pointer;
	display: block;
	background: #fff;
	border-radius: 100px;
	border: transparent 3px solid;
}

.fwc-vote-button.fwc-nav-tag:hover {
	border: #e60011 3px solid;
}

.fwc-vote-button.disabled {
	cursor: not-allowed;
}

.fwc-vote-button.fwc-nav-tag.disabled:hover {
	border: #fff 3px solid;
}

.fwc-vote-button.disabled svg {
	fill-opacity: 0.5;
	stroke-opacity: 0.5;
	transition: fill-opacity 0.5s ease-out, stroke-opacity 0.5s ease-out;
}

.fwc-nav-tag {
	width: calc(92%/9);
	margin-right: 1%;
	height: auto;
	border: none;
	text-decoration: none;
}

.fwc-nav-tag:hover {
	text-decoration: none;
	border: none;
}

.fwc-nav-tag:nth-of-type(9n-1),
.tag-navigation-opener {
	margin-right: 0;
}

.fwc-nav-tag:nth-of-type(8) {
	margin-right: 1%;
}

.post-voting-controls h2 {
	font-size: 1.5em;
	font-weight: normal;
	margin: 0;
}

.migrate-emphasize-red {
	font-weight: bold;
	color: #e60011;
}

.post-tag {
	display: inline-block;
	background-color: #e60011;
	color: #fff;
	margin: 0 0.5rem 0 0;
	line-height: 2;
	padding: 0 0.5rem;
	border-radius: 3px;
}

.post-tag.red {
	background-color: #e60011;
}

.post-tag.blue {
	/*background-color: #1c184d;*/
}

.post-tag.grey {
	/*background-color: #939598;*/
}

.post-tag.green {
	/*background-color: #00a651;*/
}

.post-section {
	margin-bottom: 2rem;
}

.post-section.red {
	color: #e60011;
}

.post-section.blue {
	color: #1c184d;
}

.post-section.grey {
	background-color: #939598;
}

.post-section.green {
	background-color: #00a651;
}

.post-section:last-of-type() {
	margin-bottom: 60px;
}

.post-section-title {
	margin-bottom: 0.5rem;
	font-size: 2em;
}

.post-section-title.no-border {
	border-top: none;
}

.post-section-title span {
	font-weight: bold;
}

.post-history {
	margin-bottom: 1rem;
}

.post-history h3 {
	font-size: 1.25rem !important;
}

.post-history .post-content {
	margin-top: 1rem;
}

.post-details table {
	font-size: 1rem;
	font-size: 1.25rem;
	font-weight: 200;
}

.post-details table th,
.post-details table td {
/*	background: #f0f0f0;*/
	padding: 0.5rem 1rem;
}

.post-details table th {
	background: #e0e0e0;
	font-weight: normal;
}

@media (min-width: 665px) {
	.artist img {
		float: left;
		margin-right: 25px;
		max-width: 215px;
		margin-bottom: 0;
	}

	.artist .text {
		float: left;
		width: 425px;
	}

	.artist::after {
		content: '';
		clear: both;
		display: table;
	}
}

@media (min-width: 980px) {
	header {
		position: relative;
	}

	header h1 {
		position: absolute;
		left: 0;
		bottom: 0;
	}

	header .menu-header-menu-container {
		float: none;
		padding: 0;
	}

	header .menu {
		position: absolute;
		left: 14rem;
		bottom: -2px;
	}

	section {
		padding: 30px 0;
	}

	.container {
		width: 980px;
		margin: 0 auto;
	}

	.sidebar {
		float: left;
		width: 225px;
	}

	.content {
		float: left;
		padding-left: 25px;
		width: calc(100% - 225px);
		max-width: 480px;
	}

	#home .content {
		float: none;
		padding: 0;
		width: 100%;
		max-width: 100%;
	}

	.content--wide {
		max-width: none;
	}
}

@media screen and (max-width: 800px) {
	.tag-navigation-container {
		max-height: calc(100vw/9 - 3px);
	}
}

@media screen and (max-width: 567px) {
	.fwc-nav-tag {
		width: calc(96%/4);
	}

	.tag-navigation-container {
		max-height: none;
	}

	.tag-navigation-opener {
		display: none;
	}
}

/* TODO Consolidate all new CSS below (selectors prepended with `migrate-`) */

/* TODO use this as a SASS module */
.cleared:after {
	content: '';
	display: table;
	clear: both;
}

.migrate-container {
	width: 980px;
	padding: 0 15px;
	margin: 0 auto;
}

.migrate-column-1 {
	width: 100%;
}

.migrate-column-2 {
	width: calc(50% - 15px);
	float: left;
	margin-right: 30px;
}

.migrate-column-2 + .migrate-column-2 {
	margin-right: 0;
}

.migrate-front-page-steps {
	list-style: none;
	padding: 0;
	margin: 0;
	counter-reset: li; /* resetting the counter count */
}

.migrate-front-page-steps li {
	clear: both;
	margin: 0 0 3rem 0;
}

.migrate-front-page-steps li:after {
	content: '';
	clear: both;
	display: table;
}

.migrate-front-page-steps li img {
	width: 4rem !important;
	height: 4rem !important;
	opacity: 0.4;
	float: left;
}

.migrate-front-page-steps li .number {
	display: block;
	float: left;
	width: 2rem;
	color: red;
	font-size: 3rem;
	padding: 0.5rem 0 0 4rem;
	text-align: right;
	line-height: 1;
}

.migrate-front-page-steps li .description {
	display: block;
	margin-left: 13rem;
	padding: 0.5rem 0 0 0;
	font-size: 1.25rem;
	line-height: 1.3;
}

.migrate-video-container {
	position: relative;
	width: 100%;
	height: 0;
	padding-bottom: 56.25%;
	margin-bottom: 2rem;
}

.migrate-video-container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.migrate-icon-social-media {
	width: 1.5rem !important;
	height: auto;
	opacity: 0.4;
	vertical-align: middle;
	margin-right: 0.5rem;
}

#events .migrate-container h2 {
	color: #E60011;
	font-weight: 300;
}

.migrate-event {
	background-color: #f0f0f0;
	margin: 0 0 2em 0;
	padding: 0.6em 0.8em;
}

.migrate-event:last-child {
	border-bottom: 0;
}

.migrate-event-title {
	margin-bottom: 0.6rem;
	font-size: 1.5em;
	font-weight: bold;
	line-height: 1.1;
}

.migrate-event-date-and-time {
	margin-bottom: 0.8rem;
	color: #6a6a6a;
	font-size: 1em;
	font-weight: bold;
	line-height: 1.4;
}

.migrate-event-content {
	line-height: 1.4;
}

.migrate-event-content ul {
	list-style-type: square;
	list-style-position: outside;
	padding-left: 1.5rem;
	margin-right: 1.5rem;
}

.migrate-event-media {
	white-space: nowrap;
	overflow-x: scroll;
	margin-top: 1em;
}

.migrate-event-photo {
	height: 180px;
	margin: 0 1em 0 0;
}

.migrate-event-link {
	text-transform: uppercase;
}

.migrate-event-single-photo-container {
	width: auto;
	height: auto;
	background-color: #efefef;
	margin-bottom: 1em;
}

.migrate-event-single-photo {
	display: block;
	width: 100%;
	height: auto;
}

.migrate-event-single-photo-description {
	padding: 0.25em 0.5em;
}

.migrate-search-archive-flex {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: start;
	align-items: flex-start;
	padding: 0 0 2rem 0;
}

.migrate-search-archive-controls {
	width: 11rem;
	padding: 0 0.5rem 0 0;
	flex-shrink: 0;
}

.migrate-search-archive-controls-filter-group {
	margin-bottom: 1rem;
}

.migrate-search-archive-control label {
	cursor: pointer;
	user-select: none;
	color: #e60011;
	display: block;
	width: 100%;
}

.migrate-search-archive-control.disabled {
	cursor: not-allowed;
	user-select: none;
	color: #aaa;
}

.migrate-search-archive-results {
	padding: 0 0 0 0.5rem;
	flex-grow: 1;
	flex-shrink: 0;
}

.migrate-search-archive-results-table {
	width: 100%;
	border-style: solid;
	border-color: #ddd;
	border-width: 0;
	float: left;
}

.migrate-search-archive-results-table thead tr {
	border-top: #ddd solid 1px;
}

.migrate-search-archive-results-table th {
	text-align: left;
	font-weight: bold;
	border-bottom: #ddd solid 1px;
	font-size: 18px;
}

.migrate-search-archive-results-table tr {
	line-height: 2em;
	border-bottom: #ddd solid 1px;
}

.migrate-search-archive-results-table td,
.migrate-search-archive-results-table th {
	padding: 0 0.5em;
	max-width: 25rem;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}

input[type=checkbox] {
	display: inline;
	margin: 0 0.5em 0 0;
	width: auto;
}

.migrate-search-archive-result-expand {
	color: #e60011;
	cursor: pointer;
	text-transform: uppercase;
}

.migrate-search-archive-result {
	visibility: collapse;
	cursor: pointer;
}

.migrate-search-archive-result:hover {
	background: #f0f0f0;
}

.migrate-search-archive-result.active:hover {
	background: none;
}

.migrate-search-archive-result.filter-in {
	visibility: visible;
}

.migrate-search-archive-results .migrate-search-archive-result-tiny {
	position: relative;
	width: 1px;
	padding: 0;
	text-overflow: inherit;
	overflow: visible;
	white-space: normal;
}

.migrate-search-archive-result .migrate-search-archive-result-middle {
	display: none;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	margin: 2rem 0 0 0;
	padding: 0 1rem 0 0.5rem;
}

.migrate-search-archive-result.active .migrate-search-archive-result-middle {
	display: block;
}

.migrate-search-archive-result.active td {
	height: 21rem; /* TODO Discrepancy between Chrome and Firefox, this value is tuned to Chrome */
}

.migrate-search-archive-result .migrate-search-archive-result-middle .images {
	height: 6rem;
	margin: 0;
	width: 100%;
	white-space: nowrap;
}

.migrate-search-archive-result .migrate-search-archive-result-middle .gallery {
	height: 6rem;
	width: auto;
	height: auto;
	white-space: nowrap;
	margin: 0;
}

.migrate-search-archive-result .migrate-search-archive-result-middle .gallery-item {
	float: none;
	display: inline-block;
	margin-right: 0.5rem;
}

.migrate-search-archive-result .migrate-search-archive-result-middle img {
	display: inline-block;
	height: 6rem;
	width: auto;
}

.migrate-search-archive-result .migrate-search-archive-result-middle h3 {
	font-size: 1em;
	line-height: 2;
	margin: 0;
}

.migrate-search-archive-result .migrate-search-archive-result-middle .tags {
	margin: 0 0 0 0;
	width: 100%;
	white-space: nowrap;
	overflow: hidden; /* TODO cuts off tags, but need to figure out how to let them wrap */
}

.migrate-search-archive-result .migrate-search-archive-result-middle .more {
	margin-top: 0.25rem;
	width: 100%;
}

.migrate-search-archive-result .migrate-search-archive-result-middle .migrate-more a {
	border: 1px #E60011 solid;
	display: inline-block;
	padding: 0 1rem;
	border-radius: 3px;
	margin-top: 3px;
}

div.lazy-loads {
	position: relative;
}

div.lazy-loads:before {
	content: url('img/spinner.svg');
	transition: opacity 2s ease-in-out;
	opacity: 1.0;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 0;
	margin-left: -32px;
	margin-top: -32px;
}

div.lazy-loaded:before {
	opacity: 0;
}

img.lazy-loads {
	color: transparent;
}

.migrate-boxed {
	padding: 1rem;
	background: #eee;
	margin: 0 0 1rem 0;
}

button[disabled],
input[disabled],
.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.tooltip:before {
	content: '';
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	background: #888;
	color: white;
	line-height: 1rem;
	text-align: center;
	padding: 0.5rem;
	font-size: 0.8rem;
	text-indent: 0;
	z-index: 3;
	white-space: nowrap;
}

.tooltip.visible:before {
	content: attr(tooltip);
	display: inline-block;
}