/**
 * Theme Name: CDI
 * Description: Blocksy Child theme
 * Template: blocksy
 * Text Domain: blocksy
 * Version:	1.12
 */

/* OVERWRITES */

:root {
	--content-spacing: 1.5rem; 
	--paletteColor9: #ccd8df; 
	/* --wide-offset:300px; */
	--swiper-pagination-bullet-horizontal-gap: 0.5rem;
}

html { 
	font-size: var(--fontSize); 
	line-height: var(--lineHeight); 
}

#search-modal input {
    --form-field-border-initial-color: #34657F;
}


a[role="button"] {
	cursor: pointer;
}

[data-vertical-spacing*=bottom] {
    padding-bottom: calc( var(--content-vertical-spacing) * 2 );
}

/* LINKS */

body[data-link='type-1'] .entry-content a,
body[data-link='type-1'] .ct-footer a, 
body[data-link='type-1'] .ct-breadcrumbs a {
  background-image: linear-gradient(currentColor, currentColor);
	background-size: 100% 1px;
	background-position: 0% 100%;
  background-repeat: no-repeat;
	transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955); 
}
	body[data-link='type-1'] .entry-content a:hover,
	body[data-link='type-1'] .entries a:hover 	{
		background-size: 0% 1px;
	}

body[data-link='type-1'] .entry-content a.revert,
body[data-link='type-1'] .ct-footer a,
body[data-link='type-1'] .ct-breadcrumbs a,
body[data-link='type-1'] .wp-block-button.is-style-more a.wp-block-button__link,
body[data-link='type-1'] .entry-title a, 
body[data-link='type-1'] a.entry-button  {
	background-size: 0% 1px;
}
	body[data-link='type-1'] .entry-content a.revert:hover,
	body[data-link='type-1'] .ct-footer a:hover,
body[data-link='type-1'] .ct-breadcrumbs a:hover,
body[data-link='type-1'] .wp-block-button.is-style-more a.wp-block-button__link:hover,
body[data-link='type-1'] .entry-title a:hover, 
body[data-link='type-1'] a.entry-button:hover 	{
		background-size: 100% 1px;
	}

body[data-link='type-1'] .entry-content a.ct-image-container, body[data-link='type-1'] .wp-block-button:not(.is-style-more) a.wp-block-button__link, body[data-link='type-1'] .entry-content a.icon,
body[data-link='type-1'] .ctf-context a, body[data-link='type-1'] .ctf-author-box a   {
	background-image: none;
	background-size: 0% 0px;
}

body[data-link='type-1'] .entry-content a.icon:hover svg{
	fill: var(--paletteColor1);
}


/* BUTTONS */

body .wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link {
	border: 2px solid currentColor;
}
body .wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link:hover {
	color: #fff !important; 
	background-color: var(--buttonInitialColor) !important;	
	border-color: var(--buttonInitialColor) !important;	
} 
body .wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link.has-palette-color-2-color:hover {
	background-color: var(--paletteColor2) !important;	
	border-color: var(--paletteColor2) !important;
}

body .wp-block-buttons .wp-block-button .wp-block-button__link,
body .wp-block-buttons .wp-block-button.is-style-fill .wp-block-button__link {
	border: 2px solid var(--buttonInitialColor);
}
body .wp-block-buttons .wp-block-button .wp-block-button__link:hover,
body .wp-block-buttons .wp-block-button.is-style-fill .wp-block-button__link:hover {
	color: var(--buttonInitialColor) !important; 
	background-color: #fff !important;	
	border-color: var(--buttonInitialColor) !important;	
} 
body .wp-block-buttons .wp-block-button.is-style-fill .wp-block-button__link.has-palette-color-2-background-color {
	border-color: var(--paletteColor2) !important;
}
body .wp-block-buttons .wp-block-button.is-style-fill .wp-block-button__link.has-palette-color-2-background-color:hover {
	color: var(--paletteColor2) !important;
	background-color: #fff !important;	
	border-color: var(--paletteColor2) !important;
}

body .wp-block-buttons .wp-block-button.is-style-more .wp-block-button__link {
	border-width: 0;
	border-radius: 0; 
	background-color: transparent;
	color: var(--paletteColor1);
	padding: 0;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5em;
	min-height: auto;
}

body .wp-block-buttons .wp-block-button.is-style-more .wp-block-button__link:after {
	content: ">";
}

@media (max-width: 781px) {
	:not(.is-not-stacked-on-mobile) .wp-block-buttons.is-content-justification-right {
			justify-content: flex-start !important;
	}
}
	

/*
.ct-button-ghost, .wp-block-buttons .wp-block-button .wp-block-button__link.is-style-outline, .wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link {
		background-color: #fff;
		color: currentColor; 
    border-color: currentColor;
} */


.button:hover, .ct-button:hover {
	color: currentColor;
	background-color: transparent;
	border-color: currentColor;
}

.ct-breadcrumbs {
	margin-bottom: 2rem;
}
.ct-breadcrumbs>span {
	display: inline;
}


/*== Spacer */

  .wp-block-spacer.is-style-responsive-large {
    height: 3rem !important;
  }

  .wp-block-spacer.is-style-responsive-medium {
    height: 2.25rem !important;
  }	

  .wp-block-spacer.is-style-responsive-small {
    height: 1.5rem !important;
  }

/* Group */

.wp-block-group.alignfull.has-background {
    padding-top: 3.25rem;
		padding-bottom: 3.25rem;
}	

/* CUSTOM TYPOGRAPHY */


.is-style-lead-text {
	font-weight: 700;
	color:  var(--paletteColor1);
}

.is-style-preheader-text {
	color: var(--paletteColor1);
	font-size: 0.818rem;
	line-height: 1.222;
	text-transform: uppercase;
	font-weight: 700; 
	margin-bottom: 0.75rem;
	padding: 1rem 0;
}

.is-style-preheader-text:after {
	content: "";
	display: block;
	height: 1px;
	background-color: var(--paletteColor9);
	margin-top: calc( var(--content-spacing)/2 );
}

.has-wpc-large-font-size { 
	line-height: 1.333;
}
@media (max-width: 999.98px) {
	.has-wpc-large-font-size {
		font-size: 1.22rem !important;
		line-height: 1.27 !important;
	}
}



li::marker {
	color: var(--paletteColor1);
	font-weight: 600;
}


body.single h2 {
	color: var(--paletteColor2);
}

.wp-block-image figcaption {
    font-size: 0.727rem;
		line-height: 1.625;
    text-align: left;	
}

.entry-content h3.entry-title {
	margin-bottom: 1.5rem;
}

h1.page-title {
	max-width: 48ch;
}

/* Blockquote */ 


		
.wp-block-quote p {
	font-weight: 300;
	font-size: 1.818rem;
	line-height: 1.375;
}

@media (max-width: 999.98px) {
	.wp-block-quote p {
			font-size: 1.667rem;
			line-height: 1.4;
	}
}

.wp-block-quote:not(.has-text-align-center):not(.has-text-align-right) {
    padding: 0px; 
    border-left-width: 0 !important;
}
.wp-block-quote cite {
    margin-top: 1rem;
		font-style: normal;
    font-size: 0.818rem !important;
}


/* SPACING */

.entry-content > .wp-block-quote, .entry-content > .wp-block-embed-youtube, .entry-content > iframe, .entry-content > .wp-block-image.size-full, .entry-content > .wp-block-table {
    margin-top: 3rem;
		margin-bottom: 3rem;		
}

/* TABLES */

.wp-block-table {
	font-weight: 600;
}
.wp-block-table th {
	background-color: var(--paletteColor1);
	color: var(--paletteColor8);
	text-transform: uppercase;
}

/* SEPARATOR */

.wp-block-separator.is-style-wide {
	margin-top: calc( var(--content-spacing)*2 );
	margin-bottom: calc( var(--content-spacing)*2 );
}


/* fix image gallery */


.wp-block-gallery.has-nested-images figure.wp-block-image {
	  flex-grow: inherit;
}
	.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
		position: relative;
		background: #fff;
    font-size: 1rem;
    font-style: italic;
    color: var(--paletteColor1);
	}



/* GRAVITY */

input[type="checkbox"], input[type="radio"] {
accent-color: var(--paletteColor1);
}
.gform_required_legend {
	font-size: 0.818rem;
}

.gform_wrapper form {
	max-width: 950px;
}
.gform_wrapper .gfield_required {
	/* vertical-align: super; */
	transform: translateY(-0.2rem);
}
body .gform_wrapper.gravity-theme .gfield_label {
	font-weight: 600;
	font-size: 1rem;
}
body .gform_wrapper.gravity-theme .gfield_checkbox label, body .gform_wrapper.gravity-theme .gfield_radio label {
  font-size: 1rem;
}

body .gform_wrapper.gravity-theme .gform_fields {
	grid-row-gap: 1.5rem;
}

button.gform_button {
	color: var(--paletteColor2);
	background-color: #fff;	
	border: 2px solid var(--paletteColor2);
}
button.gform_button:hover {
	color: #fff;
	background-color: var(--paletteColor2);	
}

body .gform_wrapper.gravity-theme .gform_footer, body .gform_wrapper.gravity-theme .gform_page_footer {
	margin-top: 1.5rem;
}


/* HEADER */

@media (max-width: 689.98px) {
	[data-header*="type-1"] .ct-header [data-id="logo"] .site-logo-container {
		--logo-max-height: 41px;
	}
}


.ct-header-cta, .ct-header-cta [data-size=large] {
	height: 100%;
  --buttonMinHeight: 100%;
	--button-padding: 5px 3rem;
}

.ct-header-cta .ct-button {
	border: solid 2px var(--buttonTextHoverColor);
}
.ct-header-cta .ct-button:hover {
	color: var(--buttonTextHoverColor);
}
	

.ct-header-trigger .ct-icon {
	border: solid 1px var(--icon-color);
	padding: 4px;
	border-radius: 50%;
	width: 25px;
	height: 25px;
}


@media (min-width: 1000px) {

	#offcanvas .ct-panel-content[data-device="desktop"] {
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-auto-rows: minmax(min-content, max-content);
		flex: auto; 
	}
}

#offcanvas .ct-panel-content[data-device="desktop"] nav { 
	grid-column: 1 / -1;
}

#offcanvas  .ct-panel-content[data-device="mobile"] {
	position: relative;
}
#offcanvas  .ct-panel-content[data-device="mobile"] .ct-header-cta {
	position: absolute;  
	top: var(--panel-padding, 35px); 
	right: var(--panel-padding, 35px); 
	margin: 0 !important;
}


	
#offcanvas .ct-header-cta, #offcanvas .ct-header-cta [data-size=large] {
    height: 40px;
    --buttonMinHeight: 40px;
		justify-content: flex-end;
}	
	
	
#offcanvas nav > ul  {
	display: flex;
	flex-wrap: wrap;
  justify-content: space-between;
	align-content: flex-start;
  align-items: flex-start;	
	overflow: hidden;
}
#offcanvas nav > ul  > li {
	flex-basis: 100%;
}



#offcanvas nav > ul  > li { 
	border-bottom: solid 1px var(--paletteColor1);
}

#offcanvas nav > ul  > li:not(.small):has(+li.small) { 
	padding-bottom: 1.5rem;
	border-bottom: solid 3px var(--paletteColor1);
}

#offcanvas nav > ul  > li:not(.small):first-child  {
	border-top: solid 3px var(--paletteColor1);
}

[data-header*="type-1"] [data-id="mobile-menu"] .sub-menu .text {
	padding-bottom: 1rem;
}

	


@media (min-width: 1000px) {
	#offcanvas .ct-panel-content[data-device=mobile] {
			display: none !important;
	}	

	#offcanvas .ct-panel-content {
/*		padding-left: calc( 50vw  - var(--normal-container-max-width)/2 );
		padding-right: calc( 50vw  - var(--normal-container-max-width)/2 ); */
		
		width: var(--block-width, var(--container-width));
    max-width: var(--block-max-width, var(--normal-container-max-width));		
		margin-left: auto;
		margin-right: auto;
		
	}	
	
	#offcanvas nav > ul > li.small {
		flex-basis: 32%;
	}
	
	[data-header*="type-1"] [data-id="mobile-menu"] .sub-menu {
		column-count: 3;
		column-gap: 2%;
	}
	[data-header*="type-1"] [data-id="mobile-menu"] .small .sub-menu {
		column-count: 2;
	}

	[data-header*="type-1"] [data-id="mobile-menu"] .sub-menu .text {
		break-after: column;
		break-inside: avoid-column;
	}	
}	



.mobile-menu > ul li.small > .ct-sub-menu-parent > a {
	font-size: 1.363rem;
}



.mobile-menu [class*=children]>ul {
	width: 100%;
	padding: 0.5rem 0 1.5rem 0;
	margin: 0;
}


.mobile-menu [class*=children]>ul li a:before {
	display: none;
}


.mobile-menu .sub-menu .ct-menu-link {
    padding: 3px 0;
}
.mobile-menu .sub-menu:after { 
	content: "";
	column-span: all;
	width: 100%;
	height: 1px;
	background-color: var(--paletteColor1);
}


.mobile-menu .text a.ct-disabled-link {
	font-weight: 300;
	color: var(--paletteColor3);
}

.mobile-menu [class*=children]>ul.is-animating {
    transition: height .3s ease;
		opacity: 0;
}

body .mobile-menu .ct-toggle-dropdown-mobile {
	transform: scale(1.1);
	color: var(--paletteColor2);
}

body .mobile-menu .ct-toggle-dropdown-mobile .ct-icon {
	fill: currentColor;
}

nav[class*="menu"] li[class*="current-menu-"] > a svg, nav[class*="menu"] li[class*="current-menu-"] > .ct-sub-menu-parent svg {
  fill: var(--paletteColor2);
}



@media (max-width: 689.98px) {
	#offcanvas .ct-panel-content {
    --margin: 10px 0;
}
	#offcanvas  .ct-header-cta {
		margin-top: 7px !important;
	}
	[data-device="mobile"] .mobile-menu-inline {
		display: none;
	}
	
}




/*  FOOTER */

.ct-footer:before {
	content: "";
	display: block;
	width: 100%;
	padding-top: 1.4%;
  background-image: url("data:image/svg+xml,%3Csvg width='1600' height='40' viewBox='0 0 1600 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='528' height='40' fill='%2367D2DF'/%3E%3Crect x='528' width='248' height='40' fill='%2300B7BD'/%3E%3Crect x='776' width='172' height='40' fill='%23EF9600'/%3E%3Crect x='948' width='124' height='40' fill='%23EF6A00'/%3E%3Crect x='1072' width='200' height='40' fill='%2393C90F'/%3E%3Crect x='1272' width='328' height='40' fill='%236CC24A'/%3E%3C/svg%3E%0A");
	background-size: 100vw auto;
}


.ct-widget p, .ct-widget li  {
	font-size: 0.818rem;
}
.ct-footer [data-column="widget-area-2"] {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto;
	grid-column-gap: 30px;
	grid-row-gap: 0;
}
	.ct-footer [data-column="widget-area-2"] .wp-block-group {
		padding: 0;
	}
	.ct-footer [data-column="widget-area-2"] > div:nth-child(1) {
		grid-area: 1 / 2 / 2 / 4;
	}
	.ct-footer [data-column="widget-area-2"] > div:nth-child(2) {
		grid-area: 1 / 1 / 3 / 2;
		margin: 0;	
	}
		.ct-footer [data-column="widget-area-2"] > div:nth-child(2) .wp-block-group {
			display: flex;
			flex-direction: column;
			flex-wrap: wrap;
			align-content: flex-start;
			height: 100%;
			padding-right: 30px;
			border: solid 1px #fff;
			border-width: 0 1px 0 0;
			border-color: rgba(255,255,255,0.5); 		
		}	
		.ct-footer [data-column="widget-area-2"] > div:nth-child(2) figure {
			margin-top: auto;
		}
	.ct-footer [data-column="widget-area-2"] > div:nth-child(3) {
		grid-area: 2 / 2 / 3 / 4;
	}
		.ct-footer [data-column="widget-area-2"] > div:nth-child(3) .wp-block-group {
			border-top: solid 1px #fff;
			border-color: rgba(255,255,255,0.5);
			padding-top: 30px;
		}

@media (max-width: 999.98px) {
	.ct-widget p, .ct-widget li  {
		font-size: 0.777rem;
	}	
	.ct-footer [data-column="widget-area-2"] {
		grid-template-columns: 1fr;
		grid-row-gap: 0px;		
	}	
	.ct-footer [data-column="widget-area-2"] > div {
		grid-area: auto !important;
	}
	.ct-footer [data-column="widget-area-2"] > div:nth-child(2) .wp-block-group {
			border-width: 1px 0 0 0;
			padding: 30px 0 0 0;	
			margin-top: 60px;
	}
	.ct-footer [data-column="widget-area-2"] > div:nth-child(2) h6, 
	.ct-footer [data-column="widget-area-2"] > div:nth-child(2) figure {
		display: none;
	}
	.ct-footer [data-column="widget-area-2"] > div:nth-child(2) br	{
		display: inline-block;
		width: 1rem;
	}
 
	.ct-footer [data-column="widget-area-2"] > div:nth-child(3) .wp-block-group {	
		border-width: 0;
		padding: 0;
	}
}


.ct-footer .widget-menu {
	font-weight: 700;
}


.ct-footer input[type=text], .ct-footer input[type=email] {
	color: #fff;
	border-width: 0 0 1px 0;
	padding-left: 0 !important;
}
.ct-footer form .gform_footer {
	margin-top: 1rem !important;
	margin-bottom: 0 !important;
}

@media (min-width: 1000px) { 
	.ct-footer form	{
		display: flex;
		justify-content: space-between;
		align-items: flex-end;	
		gap: 30px;
		flex-wrap: nowrap;
	}
		.ct-footer form .gform-body {
			flex-grow: 1;
		}
		.ct-footer form .gform_footer {
			padding: 0 !important;
			margin: 0 !important;
		}
			.ct-footer form .gform_footer button {
				margin-bottom: 0 !important;
			}
}

.ct-footer #gform_submit_button_2 {
	background-color: transparent;
	color: #fff;
	border-color: #fff;
}
.ct-footer #gform_submit_button_2:hover {
	background-color: var(--paletteColor8);
	color: var(--paletteColor1);
	border-color: var(--paletteColor8);
}

.ct-footer input[type=text]::-webkit-input-placeholder, .ct-footer input[type=email]::-webkit-input-placeholder  {
	opacity: 1;
}

/* PAGINATION */

[data-pagination=simple]>div .page-numbers { 
	margin: 0;
	color: #949191;
}
[data-pagination=simple]>div .page-numbers:hover { 
	color: #292424;
}

[data-pagination=simple], [data-pagination=next_prev] {
	font-size: 18px;
}
[data-pagination=simple] .page-numbers, [data-pagination=next_prev] .page-numbers { 
	border-width: 0;
	background-image: none !important;
	background-size: 0% 0px !important;
}


[data-pagination=simple] {
	border-top: solid 1px var(--paletteColor9);
	padding-top: 10px;
}
[data-pagination=simple]:after {
	content: "";
	display: block;
	width: 100%;
	padding-top: 1.4%;
	background: url(../../../wp-content/uploads/2022/12/CDI-colour-bar.svg) no-repeat center center;
	background-size: 100vw auto;
	grid-column: 1 / span 3;
	margin-top: 10px;
}


[data-pagination=simple] .page-numbers.current, [data-pagination=next_prev] .page-numbers.current {
    color: var(--paletteColor3);
    background:  #fff;
}

[data-pagination=simple] .prev, [data-pagination=simple] .next, [data-pagination=next_prev] .prev, [data-pagination=next_prev] .next {
	 font-size: 18px;
}
.ct-pagination svg {
	width: 18px;
	height: 18px;
}


/* SHARE ICONS */

.tw-share-box {
		display: flex;
		flex-wrap: nowrap;
    align-items: center;
		gap: 1rem;
}
	.tw-share-box[data-location="bottom"] {
			width: var(--default-editor, var(--block-width));
			max-width: var(--default-editor, var(--block-max-width));
			margin-left: var(--default-editor, auto);
			margin-right: var(--default-editor, auto);
			margin-top: 3rem;
	}
	
	
@media (min-width: 690px) {	
	.tw-share-box[data-location="top"] {
		position: absolute;
		bottom: 1rem;
		right: 0;
	}
}
			
	.tw-share-box>div {
			display: grid;
			grid-template-columns: repeat(3, minmax(30px, 40px ));
			width: 100%;
			overflow: hidden;
	}

	.tw-share-box .tw-module-title {
		font-size: 0.818rem;
		text-transform: uppercase;
		font-weight: 700;
		color: var(--paletteColor1);
	}

	.tw-share-box  .tw-icon {
			display: flex;
			align-items: center;
			justify-content: center;
	}
	.tw-share-box svg {
		width: 25px;
		height: 25px;
		fill: var(--paletteColor2);
	}
	.tw-share-box a:hover svg {
		fill: var(--paletteColor1);
	}

/* PAGE TILE */

.hero-section {
	padding-top: 1rem !important;
	padding-bottom: var(--content-vertical-spacing) ;
}

body.single .hero-section .entry-header {
	padding-bottom: 1rem;
	border-bottom: solid 1px var(--paletteColor9);
}

.ct-featured-image figcaption {
    --fontSize: 0.727rem;
		line-height: 1.625;
    text-align: left;	
}

.entry-meta[data-type*=slash] li:not(:last-of-type):after {
    content: "|";
}


/* CARDS */

a.entry-button[data-type="simple"] {
	font-size: 18px;
	font-weight: 600;
	text-transform: uppercase;
}
a.entry-button[data-type="simple"]:after {
	content: "\00a0\003E";
}

.entries:not([data-cards=cover]) .entry-button {
	margin-top: 0;
}




/* ACORDION */

summary::-webkit-details-marker { display:none; }

summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 1rem;
	color: var(--paletteColor3);
	cursor: pointer;
	padding: 0.5rem;
	border-top: solid 2px var(--paletteColor1);
}	

	summary .icon {
		width: 16px;
		height: 16px;
		position: relative;
		margin-left: 0.5em;
	}
		summary .icon:before, summary .icon:after {
			background: var(--paletteColor2);
			content: "";
			height: 3px;
			left: 0;
			position: absolute;
			top: 50%;
			width: 16px;
			transition: transform 500ms ease;
		}
		summary .icon:after {
			transform-origin: center;
			transform: rotate(90deg);
		}
			[open] summary .icon:after {
					transform: rotate(180deg);
			}		

details .content h3.facet-heading {
		font-size: 1em;
		margin: 0;
}

details  .facetwp-facet {
	margin-bottom: 1rem;
}

details.filter {
	border-bottom: solid 1px var(--paletteColor9);	
	margin-bottom: var(--content-vertical-spacing);
	margin-top: 0.5rem;
}

	details.filter summary .title {
		color: inherit;
		font-size: inherit;
		font-weight: inherit;
		margin: 0;
	}

details.filter .content {
	padding: 1rem 0.5rem;
	background-color: var(--paletteColor7);
	border-top: solid 1px var(--paletteColor9);		
}


/* FACETS */

.facetwp-counter {
    display: none;
}

body .facetwp-radio, body .facetwp-radio.checked, body .facetwp-checkbox, body .facetwp-checkbox.checked  {
    background-image: none;
    padding-left: 0;
}
	
body .filter .facetwp-radio {
	font-size: 0.818rem;
}
body .facetwp-display-value {
    padding-right: 0;
}
body[data-link='type-1'] .facetwp-display-value {
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 0% 1px;
    background-position: 0% 100%;
    background-repeat: no-repeat;
    transition: all 0.12s cubic-bezier(0.455, 0.03, 0.515, 0.955);
}

body[data-link='type-1'] .facetwp-display-value:hover, body .facetwp-radio.checked .facetwp-display-value {
    background-size: 100% 1px;
}

.facetwp-selections ul {
	padding-left: 0;
}
body .facetwp-selections .facetwp-selection-value {
	background-color: var(--paletteColor7);
	background-size: 9px 9px;
  background-position: calc(100% - 6px) 50%;
	padding: 3px 24px 3px 9px;
  border-radius: 9px;
}
body .facetwp-selections .facetwp-selection-value:hover {
	background-color: #fff;
}

.facet-controls {
	display: flex;
    justify-content: space-between;
	margin-top: calc( var(--content-vertical-spacing)*-0.5 );
}

.facetwp-facet-page {
	display: flex;
  justify-content: center;
	margin-top: var(--content-vertical-spacing);
	margin-bottom: var(--content-vertical-spacing);
}

	.facetwp-load-more {
		height: 40px;
		background-color: #fff;
		display: flex;
		align-items: center;	
		gap: 0.5rem;
		font-weight: 600;
		text-transform: uppercase;
		color: var(--paletteColor2);
	}
	.facetwp-load-more:after {
		content: "";
		width: 40px;
		height: 40px;
		background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='18.5' transform='rotate(-90 20 20)' stroke='%23EF6A00' stroke-width='3'/%3E%3Cpath d='M11 17.5L20.5 27L30 17.5' stroke='%23EF6A00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
		background-repeat: no-repeat;
		background-size: cover;
	}	



/* BlOG */

[data-prefix="blog_archive"] .entries {
    --grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 999.98px) {
	[data-prefix="blog_archive"] .entries {
			--grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 689.98px) {
	[data-prefix="blog_archive"] .entries {
			--grid-template-columns: repeat(1, minmax(0, 1fr));
	}
}




.single article > .ct-featured-image {
	margin-bottom: 1.5rem;
}


/* IN THE NEWS */

[data-prefix="in-the-news_archive"] [data-cards="simple"] .entry-card {	
  --card-border: 1px solid var(--paletteColor9);
}
	[data-prefix="in-the-news_archive"] [data-cards="simple"] .entry-card:first-child {
		border-top: 1px solid var(--paletteColor9);
	}
		[data-prefix="in-the-news_archive"] .facetwp-template[data-cards="simple"] .entry-card:first-child { 
			border-top: solid 2px var(--paletteColor1);
		}


	[data-prefix="in-the-news_archive"] [data-cards="simple"] .entry-card .card-content	{
		display: grid;
		grid-template-columns: 5fr repeat(2, 2fr);
		grid-column-gap: 15px;
		width: 100%;
		flex-basis: 100%;
		position: relative;
	}
	[data-prefix="in-the-news_archive"] [data-cards="simple"] .entry-card  .ct-ghost {
		position: absolute;
		z-index: -1;
	}
		[data-prefix="in-the-news_archive"] [data-cards="simple"] .card-content > * {
			margin: 0 !important;
		}
	[data-prefix="in-the-news_archive"] [data-cards="simple"] .entry-meta	{
		text-align: right;
	}
	
	[data-prefix="in-the-news_archive"] [data-cards="simple"] .entry-card {	
		background-color: var(--paletteColor7);
		margin: 0 !important;
		padding: 1.5rem 1rem;
	}
		[data-prefix="in-the-news_archive"] [data-cards="simple"] .entry-card:nth-child(even) {	
		background-color: var(--paletteColor8);
	}


@media (max-width: 999.98px) {
		[data-prefix="in-the-news_archive"] [data-cards="simple"] .entry-card .card-content	{
			grid-template-columns: 1fr;
		}
		[data-prefix="in-the-news_archive"] [data-cards="simple"] .entry-meta {
				text-align: left;
		}	
		[data-prefix="in-the-news_archive"] [data-cards="simple"] .card-content > .ct-dynamic-data {
			margin-top: 1rem !important;
		}
}	
	
/* POSTS CAROUSEL */

.swiper.posts-carousel {
	border-top: solid 1px var(--paletteColor9);
	padding-top: 1.5rem; 
}
.posts-carousel .entry-card {
	display: flex;
	flex-direction: row-reverse;
	gap: 30px;
}
	.posts-carousel .entry-card > * {
		flex-basis: 50%;
	}

.posts-carousel .card-content {
	padding-bottom: 60px;
}

.posts-carousel .card-content {
	display: flex;
	flex-direction: column;
}
	.posts-carousel  .entry-title {
		margin-top: 0;
	}
		.posts-carousel  .entry-title a {
			color: var(--paletteColor3);
		}

.posts-carousel .entry-meta {		
	margin-bottom: 20px;
}


.carousel-controls {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1.5rem;
	margin-top: -40px;
	position: relative;
	z-index: 2;
}

.carousel-controls .control-buttons {
	display: inline-flex;
	align-items: center; 
	gap: 0.5rem;
}

	.carousel-controls button {
		min-height: initial;
		line-height: 1;
		background-color: #fff;
		padding: 0;	
	}

	.carousel-controls svg {
			fill: none;
			width: 40px;
			height: 40px;
			max-width: initial;
	}
	
	.carousel-controls .next-prev svg circle {	
		fill: var(--paletteColor1);
	}
		.carousel-controls .next-prev:hover svg circle {	
			fill: var(--paletteColor2);
		}	
	.carousel-controls .next-prev svg path {	
		stroke: var(--paletteColor8);
	}	
	
	
	.carousel-controls .play-pause svg circle {	
		stroke: var(--paletteColor1);
	}
		.carousel-controls .play-pause:hover svg circle {	
			stroke: var(--paletteColor2);
		}	
	.carousel-controls .play-pause svg path {	
		stroke: var(--paletteColor1);
		fill: var(--paletteColor1);
	}	
		.carousel-controls .play-pause:hover svg path {	
			stroke: var(--paletteColor2);
			fill: var(--paletteColor2);
		}		
	
	.carousel-pagination {
		display: flex;
	}

	.play .swiper-play {display: none;}
	.pause .swiper-pause {display: none;}

.carousel-controls  .swiper-pagination-bullet {
    background: var(--paletteColor9);
    opacity: 1;
}
.carousel-controls  .swiper-pagination-bullet {
    background: var(--paletteColor9);
    opacity: 1;
}
.carousel-controls  .swiper-pagination-bullet-active {
	  background: var(--paletteColor1);
}
.carousel-controls  .swiper-pagination-bullet:hover {
    background: var(--paletteColor2);
}

@media (max-width: 999.98px) {
	.posts-carousel .entry-card  {
		flex-direction: column-reverse;
		flex-wrap: wrap;
	}
	.posts-carousel .entry-card > * {
		flex-basis: 100%;
	}	
	.posts-carousel .card-content {
		padding-bottom: 0;
	}	
	.posts-carousel .entry-card > .ct-image-container {
		max-width: 60%;
	}
	
	.carousel-controls {
		left: calc( 60% + 1.5rem) ;
	}
	.posts-carousel .next-prev {
		display: none;
	}
}

@media (max-width: 689.98px) {
	.carousel-controls {
		left: auto ;
		margin-top: 1.5rem;
	}	
	
}


/* FEATURED */

.is-style-featured {
	margin-bottom: 0;
}
.is-style-featured:not(:first-child) {
	margin-top: calc( var(--content-spacing) * -1 ); 
	/* margin-top: 0; */
}
.is-style-featured .wp-block-column {
	display: flex;
	flex-direction: column;
	position: relative;
	padding-top: 3.25rem;
	padding-bottom: 3.25rem;
}

.is-style-featured .is-layout-flex {
	gap: 2rem;
}
.is-style-featured .wp-block-column:not(:last-child):after {
	content: "";
	width: 1px;
	height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	right: -1rem;
	background-color: var(--paletteColor9);
}

.is-style-featured :is(h2, h3, h4, h5, h6) + p {
	margin-top: 0.5rem;
}
.is-style-featured .wp-block-column .wp-block-buttons {
	margin-top: auto;
	padding-top: 20px;
}
.is-style-featured figure {
  margin-left: auto;
  margin-right: auto;
	max-width : 175px;
}

@media (max-width: 999.98px) { 
	.is-style-featured .wp-block-columns {
			flex-wrap: wrap !important;
			gap: 0;
	}
	.is-style-featured .wp-block-column  {
		flex-basis: 100% !important;
		flex-grow: 1 !important;
		display: grid;	
		grid-template-columns: 1fr 3fr;
		column-gap: 1rem;
		border-bottom: solid 1px var(--paletteColor9);
    /* padding: 1.5rem 0; */
	}
	.is-style-featured figure {
		grid-row: 1 / span 99;
		max-width: 70%;
	}
	.is-style-featured :is(h2, h3, h4, h5, h6)	{
		margin-top: 0;
	}
	.is-style-featured .wp-block-column:not(:last-child):after {
		display: none;
	}
}

@media (max-width: 689.98px) {
	.is-style-featured .wp-block-column {
		grid-template-columns: 1fr;
	}
	.is-style-featured figure {
		display: none;
	}
}


/* FEATURED SIMPLE GRID*/

.is-style-featured-simple {
	border: solid 1px var(--paletteColor9);
	border-width: 1px 0;
}
	.is-style-featured-simple:not(:first-child) {
		/* margin-top: calc( var(--content-spacing) * -1 ); */
		margin-top: 0;
	}
.is-style-featured-simple .wp-block-column {
	display: flex;
	flex-direction: column;
	position: relative;
	padding-top: 3rem;
	padding-bottom: 3rem;
}

.is-style-featured-simple .is-layout-flex {
	gap: 2rem;
}
.is-style-featured-simple .wp-block-column:not(:last-child):after {
	content: "";
	width: 1px;
	height: 100%;
	position: absolute;
	top: 0;
	bottom: 0;
	right: -1rem;
	background-color: var(--paletteColor9);
}
.is-style-featured-simple :is(h2, h3, h4, h5, h6) + p {
	margin-top: 0.5rem;
}
.is-style-featured-simple .wp-block-column[style="flex-basis:33.33%"] :is(h3, h4, h5, h6) {
	max-width: 20ch;
}



.is-style-featured-simple .wp-block-column .wp-block-buttons {
	margin-top: auto;
	padding-top: 20px;
}
.is-style-featured-simple figure {
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 999.98px) { 
	.is-style-featured-simple .wp-block-columns {
			flex-wrap: wrap !important;
			gap: 0;
	}
	.is-style-featured-simple .wp-block-column  {
		flex-basis: 100% !important;
		flex-grow: 1 !important;
		display: grid;	
		grid-template-columns: 1fr;
		column-gap: 1rem;
		border-bottom: solid 1px var(--paletteColor9);
	}
		.is-style-featured-simple .wp-block-column:last-child {
			border-bottom-width : 0;
		}

	.is-style-featured-simple :is(h2, h3, h4, h5, h6)	{
		margin-top: 0;
	}
	.is-style-featured-simple .wp-block-column[style="flex-basis:33.33%"] :is(h3, h4, h5, h6) {
		max-width: inherit;
	}	
	.is-style-featured-simple .wp-block-column:not(:last-child):after {
		display: none;
	}
}




/* page */

body.page .ct-featured-image {
 margin-top: -1.5rem;
 padding-bottom: 0;
} 

body.page .ct-featured-image .ct-image-container {
	vertical-align: top; 
	max-height: 630px;
}
@media (max-width: 999.98px) {
	body.page .ct-featured-image .ct-image-container {
		max-height: 315px;
	}
}
@media (max-width: 689.98px) {
	body.page .ct-featured-image .ct-image-container {
		max-height: 207px;
	}	
}
body.page .ct-featured-image:after {
    content: "";
    display: block;
    width: 100%;
    padding-top: 1.4%;
    background-image: url("data:image/svg+xml,%3Csvg width='1600' height='40' viewBox='0 0 1600 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='528' height='40' fill='%2367D2DF'/%3E%3Crect x='528' width='248' height='40' fill='%2300B7BD'/%3E%3Crect x='776' width='172' height='40' fill='%23EF9600'/%3E%3Crect x='948' width='124' height='40' fill='%23EF6A00'/%3E%3Crect x='1072' width='200' height='40' fill='%2393C90F'/%3E%3Crect x='1272' width='328' height='40' fill='%236CC24A'/%3E%3C/svg%3E%0A");
    background-size: 100vw auto;
}	


/* MODERN EVENTS CALENDAR */

body .mec-skin-list-events-container { 
	border-top: solid 2px var(--paletteColor1); 
}

body .mec-event-list-minimal .mec-event-article.mec-clear {
    border-color: #ccd8df;
}

/* 
body .mec-event-list-minimal .mec-event-article.mec-clear:nth-child(even) {
    background-color: #f4f4f4;
} */

body .mec-event-list-minimal .mec-event-article.mec-clear .mec-event-detail,
body .mec-event-list-minimal .mec-event-article.mec-clear .mec-event-title {
    overflow: hidden;
}
body .mec-event-list-minimal .mec-event-article.mec-clear .mec-event-title {
    letter-spacing: 0;
    color: #353535;
    font-size: 22px;
		text-transform: none;
}

body .mec-event-list-minimal .col-sm-9, body .mec-event-list-minimal .col-md-3 {
		width: 100%;
		float: none; 
} 

body .mec-event-list-minimal .mec-event-article.mec-clear .btn-wrapper {
    text-align: left;
    display: block;
    width: 100%;
}

body .mec-event-list-minimal .col-sm-9 > *:not(.mec-event-date) {
	margin-left: 82px;
}


body .mec-event-list-minimal .mec-event-article.mec-clear .btn-wrapper .mec-detail-button {
    margin-left: 82px;
    margin-bottom: 4px;
    font-size: 0.818rem; 
    padding: 0; 
		letter-spacing: initial; 
    text-align: left;
display: var(--display, inline-flex);
    align-items: center;
    justify-content: center;	
background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%;
    background-repeat: no-repeat;
    transition: all 0.2s cubic-bezier(0.455, 0.03, 0.515, 0.955);		
border-width: 0;
    border-radius: 0;
    background-color: transparent;
    color: var(--paletteColor2);
    padding: 0;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.5em;
    min-height: auto;
		background-size: 0 1px;		
		
}
body .mec-event-list-minimal .mec-event-article.mec-clear .btn-wrapper .mec-detail-button:after {
		content: ">";
}
body .mec-event-list-minimal .mec-event-article.mec-clear .btn-wrapper .mec-detail-button:hover {
    color: #34657F;
		background-size: 100% 1px;
}


body .mec-wrap h4, .entry-content .mec-wrap h4   {
	font-weight: 700 !important; 
	text-transform: none; 
	line-height: inherit; 
}

body .mec-event-list-minimal .mec-event-date   {
	font-size: 0.818rem;
}


body .mec-wrap :not(.elementor-widget-container)>p {
    margin: initial;
    color: initial;
    font-size: var(--fontSize);
    line-height: var(--lineHeight);
		font-weight: var(--fontWeight);
}


body .mec-wrap .mec-single-title, .single-mec-events .mec-wrap.mec-no-access-error h1 {
    font-size: 1.778rem;
		color: var(--paletteColor1);
}



body .mec-breadcrumbs {
    border-radius: 0;
    padding: 1rem 0 var(--content-vertical-spacing) 0;
		margin: 0; 
		font-size: 0.727rem;
		line-height: 1.625;
    font-weight: 400;
    color: var(--paletteColor1);
    border-width: 0;
    box-shadow: none;
}

body .mec-single-event .mec-address {
	color: inherit;
}
body .mec-breadcrumbs a {
    color: inherit;
    padding-left: 4px;
		font-weight: inherit;
}
body .mec-breadcrumbs  .mec-sl-arrow-right:before {
    content: "/";
}
body .mec-breadcrumbs i {
    font-size: 0.75rem;
		line-height: inherit; 
		font-family: inherit;
    margin: 0;
}
body .mec-single-event .mec-current {
	color: inherit; 
	font-weight: 700;
}


body .mec-single-event .mec-event-export-module {
    margin-bottom: 30px;
    padding: 1.5rem 0;
    border-width: 0;
}

body .mec-event-list-minimal .mec-event-date:after {
	display: none;
}

body .mec-load-more-button {
    font-size: 0.727rem;
    font-weight: 700;
    letter-spacing: initial;
    text-transform: uppercase;
    background: #fff;
    color: var(--paletteColor1);
    border: 2px solid var(--paletteColor1);

}

.post-type-archive-mec-events h1,
.tax-mec_category h1  { 
	margin-top: var(--content-vertical-spacing); 
}

body .mec-container { 
	padding-bottom: calc( var(--content-vertical-spacing) * 2 );
}

@media only screen and (min-width: 768px) and (max-width: 960px) {
	
	body .mec-container { 
	 width: var(--container-width); 
	} 

} 

@media only screen and (max-width: 767px) {
	
	body .mec-container { 
		max-width: var(--default-editor, var(--block-max-width));
		width: var(--default-editor, var(--block-width));
		padding: var(--content-spacing);
	} 
}


@media only screen and (max-width: 479px) {
	body .mec-event-list-minimal .col-sm-9 > *:not(.mec-event-date),
	body .mec-event-list-minimal .mec-event-article.mec-clear .btn-wrapper .mec-detail-button {
		margin-left: 0;
	}
	body .mec-event-list-minimal .mec-event-date {
		margin-bottom: 1rem;
	}

}

body .mec-event-list-minimal {
    text-align: left;
}