/* Centro Odontoiatrico Garau - stili comuni a tutte le pagine.
   Valori ripresi dal tema precedente (carenow + impostazioni del Customizer) per avere lo stesso aspetto.
   Breakpoint principali: 1024 px (menu mobile) e 767 px (smartphone). */

:root {
	--cg-primary: #091d3e;      /* blu scuro: titoli, link, menu */
	--cg-secondary: #b1d462;    /* verde: pulsanti, hover, filetti */
	--cg-accent: #33b9cb;       /* azzurro: voce di menu attiva, kicker */
	--cg-text: #000;
	--cg-footer-bg: #152847;
	--cg-bottom-bg: #1c2f4d;
	--cg-info-bg: #8fc4c4;
	--cg-info-text: #12243d;
	--cg-light: #f8f8f8;
	--cg-container: 1195px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: #fff;
	color: var(--cg-text);
	font-family: Rubik, sans-serif;
	font-size: 17px;
	font-weight: 300;
	line-height: 1.9;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
button, input, select, textarea { font-family: Rubik, sans-serif; font-size: 17px; font-weight: 300; line-height: 1.9; }
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5rem;
	font-family: Jost, sans-serif;
	font-weight: 700;
	font-style: normal;
	line-height: 1.2;
	color: var(--cg-primary);
}
h1 { font-size: 55px; }
h2 { font-size: 46px; }
h3 { font-size: 32px; }
h4 { font-size: 28px; }
h5 { font-size: 24px; }
h6 { font-size: 20px; }
p { margin: 0 0 30px; }
p:last-of-type { margin-bottom: 0; }
ul { margin: 0 0 30px 25px; padding: 0; list-style: disc; }
li > ul { margin-bottom: 0; }
b, strong { font-weight: 700; }
i, em { font-style: italic; }
a { color: var(--cg-primary); text-decoration: none; transition: all .3s; cursor: pointer; }
a:hover, a:focus { color: var(--cg-secondary); text-decoration: none; outline: 0; transition: all .3s ease-in-out; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--cg-accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; vertical-align: middle; }
svg { vertical-align: middle; }
figure { margin: 0 0 1rem; }
::selection { color: #fff; text-shadow: none; background: #333; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; margin: 0;
	top: 10px; left: 10px; z-index: 1000000;
	padding: 10px 20px;
	background: #fff; color: var(--cg-primary);
	box-shadow: 0 0 10px rgba(0, 0, 0, .3);
}

/* Contenitore della pagina: come nel tema precedente nasconde ciò che sborda (es. le righe dell'header). */
#wrapper { position: relative; overflow: hidden; }

/* ---------- Griglia (sottoinsieme di Bootstrap usato dal tema) ---------- */
.container { width: 100%; max-width: var(--cg-container); margin-right: auto; margin-left: auto; padding-right: 12px; padding-left: 12px; }
.row { display: flex; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; }
.row > * { flex-shrink: 0; width: 100%; max-width: 100%; padding-right: 15px; padding-left: 15px; }
@media (min-width: 768px) {
	.col-md-6 { flex: 0 0 auto; width: 50%; }
	.col-md-12 { flex: 0 0 auto; width: 100%; }
}
@media (min-width: 992px) {
	.col-lg-4 { flex: 0 0 auto; width: 33.3333%; }
	.col-lg-12 { flex: 0 0 auto; width: 100%; }
}
.clearfix::after { display: block; clear: both; content: ""; }
.text-center { text-align: center; }

/* ---------- Header ---------- */
#header { position: relative; z-index: 11; width: 100%; background: #fff; transition: all .5s ease-in-out; }
#header.header-style2 .container { max-width: 1790px; }
#header .header-wrap { display: flex; align-items: center; justify-content: center; position: relative; width: 100%; height: 100%; }
#header .header-wrap .header-ct-left { flex-grow: 0; display: flex; align-items: center; justify-content: flex-start; height: 100%; }
#header .header-wrap .header-ct-center { flex-grow: 1; display: flex; align-items: center; justify-content: right; height: 100%; }
#header .header-wrap .header-ct-right { flex-grow: 1; display: flex; align-items: center; justify-content: flex-end; height: 100%; }

#header #logo { margin-top: 10px; padding-bottom: 10px; }
#logo a, #logo-mobi a { display: inline-block; }
.logo img, .logo { transition: all .3s; image-rendering: -webkit-optimize-contrast; }
#header #logo a img { max-width: 165px; height: auto; }

.btn-header {
	position: relative;
	z-index: 1;
	display: inline-flex;
	overflow: hidden;
	padding: 21px 33px;
	border-radius: 5px;
	background: var(--cg-secondary);
	color: #fff;
	font-size: 18px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
}
.wrap-btn-header .btn-header { display: inline-flex; margin-left: 20px; }

.info-header { position: relative; margin-right: 34px; margin-left: 15px; padding-left: 60px; }
.info-header .icon-info {
	position: absolute; top: 50%; left: 0;
	display: flex; align-items: center; justify-content: center;
	width: 48px; height: 48px;
	border: 2px solid rgba(31, 36, 44, .1);
	border-radius: 50%;
	transform: translateY(-50%);
}
.info-header .icon-info svg { fill: var(--cg-secondary); }
.info-header .content { display: flex; flex-direction: column; line-height: 1.3; }
.info-header .phone { color: #191919; font-weight: 700; }
.info-header .phone:hover { color: var(--cg-secondary); }

/* Effetto del pulsante dell'header: il blu scorre da sinistra al passaggio del mouse. */
.draw-border a { position: relative; z-index: 1; display: inline-block; overflow: hidden; border-radius: 5px; background: var(--cg-secondary); color: #fff; transition: all .3s linear; }
.draw-border a:hover, .draw-border a:focus { color: #fff; }
.draw-border a::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background-color: var(--cg-primary);
	transform: scale(0, 1);
	transform-origin: right top;
	transition: transform 500ms;
}
.draw-border a:hover::before { transform: scale(1, 1); transform-origin: left top; }

/* Menu principale */
#mainnav ul { margin: 0; padding: 0; list-style: none; }
#mainnav ul li { position: relative; }
#mainnav > ul { display: flex; }
#mainnav > ul > li { float: left; margin-right: 15px; margin-left: 15px; padding: 0; }
#mainnav > ul > li:first-child { margin-left: 0; }
#mainnav > ul > li:last-child { margin-right: 0; }
#mainnav > ul > li > a {
	position: relative;
	display: inline-block;
	color: var(--cg-primary);
	font-family: Rubik, sans-serif;
	font-size: 18px;
	font-weight: 500;
	font-style: normal;
	line-height: 120px;
	transition: all .3s;
}
#mainnav > ul > li:first-child > a { padding-left: 0; }
#mainnav > ul > li.menu-item-has-children > a { padding-right: 15px; }
#mainnav > ul > li.menu-item-has-children > a::before {
	content: "+";
	position: absolute; top: 50%; right: 0;
	display: block;
	font-size: 16px;
	transform: translateY(-50%);
}
#mainnav > ul > li > a::after {
	content: "";
	position: absolute; bottom: 35%; left: 50%;
	width: 0; height: 1px;
	opacity: 0; visibility: hidden;
	background: var(--cg-accent);
	transform: translateX(-50%);
	transition: all .3s ease-in-out;
}
#mainnav > ul > li > a:hover { color: var(--cg-accent); }
#mainnav > ul > li > a:hover::after { width: 100%; opacity: 1; visibility: visible; }
#mainnav > ul > li.current-menu-item > a,
#mainnav > ul > li.current_page_item > a,
#mainnav > ul > li.current-menu-ancestor > a,
#mainnav > ul > li.current-menu-parent > a { color: var(--cg-accent); }
#mainnav > ul > li.current-menu-ancestor > a::after,
#mainnav > ul > li.current-menu-parent > a::after { background: var(--cg-accent); }

#mainnav ul.sub-menu {
	position: absolute; top: 110%; left: 0; z-index: 9999;
	width: max-content; min-width: 200px;
	padding: 0;
	border-radius: 0;
	background: #fff;
	box-shadow: 0 10px 30px 0 rgba(0, 0, 0, .15);
	text-align: left;
	opacity: 0; visibility: hidden;
	transition: all .3s ease-in-out;
}
#mainnav ul li:hover > ul.sub-menu,
#mainnav ul li:focus-within > ul.sub-menu { top: 100%; opacity: 1; visibility: visible; }
#mainnav ul.sub-menu > li { margin-left: 0; border-top: 1px solid #e8e8e8; }
#mainnav ul.sub-menu > li:first-child { border-top: 0; }
#mainnav ul.sub-menu > li > a {
	position: relative;
	display: block;
	padding: 15px 20px;
	color: var(--cg-primary);
	font-family: Rubik, sans-serif;
	font-size: 18px;
	font-weight: 500;
	font-style: normal;
	line-height: 1.3;
	text-decoration: none;
	transition: all .3s ease-in-out;
}
#mainnav ul.sub-menu > li > a::before {
	content: "";
	position: absolute; top: 0; left: 0; z-index: -1;
	width: 0; height: 100%;
	background-color: #f8f8f8;
	transition: width .3s cubic-bezier(.35, .7, .35, 1);
}
#mainnav ul.sub-menu > li > a:hover { color: var(--cg-accent); }
#mainnav ul.sub-menu > li > a:hover::before { width: 100%; transition-delay: .3s; }

/* Pulsante del menu mobile (hamburger) */
.btn-menu {
	display: none;
	position: relative;
	float: right;
	width: 30px; height: 20px;
	margin: 32px 0 32px 20px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	transition: all .238s;
}
.btn-menu::before, .btn-menu::after, .btn-menu span { background-color: var(--cg-primary); transition: all .238s; }
.btn-menu::before, .btn-menu::after {
	content: "";
	position: absolute; top: 50%; left: 0;
	width: 100%; height: 2px;
	transform-origin: 50% 50%;
}
.btn-menu span { position: absolute; top: 50%; left: 0; width: 100%; height: 2px; overflow: hidden; text-indent: 200%; }
.btn-menu::before { transform: translate3d(0, -9px, 0); }
.btn-menu::after { transform: translate3d(0, 9px, 0); }

/* Menu mobile a scomparsa */
.canvas-nav-wrap .inner-canvas-nav {
	position: fixed; top: 0; left: 0; z-index: 999999;
	width: 320px; height: 100%;
	overflow-y: auto;
	background-color: #fff;
	transform: translateX(-100%);
	transition-duration: .5s;
	transition-timing-function: ease;
	visibility: hidden;
	transition-property: transform, visibility;
}
.canvas-nav-wrap.active .inner-canvas-nav { transform: translateX(0); visibility: visible; }
.canvas-nav-wrap .overlay-canvas-nav {
	position: fixed; top: 0; left: 0; z-index: 999;
	width: 100%; height: 100%;
	background-color: rgba(0, 0, 0, .5);
	opacity: 0; visibility: hidden;
	transition: all .3s ease 0s;
}
.canvas-nav-wrap.active .overlay-canvas-nav { opacity: 1; visibility: visible; }
.canvas-menu-close { position: absolute; top: 30px; right: 20px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.canvas-menu-close span { position: relative; display: inline-block; width: 26px; height: 26px; background: transparent; cursor: pointer; vertical-align: top; }
.canvas-menu-close span::before, .canvas-menu-close span::after {
	content: "";
	position: absolute; top: 50%; left: 0;
	width: 100%; height: 2px;
	background: #fff;
	transform-origin: 50% 50%;
}
.canvas-menu-close span::before { transform: rotate3d(0, 0, 1, 45deg); }
.canvas-menu-close span::after { transform: rotate3d(0, 0, 1, -45deg); }
.inner-canvas-nav .logo { padding: 25px !important; line-height: unset; text-align: left; }
.inner-canvas-nav .logo > a { max-width: 180px; }
#mainnav_canvas ul { margin: 0; padding: 0; list-style: none; }
#mainnav_canvas ul > li { position: relative; width: 100%; border-top: 1px solid rgba(209, 209, 209, .56); }
#mainnav_canvas > ul > li:last-child { border-bottom: 1px solid rgba(209, 209, 209, .56); }
#mainnav_canvas ul li a {
	display: inline-block;
	width: 100%; height: auto;
	padding: 12px 50px 12px 25px;
	color: #191919;
	font-weight: 500;
	text-align: left;
}
#mainnav_canvas .sub-menu a { padding: 12px 50px 12px 35px; }
#mainnav_canvas ul li a:hover,
#mainnav_canvas ul li.current_page_item > a,
#mainnav_canvas ul li.current-menu-item > a,
#mainnav_canvas ul li.current-menu-ancestor > a,
#mainnav_canvas ul li.current-menu-parent > a { color: var(--cg-secondary); }
#mainnav_canvas .sub-menu { display: none; overflow: hidden; }
#mainnav_canvas li.is-open > .sub-menu { display: block; }
.mainnav_canvas .btn-submenu {
	position: absolute; top: 0; right: 0;
	width: 47px; height: 47px;
	padding: 0; border: 0;
	background: transparent;
	line-height: 42px;
	text-align: center;
	cursor: pointer;
	transition: all .3s ease 0s;
}
.mainnav_canvas .btn-submenu.active { transform: rotate(-180deg); }
.mainnav_canvas .btn-submenu::before {
	content: "";
	display: inline-block;
	width: 6px; height: 6px;
	border-style: solid;
	border-width: 0 1px 1px 0;
	border-color: transparent #000 #000 transparent;
	transform: rotate(45deg);
	transition: border .3s;
}

/* Header fisso allo scroll (solo desktop, come prima) */
@keyframes cgFadeInDown {
	from { opacity: 0; transform: translate3d(0, -100%, 0); }
	to { opacity: 1; transform: none; }
}
.header_sticky #header.header-sticky {
	position: fixed; top: 0; left: 0; right: 0; z-index: 100;
	width: 100%;
	background: #fff;
	box-shadow: 0 3px 6px rgba(0, 0, 0, .06);
	animation: cgFadeInDown .8s;
}
.admin-bar.header_sticky #header.header-sticky { top: 32px; }
#header.header-sticky #mainnav > ul > li > a { line-height: 100px; }
.header-spacer { display: none; }
.header-spacer.is-on { display: block; }

/* Header responsive */
@media only screen and (max-width: 1750px) {
	#header.header-style2 .header-wrap .header-ct-left,
	#header.header-style2 .header-wrap .header-ct-center { flex-grow: 1; }
	#header.header-style2 .header-wrap .header-ct-right { flex-grow: 0; }
}
@media only screen and (max-width: 1550px) {
	.wrap-btn-header .btn-header { margin-left: 15px; }
	.info-header { margin-right: 0; }
}
@media only screen and (max-width: 1440px) {
	#mainnav > ul > li { margin: 0 15px; }
	#header.header-style2 .header-wrap .header-ct-center { justify-content: flex-end; }
}
@media only screen and (max-width: 1300px) {
	.info-header { display: none; }
}
@media only screen and (max-width: 1220px) {
	#mainnav ul.sub-menu { width: 200px; }
}
@media only screen and (max-width: 1199px) {
	#mainnav > ul > li { margin: 0 12px; }
	#mainnav > ul > li.menu-item-has-children > a { padding-right: 13px; }
	.btn-header { padding: 18px 30px; font-size: 16px; }
}
@media only screen and (max-width: 1100px) {
	#mainnav > ul > li.menu-item-has-children > a { padding-right: 0; }
	#mainnav > ul > li.menu-item-has-children > a::before { display: none; }
}
@media only screen and (max-width: 1024px) {
	.wrap-btn-header .btn-header { margin-left: 15px; }
	.btn-menu { display: block; }
	#mainnav { display: none; }
}
@media only screen and (max-width: 991px) {
	#header { box-shadow: 0 3px 6px rgba(0, 0, 0, .06); }
	.header-style2 { text-align: center; }
}
@media only screen and (max-width: 767px) {
	header .header-wrap { padding: 0; }
	.logo { padding-top: 0 !important; line-height: 80px; }
	.btn-header { display: none; }
}
@media only screen and (max-width: 600px) {
	.wrap-btn-header { display: none; }
}
@media (max-width: 375px) {
	.canvas-nav-wrap .inner-canvas-nav { width: 80%; }
}

/* ---------- Testata delle pagine interne ---------- */
.page-title {
	position: relative;
	overflow: hidden;
	padding: 155px 0 168px;
	background-color: transparent;
	background-position: center 85%;
	background-repeat: no-repeat;
	background-size: cover;
}
.page-title .overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(220, 234, 235, 0); opacity: .6; }
.page-title h1, .page-title .page-title-heading {
	position: relative;
	margin: 0 0 15px;
	overflow-wrap: break-word;
	color: var(--cg-primary) !important;
	font-family: Jost, sans-serif;
	font-size: 46px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.2;
	text-align: left;
}
.page-title-container { position: relative; }
.breadcrumbs, .breadcrumbs span, .breadcrumbs a, .breadcrumbs span a {
	position: relative;
	color: var(--cg-primary);
	font-family: Rubik, sans-serif;
	font-size: 18px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.5;
}
.breadcrumbs { text-align: left; }
.breadcrumbs span.sep { margin: 0 10px; font-size: 12px; text-align: center; vertical-align: middle; }
.breadcrumbs span.sep i { color: var(--cg-primary); }
.breadcrumbs span a span { transition: all .3s; }
.breadcrumbs a:hover, .breadcrumbs a:hover span { color: var(--cg-secondary); }
@media only screen and (max-width: 991px) {
	.page-title h1, .page-title .page-title-heading, .page-title .breadcrumbs { text-align: center; }
}

/* ---------- Contenuto ---------- */
#themesflat-content { padding-top: 80px; padding-bottom: 80px; }
.entry-content::after { content: ""; display: table; clear: both; }

/* ---------- Colonna laterale ---------- */
.widget { position: relative; margin-bottom: 40px; }
.widget ul { margin: 0; list-style: none; }
.widget ul li { padding: 5px 0; }
.sidebar .widget .widget-title, .sidebar .widget h2,
.widget .widget-title, .widget h2 {
	position: relative;
	margin-top: 0;
	margin-bottom: 30px;
	font-family: Jost, sans-serif;
	font-size: 20px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.2;
}
.wp-block-group.has-background { position: relative; margin-top: 0; margin-bottom: 0; padding: 30px; }
.sidebar .wp-block-group.has-background { background-color: var(--cg-light); }
.wp-block-group.has-background::before {
	content: "";
	position: absolute; top: 0; right: 30px; left: 30px;
	height: 4px;
	background: var(--cg-secondary);
}
.block-opening-hours { width: 100%; margin: 0; padding: 0; list-style: none; }
.block-opening-hours .item {
	display: flex; align-items: center; justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid #c8c8c8;
	color: var(--cg-primary);
}
.block-opening-hours .item:first-child { padding-top: 0; }
.block-opening-hours .item:last-child { padding-bottom: 0; border-bottom: none; }

.widget.widget_categories { position: relative; padding: 30px; background-color: var(--cg-light); }
.widget.widget_categories::before {
	content: "";
	position: absolute; top: 0; right: 30px; left: 30px;
	height: 4px;
	background: var(--cg-secondary);
}
.widget.widget_categories ul li { position: relative; padding: 0; font-weight: 500; }
.widget.widget_categories ul li a {
	position: relative;
	display: block;
	margin-top: 16px;
	padding: 9px 23px;
	border: 1px solid #e3e3e3;
	border-radius: 5px;
	color: var(--cg-primary);
	font-weight: 500;
}
.widget.widget_categories ul li a::after {
	content: "\f0e4";
	position: absolute; top: 50%; right: 23px;
	font-family: carenow;
	line-height: 1;
	transform: translateY(-50%);
	transition: all .3s;
}
.widget.widget_categories ul li a:hover { border-color: var(--cg-secondary); background: var(--cg-secondary); color: #fff !important; }
.widget.widget_categories ul li a:hover::after { color: #fff; }

.block-company-profile {
	position: relative; z-index: 1;
	display: flex; flex-direction: column; justify-content: flex-start;
	padding: 43px 33px 48px 32px;
	border-radius: 5px;
	background: var(--cg-secondary) no-repeat center / cover;
	color: #fff;
}
.block-company-profile .title { margin-bottom: 14px; color: #fff; font-size: 20px; }
.block-company-profile .overlay-color { position: absolute; top: 33px; right: 25px; z-index: -1; }
.block-company-profile .overlay-color svg { max-width: 100px; fill: #fff; }

/* Colonna laterale accanto al contenuto (servizi, articoli) */
.page-wrap.sidebar-right .widget-area { position: relative; float: left; width: 31.7%; }
@media only screen and (max-width: 991px) {
	#secondary .sidebar { margin-top: 50px; }
	.page-wrap.sidebar-right .widget-area { float: none; width: 100%; padding-right: 0; }
}

/* ---------- Footer ---------- */
.footer_background { position: relative; overflow: hidden; background: var(--cg-footer-bg) no-repeat center center; }
#footer { padding-top: 197px; padding-bottom: 100px; }
#footer, #footer a, #footer h2 { color: #fff; }
#footer a:hover { color: var(--cg-secondary) !important; }
footer .widget h2 {
	font-family: Jost, sans-serif;
	font-size: 20px;
	font-weight: 600;
	font-style: normal;
	line-height: 1.5;
}
footer .wp-block-group__inner-container > h2 { position: relative; margin-top: 11px; margin-bottom: 26px; padding-bottom: 16px; }
footer.footer-style1 .wp-block-group__inner-container > h2::after {
	content: "";
	position: absolute; bottom: 0; left: 0;
	width: 22px; height: 3px;
	border-radius: 20px;
	background: var(--cg-secondary);
}
#footer.footer-style1 .widgets-areas-1, #footer.footer-style1 .widgets-areas-3 { background: rgba(0, 0, 0, .05); }
#footer.footer-style1 .widgets-areas-2 { background: rgba(255, 255, 255, .02); }
#footer.footer-style1 .wrap-widgets { padding: 32px 15px 3px 46px; }
#footer .widgets-areas .widget_block .wp-block-group { margin: 0; }
.footer-widgets .widget ul.contact-info { margin: 0; }
.footer-widgets .widget ul.contact-info li { display: flex; padding: 11px 0; }
.footer-widgets .widget ul.contact-info li:first-child { padding-top: 0; }
.footer-widgets .widget ul.contact-info li .icon { position: relative; top: 6px; margin-right: 19px; }
.footer-widgets .widget ul.contact-info li i { min-width: 50px; font-size: 20px; }
.footer-widgets .widget ul.contact-info li p { margin: 0; }
footer .widget.widget_nav_menu ul li, footer .widget.widget_block ul li { padding: 7px 0; border: none; }
footer .widget.widget_nav_menu ul li:first-child, footer .widget.widget_block ul li:first-child { padding-top: 0; }
footer .widget.widget_nav_menu ul li:last-child, footer .widget.widget_block ul li:last-child { padding-bottom: 0; }
footer .widget.widget_nav_menu ul li a { position: relative; display: inline; padding: 0 0 0 18px; border: none; font-weight: 500; }
footer .widget.widget_nav_menu ul li a:hover { background: transparent !important; }
footer.footer-style1 .widget.widget_nav_menu ul li > a::before {
	content: "";
	position: absolute; top: 7px; left: 0;
	width: 5px; height: 5px;
	background: #fff !important;
	opacity: .3;
	transition: all .3s;
}
footer.footer-style1 .widget.widget_nav_menu ul li > a:hover::before { opacity: 1; background: var(--cg-secondary) !important; }
#footer .wp-block-group.has-background.is-white,
#footer .wp-block-group.has-background.is-white .item { color: #fff !important; }

.info-footer { color: #fff !important; }
.wrap-info-item {
	position: relative;
	display: flex; align-items: center;
	width: 100%;
	margin-bottom: 60px;
	padding: 29px 0 15px;
	background-color: var(--cg-info-bg);
}
.info-item {
	position: relative;
	display: flex; flex-grow: 1; align-items: center; justify-content: flex-start;
	max-width: 33.33%;
	margin-bottom: 15px;
	padding: 0 30px;
}
.info-item::after {
	content: "";
	position: absolute; top: 50%; right: 0;
	width: 2px; height: 70px;
	background: rgba(255, 255, 255, .1);
	transform: translateY(-50%);
}
.info-footer .wrap-info-item .info-item:last-child::after { display: none; }
.info-footer .wrap-info { position: relative; padding-left: 55px; }
.info-footer .wrap-info .icon-info {
	position: absolute; top: 2px; left: 0;
	display: flex; align-items: center; justify-content: center;
	color: #fff; fill: #fff;
	font-size: 43px;
}
.info-footer .wrap-info.wrap-mail .icon-info { font-size: 37px; }
.info-footer .wrap-info .content { display: flex; flex-direction: column; color: var(--cg-info-text); line-height: 1.3; }
.info-footer .wrap-info .content a { color: var(--cg-info-text); }
.info-footer .wrap-info .content a:hover { color: #fff; }
.info-footer .wrap-info .info { margin-top: 9px; }

.bottom {
	background: var(--cg-bottom-bg);
	color: #fff;
	font-family: Rubik, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
}
.bottom a { color: #fff; }
.bottom a:hover { color: var(--cg-accent); }
.bottom .container-inside { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 47px 0; }
.bottom .wrap-logo-bottom { max-width: 198px; }
.copyright { font-family: Rubik, sans-serif; font-size: 16px; font-weight: 400; line-height: 1.5; }
.copyright .cg-company { display: block; margin-top: 4px; color: rgba(255, 255, 255, .8); font-size: 14px; }
.bottom ul { list-style: none; }
.bottom ul.themesflat-socials { display: flex; margin: 0; }
.bottom ul.themesflat-socials li { margin: 9px; background: transparent; }
.bottom ul.themesflat-socials li a {
	display: inline-flex; align-items: center; justify-content: center;
	width: 37px; height: 37px;
	padding: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	font-size: 12px;
}
.bottom ul.themesflat-socials li a:hover { background: var(--cg-secondary); color: #fff; }

@media only screen and (max-width: 1199px) {
	#footer.footer-style1 .wrap-widgets { padding: 32px 15px 3px; }
}
@media only screen and (max-width: 991px) {
	footer .widget { margin-bottom: 40px; }
	.footer .widgets-areas:last-of-type { margin-bottom: 0; }
	.footer-widgets .wrap-widgets-2 { padding-left: 0; }
	#footer.footer-style1 .widgets-areas-1 { background: rgba(0, 0, 0, .05); }
	#footer.footer-style1 .widgets-areas-2, #footer.footer-style1 .widgets-areas-3 { background: rgba(255, 255, 255, .02); }
	.bottom.bottom-style2 .container-inside { flex-direction: column; }
	.bottom.bottom-style2 .container-inside .content-center { margin: 20px 0; }
}
@media only screen and (max-width: 767px) {
	#footer.footer-style1 { padding-top: 130px; }
	#footer.footer-style1 .widgets-areas-1, #footer.footer-style1 .widgets-areas-3 { background: rgba(0, 0, 0, .05); }
	#footer.footer-style1 .widgets-areas-2 { background: rgba(255, 255, 255, .02); }
	#footer.footer-style1 .wrap-widgets { padding: 32px 0 3px; }
	.bottom .container-inside { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
	.bottom .container-inside .content-right { margin-top: 10px; }
	.wrap-info-item { display: block; align-items: unset; width: 100%; padding: 46px 15px 23px; }
	.info-item { display: block; flex-grow: unset; justify-content: unset; align-items: unset; max-width: 100%; margin-bottom: 30px; }
}
@media (max-width: 499px) {
	.bottom .content-left, .bottom .content-right { display: block; text-align: center !important; }
	.bottom .content-left { margin-bottom: 15px; }
}

/* ---------- Torna su ---------- */
.go-top {
	position: fixed !important; right: -100px; bottom: 82px;
	width: 50px; height: 50px;
	overflow: hidden;
	border-radius: 3px;
	background-color: var(--cg-primary);
	line-height: 50px;
	text-align: center;
	opacity: 0;
	cursor: pointer;
	transition: all .3s ease-in-out;
}
.go-top.show { right: 15px; z-index: 9999; opacity: 1; visibility: visible; }
.go-top i { position: absolute; top: 0; left: 0; width: 100%; height: 100%; color: #fff; font-size: 12px; font-weight: 600; line-height: 50px; transition: all .3s; }
.go-top:hover { background: var(--cg-secondary); }
.go-top:hover i { color: #fff; }

@media (prefers-reduced-motion: reduce) {
	html *, html *::before, html *::after { transition-delay: 0s !important; transition-duration: 0s !important; animation-duration: 0s !important; }
}
