/*!
Theme Name: Leocrema
Author: Michael
Author URI: https://bebit.it
Description: Leocrema Custom Wordpress Theme
Version: 1.0.0
Requires PHP: 5.6
Text Domain: leocrema-theme
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

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

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	/*line-height: 1.15;*/
	-webkit-text-size-adjust: 100%;
}
/*
:root {
--cream: #FAEAD4;
--blue: #003E7C;
--gray: #434343;
--lightblue: #CCDBEC;
--black: #000000;
--white: #FFFFFF;
}
*/
/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body, .post, .page {
	margin: 0 !important;
}

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

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 4rem;
	color: var(--blue);
	font-weight: 400;
	line-height: 1;
}

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

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

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

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

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

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

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

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

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

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

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

html {
	box-sizing: border-box;
}

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

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: var(--gray);
	font-family: "Comfortaa", sans-serif;
	font-size: 1rem;
	/*line-height: 1.5;*/
}

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

p {
	margin-bottom: 1.5em;
}

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

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

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

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

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

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

big {
	font-size: 125%;
}

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

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

ul,
ol {
	margin: 0;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

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

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

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

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

figure {
	margin: 1em 0;
}

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

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

a:visited {
	color: #800080;
}

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

a:focus {
	outline: thin dotted;
}

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

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

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

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

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

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

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/
.alignfull {
	width: 100%;
	max-width: 100%;
}
.alignwide {
	width: 100%;
    max-width: 1440px;
    margin: auto;
	padding: 0 3rem !important;
}
.alignboxed {
	width: 100%;
    max-width: 1040px;
    margin: auto;
    padding: 0 2rem;	
}


@media screen and (max-width: 767px) {
.alignwide {
    padding: 0 1.5rem !important;
}
.alignboxed {
    padding: 0 1.5rem !important;
}
}

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

/* Navigation
--------------------------------------------- */

/* Header */
header#masthead {
    position: relative;
    z-index: 10;
}
.leocrema_header {
    background: var(--blue);
    display: flex;
    align-items: center;
    padding: 1rem;
    position: relative;
    z-index: 10;
}
div#site-navigation {
    display: flex;
    align-items: center;
    padding-right: 1rem;
}
.leocrema_header_main {
    display: flex;
    width: 100%;
    align-items: center;
}
.leocrema_header_claim {
    flex-grow: 1;
    text-align: center;
    display: flex;
    justify-content: center;
}
.leocrema_header_empty {
    visibility: hidden;
    display: flex;
}
.leocrema_header_logo a {
    display: flex;
}

/* Hamburger Lines */
.hamburger-lines {
    display: block;
    height: 12px;
    width: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hamburger-lines .line {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 0px;
    background: #FFF;
}
.hamburger-lines .line.line1 {
    transform-origin: 0 0;
    transition: all 0.4s ease-in-out;
}
.hamburger-lines .line.line2 {
    transform-origin: 0% 100%;
    transition: all 0.4s ease-in-out;
}
button.menu-toggle.active .hamburger-lines .line.line1 {
    transform: rotate(-45deg);
    transform-origin: 14px 5px;
}
button.menu-toggle.active .hamburger-lines .line.line2 {
    transform: rotate(-45deg);
    transform-origin: 3px 1px;
}
button.menu-toggle {
    position: relative;
    border: 0;
    background: 0;
    text-align: center;
    margin: auto;
    height: auto;
    cursor: pointer;
}

/* MENU */
.positionfixed {
	position: fixed;
	width: 100%;
}
.leocrema_menu {
    display: none;
    height: 100%;
    position: fixed;
    width: 100%;
    background: var(--lightblue);
    z-index: 9;
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.leocrema_menu::-webkit-scrollbar {
  display: none;
}

.leocrema_menu_top {
    position: relative;
    padding: 3rem;
	height: calc(100% - 200px);
    display: flex;
    align-items: center;
    width: 100%;
}
.leocrema_menu_top_sx {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-bottom: 3rem;
}
.leocrema_menu ul {
    list-style: none;
}
.leocrema_menu ul li {
    /*display: inline-block;*/
}
/*.leocrema_menu ul#primary-menu img {
    max-width: 50%;
    position: absolute;
    right: 0;
    top: 0;
}*/
.leocrema_menu .menuimg img {
	position: relative;
    max-height: 80%;
}
/*.leocrema_menu ul#primary-menu .menuimg {
    max-width: 50%;
    position: absolute;
    right: 0;
    top: 0;
    height: calc(100% - 84px);
    display: flex;
    align-items: center;
}*/
.leocrema_menu .menu-menu-principale-container {
    width: 40%;
}
.leocrema_menu ul#primary-menu .menuimg {
    width: 50%;
    position: absolute;
    right: 0;
    top: 0;
    height: calc(100% - 84px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.leocrema_menu li a {
    font-size: 1.4rem;
    color: var(--blue);
    text-decoration: none;
    padding: 0.5rem 0;
    display: inline-block;
    transition: all 0.3s ease-in-out;
    display: inline-block;
	margin: 0.25rem 0;
}
.leocrema_menu li.current_page_item a, .leocrema_menu li:hover a {
    font-size: 2.4rem;
}

.leocrema_menu ul#primary-menu .menuimg_img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: auto;
    pointer-events: none;
    box-shadow: 0px 20px 40px #00000030;
    aspect-ratio: 3 / 2;
    max-width: 720px;
}
.leocrema_menu ul#primary-menu .menuimg {
    opacity: 0;
    pointer-events: none;
    /* transition: opacity 0.3s ease-in-out; */
}
.leocrema_menu ul#primary-menu .current-menu-item .menuimg {
    opacity: 1;
}
.leocrema_menu ul#primary-menu li:hover > a .menuimg, .leocrema_menu ul#primary-menu li:hover > div a .menuimg {
    opacity: 1;
    z-index: 9;
}

.leocrema_menu ul.sub-menu {
    display: none;
}
.leocrema_menu li:hover ul.sub-menu {
    display: block;
}


.leocrema_menu li ul.sub-menu li a {
    font-size: 1.2rem !important;
    background: transparent;
    padding: 0.5rem 2rem;
    border-radius: 20px;
    display: inline-block;
    margin: 0.5rem 0;
    min-width: 12rem;
}
.leocrema_menu li ul.sub-menu li:hover a {
    background: #FFF;
}

/*.leocrema_menu ul.sub-menu li {
    position: relative;
}*/
/*.leocrema_menu ul.sub-menu ul.sub-menu {
    position: relative;
    top: -3.2rem;
    left: 6rem;
    width: auto;
}*/
.leocrema_menu ul.sub-menu ul.sub-menu {
    position: relative;
    top: 0;
    left: 0;
    width: auto;
    display: none;
    /*float: right;*/
}
.leocrema_menu ul li .sub-menu li {
    display: flex;
}
.leocrema_menu li ul.sub-menu ul.sub-menu {
    margin-left: 0;
    padding-left: 0;
}
.leocrema_menu li ul.sub-menu li:hover ul.sub-menu {
    display: block;
}

.leocrema_menu li ul.sub-menu ul.sub-menu li a {
    background: transparent !important;
}






.leocrema_menu ul.sub-menu, .leocrema_menu ul.sub-menu ul.sub-menu {
    max-height: 0;
    transition: all 0.5s ease-in-out;
    opacity: 0;
    height: auto;
    display: block;
}
/*
.leocrema_menu ul.sub-menu li {
	display: none !important;
}
.leocrema_menu li:hover > ul.sub-menu, .leocrema_menu ul.sub-menu li:hover ul.sub-menu {
    max-height: 500px;
    opacity: 1;
}
.leocrema_menu li:hover ul.sub-menu li {
	display: flex !important;
}
*/
.leocrema_menu ul.sub-menu li {
	/*display: none !important;*/
	pointer-events: none;
	display: flex !important;
	max-height: 0;
	opacity: 0;
    height: auto;
    transition: all 2s ease-in-out;
}
.leocrema_menu li:hover > ul.sub-menu, .leocrema_menu ul.sub-menu li:hover ul.sub-menu {
    max-height: 1000px;
    opacity: 1;
}
.leocrema_menu li:hover ul.sub-menu li {
	pointer-events: all;
	display: flex !important;
	max-height: 1000px;
	opacity: 1;
}


.leocrema_menu_bottom {
    display: flex;
    justify-content: space-between;
    padding: 0 3rem 0 6rem;
}
.leocrema_menu .leocrema-privacy-menu li a {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--gray);
}


/* MENU MODS */
/*.leocrema_menu ul#primary-menu .menuimg {
    width: 50%;
    position: fixed;
    right: 3rem;
    top: 4rem;
    height: calc(100% - 84px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
}*/
.leocrema_menu_top_sx {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding-bottom: 3rem;
}
/*.leocrema_menu ul#primary-menu .menuimg {
    width: 50%;
    position: fixed;
    right: 3rem;
    top: 120px;
    height: calc(100% - 84px);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    z-index: 1;
    max-height: 500px;
}*/
.leocrema_menu ul#primary-menu .menuimg {
    width: 50%;
    position: fixed;
    right: 3rem;
    top: 120px;
    height: calc(100% - 240px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 1;
    /* max-height: 500px; */
}
.leocrema_menu li:hover ul.sub-menu li {
    display: flex !important;
    position: relative;
    width: auto;
}
.leocrema_menu li ul.sub-menu li:hover ul.sub-menu {
    display: block;
    position: absolute;
    left: 13rem;
    z-index: 9999;
}
/*.leocrema_menu ul#primary-menu li:hover > a .menuimg, .leocrema_menu ul#primary-menu li:hover > div a .menuimg {
    opacity: 1;
    z-index: 9;
    position: fixed;
    right: 3rem;
    top: 4rem;
}*/
.leocrema_menu ul#primary-menu li:hover > a .menuimg, .leocrema_menu ul#primary-menu li:hover > div a .menuimg {
    opacity: 1;
    z-index: 9;
    position: fixed;
    right: 3rem;
    top: 120px;
}
.leocrema_menu ul.sub-menu ul.sub-menu {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    display: none;
    /* float: right; */
}
.leocrema_menu li.inactive.current_page_item a {
    font-size: 1.4rem;
}
.menuimg_img {
	opacity: 0;
	transition: all 0.3s ease-in-out;
}
.imghide {
	opacity: 0;
	transition: all 0.3s ease-in-out;
}
.imgshow {
	opacity: 1;
	transition: all 0.3s ease-in-out;
}

.leocrema_menu ul#footer-menu-privacy {
    display: flex;
}
.leocrema_menu ul#footer-menu-privacy li {
    padding-left: 10px;
}


/* Search Box */
.leocrema-search-filter {
    width: 100%;
    max-width: 30rem;
}
form.search-form {
    position: relative;
    display: flex;
    align-items: center;
}
.search-form label {
    width: 100%;
}
input.search-field {
    border: 0;
    border-radius: 20px;
    padding: 10px 30px;
    width: 100%;
    outline: none;
    color: var(--blue);
}
input.search-submit {
    position: absolute;
    right: 0;
    border: 0;
    background: transparent;
}
.search-form label:after {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/uploads/2024/03/search.svg');
    position: absolute;
    display: block;
    right: 20px;
    top: 10px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}
input.search-submit {
    opacity: 0;
    cursor: pointer;
}
input.search-field::-webkit-search-cancel-button {
    display: none;
}
input.search-field::placeholder {
    text-transform: uppercase;
    color: var(--blue);
}

/* Search Results */
.search-results .hp-products {
    grid-row-gap: 120px;
    row-gap: 120px;
    margin-bottom: 6rem;
}

.hp-products.leonoresults {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 6rem;
}
.no-results input.search-field {
    border: 1px solid var(--blue);
}



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

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}



/*** HEADER + MENU RESPONSIVE ***/

@media screen and (max-width: 991px) {
.leocrema_header_empty {
    visibility: hidden;
    display: flex;
    display: none;
}
.leocrema_header_claim {
    flex-grow: 1;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}
}

@media screen and (max-width: 767px) {
.leocrema_header_main {
    display: flex;
    width: 100%;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}
.leocrema_header_logo, .leocrema_header_claim {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
}
.leocrema_header_logo img, .leocrema_header_claim img {
    max-width: 180px;
}
.leocrema_header_logo {
    padding-bottom: 8px;
}
div#site-navigation {
    position: absolute;
}
}

.leocrema_menu_top {
    overflow: hidden;
}
.leocrema_menu_top_sx {
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/*** MENU RESPONSIVE ***/
@media screen and (max-width: 1139px) {

.leocrema_menu .menu-menu-principale-container {
    width: 50%;
}
.leocrema_menu ul#primary-menu .menuimg {
    width: 40%;
}

}


@media screen and (max-width: 991px) {

.leocrema_menu .menu-menu-principale-container {
    width: 100%;
}
.leocrema_menu_top_sx ul#primary-menu {
    padding-left: 1rem;
}
.leocrema_menu_top {
    position: relative;
    padding: 3rem 1.5rem;
    height: calc(100% - 160px);
    display: flex;
    align-items: flex-start;
    width: 100%;
}
.leocrema_menu_top_sx {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    padding-bottom: 3rem;
    padding-top: 310px;
}
.leocrema_menu ul#primary-menu .menuimg {
    width: 100%;
    position: fixed;
    right: unset;
    top: 120px;
    height: 100%;
    display: flex;
    align-items: baseline;
    justify-content: flex-start;
    z-index: 1;
    /* max-height: 10rem; */
    left: 1.5rem;
    max-width: calc(100% - 3rem);
}
.leocrema_menu ul#primary-menu li:hover > a .menuimg, .leocrema_menu ul#primary-menu li:hover > div a .menuimg {
    opacity: 1;
    z-index: 9;
    position: fixed;
    right: unset;
    top: 120px;
}
.leocrema_menu ul#primary-menu .menuimg_img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: auto;
    pointer-events: none;
    box-shadow: 0px 20px 40px #00000030;
    aspect-ratio: 3 / 2;
    max-width: 50%;
    max-height: 300px;
}

}


@media screen and (max-width: 767px) {

.leocrema_menu ul#primary-menu .menuimg_img {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: auto;
    pointer-events: none;
    box-shadow: 0px 20px 40px #00000030;
    aspect-ratio: 3 / 2;
    max-width: 100%;
    max-height: 300px;
}

.leocrema_menu li:hover > ul.sub-menu, .leocrema_menu ul.sub-menu li:hover ul.sub-menu {
    padding-left: 0;
}
.leocrema_menu li:hover ul.sub-menu li {
    display: block !important;
    position: relative;
    width: auto;
}

.leocrema_menu li ul.sub-menu li:hover ul.sub-menu {
    display: block;
    position: relative;
    padding-left: 2rem;
    left: unset;
    z-index: 0;
}


.leocrema_menu_bottom {
    display: block;
    justify-content: space-between;
    padding: 0 3rem;
    overflow-y: scroll;
    padding-bottom: 6rem;
    text-align: center;
}



}


/*** FOOTER ***/
.footer-top-cont, .footer-bottom-cont {
    text-align: center;
    padding: 3rem !important;
}
.ft-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    padding: 1rem 0 0 0;
}
.ft-social-icon {
    margin: 0 1rem;
}
.footer_bianco {
	background-color: var(--white);
}
.footer_crema {
	background-color: var(--cream);
}
.footer-bottom-row {
    background-color: var(--blue);
    color: var(--white);
}
.footer-bottom-row a {
    color: var(--white);
    text-decoration: none !important;
}
.footer-bottom-cont ul {
    padding: 1rem 0 !important;
    list-style: none !important;
    margin: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 15px;
}
.footer-bottom-cont ul li.footer-email {
    width: 100%;
}
.footer-bottom-cont ul li {
    padding: 0 1rem;
    text-transform: uppercase;
    font-weight: 300;
}
.footer-bottom-cont .menu-menu-privacy-container {
    font-size: 0.75rem;
}
.footer-bottom-cont .menu-menu-principale-container {
    padding-bottom: 3rem;
}
.footer-bottom-cont .menu-menu-principale-container:after {
    content: '';
    width: 38px;
    height: 2px;
    background: #FFF;
    display: block;
    margin: auto;
    margin-top: 0.5rem;
}
.footer-copyright {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 0.6rem;
    letter-spacing: normal;
}
.footer-bottom-cont span.menuimg {
    display: none;
}
.footer_consigli_off.alignwide {
    border-top: 1px solid var(--blue);
    margin-top: 3rem;
}

/* Footer Consigli Slider */
.footer_consigli_row.alignfull {
    display: flex;
    background: var(--cream);
    position: relative;
}
.single-prodotti .footer_consigli_row.alignfull {
    margin-top: -6rem;
}
.swiper.consigli_slider_row {
    position: relative;
}
.footer_consigli_sx {
    min-width: 30%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.footer_consigli_dx {
    max-width: 1200px;
    width: 70%;
    padding: 3rem 0 3rem 4rem;
}
h2.footer_consigli_tit {
    text-align: center;
    color: var(--blue);
    font-size: 2.2rem;
    font-weight: 400;
    margin: 0;
    padding: 0 0 2rem 0;
}

.swiper-prev.swiper-consigli-prev {
    /* position: absolute; */
    /* left: 25%; */
    bottom: 0;
    display: block;
    z-index: 99999;
    background: url(/wp-content/uploads/2024/03/slider_arrow.svg);
    width: 24px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    transform: rotate(180deg);
    background-position: center;
}
.swiper-next.swiper-consigli-next {
    /* position: absolute; */
    /* left: 25%; */
    bottom: 0;
    display: block;
    z-index: 99999;
    background: url(/wp-content/uploads/2024/03/slider_arrow.svg);
    width: 24px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    background-position: center;
}
.swiper-consigli-pagination {
    position: relative !important;
    width: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin-top: -2px;
    padding: 0 1.5rem;
}
.slider_nav.slider_consigli_nav {
    padding-top: 3rem;
    justify-content: flex-start;
}
.slider_nav.slider_consigli_nav .swiper-button-disabled {
    opacity: 0.5;
    cursor: default;
}



.consigli-slide-hidden {
    visibility: hidden;
    pointer-events: none;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

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

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

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

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

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

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

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

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

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

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

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

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

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

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



/*--------------------------------------------------------------
# Animations
--------------------------------------------------------------*/

.in-view, .imgshow {
  -ms-animation-duration: 1s; 
  -ms-animation-timing-function: ease-out; 
  -ms-animation-delay: 0;
  -ms-animation-direction: alternate;
  -ms-animation-iteration-count: 1;
  -ms-animation-fill-mode: none;
  -ms-animation-play-state: running;

  -webkit-animation-duration: 1s; 
  -webkit-animation-timing-function: ease-out; 
  -webkit-animation-delay: 0;
  -webkit-animation-direction: alternate;
  -webkit-animation-iteration-count: 1;
  -webkit-animation-fill-mode: none;
  -webkit-animation-play-state: running;

  -moz-animation-duration: 1s; 
  -moz-animation-timing-function: ease-out; 
  -moz-animation-delay: 0;
  -moz-animation-direction: alternate;
  -moz-animation-iteration-count: 1;
  -moz-animation-fill-mode: none;
  -moz-animation-play-state: running;

  -o-animation-duration: 1s; 
  -o-animation-timing-function: ease-out; 
  -o-animation-delay: 0;
  -o-animation-direction: alternate;
  -o-animation-iteration-count: 1;
  -o-animation-fill-mode: none;
  -o-animation-play-state: running;

  animation-duration: 1s; 
  animation-timing-function: ease-out; 
  animation-delay: 0;
  animation-direction: alternate;
  animation-iteration-count: 1;
  animation-fill-mode: none;
  animation-play-state: running;
}

/* FADE IN */
@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.animation-element.in-view.fadein, .imgshow {
    -ms-animation-name: fadein;
    -webkit-animation-name: fadein;
    -moz-animation-name: fadein;
    -o-animation-name: fadein;
    animation-name: fadein;
  visibility: visible;
}


/* BOTTOM UP */
@keyframes bottomup {
  0% {
    opacity: 0;
    /*transform-origin: right 50% 0px;*/
    -ms-transform: translate(0px, 100px); /* IE 9 */
    -webkit-transform: translate(0px, 100px); /* Safari */
    -moz-transform: translate(0px, 100px);
    -o-transform: translate(0px, 100px);
    transform: translate(0px, 100px);
  }
  100% {
    opacity: 1;
    -ms-transform: translate(0px, 0px); /* IE 9 */
    -webkit-transform: translate(0px, 0px); /* Safari */
    -moz-transform: translate(0px, 0px);
    -o-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
  }
}

.animation-element.in-view.bottomup {
    -ms-animation-name: bottomup;
    -webkit-animation-name: bottomup;
    -moz-animation-name: bottomup;
    -o-animation-name: bottomup;
    animation-name: bottomup;
  visibility: visible;
}

/* LEFT RIGHT */
@keyframes leftright {
  0% {
    opacity: 0;
    /*transform-origin: right 50% 0px;*/
    -ms-transform: translate(-100px, 0px); /* IE 9 */
    -webkit-transform: translate(-100px, 0px); /* Safari */
    -moz-transform: translate(-100px, 0px);
    -o-transform: translate(-100px, 0px);
    transform: translate(-100px, 0px);
  }
  100% {
    opacity: 1;
    -ms-transform: translate(0px, 0px); /* IE 9 */
    -webkit-transform: translate(0px, 0px); /* Safari */
    -moz-transform: translate(0px, 0px);
    -o-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
  }
}

.animation-element.in-view.leftright {
    -ms-animation-name: leftright;
    -webkit-animation-name: leftright;
    -moz-animation-name: leftright;
    -o-animation-name: leftright;
    animation-name: leftright;
  visibility: visible;
}

/* RIGHT LEFT */
@keyframes rightleft {
  0% {
    opacity: 0;
    /*transform-origin: right 50% 0px;*/
    -ms-transform: translate(100px, 0px); /* IE 9 */
    -webkit-transform: translate(1000px, 0px); /* Safari */
    -moz-transform: translate(100px, 0px);
    -o-transform: translate(100px, 0px);
    transform: translate(100px, 0px);
  }
  100% {
    opacity: 1;
    -ms-transform: translate(0px, 0px); /* IE 9 */
    -webkit-transform: translate(0px, 0px); /* Safari */
    -moz-transform: translate(0px, 0px);
    -o-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
  }
}

.animation-element.in-view.rightleft {
    -ms-animation-name: rightleft;
    -webkit-animation-name: rightleft;
    -moz-animation-name: rightleft;
    -o-animation-name: rightleft;
    animation-name: rightleft;
  visibility: visible;
}


/*--------------------------------------------------------------
# PRODOTTI
--------------------------------------------------------------*/

/* Single Prodotti */
.prod_hero_cont {
    display: flex;
    padding-top: 2rem !important;
}
.prod_hero_sx, .prod_hero_dx {
    width: 50%;
}
.prod_hero_sx {
    text-align: center;
}
.prod_hero_sx img {
    max-width: 450px;
    position: relative;
    z-index: 9;
}

h1.prod-hero-tit {
    font-size: 1.9rem;
    font-weight: 300;
    line-height: 1.3;
    padding: 2rem 0 1rem 0;
}
h1.prod-hero-tit, h1.prod-hero-tit p {
    margin: 0 !important;
}
h1.prod-hero-tit strong {
    font-size: 4rem;
    text-transform: uppercase;
    font-weight: 300;
}
.prod-hero-info {
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.5;
    text-transform: uppercase;
}
.prod-hero-desc {
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.5;
}
.prod_hero_formati {
    display: flex;
    align-items: baseline;
    padding: 1.5rem 0 2rem 0;
}
.prod_hero_formato {
    display: flex;
    align-items: center;
    padding-right: 1.5rem;
}
.prod_hero_formato-img {
    max-width: 60px;
    z-index: 1;
}
.prod_hero_formato-txt {
    background-color: #F9E791;
    padding: 0.7rem 2.3rem;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 300;
    margin-left: -32px;
}

.prod_content {
    top: -5rem;
    position: relative;
    background: #FFF;
    padding: 5rem 0 3.5rem 0;
}
.prod_breadcrumbs {
    display: flex;
    flex-wrap: wrap;
}
.prod_breadcrumb {
    margin-bottom: 0.2rem;
}
.prod_breadcrumbs p {
    margin: 0;
}
.prod_breadcrumbs br {
    display: none;
}
.prod_breadcrumb:after {
    content: '>';
    padding: 0 1rem;
}
.prod_breadcrumb:last-of-type::after {
    display: none;
}
.prod_breadcrumb, .prod_breadcrumb a, .prod_breadcrumb strong {
    color: var(--gray);
    font-size: 0.75rem;
    font-weight: 300;
}

/* ACCORDION */
.prod_add_info {
    position: relative;
    display: flex;
    gap: 2rem;
}
.prod_add_info_acc {
    width: 50%;
    cursor: pointer;
    border-bottom: 1px solid;
    padding-bottom: 1rem;
    padding-right: 2rem;
}
.prod_add_info_toggle {
    display: none;
    position: absolute;
    top: 2.52rem;
    z-index: 10;
    width: 100%;
    border: 1px solid var(--lightblue);
    box-shadow: 5px 5px 10px 2px #33333320;
}
.prod_add_info_cont {
    display: flex;
    background: var(--white);
    padding: 2rem;
    width: 100%;
}
.prod_add_info_cont_mat {
    background: var(--white);
    padding: 2rem;
    width: 100%;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    place-items: start center;
}
.prod_add_info_smalt_cod img {
    max-width: 70px;
}
.prod_add_info_smalt {
    text-align: center;
}
.prod_add_info_tit {
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease-in-out;
}
/*.prod_add_info_tit:after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background-image: url('/wp-content/uploads/2024/03/arrow_dn.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: all 0.3s ease-in-out;
}*/
/*.active .prod_add_info_tit:after {
    transform: rotate(180deg);
}*/
.prod_add_info_ingr_txt, .prod_add_info_ingr_txt p {
    line-height: 1.5;
    font-size: 0.8rem;
}
.prod_add_info_tit svg {
	transition: all 0.3s ease-in-out;
}
.active .prod_add_info_tit svg {
    transform: rotate(180deg);
    fill: var(--blue);
}
.active .prod_add_info_tit {
    color: var(--blue);
    font-weight: 900;
}

.prod_add_info_smalt_tit {
    font-weight: 900;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.prod_add_info_smalt_cod {
    text-transform: uppercase;
    font-size: 0.8rem;
    padding: 0.3rem 0;
}
.prod_add_info_smalt_mat {
    font-size: 0.8rem;
}


.prod-mobile {
	display: none;
}



/*** TEXT SCROLL ***/
.single-prodotti .testo-img-prod .testo-img-col-txt {
    overflow-y: scroll;
    scrollbar-color: var(--blue) transparent;
    scrollbar-width: thin;
    padding-bottom: 0;
    padding-top: 0.5rem;
}
.single-prodotti .testo-img-prod .testo-img-col-txt {
  overflow-y: scroll;
  max-height: unset; /* Set a maximum height for the scrollable element */
   }

/* Custom scrollbar styling for Firefox */
.single-prodotti .testo-img-prod .testo-img-col-txt {   
  scrollbar-color: var(--blue) transparent;
  scrollbar-width: thin;
}

/* Styling the scrollbar in Chrome and Safari */
.single-prodotti .testo-img-prod .testo-img-col-txt::-webkit-scrollbar {
  width: 5px;
}

.single-prodotti .testo-img-prod .testo-img-col-txt::-webkit-scrollbar-thumb {
  background-color: var(--blue); /* Set thumb color for Chrome and Safari */
  border-radius: 4px;
}

.single-prodotti .testo-img-prod .testo-img-col-txt::-webkit-scrollbar-track {
  background-color: var(--white); /* Set track color for Chrome and Safari */
}
@media screen and (max-width: 767px) {
.single-prodotti .testo-img-prod .testo-img-col-txt {
  padding-right: 2rem;
}


.single-prodotti .testo-img-prod .testo-img-cols {
    flex-wrap: wrap;
    padding: 0 0 3rem 0;
}
.single-prodotti .testo-img-prod .testo-img-cols.testo-img-cols-invert {
    flex-direction: row-reverse;
    padding: 0 0 0rem 0;
    padding-bottom: 3rem;
}
.single-prodotti .testo-img-prod .testo-img-col-img {
    padding: 0 0 3rem 0;
}

.single-prodotti .testo-img-prod .testo-img-col-img .testo-img-img {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.single-prodotti .testo-img-prod .testo-img-col-img .testo-img-img img {
    max-width: unset;
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
}
}

@media screen and (max-width: 1199px) {
	.prod_hero_formato-txt {
    padding: 0.7rem 1rem 0.7rem 1.5rem;
}
}

@media screen and (max-width: 991px) {
	h1.prod-hero-tit {
    font-size: 1.6rem;
}
	h1.prod-hero-tit strong {
    font-size: 3rem;
}
.prod_add_info {
    flex-wrap: wrap;
	padding-bottom: 4rem;
}
.prod_add_info_acc {
    border-bottom: 1px solid;
    padding-bottom: 0.5rem;
    padding-right: 1rem;
    width: 100%;
}
.prod_add_info_toggle {
    top: 2rem;
}
.prod_add_info_toggle.prod_add_info_toggle_smalt {
    top: 6rem;
}
.prod_hero_formato-txt {
    padding: 0.7rem 1rem 0.7rem 1.5rem;
    font-size: 0.85rem;
}
.prod_hero_sx img {
    max-width: 320px;
    position: relative;
    z-index: 9;
}
.prod_hero_sx {
    width: 40%;
}
.prod_hero_dx {
    width: 60%;
}
.prod_content {
    top: 0;
}
}

@media screen and (max-width: 767px) {
.prod_hero_sx {
	display: none;
}
.prod_hero_dx {
    width: 100%;
}
.prod-mobile {
	display: block;
}
}





/*--------------------------------------------------------------
# PAGE MODULES
--------------------------------------------------------------*/

/* HP Hero Slider
--------------------------------------------- */
.hp_hero.alignfull {
	padding: 0 3rem !important;
}
.hp-hero-slide {
    display: flex !important;
    align-items: center;
    padding: 3rem 0;
}
.hp-hero-slide .hp-hero-slide-sx {
    width: 35%;
    line-height: 0;
    padding: 2rem;
}
.hp-hero-slide .hp-hero-slide-dx {
    width: 65%;
    position: relative;
    line-height: 0;
}
.hp-hero-slide-dx:before {
    box-shadow: 40px 10px 30px #00000030;
    content: '';
    position: absolute;
    bottom: 0;
    width: 90%;
    height: 100px;
    display: block;
    left: 0;
    z-index: -1;
}
.hp-hero-slide-txt {
	padding-bottom: 2rem;
}
.hp-hero-slide-txt, .hp-hero-slide-txt p {
    font-size: 1.25rem;
    line-height: 1.2;
    max-width: 300px;
    font-weight: 300;
}
.hp-hero-slide-txt strong {
    font-weight: 700;
}
a.hp-hero-slide-cta {
    background: var(--white);
    padding: 0.8rem 3rem 0.7rem 3rem;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    color: var(--blue);
    font-weight: 700;
    transition: all 0.3s ease-in-out;
}
a.hp-hero-slide-cta:hover {
    background: var(--blue);
    color: var(--white);
}
.slider_nav {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: center;
}
.swiper-prev.swiper-hphero-prev {
    /*position: absolute;*/
    /* left: 25%; */
    bottom: 0;
    display: block;
    z-index: 99999;
    background: url(/wp-content/uploads/2024/03/slider_arrow.svg);
    width: 24px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    transform: rotate(180deg);
    background-position: center;
}
.swiper-next.swiper-hphero-next {
    /*position: absolute;*/
    /* left: 25%; */
    bottom: 0;
    display: block;
    z-index: 99999;
    background: url(/wp-content/uploads/2024/03/slider_arrow.svg);
    width: 24px;
    height: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    background-position: center;
}
.swiper-hphero-pagination {
    position: relative !important;
    width: auto !important;
    left: auto !important;
    top: auto !important;
    bottom: auto !important;
    margin-top: -2px;
    padding: 0 1.5rem;
}
.swiper-pagination-bullet {
    background: var(--blue) !important;
}
.swiper-button-lock {
    display: none !important;
}

/* HP Hero Products
--------------------------------------------- */
/*.hp-products {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 15px;
    padding-top: 4rem !important;
}

.hp-products-cont {
    text-align: center;
    transition: all 0.5s ease-in-out;
}
.hp-products-cont:hover {
    margin-top: -3rem;
    cursor: pointer;
}
*/

/* MOD */
.hp-products {
    margin-top: 15px;
    /*padding-top: 4rem !important;*/
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.hp-products-cont {
    text-align: center;
    transition: all 0.5s ease-in-out;
    flex: 0 0 calc(25% - 15px);
    margin-top: 50px;
    position: relative;
}
.hp-products-cont:hover {
    margin-top: 0rem;
    cursor: pointer;
}

.prod_novita {
    position: absolute;
    background-color: #F9E791;
    padding: 0.7rem 1.8rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: -32px;
    /*z-index: 9;*/
    bottom: 120px;
    left: 50px;
}
@media screen and (max-width: 991px) {
.prod_novita {
    bottom: 50px;
}	
}
.archive .prod_novita, .search .prod_novita {
    bottom: 50px;
}
/*
.prod_novita {
    position: absolute;
    background-color: #F9E791;
    padding: 1rem;
    border-radius: 100%;
    font-size: 0.85rem;
    font-weight: 300;
    margin-left: -32px;
    bottom: 120px;
    left: 50px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    font-weight: 600;
}
*/
/* END MOD */

.hp-product-tit p {
    margin: 0;
}
.hp-product-tit {
    font-weight: 700;
    line-height: 1.6;
    font-size: 0.8rem;
}
.hp-product-tit strong {
    font-weight: 400;
    text-transform: uppercase;
}
.hp-product-color_line {
    width: 38px;
    height: 2px;
    position: relative;
    margin: 12px auto 15px auto;
}
.hp-product-color_dot {
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 100%;
    margin: auto;
}
h2.hp-products-tit, h2.hp-products-tit p {
    text-align: center;
    color: var(--blue);
    font-size: 2.2rem;
    font-weight: 400;
    margin: 0;
}
.hp-products-txt, .hp-products-txt p {
    font-weight: 300;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.5;
}
.hp-products-txt strong {
    font-weight: 700;
}
.hp-products_main {
    padding-top: 4rem;
}
.hp-products-cont a {
    text-decoration: none !important;
    color: unset !important;
}



/* Testo + Immagine
--------------------------------------------- */

.testo-img {
    margin-top: -6rem;
	position: relative;
}
.testo-img ~ .testo-img {
    margin-top: 0;
}

.testo-img-cols {
    display: flex;
    align-items: center;
}
.testo-img-col-img {
    width: 45%;
    padding: 2rem;
}
.testo-img-col-txt {
    width: 55%;
    padding: 2rem;
}
.testo-img-box.alignfull .testo-img-col-img, .testo-img-box.alignfull .testo-img-col-txt {
    padding: 0;
    width: 50%;
}
.testo-img-box.alignfull .testo-img-col-txt {
    padding-top: 4rem;
    padding-bottom: 2rem;
}
.testo-img-box.alignwide .testo-img-col-img {
    padding: 4rem 2rem;
}
.testo-img-img {
    text-align: center;
    line-height: 0;
    width: 100%;
}
h2.testo-img-col-tit, h2.testo-img-col-tit p {
    color: var(--blue);
    font-size: 2.2rem;
    font-weight: 400;
    margin: 0;
}
.testo-img-col-testo, .testo-img-col-testo p {
    font-weight: 300;
    font-size: 0.95rem;
    line-height: 1.5;
}
h3.testo-img-col-subtit, h3.testo-img-col-subtit p {
    color: var(--blue);
    font-weight: 900;
    margin-bottom: 0;
    margin-top: 0;
    font-size: 1rem;
    line-height: 1.5;
}
h2.testo-img-col-tit.prod-txt-maintit {
    text-transform: uppercase;
    padding-bottom: 2rem;
}
.single-prodotti .testo-img-prod .testo-img-col-testo {
    padding: 1rem 0 0rem 0;
    display: block;
    position: relative;
}
.single-prodotti .testo-img-col-testo p:last-of-type {
	margin-bottom: 0 !important;
}
.single-prodotti h3.testo-img-col-tit, .single-prodotti h3.testo-img-col-tit p {
    margin-bottom: 0 !important;
    color: var(--blue);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
}
.testo-img-col-testo {
    padding: 2rem 0 2.5rem 0;
    display: block;
    position: relative;
}
.testo-img-col-testo:before {
    content: '';
    width: 38px;
    height: 2px;
    display: block;
    background: var(--blue);
    margin-bottom: 1.2rem;
    position: relative;
}
.bg_bianco a.testo-img-col-txt-cta {
    background: var(--lightblue);
    padding: 0.8rem 3rem 0.7rem 3rem;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    color: var(--blue);
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease-in-out;
}
.bg_bianco a.testo-img-col-txt-cta:hover {
    background: var(--blue);
    color: var(--white);
}
.bg_celeste a.testo-img-col-txt-cta {
    background: var(--white);
    padding: 0.8rem 3rem 0.7rem 3rem;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    color: var(--blue);
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease-in-out;
}
.bg_celeste a.testo-img-col-txt-cta:hover {
    background: var(--blue);
    color: var(--white);
}
.testo-img-cols.testo-img-cols-invert {
    flex-direction: row-reverse;
}
.testo-img-box.alignfull .testo-img-cols-normal .testo-img-col-txt {
    padding-left: 8rem !important;
}
.testo-img-box.alignfull .testo-img-cols-invert .testo-img-col-txt {
    padding-right: 4rem !important;
}
.testo-img-box.alignfull .testo-img-cols-invert .testo-img-col-tit, .testo-img-box.alignfull .testo-img-cols-invert .testo-img-col-testo {
    max-width: 400px;
}
.bg_celeste {
	background: var(--lightblue);
}
.bg_bianco {
	background: var(--white);
}
.cta-img-row {
    position: relative;
    width: auto;
    display: inline-block;
}
.cta-img-row-img {
	text-align: center;
}
.cta-img-row-img img {
    max-width: 150px;
    margin: auto;
}
.cta-img-row a.testo-img-col-txt-cta {
    top: -28px;
}
.testo-img-box.alignfull .testo-img-col-img {
    align-self: stretch;
    display: flex;
    align-items: stretch;
}
.testo-img-box.alignfull .testo-img-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
@media screen and (max-width: 1480px) {
	.testo-img-box.alignfull .testo-img-cols-normal .testo-img-col-txt {
    padding-left: 8rem !important;
    padding-right: 5rem !important;
}
.testo-img-box.alignfull .testo-img-cols-invert .testo-img-col-txt {
    padding-right: 4rem !important;
    padding-left: 5rem !important;
}
}

/* PARAGRAFO TESTO
--------------------------------------------- */

.testo-only {
    width: 100%;
    padding: 2rem 0;
}
.testo-only.txtalignleft {
	text-align: left;
}
.testo-only.txtaligncenter {
    text-align: center;
    max-width: 60rem;
    margin: auto;
}
.testo-only.txtalignright {
	text-align: right;
}


.testo-only.txtalignleft .testo-img-col-testo:before {
    margin-left: 0;
}
.testo-only.txtaligncenter .testo-img-col-testo:before {
    margin-left: auto;
    margin-right: auto;
}
.testo-only.txtalignright .testo-img-col-testo:before {
    margin-left: auto;
}
.testo-only.no-title .testo-img-col-testo:before {
	display: none;
}


@media screen and (max-width: 767px) {
.testo-only.txtaligncenter {
    text-align: left;
    max-width: 100%;
}
}



/* PAGE HEADER
--------------------------------------------- */
.page_header_top .alignwide {
    display: flex;
    padding: 6rem 3rem !important;
}
.page_header_sx {
    width: 45%;
}
.page_header_dx {
    width: 55%;
    position: relative;
}
.page_header_dx img {
    position: absolute;
    width: 100%;
    right: 0;
    top: -3rem;
    max-width: 40rem;
    box-shadow: 0px 30px 40px #00000020;
    z-index: 1;
}
.page_header h1.hp-hero-slide-tit {
    color: var(--blue);
    font-size: 4.2rem;
    font-weight: 400;
    margin: 0;
    text-transform: uppercase;
    max-width: 28rem;
}
.page_header_bottom {
    padding-bottom: 12rem;
    padding-top: 1rem;
}

@media screen and (max-width: 1239px) {

.page_header_sx {
    width: 55%;
}
.page_header_dx {
    width: 45%;
    position: relative;
}
.page_header_dx img {
    top: 0;
}

}

@media screen and (max-width: 991px) {

.page_header h1.hp-hero-slide-tit {
    font-size: 3.2rem;
}
.page_header_top .alignwide {
    display: flex;
    padding: 4rem 3rem !important;
}

}


@media screen and (max-width: 767px) {

.page_header h1.hp-hero-slide-tit {
    font-size: 2.8rem;
    font-weight: 400;
    padding: 2rem 0;
    max-width: 100%;
    text-align: center;
}
.page_header_top .alignwide {
    display: flex;
    padding: 3rem 1.5rem !important;
    flex-wrap: wrap;
}
.page_header_sx {
    width: 100%;
    position: relative;
    display: block;
    padding-bottom: 2rem;
}
.page_header_dx {
    width: 100%;
    position: relative;
}
.page_header_dx img {
    position: relative;
    width: 100%;
    right: unset;
    top: unset;
    max-width: 100%;
    box-shadow: 0px 30px 40px #00000020;
    z-index: 1;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}
.page_header_bottom {
    padding-bottom: 1rem;
    padding-top: 1rem;
    background: #FFF;
    position: relative;
    margin-top: -60%;
}
.page_header_bottom.page_header_noimg {
    background: transparent;
}
.page_header_bottom .alignwide {
    position: relative;
    height: 100%;
    padding-top: 60% !important;
    display: block;
}

}



/* FAQ ACCORDION
--------------------------------------------- */

.faq_accordion.alignfull {
    padding: 3rem 0;
}

h1.faq-tit {
    text-align: center;
    color: var(--blue);
    font-size: 2.2rem;
    font-weight: 300;
    margin: 0;
}
.faq_assistenza {
    text-align: center;
    padding: 5rem 0;
}
.faq_assistenza a {
    font-size: 1.1rem;
    color: var(--blue) !important;
    font-weight: 700;
}

/* BOOTSTRAP */
.faq_row .card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  border-bottom: 1px solid var(--blue);
}

.faq_row .card > hr {
  margin-right: 0;
  margin-left: 0;
}

.faq_row .card > .list-group {
  border-top: inherit;
  border-bottom: inherit;
}

.faq_row .card > .list-group:first-child {
  border-top-width: 0;
}

.faq_row .card > .list-group:last-child {
  border-bottom-width: 0;
}

.faq_row .card > .card-header + .list-group,
.faq_row .card > .list-group + .card-footer {
  border-top: 0;
}

.faq_row .card-body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 0;
    font-size: 0.9rem;
    letter-spacing: 0;
    line-height: 1.5rem;
    font-weight: 300;
}
.faq_row .card-body p {
    margin-bottom: 2.5rem;
}
.faq_row .card-title {
  margin-bottom: 0.75rem;
}

.faq_row .card-subtitle {
  margin-top: -0.375rem;
  margin-bottom: 0;
}

.faq_row .card-text:last-child {
  margin-bottom: 0;
}

.faq_row .card-link:hover {
  text-decoration: none;
}

.faq_row .card-link + .card-link {
  margin-left: 1.25rem;
}

.faq_row .card-header {
  padding: 0.75rem 1.25rem;
  margin-bottom: 0;
}

.faq_row .card-header:first-child {
}

.faq_row .card-footer {
  padding: 0.75rem 1.25rem;
}

.faq_row .card-footer:last-child {
}

.faq_row .card-header-tabs {
  margin-right: -0.625rem;
  margin-bottom: -0.75rem;
  margin-left: -0.625rem;
  border-bottom: 0;
}

.faq_row .card-header-pills {
  margin-right: -0.625rem;
  margin-left: -0.625rem;
}

.faq_row .card-img-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 1.25rem;
}

.faq_row .card-img,
.faq_row .card-img-top,
.faq_row .card-img-bottom {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 100%;
}

.faq_row .card-img,
.faq_row .card-img-top {
}

.faq_row .card-img,
.faq_row .card-img-bottom {
}

.faq_row .card-deck .card {
  margin-bottom: 15px;
}

@media (min-width: 576px) {
  .faq_row .card-deck {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    margin-right: -15px;
    margin-left: -15px;
  }
  .faq_row .card-deck .card {
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    margin-right: 15px;
    margin-bottom: 0;
    margin-left: 15px;
  }
}

.faq_row .card-group > .card {
  margin-bottom: 15px;
}

@media (min-width: 576px) {
  .faq_row .card-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
  }
  .faq_row .card-group > .card {
    -ms-flex: 1 0 0%;
    flex: 1 0 0%;
    margin-bottom: 0;
  }
  .faq_row .card-group > .card + .card {
    margin-left: 0;
    border-left: 0;
  }
  .faq_row .card-group > .card:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .faq_row .card-group > .card:not(:last-child) .card-img-top,
  .faq_row .card-group > .card:not(:last-child) .card-header {
    border-top-right-radius: 0;
  }
  .faq_row .card-group > .card:not(:last-child) .card-img-bottom,
  .faq_row .card-group > .card:not(:last-child) .card-footer {
    border-bottom-right-radius: 0;
  }
  .faq_row .card-group > .card:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  .faq_row .card-group > .card:not(:first-child) .card-img-top,
  .faq_row .card-group > .card:not(:first-child) .card-header {
    border-top-left-radius: 0;
  }
  .faq_row .card-group > .card:not(:first-child) .card-img-bottom,
  .faq_row .card-group > .card:not(:first-child) .card-footer {
    border-bottom-left-radius: 0;
  }
}

.faq_row .card-columns .card {
  margin-bottom: 0.75rem;
}

@media (min-width: 576px) {
  .faq_row .card-columns {
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 1.25rem;
    -moz-column-gap: 1.25rem;
    column-gap: 1.25rem;
    orphans: 1;
    widows: 1;
  }
  .faq_row .card-columns .card {
    display: inline-block;
    width: 100%;
  }
}

.faq_row .faq {
  overflow-anchor: none;
}

.faq_row .faq > .card {
  overflow: hidden;
}

.faq_row .faq > .card:not(:last-of-type) {
  border-bottom: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.faq_row .faq > .card:not(:first-of-type) {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.faq_row .faq > .card > .card-header {
  border-radius: 0;
  margin-bottom: -1px;
}

.faq_row .collapse:not(.show) {
  display: none;
}

.faq_row .collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
  .faq_row .collapsing {
    transition: none;
  }
}
.faq_row .card button {
    background: transparent !important;
    font-size: 2.1rem;
    color: var(--blue);
    white-space: pre-wrap !important;
    text-align: left !important;
    line-height: 0;
    padding: 2rem 0;
    /*text-transform: none;*/
}
.faq_row .card button p {
    line-height: 1.1;
}
.faq_row .card button:hover, .faq_row .card button:focus {
    color: var(--blue);
    text-decoration: none;
}
.faq_row .card h5.mb-0 {
    margin: 0 !important;
    font-size: unset;
}
.faq_row .card .card-header {
    padding: 0rem;
    margin-bottom: 0;
    background-color: transparent;
}
.faq_row .card .card-header button {
    padding: 2.5rem 0 2.5rem 0;
}
.faq_row .card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: transparent;
    background-clip: border-box;
    border-radius: 0;
    border-bottom: 2px solid var(--blue) !important;
}
.faq_row .card:last-of-type {
    border-bottom: 0px solid var(--blue);
  }
.faq_row .card button p {
    margin-bottom: 0 !important;
    margin-left: 3.5rem;
}
.faq_row .card button[aria-expanded="true"]:before {
    content: '-';
    display: inline-block;
    margin-right: 2rem;
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    color: #009fe3;
    font-weight: 300;
    position: absolute;
    top: 3.2rem;
}
.faq_row .card button[aria-expanded="false"]:before {
    content: '+';
    display: inline-block;
    margin-right: 2rem;
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    color: #009fe3;
    font-weight: 300;
    position: absolute;
    top: 3.2rem;
}


/* MODS */
.faq_rows {
    margin-bottom: 3rem;
}
.faq_row .card button:before {
  display: none !important;
}
.faq_row .card button:hover {
  cursor: pointer;
}
.faq_row .card button {
    background: transparent !important;
    white-space: normal !important;
    text-align: left !important;
    line-height: unset;
    width: 100%;
    border: 0 !important;
    border-bottom: 0 !important;
    font-size: 1.1rem;
    color: var(--gray);
    letter-spacing: 0.05rem;
    font-weight: 300;
    transition: all 0.3s ease-in-out;
}
.faq_row .card button:hover, .faq_row .card button[aria-expanded="true"] {
    color: var(--blue);
}
.faq_row .card button[aria-expanded="true"] {
    font-weight: 600;
}
.faq_row .acc_tit {
    font-family: 'Bodoni Moda', serif;
    font-weight: 400;
    display: block;
    font-size: 6rem;
    color: var(--blue);
    line-height: 1;
}
.faq_row .acc_subtit {
    font-family: 'League Spartan', sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--blue);
    display: block;
    /* line-height: 1; */
}

.faq_question {
    display: block;
    position: relative;
    padding-right: 1.5rem;
}
.faq_question:after {
    content: '';
    position: absolute;
    right: 0.3rem;
    font-size: 0.7em;
    top: 0.2rem;
    transform: rotate(0deg);
    transition: all 0.5s ease-in-out;
    background-image: url('/wp-content/uploads/2024/03/arrow_down.svg');
    background-repeat: no-repeat;
    background-size: contain;
    width: 20px;
    height: 10px;
}
.faq_row .card button[aria-expanded="true"] .faq_question:after {
    transform: rotate(180deg);
}
.faq_row .card button[aria-expanded="false"]:hover .faq_question:after {
    transform: rotate(90deg);
}


@media screen and (max-width: 767px) {
	h1.faq-tit {
    font-size: 1.6rem;
}
.faq_row .card button {
    font-size: 0.9rem;
}
.faq_row .card-body {
    font-size: 0.8rem;
    line-height: 1.35rem;
}
}



/* Testo + Immagine PRODOTTO
--------------------------------------------- */
.testo-img-prod .testo-img-box.alignboxed {
    padding: 0;
}
.testo-img-prod .testo-img-cols {
    align-items: flex-start;
}
.testo-img-prod .testo-img-col-img {
    width: 45%;
    padding: 0 0 0 4rem;
}
.testo-img-prod .testo-img-col-testo:before {
    display: none;
}
.testo-img-prod .testo-img-col-testo-img {
    padding-bottom: 6rem;
}
.testo-img-prod .testo-img-col-testo {
    padding: 1rem 0 2.5rem 0;
    display: block;
    position: relative;
}
h3.testo-img-col-tit, h3.testo-img-col-tit p {
    margin-bottom: 0 !important;
    color: var(--blue);
    font-size: 1.6rem;
    font-weight: 400;
    margin: 0;
}
.testo-img-prod a.testo-img-col-txt-cta {
    background: var(--lightblue);
    padding: 0.8rem 3rem 0.7rem 3rem;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    color: var(--blue);
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease-in-out;
}
.testo-img-prod a.testo-img-col-txt-cta:hover {
    background: var(--blue);
    color: var(--white);
}

@media screen and (max-width: 767px) {


.testo-img.testo-img-prod.alignfull {
    padding: 1.5rem;
}
.testo-img-prod .testo-img-col-img {
    width: 100%;
    padding: 0;
}
.single-prodotti .footer_consigli_row.alignfull {
    margin-top: 0;
}
.single-prodotti .testo-img-box.alignboxed {
    padding: 0 !important;
}
}


/* Consigli per la tua pelle
--------------------------------------------- */

/* Archive Consigli */
.consigli_grid.alignwide {
    display: grid;
    grid-gap: 100px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 15px;
    padding-top: 4rem !important;
    position: relative;
    padding-bottom: 10rem !important;
}
a.consigli_loop_img {
    display: block;
    position: relative;
    aspect-ratio: 1 / 1;
}
.consigli_loop_img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.consigli_loading {
    width: 100px;
    height: 100px;
    margin: auto;
    background-image: url('/wp-content/uploads/2024/03/loading.svg');
    background-size: contain;
    display: none;
    /*position: absolute;
    z-index: 999;
    left: calc(50% - 100px);*/
}
h3.consigli_loop_tit a {
    color: var(--blue);
    text-decoration: none;
}
.consigli_loop_excerpt, .consigli_loop_tit {
	display: block;
	position: relative;
}
.consigli_loop_excerpt a {
    color: unset !important;
    text-decoration: none;
    font-size: 0.95rem;
}
a.consigli_loop_cta {
    background: var(--lightblue);
    padding: 0.8rem 3rem 0.7rem 3rem;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    color: var(--blue);
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease-in-out;
    letter-spacing: 0.1rem;
    margin-top: 1.5rem;
    display: inline-block;
}
a.consigli_loop_cta:hover {
    background: var(--blue);
    color: var(--white);
}
h3.consigli_loop_tit:before {
    content: '';
    width: 38px;
    height: 2px;
    display: block;
    background: var(--blue);
    margin-bottom: 1.2rem;
    position: relative;
    margin-top: 2rem;
}

.alm-listing.alm-ajax.consigli_grid.alignwide {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Single Consigli */
.single-consigli .page_header_dx, .post-type-archive-consigli .page_header_dx {
    width: 45%;
    position: relative;
}
.single-consigli .page_header_sx, .post-type-archive-consigli .page_header_sx {
    width: 55%;
}
.single-consigli h1.hp-hero-slide-tit, .post-type-archive-consigli h1.hp-hero-slide-tit {
    color: var(--blue);
    font-size: 2.2rem;
    font-weight: 400;
    margin: 0;
    text-transform: uppercase;
    max-width: 30rem;
}
.consigli-filtri-row.alignwide {
    padding-top: 2rem !important;
    text-transform: uppercase;
    font-weight: 300;
}
.consigli-filtri-row select {
    padding: 0.5rem 3rem 0.5rem 1rem;
    border-radius: 20px;
    background: var(--lightblue);
    color: var(--blue);
    border: 0;
    margin-left: 0.5rem;
    text-transform: uppercase;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    overflow: hidden;
    background: url('/wp-content/uploads/2024/03/arrow_down.svg') no-repeat right var(--lightblue);
    background-position-x: 90%;
    outline: none;
    cursor: pointer;
}
div#consigli_loadmore {
    text-align: center;
    background: var(--lightblue);
    padding: 0.8rem 3rem 0.7rem 3rem;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    color: var(--blue);
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease-in-out;
	margin-bottom: 3rem;
}
div#consigli_loadmore:hover {
    background: var(--blue);
    color: var(--white);
    cursor: pointer;
}

/* DISABLED
.single-consigli .testo-img-box {
    padding-top: 8rem !important;
}
.single-consigli .testo-img-cols {
    display: flex;
    align-items: flex-start;
}
.single-consigli .testo-img-box.alignwide .testo-img-col-img {
    padding: 0rem 2rem;
}
.single-consigli .testo-img-col-txt {
    width: 55%;
    padding: 0 2rem;
}


@media screen and (max-width: 1080px) {
.single-consigli .testo-img-box {
    padding-top: 4rem !important;
}
}
@media screen and (max-width: 991px) {
.single-consigli .testo-img-box {
    padding-top: 0rem !important;
}
}
*/
@media screen and (max-width: 767px) {
	form#filterconsigli {
    font-size: 0.8rem;
}
	.consigli-filtri-row select {
    font-size: 0.8rem;
}
}


/* TAXONOMY DESCRIPTION */
.taxonomy-description.alignwide {
    text-align: center;
    font-size: 0.9rem;
    line-height: 1.5rem;
    font-weight: 300;
}

.tax-tipologia-prodotto .hp-products_main {
    padding-top: 0;
}
.tax-tipologia-prodotto .page_header_bottom {
    padding-bottom: 4rem;
    padding-top: 1rem;
}


@media screen and (max-width: 767px) {
.single-consigli .page_header_sx, .post-type-archive-consigli .page_header_sx {
    width: 100%;
}
.single-consigli .page_header_dx, .post-type-archive-consigli .page_header_dx {
    width: 100%;
    position: relative;
}
.single-consigli h1.hp-hero-slide-tit, .post-type-archive-consigli h1.hp-hero-slide-tit {
    font-size: 2.2rem;
    max-width: 100%;
    text-align: center;
}
.consigli_grid.alignwide {
    grid-gap: 1.5rem;
    grid-template-columns: repeat(1, 1fr);
}
}


/*--------------------------------------------------------------
# RESPONSIVE FOOTER
--------------------------------------------------------------*/
@media screen and (max-width: 767px) {

.footer-top-cont, .footer-bottom-cont {
    text-align: center;
    padding: 3rem 1.5rem !important;
}
.footer-bottom-cont ul {
    flex-wrap: wrap;
}
.footer-bottom-cont ul li {
    width: 100%;
    padding: 0.5rem 0;
}

}
/*--------------------------------------------------------------
# RESPONSIVE PAGE MODULES
--------------------------------------------------------------*/

/* HP Hero Slider
--------------------------------------------- */

@media screen and (max-width: 1139px) {

h1.hp-hero-slide-tit {
    font-size: 3.2rem;
}
.hp-hero-slide-txt, .hp-hero-slide-txt p {
    font-size: 1.15rem;
}
a.hp-hero-slide-cta {
    font-size: 0.85rem;
}

}

@media screen and (max-width: 991px) {

.hp-hero-slide .hp-hero-slide-sx {
    width: 45%;
}
.hp-hero-slide .hp-hero-slide-dx {
    width: 55%;
}

}

@media screen and (max-width: 767px) {

.hp_hero.alignfull {
    padding: 0 1.5rem !important;
}
.hp-hero-slide {
    align-items: center;
    flex-wrap: wrap;
}
.hp-hero-slide .hp-hero-slide-sx {
    width: 100%;
    padding: 0 0 2rem 0;
}

.hp-hero-slide .hp-hero-slide-dx {
    width: 100%;
    overflow: hidden;
}
h1.hp-hero-slide-tit {
    max-width: 18rem;
}
.hp-hero-slide-txt {
    padding-bottom: 0;
    max-width: 18rem;
}
.slider_nav {
    justify-content: center;
}
a.hp-hero-slide-cta {
    padding: 1rem 3rem 1rem 3rem;
    display: inline-block;
}

}


/* HP Hero Products
--------------------------------------------- */
@media screen and (max-width: 991px) {

.hp-products {
    padding: 0 !important;
}
.hp-products-cont {
    flex: 0 0 calc(50% - 15px);
}


}

@media screen and (max-width: 767px) {

h2.hp-products-tit, h2.hp-products-tit p {
    font-size: 1.8rem;
}


}


/* Testo + Immagine
--------------------------------------------- */
@media screen and (max-width: 991px) {

.testo-img {
    margin-top: 0rem;
    position: relative;
}

}


@media screen and (max-width: 767px) {

h2.testo-img-col-tit, h2.testo-img-col-tit p {
    font-size: 1.8rem;
}
.testo-img-cols {
    flex-wrap: wrap;
    padding: 3rem 0;
}
.testo-img-col-img, .testo-img-col-txt, .single-consigli .testo-img-col-txt {
    width: 100%;
    padding: 0rem;
}
.testo-img-img {
    text-align: left;
}
.testo-img-col-testo {
    padding: 2rem 0 0rem 0;
    display: block;
    position: relative;
}
.testo-img-cols.testo-img-cols-normal {
    flex-direction: column-reverse;
}
.testo-img-box.alignwide .testo-img-col-img, .single-consigli .testo-img-box.alignwide .testo-img-col-img {
    padding: 2rem 0rem;
}
.bg_bianco a.testo-img-col-txt-cta, a.testo-img-col-txt-cta {
    display: block;
    text-align: center;
}

.testo-img-box.alignfull .testo-img-col-img, .testo-img-box.alignfull .testo-img-col-txt {
    padding: 0;
    width: 100%;
}
.testo-img-cols.testo-img-cols-invert {
    flex-direction: unset;
}
.testo-img-cols.testo-img-cols-invert {
    flex-direction: unset;
    padding: 0 0 0rem 0;
}
.testo-img-box.alignfull .testo-img-cols-invert .testo-img-col-txt {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
    padding-top: 3rem;
}
.cta-img-row {
    position: relative;
    width: 100%;
    display: block;
}
.bg_celeste a.testo-img-col-txt-cta {
    display: block;
    text-align: center;
}

.testo-img-box.alignfull .testo-img-cols-normal .testo-img-col-txt {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}
.testo-img-cols.testo-img-cols-normal {
    padding-bottom: 0;
}
.testo-img-cols.testo-img-cols-invert {
    flex-direction: column-reverse;
    padding: 0 0 0rem 0;
    padding-top: 3rem;
}

}


/* Footer Consigli Slider
--------------------------------------------- */
@media screen and (max-width: 1139px) {

a.consigli_loop_cta {
    font-size: 0.85rem;
    letter-spacing: 0.05rem;
    padding: 0.8rem 2rem 0.7rem 2rem;
}

}

@media screen and (max-width: 899px) {

a.consigli_loop_cta {
    padding: 0.8rem 1.5rem 0.7rem 1.5rem;
    font-size: 0.7rem;
    letter-spacing: 0;
}
}


@media screen and (max-width: 767px) {

h2.footer_consigli_tit {
    font-size: 1.8rem;
}
.consigli_loop_item {
    padding-bottom: 3rem;
}
.slider_nav.slider_consigli_nav {
    display: none;
}
.footer_consigli_row.alignfull {
    flex-wrap: wrap;
}
.footer_consigli_sx, .footer_consigli_dx {
    width: 100%;
}
.footer_consigli_sx {
    min-height: 20rem;
}
.footer_consigli_dx {
    padding: 3rem 1.5rem;
}
.swiper-wrapper.consigli_slider {
    flex-wrap: wrap;
}
a.consigli_loop_cta {
    font-size: 1rem;
    letter-spacing: 0.1rem;
    padding: 0.8rem 3rem 0.7rem 3rem;
    display: block;
    text-align: center;
}

}



/* SLIDER SMALL SCREENS */
.smscreen .hp-hero-slide .hp-hero-slide-dx {
    text-align: right;
    /*padding-right: 80px;*/
}
.smscreen .hp-hero-slide-dx:before {
    display: none;
}
.smscreen .hp-hero-slide-dx img {
    max-height: calc(80vh - 100px);
    box-shadow: -20px 10px 20px #00000020;
}
.smscreen h1.hp-hero-slide-tit {
	font-size: 3.2rem;
}

footer .hidefooter {
	display: none;
}


/*** 404 ***/
.hp-products.leo404 {
    display: flex;
    flex-wrap: wrap;
}
.leonotfound {
    width: 100%;
    text-align: center;
    padding: 60px 0 20px 0;
}
.leo404 form.search-form {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    max-width: 360px;
}
.leo404 form.search-form input.search-field {
    border: 1px solid var(--blue);
}
.error404 .hp-products_main {
    padding-top: 0;
}




#scrolldown {
    background-image: url('/wp-content/uploads/2024/05/Freccia.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 24px;
    height: 20px;
    position: absolute;
    bottom: 15px;
    left: 400px;
}
/*#scrollup {
    background-image: url('/wp-content/uploads/2024/05/Freccia.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transform: rotate(180deg);
    width: 30px;
    height: 20px;
    position: absolute;
    top: 0;
    left: 480px;
}*/


/*** UPDATES SINGLE CONSIGLI ***/
.page_header_consigli {
    text-align: center;
    padding: 1rem 0 2rem 0;
}
.single-consigli-new .testo-img {
	margin-top: 0;
}
.single-consigli .single-consigli-new .testo-img-col-txt {
    width: 100%;
    padding: 0 2rem;
}
.single-consigli-new .testo-img-col-tit {
	padding-top: 3rem;
}
.single-consigli-new .page_header_bottom {
    padding-bottom: 0;
    padding-top: 3rem;
}
@media screen and (max-width: 991px) {
	.single-consigli-new h1 {
		font-size: 3rem;
	}
}
@media screen and (max-width: 767px) {
	.single-consigli-new h1 {
		font-size: 2.5rem;
	}
	.single-consigli-new .testo-img-cols {
        flex-wrap: wrap;
        padding: 0;
    }
    .single-consigli .single-consigli-new .testo-img-col-txt {
	    padding: 0;
	}
	.single-consigli-new .page_header_bottom {
        padding-bottom: 0;
        padding-top: 2rem;
        background: #FFF;
        position: relative;
        margin-top: 0;
    }
    .single-consigli-new .page_header_bottom .alignwide {
        position: relative;
        height: 100%;
        padding-top: 0 !important;
        display: block;
    }
}

.ft-social-icon img {
    max-width: 48px;
    width: 48px;
}


/* NEWS PROMO */
.single-news-promo .page_header_hero img {
    max-width: 100%;
    width: 100%;
}
.single-news-promo .hero_desktop {
    display: block;
}
.single-news-promo .hero_mobile {
    display: none;
}
.page_content_news-promo {
    text-align: left;
    padding: 1rem 0 2rem 0;
}
.news-promo-content h2 {
    font-size: 20px;
    color: var(--blue);
}
.news-promo-content strong, .news-promo-content b {
    color: var(--blue);
}
.news-promo-content {
    line-height: 1.6;
}
h1.news-promo-tit {
    font-size: 35px;
}
h1.news-promo-tit:after {
    content: '';
    width: 38px;
    height: 2px;
    display: block;
    background: var(--blue);
    margin-bottom: 2.8rem;
    position: relative;
    margin-top: 1.2rem;
}
.news_promo_cta {
    text-align: center;
    display: block;
    margin: 60px auto;
}
.news_promo_cta .button_cta {
    background: var(--lightblue);
    padding: 0.8rem 3rem 0.7rem 3rem;
    border-radius: 20px;
    text-transform: uppercase;
    font-size: 1rem;
    text-decoration: none;
    color: var(--blue);
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease-in-out;
}
.news_promo_cta .button_cta:hover {
    background: var(--blue);
    color: var(--white);
}
@media screen and (max-width: 767px) {
    .single-news-promo .hero_desktop {
        display: none;
    }
    .single-news-promo .hero_mobile {
        display: block;
    }
    h1.news-promo-tit {
        font-size: 30px;
    }
    .news-promo-content h2 {
        font-size: 18px;
    }
}