
/* Main container for search results */
.search-results-container {
	display: flex;
	flex-direction: column;
	padding: 20px 15px;
	margin: 0 auto;
	max-width: 1170px;
	justify-content: center;
	align-items: center;
}

/* Search form styling */
.search-wrapper {
	margin-bottom: 20px;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	height: 100%;
	text-align: center;
	width: 100%;
	padding-left: 20%;
}

/* Results wrapper for filters and search results */
.results-wrapper {
	display: flex;
	width: 100%;
}

/* The filter form on the left */
.filter-wrapper {
	width: 20%;
	padding: 0px;
}

.search-title-container {
	margin: 0 auto;
	max-width: 1170px;
	padding-left: 15px;
	padding-right: 15px;
}

#page-search-form {
	display: flex;
	width: 100%;
}

.noresultsfound {
	background-color: #f5f5f5;
	padding: 15px 20px 30px;
	margin: 10px auto;
	color: #555;
	font-size: 24px;
	line-height: 21px;
}

@media only screen and (min-width: 992px) and (max-width: 1024px) {
	.filter-wrapper {
		width: 25%;
	}
	
	.search-title-container {
		max-width: 970px;
	}
	
	.search-wrapper {
		padding-left: 25%;
	}
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
	.results-wrapper {
		flex-direction: column;
	}
	
	.filter-wrapper {
		width: 100%;
		padding: 0 10px;
	}
	
	.search-wrapper {
		padding-left: 0;
		justify-content: flex-start;
	}
	
	.search-results-container {
		max-width: 750px;
		margin: 0;
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}
	
	#page-search-form {
		width: 100% !important;
	}
	
	#page-title.page-title-dark h1 {
		font-size: 32px !important;
		line-height: 32px !important;
		padding: 80px 0 !important;
	}
	
	.search-title-container {
		max-width: 750px;
	}
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	#page-title.page-title-dark h1 {
		font-size: 24px !important;
		line-height: 36px !important;
		text-align: center;
	}
	
	.search-results-container {
		max-width: 470px !important;
	}
	
	.search-wrapper {
		padding-left: 0;
	}
}

@media (max-width: 479px) {
	#page-title.page-title-dark h1 {
		font-size: 17px !important;
		line-height: 25.5px !important;
		text-align: center;
		padding: 80px 0px !important;
	}
	
	.search-results-container {
		max-width: 350px !important;
		padding-left: 0px;
		padding-right: 0;
	}
	
	#page-search-form {
		width: 100% !important;
	}
	
	.search-wrapper {
		padding-left: 0;
		justify-content: flex-start;
	}
	
	.result-item h3 {
		font-size: 18px !important;
	}
	
	.results-content {
		padding-left: 0 !important;
		border-left: 0 !important;
	}
	
	.noresultsfound {
		font-size: 18px;
		line-height: 23.4px;
	}
}

.filter-wrapper h4 {
	margin-top: 0;
}

/* Style each filter as a block */
.filter-wrapper label {
	display: block;
	margin-bottom: 10px;
}

/* The results content on the right */
.results-content {
	width: 70%;
	padding-left: 20px;
	border-left: 1px solid #aaa;
}

/* Style for individual result items */
.result-item {
	margin: 10px 0px 25px;
	padding: 15px 20px;
	background-color: #f9f9f9;
}

.result-item a {
	color: #333;
}

.result-item a:hover {
	color: #333;
}

.result-item h3 {
	font-family: "Istok+Web", sans-serif;
	font-size: 24px;
	line-height: 1.3;
	font-weight: 300;
	color: #333;
	margin: 0 0 15px;
	letter-spacing: normal;
}

.result-item p {
	font-size: 14px;
	line-height: 19.6px;
	margin: 0 0 10px;
	color: #555;
	font-family: "Open+Sans", sans-serif;
	letter-spacing: normal;
}

/* Pagination styling */
.pagination-search {
	display: flex;
	justify-content: center !important;
	margin-top: 20px;
	text-align: center;
}

.pagination-search a, .pagination-search .page-numbers.dots, .pagination-search .page-numbers.current {
	padding: 6px 12px;
	text-decoration: none;
	border: 1px solid #ccc;
	cursor: pointer;
	font-size: 14px;
	line-height: 20px;
}

.pagination-search a, .pagination-search .page-numbers.dots {
	color: #ffc20e !important;
}

.pagination-search .current {
	font-weight: bold;
	background-color: #ffc20e;
	color: #fff !important;
	margin: 0 !important;
}

.pagination-search a:hover, .pagination-search .page-numbers.dots:hover {
	background-color: #eee;
	border-color: #ddd;
	color: #ffc20e !important;
}

/* Highlighted search terms */
.highlight {
	background-color: yellow;
	font-style: italic;
}

/* Media query for responsive layout */
@media (max-width: 768px) {
	.results-wrapper {
		flex-direction: column;
	}
	
	.filter-wrapper {
		width: 100%;
		margin-bottom: 20px;
		border-right: none;
	}
	
	.results-content {
		width: 100%;
	}
	
	#main>.fusion-row {
		display: block !important;
	}
}

#page-title.page-title-dark {
	background-color: #333;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, .15) !important;
	border-bottom: none;
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

#page-title.page-title-dark h1 {
	color: rgba(255, 255, 255, .9) !important;
	font-size: 40px;
	font-weight: 600;
	line-height: 40px;
	letter-spacing: 1px;
	font-family: "Istok+Web", sans-serif;
	margin: 0;
	padding: 80px 0 80px;
	text-transform: uppercase;
}

#search-input {
	flex: 1 1 auto;
	padding: 6px 10px;
	outline: 0;
	border: 1px solid rgba(0, 0, 0, .3);
	border-radius: 5px 0 0 5px;
}

.fusion-row {
	margin: 0;
	max-width: 100% !important;
}

.search-input {
	max-width: 80%;
}

.search-input::placeholder {
	color: #555;
	font-size: 14px;
}

.btn {
	border: 0;
	background: #ffc20e;
	border-radius: 0 5px 5px 0;
	padding: 10px 20px;
}

.btn:hover {
	cursor: pointer;
}

#page-search-form {
	display: flex;
	width: 100%;
}

.fa-search {
	color: #fff;
}

.checkbox {
	width: 20px;
	height: 20px;
}

.checkbox:hover {
	color: #555;
	cursor: pointer;
}

.category-list {
	font-size: 15px !important;
	line-height: 22.5px !important;
	color: #555;
	font-family: "Istok+Web", sans-serif;
}

.category-list:hover {
	cursor: pointer;
}

.result-url {
	font-size: 13px;
	word-break: break-all;
	display: inline-block;
	color: #555;
	line-height: 18.2px;
	letter-spacing: normal;
}

.category-list input[type="checkbox"]:checked:before {
	display: inline-block;
}

.category-list input[type="checkbox"]:checked {
	background-color: #ffc20e;
	border: 2px solid #ffc20e !important;
	appearance: none;
	position: relative;
}

.category-list input[type="checkbox"]:before {
	appearance: none;
	content: "";
	left: 50%;
	top: 40%;
	transform: translate(-50%, -50%) rotate(45deg);
	width: 5px;
	height: 10px;
	border: solid #fff;
	border-width: 0 3px 3px 0;
	position: absolute;
	opacity: 0;
}

.category-list input[type="checkbox"]:checked::before {
	opacity: 1;
}

.category-list input[type="checkbox"]:checked + label {
	color: #222;
	font-weight: bold;
}

.result-url a {
	font-family: "Open+Sans", sans-serif;
}

.result-url a:hover {
	color: #ffc20e;
}

.pagination-search .page-numbers:first-child {
	border-radius: 5px 0 0 5px;
}

.pagination-search .page-numbers:last-child {
	border-radius: 0 5px 5px 0;
}
