/*!
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=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&family=Josefin+Sans:ital,wght@0,100..700;1,100..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%;
    overflow-x: hidden;
}

.scroll-to-top {
	    position: fixed;
    right: 25px;
    bottom: 45px;
    width: 52px;
    height: 52px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #3daeb6;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(0.9);
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
    z-index: 9999;
}

.scroll-to-top img{
        height: 40px;
    width: auto;
    max-width: none;
    padding-top: 5px;
}

.scroll-to-top.is-visible {
	opacity: 1;
	transform: translateY(0) scale(1);
	visibility: visible;
}

.scroll-to-top:hover,
.scroll-to-top:focus-visible {
}

.scroll-to-top span {
	font-size: 1.9rem;
	line-height: 1;
	transform: translateY(-1px);
}

@media (max-width: 768px) {
	.scroll-to-top {
		right: 16px;
		bottom: 90px;
		width: 46px;
		height: 46px;
	}
}

/**
 * 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: 'Atkinson Hyperlegible', 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;
}

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 {
}

.main-navigation {
	position: fixed;
	top: 0;
	top: -100%;
	height: 100vh;
	width: 300px;
	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: 200px;
	position: relative;
	margin: 0;
}

.intro-page1{
	    width: 100%;
    float: left;
    background: #fff;
    font-size: 3em;
    min-height: 30vh;
    display: flex;
    align-items: center;
    color: #3daeb6;
}
.intro-page1 p{
	    font-family: 'Josefin Sans', serif;
    text-align: left;
    font-size: 1em;
    padding: 0 10px;
    font-style: italic;
    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: auto;
    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;
    font-size: .6em;
    line-height: 30px;
    padding-right: 0;
}
#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;
	height: 100vh;
	background-color: #3daeb6;
}
#scroller-header .swiper-slide p{
        float: left;
    font-family: 'Josefin Sans', serif;
    background: rgba(0,0,0,0.3);
    height: 100%;
    display: flex;
    align-items: anchor-center;
    width: 100%;
    padding: 100px;
	padding-top: 100vh;
}
@media screen and (width >= 1240px) {
 #scroller-header .swiper-slide p{
    font-size: 3em;
	line-height: 80px;
}
}
.fascia-servizi {
	    padding: 4rem 0;
    background: #3daeb6;
    position: relative;
    height: 100vh;
    padding-top: 20vh;
}
.fascia-servizi p.titolo{
	    font-family: 'Josefin Sans', 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;
    max-width: 1600px;
    margin: 0 auto;
}
.menu-swiper .swiper-wrapper {
	align-items: stretch;
}
.menu-swiper .swiper-slide {
	    border-radius: 22px;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu-swiper .menu-card-image{
	    height: 300px;
    /* background-color: #000; */
    width: calc(100% - 40px);
    border-radius: 10px;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 20px;
}

.menu-title {
	    font-size: 2rem;
    color: #3daeb6;
    font-family: 'Josefin Sans', serif;
    margin: 10px 0px 0 0;
    text-align: left;
    width: calc(100% - 40px);
    padding-top: 0px;
    margin: 0 20px;
}
.menu-text {
	    font-size: 1rem;
    line-height: 1.8;
    color: #000;
    flex: 1;
    margin: 0;
    margin: 20px;
    width: calc(100% - 40px);
}
.menu-text a{
	    width: 100%;
    float: left;
    margin-top: 40px;
    color: #000;
    font-family: 'Josefin Sans', serif;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    text-decoration: none;
    background: #3daeb6;
    color: #fff;
    padding: 10px 20px;
    width: 50%;
    border-radius: 30px;
}

.servizio-card-title {
	    font-size: 1.5rem;
    color: #fff;
    font-family: 'Josefin Sans', 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: 'Josefin Sans', 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;
}
.gallery1-swiper {
	  padding-bottom: 40px !important;
    }
.gallery1-swiper .swiper-button-prev,
.gallery1-swiper .swiper-button-next {
	    color: #fff;
    bottom: 0;
    top: auto;
    background-size: contain;
    background-repeat: no-repeat;
    width: 120px;
    background-repeat: no-repeat;
}
.gallery1-swiper .swiper-button-next{
    background-image: url('img/arrow-scroller-right.png');
}
.gallery1-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;
}
@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%;
    border: 1px solid #fff;
    background-repeat: no-repeat;
    background-size: cover;
}
.servizio-card-title {
	    font-size: 1.5rem;
    color: #fff;
    font-family: 'Josefin Sans', serif;
    margin: 10px 0px 0 0;
}
.servizio-card-text {
	    font-size: 1.1rem;
    line-height: 1.2em;
    color: #fff;
    flex: 1;
    margin: 0;
    margin-bottom: 20px;
}
.servizio-card-text a{
	    width: 100%;
    float: left;
    margin-top: 10px;
    color: #3daeb6;
    font-family: 'Josefin Sans', serif;
    font-weight: 600;
    text-transform: uppercase;
    font-style: italic;
    text-decoration: none;
    /* padding-bottom: 50px; */
    border: 1px solid #fff;
    padding: 10px 20px;
    background: #fff;
    border-radius: 40px;
    margin-top: 30px;
    width: 50%;
    font-size: .8em;
    font-weight: 900;
}
.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: 0px;
}
.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: 50px !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;
    padding: 0px;
    width: 100%;
    font-size: .8em;
    max-width: 1600px;
}
.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;
    padding: 0;
    margin: 0;
}
.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 .fascia-middle-content .fascia1{
	height: 900px;
    display: flex;
}
@media (max-width: 767px) {
	.fascia-middle .fascia-middle-content .fascia1{
	height: auto;
    display: flex;
}
}
.fascia-middle .fascia-middle-content .fascia1 p{
	color: #fff;
}
.fascia-middle .fascia-middle-content .fascia1 div.testo{
        background: #3daeb6;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 767px) {
	.fascia-middle .fascia-middle-content .fascia1 div.testo{
	padding: 10px;
}
}
.fascia-middle .fascia-middle-content .fascia1 div.testo h1{
        color: #fff;
    font-size: 5em;
    text-align: left;
    line-height: 60px;
}

.fascia-middle div p.testo{
        padding: 0 40px;
    font-weight: 400;
    position: relative;
    z-index: 1;
    color: #000;
    line-height: 30px;
    font-size: 1.8em;
    float: left;
}

@media screen and (width >= 1240px) {
 .fascia-middle div{
              padding: 50px;
    flex-direction: row;
}
}
.fascia-middle.layout1 div{
           padding: 10px;
    flex: 1 1 100%;
    padding-bottom: 50px;
	width: 100%;
	margin: 0 auto;
    flex-direction: column;
}
@media screen and (width >= 1240px) {
.fascia-middle.layout1 div{
        padding: 25px;
    flex-direction: row;
    overflow: hidden;
    text-align: center;
}
.fascia-middle.layout1 div.foto2{
    padding: 15px;
}
}
.fascia-middle.layout1 div p{
        font-size: 1.9em;
    font-weight: 300;
    margin: 0;
    padding-right: 40px;
    text-align: justify;
    line-height: 40px;
}
.fascia-middle.layout2 {
          background: #fff;
    max-width: 1600px;
    margin: 0 auto;
}
@media screen and (width >= 1240px) {
.fascia-middle.layout2 {
    display: flex; 
}
}
.fascia-middle.layout2 div {
    padding: 0px;
}
@media screen and (width >= 1240px) {
.fascia-middle.layout2 div {
    flex: 1 1 100%;
    display: flex;
}
}
.fascia-middle.layout2 a{
	    width: 100%;
    float: left;
    /* font-size: .9em; */
    text-transform: uppercase;
    color: #3daeb6;
    font-family: 'swiper-icons';
    font-family: 'Josefin Sans', serif;
    text-decoration: none;
    margin-top: 50px;
    font-weight: 800;
    border-radius: 30px;
    text-align: center;
    border: 2px solid #3daeb6;
    padding: 20px;
    line-height: 20px;
}
.fascia-middle .fin-white{
       background: #fff;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
}
.fascia-middle .fin-white .testo{
        flex-direction: column;
    font-weight: 300;
    padding: 20px;
    font-size: 1.2em;
    line-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.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: 'Josefin Sans', serif;
}
.fascia-middle .fin-white .testo h1.titolo-paragrafo{
    font-size: 3.2em;
    font-weight: 600;
    line-height: 40px;
    padding-bottom: 30px;
    color: #3daeb6; 
    font-family: 'Josefin Sans', serif;
}
@media screen and (width >= 1240px) {
.fascia-middle.layout1 div h1.titolo-paragrafo, .fascia-middle.layout2 div h1.titolo-paragrafo{
         font-size: 2.8em;
    line-height: 80px;
    text-align: left;
    font-weight: 600;
    margin: 0;
    padding: 0;
    font-weight: 800;
    line-height: 40px;
    padding-bottom: 30px;
    text-align: center;
}
}
.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;
    margin: 0 0px;
    overflow: hidden;
}
.fascia-middle div .titolo.big{
    font-size: 9em;
    font-family: 'Josefin Sans', serif;
    font-style: italic;
    color: #3daeb6;
    margin: 0;
    padding: 40px;
}
.fascia-middle div .titolo.big span{
	    width: 100%;
    float: left;
    font-size: .6em;
    color: #12324A;
    line-height: 80px;
}

.fascia-middle div.foto{
	display: block;
    padding: 0;
    margin: 20px;
}
@media screen and (width >= 1240px) {
.fascia-middle div.foto{
    display: flex;
    margin: 0;
    width: 100%;
}
}
.fascia-middle div.foto .foto1{
	flex: 1 1 100%;
    display: flex;
    width: 100%;
}

.fascia-middle div.foto2 img{
	width: 100%;
}

.fascia-middle.layout2 div{
        padding: 0px;
    flex: 1 1 100%;
     padding: 10px; 
    padding-bottom: 50px;
   
}
@media screen and (width >= 1240px) {
.fascia-middle.layout2 div {
    padding: 50px;
}
}
.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 p.recapiti button{
        width: 100%;
    float: left;
    text-transform: uppercase;
    color: #3daeb6;
    font-family: 'swiper-icons';
    font-family: 'Josefin Sans', serif;
    text-decoration: none;
    margin-top: 50px;
    font-weight: 800;
    border-radius: 30px;
    text-align: center;
    border: 2px solid #3daeb6;
    padding: 20px;
    line-height: 20px;
    background: #fff;
    cursor: pointer;
    font-size: 1em;
}

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

.fascia-middle.layout2 div .foto1{
       
}

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

.fascia-info div{
       margin: 0 10%;
    margin: 0 auto;
    background: #3daeb6;
    padding: 20px 10%;
    color: #fff;
    margin: 0 auto;
}
@media screen and (width >= 1240px) {
.fascia-info div{
    padding: 20px 30%;
}
}
.fascia-info div h1{
	     color: #fff;
    /* font-family: 'Libre Bodoni'; */
    font-size: 3em;
    font-style: italic;
    line-height: 60px;
}

.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: #3daeb6;
    padding: 50px;
    display: flex;
    font-size: .6em;
    flex-direction: column;
    padding-top: 200px;
    padding-bottom: 200px;
}
@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: 'Josefin Sans', serif;
    /* font-style: italic; */
    color: #fff;
    margin: 0;
    float: left;
    line-height: 75px;
    font-weight: 600;
}
@media screen and (width >= 1240px) {
 .seconda-fascia-middle .testo-seconda-fascia p.titolo{
	line-height: 80px;
}
}
.gallery1{
	    position: relative;
    z-index: 0;
    width: 100%;
    float: left;
    /* padding-top: 50px; */
    background: linear-gradient(135deg, #3daeb6 0%, #2d858c 50%, #1d6269 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-direction: column;
    justify-content: center;
    padding-top: 40px;
    padding-bottom: 40px;
}
@media (max-width: 767px) {
	.gallery1{
	height: auto;
}
}
.gallery1.galleria{
        height: auto;
    background: rgba(61,174,182,1);
    margin-top: 40px;
    padding: 0 10%;
}

.gallery1.menu{
       height: auto;
    background: #3daeb6;
}

.gallery1 h1{
	    /* flex: 1 1 100%; */
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 100%;
    color: #fff;
    height: 40px;
    font-size: 3em;
    font-family: 'Josefin Sans', 'Josefin Sans', serif;
}
.gallery1 .menu-card .menu-card-image{
	     position: relative;
    z-index: 0;
    width: 100%;
    float: left;
    /* background: cornsilk; */
    /* padding-top: 50px; */
    height: 478px;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 0px;
    background-position: center;
    border: 12px solid #f0f0f0;
    border-radius: 5px;
}
.foto-gallery{
	    float: left;
    width: 100%;
    height: 500px;
}
@media (max-width: 767px) {
	.foto-gallery{
    height: auto;
}
}
.foto-gallery.low{
}

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

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


.fascia-eventi{
	    margin: 50px 0;
    float:none;
    width: 100%;
}
@media screen and (width >= 1240px) {
.fascia-eventi{
	    margin: 50px 0;
    /* float: left; */
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}
}
.fascia-eventi p.titolo{
	    font-size: 3em;
    font-family: 'Josefin Sans', serif;
    margin: 0;
    padding: 0 0px;
    text-transform: uppercase;
    font-weight: 800;
    color: #666;
    text-align: center;
    padding-top: 40px;
}
.fascia-eventi div.eventi{
	display: flex;
	flex-direction: column;
	width: calc(100% - 0px);
}
@media screen and (width >= 1240px) {
.fascia-eventi div.eventi{
	flex-direction: row;
}
}
.fascia-eventi div.evento{
	    margin: 10px 10px;
    height: 600px;
    background: #3daeb6;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    width: calc(100% - 20px);
    
    
}
@media screen and (width >= 1240px) {
.fascia-eventi div.evento{
	 max-width:calc(33.333333333333% - 20px)
}
}
.fascia-eventi div.evento a{
	text-decoration: none;
}
.fascia-eventi div.evento div.foto{
	    height: 600px;
    background: #000;
    background-size: cover;
    background-repeat: no-repeat;
}
.fascia-eventi div.evento div.testo{
	    position: absolute;
    top: 0;
    height: 600px;
    background: rgba(0,0,0,.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 1.5em;
    line-height: 50px;
}
.fascia-eventi div.evento div.testo h1{
	    font-family: 'Josefin Sans', serif;
    color: #fff;
    padding: 30px 30px 0px 30px;
    margin: 0;
    font-weight: 600;
}
.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: 'Josefin Sans', serif;
    margin: 0;
    padding: 20px;
    width: 100%;
    text-align: left;
}
@media screen and (width >= 1240px) {
.pag-eventi p.titolo{
	    font-size: 3em;
    font-family: 'Josefin Sans', serif;
    margin: 0;
    padding: 0px 120px 0px 250px;
    width: 100%;
    text-align: left;
}
}
.pag-eventi div.eventi,.single-post div.eventi{
	    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    overflow: hidden;
    padding: 0 20px;
    margin-bottom: 160px;
}

@media screen and (width >= 1240px) {
.pag-eventi div.eventi,.single-post div.eventi{
     padding: 0 120px;
}
}

.page-template-eventi_template .bg-header{
	overflow: hidden;
}
.page-template-eventi_template .bg-header img{
    padding-right: 20px;
    display: block;
    margin: 0 auto;
}
.pag-eventi div.evento, .single-post div.evento{
	    margin: 10px;
    border-radius: 10px;
    overflow: hidden;
    /* background: rgba(0,0,0,.1); */
    overflow: hidden;
    /* box-shadow: 0 0px 30px rgba(0, 0, 0, 0.25); */
    border: 1px solid #3daeb6;
}
div.eventi{
	width: 100%;
	float: left;
}
@media screen and (width >= 1240px) {
.pag-eventi div.evento{
}
}
.pag-eventi div.evento a, .single-post  div.evento a{
	    text-decoration: none;
    display: flex;
    flex-direction: column;
}
@media screen and (width >= 1240px) {
.pag-eventi div.evento a, .single-post  div.evento a{
    flex-direction: row;
}
}
.pag-eventi div.evento div.foto, .single-post  div.evento div.foto{
	    height: 500px;
    background: #000;
    background-size: cover;
    background-repeat: no-repeat;
    width: 100%;
    /* padding: 10%; */
}
@media screen and (width >= 1240px) {
.pag-eventi div.evento div.foto, .single-post  div.evento div.foto{
	margin: 20px;
}
}
.pag-eventi div.evento div.testo, .single-postdiv.evento div.testo{
	    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.pag-eventi div.evento div.testo h1, .single-post div.evento div.testo h1{
	     font-family: 'Josefin Sans', serif;
    margin: 0;
    font-weight: 300;
    color: #339999;
    font-weight: 700;
    font-size: 1.7em;
    text-align: left;
    line-height: 40px;
    padding: 20px;
}
.pag-eventi div.evento div.testo p, .single-post div.evento div.testo p{
	    padding: 0px 30px 0px 30px;
    color: #000;
}
.pag-eventi di.evento div.testo a, .single-post div.evento div.testo a{
	    padding: 0px 30px 0px 30px;
    color: #000;
    font-size: 1.3em;
    font-weight: 300;
}

.type-post{
	    width: 100%;
    float: right;
    font-size: .6em
}
@media screen and (width >= 1240px) {
.type-post{
	    background: #f0f0f0;
    padding: 0 100px 50px 60px;
    width: 100%;
    position: relative;
    top: -50px;
}
}
.entry-header .entry-title{
	    font-size: 6em;
    color: #3daeb6;
    text-align: center;
}

.entry-header span{
	    font-size: 2em;
    text-transform: uppercase;
    font-weight: 800;
    margin-top: 60px;
    /* float: left; */
    text-align: center;
    width: 100%;
    float: left;
}

.post-thumbnail{
    width: 100%;
    
}
@media screen and (width >= 1240px) {
.post-thumbnail{
       width: 40%;
    margin: 30px;
    float: left;
}
}
.post-thumbnail img{
	    width: 100%;
    border-radius: 30px;
}

.entry-content{
	     width: 100%;
    float: right;
    font-size: 2.4em;
    /* background: #fff; */
    /* padding: 0 50px; */
    font-weight: 100;
    margin: 0;
    padding: 0 40px;
    background: #fff;
    padding: 60px;
    margin-bottom: 30px;
    border-radius: 10px;
}

@media screen and (width >= 1240px) {
.category-eventi .entry-content{
width: 50%;
    float: right;
    /* background: #fff; */
    /* padding: 0 50px; */
}
}

.correlati-container{
        float: left;
    background: #fff;
    padding: 40px;
    text-align: center;
    width: 100%;
    border-radius: 20px;
}

.correlati-container h1{
        font-size: 5em;
    color: #339999;
}

.correlati{
        display: flex;
    flex-direction: column;
    width: 100%;
    float: left;
}
@media screen and (width >= 1240px) {
.correlati{
    flex-direction: row;
}
}
.correlati .evento{
    background: #fff;
}
.correlati div.evento a {
        flex-direction: column !important;
}
.correlati div.evento div.foto
{      margin: 0 !important;
    padding: 30px;
    border-radius: 0;
    height: 300px;
}

.correlati div.evento div.testo{
        padding: 30px 50px;
    font-size: 1.8em;
    line-height: 50px;
}
.mappa{
       margin: 20px !important;
    /* padding: 30px; */
    width: calc(100% - 40px);
    background: #3daeb6;
    padding: 20px;
    float: left;
}
.mappa h1{
	    text-align: left;
    font-family: 'Josefin Sans', serif;
    padding-left: 10%;
    font-size: 3em;
    font-weight: 600;
    width: 100%;
    float: left;
    /* font-weight: 300; */
    padding: 0 40px 0 0;
    line-height: 40px;
    /* padding-bottom: 30px; */
    color: #fff;
    font-size: 3em;
    font-family: 'Josefin Sans', serif;
    text-align: center;
}
/* 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, .barra-menu div .icon-phone, .barra-menu div .icon-map{
    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, .barra-menu div .icon-phone, .barra-menu div .icon-map{
        background-size: 30px;
    height: 30px;
    width: 60px;
    background-color: transparent;
    padding: 0;
    background-color: #3daeb6;
    height: 60px;

}
}

.barra-menu div .bottone-prenotare{
	flex: 1 1 30%;
	font-family: 'Josefin Sans', serif;
	color: #000;
	font-size: 1.1em;
	text-align: center;
	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;
	cursor: pointer;
	appearance: none;
}

.barra-menu div .bottone-prenotare:hover,
.barra-menu div .bottone-prenotare:focus-visible {
	background-color: rgba(255,255,255,.2);
	outline: none;
}

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

body.no-scroll {
	overflow: hidden;
}

.prenotazione-modal {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	z-index: 9999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}

.prenotazione-modal h2{
	    font-family: 'Josefin Sans', serif;
    font-size: 2em;
    color: #3daeb6;
}

.prenotazione-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.prenotazione-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.75);
}

.prenotazione-modal__dialog {
	position: relative;
	width: min(100%, 480px);
	background: #fff;
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.prenotazione-modal__close {
	    position: absolute;
    top: 0px;
    right: 0px;
    border: 0;
    background: transparent;
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    color: #12324A;
    padding: 50px;
}

.prenotazione-form {
	display: grid;
	gap: 14px;
}

.prenotazione-form label {
	    display: grid;
    gap: 6px;
    font-weight: 600;
    color: #12324A;
    font-size: 0.95rem;
    font-family: 'Josefin Sans', serif;
    font-weight: 800;
}

.prenotazione-form label.posti{
	    display: flex;
    align-items: center;
    float: right;
    align-items: center;
    /* justify-content: end; */
    flex: 1 1 100%;
    display: flex;
    text-align: left;
}

.prenotazione-form label.posti p{
	    display: flex;
    padding: 0;
    margin: 0;
    padding-right: 30px;
}

.prenotazione-form input,
.prenotazione-form select {
	padding: 12px;
	border: 1px solid #cfd8dc;
	border-radius: 8px;
	font: inherit;
}

.prenotazione-form__stepper {
	display: flex;
	align-items: center;
	gap: 8px;
}

.prenotazione-form__stepper input {
	flex: 1;
	text-align: center;
	min-width: 0;
}

.prenotazione-form__stepper-button {
    /* width: 44px; */
    /* height: 44px; */
    border: 0;
    border-radius: 8px;
    background: #3daeb6;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    /* line-height: 14px; */
    padding: 10px;
    border-radius: 0;
}

.prenotazione-form__submit {
	background: #3daeb6;
	color: #fff;
	border: 0;
	padding: 14px 18px;
	border-radius: 8px;
	cursor: pointer;
	font-weight: 700;
	text-transform: uppercase;
}

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

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

.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: 'Josefin Sans', 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: 80%;
    right: 0;
}

.intro-home div p.titolo-home{
	    font-family: 'Josefin Sans', serif;
    font-size: 4em;
    padding: 20px;
    font-weight: 800;
    line-height: 50px;
    font-style: italic;
    color: #3daeb6;
    margin-bottom: 20px;
}

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

/* 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: 'Josefin Sans', 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 */
.pre-footer{
       display: flex;
    max-width: 1600px;
    margin: 0 auto;
    width: calc(100% - 40px);
    padding: 20px;
    /* border-top: 1px solid #666; */
    /* border-bottom: 1px solid #666; */
    margin-bottom: 40px;
    margin: 20px;
    border-radius: 20px;
    flex-direction: column;
    background-color: rgba(61,174,182,1);
    background-repeat: repeat-x;
    background-position: center;
    background-image: url("img/logo-bg.png");
}
@media screen and (width >= 1240px) {
.pre-footer{
	flex-direction: row; 
	width: calc(100% - 120px);
	margin: 60px;
	padding: 50px;
	margin: 0 auto;
}
}
.pre-footer div{
	    flex: 1 1 100%;
    font-family: 'Josefin Sans', serif;
    font-size: 2.2em;
    margin: 0px;
    color: #3daeb6;
    line-height: 60px;
    align-items: center;
    justify-content: end;
	display: flex;
	flex-direction: column;
}
.pre-footer div.tabella{
	    flex-direction: column;
    background: #fff;
    margin: 0;
    border-radius: 20px;
    padding: 10px;
    margin-top: 30px;

}
@media screen and (width >= 1240px) {
.pre-footer div.tabella{
    padding: 40px;
    font-size: 3em;
    margin-top: 0;

}
}
.pre-footer div.tabella h1{
	    font-size: .9em;
    color: #666;
    text-transform: uppercase;
    padding-top: 0px;
	text-align: center;
}
.pre-footer div p{
	    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0;
}
.pre-footer div p.dove{
	     font-size: 1em;
    color: #fff;
    margin-bottom: 40px;
}
@media screen and (width >= 1240px) {
	.pre-footer div{
    margin: 50px;
}
.pre-footer div p.dove{
	       font-size: 1.4em;
		   color: #fff;
}
}
.pre-footer div a {
	    font-size: .5em;
    background: #fff;
    padding: 0 20px;
    border-radius: 10px;
    text-transform: uppercase;
    font-weight: 700;
    border: 1px solid #3daeb6;
    color: #3daeb6;
    padding: 20px;
    text-decoration: none;

}
@media screen and (width >= 1240px) {
.pre-footer div a{
	   font-size: .5;
}
}
.pre-footer div.tabella p{
	    margin: 0;
    flex: 1 1 100%;
    width: 100%;
    text-transform: uppercase;
    padding: 0 20px;
    /* border: 1px solid; */
    margin-bottom: 10px;
	color: #000;
	text-align: center;
	padding-bottom: 40px;
	font-size: .35em;
	line-height: 25px;
}
@media screen and (width >= 1240px) {
.pre-footer div.tabella p {
	text-align: left;
	padding-bottom: 0;
    line-height: auto;
    padding-bottom: 10px;
}
}

.pre-footer div.tabella p.avviso{
	    text-align: center;
    font-size: .8em;
    font-weight: 700;
    margin-top: 40px;
	color: #666;
    line-height: 40px;
}
.pre-footer div p span{
	    /* width: 100%; */
    float: left;
    font-size: 1.2em;
    font-weight: 800;
    margin-right: 40px;
    width: 100%;
	position: relative;
	color: #3daeb6;
	text-align: center;
}
@media screen and (width >= 1240px) {
.pre-footer div.tabella p span{
	    width: 40%;
    text-align: left;
    text-align: right;
    padding-right: 60px;
}
}
.pre-footer div p span:after{
    position: absolute;
    width: 30px;
    height: 1px;
    background-color: #3daeb6;
    content: '';
    right: 0;
    top: 50px;
    width: 1px;
    height: 30px;
    left: 50%;
    padding-bottom: 40px;
}
@media screen and (width >= 1240px) {
 .pre-footer div p span:after{    
	    position: absolute;
    width: 30px;
    height: 1px;
    background-color: #3daeb6;
    content: '';
    top: 50%;
    right: 0;
    left: auto;
    bottom: auto;
    padding: 0;
}
.pre-footer div p span:after{
    bottom: -100px;
    top: 10px;
}
}
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;
    flex-direction: column;
}

footer div.link-footer a{
        color: #3daeb6;
    text-decoration: none;
    padding: 20px;
    text-transform: uppercase;
    font-weight: 600;
    color: #666;
    letter-spacing: 1px;
    border: 1px solid #3daeb6;
    padding: 0 40px;
    margin-top: 20px;
    border-radius: 20px;
    font-size: 1em;
}

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

footer div.social-icons{
	flex-direction: row;
}

footer div.social-icons p{
        font-weight: 600;
    text-align: left;
    padding: 10px;
}

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

/* swiper */
.gallery1-swiper .swiper-slide {
        display: flex;
    align-items: center;
    justify-content: center !important;
    transition: all 200ms linear !important;
    transform: scale(0.8)  !important;
    opacity: 1 !important;
    background-size: cover;
    opacity: .8 !important;
    background-repeat: no-repeat;
    border-radius: 1px;
}
.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: 0px;
    box-shadow: 0 0px 30px rgba(0, 0, 0, 0.25);
}

.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:'Josefin Sans', serif;
	color: #fff;
}

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

.pfg-filters--buttons .pfg-filter--active{
	color: #fff;
	background-color: transparent;
	border-bottom: 5px solid #ffff;
	border-radius: 0 !important;
}

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

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

#pfg-gallery-26{
    width: 100%;
    padding: 40px;
}