/*
Theme Name: gibeonpartners.com
Theme URI: https://gibeonpartners.com/
Description: HDG is a child theme of Hello Biz, created by HDG
Author: HDG
Author URI: https://hangar.it
Template: hello-biz
Version: 100.0
*/

* {
	text-rendering: optimizeLegibility;
}

a {
	outline: 0 !important;
}


*  {
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}



/* RESET ELEMENTOR */
h1,
h2,
h3,
h4 {
	margin: 0px;
	padding: 0px;
}
p,
b,
a {
	margin: 0px;
	padding: 0px;
}
a:focus {
	outline: 0 !important;
}
input:focus {
	outline: 0 !important;
}
select:focus {
	outline: 0 !important;
}
button:focus {
	outline: 0 !important;
}
span {
	margin: 0px;
	padding: 0px;
}
input,
a,
button,
textarea {
	box-shadow: none !important;
	margin: 0px;
	padding: 0px;
	outline: 0 !important;
}


a,
a:hover {
	color: unset
}

.elementor-nav-menu--dropdown a:focus {
	background-color: transparent !important;
}

.txt-bold div {
	font-weight: 600 !important;
}
.txt-uppers > div .elementor-heading-title {
	text-transform: uppercase !important; 
}

svg .stwhite {
	fill: #fff !important;
}



.header-box {
	background-color: transparent;
	border-bottom: 0px;
	transition: .5s;
}
.scrolled .header-box {
	background-color: #fff;
	border-bottom: 0.5px solid #d2d2d2;
}
.nav-open .header-box {
	background-color: transparent;
	border-bottom: 0px;
}
.g-logo svg {
	fill: #fff !important;
	transition: .5s;
}
.scrolled .g-logo svg {
	fill: #333 !important;
}
.nav-open .g-logo svg {
	fill: #fff !important;
}
.g-main-menu a {
	color: #fff !important;
	transition: .5s;
}
.scrolled .g-main-menu a {
	color: #333 !important;
}
.nav-open .g-main-menu a {
	color: #fff !important;
}
a.elementor-item:after {
	background-color: #A31F47 !important;
}
a.elementor-item-active:after {
	background-color: #A31F47 !important;
}
.nav-open a.elementor-item-active:after {
	background-color: #fff !important;
}
.scrolled a.elementor-item:after {
	background-color: #A31F47 !important;
}
.nav-open a.elementor-item:after {
	background-color: #fff !important;
}
.scrolled a.elementor-item-active:after {
	background-color: #A31F47 !important;
}




/* -- Leadership header -- */

.page-id-67 .g-logo svg {
	fill: #333 !important;
}
.page-id-67 .g-main-menu a {
	color: #333 !important;
}
.page-id-67 a.elementor-item:after {
	background-color: #A31F47 !important;
}
.nav-open .page-id-67 a.elementor-item:after {
	background-color: #fff !important;
}
.nav-open .page-id-67 .g-main-menu a {
	color: #fff !important;
}
.page-id-67 a.elementor-item-active:after {
	background-color: #A31F47 !important;
}
.nav-open .page-id-67 a.elementor-item-active:after {
	background-color: #fff !important;
}
.page-id-67 #gibeon-open-menu div {
	background: #333 !important;
}
.page-id-67 #gibeon-open-menu div:before {
	background: #333 !important;
}
.page-id-67 #gibeon-open-menu div:after {
	background: #333;
}
.nav-open .page-id-67 .g-logo svg {
	fill: #fff !important;
}

/* -- Leadership fine -- */


/* -- Press header -- */

.page-id-73 .g-logo svg {
	fill: #333 !important;
}
.page-id-73 .g-main-menu a {
	color: #333 !important;
}
.page-id-73 a.elementor-item:after {
	background-color: #A31F47 !important;
}
.nav-open .page-id-73 a.elementor-item:after {
	background-color: #fff !important;
}
.nav-open .page-id-73 .g-main-menu a {
	color: #fff !important;
}
.page-id-73 a.elementor-item-active:after {
	background-color: #A31F47 !important;
}
.nav-open .page-id-73 a.elementor-item-active:after {
	background-color: #fff !important;
}
.page-id-73 #gibeon-open-menu div {
	background: #333 !important;
}
.page-id-73 #gibeon-open-menu div:before {
	background: #333 !important;
}
.page-id-73 #gibeon-open-menu div:after {
	background: #333;
}
.nav-open .page-id-73 .g-logo svg {
	fill: #fff !important;
}


/* -- Press dettaglio header -- */

.candidatura-aperta-template-default .g-logo svg {
	fill: #333 !important;
}
.candidatura-aperta-template-default .g-main-menu a {
	color: #333 !important;
}
.candidatura-aperta-template-default a.elementor-item:after {
	background-color: #A31F47 !important;
}
.nav-open .candidatura-aperta-template-default a.elementor-item:after {
	background-color: #fff !important;
}
.nav-open .candidatura-aperta-template-default .g-main-menu a {
	color: #fff !important;
}
.candidatura-aperta-template-default a.elementor-item-active:after {
	background-color: #A31F47 !important;
}
.nav-open .candidatura-aperta-template-default a.elementor-item-active:after {
	background-color: #fff !important;
}
.candidatura-aperta-template-default #gibeon-open-menu div {
	background: #333 !important;
}
.candidatura-aperta-template-default #gibeon-open-menu div:before {
	background: #333 !important;
}
.candidatura-aperta-template-default #gibeon-open-menu div:after {
	background: #333;
}
.nav-open .g-logo svg {
	fill: #fff !important;
}

/* -- Press fine -- */


/* -- Careers header -- */

.page-id-75 .g-logo svg {
	fill: #333 !important;
}
.page-id-75 .g-main-menu a {
	color: #333 !important;
}
.page-id-75 a.elementor-item:after {
	background-color: #A31F47 !important;
}
.nav-open .page-id-75 a.elementor-item:after {
	background-color: #fff !important;
}
.nav-open .page-id-75 .g-main-menu a {
	color: #fff !important;
}
.page-id-75 a.elementor-item-active:after {
	background-color: #A31F47 !important;
}
.nav-open .page-id-75 a.elementor-item-active:after {
	background-color: #fff !important;
}
.page-id-75 #gibeon-open-menu div {
	background: #333 !important;
}
.page-id-75 #gibeon-open-menu div:before {
	background: #333 !important;
}
.page-id-75 #gibeon-open-menu div:after {
	background: #333;
}
.nav-open .page-id-75 .g-logo svg {
	fill: #fff !important;
}

/* -- Careers dettaglio header -- */

.post-template-default .g-logo svg {
	fill: #333 !important;
}
.post-template-default .g-main-menu a {
	color: #333 !important;
}
.post-template-default a.elementor-item:after {
	background-color: #A31F47 !important;
}
.nav-open .post-template-default a.elementor-item:after {
	background-color: #fff !important;
}
.nav-open .post-template-default .g-main-menu a {
	color: #fff !important;
}
.post-template-default a.elementor-item-active:after {
	background-color: #A31F47 !important;
}
.nav-open .post-template-default a.elementor-item-active:after {
	background-color: #fff !important;
}
.post-template-default #gibeon-open-menu div {
	background: #333 !important;
}
.post-template-default #gibeon-open-menu div:before {
	background: #333 !important;
}
.post-template-default #gibeon-open-menu div:after {
	background: #333;
}
.nav-open .g-logo svg {
	fill: #fff !important;
}

/* -- Careers fine -- */


/* -- Contacts header -- */

.page-id-77 .g-logo svg {
	fill: #333 !important;
}
.page-id-77 .g-main-menu a {
	color: #333 !important;
}
.page-id-77 a.elementor-item:after {
	background-color: #A31F47 !important;
}
.nav-open .page-id-77 a.elementor-item:after {
	background-color: #fff!important;
}
.nav-open .page-id-77 .g-main-menu a {
	color: #fff !important;
}
.page-id-77 a.elementor-item-active:after {
	background-color: #A31F47 !important;
}
.nav-open .page-id-77 a.elementor-item-active:after {
	background-color: #A31F47 !important;
}
.page-id-77 #gibeon-open-menu div {
	background: #333 !important;
}
.page-id-77 #gibeon-open-menu div:before {
	background: #333 !important;
}
.page-id-77 #gibeon-open-menu div:after {
	background: #333;
}
.nav-open .page-id-77 .g-logo svg {
	fill: #fff !important;
}

/* -- Contacts fine -- */



#gibeon-open-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 20px;
	cursor: pointer;
}
#gibeon-open-menu div {
	width: 25px;
	height: 1.5px;
	background: #fff !important;
	position: relative;
	transition: .5s;
}
.scrolled #gibeon-open-menu div {
	background: #333 !important;
}
.nav-open #gibeon-open-menu div {
	background: #fff !important;
}
#gibeon-open-menu div:before {
	content: '';
	width: 25px;
	height: 1.5px;
	background: #fff !important;
	position: absolute;
	top: -7px;
	left: 0;
	transition: .5s;
}
.scrolled #gibeon-open-menu div:before  {
	background: #333 !important;
}
.nav-open #gibeon-open-menu div:before  {
	background: #fff !important;
}

#gibeon-open-menu div:after {
	content: '';
	width: 25px;
	height: 1.5px;
	background: #fff;
	position: absolute;
	bottom: -7px;
	left: 0;
	transition: .5s;
}
.scrolled #gibeon-open-menu div:after  {
	background: #333 !important;
}
.nav-open #gibeon-open-menu div:after  {
	background: #fff !important;
}

#gibeon-open-menu.active div {
	transform: rotate(45deg);
}
#gibeon-open-menu.active div:before {
	top: 0;
	transform: rotate(90deg);
}
#gibeon-open-menu.active div:after {
	opacity: 0;
	bottom: 0;
}
#gibeon-menu-mobile {
	display: none; /* Inizialmente nascosto */
	opacity: 0;
	transition: opacity 0.5s ease-in-out; /* Animazione per opacità */
}
#gibeon-menu-mobile.active {
	display: block; /* Viene visualizzato quando attivo */
	opacity: 1;
}



.elementor-button-icon svg {
	width: 1.5em;
}


.g-team-box img {
	opacity: 1;
	filter: saturate( 0% );
	transition: .5s !important;
}
//active
.g-team-box img {
	opacity: 0.5;
	filter: saturate( 100% );
}





/* Alternanza infinita: riga da 2 colonne, riga da 3 colonne, e così via */
.alt-2-3-grid .elementor-grid,
.alt-2-3-grid .elementor-loop-container {
  display: flex;
  flex-wrap: wrap;
}

.alt-2-3-grid .elementor-grid .elementor-grid-item,
.alt-2-3-grid .elementor-loop-container > .e-loop-item {
  box-sizing: border-box;
  flex-basis: calc(50% - 6px);
  max-width: calc(50% - 6px);
}

.alt-2-3-grid .elementor-loop-container > .e-loop-item:nth-child(5n + 2) {
  flex-basis: calc(50% - 6px);
  max-width: calc(50% - 6px);
}
.alt-2-3-grid .elementor-loop-container > .e-loop-item:nth-child(5n + 3) {
  flex-basis: calc(50% - 6px);
  max-width: calc(50% - 6px);
}




button.e-filter-item:before {
	content:'';
	width: 10px;
	height: 10px;
	background-color: #d2d2d2;
	border-radius: 50px;
	margin-right: 10px;
}
button.e-filter-item:hover:before {
	background-color: #333;
}

button.e-filter-item.e-filter-item[aria-pressed=true]:before {
	background-color: #333;
}

button.e-filter-item.e-filter-item[data-filter=__all] {
	order: 999;
}
button.e-filter-item.e-filter-item[data-filter=__all]:before {
	content:'';
	background-image: url("https://hangarlab.com/gibeonpartners.com/site/wp-content/uploads/svg/close.svg");
	background-repeat: no-repeat;
	background-size: contain;
	background-color: transparent !important;
}



.elementor-swiper-button-prev,
.elementor-swiper-button-next {
	top: calc(100% - 30px / 2) !important;
}
.elementor-swiper-button  {
	z-index: 999 !important;
}


.swiper-pagination-bullet {
	width: 45px !important;
	border-radius: 0px;
	z-index: 0 !important;
}





.btn-floating,
.is-hidden,
.is-visible {
	transition: transform 1s;
}

.btn-floating.is-hidden {
	opacity: 0;
}
.btn-floating.is-visible {
	opacity: 1;
}







.g-team-grid .g-team-box {
	cursor: pointer;
}
.g-team-grid .g-team-box .g-team-bio {
	display: none;
}

@media only screen and (min-width: 768px) {
	
	.g-team-grid .g-team-box .g-team-bio {
		width: calc(300% + 20px);
		background: white;
	}
	.g-team-grid .g-team-box:nth-child(3n + 2) .g-team-bio {
		left: calc(-100% - 10px);
	}
	.g-team-grid .g-team-box:nth-child(3n + 3) .g-team-bio {
		left: calc(-200% - 20px);
	}
	
}



@media only screen and (min-width: 1024px) {
	
	.nav-open .g-logo svg {
		fill: #333 !important;
	}
	
	
	.alt-2-3-grid .elementor-grid .elementor-grid-item,
	.alt-2-3-grid .elementor-loop-container > .e-loop-item {
	  box-sizing: border-box;
	  flex-basis: calc(33.333% - 8px);
	  max-width: calc(33.333% - 8px);
	}
	
	.alt-2-3-grid .elementor-loop-container > .e-loop-item:nth-child(5n + 2) {
	  flex-basis: calc(50% - 6px);
	  max-width: calc(50% - 6px);
	}
	.alt-2-3-grid .elementor-loop-container > .e-loop-item:nth-child(5n + 3) {
	  flex-basis: calc(50% - 6px);
	  max-width: calc(50% - 6px);
	}
	
	
	
}

@media only screen and (max-width: 767px) {
	
	
	.alt-2-3-grid .elementor-grid .elementor-grid-item,
	.alt-2-3-grid .elementor-loop-container > .e-loop-item {
	  box-sizing: border-box;
	  flex-basis: calc(100%);
	  max-width: calc(100%);
	}
	
	.alt-2-3-grid .elementor-loop-container > .e-loop-item:nth-child(5n + 2) {
	  flex-basis: calc(100%);
	  max-width: calc(100%);
	}
	.alt-2-3-grid .elementor-loop-container > .e-loop-item:nth-child(5n + 3) {
	  flex-basis: calc(100%);
	  max-width: calc(100%);
	}
	
	
	
	.g-team-grid {
		display: flex !important;
		flex-direction: column;
		gap: 10px;
	}
	
}