/*!
Theme Name: dadyorsi
Theme URI: http://underscores.me/
Author: Shay Stibelman
Author URI: https://stibelman.com
Description: Designed by Dida Giustolisi
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: dadyorsi
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.

dadyorsi 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
	 ========================================================================== */
/*@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;700&family=Open+Sans:wght@400;700&family=Josefin+Slab:wght@100&display=swap');
*/
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,700;1,400&family=Josefin+Slab:wght@100&display=swap');

:root{
	--main-color: #da0c35;
	--text-color: rgb(125,125,125);
	--link-color: #000;
	--link-hover-color: #000;
	--link-current-color: #000;
	--link-not-current-color: rgb(125,125,125);
	--line-color: #c8c8c8;
}
	

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
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;
	text-decoration: none;
}

/**
 * 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%;
}
.justified{
	text-align: justify;
}
/**
 * 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;
	image-rendering: -webkit-optimize-contrast;
    /*image-rendering: auto;*/
}
img[src*="4-1972"].fancybox-image {
	image-rendering: auto;
}
.wp-block-image{
	margin: 0;
}
.nomargin .blocks-gallery-item{
	margin-bottom: 0;
}

/* 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
	 ========================================================================== */
html{
	  scroll-behavior: smooth;
}
.scrollable {
    overflow-y: auto;
    padding-right: 40px;
}
.scrollable-540{
	height: 540px;
}
.scrollable-220{
	height: 220px;
	margin: 0;
}
.wp-block-column :first-child,
.scrollable :first-child{
	margin-top: 0;
}
.wp-block-column h2:first-child{
	line-height: 1;
}
/* width */
::-webkit-scrollbar{
	width: 15px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track{
	background: linear-gradient(
	  to right, 
	  transparent 0%, 
	  transparent 45%, 
	  var(--line-color) 50%, 
	  transparent 55%, 
	  transparent 100%);
  }
  /* Handle */
  ::-webkit-scrollbar-thumb{
	background: #fff;
	border: 1px solid var(--line-color);
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
	background: #f5f5f5;
  }
/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden],.displaynone {
	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;
    overflow-x: hidden;
}

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

/* Typography
--------------------------------------------- */

html{	
	font-size: 13px;
	line-height: 1.2;
}
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--text-color);
	font-family: "eb Garamond", serif;
    -webkit-font-smoothing: auto;
    font-variant: none;
}
.gar{
	font-family: "eb Garamond", serif;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: "eb Garamond", serif;
	color: #000;
	font-weight: 300;
	font-variant: small-caps;
	letter-spacing: 1px;
}

h1{
    font-size: 1.8em;
}
h2, h1.entry-title{
	font-size: 19px;
}
@media (max-width: 660px){
	:not(.home) .entry-title,
	body:not(.home) h1.entry-title{
		display: block !important;
	}
	.home .entry-header{display: none;}
	.fullsize {
		width: 100vw !important;
		transform: translatex(-7.5vw);
	}
}
/*h2:first-letter{
	font-size: 1.4em;
}*/
p, .wp-block-column li, #captionElem {
	font-size: 1.3rem;
	margin: 0.4em 0;
	text-align: justify;
    letter-spacing: 0;
    line-height: 1.3;
	font-family: "eb Garamond", serif;
	color: var(--text-color);
}
.page-id-3071 p:not(.didascalia){
	text-indent: 1em;
	text-align: justify;
	/*
    font-size: 1.35rem;
    letter-spacing: 0.1px;
	*/
}

#page{
  counter-reset: li;
}
.page-id-3071 p a,
.page-id-3968 p a,
.parent-pageid-2725 .gallery-text a,
.parent-pageid-12 .gallery-text a{
	color: var(--main-color);
    font-variant: small-caps;
    font-style: italic;
}
.didascalia{
	font-variant: small-caps;
}
.didascalia li{
  counter-increment: li;
    font-size: 1.2em;
    margin: 0;
}
.didascalia  ::marker{
  content: counter(li) " - ";
	font-size: 0.7em;
}
::marker {
    /*font-size: 0.7em;*/
}

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

blockquote {
	margin: 0 1.5em;
	font-family: "eb Garamond", serif;
}
.gallery-text .wp-block-quote.is-large, .gallery-text  .wp-block-quote.is-style-large {
    margin: 0;
    padding: 0;
}
/* quote */
.gallery-text .wp-block-quote.is-large p, .gallery-text .wp-block-quote.is-style-large p{
    margin: 0;
    padding: 0;
    font-size: 1.1rem;
    font-style: normal;
	/*font-variant: small-caps;*/
    line-height: 1.3;
    letter-spacing: 0;
	color: var(--text-color);
	text-align: right;
}
/* quote source */
.wp-block-quote.is-large cite, .wp-block-quote.is-large footer, .wp-block-quote.is-style-large cite, .wp-block-quote.is-style-large footer {
    font-size: 1rem;
    text-align: right;
    margin-top: 0.1rem;
    margin-bottom: 0rem;
    display: block;
	color: var(--text-color);
    /*font-style: normal;*/
	font-variant: small-caps;
	letter-spacing: 0;
}
address {
	margin: 0 0 1.5rem;
}

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 {
	min-height: 100vh;
	background: #fff;
}

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

ul,
ol {
	/*margin: 0 0 1.5em 3em;*/
	padding: 0;
	margin: 0 0 0 0.6em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}
.list-circle,
li > ul{
	/*list-style: circle;*/
	list-style: "- ";
}
@media (max-width: 660px){
	.entry-content li{
		margin: 0.4em 0;
		font-size: 0.9em;
	}
}
li > ul,
li > ol {
	margin-bottom: 0;	
    margin-left: 0.4em;
}

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: 0;
}

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

/* Links
--------------------------------------------- */
a {
	color: var(--link-color);
}
.gar a{
	color: var(--text-color);
	letter-spacing: 0;
}
/*a:visited {
	color: #000;
}*/

a:hover,
a:focus,
a:active {
	color: var(--link-hover-color);
}

a:focus {
	outline: thin dotted;
}

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
#page{
	width: 90vw;
	max-width: calc(1080px * 1.1);
	margin: 0 auto;
}
@media (max-width: 660px){
	#HomeAboveWidget {
		display: none;
	}
	#page, .single-post{
		width: 85vw;
	}
}
@media (min-width: 660px){
	#page{
		display: grid;
		grid: 300px auto 200px / minmax(0, 210px) minmax(360px, 980px);
		/*transform: scale(0.9);*/
		zoom: 0.9;
	}
	.single-post #page,
	.blog #page{
		display: grid;
		grid: 300px auto 200px / minmax(0, 300px) minmax(360px, 980px);
		/*transform: scale(0.9);*/
		zoom: 0.9;
	}
	.page-template-default #page{
		grid: 300px auto 200px / minmax(0, 300px) minmax(360px, 980px);
	}
	.home #page{	
		height: calc(111vh + 2px);
		transform: translatex(8px);
	}
	div#page:before {
		content: "";
		position: absolute;
		background: #fff;
		width: 110vw;
		height: 300px;
		left: 0;
	}
}
.dadylogoorsi{
	width: 65px;
	height: 50px;
}
.ls-wp-container.fitvidsignore.ls-v6.ls-container.ls-responsive.ls-device-is-desktop {
    height: 99vh !important;
}
a[href="#masthead"]{
	z-index: 9999;
	width: 300px;
	display: block;
    text-align: center;
}
@media (min-width: 660px){
	#masthead{
		grid-column: 1 / 3;
		display: grid;
		grid: 0 / minmax(100px, 300px) minmax(360px, 890px);
		padding-top: 50px;
		position: sticky;
		top: 0;
		transition: 0.5s;
    	height: 100px;
    	z-index: 1;
	}
	#masthead nav .menu-navigation-container::before,
	#masthead nav .menu-navigazione-container::before{
		content: "";
		position: absolute;
		width: 150vw;
		left: -50vw;
		top: -20px;
		height: 150px;
		display: block;
		background: #fff;
		z-index: -1;
		transition: 0.5s 0.2s ease-out;
	}
	#masthead nav .menu-navigation-container:hover::before,
	#masthead nav .menu-navigazione-container:hover::before{
		content: "";
		height: 240px;
		transition: 0.5s ease-out;
	}
}
#primary{
	grid-column: 2 / 3;
}
#primary.two-thirds-page{
	grid-column: 2 / 3;
}
#primary.full-page{
	grid-column: 1 / 3;
}
#secondary{
	grid-column: 1 / 2;
}
footer#colophon{
	grid-column: 1 / 3;
    align-self: end;
    border-top: 1px solid hsl(0deg 0% 70%);
    padding-top: 1em;
    padding-bottom: 1em;
    margin-bottom: -5em;
}
footer .site-info{
	display: flex;
	gap: 1em;
    align-items: baseline;
}
@media (max-width: 660px){
	footer .site-info span{
		display: block;
		margin: 1em 0;
		font-size: 14px;
	}
	footer .site-info{
		display: block;
	}
	footer#colophon {
		margin-top: 30px;
	}
}
.logo-stibelman {
    max-height: 2em;
    vertical-align: middle;
	image-rendering: auto;
}
/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
@media (min-width: 660px){
	.main-navigation {
		display: block;
		width: 100%;
	}
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}
#primary-menu,
.menu-navigation-container{
	width: 100%;
	max-width: 970px;
}
.main-navigation ul ul {
	position: absolute;
	top: 80%;
	/*left: -999em;*/
	z-index: 99999;
    flex-direction: column;
	opacity: 0;
	transition: 0.5s;
}

@media (min-width: 720px){
	.main-navigation ul ul ul {
		left: -999em;
		top: 0;
	}

	.main-navigation ul ul li:hover > ul,
	.main-navigation ul ul li.focus > ul {
		display: block;
		left: auto;
	}

	.main-navigation ul ul a {
		width: 220px;
		font-size: 17px;
	}

	.main-navigation ul li:hover > ul,
	.main-navigation ul li.focus > ul {
		left: auto;
		opacity: 1;
	}
	.main-navigation li {
		position: relative;
	}
	.main-navigation > div > ul > li {
		padding-bottom: 22px;
	}
}
.main-navigation a {
	display: block;
	text-decoration: none;
	font-family: "eb Garamond", serif;
	font-size: 19px;
	letter-spacing: 1px;
	transition: 0.2s;
    line-height: 1.5;
    background-color: #fff;
	font-variant: small-caps;
}
/*.main-navigation a:first-letter {
	font-size: 1.4em;
}*/
.main-navigation li.current-menu-item > a{
	color: var(--link-current-color);
	transition: 0.2s 0.2s;
}
body:not(.home) .main-navigation li:not(.current-menu-item) > a{
	color: var(--link-not-current-color);
}
#site-navigation.main-navigation li:not(.current-menu-item):hover > a{
	color: var(--link-hover-color);
	transition: 0.2s;
}
/*.parent-pageid-8 #menu-item-197 ul,
.parent-pageid-10 #menu-item-198 ul,
.parent-pageid-12 #menu-item-199 ul,
.parent-pageid-50 #menu-item-198 ul{
    left: auto;
}*/
@media (min-width: 660px){
	.parent-pageid-8 #menu-item-197 > a,
	.parent-pageid-10 #menu-item-198 > a,
	.parent-pageid-12 #menu-item-199 > a,
	.parent-pageid-50 #menu-item-198 > a,
	.parent-pageid-715 #menu-item-199 > a{
		color: var(--link-current-color);
	}
}
.page-id-253 li#menu-item-67 a {
    color: #000;
}
.home #site-navigation a{
	color: var(--link-not-current-color);
}
.home #menu-item-197 > a,
.home #menu-item-167 > a{
	color: var(--link-current-color);
}
.page-id-50 .cols-510-60-510 figure{
	overflow: hidden;
}
.page-id-50 .cols-510-60-510 figure img{
	animation: imgAppear 2s forwards ease-in;
}
@keyframes imgAppear{
	0%{
		transform: scale(1.2);
		filter: blur(10px) brightness(1.5);
		opacity: 0;
	}
	100%{
		transform: scale(1);
		filter: blur(0) brightness(1);
		opacity: 1;
	}
}



/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}
@media (max-width: 720px){
	
	header#masthead {
		position: sticky;
		top: 0;
		background: #fff;
		display: flex;
		justify-content: space-between;
    	flex-direction: row-reverse;
    	align-items: center;
		padding: 1em 7.5vw;
		width: 100vw;
		transform: translateX(-7.5vw);
	}
	.site-branding {
		flex: 1;
		text-align: right;
	}
	div.site-branding img{
		height: 40px;
	}
	#mobile-language-switcher span.wpml-ls-native{
		font-size: 0;
	}
	#mobile-language-switcher span.wpml-ls-native[lang="en"]::before {
		content: "ENG";
		font-size: 20px;
	}
	#mobile-language-switcher span.wpml-ls-native[lang="it"]::before {
		content: "ITA";
		font-size: 20px;
	}
	.wpml-ls-item{ display: none; }
	.main-navigation .menu-navigazione-container,
	.main-navigation .menu-navigation-container {
		transform: translateX(-100vw);
		opacity: 0;
		transition: transform 0.3s ease-out, opacity 0.3s ease-out;
	}
	.main-navigation.toggled .menu-navigazione-container,
	.main-navigation.toggled .menu-navigation-container {
		position: fixed;
		inset: 0;
		transform: translateX(0);
		opacity: 1;
		top: 70px;
    	padding: 0 34px 20px;
		background: #fff;
    	height: calc(100vh - 70px);
	}
	
	.main-navigation.toggled ul#primary-menu {
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		height: 100%;
		max-height: 500px;
    	overflow: auto;
	}
	.menu-toggle{
		background: none;
		border: none;
		font-family: "Josefin Slab";
    	font-weight: 100;
		width: 26px;
		padding: 0;
		transform: translateY(1px);
	}
	
	.menu-toggle img{
		height: 15px !important;
	}
	.main-navigation.toggled .menu-toggle{
		font-size: 0;
	}
	.main-navigation.toggled .menu-toggle::before{
		content: "×";
		font-size: 50px;
		transform: translateY(-6px);
		display: block;
	}
	.main-navigation.toggled .menu-toggle img{
		display: none;
	}
	.menu-item span, .menu-item a,
	.main-navigation ul ul a{
		font-size: 18px;
		white-space: nowrap;
	}
	.main-navigation ul ul{
		padding-left: 20px;
	}
	
}
@media screen and (min-width: 720px) {
	#mobile-language-switcher,
	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		justify-content: space-between;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}
.post-navigation{
	display: none;
}
.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;
}

.post,
.page {
	/*margin: 0 0 1.5em;*/
}

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

.page-content,
.entry-content,
.entry-summary {
	margin: 15px 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}
.wp-block-columns{
	justify-content: space-between;
}
@media (max-width: 1200px) and (min-width: 660px){
	.entry-content > .wp-block-columns {
		gap: 70px;
	}
}
@media (min-width: 782px){
	.cols510{
		--colWidth: 510px;
	}
	.wp-block-columns.columned{
		display: grid;
    --colwidth: 50%;
		grid: auto / var(--colWidth) var(--colWidth);
    	grid-gap: calc(1188px - var(--colWidth) * 2);
	}
	.page-template-default .wp-block-columns.columned{
    	grid-gap: calc(888px - var(--colWidth) * 2);
	}
	.wp-block-columns.cols-270-90-720{
		grid: auto / 270px 720px;
		grid-gap: 90px;
	}
	
	.wp-block-columns.cols2{
		max-height: 556px;
		overflow-y: auto;
	}
	
	.cols-3 > p{
		column-count:3;
		column-gap: 50px;
		animation: fromBottom 3s forwards ease;
	}
	.two-columns{
		column-count:2;
		column-gap: 50px;
	}
	.three-columns p{
		column-count:3;
		column-gap: 20px;
	}
	.cols-2 {
		display: grid;
		grid: 300px / 290px auto;
		align-items: start;
		justify-content: start;
		grid-gap: 1em;
		animation: fromBottom 3s forwards ease;
	}
	.cols-2 > p{
		grid-column: 2 / 3;
		margin: 0;
	}
	.cols-2 > figure{
		grid-column: 1 / 2;
	}
	
	@keyframes fromBottom{
		0%{
			opacity: 0;
		}
		100%{
			opacity: 1;
		}
	}
	
	.wp-block-column:not(:first-child) {
		margin: 0;
	}
	.wp-block-columns.cols-510-60-510{
		grid-gap: 80px;
		--colWidth: 530;
	}
	.wp-block-columns.cols-510-60-510{
		
    --colWidth: 530px;
		flex: 0 1 530px;
		margin: 0;
	}
	.wp-block-columns.cols-430-150-430{
		grid-gap: 150px;
	}
	.wp-block-columns.cols-430-150-430 .wp-block-column{
		--colwidth: 430px;
		flex: 1 1 var(--colwidth);
		margin: 0;
	}
	.wp-block-columns.cols-270-90-660{
		grid-gap: 90px;
	}
	.wp-block-columns.cols-480{
		--colWidth: 480px;
	}
	.wp-block-columns.cols-580{
		--colWidth: 580px;
	}
	
}
.separatore-dida{
	border: 0;
	/*border-top: 1px solid var(--line-color);*/
	margin: 60px 0;
}
/* HOMEPAGE */
#HomeAboveWidget{
	height: 99.9vh;
}
#HomeAboveWidget section#media_image-3 {
    position: absolute;
    top: 50px;
    left: 70px;
}
#HomeAboveWidget #media_image-2{
	height: 100%;
}

#HomeAboveWidget section#media_image-2 img{
	height: 100% !important;
	width: 100%;
    object-fit: cover;
}
#down {
    position: absolute;
    bottom: 40px;
    left: 50%;
	animation: updown 2s infinite alternate;
}
@keyframes updown{
	0%{
		transform: translatey(-10px);
	}
	100%{
		transform: translatey(10px);
	}
}

div.white {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    overflow: hidden;
    max-height: 100vh;
}
.white img,
.owl-item,
.sa_hover_container{
    height: 100vh;
    max-height: 100vh;
    max-width: 100vw;
}

/* 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. */
@media (min-width: 660px){
	.custom-logo-link {
		display: inline-block;
	}
	.site-branding {
		margin-top: -15px;
		width: 210px;
	}
}
.site-branding img{
	height: 56px;
	width: auto;
}
/* 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
--------------------------------------------- */
div.gallery {
	position: relative;
	margin-bottom: 40px;
	display: grid;
	grid-template-rows: 99px 40px 80px;
	grid-template-columns: repeat(36, 33px);
    align-items: start;
	gap: 10px 0;
}
#post-5885 div.gallery{
	margin-bottom: 0px;
	grid-template-rows: 99px 20px 0px;
}
/*.gallery + .cols-3{
    height: 240px;
}*/
.cols-3 .wp-block-quote.is-style-large{
    width: 30%;
	max-width: 360px;
}
@media (min-width: 930px) and (max-width: 1200px){
	div.gallery {
		grid-template-columns: repeat(auto-fit, minmax(30px, 4%));
	}
}
@media (min-width: 690px) and (max-width: 930px){
	div.gallery {
		grid-template-columns: repeat(23, 30px);
	}
}
@media (min-width: 660px){
	.gallery::before {
		content: "";
		position: absolute;
		width: 200vw;
		border-top: 1px solid var(--line-color);
		height: 1px;
		left: -50vw;
		/*top: -2px;*/
	}
}
.gallery p{
	text-align: center;
    font: 1.2em/1 "eb Garamond", serif;
    margin: 0;
    color: #000;
    grid-row: 2 / 3;
    letter-spacing: 0.5px;
    font-variant: small-caps;
	opacity: 1;
	transition: 1s ease;
	/*font-style: italic;*/
}

.gallery a.onlyMobile{
	border-bottom: 1px solid;
}
@media (max-width: 700px){
	figure.wp-block-image.size-large.gallery-item{
		height: 0;
	}
}
.gallery-item, .gallery-item figure {
	display: inline-block;
	text-align: center;
	width: 100%;
    height: 100%;
    margin: 0;
    line-height: 0;
    box-sizing: content-box;
	overflow: hidden;
	grid-row: 1 / 2;
}
figure img{
	margin: 0;
}
.gallery-item > a > img,
.blocks-gallery-item img{
	transition: 1s ease;
	transform: scale(1);
}
/*.gallery-item:hover > a > img,
.blocks-gallery-item:hover img{
	transform: scale(1.2);
}*/
@media (min-width: 660px){
	.gallery-item a{
		display: inline-block;
		line-height: 0;
	}
}
.gallery-item{
	grid-column: span 3;
}

.first-column{
	grid-column: 1 / 4;
}
.second-column{
	grid-column: 5 / 8;
}
.third-column{
	grid-column: 9 / 12;
}
.fourth-column{
	grid-column: 13 / 16;
}
.fifth-column{
	grid-column: 17 / 20;
}
.sixth-column{
	grid-column: 21 / 24;
}
.seventh-column{
	grid-column: 25 / 28;
}
.eighth-column{
	grid-column: 29 / 32;
}
.ninth-column{
	grid-column: 33 / 36;
}
.tenth-column{
	grid-column: 37 / 40;
}
.eleventh-column{
	grid-column: 41 / 44;
}
.twelveth-column{
	grid-column: 45 / 48;
}

@media (min-width: 660px){
	/** only in preferiti di dady*/
	.page-id-715 div.gallery,
	.page-id-2730 div.gallery {
		display: grid;
		grid-template-rows: 75px 70px;
		grid-template-columns: repeat(47, 1fr);
	}
	.parent-pageid-715 .blocks-gallery-item .fancyboxforwp img,
	.parent-pageid-2730 .blocks-gallery-item .fancyboxforwp img{
		max-height: 60vh;
		object-fit: contain;
		object-position: left;
		transition: 0s;
	}
	.page-id-715 .wp-block-image.gallery-item img,
	.page-id-2730 .wp-block-image.size-large.gallery-item img{
		width: 75px !important;
		height: 75px !important;
	}
}
.subgallery .blocks-gallery-item img {
    width: 50px !important;
    height: 50px !important;
}
div.fancybox-bg{
	/*background-image: url("https://dadyorsi.com/wp-content/uploads/2021/04/redox_01.png"), radial-gradient(#eff2de, #ededb8) !important;*/
	background-color: #fff;
	background-blend-mode: multiply;
	background-size: cover !important;
}
.button-alignright{
	flex-direction: row-reverse;
    /*transform: translateY(-35px);*/
}
.prevnext {
    position: absolute;
    left: calc(50% - 40vw);
    top: 60vh;
    width: 80vw;
}
@media (max-width:1550px){
	.prevnext {
		left: 5vw;
		width: 100vw;
	}
}
@media (max-width: 960px){
	.wp-block-columns.cols-510-60-510 {
		grid-gap: 80px;
		grid-template-columns: 1fr 1fr;
	}
}
.prevnext .scrollButton{
	position: static;
}
.scrollButton{
    position: absolute;
    top: 10px;
	font-family: "Josefin Slab";
    font-size: 26px;
}

.scrollButton a{
	cursor: pointer;
	user-select: none;
	
    display: block;
    width: 30px;
	font-size: 0;

}
.prevnext div:last-child .scrollButton {
    display: flex;
    justify-content: flex-end;
}
.scrollButton-left{
    left: 0;
}
.scrollButton-right{
    right: 0;
}
.wp-block-button__link.no-border-radius{
	padding: 0;
	border: none;
}
.prevnext .wp-block-column:last-child p {
    text-align: right;
}
.parent-pageid-715 .entry-header{
    width: 50%;
    margin-left: 610px;
}
.prevnext > div:first-child a:before {
    content: "";
    background-image: url(https://dadyorsi.com/wp-content/uploads//2021/03/downB1.svg);
    width: 30px;
    height: 30px;
    background-size: contain;
    display: block;
    transform: rotate(90deg);
}
.prevnext > div:last-child a:after {
    content: "";
    background-image: url(https://dadyorsi.com/wp-content/uploads//2021/03/downB1.svg);
    width: 30px;
    height: 30px;
    background-size: contain;
    display: block;
    transform: rotate(-90deg);
    float: right;
}
/**/

.subgallery{
	display: grid;
	position: relative;
	margin-bottom: 1.5em;
	grid-gap: 1.5em;
    grid-column: 1 / -1;
    grid-row: 3 / 4;
    width: auto;
    margin: 0;
	opacity: 0;
	transition: 1s ease;
}
.subgallery .gallery-item{
	text-align: left;
	width: auto;
}
.subgallery .blocks-gallery-grid{
	display: inline-flex;
	flex-wrap: nowrap;
}
#disegni #disegni-subgallery,
#figura #figura-subgallery,
#eros #eros-subgallery,
#spazi #spazi-subgallery,
#animali #animali-subgallery,
#nature #nature-subgallery,
#vetro #vetro-subgallery,

#chexbres #chexbres-subgallery,
#lettere #lettere-subgallery,
#danza #danza-subgallery,
#muy #muy-subgallery,
#stanze #stanze-subgallery,

#scenografie #scenografie-subgallery,
#ferro #ferro-subgallery,
#torchio #torchio-subgallery{
	opacity: 1;
	z-index: 1;
}
.subgallery .blocks-gallery-item,
.subgallery .wp-block-gallery.is-cropped .blocks-gallery-item{
	flex: 0 0 50px;
	margin: 0;
}
.subgallery .blocks-gallery-grid{
	grid-gap: 14px;
/*     border-bottom: 1px solid var(--line-color); */
    overflow-x: auto;
    margin-left: 60px;
    width: 90%;
}
.subgallery .blocks-gallery-grid .blocks-gallery-item:first-child{
	padding-left: 30px;
    width: 50px;
    box-sizing: content-box;
}
.subgallery .blocks-gallery-grid .blocks-gallery-item:last-child{
	padding-right: 30px;
    width: 50px;
    box-sizing: content-box;
}
ul.blocks-gallery-grid::before,
ul.blocks-gallery-grid::after{
	font: 16px/1 "eb Garamond", serif;
    position: absolute;
    bottom: -3px;
}
ul.blocks-gallery-grid::before {
    content: attr(data-from);
    left: 0;
}
ul.blocks-gallery-grid::after {
    content: attr(data-to);
    right: 0;
}
.subgallery .blocks-gallery-grid::-webkit-scrollbar {
	display: none;
  }

#disegni .disegni,
#figura .figura,
#eros .eros,
#spazi .spazi,
#animali .animali,
#nature .nature,
#vetro .vetro,
#scenografie .scenografie,
#ferro .ferro,
#torchio .torchio{
	color: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
	justify-content: center;
	/*height: 90px;*/
}

/*.subgallery#figura:target ~ .figura::before,
.subgallery#figura:target ~ .figura::after,
.subgallery#segni:target ~ .segni::before,
.subgallery#segni:target ~ .segni::after,
.subgallery#still:target ~ .still::before,
.subgallery#still:target ~ .still::after,
.subgallery#preferiti:target ~ .preferiti::before,
.subgallery#preferiti:target ~ .preferiti::after,
.subgallery#spazi:target ~ .spazi::before,
.subgallery#spazi:target ~ .spazi::after,
.subgallery#vetri:target ~ .vetri::before,
.subgallery#vetri:target ~ .vetri::after{
	content: "";
	height: 15px;
	width: 0;
	border-left: 0.5px solid var(--line-color);
    margin: 3px;
}*/
#disegni .gallery-item a:not([href$="disegni"]) img,
#figura .gallery-item a:not([href$="figura"]) img,
#eros .gallery-item a:not([href$="eros"]) img,
#spazi .gallery-item a:not([href$="spazi"]) img,
#animali .gallery-item a:not([href$="animali"]) img,
#nature .gallery-item a:not([href$="nature"]) img,
#vetro .gallery-item a:not([href$="vetro"]) img,

#chexbres .gallery-item a:not([href$="chexbres"]) img,
#lettere .gallery-item a:not([href$="lettere"]) img,
#danza .gallery-item a:not([href$="danza"]) img,
#muy .gallery-item a:not([href$="muy"]) img,
#stanze .gallery-item a:not([href$="stanze"]) img,

#scenografie .gallery-item a:not([href$="scenografie"]) img,
#ferro .gallery-item a:not([href$="ferro"]) img,
#torchio .gallery-item a:not([href$="torchio"]) img{
	filter: opacity(0.2);
}
#disegni .gallery-item a[href*="disegni"] img,
#figura .gallery-item a[href*="figura"] img,
#eros .gallery-item a[href*="eros"] img,
#spazi .gallery-item a[href*="spazi"] img,
#animali .gallery-item a[href*="animali"] img,
#nature .gallery-item a[href*="nature"] img,
#vetro .gallery-item a[href*="vetro"] img,

#chexbres .gallery-item a[href*="chexbres"] img,
#lettere .gallery-item a[href*="lettere"] img,
#danza .gallery-item a[href*="danza"] img,
#muy .gallery-item a[href*="muy"] img,
#stanze .gallery-item a[href*="stanze"] img,

#scenografie .gallery-item a[href$="scenografie"] img,
#ferro .gallery-item a[href$="ferro"] img,
#torchio .gallery-item a[href$="torchio"] img{
	animation: opacify 1s forwards;
}
#page .gallery p a{
	filter: opactiy(1) !important;
}
#disegni p a:not([href$="disegni"]),
#figura p a:not([href$="figura"]),
#eros p a:not([href$="eros"]),
#spazi p a:not([href$="spazi"]),
#animali p a:not([href$="animali"]),
#nature p a:not([href$="nature"]),
#vetro p a:not([href$="vetro"]),

#chexbres p a:not([href$="chexbres"]),
#lettere p a:not([href$="lettere"]),
#danza p a:not([href$="danza"]),
#muy p a:not([href$="muy"]),
#stanze p a:not([href$="stanze"]),

#scenografie p a:not([href$="scenografie"]),
#ferro p a:not([href$="ferro"]),
#torchio p a:not([href$="torchio"]){
	filter: opacity(0.5);
}
@keyframes opacify{
	0%{
		opacity: 0.2;
	}
	100%{
		opacity: 1;
	}
}
.gallery-text{
	display: none;
}
#quadri-text,
#disegni #disegni-text,
#figura #figura-text,
#eros #eros-text,
#spazi #spazi-text,
#animali #animali-text,
#nature #nature-text,
#vetro #vetro-text,
#artifex-text,
#torchio #torchio-text,
#ferro #ferro-text,
#scenografie #scenografie-text,
#cicli-text,
#chexbres #chexbres-text,
#lettere #lettere-text,
#danza #danza-text,
#muy #muy-text,
#stanze #stanze-text
{
	display: block;
}

@media (min-width: 660px){
	#preferiti{
		height: 219px;
		gap: 10px 0;
	}
	#preferiti-text,
	#preferiti,
	#rosa #rosa-text,
	#gatti #gatti-text,
	#saltimbanchi #saltimbanchi-text,
	#donna #donna-text,
	#zoica #zoica-text,
	#civetta #civetta-text,
	#rotto #rotto-text,
	#calze #calze-text,
	#sole #sole-text,
	#nuotatore #nuotatore-text,
	#bronzetto #bronzetto-text,
	#occhio #occhio-text
	{
		display: grid;
	}
}
@media (max-width: 660px){
	#preferiti-text{
		display: block;
	}
	#preferiti{
		display: flex;
	}
}
#disegni #quadri-text,
#figura #quadri-text,
#eros #quadri-text,
#spazi #quadri-text,
#animali #quadri-text,
#nature #quadri-text,
#vetro #quadri-text,
#torchio #artifex-text,
#ferro #artifex-text,
#scenografie #artifex-text,

#chexbres #cicli-text,
#lettere #cicli-text,
#danza #cicli-text,
#muy #cicli-text,
#stanze #cicli-text,

#rosa #preferiti-text,
#gatti #preferiti-text,
#saltimbanchi #preferiti-text,
#donna #preferiti-text,
#zoica #preferiti-text,
#civetta #preferiti-text,
#rotto #preferiti-text,
#calze #preferiti-text,
#sole #preferiti-text,
#nuotatore #preferiti-text,
#bronzetto #preferiti-text,
#occhio #preferiti-text{
	display: none;
}

/**/

div.fancybox-stage {
	background-color: hsl(0deg 0% 12%) !important;
    /*background-color: rgba(255,255,255,1) !important;*/
}
.fancybox-caption.fancybox-caption--separate{
    padding: 0;
    margin: 0;
    background: none;
    line-height: 1;
    z-index: 99999;
    transform: translateY(0.5em) translatex(calc(50vw - 225px));
	width: 450px;
}

div.fancybox-caption p.caption-title{
    padding: 34px 0px !important;
}
div.fancybox-caption.fancybox-caption--separate p.caption-title{
    color: #cccccc !important;
    font-size: 17px;
}
.fancybox-caption::before{
	display: none;
}
div.fancybox-caption div.fancybox-caption__body p.caption-title {
    background: none;
    /*transform: translateY(0.5em);*/
    font-family: 'eb Garamond', serif;
    font-size: 1em;
    text-align: center;
}
.fancybox-custom-caption + .fancybox-button{
    display: none;
}

.fancybox-inner{
	z-index: 1;
}
.fancybox-slide--image .fancybox-content{
	background-color: transparent !important;
}
img.fancybox-image{
	border: none !important;
	/*cursor: zoom-in;*/
	
    max-height: 85vh;
}
.fancybox-slide--image{
	padding: 44px !important;
}
button.fancybox-button--zoom,
button.fancybox-button--play,
button.fancybox-button--thumbs,
.fancybox-infobar
{
	display: none !important;
}
.fancybox-button--arrow_right,
.fancybox-button--arrow_left,
.fancybox-button--close{
    background: rgba(30, 30, 30, 0.0);
}
.fancybox-button--close{
	height: 35px;
	width: 35px;
	padding: 10px;
    right: calc((130vw - 1155px) / 4);
	top: 40px;
	transform: scale(1.1);
}

/* 
 * close: '<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}">' +
        '<svg id="close" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 20.98 20.98"><defs><style>.cls-1,.cls-3{fill:none;}.cls-2{clip-path:url(#clip-path);}.cls-3{stroke:#cccccc;stroke-width:1px;}</style><clipPath id="clip-path"><rect class="cls-1" width="20.98" height="20.98"/></clipPath></defs><g class="cls-2"><line class="cls-3" x1="20.62" y1="0.35" x2="0.35" y2="20.62"/><line class="cls-3" x1="0.35" y1="0.35" x2="20.62" y2="20.62"/></g></svg>' +
        "</button>",

      // Arrows
      arrowLeft: '<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}">' +
        '<div><svg id="arrowleft" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 17.41 22.58"><defs><style>.cls-1,.cls-3{fill:none;}.cls-2{clip-path:url(#clip-path);}.cls-3{stroke:#cccccc;stroke-width:1px;}</style><clipPath id="clip-path"><rect class="cls-1" width="17.41" height="22.58"/></clipPath></defs><g class="cls-2"><polyline class="cls-3" points="17.27 21 0.46 11.19 17.27 0.21"/></g></svg></div>' +
        "</button>",

      arrowRight: '<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}">' +
        '<div><svg id="arrowright" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 17.41 22.58"><defs><style>.cls-1,.cls-3{fill:none;}.cls-2{clip-path:url(#clip-path);}.cls-3{stroke:#cccccc;stroke-width:1px;}</style><clipPath id="clip-path"><rect class="cls-1" width="17.41" height="22.58"/></clipPath></defs><g class="cls-2"><polyline class="cls-3" points="0.14 0.21 16.95 11.39 0.14 21"/></g></svg></div>' +
        "</button>",

 * */

.fancybox-stage{
	background: #000;
}
body.fancybox-active .fancybox-container .fancybox-stage .fancybox-content .fancybox-close-small{
	display: none !important;
}
.fancybox-navigation .fancybox-button--arrow_right{
    right: calc((100vw / 2) - 350px);
	transform: scale(0.9);
}
.fancybox-navigation .fancybox-button--arrow_left{
	left: calc((100vw / 2) - 350px);
	transform: scale(0.9);
}
.fancybox-navigation .fancybox-button{
	top: auto;
	bottom: -8px;
}
.fancybox-button, .fancybox-button:visited, .fancybox-button:link {
    color: #fff;
}


.fancybox-thumbs.fancybox-thumbs-y {
    width: 100vw;
    top: auto;
    left: 0;
	z-index: 0;
}

.fancybox-thumbs__list a {
    width: 40px;
    height: 40px;
    opacity: 0.2;
}
a.fancybox-thumbs-active:before {
    display: none;
}

a.fancybox-thumbs-active {
    opacity: 1;
}
.fancybox-show-thumbs .fancybox-inner {
    right: 0;
}
.fancybox-thumbs__list{
    display: flex;
    justify-content: center;
}
.fancybox-thumbs {
    background: transparent;
}

img.fancybox-image,
.parent-pageid-715 .fancyboxforwp img{
    /*box-shadow: 3px 3px 5px rgb(0 0 0 / 50%) !important;*/
}
.fancybox-image, .fancybox-spaceball{
    object-fit: unset;
}

/* GALLERIES | hide-galleries */
a.hide-galleries {
    display: none;
    position: relative;
    grid-column: 1 / -1;
    grid-row: 1 / 3;
    background: #fff;
    z-index: 1;
    height: 100%;
    translate: 0 1px;
}
a.hide-galleries::before {
    display: block;
    content: "";
    background-color: transparent;
    height: 4em;
    translate: 0 -4em;
}
a.hide-galleries img {
    height: 20px;
    width: 20px;
    rotate: 0 0 1 90deg;
    vertical-align: bottom;
}

:is(#disegni, #figura, #eros, #spazi, #animali, #nature, #vetro, #torchio, #ferro, #scenografie, 
#chexbres, #lettere, #danza, #muy, #stanze) a.hide-galleries {/*
	display: block;*/
}
/* .page-id-5885 h1.entry-title::before {
    content: "< in dietro";
    position: absolute;
    top: -20px;
    font-size: 15px;
} */
.page-id-5885 :is(#disegni, #figura, #eros, #spazi, #animali, #nature, #vetro, #torchio, #ferro, #scenografie, 
#chexbres, #lettere, #danza, #muy, #stanze) h1.entry-title {
	font-weight: 900;
	color: #000;
}
.page-id-5885 :is(#disegni, #figura, #eros, #spazi, #animali, #nature, #vetro) a.hide-galleries{
	display: block;
}
.page-id-5885 :is(#disegni, #figura, #eros, #spazi, #animali, #nature, #vetro) #post-5885 [class$="subgallery"]{
	translate: 0 -120px 0;
    z-index: 2;
}
.parent-pageid-715 .entry-header{
	display: none;	
}
/* h1.entry-title#actual-title::after {
    content: " | " attr(data-title);
	text-transform: capitalize;
} */
h1.entry-title{
	display: flex;
}
.page-id-5885 #disegni h1.entry-title::after {
    content: " ≫ Segni";
	font-weight: 300;
}
.page-id-5885 #disegni h1.entry-title::before {
    content: "⤫";
	margin-left: 1em;
    order: 1;
}
/* #disegni h1.entry-title::after {
    content: " | Segni";
	font-weight: 300;
}
#figura h1.entry-title::after {
    content: " | Figura umana";
}
#eros h1.entry-title::after {
    content: " | Eros";
}
#spazi h1.entry-title::after {
    content: " | Spazi naturali";
}
#animali h1.entry-title::after {
    content: " | Animali";
}
#nature h1.entry-title::after {
    content: " | Nature morte";
}
#vetro h1.entry-title::after {
    content: " | Sotto vetro";
}
#torchio h1.entry-title::after {
    content: " | Torchio";
}
#ferro h1.entry-title::after {
    content: " | Ferro Legno Vetro";
}
#scenografie h1.entry-title::after {
    content: " | Scenografie";
}
#chexbres h1.entry-title::after {
    content: " | Le storie del vangelo";
}
#lettere h1.entry-title::after {
    content: " | Lettere dal futuro";
}
#danza h1.entry-title::after {
    content: " | Danza macabra";
}
#muy h1.entry-title::after {
    content: " | Omaggio a Muybridge";
}
#stanze h1.entry-title::after {
    content: " | Le stanze del museo";
} */
/* mostre */
@media (max-width: 660px){
	:is(.parent-pageid-14, .parent-pageid-2711) :is(.wp-block-column, h2) {
		margin: 0 !important;
	}
	
	:is(.parent-pageid-14, .parent-pageid-2711) .wp-block-columns {
		gap: 1em !important;
	}
	#mostre-invites + .scrollable{
		height: auto;
		overflow: visible;
	}
	#mostre-invites + div label {
		margin: 1em 0;
		display: block;
	}
	#mostre-invites {
		display: none;
		background: #fff;
		inset: 70px 7vw 0;
		position: fixed;
		justify-content: center;
		align-items: center;
	}
	input[name="mostre"]:not(#closemostre):checked ~ .wp-block-columns #mostre-invites{
		display: flex;
	}
	#mostre-invites #close {
		position: absolute;
    	font-family: "Josefin Slab";
		font-size: 30px;
		font-weight: 100;
		right: 0;
		top: 32px;
	}
	:is(.page-id-36, .page-id-2685) .scrollable{
    	height: 56vh;
	}
	:is(.page-id-36, .page-id-2685) .shaded{
		height: 100%;
		flex-direction: column;
	}
	:is(.page-id-36, .page-id-2685) .shaded img{
		object-fit: contain;
    	height: 90%;
		order: 1;
	}
	
	:is(.page-id-36, .page-id-2685) .shaded figcaption{
		width: 80%;
    	margin: 30px 0 10px;
		font-size: 20px;
	}
}

@media (min-width: 660px){
	#closemostre:checked ~ .wp-block-columns .ad{
		opacity: 1;
	}
	:is(.page-id-36, .page-id-2685) .entry-content{
		height: 550px;
		overflow: hidden;
	}
	:is(.page-id-36, .page-id-2685) .entry-content .wp-block-column:last-child{
		margin-left: 90px;
	}
	
	:is(.page-id-36, .page-id-2685) .wp-block-column:first-child {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	:is(.page-id-36, .page-id-2685) .wp-block-columns{
		margin-bottom: 0;
	}
	:is(.page-id-36, .page-id-2685) .wp-block-columns label{
		display: block;
		line-height: 2;
	}
	:is(.page-id-36, .page-id-2685) .wp-block-columns img{
		max-height: 540px;
	}
	:is(.page-id-36, .page-id-2685) .shaded{
		opacity: 0;
		position: absolute;
		transition: 1s ease;
		max-width: 580px;
	}
	
	:is(.page-id-36, .page-id-2685) .shaded figcaption{
		display: none;
	}
}
input[name="mostre"]
{
	display: none;
}
	input#aa:checked ~ .wp-block-columns .aa,
	input#ab:checked ~ .wp-block-columns .ab,
	input#ac:checked ~ .wp-block-columns .ac,
	input#ad:checked ~ .wp-block-columns .ad,
	input#ae:checked ~ .wp-block-columns .ae,
	input#af:checked ~ .wp-block-columns .af,
	input#ag:checked ~ .wp-block-columns .ag,
	input#ah:checked ~ .wp-block-columns .ah,
	input#ai:checked ~ .wp-block-columns .ai,
	input#aj:checked ~ .wp-block-columns .aj,
	input#ak:checked ~ .wp-block-columns .ak,
	input#al:checked ~ .wp-block-columns .al,
	input#am:checked ~ .wp-block-columns .am,
	input#an:checked ~ .wp-block-columns .an,
	input#ao:checked ~ .wp-block-columns .ao,
	input#ap:checked ~ .wp-block-columns .ap,
	input#aq:checked ~ .wp-block-columns .aq,
	input#ar:checked ~ .wp-block-columns .ar,
	input#as:checked ~ .wp-block-columns .as,
	input#at:checked ~ .wp-block-columns .at,
	input#au:checked ~ .wp-block-columns .au,
	input#av:checked ~ .wp-block-columns .av,
	input#aw:checked ~ .wp-block-columns .aw,
	input#ax:checked ~ .wp-block-columns .ax,
	input#ay:checked ~ .wp-block-columns .ay,
	input#az:checked ~ .wp-block-columns .az,
	input#ba:checked ~ .wp-block-columns .ba,
	input#bb:checked ~ .wp-block-columns .bb,
	input#bc:checked ~ .wp-block-columns .bc,
	input#bd:checked ~ .wp-block-columns .bd,
	input#be:checked ~ .wp-block-columns .be,
	input#bf:checked ~ .wp-block-columns .bf,
	input#bg:checked ~ .wp-block-columns .bg,
	input#bh:checked ~ .wp-block-columns .bh,
	input#bi:checked ~ .wp-block-columns .bi,
	input#bj:checked ~ .wp-block-columns .bj,
	input#bk:checked ~ .wp-block-columns .bk,
	input#bl:checked ~ .wp-block-columns .bl,
	input#bm:checked ~ .wp-block-columns .bm,
	input#bn:checked ~ .wp-block-columns .bn,
	input#bo:checked ~ .wp-block-columns .bo,
	input#bp:checked ~ .wp-block-columns .bp,
	input#bq:checked ~ .wp-block-columns .bq,
	input#br:checked ~ .wp-block-columns .br,
	input#bs:checked ~ .wp-block-columns .bs,
	input#bt:checked ~ .wp-block-columns .bt,
	input#bu:checked ~ .wp-block-columns .bu,
	input#bv:checked ~ .wp-block-columns .bv,
	input#bw:checked ~ .wp-block-columns .bw,
	input#bx:checked ~ .wp-block-columns .bx,
	input#by:checked ~ .wp-block-columns .by,
	input#bz:checked ~ .wp-block-columns .bz,
	input#ca:checked ~ .wp-block-columns .ca,
	input#cb:checked ~ .wp-block-columns .cb,
	input#cc:checked ~ .wp-block-columns .cc,
	input#cd:checked ~ .wp-block-columns .cd,
	input#ce:checked ~ .wp-block-columns .ce,
	input#cf:checked ~ .wp-block-columns .cf,
	input#cg:checked ~ .wp-block-columns .cg,
	input#ch:checked ~ .wp-block-columns .ch,
	input#ci:checked ~ .wp-block-columns .ci,
	input#cj:checked ~ .wp-block-columns .cj,
	input#ck:checked ~ .wp-block-columns .ck,
	input#cl:checked ~ .wp-block-columns .cl,
	input#cm:checked ~ .wp-block-columns .cm{
		opacity: 1;
	}
@media (max-width: 660px){
	:is(.page-id-36, .page-id-2685) .shaded{
		display: none;
	}
	input#aa:checked ~ .wp-block-columns .aa,
	input#ab:checked ~ .wp-block-columns .ab,
	input#ac:checked ~ .wp-block-columns .ac,
	input#ad:checked ~ .wp-block-columns .ad,
	input#ae:checked ~ .wp-block-columns .ae,
	input#af:checked ~ .wp-block-columns .af,
	input#ag:checked ~ .wp-block-columns .ag,
	input#ah:checked ~ .wp-block-columns .ah,
	input#ai:checked ~ .wp-block-columns .ai,
	input#aj:checked ~ .wp-block-columns .aj,
	input#ak:checked ~ .wp-block-columns .ak,
	input#al:checked ~ .wp-block-columns .al,
	input#am:checked ~ .wp-block-columns .am,
	input#an:checked ~ .wp-block-columns .an,
	input#ao:checked ~ .wp-block-columns .ao,
	input#ap:checked ~ .wp-block-columns .ap,
	input#aq:checked ~ .wp-block-columns .aq,
	input#ar:checked ~ .wp-block-columns .ar,
	input#as:checked ~ .wp-block-columns .as,
	input#at:checked ~ .wp-block-columns .at,
	input#au:checked ~ .wp-block-columns .au,
	input#av:checked ~ .wp-block-columns .av,
	input#aw:checked ~ .wp-block-columns .aw,
	input#ax:checked ~ .wp-block-columns .ax,
	input#ay:checked ~ .wp-block-columns .ay,
	input#az:checked ~ .wp-block-columns .az,
	input#ba:checked ~ .wp-block-columns .ba,
	input#bb:checked ~ .wp-block-columns .bb,
	input#bc:checked ~ .wp-block-columns .bc,
	input#bd:checked ~ .wp-block-columns .bd,
	input#be:checked ~ .wp-block-columns .be,
	input#bf:checked ~ .wp-block-columns .bf,
	input#bg:checked ~ .wp-block-columns .bg,
	input#bh:checked ~ .wp-block-columns .bh,
	input#bi:checked ~ .wp-block-columns .bi,
	input#bj:checked ~ .wp-block-columns .bj,
	input#bk:checked ~ .wp-block-columns .bk,
	input#bl:checked ~ .wp-block-columns .bl,
	input#bm:checked ~ .wp-block-columns .bm,
	input#bn:checked ~ .wp-block-columns .bn,
	input#bo:checked ~ .wp-block-columns .bo,
	input#bp:checked ~ .wp-block-columns .bp,
	input#bq:checked ~ .wp-block-columns .bq,
	input#br:checked ~ .wp-block-columns .br,
	input#bs:checked ~ .wp-block-columns .bs,
	input#bt:checked ~ .wp-block-columns .bt,
	input#bu:checked ~ .wp-block-columns .bu,
	input#bv:checked ~ .wp-block-columns .bv,
	input#bw:checked ~ .wp-block-columns .bw,
	input#bx:checked ~ .wp-block-columns .bx,
	input#by:checked ~ .wp-block-columns .by,
	input#bz:checked ~ .wp-block-columns .bz,
	input#ca:checked ~ .wp-block-columns .ca,
	input#cb:checked ~ .wp-block-columns .cb,
	input#cc:checked ~ .wp-block-columns .cc,
	input#cd:checked ~ .wp-block-columns .cd,
	input#ce:checked ~ .wp-block-columns .ce,
	input#cf:checked ~ .wp-block-columns .cf,
	input#cg:checked ~ .wp-block-columns .cg,
	input#ch:checked ~ .wp-block-columns .ch,
	input#ci:checked ~ .wp-block-columns .ci,
	input#cj:checked ~ .wp-block-columns .cj,
	input#ck:checked ~ .wp-block-columns .ck,
	input#cl:checked ~ .wp-block-columns .cl,
	input#cm:checked ~ .wp-block-columns .cm{
		display: flex;
	}
}
input#aa:checked ~ .wp-block-columns label[for="aa"],
input#ab:checked ~ .wp-block-columns label[for="ab"],
input#ac:checked ~ .wp-block-columns label[for="ac"],
input#ad:checked ~ .wp-block-columns label[for="ad"],
input#ae:checked ~ .wp-block-columns label[for="ae"],
input#af:checked ~ .wp-block-columns label[for="af"],
input#ag:checked ~ .wp-block-columns label[for="ag"],
input#ah:checked ~ .wp-block-columns label[for="ah"],
input#ai:checked ~ .wp-block-columns label[for="ai"],
input#aj:checked ~ .wp-block-columns label[for="aj"],
input#ak:checked ~ .wp-block-columns label[for="ak"],
input#al:checked ~ .wp-block-columns label[for="al"],
input#am:checked ~ .wp-block-columns label[for="am"],
input#an:checked ~ .wp-block-columns label[for="an"],
input#ao:checked ~ .wp-block-columns label[for="ao"],
input#ap:checked ~ .wp-block-columns label[for="ap"],
input#aq:checked ~ .wp-block-columns label[for="aq"],
input#ar:checked ~ .wp-block-columns label[for="ar"],
input#as:checked ~ .wp-block-columns label[for="as"],
input#at:checked ~ .wp-block-columns label[for="at"],
input#au:checked ~ .wp-block-columns label[for="au"],
input#av:checked ~ .wp-block-columns label[for="av"],
input#aw:checked ~ .wp-block-columns label[for="aw"],
input#ax:checked ~ .wp-block-columns label[for="ax"],
input#ay:checked ~ .wp-block-columns label[for="ay"],
input#az:checked ~ .wp-block-columns label[for="az"],
input#ba:checked ~ .wp-block-columns label[for="ba"],
input#bb:checked ~ .wp-block-columns label[for="bb"],
input#bc:checked ~ .wp-block-columns label[for="bc"],
input#bd:checked ~ .wp-block-columns label[for="bd"],
input#be:checked ~ .wp-block-columns label[for="be"],
input#bf:checked ~ .wp-block-columns label[for="bf"],
input#bg:checked ~ .wp-block-columns label[for="bg"],
input#bh:checked ~ .wp-block-columns label[for="bh"],
input#bi:checked ~ .wp-block-columns label[for="bi"],
input#bj:checked ~ .wp-block-columns label[for="bj"],
input#bk:checked ~ .wp-block-columns label[for="bk"],
input#bl:checked ~ .wp-block-columns label[for="bl"],
input#bm:checked ~ .wp-block-columns label[for="bm"],
input#bn:checked ~ .wp-block-columns label[for="bn"],
input#bo:checked ~ .wp-block-columns label[for="bo"],
input#bp:checked ~ .wp-block-columns label[for="bp"],
input#bq:checked ~ .wp-block-columns label[for="bq"],
input#br:checked ~ .wp-block-columns label[for="br"],
input#bs:checked ~ .wp-block-columns label[for="bs"],
input#bt:checked ~ .wp-block-columns label[for="bt"],
input#bu:checked ~ .wp-block-columns label[for="bu"],
input#bv:checked ~ .wp-block-columns label[for="bv"],
input#bw:checked ~ .wp-block-columns label[for="bw"],
input#bx:checked ~ .wp-block-columns label[for="bx"],
input#by:checked ~ .wp-block-columns label[for="by"],
input#bz:checked ~ .wp-block-columns label[for="bz"],
input#ca:checked ~ .wp-block-columns label[for="ca"],
input#cb:checked ~ .wp-block-columns label[for="cb"],
input#cc:checked ~ .wp-block-columns label[for="cc"],
input#cd:checked ~ .wp-block-columns label[for="cd"],
input#ce:checked ~ .wp-block-columns label[for="ce"],
input#cf:checked ~ .wp-block-columns label[for="cf"],
input#cg:checked ~ .wp-block-columns label[for="cg"],
input#ch:checked ~ .wp-block-columns label[for="ch"],
input#ci:checked ~ .wp-block-columns label[for="ci"],
input#cj:checked ~ .wp-block-columns label[for="cj"],
input#ck:checked ~ .wp-block-columns label[for="ck"],
input#cl:checked ~ .wp-block-columns label[for="cl"],
input#cm:checked ~ .wp-block-columns label[for="cm"]{
    color: red;
}
label.xx{
    font-weight: 900;
	cursor:pointer;
	transition: 0.2s;
}
label.xx:hover{
	color: #636363;
}

/*--------------------------------------------------------------
# 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;
	clip: auto !important;
	clip-path: none;
	color: #000;
	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;
}


/* BIO */
.linkToFullBio a{
    font-size: 17px;
	letter-spacing: 0;
	color: var(--text-color);
	font-variant: small-caps;
	letter-spacing: 1px;
}
[id^="nota"]{
	scroll-margin: 100px;
}

[id^="nota"]:target{
	animation: tempHighlight 3s forwards;
}
@keyframes tempHighlight{
	0%{
		background-color: #ff0;
	}
	100%{
		background-color: transparent;
	}
}
a.backToTop {
	display: none;
    position: sticky;
    top: calc(100vh - 50px);
    font-size: 4em;
    left: 100vw;
    width: 1.2em;
    cursor: pointer;
}
a.backToTop img {
	transform: rotate(180deg);
    /*rotate: 180deg;*/
}
[id^="nota"]:target ~ a.backToTop{
    display: inline-block;
}
#textElem{
	height: 555px;
}
#textElem p{
	margin: 0;
	text-indent: 1em;
}
#textElem .wp-block-spacer{
	height: 2em !important;
}
#textElem a{
	/*text-decoration: underline;*/
	font-style: italic;
	font-variant: small-caps;
	color: var(--main-color);
}
#imgElem{
	width:510px;
	height:555px;
	transition: background-image 0.5s ease-in-out;
    background-size: contain;
    background-repeat: no-repeat;
}
.shaded img{
	/*box-shadow: 2px 2px 5px rgb(0 0 0 / 50%);*/
}
@media (max-width: 660px){
	:is(.page-id-3071, .page-id-3968) :is(.didascalia, figcaption, figure){
		display: none !important;
	}
}
@media (min-width: 660px){
	.page-id-715 .gallery-text > p{
		column-count: 3;
	}
	.page-id-715 .gallery-text .wp-block-quote{
		width: 380px;
	}
}
/* home slider */
div[data-slide-index="6"] img{
	height: 100vh !important;
	
    object-fit: cover !important;
}

.wpcf7-list-item{
	margin: 0;
}

/* memorie */
@media (max-width: 660px){
	#post-14 .entry-content > .wp-block-columns:last-child{
		display: flex;
		flex-direction: column-reverse;
		gap: 40px;
	}
	#keepReading{
		margin-top: 0;
		margin-bottom: 30px;
	}
	#keepReading a{
		color: var(--link-color);
		font-variant: initial;
    	font-style: initial;
	}
	#keepReading ~ p{
		display: none;
	}
	
	#keepReading:target{
		display: none;
	}
	
	#keepReading,
	#keepReading:target ~ p{
		display: block;
	}
	.parent-pageid-14 .wp-block-column {
		margin: 1em 0;
	}
}

@media (min-width: 660px){
	.threebythree{
		width: 430px;
		height: 430px;
	}
	#keepReading{
		display: none;
	}
}
.threebythree{
  display: flex;
  justify-content: space-between;
  align-content: space-between;
  flex-wrap: wrap;
}
.threebythree .spacer{
  height: 120px;
  width: 120px;
}
.threebythree span{
	opacity: 1;
	margin-bottom: 1.7em;
    margin-top: 0.5em;
	font-size: 1.4em;
    width: 120px;
    text-align: center;
}
.threebythree a{
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transition: 0.5s 0.2s;
}
@media (min-width: 660px){
	.threebythree span{
		opacity: 0;
  		transition: 0.5s 0.2s;
   		margin-bottom: 0.7em;
		font-size: 1em;
	}
}
@media (max-width: 660px){
	.threebythree{
		display: block;
		width: 100%;
	}
	.threebythree .spacer{
		display: none;
	}
	.threebythree img {
		width: 100%;
		height: 120px;
		object-fit: contain;
		background: #ddd;
	}
	.threebythree span{
		width: 100%;
	}
}
/*.threebythree a img{
	box-shadow: 3px 3px 3px rgba(0,0,0,0.5);
}*/
.threebythree:hover a{
  transition: 0.5s;
  opacity: 0.3;
}
.threebythree a:hover,
.threebythree a:hover span{
  opacity: 1;
  transition: 0.5s;
}
.indent{
	text-indent: 2em;
}
.threebythree span{
	font-variant: small-caps;
}
/** memorie mobile **/
@media (max-width: 1024px) and (min-width: 660px){
	#post-14 .wp-block-columns{
		display: block;
	}
	
	#post-14 .wp-block-columns .wp-block-column{
		margin-bottom: 100px;
	}
	
}

.flex{
	display: flex;
}
.Vcenter{
    display: flex;
    align-items: center;
}
.Vbot{
    display: flex;
    align-items: flex-end;
}
.Vbot-self{
    align-self: flex-end;
}
.Hright{	
    justify-content: flex-end;
}
.grid{
	display: grid;
}
.grid-2-1{
	grid: auto auto / auto;
}
.grid-3-1{
	grid: auto auto auto / auto;
}
.grid .toTop{
	align-self: start;
}
.grid .toCenter{
	align-self: center;
}

.grid .toBot{
	align-self: end;	
    margin-bottom: 10px;
}
.marginbot10{
	margin-bottom: 10px;
}
.marginbot40{
	margin-bottom: 40px;
}
.midGap{
    gap: calc(100% - (var(--colWidth) * 2));
	/*gap: 168px;*/
}
.tl, .bl, .tr, .br,
.tl figure, .bl figure, .tr figure, .br figure{
	position: relative;
}

.wp-block-gallery.has-nested-images figure.wp-block-image.tl figcaption,
.tl figcaption {
	display: block;
    position: absolute;
    top: -2em;
    left: 0;
    overflow: hidden;
	color: var(--text-color);
    text-align: left;
	padding: 0;
	margin: 0;
}
:is(.parent-pageid-14, .parent-pageid-2711).wp-block-gallery .blocks-gallery-item figcaption,
.wp-block-gallery.has-nested-images figure.wp-block-image.bl figcaption,
.bl figcaption {
	display: block !important;
    position: absolute;
    bottom: -2em;
    left: 0;
    overflow: hidden;
	color: var(--text-color);
    text-align: left;
	padding: 0;
	margin: 0;
}

/*:is(.parent-pageid-14, .parent-pageid-2711) .wp-block-gallery .blocks-gallery-item figcaption{
    bottom: -1.2em;
}*/

.wp-block-gallery.has-nested-images figure.wp-block-image.tr figcaption,
.tr figcaption {
	display: block;
    position: absolute;
    top: -2em;
    right: 0;
    overflow: hidden;
	color: var(--text-color);
    text-align: right;
	padding: 0;
	margin: 0;
}

.wp-block-gallery.has-nested-images figure.wp-block-image.br figcaption,
.br figcaption {
	display: block;
    position: absolute;
    bottom: -2em;
    right: 0;
    overflow: hidden;
	color: var(--text-color);
    text-align: right;
	padding: 0;
	margin: 0;
}
.photospace {
    gap: 17px;
}
.top2 figure,
.top3 figure{
	position: relative;
}
.top3 li:nth-of-type(1) figcaption,
.top3 li:nth-of-type(2) figcaption,
.top3 li:nth-of-type(3) figcaption{
    position: absolute;
    top: -60px;
    left: -10px;
    text-align: left;
    color: #000 !important;
	display: block;
}
.top3 li:nth-of-type(4) figcaption,
.top3 li:nth-of-type(5) figcaption{
    position: absolute;
    bottom: -30px;
    left: -10px;
    text-align: left;
    color: #000 !important;
	display: block;
}
.top2 li:nth-of-type(1) figcaption,
.top2 li:nth-of-type(2) figcaption{
    position: absolute;
    top: -60px;
    left: -10px;
    text-align: left;
    color: #000 !important;
	display: block;
}
.top2 li:nth-of-type(3) figcaption,
.top2 li:nth-of-type(4) figcaption{
    position: absolute;
    bottom: -30px;
    left: -10px;
    text-align: left;
    color: #000 !important;
	display: block;
}
.bot2 li:nth-of-type(1) figcaption,
.bot2 li:nth-of-type(2) figcaption{
    position: absolute;
    bottom: -30px;
    left: -10px;
    text-align: left;
    color: #000 !important;
	display: block;
}
figcaption#captionElem,
p.caption-title {
    font-variant: small-caps;
    color: #313131 !important;

}
figcaption.blocks-gallery-item__caption{
	display: none;
    overflow: hidden !important;
}
.blocks-gallery-grid .blocks-gallery-image figcaption, .blocks-gallery-grid .blocks-gallery-item figcaption, .wp-block-gallery .blocks-gallery-image figcaption, .wp-block-gallery .blocks-gallery-item figcaption {
    background: none;
	}
.line{    
	position: relative;
    /*margin-bottom: 30px;*/
    /*height: 180px !important;*/
}
.line:before {
    border-top: 1px solid var(--line-color);
    content: "";
    width: 100%;
    height: 0;
    display: block;
    top: 50%;
    position: absolute;
}
.line-left:before{
    right: 0;
    width: 50vw;
}
.line-right:before{
    left: 0;
    width: 50vw;
}
.wp-block-separator {
    margin: 50px auto;
    border-bottom: 0 solid;
}
.nomargin {
    margin: 0;
}

/* temp */
#gallery-stanze + p {
    transform: translatey(10px) translatex(90px);
    color: red;
    font-size: 1.5em;
}
#gallery-stanze a{
	/*pointer-events: none;*/
}
/*.page-id-63 img[src*="Stanza"].fancybox-image{
	filter: grayscale(1);
}*/
/** gap **/
@media (max-width: 1200px){
	.midGap{
		gap: 70px;
	}
}
#dida1819.didascalia li{
    font-size: 1.17em;
}
#dida2025.didascalia li{
    font-size: 1.1em;
}

/* hide memorie submenu */
#menu-item-2850 ul, #menu-item-22 ul{
	display: none;
}
.is-vertically-aligned-center hr.wp-block-separator.is-style-wide,
.is-vertically-aligned-center p{
	margin: 0;
}
/* only mobile/desktop */

@media (min-width: 660px){
	.onlyMobile{
		display: none !important;
	}
}
/*.onlyDesktop{
	display: revert !important;
}*/

@media (max-width: 660px){
	div#downed{
		gap: 40px;
		margin: 0;
	}
	.margin-top-30{
		margin-top: 40px;
	}
	.cols-480 .margin-top-30 p{
		margin: 0;
	}
	p, li{
		text-align: left !important;
	}
	.main-navigation ul ul.sub-menu{
		position: static;
		opacity: 1;
	}
	.onlyDesktop{
		display: none !important;
	}
	.line{
		display: none;
	}
	header.entry-header{
		padding: 0 0 20px 0;
		margin: 40px 0;
		border-bottom: 1px solid #000;
	}
	h2.entry-header-lower{
		padding: 0 0 30px 0;
		border-bottom: 1px solid #ddd;
		margin: 30px 0;
	}
	h1.entry-title {
		font-size: 27px;
	}
	.mobileTitle{
		display: block;
		color: #000;
		font-size: 1.2em;
		font-weight: 100;
	}
	/* opere */
	.parent-pageid-12 .entry-content {
		display: flex;
		flex-wrap: wrap;
	}
	.entry-content > .gallery {
		order: 1;
		display: flex;
		flex-wrap: wrap;
	}
	div.gallery{
		margin: 0;
		gap: 0;
	}
	blockquote.wp-block-quote.is-style-large p,
	.wp-block-quote.is-style-large{
    	text-align: right !important;
		font-style: italic;
	}
	.gallery-text > p,
	blockquote + p{
		/*height: 30vh;
		overflow: auto;
    	padding-right: 1em;*/
		margin-top: 30px;
	}
	.gallery > p{
		flex: 1;
	}
	.gallery p{
		font-size: 1.8em;
		margin: 5px 0 30px;
	}
	.cols-3 .wp-block-quote.is-style-large{
		width: 100%;
		max-width: none;
	}
	.gallery .subgallery {
		display: none;
	}
	.gallery-item {
		display: block;
		height: 63px;
	}
	.subgallery ~ figure a, .subgallery ~ figure img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	figure.first-column{
		order: 1;
	}
	p.first-column{
		order: 2;
	}
	figure.second-column{
		order: 3;
	}
	p.second-column{
		order: 4;
	}
	figure.third-column{
		order: 5;
	}
	p.third-column{
		order: 6;
	}
	figure.fourth-column{
		order: 7;
	}
	p.fourth-column{
		order: 8;
	}
	figure.fifth-column{
		order: 9;
	}
	p.fifth-column{
		order: 10;
	}
	figure.sixth-column{
		order: 11;
	}
	p.sixth-column{
		order: 12;
	}
	figure.seventh-column{
		order: 13;
	}
	p.seventh-column{
		order: 14;
	}
	figure.eighth-column{
		order: 15;
	}
	p.eighth-column{
		order: 16;
	}
	figure.ninth-column{
		order: 17;
	}
	p.ninth-column{
		order: 18;
	}
	figure.tenth-column{
		order: 19;
	}
	p.tenth-column{
		order: 20;
	}
	figure.eleventh-column{
		order: 21;
	}
	p.eleventh-column{
		order: 22;
	}
	figure.twelveth-column{
		order: 23;
	}
	p.twelveth-column{
		order: 24;
	}
	:is(.parent-pageid-59, .parent-pageid-61, .parent-pageid-63) .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){
		margin: 30vh 0px;
	}
}
/* black mobile pages */
@media (max-width: 720px){
	:is(.parent-pageid-59, .parent-pageid-61, .parent-pageid-63, .parent-pageid-2727, .home),
	:is(.parent-pageid-59, .parent-pageid-61, .parent-pageid-63, .parent-pageid-2727, .home) :is( header#masthead,
		.menu-toggle,
		#mobile-language-switcher,
		.main-navigation.toggled :is(.menu-navigazione-container, .menu-navigation-container),
		.main-navigation a,
		.entry-title,
		.wp-block-column li,
		#captionElem,
		p,
	h1, h2, h3, h4, h5, h6,
		cite,
		#mobile-language-switcher span.wpml-ls-native[lang="en"],	
		#mobile-language-switcher span.wpml-ls-native[lang="it"],
		#mobile-language-switcher span.wpml-ls-native[lang="en"]::before,	
		#mobile-language-switcher span.wpml-ls-native[lang="it"]::before,
		.main-navigation.toggled .menu-navigazione-container,
		.main-navigation.toggled .menu-navigation-container,
		footer .site-info a,
	.wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
	#keepReading a)
	{
		color: #ddd !important;
		background-color: #222;	
	}
	
	:is(.parent-pageid-59, .parent-pageid-61, .parent-pageid-63, .parent-pageid-2727) #primary .wp-block-gallery.has-nested-images figure.wp-block-image figcaption{
		color: #ccc !important;
	}
	:is(.parent-pageid-59, .parent-pageid-61, .parent-pageid-63, .parent-pageid-2727, .home) header.entry-header {
		border-color: #fff;
	}
	:is(.parent-pageid-59, .parent-pageid-61, .parent-pageid-63, .parent-pageid-2727, .home) .main-navigation:not(.toggled) .menu-toggle img{
		filter: invert(1);
	}
	.home #site-navigation.main-navigation.toggled :is(.menu-navigazione-container, .menu-navigation-container){
		background-color: rgba(20,20,20,0.9);
	}
	.home #site-navigation.main-navigation.toggled a {
		background-color: transparent;
	}
	main .wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image),
	.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) img{
		margin-bottom:0;
	}
	.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
		font-size: 1em;
		position: static;
		margin: 5px auto 0.5em;
		background: transparent;
		color: #000;
	}
}

	main .wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image),
	.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image) img{
		margin-bottom:0;
	}
/* BIOGRAFIA */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{
	background: none;	
    color: var(--text-color);
}
.grid .is-layout-flex{
	gap: 0.5em;
}
@media (max-width: 660px){
	.page-id-3071 .wp-block-image.size-full{
		margin: 20px 0;
	}
	.page-id-3071 .wp-block-image.size-full img {
		width: 100%;
	}
	.page-id-3071 .wp-block-spacer{
		display: none;
	}
	.page-id-3071 .midGap{
		gap: 0;
	}
}

/* long text pages */
@media (max-width: 660px){
	.wp-block-gallery.has-nested-images,
	.wp-block-gallery.has-nested-images figure.wp-block-image,
	ul.blocks-gallery-grid,
	.blocks-gallery-item,
	.wp-block-image,
	.wp-block-image img,
	.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){
		display: block;
		width: 100%;
	}
	
}

/* EVENTS */
@media (max-width: 660px){
	:is(.page-id-57, .page-id-2694) .entry-content figure{
		margin: 1em 0;
	}
}


/* CONTACTS */
@media (max-width: 660px){
	:is(#post-40,#post-2696) .wp-block-column a{
		display: block;
	}
	input.wpcf7-form-control {
		max-width: 100%;
	}
}

/* blog */
.blog main#primary {
    display: grid;
    grid-template-columns: repeat( auto-fit, minmax(min(250px,100%), 1fr) );	
    gap: 30px;
}
.blog main#primary > header{
    display: none;
}
img.attachment-medium.size-medium.wp-post-image {
    aspect-ratio: 1;
    object-fit: cover;
    width: 300px;
}
.blog h2{
	margin: 0.4em 0;
}

.blog article {
    display: flex;
    flex-direction: column;
}
.blog article > a {
    order: -1;
}
/* newsletter */
.page-id-5791 #mc4wp-form-1 p{
	margin: 1em 0;
}
.page-id-5791 #mc4wp-form-1 label input:not([type="checkbox"]){
	display: block;
	width: 100%;
}
.page-id-5791 #mc4wp-form-1 input[type="checkbox"]{
	scale: 0.7;
}    