:root {
  --site-bg: #fefefc;
  --site-text-color: #333;
  --link-color: #039;
  --link-color-hover: #039;
}

body, html {
  font-size: 16px;
	font-weight: 400;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

*, *:before, *:after {
  box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, p, ol, ul {
  margin: 0;
  padding: 0;
}

ol, ul {
  padding-left: 3rem;
}

img {
  height: auto;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: var(--link-color);
}

hr {
  border: none;
  border-bottom: 1px solid #000;
}

strong {
  font-weight: 600;
}

html body {
  overflow-x: hidden;
}

body.admin-bar .header {
  position: fixed;
  top: 46px;
  z-index: 1000;
}
@media (min-width: 782px) {
  body.admin-bar .header {
    top: 32px;
  }
}

/* Typography */
body {
  font-size: 16px;
  background-color: var(--site-bg);
  color: var(--site-text-color);
  font-family: "Rubik";
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body.custom-background.dark {
  background-color: var(--site-bg);
}

body.menu-open {
  overflow: hidden;
  /*block scrolling when menu is open*/
}

/* ! Title System */
h1, h2, h3, h4, h5, h6 {
  margin: 2rem 0 1rem;
  line-height: 1.5rem;
}
p, ol, ul {
  margin-bottom: 1rem;
  line-height: 1.25rem;
}

h1, h2 {
  line-height: 110%;
}

p, ul, li {
  font-size: 1rem;
}

@media (max-width: 768px) {
  p, ul, li {
    font-size: 1rem;
  }
}
/* Typography helpers */
.text-0 {
  font-size: 5rem;
  line-height: 100%;
}

.text-1 {
  font-size: 3.4rem;
}

.text-2 {
  font-size: 2.2rem;
}

.text-3 {
  font-size: 1.5rem;
}

.text-4 {
  font-size: 1.3rem;
}

.evi a {
  color: #fff !important;
  background-color: var(--link-color);
  border-radius: 10px;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* Link color */
a {
  color: var(--link-color);
}

a:focus, a:hover {
  color: var(--link-color-hover);
  text-decoration: none;
}

/* Button Link */
.wp-block-button__link {
  text-decoration: none !important;
  color: #fff;
}

.wp-block-button__link:hover, .wp-block-button__link:focus {
  text-decoration: none !important;
  color: #fff;
}

/* ------------------------------------------------------------------------- * */
/* 2 Layout */
/* ------------------------------------------------------------------------- */
.wrapper {
  width: 100%;
  padding: 0 3%;
  position: relative;
}

/* ------------------------------------------------------------------------- * */
/* 2.1 Menu */
/* ------------------------------------------------------------------------- */
.spacer {
  height: 0px;
}

.header__topbar {
  background-color: #333;
  width: 100%;
  padding: 10px 4px;
  color: #fff;
  text-align: center;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  width: auto;
}

@media (max-width: 794px) {
  .spacer {
    height: 0px;
  }
  .header__topbar {
    font-size: 13px;
  }
}
.header {
  background-color: #fefefe;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  padding: 0rem;
}

.header__content {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  padding: 0;
  position: relative;
}

.header__logo, .header__quick {
  display: flex;
  align-items: center;
  color: var(--site-text-color);
  font-weight: bold;
}

.header__quick a {
  color: var(--site-text-color);
}
.header__quick ul {
  list-style-type: none;
  margin-bottom: 0;
}
.header__quick ul li {
  display: inline-block;
}
.header__quick ul li a {
  padding: 10px 5px;
}

.header__logo-img, .header__logo_white-img {
  width: auto;
  height: 16px;
}

.menu, .menu ul {
  position: relative;
}

.menu li {
  display: inline-block;
  position: relative;
}
.menu li a {
  color: var(--colore0);
  opacity: 0.95;
  display: block;
  padding: 4px 16px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
}

.icon-hamburger {
  display: none;
}

/* hide classes (used on the logos) */
@media (min-width: 1190px) {
  .hide-desktop {
    display: none;
  }
}
@media (max-width: 1190px) {
  .hide-mobile {
    display: none;
  }
}
.hide-all {
  display: none;
}

/* Quick search */
.quick-search {
  width: 140px;
  height: 38px;
  background: #fff;
  border-radius: 30px;
  opacity: 0.8;
  margin: 2px 0 0 0;
  transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.quick-search form {
  display: flex;
  justify-content: center;
  align-items: center;
}

.quick-search__icon {
  border: none;
  background: none;
  padding: 0;
  padding: 13px 2px;
}

input.quick-search__input[type=search] {
  padding: 10px 3px;
  font-size: 13px;
  margin: 0;
  border: none;
  background: none;
}

.quick-search:hover {
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 1290px) {
  .quick-search {
    width: 40px;
    position: relative;
    background-color: transparent;
    margin-right: 10px;
  }
  .quick-search form {
    width: 38px;
    height: 38px;
    position: absolute;
    right: 0;
    top: 0;
    background: #fff;
    border-radius: 40px;
    transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  .quick-search:hover form {
    width: 138px;
  }
}
@media (max-width: 1190px) {
  .header__content {
    padding-right: 8px;
    height: 64px;
  }
  .header__quick {
    display: flex;
    justify-content: flex-end;
  }
  .header__quick ul {
    padding-left: 0;
  }
  .header__logo-img, .header__logo_white-img {
    width: auto;
    height: 48px;
  }
  .menu {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: var(--site-bg);
    min-width: 100%;
    height: 100vh;
    margin: 0 -5% 0 -5%;
    overflow: auto;
    transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
    padding-left: 0;
    transform: translateX(-100%);
  }
  .menu li {
    width: 90%;
    margin: 0 5%;
    border-bottom: 1px solid #000;
  }
  .menu-open .menu {
    transform: translateX(0%);
  }
  .menu-open .menu > li:last-child {
    margin-bottom: 150px;
    position: relative;
  }
  .menu-open .icon-hamburger span:nth-child(2) {
    transform: rotate(45deg) translateY(9px);
  }
  .menu-open .icon-hamburger span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
  }
  .icon-hamburger {
    height: 50px;
    width: 50px;
    margin-left: 20px;
    position: absolute;
    top: 10px;
    right: -15px;
    display: block;
    border: none;
    background: transparent;
    z-index: 9999;
  }
  .icon-hamburger strong {
    height: 1px;
    margin-top: -1px;
    overflow: hidden;
    width: 1px;
    display: block;
    margin: 0;
    padding: 0;
  }
  .icon-hamburger span {
    height: 2px;
    width: 30px;
    background: var(--site-text-color);
    position: relative;
    display: block;
    margin-bottom: 11px;
    transition: all 0.2s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
}
@media (max-width: 400px) {
  .header__quick .menu-item-type-custom {
    display: none;
  }
  .header__quick button {
    pointer-events: none;
  }
}
/* Menu transparent */
@media (min-width: 1190px) {
  .page-template-menu-trasparent .spacer {
    display: none;
  }
  .page-template-menu-trasparent .header {
    background: transparent;
    transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  .page-template-menu-trasparent .header__content {
    border: none;
  }
  .page-template-menu-trasparent .header__logo {
    color: #fff;
  }
  .page-template-menu-trasparent .header__logo-img, .page-template-menu-trasparent .header [class^=icon-] {
    filter: brightness(0) invert(1);
  }
  .page-template-menu-trasparent .menu li a {
    color: #fff;
  }
  .page-template-menu-trasparent .header__quick ul li a {
    color: #fff;
  }
  .page-template-menu-trasparent.scroll-down .header {
    background: #222;
  }
}
@media (max-width: 1190px) {
  .page-template-menu-trasparent .spacer {
    height: 44px;
  }
  .page-template-menu-trasparent .header__content {
    border: none;
  }
}
/* Menu black, Blank e Contained Templates */
@media (min-width: 1190px) {
  .page-template-menu-black .spacer {
    display: none;
  }
  .page-template-menu-black .header {
    background: transparent;
    transition: all 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  .page-template-menu-black .header__content {
    border: none;
  }
  .page-template-menu-black.scroll-down .header {
    background-color: var(--site-bg);
  }
}
.page-template-blank .spacer {
  height: 75px;
}

.page-template-contained-no-title .spacer {
  height: 75px;
}

@media (max-width: 1190px) {
  .page-template-menu-black .spacer {
    height: 60px;
  }
  .page-template-blank .spacer {
    height: 60px;
  }
  .page-template-contained-no-title .spacer {
    height: 60px;
  }
  .page-template-menu-black .header__content {
    border: 0;
  }
}
/* Menu Dropdown */
.menu > li > ul {
  background: #eee;
  opacity: 0;
  display: none;
  min-width: 220px;
  position: absolute;
  transition: all 0.5s ease;
  margin-top: 0px;
  left: 0;
  padding: 10px;
  border-radius: 10px;
}

.menu li ul > li > a,
.page-template-menu-trasparent .menu li ul > li > a {
  color: #000;
  border-radius: 7px;
}

.menu li ul > li > a:hover {
  background: #ccc;
  color: #000;
}

/* Mega Menu */
.menu > li.mega-menu > .sub-menu a {
  padding: 12px;
}

.menu > li.mega-menu > .sub-menu .sub-menu {
  padding-left: 0;
  width: 180px;
}

.menu > li.mega-menu > .sub-menu .sub-menu li a {
  padding-top: 7px;
  padding-bottom: 8px;
  font-weight: normal;
  font-size: 14px;
}

/* Open Menus */
@media (min-width: 1190px) {
  .menu > li:hover > ul,
  .menu > li > ul:hover {
    visibility: visible;
    opacity: 1;
    display: block;
  }
  .menu > li.mega-menu:hover > ul,
  .menu > li.mega-menu > ul:hover,
  .menu > li.mega-menu:focus-within > ul {
    visibility: visible;
    opacity: 1;
    display: flex;
    flex-wrap: wrap;
    width: 600px;
  }
  .menu > li.mega-menu > ul > li {
    width: 193px;
  }
}
.menu li.open-dropdown > ul {
  visibility: visible;
  opacity: 1;
  display: block;
}

.menu li.mega-menu.open-dropdown > ul {
  visibility: visible;
  opacity: 1;
  display: block;
}

/* open dropdown with focus tab*/
.menu li:focus-within ul {
  visibility: visible;
  opacity: 1;
  display: block;
}

.menu li ul li {
  clear: both;
  width: 100%;
}

.menu > li.menu-item-has-children > a {
  position: relative;
  padding-right: 30px;
}

.menu > li.menu-item-has-children > a::after {
  content: " ";
  width: 30px;
  height: 30px;
  background-size: 30px;
  position: absolute;
  top: 50%;
  right: 0;
  transform: rotate(90deg);
  margin-top: -15px;
  background-size: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg width="50px" height="50px" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M22.7 34.7l-1.4-1.4 8.3-8.3-8.3-8.3 1.4-1.4 9.7 9.7z"/></svg>');
}

@media (min-width: 1190px) {
  .page-template-menu-trasparent .menu > li.menu-item-has-children > a::after {
    background-image: url('data:image/svg+xml;utf8,<svg width="50px" height="50px" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M22.7 34.7l-1.4-1.4 8.3-8.3-8.3-8.3 1.4-1.4 9.7 9.7z"/></svg>');
    filter: invert(1);
  }
}
@media (max-width: 1190px) {
  .menu li ul {
    position: relative;
    background: none;
  }
  .menu li ul li {
    border: 0;
    width: 95%;
  }
  .menu > li.mega-menu > .sub-menu {
    margin-left: 5vw;
  }
  .menu > li.mega-menu > .sub-menu li {
    margin: 0;
  }
  .menu > li.mega-menu > .sub-menu > li {
    width: 40vw;
    margin-bottom: 20px;
  }
}
/* ------------------------------------------------------------------------- * */
/* 2.2 Home */
/* ------------------------------------------------------------------------- */
.home-title {
  position: absolute;
  top: -9999px;
  color: #fff;
  font-size: 12px;
}

/* ------------------------------------------------------------------------- * */
/* 2.3 Index */
/* ------------------------------------------------------------------------- */
.img-16-9 {
  aspect-ratio: 16/9;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Single, Post & Page */
@media (max-width: 768px) {
  h1 span {
    display: block;
  }
}
/* ------------------------------------------------------------------------- * */
/* 2.4 Sections */
/* ------------------------------------------------------------------------- */
/* ------------------------------------------------------------------------- * */
/* 2.6 Footer */
/* ------------------------------------------------------------------------- */
.footer-container {
  margin-top: 50px;
  padding: 0px 4%;
  width: auto;
  max-width: 1000%;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
}

/* Accessibility */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* Many screen reader and browser combinations announce broken words as they would appear visually. */
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  right: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Above WP toolbar */
/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/* underline for accesibility */
.text-content a,
.comment-content a {
  text-decoration: underline;
}

/* focus elements */
/* hide elements for accessibility */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}