/* 
    Style for the frontend of the website, including the header and other elements.
    This file is part of the JEF 4 Website plugin.
*/
:root {
    --primary-website-color: #345382;
    --secondary-website-color: #7FB069;
    --text-website-color: #4B5563;
    --accent-website-color: #95C11F;
    --grey-light-website-color: #F3F4F6;
    --primary-website-font: "Work Sans", sans-serif;
} 
::selection {
  background-color: var(--primary-website-color);
  color: white;
}
body {
    font-family: var(--primary-website-font);
    background-color: white;
    color: var(--text-website-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
 
a:visited, a:link 
{
    color: inherit;
    text-decoration: none;
}
p {
    margin: 0 0 15px 0;
    padding: 0;
}
* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
@media screen and (max-width:1024px) {
  html
  {
    font-size: 14px;
  }
}

/* --LAYOUT CLASSES-- */

#mainWrapper
{
    min-height: 100vh;
    position: relative;
}

.elementor-element.sticky
{
    position: sticky !important;
    top: 58px;
    z-index: 16;
}

/*TYPOGRAPHY CLASSES - title, text, button main website custom*/
h1, h2, h3, h4, h5, h6
{
    margin: 0;
    padding: 0;
    font-family: var(--primary-website-font);
}
.mainTitleWebsite
{
    font-size: 3.75rem;
    line-height: 3.75rem;
    color: var(--primary-website-color);
    font-weight: 300;
    margin-bottom: 15px;
}

.mainTitleWebsite p
{
    margin: 0;
}
.mainTitleWebsite b, .mainTitleWebsite strong, .mainTitleWebsite.bolder
{    
    font-weight: 600;
}
.mainTitleWebsite.bigger
{
    font-size: 4.5rem;
    line-height: 4.5rem;
    letter-spacing: -0.02em;
}
.mainTitleWebsite.extrabigger
{
    font-size: 6rem;
    line-height: 6rem;
}
.mainTitleWebsite.bigger b, .mainTitleWebsite.bigger strong, .mainTitleWebsite.bigger.bolder,
.mainTitleWebsite.extrabigger b, .mainTitleWebsite.extrabigger strong, .mainTitleWebsite.extrabigger.bolder
{    
    font-weight: 700;
}

.mainTitleWebsite.smaller
{
    font-size: 2.25rem;
    line-height: 2.25rem;
}
.mainTitleWebsite.extrasmaller
{
    font-size: 1.2rem;
    line-height: 1.75rem;
}
.mainTitleWebsite.medium
{
    font-size: 3rem;
    line-height: 3rem;
    letter-spacing: -0.02em;
}

.mainTextWebsite
{
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: var(--text-website-color);
    font-weight: 400;
}
.mainTextWebsite strong, .mainTextWebsite b 
{
    font-weight: 600;
}

.mainTextWebsite.medium
{
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: 300;
}

.mainTextWebsite.bigger
{
    font-size: 1.5rem;
    line-height: 2rem;
}

.mainTextWebsite.bigger strong, .mainTextWebsite.bigger b
{
   font-weight: 500;
}
.mainTextWebsite.bolder strong, .mainTextWebsite.bolder b
{
   font-weight: 700 !important;
}

.mainTextWebsite.smaller
{
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.mainTextWebsite p
{
    margin-bottom: 10px;
}

.mainTextWebsite a
{
    color: var(--accent-website-color);
    font-weight: 500;
    text-decoration: underline;
}

.widgetMainButton
{
    display: flex;
}
.elementor-widget-main_button_widget_wpjef .elementor-widget-container
{
    overflow: hidden;
    display: flex;
}
.mainButtonWebsite
{
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background-color: var(--accent-website-color);
    color: white;
    
    border-radius: 8px;
    position: relative;
    border: 2px solid transparent;

    font-size: 14px;
    line-height: 16px;
    font-weight: 500;

    cursor: pointer;
}

.mainButtonWebsite.bigger
{
    font-size: 18px;
    line-height: 21px;
    font-weight: 600;
    padding: 16px 32px;
}


.mainButtonWebsite.has-border
{
    border-color: var(--accent-website-color);
}


.mainButtonWebsite .firstIcon svg
{
   max-height: 23px;
   max-width: 23px;
   width: auto;
   height: auto;
   min-height: 15px;
}
.mainButtonWebsite.bigger .firstIcon svg
{
   max-height: 26px;
   max-width: 26px;
   width: auto;
   height: auto;
   min-height: 19px;
}
.mainButtonWebsite .arrowIcon
{
    position: relative;
    transform: translate(0, 0);
    transition: all 0.3s ease;
}

.mainButtonWebsite:not(.hover_zoom):hover .arrowIcon
{
   transform: translate(6px, 0);
   transition: all 0.3s ease;
}
.mainButtonWebsite:not(.hover_zoom):hover .arrowIcon.todown
{ 
   transform: translate(0, 6px);
   transition: all 0.3s ease;
}

.mainButtonWebsite.bigger .arrowIcon svg
{
   width: auto;
   height: auto;
   min-height: 13px;
}

.mainButtonWebsite.hover_zoom
{
    transform: scale(1.00);
    transition: transform 0.3s ease;
}
.mainButtonWebsite.hover_zoom:hover
{
    transform: scale(1.10);
    transition: transform 0.3s ease;
}



.labelInfoWebsite
{
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 21px;
    background-color: var(--grey-light-website-color);
    color: var(--text-website-color);
    font-size: 14px;
    font-weight: 500;
    border-radius: 90px;
    border: 1px solid transparent;
}

.labelInfoWebsite svg
{
    width: auto;
    height: 16px;
    flex-shrink: 0;
}


.infotag {
	display: inline-block;
	padding: 6px 8px;
	background-color: var(--grey-light-website-color);
	color: var(--text-website-color);
	font-size: 12px;
	font-weight: 500;
	border-radius: 90px;
	border: 1px solid transparent;
	margin: 0 8px 8px 0;
}
.infotag svg
{
    width: auto;
    height: 8px;
    flex-shrink: 0;
}


header {
	width: 100vw;
    background-color: transparent;
	display: flex;
	align-items: center;
	position: fixed;
	z-index: 99;
	top: 0;
	left: 0;
}

.wp-singular.single header
{
    position: sticky !important;
}

body.elementor-editor-active header {
	pointer-events: none !important;
}
header .leftNav .logo
{
    margin: 10px 0;
}

header .leftNav .logo img
{
    width: auto;
    max-height: 60px;
    filter: brightness(0) saturate(100%) invert(1);
}

header.scrolled,
header:hover
{
    background-color: white;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
header.scrolled .leftNav .logo img,
header:hover .leftNav .logo img
{
    filter: unset;
    transition: all 0.3s ease;
}

header.scrolled .leftNav .logo img,
body.website_is_mobile .leftNav .logo img
{
    max-height: 35px;
    transition: all 0.3s ease;
}

header .main-navigation .nav-menu > li > a {
	color: white;
    font-weight: 400;
    padding: 5px 12px;
	border-radius: 90px;
	background-color: transparent;

    display: flex;
	align-items: center;
	gap: 8px;
}
header .main-navigation .nav-menu > li.evidenza > a {
	background-color: rgba(255, 255, 255, 0.2);
    font-weight: 700;
}
header:hover .main-navigation .nav-menu > li.evidenza > a {
    font-weight: 400;
}
header.scrolled:not(:hover) .main-navigation .nav-menu > li.evidenza > a 
{
    color: var(--secondary-website-color);
    background-color: #f2f7f0;
}

header:hover .main-navigation .nav-menu > li > a,
header.scrolled .main-navigation .nav-menu > li > a {
	color: var(--text-website-color);
}
header .main-navigation .nav-menu > li:hover > a {
	color: var(--secondary-website-color);
    font-weight: 700 !important;
    background-color: #f2f7f0;
}
header .main-navigation .nav-menu > li.menu-item-has-children > a svg {
	position: relative;
    top: -2px;
    transform: rotate(0deg);
}
header .main-navigation .nav-menu > li.menu-item-has-children > a svg path {
    fill: white;
    transition: fill 0.3s ease;
}
header:hover .main-navigation .nav-menu > li.menu-item-has-children > a svg path,
header.scrolled .main-navigation .nav-menu > li.menu-item-has-children > a svg path {
    fill: var(--text-website-color);
    transition: fill 0.3s ease;
}

header .main-navigation .nav-menu > li:hover > a svg {
    transform: rotate(180deg);
}
header:hover .main-navigation .nav-menu > li.menu-item-has-children:hover > a svg path,
header.scrolled .main-navigation .nav-menu > li.menu-item-has-children:hover > a svg path {
    fill: var(--secondary-website-color);
}

header button.jef4wishlist-page-link {
	border-radius: 90px;
	padding: 6px 12px;
}
header button.jef4wishlist-page-link svg {
	height: 12px !important;
}
header:hover button.jef4wishlist-page-link,
header.scrolled button.jef4wishlist-page-link
{
    background-color: var(--accent-website-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

header .mobile-menu-toggle {
	width: 38px;
	height: 32px;
	border-radius: 50%;
	border: 0;
	background-color: rgba(255, 255, 255, 0.55);
	padding: 7px;
	display: flex;
	align-items: center;
	flex-direction: column;
	gap: 2px;
	justify-content: space-around;
    cursor: pointer;
}

header .mobile-menu-toggle span {
    display: block;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    width: 100%;
}

header .mobile-menu-toggle span:nth-child(1),
header .mobile-menu-toggle span:nth-child(3)
{
    width: 50%;
}

header .mobile-menu-toggle span:nth-child(1)
{
    transform: translateX(30%);
}
header .mobile-menu-toggle span:nth-child(3)
{
    transform: translateX(5%);
}
 


header.scrolled .mobile-menu-toggle,
header:hover .mobile-menu-toggle
{
    background-color: #f3f4f6;
    transition: all 0.3s ease;
}


header.scrolled .mobile-menu-toggle span,
header:hover .mobile-menu-toggle span 
{
    background-color: var(--text-website-color);
    transition: all 0.3s ease;
}

/*fix elementor video bg*/
.elementor-background-video-container
{
    position: relative;
}

.elementor-background-video-container video {
	position: absolute;
	top: 50%;
	left: 50%;
	/* min-height: 101vh; */
	max-width: none !important;
	max-height: none !important;
	width: 100% !important;
	height: 130% !important;
	transform: translate(-50%, -50%);
	object-fit: cover;
	object-position: center;
	z-index: 0;
}

/*SINGLE */
.coverSingle
{
    width: 100%;
    min-height: 75vh;
    position: relative;
    display: flex;
    align-items: end;

    z-index: 1;
}
.coverSingle .overlayCover
{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.25);
}
.coverSingle .coverWeb
{
    z-index: 1;
}
.coverSingle .overlayCover
{
    z-index: 2;
}
.coverSingle .coverSingleContent
{
    z-index: 3;
    position: relative;
    padding-bottom: 80px;
}

.coverSingleContent .titolo,
.coverSingleContent .subtitle
{
    color: white;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}


.contentSingle .border-text-left
{
    padding-left: 15px;
    border-left: 3px solid var(--accent-website-color);
}


.contentSingle .tappe_principali .singleTappa
{
    display: flex; 
    flex-direction: row;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.contentSingle .tappe_principali .singleTappa .counter
{
    width: 21px;
    height: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--accent-website-color);
    color: white;
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 500;
}
.contentSingle .tappe_principali .singleTappa .titleTappa
{
    width: 100%;
    font-weight: 700;
    color: var(--primary-website-color);
    margin-bottom: 8px;
    background-color: #f9fafb;
    padding: 20px;
    border-radius: 12px;
}

.contentSingle .share-social-links
{
    border-top: 1px solid rgba(149, 193, 31,.25);
    border-bottom: 1px solid rgba(149, 193, 31,.25);
    padding: 15px 0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.contentSingle .share-social-links .ragruppa-icone
{
    display: flex;
    gap: 15px;
}
.contentSingle .share-social-links .ragruppa-icone a span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.05);
	transition: background-color 0.3s ease;
	padding: 10px;
}
.contentSingle .share-social-links .ragruppa-icone svg {
	height: 22px;
	width: 22px;
}
.contentSingle .share-social-links .ragruppa-icone svg path {
	fill: black;
    opacity: 0.35;
    transition: all 0.3s ease;
}

.contentSingle .share-social-links .ragruppa-icone a:hover span {
 
	background-color: rgba(0, 0, 0, 1); 
}
.contentSingle .share-social-links .ragruppa-icone a.facebook:hover span {
 
	background-color: #1877f2; 
}
.contentSingle .share-social-links .ragruppa-icone a.whatsapp:hover span {
 
	background-color: #25D366; 
}
.contentSingle .share-social-links .ragruppa-icone a:hover svg path {
 
	fill: white;
    opacity: 1;
}


/*ASIDE single*/
.widgetBoxAside
{
    padding: 20px;
    background-color: #f9fafb;
    border-radius: 20px;
    position: sticky;
    top: 100px;
}
.widgetBoxAside .title
{
    color: var(--primary-website-color);
    font-weight: 700 !important;
}

.widgetBoxAside .infoLabelAside {
	margin: 25px 0;
	display: block;
	padding-bottom: 5px;
	border-bottom: 1px solid #eee;
}
.widgetBoxAside .infoLabelAside .label {
	width: 100%;
	display: block;
	margin-bottom: 5px;
	text-transform: uppercase;
	font-size: 12px; 
}

.widgetBoxAside .infoLabelAside p {
	margin: 5px 0;
    font-size: 14px;
}

.widgetBoxAside .infoLabelAside a {
    color: var(--secondary-website-color);
}

.widgetBoxAside .eventScheduleSummary
{
    margin-bottom: 15px;
}
.widgetBoxAside .eventScheduleSummary .scheduleRow {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
	font-size: 14px;
}

/* navigation single */
.next_post_link a,
.prev_post_link a
{
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-website-color);
    font-weight: 500;
    justify-content: start;
}
.next_post_link a
{
    justify-content: end;
}

/* FOOTER */
footer
{
    background-color: var(--accent-website-color);
    background: linear-gradient(145deg, var(--accent-website-color) 65%, var(--secondary-website-color) 100%);
    color: white;
    padding: 80px 0 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px; 
}

.footer-social
{
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.footer-social a
{
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;

    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px;
}
.footer-social a:hover
{
    background-color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s ease; 
}
.footer-social svg
{
    height: 18px;
    width: auto;
}
.footer-social svg path
{
    fill: white;
}

.footer-about > p,
.footer-contacts > p,
.singleFooterWidget ul li a,
.footer-bottom
{
    opacity: 0.75;
    color: white;
}

.singleFooterWidget ul,
.singleFooterWidget ul li
{
    list-style: none;
    padding: 0;
    margin: 0;
}
.singleFooterWidget ul li
{
    margin-bottom: 10px;
}

/* language switcher header */
.lang_website 
{
	text-transform: uppercase;
	background-color: transparent;
	border: 0;
	border-radius: 0;
	margin: 0;
}
.lang_website .name
{
    pointer-events: none;
}
.lang_website > li.selected_Lang {
	position: relative;
	width: 100%;
	display: flex;
    gap: 5px;
    align-items: center;
    padding: 8px 12px;
    border-radius: 20px;
    background-color: rgba(243, 244, 246, 0.2);
    cursor: pointer;
}
header.scrolled .lang_website > li.selected_Lang,
header:hover .lang_website > li.selected_Lang
{
    background-color: #f3f4f6;
    color: var(--text-website-color);
    transition: background-color 0.3s ease, color 0.3s ease
}


.lang_website > li.selected_Lang .name {
	font-size: 13px;
	text-transform: uppercase;
	color: #FFF;
	line-height: 15px;
	font-weight: 600;
}
header.scrolled .lang_website > li.selected_Lang .name,
header:hover .lang_website > li.selected_Lang .name
{
    color: var(--text-website-color);
    transition: background-color 0.3s ease, color 0.3s ease
}
.lang_website > li.selected_Lang > span > svg
{
	display: block;
}
header.scrolled .lang_website > li.selected_Lang > span > svg path,
header:hover .lang_website > li.selected_Lang > span > svg path
{
    fill: var(--text-website-color);
    transition: background-color 0.3s ease, color 0.3s ease
}

.sub_Lang 
{
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
    z-index: 10;
	left: unset;
	padding: 5px 0;
	margin: 0;
	background-color: #FFF;
    border: 1px solid rgb(212, 212, 212);
	min-width: 190px;
    border-radius: 8px;
}
.sub_Lang.active
{
	display: block;
}
.sub_Lang li {
	width: 100%;
	display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px; 
    line-height: 15px;
    font-weight: 600;
    cursor: pointer;
}

.sub_Lang li span.name
{
	padding-right: 5px; 
	font-size: 12px;
    line-height: 14px;
    text-transform: capitalize;
}
.sub_Lang li:hover,
.sub_Lang li.current_Lang
{
    background-color: rgba(127, 176, 105, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease
}
.sub_Lang li:hover span.name,
.sub_Lang li.current_Lang span.name
{
    color: var(--secondary-website-color);
    transition: background-color 0.3s ease, color 0.3s ease
}



