/*!
Theme Name: Ditta Narcisi 1.0
Theme URI: #
Author: Andrea Landolfi
Author URI: #
Description: Ditta Narcisi 1.0
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: #
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 with others.

WineES is based on Underscores https://underscores.me/, (C) 2012-2017 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:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

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

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * 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;}
@media (max-width:400px) {h1 {font-size: 1.5em;margin:0;}}

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

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 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; /* 1 */
	font-size: 1em; /* 2 */
}

/* 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; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * 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; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * 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; /* 1 */
	font-size: 100%; /* 1 */
	line-height: 1.15; /* 1 */
	margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
	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; /* 1 */
	color: inherit; /* 2 */
	display: table; /* 1 */
	max-width: 100%; /* 1 */
	padding: 0; /* 3 */
	white-space: normal; /* 1 */
}

/**
 * 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; /* 1 */
	padding: 0; /* 2 */
}

/**
 * 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; /* 1 */
	outline-offset: -2px; /* 2 */
}

/**
 * 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; /* 1 */
	font: inherit; /* 2 */
}

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

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
/*General*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
	clear: both;
}
a {color:#ffad00}
a:link {
    color:#ffad00;
    transition: .3s;
    transition-property: initial;
    transition-duration: .3s;
    transition-timing-function: initial;
    transition-delay: initial;
    -moz-transition: .3s;
    -moz-transition-property: initial;
    -moz-transition-duration: .3s;
    -moz-transition-timing-function: initial;
    -moz-transition-delay: initial;
    -webkit-transition: .3s;
    -webkit-transition-property: initial;
    -webkit-transition-duration: .3s;
    -webkit-transition-timing-function: initial;
    -webkit-transition-delay: initial;
}
a:hover {color:#ffad00}
a.readmore, .readmore {
    padding: .5rem 1rem;
    background: #4b5969;
    text-decoration: none;
    color: #fff;
    position: absolute;
    right: 20px;
    bottom: 20px;
}
a.readmore:hover, .readmore:hover {background: #333331;color: #2e2f3e;cursor:pointer;}

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;
	font-size: 15px;
	font-size: 0.9375rem;
	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;
	font-size: 15px;
	font-size: 0.9375rem;
}

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

mark, ins {
	background: #fff9c0;
	text-decoration: none;
}
big {font-size: 125%;}

.container.content {
    padding: 2%;
    background: #fff;
}

html {font-size: 100%;}
body {
    margin:0;
    padding:0;   
    background: whitesmoke;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
    font-size: 1.1rem;
    font-weight: 400;
    font-family: 'Raleway', sans-serif;
    color: #4c4c4c;
}
.hydrated {margin-top: 0px !important;}
section {margin: 4rem 0px;}
@media (max-width:400px) {section {margin: 1rem 0px;}}
header h1 {
    color: #333331;
    position: absolute;
    left: 15%;
    top: 0;
    height: 10vh;
    margin: 0;
    font-size: 6vh;
    z-index: 4;
}
section h2 {
    font-weight: 500;
}
div#navigatorScrolled h1 {
    color: #ffad00;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: start;
    text-align: left;
    font-style: italic;
}
/* === MENU === */
header {position: absolute;top: 0;width: 100%;}
.scrolledmenu {position: sticky;top: 0;width: 100%;z-index: 4;opacity: 0;}
.navigator.scolled {
    background: #333331; 
    transition: .5s;
    transition-property: initial;
    transition-duration: .5s;
    transition-timing-function: initial;
    transition-delay: initial;
    -moz-transition: .5s;
    -moz-transition-property: initial;
    -moz-transition-duration: .5s;
    -moz-transition-timing-function: initial;
    -moz-transition-delay: initial;
    -webkit-transition: .5s;
    -webkit-transition-property: initial;
    -webkit-transition-duration: .5s;
    -webkit-transition-timing-function: initial;
    -webkit-transition-delay: initial;
    box-shadow: 0px 3px 6px 1px rgba(0, 0, 0, 0.43137254901960786);
}
.fixedmenu {
    position: unset;
    background: #000;
    height: 50px;
}
.navigator.scolled.nobkg {background: transparent;box-shadow: unset;}
.scrolled-nav {
    opacity: 1;
    transition: .5s;
    transition-property: initial;
    transition-duration: .5s;
    transition-timing-function: initial;
    transition-delay: initial;
    -moz-transition: .5s;
    -moz-transition-property: initial;
    -moz-transition-duration: .5s;
    -moz-transition-timing-function: initial;
    -moz-transition-delay: initial;
    -webkit-transition: .5s;
    -webkit-transition-property: initial;
    -webkit-transition-duration: .5s;
    -webkit-transition-timing-function: initial;
    -webkit-transition-delay: initial;
}
.navigator {
    background: transparent;
    height: 10vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
    padding: 0;
}
.navigator .hamburger span {
    background: black;
}

.scrolled-ham .hamburger span {
    background: #ffad00;
}

.menuDesktop {
    position: absolute;
    top: 0;
    right: 15%;
    z-index: 5;
    height: 10vh;
    display: flex;
    align-items: center;
}
.menuDesktop .menu-menu-1-container ul.menu li {display: inline;position: relative;z-index: 4;}
.menuDesktop .menu-menu-1-container ul.menu li a {margin: 0 .5rem;text-decoration: none;color: #fff;font-weight: 600;text-shadow: 0px 0px 7px #000;}
.menuDesktop .menu-menu-1-container ul.menu li a:hover {color:#fff;}
div#mobileMenu {display: none;}
.navigator {z-index: 5;}
.menuDesktop {display: none;}
div#toggle {display: block;cursor: pointer;}
div#mobileMenu {display: block;}
header h1 {left:1rem;font-size: 2em;height: unset;}
.site-title {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hamburger {height: 6vh;width: 6vh;position: fixed;overflow: hidden;border-radius: 2px;}
.hamburger span {
    background: #fff;
    width: 60%;
    height: 5px;
    position: absolute;
    left: 20%;
    transition: .3s;
    transition-property: initial;
    transition-duration: .3s;
    transition-timing-function: initial;
    transition-delay: initial;
    -moz-transition: .3s;
    -moz-transition-property: initial;
    -moz-transition-duration: .3s;
    -moz-transition-timing-function: initial;
    -moz-transition-delay: initial;
    -webkit-transition: .3s;
    -webkit-transition-property: initial;
    -webkit-transition-duration: .3s;
    -webkit-transition-timing-function: initial;
    -webkit-transition-delay: initial;
}
.hamburger span:nth-child(1) {margin-top: 26%;}
.hamburger span:nth-child(2) {margin-top: 47%;}
.hamburger span:nth-child(3) {margin-top: 69%;}
.hamburger.rotate span {background:#fff;}
.hamburger.rotate span:nth-child(1) {transform: rotate(45deg);top: 1.3vh;}
.hamburger.rotate span:nth-child(2) {left: -200px;}
.hamburger.rotate span:nth-child(3) {transform: rotate(-45deg);top: -1.2vh;}
.menuMobile {
    position: fixed !important;
    top: 0;
    padding-top: 10vh;
    background: rgba(0, 0, 0, 0.81);
    margin: 0;
    text-align: center;
    transition: .3s;
    transition-property: initial;
    transition-duration: .3s;
    transition-timing-function: initial;
    transition-delay: initial;
    -moz-transition: .3s;
    -moz-transition-property: initial;
    -moz-transition-duration: .3s;
    -moz-transition-timing-function: initial;
    -moz-transition-delay: initial;
    -webkit-transition: .3s;
    -webkit-transition-property: initial;
    -webkit-transition-duration: .3s;
    -webkit-transition-timing-function: initial;
    -webkit-transition-delay: initial;
    width: 100%;
    height: 100vh;
    z-index: 4;
}
.menuMobile .menu-mainmenu-container ul {list-style: none;margin: 0;padding: 0 !important;}
.menuMobile .menu-mainmenu-container ul li {list-style: none;padding: 1rem;}
.menuMobile ul.menu li a {text-decoration: none;color:#fff;font-weight: 700;}
.menuMobile ul.menu li a:hover {color: #ffad00;}
.menuMobile .menu-mainmenu-container ul.menu li a:hover {cursor: pointer;}
/*contatti*/
a.closeMenu {padding: 1rem;color: #fff;text-decoration: none;font-weight: 700;display:block;}
a.closeMenu:hover {color: #ffad00;}
/* === HERO HOME === */
.site-title.herotitle {font-family: 'Dancing Script', cursive;color: #d1fad1;font-size:2.4em;text-shadow: 0 0 10px #000;text-align: center;}
.site-title.herotitle h1 {margin: 0;font-weight: 100;text-align: center;}
.site-title.herotitle p {text-align: center;color: #cdf5cd;text-shadow: 0 0 6px #000;margin: 0;}
.site-title.herotitle img {height: 20rem;}
@media (max-width: 500px){
    .site-title.herotitle {font-size: 1.7em;}
    .site-title.herotitle img {height: 12rem;}
}
/* === SLIDER === */
.swiper-container {width: 100%;height: 100vh;}
.swiper-slide {
    height: 100vh;
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.swiper-slide:after, .wall:after {
    content: '';
    background: rgba(255, 255, 255, 0.51);
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    /*background: linear-gradient(to bottom, rgb(0, 0, 0, 0.71), rgba(0, 0, 0, 0), rgba(0, 0, 0, 0));*/
}
.slidecontent {
    background: linear-gradient(to right, rgb(0, 0, 0), rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0));
    padding: 0 0 0 6rem;
    color: #f5f5f5;
    position: absolute;
    left: 0;
    top: 0;
    height: 54vh;
    display: flex;
    align-items: center;
    text-align: left;
}
.slidecontent h1 {font-size: 2.7em;margin: 0;}
.slidecontent p {font-size: 1.7em;margin: 0 0 2rem;}
span.swiper-pagination-progressbar-fill {background: #001c4c !important;}
@media (max-width:768px) {
    .swiper-slide {height: 82vh !important;}
    .slidecontent {background: rgba(0, 0, 0, 0.5686274509803921);padding:1rem 0;color: #fff;height: auto;width:100%;}
    .slidecontent h1 {font-size: 6vh;padding:0 1rem;}
    .slidecontent p {font-size: 3vh;padding:0 1rem;}
    a.readmore, .readmore {margin-left: 1rem;}
}
/* === BUTTONS CATEGORY === */
.wrapper.buttons {grid-template-columns: repeat(2, 1fr);grid-gap: 3px;}
.button {
    text-align: center;
    background: #fbccd1;
    opacity: 1;
    height: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.button:link {text-decoration: none;}
.button:hover {animation: blinker 1s linear;animation-delay: initial;cursor:pointer;}
@keyframes blinker {
   0%, 50%, 100% {
      opacity: 1;
   }
   25%, 75% {
      opacity: 0;
   }
}
.button:hover:after, .button:hover:before {height: 100%;}
.button:hover .top, .button:hover .bottom {width: 100%}
.button:hover:after {transition-delay: .9s;}
.button:hover:before {transition-delay: .3s;}
.button:hover .top {transition-delay: 1.2s;}
.button:hover .bottom {transition-delay: .6s;}
.button:after, .button:before, .button .top, .button .bottom {
    content: '';
    position: absolute;
    background: #4b5969;
    transition: .3s;
    transition-property: initial;
    transition-duration: .3s;
    transition-timing-function: initial;
    transition-delay: initial;
    -moz-transition: .3s;
    -moz-transition-property: initial;
    -moz-transition-duration: .3s;
    -moz-transition-timing-function: initial;
    -moz-transition-delay: initial;
    -webkit-transition: .3s;
    -webkit-transition-property: initial;
    -webkit-transition-duration: .3s;
    -webkit-transition-timing-function: initial;
    -webkit-transition-delay: initial;
}
.button:after {bottom: 0;left: 0;height: 0;width: 2px;}
.button:before {top: 0;right: 0;height: 0;width: 2px;}
.button .top {top: 0;left: 0;height: 2px;width: 0;}
.button .bottom {bottom: 0;right: 0;height: 2px;width: 0;}
/* === CATEGORY === */
.wrapper.category {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 0;
    width: 100%;
}
a.categoria {
    height: 35vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.categoria h2 {
    font-family: 'Dancing Script', cursive;
    color: #4b5969;
    font-size: 2em;
    z-index: 1;
    position: absolute;
    top: -100px;
    width: 100%;
    text-align: center;
    background: #d1fad1;
    padding: 6px;
    font-weight: 500;
    transition: .3s;
    transition-property: initial;
    transition-duration: .3s;
    transition-timing-function: initial;
    transition-delay: .3s;
}
.categoria h3 {
    color: #d1fad1;
    text-shadow: 0 0 3px #000;
    position: absolute;
    top: 32%;
    font-family: 'Dancing Script', cursive;
    font-size: 2em;
}
.categoria:hover h2 {
    top: 0;
}
a.categoria p {
    color: #fff;
    font-size: .7em;
    text-decoration: none;
    display: block;
    width: 80%;
    position: absolute;
    z-index: 2;
    left: 10%;
    bottom: -200px;
    transition: .3s;
    transition-property: initial;
    transition-duration: .3s;
    transition-timing-function: initial;
    transition-delay: .5s;
    text-align: center;
}
.categoria:hover p {bottom: 30%;}
a.categoria:after {
    position: absolute;
    content: '';
    background: #000;
    transform: translate(460px, -100px) rotate(180deg);
    opacity: 1;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    transition: .3s;
    transition-property: initial;
    transition-duration: .3s;
    transition-timing-function: initial;
    transition-delay: .3s;
}
a.categoria:hover:after {
    transform: translate(0px, 0px);   
    opacity: .9; 
    transition: .3s;
    transition-property: initial;
    transition-duration: .3s;
    transition-timing-function: initial;
    transition-delay: initial;
}
/* === POST SECTION === */
.wrapper.posts {width: 99%;grid-gap: 5px;grid-template-columns: repeat(4, 1fr);}
@media (max-width: 1024px){.wrapper.posts {grid-template-columns: repeat(2, 1fr);}}
@media (max-width: 768px){.wrapper.category {grid-template-columns: repeat(2, 1fr);}}
@media (max-width: 500px){.wrapper.posts, .wrapper.category {grid-template-columns: repeat(1, 1fr);}}
#post-section {background: #ffad00;padding: 5rem 0;margin: 0;}
#post-section h1, p.postdate {margin: 0;color: #fff;font-weight: 300;}
.wrapper {
    width: 70%;
    margin: 0 auto;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
}   
.post {text-align: center;color: #4b5969;min-height: 210px;position: relative;padding-bottom: 27px;display: flex;align-items: center;justify-content: center;}
.item.post:hover:after {opacity: 0.8;cursor: pointer;}
.item.post:after {
    content: '';
    background:#2e2f3e;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    transition: .3s;
    transition-property: initial;
    transition-duration: .3s;
    transition-timing-function: initial;
    transition-delay: initial;
    -moz-transition: .3s;
    -moz-transition-property: initial;
    -moz-transition-duration: .3s;
    -moz-transition-timing-function: initial;
    -moz-transition-delay: initial;
    -webkit-transition: .3s;
    -webkit-transition-property: initial;
    -webkit-transition-duration: .3s;
    -webkit-transition-timing-function: initial;
    -webkit-transition-delay: initial;
}
.item.post div {position:relative;z-index: 1;padding: 0 8px;}
a.readmore.postsection {bottom: -64px;}
.post-content {padding: 1rem 1rem 1.2rem;}
.post-img {min-height: 10rem;display: flex;align-items: center;justify-content: center;text-align: center;padding: 0 10px;}
.post-img h1 {color: #fff !important;text-shadow: 0 0 7px #000;}
.post h1 {margin:0;position:relative;padding-bottom:.5rem;font-size: 1.2em;}
.post h1:after {content:'';position:absolute;height:3px;width:100%;left:0;bottom:0;}
p.postdate {margin:0;padding:.5rem 0 0;}
p.postdate a {color: #fff;text-decoration: none;}
@media (max-width:1290px) {.wrapper {width: 80%;}.container {width: 80%;}}
@media (max-width:1000px) {.wrapper {width: 98%;}.container {width: unset;}}
@media (max-width:600px) {.wrapper {grid-template-columns: repeat(1, 1fr);}} 
@media (max-width:400px) {.post {box-shadow: unset;}.post h1 {font-size:1.3em;}} 
/* === ABOUT US === */
#aboutus-section {position: relative;background: #333331;margin: 100vh 0 0;padding: 8rem 0;color: #fff;}
.container {width: 70%;margin: 0 auto;}
@media (max-width:600px) {.container {width: 90%;}#aboutus-section{padding:2rem 1rem;}}
/* === ABOUT GREENCHOICE === */
#aboutus-dittanarcisi:after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
background: rgb(51,51,49);
background: -moz-linear-gradient(0deg, rgba(51,51,49,1) 0%, rgba(51,51,49,0.8547794117647058) 60%, rgba(51,51,49,0.6502976190476191) 100%);
background: -webkit-linear-gradient(0deg, rgba(51,51,49,1) 0%, rgba(51,51,49,0.8547794117647058) 60%, rgba(51,51,49,0.6502976190476191) 100%);
background: linear-gradient(0deg, rgba(51,51,49,1) 0%, rgba(51,51,49,0.8547794117647058) 60%, rgba(51,51,49,0.6502976190476191) 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#333331",endColorstr="#333331",GradientType=1);
}
#aboutus-dittanarcisi {position: relative;margin: 0;padding: 8rem 0;}
@media (max-width: 768px) {#aboutus-dittanarcisi {padding:2rem 0; }}
section#aboutus-dittanarcisi p {z-index: 2;position: relative;color: #fff;font-weight: 500;}
section#aboutus-dittanarcisi a {
    position: relative;
    z-index: 2;
    text-decoration: none;
    font-weight: 600;
    font-style: italic;
    color: #fff;
}

    .wrapper.about {
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
    width: 100%;
}

.item.qualifiche {
    grid-column-start: 1;
    grid-column-end: 3;
    z-index: 1;
}

section#aboutus-section:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 66%;
    height: 100%;
    background: rgba(0, 0, 0, 0.62);
}

.item.titleabout {
    grid-column-start: 1;
    grid-column-end: 3;
}

@media (max-width: 768px) {
    .wrapper.about {grid-template-columns: repeat(1, 1fr);}
    .item.titleabout {grid-column-start: unset;grid-column-end: unset;}
    section#aboutus-section:after{width: 100%;}
}

.item.titleabout h1 span {
    color: #ffad00;
}

.item.qualificheabout h2 {
    padding-left: 2.2rem;
    display: block;
    font-size: 1.2em;
    position: relative;
}

.item.qualificheabout span {
    position: absolute;
    left: 0;
    font-size: 1.4em;
    color: #ffad00;
}
/*Contact section*/

.wrapper.contactus {
    width: 69%;
}
.item.message {
    grid-column-start: 1;
    grid-column-end: 4;
}
textarea {
    width: -webkit-fill-available;
    padding: 1rem;
}

input#name, input[type="email"], input[type="tel"] {
    width: 98%;
    height: 3rem;
}

span.wpcf7-list-item {
    width: 69%;
    margin: 0 auto;
    display: block;
    color: #fff;
}
input#sendMail {
    width: 9rem;
    height: 3rem;
    margin: 0 auto;
    display: block;
    background: #ffad00;
    color: #fff;
    border: none;
    cursor: pointer;
}

section#contactform {
    background: #333331;
    margin: 0;
    padding: 3rem 0;
}

@media (max-width: 768px) {
        .item.message {
        grid-column-start: 1;
        grid-column-end: 2;
    }
    .wrapper.contactus {
        width: 80%;
    }

    input#name, input[type="email"], input[type="tel"] {
        width: 98%;
    }

    textarea {
        width: 100%;
        padding: 1rem 0;
    }
}

/* === FOOTER === */
footer {
    background: #333331;
    color: #ffffff;
    padding: 3rem 1rem 1rem;
    font-weight: 600;
}
footer p {margin: 0;}
footer ul {margin: 0;padding: 0;list-style: none;}
footer ul li a:link {text-decoration: none;color: #ffad00;font-size: .9em;font-weight: 500;}
footer ul li a:link:hover {color: #fff;}
h4.caratteristica.footer {margin: 0;}
.item.contact {grid-column-start: 1;grid-column-end: 3;}
.item.contact a {color: #fff;}
footer img {height: 100px;float: left;margin: -10px 20px 0 0;}
.social {text-align: center;margin-top: 20px;color: #333331;}
.social a:link {text-decoration: none;}
#footer {scroll-behavior: smooth;}
html {
    scroll-behavior: smooth;
}
/* === COPYRIGHT === */
.copyright {text-align: center;font-size: .8em;}
.copyright img {height: 1.6rem;}
.copyright a:link {text-decoration: none;}
@media (max-width: 500px) {.copyright {font-size: .6em;margin-top: 2rem;}}
/* === SINGLE PAGE === */
h1.entry-title, .page-title.screen-reader-text, h1.page-title {position: unset;}
.container.singlepage {margin: 4vh auto 4vh;;background: white;padding: 1rem 3rem;}
@media (max-width:400px) {h1.page-title{font-size: 2em;margin:0;height:unset;text-align:center;}}
.lema {text-align: right !important;font-style: italic;}
/* === SINGLE === */
h1.post-title {margin:0;padding:1rem;}
.header-post {display: flex;align-items: center;margin-top: 10px;}
.header-post img {height: 4rem;width: auto;box-shadow: 5px 5px 0 #333331}
.header-post a {margin-left: 1rem;color: #2e2f3e;text-decoration: none;}
.alignleft {display: inline;float: left;margin-right: 1rem;margin-bottom: 1rem;}
.alignright {display: inline;float: right;margin-left: 1.5em;}
@media (max-width: 768px){.alignleft {display: none;}}
/*comments*/
footer .avatar {height: 30px;width: auto;}
div#respond {border: 1px solid #333331;padding: 1rem;}
.comment-form input, .comment-form textarea {width: 100%;border: none;position: unset;}
input#submit {width: auto;}
ol.comment-list {list-style: none;background: #ececec;padding:1rem;}
ol.children {list-style: none;}
em.comment-awaiting-moderation {color: red;}
.comment-author.vcard {color:#000;}
.comment.odd.alt article {background: rgba(0, 0, 0, 0.05);padding: 1rem;margin: 1rem 0;}
.comment-meta {background: unset;}
.comment-form {
    display: grid;
    grid-template-columns: 33% 33% 33%;
    grid-template-rows: auto;
    grid-gap: 20px;
    width:90%;
}
p.comment-notes {grid-column-start: 1;grid-column-end: 4;}
p.comment-form-comment {grid-column-start: 1;grid-column-end: 4;margin: 0;}
p.comment-form-cookies-consent {
    display: flex;
    align-items: baseline;
    margin: 0;
    grid-column-start: 1;
    grid-column-end: 4;
}
.comment-form-comment textarea, .comment-form-author input, .comment-form-email input, .comment-form-url input {background: #f5f5f5;}
input#wp-comment-cookies-consent {width: 3%;}
@media (max-width:768px) {
    .container.singlepage {padding:1rem;}
    .comment-form {display:block;width:auto;} 
    p.comment-notes {grid-column-start: unset;grid-column-end: unset;}
    p.comment-form-comment {grid-column-start: unset;grid-column-end: unset;margin: 0;}
    p.comment-form-cookies-consent {grid-column-start: unset;grid-column-end: unset;}
    input#wp-comment-cookies-consent {width: 20%;}
}
/* === 404 === */
.widget.widget_recent_entries ul, .widget.widget_categories ul {list-style: square;}
.widget.widget_recent_entries a, .widget.widget_categories a {text-decoration: none;color:#fff;}
.page-content.search .search-form {text-align: center;margin:4rem 0;}
.searchpage {display: grid;grid-template-columns: 50% 50%;grid-gap:1rem;margin-top:1rem;}
.searchpage div {background:#a5a5a5;padding:1rem;color:#fff;}
.widget.widget_recent_entries {padding: 0;}
/* === SEARCH === */
.header-post p.postdate {color: white;padding: 0 .5rem;}
.searchpost {border: 1px solid #e4abac;padding: 1rem;margin: 1rem 0;}

/* === SPINNER === */
.hidden {display: none !important;}
.spinner-content {
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    background: #fff;
    z-index: 4;
    display: flex;
    align-items: center;
}
.loader {
  color: #ffad00;
  font-size: 50px;
  text-indent: -9999em;
  overflow: hidden;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  margin: 72px auto;
  position: relative;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation: load6 1.7s infinite ease, round 1.7s infinite ease;
  animation: load6 1.7s infinite ease, round 1.7s infinite ease;
}
@-webkit-keyframes load6 {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}
@keyframes load6 {
  0% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  5%,
  95% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
  10%,
  59% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.087em -0.825em 0 -0.42em, -0.173em -0.812em 0 -0.44em, -0.256em -0.789em 0 -0.46em, -0.297em -0.775em 0 -0.477em;
  }
  20% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.338em -0.758em 0 -0.42em, -0.555em -0.617em 0 -0.44em, -0.671em -0.488em 0 -0.46em, -0.749em -0.34em 0 -0.477em;
  }
  38% {
    box-shadow: 0 -0.83em 0 -0.4em, -0.377em -0.74em 0 -0.42em, -0.645em -0.522em 0 -0.44em, -0.775em -0.297em 0 -0.46em, -0.82em -0.09em 0 -0.477em;
  }
  100% {
    box-shadow: 0 -0.83em 0 -0.4em, 0 -0.83em 0 -0.42em, 0 -0.83em 0 -0.44em, 0 -0.83em 0 -0.46em, 0 -0.83em 0 -0.477em;
  }
}
@-webkit-keyframes round {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes round {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

/* === Tour enogastronomici home === */
.tour-wrapper {display: grid;grid-template-columns: repeat(auto-fit, minmax(10%, 1fr ));grid-auto-rows: 200px;}
.tour-wrapper a:link {text-decoration:none;}
.tour-tax {
    background-size: cover !important;
    background-position: center !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tour-tax p {color:#fff;font-size:1em;font-weight:bold;text-align:center;position:relative;z-index:2;margin:0;}
a.tour-tax:after {
    content: '';
    background: rgba(0, 0, 0, 0.22);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
a.tour-tax:hover {background-size:auto !important;}
@media screen and (min-width: 900px) and (max-width: 1700px) {
    .tour-wrapper {grid-auto-rows: 150px;}
}
@media (max-width:900px) {
    .tour-wrapper {grid-template-columns: repeat(auto-fit, minmax(200px, 1fr ));grid-auto-rows: 200px;}
}
@media (max-width:400px) {
    .tour-wrapper {grid-template-columns: repeat(auto-fit, minmax(150px, 1fr ));grid-auto-rows: 170px;}
}
/*ARCHIVE*/
a.readmore.archive {position: unset;}
.archive-description p {margin: 0;font-size: .5em;color: #fff;}
/* ==== HERO ==== */
#hero {height: 16rem;display: flex;align-items: center;justify-content: center;margin: 0;padding: 0;position: relative;top: 10vh;overflow: hidden;}
section#hero:after {content: '';background: rgba(0, 0, 0, 0.4);height: 100%;width: 100%;position: absolute;top: 0;right: 0;z-index: 1;}
h1.page-title {text-align: center;margin: 0;position: relative;z-index: 2;color: #333331;font-family: 'Dancing Script', cursive;font-size:2.5em;}
h1.page-title:after {height: 2px;width: 8rem;background: #333331;position: absolute;display: block;top: 50%;right: -10rem;content: '';}
h1.page-title:before {height: 2px;width: 8rem;background: #333331;position: absolute;display: block;top: 50%;left: -10rem;content: '';}
@media (max-width: 768px){h1.page-title:after, h1.page-title:before {display: none;}}
/*Galleria immagini*/
.galleryWrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 3px;
}
span.lb-number {
    display: none !important;
}
@media (max-width:768px) {.galleryWrapper {grid-template-columns: repeat(1, 1fr);}}
/*Page title section*/
.titlepage {
    height: 10rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #000;
    color: #ffad00;
    position: relative;
}

.titlepage:after {
    content: '';
    background: rgba(0, 0, 0, 0.6392156862745098);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.titlepage h1 {z-index: 1;}

/*Servizi*/

.wrapper.servizi {
    width: 100%;
}

.wrapper.servizi .item:after {
    position: absolute;
    background: rgba(0, 0, 0, 0.75);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
}

.wrapper.servizi .item {position: relative;padding: 0 1rem;}

.wrapper.servizi .item h2,.wrapper.servizi .item p {color: #fff; z-index: 1;position: relative;}
.wrapper.servizi .item h2 {color: #ffad00;}