/*!
Theme Name: MaestroLibero
Theme URI: http://underscores.me/
Author: Phaedra Casadio
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: maestro-libero
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.

MaestroLibero 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.
 */

/*@font-face {
    font-family: 'DK The Cats Whiskers';
    src: url('images/subset-DKTheCatsWhiskers.woff2') format('woff2'),
        url('images/subset-DKTheCatsWhiskers.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}*/
@font-face {
    font-family: 'Birch Std';
    src: url('images/hinted-subset-BirchStd.woff2') format('woff2'),
        url('images/hinted-subset-BirchStd.woff') format('woff'),
        url('images/hinted-subset-BirchStd.svg#BirchStd') format('svg');
    font-weight: normal;
    font-style: normal;
}



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

.wp-block-group {
  background-color: #ffde7a;
  padding: 1vw 2vw;
  border-radius: 2rem;
  margin: 0 0 2vw 0;
}

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

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
  text-decoration: none;
}

/**
 * 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
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
    font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}

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

h1, h2 {
  font-family: 'Mali', cursive;
  color: rgb(169, 79, 42);
  /*text-transform: uppercase;*/
}
h1 {
  font-size: 33px;
}
h2 {
  font-size: 27px;
}

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

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
	box-sizing: border-box;
}

*,
*:before,
*:after {
	/* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
	box-sizing: inherit;
}

body {
	background: #ffeebc;
}

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: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto;
	/* Make sure images are scaled correctly. */
	max-width: 100%;
	/* Adhere to container width. */
}

figure {
	margin: 1em 0;
	/* Extra wide images within figure tags don't overflow the content area. */
}

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

/*--------------------------------------------------------------
# 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);
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1;
	padding: .6em 1em .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%;
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/*--------------------------------------------------------------
## Links
--------------------------------------------------------------*/
a {
	color: royalblue;
}

a:visited {
	color: royalblue;
}

a:hover, a:focus, a:active {
	color: midnightblue;
}

a:focus {
	outline: thin dotted;
}

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

/*--------------------------------------------------------------
## Menus
--------------------------------------------------------------*/
.main-navigation {
	clear: both;
	display: block;
	float: left;
	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 {
	left: 100%;
}
.main-navigation ul ul a {
	width: 200px;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}
.main-navigation li {
	float: left;
	position: relative;
}
.main-navigation a {
	display: block;
	text-decoration: none;
}

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

@media screen and (min-width: 37.5em) {
	.menu-toggle {
		display: none;
	}
	.main-navigation ul {
		display: block;
	}
}

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

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	float: left;
	width: 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}

#header-menu {
	max-width: 980px;
	margin: 0 auto;
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 8px;
}
#header-menu .menu-item  > a {
  color: white;
  /*text-transform: uppercase;*/
  padding: .5rem 1rem;
  transition: all .3s;
	font-size: 1.8rem;
  text-shadow: 2px 2px 2px black;
	line-height: 1.2em;
	font-family: 'Mali', cursive;
	
}
#header-menu .menu-item > a:hover {
	background-color: #ee6730;
}
.main-navigation ul ul {
  background-color: #fd763f;
}

#menu-laterale {
	margin: 2vw 0;
	padding: 0;
  list-style: none;
}
#menu-laterale .menu-item > a {
  /*font-family: 'Mali', cursive;*/
  font-family: 'Mali', Sans-serif!important;
	padding: 1rem 2rem;
	background-color: #fd763f;
	color: white;
	font-weight: bold;
	margin: 1rem 0;
	width: 100%;
	display: block;
	border-radius: 20rem;
	font-size: 1.6rem;
	/*text-transform: uppercase;*/
	box-sizing: border-box;
	font-weight: bolder;
	line-height: 1em;
	white-space: nowrap;
	text-align: center;
  box-shadow: 2px 2px 0px 2px gray;
  transition: all .5s;
}
#menu-laterale .menu-item > a:hover {
  background-color: #3e569e;
}


/*--------------------------------------------------------------
# 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; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.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: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
	outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear:before,
.clear:after,
.entry-content:before,
.entry-content:after,
.comment-content:before,
.comment-content:after,
.site-header:before,
.site-header:after,
.site-content:before,
.site-content:after,
.site-footer:before,
.site-footer:after {
	content: "";
	display: table;
	table-layout: fixed;
}

.clear:after,
.entry-content:after,
.comment-content:after,
.site-header:after,
.site-content:after,
.site-footer:after {
	clear: both;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
	margin: 0 0 1.5em;
	/* Make sure select elements fit in widgets. */
}

.widget select {
	max-width: 100%;
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.main-navigation {
	float: none;
}
.site-header {
	background-color: #f9ce2a;
	padding: 1vw;
	/*background-image: url(images/header.jpg);*/
	background-size: auto 295px;
	box-shadow: 0 0 60px -40px black;
}
.site-branding {
  font-family: 'Mali', cursive;
	max-width: 980px;
	margin: 0 auto;
	text-align: center;
    height: 200px;
    overflow: hidden;
}
.site-title {
  margin: 0;
}
.site-title > a {
    font-size: 120px;
    font-weight: bold;
    color: white;
    line-height: 1em;
    letter-spacing: 2px;
    -webkit-text-stroke: 1px black;
    margin: 1rem 0 .5rem;
    display: block;
}
.site-description {
  font-size:40px;
  font-weight: bold;
  color: #d0645d;
    font-family: 'Mali', cursive;
  margin: 0;
}

.site-content {
	display: flex;
	flex-flow: row wrap;
	align-items: stretch;
	justify-content: space-between;
  	max-width: 980px;
	margin: 2vw auto;
}
.content-area {
order: 1;
  flex: 1;
}
.widget-area {
  order: 3;
  margin-right: 2vw;
  flex: 0 0 250px;
}
/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/
.sticky {
	display: block;
}

.post, .page {

}


.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}


.wp-block-button > a {
  font-family: 'Mali', cursive;
	font-size: 1.2rem;
	font-weight: 600;
	margin: 0;
	background-color: #fd763f;
	transition: all .5s;
  letter-spacing: 1px;
}

.wp-block-button.button-newsletter > a {
	/*text-transform: uppercase;*/
	font-size: 1.8rem;
	font-weight: 600;
	margin: 0 0 1vw 0;
	background-color: #fd763f;
	box-shadow: 2px 2px 0px 2px gray;
  transition: all .5s;
  width: 80%;
}
.wp-block-button > a:hover {
  background-color: #3e569e;
}

.wp-block-latest-posts li {
	background-color: #fed1bf;
	padding: 1rem;
	box-sizing: border-box;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	/* Theme Footer (when set to scrolling) */
	display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# 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 embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

.wp-block-image.myself-round > figure {
	border-radius: 100%;
	overflow: hidden;
	border: 5px solid white;
	box-shadow: 3px 3px 5px black;
	height: 15rem;
	width: 15rem;
	display: block;
}
.wp-block-image.myself-round > figure > img {
	width: auto;
	min-height: 100%;
	min-width: 100%;
	max-width: none !important;
}

.widget.myself-round {
	border-radius: 100%;
	overflow: hidden;
	border: 5px solid white;
	box-shadow: 3px 3px 5px black;
	height: 15rem;
	width: 15rem;
}
.widget.myself-round > img {
	width: auto;
	min-height: 100%;
	min-width: 100%;
	max-width: none !important;
}
.wp-block-media-text.myself-round {
	grid-template-columns: 17rem auto;
}
.wp-block-media-text.myself-round > figure {
	border-radius: 100%;
	overflow: hidden;
	border: 5px solid white;
	box-shadow: 3px 3px 5px black;
	height: 15rem;
	width: 15rem;
}
.wp-block-media-text.myself-round > figure > img {
  min-height: 100%;
	min-width: 100%;
}
.wp-block-media-text.myself-round > figure + div {
  padding: 0;
}
.wp-block-group.has-background {
	border: 2px solid white;
}
.entry-content > .wp-block-kioken-videobox,
.entry-content > .wp-block-media-text {
	background-color: white;
	margin: 2vw auto;
	padding: 2vw;
	max-width: 80%;
  grid-template-columns: 20% auto !important;
}
.entry-content > .wp-block-media-text > figure {
	border-radius: 100%;
	overflow: hidden;
	box-shadow: 3px 3px 15px -5px gray;
}
.entry-content > .wp-block-media-text > figure > img {
  min-height: 100%;
	min-width: 100%;
  width: auto;
}

.entry-content > .wp-block-media-text.myself-round {
  background-color: #ffde7a;
  padding: 1vw 2vw;
  border-radius: 2rem;
  margin: 0 0 2vw 0;
  max-width: 100%;
  grid-template-columns: 30% auto !important;
}
.entry-content > .wp-block-media-text h2 {
	margin: 0;
}

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

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

.wpcf7-form {
	padding: 2vw;
}
#cf7md-form .mdc-text-field:not(.mdc-text-field--disabled) {
	background-color: white;
}
#cf7md-form .mdc-button--raised:not(:disabled):hover, #cf7md-form .mdc-button--unelevated:not(:disabled):hover,
#cf7md-form .mdc-button::before, #cf7md-form .mdc-button::after, #cf7md-form .mdc-button--raised:not(:disabled), #cf7md-form .mdc-button--unelevated:not(:disabled) {
	background-color: #f9ce2a;
}
#cf7md-form .mdc-button--raised:not(:disabled), #cf7md-form .mdc-button--unelevated:not(:disabled) {
	color: black;
}
.site-info {
	display: none;
}

.wp-block-gumroad-gumroad-block + a,
.wp-block-kadence-advancedbtn .kt-btn-wrap .kt-button  {
	font-family: 'Mali', cursive;
	font-weight: bold;
	font-size: 1.2rem;
  background-color: #fd763f;
	color: white;
	border-radius: 30px;
	border: none;
	padding: .8rem 1.6rem;
	box-shadow: 3px 3px 15px -5px gray;
	letter-spacing: 1px;
}
.wp-block-gumroad-gumroad-block + a,
.wp-block-kadence-advancedbtn .kt-btn-wrap .kt-button span {
  color: white;
}

@media (max-width: 425px) {


  .menu-toggle {
    display: none;
  }
  #header-menu {
    display: none;
  }
  .site-title > a {
    font-size: 50px;
  }
  .site-description {
    font-size:20px;
  }
  .site-branding {
    height: auto;
  }
  .wp-block-group {
	background-color: #ffde7a;
	padding: 6vw;
	border-radius: 0;
	margin: 0 0 6vw 0;
}
.entry-content > .wp-block-media-text.myself-round {
	background-color: #ffde7a;
	padding: 1vw 2vw;
	border-radius: 2rem;
	margin: 0 0 2vw 0;
	max-width: 100%;
	grid-template-columns: auto auto !important;
}
.entry-content > .wp-block-media-text.myself-round {
	padding: 6vw;
	border-radius: 0;
	margin: 0 0 6vw 0;
	grid-template-columns: auto auto !important;
}
.wp-block-media-text__media {
	margin: 0 auto !important;
	display: block;
	margin: 0 auto 6vw auto !important;
}
.entry-content > .wp-block-media-text {
	background-color: white;
	margin: 6vw auto;
	padding: 6vw;
	max-width: none;
	grid-template-columns: auto auto !important;
}
}



.wp-block-latest-posts.wp-block-latest-posts__list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.wp-block-latest-posts li {
	background-color: white;
	padding: 2vw;
	box-sizing: border-box;
	margin: 2vw 0;
}
.fp-post .fp-readmore-link {
	text-decoration: none;
	font-size: 0.9em;
	display: inline-block;
	border: 1px solid;
	padding: .2em .7em;
	border-radius: 3px;
	background-color: #fd763f;
	color: white;
	font-weight: bold;
	padding: .5rem 2rem;
	/* border-radius: 9%; */
	font-size: 1em;
	margin: 0;
}
.single-post #primary {
	background-color: white;
	padding: 2vw;
}
.single-post h1 {
	font-size: 40px;
}
.single-post .entry-content h2 {
	text-transform: none;
}
.single-post .entry-content > h2:first-child {
	margin-top: -2rem;
}
.single-post .entry-content h3,
.single-post .entry-content h4 {
	/*font-family: "DK The Cats Whiskers";*/
}
.single-post .entry-content h3 {
	font-size: 24px;
}
.single-post .entry-content h4 {
	font-size: 20px;
}


.wp-block-button.button-newsletter {
    margin: 6vw 0;
}
@media (min-width: 768px) {

	.wp-block-button.button-newsletter {
    	margin: 2rem 0;
	}
}


.fp-row {
	align-items: stretch;
}
.fp-col.fp-post {
    background-color: white;
    padding: 0;
    margin: 0;
    margin-bottom: 6vw;
}
@media (min-width: 768px) {

	.fp-col.fp-post {
		background-color: white;
		padding: 1vw;
		margin: .5vw;
  	}
}

.fp-list-2 .fp-title, .fp-list-3 .fp-main .fp-title, .fp-list-4 .fp-title {
    font-size: 1.2em;
    font-weight: 800;
}
.fp-list-2 .fp-media + .fp-body,
.fp-list-3 .fp-main .fp-media + .fp-body {
    margin-top: 0.8em;
    padding: 0 1rem 1rem 1rem;
}

.entry-meta {
	display: none;
}
.post-thumbnail {
	display: none;
}

article:not(.post) .entry-title {
	display: none;
}

.search article:not(.post) .entry-title {
	display: block;
}


.page-id-463 #site-navigation {
	display: none;
}

.pum-theme-1004 .pum-container, .pum-theme-hello-box .pum-container {
	padding: 30px;
	border-radius: 80px;
	border: 14px solid ORANGE;
	box-shadow: 0px 0px 0px 0px rgba(2,2,2,0);
	background-color: rgba(255,255,255,1);
}

.category-landing-page {
	max-width: 50rem;
	display: block;
	margin: 0 auto;
}
.category-landing-page .entry-content > .wp-block-kioken-videobox,
.category-landing-page .entry-content > .wp-block-media-text {
	margin: 2vw auto;
	padding: 0;
	max-width: none;
}

#cf7md-form .mdc-button--raised:not(:disabled):hover, #cf7md-form .mdc-button--unelevated:not(:disabled):hover, #cf7md-form .mdc-button::before, #cf7md-form .mdc-button::after, #cf7md-form .mdc-button--raised:not(:disabled), #cf7md-form .mdc-button--unelevated:not(:disabled) {
	background-color: #fd763f;
	padding: 1.8rem 3rem;
	font-size: 1.6rem;
	color: #fff !important;
	font-family: 'Mali', cursive;
	border-radius: 5rem;
	font-weight: bold;
}

/* WP-OK Footer Widgets #14049 */
#wrapperwidgets{
	min-height:80px;
	background-color:#F9CE2A;
	padding-top:25px;
	padding-bottom15px;
    display:-webkit-flex;
    -webkit-justify-   content:center;
    display:flex;
    justify-content:center;
	text-align:center;
}
#wrapperwidgets div {
    -webkit-flex:1;
    flex:1;
    /*border:thin solid #777;*/
}

.search-form {
    font-family: 'Mali', cursive;
    padding-top: 0.5rem;
	padding-bottom: 0.5rem;
    color: white;
    font-weight: bold;
    margin: 1rem 10px;
    width: 90%;
    display: block;
    border-radius: 20rem;
    font-size: 1.6rem;
    /*text-transform: uppercase;*/
    box-sizing: border-box;
    font-weight: bolder;
    line-height: 1em;
    white-space: nowrap;
    text-align: center;
    /*box-shadow: 2px 2px 0px 2px gray;*/
    transition: all .5s;
}



/* header css*/
.site-branding{
	border: none!important;
  }

  header#masthead{
	/*top: 0; */
	top: -107px;
	z-index: 999;
	position: -webkit-sticky;
	position: sticky;
  }

	body.admin-bar header#masthead{
		top: calc(-107px + 32px);
	}

  .logo{
	width: 100%!important;
	display: block;
	text-align: center;
  }

  .logo img {
	max-width: 70%;
	padding-top: 10px;
  }

  #masthead .elementor-nav-menu--main .menu-item a{
	font-size: 1.2rem;
	text-transform: capitalize;
  }
  #masthead .elementor-nav-menu--main .menu-item{
	margin: auto 0;
  }

  .mobile-search .searchboxajax{
	width: 100%!important;
	}

#masthead .elementor-nav-menu li.menu-item:last-child .elementor-item::before{
	background-color: transparent;
}

.custom-logo-mobile{
	display: none;
}

.mobile-search{
	display: none!important;
}

.probox .promagnifier{
	background-image: none!important;
	background-color: rgb(253,118,63)!important;
}

html{
	scroll-behavior: smooth;
	scroll-padding-top: 200px;
}


  @media only screen and (max-width: 1024px) {
	#masthead  .site-branding{
	  width: auto!important;
	}

	#masthead .elementor-nav-menu li.menu-item:last-child{
		display: none!important;
	  }


	.menudesktop{
	  position: absolute;
	  left: 0;
	  z-index: 9999999999999999 !important;
	  position: absolute;
	  height: 100%;
	  top: 0;
	  display: flex;
	  justify-content: center;
	  flex-direction: column;
	}

	.mobile-search{
		position: absolute;
		top: 5%;
		right: 0;
		width: auto!important;
		display: flex!important;
		z-index: 9999999999999999 !important;
		height: 100%;
		justify-content: center;
		flex-direction: column;
		padding: 10px;
	  }



  }
  @media only screen and (max-width: 1300px) {
	#masthead .elementor-nav-menu--main .menu-item a{
		font-size: 1rem;
		padding: 10px 10px;
	  }
  }

  @media only screen and (max-width: 768px) {
	.site-branding{
	  display: flex!important;
	  justify-content: center;
	}
	#masthead .logo{
	  display: flex!important;
	  width: 60%!important;
	  justify-content: center;
	  flex-direction: column;
	}
	#masthead .menumobile{
	  left: 0;
	  width: auto;
	}
	#masthead  .logo img{
	  max-width: 100%;
	}
   .site-header#masthead, body.admin-bar header#masthead {
	  padding-bottom: 0px !important;
	   top: 0;
	}

	.custom-logo-mobile{
		display: block;
	}

	.custom-logo-desktop{
		display: none;
	}
	html{
		scroll-padding-top: 100px;
	}
}


@media only screen and (max-width: 571px) {
  #masthead .menumobile {
	display: flex!important;
	z-index: 9999999999999999 !important;
	position: absolute;
	height: 100%;
	justify-content: center;
	flex-direction: column;
	}

	.logo img {
		padding-top: 0px;
	}

}

.menudesktop .elementor-section.elementor-section-boxed > .elementor-container{
	max-width: none;
}

.menumobile .elementor-2517 .elementor-element.elementor-element-295a7f2 .elementor-menu-toggle{
	font-size: 24px;
}


/*Modifica per migliorare il caricamento del menu */


@media only screen and (min-width: 1025px) {
	.elementor-nav-menu--dropdown-tablet .elementor-menu-toggle, .elementor-nav-menu--dropdown-tablet .elementor-nav-menu--dropdown {
		display: none;
	}

	.elementor-nav-menu__align-center .elementor-nav-menu {
		margin-left: auto;
		margin-right: auto;
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}

	.elementor-nav-menu--layout-horizontal .elementor-nav-menu {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}

	.elementor-nav-menu, .elementor-nav-menu li, .elementor-nav-menu ul {
		display: block;
		list-style: none;
		margin: 0;
		padding: 0;
		line-height: normal;
		-webkit-tap-highlight-color: rgba(0,0,0,0);
	}

	.elementor-nav-menu--main .elementor-nav-menu a, .elementor-nav-menu--main .elementor-nav-menu a.highlighted, .elementor-nav-menu--main .elementor-nav-menu a:focus, .elementor-nav-menu--main .elementor-nav-menu a:hover {
		padding: 13px 20px;
	}

	.elementor-nav-menu--main .menu-item a {
		text-shadow: 2px 2px 2px black;
		/*font-family: 'DK The Cats Whiskers' !important;*/
	}
}

@media only screen and (max-width: 1024px) {
	.menumobile nav.elementor-nav-menu--dropdown{
		opacity: 0;
	}
	.menudesktop nav.elementor-nav-menu--dropdown{
		opacity: 0;
	}
	.elementor-nav-menu--dropdown-tablet .elementor-nav-menu--main{
		display: none;
	}
}

/* sidebar */
.sidebar-sticky{
	position: sticky;
	top: 200px;
}

@media only screen and (max-width: 1024px) {
	.sidebar-sticky{
		top: 130px;
	}
}

@media only screen and (max-width: 768px) {
	.sidebar-sticky{
		top: 100px;
	}
}

.width-100{
	width: 100%;
}

/* New menu */

.menudesktop .menu-testata-containe{
	display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.menudesktop > .menu-testata-container > ul {
	line-height: 1;
    padding: 10px 0 10px 10px;
    margin-top: -10px;
    margin-bottom: -10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
	margin-left: auto;
	margin-right: auto;
	list-style: none;
	position: relative;
	z-index: 2;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
}
.menudesktop > .menu-testata-container > ul > li{
	position: relative;
	margin: auto 0;
}
.menudesktop > .menu-testata-container > ul > li > a{
	color: #FFFFFF;
	letter-spacing: 0.2px;
	text-shadow: 2px 2px 2px black;
	font-family: 'Mali', cursive !important;
	white-space: nowrap;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	padding: 13px 20px;
	line-height: 20px;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	font-size: 1.2rem;
	font-weight: 600;
}

.menu-testata-container li:hover:not(:last-child){
	background-color: #FD763F;
}

.sub-menu {
	display: none;
	background-color: #f1f1f1;
    min-width: 160px;  
    z-index: 1;
	background-color: #FFC721;
	list-style: none;
	padding: 0;
	min-width: 10em;
	margin-left: 0;
}
.menudesktop .sub-menu{
	position: absolute;  
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.menudesktop .menu-item-has-children:hover .sub-menu{
	display: block;
	padding: 0;
}

.sub-menu > li {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}
.sub-menu > li:not(:last-child){
	border-bottom: 1px solid #F2B500;
}

.menudesktop .sub-menu > li > a{
	text-shadow: 2px 2px 2px black;
	font-size: 1.2rem;
	margin-left: 0px;
}
.sub-menu > li > a{
	font-size: 1.1rem;
	padding: 16px 20px;
	font-weight: 600;
	color: #FFFFFF;
	/*font-family: 'Mali', cursive !important;*/
	font-family: 'Mali', Sans-serif!important;
	white-space: nowrap;
	-webkit-box-flex: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	margin-left: 8px;
}
.current_page_item > a {
	background-color: #FD763F;
}

.menu-item-has-children > a > .sub-arrow i {
	padding: 10px 0 10px 10px;
	margin-top: -10px;
	margin-bottom: -10px;
}

.menu-toggle{
	margin-right: auto;
	background-color: #FD763F;
	border-width: 0px;
	border-radius: 60px;
	font-size: 24px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	cursor: pointer;
	margin-left: 10px;
	color: #494c4f;
	box-shadow: 2px 2px 0px 2px grey;
	box-sizing: border-box;
	height: 40px;
	width: 40px;
  
}
.menu-toggle > i {
	color: white;
}
.menu-toggle .close{
	display: none;
	padding: .25em .30em;
}


.menumobile > .menu-testata-container{
	display: none;
	position: absolute;
	z-index: 9997;
	top: 80px;
	width: 100vw;
	background-color: #FFC721;
}

.menumobile.show > .menu-testata-container{
	display: block;
}

.menumobile.show .menu-toggle .close{
	display: block;
}

.menumobile.show .menu-toggle .open{
	display: none;
}

.menumobile > .menu-testata-container > ul{
	margin: 0;
	padding: 0;
	line-height: normal;
}

.menumobile > .menu-testata-container > ul > li{
	margin: 0;
	padding: 0;
}

.menumobile > .menu-testata-container > ul > li > a{
	padding: 14px 20px;
	color: #FFFFFF;
	letter-spacing: 0.2px;
	font-family: "Mali", Sans-serif;
	font-weight: 600;
	font-size: 1.2rem;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

.menumobile .sub-menu.show{
	display: block;
}

@media (min-width: 768px){
	.menumobile > .menu-testata-container{
		top: 90px;
	}
}

@media (min-width: 1024px){
	#masthead .menumobile {
		display: none;
	}
}

@media (max-width: 1024px){
	.menudesktop {
		display: none;
	}
	#masthead .menumobile {
		display: flex!important;
		z-index: 9999999999999999 !important;
		position: absolute;
		height: 100%;
		justify-content: center;
		flex-direction: column;
		left: 0;
		width: auto;
	}
}

.post-template-single-nomenu .menudesktop{
	display: none;
}

#menu-item-flag-button li:hover {
	background-color: #FD763F;
}

#menu-item-flag-button a{
	width: 30px;
	height: 20px;
	background: url('/wp-content/themes/maestro-libero/images/spain.svg.png') center/cover;
	margin: 13px 20px;
}
