/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/


.open-overlay-menu #main-logo {display: none;}

/* Ingrandisce hamburger menu */
.mobile-menu-button .lines {
transform: scale(1.8);
}

/* Cambio le dimensioni delle icone social nel menu principale */

@media (min-width: 960px) {
    body[class*=hmenu] .menu-icons i:not(.fa-dropdown), body.menu-overlay-center .menu-icons i:not(.fa-dropdown) {
        font-size: 28px;
    }
}

/* Nasconde SOLO l'immagine logo sinistro quando il menu è aperto - style logo centrato Vedani */
.row-menu-inner:has(.main-menu-container.open-items) 
#logo-container-mobile .logo-image {
  display: none !important;
}


/* Nasconde lo sticky menu da mobile */
#masthead.is_stuck #logo-container-mobile{
  display: none !important;
}

/* ===== Smarti — selettore lingua nel menu (sostituisce widget ConveyThis) ===== */

/* Nasconde il widget flottante di default di ConveyThis (+ "Powered by"). */
#conveythis-wrapper { display: none !important; }

.smarti-lang-switch {
	position: relative;
	list-style: none;
	display: flex;
	align-items: center;
}
.smarti-lang-current {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: 0;
	margin: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
}
.smarti-flag {
	flex: 0 0 auto;
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.smarti-lang-label { font-size: inherit; letter-spacing: .02em; }
.smarti-lang-caret {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: .7;
	transition: transform .2s ease;
}
.smarti-lang-switch.smarti-open .smarti-lang-caret { transform: rotate(180deg); }

/* Tendina: <div> (invisibile a SmartMenus), posizionata in fixed da screen.js. */
.smarti-lang-menu {
	position: fixed;
	top: 0;
	left: 0;
	min-width: 140px;
	padding: 6px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 2147483000;
}
.smarti-lang-menu.smarti-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.smarti-lang-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 7px;
	color: #222;
	font-size: 14px;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
}
.smarti-lang-menu a:hover { background: rgba(0, 0, 0, .06); color: #222; }


/* ===== Smarti — selettore lingua nel menu (sostituisce widget ConveyThis) ===== */

/* Nasconde il widget flottante di default di ConveyThis (+ "Powered by"). */
#conveythis-wrapper { display: none !important; }

.smarti-lang-switch {
	position: relative;
	list-style: none;
	display: flex;
	align-items: center;
}
.smarti-lang-current {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: none;
	border: 0;
	margin: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
}
.smarti-flag {
	flex: 0 0 auto;
	display: inline-block;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}
.smarti-lang-label { font-size: inherit; letter-spacing: .02em; }
.smarti-lang-caret {
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	opacity: .7;
	transition: transform .2s ease;
}
.smarti-lang-switch.smarti-open .smarti-lang-caret { transform: rotate(180deg); }

/* Tendina: <div> (invisibile a SmartMenus), posizionata in fixed da screen.js. */
.smarti-lang-menu {
	position: fixed;
	top: 0;
	left: 0;
	min-width: 140px;
	padding: 6px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 2147483000;
}
.smarti-lang-menu.smarti-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.smarti-lang-menu a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 7px;
	color: #222;
	font-size: 14px;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
}
.smarti-lang-menu a:hover { background: rgba(0, 0, 0, .06); color: #222; }
