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

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

/*
 * Doozy da modificare...
 */

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

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

/* Tipografia */
/*
* p {
	margin:0;
}
*/
p:empty {
	display: none;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-weight: 800!important;
    margin-top: 0!important;
}
h1 strong, .h1 strong, h2 strong, .h2 strong, h3 strong, .h3 strong, h4 strong, .h4 strong, h5 strong, .h5 strong, h6 strong, .h6 strong {
	color: var(--global-palette1);
}
h1, .h1, .h1 > .gspb-dynamic-title-element,
.h1.gspb_meta>* {
    font-size: clamp(40px, 6vw, 64px)!important;
    line-height: 1.1 !important;
}
h2, .h2, .h2 > .gspb-dynamic-title-element,
.h2.gspb_meta>* {
    font-size: clamp(35px, 4vw, 50px)!important;
    line-height: 1.3 !important;
}
h3, .h3, .h3 > .gspb-dynamic-title-element,
.h3.gspb_meta>* {
    font-size: clamp(24px, 4vw, 32px)!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;
}
.font-light, h1.font-light, .h1.font-light, h2.font-light, .h2.font-light, h3.font-light, .h3.font-light, h4.font-light, .h4.font-light, h5.font-light, .h5.font-light, h6.font-light, .h6.font-light {
	font-weight: 500!important;
}
.fs-24 {
	font-size: clamp(1.25rem, 2.5vw, 1.5rem)!important;
}
.fs-20 {
	font-size: clamp(1rem, 2.5vw, 1.25rem)!important;
}
.text-white,
.text-white h1, .text-white .h1, 
.text-white h2, .text-white .h2,
.text-white h3, .text-white .h3,
.text-white h4, .text-white .h4,
.text-white h5, .text-white .h5,
.text-white h6, .text-white .h6 { 
	color: white!important
}
/* Pulsanti */
button, .button, .wp-block-button__link, .wp-element-button, input[type="button"], input[type="reset"], input[type="submit"] {
    border-radius: 0.5rem;
    padding: 0.6rem 1.25rem;
    font-size: 1.25rem;
    line-height: 1.1;
	border-width: 1.5px;
	border-style: solid;
	text-align: center;
	font-weight: 600
}
.button-white button, .button, 
.button-white .wp-block-button__link, 
.button-white .wp-element-button, 
.button-white input[type="button"], 
.button-white input[type="submit"] {
	color: white;
	border: 1px solid white;
}
.button-white button:hover, 
.button-white .button:hover, 
.button-white .wp-block-button__link:hover, 
.button-white .wp-element-button:hover, 
.button-white input[type="button"]:hover, 
.button-white input[type="submit"]:hover {
	color: var(--global-palette4);
	background: white!important;
	border: 1px solid white;
}
.big-button button, 
.big-button .button, 
.big-button .wp-block-button__link, 
.big-button .wp-element-button, 
.big-button input[type="button"], 
.big-button input[type="submit"] {
	  padding: 1.75rem 3.75rem!important;
	border-radius: 1rem
}
.button-primario button, 
.button-primario .button, 
.button-primario .wp-block-button__link, 
.button-primario .wp-element-button, 
.button-primario input[type="button"], 
.button-primario input[type="submit"] {
	color: white!important;;
	background: var(--global-palette1)!important;;
	border: 1px solid var(--global-palette1)!important;;
}
.button-primario button:hover, 
.button-primario .button:hover, 
.button-primario .wp-block-button__link:hover, 
.button-primario .wp-element-button:hover, 
.button-primario input[type="button"]:hover, 
.button-primario input[type="submit"]:hover {
	color: var(--global-palette1)!important;
	background: transparent!important;
	border: 1px solid var(--global-palette1)!important;
}
.gspb_button_wrapper:has(.button-menu) {

	border-radius: 8px;
	transition: 0.3s;
}
.gspb_button_wrapper:has(.button-menu):hover {
	background: var(--global-palette1);
}
.gspb_button_wrapper:has(.button-menu):hover .button-menu{
	filter: invert(1)
}
.button-menu {
	padding: 0.75rem !important;
    border: 0;
	background: transparent!important;
}
.header-html-inner:has(.button-menu) {
    display: flex;
    align-items: center;
}
.item-at-start .button-menu, .item-at-start .header-html2 .social-link img{
	filter: invert(1)
}
.header-html2 .social-link .wp-block-greenshift-blocks-dynamic-post-image{
	padding: 0.5rem;
	border-radius: 0.5rem;
}
.header-html2 .social-link .wp-block-greenshift-blocks-dynamic-post-image:hover {
	background: var(--global-palette1);
}
.header-html2 .social-link .wp-block-greenshift-blocks-dynamic-post-image:hover img {
	filter: invert(1);
}
.contatti .button {
	border-color: var(--nero);
	padding:1.5rem 3rem;
}
.contatti .button a {
	text-decoration:none;
	font-size:1.5rem;
}
.contatti .button:hover a {
	color:#fff;
}


header .custom-nav ul {
	flex-direction: column;
	display: flex;
	gap: 0rem;
	font-size: 45px;
	margin: 0;
	list-style: none;
	font-weight: 700;
}
footer ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	font-weight: 700;
	margin: 0
}
header .gspb_slidingPanel-inner {
	padding: 0!important;
	overflow: visible!important;
}
footer .social-link img {
	filter: invert(1)
}
@media(max-width: 992px) {
	footer ul {
		flex-direction: column;
		align-items: center;
		gap: 1.25rem;
	}
}
article.evento h2, article.racconto h2   {
	font-size: clamp(20px, 3.5vw, 24px)!important;
}
@media(min-width: 992.98px) {
	li article.racconto .post-thumbnail {
		height: 100%
	}
}
@media(max-width: 992px) {
	li article.racconto .entry-content-wrap {
		padding-left: 0;
		padding-right: 0
	}
}
.elenco-custom {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	padding-left: 1.5rem !important;
}
.mb-2 {
	margin-bottom: 2rem!important;
}
.mb-5 {
	margin-bottom: 5rem!important;
}
.bottone-filtri input[type=checkbox]:checked + .gspb-checkbox__label {
	background: var(--global-palette1);
}
.bibiliografia ul.elenco-custom {
	margin-left: 0;
	padding-left: 0!important
}
nav.navigation.pagination {
	text-align: center;
	font-weight: 600;
}
.page-numbers {
	border-radius: 50px!important;
}
.page-numbers:hover,
nav.navigation.pagination .current {
	background: var(--global-palette1);
	color: white;
}