.page_heading {
	margin-bottom: 0;
}
.page_search {
	background-color: rgb(247, 247, 247);
}
.page_search:after {
	clear: both;
	content: "";
	display: block;
}
.search_block button:focus {
	outline: none;
}
.search_block button {
	width: 50px;
	margin-left: -1px;
	background-color: #fff !important;
	background: url("../img/search_icon.png") center center no-repeat;
	background-size: 42% auto;
	border: 0;
	border-radius: 5px 0 0 5px;
}

#toggle-additional-filter {
	cursor: pointer;
	display: table;
	float: right;
	clear: both;
	margin: 1em 0 0;
	padding: 0.7em 1em;
	background-color: rgb(1, 99, 84);
	color: white;
	border-radius: 5px;
	position: relative;
	font-weight: 600;
}

#toggle-additional-filter span {
	position: relative;
	padding-left: 28px;
}

#toggle-additional-filter span::after,
#toggle-additional-filter span::before {
	content: "";
	width: 20px;
	height: 2.5px;
	display: block;
	background: #fff;
	position: absolute;
	top: calc(50% - 1.5px);
	left: 0;
}

#toggle-additional-filter span::after {
	transform: rotate(90deg);
	transition: transform 0.3s;
}

#form-toggle:checked + #search_form #toggle-additional-filter span:after {
	transform: rotate(0);
}

.course_head {
	display: flex;
	align-items: center;
	padding: 2.2em 0;
}

.course_result_summary {
	margin-right: auto;
}

.course_sorting .additional-options {
	padding: 2.2em 0em;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	font-weight: bold;
}

.filter-control {
	cursor: auto;
}

.course_sorting .filter-label {
	width: 70px;
	padding-bottom: 0;
	margin-right: 8px;
	flex: 0 0 auto;
}

.course_sorting .filter-static-group {
	width: 100%;
	border-radius: 50px;
	display: flex;
	align-items: center;
	border: 1px solid rgb(183, 183, 183);
	overflow: hidden;
	cursor: pointer;
	padding-left: 1.1em;
}

.course_sorting .filter_value_preview {
	padding-left: 0;
}
.course_sorting .filter_value_preview .sortby-preview {
	font-weight: 400;
}

.course_sorting .filter_caret {
	border-radius: 100px;
	background: transparent;
	border: 0px;
	width: 35px;
	margin-right: 0.34em;
}

.course_sorting .filter_caret:after {
	width: 8px;
	height: 8px;
	border: 2px solid #333;
	border-top: 0px;
	border-right: 0px;
	transform: rotate(-45deg);
	margin-top: -7px;
	margin-right: -3px;
}

.course_layout {
	display: flex;
	height: 31px;
	width: 31px;
	cursor: pointer;
	margin-left: 1em;
}

.course_layout span {
	display: block;
	background: #999;
	border-radius: 2px;
}

body:not(.layout-initialized) .course_layout {
	background: #ddd;
}
body:not(.layout-initialized) .course_icon {
	display: none;
}
body.layout-initialized .course_layout {
	background: #fff;
}

body.grid .course_icon {
	display: flex;
	height: 100%;
	width: 100%;
	flex-wrap: wrap;
	justify-content: space-between;
	overflow: hidden;
}

body.grid .course_icon > span {
	width: calc(50% - 1px);
	height: calc(50% - 1px);
	margin-bottom: 2px;
}

body.grid .course_icon > span:nth-child(4),
body.grid .course_icon > span:nth-child(3) {
	margin-bottom: 0;
}

body.list .course_icon {
	display: flex;
	height: 93%;
	width: 100%;
	flex-direction: column;
	justify-content: space-between;
}

body .course_icon span {
	display: block;
	width: 100%;
	height: 4px;
}

body:not(.grid) .course_icon span:nth-child {
	margin-bottom: 0px;
}
body:not(.grid) .course_icon span:last-child {
	display: none;
}

.additional-filter-container + .cta-block,
.additional-filter-container {
	display: none;
}

#form-toggle:checked + #search_form .cta-block.first > a {
	display: none;
}

#form-toggle:checked + #search_form .additional-filter-container + .cta-block,
#form-toggle:checked + #search_form .additional-filter-container {
	display: block;
}
#form-toggle:checked + #search_form .additional-filter-container .additional-options-accordion {
	padding-top: 3rem;
}

.search_block {
	display: flex;
}
.search_block input[placeholder] {
	text-overflow: ellipsis;
}
.search_block input::placeholder {
	text-overflow: ellipsis;
}
.search_block input:focus {
	outline: none;
}
.search_block input {
	flex: 1 1 auto;
	width: calc(100% - 110px);
	height: 48px;
	border: 0;
	padding: 1em 1.3em 1em 0;
	white-space: nowrap;
}

.search_block input::-webkit-input-placeholder {
	color: #000;
}
.search_block input:-ms-input-placeholde {
	color: #000;
}
.search_block input::placeholder {
	color: #000;
}

.search_block button {
	width: 50px;
	margin-left: -1px;
	background-color: #fff !important;
	background: url("../img/search_icon.png") center center no-repeat;
	background-size: 42% auto;
	border: 0;
	border-radius: 5px 0 0 5px;
}

@media (max-width: 767px) {
	.additional-options-accordion > div {
		width: 100%;
	}

	.course_layout,
	.course_result_summary {
		display: none;
	}
	.course_sorting {
		margin: auto;
	}
	#course-results {
		padding-top: 0;
	}
	.page_search {
		padding: 2.3125rem 0 !important;
	}
	.search_block {
		flex-direction: row-reverse;
	}
	.search_block input {
		height: 55px;
		padding: 1em;
		font-size: 1rem;
	}

	.search_block button {
		background-color: #fec601 !important;
		background-image: url("../img/mobile_search_icon.png");
		background-position: center center;
		background-repeat: no-repeat;
		background-size: 50% auto;

		border-radius: 0 6px 6px 0;
	}

	#toggle-additional-filter {
		width: 100%;
		text-align: center;
	}
}
