body {
	background: #F9F9F9;
}

/* wraps up the search results into a flexbox */
.search-results-container {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	flex-wrap: wrap;
	margin: 0 auto;
}
@media screen and (min-width: 768px) and (orientation: landscape) {
	.search-results-container {
		width: 60%;
	}
}

/* contains only the search result count header */
.search-results-count {
	width: 100%;
	text-align: right;
	font-size: 1.5em;
	margin-bottom: 0.6em;
}

/* the filters, should be to left on desktop/tablet, top on mobile */
.search-results-filters-container {
	width: 100%;
	background: #FFFFFF;
	text-align: left;
	margin-bottom: 0.5em;
	border: solid #A7A7A7 1px;
}
@media screen and (min-width: 768px) and (orientation: landscape) {
	.search-results-filters-container {
		margin-right: 2%;
		width: 28%;
	}
}
.search-results-filters {
	padding: 1em;
}
.search-results-filters-header {
	font-size: 1em;
	margin-bottom: 1em;
	font-weight: bold;
}
.search-results-filters-filter {
	font-size: 1em;
	margin-bottom: 1em;
}

/* the actual results proper.  sort of a mini-container */
.search-results {
	width: 100%;
}
@media screen and (min-width: 768px) and (orientation: landscape) {
	.search-results {
		width: 69%;
	}
}

/* container for each result */
.search-results-item-container {
	margin-bottom: 1em;
	width: 100%;
	background: #FFFFFF;
	min-height: 6.2em;
	border: solid #A7A7A7 1px;
}
.search-results-item {
	display: flex;
	padding: 0.8em;
}
/*.search-results-item-container:nth-child(even) {
	background: #EEECEB;
}*/

/* definition of icon, followed by placeholder declarations */
.search-results-icon {
	height: 4em;
	width: 4em;
}
@media screen and (min-width: 768px) and (orientation: landscape) {
	.search-results-icon {
		height: 4.5em;
		width: 4.5em;
		margin-right: 2em;
	}
}
.sr-recording {
	background: url('/img/icons/SongIconSmall.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;	
}
.sr-professional {
	background: url('/img/icons/ParticipantIconSmall.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
}
.sr-organization {
	background: url('/img/icons/CompanyIconSmall.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
}
.sr-album {
	background: url('/img/icons/AlbumIconSmall.png');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100% 100%;
}

/*container for result text and type declarations */
.search-results-text {
	text-align: right;
	width: 70%;
	float: right;
}
@media screen and (min-width: 768px) and (orientation: landscape) {
	.search-results-text {
		text-align: left;
		float: none;
	}
}
.sr-header {
	font-weight: bold;
	font-size: 1.5em;
}
.sr-subheader {
	font-size: 1em;
}
.sr-type {
	font-size: 1em;
	font-style: italic;
}

.active {
	font-weight: bold;
}

.search-get-portal-container {
	width: 100%;
	margin: 2rem auto;
	text-align: center;
}
.search-get-portal {
	border: solid 2px #000000;
	padding: 1rem;
	border-radius: 20px;
	text-align: center;
	text-decoration: none;
	margin: 0 auto;
	color: #000000;
	display: inline-block;
}
.search-get-portal:visited {
	color: #000000;
}

/*
* This is only for during the charter phase.
*/
.search-charter-stage {
	color: #8A6D3B;
	padding: 0.1rem 0.7rem;
	background: #FFF7B5;
	margin-bottom:1rem;
	transition: 1s;
	position: relative;
	border: solid 2px #FAEBCC;
	border-radius: 8px;
}
@media screen and (min-width: 768px) and (orientation: landscape) {
	.search-charter-stage {
		padding: 0.2rem 2rem;
		margin-bottom: 1.5rem;
	}
}
.search-charter-stage p {
	text-align: left;
}
.search-charter-stage-learn {
	cursor: pointer;
}
.search-charter-stage-arrow {
	height: 28px;
	width: 28px;
	cursor: pointer;
	transition: 1s;
	transform: rotate(0deg);
}
.search-charter-stage-arrow-container {
	width: 100%;
	display: flex;
	justify-content: flex-end;
	margin-bottom: 0.5rem;
}
.search-charter-stage-below {
	overflow: hidden;
	height: 0;
	transition: 1s;
}

/* Style for the recent entries block */
.search-results-most-recent-container {
	display: block;
	width: 90%;
	border-radius: 20px;
	background: #E0F0F6;
	border: 1px solid #757E81;
	padding: 1rem 2rem;
}
.search-results-most-recent {
	display: flex;
	flex-direction: column;
	width: 100%;
	align-items: flex-start;
	justify-content: center;
}
.search-results-recent-header {
	margin-bottom: 0;
}
.search-recent-albums-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
	margin-bottom: 1rem;
}
.search-recent-album {
	margin-right: 10px;
	margin-bottom: 8px;
}
.search-recent-album.small-album img {
	height: 100px;
	width: 100px;
}
.search-recent-album.big-album img {
	height: 125px;
	width: 125px;
}
@media screen and (min-width: 768px) and (orientation: landscape) {
	.search-results-most-recent-container {
		width: 100%;
	}
}
#recent-albums-loading {
	animation: rotation 1.5s infinite linear;
}
@keyframes rotation {
	from {
		transform: rotate(0deg);
	} to {
		transform: rotate(359deg);
	}
}
