/*!
Theme Name: Valoroso Cattaneo
Theme URI: http://underscores.me/
Author: Salvatore Rizzello
Author URI: http://salvatorerizzello.com/
Description: Custom theme developed for Valoroso Cattaneo
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: vc_partners
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.

Valoroso Cattaneo 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
--------------------------------------------------------------*/
:root {
	--primary: #56afd6;
	--light: #ddeff7;
	--light-rgb: 221, 239, 247;
	--bs-light: #ddeff7;
	--bs-light-rgb: 221, 239, 247;
	--dark: #1b4f67;
	--dark-rgb: 27, 79, 103;
	--bs-dark: #1b4f67;
	--bs-dark-rgb: 27, 79, 103;
	--giallo: #EDA635;
}


/* 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.
 */
body {
	margin: 0;
}

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

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

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

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

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

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

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

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

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

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

/**
 * Add the correct font size in all browsers.
small {
	font-size: 80%;
}
*/

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

html {
	box-sizing: border-box;
}

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

/* Colours
--------------------------------------------- */
.bg-green { background-color: #BFC5B3; }
.bg-light-green { background-color: #EFF2EE; }
.bg-very-light { background-color: rgba(var(--light-rgb),.5); }
.bg-olive-green { background-color: #8A9956; }


.bg-giallo{fill:var(--giallo);}
/* .st1{fill:#475A28;}
.st2{fill:#96A488;} */
.st1{fill:var(--dark);}
.st2{fill:var(--primary);}

.giallo { color: var(--giallo); }
a.giallo { color: var(--giallo); }

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

menu: fakt normal
bold e titoletti maiuscoli. fakt semibold
testo fakt light

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

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
	font-family: 'Inter', sans-serif; font-weight: 300;
}

.inter { font-family: 'Inter', sans-serif; font-weight: 300; }
.bodoni { font-family: 'bodoni-moda', serif; font-weight: 300; letter-spacing: -0.04em; font-size: 1.15em; transform: translateY(-0.05em);}

h2 {
	font-size: 1.5rem;
}
p {
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

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

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

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

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

big {
	font-size: 125%;
}


@media (min-width: 768px) {
	h2 { font-size: 2rem; }
}
@media (min-width: 1200px) {
	h2 { font-size: 2.5rem; }
}

/* 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: var(--dark);
}

a:visited {
	color: var(--dark);
}

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

a:focus {
	outline: thin dotted;
}

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

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

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

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

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

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

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}


/*
REVEAL
*/

.reveal,
.reveal_async { transition: all 600ms ease-out; opacity: 0; }
.reveal.revealed,
.reveal_async.revealed { opacity: 1; }

.reveal.from-top,
.reveal_async.from-top { transform: translateY(-3rem); }
.reveal.from-top.revealed,
.reveal_async.from-top.revealed { transform: translateY(0); }

.reveal.from-bottom,
.reveal_async.from-bottom { transform: translateY(3rem); }
.reveal.from-bottom.revealed,
.reveal_async.from-bottom.revealed { transform: translateY(0); }

/*
IMG HOLDER
*/
.img-holder {
  display: flex;
  position: relative;
  width: 100%;
  overflow: hidden;
}
.img-holder .img {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  transition: all .6s ease-out;
}
.async .img { transition-delay: .6s; }

.prop2by3 { padding-bottom: 150%; }
.prop1by1 { padding-bottom: 100%; }
.prop4by3 { padding-bottom: 75%; }
.prop16by9{ padding-bottom: 56.25%; }
.prop2by1 { padding-bottom: 50%; }

.resp-iframe-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.5217%;
}
.resp-iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
@media (max-width: 575px) {
	.container { padding-left: 30px; padding-right: 30px; }
}

@media (min-width: 1600px) {
	.container {
	    max-width: 1468px;
	}
}

.animated-thumb {
  -ms-transform: translate(0, 80px);
  -webkit-transform: translate(0, 80px);
  transform: translate(0, 80px);
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
  transition: all 1s ease-out;
  opacity:0.01;
}
.animated-thumb {
  -webkit-transition: opacity 1s ease-out, transform 1s ease-out;
  -moz-transition: opacity 1s ease-out, transform 1s ease-out;
  -o-transition: opacity 1s ease-out, transform 1s ease-out;
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.animated-thumb.thumb-shown,
.animated-thumb.thumb-shown:last-child {
  -ms-transform: translate(0, 0);
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
  opacity: 1;
}

/*
@media (min-width: 1740px) {
	.container {
	    max-width: 1700px;
	}
}
*/
/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
header { background: var(--light); padding: 21px 0 25px; position: relative; z-index: 999; }

footer { background: var(--light); padding: 2em 0 0; }

.navbar .container-fluid { padding-left: 1.8em; padding-right: 1.8em; }
.navbar-brand img { height: 3.6em; width: auto; }
.navbar-light .navbar-nav { flex-direction: unset; flex-wrap: wrap; padding-top: 20px; }
.navbar-light .navbar-nav > li { margin-bottom: 10px; }
.navbar-light .navbar-nav li {
    position: relative; font-size: 0.9em; font-family: 'Fakt-Blond'; list-style: none; text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; color: var(--dark); padding-right: 0.75em; padding-left: 0.75em;
}
.navbar-light .navbar-nav li.menu-item-48 { width: 50%; margin-right: auto;}
.navbar-light .navbar-nav li.social { padding-top: .4rem; width: auto; padding-right: 1em; }
.navbar-light .navbar-nav li.instagram img { width: 1em; }
.navbar-light .navbar-nav li.linkedin img { width: 1.1em; }

.navbar-light .navbar-nav li a { position: relative; text-decoration: none; }
.navbar-light .navbar-nav li a:after { content: ""; display: block; position: absolute; left: 0; bottom: -0.2em; width:0; height: 1px; background:var(--dark); transition: all 300ms ease;  }
.navbar-light .navbar-nav li a:hover:after { width: 100%; }

.navbar-light .navbar-nav li.current-menu-item,
.navbar-light .navbar-nav li.current_page_parent,
.navbar-light .navbar-nav li.current-menu-ancestor { font-family: 'Fakt-Semibold'; }

.navbar-light .navbar-nav .sub-menu {
	display: block;
	position: relative;
	margin: 0;
	padding: 0.5em 1em;
	z-index: 90;
	white-space: nowrap;
	border-left: 2px solid #a2ab92;
}
.navbar-light .navbar-nav .sub-menu li { font-size: 1em; padding: 0.25em 0; text-transform: none;}

.navbar-light .navbar-toggler { border-color: transparent; padding: .25rem; }
.navbar-light .navbar-toggler-icon { width: 1.2em;}


.jumbotron { background: var(--light); }
.jumbotron .scroll-down {
	display: block;
  position: absolute;
  bottom: 0;
  right: 15px;
  font-size: 0.7em;
  transform-origin: top right;
  -moz-transform: scale(1) rotate(90deg);
  -webkit-transform: scale(1) rotate(	90deg	);
  -o-transform: scale(1) rotate(90deg);
  -ms-transform: scale(1) rotate(90deg);
  transform: scale(1) rotate(	90deg	);
}

.jumbotron .hero { position: relative; background-repeat: no-repeat; background-size: cover; background-position: center; }


.overlay { position: absolute; width: 100%; height: 100%; top: 0; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.2 ); z-index: 1; }
.overlay-dark { position: absolute; width: 100%; height: 100%; top: 0; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,0.1 ); z-index: 1; }

.jumbotron .inner { position:relative; z-index: 2; }
.jumbotron .title { }
.jumbotron .subtitle { font-size: 0.9em; margin: 1em auto; }
.jumbotron a { display: inline-block; position: relative; font-size: 0.65em; font-family: 'Fakt-Semibold'; text-decoration: none; text-transform: uppercase; letter-spacing: 0.05em; z-index: 2; margin-right: 1em; border: 1px solid;
    padding: 0.3em .8em;}
.jumbotron a:after { content: ""; display: block; position: absolute; left: 0; bottom: -0.2em; width:0; height: 1px; background:var(--dark); transition: all 200ms ease;  }
.jumbotron a:hover:after { width: 100%; }

.jumbotron .hero .inner { padding: 60px 0; opacity: 0; transition: all 500ms ease; }
.jumbotron .hero .inner.visible { opacity: 1; }
.jumbotron .hero .title { padding: 0 15px; }

.jumbotron .hero .inner > div { padding-left: 0; padding-right: 0; }
.jumbotron .hero .inner > div .title { padding: 0; margin-bottom: 0.2em;}

.jumbotron .hero-slider .inner { top: 40%; transform: translateY(-50%); text-align: center; padding: 0 30px; }
.jumbotron .hero-slider .title { font-size: 1.2rem; }

/* light title */
.light-title .overlay { background: rgba(0,0,0,0.2); }
.light-title .inner { color: #fff; }
.light-title a { color: #fff; }
.light-title a:after { background-color: #fff; }

/* dark title */
.dark-title .overlay { background: rgba(255,255,255,0.2); }
.dark-title .inner { color: var(--dark); }
.dark-title a { color: var(--dark); }
.dark-title a:after { background-color: var(--dark); }

/* full height */
.hero.full-height { display: flex; flex-direction: column; justify-content: center; }
.hero.full-height .inner{ padding: 60px 0 120px; }


.flickity-prev-next-button { width: 60px; height: 60px; background: #FFF; position: absolute; top:auto; bottom: 0; border-radius: 0; transform: none; transition: all 200ms ease; }
.flickity-prev-next-button.previous{ left: auto; right: 60px; }
.flickity-prev-next-button.next{ left: auto; right: 0; }
.flickity-prev-next-button.previous svg { left: 29%; }
.flickity-prev-next-button.next svg { left: 11%; }
.arrow { fill: var(--dark); transition: all 200ms ease; }
.flickity-prev-next-button:hover{ background: var(--light); }
.flickity-prev-next-button:disabled { background: #FFF; opacity: 1; cursor: auto; }
.flickity-prev-next-button:disabled .arrow { fill: var(--light); }



@media (min-width: 480px) and (max-width: 425px) {
	.navbar-brand img { height: 44px; }
	.navbar-light .navbar-toggler-icon { width: 1.5em;}
}

@media (min-width: 480px) and (max-width: 991px) {
	.navbar-light .navbar-nav  {  }
	.navbar-light .navbar-nav > li  { width: 50%; padding-left: 0; padding-right: 0; margin-bottom: 30px; }
}
@media (min-width: 768px) {
	.jumbotron .hero-slider .title { font-size: 1.6em; }
	.jumbotron .hero .inner { padding: 80px 0; }
}

@media (min-width: 992px) {
	.navbar-light .navbar-nav  { flex-direction: row; flex-wrap: nowrap; padding-top: 0; }
	.navbar-light .navbar-nav li { font-size: 0.7em; white-space: nowrap; width: auto; }
	.navbar-light .navbar-nav li.social { padding-top: .4rem; width: auto; padding-right: 1em; }
	.navbar-light .navbar-nav li.menu-item-48 { width: auto; }
	.navbar-light .navbar-nav > li  { margin-bottom: 0; }
	.navbar-light .navbar-nav .sub-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); background-color: var(--bs-white); }
	.navbar-light .navbar-nav .sub-menu:before {
	    display: block;
	    position: absolute;
	    content: "";
	    width: 1em;
	    height: 1em;
	    background: var(--bs-white);
	    top: 0;
	    left: 50%;
	    transform: translate(-.8em, -0.4em) rotate(45deg);
	    transform-origin: center center;
			z-index: 60;
	}
	.navbar-light .navbar-nav .sub-menu { border: none; }
	.jumbotron .hero-slider .title { font-size: 2em; }

	.jumbotron .hero .inner { padding: 120px 0; }

}


/** HOME **/
.home .jumbotron { height: 100vh; }
.jumbotron .hero-slider { width: 100%; height: 100%; overflow: hidden; }
.jumbotron .carousel-cell { width: 100%; height: 100%; background-repeat: no-repeat; background-size: cover; background-position: center; }

.home-intro p { position: relative; margin-top: 1.8em; font-size: 0.9em; z-index: 2; padding: 0; }

.fascia-servizi { padding: 3.6em 0; }

a.blocco-servizio { display: block; position: relative; width: 100%; flex-direction: column; text-decoration: none; padding:1.5rem 1rem 4rem; border-top: 1px solid var(--primary); }
a.blocco-servizio h2 { position: relative; z-index: 2; font-size: 1.6em; }
a.blocco-servizio p { position: relative; margin-top: 1em; font-size: 0.9em; z-index: 2; }
a.blocco-servizio span { display: inline-block; position: relative; font-size: 0.65em; font-family: 'Fakt-Semibold'; letter-spacing: 0.05em; z-index: 2; }
a.blocco-servizio span:after { content: ""; display: block; position: absolute; left: 0; bottom: -0.2em; width:0; height: 1px; background:var(--dark); transition: all 200ms ease; }
a.blocco-servizio:before { content:""; display: block; position: absolute; top: 30px; left: 33px; bottom: 30px; right: 33px; background: var(--light); z-index: 1; opacity: 0; transition: all 200ms ease; border-radius: 1rem;}

a.blocco-servizio:hover { cursor: pointer; }
a.blocco-servizio:hover span:after { width: 100%; }
a.blocco-servizio:hover:before { top: 0; left: 0; bottom: 0; right: 0; opacity: 1; transition: all 200ms ease; }

a.blocco-servizio svg { position: absolute; bottom: 1rem; right: 1rem; width: 40%; z-index: 1; }
a.blocco-servizio svg .bg-giallo { opacity: 0; transition: all 200ms ease; }
a.blocco-servizio:hover svg .bg-giallo { opacity: 1; }



.home-chi-sono { color: #fff; }
.home-chi-sono .testi-holder { display: flex; flex-direction: column; justify-content: center; }
.home-chi-sono h4 { display: inline-block; position: relative; font-family: 'Fakt-Blond'; font-size: 0.8em; margin-bottom: 2em; }
.home-chi-sono h4:after { content: ""; display: block; position: absolute; left: 0; bottom: -0.2em; width:100%; height: 1px; background:#FFF; }
.home-chi-sono p { position: relative; margin-top: 1em; font-size: 0.9em; z-index: 2; }
.home-chi-sono a { display: inline-block; position: relative; font-size: 0.65em; font-family: 'Fakt-Semibold'; letter-spacing: 0.05em; color: #fff; text-decoration: none; z-index: 2; }
.home-chi-sono a:after { content: ""; display: block; position: absolute; left: 0; bottom: -0.2em; width:0; height: 1px; background:#FFF; transition: all 200ms ease; }
.home-chi-sono a:hover:after { width: 100%; }

.home-chi-sono a.imgbox { display: block; position: relative; width: 100%; padding-bottom: 56.25%; background-color: #fff; background-position: center center; background-size: cover; background-repeat: no-repeat; }

.home-diario { padding: 80px 0; }
.home-diario .titling { padding: 0 0 60px; }

.card-article { border:none; text-decoration: none; padding-bottom: 30px; margin-bottom: 30px; }

.card-article img{ background: var(--dark); opacity: 0.8; transition: all 200ms ease; }
.card-article p { font-size: 0.9em; margin-top: 0.65em; }
.card-article span.read-more { display: inline-block; position: relative; font-size: 0.65em; font-family: 'Fakt-Semibold'; letter-spacing: 0.05em; z-index: 2; }
.card-article span.read-more:after { content: ""; display: block; position: absolute; left: 0; bottom: -0.2em; width:0; height: 1px; background:var(--dark); transition: all 200ms ease; }
.card-article:hover span:after { width: 100%; }
.card-article:hover img{ opacity: 1; }

.card-article .imgbox { position: relative; width: 100%; padding-bottom: 56.25%; background-color: #FFF; }
.card-article .imgbox .img { position: absolute; top: 0; left: 0; bottom: 0; right: 0; background-position: center center; background-size: cover; background-repeat: no-repeat; opacity: .8; transition: all 200ms ease; }
.card-article:hover .imgbox .img { opacity: 1; }


@media (min-width: 768px) {
	a.blocco-servizio { border-top: none; padding-top: none; padding-left: inherit; padding-right: inherit; height: 100%;  }
	.home-intro p { padding: 0 10%; }

}
@media (min-width: 992px) {
	a.blocco-servizio { padding: 1.5rem 1.5rem 7rem; border: 1px solid var(--primary);  border-radius: 1rem; }
	a.blocco-servizio:hover {}
	a.blocco-servizio h2 { font-size: 2em; }
	a.blocco-servizio svg { right: 40px; }

}


/* CHI SONO */
.submenu-chi-sono { padding: 40px 0 0 ;}
.submenu-chi-sono ul { padding:0; margin: 30px 0 0; list-style: none; border-top: 1px solid #9d9e83; }
.submenu-chi-sono ul li { display: block; margin: 0; border-bottom: 1px solid #9d9e83; }
.submenu-chi-sono ul li a { display: block; margin: 0; padding: 1.2rem 0 1rem; font-size: 1.5em; text-decoration: none; transition: all 200ms ease; }
.submenu-chi-sono ul li a span { display: block;
	margin-top: .7rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-family: 'Fakt-Semibold';
  letter-spacing: 0.05em;
  z-index: 2;
  top: 50%;
  transform: translateY(-0.7em);
	opacity: 1;
	padding-right: 3em;
}

.submenu-chi-sono ul li a:hover { background: #EFF2EE; }

.chi-sono-child .primary-content { padding: 30px 0; }
.chi-sono-child .secondary-content { background: rgba(var(--light-rgb),.5); padding: 30px 0; }
.chi-sono-story > div { display: flex; flex-direction: column; justify-content: center; }


.profile_pic { height: 5em; border-radius: 50%; border:2px solid var(--dark); box-shadow: -.5em 0 0 var(--primary); }
.col-partner .col { display: flex; flex-direction: column; justify-content: center; }

/* SERVIZI */

.intro-servizi { padding: 30px 0; }

.overlay-green { padding: 40px 0; color: #FFF; }

.servizi-content { padding: 30px 0 0; }

.servizio-intro { position: relative; border-bottom: 1px solid #9d9e83; }
.faq-domande { display: flex; position: relative; padding: 30px 30px 0  30px; flex-direction: column; justify-content: center; }
.faq-domande a.domanda { display:block; font-family: 'Inter'; font-size: 1.5em; line-height: 1.3em; color: #babba7; transition: all 200ms ease; text-decoration: none}
.faq-domande a.domanda:hover,
.faq-domande a.domanda.active { color: #404b18; cursor: pointer; text-decoration: none;}

.faq-risposte { position: relative; padding: 30px 30px 30px 30px; flex-direction: column; justify-content: center; display: flex; }


.servizi-content .sezione{ padding: 0 0 30px; }
.servizio-content .sezione { padding: 30px 0; }
.servizio-content .sezione:last-of-type { background: rgba(var(--light-rgb),.5) }

.page-template-template-valori .servizio-content .sezione:nth-child(2) { background: rgba(var(--light-rgb), .4); }
.page-template-template-valori .servizio-content .sezione:last-of-type { background: rgba(var(--light-rgb), .7); }


.intro-servizi h2,
.chi-sono-content h2,
.servizi-content h2,
.servizio-content h2 { margin-bottom: 1em; }

.intro-servizi p,
.chi-sono-content p,
.servizi-content p,
.servizio-content p { margin-bottom: 0.5em; }

.intro-servizi ul,
.servizi-content ul,
.servizio-content ul { padding: 0 0 0 2em; margin: 0; list-style: none; }

.intro-servizi ul li,
.servizi-content ul li,
.servizio-content ul li { position: relative; }

.intro-servizi ul li:before,
.servizi-content ul li:before,
.servizio-content ul li:before { content: '→ '; font-weight: bold; position: absolute; left: -1.2em; }

.intro-servizi hr,
.servizi-content hr,
.servizio-content hr { background-color: var(--dark); }

.prenota-holder { border-top: 1px solid; text-align: center;}
a.btn-prenota {
		display: inline-block;
    position: relative;
    font-size: .8em;
    font-family: 'Fakt-Semibold';
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 2;
    margin-right: 1em;
    border: 1px solid;
    padding: 0.6em 1.6em;
		transform: translateY(-50%);
		background:#fff;
	}


@media (min-width: 768px) {
	.intro-servizi { padding: 60px 0; }
	.servizi-content .sezione{ padding: 0 0 60px; }
	.servizio-content .sezione { padding: 60px 0; }
	.submenu-chi-sono { padding: 60px 0 0 ;}
	.submenu-chi-sono ul { margin: 45px 0 0; }
	.submenu-chi-sono ul li a { font-size: 1.6em; padding: 1.6rem 0 1.4rem; }
	.servizi-content { padding: 60px 0 0; }
	.servizio-content ul { padding: 0; }
	.chi-sono-child .primary-content { padding: 60px 0; }
	.chi-sono-child .secondary-content {padding: 60px 0; }
	.overlay-green { padding: 60px 0; }

}
@media (min-width: 992px) {
	.intro-servizi { padding: 80px 0; }
	.servizi-content .sezione{ padding: 0 0 80px; }
	.servizio-content .sezione { padding: 80px 0; }
	.faq-domande {padding: 40px 40px 40px 0; border-right: 1px solid #9d9e83; }
	.faq-domande a.domanda { font-size: 2em; line-height: 1.3em; }
	.faq-risposte { padding: 40px; }
	.submenu-chi-sono { padding: 80px 0 0 ;}
	.submenu-chi-sono ul { margin: 60px 0 0; }
	.submenu-chi-sono ul li a { font-size: 1.8em; padding:2rem 0; }
	.submenu-chi-sono ul li a span { display: inline-block; position: relative; float: right; margin-top: 0; }
	.servizi-content { padding: 80px 0 0; }
	.chi-sono-child .primary-content { padding: 80px 0; }
	.chi-sono-child .secondary-content {padding: 80px 0; }
	.overlay-green { padding: 80px 0; }
}


.overlay-green { position: relative; background-color: #404b18; }
.overlay-green .imgbg{ position: absolute; top: 0; left: 0; bottom: 0; right: 0; background-position: center center; background-size: cover; background-repeat: no-repeat; opacity: .3; z-index: 1; }
.overlay-green .container{ position: relative; z-index: 2; }
.overlay-green .titoletto { display: inline-block; font-size: 1.1rem; font-weight: 600; letter-spacing: 0.1rem; text-transform: uppercase; margin-bottom: 1.5em; }
.overlay-green a.know-more { display: inline-block; position: relative; font-size: 0.8em; letter-spacing: 0.05em; color:#fff; z-index: 2; text-decoration: none; margin-top: 1.5em; }
.overlay-green a.know-more:after { content: ""; display: block; position: absolute; left: 0; bottom: -0.2em; width:0; height: 1px; background:#FFF; transition: all 200ms ease; }
.overlay-green a.know-more:hover:after { width: 100%; }


.blog header { background: #FFF; }
.blog .titling { padding: 0 0 60px; }

.single-post header  { background: #FFF; }
.single-post .thumbnail .imgbox { position: relative; width: 100%; padding-bottom: 56.25%; background-color: #FFF; }
.single-post .thumbnail .imgbox .img { position: absolute; top: 0; left: 0; bottom: 0; right: 0; background-position: center center; background-size: cover; background-repeat: no-repeat; opacity: .8; transition: all 200ms ease; }


.page-template-template-bonom { background-color:var(--light);  }
.page-template-template-bonom header { background: transparent; }
.page-template-template-bonom .jumbotron { background: transparent; }


.wpcf7-form label { width: 100%; }
.wpcf7-form input { width: 100%; }
.wpcf7-form select { width: 100%; border-color: rgba(var(--dark-rgb),.5); border-radius: 3px; padding: 5px 3px; }
.wpcf7-form textarea { padding: 5px; }
.wpcf7-form *:focus { outline: var(--dark) auto 1px; }

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 {
	border-color: rgba(var(--dark-rgb),.5);
}


.wpcf7-form input.wpcf7-submit { background-color: var(--primary); text-transform: uppercase; color: #EFF2EE; font-weight: 600; letter-spacing: 0.02em; padding: 1em 1em 1em; border-color: rgba(var(--dark-rgb),.5); }
.wpcf7-form input.wpcf7-submit:hover { background-color: var(--dark); border-color: var(--dark); }
.wpcf7-form input.wpcf7-submit:focus { background-color: var(--giallo); border-color: var(--giallo); }


/** FOOTER **/
.site-footer { font-size: 1rem; }
.site-footer .container-fluid { padding-left: 1.8em; padding-right: 1.8em; }
/* .site-footer .site-info { line-height: 1.8em; padding: 60px 0 70px; } */
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

.site-footer ul ul a,
.site-footer a.light { position: relative; color: #6b7a52; padding-left: 0.6em; }

.site-footer ul ul a:before,
.site-footer a.light:before { content:"-"; position: absolute; left: 0; }

.site-footer .footer-column { display: flex; flex-direction: column; justify-content: flex-start; margin-bottom: 1.5rem; }
.site-footer .footer-logo img { width: 252px; }
.site-footer a.social { margin-right: .5em; }
.site-footer a.linkedin img { width: 1.1em; }
.site-footer a.instagram img { width: 1em; }

.site-footer .bottom-bar { border-top: 1px solid var(--dark); font-size: 1rem; color: var(--dark); text-align:center; padding: 1em  1.8em; }


@media (min-width: 480px) and (max-width: 991px) {
	.site-footer .footer-column { display: flex; flex-direction: column; justify-content: flex-start; }
}
@media (min-width: 768px) {
	/* .jumbotron .hero-slider .title { font-size: 1.6em; } */
	.site-footer .bottom-bar .copyrights { text-align: left; }
	.site-footer .bottom-bar .credits { text-align: right; }
}
@media (min-width: 991px) {

	.jumbotron .hero-slider { width: calc(100vw - 7.2rem); border-radius: 0 1.5rem 0 0; overflow: hidden; }
	.jumbotron .hero { border-radius: 0 1.5rem 0 0; overflow: hidden;}
	.site-footer .footer-column { padding-top: 2rem; padding-bottom: 2rem; }
	/* .site-footer .footer-column.footer-logo { padding-top: 0; } */
}


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


.btn { border-radius: 0; }

.btn-outline-primary {
	color: /*#0d6efd*/ var(--dark) ;
	border-color: /*#0d6efd*/ var(--dark) ;
}

.btn-outline-primary:hover {
	background-color: /*#0d6efd*/ var(--dark) ;
	border-color: /*#0d6efd*/ var(--dark) ;
}

.btn-check:active+.btn-outline-primary, .btn-check:checked+.btn-outline-primary, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show, .btn-outline-primary:active {
	background-color: -color: /*#0d6efd*/ var(--dark) ;
	border-color: /*#0d6efd*/ var(--dark) ;
}

.btn-check:focus+.btn-outline-primary, .btn-outline-primary:focus {
	box-shadow: 0 0 0 0.25rem rgb(71 91 43 / 50%)
}
.btn-check:active+.btn-outline-primary:focus, .btn-check:checked+.btn-outline-primary:focus, .btn-outline-primary.active:focus, .btn-outline-primary.dropdown-toggle.show:focus, .btn-outline-primary:active:focus {
	box-shadow: 0 0 0 0.25rem rgb(71 91 43 / 50%)
}



/* Navigation
--------------------------------------------- */



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

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

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	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 ul a {
	width: 200px;
}

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

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

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

	.menu-toggle {
		display: none;
	}

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

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

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

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

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

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

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