/**
Theme Name: NAF
Author: C+C&Co
Author URI: https://www.cc-co.co/
Description: 
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: child-theme-astra
Template: astra
*/

.fa, .fas {
	font-family: "Font Awesome 5 Pro" !important;
}

a:focus {
	outline: none;
}

a {
	text-decoration: none;
}

.elementor-widget-text-editor p:last-child {
	margin-bottom: 0px;
}

.elementor-heading-title b,
.elementor-heading-title strong {
	font-weight: 900;
}

.ecs-posts article > .elementor,
.ecs-posts article > .elementor > .elementor-top-section,
.ecs-posts article > .elementor > .elementor-top-section > .elementor-container {
	height: 100%;
}

.neue-haas {
	font-family: "neue-haas-grotesk-display", Sans-serif;
}

.acumin-pro {
	font-family: "acumin-pro", Sans-serif;
}

.acumin-pro-wide {
	font-family: "acumin-pro-wide", Sans-serif;	
}

h1, h2, h3, h4, h5 {
	text-transform: uppercase;
}

.masking-vertical {
	position: absolute;
	right: 0;
	top: 0;
	width: 25px;
	height: 100%;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.masking-vertical:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 35%;
	z-index: 2;
	background: #ffffff;
}

.masking-vertical:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 35%;
	z-index: 2;
	background: #ffffff;
}

.masking-horizontal {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	display: flex;
	justify-content: center;
	overflow: hidden;
}

.masking-horizontal:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 35%;
	z-index: 2;
	background: #ffffff;
}

.masking-horizontal:after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 35%;
	z-index: 2;
	background: #ffffff;
}

body:not(.elementor-editor-active) .eprogramme-floating-nav {
	display: none;
}

.event-filter-wrapper {
	margin-bottom: 88px;
}

.event-terms-wrapper {
	display: flex;
	margin-bottom: 8px;
}

.event-terms-wrapper .event-terms-group-label {
	flex-basis: 10%;
	text-transform: uppercase;
	font-family: "acumin-pro-wide", Sans-serif;
	font-weight: 900;
}

.event-terms-wrapper .event-terms-group {
	flex-basis: 90%;
}

.event-terms-wrapper .event-terms-item {
	font-family: "neue-haas-grotesk-display", Sans-serif;
	font-size: 18px;
	line-height: 1;
	font-weight: 600;
	border-radius: 4px;
	display: inline-block;
	margin-right: 16px;
	margin-bottom: 16px;
	padding: 18px 16px;
	color: #1D1743;
	background: #8e8ba1;
	cursor: pointer;
	transition: all 0.3s ease;
}

.event-terms-wrapper .hex-default:hover,
.event-terms-wrapper .hex-default.active {
	background: #7BC9F1;
}

.event-wrapper {
	margin-left: -24px;
	margin-right: -24px;
}

.event-wrapper .event-item {
	width: 33.33333%;
	padding-left: 24px;
	padding-right: 24px;
	margin-bottom: 48px;
}

.event-wrapper .event-item > .elementor,
.event-wrapper .event-item > .elementor > .elementor-top-section,
.event-wrapper .event-item > .elementor > .elementor-top-section > .elementor-container {
	height: 100%;
}

.event-price-wrapper .event-price-item {
	margin-bottom: 32px;
}

.event-price-wrapper .event-price-item:last-child {
	margin-bottom: 0px;
}

.event-price-wrapper .price-name {
	font-family: "acumin-pro-wide", Sans-serif;	
	color: #ED6942;
	font-weight: 900;
	font-size: 18px;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.event-price-wrapper .price { 
	font-size: 18px;
}

.naf-button-wrapper .naf-button {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	cursor: pointer;	
}

.naf-button-wrapper .naf-button-link {
	display: inline-block;
}

.naf-button-wrapper .naf-button-icon {
	flex-grow: 0;
	line-height: 0;
	border-radius: 50%;
	width: 2.666em;
	height: 2.666em;
	border: 1px solid #1D1743;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 0.888em;
	position: relative;
	overflow: hidden;
	font-size: 18px;
}

.naf-button-wrapper .naf-button-icon:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: #1D1743;
	transform: scale(0);
	transition: all 0.3s ease;
	z-index: 1;
	border-radius: 50%;
}

.naf-button-wrapper .naf-button-text {
	font-family: "neue-haas-grotesk-display", Sans-serif;
	font-weight: 600;    
    flex-grow: 0;
    font-size: 18px;
}

.naf-button-wrapper .naf-button-icon i {
	opacity: 0;
	transition: all 0.3s ease;
	z-index: 2;
	color: #ffffff;
}

.naf-button-wrapper .naf-button:hover .naf-button-icon i {
	opacity: 1;
}

.naf-button-wrapper .naf-button:hover .naf-button-icon:before {
	transform: scale(1);
}

.naf-carousel-wrapper .hidden-item-overlay-left, 
.naf-carousel-wrapper .hidden-item-overlay-right {
	opacity: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
}

.naf-carousel-wrapper .naf-carousel-item {
	padding-left: 24px;
	padding-right: 24px;
}

.naf-carousel-wrapper .slick-track {
	display: flex !important;
}

.naf-carousel-wrapper .slick-slide {
    height: inherit !important;
}

.naf-carousel-wrapper .slick-slide > .elementor,
.naf-carousel-wrapper .slick-slide > .elementor .elementor-top-section,
.naf-carousel-wrapper .slick-slide > .elementor .elementor-top-section > .elementor-container {
	height: 100%;
}

.naf-carousel-wrapper .hidden-item-overlay-left {
	left: 0;
	transform: translateX(-100%);
	background-image: linear-gradient(90deg, #ffffff 15%, #ffffff00 100%);
}

.naf-carousel-wrapper .hidden-item-overlay-right {
	right: 0;
	transform: translateX(100%);
	background-image: linear-gradient(-90deg, #ffffff 15%, #ffffff00 100%);
}

.naf-carousel {
	margin-left: -24px;
	margin-right: -24px;
}

.naf-carousel > .slick-list {
	overflow: visible;
}

.naf-carousel-wrapper.hide_hidden_item .naf-carousel > .slick-list {
	overflow: hidden;
}

.naf-carousel-content {
	height: 100%;
}

.naf-carousel .slick-dots {
	margin-left: 0;
	margin-right: 0;
	margin-bottom: 0;
	margin-top: 56px;
	line-height: 0;
	text-align: center;
}

.naf-carousel .slick-dots > li {
	display: inline-block;
	margin-left: 8px;
	margin-right: 8px;
}

.naf-carousel .slick-dots > li > button {
	text-indent: -9999999999px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 1px solid #1D1743;
	background: transparent;
	padding: 0;
}

.naf-carousel .slick-dots > li > button:hover,
.naf-carousel .slick-dots > li.slick-active > button {
	background: #1D1743;	
}

.event-profiles .profile-item-wrapper {
	padding-left: 24px;
	padding-right: 24px;
}

.event-profiles .profile-item {
	display: flex;	
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
	height: 100%;
	min-height: 303px;
}

.event-profiles .profile-item .profile-thumbnail,
.event-profiles .profile-item .profile-info {
	flex-basis: 50%;
	position: relative;
}

.event-profiles .profile-item .profile-thumbnail .thumbnail {	
}

.event-profiles .profile-item .profile-thumbnail .thumbnail .masking-horizontal {
	display: none;
}

.event-profiles .profile-item .profile-thumbnail .thumbnail > img {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.event-profiles .profile-item .profile-info {
	display: flex;
	flex-direction: column;
	background: #ffffff;
}

.event-profiles .profile-item .profile-info .profile-info-top {
	height: 50%;
	flex-grow: 0;
	padding: 32px 24px 4px 24px;
	display: flex;
	align-items: flex-end;
}
.event-profiles .profile-item .profile-info .profile-info-bottom {
	height: 50%;
	flex-grow: 0;
	padding: 4px 24px 32px 24px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.event-profiles .profile-item .profile-info .profile-name {
	font-weight: 900;
	cursor: pointer;
}

.event-profiles .profile-item .profile-info .profile-role {
	font-family: "neue-haas-grotesk-display", Sans-serif;
	font-weight: 600;
	margin-bottom: 24px;
}

.mfp-bg.profile-popup {
	opacity: 0.9;
}

.mfp-wrap.profile-popup .mfp-container {
	padding: 0;
	display: flex;
	align-items: flex-end;
	overflow-y: hidden;
}

.mfp-wrap.profile-popup .mfp-container:before {
	display: none;
}

.mfp-wrap.profile-popup .mfp-content {	
	transform: translateY(100%);
	transition: all 500ms ease;
}

.mfp-wrap.profile-popup.mfp-ready .mfp-content {
	transform: translateY(0%);
}

.mfp-wrap.profile-popup.mfp-removing .mfp-content {
	transform: translateY(100%);
}

.mfp-wrap.profile-popup .popup-content {	
	padding-left: 8px;
	padding-right: 8px;	
	background: #DDDE3A;
	position: relative;
	height: 75vh;
}

.mfp-wrap.profile-popup .popup-divider-top {
	display: flex;
	justify-content: center;
	overflow: hidden;
	position: relative;
}

.mfp-wrap.profile-popup .popup-divider-top > img {
	max-height: 64px;
    width: auto;
}

.mfp-wrap.profile-popup .popup-divider-top:before {
	content: '';
	position: absolute;
	top: 0;
	right: 50%;
	height: 100%;
	width: 100%;
	z-index: 2;
	background: #DDDE3A;
	transform: translateX(-180px);
}

.mfp-wrap.profile-popup .popup-divider-top:after {
	content: '';
	position: absolute;
	top: 0;
	left: 50%;
	height: 100%;
	width: 100%;
	z-index: 2;
	background: #DDDE3A;
	transform: translateX(180px);
}

.mfp-wrap.profile-popup .popup-container {
	max-width: 1170px;
	margin-left: auto;
	margin-right: auto;	
}

.mfp-wrap.profile-popup .profile-scroll-wrapper {
	overflow-y: hidden;
}

.mfp-wrap.profile-popup .popup-close {
	padding: 24px;
}

.mfp-wrap.profile-popup .popup-close .naf-button-wrapper {
	display: inline-block;
}

.mfp-wrap.profile-popup .profile-info-wrapper {
	display: flex;
}

.mfp-wrap.profile-popup .profile-thumbnail {
	flex-grow: 0;
	flex-basis: 40%;
	padding-left: 24px;
	padding-right: 24px;
}

.mfp-wrap.profile-popup .profile-thumbnail img {
	border-radius: 16px;
}

.mfp-wrap.profile-popup .profile-info {
	flex-grow: 0;	
	flex-basis: 60%;
	padding-left: 24px;
	padding-right: 24px;
}

.mfp-wrap.profile-popup .profile-name,
.mfp-wrap.profile-popup .profile-role {
	margin-bottom: 24px;
}

.mfp-wrap.profile-popup .profile-role {
	font-size: 18px;
	font-weight: 600;
}

.mfp-wrap.profile-popup .profile-thumbnail img,
.mfp-wrap.profile-popup .profile-desc {
	margin-bottom: 32px;
}

.mfp-wrap.profile-popup .mCSB_scrollTools .mCSB_draggerContainer:before {
	content: '';
	width: 2px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin-left: 7px;
    margin-right: 7px;
    background-color: rgba(0,0,0,.15);
    z-index: 1;
}

.mfp-wrap.profile-popup .mCSB_scrollTools .mCSB_dragger {
	z-index: 2;
}

.mfp-wrap.profile-popup .mCSB_scrollTools .mCSB_dragger_bar {
	background-color: #1D1743;
}

.mfp-wrap.profile-popup .mCSB_scrollTools .mCSB_draggerRail {
	display: none;
}

.naf-featured-post {
	display: flex;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0px 3px 15px rgb(0 0 0 / 20%);
	min-height: 303px;
}

.naf-featured-post .naf-featured-post-thumbnail {
	flex-basis: 62.5%;
	position: relative;
}

.naf-featured-post .naf-featured-post-thumbnail .thumbnail .masking-horizontal {
	display: none;
}

.naf-featured-post .naf-featured-post-thumbnail .thumbnail > img {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.naf-featured-post .naf-featured-post-info-wrapper {
	flex-basis: 37.5%;
	display: flex;
	align-items: center;
	background: #ffffff;
}

.naf-featured-post .naf-featured-post-info {
	padding: 32px 24px;
}

.naf-featured-post .post-title {
	font-weight: 900;
}

.naf-featured-post .post-content {
	font-family: "neue-haas-grotesk-display", Sans-serif;
	font-weight: 400;
}

.naf-featured-post .post-content b,
.naf-featured-post .post-content strong {
	font-weight: 600;
}

.naf-featured-post .post-button {
	margin-top: 24px;
}

.naf-featured-post .post-button a {
	display: inline-block;
	font-family: "acumin-pro-wide", Sans-serif;	
	line-height: 1;
	font-weight: 900;
	text-transform: uppercase;
	color: #ED6942 !important;
	border-radius: 8px;
	padding: 16px;
	transition: all 300ms ease;
	border: 1px solid #ED6942;	
}

.naf-featured-post .post-button a:hover {
	background: #ED6942;
	color: #ffffff !important;
}

.event_loop_terms {
	margin-left: -4px;
	margin-right: -4px;
}

.event_loop_terms .event-terms-item {
	font-size: 14px;
	line-height: 1;
	font-weight: 700;
	border-radius: 4px;
	display: inline-block;
	margin-right: 4px;
	margin-left: 4px;
	margin-bottom: 8px;
	padding: 10px 8px;
	color: #ffffff;
}

@media (max-width: 1024px) {
	.event-wrapper .event-item {
		width: 50%;
	}

	.event-terms-wrapper .event-terms-group-label {
		flex-basis: 15%;
	}

	.event-terms-wrapper .event-terms-group {
		flex-basis: 85%;
	}

	.event-filter-wrapper {
		margin-bottom: 48px;
	}

	.event-profiles .profile-item {
		display: flex;
		flex-direction: column;
	}

	.event-profiles .profile-item .profile-thumbnail,
	.event-profiles .profile-item .profile-info {
		flex-basis: 100%;
	}

	.event-profiles .profile-item .profile-thumbnail .thumbnail {
		padding-top: 100%;
	}

	.event-profiles .profile-item .profile-thumbnail .thumbnail .masking-vertical {
		display: none;
	}

	.event-profiles .profile-item .profile-thumbnail .thumbnail .masking-horizontal {
		display: flex;
	}

	.event-profiles .profile-item .profile-info .profile-info-top {
		padding: 16px 32px 4px 32px;
		align-items: flex-start;
		height: auto;
	}

	.event-profiles .profile-item .profile-info .profile-info-bottom {
		flex-grow: 1;
		height: auto;
		padding: 4px 32px 32px 32px;
	}

	.mfp-wrap.profile-popup .popup-divider-top > img {
		max-height: 48px;
	}

	.mfp-wrap.profile-popup .popup-divider-top:before {
		transform: translateX(-120px); 
	}

	.mfp-wrap.profile-popup .popup-divider-top:after {
		transform: translateX(120px); 
	}

	.naf-featured-post .naf-featured-post-thumbnail .thumbnail .masking-vertical {
		display: none;
	}

	.naf-featured-post .naf-featured-post-thumbnail .thumbnail .masking-horizontal {
		display: flex;
	}

	.naf-featured-post {
		display: flex;
    	flex-direction: column;
	}

	.naf-featured-post .naf-featured-post-thumbnail,
	.naf-featured-post .naf-featured-post-info-wrapper {
		flex-basis: 100%;
	}

	.naf-featured-post .naf-featured-post-info-wrapper {
		flex-direction: column;
		align-items: flex-start;
	}

	.naf-featured-post .naf-featured-post-info {
		padding: 16px 24px 24px 24px;
	}

	.naf-featured-post .naf-featured-post-thumbnail .thumbnail {
		padding-top: 100%;
	}
}

@media (max-width: 767px) {
	.event-terms-wrapper .event-terms-item {
		font-size: 14px;
		padding: 14px 12px;
		margin-left: 6px;
		margin-right: 6px;
		margin-bottom: 12px;
	}
	
	.naf-button-wrapper .naf-button-text,
	.naf-button-wrapper .naf-button-icon {
		font-size: 14px;
	}

	.event-wrapper .event-item {
		width: 100%;
	}

	.event-terms-wrapper {
		flex-direction: column;
	}

	.event-terms-wrapper .event-terms-group,
	.event-filter-wrapper {
		flex-basis: 100%;
	}	

	.event-terms-group-label {
		margin-bottom: 8px;
	}

	.event-terms-wrapper .event-terms-group {
		margin-left: -6px;
		margin-right: -6px;
	}

	.event-price-wrapper .event-price-item {
		margin-bottom: 24px;
	}

	.event-price-wrapper .price-name,
	.event-price-wrapper .price {
		font-size: 14px;
	}

	.event-profiles .profile-item .profile-info .profile-info-top {
		padding: 16px 24px 4px 24px;
	}

	.event-profiles .profile-item .profile-info .profile-info-bottom {
		padding: 4px 24px 24px 24px;
	}

	.mfp-wrap.profile-popup .profile-info-wrapper {
		display: block;
	}

	.mfp-wrap.profile-popup .profile-thumbnail img {
		max-width: 280px;
		height: auto;
	}

	.mfp-wrap.profile-popup .popup-divider-top > img {
		max-height: 25px;
	}

	.mfp-wrap.profile-popup .popup-divider-top:before {
		transform: translateX(-75px); 
	}

	.mfp-wrap.profile-popup .popup-divider-top:after {
		transform: translateX(75px); 
	}

}