/*!
Theme Name: Massimo Magaldi
Theme URI: https://underscores.me/
Author: Automattic
Author URI: https://automattic.com/
Description: Tema di massimomagaldi.com aggiornato per PHP 8.3. Installato a fianco del tema <code>magaldi</code> originale, cosi' da poter tornare indietro riattivando quello precedente.
Version: 1.1.0
Tested up to: 5.4
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: massimomagaldi
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

magaldi is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
/*
! tailwindcss v3.0.6 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  border-width: 0; /* 2 */
  border-style: solid; /* 2 */
  border-color: currentColor; /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
*/

html {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr[title] {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input:-ms-input-placeholder, textarea:-ms-input-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

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

/*
Ensure the default browser behavior of the `hidden` attribute.
*/

[hidden] {
  display: none;
}
*, ::before, ::after {
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity));
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
}
.container {
  width: 100%;
}
@media (min-width: 640px) {

  .container {
    max-width: 640px;
  }
}
@media (min-width: 768px) {

  .container {
    max-width: 768px;
  }
}
@media (min-width: 1024px) {

  .container {
    max-width: 1024px;
  }
}
@media (min-width: 1280px) {

  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1536px) {

  .container {
    max-width: 1536px;
  }
}
.visible {
  visibility: visible;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.right-4 {
  right: 1rem;
}
.-top-12 {
  top: -3rem;
}
.left-0 {
  left: 0px;
}
.right-0 {
  right: 0px;
}
.top-1\/2 {
  top: 50%;
}
.bottom-6 {
  bottom: 1.5rem;
}
.bottom-12 {
  bottom: 3rem;
}
.top-0 {
  top: 0px;
}
.top-\[100\%\] {
  top: 100%;
}
.z-10 {
  z-index: 10;
}
.z-50 {
  z-index: 50;
}
.z-30 {
  z-index: 30;
}
.col-span-4 {
  grid-column: span 4 / span 4;
}
.col-span-3 {
  grid-column: span 3 / span 3;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-12 {
  margin-top: 3rem;
  margin-bottom: 3rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mt-10 {
  margin-top: 2.5rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-16 {
  margin-bottom: 4rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mb-0 {
  margin-bottom: 0px;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.ml-24 {
  margin-left: 6rem;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-auto {
  height: auto;
}
.h-full {
  height: 100%;
}
.min-h-\[96px\] {
  min-height: 96px;
}
.min-h-\[50vh\] {
  min-height: 50vh;
}
.w-12 {
  width: 3rem;
}
.w-4 {
  width: 1rem;
}
.w-full {
  width: 100%;
}
.max-w-\[300px\] {
  max-width: 300px;
}
.max-w-lg {
  max-width: 32rem;
}
.-translate-y-2\/4 {
  --tw-translate-y: -50%;
  transform: var(--tw-transform);
}
.list-none {
  list-style-type: none;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-x-16 {
  -moz-column-gap: 4rem;
       column-gap: 4rem;
}
.gap-x-52 {
  -moz-column-gap: 13rem;
       column-gap: 13rem;
}
.overflow-hidden {
  overflow: hidden;
}
.bg-black {
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
}
.bg-lightbg {
  background-color: var(--color-bg);
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.bg-opacity-90 {
  --tw-bg-opacity: 0.9;
}
.p-8 {
  padding: 2rem;
}
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-12 {
  padding-left: 3rem;
  padding-right: 3rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pt-12 {
  padding-top: 3rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pl-0 {
  padding-left: 0px;
}
.pb-8 {
  padding-bottom: 2rem;
}
.pb-12 {
  padding-bottom: 3rem;
}
.text-center {
  text-align: center;
}
.align-baseline {
  vertical-align: baseline;
}
.font-body {
  font-family: var(--font-primary);
}
.text-\[100px\] {
  font-size: 100px;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-\[36px\] {
  font-size: 36px;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.font-normal {
  font-weight: 400;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.leading-tight {
  line-height: 1.25;
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.opacity-50 {
  opacity: 0.5;
}
.opacity-0 {
  opacity: 0;
}
.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-500 {
  transition-duration: 500ms;
}
/* barlow-300 - latin */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 300;
  src: url("./fonts/barlow-v11-latin-300.eot");
  /* IE9 Compat Modes */
  src: local(""), url("./fonts/barlow-v11-latin-300.eot?#iefix") format("embedded-opentype"), url("./fonts/barlow-v11-latin-300.woff2") format("woff2"), url("./fonts/barlow-v11-latin-300.woff") format("woff"), url("./fonts/barlow-v11-latin-300.ttf") format("truetype"), url("./fonts/barlow-v11-latin-300.svg#Barlow") format("svg");
  /* Legacy iOS */
}
/* barlow-regular - latin */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/barlow-v11-latin-regular.eot");
  /* IE9 Compat Modes */
  src: local(""), url("./fonts/barlow-v11-latin-regular.eot?#iefix") format("embedded-opentype"), url("./fonts/barlow-v11-latin-regular.woff2") format("woff2"), url("./fonts/barlow-v11-latin-regular.woff") format("woff"), url("./fonts/barlow-v11-latin-regular.ttf") format("truetype"), url("./fonts/barlow-v11-latin-regular.svg#Barlow") format("svg");
  /* Legacy iOS */
}
/* barlow-700 - latin */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/barlow-v11-latin-700.eot");
  /* IE9 Compat Modes */
  src: local(""), url("./fonts/barlow-v11-latin-700.eot?#iefix") format("embedded-opentype"), url("./fonts/barlow-v11-latin-700.woff2") format("woff2"), url("./fonts/barlow-v11-latin-700.woff") format("woff"), url("./fonts/barlow-v11-latin-700.ttf") format("truetype"), url("./fonts/barlow-v11-latin-700.svg#Barlow") format("svg");
  /* Legacy iOS */
}
/* barlow-regular - latin */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/barlow-v11-latin-regular.eot");
  /* IE9 Compat Modes */
  src: local(""), url("./fonts/barlow-v11-latin-regular.eot?#iefix") format("embedded-opentype"), url("./fonts/barlow-v11-latin-regular.woff2") format("woff2"), url("./fonts/barlow-v11-latin-regular.woff") format("woff"), url("./fonts/barlow-v11-latin-regular.ttf") format("truetype"), url("./fonts/barlow-v11-latin-regular.svg#Barlow") format("svg");
  /* Legacy iOS */
}
/* barlow-600 - latin */
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  src: url("./fonts/barlow-v11-latin-600.eot");
  /* IE9 Compat Modes */
  src: local(""), url("./fonts/barlow-v11-latin-600.eot?#iefix") format("embedded-opentype"), url("./fonts/barlow-v11-latin-600.woff2") format("woff2"), url("./fonts/barlow-v11-latin-600.woff") format("woff"), url("./fonts/barlow-v11-latin-600.ttf") format("truetype"), url("./fonts/barlow-v11-latin-600.svg#Barlow") format("svg");
  /* Legacy iOS */
}
/*@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    src: url('./fonts/inter-v7-latin-800.eot');
    src: local(''),
        url('./fonts/inter-v7-latin-800.eot?#iefix') format('embedded-opentype'),
        url('./fonts/inter-v7-latin-800.woff2') format('woff2'),
        url('./fonts/inter-v7-latin-800.woff') format('woff'),
        url('./fonts/inter-v7-latin-800.ttf') format('truetype'),
        url('./fonts/inter-v7-latin-800.svg#Inter') format('svg');
}*/
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("./fonts/inter-v8-latin-regular.eot");
  src: local(""), url("./fonts/inter-v8-latin-regular.eot?#iefix") format("embedded-opentype"), url("./fonts/inter-v8-latin-regular.woff2") format("woff2"), url("./fonts/inter-v8-latin-regular.woff") format("woff"), url("./fonts/inter-v8-latin-regular.ttf") format("truetype"), url("./fonts/inter-v8-latin-regular.svg#Inter") format("svg");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  src: url("./fonts/inter-v8-latin-700.eot");
  /* IE9 Compat Modes */
  src: local(""), url("./fonts/inter-v8-latin-700.eot?#iefix") format("embedded-opentype"), url("./fonts/inter-v8-latin-700.woff2") format("woff2"), url("./fonts/inter-v8-latin-700.woff") format("woff"), url("./fonts/inter-v8-latin-700.ttf") format("truetype"), url("./fonts/inter-v8-latin-700.svg#Inter") format("svg");
  /* Legacy iOS */
}
:root {
  --color-primary: #a87c4f;
  --color-body: #555555;
  --color-bg: #EBEBEB;
  --font-primary: "Barlow";
  --font-title: "Inter";
}

/* General
------------------------------------------- */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 2rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

button:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

section {
  overflow-x: hidden;
}

.section-container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 1024px) {

  .section-container {
    width: 100%;
  }

  @media (min-width: 640px) {

    .section-container {
      max-width: 640px;
    }
  }

  @media (min-width: 768px) {

    .section-container {
      max-width: 768px;
    }
  }

  @media (min-width: 1024px) {

    .section-container {
      max-width: 1024px;
    }
  }

  @media (min-width: 1280px) {

    .section-container {
      max-width: 1280px;
    }
  }

  @media (min-width: 1536px) {

    .section-container {
      max-width: 1536px;
    }
  }

  .section-container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Header 
------------------------------------------- */
nav ul {
  list-style-type: none;
  padding-bottom: 3rem;
  padding-left: 0px;
  text-align: center;
  font-size: 1.05rem;
  line-height: 1rem;
}
@media (min-width: 1024px) {

  nav ul {
    display: flex;
  }

  nav ul {
    padding-bottom: 0px;
  }
}
nav li {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
@media (min-width: 1024px) {

  nav li {
    margin-left: 6rem;
  }

  nav li {
    padding-top: 0px;
    padding-bottom: 0px;
  }
}
nav li.current-menu-item {
  font-weight: 600;
}

#menu-toggle {
  position: relative;
  height: 2.5rem;
  width: 2.5rem;
}
#menu-toggle span {
  position: absolute;
  top: 0.5rem;
  left: 0px;
  margin-top: 6px;
  margin-bottom: 6px;
  display: block;
  height: 2px;
  width: 2.5rem;
  background-color: var(--color-primary);
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
#menu-toggle .bar2 {
  top: 1.25rem;
}
#menu-toggle .bar3 {
  top: 2rem;
}
#menu-toggle.active .bar2 {
  display: none;
}
#menu-toggle.active .bar1 {
  transform: rotate(-45deg);
  top: 1rem;
}
#menu-toggle.active .bar3 {
  transform: rotate(45deg);
  top: 1rem;
}

.custom-logo {
  max-width: 230px;
}

@media (min-width: 1024px) {

  .custom-logo {
    max-width: 100%;
  }
}

@media screen and (min-width: 1024px) {
  #site-navigation {
    display: block !important;
  }
}
/* TAG
------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
}

h1, .h1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 55px;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

@media (min-width: 768px) {

  h1, .h1 {
    font-size: 70px;
  }
}

@media (min-width: 1024px) {

  h1, .h1 {
    font-size: 100px;
  }

  h1, .h1 {
    line-height: 110px;
  }
}

@media (min-width: 1536px) {

  h1, .h1 {
    font-size: 140px;
  }

  h1, .h1 {
    line-height: 150px;
  }
}

h2, .h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
}

@media (min-width: 768px) {

  h2, .h2 {
    margin-bottom: 1.75rem;
  }

  h2, .h2 {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
}

@media (min-width: 1280px) {

  h2, .h2 {
    font-size: 3rem;
    line-height: 1;
  }

  h2, .h2 {
    line-height: 1.25;
  }
}

@media (min-width: 1536px) {

  h2, .h2 {
    font-size: 50px;
  }
}

h3, .h3, h4, .h4, h5, .h5 {
  margin-bottom: 0px;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 700;
}

@media (min-width: 1024px) {

  h3, .h3, h4, .h4, h5, .h5 {
    font-size: 1.5rem;
    line-height: 2rem;
  }
}

.simple-page h1 {
  margin-bottom: 2.25rem;
}
.simple-page h2, .simple-page .h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
}
@media (min-width: 768px) {

  .simple-page h2, .simple-page .h2 {
    margin-bottom: 1rem;
  }

  .simple-page h2, .simple-page .h2 {
    font-size: 1.875rem;
    line-height: 2.25rem;
  }
}

p {
  padding-bottom: 1rem;
}

ul {
  list-style-type: disc;
  padding-left: 1.25rem;
}

.line_link {
  position: relative;
  display: inline-block;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.line_link::before {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  display: block;
  height: 0.75rem;
  width: 100%;
  transform-origin: left;
  --tw-scale-x: 1;
  transform: var(--tw-transform);
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
  --tw-bg-opacity: 0.2;
  transition: transform 1s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.line_link:hover::before {
  --tw-scale-x: 0;
  transform: var(--tw-transform);
  --tw-border-opacity: 0.6;
}

/* Homepage
------------------------------------------- */
#maschera::after, #maschera::before {
  content: "";
  position: absolute;
  top: 0px;
  z-index: 20;
  display: block;
  height: 100%;
  width: 2rem;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
#maschera::before {
  right: calc(-2rem + 2px);
}
#maschera::after {
  left: calc(-2rem + 2px);
}
#maschera svg {
  position: relative;
  z-index: 20;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
@media (min-width: 768px) {

  #maschera svg {
    width: 50vw;
  }
}
#maschera svg {
  margin-top: -1px;
  margin-bottom: -1px;
}

.project-home {
  position: relative;
}
.project-home::before {
  content: "";
  pointer-events: none;
  position: absolute;
  bottom: 0px;
  left: 0px;
  display: block;
  height: 50vh;
  width: 100%;
  background-color: var(--color-bg);
}

.cat-proj {
  font-size: 1rem;
  line-height: 1.5rem;
}

@media (min-width: 1024px) {

  .cat-proj {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}
.cat-proj::after {
  content: "/";
  padding-left: 5px;
}
.cat-proj:last-child::after {
  display: none;
}

/* Project Page 
------------------------------------------- */
@media (min-width: 768px) {

  .project-grid div:nth-child(odd) {
    margin-top: 0px;
  }
}
.project-grid div:first-child {
  margin-top: 0px;
}
.project-grid div:first-child a {
  position: relative;
}
.project-grid div:first-child a::before {
  content: "";
  pointer-events: none;
  position: absolute;
  left: -500%;
  top: 0px;
  display: block;
  height: 100%;
  width: 1000%;
  background-color: var(--color-bg);
}

.project-image_link img {
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / var(--tw-bg-opacity));
  transform: translate3d(0, 0, 0) scale(1);
  transition: transform 1s cubic-bezier(0.365, 0.305, 0, 1);
}
.project-image_link:hover img {
  transform: translate3d(0, 0, 0) scale(1.1);
}

.arrowprev, .arrownext {
  display: inline-block;
  border-style: solid;
  border-color: var(--color-body);
  padding: 0.5rem;
  vertical-align: middle;
}

@media (min-width: 1024px) {

  .arrowprev, .arrownext {
    padding: 1rem;
  }
}

.arrowprev, .arrownext {
  border-width: 0 2px 2px 0;
}

.arrownext {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.arrowprev {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.dettaglio-progetto::after {
  content: "";
  position: relative;
  z-index: 20;
  height: 3rem;
  width: 100%;
  background-color: var(--color-bg);
}

@media (min-width: 768px) {

  .dettaglio-progetto::after {
    display: block;
  }
}

@media (min-width: 1024px) {

  .dettaglio-progetto::after {
    height: 5rem;
  }
}

.term-tutti {
  display: none;
}

/* Graphic element
------------------------------------------- */
.more-box > div {
  transition: max-height 1s;
  max-height: 12rem;
  overflow: hidden;
}
.more-box > div::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0px;
  height: 8rem;
  width: 100%;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 23%, rgba(255, 255, 255, 0.86) 50%, rgba(255, 255, 255, 0.89) 51%, white 82%);
}
.more-box .more-link {
  position: relative;
  z-index: 10;
  display: block;
  height: 3rem;
  width: 3rem;
  cursor: pointer;
}
.more-box .more-link::after, .more-box .more-link::before {
  content: "";
  position: absolute;
  display: block;
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
  transition: transform 1s cubic-bezier(0.365, 0.305, 0, 1);
}
.more-box .more-link::after {
  top: 1.5rem;
  height: 2px;
  width: 3rem;
}
.more-box .more-link::before {
  left: 1.5rem;
  height: 3rem;
  width: 2px;
}
.more-box.show > div {
  max-height: 100rem;
  transition: max-height 2s;
}
.more-box.show > div::after {
  bottom: -8rem;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 500ms;
}
.more-box.show .more-link::before {
  transform: rotate(90deg);
  transform-origin: left;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

@media (min-width: 1024px) {

  .nav-links {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

.news-box:hover img {
  opacity: 1;
}
.news-box .news-box_img img {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.cursor {
  position: absolute;
  z-index: 50;
  height: 3rem;
  width: 3rem;
  border-radius: 9999px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--color-primary);
  transition-duration: 200ms;
  transition-timing-function: ease-out;
  -webkit-animation: cursorAnim 0.5s infinite alternate;
          animation: cursorAnim 0.5s infinite alternate;
  pointer-events: none;
}

.expand {
  border-color: var(--color-primary);
}

@-webkit-keyframes cursorAnim {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0.9);
  }
}

@keyframes cursorAnim {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0.9);
  }
}
/* Slider
------------------------------------------- */
.slick-prev, .slick-next {
  position: absolute;
  top: 50%;
  z-index: 10;
  height: 4rem;
  width: 5rem;
  cursor: pointer;
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity));
  outline: 2px solid transparent;
  outline-offset: 2px;
  font-size: 0;
  transform: translate(0, -50%);
}
.slick-prev::after, .slick-next::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 50%;
  display: block;
  height: 1px;
  width: 2rem;
  --tw-bg-opacity: 1;
  background-color: rgb(0 0 0 / var(--tw-bg-opacity));
}
.slick-prev::before, .slick-next::before {
  content: "";
  position: absolute;
  display: block;
  border-top-width: 0px;
  border-right-width: 1px;
  border-bottom-width: 1px;
  border-left-width: 0px;
  border-style: solid;
  --tw-border-opacity: 1;
  border-color: rgb(0 0 0 / var(--tw-border-opacity));
  padding: 0.5rem;
  top: 24px;
}

.slick-prev {
  left: 0px;
}
.slick-prev::before {
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
  left: 1.5rem;
}

.slick-next {
  right: 0px;
}
.slick-next::before {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  right: 1.5rem;
}

/* Filter
------------------------------------------- */
.theme-twentyfourteen .widget-area input.wpc-label-input:checked + label span.wpc-filter-label-wrapper, .widget-area input.wpc-label-input:checked + label span.wpc-filter-label-wrapper, .wpc-filters-widget-main-wrapper input.wpc-label-input:checked + label span.wpc-filter-label-wrapper {
  background-color: transparent !important;
}

#secondary .wpc-filters-labels li.wpc-term-item input:checked + label a, #secondary .widget-area input.wpc-label-input:checked + label span.wpc-filter-label-wrapper, .widget-area input.wpc-label-input:checked + label span.wpc-filter-label-wrapper, .wpc-filters-widget-main-wrapper input.wpc-label-input:checked + label span.wpc-filter-label-wrapper, .widget-area .wpc-filters-labels li.wpc-term-item input:checked + label a, .wpc-filters-widget-main-wrapper .wpc-filters-labels li.wpc-term-item input:checked + label a, body .wpc-filters-labels li.wpc-term-item input:checked + label a, body#colibri .wpc-filters-labels li.wpc-term-item input:checked + label a, body#colibri .widget-area input.wpc-label-input:checked + label span.wpc-filter-label-wrapper {
  color: #000 !important;
  font-weight: 600 !important;
}

.wpc-filter-label-wrapper::after {
  content: "/";
  font-weight: 400 !important;
  padding-left: 8px;
}

.widget-area .wpc-filters-labels li.wpc-term-item label, .wpc-filters-widget-main-wrapper .wpc-filters-labels li.wpc-term-item label {
  border: none !important;
}

.widget-area .wpc-filters-labels li.wpc-term-item label span.wpc-filter-label-wrapper, .wpc-filters-widget-main-wrapper .wpc-filters-labels li.wpc-term-item label span.wpc-filter-label-wrapper {
  padding: 0 !important;
}

.theme-twentyfourteen .widget-area input.wpc-label-input + label:hover span.wpc-filter-label-wrapper, .widget-area input.wpc-label-input + label:hover span.wpc-filter-label-wrapper, .wpc-filters-widget-main-wrapper input.wpc-label-input + label:hover span.wpc-filter-label-wrapper, #secondary .wpc-filters-labels li.wpc-term-item input + label:hover a, body .wpc-filters-labels li.wpc-term-item input + label:hover a, body#colibri .wpc-filters-labels li.wpc-term-item input + label:hover a, .widget-area .wpc-filters-labels li.wpc-term-item input + label:hover a, .wpc-filters-widget-main-wrapper .wpc-filters-labels li.wpc-term-item input + label:hover a {
  border-color: transparent !important;
  background-color: transparent !important;
  color: #000 !important;
}

.widget_wpc_filters_widget .wpc-filter-title,
.wpc-edit-filter-set,
.wpc-filters-widget-controls-container {
  display: none !important;
}

.widget_wpc_filters_widget .wpc-filters-section {
  margin-bottom: 0;
}

.widget-area .wpc-filters-labels li.wpc-term-item, .wpc-filters-widget-main-wrapper .wpc-filters-labels li.wpc-term-item {
  margin-bottom: 0 !important;
}

.site #top .widget ul.wpc-filters-ul-list, .site .widget-area ul.wpc-filters-ul-list, .site .wpc-filters-widget-main-wrapper ul.wpc-filters-ul-list {
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.site .widget-area li.wpc-term-item input[type=radio], .site .wpc-filters-widget-main-wrapper li.wpc-term-item input[type=radio] {
  visibility: hidden;
  position: absolute;
}

.site .widget-area li.wpc-term-item label, .site .wpc-filters-widget-main-wrapper li.wpc-term-item label {
  padding-left: 0;
}

.wpc-term-item-content-wrapper input:checked ~ label {
  font-weight: 600 !important;
}

.site .widget li.wpc-term-item a, .site .wpc-filters-widget-main-wrapper li.wpc-term-item a {
  font-weight: inherit;
}

.wpc-term-item-content-wrapper::after {
  content: "/";
  padding-right: 8px;
  padding-left: 5px;
}

.wpc-radio-item:last-child .wpc-term-item-content-wrapper::after {
  opacity: 0;
}

.widget-area li.wpc-term-item, body .wpc-filters-widget-main-wrapper li.wpc-term-item {
  margin-bottom: 0 !important;
}

/* Footer
------------------------------------------- */
footer input[type=text] {
  border-bottom-width: 1px;
  border-style: solid;
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-border-opacity));
  background-color: transparent;
  outline-width: 0px;
  padding-left: 0 !important;
  padding-right: 70px !important;
}
footer .gfield_html {
  font-size: 0.75rem;
  line-height: 1rem;
}
footer .gform_button {
  position: absolute;
  top: 8px;
  right: 0px;
  cursor: pointer;
  border-width: 0px;
}
footer #gform_1 {
  position: relative;
}
footer .gform_wrapper.gravity-theme .gform_footer,
footer .gform_wrapper.gravity-theme .gform_page_footer {
  padding: 0;
}
footer .gform_wrapper .gfield_error [aria-invalid=true] {
  border: none;
  border-bottom: 1px solid #c02b0a;
}
footer .gform_wrapper .gform_validation_errors {
  background: transparent;
  border: none;
  padding: 0;
}
footer .gform_wrapper .gform_validation_errors > h2 .gform-icon {
  display: none;
}
footer .gform_wrapper .gfield_validation_message, footer .gform_wrapper .validation_message {
  background: transparent;
  border: none;
  padding: 0 !important;
  color: #fff;
  font-size: 11px !important;
  margin-top: 2px;
}
.hover\:bg-white:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
@media (min-width: 768px) {

  .md\:mt-0 {
    margin-top: 0px;
  }

  .md\:mt-6 {
    margin-top: 1.5rem;
  }

  .md\:mt-16 {
    margin-top: 4rem;
  }

  .md\:flex {
    display: flex;
  }

  .md\:w-\[50vw\] {
    width: 50vw;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .md\:gap-x-16 {
    -moz-column-gap: 4rem;
         column-gap: 4rem;
  }

  .md\:gap-x-10 {
    -moz-column-gap: 2.5rem;
         column-gap: 2.5rem;
  }

  .md\:py-0 {
    padding-top: 0px;
    padding-bottom: 0px;
  }

  .md\:py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .md\:pt-0 {
    padding-top: 0px;
  }

  .md\:pr-16 {
    padding-right: 4rem;
  }

  .md\:pb-24 {
    padding-bottom: 6rem;
  }

  .md\:pb-12 {
    padding-bottom: 3rem;
  }

  .md\:leading-none {
    line-height: 1;
  }
}
@media (min-width: 1024px) {

  .lg\:container {
    width: 100%;
  }

  @media (min-width: 640px) {

    .lg\:container {
      max-width: 640px;
    }
  }

  @media (min-width: 768px) {

    .lg\:container {
      max-width: 768px;
    }
  }

  @media (min-width: 1024px) {

    .lg\:container {
      max-width: 1024px;
    }
  }

  @media (min-width: 1280px) {

    .lg\:container {
      max-width: 1280px;
    }
  }

  @media (min-width: 1536px) {

    .lg\:container {
      max-width: 1536px;
    }
  }

  .lg\:absolute {
    position: absolute;
  }

  .lg\:relative {
    position: relative;
  }

  .lg\:bottom-12 {
    bottom: 3rem;
  }

  .lg\:left-0 {
    left: 0px;
  }

  .lg\:my-20 {
    margin-top: 5rem;
    margin-bottom: 5rem;
  }

  .lg\:mb-16 {
    margin-bottom: 4rem;
  }

  .lg\:mb-4 {
    margin-bottom: 1rem;
  }

  .lg\:mb-12 {
    margin-bottom: 3rem;
  }

  .lg\:mt-20 {
    margin-top: 5rem;
  }

  .lg\:mb-0 {
    margin-bottom: 0px;
  }

  .lg\:mb-1 {
    margin-bottom: 0.25rem;
  }

  .lg\:block {
    display: block;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:aspect-square {
    aspect-ratio: 1 / 1;
  }

  .lg\:min-h-\[auto\] {
    min-height: auto;
  }

  .lg\:w-auto {
    width: auto;
  }

  .lg\:w-\[55\%\] {
    width: 55%;
  }

  .lg\:max-w-xl {
    max-width: 36rem;
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:grid-cols-7 {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .lg\:gap-x-10 {
    -moz-column-gap: 2.5rem;
         column-gap: 2.5rem;
  }

  .lg\:gap-x-32 {
    -moz-column-gap: 8rem;
         column-gap: 8rem;
  }

  .lg\:bg-transparent {
    background-color: transparent;
  }

  .lg\:py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .lg\:px-12 {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .lg\:py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .lg\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .lg\:pt-32 {
    padding-top: 8rem;
  }

  .lg\:pt-12 {
    padding-top: 3rem;
  }

  .lg\:pb-16 {
    padding-bottom: 4rem;
  }

  .lg\:pr-4 {
    padding-right: 1rem;
  }

  .lg\:pb-24 {
    padding-bottom: 6rem;
  }

  .lg\:pb-0 {
    padding-bottom: 0px;
  }

  .lg\:pt-0 {
    padding-top: 0px;
  }

  .lg\:pb-28 {
    padding-bottom: 7rem;
  }

  .lg\:text-\[44px\] {
    font-size: 44px;
  }

  .lg\:text-\[40px\] {
    font-size: 40px;
  }

  .lg\:text-\[3\.5rem\] {
    font-size: 3.5rem;
  }

  .lg\:leading-tight {
    line-height: 1.25;
  }
}
@media (min-width: 1280px) {

  .xl\:mt-10 {
    margin-top: 2.5rem;
  }

  .xl\:mb-20 {
    margin-bottom: 5rem;
  }

  .xl\:mt-32 {
    margin-top: 8rem;
  }

  .xl\:hidden {
    display: none;
  }

  .xl\:gap-x-32 {
    -moz-column-gap: 8rem;
         column-gap: 8rem;
  }

  .xl\:pb-3 {
    padding-bottom: 0.75rem;
  }
}
