/*!
Theme Name: neuro1990
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
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: neuro1990
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.

neuro1990 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 

* {
    outline: 1px solid red;
}*/

@import url('https://fonts.googleapis.com/css2?family=Libre+Bodoni:ital,wght@0,400..700;1,400..700&display=swap');

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

body.no-scroll{
	
}

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

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

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

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

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

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

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

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

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

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

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

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

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

html {
	box-sizing: border-box;
}

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

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

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

p {
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

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

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

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

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

big {
	font-size: 125%;
}

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

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

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

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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

figure {
	margin: 1em 0;
}

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

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

a:visited {
	color: #800080;
}

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

a:focus {
	outline: thin dotted;
}

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

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

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

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

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

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

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

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

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

/* 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 {
	display: block;
	position: fixed;
	top: 0px;
	right: 0px;
	z-index: 1000;
	color: white;
	border: none;
	padding: 12px 20px;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.menu-toggle:hover {
	background-color: rgba(0, 0, 0, 0.9);
}

.main-navigation {
	position: fixed;
	top: 0;
	top: -100%;
	height: 100vh;
	width: 300px;
	background-color: rgba(0, 0, 0, 0.95);
	z-index: 999;
	padding-top: 80px;
	overflow-y: auto;
}

.main-navigation ul {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	padding: 0;
	height: 100vh;
}

.main-navigation ul li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-navigation a {
	display: block;
	padding: 15px 20px;
	color: white;
	text-decoration: none;
	transition: background-color 0.3s ease;
}

.main-navigation a:hover {
	background-color: rgba(255, 255, 255, 0.1);
}

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

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

	.menu-toggle {
		display: block;
	}

	.main-navigation {
		    position: static;
    height: auto;
    width: auto;
    background-color: transparent;
    padding-top: 0;
    position: fixed;
    width: 30%;
	}

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

	.main-navigation ul li {
		border-bottom: none;
	}

	.main-navigation a {
		padding: 10px 15px;
		color: inherit;
	}

	.main-navigation a:hover {
		background-color: transparent;
	}
}

.site-main{}

.home-main{    margin-top: 110vh;
    background: #fff;
    z-index: 2000;
    position: relative;}

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

/* header */
#masthead{
	height: 100vh;
	position: relative;
}
#masthead.height70{
	height: 70vh;
	position: relative;
	margin: 0;
}
#masthead.page{
	height: 50vh;
	position: relative;
	margin: 0;
}

#masthead.eventi{
	height: 10vh;
	position: relative;
	margin: 0;
}

.intro-page1{
	    width: 100%;
    float: left;
    background: #3daeb6;
    font-size: 3em;
    min-height: 30vh;
    display: flex;
    align-items: anchor-center;
}
.intro-page1 p{
	    font-family: 'Libre Bodoni', serif;
    text-align: left;
    font-size: 1em;
    padding: 0 10px;
    font-style: italic;
    color: #fff;
    font-weight: 600;
}
@media screen and (width >= 1240px) {
.intro-page1 p{
    padding: 0 260px;
}
}
.bg-header{
	    display: flex;
    align-items: center;
    vertical-align: sub;
    justify-content:right;
    z-index: 2;
    position: absolute;
    width: 100%;
    height: 100%;
}

.bg-header img{
	    height: 25%;
    padding-right: 20px;
}

@media screen and (width >= 1240px) {
 .bg-header{
    vertical-align: middle;
    justify-content: center;
}
.bg-header img{
	    height: auto;
    padding-right: 0px;
}
}

#scroller-header, #scroller-header-short, #scroller-header-low{
	    position: absolute;
    float: left;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#scroller-header .swiper-slide, #scroller-header-short .swiper-slide{
        background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3em;
	font-weight: 600;
}
#scroller-header .swiper-slide p{
        float: left;
    font-family: 'Libre Bodoni', serif;
    font-style: italic;
    background: rgba(0,0,0,0.3);
    height: 100%;
    display: flex;
    align-items: anchor-center;
    font-size: .9em;
    line-height: 45px;
    width: 100%;
    padding: 100px;
    padding-right: 60%;
}
@media screen and (width >= 1240px) {
 #scroller-header .swiper-slide p{
    font-size: 1.5em;
	line-height: 70px;
}
}
.fascia-servizi {
	    padding: 4rem 0;
    background: #3daeb6;
    position: relative;
}
.fascia-servizi p.titolo{
	    font-family: 'Libre Bodoni', serif;
    font-size: 4em;
    font-weight: 600;
    font-style: italic;
    color: #fff;
    margin: 0;
    padding: 0 10px;
}
@media screen and (width >= 1240px) {
.fascia-servizi p.titolo{
	padding: 0 100px;
}
}
.menu-swiper {
	position: relative;
}
.menu-swiper .swiper-wrapper {
	align-items: stretch;
}
.menu-swiper .swiper-slide {
	border-radius: 22px;
	min-height: 260px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.menu-swiper .menu-card-image{
	height: 400px;
	background-color: #000;
	width: 100%;
	border-radius: 10px;
}

.menu-title {
	    font-size: 1.5rem;
    color: #000;
    font-family: 'Libre Bodoni', serif;
    margin: 10px 0px 0 0;
}
.menu-text {
	font-size: 1rem;
	line-height: 1.8;
	color: #000;
	flex: 1;
	margin: 0;
}
.menu-text a{
	    width: 100%;
    float: left;
    margin-top: 40px;
	color: #000;
	font-family: 'Libre Bodoni', serif;
	font-weight: 600;
	text-transform: uppercase;
	font-style: italic;
	text-decoration: none;
}

.servizio-card-title {
	    font-size: 1.5rem;
    color: #fff;
    font-family: 'Libre Bodoni', serif;
    margin: 10px 0px 0 0;
}
.servizio-card-text {
	font-size: 1rem;
	line-height: 1.8;
	color: #fff;
	flex: 1;
	margin: 0;
}
.servizio-card-text a{
	    width: 100%;
    float: left;
    margin-top: 40px;
	color: #fff;
	font-family: 'Libre Bodoni', serif;
	font-weight: 600;
	text-transform: uppercase;
	font-style: italic;
	text-decoration: none;
}
.servizi-swiper .swiper-button-prev,
.servizi-swiper .swiper-button-next {
	    color: #fff;
    bottom: 0;
    top: auto;
}
.servizi-swiper .swiper-pagination-bullet {
	background: #3daeb6;
	opacity: 0.35;
}
.servizi-swiper .swiper-pagination-bullet-active {
	opacity: 1;
}
@media (max-width: 767px) {
	.fascia-servizi {
		padding: 2.5rem 1rem;
	}
	.servizi-swiper .swiper-slide {
		min-height: 220px;
		padding: 1.5rem;
	}
}

.servizi-swiper {
	position: relative;
}
.servizi-swiper .swiper-wrapper {
	align-items: stretch;
}
.servizi-swiper .swiper-slide {
	border-radius: 22px;
	min-height: 260px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.servizi-swiper .servizio-card-image{
	height: 200px;
	background-color: #fff;
	width: 100%;
}
.servizio-card-title {
	    font-size: 1.5rem;
    color: #fff;
    font-family: 'Libre Bodoni', serif;
    margin: 10px 0px 0 0;
}
.servizio-card-text {
	font-size: 1rem;
	line-height: 1.8;
	color: #fff;
	flex: 1;
	margin: 0;
}
.servizio-card-text a{
	    width: 100%;
    float: left;
    margin-top: 40px;
	color: #fff;
	font-family: 'Libre Bodoni', serif;
	font-weight: 600;
	text-transform: uppercase;
	font-style: italic;
	text-decoration: none;
}
.servizi-swiper .swiper-button-prev,
.servizi-swiper .swiper-button-next {
	    color: #fff;
    bottom: 0;
    top: auto;
}
.swiper-button-next:after, .swiper-button-prev:after{
	content: '' !important;
}
.servizi-swiper .swiper-button-prev,
.servizi-swiper .swiper-button-next {
	    color: #fff;
    bottom: 0;
    top: auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 80px;
    margin: 20px;
}
.servizi-swiper .swiper-button-next{
	background-image: url('img/arrow-scroller-right.png');
}
.servizi-swiper .swiper-button-prev{
	background-image: url('img/arrow-scroller-left.png');
}
.servizi-swiper .swiper-pagination-bullet {
	background: #3daeb6;
	opacity: 0.35;
}
.servizi-swiper .swiper-pagination-bullet-active {
	opacity: 1;
}
.servizi-swiper{
	padding-bottom: 120px !important;
}
@media (max-width: 767px) {
	.fascia-servizi {
		padding: 2.5rem 1rem;
	}
	.servizi-swiper .swiper-slide {
		min-height: 220px;
		padding: 0 5px;
	}
}

.fascia-middle{
        margin: 0 auto;
    background: rgba(0,0,0,.05);
    padding: 0px;
    float: left;
    width: 100%;
}
.fascia-middle .fascia-middle-content{
	    flex-direction: column;
    margin: 0 auto;
    display: block;
    float: none !important;
}
.fascia-middle .fascia-middle-content div.photos{
	    flex-direction: column;
}
.fascia-middle.white{
    margin-bottom: 0px;
    background: transparent;
}
.fascia-middle.white div{
    padding-bottom: 0 !important;
}
.fascia-middle.white h1{
    margin-bottom: 0px;
}
.fascia-middle div{
     
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
	flex-direction: column;
    padding: 0;
}
@media screen and (width >= 1240px) {
 .fascia-middle div{
           padding: 40px;
		   flex-direction: row;
}
}
.fascia-middle.layout1 div{
           padding: 10px;
    flex: 1 1 100%;
    padding-bottom: 50px;
	float: left;
}
@media screen and (width >= 1240px) {
.fascia-middle.layout1 div{
    padding: 25px;
}
}
.fascia-middle.layout1 div p{
          font-size: 1.3em;
    font-weight: 300;
    margin: 0;
    padding-right: 40px;
    text-align: justify;
}
.fascia-middle.layout2 {
      background: #fff;
}
.fascia-middle.layout2 a{
	    width: 100%;
    float: left;
    font-size: .7em;
    text-transform: uppercase;
    color: #3daeb6;
    font-family: 'swiper-icons';
    font-family: 'Libre Bodoni';
    text-decoration: none;
    margin-top: 50px;
    font-weight: 800;
}
.fascia-middle .fin-white{
       background: #fff;
    border-radius: 10px;
    margin-bottom: 30px;
}
.fascia-middle .fin-white .testo{
    flex-direction: column;
	font-weight: 300;
	padding: 20px;
	font-size: 1.2em;
	line-height: 30px;
}
.fascia-middle.layout1 div h1.titolo-paragrafo, .fascia-middle.layout2 div h1.titolo-paragrafo{
	    width: 100%;
    float: left;
    font-weight: 300;
    padding: 0 40px 0 0;
    line-height: 40px;
    padding-bottom: 30px;
    color: #3daeb6; 
    font-size: 2.2em;
    font-family: 'Libre Bodoni', serif;
    font-style: italic;
}
@media screen and (width >= 1240px) {
.fascia-middle.layout1 div h1.titolo-paragrafo, .fascia-middle.layout2 div h1.titolo-paragrafo{
    font-size: 4.4em;
	line-height: 80px;
}
}
.fascia-middle.layout1 div h1 b{
    font-weight: 600;
	color: #3daeb6;
}
.fascia-middle.layout1 div.foto1 {
      position: relative;
	  top: -60px;
	  border-radius: 10px;
	  overflow: hidden;
}
.fascia-middle div .titolo.big{
    font-size: 7em;
    font-family: 'Libre Bodoni';
    font-style: italic;
    color: #3daeb6;
    margin: 0;
}
.fascia-middle div .titolo.big span{
	    width: 100%;
    float: left;
    font-size: .6em;
    color: #000;
    line-height: 80px;
}

.fascia-middle div.foto{
	display: flex;
	padding: 0;
}

.fascia-middle div.foto .foto1{
	flex: 1 1 100%;
}

.fascia-middle.layout2 div{
         padding: 10px;
    flex: 1 1 100%;
    padding-bottom: 50px;
    align-items: baseline;
}

.fascia-middle.layout2 div p{
	    padding-bottom: 30px;
    float: left;
    font-size: 1.2em;
    font-weight: 400;
}

.fascia-middle.layout2 div p.recapiti{
    font-size: 2em;
	font-weight: 300;
}

.fascia-middle.layout2 div.text-right{
            flex-direction: column;
    padding: 0 0px 0 70px;
}

.fascia-middle.layout2 div .foto1{
       flex-direction: column;
}

.fascia-info{
       clear: both;
    width: 100%;
    float: left;
    background: #3daeb6;
    padding: 30px;
}

.fascia-info div{
       margin: 0 10%;
    margin: 0 auto;
    background: #3daeb6;
    padding: 20px 30%;
    color: #fff;
    margin: 0 auto;
}

.fascia-info div h1{
	    color: #fff;
    font-family: 'Libre Bodoni';
    font-size: 3em;
    font-style: italic;
}

.fascia-info div p{
	    color: #fff;
    font-size: 1.2em;
}

.fascia-menu{
	float: left;
	width: 100%;
	position: relative;
	z-index: 0;
	margin: 50px 0px;
}

.seconda-fascia-middle{
	    background: #c3f3f6;
    padding: 50px;
    display: flex;
	font-size: .6em;
	flex-direction: column;
}
@media screen and (width >= 1240px) {
 .seconda-fascia-middle{
	font-size: 1em;
	flex-direction: row;
}
}
.seconda-fascia-middle div{
	flex: 1 1 100%;
}
.seconda-fascia-middle .testo-seconda-fascia{
	flex: 1 1 100%;
}
.seconda-fascia-middle .testo-seconda-fascia p.titolo{
	    font-size: 7em;
    font-family: 'Libre Bodoni';
    font-style: italic;
    color: #3daeb6;
    margin: 0;
    float: left;
    line-height: 75px;
}
@media screen and (width >= 1240px) {
 .seconda-fascia-middle .testo-seconda-fascia p.titolo{
	line-height: 120px;
}
}
.gallery1{
	    position: relative;
    z-index: 0;
    width: 100%;
    float: left;
    background: cornsilk;
    padding-top: 50px;
}

.gallery1.menu{
	    position: relative;
    z-index: 0;
    width: calc(100% - 80px);
    float: left;
    padding-top: 50px;
    background-color: transparent;
    border-top: 1px solid #3daeb6;
    margin: 40px;
    background: #f0f0f0;
    border-radius: 50px;
}

.gallery1 h1{
	    text-align: center;
    width: 100%;
    float: left;
    font-weight: 300;
    padding: 0 40px 0 0;
    line-height: 80px;
    padding-bottom: 30px;
    font-size: 3.4em;
    font-family: 'Libre Bodoni', serif;
    font-style: italic;
    margin: 0;
}
.gallery1 .menu-card .menu-card-image{
	    position: relative;
    z-index: 0;
    width: 100%;
    float: left;
    /* background: cornsilk; */
    /* padding-top: 50px; */
    height: 500px;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 50px;
    background-position: center;
    border-radius: 30px;
}
.foto-gallery{
	    float: left;
    width: 100%;
    height: 500px;
    margin-bottom: 50px;
}

.foto-gallery.low{
}

.foto-gallery .swiper-slide{
	height: 500px;
	
}

.foto-gallery.low  .swiper-slide{
}


.fascia-eventi{
	margin: 10px;
	overflow: hidden;
	float: left;
}
@media screen and (width >= 1240px) {
.fascia-eventi{
	margin: 50px;
	float: left;
}
}
.fascia-eventi p.titolo{
	    font-size: 3em;
    font-family: 'Libre Bodoni',serif;
    margin: 0;
    padding: 0 0px;
}
.fascia-eventi div.eventi{
	display: flex;
	flex-direction: column;
}
@media screen and (width >= 1240px) {
.fascia-eventi div.eventi{
	flex-direction: row;
}
}
.fascia-eventi div.evento{
	    margin: 10px;
    /* height: 200px; */
    background: #3daeb6;
    border-radius: 10px;
    overflow: hidden;
}

.fascia-eventi div.evento a{
	text-decoration: none;
}
.fascia-eventi div.evento div.foto{
	     height: 200px;
    background: #000;
    background-size: cover;
    background-repeat: no-repeat;
}
.fascia-eventi div.evento div.testo h1{
	    font-family: 'Libre Bodoni';
    color: #fff;
    padding: 30px 30px 0px 30px;
    margin: 0;
    font-weight: 300;
}
.fascia-eventi div.evento div.testo p{
	    color: #fff;
    padding: 0 30px;
    font-size: 1.1em;
    font-weight: 300;
    padding-bottom: 50px;
}

.pag-eventi p.titolo{
	    font-size: 3em;
    font-family: 'Libre Bodoni',serif;
    margin: 0;
    padding: 40px 40px;
	width: 100%;
}

.pag-eventi div.eventi{
	display: flex;
    flex-wrap: wrap;
    flex-direction: row;
	overflow: hidden;
}
.pag-eventi div.evento{
	    margin: 10px;
    /* height: 200px; */
    /* border-radius: 10px; */
    overflow: hidden;
    flex: 1 0 45%;
    /* border: 1px solid #666; */
    /* background: rgba(71,174,182,.15); */
    padding-bottom: 50px;
    border: 1px solid #999;
	overflow: hidden;
}
@media screen and (width >= 1240px) {
.pag-eventi div.evento{
	max-width: 45%;
}
}
.pag-eventi div.evento a{
	text-decoration: none;
}
.pag-eventi div.evento div.foto{
	     height: 400px;
    background: #000;
    background-size: cover;
    background-repeat: no-repeat;
	margin: 20px;
}
.pag-eventi div.evento div.testo h1{
	    font-family: 'Libre Bodoni';
    color: #339999;
    padding: 30px 30px 0px 30px;
    margin: 0;
    font-weight: 300;
}
.pag-eventi div.evento div.testo p{
	    padding: 0px 30px 0px 30px;
    color: #000;
}

.mappa{
    text-align: center;
}
.mappa h1{
	    text-align: left;
    font-family: 'Libre Bodoni', serif;
    padding-left: 10%;
    font-size: 3em;
    font-weight: 300;
}
/* branding */
.site-branding{
	position: relative;
	z-index: 2;;
}
.site-branding div{
	    background: #3daeb6;
    margin: 0;
    float: left;
    padding: 0;
    /* border-radius: 50%; */
    width: 160px;
    height: 160px;
    /* position: absolute; */
    top: -50px;
    left: -50px;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    clip-path: circle(72.3% at 27% 27%);
}
.site-branding div img{
	    height: 90px;
    /* width: 70px; */
    padding: 0;
    padding-left: 27px;
}
@media screen and (width >= 1240px) {
.site-branding div{
     width: 250px;
	 height: 250px;
	 padding: 20px 50px;
}
.site-branding div img{
	height: auto;
	width: auto;
	padding: 0;
}
}

.barra-menu{
	    height: 60px;
    float: left;
    position: relative;
    z-index: 2001;
    float: right;
    margin-right: 90px;
    width: 30%;
	margin-top: 10px;
}

.barra-menu div{
	    display: flex;
    /* align-items: stretch; */
    align-items: center;
    /* height: 60px; */
    justify-content: center;
    position: fixed;
    bottom: 0;
    z-index: 100;
    /* width: 100%; */
    left: 0;
    background-color: rgba(255,255,255,1);
    flex-wrap: wrap;
    width: 100%;
    padding: 5px 10px;
}
@media screen and (width >= 1240px) {
 .barra-menu div{
position: relative;
width: auto;
background-color: transparent;
padding: 0;
}
}
.barra-menu div p{
    margin: 0;
    text-align: center;
    background-size: 30px;
    background-repeat: no-repeat;
    background-position: center;
    height: 40px;
    width: 60px;
    background-color: #3daeb6;
    padding: 10px;
    margin: 0 2px;
    border-radius: 5px;
}

@media screen and (width >= 1240px) {
 .barra-menu div p{
    background-size: 30px;
    height: 30px;
    width: 60px;
	background-color: transparent;
	padding: 0;

}
}

.barra-menu div p.bottone-prenotare{
	    flex: 1 1 30%;
    font-family: 'Libre Bodoni', serif;
    color: #000;
    font-size: 1.1em;
    text-align: center;
    /* line-height: 40px; */
    /* background: #fff; */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 40px;
    background-color: rgba(0,0,0,.1);
    border: 1px solid #fff;
    text-transform: uppercase;
	border-radius: 5px;
	padding: 20px;
}

@media screen and (width >= 1240px) {
 .barra-menu div p.bottone-prenotare{
height: 60px;
padding: auto;
color: #fff;
}
}

/* intro home */
.intro-home{
	       display: flex;
    max-width: 1200px;
    margin: 0 auto;
	margin-top: 40px;
	margin-bottom: 40px;
	position: relative;
	flex-direction: column;
}

@media screen and (width >= 1240px) {
.intro-home{
	flex-direction: row;
}
}

.intro-home .bg-logo-top{
	    background-image: url('img/logo-bg.png');
    position: absolute;
    z-index: 2;
    content: '';
    height: 200px;
    width: 200px;
    left: 0;
    top: 380px;
    width: 80%;
    background-size: contain;
    background-repeat: no-repeat;
	z-index: -1;
}

@media screen and (width >= 1240px) {
  .intro-home .bg-logo-top{
    height: 400px;
    width: 400px;
	right: 0;
	left: auto;
	z-index: 2;
}
}

.intro-home div{
	    flex: 1 1 100%;
    align-items: center;
    justify-content: center;
}

.intro-home div.foto{
	width: 90%;
}
@media screen and (width >= 1240px) {
  .intro-home div.foto{
   width: 90%;
}
}
.intro-home div.foto p{
	    font-family: 'Libre Bodoni', serif;
    font-size: 4em;
    padding: 40px;
    margin: 0;
	padding: 0;
}

.intro-home div.foto p img{
	width: 80%;
}

.intro-home div.foto p.overlay{
	    position: relative;
    height: 200px;
}

.intro-home div.foto p.overlay img{
	    position: absolute;
    top: -120px;
    width: 60%;
    right: 0;
}

.intro-home div p.titolo-home{
	    font-family: 'Libre Bodoni', serif;
    font-size: 4em;
    padding: 40px;
    font-weight: 600;
    line-height: 70px;
}

.intro-home div p.sottotitolo{
       font-size: 2em;
    padding: 0px;
    font-weight: 300;
    line-height: 30px;
    padding: 0 40px;
    font-weight: 600;
    position: relative;
    z-index: 1;
    color: #666;
    line-height: 40px;
}

/* toggle menu */
.navbar-toggle {
  -webkit-tap-highlight-color: transparent;
  transition: transform 400ms;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  position: absolute;
  z-index: 20;
  top: 0;
  right: -80px;
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
}
.navbar-toggle svg {
  display: block;
  width: 90px;
  height: 60px;
}
.navbar-toggle .line {
  fill: none;
  transition-delay: 400ms, 0;
  transition-property: stroke, stroke-dasharray, stroke-dashoffset;
  transition-timing-function: ease;
  transition-duration: 400ms;
  stroke: #fff;
  stroke-width: 5.5;
  stroke-linecap: round;
}
.navbar-toggle .line.top {
  stroke-dasharray: 40 139;
}
.navbar-toggle .line.bottom {
  stroke-dasharray: 20 180;
  stroke-dashoffset: -20px;
}
.navbar-toggle.active {
  transform: rotate(45deg);
}
.navbar-toggle.active .line {
  stroke: #FFFFFF;
}
.navbar-toggle.active .line.top {
  stroke-dashoffset: -98px;
}
.navbar-toggle.active .line.bottom {
  stroke-dashoffset: -138px;
}
.navbar-toggle:not(.active):hover .line.bottom {
  stroke-dasharray: 40 180;
  stroke-dashoffset: 0px;
}

.navbar {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
}
.navbar ul {
  width: 100%;
  max-width: 400px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.navbar ul li {
  opacity: 0;
  margin-bottom: 2px;
  float: left;
  width: 100%;
}
@media screen and (width >= 1240px) {
.navbar ul li {
     width: auto;
}
}
.navbar ul li a {
      color: #000;
    text-decoration: none;
    font-size: 1em;
    display: block;
    text-align: left;
    padding: 20px 0;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all ease 500ms;
    position: relative;
    text-align: center;
    font-family: 'Libre Bodoni', serif;
    background: rgba(255,255,255,.9);
    float: left;
    padding: 20px;
    clear: both;
    margin: 0 20px;
    float: left;
	border-radius: 5px;
}
@media screen and (width >= 1240px) {
.navbar ul li a{
     font-size: 2em;
}
}
.navbar ul li a:before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 70px;
  opacity: 0;
  transition: opacity ease 500ms;
}
.navbar ul li a:hover {
  letter-spacing: 3px;
}
.navbar ul li a:hover:before {
  opacity: 0.2;
}

#bg-circle {
  transform: scale(0);
  width: 80px;
  height: 80px;
  background: #3daeb6;
  position: fixed;
  top: 0;
  right: 0;
  border-radius: 50%;
  z-index: 1;
}

/*footer */
footer{
	display: flex;
	align-items: center;
    padding: 20px;
    justify-content: center;
	flex-direction: column;
	margin-bottom: 50px;
}
@media screen and (width >= 1240px) {
 footer{
	    flex-direction: row;
    float: left;
    width: 100%;
}
}
footer div{
	    flex: 1 1 100%;
    text-align: center;
    justify-content: center;
    align-items: center;
    justify-content: center;
    display: flex;
}

footer div p{
	font-weight: 600;
	text-align: left;
}

footer div.social-icons img{
	height: 40px;
}

/* swiper */
.gallery1-swiper .swiper-slide {
    display: flex;
    background: #eee;
    align-items: center;
    justify-content: center !important;
    transition: all 200ms linear !important;
    transform: scale(0.6) !important;
    opacity: 1 !important;
    background-size: cover;
    opacity: .6 !important;
    border-radius: 40px;
    background-repeat: no-repeat;
}
.gallery1-swiper .swiper-slide.swiper-slide-active {
        transform: scale(1) !important;
    background: transparent;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1 !important;
    border-radius: 20px;
}

.gallery1-swiper .swiper-slide__content {
  height: 500px;
}

/* scroll animation */
.mouse {
  width: 25px;
  height: 45px;
  border: 3px solid #fff;
  border-radius: 60px;
  position: absolute;
  bottom: 120px;
  z-index: 10;
	left: calc(50% - 10px);
}
.mouse::before {
  content: "";
  width: 6px;
  height: 6px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border-radius: 50%;
  opacity: 1;
  animation: wheel 2s infinite;
  -webkit-animation: wheel 2s infinite;
}

@keyframes wheel {
  to {
    opacity: 0;
    top: 30px;
  }
}
@-webkit-keyframes wheel {
  to {
    opacity: 0;
    top: 30px;
  }
}

/* gallery plugin */
.pfg-filters{
	    display: block;
    align-items: center;
    justify-content: center;
    display: flex;
    padding: 30px;
}

.pfg-filters--buttons .pfg-filter{
	background-color: transparent;
	font-size: 2em;
	font-family:'Libre Bodoni', serif;
}

.pfg-filters--buttons .pfg-filter:hover, .pfg-filters--buttons .pfg-filter:focus{
	color: #666;
	background-color: transparent;
}

.pfg-filters--buttons .pfg-filter--active{
	color: #666;
	background-color: transparent;
}

.pfg-gallery-wrapper.pfg-loaded .pfg-grid{
	margin: 0 10%;
}

.pfg-grid--masonry .pfg-item.pfg-item--positioned{
	border-radius: 0;
}

/* swiper */
.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{
	    width: 30px;
    border-radius: 10px;
}

.swiper-pagination-bullet-active{
	background: #3daeb6 !important;
}