.page-popular-courses #content.loading .course_list,
.page-popular-courses #content.loading .course_sorting {
	opacity: 1;
	transition: all 0.6s;
}

.page-popular-courses #content.loading .course_list,
.page-popular-courses #content.loading .course_sorting{ 
	opacity: 0.2; 
	pointer-events: none; 
	transition: all 0.6s;
}

.filter_option:before{
	content: '';
	width: 23px;
	height: 23px;
	border: 1px solid rgb(183, 183, 183);
	display: inline-block;
	margin-right: 1em;
	flex: 0 0 auto;
}

.filter_option:after{
	content: '';
	display: block;
	width: 12px;
	height: 5px;
	position: absolute;
	flex: 0 0 auto;
	
	transform: rotate(-100deg);
	left: calc(1em + 5px);
	top: calc(50% - 6px);
	
	transition: all 0.3s;
	border: 0;
	
	border: 0px solid transparent;
	border-top: 0px;
	border-right: 0px;
}

.filter_option.selected:after{ 
	transition: all 0.3s;
	border: 3px solid rgb(15, 99, 83);
	border-top: 0px;
	border-right: 0px;
	transform: rotate(-45deg);
}

.search_block { display: flex; }
.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;
}

.search_block input::-webkit-input-placeholder{ color: #000; }
.search_block input:-ms-input-placeholde{ color: #000; }
.search_block input::placeholder{ color: #000; }

.additional-options-accordion{
    clear: both;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.additional-options-accordion > div{
    width: calc(50% - 10px);
}

.filter-label{
	font-weight: 600;
	padding-bottom: .3em;
}

.additional-options {
	padding-bottom: 1em;
}

.filter-control {
	width: 100%;
	cursor: pointer;
	display: flex;
	position: relative;
	background-color: white;
}

.filter_value_preview{
	background: transparent;
	width: 100%;
	flex: 1 1 auto;
	display: flex;
	padding: 0 1em;
	overflow: hidden;
}

.filter_value_preview > span{
	text-overflow: ellipsis;
	overflow: hidden;
	align-items: center;
	white-space: nowrap;
	display: block;
	flex: 0 0 auto;
	margin: auto 0;
	width: 100%;
}

.filter_options{
	display: none;
	position: absolute;
	top: 100%;
	left: -1px;
	width: calc(100% + 1px);
	z-index: 2;
	
	max-height: 140px;
	min-width: 150px;
	overflow: auto;
	background: white;
}

.filter_options.open{ display: block; padding-top: 5px; }
.filter_container{
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 6px;
	display: block;
}

.filter-control  input#course_start_date ~ .datepicker-inline{ display: none; }
.filter-control #course_start_date-options{ max-height: none; }
.filter-control #course_start_date-options .datepicker{ width: 100%; border: 0; }
.filter_option{ 
	padding: .4em 1em; 
	display: flex;
	align-items: center;
	font-size: 0.95rem;
	position: relative;
}
.filter_caret{
	flex: 0 0 auto;
	width: 42px;
	background-color: #C4C4C4;
	position: relative;
}

.filter_caret:before{ content: ''; padding-bottom: 100%; display: block; }
.filter_caret:after{
	content: '';
	border: 7px solid transparent;
	border-top-color: #585858;
	border-bottom: 0px;
	display: block;
	position: absolute;
	top: 50%;
	right: 50%;
	transform: translate(50%, -50%);
}

#date_time_picker_reset:not(.date-selected){ display: none; }
#date_time_picker_reset.date-selected{
	width: 42px;
	height: 100%;
	position: absolute;
	right: 42px;
	z-index: 3;
}

#date_time_picker_reset .reset-icon-host{
	position: relative;
	height: 100%;
	width: 100%;
	transform: rotate(45deg) scale(0.7);
}

#date_time_picker_reset .reset-icon-host::before,
#date_time_picker_reset .reset-icon-host::after{
	content: '';
	position: absolute;
	height: 2px;
	width: 100%;
	background: #c62828;
	top: calc(50% - 1px);
	left: 0;
}
#date_time_picker_reset .reset-icon-host::after{ transform: rotate(90deg); }


/* #course-results{ */
	/* padding-top: 2.6875rem; */
/* } */

.course_list{ display: flex; flex-wrap: wrap; }
body.list .course_list > a{ margin-right: 0; width: 100%; }

.course_item {
	display: flex;
	padding: 2.5em;
	margin-bottom: 20px;
	flex-direction: column;
	align-items: flex-start;
	border: 1px solid #ddd;
	box-shadow: 0 0 2px 0px rgba(0,0,0, 0.3);
	border-radius: 11px;
	width: 100%;
}

@media (min-width: 768px){
	.course_item{ width: calc(33.33333% - 14px); }
	.course_item:not(:nth-child(3n)){ margin-right: 20px; } }

@media (min-width: 321px) and (max-width: 767px){
	/*
	.course_item{ width: calc(50% - 10px);  padding: 1rem 1.2rem;}
	.course_item:not(:nth-child(odd)){ margin-left: 20px;  } 
	*/
	.course_schedule{ flex-direction: column; }
	.course_schedule > * { width: 100% !important; padding-top:4px; padding-bottom:4px; }
	
	.course_intro,
	.course_schedule,
	.course_title{ font-size: 0.85rem !important; }}
	

@media (max-width: 320px) { .course_item{ width: 100%; }.course_schedule{ flex-direction: column; }
	.course_schedule > * { width: 100% !important; padding-top:4px; padding-bottom:4px; } }


.course_title{
	font-size: 18px;
	font-weight: 600;
	text-transform: uppercase;
	width: 100%;
}

.course_schedule{
	display: flex;
	width: 100%;
	padding: 1em 0;
	justify-content: space-between;
}

.course_venue,
.course_date,
.course_time{
	flex: 0 0 auto;
	padding-left: 30px;
	background-size: auto auto !important;
}

.course_date{
	width: calc(50% - 10px);
	background: url('../img/date.png') 1.5px top no-repeat;
}

.course_time{
	width: calc(50% - 10px);
	background: url('../img/clock.png') left top no-repeat;
}

.course_venue{
	width: calc(50% - 10px);
	background: url('../img/path.png') left top no-repeat;
}

.course_intro{
	font-size: 1rem;
	line-height: 1.6;
	display: flex;
	flex-wrap: wrap;
	flex: 1 1 auto;
	
	width: 100%;
	overflow: hidden;
	word-break: break-word;
}

.course_school_tag{
	font-size: .9em;
	padding-bottom: 1.3em;
	align-self: flex-end;
}

.course_tag{	
	display: flex;
	width: 100%;
	flex-wrap: wrap;
	padding-top: 1.5em;
	align-self: flex-end;
}

.course_tag > span {
	display: table;
	font-size: .93rem;
	padding: 0.35em 1.15em;
	
	border-radius: 100px;
	background: rgb(159, 159, 159);
	color: white;
	margin-bottom: 8px;
}

.course_tag > span:not(:last-child) {
	margin-right: 8px;
}

.related_courses > h2{
	width: 100%;
	padding-bottom: 1em;
}

.related_courses > div{
	width: 100%;
	display: flex;
	flex-wrap: wrap;
} 



@media (max-width: 767px){
	.course_tag > span{ font-size: 0.8125rem; }
}







