/* ==========================
* Project: SOPA
* Coders: Dasha 
* Last update:
* CSS WORKFLOW:
			1. GLOBAL SETTINGS
				- Inner pages
				- Menu
			2. HOMEPAGE
				- Section 1
				- Section 2
				- Section 3
				- Section 4
				- Section 5
			3. ASSEMBLIES
			4. EVENTS & NEWS
			5. MEMBERS HUB
			6. CAMPAIGNING 
			7. CELEBRATING OLDER PEOPLE
			8. PROJECTS & PARTNERSHIPS
			9. ABOUT

* Media Queries
X-Small devices
@media (max-width: 320px) { ... }

Small devices (covers 425px)
@media (max-width: 670px) { ... }

Medium devices (tablets covers 768px, 820px)
@media (max-width: 890px) { ... }

Large tablets (covers 1080px, 1024px)
@media (max-width: 1080pxpx) { ... }

Large desktops (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

X-Large devices (larger desktops, 1400px and up)
@media (min-width: 1400px) { ... }

XX-Large devices (larger desktops, 1600px and up)
@media (min-width: 1600px) { ... }


Specific device (larger desktops, 1707px and up)
@media (min-width: 1707px) { ... }
Desktops (larger desktops, 1707px and up)

Case-speciifc screens:
@media (min-width: 1920px) { ... }


@media (min-width: 2048px) { ... }


@media (min-width: 2560px) { ... }


@media (min-width: 3000px) { ... }
=================================================*/


/*** GLOBAL SETTINGS
==========================*/

/*Usage: Add local fonts to the website*/
@font-face {
    font-family: 'Work Sans';
    font-style: normal;
    font-weight: 300 400 500 600 700 800 900;
    font-display: fallback;
    src: url('https://sopa.scot/wp-content/themes/infinity-pro/fonts/WorkSans-VariableFont_wght.woff2') format('woff2');
}


:root {
	--lighter-green: #edf9e5;
	--light-green: #E2F4D4;
	--green: #C5ECAE;
	--bright-blue: #00D8D2;
	--dark-blue: #0A6B72;
	--dark-yellow: #EFC100;
	--yellow: #FFDD4B;
	--light-yellow: #FFE36E;
	--grey-yellow: #F9E9A7;
	--light-purple: #E9CBF7;
	--purple: #C3A6E2;
	--dark-purple: #562F6D;
	--darker-purple: #472b49;
	--grey: #EDEDED;
	--dark-orange: #D33901;
	--orange: #FA7921;
	--font-color: black;
	--light-grey: #EDEDED;
}

.site-inner,
.full-width-content .content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/*Usage: Set width of website components*/
.container-custom,
header.site-header .wrap,
.site-footer .wrap,
.breadcrumb {
	max-width: 96%;
	width: 1078px;
	margin: auto;
	padding: 0;
}




/*///Tablets*/
@media only screen and (max-width: 1100px) {
	.container-custom, header.site-header .wrap, 
	.site-footer .wrap, 
	.breadcrumb {
		max-width: 90%;
		width: 999px;
	}
	.container-custom.above-header-links {
		max-width: 96%;
	}
}

@media only screen and (max-width: 999px) {
	.container-custom, header.site-header .wrap, .site-footer .wrap, .breadcrumb {
		max-width: 90%;
		width: 999px;
	}
	 
	.home header.site-header .wrap,  {
		max-width: 100%;
		width:100%;
	}
}


@media only screen and (max-width: 670px) {
	.container-custom, header.site-header .wrap, .site-footer .wrap {
		max-width: 90%;
	}
	 .breadcrumb {
		max-width: 96%;
	}
	.home .container-custom, 
	.home header.site-header .wrap, 
	home .site-footer .wrap {
		max-width: 90%;
		width: 90%;
	}
	.home header.site-header .wrap, 
	home .site-footer .wrap {
		max-width: 100%;
		width: 100%;
	}
}

body {
	overflow-x: hidden;
}

body,
body > div {
	font-family: 'Work Sans', sans-serif !important;
	font-weight: 400;
	font-size: 19px;
}

h1, h2, h3, h4 {
	font-weight: 600;
	font-family: 'Work Sans', sans-serif;
}

a:has(.external-icon) {
	align-items: flex-start;
	margin-top: 3px;
	gap: 3px;
	position: relative;
}

svg.external-icon {
    fill: currentcolor;
    width: 12px;
    display: inline;
    position: relative;
    right: 3px;
    bottom: 3px;
}

.button svg.external-icon {
	display: none;
}

main a:not(.button):not(.tag):hover, main a:not(.button):not(.tag):focus,
footer a:hover,
footer a:focus {
    background-color: #FFFFF0;
    outline: 2px solid black;
    width: fit-content;
}

footer a:hover,
footer a:focus {
	color: black !important;
}

.text-align-center {
    text-align: center;
}

main .button:hover,
main .button:focus,
main button:hover,
main button:focus,
.above-footer .button:hover,
.above-footer .button:focus, {
    outline: 2px solid black;
	outline-offset: 2px;
}

body:not(.home)  h1,
body:not(.home)  h3,
body:not(.home)  h4 {
	padding: 20px 0;
}
 
h1.site-title {
	padding: 0;
}

h1 {
	font-size: 40px;
}

h2 {
	font-size: 35px;
	padding: 0 0 20px 0;
}

h3 {
    font-size: 25px;
}


a {
	color: var(--font-color);
	font-weight: 500;
}

p {
	line-height: 1.7;
}

.entry-content ol, .entry-content ul {
    margin-bottom: 30px;
    margin-left: 15px;
}

button,
input[type="button"],
input[type="reset"],
input[type="select"],
input[type="submit"],
.button,
form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style) {
	background-color: var(--dark-blue);
	font-size: 25px;
	padding: 10px 30px
}

.button,
button {
	margin-top: 30px;
}

.purple-button {
	background-color: var(--dark-purple);
}

.red-button,
form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style) {
	background-color: var(--dark-orange);
}

.page-content .button {
	font-size: 22px;
	padding: 10px 13px;
}

.clickable-card {
	cursor: pointer;
	transition: all 0.2s ease;
}

.clickable-card:hover,
.clickable-card:focus {
	transform: translateY(-5px);
}

.entry, 
.page.page-template-page_blog .content .entry {
	border: none;
}

/*download links*/
.download-file {
	margin: 35px 0;
}

/*Remove margin when used inside a downlaod card*/
.download-card .download-file {
	margin-bottom: 0;
}

.download-file a {
	color: var(--dark-blue);
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
}

svg.bi.bi-file-earmark-text {
	color: var(--dark-blue);
}

.download-file a:hover,
.download-file a:focus {
	text-decoration:underline;
}



/** INNER PAGES
----------------------*/
.entry-content {
    margin-top: 37px;
}

.page-content ul > li {
    list-style-type: disc;
    margin-bottom: 10px;
}

p {
    margin: 0 0 20px;
    padding: 0;
}

h1.title {
	color: #472b49;
    font-size: 40px;
	font-weight: 700;
    padding: 0;
    padding-bottom: 37px !important;
}

.page-content h2 {
	font-size: 32px;
	padding: 20px 0;
}

header.entry-header {
    display: none;
}

.full-container.banner-container {
    border-top: 10px solid var(--bright-blue);
}

.divider {
    border-top: 10px solid var(--dark-orange);
}

img.banner-image {
    height: 450px;
    object-fit: cover;
	width: 100%;
}

body:not(.home) nav[aria-label = "Breadcrumbs"] {
    background-color: #ededed;
	padding: 5px 0;
}

span.breadcrumb-link-wrap a {
	color: black;
	font-weight: 300;
    padding-right: 5px;
	text-decoration: none;
}

.breadcrumb {
	font-weight: 300;
}

.container-custom.sidebar-page.d-flex,
.title-container {
    gap: 45px;
}

div#navigation-sidebar,
.container-adjuster {
    width: 24%;
    /* display: none; */
}

.title-area:hover,
.title-area:focus {
	outline: 2px dotted #562F6D;
}

.page-content,
.title {
    width: 76%;
}

.page-content {
	margin-bottom: 15px;
}

/*Usage: Style the images in images repeater field*/
.container-images {
	gap: 20px;
	margin: 25px 0;
}

.container-images img {
	width: 50%;
}

@media only screen and (max-width: 699px) {
	.container-images {
    	flex-direction: column;
	}
	.container-images img {
		width: 100%;
	}
	h1.title {
		font-size: 36px;
		padding-bottom: 20px !important;
	}
}

/*Form fields*/
input,
textarea {
	border: 1px solid black !important;
	background-color: white !important;
	padding: 6px 12px !important
}

/*Form*/
form.fluent_form_1 input {
    border-radius: 0 !important;
    padding: 11px 10px !important;
}

textarea,
form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style) {
    border-radius: 0 !important;
}


form.fluent_form_1 .ff-btn-submit:not(.ff_btn_no_style),
input.acf-button.button.button-primary.button-large {
    background-color: var(--dark-orange) !important;
    padding: 7px 20px;
    font-weight: bold;
    margin-top: 10px;
}

/*Search and filter*/
.searchandfilter ul {
    display: flex;
    	gap: 20px;
	margin-left: 0;
    padding-left: 0;
}

.searchandfilter h4 {
    font-size: 19px;
    font-weight: 500;
	margin: 0;
    padding: 5px 0 10px !important;
}

select.sf-input-select {
    background-color: white;
    border: 1px solid black;
    padding: 8px;
}

.searchandfilter ul li {
    flex: 1;
    padding: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}


.searchandfilter ul li label {
	width: 100%;
}

h3 a {
  text-decoration: none;
  color: inherit;
  position: relative;
}

/* Adding the underline effect */
/*h3 a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px; 
  width: 100%;
  height: 2px; 
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

h3 a:hover::after,
h3 a:focus::after,
.clickable-card:hover h3 a::after{
  transform: scaleX(1);
  transform-origin: bottom left;
}*/

@media only screen and (max-width: 1100px) {
	img.banner-image {
    	height: 311px;
	}
}

@media only screen and (max-width:999px) {
	.container-custom.sidebar-page.d-flex {
		flex-direction: column;
	}
	.container-adjuster {
    	display: none;
	}
	div#navigation-sidebar {
		display: none;
	}
	.container-custom.mobile-sidebar.d-none,
	.container-custom.mobile-sidebar.d-none div#navigation-sidebar {
		display: block !important;
	}
	.container-custom.mobile-sidebar.d-none {
    	max-width: 100% !important;
	}
	.page-content, .title {
    	width: 100%;
	}
	div#navigation-sidebar {
    	width: 100%;
	}
	.entry-content {
    	margin-top: 0;
	}
	button#genesis-mobile-nav-secondary {
    	margin-top: 0;
    	width: 100%;
	}
}

@media only screen and (max-width: 699px) {
	img.banner-image {
    	height: 267px;
	}
	button#genesis-mobile-nav-secondary {
    	margin-bottom: 30px;
	}
}
/**CAROUSEL SLIDER
-----------------------*/
div#myCarousel {
	margin: 30px 0;
	
}

.carousel-inner {
    overflow: hidden;
}

.carousel-item {
    padding: 30px 5px;
}

/*carousel controls*/
.carousel-indicators {
	position: static !important;
	margin: 0 !important;
}

.carousel-indicators button {
    height: 20px !important;
    width: 20px !important;
    margin: 0 4px !important;
    border-radius: 100%;
    opacity: 1 !important;
    transition: backgroundColor .6s ease !important;
    border: none !important;
}

.arrow-left {
    left: 3px !important;
    top: 0 !important;
    /*width: 50px !important;
    height: 50px !important;*/
}

.arrow-right {
    top: 0 !important;
    right: 3px !important;
    bottom: 0% !important;
    /*width: 50px !important;
    height: 50px !important;*/
}



.carousel-control-next-icon {
	background-image: url(/wp-content/uploads/2024/07/SOPA_down-arrow.svg);
	transform: rotate(-90deg);
}

.carousel-control-prev-icon {
	background-image: url(/wp-content/uploads/2024/07/SOPA_down-arrow.svg);
	transform: rotate(90deg);
}


.carousel-control-next-icon, 
.carousel-control-prev-icon {
    box-sizing: content-box;
    background-size: 28px !important;
    background-position: 50%;
	width: 28px !important;
    height: 28px !important;
}

.carousel-control-prev {
	left: -43px;
}

.carousel-control-next {
	right: -43px;
}

.arrow-right,
.arrow-left {
	opacity: 1 !important;
}

button.carousel-control-next,
button.carousel-control-prev {
	background-color: white;
}

.nav-controls {
    margin: auto;
    box-sizing: content-box;
    display: flex;
    	align-items: center;
    	justify-content: center;
	width: fit-content;
	/*padding must be equal to the width of arrows*/
    padding: 0 60px;
}

.carousel-control-next, .carousel-control-prev {
	border-radius: 100%;
	height: fit-content !important;
    margin-top: 0;
	opacity: 1 !important;
    top: 50%;
	transform: translateY(50%);
	width: fit-content !important;
}

.nav-controls {
    position: absolute !important;
    bottom: -40px;
    z-index: 99;
    transform: translateX(-50%);
    left: 50%;
    width: fit-content;
    background-color: #e9eae9;
    padding: 6px 10px;
    border-radius: 50px;
    /* margin-top: 30px !important; */
}

.carousel-indicators [data-bs-target] {
	background-color: var(--dark-blue);
	margin-top: 0;
}

.carousel-indicators .active[data-bs-target] {
	background-color: var(--orange);
}


/* small and extra-small screens */
@media (max-width: 767px) {
 .carousel-one .carousel-inner .carousel-item > div {
    display: none;
  }
  .carousel-one .carousel-inner .carousel-item > div:first-child {
    display: block;
  }
  .carousel-one .carousel-inner .carousel-item > div .card-img-container img {
    max-width: 100%;
  }
}


/* medium and up screens */
@media only screen and (min-width:768px) {
  .carousel-one .carousel-inner .carousel-item.active,
.carousel-one .carousel-inner .carousel-item-next,
.carousel-one .carousel-inner .carousel-item-prev {
    display: flex !important;
  }
	.carousel-one .carousel-inner .carousel-item-next .card-col:nth-of-type(2n) {
		padding-left: 10px !important;
	}
	.carousel-one .carousel-inner .carousel-item-next .card-col:nth-of-type(2n+1) {
		padding-right: 10px !important;
	}
}

@media only screen and (min-width:768px) {
	.carousel-one .card-col {
		background-color: white;
		min-height: 640px;
    	width: 380px !important;
	}
	.carousel-one .card-col:nth-of-type(2n) {
		padding-left: 10px !important;
	}
	.carousel-one .card-col:nth-of-type(2n+1) {
		padding-right: 10px !important;
	}
	.carousel-one .directory-card {
		width: 100%;
		min-height: 100%;
	}
	.carousel-one .carousel-inner .carousel-item-end.active,
.carousel-one .carousel-inner .carousel-item-next {
    transform: translateX(380px) !important; /*must be equal to the width of the column with card*/
  }
  .carousel-one .carousel-inner .carousel-item-start.active,
.carousel-one .carousel-inner .carousel-item-prev {
    transform: translateX(-380px) !important;
  }

 .carousel-one .carousel-inner .carousel-item-end,
.carousel-one .carousel-inner .carousel-item-start {
    transform: translateX(0px) !important;
  }
}

@media only screen and (max-width: 640px) {
	
	.carousel-control-prev {
		left: 24px;
	}

	.carousel-control-next {
		right: 24px;
	}
}




/** INNER PAGES: ACCORDION
----------------------------------------------*/
div#accordionSOPA {
	margin: 20px 0;
}

button.accordion-button {
    padding: 12px 20px !important;
}

.accordion-item {
	border: none;
	margin-bottom: 10px;
}

.accordion-item h2,
.accordion-item button {
	background-color: var(--grey-yellow) !important;
	color: var(--font-color) !important;
	margin-bottom: 0;
	padding-bottom: 0;
}

.accordion-item.Purpletab h2,
.accordion-item.Purpletab  button {
	background-color: var(--purple) !important;
}

.accordion-item.Light.Purpletab  h2,
.accordion-item.Light.Purpletab  button {
	background-color: var(--light-purple) !important;
}


.accordion-item h2 {
	padding:  0 !important;
}



.accordion-item h2 button {
	font-size: 23px;
	font-weight: 500;
	letter-spacing: normal;
	margin-top: 0;
}

.accordion-item a.red.button.red-button {
    font-size: 20px;
    margin: 20px 0;
	padding: 6px 20px;
}

.accordion-body {
    padding: 20px;
}

.accordion-button::after {
    background-size: 20px 20px !important;
	background-image: url(/wp-content/uploads/2024/07/SOPA_down-arrow.svg) !important;
    height: 20px !important;
    width: 20px !important;
}

.accordion-button:focus,
.accordion-button:hover {
	box-shadow: 0 0 0 0.25rem rgba(0, 0, 0) !important;
}

/** INNER PAGES: MENU SIDEBAR (ON THE LEFT)
----------------------------------------------*/

button#genesis-mobile-nav-secondary {
	display: none;
}

	nav[aria-label = "Secondary"] ul {
    display: flex;
    	flex-direction: column;
	padding: 0 !important;
	margin: 0 !important;
}

nav[aria-label = "Secondary"] > div ul:not(.sub-menu) {
			gap: 21px;
	}

nav[aria-label = "Secondary"] div ul li {
		list-style-type: none !important;
	}
nav[aria-label = "Secondary"] div ul li a {
		border-bottom: 1px solid #d5d5d5;
		display: block;
		height: 100%;
		padding: 0px 0px 7px 21px;
		list-style-type: none !important;
		width: 100%;
	}

	nav[aria-label = "Secondary"] div ul li a {
		color: black;
		font-weight: 600;
		text-decoration: none;
	}

	nav[aria-label="Secondary"] .current-menu-item > a {
		border-bottom: 4px solid var(--dark-orange) !important;
		border-left: 10px solid var(--dark-orange) !important;
		padding-left: 11px !important;
	}

	nav[aria-label="Secondary"] .current-menu-item > a {
		color: var(--dark-orange) !important;
	}



/*Usage: styles for menu items that have children*/
nav[aria-label="Secondary"] .menu-item-has-children {
	display: flex;
		flex-wrap: wrap;
}


nav[aria-label="Secondary"] li.menu-item-has-children > a {
    width: 80%;
}


nav[aria-label="Secondary"] button.sub-menu-toggle.ionicons-before {
	background-color: #ffffff00;
	border-bottom: 1px solid #d5d5d5; /*border msut match the border of a element*/
	display: flex;
		justify-content: center;
		align-items: center;
    padding: 0 !important;
    transition: all 0.3s;
    width: 20%;
}

nav[aria-label="Secondary"] .current-menu-item button.sub-menu-toggle.ionicons-before {
	border-bottom: 4px solid var(--dark-orange) !important;
}

nav[aria-label="Secondary"] .current-menu-item button.sub-menu-toggle.ionicons-before::before {
	color: var(--dark-orange);
}

nav[aria-label="Secondary"] li .sub-menu {
    width: 100%;
}


button.sub-menu-toggle.ionicons-before::before {
	color: black;
	font-size: 18px;
}

button.sub-menu-toggle.ionicons-before[aria-expanded="true"]::before {
    transform: rotate(180deg);
}

.menu-item-has-children button.sub-menu-toggle {
    display: inline-block;
    padding: 0px 2px;
	margin-top: 0;
	visibility: visible;
}

nav[aria-label="Secondary"] li .sub-menu {
	/*margin-left: 20px !important;*/
    width: 100%;
}

nav[aria-label="Secondary"] li .sub-menu li {
	border: none !important;
}

nav[aria-label="Secondary"] li .sub-menu li a {
	color: #4d4d4d;
    display: flex;
		gap: 15px;
		align-items: center;
	font-weight: 500;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 0;
}

nav[aria-label="Secondary"] li .sub-menu li a::before {
    background-color: var(--light-grey);
    content: '';
    display: block;
    height: 100%;
    padding: 26px 0 !important;
    max-width: 43px;
    min-width: 43px;
}

nav[aria-label="Secondary"] .sub-menu .current-menu-item > a {
	border-left: none !important;
    border-bottom: 1px solid #d5d5d5 !important;
	padding-left: 0 !important;
}

nav[aria-label="Secondary"] .sub-menu .current-menu-item > a::before {
	background-color: var(--dark-orange);
}


@media only screen and (max-width: 999px) {
	nav[aria-label = "Secondary"] {
		background-color: var(--grey);
	}
	nav[aria-label = "Secondary"] div ul li a {
    	padding: 13px 0px 13px 21px;
	}
	nav[aria-label = "Secondary"] > div ul:not(.sub-menu) {
			gap: 0;
	}
	.sub-menu-toggle {
		background-color: #fafafa;
		position: static !important;
	}
}

/** INNER PAGES PAGINATION AT THE BOTTOM
-----------------------------------------*/
nav.pager {
    margin-top: 30px;
}

ul.page-footer-nav.d-flex.justify-content-between.adjacent-entry-pagination {
	margin-bottom: 0;
	margin-left: 0;
	padding-left: 0;
	display: grid !important;
		grid-template-columns: 1fr 1fr;
		justify-content: space-between;
}

ul.page-footer-nav.d-flex.justify-content-between.adjacent-entry-pagination li {
	list-style-type: none;
}

li.next-page.pagination-next {
	grid-column-start: 2;
	justify-self: end;
}

li.previous-page.pagination-previous {
	grid-column-start: 1;
	justify-self: start;
}

li.previous-page.pagination-previous span.pagination-icon {
	transform: rotate(90deg);
}

span.pagination-icon {
	background-repeat: no-repeat;
    background-size: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGlkPSJMYXllcl8xIiBkYXRhLW5hbWU9IkxheWVyIDEiIHZpZXdCb3g9IjAgMCAxOC4yNCA5Ljc1Ij4KICA8ZGVmcz4KICAgIDxzdHlsZT4KICAgICAgLmNscy0xIHsKICAgICAgICBmaWxsOiAjRDMzOTAxOwogICAgICAgIHN0cm9rZS13aWR0aDogMHB4OwogICAgICB9CiAgICA8L3N0eWxlPgogIDwvZGVmcz4KICA8cGF0aCBjbGFzcz0iY2xzLTEiIGQ9Ik05LjM2LDkuNzVMLjQzLDMuMjdDLTAuMDIsMi45NC0uMTMsMi4zMi4xNywxLjg1bC41Ny0uODZjLjMzLS41LDEuMDEtLjYyLDEuNDktLjI2bDYuOTEsNS4xM0wxNS45My4yYy4zNi0uMy44OS0uMjUsMS4xOS4xMWwuOTIsMS4xYy4zLjM2LjI1Ljg5LS4xMSwxLjE5bC04LjU4LDcuMTVaIi8+Cjwvc3ZnPgo=');
	display: inline-block;
	height: 16px;
    transform: rotate(-90deg);
    width: 16px;      
}


span.page-item-group.adjacent-post-link {
    display: flex;
		align-items: center;
		gap: 8px;
}

span.page-item-direction,
span.page-item-target {
	color: var(--dark-orange);
	font-weight: 500;
}

a.boxed {
	text-decoration: none;
}

a.boxed span {
	position: relative;
}

a.boxed span.page-item-direction::after,
a.boxed span.page-item-target::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px; 
  width: 100%;
  height: 2px; 
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

a.boxed:hover span.page-item-direction::after,
a.boxed:focus span.page-item-direction::after,
.clickable-card:hover h3 span.page-item-direction::after,
a.boxed:hover span.page-item-target::after,
a.boxed:focus span.page-item-direction-target::after,
.clickable-card:hover h3 span.page-item-target::after{
  transform: scaleX(1);
  transform-origin: bottom left;
}

@media only screen and (max-width: 699px) {
	ul.page-footer-nav.d-flex.justify-content-between.adjacent-entry-pagination {
		display: flex !important;
			flex-wrap: wrap;
			row-gap: 40px;
	}
	span.page-item-group.adjacent-post-link {
		width: 100%;
	}
}

/***HEADER
===============*/

/**ABOVE HEADER AREA
------------------------*/
.above-header.full-container {
	background-color: var(--light-green);
    padding: 10px 0;
}

.above-header-links {
    display: flex;
		justify-content: center;
    gap: 14px; /* the gap between links as needed */
}

 

.above-header-links a {
	color: black;
	font-size: 18px !important;
	font-weight: 500;
	text-decoration: none;
    position: relative;
}

.above-header-links a:hover,
.above-header-links a:focus {
	outline: 2px solid black;
}

.line {
	background-color: var(--font-color);
	width: 2px;
	height: 27px;
}

/*.above-header-links a:not(:last-child)::after {
    content: '|';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}*/

/**SITE HEADER
----------------------*/
.site-header {
    background-color: #fff;
}


@media only screen and (min-width: 1000px) {
	.title-area {
		width: 20%;
		float: none;
	}

	header.site-header .wrap {
		display: flex;
			justify-content: center;
			align-items: center;
			gap: 5px;
	}
}


header.site-header:before,
header.site-header .wrap:before,
header.site-header .wrap:after,
.site-header:after {
	display: none;
}

/*///Tablets*/
@media only screen and (max-width: 1100px) {
	header.site-header .wrap {
    	max-width: 95%;
	}
}

@media only screen and (max-width: 999px) {
	.above-header.full-container {
    	display: none;
	}
	header.site-header .wrap {
    	display: flex;
			flex-wrap: wrap;
			justify-content:space-between;
		max-width: 100%;
		position: relative;
	}
	.title-area {
    	margin-left: 20px;
	}
	.menu-toggle {
		margin: 0 0 0px 0 !important;
		margin-right: 20px !important;
		padding: 0 !important;
    	width: 20%;
	}
	/*Hamburger*/
	.menu-toggle:before {
    content: '';
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' id='Layer_2' viewBox='0 0 110.45 47.89'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:black;stroke-width:0px;%7D%3C/style%3E%3C/defs%3E%3Cg id='text'%3E%3Crect class='cls-1' x='0' y='0' width='110.45' height='7' rx='3.35' ry='3.35'/%3E%3Crect class='cls-1' x='0' y='20.44' width='110.45' height='7' rx='3.35' ry='3.35'/%3E%3Crect class='cls-1' x='0' y='40.89' width='110.45' height='7' rx='3.35' ry='3.35'/%3E%3C/g%3E%3C/svg%3E");
		background-repeat: no-repeat;
		background-size: 50px;
		width: 50px;
		height: 25px;
	}
	button#genesis-mobile-nav-primary {
    	font-weight: 600;
		margin-right: 20px;
	}
	.menu-toggle:focus, 
	.menu-toggle:hover {
		background: transparent;
		color: var(--dark-orange);
		border-width: 0;
	}
	.menu-toggle:focus:before, 
	.menu-toggle:hover:before {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' id='Layer_2' viewBox='0 0 110.45 47.89'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23D33901;stroke-width:0px;%7D%3C/style%3E%3C/defs%3E%3Cg id='text'%3E%3Crect class='cls-1' x='0' y='0' width='110.45' height='7' rx='3.35' ry='3.35'/%3E%3Crect class='cls-1' x='0' y='20.44' width='110.45' height='7' rx='3.35' ry='3.35'/%3E%3Crect class='cls-1' x='0' y='40.89' width='110.45' height='7' rx='3.35' ry='3.35'/%3E%3C/g%3E%3C/svg%3E");
	}
	nav#genesis-nav-primary {
		background-color: var(--grey);
		position: absolute;
			top: 107px;
			z-index:999;
	}
	ul#menu-header-menu {
		padding-left: 0;
	} 
	.genesis-responsive-menu .genesis-nav-menu .menu-item a {
		font-weight: 600;
		padding: 23px;
		border-bottom: 1px solid white;
	}
	.genesis-responsive-menu .genesis-nav-menu .menu-item:last-of-type a {
		border: none !important;
	}
	li.button-menu.d-none {
		font-size: 19px;
		display: block !important;
		margin-top: 0 !important;
		margin-bottom: 20px;
		padding: inherit !important;
		border-radius: 40px;
		width: fit-content;
		padding: 14px 24px !important;
		color: white !important;
		border-bottom: none !important;
		margin-left: 20px;
	}
	li.button-menu.d-none.light-purple {
		background-color: var(--light-purple);
	}
	li.button-menu.d-none.purple {
		background-color: var(--purple);
	}
	li.button-menu.d-none.mt {
		margin-top: 20px !important;
	}
	li.button-menu.d-none a {
		border-bottom: none !important;
		padding: 0 !important;
	}
}

@media only screen and (max-width: 699px) {
	.site-header {
		padding-bottom: 0 !important;
	}
	header.site-header .wrap {
		flex-direction: column;
	}
	.header-image .title-area, .header-image .site-title > a {
		margin: 0 !important;
    	width: 100% !important;
	}
	button#genesis-mobile-nav-primary {
		padding: 50px 0 !important;
		width: fit-content;
		margin: 0 auto;
		margin: 0 auto!important;
	}
	nav#genesis-nav-primary {
		top: 207px;
		width: 100%;
	}
}

/**LOGO
--------------*/
.header-image .site-title > a {
    background-size: contain !important;
	background-position: center;
    float: none;
	display: block;
}

.header-image .site-title > a,
.header-image .title-area {
	width: 230px;
}

.header-image .title-area,
.header-image .site-title > a {
	height: 100%;
	min-height: 100px;
}

.site-header {
    background-color: #fff;
    padding: 40px 0;
}

.genesis-nav-menu a:hover, .genesis-nav-menu a:focus, .genesis-nav-menu .current-menu-item > a, .genesis-nav-menu .sub-menu .current-menu-item > a:hover, .genesis-nav-menu .sub-menu .current-menu-item > a:focus {
    color: var(--font-color) !important;
}

/**MENU
--------------*/
.nav-primary {
	margin-top: 0;
    width: 65%;
}

.site-header .current-menu-item,
.site-header .current-page-ancestor,

.events-and-news li#menu-item-282,
.members-hub li#menu-item-34,
.celebrating-older-people li#menu-item-839,
.projects-and-partnerships li#menu-item-803,
.about-us li#menu-item-30,
.menu-item:hover,
.menu-item:focus {
	outline: 2px solid black;
	outline-offset: 2px;
}


@media only screen and (min-width: 1000px) {
	ul#menu-header-menu {
		display: grid;
			grid-template-columns: repeat(4, 1fr);
			gap: 9px;
		font-weight: 500;
		font-size: 18px;
	}

	.genesis-nav-menu .menu-item {
		border-radius: 2px;
		display: flex;
			align-items:center;
			justify-content: center;
		min-height: 60px;
		padding: 0 10px;
	}

	.genesis-nav-menu .menu-item a span {
		font-size: 16px !important;
		font-weight: 600;
	}

	.genesis-nav-menu .menu-item a {
		height: 100%;
		display: flex;
			align-items: center;
			justify-content: center;
		width: 100%;
	}

	/*Backgrounds*/
	.dark-yellow {
		background-color: var(--dark-yellow);
	}

	.yellow {
		background-color: var(--yellow);
	}

	.light-yellow {
		background-color: var(--light-yellow);
	}


	.lighter-yellow {
		background-color: var(--grey-yellow);
	}


	.light-purple {
		background-color: var(--light-purple);
	}

	.purple {
		background-color: var(--purple);
	}

	.dark-purple {
		background-color: var(--dark-purple);
		color: white;
	}

	.dark-purple span {
		color: white;
	}
}


/***HOME PAGE
===========================*/

/**GENERAL STYLES FOR FRONT PAGE SECTIONS
-----------------------------*/
.home h2 {
	font-size: 35px;
}

div#front-page-2, 
div#front-page-3 {
	padding: 40px 0;
}

.home h2 {
	font-weight: 700;
}

/**FRONT PAGE 1 
-------------------------*/
div#front-page-1 {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

div#front-page-1 img {
	width: 100%;
}

/*///Tablet screens*/
@media only screen and (max-width: 999px) {
	div#front-page-1 img {
		height: 300px!important;
		object-fit: cover;
	}
}

/**FRONT PAGE 2
--------------------*/
.front-page-2 {
	background-color: #F9D22F;
	padding: 30px 0;
}

.front-page-2 h2 {
	padding-top: 0;
}
.front-page-2 h2,
.front-page-2 h3,
.front-page-2 p {
	color: #472B49;
}

.front-page-2 p {
	font-weight: 500;
}

.front-page-2 h3 {
	margin-bottom: 15px;
}

.home .note {
    background-color: #fdfcdc;
    padding: 18px;
}


/**FRONT PAGE 3
---------------------*/
div#front-page-3 {
    background-color: #fdfcdc;
}

div#front-page-3 h3 {
    padding: 20px 0;
}

.featured-work-container {
	gap: 20px;
}

.featured-work-card {
    border-top-left-radius: 80px 80px;
    overflow: hidden;
    width: 47%;
    display: flex;
    flex-direction: column;
}

.featured-work-image {
    flex: 2;
}

.featured-work-image img {
	height: 100%;
    min-height: 305px;
    object-fit: cover;
}

.featured-work-title {
    flex: 1;
    background-color: var(--dark-blue);
    padding-left: 30px;
    display: flex;
    	align-items: center;
}

.featured-work-title h3 {
	margin-bottom: 0;
}

.featured-work-title h3 a {
	color: white;
	font-size: 25px;
	font-weight: 600;
	text-decoration: none;
}

.featured-work-title h3 a:hover,
.featured-work-title h3 a:focus {
	background-color: transparent !important;
	outline: 2px solid white !important;
}

/*/// Tablet screens*/
@media only screen and (max-width: 1100px) {
	.featured-work-container {
    	gap: 15px;
	}
	.featured-work-card {
		width: 49%;
	}
}

@media only screen and (max-width: 999px) {
	.featured-work-card {
		margin: auto;
		width: 100%;
		max-width: 600px;
	}
	 .featured-work-image img {
		width: 100%;
		height: 330px;
		object-fit: cover;
	}
	div#front-page-3 .container-custom:has(.button) {
		max-width: 600px;
	}
}

@media only screen and (max-width: 699px) {
	.featured-work-card {
		margin: auto;
		width: 100%;
		max-width: 100%;
	}
	 .featured-work-image img {
		height: 270px;
	}
	div#front-page-3 .container-custom:has(.button) {
		max-width: 80%;
		margin-top: 20px;
	}
	.featured-work-container {
    	gap: 45px;
	}
	.featured-work-title {
		padding: 0 30px;
	}
}

/**FRONT PAGE 4
---------------------*/
.text-column {
    display: flex;
		flex-direction: column;
		align-items: flex-end;
		justify-content: space-between;
	padding-bottom: 70px;
	padding-top: 70px;
}

@media only screen and (min-width: 1660px) {
	.text-column {
		padding-bottom: 90px;
	}
}

.image-column img {
    object-fit: cover;
	height: 100%;
    width: 100%;
}

/*Usage: set half of the custom-container widht including margin and gap for alignment*/
.text, .link-container {
    max-width: 430px;
    margin-right: 110px;
}

.link-container {
    width: 100%;
}

.link-container a {
    text-decoration: none;
    font-weight: 500;
    font-size: 23px;
    display: block;
    width: 100%;
}

.front-page-4  .link-container a  {
	color: var(--dark-purple);
}

.front-page-4 .text-column {
    border-left: 55px solid var(--dark-purple);
}

.w-50.image-column.desktop-column.d-none.d-md-block {
	min-height: 500px;
}

/*///Tablet screens*/
@media only screen and (max-width: 1100px) {
	.text, .link-container {
		max-width: 373px;
		margin-right: 18px;
		margin-bottom: 20px;
	}
	.text-column {
		padding-bottom: 40px;
		padding-top: 40px;
	}
}

@media only screen and (max-width: 999px) {
	.join-us-container.d-flex {
    	flex-direction: column;
	}
	.home .w-100.image-column.mobile-column.d-block.d-md-none {
		display: block !important;
	}
	.home .w-50.text-column {
    	width: 100% !important;
	}
	.join-us-container .image-column img {
		height: 300px;
		object-fit: cover;
		width: 100%;
	}
	.text, .link-container {
		max-width: 100%;
		margin-right: auto;
		margin-left: 40px;
		margin-bottom: 20px;
	}
	.w-50.image-column.desktop-column.d-none.d-md-block {
		display: none !important;
	}
}

/*///Mobile screens*/
@media only screen and (max-width: 699px) {
	.front-page-4 .text-column {
    	border-left: 18px solid var(--dark-purple);
	}
	.text, .link-container {
    	margin-left: 30px !important;
	}
	.home h2 {
    	font-weight: 600;
	}
}

/**FRONT PAGE 5
----------------------*/
.front-page-5 h2,
.front-page-4 h2 {
	padding-bottom: 20px;
}


.front-page-5 .text-column {
    border-right: 55px solid var(--orange);
	overflow: hidden;
}

.front-page-5 h2 {
	color: var(--dark-orange);
}

.contact-container .text-column {
	align-items: flex-start;
	justify-content: flex-start;
}

.contact-container .text-column .text,
.contact-link-container {
	margin-left: 110px;
}

.contact-link-container.phone {
    padding: 30px 0;
}

a.contact-link {
    color: black;
	display: block;
    font-weight: 600;
    font-size: 28px;
    text-decoration: none;
    margin-top: 10px;
}

/*///Tablet screens*/
@media only screen and (max-width: 1100px) {
	.contact-container .text-column .text, .contact-link-container {
		margin-left: 47px;
		margin-bottom: 0;
	}
}

@media only screen and (max-width: 999px) {
	.front-page-5 .text-column {
		border-right: none;
		border-left: 55px solid var(--orange);
	}
	.contact-container.d-flex {
    	flex-direction: column;
	}
	.home .w-50.text-column {
		overflow: hidden;
    	width: 100% !important;
	}
	.contact-container .image-column img {
		height: 300px;
		object-fit: cover;
		width: 100%;
	}
	.text, .link-container {
		max-width: 100%;
		margin-right: auto;
		margin-left: 40px;
		margin-bottom: 20px;
	}
	.home .w-50.image-column {
    	width: 100% !important;
	}
}

/*///Mobile screens*/
@media only screen and (max-width: 699px) {
	.front-page-5 .text-column {
    	border-left: 18px solid var(--orange);
	}
	a.contact-link {
    	font-size: 25px;
	}
}

/***FRONT PAGE 6
----------------------*/
.front-page-6 {
	background-color: var(--lighter-green);
	padding-bottom: 60px;
}
.title-box {
    padding: 30px 0;
	padding-bottom: 60px;
    background-color: var(--green);
}

.posts-grid {
    display: flex;
		flex-wrap: wrap;
		row-gap: 20px;
		justify-content: space-between;
	position: relative;
    	top: -40px;
}


.news-item:not(.with-image),
.news-item.with-image .post-text {
	background-color: white;
	padding: 25px 30px;
	border-bottom: 10px solid var(--dark-purple);
	width: 49%;
}


.news-item h3 {
	font-size: 23px;
    font-weight: 600;
	margin-bottom: 20px;
	padding: 0;
}

.news-item p,
.news-item a {
	font-weight: 400 !important;
	font-size: 18px;
}


.news-item p {
	margin-bottom: 22px;
}

a.continue-reading {
    color: black;
}

.news-item.with-image {
	display: flex;
    width: 100%;
}

.news-image {
    width: 50%;
}

.news-item.with-image img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.news-item.with-image .post-text {
	width: 50%;
}


.front-page-6 .purple-button:hover,
.front-page-6 .purple-button:focus {
	outline: 2px solid var(--dark-purple);
	outline-offset: 2px;
}

/*///Tablets*/
@media only screen and (max-width: 999px) {
	.news-item:not(.with-image), .news-item.with-image  {
		width: 100%;
		margin: auto;
	}
	.news-item.with-image {
		flex-direction:column;
	}
	.news-image {
    	width: 100%;
	}
	.news-item.with-image .post-text {
		width: 100%;
	}
}

/***SPEAKERS / TEAM MEMBERS
--------------------------------*/
.page-template-page_speakers .divider {
	border-color: var(--yellow);
}

.cards-bio {
    display: flex;
		flex-direction: column;
		gap: 35px;
	margin-top: 30px;
}

.bio-card {
    border-bottom: 7px solid var(--light-purple);
	justify-content: space-between;
	gap: 20px;
}

div.bio-card:has(button[aria-expanded="true"]) {
	border-bottom: 7px solid var(--dark-purple);
}


.bio-card h3 {
	font-weight: 700;
    padding: 0 !important;
    margin-bottom: 0;
}

.bio-card .title-name p {
    font-weight: 300;
}

.text-btn-container {
    width: 80%;
}

.text-btn-container {
    display: flex;
		flex-direction: column;
		justify-content: space-between;
}

img.bio-image {
    height: 120px;
    object-fit: cover;
	width: 120px;
	
}

img.bio-image.logo-bio {
	object-fit: contain;
    padding: 0 12px 12px;
}

.bio-content {
	display: none;
}

.read-more {
    display: flex;
    	justify-content: flex-end;
}

button.bio-button {
	background-color: var(--light-purple);
	color: black;
	font-weight: 400;
    display: flex;
		align-items: center;
		gap: 20px;
		justify-content: space-between;
    font-size: 19px;
    margin-top: 0 !important;
    padding: 2px 13px !important;
}

button.bio-button:hover,
button.bio-button:focus {
	background-color: var(--light-purple);
	color: black !important;
}

button.bio-button img {
	height: 20px;
	object-fit: contain;
	transition: transform 0.3s linear;
	width: 20px;
}

div.bio-card button[aria-expanded="true"] {
	background-color: var(--dark-purple);
	color: white !important;
}

button.bio-button[aria-expanded="true"] img {
	transform: rotate(180deg);
	filter: invert(1);
}


@media only screen and (max-width:699px) {
	 img.bio-image {
    	min-width: 130px;
	}
	.bio-card {
		gap: 0;
	}
	.bio-card:has(.bio-button) {
		gap: 20px;
	}
	.bio-card:has(.bio-button) img.bio-image {
		position: absolute;
	}
	.bio-card {
		flex-wrap: wrap;
		position: relative;
	}
	.bio-card .title-name p {
    	margin-bottom: 0;
    	font-size: 17px;
	}
	.title-name {
		display: none;
	}
	.title-name.d-none.mobile-title {
		display: block !important;
		width: 60% !important;
	}
	.text-btn-container {
		width: 100%;
	}
	.bio-card:has(.bio-button) .photo-container {
		width: 130px;
		height: 64px;
	}
	.bio-card:has(.bio-button) .bio-content {
    	margin-top: 70px;
	}
}

/*** EVENTS & NEWS
====================*/

/**EVENTS
----------------------*/
/*.filters-container {
    align-items: center;
    border-bottom: 2px solid #ededed;
    margin: 0px 0 31px 0;
    padding-bottom: 38px;
}*/
.single-events-list h1 {
	padding: 10px 0 !important;
}

.single-event .events-details {
	margin: 20px 0 30px;
}

.event-link {
    margin-top: 20px;
}

.filters-container h2.filters-title {
	font-size: 27px;
	font-weight: 500;
	flex: 1;
	padding: 0;
	margin: 0;
    width: 25%;
}


.filters-container form {
	flex: 2;
}

.filters-container {
	border-bottom: 2px solid #ededed;
    margin: 30px 0 10px 0;
    padding-bottom: 30px;
	align-items: flex-end;
	row-gap: 20px;
}


.filters-container form#search-filter-form-277 {
	flex: unset;
	width: 100%;
}
.events-page .entry-content {
    padding-top: 20px;
}

.events-page h1.title {
	border-bottom: 3px solid var(--dark-blue);
    color: var(--dark-blue);
    font-size: 35px;
	padding: 0px 0 10px 0 !important;
	width: 100% !important;
}

.events-page div#navigation-sidebar {
    padding-top: 16px;
}

.directories-cards {
    row-gap: 16px;
	margin-top: 50px;
    /* gap: 4px; */
}

.directory-card {
    border: none;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
	display: flex;
		flex-direction: column;
	width: 49%;
}

.directory-card:hover,
.directory-card:focus {
	box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.directory-card .featured-image {
    height: 169px;
	position: relative;
}

/*Video card*/
.video-card .featured-image {
    height: 225px;
	overflow: hidden;
	position: relative;
}


.directory-card .logo-detail {
    gap: 9px;
    position: absolute;
    top: -9px;
    left: 0;
    padding: 9px 17px;
    width: 85%;
    background-color: white;
    clip-path: polygon( 0% 0%,0% 100%,80.908% 100%,80.908% 100%,82.657% 99.392%,84.357% 97.641%,85.99% 94.857%,87.538% 91.149%,88.982% 86.627%,90.305% 81.401%,91.487% 75.58%,92.51% 69.273%,93.357% 62.592%,94.009% 55.645%,100% 0%,0% 0% );
}

img.absolute.detail {
	display: none;
	height: 53px !important;
    position: absolute;
    	z-index: 0;
    	left: 0;
	width: 100% !important;
}

p.box-title  {
	font-weight: 500;
	font-size: 19px;
	color: var(--dark-blue);
	padding: 0;
	margin: 0;
}

p.box-title,
img.logo-detail-img {
	position: relative;
		z-index: 3;
}


.directory-card img.logo-detail-img {
    height: 33px !important;
	position: relative;
	object-fit: contain !important;
    width: 38px !important;
}

.directory-card .featured-image img {
    height: 100%;
	object-fit: cover;
	width: 100%;
}

.card-content-container {
    flex: 1;
	display: flex;
	flex-direction: column;
}


.directory-card .card-content {
	flex: 1;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
	gap: 20px;
    padding: 0 20px 20px;
}

.directory-card h3 {
    font-weight: 600;
	font-size: 23px;
	padding: 0 !important;
	margin: 10px 0;
}


.directory-card p {
	font-size: 18px;
	margin-bottom:0;
}

.directory-card .details {
    background-color: #ededed;
    padding: 10px;
    margin: 15px 0;
}

.directory-card .details strong {
	font-weight: 500;
}

.directory-card .details p {
	margin-bottom: 0;
}


span.date {
	background-color: var(--grey-yellow);
    display: inline-block;
	font-weight: 600;
	font-size: 16px;
    padding: 5px 15px;
    margin-bottom: 8px;
}

.event-link a {
    font-weight: 500;
	margin-bottom: 15px;
}

.events-page .button {
	margin-top: 60px !important;
}

/*///Tablets screens*/
@media only screen and (max-width: 999px) {
	.events-page div#navigation-sidebar {
		padding-top: 0 !important;
	}
	.events-page .entry-content {
    	padding-top: 0px;
		margin-top: 0;
	}
	.directory-card {
		margin: auto;
		width: 62%;
	}
	img.absolute.detail {
		height: 50px !important;
		width: 85% !important;
	}
}

/*///Mobile screens*/
@media only screen and (max-width: 699px) {
	.searchandfilter ul li {
		flex: unset !important;
		width: 100% !important;
	}
	.directory-card {
		margin: auto;
		width: 97%;
	}
	img.absolute.detail {
		height: 47px !important;
		width: 102% !important;
	}
	.filters-container form {
		flex:unset;
	}
}

/** MEMBERS EVENTS
-------------------------*/
 .filters-container {
	flex-wrap: wrap;
}

.page-id-312  .searchandfilter ul {
	gap: 9px;
}

 .searchandfilter ul {
	flex-wrap: wrap;
	 margin-bottom: 0;
}

.filters-container h2.filters-title {
    padding: 0 !important;
}

form#search-filter-form-344 {
   width: 100%;
	flex: unset;
}

.page-id-521 .filters-container form {
    flex: unset;
}

/** SINGLE EVENT PAGE
---------------------------*/
.sopa.single-event nav[aria-label="Secondary"] .sopa-events > a {
	border-bottom: 4px solid var(--dark-orange) !important;
	border-left: 10px solid var(--dark-orange) !important;
	color: var(--dark-orange) !important;
	padding-left: 11px !important;
}


body.single-event:not(.sopa) nav[aria-label="Secondary"] .members-events > a {
	border-bottom: 4px solid var(--dark-orange) !important;
	border-left: 10px solid var(--dark-orange) !important;
	color: var(--dark-orange) !important;
	padding-left: 11px !important;
}

a.directions {
    font-weight: 400;
}

.single-event .entry-content {
    margin-top: 50px;
}

.single-event h1 {
	padding-top: 0;
	margin-top: 0;
}

body.single-event:not(.sopa)  h1 {
    padding-top: 0;
    margin-top: 30px;
}

.event-banner-container {
    height: 300px;
}

img.banner-image-event {
    height: 100%;
	object-fit: cover;
	width: 100%;
}

.single-event .logo-detail {
	gap: 10px;
	margin: 20px 0;
}


.single-event img.logo-detail-img {
    width: 35px;
    height: 35px;
}

.events-details {
    background-color: #EDEDED;
    padding: 22px 26px;
    margin: 40px 0;
	width: fit-content;
}

.events-details p {
	margin-bottom: 5px;
}

.events-details strong {
	font-weight: 500;
}

.events-details a.button.rounded-button.red-button,
.download-btn {
    border-radius: 30px;
	font-size: 19px !important;
	font-weight: 500;
    margin-top: 13px;
    padding: 6px 35px !important;
}

.maps-container {
    margin-top: 60px;
}

.maps-container h2 {
	font-weight: 600;
	margin-bottom: 5px;
	padding-bottom: 0;
}

.maps-container strong {
	font-weight: 600;
}

@media only screen and (max-width: 999px) {
	.events-details,
	.post-details {
    	width: 100% !important;
	}
}

@media only screen and (max-width: 699px) {
	.event-banner-container {
    	height: 160px;
	}
	.events-details a.button.rounded-button.red-button {
		text-align: center;
		width: 100%;
	}
	
}

/***SUBMIT YOUR EVENT
------------------------*/
.acf-field.acf-field-repeater[data-name="collapsible_tabs"],
.acf-field[data-name="sign_up_text"],
{
    display: none;
}

span.select2-dropdown.select2-dropdown--below {
    top: 31px;
}

input.select2-search__field {
    border: none !important;
}

.acf-google-map .title .search {
    border: none !important;
}

.acf-field.acf-field-text.acf-field-669535b6cc33b {
    display: none;
}

/*Hide short and introduction snippet
.acf-field.acf-field-textarea.acf-field-669535b6cc277,
.acf-field.acf-field-textarea.acf-field-669535b6cc28b {
    display: none;
}*/

/*Hide collpasible tabs fields*/
.acf-field.acf-field-repeater.acf-field-669535b6cc3b2,
.acf-field.acf-field-text.acf-field-6695372328cf4,
.acf-field.acf-field-image.acf-field-6695373a28cf5,
.acf-field.acf-field-textarea.acf-field-669535b6cc28b,
.acf-field.acf-field-wysiwyg.acf-field-669535b6cc2c5,
.acf-field.acf-field-taxonomy.acf-field-669535b6cc1cc,
.acf-field.acf-field-textarea.acf-field-669535b6cc277 
{
    display: none;
}

ul.acf-radio-list li, ul.acf-checkbox-list li {
    font-size: 19px;
}

ul.acf-radio-list.acf-bl {
    margin-top: 30px;
}

.acf-field .acf-label label {
    display: block;
    font-weight: 600;
    margin: 0 0 3px;
    padding: 0;
}

.acf-field p.description {
    color: #000000;
}

.select2-search--dropdown {
    border: 1px solid black;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--dark-blue) !important;
    color: white;
}

.acf-field input[type=text], .acf-field input[type=password], .acf-field input[type=date], .acf-field input[type=datetime], .acf-field input[type=datetime-local], .acf-field input[type=email], .acf-field input[type=month], .acf-field input[type=number], .acf-field input[type=search], .acf-field input[type=tel], .acf-field input[type=time], .acf-field input[type=url], .acf-field input[type=week], .acf-field textarea, .acf-field select {
    width: 100%;
    padding: 4px 8px;
    margin: 0;
    box-sizing: border-box;
    font-size: 18px;
    line-height: 1.4;
}

a.acf-button.button {
	background-color: var(--dark-orange);
	border-radius: 15px;
    font-size: 19px;
    padding: 8px 16px;
	margin-top: 0;
}

a.acf-button.button[data-name="add"] {
    background-color: var(--dark-blue);
    border-radius: 32px;
    font-size: 19px;
    padding: 2px 26px;
    margin-top: 0;
}

body:not(.logged-in) .acf-image-uploader .image-wrap {
	float: none !important;
    position: relative;
    margin-bottom: 20px;
}

body:not(.logged-in) .acf-image-uploader {
    display: flex;
		gap: 20px;
		flex-direction: column-reverse;
}

.acf-fields > .acf-field {
	border: 0;
	padding-left: 0;
}


.acf-repeater .acf-row-handle.order + td {
	border: none;
}

td.acf-row-handle.order,
.acf-repeater .acf-row-handle.remove {
    display: none;
}
/*.select2-container.-acf .select2-selection {
    border-color: #ffffff;
}*/

/*Date picker*/
select.ui-datepicker-month,
.acf-ui-datepicker .ui-state-default, 
.acf-ui-datepicker .ui-widget-content .ui-state-default, 
.acf-ui-datepicker .ui-widget-header .ui-state-default{
    padding: 0px;
}

select.ui-datepicker-year {
    padding: 0;
    margin-left: 5px !important;
}

.acf-repeater .acf-row-handle.order + td {
    padding-left: 16px !important;
}


.forminator-design--default .forminator-label {
    font-size: 18px !important;
    font-family: inherit;
    font-weight: 500;
}

.forminator-button.forminator-button-upload {
	font-size: 18px !important;
}

.forminator-design--default .forminator-file-upload > span {
    font-size: 18px !important;
    font-family: inherit;
    font-weight: 500;
}

/** SOPA/Members' NEWS
---------------------------*/
.page-id-316 .filters-container h2.filters-title,
.page-id-318 .filters-container h2.filters-title {
    padding: 0 !important;
}

.page-id-316 .filters-container,
.page-id-318 .filters-container {
    align-items: flex-end;
}

form#search-filter-form-500,
form#search-filter-form-504 {
    width: 70%;
}

form#search-filter-form-504 ul li {
	flex: unset;
    width: 31%;
}



.page-id-316 .directory-card,
.page-id-318 .directory-card {
    display: flex;
    	flex-direction: column;
}

.page-id-316 .card-content-container,
.page-id-318 .card-content-container {
    flex: auto;
}

.card-content {
	display: flex;
		flex-direction: column;
		justify-content: space-between;
}

/** MEMBERS NEWS
--------------------*/
form#search-filter-form-500, form#search-filter-form-504

.page-id-318 .searchandfilter ul li {
	width: 48%;
}

.page-id-318 .filters-container {
    justify-content: space-between;
}

.page-id-318 .filters-container h2.filters-title {
	flex: unset;
}

form#search-filter-form-500, form#search-filter-form-504 {
	flex: unset;
    width: 100%;
} 

/** SINGLE POST ENTRY
---------------------------*/
.inner-content-img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 20px;
}
@media only screen and (min-width:999px) {
	.single-post .entry-content {
    	margin-top: 60px;
	}
}


.download-btn {
	width: fit-content;
}

.single-post footer.entry-footer {
    display: none;
}

.single-post .logo-detail {
	gap: 10px;
	margin: 30px 0 0;
}

/*date and author*/
.post-details {
	display: flex;
		flex-direction: column;
		gap: 10px;
	margin-bottom: 20px;
	background-color: #EDEDED;
    padding: 22px 26px;
    width: fit-content;
}


.post-details .author {
	font-weight: 600;
}

.post-details p {
	margin-bottom: 0;
}

.single-post img.logo-detail-img {
    width: 35px;
    height: 35px;
}

/*sopa news*/
.sopa-news nav[aria-label="Secondary"] .sopa-news > a {
    border-bottom: 4px solid var(--dark-orange) !important;
    border-left: 10px solid var(--dark-orange) !important;
    color: var(--dark-orange) !important;
    padding-left: 11px !important;
}

/*Members news*/
.members-news nav[aria-label="Secondary"] .members-news > a {
    border-bottom: 4px solid var(--dark-orange) !important;
    border-left: 10px solid var(--dark-orange) !important;
    color: var(--dark-orange) !important;
    padding-left: 11px !important;
}

@media only screen and (max-width: 699px) {
	.download-btn {
		width: 100%;
		text-align: center;
	}
	.single-post .entry-content {
    	margin-top: 0px !important;
	}
}

/** NEWSLETTERS
-------------------------_*/
.welcome {
	gap: 30px;
}

.sopa-newsletters-template-default .d-flex.container-custom.sidebar-page.mt-5 {
    display: none !important;
}

.w-col {
	flex: 1;
}

.w-col.text-col {
	flex: 2;
}

.w-col img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.page-id-322 .searchandfilter ul li {
    flex: unset;
}

.page-id-322 .page-content {
	max-width: 96%;
    width: 980px;
    margin: auto;
	padding: 0;
}

.page-id-322 .event-link a {
	font-weight: 500 !important;
}

.page-id-322 .directory-card .featured-image {
    height: 211px;
}

img.hide.banner-image.newsletter-banner {
	display: none;
}

.page-id-322 .site-inner {
    position: relative;
	height: fit-content;
	overflow-y:hidden;
}

.page-id-322 article {
	margin-bottom: 0;
	padding-bottom: 60px !important;
}

.page-id-322 .site-inner::after {
	background-color: #0A6B72;
	background-size: 100%;
	content: '';
	height: 3000vh;
	min-height: 100%;
	position: absolute;
		top: 0;
		left: 0;
	width: 110px;
}

.page-id-322 h2 {
	font-size: 35px;
	margin-top: 40px;
}

.page-id-322 h2:not(:first-of-type) {
	margin-top: 70px;
}

.page-id-322 .directories-cards {
    margin-top: 0;
    row-gap: 24px;
}

.page-id-322 .directories-cards p,
.page-id-322 .with-image p {
	font-weight: 400;
}

.page-id-322 .directory-card {
	border-bottom: 0;
	background-color: #F4F4F4;
}


.page-id-322 .directory-card:nth-child(2n) {
	border-right: 10px solid var(--dark-blue);
}

.page-id-322 .directory-card:nth-child(2n+1) {
	border-left: 10px solid var(--dark-blue);
}

.page-id-322 h3 {
	color: var(--dark-blue);
	font-size: 25px !important;
    font-weight: 600 !important;
}

/*Features*/
.page-id-322 .directory-card.features-item:nth-child(2n) {
	border-right: 10px solid var(--dark-orange);
}

.page-id-322 .directory-card.features-item:nth-child(2n+1) {
	border-left: 10px solid var(--dark-orange);
}

.page-id-322 .directory-card.features-item h3,
.page-id-322 .featured-item.features h3 {
	color:#D33901;
}

/*Featured item*/
.page-id-322 .featured-item.features {
    width: 50%;
    border-left: 10px solid var(--dark-orange);
    padding: 25px 52px 25px 30px;
}

.page-id-322 .with-image .image {
	width: 50%;
}

.page-id-322 .featured-item.features h3 {
	padding-top: 0 !important;
}

.page-id-322 .with-image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.page-id-322 .d-flex.with-image {
    margin-bottom: 33px;
    background-color: #f4f4f4;
}

.clickable-card.with-image:hover,
.clickable-card.with-image:focus {
	transform: none !important;
}

/*Members news*/

.page-id-322 .directories-cards .members-item:nth-child(2n) {
	border-right: 10px solid var(--dark-purple);
}

.page-id-322 .directories-cards .members-item:nth-child(2n+1),
.featured-item.members-featured.features {
	border-left: 10px solid var(--dark-purple);
}

.page-id-322 .directories-cards .members-item h3,
.page-id-322 .featured-item.members-featured h3 {
	color: var(--dark-purple);
}

.page-id-322 .featured-item.members-features.features {
    border-left: 10px solid #00D8D2;
}

/*Finally*/
.page-id-322 .directories-cards .finally:nth-child(2n) {
	border-right: 10px solid #00D8D2;
}

.page-id-322 .directories-cards .finally:nth-child(2n+1),
.featured-item.finally {
	border-left: 10px solid #00D8D2;
}

.page-id-322 .directories-cards .finally h3,
.page-id-322 .featured-item.finally.features h3 {
	color: var(--dark-blue);
}

.page-id-322 .featured-item.finally.features {
    border-left: 10px solid #00D8D2;
}

/** SUBMIT YOUR STORY
--------------------------*/
.acf-field.acf-field-true-false.acf-field-668fe38d747e8,
.acf-flexible-content,
.acf-field.acf-field-relationship.acf-field-6697f901ea149,
.acf-field.acf-field-taxonomy.acf-field-66979bd280c53,
.acf-field.acf-field-flexible-content.acf-field-668fe3ec747ea,
.acf-field.acf-field-image.acf-field-6697f391b8f7f,
.acf-field.acf-field-text.acf-field-6697f381b8f7e,
.acf-field.acf-field-taxonomy.acf-field-66a13f90197bb,
.acf-field.acf-field-wysiwyg.acf-field-66979bb680c52 
{
	display: none;
}


.forminator-field label {
    font-size: 18px !important;
    font-weight: 600 !important;
    margin-bottom: 9px !important;
}
.forminator-field input {
	padding: 11px 7px !important;
}
.forminator-field input,
.forminator-field textarea {
	font-size: 18px !important;
	
}

.forminator-field input:hover,
.forminator-field input:focus,
.forminator-field textarea:hover,
.forminator-field textarea:focus {
	outline: 2px solid black;
	outline-offset: 2px;
}

button.forminator-button.forminator-button-submit {
    background-color: #D33901;
    /* color: black; */
    font-size: 20px !important;
    font-weight: 700 !important;
}

 .forminator-file-upload > span {
    font-size: 18px;
    font-family: inherit;
    font-weight: 500;
}

.forminator-error-message {
	font-size: 18px !important;
}

.forminator-select .selection .select2-selection--single[role="combobox"]:focus, 
.forminator-select.select2-container--open .selection .select2-selection--single[role="combobox"],
.forminator-select2 + .forminator-select.select2-container--open .selection .select2-selection--single[role="combobox"] {
    border-color: #097BAA;
    background-color: white !important;
}

.forminator-select-dropdown-container--open .forminator-dropdown--default {
	background-color: white !important;
}

.forminator-select-dropdown-container--open .forminator-custom-form-1475.forminator-dropdown--default .select2-results .select2-results__options .select2-results__option.select2-results__option--selected, .forminator-select-dropdown-container--open .forminator-custom-form-1475.forminator-dropdown--default .select2-results .select2-results__options .select2-results__option.select2-results__option--selected span:not(.forminator-checkbox-box) {
    background-color: #c3a6e266 !important;
    color: #000000 !important;
}
/**NEWSLETTER SUB PAGE
-------------------------*/
body.newsletter-article nav[aria-label="Secondary"] .newsletters > a {
    border-bottom: 4px solid var(--dark-orange) !important;
    border-left: 10px solid var(--dark-orange) !important;
    color: var(--dark-orange) !important;
    padding-left: 11px !important;
}

.page-id-322 .searchandfilter h4 {
    font-size: 23px;
    font-weight: 600;
    margin-bottom: 20px !important;
}

.parent-pageid-322 .site-inner::after, .page-id-322 .site-inner::after {
	z-index: 89;
}

@media only screen and (max-width:1100px) {
	.parent-pageid-322 .site-inner::after, .page-id-322 .site-inner::after {
    	width: 60px;
	}
	.page-id-322 .entry-content .container-custom {
		width: 100% !important;
		padding-left: 70px;
		padding-right: 10px;
    /* margin-left: 100px; */
	}
	.parent-pageid-322 .entry-content .container-custom {
		width: 81% !important;
		margin-left: 100px;
	}
	.parent-pageid-322 .container-custom.mobile-sidebar.d-none {
		width: 100% !important;
		margin-left: 0;
	}
	.parent-pageid-322 nav[aria-label = "Secondary"] {
		margin-left: 60px;
	}
	
}

@media only screen and (max-width:999px) {
	.page-id-322 .directories-cards {
		flex-direction: column;
	}
	.page-id-322 .border-side {
		width: 67%;
	}
	.welcome {
		gap: 30px;
		flex-direction: column;
	}
	/*news*/
	.page-id-322 .directory-card:nth-child(2n) {
    	border-left: 10px solid var(--dark-blue);
		border-right: none;
	}
	.page-id-322 .directory-card.features-item:nth-child(2n) {
		border-left: 10px solid var(--orange);
		border-right: none;
	}
	.page-id-322 .directories-cards .members-item:nth-child(2n) {
    	border-right: none;
		border-left: 10px solid var(--dark-purple);
	}
	.page-id-322 .d-flex.with-image {
		flex-direction: column !important;
	}
	.page-id-322 .d-flex.with-image .image {
		display: none;
	}
	
	.page-id-322 .d-flex.with-image .image.d-none {
		display: block !important;
		width: 100%;
	}
	.page-id-322 .featured-item.features {
		width: 100%;
	}
	
	.image-col.w-col {
    	display: none;
	}
	.image-col.w-col.d-none {
    	display: block !important;
		width: 100%;
	}
	.page-id-322 .searchandfilter ul li {
		width: 100%;
	}
	
}


@media only screen and (max-width:699px) {
	.parent-pageid-322 .site-inner::after, .page-id-322 .site-inner::after {
    	width: 35px;
	}
	.page-id-322 .entry-content .container-custom, .page-id-20 .entry-content .container-custom {
		width: 100% !important;
		max-width: 100%;
		margin-left: 0;
		padding-left: 45px;
		padding-right: 10px;
	}
	.parent-pageid-322 nav[aria-label = "Secondary"] {
    	margin-left: 35px;
	}
	.page-id-322 .news-item:not(.with-image), 
	.page-id-322 .news-item.with-image .post-text {
		padding: 15px 21px;
	}
	.page-id-322 .featured-item.features {
    	padding: 14px 16px 14px 16px;
	}
	
}

/*** MEMBERS' HUB
===========================*/

/**ALL MEMEBRS HUB PAGES
-----------------------------*/
.page-id-20 .full-container.banner-container,
.parent-pageid-20 .full-container.banner-container {
    border-top: 10px solid var(--yellow);
}

.parent-pageid-20 .site-inner,
.page-id-20 .site-inner {
	position: relative;
	overflow-y: hidden;
}

.parent-pageid-20 article,
.page-id-20 article {
	margin-bottom: 0;
	padding-bottom: 60px !important;
}

.parent-pageid-20 .site-inner::after,
.page-id-20 .site-inner::after {
    background-color: var(--dark-purple);
	content: '';
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    width: 110px;
}

/**MEMEBRS HUB MAIN PAGE
-----------------------------*/
.page-id-20 .entry-content .container-custom, 
.page-id-20 .breadcrumb {
    width: 805px;
}

.page-id-20 .directories-cards {
   gap: 25px;
	justify-content: flex-start !important;
}

.page-id-20 .directories-cards h3,
.page-id-20 .directories-cards h3 a {
	font-size: 25px !important;
    font-weight: 600 !important;
	margin-bottom: 15px;
	text-decoration: none;
}


.page-id-20 .border-side {
	border-bottom: none !important;
	background-color: #F4F4F4;
	min-height: 185px;
	padding: 15px 20px;
	width: 48%;
}

.page-id-20  .directories-cards .border-side:nth-child(6n+1) {
	border-left: 10px solid var(--dark-orange) !important;
}

.page-id-20  .directories-cards .border-side:nth-child(6n+1) h3,
.page-id-20  .directories-cards .border-side:nth-child(6n+2) h3,
.page-id-20  .directories-cards .border-side:nth-child(6n+1) h3 a,
.page-id-20  .directories-cards .border-side:nth-child(6n+2) h3 a{
	color: var(--dark-orange);
}

.page-id-20  .directories-cards .border-side:nth-child(6n+2) {
	border-right: 10px solid var(--orange) !important;
}

.page-id-20  .directories-cards .border-side:nth-child(6n+3) {
	border-left: 10px solid var(--dark-blue) !important;
}

.page-id-20  .directories-cards .border-side:nth-child(6n+3) h3,
.page-id-20  .directories-cards .border-side:nth-child(6n+3) h3 a{
	color: var(--dark-blue);
}

.page-id-20  .directories-cards .border-side:nth-child(6n+4) {
	border-right: 10px solid var(--dark-purple) !important;
}

.page-id-20  .directories-cards .border-side:nth-child(6n+4) h3,
.page-id-20  .directories-cards .border-side:nth-child(6n+4) h3 a{
	color: var(--dark-purple);
}

.page-id-20  .directories-cards .border-side:nth-child(6n+5) {
	border-left: 10px solid var(--bright-blue) !important;
}

.page-id-20  .directories-cards .border-side:nth-child(6n+5) h3,
.page-id-20  .directories-cards .border-side:nth-child(6n+5) h3 a{
	color: var(--dark-blue);
}

.page-id-20  .directories-cards .border-side:nth-child(6n+6) {
	border-right: 10px solid #D10D82 !important;
}

@media only screen and (max-width:1100px) {
	.parent-pageid-20 .site-inner::after, .page-id-20 .site-inner::after {
    width: 60px;
}
	.page-id-20 .entry-content .container-custom {
		width: 81% !important;
		padding-left: 70px;
		padding-right: 10px;
	}
	.page-id-20 .breadcrumb {
		width: 68%;
	}
	.parent-pageid-20 .entry-content .container-custom {
		width: 81% !important;
		margin-left: 100px;
	}
	.parent-pageid-20 .container-custom.mobile-sidebar.d-none {
		width: 100% !important;
		margin-left: 0;
		padding: 0;
		margin-bottom: 0;
	}
	.parent-pageid-20 nav[aria-label = "Secondary"] {
		margin-left: 60px;
	}
	
}

@media only screen and (max-width:999px) {
	.page-id-20 .directories-cards {
		flex-direction: column;
	}
	.page-id-20 .border-side {
		width: 67%;
	}
	.page-id-20  .directories-cards .border-side:nth-child(6n+2) {
		border-left: 10px solid var(--orange) !important;
		border-right: none !important;
	}
	.page-id-20  .directories-cards .border-side:nth-child(6n+4) {
		border-left: 10px solid var(--dark-purple) !important;
		border-right: none !important;
	}
	.page-id-20  .directories-cards .border-side:nth-child(6n+6) {
		border-left: 10px solid #D10D82 !important;
		border-right: none !important;
	}
	.parent-pageid-20 .site-inner::after, .page-id-20 .site-inner::after {
		width: 60px;
	}
	
}

@media only screen and (max-width:699px) {
	.page-id-20 .site-inner {
		overflow-y: hidden;
	}
	.parent-pageid-20 .site-inner::after, 
	.page-id-20 .site-inner::after {
    	width: 35px;
		height: 4000vh;
	}
	.page-id-20 .entry-content .container-custom {
		width: 77% !important;
		margin-left: 76px;
	}
	.parent-pageid-20 .entry-content .container-custom,
	.page-id-20 .entry-content .container-custom {
		max-width: 100%;
		width: 100% !important;
		margin-left: 0;
		padding-left: 55px;
        padding-right: 20px;
	}
	.parent-pageid-20 nav[aria-label = "Secondary"] {
    	margin-left: 35px;
	}
	.page-id-20 .border-side {
		width: 100%;
	}
}

/**SINGLE MEMBERS HUB PAGE: MEMBERS DIRECTORY
-----------------------------*/
.page-id-519 .filters-container h2.filters-title {
    width: 30%;
}

form#search-filter-form-596 {
    width: 70%;
}

.directory-card.clickable-card.logo-card {
	display: flex;
    	align-items: center;
		gap: 20px;
	min-height: 200px;
    padding: 25px;
}

img.logo-org {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo.d-flex.align-items-center {
    height: 120px;
	width: 50%;
}

.logo-card .card-content {
    padding: 0;
}

.logo-card  h3 {
	margin: 0;
}


.logo-card  h3,
.logo-card  h3 a {
	font-weight: 700;
}

.page-id-519 .directory-card .card-content {
	justify-content: center;
}

@media only screen and (max-width:699px) {
	form#search-filter-form-596 {
		width: 100%;
		flex: unset;
	}
}

/**MEMEBRS HUB PAGE: MEMEBERS NEWS
--------------------------------------*/
form#search-filter-form-603 {
    width: 100%;
    flex: unset;
}

form#search-filter-form-603 ul li {
	flex: unset;
	width: 31%;
}
/**CAMPAIGNING
=====================*/

/**SINGLE CURRENT CAMPAIGN PAGE
-----------------------------------*/
.current-campaigns-template-default nav[aria-label="Secondary"] .campaigns > a {
    border-bottom: 4px solid var(--dark-orange) !important;
    border-left: 10px solid var(--dark-orange) !important;
    color: var(--dark-orange) !important;
    padding-left: 11px !important;
}


.current-campaigns-template-default .directories-cards.mt-0 {
    display: flex;
    gap: 20px;
}


/**SINGLE CAMPAIGN UPDATES PAGE
-----------------------------------*/
.sopa-campaign-update-template-default nav[aria-label="Secondary"] .updates > a {
    border-bottom: 4px solid var(--dark-orange) !important;
    border-left: 10px solid var(--dark-orange) !important;
    color: var(--dark-orange) !important;
    padding-left: 11px !important;
}

/**SINGLE WORKING GROUP PAGE
-----------------------------------*/
.sopa-working-groups-template-default nav[aria-label="Secondary"] .groups > a {
    border-bottom: 4px solid var(--dark-orange) !important;
    border-left: 10px solid var(--dark-orange) !important;
    color: var(--dark-orange) !important;
    padding-left: 11px !important;
}

/** YOUR ISSUE, YOUR VOICE
---------------------------------*/
.download-card .card-content {
	gap: 10px;
}

.download-card .download-file {
	margin-top: 0;
}

.download-card svg.bi.bi-file-earmark-text {
    color: inherit;
}

.download-card .download-file a {
    color: black;
	font-size: 19px;
}

/*.directory-card.clickable-card.logo-card:nth-child(2n) {
    border-right: 10px solid var(--dark-blue);
}

.directory-card.clickable-card.logo-card:nth-child(2n+1) {
    border-left: 10px solid var(--dark-blue);
}*/

/*** PROJECTS & PARTNERSHIPS
=================================*/

/**SINGLE PROJECT PAGE
--------------------------*/
.single-sopa-projects nav[aria-label="Secondary"] .projects > a {
    border-bottom: 4px solid var(--dark-orange) !important;
    border-left: 10px solid var(--dark-orange) !important;
    color: var(--dark-orange) !important;
    padding-left: 11px !important;
}


.single-project .logo-detail {
    background-color: #EDEDED;
	margin: 0px 0px 30px;
    padding: 20px 10px;
    width: fit-content;
}

.single-project img.logo-detail-img {
    height: 44px;
	object-fit: contain;
	width: 100%;
}

.single-project .box-title {
	color: black;
	font-weight: 600;
}

/***ABOUT US
===================*/

/** Contact us
---------------------*/
/*hide contact us abov eheader*/
.contact-us  .purple-area.above-footer.d-flex {
    display: none !important;
}

.contact-us .title {
	color: var(--dark-orange);
}

.contact-us .entry-content .container-custom {
    max-width: 100%;
	margin: 0;
    margin-left: auto;
    padding: 0;
	width: 88%;
}

.contact-us .inner-content {
    max-width: 660px;
}

.contact-us div#navigation-sidebar, 
.contact-us .container-adjuster {
    width: 24%;
    max-width: 250px;
}

@media only screen and (min-width:1600px) {
	.contact-us .entry-content .container-custom {
		max-width: 100%;
		width: 83%;
	}
}

@media only screen and (min-width:1600px) {
	.contact-us .entry-content .container-custom {
		max-width: 100%;
		width: 82%;
	}
	.contact-us .page-content, 
	.contact-us .title {
		width: 80%;
	}
}

@media only screen and (min-width: 1920px) {
	.contact-us .page-content, .contact-us .title {
    	width: 100%;
	}
}

p.txt-above {
    margin-bottom: 6px;
}

.contact-col {
    width: fit-content;
}

.page-content .divider {
    border-top: 2px solid var(--dark-orange);
    margin: 40px 0;
}

.page-content a.d-block.contact-link-footer {
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
}

.page-content a.d-block.contact-link-footer:hover,
.page-content a.d-block.contact-link-footer:focus {
	text-decoration: underline;
}

.fluentform h2 {
	padding: 0;
	font-weight: 700;
}

@media only screen and (min-width: 769px) {
	.ff-el-input--content:has(.ff-el-form-check) {
		display: flex;
			gap: 25px;
		margin-top: 20px;
	}
}


.ff-el-input--content:has(.ff-el-form-check) input {
	width: 16px;
	height: 16px;
}

.ff-el-input--label.asterisk-right:has(label[aria-label="How would you like us to contact you (optional)"]) label {
	font-weight: 700;
}

.fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label:after {
    color: #000000;
    content: "*";
    margin-left: 0px; 
}

textarea#ff_1_message {
    	height: 300px;
	}

@media only screen and (max-width: 1444px) {
	.contact-us .breadcrumb {
    	max-width: 74%;
	}
}

@media only screen and (max-width: 1100px) {
	.contact-us .inner-content {
    	max-width: 84%;
	}
	.contact-us .entry-content .container-custom {
    	width: 96%;
	}
}

@media only screen and (max-width: 1100px) {
	.contact-us .breadcrumb {
    	max-width: 86%;
	}
}

@media only screen and (max-width:999px) {
	.contact-us .entry-content .container-custom {
		width: 100%;
		margin: auto;
	}
	.contact-us .inner-content,
	.contact-us .title {
		max-width: 80%;
		margin: auto;
	}
	.contact-us div#navigation-sidebar, .contact-us .container-adjuster {
		width: 100%;
		max-width: 100%;
		margin-bottom: 30px;
	}
	.contact-us .d-flex.justify-content-between {
		flex-direction: column;
		gap: 40px;
	}
}

/***ABOVE FOOTER
=====================*/
.above-footer {
	background-color: var(--green);
	font-weight: 500;
	padding: 30px 0;
}

.purple-area.above-footer {
	background-color: var(--purple);
}

.above-footer a {
	font-weight: 600;
}

.above-footer  .button {
    display: block;
	font-size: 19px;
    margin: 30px auto 0 !important;
	padding: 5px 30px;
    width: fit-content;
}

/*** FOOTER
===================*/
.home .above-footer {
	display: none !important;
}
/*Detail*/
.site-footer::before {
	background-image: url('/wp-content/uploads/2024/07/SOPA_Detail.webp');
    background-size: contain;
    background-repeat: no-repeat;
    content: "";
    display: block;
    height: 100%;
    /* background-position: center; */
    position: absolute;
		top: 0;
		left: -82px;
	width: 100%;
    z-index: -1;
}

@media only screen and (min-width: 1600px) {
	.site-footer::before {
    	left: -151px;
	}
}

@media only screen and (min-width: 1680px) {
	.site-footer::before {
    	left: -169px;
	}
}


@media only screen and (min-width: 1920px) {
	.site-footer::before {
    	left: -39px;
	}
}

@media only screen and (max-width: 1440px) {
	.site-footer::before {
    	left: -244px;
	}
}


@media only screen and (max-width: 1280px) {
	.site-footer::before {
		/*right: -261px;
		left: unset;
		transform: scaleX(-1);*/
		display: none;
		
	}
}

/* Ensure .site-footer has relative positioning if not already set */
.site-footer {
    position: relative;
}

footer h2 {
    font-size: 25px !important;
}

footer a {
	font-weight: 400;
}

.footer-columns.row {
    text-align: left;
}

.address p:not(:first-of-type),
a.contact-link-footer:not(:first-of-type),
a.social-media-profile:not(:first-of-type),
.funders-images:not(:first-of-type) {
    margin-top: 12px;
}

.site-footer {
    border-top: none;
    line-height: normal;
	overflow: hidden;
    padding: 25px 0;
    text-align: left;
}

/*Social media*/
a.d-flex.social-media-profile img {
    height: 20px;
	width: 20px;
}

a.social-media-profile {
    gap: 10px;
}

/*Funders*/
.funders-images img {
    max-width: 80%;
}

/*Footer menu*/
nav.footer-nav ul {
	display: flex;
    	gap: 20px;
    padding: 0;
    margin: 0;
	margin-top: 30px;
}

/*COMPLIANZ
----------------*/
.cmplz-cookiebanner .cmplz-title {
    font-size: 25px !important;
}

a.cmplz-link {
    font-size: 18px !important;
}

div#cmplz-message-1-optin {
	font-size: 18px;
	line-height: 1.6;
}

/*** COMPLIANZ
==================+*/
button.cmplz-btn.cmplz-manage-consent.manage-consent-1.cmplz-show {
    bottom: 0 !important;
}

button.cmplz-btn:hover,
button.cmplz-btn:focus {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
}

div#cmplz-message-1-optin {
    font-weight: 500;
}

.cmplz-cookiebanner .cmplz-title {
    font-size: 25px !important;
}

button.cmplz-btn {
    font-size: 20px !important;
    font-weight: 600 !important;
	 border: 2px solid #ffffff !important;
}

button.cmplz-btn.cmplz-manage-consent:focus,
button.cmplz-btn.cmplz-manage-consent:hover {
    box-shadow: inset 0px 0px 1px 4px rgb(89 17 68) !important;
    border: 2px solid #ffffff !important;
}

.cmplz-links.cmplz-documents {
	display: none !important;
}

/*** USERWAY
===================*/
div#userwayAccessibilityIcon {
    position: relative;
}

div#userwayAccessibilityIcon:hover::before,
div#userwayAccessibilityIcon:focus::before {
	border-radius: 100%;
    content: "";
    position: absolute;
    top: 2px;       /* distance from top border */
    left: 2px;      /* distance from left border */
    right: 2px;     /* distance from right border */
    bottom: 2px;    /* distance from bottom border */
    border: 2px solid white; /* or shadow look */
    pointer-events: none;     /* so it doesn't interfere */
}

/*** COMPLIANZ
===================*/
.cmplz-cookiebanner.cmplz-show:focus {
    outline: 3.5px solid black !important;
}

