/*!
Theme Name: ms_novosan
Theme URI: http://underscores.me/
Author: Mediascope Agency Oy
Author URI: https://mediascopeagency.fi/
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: ms_novosan
Tags: 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.

ms_novosan 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
	- Variables
	- 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

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

@import url("https://use.typekit.net/sqj7rbq.css");

/*
Sofia Pro
font-family: sofia-pro, sans-serif;
700, 700i, 600, 600i, 500, 500i, 400, 400i
*/

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

/* Variables
--------------------------------------------- */
:root {
	--oliveLight: #929787;
/*	--oliveDark: #51553b;*/
	--oliveDark: #505648;
	--orangeDusty: #a47360;
/*	--burgundy: #5a202e;*/
	--burgundy: #816c57;
	--beige: #f4f0ed;
	--blueDeep: #00202f;
}

.bg-oliveLight { background-color: var(--oliveLight); }
.bg-oliveDark { background-color: var(--oliveDark); }
.bg-orangeDusty { background-color: var(--orangeDusty); }
.bg-burgundy { background-color: var(--burgundy); }
.bg-beige { background-color: var(--beige); }
.bg-blueDeep { background-color: var(--blueDeep); }

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

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

/**
 * Remove the margin in all browsers.
 */
html, body {
	margin: 0;
	min-width: 320px;
}

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

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

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

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

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

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

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

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

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

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

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

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

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

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

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

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

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

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

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

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

html {
	box-sizing: border-box;
}

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #000;
	font-family: sofia-pro, sans-serif;
	letter-spacing: 0.01em;
	font-size: 1rem;
	line-height: 1.5;
}

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

h1 { font-size:42px; line-height:52px; font-weight:400; margin:0 0 80px; }
.single h1 { font-size:36px; line-height:46px; font-weight:700; margin-bottom:80px; }

h2 { font-size:32px; /*line-height: 45px; letter-spacing:0.01em;*/ }
.single-product h2 { font-size: 14px; line-height: 24px; font-weight: 600; }
.single-post h2, .single-post h3 { font-size: 24px; line-height: 29px; font-weight: 700; margin-top: 60px; margin-bottom: 40px; }

h3 { font-weight:400; color:#161616; font-size:30px; line-height: 45px; letter-spacing:0.01em; margin:40px auto; max-width:800px; }
.page-template-default h3 { margin: 0 0 20px; font-size: 26px; line-height: 40px; }

h5 { font-size: 17px; font-weight: 700; line-height: 29px; }

p { font-size:18px; line-height:32px; font-weight:400; margin-bottom: 30px; }
.single p { font-size:17px; line-height:29px; margin-bottom:40px; }
.single .embed-responsive { margin-bottom: 40px; }
.ingressi p { color:#161616; font-size:18px; line-height: 32px; letter-spacing:0.01em; margin:70px auto; max-width:800px; }
.site-footer p { font-size:14px; line-height: 24px; font-weight:500; letter-spacing: 0.03em; }


.text-white h1, .text-white h2, .text-white h3, .text-white p { color:#fff; }

.single .date { font-size:17px; line-height:29px; margin-bottom: 10px; display: block; }

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

#colophon, #colophon p { font-size: 14px; }

/* 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: #000;
	text-decoration:underline;
}

a:visited {
	color: #000;
}

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

a:focus {
	outline: thin dotted;
}

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

#colophon a { text-decoration: none; }
#colophon a:hover { opacity: 0.6; }

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid #000;
	border-radius: 0;
	background: transparent;
	color: #000;
	line-height: normal;
	padding: 12px 15px;
	max-width: 100%;
}

#primary button:not(.close):hover,
#primary input[type="button"]:hover,
#primary input[type="reset"]:hover,
#primary input[type="submit"]:hover {
	background: #000;
	color: #fff;
}

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 {
	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: #000;
	border: 1px solid #000;
	border-radius: 0;
	padding: 5px;
	max-width: 100%;
	height: 48px;
}

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

select {
	border: 1px solid #000;
}

textarea {
	width: 100%;
	max-width: 100%;
}

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

@media (min-width: 1280px) {
	.container, .container-lg, .container-md, .container-sm, .container-xl {
		max-width: 1200px;
	}
}


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

.site-header { padding:148px 0 45px 0; }
@media (min-width: 1200px) { .site-header .container, .container.product-info-container, .single .site-main .container:not(.contact-block), .container.w-limit { max-width: 1040px; } }

.container.lang-container { position: relative; height: 53px; max-width: 1350px; }
/* @media (min-width:992px) { .container.lang-container { max-width: 1200px; } } */
/* @media (min-width:1200px) { .container.lang-container { max-width: 1350px; } } */
#lang_switch { position: absolute; right: 2px; top: 0; background: #fff; z-index: 2; overflow: hidden; }
#lang_switch ul { list-style: none; padding: 0; margin: 0; }
#lang_switch a { text-decoration: none; cursor: pointer; }
#lang_switch .current-lang::after { content: ''; display: inline-block; background: #000; width: 28px; height: 2px; vertical-align: middle; margin-left: 6px; }
#lang_switch .sub-lang { display: none; }
#lang_switch > ul > li > ul li a:hover { opacity: 0.6; }
/*#lang_switch:hover .sub-lang { display: block; }*/
/*
#lang_switch .sub-lang { display: block; height: 0; transition: height ease-in-out 1s; }
#lang_switch:hover .sub-lang { height: 100%; transition: height ease-in-out 1s; }
*/


.site-footer { padding:100px 0; }

.linkbtn a { display: inline-block; border: 2px solid #000; padding: 15px 20px; text-decoration: none; }
.linkbtn.linkbtn-white a { background-color: transparent; border-color: #fff!important; color: #fff;  }
.linkbtn.linkbtn-beige a { background-color: var(--beige); border-color: var(--beige)!important; color: #000;  }
.linkbtn.linkbtn-oliveLight a { background-color: var(--oliveLight); border-color: var(--oliveLight)!important; color: #fff;  }
.linkbtn.linkbtn-oliveDark a { background-color: var(--oliveDark); border-color: var(--oliveDark)!important; color: #fff;  }
.linkbtn.linkbtn-orangeDusty a { background-color: var(--orangeDusty); border-color: var(--orangeDusty)!important; color: #fff;  }
.linkbtn.linkbtn-burgundy a { background-color: var(--burgundy); border-color: var(--burgundy)!important; color: #fff;  }
.linkbtn.linkbtn-blueDeep a { background-color: var(--blueDeep); border-color: var(--blueDeep)!important; color: #fff;  }

.linkbtn a:hover, .linkbtn a:active, .linkbtn a:focus,
.linkbtn.linkbtn-beige a:hover, .linkbtn.linkbtn-beige a:active, .linkbtn.linkbtn-beige a:focus,
.linkbtn.linkbtn-oliveLight a:hover, .linkbtn.linkbtn-oliveLight a:active, .linkbtn.linkbtn-oliveLight a:focus,
.linkbtn.linkbtn-oliveDark a:hover, .linkbtn.linkbtn-oliveDark a:active, .linkbtn.linkbtn-oliveDark a:focus,
.linkbtn.linkbtn-orangeDusty a:hover, .linkbtn.linkbtn-orangeDusty a:active, .linkbtn.linkbtn-orangeDusty a:focus,
.linkbtn.linkbtn-burgundy a:hover, .linkbtn.linkbtn-burgundy a:active, .linkbtn.linkbtn-burgundy a:focus { background: #000; color: #fff; border-color: #000!important; }
.linkbtn.linkbtn-blueDeep a:hover, .linkbtn.linkbtn-blueDeep a:active, .linkbtn.linkbtn-blueDeep a:focus { background: #000; color: #fff; border-color: #000!important; }
.linkbtn.text-white a { color: #fff; border-color: #fff; }
.linkbtn.linkbtn-beige.text-white a { color: #000; }
.linkbtn.linkbtn-white a:hover, .linkbtn.linkbtn-white a:active, .linkbtn.linkbtn-white a:focus,
.linkbtn.text-white a:hover, .linkbtn.text-white a:active, .linkbtn.text-white a:focus,
.linkbtn.text-white.linkbtn-beige a:hover, .linkbtn.text-white.linkbtn-beige a:active, .linkbtn.text-white.linkbtn-beige a:focus,
.linkbtn.text-white.linkbtn-oliveLight a:hover, .linkbtn.text-white.linkbtn-oliveLight a:active, .linkbtn.text-white.linkbtn-oliveLight a:focus,
.linkbtn.text-white.linkbtn-oliveDark a:hover, .linkbtn.text-white.linkbtn-oliveDark a:active, .linkbtn.text-white.linkbtn-oliveDark a:focus,
.linkbtn.text-white.linkbtn-orangeDusty a:hover, .linkbtn.text-white.linkbtn-orangeDusty a:active, .linkbtn.text-white.linkbtn-orangeDusty a:focus,
.linkbtn.text-white.linkbtn-burgundy a:hover, .linkbtn.text-white.linkbtn-burgundy a:active, .linkbtn.text-white.linkbtn-burgundy a:focus { background: #fff; color: #000; border-color: #fff!important; }
.linkbtn.text-white.linkbtn-blueDeep a:hover, .linkbtn.text-white.linkbtn-blueDeep a:active, .linkbtn.text-white.linkbtn-blueDeep a:focus { background: #fff; color: #000; border-color: #fff!important; }

.linkbtn a { margin-top: 2px; }
.linkbtn a.secondary-link { background-color: transparent; }

.text-white .linkbtn a.secondary-link { color: #fff; border-color: #fff !important; }
.text-black .linkbtn a.secondary-link { color: #000; }
.linkbtn a.secondary-link:hover { background-color: #000; color: #fff; border-color: #000 !important; }

#primary button:hover, #primary input[type="submit"]:hover { background-image: none; }

.block-page-title { position: absolute; z-index: 1; color: #fff; top: 50px; right: 0; font-size: 30px; text-transform: lowercase; }
.block-page-title::after {
	content: '';
  display: inline-block;
  background: #fff;
  width: 81px;
  height: 2px;
  vertical-align: middle;
  margin-left: 16px;
  margin-right: 20px;
}

.block { height: 800px; overflow: hidden; }
.block:not(.img-block) { padding: 0 5%!important; display: flex; align-items: center; justify-content: center; }
.block.dynamic-h { height: unset; padding: 144px 5%!important; overflow: unset; }
@media(max-width:767px) {
	.block { height: 730px; }
	.block.dynamic-h { padding: 50px 5%!important; }
}
@media (max-width:575px) {
	.block { height: 680px; }
	.block:not(.img-block) { padding: 0 15px!important; }
	.block.dynamic-h { padding: 50px 15px!important; }
	.block > .ingressi p {  margin-top: 40px; }
}

/*.img-block { height: 800px; }*/
/*.img-block-img { padding-top: 66.6670%; height: 860px; }*/
.hero-w-logo:after { content:" "; display:block; width:300px; height:300px; background:url(img/logo_graphic_white.png) no-repeat center center; background-size:100% auto; position:absolute; top:0; left:0; right:0; bottom:0; margin:auto; }
@media(max-width:1199px) { .hero-w-logo:after { width:250px; height:250px; } }
@media(max-width:991px) { .hero-w-logo:after { width:200px; height:200px; } }
@media(max-width:767px) { .img-block-img { transform: none!important; } .hero-w-logo:after { width:225px; height:225px; } }
/* @media(max-width:500px) { .hero-w-logo:after { width:100px; height:100px; } } */

.block.video-bg { position: relative; height: unset; }
.block.video-bg video { position: absolute; z-index: 1; object-fit: cover; width: 100%; height: 100%; top: 0; left: 0; }
.block.video-bg .ingressi { position: absolute; z-index: 2; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; }
.block.video-bg .video-bg-inner { padding: 0 15px; }

.video-block .ingressi { width: 100%; }
.video-block .embed-responsive, .ingressi .embed-responsive { max-width: 720px; margin-left: auto; margin-right: auto; }

.logo-graphic-black { display:block; margin:0px auto 50px; width:74px; height:74px; background:url(img/logo_graphic_black.png) no-repeat center center; background-size:100% auto; }
.logo-graphic-white { display:block; margin:0px auto 50px; width:74px; height:74px; background:url(img/logo_graphic_white.png) no-repeat center center; background-size:100% auto; }
.logo-graphic-white.big { width:220px; height:220px; }

@media(max-width:991px) {
	.logo-graphic-white.big { width:140px; height:140px; }
}

.color-wrap { background:#f4f0ed; /*padding:12% 5%;*/ }
.color-wrap.wbg { background:#fff; background-size: cover; background-position:center bottom; background-repeat:no-repeat; }
.color-wrap.brown { background:#ad8e7b; }
.color-wrap > div:last-child > *:last-child { margin-bottom:0; }
.bg-oliveLight .color-wrap, .bg-oliveDark .color-wrap, .bg-orangeDusty .color-wrap, .bg-burgundy .color-wrap, .bg-beige .color-wrap, .bg-blueDeep .color-wrap, .bg-white .color-wrap { background: transparent; }

.quote { position:relative; padding:170px 0; }
.quote-wrap::before { text-align: left; content:"”"; display:block; font-family: sofia-pro, sans-serif; font-size:132px; line-height: 70px; color:#000; max-width:280px; margin:0 auto; }
.text-white .quote-wrap::before { color: #fff; }
.quote p { font-size:22px; font-weight: 300; font-style: italic; line-height:36px; margin:0; }
.block.quote { display: block; }
.quote-wrap {
	transform: translateY(-50%);
	top: 50%;
	left: 0;
	position: relative;
	max-width: 100%;
	padding: 0 14%;
}
.slick-dots { display:block; text-align:Center; margin-top:40px; bottom: 0; position: relative; }
.slick-dots li { display:inline-block; margin:0 10px; width:18px; height:18px; border-radius:18px; background:#000; opacity: 0.7; }
.slick-dots li.slick-active { opacity: 1; }
.slick-dots li button { border-radius: 18px; height: 18px; width: 18px; }
.slick-dots li button:hover, .slick-dots li button:focus { background-image: none; background-color: #000; }
.quote.text-white .slick-dots li, .quote.text-white .slick-dots li button:hover, .quote.text-white .slick-dots li button:focus, #primary .quote.text-white .slick-dots li:hover button { background: #fff; }
.quote.text-white .slick-dots li button:before, .quote.text-white .slick-dots li.slick-active button:before { color: #fff; }

.masonry-wrap { background:#f4f0ed; padding:60px 40px; padding-bottom:0; }
.masonry-wrap a { text-decoration:none; }
.post-block { background:#fff; margin-bottom:45px; }
.post-block > div { padding:30px 25px; }
.post-block .date { display:block; font-size:14px; font-weight:700; margin-bottom:10px; }
.post-block p { font-size:18px; line-height:28px; font-weight:700; }
.post-block h2 { font-size:26px; line-height:28px; font-weight:700; }
a .post-block h2 { font-size:22px; line-height:32px; }

.iso-block { width:300px; }
#isotope { max-width:980px; margin:0 auto; }

.loadmore-container { background:#f4f0ed; padding-bottom:50px; }
.loadmore-container.isotope { }
.loadmore-container button { display:inline-block; color:#000; background:#fff; font-size:17px; line-height:29px; font-weight:Bold; border:none; border-radius:0; -webkit-appearance:none; padding: 15px 30px; }

.slider-nav-container { margin-bottom: 120px; }
.slick-slide:focus { outline: 0; }
.slider-thumb { /*height: 144px;*/ padding-top: 100%; }
.slider-nav { margin-top: 50px; }
.slider-nav .slick-slide .slider-thumb { opacity: 0.6; cursor: pointer; }
.slider-nav .slick-slide.slick-current .slider-thumb, .slider-nav .slick-slide .slider-thumb:hover { opacity: 1; }
.slider-nav .slick-slide.slide-wrap { /*padding-right: 0.8880%;*/ padding-right: 30px; }
.slider-nav .slick-track { margin-left: 0; margin-right: 0; }

.single-post #primary, .single-news #primary { margin-top: 94px; }
.heateor_sss_sharing_container { display: inline-block; }
.post-hl .post-img, .emp-img { padding-top: 100%; margin-bottom: 38px; }
.post-link { position: absolute; display: block; top: 0; bottom: 0; right: 15px; left: 15px; z-index: 1; }
.post-hl p:last-of-type { margin-bottom: 0; }
.tags { margin-top: 62px; margin-bottom: 23px; }
.tags strong, .share strong { margin-right: 22px; }
.single-post .related { margin-top: 88px; margin-bottom: 60px; }
.single-post .related h5 { margin-bottom: 45px; }
.single-post .related .post-hl h5 { margin-bottom: 8px; }

.page-template-template_contact .ingressi { margin-top: 150px; }
.employees { margin-top: 120px; }
.employee p { font-size: 17px; line-height: 29px; }
.employee p:last-of-type { margin-bottom: 0; }
.employee { margin-bottom: 68px; }
.employee a { text-decoration: none; }
.employee em { font-weight: 300; }
.employee em a { text-decoration: underline; }
#form { margin-top: 130px; }
#form > .col-12 { padding: 105px 107px 87px; }
#form h2 { font-size: 26px; font-weight: 700; margin-bottom: 30px; }
#form label, #form input, #form textarea { width: 100%; max-width: 100%; }
#form label { margin-bottom: 27px; }
#popup-form label { display: none; }
#form input, #form textarea, #popup-form input, #popup-form textarea { border: none; font-weight: 700; padding: 16px 20px; background-color: #fff; }
#form input[type="file"] { background-color: transparent; }
#popup-form input, #popup-form textarea { width: 100%; max-width: 350px; text-align: center; }
#form input::placeholder, #form textarea::placeholder { color: #000; }
#popup-form input::placeholder, #popup-form textarea::placeholder { color: #888888; }
#form textarea, #popupform textarea { height: 230px; }
#form input[type="submit"] { background: #000; color: #fff; width: 150px; display: inline-block; float: right; }
#popup-form input[type="submit"] { background: #000; color: #fff; display: inline-block; margin-top: 15px; width: 100%; max-width: 350px; }
#form input[type="submit"]:hover, #popup-form input[type="submit"]:hover { background: #666; }

.ref-logos { justify-content: center; margin-bottom: 140px; }
.ref-logo { max-width: 164px; padding: 5px 17px; display: flex; justify-content: center; align-items: center; }
/* .ref-logo > img { mix-blend-mode: luminosity; } */

.search .page-title { margin-top: 40px; }
.search article { margin-bottom: 30px; }
.search article a { text-decoration: none; }

section.error-404 { padding: 144px 5%; }
section.error-404 p:last-of-type { margin-bottom: 0; }

.single-reference .ref-title h2 { margin-bottom: 40px; text-align: center; }

.footer-certs img { width: 130px; margin: 0 auto 8px; display: block; }

/*2025 ->*/
.hero-img-block.img-block.video-hero { aspect-ratio: 16/9; }
.hero-img-block.img-block { aspect-ratio: 1200/800; }
.hero-img-block.img-block > .img-block-img { height: calc(100% + 60px); }
.hero-img-block.img-block.video-hero > .img-block-img.no-parallax { height: 100%; }
.video-hero .img-block-img { position: relative; }
.video-hero .img-block-img video { width: 100%; height: 100%; object-fit: cover; }
.video-hero.video-hero-w-mob .img-block-img video.hero-mob-video { display: none; }

.content-block > div, .video-block .ingressi, .block.video-bg .ingressi, .contact-block > .ingressi { max-width: 800px; margin-left: auto; margin-right: auto; }

.quote-container { max-width: 1080px; margin-left: auto; margin-right: auto; position: relative; height: 100%; }

.block.img-block { height: unset; }
.img-block-img > img { width: 100%; }

.container-fluid > #form .col-12 { max-width: 1040px; margin-left: auto; margin-right: auto; }

.block.animated-title { height: auto; display: block; padding: 8%!important; }
h2 .animated-title-row-inner { transform: translate(0, 100%); font-size: clamp(60px, 6vw, 150px); line-height: 1.4em; }
h2 .animated-title-row.animated .animated-title-row-inner { transition: transform cubic-bezier(0, 0, 0.38, 1) 0.7s; transform: translate(0, 0%); }

.contact-two-cols { max-width: 860px; }
.prod-contact-hl .contact-two-cols, .single-reference .contact-two-cols { margin-right: auto; margin-left: auto; }

.prod-hls, .page-hls { padding-top: 5%; padding-bottom: 5%; }
.page-hls { padding-bottom: 1%; }
.page-hl { margin-bottom: 80px; }
.page-hl-title.woocommerce-loop-product__title { margin-bottom: 0; }
.page-hl p { font-size: 16px; line-height: normal; max-width: 75%; margin: 15px auto 0; }
.hl-img { aspect-ratio: 1/1; text-align: center; background-color: var(--beige); }
.hl-img > img { width: 100%; height: 100%; object-fit: cover; }
.hl-img > img.hl-img-logo { width: 140px; height: 100%; object-fit: contain; object-position: center center; }
.page-hl .linkbtn { margin-top: 25px; }
.page-hl p + .linkbtn { margin-top: 40px; }
.prod-hl-inner { padding-left: 15px; padding-right: 15px; }

@media (max-width: 767px) {
	.hl-img { margin-inline: auto; max-width: 280px; }
}

.prod-hls-slider { margin-left: -15px; margin-right: -15px; }
.page-hl.prod-hl { margin-bottom: 0; }
.prod-hls.text-white.products .product > a:hover, .prod-hls.text-white.products .product > a:active, .prod-hls.text-white.products .product > a:focus { color: #fff; }
.prod-hls-alt .slick-track { margin-left: unset; }
.prod-hls-alt .slick-dots { margin-top: 30px; }
.prod-hls-alt .col-12.linkbtn { margin-top: 60px; margin-bottom: 30px; }
.bg-blueDeep .prod-hls-alt .slick-dots li, .bg-blueDeep .prod-hls-alt .slick-dots li button:hover, .bg-blueDeep .prod-hls-alt .slick-dots li button:focus { background: #fff!important; }
.bg-blueDeep .prod-hls-alt .slick-dots li button::before, .bg-blueDeep .prod-hls-alt .slick-dots li.slick-active button::before { color: #fff; }
.prod-hls-alt .slick-dots li:only-child { display: none; }

.ithl { padding-top: 5%; padding-bottom: 5%; }
.ithl p { margin-top: 20px; }
.ithl .linkbtn { margin-top: 35px; }
.ithl-img-wrap img { width: 100%; }
.ithl-content-inner { padding-left: 30px; }
.order-md-1 .ithl-content-inner { padding-left: 15px; padding-right: 30px; }

.ihl-wrap { padding-top: 5%; padding-bottom: 5%; }
.ihl { margin-bottom: 60px; }
.ihl-wrap a, .ihl-wrap a:visited { text-decoration: none; }
.ihl-wrap a:hover, .ihl-wrap a:active, .ihl-wrap a:focus { text-decoration: underline; }
.ihl-wrap a:hover img { transform: scale(1.03); opacity: 0.7; }
.ihl-img-wrap { aspect-ratio: 570/711; }
.ihl-img-wrap > img { object-fit: cover; width: 100%; height: 100%; opacity: 1; transition: opacity ease-in-out .5s, transform ease-in-out .5s; }
.ihl-wrap h2 { margin: 15px auto 0; }
/*<- 2025*/

@media(max-width:1199px) {
	.footer-certs { flex: 0 0 100%; max-width: 100%; }
	.footer-certs img { margin: 0 12px 8px 0; display: inline-block; width: auto; max-height: 70px; }
	
	#isotope { max-width:640px; }
}

@media(max-width:991px) {
	#isotope { max-width:560px; }
	.iso-block { width:260px; }

	.slider-nav { margin-top: 30px; }
	
	/*2025 ->*/
	.ithl-content-inner { padding-left: 15px; }
	.order-md-1 .ithl-content-inner { padding-right: 15px; }
	/*<- 2025*/
}

@media(max-width:767px) {
	#isotope { max-width:400px; }
	.iso-block { width:100%; }
	.masonry-wrap { padding-left:10px; padding-right:10px; }

	.slider-nav { margin-top: 15px; }
	.slider-nav .slick-track { width: 100%!important; }
	.slider-nav .slick-slide.slide-wrap { padding-right: 15px; float: none; display: inline-block; width: 33%!important; max-width: 33%!important; margin-bottom: 7px; }
	
	.footer-certs { margin-top: 20px; }
	.footer-certs img { margin: 0 6px 6px 0; max-height: 50px; }
	
	/*2025 ->*/
	.hero-img-block.img-block, .hero-img-block.img-block > .img-block-img { aspect-ratio: unset; height: 540px; }
	.hero-img-block.img-block.video-hero { height: auto; }
	.hero-img-block.img-block.video-hero > .img-block-img { height: 100%; }
	.hero-img-block.img-block.hero-w-logo::after { width: 225px; height: 225px; }
	.video-hero.video-hero-w-mob .img-block-img video { display: none; }
	.video-hero.video-hero-w-mob .img-block-img video.hero-mob-video { display: block; }
	.hero-img-block.img-block.video-hero.video-hero-w-mob { aspect-ratio: 9/16; }

	
	h2 .animated-title-row-inner { font-size: clamp(40px, 7.9vw, 150px); }
	
	.prod-hls, .page-hls { padding-top: 40px; padding-bottom: 50px; }
	.page-hls .linkbtn { margin-top: 20px; }
	.page-hl { margin-bottom: 50px; }
	.prod-hls-alt .col-12.linkbtn { margin-top: 10px; margin-bottom: 0; }
	
	.ithl { padding-top: 40px; padding-bottom: 40px; }
	.ithl-content-inner { margin-top: 30px; }
	.ithl-content-inner, .order-md-1 .ithl-content-inner { padding-left: 0; padding-right: 0; }
	
	.ihl-wrap h2 { font-size: 26px; }
	/*<- 2025*/
}

@media (max-width: 450px) {
	/*2025 ->*/
	h2 .animated-title-row-inner { font-size: 8.2vw; }
	
	.page-hl { margin-bottom: 35px; }
	.page-hl-title.woocommerce-loop-product__title { margin-top: 10px; }
	.page-hl .linkbtn { margin-top: 15px; }
	.page-hl p + .linkbtn { margin-top: 20px; }
	
	.ithl, .ihl-wrap { padding-top: 35px; padding-bottom: 35px; }
	.ithl-content-inner { margin-top: 20px; }
	.ithl p { margin-top: 15px; }
	.ithl .linkbtn { margin-top: 30px; }
	
	.ihl { margin-bottom: 35px; }
	/*<- 2025*/
}

/* @media(max-width: 768px) { 
	.hero-img-block.img-block.hero-img-w-mob { aspect-ratio: 9/16; height: auto; }
} */

/* Navigation
--------------------------------------------- */
.breadcrumb-wrap { font-size: 14px; line-height: 16px; letter-spacing: 0.01em; }
.breadcrumb-wrap i { font-size: 8px; line-height: 16px; vertical-align: text-bottom; }
.single-reference .breadcrumb-wrap { margin-bottom: 45px; }
#breadcrumbs a, .woocommerce-breadcrumb a, #breadcrumbs i, .woocommerce-breadcrumb i { margin-right: 28px; text-decoration: none; }
.woocommerce-breadcrumb a, .woocommerce-breadcrumb i { margin-right: 31px; }
#breadcrumbs .breadcrumb_last, .woocommerce-breadcrumb > span { text-decoration: underline; }

a#logo { display:block; max-width: 100%; width:237px; height:23px; text-indent:-9000pt; background-image:url(img/logo_bigger.svg); background-size:100% auto; background-repeat:no-repeat; background-position: center center; transition: background-image ease-in-out .25s; }
a#logo:hover { background-image:url(img/logo_change_01_bigger.svg); transition: background-image ease-in-out .25s; }
a#logo.sv:hover { background-image: url(img/logo_change_01_sv_bigger.svg); }

.top-nav { float:right; margin:0; padding:0; list-style-type: none; position: relative; width: 170px; display: flex; align-items: center; }
.top-nav.no-cart { width: 110px; }
.top-nav li { /*display:inline; */ margin:0 15px; opacity: 1; transition: opacity 2s; }
.top-nav li.hide { opacity: 0; transition: opacity .7s; }
.top-nav li.search-bar { margin-left: 10px; position: absolute; right: 0; }

.top-nav .cart { display:inline-block; vertical-align: top; width:22px; height:20px; background-image: url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 69.68 60.17'%3E%3Cdefs%3E%3Cstyle%3E.cls-1,.cls-3%7Bfill:none;%7D.cls-2%7Bclip-path:url(%23clip-path);%7D.cls-3%7Bstroke:%231d1d1b;stroke-width:4px;%7D%3C/style%3E%3CclipPath id='clip-path' transform='translate(0 0)'%3E%3Crect class='cls-1' width='69.68' height='60.17'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='cls-2'%3E%3Cpath class='cls-3' d='M61.06,53a5.23,5.23,0,1,1-5.22-5.22A5.22,5.22,0,0,1,61.06,53ZM34.64,53a5.22,5.22,0,1,1-5.22-5.22A5.22,5.22,0,0,1,34.64,53ZM0,2H13.12L25,39.68M16.86,12.76h50.2l-7,25.55H23.26' transform='translate(0 0)'/%3E%3C/g%3E%3C/svg%3E"); background-repeat: no-repeat; background-position:center center; background-size:100% auto; }
.top-nav .cart { background-image: url(fontawesome-pro-5.6.1-web/svgs/light/clipboard-list.svg); background-size: contain; }

#searchform { position: relative; top: -4px; display: inline-block; }
.top-nav .search-submit, .top-nav .search-submit:hover { background-image: url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 62.72 60.19'%3E%3Cdefs%3E%3Cstyle%3E.cls-1,.cls-3%7Bfill:none;%7D.cls-2%7Bclip-path:url(%23clip-path);%7D.cls-3%7Bstroke:%231d1d1b;stroke-width:4px;%7D%3C/style%3E%3CclipPath id='clip-path' transform='translate(0 0)'%3E%3Crect class='cls-1' width='62.72' height='60.19'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='cls-2'%3E%3Ccircle class='cls-3' cx='27.44' cy='27.44' r='25.44'/%3E%3Cline class='cls-3' x1='47.3' y1='43.84' x2='61.25' y2='58.83'/%3E%3C/g%3E%3C/svg%3E"); background-color: transparent; background-repeat: no-repeat; background-position:left center; background-size:20px 20px; }
.top-nav .search-submit { position: absolute; z-index: 1; top: 0; right: 0; cursor: pointer; border: 1px solid rgba(255,255,255,0); padding: 0; text-indent: -9999px; width: 26px; height: 28px; }
.top-nav .search-submit:active, .top-nav .search-submit:focus { outline: 0; }
.top-nav .search {
	display: inline-block;
	/* vertical-align: top; */
	width:20px;
	height:28px;
	padding: 4px 28px 4px 4px;
	font-size: 14px;
	outline: none;
	-webkit-appearance: textfield;
	-moz-appearance: textfield;
	appearance: textfield;
	background: #fff;
	border: solid 1px rgba(0,0,0,0);
	/* width: 55px; */
	color: rgba(0,0,0,0);
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
}
.top-nav .search::-webkit-search-decoration,
.top-nav .search::-webkit-search-cancel-button,
.top-nav .search::-webkit-search-results-button,
.top-nav .search::-webkit-search-results-decoration {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	display: none;
}
.top-nav .search::placeholder, .top-nav .search::-webkit-input-placeholder {
	color: rgba(0,0,0,0);
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	transition: all .2s;
}
#searchform:focus-within .search {
	width: 170px;
	background-color: #fff;
	border: solid 1px rgba(0,0,0,1);
	color: rgba(0,0,0,1);
}
#searchform:focus-within .search::placeholder, #searchform:focus-within .search::-webkit-input-placeholder {
	color: rgba(0,0,0,1);
	transition: all .7s;
}
#searchform .search-submit:hover { background-color: transparent; }

#show-menu { display:inline-block; vertical-align: top; width: 21px; padding-top:3px; cursor:pointer; }
#show-menu .bar { position:relative; display:block; opacity:1; width:100%; height:2px; background:#000; margin-bottom:4px; -webkit-transition: opacity 500ms, transform 500ms, position 500ms; -moz-transition: opacity 500ms, transform 500ms, position 500ms; -ms-transition: opacity 500ms, transform 500ms, position 500ms; -o-transition: opacity 500ms, transform 500ms, position 500ms; transition: opacity 500ms, transform 500ms, position 500ms; }
#show-menu .bar:nth-child(2) { width:auto; margin-right:4px; }

.close.main-menu-toggle { cursor:pointer; color:#000; opacity:1; }
.close.main-menu-toggle i { font-size:24px; }
.main-menu-wrap {
	display: none;
	position: absolute;
	top:0;
	right:0;
	width:460px;
	padding:80px 40px 30px 75px;
	background:#f4f0ed;
	z-index:999;
}

.mm-open .main-menu-wrap { display:block; }

.main-navigation ul {
	display:block;
	list-style: none;
	margin: 0;
	padding-left: 0;
}
.main-navigation ul li { display:block; cursor: pointer; }
.main-navigation ul li.menu-item-has-children { position:relative; }
.main-navigation ul li a {
	font-size:15px;
	font-weight: 500;
	letter-spacing:0.01em;
	text-decoration:none;
	margin-bottom:8px;
	display:block;
	margin-right:50px;
}
.main-navigation ul li a:hover { text-decoration:underline; }

.main-navigation ul ul { margin-left:30px; display:none; }
.main-navigation ul li.open ul { display:block; }

.main-navigation ul li.menu-item-has-children:after { display:block; width:30px; height:41px; position:absolute; top:0; right:0px; cursor:pointer; content:"\f078"; font-family:"Font Awesome 5 Pro"; font-weight:300; }
.main-navigation ul li.menu-item-has-children.open:after { content:"\f077"; }

.site-footer ul { list-style-type:none; margin:0 0 20px; padding:0; }
.site-footer ul li {  }
.site-footer ul li a { color:#000; font-size:14px; line-height: 24px; font-weight:500; letter-spacing: 0.03em; }

.some-links a { display:inline-block; color:#fff; background: #000; padding-left: 1px; width:30px; height:30px; border-radius:30px; text-align:center; line-height:30px; margin:0 5px 5px 0;  }
.some-links a i { font-size:16px; }

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

#masthead { 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 998;
}

.site-main, .breadcrumb-wrap { margin-top: 218px; }
.main-menu-wrap { top: -149px; }

@media (max-width: 767px) {
	.site-main, .breadcrumb-wrap { margin-top: 80px; }
	.main-menu-wrap { top: -15px; }
}

@media (min-width: 768px) {
	.breadcrumb-wrap + .site-main { margin-top: 0; }
}



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

/*Media queries*/
@media (max-width:991px) {
	.quote-wrap { padding: 0 10%; }
}

@media (max-width:767px) {
	h1 { font-size: 40px; line-height: 50px; margin-bottom: 50px; }
	h3, .ingressi p { font-size: 22px; line-height: 36px; }

	.site-header { padding: 15px 0 40px; }
	#lang_switch { right: 0; }
	#lang_switch .current-lang::after { width: 38px; }

/*	.page-template-template_blocks #primary { padding-left: 15px; padding-right: 15px; }*/
	.container.mobile-p { padding-left: 30px; padding-right: 30px; }
	.main-menu-wrap { width: 100%; }

/*	.img-block, .img-block-img { height: 540px; }*/

	.breadcrumb-wrap { display: none; }

	.quote { padding: 100px 0; }
	.quote-wrap { padding: 0; }

	.slider-nav-container { margin-bottom: 0; }
	.single h1 { font-size: 32px; line-height: 43px; margin-bottom: 30px; }

	.single-post #primary, .single-news #primary { margin-top: 0; }
	.single-post h2, .single-post h3 { margin-top: 50px; margin-bottom: 40px; }
	.tags { margin-top: 12px; }
	.single-post .related { margin-top: 60px; margin-bottom: 0px; }
	.single-post .related h5 { margin-bottom: 25px; }
	.post-hl .post-img, .emp-img { margin-bottom: 25px; }
	.single-post #primary ul, .single-post #primary ol, .single-news #primary ul, .single-news #primary ol { padding-left: 20px; }

	.page-template-template_contact .ingressi { margin-top: 40px; }
	.employees { margin-top: 30px; }
	.employee { margin-bottom: 40px; }
	#form { margin-top: 40px; }
	#form p { margin-bottom: 0; }
	#form > .col-12 { padding: 35px 15px; }
	#form label { margin-bottom: 17px; }
	#form input[type="file"] { padding: 0; margin-bottom: 17px; }
	#form input[type="submit"] { float: none; }
	.wpcf7 .ajax-loader { vertical-align: middle; }

	.ref-logos { margin-bottom: 80px; }
	
	.single-reference .ref-title h2 { margin-bottom: 22px; }

	.site-footer { padding: 60px 0; }
}

@media (max-width:575px) {
	.main-menu-wrap { width: calc(100% - 30px); margin-left: auto; margin-right: auto; left: 0; right: 0; }
	section.error-404 { padding: 50px 15px; }
	.single-post #primary ul, .single-post #primary ol, .single-news #primary ul, .single-news #primary ol { margin-left: 0; }
	
	.img-block.hero-w-logo:after { width: 34%; height: auto; }
}

@media (max-width:450px) {
	h1 { font-size: 34px; line-height: 45px; }
	h3, .ingressi p, p, .single-reference p, .single-post p { font-size: 18px; line-height: 30px; }

	.top-nav, #searchform:focus-within .search { width: 135px; }
	.top-nav li, .top-nav li.search-bar { margin: 0 9px; }
}
