/* Styles for DCF */

/* Set up the defaults */

:root {
	--orange: #ec671c;
	--white: #ffffff;
	--lightT: rgba(50,183,188);
	--darkT: rgba(7,126,159,1);
  }

html { scroll-behavior: smooth; }

.single_course_row {
	display: flex;
	flex-wrap: wrap;
}

.course_field {
	flex-basis: 10%;
}

.course_field.field_5 {
	flex-basis: 5%;
}

.course_field.field_15 {
	flex-basis: 15%;
}

.course_field.field_20 {
	flex-basis: 20%;
}

.course_field.field_25 {
	flex-basis: 25%;
}

.course_field.field_30 {
	flex-basis: 30%;
}

.course_field.field_35 {
	flex-basis: 35%;
}

.course_field.field_40 {
	flex-basis: 40%;
}

.course_field.field_45 {
	flex-basis: 45%;
}

.course_field.field_50 {
	flex-basis: 50%;
}

.course_field.field_60 {
	flex-basis: 60%;
}

.course_field.field_70 {
	flex-basis: 70%;
}

.course_field.field_80 {
	flex-basis: 80%;
}

.course_field.field_90 {
	flex-basis: 90%;
}

.course_field.field_100 {
	flex-basis: 100%;
}

/* for the search form - default layout */
form.new {
	display: none;
}

#supplier_filters {
	background: rgb(7,126,159);
	background-image: url('/wp-content/uploads/2021/12/Growth-Hub-Grid-Light-Blue-1920x1280-01.png'), linear-gradient(58deg, rgba(7,126,159,1) 0%, rgba(50,183,188,.75) 100%);
	padding: 30px;
	margin-bottom: 30px;
}

#ghe_search_form,
#ghe_search_form {
	display: flex;
	justify-content: space-between;
	font-family: "Roboto";
	flex-wrap: wrap;
}

#ghe_search_form>div {
	flex-basis: 22%;
}


.site-title {
	flex-basis: 15%;
}

.site-title h1 {
	font-family: Roboto;
	font-weight: 600;
}

.filters-compact .site-title span {
	font-size: .5em;
	line-height: 1.25em;
	margin-bottom: 1em;
}

.filters-compact .site-title, 
.filters-compact .site-title span{
	display: block;
}

.filters-compact .site-title {
	padding: 0 10px;
}

.ghe-filters {
	flex-basis: 85%;
	display: flex;
	flex-direction: column;
}
.ghe-filter-row {
	display: flex;
	margin-bottom: 12px;
}

.filter-item {
	flex-basis: 25%;
	padding: 0 10px;
}

#ghe_search_form.filters-compact .filter-item {
	flex-basis: 50%;
}

fieldset.ghe_search_opt {
	border: 0;
	margin: 0;
	padding: 0;
}

fieldset.ghe_search_opt button {
	display: block;
	width: 100%;
}

fieldset.ghe_search_opt .checkbox_list_holder {
	position: relative;
}

fieldset.ghe_search_opt .checkbox_list_holder .checkbox_list {
	position: absolute;
	display: none;
	padding: 12px;
	background-color: rgba(255,255,255,.95);
	min-width: 100%;
	z-index: 999;
	cursor: pointer;
	border:1px solid #000;
}

label.ghe_option {
	display: block;
	white-space: nowrap;
}

#ghe_search_form h3.check_select_btn,
#ghe_search_form input[type="text"],
#ghe_search_form select,
#ghe_search_form  #search_events{
	background-color: transparent;
	font-size: 1em;
	padding: 10px;
	background: var(--lightT);
	font-weight: bold;
	color: #fff;
	margin:0;
	width: 100%;
	border: 0;
}

#ghe_search_form input[type="text"] {
	background-color: #fff;
	color: var(--darkT);
}


#ghe_search_form  #search_events{
	background: var(--orange);
	line-height: 1.4em;
}


#ghe_search_form.filters-compact h3.check_select_btn,
#ghe_search_form.filters-compact .filter-item input[type="text"],
#ghe_search_form.filters-compact .filter-item select {
	padding: 6px 12px;
}

#ghe_search_form h3.check_select_btn i {
	float:right;
	font-size: .75em;
    margin: 6px -5px 0 0;
}

/* Search results */
#ghe_results_summary {
	background-color: #fff;
	padding-left: 20px;
	padding-right: 20px;
}

/* if the map is hidden, the results list it 100% width and 2 cols. */
#events_results_list{ 
	display: flex; 
	flex-wrap: wrap; 
/* 	justify-content: space-between;
 */	align-items: flex-start;
	padding: 5px 0 0 5px;
	gap:3%;
}

/* #events_results_list:after {
	content: '';
	flex-basis:31%;
} */

#events_results_list .ghe-single-result { 
	flex-basis: 31%; 
}

@media(max-width:896px ){
	#events_results_list .ghe-single-result,
	#ghe_search_form>div {
		flex-basis: 48%; 
	}
	#ghe_search_form>div { 
		margin-bottom: 10px;
	}
}

@media(max-width:512px ){
	#events_results_list .ghe-single-result,
		#ghe_search_form>div  { 
		flex-basis: 100%; 
	}
}

.ghe_back_to_filter {
	cursor: pointer;
}

/* style the single result */
.ghe-single-result {
	padding: 10px 20px 20px;
	background-color: #fff;
	-webkit-box-shadow: 0px 0px 4px 5px rgba(0,0,0,0.20); 
	box-shadow: 0px 0px 4px 5px rgba(0,0,0,0.20);
	margin-bottom:20px;
	flex-shrink: 0;
	flex-grow: 0;
}

.kh_logo
 {
	max-height: 200px;
	height: 200px;
	text-align: center;
	margin: -10px -20px 20px -20px;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.kh_logo img {
	object-fit: cover;
	width: auto;
}

.ghe-single-result h3.kh {
	margin: 0;
    font-weight: 600;
	color:#31b7bc;
    height: 3em;
	font-size: 1.1em;
    margin: 12px 0;
}

.ghe-single-result h3.kh a {
	text-decoration: none;
}

.kh.event_readmore {
	color: #ec671c;
	font-size: 1em;
	text-decoration: none;
}

.ghe-single-result h4 {
	margin: 0;
	font-weight: 400;
	font-size: 1em;
}

.ghe-single-result .supplier_details_row p {
	line-height: 1.2em;
}

.ghe-result-actions {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	margin-top:12px;
}

.ghe-result-actions a.button {
	display: block;
	text-decoration: none;
	color:#000;
	border:1px solid #000;
	padding: 10px 20px;
	background-color: #fff;
	display: flex;
	justify-content: space-between;
}

.ghe-result-actions a.button i {
	margin-left:1em;
}

.ghe-result-actions>div {
	margin-right:1em;
}

.results_share {
	position: relative;
}

.share-links-holders button {
	float:right;
	color: #fff;
	background: #000;
}

a.share-opener i {
	font-size: 1.2em;
}

.results_share i,
.results_share a {
	font-size: 1.5em;
	color: #000;
	text-decoration: none!important;
}

.results_share i:hover,
.results_share a:hover {
	color: var(--orange);
	text-decoration: none!important;
}

.share-links-holders button:hover {
	background: var(--orange);
}

.share-links-holders {
	position: absolute;
	display: none;
	right: 0;
	bottom: 50px;
	padding: 20px;
	background: rgba(255,255,255,.95);
	border: 1px solid #000;
}

.share-links-holders a {
	display: block;
	white-space: nowrap;
}


#ghe_results_summary {
	padding:20px;
}

.ghe_course_count { font-weight: bold; }
.ghe_back_to_filter { 
	font-weight: bold;
	color: var(--orange);
	margin-left: 2em;
}

.ghe_show_hide_map {
	float: right;
	color: var(--orange);
	font-weight: bold;
	cursor: pointer;
}

.ghe_show_hide_map.hidden span::before {
	content:"Show 	";
}

.ghe_show_hide_map.shown span::before {
	content:"Hide ";
}

label#postcode_wrap {display: none;}

.checkbox_list input[type="checkbox"] {position:absolute;left:-9999px;}
/* .checkbox_list input[type="checkbox"]:focus + span{color:var(--orange);}
 */
 .checkbox_list {cursor: pointer;}
.checkbox_list input[type="checkbox"] + span:before { 
	font-family: "Font Awesome 5 Free";
	content: "\f0c8";  
	display: inline-block;
	font-weight: 400;
	font-style: normal;
	font-size: 1.4em;
	text-align:center;
	letter-spacing: 6px;
  }
.checkbox_list input[type="checkbox"]:checked + span:before { content: "\f14a";letter-spacing: 6px; color: var(--orange); } /* checked icon */
.checkbox_list input[type="checkbox"]:indeterminate + span:before{content: "\f147";letter-spacing: 7px;}

#course_loader {
	display: none;
	text-align: center;
	width:100%;
}

.lds-ellipsis {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
}

.lds-ellipsis div {
	position: absolute;
	top: 33px;
	width: 13px;
	height: 13px;
	border-radius: 50%;
	animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
	left: 8px;
	animation: lds-ellipsis1 0.6s infinite;
	background:var(--orange);
}

.lds-ellipsis div:nth-child(2) {
	left: 8px;
	animation: lds-ellipsis2 0.6s infinite;
	background:var(--darkT);
}

.lds-ellipsis div:nth-child(3) {
	left: 32px;
	animation: lds-ellipsis2 0.6s infinite;
	background:var(--lightT);
}

.lds-ellipsis div:nth-child(4) {
	left: 56px;
	animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
	0% {
	  transform: scale(0);
	}
	100% {
	  transform: scale(1);
	}
}

@keyframes lds-ellipsis3 {
	0% {
	  transform: scale(1);
	}
	100% {
	  transform: scale(0);
	}
}

@keyframes lds-ellipsis2 {
	0% {
	  transform: translate(0, 0);
	}
	100% {
	  transform: translate(24px, 0);
	}
}

/* Slider */
.dcf-slider {
	padding: 0 20px;
}

.dcf-slider-item {
	padding: 12px 0;
}
.dcf-slider-item.column_1 {
	width:100%;
}

.dcf-slider-item.column_2 {
	width:50%;
}

.dcf-slider-item.column_3 {
	width:33.333333333333333%
}

.dcf-slider-item.column_4 {
	width:25%
}

@media( max-width:798px ) {
	.dcf-slider-item {
		width:50%!important;
	}
}


@media( max-width:512px ) {
	.dcf-slider-item {
		width:100%!important;
	}
}

.dcf-slider-item-inner {
/* 	-webkit-box-shadow: 0px 0px 4px 5px rgba(0, 0, 0, 0.10); 
	box-shadow: 0px 0px 4px 5px rgba(0, 0, 0, 0.10);
	border-radius: 12px; */
	padding: 18px;
	margin: 0 12px;
}

.slider_image {
	margin: 0 -18px;
	position: relative;
	height: 200px;
	width:auto;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center top;
}

.dcf-slider .flickity-prev-next-button {
	background: none;
	border: none;
	color: var(--orange);
	width: 100px;
	height: 100px;
}
.flickity-prev-next-button.previous {
	left:-40px
}
.flickity-prev-next-button.next {
	right:-40px;
}
.dcf-slider .flickity-prev-next-button:hover{
	background: none;
	border: none;
}

.dcf-slider .share-links-holders {
	bottom:-23px;
	right:-110px;
	font-size: .8em;
}

.dcf-slider h3 {
	margin: 0 0 12px 0;
	color: #5f4c73;
	font-weight: 600;
	font-size: 1.5em;
}

.dcf-event-date {
	font-family: "Roboto", Sans-serif;
    font-size: 1em;
    font-weight: 400;
	margin: 20px 0;
	color: #ec671c;
}
.dcf-short-description p {
	font-family: "Roboto", Sans-serif;
	font-weight: 400;
	line-height: 1.2em;
	font-size: 14px;
}

.dcf-slider .flickity-page-dots {
	margin:0 auto;
	left:-50%;
	right:-50%;
}

.post_type_flash {
	width:100%;
	background: rgba(236, 103, 28, .75);
	padding: 10px;
	text-align: center;
	color: #fff;
}

.flickity-page-dots li.dot {
	background:#5f4c73;
	font-size: .75em;
	margin: 0 2px;
	opacity: 1;
	width:12px;
	height:12px;
	border-radius: 6px;
	border:1px solid #fff;
}
.flickity-page-dots li.dot.is-selected {
	background:#ec671c;
	border-color: #ec671c;
}

.dcf-slider a.eael-post-elements-readmore-btn,
.dcf-result-actions a.eael-post-elements-readmore-btn {
	color: rgba(236, 103, 28, 1);
	text-align: right;
	font-size: 1em;
	margin-top:10px;
	text-decoration: none;
}
