#container {
	display: block;
}

#container main {
	padding: 0;
	border: 0;
}

/*============================
=> Search Section Style Sheet
============================*/

#search-container {
	background: #f9f9f9
		url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23eeeeee' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
	padding: 50px 30px;
	margin: -40px -30px 0;
}

#search-container form {
	width: 700px;
	max-width: 90%;
	margin: 0 auto;
}

#search-container form > * + * {
	margin-top: 1.875em;
}

#show-search {
	position: relative;
}

#search-container #show-search > input {
	width: 100%;
	border: none;
	padding: 0.75em;
	padding-right: 2em;
	font-weight: bold;
	outline: none !important;
	text-align: center;
}

#search-container #show-search > input::-moz-placeholder {
	font: 300 italic 1em "Nunito", serif;
	color: #8d99ae;
}
#search-container #show-search > input::placeholder {
	font: 300 italic 1em "Nunito", serif;
	color: #8d99ae;
}

#search-container #show-search > button {
	position: absolute;
	top: 50%;
	margin-top: -0.5em;
	right: 0.9375em;
	background-color: transparent;
	border: none;
	color: #ef233c;
	padding: 0;
	cursor: pointer;
	outline: none !important;
}

#search-filters {
	padding: 0.9375em;
	background-color: #fff;
	display: -webkit-flex;
	display: flex;
	justify-content: space-between;
	flex-flow: wrap;
}

#search-filters > * {
	flex-basis: -webkit-calc((100% - 3.75em) / 4);
	flex-basis: calc((100% - 3.75em) / 4);
}

#search-filters.no-type > * {
	flex-basis: -webkit-calc((100% - 2.5em) / 3);
	flex-basis: calc((100% - 2.5em) / 3);
}

#search-filters label {
	font-weight: bold;
	font-size: 0.9375em;
}

#search-filters select {
	display: block;
	width: 100%;
	margin-top: 0.5em;
	border: none;
	background-color: #eee;
	font: 300 0.875em "Nunito", serif;
	padding: 0.4285em;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	outline: none !important;
}

#search-filters select:focus {
	border-color: #ccc;
}

#search-btn-container {
	text-align: center;
}

#search-container #search-btn-container > input {
	width: 200px;
	max-width: 75%;
	background-color: #ef233c;
	border: 2px solid transparent;
	color: #fff;
	padding: 0.5em;
	font-weight: bold;
	cursor: pointer;
}

#search-container #search-btn-container > input:hover {
	background-color: transparent;
	color: #ef233c;
	border-color: currentColor;
}

@media only screen and (max-width: 1140px) {
	#search-container {
		margin-left: -20px;
		margin-right: -20px;
		padding: 40px 20px;
	}
}

@media only screen and (max-width: 500px) {
	#search-filters > * {
		flex-basis: -webkit-calc((100% - 1.875em) / 2);
		flex-basis: calc((100% - 1.875em) / 2);
	}

	#search-filters > *:nth-last-child(-n + 2) {
		margin-top: 1.25em;
	}
}

@media only screen and (max-width: 350px) {
	#search-filters {
		flex-flow: column;
	}

	#search-filters > * {
		flex-basis: auto;
	}

	#search-filters > * + * {
		margin-top: 0.9375em;
	}
}

/*============================
=> Search Results Style Sheets
============================*/

#results-container {
	margin-top: 2.5em;
}

#results-container a {
	text-decoration: none;
}

#results-container > h2 {
	text-align: center;
	font: italic 1.375em "Nunito", serif;
	color: #d90429;
	margin: 0 0 1.875em 0;
}

#results-container > h2 span {
	display: inline-block;
}

#results-container > h2 span::after {
	content: "";
	display: block;
	width: 85%;
	margin: 0 auto;
	border-top: 1.5px solid #eee;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

#results {
	padding: 0 1.25em;
}

#results .item {
	margin-bottom: 2.1875em;
}

#results ol {
	margin-bottom: -2.1875em;
}

#results .browse-btn,
#results .not-available {
	margin: 2.2222em 0 0;
}

#results .browse-btn::before {
	content: "\f01e";
	font: bold 0.8888em "Font Awesome 5 Free";
	margin-right: 0.5em;
}

@supports (display: grid) {
	#results ol {
		display: grid;
		grid-gap: 2.1875em 1.875em;
		margin-bottom: 0 !important;
	}

	#results .item {
		margin: 0 !important;
	}
}

@media only screen and (min-width: 801px) {
	#results .item {
		flex-basis: -webkit-calc((100% - 5.625em) / 4);
		flex-basis: calc((100% - 5.625em) / 4);
	}

	#results .item:not(:nth-child(4n)) {
		margin-right: 1.875em;
	}

	#results .show-info .show-btn {
		font-size: 17px;
	}

	@supports (display: grid) {
		#results ol {
			grid-template-columns: 1fr 1fr 1fr 1fr;
		}
	}
}

@media only screen and (max-width: 800px) and (min-width: 551px) {
	#results .item {
		flex-basis: -webkit-calc((100% - 3.75em) / 3);
		flex-basis: calc((100% - 3.75em) / 3);
	}

	#results .item:not(:nth-child(3n)) {
		margin-right: 1.875em;
	}

	@supports (display: grid) {
		#results ol {
			grid-template-columns: 1fr 1fr 1fr;
		}
	}
}

@media only screen and (max-width: 550px) and (min-width: 351px) {
	#results .item {
		flex-basis: -webkit-calc((100% - 1.875em) / 2);
		flex-basis: calc((100% - 1.875em) / 2);
	}

	#results .item:not(:nth-child(2n)) {
		margin-right: 1.875em;
	}

	@supports (display: grid) {
		#results ol {
			grid-template-columns: 1fr 1fr;
		}
	}
}
