/*!
Theme Name: oda.na
Theme URI: http://underscores.me/
Author: De Santis Carmine
Author URI: https://carminedesantis.it
Description: Template per oda.na.it
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: oda-na
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.

oda.na 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/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

:root{
	--list-py: 0.6rem;
    --action-bar-h: 0rem;
    --header-h: 120px;
	--colore-principale: #434343;
	--colore-secondario: #C62513;
	--size-h4: 17px;
	--size-tra-le-linee: 19px;
	--size-titolo-big: 58px;
}

html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * 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;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-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;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-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;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

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

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.updated:not(.published) {
	display: none;
}

.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* 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;
}

.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: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

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

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

body{
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
}

#intro{
	background-size: cover;
	background-position: center;
	width: 100%;
	height: 100vh;
	text-align: center;
	animation: fadeInBackground 1.5s ease-in-out forwards;
    opacity: 0; 
	overflow: hidden;
	position: relative;
}

#intro h1{
	color: #fff;
}

.inter-font {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.intro-h1 {
    position: relative;
    top: 32px;
}

.intro-h1 img {
    max-width: 100%;
    width: 992px;
}

header#headeer-standard #logo img {
    width: 170px;
	max-width: 100%;
}


@keyframes fadeInBackground {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

div#intro-copy {
    position: absolute;
    bottom: 50px;
	width: 100%;
}

#intro-copy .container{
	display: flex;
    justify-content: space-between;
    margin-inline: auto !important;
}

div#intro-copy p {
    color: #fff;
}

.scroll-downs {
    position: absolute;
    right: 0;
    bottom: 130px;
    left: 0;
    margin-inline: auto;
    width: 34px;
    height: 55px;
}

.mousey {
  width: 3px;
  padding: 10px 15px;
  height: 35px;
  border: 2px solid #fff;
  border-radius: 25px;
  opacity: 0.75;
  box-sizing: content-box;
}
.scroller {
  width: 3px;
  height: 10px;
  border-radius: 25%;
  background-color: #fff;
  animation-name: scroll;
  animation-duration: 2.2s;
  animation-timing-function: cubic-bezier(.15,.41,.69,.94);
  animation-iteration-count: infinite;
}

@keyframes scroll {
  0% { opacity: 0; }
  10% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(15px); opacity: 0;}
}

header.header-colored {
    display: flex;
    justify-content: space-between;
	align-items: center;
}

div#menu-area button {
    background: transparent;
    padding: 0px;
    border: none;
    font-size: 1em;
    color: #D9D9D9;
    transition: .4s cubic-bezier(0, 0, 0.2, 1);
	font-weight: bold;
}

div#menu-area {
    font-size: 3.625em;
    color: #D9D9D9;
}

div#menu-area button:hover {
    color: #111;
}

#page-home{
	margin-top: 60px;
	min-height: 100vh;
}

.full-screen-modal{
	transition: .5s cubic-bezier(0.39, 0.575, 0.565, 1);
	opacity: 0;
	width: 100%;
	height: 80%;
	position: fixed;
	z-index: 1000;
	top: 0; left: 0px;
	transform: translateY(-200%);
	background-color: #F5F5F5;
}

.full-screen-modal.open{
	opacity: 1;
	transform: none;
}

div#menu-modal {
    overflow: scroll;
}

div#menu-modal .head-menu-full,
div#search-modal .head-menu-full{
    margin-top: 7vh;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

div#menu-modal .head-menu-full .logo-menu img,
div#search-modal .head-menu-full .logo-menu img{
    width: 140px;
}

div#menu-modal ul {
    list-style: none;
    padding-left: 0px;
}

div#menu-modal li.menu-item-has-children .sub-menu {
    margin: 0px;
    padding: 0px;
}

div#menu-modal ul li a {
    text-transform: uppercase;
    font-weight: 900;
    text-decoration: none;
    font-size: 2.4em;
    color: #D9D9D9;
    line-height: 1.4em;
}

div#menu-modal li.menu-item-has-children.is-open .sub-menu {
    margin-block: 20px;
}

ul#menu-menu-principale {
    overflow-y: auto;
	overflow-x: hidden;
	scrollbar-width: thin; /* Firefox */
  	scrollbar-color: #C62513 #f3f3f3;
}

/* Chrome, Edge, Safari */
ul#menu-menu-principale::-webkit-scrollbar {
  width: 8px;
}

ul#menu-menu-principale::-webkit-scrollbar-track {
  background: #f3f3f3;
  border-radius: 10px;
}

ul#menu-menu-principale::-webkit-scrollbar-thumb {
  background: #C62513;
  border-radius: 10px;
  transition: background 0.3s ease;
}

ul#menu-menu-principale::-webkit-scrollbar-thumb:hover {
  background: #a71f10;
}

.img-progetto-evidenza {
    text-align: center;
}

.img-progetto-evidenza img {
    width: 100%;
}

div#menu-modal .close, div#search-modal .close {
    color: #D9D9D9;
    font-size: 2.25em;
	cursor: pointer;
}

.body-search {
    text-align: right;
    position: relative;
}

.body-search input.search-field {
    border: none !important; outline: none !important;
    background: transparent;
	font-size: 58px;
    font-weight: 900;
    color: #C4C4C4;
    text-align: right;
    line-height: normal;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  display:none;
}

.body-search button.search-submit {background: #9D9D9D;color: #fff;border: none;padding: 15px 20px;}

#search-results {
    margin-top: 20px;
    max-height: 300px;
    overflow-y: auto;
	scrollbar-width: thin; /* Firefox */
  	scrollbar-color: #C62513 #f3f3f3;
}

#search-results a {
    color: #000;
    text-decoration: none;
}

div#search-results > a {
    padding: 0px !important;
}

.body-search::after {
    width: 80%;
    height: 1px;
    background: #9D9D9D;
    content: '';
    position: absolute;
    right: 0;
}

div#menu-modal ul li.current_page_item > a,
div#menu-modal ul li:hover > a,
div#menu-modal ul li.current-menu-parent > a,
div#menu-modal ul li.open-sub-menu > a,
div#menu-modal ul.sub-menu li:hover > a,
div#menu-modal ul.sub-menu li.current_page_item > a  {
    color: #C62513;
}

ul.sub-menu {
    display: none;
}

div#menu-modal ul.sub-menu {
    list-style: none;
    counter-reset: my-counter;
    padding-left: 20px;
}

div#menu-modal ul.sub-menu li {
    counter-increment: my-counter;
    position: relative;
    margin-bottom: 10px;
    display: inline;
    margin-right: 25px;
	word-wrap: break-word;
    white-space: nowrap;
}

div#menu-modal ul.sub-menu li::before {
    content: counter(my-counter, decimal-leading-zero);
    color: #9D9D9D;
    font-weight: bold;
    margin-right: 10px;
    position: relative;
    top: -18px;
    font-size: 1.2em;
}

div#menu-modal ul.sub-menu li a {
    color: #9D9D9D;
}

div#menu-modal li.menu-item-has-children.is-open .sub-menu{
	display: block;
}

header#headeer-standard {
    padding-bottom: 30px;
}

header#headeer-standard div#logo {
    margin-left: -65px;
}

#page-home section#main article.progetto .headline-progetto {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #707070;
    padding-top: 10px;
    text-transform: uppercase;
	background-color: #fff;
}

#page-home section#main article.progetto .headline-progetto a {
    text-decoration: none;
}

#page-home section#main article.progetto a {
    text-decoration: none;
}

#page-home section#main article.progetto .titolo-progetto h2 {color: #C62513;}

#page-home section#main article.progetto .titolo-progetto > * {display: inline-block;}

#page-home section#main article.progetto .titolo-progetto h2, 
#page-home section#main article.progetto .titolo-progetto {
    font-size: var(--size-h4);
}

#page-home section#main article.progetto .titolo-progetto {
    color: #9D9D9D;
}

#page-home section#main article.progetto .luogo-progetto {
    color: #9D9D9D;
}

#page-home section#main article.progetto .progetto-thumb img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

.progetto.is-active .project-image img{
  height: 400px;
  transition: .5s cubic-bezier(0.075, 0.82, 0.165, 1);
}

/* progetto passato */
.progetto.is-past .project-image img{
  height: 0px !important;
}

.progetto{
	display: contents;
    overflow: hidden;
}

.progetto > a {
	--_title-h: calc(1.3em + 2 * var(--list-py));
	-webkit-padding-before: var(--list-py);
    padding-block-start: var(--list-py);
	position: sticky;
	top: 0px;z-index: 80;
	block-size: var(--_title-h);
}

.progetto:nth-of-type(1) > a{
	--_stack-gap: calc((0) * var(--_title-h));
	top: calc(var(--_stack-gap) + var(--action-bar-h) + 160px);
}

.progetto:nth-of-type(2) > a{
	--_stack-gap: calc((1) * var(--_title-h));
	top: calc(var(--_stack-gap) + var(--action-bar-h) + 160px);
}

.progetto:nth-of-type(3) > a{
	--_stack-gap: calc((2) * var(--_title-h));
	top: calc(var(--_stack-gap) + var(--action-bar-h) + 160px);
}

.progetto:nth-of-type(4) > a{
	--_stack-gap: calc((3) * var(--_title-h));
	top: calc(var(--_stack-gap) + var(--action-bar-h) + 160px);
}

.progetto:nth-of-type(5) > a{
	--_stack-gap: calc((4) * var(--_title-h));
	top: calc(var(--_stack-gap) + var(--action-bar-h) + 160px);
}

.progetto:nth-of-type(6) > a{
	--_stack-gap: calc((5) * var(--_title-h));
	top: calc(var(--_stack-gap) + var(--action-bar-h) + 160px);
}
.progetto:nth-of-type(7) > a{
	--_stack-gap: calc((6) * var(--_title-h));
	top: calc(var(--_stack-gap) + var(--action-bar-h) + 160px);
}
.progetto:nth-of-type(8) > a{
	--_stack-gap: calc((7) * var(--_title-h));
	top: calc(var(--_stack-gap) + var(--action-bar-h) + 160px);
}
.progetto:nth-of-type(9) > a{
	--_stack-gap: calc((8) * var(--_title-h));
	top: calc(var(--_stack-gap) + var(--action-bar-h) + 160px);
}

#page-home section#main article.progetto .headline-progetto {
    border-top: 1px solid var(--colore-principale);
    margin-top: 15px;
}

#page-home .colonne-home > h3{
	color: var(--colore-principale);
	font-size: var(--size-h4);
	font-weight: 600;
	text-transform: uppercase;
	margin-block: 20px 10px;
}

article.article-highlights h2{
	font-weight: 600;
	font-size: var(--size-h4);
	line-height: normal;
}

article.article-highlights h2 a {
    color: var(--colore-principale);
    text-decoration: none;
	transition: .5s linear;
}

article.article-highlights:hover h2 a{
	color: var(--colore-secondario);
}

article.article-highlights > span {
    color: var(--colore-secondario);
    font-size: var(--size-h4);
    font-weight: 600;
	transition: .5s linear;
}

article.article-highlights:hover > span{
	color: var(--colore-principale);
} 

article.article-highlights .excerpt {
    font-size: 15px;
    font-weight: 400;
    color: #000;
    margin-block: 20px;
}

article.article-highlights .read-more{
	font-size: 13px;
	font-weight: 500;
	color: var(--colore-secondario);
	text-decoration: none;
}

article.article-highlights:not(:last-child){
	border-bottom: 1px solid var(--colore-principale);
	padding-bottom: 15px;
	margin-bottom: 20px;
}

article.article-highlights img {
    filter: grayscale(1);
    transition: .5s linear(0 0%, 0 1.8%, 0.01 3.6%, 0.03 6.35%, 0.07 9.1%, 0.13 11.4%, 0.19 13.4%, 0.27 15%, 0.34 16.1%, 0.54 18.35%, 0.66 20.6%, 0.72 22.4%, 0.77 24.6%, 0.81 27.3%, 0.85 30.4%, 0.88 35.1%, 0.92 40.6%, 0.94 47.2%, 0.96 55%, 0.98 64%, 0.99 74.4%, 1 86.4%, 1 100%);
}

article.article-highlights:hover img {
    filter: none;
}

section#main > .container {
    border-top: 1px solid #434343;
}

.single-progetto .headline-progetto {
    display: flex;
    justify-content: space-between;
    margin-block: 50px;
	padding-block: 10px;
    line-height: normal;
    border-block: 1px solid var(--colore-principale);
    font-size: var(--size-h4);
    font-weight: 600;
    color: var(--colore-principale);
}

.single-progetto header#headeer-standard {
    border-bottom: 0px;
}

.single-progetto h1{
	font-size: 58px;
	font-weight: 600;
	color: var(--colore-principale);
}

.single-progetto section#progetto-intro {
    margin-block: 120px;
    text-align: left;
}

.single-progetto section#progetto-intro h3 {
    color: var(--colore-secondario);
    font-weight: 500;
    font-size: 33px;
    margin-bottom: 20px;
}

.single-progetto section#progetto-intro .intro-testo {
    color: var(--colore-principale);
    text-align: left;
    font-size: 46px;
    line-height: normal;
    font-weight: 500;
}

.single-progetto  .testo-progetto{
	color: var(--colore-principale);
	font-size: 18px;
	line-height: normal;
	position: sticky;
    top: 125px;
}

.galleria-progetto .gallery {
    grid-gap: 15px;
}

.galleria-progetto .gallery figure {
    margin: 0px;
}

button#toggle-intro {
    color: var(--colore-secondario);
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    padding: 0px;
    background: transparent;
}

.intro-testo p {
    margin-bottom: 20px;
}

.header-wrapper {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
}

.ticker {
	width: 100%;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.swiper-slide {
    min-height: 150px; 
}

div#tabella-progetto {
    margin-block: 80px;
}

div#tabella-progetto h3 {
    font-size: var(--size-h4);
    font-weight: 600;
    color: var(--colore-secondario);
	margin-bottom: 40px;
}

div#tabella-progetto th, div#tabella-progetto td{
	text-transform: uppercase;
	font-size: calc( var(--size-h4) - 2px );
	vertical-align: baseline;
}

div#tabella-progetto .mt-table th,
div#tabella-progetto .mt-table td{
	padding-top: 30px;
    vertical-align: baseline;
}

.progetto-nav .correlati {
    text-transform: uppercase;
    color: var(--colore-secondario);
    font-size: var(--size-h4);
    font-weight: 600;
	border-bottom: 1px solid var(--colore-principale);
	padding-bottom: 15px;
	margin-block: 15px;
}

.progetto-nav .prec-succ {
    border-bottom: 1px solid var(--colore-principale);
    padding-bottom: 15px;
    margin-block: 15px;
    display: flex;
    justify-content: space-between;
}

.progetto-nav .prec-succ a {
    text-decoration: none;
    font-size: var(--size-h4);
    color: var(--colore-principale);
}

button#toggle-table {
    color: var(--colore-secondario);
    text-transform: uppercase;
    font-weight: bold;
    border: none;
    padding: 0px;
    background: transparent;
}

footer#colophon .site-info > .container {
    display: flex;
    justify-content: space-between;
}

footer#colophon {
    margin-top: 100px;
}

footer#colophon .site-info p,
footer#colophon .site-info a{
    font-size: 14px;
    color: #9D9D9D;
}

/* Sticky per entrambi gli h3 nelle colonne */
.left-home h3,
.right-home h3 {
	position: sticky;
    top: 118px;
    z-index: 10;
    background-color: #fff;
    padding: 12px 0px;
}

.sr-only{
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* ─── Wrapper ─────────────────────────────────── */
.oda-logo-wrapper {
position: relative;
height: 44px;
overflow: hidden;
margin-inline: auto;
transition: width 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

/* ─── SVG condiviso ────────────────────────────── */
.oda-logo-wrapper svg {
height: 44px;
width: auto;
display: block;
position: absolute;
top: 0;
left: 0;
}

/* ─── Logo completo ────────────────────────────── */
.oda-full {
opacity: 1;
transform: translateX(0);
transition:
	opacity  0.5s ease 0s,
	transform 0.5s ease 0s;
}

/* ─── Logo ridotto ─────────────────────────────── */
.oda-short {
	opacity: 0;
	transform: translateX(-8px);
	transition:
	opacity  0.5s ease 0.15s,
	transform 0.5s ease 0.15s;
}

/* ─── Stato collassato ─────────────────────────── */
.oda-logo-wrapper.is-short .oda-full {
	opacity: 0;
	transform: translateX(8px);
	transition:
	opacity  0.45s ease 0s,
	transform 0.45s ease 0s;
}

.oda-logo-wrapper.is-short .oda-short {
	opacity: 1;
	transform: translateX(0);
	transition:
	opacity  0.5s ease 0.2s,
	transform 0.5s ease 0.2s;
}

.col-9.left-home.colonne-home {
	padding-bottom: 100px;
	padding-left: 0px;
}

.progetto-nav .correlati h4 {
    font-size: 1.1em;
}

header.tra-le-linee {
    border-block: 1px solid #434343;
    padding-block: 15px;
    font-size: var(--size-tra-le-linee);
    font-weight: 600;
    text-transform: uppercase;
}

.text-uppercase{
	text-transform: uppercase;
}

.titolo-big{
	font-size: var(--size-titolo-big);
	color: var(--colore-principale);
	font-weight: 600;
}

.lista-progetti{
	margin-block: 50px 120px;
}

button.openfiltri {
    border: none;
    background: none;
    padding: 0px;
    line-height: var(--size-titolo-big);
	float: right;
}

.body-lista-progetti .progetto {
    text-align: center;
	margin-bottom: 40px;
}

.body-lista-progetti .progetto h3 {
    color: var(--colore-principale);
    text-decoration: none;
    margin-top: 20px;
    font-size: var(--size-h4);
    font-weight: 600;
}

.body-lista-progetti .progetto img{
	filter: grayscale(1);
	transition: .5s linear;
	width: 100%;
	height: 315px;
	object-fit: cover;
}

.body-lista-progetti .progetto:hover img{
	filter: none;
}

.body-lista-progetti a {
    text-decoration: none;
}

.body-lista-progetti{
	/* max-height: 650px;
	min-height: 550px;
	overflow: auto;
	overflow-x:hidden; */
	scrollbar-width: none; /* Firefox */
  	scrollbar-color: #C62513 #f3f3f3;
}


.testata-lista-progetti {
	/* position: sticky; */
    background: #fff;
    z-index: 1;
    --_title-h: calc(4.9em + 2 * var(--list-py));
    /* -webkit-padding-before: var(--list-py);
    padding-block-start: var(--list-py);
    block-size: var(--_title-h); */
    z-index: 80;
}

.progetti-type--opere-in-corso .testata-lista-progetti {
    top: 113px;
}

section#intro-about{
	background-color: var(--colore-secondario);
	padding-block: 80px;
}

section#intro-about h1, section#intro-about h2{
	color: #fff;
}

section#intro-about h1{
	font-size: 33px;
	font-weight: 500;
}

section#intro-about h2{
	font-size: 46px;
	font-weight: 500;
}

[class*="progetti-type"]:nth-of-type(1) .testata-lista-progetti {
    --_stack-gap: calc((0) * var(--_title-h));
    top: calc(var(--_stack-gap) + var(--action-bar-h) + var(--header-h));
}

[class*="progetti-type"]:nth-of-type(2) .testata-lista-progetti {
    --_stack-gap: calc((1) * var(--_title-h));
    top: calc(var(--_stack-gap) + var(--action-bar-h) + var(--header-h));
}

[class*="progetti-type"]:nth-of-type(3) .testata-lista-progetti {
    --_stack-gap: calc((2) * var(--_title-h));
    top: calc(var(--_stack-gap) + var(--action-bar-h) + var(--header-h));
}

.body-lista-progetti {
    padding-block: 5rem;
}

[class*="progetti-type"] {
    /* display: contents; */
	display: block;
    margin-bottom: 80px;
}

.lista-progetti .progetto-item {
	transition: opacity 0.34s ease, transform 0.34s ease;
	opacity: 1;
	transform: translateY(0);
}

.lista-progetti  .progetto-item.is-hidden {
	opacity: 0;
	transform: translateY(8px);
}

.lista-progetti .projects-category-filter.d-none {
	display: none;
}
.lista-progetti ul.projects-category-filter {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

div#search-results a {
    font-size: 58px;
    font-weight: 900;
    color: #C4C4C4;
    transition: .4s linear;
}

div#search-results a:hover {
    color: #C62513;
}

.sticky-column{
	position: sticky !important;
	top: calc( var(--header-h) * 1.1 );
	z-index: 10;
	background-color: #fff;
	align-self: flex-start !important;
}

.elementor-slideshow__title {
    display: none !important;
}

footer#colophon {
    text-align: center;
}

footer#colophon .logo-footer {
    border-bottom: 1px solid #434343;
    padding-bottom: 40px;
    margin-bottom: 20px;
}

footer#colophon ul#menu-footer {
    display: flex;
    list-style: none;
    gap: 40px;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 600;
    margin-left: 0px;
    padding-left: 0px;
    flex-wrap: wrap;
    justify-content: center;
}

footer#colophon ul#menu-footer a {
    text-decoration: none;
    transition: .5s linear;
    position: relative;
}

footer#colophon ul#menu-footer a::after {
    transition: .5s linaer;
    content: '';
    width: 0%;
    height: 1px;
    position: absolute;
    background: #000;
    left: 0;
    bottom: -8px;
}

footer#colophon ul#menu-footer a:hover::after {
    width: 100%;
}

footer#colophon .site-info > .container {
    justify-content: center;
}

.forminator-ui.forminator-custom-form[data-design=material] .forminator-button {
    padding: 0px;
    display: inline-block !important;
    width: auto !important;
    text-align: left;
    text-transform: uppercase;
    font-size: 18px !important;
}

.forminator-ui.forminator-custom-form[data-design=material] .forminator-textarea {
    border-top: none;
    border-inline: none;
}

.lista-progetti ul.projects-category-filter li {
	cursor: pointer;
}

/* ============================================================
   highlights-accordion.css
   Stili per il raccoglitore accordion della pagina categoria
   od'a – Officina d'Architettura
   
   Dipendenze: Bootstrap 5 (griglia)
   Font richiesti: Cormorant Garamond + Jost (Google Fonts)
============================================================ */

/* ─── Variabili ─────────────────────────────────────────── */
:root {
  --oda-red:    #c0392b;
  --oda-black:  #0e0e0e;
  --oda-gray:   #434343;
  --oda-border: #d6d3cc;
  --oda-bg:     #f2f0ec;
  --oda-white:  #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-ui:      'Jost', 'Helvetica Neue', Helvetica, sans-serif;

  --row-pad-x: clamp(1.25rem, 4vw, 3rem);
  --row-pad-y: 1rem;

  --panel-transition: 380ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Sub-nav (HIGHLIGHTS | NEWS | EVENTI & MOSTRE | PRESS) ─ */
.oda-highlights-subnav {
  padding: 0 var(--row-pad-x);
  border-block: 1px solid #434343;
  padding-block: 12px;
  position: sticky;
  top: 0;
  z-index: 10;
  padding-inline: 0px;
}

.oda-subnav-label {
  font-family: var(--font-ui);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--colore-principale);
  padding-right: 2rem;
}

.oda-subnav-links {
  gap: 2rem;
}

.oda-subnav-link:hover{
	color: var(--colore-secondario) !important;
}

.oda-subnav-link {
  font-family: var(--font-ui);
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--oda-gray) !important;
  padding: .2em 0;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}

.oda-subnav-link:hover {
  color: var(--oda-black);
}

.oda-subnav-link.active {
  color: var(--oda-red);
  border-color: var(--oda-red);
}

/* ─── Wrapper accordion ─────────────────────────────────── */
.oda-highlights-wrap {
  background: var(--oda-bg);
}

/* ─── Singola riga ──────────────────────────────────────── */
.hl-row {
  border-bottom: 1px solid var(--oda-border);
}

.hl-row:first-child {
  border-top: none; /* la subnav fa già da separatore */
}

/* ─── Head: parte sempre visibile ──────────────────────── */
.hl-row__head {
  padding: var(--row-pad-y) var(--row-pad-x);
  cursor: pointer;
  user-select: none;
  transition: background .2s;
}

.hl-row__head:hover {
  background: rgba(0,0,0,.02);
}

.hl-row__head:focus-visible {
  outline: 2px solid var(--oda-red);
  outline-offset: -2px;
}

.hl-head-inner {
  min-height: 52px;
  gap: 1rem;
}

/* Data */
.hl-head__date {
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .06em;
  color: var(--oda-gray);
  min-width: 3.2rem;
}

/* Titolo */
.hl-head__title {
  font-family: var(--font-ui);
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--oda-black);
  line-height: 1.35;
  padding-right: 1rem;
}

/* Preview thumbnails nella testa — sempre visibili */
.hl-head__thumbs {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-shrink: 0;
}

.hl-thumb {
  width: 72px;
  height: 52px;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  transition: opacity .2s;
}

/* Quando aperto: thumbs in testa leggermente sfumate (il panel ha le immagini grandi) */
.hl-row.open .hl-head__thumbs .hl-thumb {
  opacity: .4;
}

/* Colonna categoria + icona */
.hl-head__cat {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-width: 160px;
  justify-content: flex-end;
  padding-left: 1rem;
}

.hl-cat-label {
  font-family: var(--font-ui);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oda-gray);
}

/* Icona + / × */
.hl-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--oda-red);
  flex-shrink: 0;
  position: relative;
}

.hl-toggle-icon .icon-plus,
.hl-toggle-icon .icon-minus {
  position: absolute;
  transition: opacity .2s, transform .25s;
}

/* Default: mostra +, nascondi − */
.hl-toggle-icon .icon-minus {
  opacity: 0;
  transform: rotate(-90deg);
}

/* Aperto: nascondi +, mostra − */
.hl-row.open .hl-toggle-icon .icon-plus {
  opacity: 0;
  transform: rotate(45deg);
}

.hl-row.open .hl-toggle-icon .icon-minus {
  opacity: 1;
  transform: rotate(0deg);
}

/* ─── Pannello espandibile ──────────────────────────────── */
/* Altezza e visibilità gestite interamente via JS (slideDown/slideUp).
   Il CSS si occupa solo dell'aspetto grafico del contenuto. */
.hl-panel {
  display: none; /* stato iniziale — JS sovrascrive */
}

.hl-panel__left {
  /* colonna vuota — allineamento visivo con data+titolo sopra */
}

.hl-panel__content {
  padding: 1.2rem var(--row-pad-x) 2rem 0;
}

/* Galleria immagini nel panel */
.hl-panel__gallery {
  margin-bottom: 1.4rem;
}

.hl-gallery-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

/* Testo excerpt */
.hl-panel__excerpt {
  font-family: var(--font-ui);
  font-size: .88rem;
  line-height: 1.75;
  color: var(--oda-black);
  margin-bottom: 1.2rem;
  max-width: 680px;
}

/* CTA link */
.hl-panel__cta {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--oda-red);
  transition: letter-spacing .2s;
}

.hl-panel__cta:hover {
  letter-spacing: .14em;
  color: var(--oda-red);
}

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .hl-head__title {
    font-size: .78rem;
  }

  .hl-head__cat {
    min-width: auto;
  }

  .hl-cat-label {
    display: none; /* su mobile mostra solo l'icona */
  }

  .hl-panel__content {
    padding: 1rem var(--row-pad-x) 1.5rem;
  }

  .hl-panel__gallery .col-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 480px) {
  :root {
    --row-pad-x: 1rem;
  }

  .hl-thumb {
    width: 56px;
    height: 40px;
  }
}

@media (max-width: 980px){
    div#menu-area {
		font-size: 1.5em;
	}

	header#headeer-standard {
		max-width: 100%;
		padding-block: 10px;
	}

	header#headeer-standard #logo img {
		width: 100px;
	}

	header#headeer-standard div#logo {
		margin-left: 0px;
	}

	.body-search input.search-field {
		font-size: 20px;
	}

	div#search-results a {
		font-size: 1em;
	}

	div#menu-modal ul li a {
		font-size: 2em;
	}

	.oda-logo-wrapper.is-short .oda-full {
		width: 100%;
	}

	div#odaLogo {
		max-width: 90%;
	}

	.left-home h3, .right-home h3 {
		position: sticky;
		top: 57px;
	}

	.progetto:nth-of-type(1) > a{
		--_stack-gap: calc((0) * var(--_title-h));
		top: calc(var(--_stack-gap) + var(--action-bar-h) + 100px);
	}

	.progetto:nth-of-type(2) > a{
		--_stack-gap: calc((1) * var(--_title-h));
		top: calc(var(--_stack-gap) + var(--action-bar-h) + 100px);
	}

	.progetto:nth-of-type(3) > a{
		--_stack-gap: calc((2) * var(--_title-h));
		top: calc(var(--_stack-gap) + var(--action-bar-h) + 100px);
	}

	.progetto:nth-of-type(4) > a{
		--_stack-gap: calc((3) * var(--_title-h));
		top: calc(var(--_stack-gap) + var(--action-bar-h) + 100px);
	}

	.progetto:nth-of-type(5) > a{
		--_stack-gap: calc((4) * var(--_title-h));
		top: calc(var(--_stack-gap) + var(--action-bar-h) + 100px);
	}

	.progetto:nth-of-type(6) > a{
		--_stack-gap: calc((5) * var(--_title-h));
		top: calc(var(--_stack-gap) + var(--action-bar-h) + 100px);
	}
	.progetto:nth-of-type(7) > a{
		--_stack-gap: calc((6) * var(--_title-h));
		top: calc(var(--_stack-gap) + var(--action-bar-h) + 100px);
	}
	.progetto:nth-of-type(8) > a{
		--_stack-gap: calc((7) * var(--_title-h));
		top: calc(var(--_stack-gap) + var(--action-bar-h) + 100px);
	}
	.progetto:nth-of-type(9) > a{
		--_stack-gap: calc((8) * var(--_title-h));
		top: calc(var(--_stack-gap) + var(--action-bar-h) + 100px);
	}

	.lista-progetti ul.projects-category-filter {
		justify-content: flex-start;
		margin-left: 0px;
		gap: 7px;
	}

	.testata-lista-progetti .titolo-big {
		font-size: 2em;
	}

	.testata-lista-progetti {
		background: #fff;
		display: block;
	}

	.testata-lista-progetti {
		--_title-h: calc(9.9em + 2 * var(--list-py));
	}

	button.openfiltri {
		float: none;
	}

	:root{
		--list-py: 0.6rem;
		--action-bar-h: 0rem;
		--header-h: 57px;
		--size-h4: 17px;
		--size-tra-le-linee: 19px;
		--size-titolo-big: 58px;
	}

	.body-lista-progetti {
		padding-top: 10px;
	}
	
	.single-progetto .headline-progetto {
		flex-wrap: wrap;
		justify-content: center;
		gap: 20px;
		flex-direction: column;
		align-items: center;
	}

	.single-progetto h1 {
		font-size: 2em;
		text-align: center;
	}

	.single-progetto section#progetto-intro {
		margin-block: 60px;
		text-align: center;
	}

	.single-progetto section#progetto-intro h3 {
		font-size: 1.5em;
	}

	.single-progetto section#progetto-intro .intro-testo {
		font-size: 1.5em;
		text-align: center;
	}

	.single-progetto .testo-progetto {
		font-size: 1em;
		text-align: center;
		margin-bottom: 50px;
	}
}

@media (max-width: 780px){
	footer#colophon ul#menu-footer{
		gap: 12px;
	}
}

@media ( min-width: 780px ){
	.left-home {
		padding-left: 0px;
	}

	.right-home {
		padding-right: 0px;
	}
}