/*!
Theme Name: Gradisciutta
Theme URI: https://www.popcomstudio.it
Author: Pop Com Studio
Author URI: https://www.popcomstudio.it
Description: Description
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: gradisciutta
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.

Gradisciutta 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.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

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

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/**
 * 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
--------------------------------------------- */
@font-face {
    font-family: 'FreightBig';
    src: url("fonts/Freight-DispLight.woff");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'FreightBig';
    src: url("fonts/Freight-DispReg.woff");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'FreightBig';
    src: url("fonts/Freight-DispMed.woff");
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'FreightBig';
    src: url("fonts/Freight-DispRegIt.woff");
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'AktivGrotesk';
    src: url("fonts/AktivGroteskEx-Light.woff");
    font-weight: 300;
    font-style: normal;
}
@font-face {
	font-family: 'AktivGrotesk';
	src: url("fonts/AktivGroteskEx-Medium.woff");
	font-weight: 500;
	font-style: normal;
}



body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: 'AktivGrotesk', -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;
	font-family: 'FreightBig', serif;
	margin: 0;
	font-weight: 400;
}

.card-title {
	-webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    -webkit-text-stroke: 1px white;
    text-stroke: 1px white;
    font-size: 190px;
}

.subtitle {
	font-size: 50px;
	font-family: 'FreightBig', serif;
	font-weight: 400;
}

p {
	margin-bottom: 1.5em;
	font-family: 'AktivGrotesk', serif;
	font-size: calc(0.9375rem + ((1vw - 3.74px) * 0.2262));
	line-height: 1.25;
	font-weight: 400;
	font-variant-numeric: lining-nums;
}

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: #858585;
}

a:hover,
a:focus,
a:active {
	color: #858585;
}
/*

a:focus {
	outline: thin dotted;
}
*/

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

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 0 solid;
	border-color: #ccc #ccc #bbb;
	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;
}

button:focus {outline:0;}

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%;
}
.shadow {
 box-shadow:0 0 10px rgb(0 0 0 / 20%) !important
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
#header {
	text-align: center;
}

.logo {
	height: 70px;
	margin: 15px auto;
}

.header-menu {
	display: none;
}

.header-menu-mobile {
	display: block;
}

.navigation-mobile {
	display: none;
}

.main-navigation {
	display: block;
	width: 100%;
}

.logo-container {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	flex-flow: row wrap;
	-webkit-flex-flow: row wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	padding: 0 15px;
}

.box-flex {
  flex: 1;
  display: flex;
  justify-content: center;
}

.box-flex:first-child > div { margin-right: auto; } 

.box-flex:nth-child(2) { flex-grow: 2}

.box-flex:last-child  > div { margin-left: auto;  }

.header-menu ul li{
    text-align: center;
    display: block;
    white-space: nowrap;
    -webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    margin: 0 auto;
}

.header-menu ul li a {
	font-family: 'AktivGrotesk';
    color: #2b2b2b;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    display: block;
    white-space: nowrap;
    -webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    padding: 10px 0;
    font-weight: 300;
    border-bottom: none;
}

.header-menu ul li a:hover {
    letter-spacing: 4px;
}

.dropdown-menu {
	text-align: center;
	margin: 0 auto;
	padding: 0;
}

.mobile-menu {
	display: none;
	list-style: none;
	text-align: center;
	margin: 0 auto;
	padding: 30px 0;
	background-color: #d1c7bc;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-flow: column wrap;
	-webkit-flex-flow: column wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	height: auto;
}

.menu-mobile-main, .menu-mobile-secondary {
	width: 100%;
	list-style: none;
	padding: 0;
	margin: 0 auto;
}

.menu-mobile-main li a, .menu-mobile-secondary li a{
	text-decoration: none;
}

.menu-mobile-main li, .menu-mobile-secondary li{
    text-align: center;
    display: block;
    white-space: nowrap;
    -webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    margin: 0 auto;
}

.menu-mobile-main li a {
	font-family: 'FreightBig';
    color: #2b2b2b;
    font-size: 100px;
    letter-spacing: 0;
    text-align: center;
    display: block;
    white-space: nowrap;
    -webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    padding: 7px 0;
    line-height: 1.05;
}

.menu-mobile-main li ul li a {
	font-family: 'AktivGrotesk';
    color: #2b2b2b;
    font-size: 13px;
    letter-spacing: 0;
    text-align: center;
    display: block;
    white-space: nowrap;
    -webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    padding: 7px 0;
    line-height: 1.05;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.menu-mobile-main .dropdown-toggle::after {
	display: none;
}

.menu-mobile-secondary li a {
	font-family: 'AktivGrotesk';
	font-weight: 300;
    color: #2b2b2b;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    display: block;
    white-space: nowrap;
    -webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    padding: 7px 0;
}

.menu-mobile-main li a:hover, .menu-mobile-secondary li a:hover {
    letter-spacing: 3px;
    color: black;
}

.copyrightmobile {
    font-family: 'AktivGrotesk';
    color: black;
    font-size: 9px;
    line-height: 2.2;
    display: block;
    font-weight: 300;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
}



.main-navigation ul ul {
	top: 100%;
	z-index: 99999;
}

.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 li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

.languageswitcher {
	padding: 7px 12px;
	border-radius: 999px;
	border: 1px solid #2b2b2b;
	font-family: 'AktivGrotesk';
	font-weight: 300;
    color: black;
    font-size: 11px;
    text-transform: uppercase;
    -webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.wpml-ls-legacy-list-horizontal {
	padding: 0;
}

.wpml-ls-native {
	color: black;
}

.wpml-ls-display {
	color: black !important;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

.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%;
}

.logobgheader {
	height: 40px;
	display: none;
}

#header > div.col-12.logo-container > div:nth-child(3) {
	justify-content: flex-end;
}
/* Footer
--------------------------------------------- */

.site-footer {
	text-align: center;
	background-color: #d1c7bc;
}

.site-info {
	flex-flow: column wrap;
	padding-top: 40px;
}

.logofooter {
	height: 120px;
}

.footeraddress {
	font-family: 'FreightBig';
	font-weight: normal;
	font-size: 48px;
	line-height: 1.04;
	color: #2b2b2b;
	margin: 40px 0 20px 0;
	display: inline-block;
	-webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
	text-decoration: none;
	font-variant-numeric: lining-nums;
}

.footeraddress:hover {
	color: #2b2b2b;
}

.footercontatti {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-flow: row wrap;
	-webkit-flex-flow: row wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	margin: 10px auto 30px auto;
}

.footercontatti .footeraddress {
	margin: 0;
}

.mascherasvgfooter {
	width: 30px;
	height:	30px;
	background-color: #2b2b2b;
	margin: 0 auto;
}

#footer-menu {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-flow: row wrap;
	-webkit-flex-flow: row wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	padding: 0;
	margin: 0 auto 15px auto;
}

#footer-menu li {
	text-align: center;
    display: block;
    white-space: nowrap;
    -webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    margin: 0 auto;
    list-style: none;
}

#footer-menu li a {
	font-family: 'AktivGrotesk';
    color: #2b2b2b;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    display: block;
    white-space: nowrap;
    -webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    padding: 7px 0;
    font-weight: 300;
}

#footer-menu li a:hover {
    letter-spacing: 4px;
}

.disclaimer {
	background-color: #2b2b2b;
	text-align: center;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-flow: row wrap;
	-webkit-flex-flow: row wrap;
	-webkit-justify-content: center;
	justify-content: center;
	align-items: center;
	padding: 10px 0;
}

.flagdisclaimer {
	height: 15px;
}

.disclaimer p {
	width: 50%;
	color: #d1c7bc;
	font-size: 11px;
	margin: 0;
}

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

.post,
.page {
	margin: 0;
}

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

.page-content,
.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;
}

/*--------------------------------------------- */
/*--------------------------------------------- */
/*--------------------------------------------- */
/* HOMEPAGE
--------------------------------------------- */

/* Homepage Hero
--------------------------------------------- */

.hero{
	text-align: center;
	padding: 7% 0;
	background-size: 95%;
	background-position: center;
	background-repeat: no-repeat;
	}

.herotitle{
	font-size: 250px;
	text-transform: uppercase;
	letter-spacing: -2px;
	-webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.herotitle:hover {
    letter-spacing: 1px;
}

.herosubtitle{
	text-transform: uppercase;
	letter-spacing: 4px;
	font-size: 40px;
	-webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    width: 90%;
    margin: 10px auto 0 auto;;
}

.herosubtitle:hover {
    letter-spacing: 6px;
}

.subtitle {
	font-size: 2.2rem;
	line-height: 1;
	font-weight: 200;
	color: rgba(255,255,255,0.5);
	margin-bottom: 5px;
}

.title {
    font-family: 'FreightBig';
	font-size: 190px;
	line-height: 0.9;
	letter-spacing: 0;
	color: #8C3A42;
	
}


.btn{
	border: 1px solid #fff;
	padding: 14px 18px;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 3px;
	color: #fff;
	text-decoration: none;
	transition: all .2s ease;
	&:hover{
	background: #fff;
	color: #000;
	}
}



/* Homepage Card
--------------------------------------------- */

.row-preview-image {
	display:     block;
    visibility:  visible;
    overflow:    hidden;
    min-height:  120px; // whatever you want here;
    background-position: top center;
    width: 100%;
	background-repeat: no-repeat;
	background-size: 100%; //propotional resize
}

.row-preview-image-link {
	text-decoration: none;
	color: white;
	text-shadow: 0px 30px 17px rgba(6,33,77,0.14);
}

.row-preview-image-link h2 {
	font-weight: 500;
	font-size: calc(2.25rem + ((1vw - 3.74px) * 1.3575));
}

.row-preview-image-link > div {
	height: 120px;
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: backdrop-filter 0.5s ease-in-out, transform 0.4s ease-in-out, background-color 0.5s ease-in-out;
    /* backdrop-filter: blur(4px); */
    background-color: rgba(0, 0, 0, 0.3);
}

.row-preview-image-link > div:hover {
	height: 120px;
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(0px);
    background-color: rgba(0, 0, 0, 0);
}

.row-preview-image-link[aria-expanded="true"] > div{
  backdrop-filter: blur(0px);
  background-color: rgba(0, 0, 0, 0);
}

.row-preview-image-link:hover {
	text-decoration: none;
	color: white;
}

.row-preview-image-link > div:hover {
	transform: scale(1.2);
}

.back-card {
	background-color: #d1c7bc;
	margin-bottom: 50px;
}

.back-card .card-title{
	margin: 40px auto;
	line-height: 0.8;
	-webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    -webkit-text-stroke: 1px #2b2b2b;
    text-stroke: 1px #2b2b2b;
}

.back-card .subtitle {
	color: #2b2b2b;
	margin: 0 auto;
}

.back-card p {
	color: #2b2b2b;
	margin-top: 20px;
	margin-bottom: 30px;
}

.card-button {
	position: relative;
    font-family: 'AktivGrotesk';
    font-weight: 300;
    text-transform: uppercase;
    font-weight: normal;
    padding: 18px 54px;
    background-color: #3a3a3a;
    color: #d1c7bc;
    font-size: 12px;
    margin-bottom: 30px;
}

.card-button:hover {
    background-color: #2b2b2b;
    transform: scale(1.05)
}

.back-card hr {
	width: 85%;
	height: 1px;
	background-color: #2b2b2b;
	opacity: 1;
	margin: 20px auto;
}

/* Vini
--------------------------------------------- */

.container {
	background-size: cover;
	background-repeat: no-repeat;
}

.nopointer {
	cursor: default;
}

.svgfilter {
	display: none;
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgb(255,255,255);
  opacity: 0;
  transition: opacity 0.5s ease;
  
  	background-clip: content-box;
    padding: 70px;
    
}

.is-selected .overlay {
	 opacity: 0 !important;
}

.hero-slider {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	padding-bottom: 30px;
}

.carousel-cell {
	width: 60%;
	height: 100%;
	opacity: 1;
	background-repeat: no-repeat;
	background-size: cover;
	background-clip: content-box;
    padding: 70px;
     box-sizing: border-box;
     transition: transform 0.4s ease-in-out;   
}

.carousel-cell > a {
	pointer-events: none;
}

.carousel-cell.is-selected > a {
	pointer-events: all;
}


.cell-background {
	width: 100%;
	height: 100%;
	opacity: 0;
	background-repeat: no-repeat;
	background-size: cover;
	/* filter: url(#duotone); */
	transition: opacity 0.4s ease-in-out;
}

.carousel-cell.is-selected > .cell-background {
	opacity: 1;
}

.bottigliavinoslider {
	opacity: 1;
	transition: opacity 0.5s ease;
}

.is-selected {
	opacity: 1;
	transform: scale(1.03);
}

.is-selected .bottigliavinoslider {
	opacity: 1;
}

.bottigliavinoslider {
	height: 90%;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.inner {
	position: absolute;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	text-align: center;
	z-index: 3; /* 2 per metterlo al di sotto del vino */
	opacity: 1;
	transition: opacity 0.5s ease;
	text-shadow: 0px 5px 10px rgba(24, 21, 21, 1.7); 	/*  se messo sotto 0px 10px 15px rgba(13, 12, 12, 0.35) */
}

.is-selected .inner {
	opacity: 1;
}

.innerover {
	position: absolute;
	width: 100%;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: #8C3A42;
	text-align: center;
	z-index: 4;
}

.innerbutton {
	position: absolute;
	width: 100%;
	bottom: 12%;
	left: 50%;
	transform: translate(-50%);
	color: #8C3A42;
	text-align: center;
	z-index: 4;
}

.innerbutton > a > button {
	margin-bottom: 0;
	padding: 20px 110px;
	box-shadow: 0px 10px 15px rgba(13, 12, 12, 0.35);
}

.innerover h2 {
	-webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    text-stroke: 1px #8C3A42;
    line-height: 0.9;
}

/* position dots up a bit */
.flickity-page-dots {
  bottom: 0;
  display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
}
/* dots are lines */
.flickity-page-dots .dot {
  height: 5px;
  margin: 0;
  border-radius: 0;
    background: #ffffff;
    flex-grow: 1;
    opacity: 0.4;
}

.tax-tipologia_vini h1 {
	text-transform: none;
	text-align: center;
	-webkit-text-fill-color: transparent;
    text-fill-color: transparent;
	padding: 30px 0;
	font-size: calc(5rem + ((1vw - 3.74px) * 12.0664));
}


/* Vigneti
--------------------------------------------- */

.mappa {
	position: relative;
}
.vignette {
    top: 0;
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 3;
	box-shadow: 0 0 200px rgba(209, 199, 189, 1) inset;
	pointer-events: none;
}

#parallax {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 4;
  background-repeat: no-repeat;
  background-position: center;
  background-position: 50% 50%;
  background-size: cover;
  pointer-events: none;
}

.mapboxgl-map {
	z-index: 2;
}

.mapboxgl-map:focus, .mapboxgl-map:active, .mapboxgl-canvas:focus {
	outline: none;
	border: none;
}

.mapboxgl-ctrl-logo {
	opacity: 0;
}

.mapboxgl-ctrl-attrib {
	opacity: 0;
}

.mapbox-improve-map {
	display: none;
}

.titolovigneti {
    position: absolute;
    z-index: 5;
    left: 50%;
    transform: translate(-50%,-50%);
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    -webkit-text-stroke: 1px #2b2b2b;
    text-stroke: 1px #2b2b2b;
    text-shadow: 0px 15px 17px rgba(75, 47, 7, 0.15);
}

.titolovigneti:nth-child(2) {
	text-shadow: 0px 0px 0px black;
	z-index: 1;
	-webkit-text-fill-color: #2b2b2b;
    text-fill-color: #2b2b2b;
    -webkit-text-stroke: 0 #2b2b2b;
    text-stroke: 0 #2b2b2b;
}

.spacervigneti {
	background-color: #d1c7bc;
}

.row-preview-image.vigneti {
	display:     block;
    visibility:  visible;
    width: 100%;
}

.row-preview-image-link.vigneti {
	text-decoration: none;
	color: white;
	text-shadow: 0px 30px 17px rgba(6,33,77,0.14);
}

.row-preview-image-link.vigneti h2 {
	font-size: calc(4.125rem + ((1vw - 3.74px) * 4.0724));
}

.row-preview-image-link.vigneti > div {
	height: 300px;
	background-repeat: no-repeat;
	background-size: cover;
    background-position: center;
}

.row-preview-image-link.vigneti > div > div{
	height: 300px;
	width: 100%;
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease-in-out, background-color 0.4s ease-in-out;
    background-color: rgba(0, 0, 0, 0.3);
}

.row-preview-image-link.vigneti > div > div:hover {
    background-color: rgba(0, 0, 0, 0);
}

.row-preview-image-link.vigneti[aria-expanded="true"] > div > div{
  background-color: rgba(0, 0, 0, 0);
}

.row-preview-image-link.vigneti:hover {
	text-decoration: none;
	color: white;
}

.row-preview-image-link.vigneti > div:hover {
	transform: scale(1);
}

.row-preview-image-link.vigneti > div > div:hover {
	transform: scale(1.05);
}

.containerdativigneto {
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    margin: 0 auto;
}

.datovigneto hr {
	margin: 10px 0;
}

.datovigneto {
	padding: 20px;
}

.containerdativigneto > div:last-child > hr {
	margin: 10px 20px;
}

.datovigneto:last-child {
	padding: 0;
}

.datovigneto:last-child > .containertitolovigneto {
	padding: 0 20px 0;
}

.containertitolovigneto {
	width: 100%;
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: baseline;
}

.titolodatovigneto {
	font-family: 'AktivGrotesk';
	font-size: 14px;
	text-align: left;
}

.containertitolovigneto img {
	height: 25px;
}

.valorevigneto {
	font-family: 'FreightBig';
	font-size: 100px;
	font-weight: 400;
	font-variant-numeric: lining-nums;
	line-height: 1;
}

.vignetilistavini {
	margin: 0 auto;
  width: 100%;
  display: block;
  background-position: bottom center;
  background-size: cover;
  background-repeat: no-repeat;
  
}

.vignetisingolovino {
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: column wrap;
	flex-flow: column wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	padding: 20px 40px 60px 40px;
	-webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.vignetisingolovino.is-selected {
    opacity: 1;
    transform: scale(1);
}

.vignetisingolovino:hover {
	transform: scale(1.05);
}

.vignetisingolovino a {
	text-decoration: none;
	font-family: 'FreightBig';
	color: #2d2d2d;
	margin-top: 10px;
	font-size: 20px;
	line-height: 1.1;
}

/* Singolo vino
--------------------------------------------- */

.singlewinecarousel {
	width: 100%;
	height: 375px;
    background-blend-mode: multiply;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    box-shadow: 0px 20px 20px rgb(0 0 0 / 20%);
}

.singlewinecarousel .carousel-cell {
	width: 100%;
}

.contenutosingolovino {
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	text-align: left;
	padding: 20px 0;
}

.vinoorizzontale {
    padding: 50px 30px 0 30px;
}

.datovino {
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-align-items: flex-start;
	align-items: flex-start;
	padding: 30px;
}

.datovino h3 {
	font-family: 'AktivGrotesk';
	font-size: 20px;
}

.datovino hr {
	width: 100%;
	margin: 10px 0;
}

.datovino p {
	font-family: 'FreightBig';
	margin: 0;
	font-size: calc(1.25rem + ((1vw - 3.74px) * 0.4843));
	line-height: 1.1;
}

.datovino > .col-12:first-child {
	padding-right: 10px;
}

.datovino > .col-12:last-child {
	padding-left: 10px;
}

.temperaturavino {
	font-variant-numeric: lining-nums;
    font-size: 54px !important;
}

.colorevino {
	max-height: 100px;
}

.mascherasvg {
	width: 40px;
	height:	25px;
}

#transition > div > div.contenutosingolovino > div:nth-child(1) > div:nth-child(1) > div > div {
	width: 0;
}

.bottoneschedatecnica {
	padding: 30px;
	width: 100%;
	margin-top: 20px;
}

.bottoneschedatecnica > button {
	font-family: "FreightBig" !important;
	padding: 30px 0 !important;
}


/* Azienda
--------------------------------------------- */

.containerinfo {
	position: relative;
}

.titlecontainer {
    width: 100%;
    color: white;
    text-align: center;
    z-index: 2;
    opacity: 1;
    transition: opacity 0.5s ease;
    text-shadow: 0px 10px 15px rgb(13 12 12 / 35%);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    padding: 5% 0;
 }
 
 .page-template-azienda .title, .page-template-experience .title, .page-template-borgo .title {
    text-transform: uppercase;
}

.titlecontainer .subtitle {
	width: 85%;
	margin: 30px auto 20px auto;
    text-transform: inherit;
    -webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.timeline {
  padding-top: 0;
  position: relative;
  z-index: 1;
}

.default-line {
	content: '';
	position: absolute;
	left: 50%;
	width: 1px;
	background: white;
	height: 1500px;
}

.draw-line {
	width: 1px;
	height: 0;
	position: absolute;
	left: 50%;
	background: #d1c7bc;
}

.wp-block-columns {
	margin: 0;
	position: relative;
	z-index: 2;
}

.wp-block-column {
	width: 50%;
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: column wrap;
	flex-flow: column wrap;
	-webkit-justify-content: center;
	justify-content: center;
	padding: 40px;
    align-self: center;
}

.wp-block-image {
	width: 100%;
	position: relative;
	z-index: 3;
	padding: 40px;
	margin: 0;
}

.galleriainterna {
	padding: 0 20px;
}

.galleriainterna .wp-block-image {
	padding: 5px;
}

.wp-block-image img {
	width: 100%;
}

.wp-block-group__inner-container, .imgquadrato {
    width: 100%;
    height: 100%;
    padding: 0;
}

.imgquadrato img, .imgrettangolo img{
	object-fit: cover;
    width: 100%;
    height: 100%;
}

.wp-block-image {
	-webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.wp-block-image:hover {
	transform: scale(1.03);
}

.baseline {
	align-self: baseline;
}

.testoazienda {
    font-family: 'FreightBig';
    font-size: calc(1.25rem + ((1vw - 2.13px) * 0.5843));
    line-height: 1.2;
    letter-spacing: 0;
    color: #2d2d2d;
    padding: 20px 0 !important;
    margin: 0;
}

.testoazienda li {
	margin-left: 30px;
}

.testoaziendaimportante {
	text-align: center;
    margin: 0 auto;
    font-size: calc(25px + 0.56471vw);
    background-color: #faf5ec;
    z-index: 3;
    position: relative;
    padding: 40px 40px !important;
}

.midtitleazienda {
	font-weight: 400;
    font-size: calc(4rem + ((1vw - 3.74px) * 12.0664));
    line-height: 0.9;
    text-align: center;
    padding: 20px 0;
    position: relative;
    z-index: 2;
    font-variant-numeric: lining-nums;
	color: #d5d5d500;
	margin: 30px 0;
  -webkit-transition: all .5s ease-out;
-moz-transition: all .5s ease-out; /*gecko*/
-ms-transition: all .5s ease-out; /*IE10*/
 -o-transition: all .5s ease-out; /*opera 11.10+*/
 -pie-transition: all .5s ease-out; /*PIE*/
  transition: all .5s ease-out;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.midtitleazienda-nobg {
	font-weight: 400;
	font-size: calc(4rem + ((1vw - 3.74px) * 12.0664));
	line-height: 0.9;
	text-align: center;
	padding: 50px 0 !important;
	position: relative;
	z-index: 3;
	font-variant-numeric: lining-nums;
	color: #d5d5d500;
  -webkit-transition: all .5s ease-out;
-moz-transition: all .5s ease-out; /*gecko*/
-ms-transition: all .5s ease-out; /*IE10*/
 -o-transition: all .5s ease-out; /*opera 11.10+*/
 -pie-transition: all .5s ease-out; /*PIE*/
  transition: all .5s ease-out;
}

.midtitleazienda.in-view {
   text-shadow: 0px 5px 15px rgb(13 12 12 /15%);
}
  
  
.titlecontainer .card-button {
	margin-top: 30px;
}

.logoborgo {
	width: 110px;
	margin-bottom: 20px;
}

/* Camere
--------------------------------------------- */

.camerecontainer {
	width: 100%;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: center;
	justify-content: center;
}

.singlecamera {
	width: 50%;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: column wrap;
	flex-flow: column wrap;
	-webkit-justify-content: center;
	justify-content: center;
	padding: 40px;
	align-self: center;
	z-index: 2;
}

.singlecamera .rettangoloimmaginesfondo {
	overflow: hidden;
}

.infocamera {
	width: 100%;
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	justify-content: space-between;
}

.infocamera h3 {
	width: 49%;
}

.infocamera > h3:nth-child(2) {
	text-align: right;
}
.gallerybutton {
	padding: 2px 15px;
	width: auto;
	position: absolute;
	z-index: 99;
	right: 5px;
	bottom: 5px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 12px;
}

.singlecamera:last-child {
	margin-right: auto;
}

.wp-block-button__link {
	border-radius: 0;
}

/* Experience
--------------------------------------------- */

.page-template-azienda .title, .page-template-borgo .title {
	font-size: calc(3rem + ((0.8vw - 3.74px) * 10.181)) ;  
}
.titolominore {
    z-index: 3;
    margin-top: 30px;
    padding: 10px 0 !important;
    position: relative;
}

.nomargin {
	margin: 0;
}

.bottoneexperience {
	position: relative;
    font-family: 'AktivGrotesk';
    font-weight: 300;
    text-transform: uppercase;
    font-weight: normal;
    font-size: 14px;
    padding: 10px 0;
    -webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.wp-block-separator {
	margin: 0;
}

.infodegustazione {
	word-break: initial;
	gap: 0 !important;
}

.infodegustazione .wp-block-column {
	padding: 20px 0;
	width: 33%;
	margin: 0;
}

.titoloinfodegustazione {
	margin: 0;
}

.infodegustazione {
	font-size: 54px;
	padding: 0;
    align-content: baseline;
}

/* FORM */

.modulo-degustazioni  {
	padding: 40px !important;
	margin-bottom: 0 !important;
	z-index: 3;
	position: relative !important;
}
	
.modulo-degustazioni_wrapper, .gform_confirmation_wrapper  {
	padding: 40px !important;
	margin-bottom: 0 !important;
	z-index: 3;
	position: relative !important;
}

.modulo-degustazioni_wrapper > .modulo-degustazioni  {
	padding: 0 !important;
}


.gform_confirmation_wrapper {
	text-align: center;
	border: 1px solid;
	margin: 0 40px;
}

.modulo-degustazioni .gform_fields {
	grid-row-gap: 20px !important;
}



.wpforms-field-label, .gform-field-label {
	font-weight: 400 !important;
	font-family: 'FreightBig', serif !important;
	font-size: 21px !important;	
}

.wpforms-field-label-inline, .gform-field-label--type-sub, .gform-field-label--type-inline, .gform_required_legend {
	font-family: 'AktivGrotesk', serif !important;
	font-size: 13px !important;
}

.wpforms-field-select .wpforms-field-label , .wpforms-field-textarea .wpforms-field-label {
	padding-bottom: 10px !important;
}

.modulo-degustazioni input[type=text], .modulo-degustazioni input[type=email], .modulo-degustazioni textarea {
	padding: 0 !important;
	color: white;
}

.modulo-degustazioni .choices__placeholder {
	opacity: 1 !important;
}

.degustazionitastoinvia, .gform-button--width-full {
	width: 100% !important;
	font-family: 'FreightBig', serif;
	font-size: 18px !important;
	line-height: 2;
}

.wpforms-confirmation-container-full {
	text-align: center;
}
	


/* Gallery
--------------------------------------------- */

.page-template-galleria .containerinfo {
	width: 100%;
	padding: 0 1em;
}

.blocks-gallery-item figure {
	-webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.blocks-gallery-item figure:hover {
	transform: scale(1.03);
}

.baguetteBox-button {
	background-color: #ff000000 !important;
}


/* News
--------------------------------------------- */

.page-template-news .containerinfo {
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: center;
	justify-content: center;
	padding-bottom: 60px;
}

.page-template-news .quadrato {
	width: 50%;
	position: relative;
	z-index: 2;
}

.page-template-news .rettangolo {
	width: 100%;
	position: relative;
	z-index: 2;
}

.container-news-carousel {
	width: 50%;
	height: 100%;
	z-index: 2;
}

.container-news-carousel > h2:first-child {
	font-size: calc(30px + 2.72941vw);
	text-align: center;
	font-weight: 500;
	width: 98%;
	margin: 0 auto;
	padding: 10px 40px 15px 40px;
	line-height: 1.1;
	z-index: 3;
}

.news-carousel {
	width: 100%;
	height: auto;
	overflow: hidden;
	padding-bottom: 30px;
	z-index: 3;
}

.news-carousel .quadratoimmaginesfondo {
	padding: 0;
}

.news-carousel .quadrato {
	width: 100%;
}

.news-carousel .flickity-page-dots {
	padding: 0 40px;
}

.page-template-news hr {
	width: 100%;
	margin: 40px;
	opacity: 1;
	z-index: 3;
}

.page-template-news .quadratoimmaginesfondo, .page-template-news .rettangoloimmaginesfondo {
	padding: 40px;
}

.page-template-news .imgquadrato, .page-template-news .imgrettangolo {
	margin: 0;
	-webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
	transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.page-template-news .imgquadrato:hover, .page-template-news .imgrettangolo:hover {
	transform: scale(1.03);
}


.page-template-news article header {
	text-align: center;
	width: 60%;
	margin: -100px auto 0 auto;
	padding: 30px 0;
	position: relative;
	z-index: 3;
}

.page-template-news article h2 {
	padding: 0 30px;
}

.page-template-news article header a{
	text-decoration: none;
	color: white;
	font-size: calc(22px + 0.47059vw)
}

.page-template-news .timeline {
	position: absolute;
}

.containerfiles {
	display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: space-around;
	justify-content: space-around;
	padding: 60px 0;
	width: 100%;
	position: relative;
	z-index: 2;
}

.containerfiles a{
	width: 45%;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
}

.bottonenewsfile {
	padding: 30px;
	-webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
	transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.bottonenewsfile:hover {
	padding: 30px;
	transform: scale(1.03);
}

/* Single
--------------------------------------------- */


.single .quadratoimmaginesfondo {
	width: 60%;
	margin: 0 auto;
	padding: 15px;
	border: 1px solid blue;
}


.single .imgquadrato {
	margin: 0 auto;
}

.introsingle {
	margin: 0 auto;
    padding-top: 80px;
    text-align: center;
    border-bottom: 1px solid;
    padding-bottom: 10px;
    width: 80px;
    text-decoration: none;
}

.single h1 {
	font-size: calc(30px + 2.72941vw);
	font-weight: 500;
	width: 70%;
	margin: 0 auto;
	padding: 0 0 80px 0;
	line-height: 1.1;
}

.single .entry-content {
	width: 70%;
	padding: 60px 0;
	margin: 0 auto;
}

.single .imgquadrato {
	margin: 0;
	-webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
	transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.single .imgquadrato:hover  {
	transform: scale(1.03);
}


/* Spacing
--------------------------------------------- */

.spacing {
	letter-spacing: 1px;
	-webkit-transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
    transition: 1s all cubic-bezier(0.075, 0.82, 0.165, 1);
}

.spacing:hover {
	letter-spacing: 4px;
}

.error404 .titlecontainer {
	padding: 20% 0;
}

/* Amelia
--------------------------------------------- */

.amelia-v2-booking {
	position: relative;
	z-index: 1;
	padding: 40px;
}

.amelia-v2-booking #amelia-container .am-fs-sb, .amelia-v2-booking #amelia-container .am-fs__main {
	border-radius: 0 !important;
}

.amelia-v2-booking #amelia-container .am-fs__info-form .el-form-item {
	width: calc(100% - 12px) !important;
}

.amelia-v2-booking #amelia-container .am-fs__info-form__label {
	font-weight: bold !important;
}

.amelia-v2-booking #amelia-container.am-fs__wrapper {
	margin: 50px auto !important;
}


/* Media
--------------------------------------------- */

@media screen and (min-width: 768px) {
  .hamburger {
	  visibility: hidden;
  }
  .menu-toggle {
		visibility: hidden;
		display: none;
	}
	.logobgheader {
		display: block;
	}

	.main-navigation ul {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		flex-flow: wrap;
	}
	
	.header-menu {
		display: block;
	}
	
	.header-menu-mobile {
		display: none;
	}
}

@media (min-width: 320px) {
	.card-title {
		font-size: calc(4rem + ((1vw - 3.74px) * 9.5023));
	}
	.subtitle {
		font-size: calc(22.8px + 1.6vw);
	}
	.menu-mobile-main li a {
		font-size: calc(32.8px + 3.95294vw);
	}
	.herotitle {
		font-size: calc(3.125rem + ((1vw - 3.74px) * 10.5581));
	}
	.herosubtitle {
		font-size: calc(1.25rem + ((1vw - 3.74px) * 1.5083));
	}
	.footeraddress {
		font-size: calc(22.4px + 1.50588vw);
	}
	.footercontatti .footeraddress {
		font-size: calc(12px + 1.50588vw);
	}
	.title {
	    font-size: calc(4.375rem + ((1vw - 3.74px) * 10.181));
	    min-height: 0vw;
	}
	.titolovigneti {
	    font-size: calc(7.5rem + ((1vw - 3.74px) * 7.5415));
	    min-height: 0vw;
	  }
	  .titolominore {
    font-size: calc(2.5rem + ((1vw - 3.73px) * 12.6582));
    min-height: 0vw;
  }
	  
}

@media (min-width: 576px) {
  .valorevigneto {
    font-size: 74px;
  }
}

@media (min-width: 768px) {
  .valorevigneto {
    font-size: calc(1.0625rem + ((1vw - 7.68px) * 4.0359));
    min-height: 0vw;
  }
  .dropdown-menu li:first-child {
		border-top: 1px solid #aaaaaa;
	}
	.datovino h3 {
	    font-size: 15px;
	}
	.titolominore {
	    font-size: calc(2.5rem + ((1vw - 7.68px) * 2.6042));
	    min-height: 0vw;
    }
}

@media (min-width: 800px) {
  .valorevigneto {
    font-size: calc(4.6875rem + ((1vw - 8px) * 5));
    min-height: 0vw;
  }
}

@media (min-width: 992px) {
  .vignetisingolovino a {
	font-size: calc(0.8125rem + ((1vw - 9.92px) * 1.7157));
  }
  .datovino h3 {
	    font-size: 20px;
	}
}

@media (min-width: 1700px) {
  .row-preview-image-link h2 {
    font-size: 54px;
  }
  .title {
    font-size: 205px;
  }
  .titolovigneti {
    font-size: 220px;
  }
  .row-preview-image-link.vigneti h2 {
    font-size: 120px;
  }
}

@media (max-width: 768px) {
  .carousel-cell {
		width: 100%;
	}
	.singlewinecarousel {
		height: 250px;
	}
	.datovino h3 {
	    font-size: 20px;
	}
	.datovino {
		padding: 20px;
	}
	.bottoneschedatecnica {
		padding: 20px;
		font-size: 15px;
	}
	.vinoorizzontale {
	    padding: 40px 20px 0 20px;
	}
	.wp-block-column, .singlecamera {
		width: 100%;
	}
	.wp-block-columns, .camerecontainer {
		flex-flow: column;
	}
	.reverse {
		flex-flow: column-reverse;
	}
	.infodegustazione .wp-block-column {
		width: 49%;
	}
	.verticaldivider {
		display: none;
	}
	.footercontatti .footeraddress {
	    font-size: calc(24px + 1.50588vw);
	    margin: 10px 0;
	}
	.facebook {
	    margin: 0 20px 0 auto;
	}
	.instagram {
	    margin: 0 auto 0 20px;
	}
	.page-template-news .quadrato {
		width: 100%;
	}
	.single .quadratoimmaginesfondo {
		width: 85%;
	}
	.single .entry-content {
		width: 85%;
		margin: 40px auto;
	}
	.single h1 {
		width: 85%;
	}
	.containerfiles a{
		width: 90%;
		margin: 10px auto;
	}
	.container-news-carousel {
		width: 100%;
	}
	.containerinfo > .container-news-carousel:nth-of-type(2n) {
		margin-top: 60px;
	}
	.wp-block-column:nth-child(2n) {
		margin-left: 0;
	}
	.logoborgo {
		width: 70px;
		margin-bottom: 20px;
	}
}

@media (max-width: 576px) {
	.datovino > .col-12:first-child {
		padding-right: 0;
		padding-bottom: 15px;
	}
	
	.datovino > .col-12:last-child {
		padding-left: 0;
		padding-top: 15px;
	}
	.titlecontainer {
		padding: 10% 0;
	}
	.wp-block-column {
		padding: 30px;
	}
	.wp-block-image {
		padding: 30px;
	}
	.quadratoimmaginesfondo .wp-block-image {
		padding: 0;
	}
	.singlecamera .wp-block-image {
		padding: 0;
	}
	
	.wpml-ls-legacy-list-horizontal a {
	display: block;
	text-decoration: none;
	padding: 6px 3px 6px;
	line-height: 1;
	font-size: 10px;
	}
	.logo {
		height: 50px;
		margin: 15px auto;
	}
	.menu-mobile-main li ul {
		margin: 10px 0;
		padding: 0;
	}
}






