/*!
Theme Name: Kadence Child
Template: kadence
Version: 1.1.2
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */

/*
 * Doozy da modificare...
 */

/* Colori */
:root {
    --primario: var(--global-palette1);
}

::-webkit-input-placeholder { /* WebKit browsers */
    color: var(--secondario) !important;
    opacity: 0.3;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: var(--secondario) !important;
    opacity: 0.3;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: var(--secondario) !important;
    opacity: 0.3;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: var(--secondario) !important;
    opacity: 0.3;
}

/* Tipografia */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6,
.single-content h1, .single-content h2, .single-content h3, .single-content h4, .single-content h5, .single-content h6 {

}

h1, .h1, .h1 > .gspb-dynamic-title-element,
.h1.gspb_meta>* {
    font-size: clamp(40px, 6vw, 78px);
}

h2, .h2, .h2 > .gspb-dynamic-title-element,
.h2.gspb_meta>* {
    font-size: clamp(24px, 5.5vw, 70px);
}

h3, .h3, .h3 > .gspb-dynamic-title-element,
.h3.gspb_meta>* {
    font-size: clamp(22px, 3.8vw, 64px);
}

h4, .h4, .h4 > .gspb-dynamic-title-element,
.h4.gspb_meta>* {
    font-size: clamp(20px, 3.2vw, 48px);
}

h5, .h5, .h5 > .gspb-dynamic-title-element,
.h5.gspb_meta>* {
    font-size: clamp(18px, 2.6vw, 36px);
}

h6, .h6, .h6 > .gspb-dynamic-title-element,
.h6.gspb_meta>* {
    font-size: clamp(18px, 2vw, 28px);
}
h2>p {
	margin:0 0 2rem 0;
}
footer h2>p {
	margin:0 0 0 0;
}
.relative {
	position:relative;
}

.paragrafo, .paragrafo > .gspb-dynamic-title-element,
.paragrafo.gspb_meta>* {
    font-size: clamp(18px, 1.8vw, 20px);
    font-family: Onest;
	margin:0;
}

.large,
.large p,
p.large,
.paragrafo.large {
	font-size: clamp(22px, 2vw, 26px);
}
.left img {
	margin:0 auto 0 0;
}
.center img {
	margin:0 auto 0 auto;
}
.right img {
	margin:0 0 0 auto;
}

/* Pulsanti */
button, .button, .wp-block-button__link, .wp-element-button, input[type="button"], input[type="reset"], input[type="submit"] {
    border-radius: 9rem;
    padding: 0.7rem 2.5rem;
	border:2px solid var(--global-palette9);
	font-size: clamp(18px, 2vw, 26px);
}
.button a {
	color:#fff;
}

img:not(.custom-logo), img:(.wpml-ls-flag) {
	border-radius:1rem;
}
.cta {
	margin-top:2rem;
}
.cta a {
	color:var(--global-palette1);
	border-radius: 9rem;
    padding: 0.7rem 2.5rem;
	border:2px solid var(--global-palette1);
	font-size: clamp(18px, 2vw, 26px);
	text-decoration:none;
	transition: all .3s linear;
	cursor:pointer;
}
.cta a:hover {
	color:var(--global-palette3);
	border-radius: 9rem;
    padding: 0.7rem 2.5rem;
	border:2px solid var(--global-palette3);
	font-size: clamp(18px, 2vw, 26px);
	cursor:pointer;
}

/* Header */
header #mobile-header .site-container {
	padding: 0 1rem;
}
.popup-drawer .drawer-header {
    padding: 0;
}
ul#primary-menu li {
	border:2px solid var(--global-palette7);
	border-radius: 9rem;
}
ul#primary-menu li.current-menu-item {
	background:rgba(255,255,255,0.4);
	border:2px solid var(--global-palette9);
}
.wp-block-site-logo img {
    height: 50px;
}
.wpml-ls-legacy-list-horizontal {
    border: 1px solid transparent;
    padding: 0 5px;
    clear: both;
}

/* */
.gspb_row:not(.gspb_row .gspb_row) {
	padding-top:1.5vw;
	padding-bottom:1.5vw;
}
.gspb_row.riga-full>.gspb_row__content {
	max-width:95vw !important;
}
@media(max-width: 1025px) {
	.gspb_row {
		padding-top:0vw;
		padding-bottom:0vw;
	}
	.gspb_row.riga-full>.gspb_row__content {
		max-width:100vw !important;
	}
	.wpml-ls-legacy-list-horizontal a {
		padding: 5px 8px 6px;
	}
}

/* hero */
.newhero-bg {
	position:relative;
	border-radius:1rem;
	height:40vw;
}
.newhero {
	padding: 3vw 1.5rem;
	width:100%;
	max-width:1200px;
	margin:0 auto;
}
.newhero h1 {
	display:flex;
	justify-content:space-between;
	align-items:center;
}
.newhero h1 span:last-child {
	color:#fff;
}
.newhero h2 {
	color:#fff;
	text-transform:uppercase;
	text-shadow: 2px 2px 3px rgba(0,0,0,0.7);
}
@media(max-width: 1025px) {
	.newhero-bg {
		height:50vw;
	}
}
@media(max-width: 769px) {
	.newhero-bg {
		height:70vw;
		margin-top:6rem;
	}
	.newhero {
		position: absolute;
		top:-6rem;
		padding:0;
	}
}
@media(max-width: 465px) {
	.newhero-bg {
		margin-top:7rem;
	}
	.newhero {
		top:-7.5rem;
	}
	.newhero h1 {
        display:inline;
	}
	.newhero h1 span:last-child {
		color:var(--global-palette3);
	}
}
.progettazione {
	border-radius:1rem;
	background:#1e1e1e;
}

/* Footer */
footer * {
	color:#fff;
}
footer .info-footer {
	font-size:14px;
}
.copyright {
	padding-top:1.5rem;
	font-size:12px;
	opacity:0.7;
}