/*!
Theme Name: Kadence Child
Template: kadence
Version: 1.0.6
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;
}

* p:last-of-type {
	margin-bottom: 0!important;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    margin-top: 0!important;
	margin-bottom: 0!important;
}
h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, h2 a {
   font-weight: 700!important
}

h1, .h1, .h1 > .gspb-dynamic-title-element,
.h1.gspb_meta>* {
    font-size: clamp(30px, 6vw, 64px)!important;
    line-height: 1.1 !important;
}
h2, .h2, .h2 > .gspb-dynamic-title-element,
.h2.gspb_meta>* {
    font-size: clamp(26px, 4vw, 55px)!important;
    line-height: 1.3 !important;
}
h3, .h3, .h3 > .gspb-dynamic-title-element,
.h3.gspb_meta>*, h2#related-posts-title {
    font-size: clamp(26px, 4vw, 36px)!important;
    line-height: 1.3 !important;
}
h4, .h4, .h4 > .gspb-dynamic-title-element,
.h4.gspb_meta>* {
    font-size: clamp(20px, 3.5vw, 24px)!important;
    line-height: 1.4 !important;
}
h5, .h5, .h5 > .gspb-dynamic-title-element,
.h5.gspb_meta>* {
    font-size: clamp(18px, 3vw, 20px)!important;
    line-height: 1.5 !important;
}
h6, .h6, .h6 > .gspb-dynamic-title-element,
.h6.gspb_meta>* {
    font-size: clamp(1rem, 2.5vw, 1rem)!important;
    line-height: 1.5 !important;
}
.text-white, 
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6{
	color: white!important;
}
.text-black, 
.text-black h1,
.text-black h2,
.text-black h3,
.text-black h4,
.text-black h5,
.text-black h6{
	color: var(--global-palette4)!important;
}
.text-primary, 
.text-primary h1,
.text-primary h2,
.text-primary h3,
.text-primary h4,
.text-primary h5,
.text-primary h6{
	color: var(--global-palette1)!important;
}
.text-secondary, 
.text-secondary h1,
.text-secondary h2,
.text-secondary h3,
.text-secondary h4,
.text-secondary h5,
.text-secondary h6{
	color: var(--global-palette2)!important;
}
.fs-14 {
	font-size: 14px
}
.fs-20 {
	font-size: 20px
}
.fs-24 {
	font-size: 24px
}
.fw-normal {
	font-weight: normal!important
}
.fw-bold {
	font-weight: 600!important
}
.mb-1, h2#related-posts-title {
	margin-bottom: 1rem!important;
}
.mb-2 {
	margin-bottom: 2rem!important;
}
.mb-3 {
	margin-bottom: 3rem!important;
}
.bg-primary {
	background: var(--global-palette1)!important;
}
.bg-secondary {
	background: var(--global-palette2)!important;
}
.bg-light, .entry-related .card-articolo {
	background: var(--global-palette8)!important;
}
.flex-column-g24 {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
/* Pulsanti */
button, .button, .wp-block-button__link, .wp-element-button, input[type="button"], input[type="reset"], input[type="submit"] {
    padding: 0.7rem 2rem;
    font-size: 1rem;
    line-height: 1;
	border-radius: 0;
	text-transform: uppercase
}

.store-description {
    background: #f4f4f4;
    padding: 1rem;
    border-radius: 0.5rem;
	margin-bottom:1rem;
}
.card-orizzontale img{
	transition: 0.3s
}
.card-orizzontale:hover img{
	transform: scale(1.1)
}
.footer-menu ul {
	list-style: none;
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	display: flex;
	flex-direction: column;
	gap: 1.5rem
}
footer .social-link img {
	filter: invert(1)
}
/*
header .header-html, 
header .header-html .header-html-inner, 
header .header-html .header-html-inner .gspb_button_wrapper {
	height: 100%
}*/
header .spid-login-button {
	display: flex
}
.login-header {
    display: flex;

}
.login-header .gspb-buttonbox-text {
		text-decoration: none!important;
}
.login-header,
.gspb_slidingPanel  a.wp-element-button {
	text-decoration: none!important
}
.gspb_slidingPanel-inner {
	padding: 1rem!important;
}
.drawer-sub-toggle svg.kadence-svg-icon.kadence-arrow-down-svg {
    fill: var(--global-palette3);
    width: 2rem !important;
	height: 1.5rem;
}
.testata-pattern {
	min-height: 80vh;
}
div#ajaxsearchliteres2, div#ajaxsearchliteres1 {
    padding: 0.15rem;
    background: #ededed;
}
.result h3:has(.asl_res_url) {
    line-height: 1em !important;
}
footer .social-link {
	column-gap: 1rem!important
}
footer .custom-menu {
		font-size: 1rem!important;
	}
@media(max-width: 992px) {
	.testata-pattern {
		min-height: 50vh;
	}
}
@media(max-width: 768px) {
	.testata-pattern {
		min-height : 300px;
	}
	footer .social-link {
		justify-content: center!important
	}
	footer .social-link img{
		height: 1.5rem
	}
	footer .custom-menu ul li {
		font-size: 1rem!important;
	}
	footer .flex-column-g24, .footer-menu ul {
		gap: 1rem;
	}
}
a.card-orizzontale {
	color: var(--global-palette4)
}
a.card-orizzontale:hover {
	color: var(--global-palette2)
}
a.card-orizzontale:hover h3{
	color: var(--global-palette1)!important
}
/*--------------OBIETTIVI--------------*/
.grid-obiettivi__item1 { grid-area: item1; }
.grid-obiettivi__item2 { grid-area: item2; }
.grid-obiettivi__item3 { grid-area: item3; }
.grid-obiettivi__item4 { grid-area: item4; }
.grid-obiettivi__item5 { grid-area: item5; }
.grid-obiettivi__item6 { grid-area: item6; }

.grid-obiettivi {
	display: grid;
	gap: 10px;
	padding: 10px;
	grid-template-areas:
		'item1 item2 item3 item3 item6 item6 item6  item6'
		'item4 item4 item3 item3 item6 item6 item6  item6'
		'item4 item4 item5 item5 item6 item6 item6  item6' 
		'item4 item4 item5 item5 item6 item6 item6  item6';
}
.grid-obiettivi__item1 img,
.grid-obiettivi__item2 img,
.grid-obiettivi__item3 img,
.grid-obiettivi__item4 img,
.grid-obiettivi__item5 img,
.grid-obiettivi__item6 img{
	width: 100%;
	height: 100%;
	object-fit: cover
}
@media(max-width: 992px) {
	.grid-obiettivi { 
		display: flex;
		flex-wrap: wrap
	}
	.grid-obiettivi__item1,
	.grid-obiettivi__item2,
	.grid-obiettivi__item3,
	.grid-obiettivi__item4,
	.grid-obiettivi__item5,
	.grid-obiettivi__item6{
		width: calc(50% - 5px);
	}
}
@media(max-width: 768px) {
	.grid-obiettivi__item1,
	.grid-obiettivi__item2,
	.grid-obiettivi__item3,
	.grid-obiettivi__item4,
	.grid-obiettivi__item5,
	.grid-obiettivi__item6{
		width: 100%;
	}
}
.slider-articoli li:has(.card-shadow) {
	padding: 1rem;
	box-sizing: border-box
}
.card-shadow {
	box-shadow: 0px 0px 1rem 0px rgba(0,0,0,0.1)
}
ul#archive-container, .single-post .content-area {
    margin-top: 5vw;
    margin-bottom: 5vw;
}
.sub-menu {
	border-radius: 10px;
	overflow: hidden!important;
} 
.elenco-ultimi-articoli {
	margin: 0;
}
.elenco-ultimi-articoli li{
	margin-top: 0.5rem;
}
.entry-related .card-shadow {
	box-shadow: none;
}
.nav-links svg {
    fill: var(--global-palette2);
}
.social-link-menu img {
    height: 1.5rem !important;
	filter: invert(1);
}
.single-post h1 {
	font-weight: 700!important;
	font-size: clamp(30px, 6vw, 55px) !important;
}
/*----------------------*/
div#ajaxsearchlite1 {
    min-width: 300px;
    color: black !important;
}
#ajaxsearchlite1 .probox .proinput input, div.asl_w .probox .proinput input {
    color: black !important;
	font-size: 14px
}
div.asl_w .probox .proinput input.orig::placeholder {
    color: black !important;
}
div.asl_w .probox .proinput input.orig:-ms-input-placeholder {
    color: black !important;
}
div.asl_w .probox .proinput input.orig::-ms-input-placeholder {
    color: black !important;
}
div.asl_r .results .item .asl_content h3, div.asl_r .results .item .asl_content h3 a {
    font-size: 0.875rem;
    color: var(--global-palette4);
	font-weight: 700!important;
}
.page .card__categoria {
    display: none;
}
.elenco-no-style {
	list-style: none;
	margin: 0!important;
	padding: 0!important;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.elenco-no-style a {
	text-decoration: none;
	transition: 0.2s!important
}
.elenco-no-style a:hover h3 {
	color: var(--global-palette2)!important;
	text-decoration: underline!important;
}
.error404 h1.page-title {
    display: none;
}
.error404 input.search-submit, .search  input.search-submit{
    background: var(--global-palette3) !important;
}
.error404 form.search-form, .search form.search-form{
    max-width: 600px;
    margin: 2rem auto;
}
.error404 p, .search p {
	text-align: center
}
.error404 .entry {
	margin-top: 0
}
