/**
Theme Name: Vetreria Studio Vetro
Theme URI: https://www.rossellabianchi.com
Author: Rossella Bianchi
Author URI: https://rossellabianchi.com
Description: Tema customer per Vetreria Studio Vetro
Version: 1.0
Tested up to: 6.3.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: Homepage custom page, blog, custom-menu, featured-images, sticky-post, editor-style with Gutenberg, translation-ready, premium fonts. This theme uses ACF PRO, already installed and for which the updates are blocked.
Text Domain: rossella

**/

/** TABLE OF CONTENTS
1.0 WordPress Core
2.0 CSS Starter
3.0 Grid System
4.0 Button
5.0 Typography
6.0 Global Style
	6.1 Homepage
  6.2 Progetti
	6.3 Footer
	6.4 Grid
	6.5 Page
  6.6 To Top
7.0 Jetpack
8.0 Breadcrumbs
9.0 Blog
	9.1 Pagination
	9.2 Single
	9.3 Comments
10.0 Sidebar
11.0 Form
12.0 Responsive Embed
13.0 Mappa Contatti
14.0 Breakpoints
**/

/** 1.0 WordPress Core **/
/* 1.0 WordPress Core */
.alignnone,
.alignleft,
.alignright,
a img.alignleft,
a img.alignright,
.wp-caption.alignnone,
.wp-caption.alignleft,
.wp-caption.alignright {
  margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter,
a img.aligncenter {
  display: block;
  margin: 5px auto 5px auto;
}

.wp-block-button.aligncenter {
  display: inline-block;
}

.wp-caption {
  background: #fff;
  border: 1px solid #f0f0f0;
  max-width: 96%;
  padding: 5px 3px 10px;
  text-align: center;
}

.wp-caption img {
  border: 0 none;
  height: auto;
  margin: 0;
  max-width: 98.5%;
  padding: 0;
  width: auto;
}

.wp-caption p.wp-caption-text {
  font-size: 11px;
  line-height: 17px;
  margin: 0;
  padding: 0 4px 5px;
}

.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: #eee;
  clip: auto !important;
  clip-path: none;
  color: #444;
  display: block;
  font-size: 1em;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

.wp-block-columns {
  margin-bottom: 0;
}

/* 2.0 CSS Starter */


@font-face {
  font-family: 'Fragment Regular';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url('fonts/PPFragment-SansRegular.woff2') format('woff2');
}

@font-face {
  font-family: 'Neue Montreal';
  font-display: swap;
  font-style: normal;
  font-weight: 300;
  src: url('fonts/PPNeueMontreal-Light.woff2') format('woff2');
}
@font-face {
  font-family: 'Neue Montreal';
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  src: url('fonts/PPNeueMontreal-Regular.woff2') format('woff2');
}

@font-face {
  font-family: 'Neue Montreal Bold';
  font-display: swap;
  font-style: normal;
  font-weight: 600;
  src: url('fonts/PPNeueMontreal-Bold.woff2') format('woff2');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.clearer::before,
.clearer::after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}

.clearer::after {
  clear: both;
}

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

*:focus {
  outline: none;
}

input:-webkit-autofill {
  box-shadow: inset 0 0 0 9999px #555;
  ;
  -webkit-box-shadow: inset 0 0 0 9999px #555;
}

input:-webkit-autofill:focus {
  box-shadow: 0 0 0 50px #555 inset;
  -webkit-box-shadow: 0 0 0 50px #555 inset;
}

body,
input,
textarea,
select,
button {
  font-family: 'Neue Montreal', sans-serif;
  -webkit-font-smoothing: antialiased;
}

header,
nav,
article,
aside,
section,
footer,
main,
figure,
figcaption {
  display: block;
}

.clearfix::before,
.clearfix::after {
  content: "\0020";
  display: block;
  height: 0;
  overflow: hidden;
}

.clearfix::after {
  clear: both;
}

.content,
.content-archive,
.content-section,
.fluid {
  width: 100%;
  margin: 0 auto;
}

.content,
.wp-block-group__inner-container {
  padding: 0 4vw;
}

.content-archive {
  padding: 2vw 2.5vw 0 2.5vw;
}

.content-page {
  width: 90%;
  padding-top: 4.5vw;
  padding-bottom: 8.5vw;
}

.content-stretto {
  width: 80%;
  max-width: 1200px;
}

.content-section {
  padding: 4vw;
}

.content-slider {
  padding: 2vw 4vw 0 4vw;
}

.center {
  text-align: center;
}

.h3-slider-title {
  font-size: 100px;
  color: white;
  width: 50opx;
  line-height: 110px;
  padding: 40px 40px;
  letter-spacing: 0;
}

.c-accordion__title a,
.white .c-accordion__title a {
  color: #1F61AF;
  text-decoration: none;
}

.c-accordion__title:after,
.white .c-accordion__title:after {
  color: #1F61AF;
  content: "+";
  font-weight: 400;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.imageover {
  z-index: 999;
  position: absolute;
  bottom: 40px;
}

.divider {
  padding: 20px 0;
}

.spacer {
  padding: 70px 0;
}

.responsive,
.responsive img {
  width: 100%;
  height: auto;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.p,
a {
  -ms-word-wrap: break-word;
  word-wrap: break-word;
}

.hidden {
  opacity: 0;
}

.visible {
  opacity: 1;
}

.grey {
  background: #f4f4f4;
}

.small-divider {
  padding: 1px;
  border-bottom: 1px solid rgba(31, 97, 175, 0.2);
}

/* 3.0 Grid System */
.row {
  width: 100%;
}

.row-space-between {
  justify-content: space-between;
  align-items: center;
}

h3.row-space-between {
  display: inline-flex;
  margin-top: 0;
  margin-bottom: 0;
  font-family: Fragment, serif;
  font-size: 3.95vw;
  line-height: 3.2vw;
  font-weight: 300;
  letter-spacing: .01em;
}

h3 a{
  text-decoration:none;
  color: #2a2f36;
}

.col {
  box-sizing: border-box;
}

.col-1 {
  width: 8.33333%;
  float: left;
}

.col-2 {
  width: 16.6666%;
  float: left;
}

.col-3 {
  width: 25%;
  float: left;
}

.col-4 {
  width: 33.33333%;
  float: left;
}

.col-5 {
  width: 20%;
  float: left;
}

.col-6 {
  width: 50%;
  float: left;
}

.col-8 {
  width: 66.666666%;
  float: left;
}

.col-10 {
  width: 83.3333%;
  float: left;
}

/* 4.0 Button */
.button,
.main-content a,
[type=submit],
[type=reset],
[type=button],
.wp-block-button__link {
  display: inline-block;
  padding: 10px 25px;
  font-size: 16px;
  text-decoration: none !important;
  color: #555;
  border: 1px solid #1F61AF;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}

.inverse {
  color: #2d2926;
  /*Black */
}

.button:hover,
.main-content a:hover,
.wp-block-button__link:hover {
  color: #561D5E;
}

.wp-block-button {
  padding: 0;
  margin-bottom: 1.85rem;
}

.wp-block-button__link {
  background-color: transparent;
  border-radius: 0;
  color: #2d2926 !important;
  font-size: 0.75rem;
  text-decoration: none;
}

.is-style-outline .wp-block-button__link {
  border: 0 !important;
}

/* 5.0 Typography */
h1,
h2,
h3,
h4,
h5,
h6,
label {
  color: #2d2926;
  /*Black */
  font-weight: 700;
  margin-bottom: 30px;
}

h1 {
  margin-block-start: 0.67em;
  margin-block-end: 0.67em;
  padding-bottom: 0.3vw;
  font-family: Fragment, serif;
  font-size: 5.17vw;
  line-height: 5.2vw;
  font-weight: 300;
  letter-spacing: -1px;
  /*-webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px;*/
}

.text-background{
  background-clip: text;
	-webkit-background-clip: text;
	color: transparent;
	background-image: url(./img/h1-background.jpg); 
  background-repeat:repeat;
  background-position: center;    
  background-attachment: fixed;
 -webkit-animation: slide-right 3.5s linear infinite;
 animation: slide-right 400s ease infinite;
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
}
@keyframes slide-right {
0% {
background-position: 0 0;
}
100% {
background-position: -844px 0;
}
}

h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: Fragment, serif;
  font-size: 3.75vw;
  line-height: 4.5vw;
  font-weight: 300;
  letter-spacing: -1px;
  /*-webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px;*/
}

h3 {
  margin-top: 0;
  margin-bottom: 20px;
  font-family: Fragment, serif;
  font-size: 2.95vw;
  line-height: 3.2vw;
  font-weight: 300;
  letter-spacing: -1px;
}
h3.slider-title {
  font-size: 100px;
  color: white;
  line-height: 110px;
  padding: 40px 40px;
  letter-spacing: 0;
  word-break: keep-all;
}


h4.h4-small {
  font-size: 1.75vw;
  line-height: 2.2vw;
  margin: 2vw 0 1vw 0;
}

h4 {
  margin-bottom: 30px;
  margin-top: 0;
  margin-bottom: 0;
  font-family: 'Fragment', serif;
  font-size: 1.75vw !important;
  line-height: 2.2vw !important;
  font-weight: 400;
}

.destra {
  justify-content: flex-end;
  justify-content: flex-end;
  align-items: flex-end;
  text-align: right;
}

h5 {
  font-family: 'Neue Montreal', sans-serif;
  color: #2d2926;
  /*Black */
  font-size: .73vw;
  line-height: 1.1vw;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 10px 0 10px 0;
}

h6 {
  font-size: 0.75rem;
}

a {
  color: #1F61AF;
}

a:hover {
  color: #2d2926;
}

marquee p a {
  color: #1F61AF;
  text-decoration: none;
  border-bottom: 1px solid #1F61AF;
}

marquee p > a:hover {
  color: #2d2926;
  text-decoration: none;
  border-bottom: 1px solid #2d2926;
}
marquee p:before {
  left: 0;
  background: linear-gradient(to right, #fff 10%, transparent 80%);
}
marquee p:after {
  right: 0;
  background: linear-gradient(to left, #fff 10%, transparent 80%);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-66.6%);
  }
}

p,
ul li {
  color: #2d2926;
  /*Black */
  font-size: 1vw;
  line-height: 1.2vw;
  font-weight: 300;
}

figcaption {
  color: #2d2926;
  /*Black */
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 24px;
  font-style: italic;
}

.has-large-font-size {
  line-height: 40px;
  padding-bottom: 20px;
}

blockquote {
  color: #1F61AF;
  /* royal purple viola */
  margin-bottom: 30px;
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 10%;
  font-family: 'Fragment', serif;
  font-size: 1.75vw;
  line-height: 2.2vw;
  font-weight: 400;
  text-align: right;
  justify-content: flex-end;
  justify-content: flex-end;
  align-items: flex-end;
  letter-spacing: .01em;
  padding-bottom: 20px;
}

.overline {
  display: inline-block;
  font-family: 'Neue Montreal', sans-serif;
  color: #2d2926;
  /*Black */
  font-size: .73vw;
  line-height: 1.1vw;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.wp-block-pullquote blockquote {
  padding: 30px;
}

ul,
ol {
  color: #2d2926;
  /*Black */
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 24px;
  padding-bottom: 30px;
}

.page-item ul,
.page-item ol {
  padding-left: 1rem;
}

ul.slides {
  padding-left: 0;
  padding-bottom: 0;
}

.wp-block-latest-posts.wp-block-latest-posts__list,
.page-item .wp-block-social-links {
  padding-left: 0;
}

.wp-block-latest-posts li,
.widget .wp-block-latest-posts li {
  margin-bottom: 60px;
}

.wp-block-latest-posts li > a,
.widget .wp-block-latest-posts li > a {
  font-size: 18px;
  font-weight: 500;
  text-decoration: none !important;
}

.widget .wp-block-latest-posts li > a {
  font-size: 4.4vw;
  line-height: 6.5vw;
}

label {
  display: inline-block;
  font-size: 1rem;
  margin-bottom: 5px;
}

hr {
  margin-bottom: 30px;
}

fieldset {
  border: 1px solid #561D5E;
  padding: 15px;
}

legend {
  color: #2d2926;
  /*Black */
}

.main h2,
.main h3,
.main h4,
.main h5,
.main h6 {
  color: #fff;
}

.main h2::before {
  background: transparent !important;
}

table {
  width: 100%;
  margin-bottom: 30px;
  border-collapse: collapse;
}

th,
td {
  border: 1px solid rgba(31, 97, 175, 0.2) !important;
  padding: 0.625rem;
}

td {
  font-weight: 300;
  font-size: 0.875rem;
}

tbody th {
  font-weight: 300;
  text-align: left;
}

.even,
.wp-block-table th,
.wp-block-table tr:nth-child(odd) {
  background: #fff;
}

.odd,
.wp-block-table tr:nth-child(even) {
  background: #efefef;
}

dl {
  margin-bottom: 30px;
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 24px;
  color: #2d2926;
  /*Black */
}

dt {
  font-size: 1rem;
  font-weight: 500;
}

dd {
  padding-left: 1rem;
}

address,
kbd {
  font-size: 0.875rem;
  font-weight: 300;
  color: #2d2926;
  /*Black */
}

address {
  margin-bottom: 30px;
}

code {
  font-family: 'Neue Montreal', sans-serif;
  font-size: 0.75rem;
  font-style: italic;
}

pre {
  font-family: 'Neue Montreal', sans-serif;
  font-size: 0.75rem;
  margin-bottom: 30px;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
}

pre.wp-block-verse {
  font-family: 'Neue Montreal', sans-serif;
  font-weight: 300;
  white-space: pre-wrap;
}

h2.no-match-title {
  font-size: 1.25rem !important;
  display: inline-block !important;
}

.uppercase {
  text-transform: uppercase !important;
}

.wp-block-cover__inner-container p {
  line-height: 32px !important;
}

.wp-block-group.has-background {
  padding: 30px;
}


.wp-block-cover {
  height: auto;
}

.wp-block-post-title {
  font-size: 1.15rem;
  font-weight: 500;
}

.page-item .wp-block-post-title a,
.page-item .wp-block-site-title a {
  color: #555;
  line-height: normal !important;
  text-decoration: none;
}

.page-item .wp-block-post-title a:hover,
.page-item .wp-block-site-title a:hover {
  color: #561D5E;
}

.wp-block-post-date {
  font-size: 0.75rem;
  margin-bottom: 30px;
}

.wp-block-loginout,
.wp-block-post-terms {
  font-size: 0.875rem;
  font-weight: 300;
}

.wp-block-post-terms {
  margin-bottom: 30px;
}

.col-flex {
  width: 100%;
  padding: 0.5rem;
  display: flex;
}

.col-bottom {
  align-self: flex-end;
  width: 50%;
  height: auto;
  padding: 0.5rem;
}

.col-top {
  align-self: flex-start;
  width: 50%;
  height: auto;
  padding: 0.5rem;
}

/** 6.0 Global Style **/
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99998;
  padding: 20px 0;
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}

.sticky-menu {
  background: rgba(255,255,255, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  padding: 5px 0;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: row;
  text-decoration: none;
  color: #2d2926;
  /*Black */
}

.brand img {
  width: 140px;
  max-width: 100%;
  height: 100%;
}

.navbar {
  cursor: pointer;
  margin-right: 10px;
  padding-top: 5px;
  display: none;
}

.icon-bar {
  display: block;
  width: 22px;
  height: 1px;
  margin: 0 5px 5px;
  background: #2d2926;
  /*Black */
}

span.icon-bar-2 {
  display: block;
  height: 1px;
  margin: 0 5px 5px;
  background: #2d2926;
  /*Black */
  width: 3.5vw;
  transform: translate3d(0vw, 0vw, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
  transform-style: preserve-3d;
  float: right;
}

.menu {
  display: flex;
  flex-direction: row-reverse;
}

.menu ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  padding-bottom: 0;
}

.menu li {
  font-size: 1vw;
  line-height: 1.3vw;
  font-weight: 500;
  color: #2d2926;
  position: relative;
}

.menu ul li a::after {
color: #1F61AF;
content: "";
  position: absolute;
  width: 80%;
  height: 1px;
  background: transparent;
  bottom:10px;
  left: 50%;
  transform:translateX(-50%);
  transition: all 0.3s;
  transition-timing-function: ease-out;
}

.menu ul li > a:hover::after, li > a.active-nav::after {
  width: 80%;
  background: #1F61AF;
}

.menu .menu-item-has-children>a::after {
  content: ' \f0d7';
  font-family: FontAwesome;
  font-size: 38px;
  position: relative;
  vertical-align: middle;
}

.menu .sub-menu .menu-item-has-children>a::after {
  content: '' !important;
}

.menu a {
  display: inline-block;
  padding: 18px;
  text-decoration: none;
  color: #2d2926;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
  font-weight: 300;
}

.menu a:hover,
.current-menu-item>a {
  color: #1F61AF;
}

.current-menu-item>a::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.menu .menu-item-has-children .sub-menu {
  flex-direction: column !important;
  position: absolute;
  top: 60px;
  left: 0;
  background: #fff;
  visibility: hidden;
  opacity: 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.menu .menu-item-has-children:hover .sub-menu {
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;
  visibility: visible;
  opacity: 1;
  top: 50px;
}

.sub-menu li {
  width: 200px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sub-menu li:last-child {
  border-bottom: none;
}

.sub-menu a {
  padding: 14px 18px;
  color: #2d2926;
  /*Black */
  width: 100%;
}

.sub-menu a:hover {
  color: #2d2926;
  /*Black */
  background: #efefef;
}

.sub-menu .current-menu-item>a {
  color: #561D5E;
}

.dot {
  display: inline-block;
  overflow: hidden;
  width: 5px;
  height: 5px;
  margin-right: 0.7vw;
  margin-left: 0.7vw;
  border-radius: 50%;
  background-color: #9a8760;
}

.text {
  font-weight: 300;
  white-space: break-spaces;
}

.text-big {
  font-family: 'Neue Montreal', sans-serif;
  font-size: 1.25vw;
  line-height: 1.8vw;
  font-style: normal;
  font-weight: 300;
  color: #2d2926;
  /*Black */
}

.text-big a {
  font-family: 'Neue Montreal', sans-serif;
  font-size: 1.25vw !important;
  line-height: 1.8vw;
  font-style: normal;
  font-weight: 300;
  color: #2d2926;
  /*Black */
  text-decoration: none;
  margin-bottom: 10px;
  border-bottom: 1px solid #2d2926;
  /*Black */
}

/** 6.1 Homepage **/
.main {
  width: 100%;
  height: 100vh;
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  display: flex;
  align-items: center;
  color: #fff;
}

.main-content h1 {
  color: #2d2926;
  /*Black */
  /*Black */
  margin-bottom: 10px;
  font-family: Fragment, serif;
  font-size: 5.17vw;
  line-height: 5.2vw;
  font-weight: 300;
  letter-spacing: 0;
}

.main-content-page h1 {
  margin-top: 0;
  margin-bottom: 0;
  font-family: Fragment, serif;
  font-size: 3.75vw;
  line-height: 4.5vw;
  font-weight: 300;
  letter-spacing: 0;
}

.main-content p {
  color: #2d2926;
  /*Black */
  font-size: 1.25rem;
  margin-bottom: 60px;
}

/** 6.2 Progetti **/
.disegno {
	background-size: 2844px 600px;
	background-repeat: repeat-x;
-webkit-animation: slide-right 3.5s linear infinite;
 animation: slide-right 100s linear infinite;
}
@keyframes slide-right {
0% {
background-position: 0 0;
}
100% {
background-position: -2844px 0;
}
}

.riga {
  margin: 10px -16px;
}

/** 6.3 About **/
.logo-clienti img {
  border-bottom: 1px solid rgba(189, 174, 143, 0.2);
  padding-top: 12vw;
  padding-bottom: 12vw;
}


/* Add padding BETWEEN each column */
.riga,
.riga>.colonna {
  padding: 8px;
}

/* Create three equal columns that floats next to each other */
.colonna {
  float: left;
  width: 33.33%;
  display: none;
  /* Hide all elements by default */
}

/* Clear floats after rows */
.riga:after {
  content: "";
  display: table;
  clear: both;
}

/* Content */
.contenuto {
  background-color: white;
  padding: 10px;
}

/* The "show" class is added to the filtered elements */
.show {
  display: block;
}

/* Style the buttons */
.btn {
  border: none;
  outline: none;
  padding: 12px 16px;
  background-color: white;
  cursor: pointer;
}

.btn:hover {
  background-color: #ddd;
}

.btn.active {
  background-color: #666;
  color: white;
}

.archivio {
  padding-top: 4vw;
}

.progetti-archive{
  padding: 2.5em 1rem;
}
.progetti-img {
  display: block;
  width: 100%;
  height: 459px;
  object-fit: cover;
  overflow: hidden;
}

.progetti-img-archive {
  display: block;
  width: 100%;
  object-fit: cover;
  overflow: hidden;
  min-height: 459px;
}

h5.categorie-progetto {
  padding-top: 20px;
}

/** 6.3 Footer **/
footer{
  background-color:#1F61AF;
  padding: 60px 0 80px 0;
}
.footer {
  color: #ffffff;
  background-color:#1F61AF;
}
.footer h3.wp-block-heading{
  font-size: 1.7rem;
}
.footer p,
.textwidget.custom-html-widget {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 10px;
  font-weight: 400;
  line-height:20px;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}

.footer a {
  font-size: 14px;
  color: #ffffff;
  text-decoration: none;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}
.footer a:hover{
  color: #2a2f36;
}

label.wp-block-search__label{
  color: ffffff;
}
.footer .widget a:hover {
  color: #2d2926;
}

.social,
.footer li {
  list-style: none;
}

.social li {
  display: inline-block;
  margin-right: 30px;
}

.footer .widget {
  padding: 0;
  margin-bottom: 0.75rem;
  width: 90%;
}

.footer .widget h1,
.footer .widget h2,
.footer .widget h3,
.footer .widget h4,
.footer .widget h5,
.footer .widget h6,
.footer dl.gallery-item,
.footer .widget .menu a,
.footer .widget a,
.footer dl,
.footer .widget ul,
.footer .widget ol,
.footer .widget table,
.footer address,
.footer kbd,
.footer .widget pre,
.footer .widget cite {
  color: #ffffff !important;
}

.footer .tagcloud {
  margin-bottom: 30px;
}

.footer .odd,
.footer .even {
  background: transparent;
}
.credits{
  line-height: 60px;
  font-size: 10px;
  padding: 0;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  background-color: #003D70;
}
.credits a{
  color: #ffffff;
}

/* 6.3 Grid */
.grid-item {
  margin: 5px;
  margin-bottom: 30px;
}

.grid-item1 {
  background: #f6c770;
}

.grid-item2 {
  background-color: #efefef;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  height: 400px;
}

/* background by SVGBackgrounds.com */
.grid-item3 {
  background-image: url(./img/bg-svg.svg);
  background-color: #efefef;
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  padding: 20px 20px 70px;
}

.grid-inner {
  margin-top: 60px;
}

.grid-article h2 {
  font-size: 2.25rem;
  color: #2d2926;
  /*Black */
  margin-bottom: 20px;
}

/** 6.5 Page **/
.main-page {
  height: 0;
  padding: 150px 0;
}

.main-page h1 {
  margin-bottom: 0;
}

.page-item a {
  color: #2d2926;
  /*Black */
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
  text-decoration: none;
}

.page-item a:hover {
  color: #2d2926;
}

.wp-block-audio {
  margin-bottom: 30px;
}

.wp-block-archives-dropdown {
  margin-bottom: 20px;
}

.wp-block-media-text__media img {
  margin-bottom: 0;
}

.wp-block-separator {
  margin-bottom: 10px;
  border-color: #ddd;

}

.wp-social-link a {
  transform: rotate(0);
  transition: 0.3s;
}

.wp-social-link a:hover {
  transform: rotate(360deg);
}

/** 6.7 Parallax homepage **/
.parallax {
  background: url(img/parallax.png) no-repeat center center fixed;
  background-size: cover;
  height: auto;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
  height: 300px;
  background-position: 0 100%;
  animation-name: transparent-to-royal;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}

@keyframes transparent-to-royal {
  0% {
    background-color: transparent;
    /* royal */
    ;
  }

  50% {
    background-color: #1F61AF;
  opacity: 1;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
  }

  100% {
    background-color:transparent;
    /* royal */
    ;
  }
}


.background-overlay {
  background-color: #000000;
  opacity: 0.4;
  transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

/** 6.6 To Top **/

#top {
  width: 40px;
  height: 40px;
  background-color: #1F61AF;
  /*royal*/
  ;
  color: #fff;
  text-align: center;
  line-height: 40px;
  cursor: pointer;
  position: fixed;
  right: 3%;
  bottom: 30px;
  opacity: 0.5;
  z-index: 9999999999999999 !important;
}

#top:hover {
  opacity: 1;
}

#go-to-top {
	width:50px;
	height:50px;
	background:url(./img/arrow-right.png) no-repeat;
  background-color:black;
	border-radius:50%;
	position:fixed;
	right:20px;
	bottom:50px;
	opacity:0.5;
	cursor:pointer;
}
#go-to-top:hover {
	opacity:1;
}

/** 7.0 Jetpack **/
.sharing-hidden {
  position: relative;
}

.sharing-hidden .inner {
  top: 0 !important;
  left: 0 !important;
}

/** 8.0 Breadcrumbs **/
.breadcrumbs {
  background: #45de27;
  background: -moz-linear-gradient(45deg, #45de27 0%, #39f 100%);
  background: -webkit-linear-gradient(45deg, #45de27 0%, #39f 100%);
  background: linear-gradient(45deg, #45de27 0%, #39f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#45de27', endColorstr='#39f', GradientType=1);
  padding: 20px 0;
}

.breadcrumbs p {
  margin-bottom: 0;
  font-size: 0.75rem;
  color: #fff;
  letter-spacing: 0.063rem;
}

.breadcrumbs .fa-caret-right {
  margin: 0 15px;
}

.breadcrumbs a {
  text-decoration: none;
  color: #2d2926;
  /*Black */
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}

.breadcrumbs a:hover {
  color: #fff;
}

.page-error {
  height: auto;
  min-height: 70vh;
}

.page-blog {
  height: auto;
  min-height: 100vh;
}

/** 9.0 Blog **/
.flex-column {
  display: flex;
  flex-wrap: wrap;
}

.column {
  display: flex;
  max-width: 33.33333%;
  flex: 0 0 33.33333%;
  flex-direction: column;
  transition: all 0.2s ease-in-out;
  padding: 0 1.5rem;
  margin-bottom: 30px;
}

.column img {
  display: block;
  transition: inherit;
  margin-bottom: 0 !important;
}

.column:hover img,
.column-main:hover img {
  transform: translateY(-0.25rem);
  box-shadow: 0 1rem 2rem -1rem rgba(0, 0, 0, 0.75);
}

.column .time {
  font-size: 0.75rem;
}

.border-right {
  border-right: 1px solid rgba(154, 135, 96, .2);
}

.card {
  padding: 2.5rem 1rem;
  flex: 1 1 auto;
}

.card h2 {
  font-size: 1.15rem;
  font-weight: 500;
}

.card a,
.card-right a,
.card-left a {
  color: #2d2926;
  /*Black */
  text-decoration: none !important;
}

.card a:hover {
  color: #561D5E;
}

.card-left {
  padding-right: 2.2vw;
  flex: 1 1 auto;
}

.card-right {
  padding-left: 2.2vw;
  flex: 1 1 auto;
}

.card-about-right {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  vertical-align: center;
}

.card-about-left {
  width: 46%;
  background-color: #1F61AF;
  /* royal */
  padding: 6vw 0;
  margin: 0 auto;
  animation-name: royal-to-black;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}
.col-5.card.clearfix {
  padding: 0;
}

@keyframes royal-to-black {
  0% {
    background-color: #1F61AF;
    /* royal */
    ;
  }

  50% {
    background-color: #F6FEFF;
  }

  100% {
    background-color: #1F61AF;
    /* royal */
    ;
  }
}

.card-about-right {
  width: 46vw;
  flex-direction: column;
  justify-content: center;
  flex: 0 auto;
  padding: 3vw 4vw;
  margin: 0 auto;
  vertical-align: center;
}

.immagine-about {
  position: relative;
  z-index: 2;
  overflow: hidden;
  width: 24.5vw;
  height: auto;
}

.img-vert-center {
  position: relative;
  top: 1.50vw;
}

.wrapper {
  position: relative;
}

.canvas {
  width: 270px;
  height: 600px;
  background: #fee577;
  -webkit-transform: skewY(-20deg);
  -moz-transform: skewY(-20deg);
  transform: skewY(-20deg);
  position: absolute;
  top: 80px;
  left: 10%;
  z-index: -1;
}

.taxonomy-description {
  padding: 20px 100px;
}

.taxonomy-description p {
  margin-bottom: 5px;
  font-size: 1rem;
  font-style: italic;
}

/** 9.1 Pagination **/
.pagination {
  display: inline-block;
  padding-bottom: 70px;
}

.page-numbers {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #1F61AF;
  text-decoration: none !important;
  color: #2d2926 !important;
  font-size: 14px;
  text-transform: uppercase;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
  margin-bottom: 5px;
}

a.page-numbers:hover {
  background: #1F61AF;
  color: #fff !important;
}

.current {
  background: #1F61AF;
  color: #fff !important;
}

.dots {
  border: none;
}

.post-page-numbers {
  display: inline-block;
  padding: 2px 10px;
}

.post-page-numbers:hover {
  color: #fff !important;
  background: #1F61AF;
  text-decoration: none !important;
}

/** 9.2 Single **/
.section-post {
  padding-right: 10%;
  padding-left: 20%;
  margin-bottom: 30px;
  position: relative;
}

.section-post::before {
  position: absolute;
  top: 15%;
  right: 0;
  bottom: 20%;
  left: 0;
  content: "";
  background-color: #fee577;
}

.section-full {
  padding-left: 40%;
}

.section-post img {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  position: relative;
}

.entry-meta a,
.taxonomy a {
  text-decoration: none !important;
}

.entry-meta .time {
  margin-right: 20px;
}

.taxonomy {
  border-top: 1px solid #efefef;
  padding: 20px 0;
  font-size: 0.875rem;
  color: #2d2926;
  /*Black */
  font-weight: 300;
}

.post-categories {
  list-style: none;
  display: inline-block;
  margin-left: 0;
  padding-bottom: 0;
}

/** 9.3 Comments **/
.comments-area h2,
.comments-area h3,
.comment-form h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.comments-area ol,
.comments-area ul {
  padding-left: 0;
}

.comment-form p {
  text-transform: uppercase;
}

.comment-form [type=submit],
.comment-form [type=reset],
.page-item [type=submit],
.page-item [type=reset] {
  color: #2d2926;
  /*Black */
}

.comment-form [type=submit]:hover,
.comment-form [type=reset]:hover,
.page-item [type=submit]:hover,
.page-item [type=reset]:hover {
  color: #561D5E;
}

.comments-area ol {
  list-style: none;
  margin-left: 72px;
}

.comment-meta {
  position: relative;
}

.avatar {
  position: absolute;
  top: 0;
  right: calc(100% + 1rem);
  border-radius: 100%;
  display: block;
  height: calc(3.25 * 1rem);
  width: calc(3.25 * 1rem);
}

.wp-block-latest-comments .avatar,
.wp-block-latest-comments__comment-avatar {
  top: auto;
  right: auto;
}

.comment-metadata {
  margin-bottom: 30px;
  text-transform: uppercase;
}

.comment-metadata a,
.comment-form a {
  color: #2d2926;
  /*Black */
  text-decoration: none !important;
}

.comment-metadata a:hover,
.comment-form a:hover {
  color: #561D5E;
}

.edit-link {
  margin-left: 30px;
}

.edit-link a::before {
  content: '\f040  ';
  font-family: FontAwesome;
}

.fn {
  display: block;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}

.fn a {
  text-decoration: none !important;
  color: #2d2926;
  /*Black */
}

.fn a:hover {
  color: #561D5E;
}

.reply {
  padding-bottom: 40px;
}

.reply a {
  text-transform: uppercase;
  text-decoration: none !important;
}

.reply a::before {
  content: '\f112  ';
  font-family: FontAwesome;
}

.comments-area small {
  font-size: 0.75rem;
  font-weight: 300;
}

.comments-area small a {
  text-decoration: none !important;
  margin-left: 10px;
}

.right {
  float: right;
  text-align: right;
}

.children .odd,
.comment.odd {
  background: #fff;
}

.comment-navigation {
  margin-bottom: 30px;
}

.nav-previous,
.nav-next {
  margin: 15px 5px 0;
}

.comment-body ul,
.comment-body ol {
  padding-left: 1rem;
  margin-left: 0;
}

.comment-body ol {
  list-style: decimal;
}

.pingback {
  background: transparent;
  margin-bottom: 30px;
}

.pingback .edit-link {
  display: block;
  float: none;
  margin-left: 0;
}

.pingback .edit-link a {
  color: #2d2926;
  /*Black */
  text-transform: uppercase;
  text-decoration: none;
}

.pingback .edit-link a:hover {
  color: #561D5E;
}

/** 10.0 Sidebar **/
aside {
  position: relative;
  border-left:0.5px solid rgba(31, 97, 175, 0.2);
}

.widget {
  padding: 0 30px 0 60px;
  margin-bottom: 30px;
}

.widget h3 {
  font-size: 1.17rem;
  margin-bottom: 15px;
}

.widget ul {
  list-style: none;
  margin-left: 0;
  padding-left: 0;
  font-size: 1vw;
  line-height: 1.2vw;
  color: #2d2926;
  list-style-position: inside;
  /*Black */
}
ul{
  list-style-position: inside;
}

.widget li {
  line-height: 28px;
}

.widget a {
  text-decoration: none !important;
  color: #2d2926;
  /*Black */
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}

.widget a:hover {
  color: #561D5E;
}

.widget pre,
.widget cite {
  color: #2d2926;
  /*Black */
}

.widget table {
  color: #2d2926;
  /*Black */
}

.search-form {
  position: relative;
}

.search-form input {
  margin-bottom: 70px;
}

.search-form [type=submit] {
  bottom: 3px;
  padding: 0.5em 1em;
  position: absolute;
  right: 3px;
  top: 3px;
  background: #1F61AF;
  color: #fff;
  border: none;
  font-size: 1rem;
}

.search-form [type=submit]:hover {
  background: #2d2926;
  /*Black */
  color: #fff;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  transition: 0.3s;
}

.wp-block-search__input {
  margin-bottom: 10px;
  max-width: none !important;
}

.wp-block-search__button {
  margin-left: 0 !important;
  margin-bottom: 30px;
}

.widget .wp-block-search__button {
  background-color: transparent;
  border-color: #561D5E;
}

.wp-block-file a {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: initial;
}

.wp-block-file .wp-block-file__button {
  background: #561D5E;
}

.wp-block-gallery {
  padding-left: 0 !important;
}

.wp-block-gallery ul.blocks-gallery-grid {
  padding-left: 0;
}

.wp-block-gallery ul.blocks-gallery-grid img {
  margin-bottom: 0;
}

.wp-block-gallery .blocks-gallery-item figcaption {
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7) 100%);
  padding: 20px 10px;
}

#wp-calendar {
  width: 100%;
}

#wp-calendar caption {
  text-transform: uppercase;
  font-size: 1.17rem;
  color: #2d2926;
  /*Black */
  font-weight: 700;
  text-align: left;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: none !important;
}

#wp-calendar th {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #fff;
  background: rgba(60, 155, 255, 0.5);
  padding: 5px 0;
  border: none !important;
}

#wp-calendar td {
  font-size: 0.75rem;
  font-weight: 300;
  padding: 5px 0;
  text-align: center;
  border: none !important;
}

#wp-calendar #today {
  color: #fff;
  background: rgba(60, 155, 255, 0.5);
  font-weight: 400;
}

#wp-calendar #today a {
  color: #fff;
}

td#prev,
td#next,
.wp-calendar-nav-prev,
.wp-calendar-nav-next {
  display: none;
}

.gallery img {
  border: none !important;
}

.widget .menu {
  display: block;
}

.widget .menu li {
  font-size: 0.875rem;
  font-weight: 300;
}

.widget .menu .menu-item-has-children>a::after {
  content: '' !important;
}

.widget .menu a {
  padding: 0;
  color: #2d2926 !important;
}

.widget .menu .sub-menu {
  display: none !important;
}

/** 11.0 Form **/
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,
select {
  color: #2d2926;
  /*Black */
  background: #fff;
  background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
  border: 1px solid rgba(31, 97, 175, 0.2);
  display: block;
  border-radius: 0;
  padding: 1em;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}


textarea {
  padding-top: 0.75rem;
  padding-bottom: 07.5rem;
  height: 180px;
  resize: none;
}

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,
textarea:focus {
  border-color: #561D5E;
}

[type=submit],
[type=reset],
[type=button] {
  background: transparent;
  appearance: button;
  -webkit-appearance: button;
  cursor: pointer;
}

[type=file] {
  display: block;
}

.page-item p label {
  width: 100%;
  margin-bottom: 10px;
}

.page-item p.comment-form-cookies-consent label {
  display: inline;
  font-size: 12px;
  font-weight: 300;
  text-transform: none;
}

.wp-block-search__inside-wrapper {
  display: inline-block !important;
}
/** Re-captcha **/
.grecaptcha-badge { visibility: hidden; }

/** Form Contact 7 **/
input:-webkit-autofill {
    box-shadow: none;
    -webkit-box-shadow: none;
}
.div.wpcf7-mail-sent-ok,
.div.wpcf7-response-output,
div.wpcf7-validation-errors,
div.wpcf7-acceptance-missing{
  border: none;
  margin:0;
  padding: 0;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
  background-color: transparent;
  color: #2d2926;
  border:none;
  border-bottom: 1px solid rgba(31, 97, 175, 0.2);
  margin:10px 0 30px 0;
  font-size: 24px;
  padding: 20px 0 10px 0;
}

input.wpcf7-form-control.has-spinner.wpcf7-submit {
  margin-top: 40px;
}
.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
    border: 2px solid #2d2926; /* Blue */
}
.wpcf7 form.init .wpcf7-response-output {
    display: none;
} 
.wpcf7 form.sent .wpcf7-response-output {
    border-color: rgba(31, 97, 175, 0.2);
} 
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
    border-color: #941515; /* Red */
}
.wpcf7-quiz-label,
.wpcf7-list-item-label{
font-size: 1.5rem;
}
.wpcf7-not-valid-tip {
  color: #941515;
  font-size: 0.6em;
  font-weight: normal;
  display: block;
  font-family: 'Neue Montreal';
}
.wpcf7 form.spam .wpcf7-response-output {
    border-color: rgba(31, 97, 175, 0.2);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
    border-color: rgba(31, 97, 175, 0.2); /* Grey */
}
.wpcf7-submit {
  font-size: 20px;
  padding:10px 35px 10px 35px;
  border: 1px solid #2d2926;
  border-radius:30px;
}
.wpcf7 textarea{
	border: 1px solid rgba(31, 97, 175, 0.2);
	width:100%;
	margin-top:20px;
	border-radius:8px;
  background-color: transparent;
  margin-bottom:40px;
}
.wpcf7 label {
  width: 100%;
  font-family: Fragment, serif;
  font-size: 34px;
  letter-spacing: -1px;
  font-weight: 300;
}
.wpcf7 a{
  color:#561D5E;
}
.wpcf7-list-item{
  margin-left:0;
}


/** 12.0 Responsive Embed **/
.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  display: block;
  content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-responsive-21by9::before {
  padding-top: 42.8571428571%;
}

.embed-responsive-16by9::before {
  padding-top: 56.25%;
}

.embed-responsive-4by3::before {
  padding-top: 75%;
}

.embed-responsive-1by1::before {
  padding-top: 100%;
}

iframe {
  display: block;
  max-width: 100%;
  margin-bottom: 30px;
}

.fb-post {
  overflow-x: auto;
  max-width: 100%;
  overflow-y: hidden;
}

.embed-container {
  position: relative;
  padding-bottom: 120%;
  height: 0;
  overflow: hidden;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/** 13.0 Mappa contatti **/
.map {
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
   filter: grayscale(100%);
}
/** 14.0 Breakpoints **/

/** Desktop, iPad Pro **/
@media only screen and (min-width: 1024px) and (max-width: 1200px) {
  .content {
    width: 92%;
    margin: 0 4%;
  }

  .content-stretto {
    width: 80%;
    margin: 0 4%;
  }
  .sub-menu a {
    color: #2d2926;
    line-height: 90%;
    font-size: 6vw;
    line-height: 6vw;
  }
.text-big{
  font-size: 1.4vw;
  line-height: 1.5vw;
}
}

@media only screen and (max-width: 1200px) {
  .navbar {
    display: block;
    padding: 15px 0px;
  }

  .menu {
    margin: 0;
  }

  .menu .nav {
    display: block;
    position: fixed;
    left: -290px;
    width: 280px;
    height: 100%;
    top: 0;
    z-index: 99998;
    overflow-y: scroll !important;
    background-color: #1F61AF;
    -webkit-transition: -webkit-transform 0.5s ease-in-out;
    -moz-transition: -moz-transform 0.5s ease-in-out;
    transition: transform 0.5s ease-in-out;
    -webkit-box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.4);
  }

  .wide {
    -webkit-transform: translate(290px, 0);
    -moz-transform: translate(290px, 0);
    transform: translate(290px, 0);
  }

  .nav>li:first-child {
    padding-top: 40px;
  }

  .menu .menu-item-has-children .sub-menu {
    position: relative;
    display: block;
    visibility: visible !important;
    opacity: 1;
    top: 0;
    background: transparent;
    border: none;
  }

  .menu .menu-item-has-children:hover .sub-menu {
    -webkit-transition-duration: 0s;
    -moz-transition-duration: 0s;
    transition-duration: 0s;
    top: 0;
  }

  .menu li,
  .menu a {
    width: 100%;
    border: none;
    font-size: 4.5vh;
    line-height: 4.2vh;
    font-family: Fragment, serif;
    color: #ffffff;
  }

  .sub-menu li:last-child {
    border-bottom: 1px solid #2a2f36;
  }

  .sub-menu a {
    color: #2d2926;
    line-height: 90%;
  }

  .sub-menu a:hover {
    background: transparent;
    color: #2d2926;
    /*Black */
  }

  .sub-menu a {
    color: #2d2926;
    line-height: 90%;
    font-size: 3vw;
    line-height: 3vw;
  }

  h1 {
    margin-top: 0;
    margin-bottom: 0;
    padding-bottom: 0.3vw;
    font-family: Fragment, serif;
    font-size: 5.17vw;
    line-height: 5.2vw;
    font-weight: 300;
    letter-spacing: -1px;
    /*-webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px;*/
  }

  h3.slider-title{
    font-size: 70px;
    line-height: 70px;
  }


  .text-big {
    font-size: 4.4vw;
    line-height: 6.5vw;
  }

  blockquote {
    font-size: 1.75vw;
    line-height: 2.2vw;
    font-weight: 400;
    max-width: 100%;
    letter-spacing: 0.1em;
    text-align: right;
  }

  .progetti-img {
    height: 300px;
  }
}

/** Display 12", iPad PRO Portrait, iPad landscape **/
@media only screen and (max-width: 1024px) {
  .content {
    width: 92%;
    margin: 0 4%;
  }

  .content-stretto {
    width: 80%;
    margin: 0 4%;
  }

  .brand {
    margin-left: 10px;
  }

  .main {
    min-height: 30vh;
    height: auto;
    padding: 30vh 0;
  }

  .main-page {
    padding: 150px 0;
  }

  header {
    padding-bottom: 80px;
  }

  .brand {
    margin-left: 0;
  }

  h2 {
    font-size: 4.75vw;
    line-height: 4.5vw;
  }

  h3.row-space-between {
    display: inline-flex;
    margin-top: 0;
    margin-bottom: 0;
    font-family: Fragment, serif;
    font-size: 2.95vw;
    line-height: 2.2vw;
    font-weight: 300;
    letter-spacing: .01em;
  }

  h3.slider-title {
    font-size: 60px;
    line-height: 60px;
  }

  .text-big,
  .text-big a,
  span .text-big {
    font-size: 1.25vw;
    line-height: 1.8vw;
  }
  .wp-block-image {
    margin: 0;
}
}

/** Display 5.5", iPad Portrait, iPhone 6, 6s, 7, 8 portrait and landscape, iPhone 5s landscape **/
@media only screen and (max-width: 768px) {
  .content {
    width: 98%;
    margin: 0 auto;
  }

  .col-flex {
    display: block;
  }

  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-6,
  .col-8,
  .col-10 {
    width: 100%;
    float: none;
  }

  .sub-menu a {
    color: #2d2926;
    line-height: 90%;
    font-size: 6vw;
    line-height: 6vw;
  }

  .flexslider {
    margin-bottom: 0 0 20px;
  }
  .flexslider .slides li img {
    height: 300px;
  }

  .imageover {
    display: inline-flex;
    position: absolute;
    bottom: 300px;
    background-color: red;
    width: 60%
  }

  .imageover .col-6 {
    width: 60%;
    position: absolute;
    top: 0;
  }
	header {
    padding-bottom: 90px;
  }
	.divider {
    padding: 10px 0;
}
  p.text-big.p-home-more {
    padding-bottom: 40px;
}

  .col-5 {
    width: 48% !important;
    float: left;
    padding: 5px;
    margin: 1%;
    flex-basis:48% !important;
  }

  h1 {
    max-width: 100%;
    display: block;
    margin-bottom: 3vw;
    font-size: 14.5vw;
    line-height: 13vw;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1px;
  }
  blockquote {
    font-size: 4.7vw;
    line-height: 7vw;
    text-align: right;
    margin-left: 0;
    letter-spacing: .01em;
    padding-bottom: 0;
  }

  .col-bottom {
    padding: 0;
  }

  p.text-big,
  .text-big a,
  .text-big,
  p {
    font-size: 4.4vw !important;
    line-height: 6.5vw;
  }
  
  ul li {
    font-size: 4.4vw !important;
    line-height: 6.5vw;
  }

  .main-content h1 {
    font-size: 2.25rem;
  }

  .main-content p {
    font-size: 0.875rem;
  }

  aside {
    border-left:none;
  }

  .line {
    height: 5rem;
  }

  .flexslider .slides li img {
    height: auto;
    width: 100%;
    height: 300px;
    object-fit: cover !important;
    object-position: 55%;
  }
  h2 {
    font-size: 7.75vw;
    line-height: 7.5vw;
  }

  h3.slider-title {
    font-size: 40px;
    color: white;
    line-height: 40px;
    padding: 20px 20px;
    letter-spacing: 0;
    word-break: keep-all;
}
	
  .overline {
    font-size: 2.3vw;
    line-height: 3vw;
  }

  .card-about-left {
    padding: 10vw 0;
  }

  .immagine-about {
    width: 50vw;
    height: auto;
  }
  h4 {
    margin-top: 20px;
    font-size: 6.75vw !important;
    line-height: 6.2vw !important;
}

  h5.image-caption {
    font-size: 2.3vw;
    margin-top: 4vw;
  }

  h5 {
    font-size: 2.3vw;
    line-height: 3vw;
    margin: 10px 0 10px 0;
  }
  h3 {
    font-size: 7vw;
    line-height: 9vw;
  }
  .wp-block-image .alignright { /*per immagine about */
    float: right;
    margin: 0.5em 1em 0.5em 1em;
}
  h3.h3-post-mobile {
    margin-top: 0;
    margin-bottom: 0;
    font-family: 'Fragment', serif;
    font-size: 6.7vw;
    line-height: 6.7vw;
    font-weight: 400;
    letter-spacing: .01em;
  }

  ul.flex-direction-nav {
    top: 320px;
    position: absolute;
    display: block;
    bottom: -200px;
    left: 0;
    width: 100px;
  }

  h3.row-space-between {
    font-size: 7vw;
    line-height: 8vw;
  }

  .col-6.col-top {
    padding: 40px 0;
}

  .card {
    min-height: 240px;
  }

  .card-left {
    padding-right: 0;
    flex: 1 1 auto;
  }

  .card-right {
    padding-left: 0;
    flex: 1 1 auto;
  }
.card-right h3{
	margin-block-start: 0.67em !important;
	}

  .col-flex {
    padding: 0;
  }

  .border-right {
    border-right: none;
    border-bottom: 1px solid rgba(154, 135, 96, .2);
  }

  .card-left {
    padding-right: 0;
    flex: 1 1 auto;
    padding-bottom: 7vw;
  }

  .card-right {
    display: inline-flex;
    width: 49%;
    justify-content: space-between;
    align-items: center;
    padding-left: 0;
    flex-direction: column;
    padding-top: 9vw;
  }

  .card-right h3 {
    margin-block-start: 1.67em;
    margin-block-end: 1.67em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
  }

  .card-right p {
    font-size: 3.9vw;
    line-height: 6vw;
    text-align: left;
  }

  .progetti-img {
    height: 240px;
  }

  .progetti-img-archive {
    min-height: 240px;
  }
  
  .card-about-left {
    margin-top: 7vw;
  }

  .card-about-right {
    margin-top: 7vw;
    padding: 0;
  }

  .card-about-right h3 {
    font-size: 7vw;
    line-height: 9vw;
  }

  .card {
    padding: 0;
    padding-bottom: 40px;
  }

  .card .h4-small {
    font-size: 4.7vw !important;
    line-height: 6.7vw !important;
  }

  .page-item img {
    margin-bottom: 0;
  }

  .widget {
    padding: 0;
  }

  .category {
    padding-bottom: 10px;
  }

  .taxonomy-description {
    padding: 20px 0;
  }

  .column {
    max-width: 100%;
    flex: 0 0 100%;
    padding: 0;
  }

  .canvas {
    left: 15px;
  }

  .square {
    left: 25px;
  }

  .section-post {
    padding-right: 5%;
    padding-left: 10%;
  }

  .comments-area ol.children {
    margin-left: 0;
  }

  span.edit-link {
    margin-left: 0;
    display: block;
  }

  dl.gallery-item {
    width: 100% !important;
  }

  footer{
    padding: 0;
  }
  .footer .widget {
    width: 100%;
  }

  .page-item {
    overflow-x: hidden;
  }

  .wp-block-column.is-layout-flow {
    padding-left: 0 !important;
  }

  .wp-block-spacer{
    max-height:40px !important;
  }
  .display-none-mobile{
    display:none;
  }
  .accordion-mobile{
    padding-right:0 !important;
  }
  .wp-block-group.has-background {
    padding: 0;
}
.wp-block-group.has-background {
  padding: 0;
  width: 100% !important;
  padding-top: 4%;
}
.wp-block-image {
  margin: 0;
}
.wp-block-media-text__content {
    margin-top: 40px;
}
}

/** Display 4", iPhone 5s portrait **/
@media only screen and (max-width: 320px) {
  .navbar {
    margin-right: 0;
  }

  .comments-area th,
  .comments-area td {
    font-size: 0.625rem;
  }

  .wp-block-audio audio {
    min-width: 200px;
  }

  .instagram-media.instagram-media-rendered {
    min-width: 200px !important;
  }
}

/** CSS grid **/
@media only screen and (min-width: 1024px) {
  .grid {
    grid-template-columns: 3fr 6fr 1fr 5fr 10fr 2fr;
    grid-template-rows: 100px auto 15px auto auto;
    padding: 70px 0;
  }

  .grid-item1 {
    grid-column: 1 / 3;
    grid-row: 1 / 5;
  }

  .grid-item2 {
    grid-column: 2 / 4;
    grid-row: 3 / 6;
  }

  .grid-item3 {
    grid-column: 5 / 7;
    grid-row: 4 / 6;
  }

  .grid-inner {
    grid-column: 3 / 6;
    grid-row: 2 / 3;
    padding: 0 16%;
    text-align: center;
    margin: 0;
  }

  .grid-content {
    grid-column: 4 / 6;
    grid-row: 4 / 6;
  }

  .grid-article {
    padding: 100px 0 100px 10%;
  }
}

@media only screen and (min-width: 1200px) {
  .grid-article {
    padding: 100px 0 100px 20%;
  }
}