/*
Theme Name:  twentytwentyone [child]
Textdomain:  gruemp
Template:  twentytwentyone
*/

:root {
  --accent: #65B7DB;
	--accent-dark: #244756;
	--shadow: 0 0 15px 0 rgba(0, 0, 0, 0.125);
  --btn-bg: #65b7db;
  --btn-pad: 8px 25px;
  --btn-bor-rad: 40px;
  --font-title: 16px;
  --font-p: 12px;
}

#masthead {
	background-color: var(--accent);
	position: relative;
	position: sticky;
	top: 0;
	z-index: 999;
}

#masthead .header-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: 5px 32px;
}

#masthead .logo img {
	display: block;
	margin: 0;
	padding: 0;
}

#masthead .main-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	font-family: inherit;
	font-weight: bold;
	font-size: 15px;
}

#masthead .main-menu ul li {
	margin: 0 8px;
}

#masthead .main-menu ul li a {
	color: white;
	padding: 10px;
	transition: color .3s ease-in-out;
}

#masthead .main-menu ul li a:hover {
	color: var(--accent-dark);
}

#masthead .mobile-menu-wrapper {
	display: none;
}

#masthead .mobile-menu-panel {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 99;
	background-color: white;
	box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0);
	height: 100vh;
	min-width: 250px;
	padding: 40px;
	font-size: 18px;
	display: flex;
	flex-direction: column;
	transform: translateX(105%);
	transition: all .3s ease-in-out;
}

#masthead .mobile-menu-panel.open {
	box-shadow: var(--shadow);
	transform: translateX(0);
}

#masthead .mobile-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

#masthead .mobile-menu ul li {
	margin: 8px 0;
}

#masthead .mobile-menu ul li a {
	color: var(--accent);
	padding: 5px 0;
	display: inline-block;
	font-weight: bold;
	transition: color .3s ease-in-out;
}

#masthead .mobile-menu ul li a:hover {
	color: var(--accent-dark);
}

#masthead .open-menu,
#masthead .close-menu {
	cursor: pointer;
	position: relative;
}

.open-menu span,
.close-menu span {
	background-color: white;
	width: 28px;
	height: 3px;
	margin: 3px 0;
	border-radius: 99px;
	display: block;
	transition: all .2s ease-in-out;
}

.close-menu {
	min-height: 30px;
	display: inline-block;
	margin-left: auto;
}
.close-menu span {
	background-color: var(--accent-dark);
	position: absolute;
	top: 50%;
	left: 50%;
}
.close-menu span:nth-child(1) {
	transform: translate(-50%, -50%) rotate(-45deg);
}
.close-menu span:nth-child(2) {
	transform: translate(-50%, -50%) rotate(45deg);
}

.open-menu {
	display: flex;
	flex-direction: column;
}
.open-menu span:nth-child(2) {
	transform: scaleX(.75);
	transform-origin: right;
}
.open-menu:hover span {
	opacity: .65;
}
.open-menu:hover span:nth-child(2) {
	transform: scaleX(1)
}

@media screen and (max-width:1200px) {
	#masthead .logo img {
		width: 150px;
		height: auto;
	}
}

@media screen and (max-width:1080px) {
	#masthead .main-menu {
		display: none;
	}
	#masthead .mobile-menu-wrapper {
		display: block;
	}
}
/* --- */

span.accent {
	color: var(--e-global-color-primary);
}

.grid-gallery .elementor-image-gallery .gallery-item > .gallery-icon {
	background: white;
	height: 0;
	position: relative;
	padding-bottom: 100%;
}

.gallery-item > .gallery-icon img {
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.point {
	display: flex;
}

.point::before {
	content: '';
	box-sizing: border-box;
	border: 4px solid transparent;
	font-size: 40px;
	color: white;
	background-color: #40ACDC;
	border-radius: 99px;
	width: 84px;
	height: 84px;
	text-align: center;
	line-height: 76px;
	font-weight: 700;
	display: inline-block;
	flex: 0 0 auto;
	margin-right: 25px;
	box-shadow: var(--shadow);
}

.circle.point::before {
	background-color: transparent;
	color: #40ACDC;
	border-color: #40ACDC;
}

.point1::before { content:'1';}
.point2::before { content:'2';}
.point3::before { content:'3';}
.point4::before { content:'4';}
.point5::before { content:'5';}
.point6::before { content:'6';}

@media screen and (max-width:768px) {
	.point {
		flex-direction: column;
	}
	.point::before {
		width: 54px;
	  height: 54px;
		font-size: 28px;
		line-height: 48px;
		margin-bottom: 25px;
	}
	.elementor-image-gallery .gallery.gallery-columns-7 .gallery-item {
		max-width: 33.33333% !important;
	}
}


.elementor-widget-text-editor ul {
	list-style: none;
}

.elementor-widget-text-editor ul li::before {
  content: "\2022";
  color: #40ACDC;
  font-weight: 800;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.circle-icon > .elementor-widget-container {
	border: 4px solid #40acdc;
	border-radius: 99px;
	display: inline-block;
	width: 133px;
	height: 133px;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow: var(--shadow);
}

.circle-icon > .elementor-widget-container {
	margin: 0 auto;
}

.circle-icon.file svg {
	transform: translateX(3px);
}



/* form */
.form-boxed {
	background: #fff;
	padding: 40px 60px;
	border: 4px solid var(--accent);
	border-radius: 15px;
}

.wpforms-description {
	font-weight: 800;
  font-size: 22px;
  color: var(--accent-dark);
  margin-bottom: 30px;
}

form a {
  color: #40acdc;
}
form .wpforms-field input,
form .wpforms-field textarea,
.wpforms-field-gdpr-checkbox label::before,
.wpforms-field-checkbox label::before {
  box-shadow: inset 0px 1px 3px 0.5px rgba(0, 0, 0, 0.22618);
  border-radius: 5px;
  border: 1px solid #D8E7EE;
}

form .wpforms-field label {
  font-size: 14px;
  margin-bottom: 10px;
}

.wpforms-field-container {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr;
}

.wpforms-field-textarea,
.wpforms-field-gdpr-checkbox,
.wpforms-field-checkbox {
  grid-column: 1 / 3;
}

.wpforms-field-gdpr-checkbox ul,
.wpforms-field-checkbox ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
}

.wpforms-field-gdpr-checkbox label.wpforms-field-label-inline::before,
.wpforms-field-checkbox label.wpforms-field-label-inline::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  vertical-align: middle;
  margin-right: 10px;
  transition: all .3s ease-in-out;
  cursor: pointer;
}

.wpforms-field-gdpr-checkbox input[type="checkbox"],
.wpforms-field-checkbox input[type="checkbox"] {
  opacity: 0;
  position: absolute;
}

.wpforms-field-gdpr-checkbox input[type="checkbox"]:checked ~ label.wpforms-field-label-inline::before,
.wpforms-field-checkbox input[type="checkbox"]:checked ~ label.wpforms-field-label-inline::before {
  background-color: #40acdc;
  transform: scale(.75);
  transform-origin: center;
  border-radius: 99px;
}

.wpforms-submit-container {
	display: flex;
	justify-content: end;
}

form [type="submit"] {
  border: 0;
}

form [type="submit"]:hover {
  background-color: var(--accent-dark);
}

label.wpforms-error {
  color: red;
}

label.wpforms-label-hide {
  display: none !important;
}

.slider-section {
	overflow-x: hidden;
}
.custom-swiper {
	height: 100vh;
	max-height: 400px;
	overflow: visible !important;
}
.custom-swiper .swiper-slide {
	height: 100%;
	width: 62.5%;
	box-shadow: var(--shadow);
	border-radius: 15px;
}
.custom-swiper .swiper-slide {
	background-color: white;
	background-position: center;
	background-size: cover;
}
.custom-swiper .swiper-pagination {
	position: static;
	display: none;
	transform: none;
	margin-top: 15px;
}
.custom-swiper .swiper-pagination .swiper-pagination-bullet {
	width: 14px;
	height: 14px;
	margin: 0 8px !important;
}

@media screen and (max-width:760px) {
	.custom-swiper .swiper-pagination {
		display: block;
	}
}

.elementor-toggle .elementor-tab-title {
	border-bottom: 0 !important;
}



/* Cookiebot style */
/* for domain alias */
#CybotCookiebotDialog > div:first-child {
  display: none;
}
#CybotCookiebotDialogHeader {
  display: none !important;
}
.CybotCookiebotDialog button {
  padding: var(--btn-pad) !important;
  background: var(--btn-bg) !important;
  border: none !important;
  border-radius: var(--btn-bor-rad) !important;
}
.CybotCookiebotDialogBodyButton {
  border-radius: var(--btn-bor-rad) !important;
  padding: var(--btn-pad) !important;
}
#CybotCookiebotDialogBodyLevelButtonCustomize, #CybotCookiebotDialogBodyLevelButtonLevelOptinAllowallSelection {
	border-color: var(--btn-bg) !important;
}

@media screen and (min-width: 1280px) {
  #CybotCookiebotDialog {
    left: 15% !important;
    top: 97% !important;
  }
  #CybotCookiebotDialog[data-template=overlay], #CybotCookiebotDialog[data-template=popup] {
    left: 55% !important;
    top: 67%!important;
    max-height: 60vh !important;
  }
  #CybotCookiebotDialog.CybotEdge {
    max-width: 25vw !important;
    min-width: 25vw !important;
    max-height: 50vh !important;
    padding: 16px !important;
  }
  #CybotCookiebotDialog.CybotEdge .CybotCookiebotDialogContentWrapper {
    flex-direction: column !important;
  }
  #CybotCookiebotDialog *, #CybotCookiebotDialogBodyUnderlay * {
    font-size: var(--font-p) !important;
  }
  #CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogTabContent {
    margin-left: 0 !important;
  }
  #CybotCookiebotDialogBodyButtonsWrapper {
    flex-direction: column !important;
  }
  #CybotCookiebotDialog[data-template=overlay] #CybotCookiebotDialogBodyButtonsWrapper, #CybotCookiebotDialog[data-template=popup] #CybotCookiebotDialogBodyButtonsWrapper {
    flex-direction: row !important;
  }
  .CybotCookiebotDialogBodyButton {
    height: 100% !important;
  }
  .CybotCookiebotDialogBodyButton:focus {
    outline: none !important;
  }
  #CybotCookiebotDialogBodyContent {
    overflow: auto !important;
    padding: 0 !important;
  }
  .CybotCookiebotScrollContainer {
    overflow: auto !important;
  }
  .CybotCookiebotDialogBodyBottomWrapper {
    margin-top: 0 !important;
  }
  #CybotCookiebotDialogFooter {
    align-self: center !important;
    margin-top: 25px !important;
  }
  #CybotCookiebotDialog[data-template=overlay] #CybotCookiebotDialogFooter, #CybotCookiebotDialog[data-template=popup] #CybotCookiebotDialogFooter {
    margin-top: 15px !important;
  }
  .CybotCookiebotFader.active {
    opacity: 0 !important;
  }
  #CybotCookiebotDialog.CybotEdge .CybotCookiebotDialogBodyBottomWrapper {
    margin-top: 0 !important;
  }
  #CybotCookiebotDialog[data-template=overlay] #CybotCookiebotDialogBodyButtonAccept, #CybotCookiebotDialog[data-template=popup] #CybotCookiebotDialogBodyButtonAccept {
    margin-top: 0 !important;
  }
  #CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a::after {
    width: .463em !important;
    height: .463em !important;
    color: var(--btn-bg) !important;
    margin-left: 0.5em !important;
  }
  #CybotCookiebotDialog h2 {
    font-size: var(--font-title) !important;
    text-align: left !important;
  }
}


/* GESTIONE DEL COLORE */
#CybotCookiebotDialogFooter #CybotCookiebotDialogBodyButtonAccept, #CybotCookiebotDialogFooter#CybotCookiebotDialogBodyLevelButtonAccept, #CybotCookiebotDialogFooter#CybotCookiebotDialogBodyLevelButtonLevelOptinAllowAll {
background-color: #65b7db !important;
border-color: #65b7db !important;
}
#CybotCookiebotDialog.CybotEdge #CybotCookiebotDialogBodyEdgeMoreDetails a {color: #65b7db !important;}
 
#CybotCookiebotDialogFooter .CybotCookiebotDialogBodyButton {border:2px solid #65b7db !important;}
#CybotCookiebotDialogNav .CybotCookiebotDialogNavItemLink.CybotCookiebotDialogActive {border-bottom: 1px solid #65b7db !important; color: #65b7db !important;}
#CybotCookiebotDialogTabContent input:checked+.CybotCookiebotDialogBodyLevelButtonSlider {background-color: #65b7db !important;}
 div#CybotCookiebotDialogPoweredByText {
    display: none;
}