/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.1.2
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

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

/*
 * Doozy da modificare...
 */

/* Colori */
:root {
    --primario: var(--global-palette1);
    --accento: var(--global-palette2);
    --secondario: var(--global-palette3);
    --light: var(--global-palette8);
    --light-blue: var(--global-palette7);
    --bianco: var(--global-palette9);
	--colore-corso: 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;
}
* {
	box-sizing: border-box
}
/* Tipografia */
* p {
	margin-top: 0;
}
* p:last-child {
	margin:0;
}
p {
	line-height: 1.75em
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
    font-weight: 600!important;
    margin-top: 0!important;
	/* margin-bottom: 1rem!important; */
}

h1, .h1, .h1 > .gspb-dynamic-title-element,
.h1.gspb_meta>* {
    font-size: clamp(30px, 6vw, 45px)!important;
    line-height: 1.2 !important;
	margin-bottom: 1rem
}
h2, .h2, .h2 > .gspb-dynamic-title-element,
.h2.gspb_meta>* {
    font-size: clamp(26px, 4vw, 32px)!important;
    line-height: 1.2 !important;
	margin-bottom: 1rem
}
h3, .h3, .h3 > .gspb-dynamic-title-element,
.h3.gspb_meta>*, .article-content h2 {
    font-size: clamp(26px, 4vw, 28px)!important;
    line-height: 1.2 !important;
	margin-bottom: 1rem
}
h4, .h4, .h4 > .gspb-dynamic-title-element,
.h4.gspb_meta>*,.article-content h3 {
    font-size: clamp(20px, 3.5vw, 24px)!important;
    line-height: 1.3 !important;
	margin-bottom: 1rem
}
h5, .h5, .h5 > .gspb-dynamic-title-element,
.h5.gspb_meta>*, .article-content h4 {
    font-size: clamp(18px, 3vw, 20px)!important;
    line-height: 1.4 !important;
	margin-bottom: 1rem
}
h6, .h6, .h6 > .gspb-dynamic-title-element,
.h6.gspb_meta>*, .article-content h5 {
    font-size: clamp(1rem, 2.5vw, 1rem)!important;
    line-height: 1.4 !important;
	margin-bottom: 1rem
}
.titoletto {
	color: var(--global-palette2)!important;
	font-size: 1.5rem!important;
	margin-bottom: 0.75rem
}
h1 strong, 
.h1 strong,
h2 strong,
.h2 strong,
h3 strong,
.h3 strong,
h4 strong,
.h4 strong,
h5 strong,
.h5 strong,
h6 strong,
.h6 strong{
   position: relative;
z-index: 0;
}
h1 strong:before,
.h1 strong:before,
h2 strong:before,
.h2 strong:before,
h3 strong:before,
.h3 strong:before,
h4 strong:before,
.h4 strong:before,
h5 strong:before,
.h5 strong:before,
h6 strong:before,
.h6 strong:before{
    content: '';
    position: absolute;
    width: calc(100% + 10px);
    height: 120%;
    background-image: url('/wp-content/uploads/2025/06/verniciata.svg');
    background-size: 100%;
    background-position: center;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
	background-repeat: no-repeat
}

.radius-40 {
	border-radius: 40px;
}
.text-white, .text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6 {
	color: white!important
}
.citazione span {
    display: block;
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: -2rem;
}

/* Pulsanti */
button:not(.drawer-toggle), .button, .wp-block-button__link, .wp-element-button, input[type="button"], input[type="reset"], input[type="submit"] {
    border-radius: 9rem!important;
    padding: 0.75rem 2rem!important;
    font-size: 1rem!important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    font-family: var(--global-heading-font-family) !important;
    text-transform: uppercase;
	text-align: center!important;

}
.button {
	display: flex !important;
    align-items: center;
	justify-content: center;
}
.button-primario {
	background: var(--global-palette2)!important;
	color: var(--global-palette1);
}
.button-primario:hover {
	background: var(--global-palette1)!important;
	color: #fff;
	border-color:  var(--global-palette1)!important;
}
.button-primario.bordo-giallo {
border: 1px solid var(--global-palette2)!important
}
@media(max-width: 992px) {
	.single-docenti .button {
		 padding: 0.5rem 1rem!important;
	}
}

header a.button.header-button.button-size-small.button-style-filled {
    font-size: 1rem !important;
	line-height: normal;
	padding: 0.75rem 2rem;
	line-height: 1.2!important
}
header a.button.header-button.button-size-small.button-style-filled:hover,header a.button.header-button.button-size-small.button-style-filled:focus {
    background: var(--global-palette1)!important;
	border-color:  var(--global-palette1)!important;
	
}
/* LINK */
a:has(img) {
  background: transparent!important
}
/* HEADER */
.site-main-header-wrap .site-container {
	 background: rgba(255, 255, 255, 0.85)!important;
	border-radius: 9rem;
	border: 2px solid #fff;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10.8px);
	margin-top: 1rem;
	max-width: calc(var(--global-content-width) - var(--global-content-edge-padding));
	box-shadow: 0px 0px 17px rgba(0,0,0,0.05);
}
#main-header, #mobile-header {
	margin-bottom: -123px!important;
	position: fixed!important;
	top: 0;
	width: 100%;
}
.main-navigation ul#primary-menu {
	font-size: 16px
}
#masthead, #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start):not(.site-header-row-container):not(.site-main-header-wrap), #masthead .kadence-sticky-header.item-is-fixed:not(.item-at-start) > .site-header-row-container-inner {
    background: tramsparent;
}
@media(max-width: 1200px) {
	.site-main-header-wrap .site-container {
			max-width: calc(100% - var(--global-content-edge-padding));
		}
}
.mobile-html-inner img.custom-logo {
    width: 120px;
    margin-bottom: 2rem;
}	
#mobile-drawer .drawer-header {
	position: absolute;
    top: 1rem;
    right: 0rem;
}
.mobile-html-inner .a.custom-logo-link {
    display: block;
    width: 120px;
}
.button.menu-toggle-close.drawer-toggle {
	padding: 1rem!important;
}
.popup-drawer .drawer-header .drawer-toggle {
    border-radius: 9rem !important;
}
.mobile-html-inner ul.blocco-social__list {
	justify-content: flex-start
}
.mobile-html-inner ul.blocco-social__list li a .social-item {
    background: var(--global-palette1);
}
@media(max-width: 767.98px) {
	.site-header-row-container-inner .site-container {
		padding: 0 14px;
	}
	.radius-40 {
		border-radius: 20px;
	}
}
.menu-corsi-footer {
	margin: 0!important;
}
.menu-corsi-footer li{
	margin-bottom: 0.25rem!important;
}

/* Fix current menu */
.header-navigation .header-menu-container ul ul li.menu-item.current-menu-item:nth-child(-n+3) > a {
    color: inherit;
    background: inherit;
}
.header-navigation .header-menu-container ul ul li.menu-item.current-menu-item:nth-child(-n+3) > a:hover {
    color: var(--global-palette9);
    background: var(--global-palette1);
}

/*------------------------------------------------------------*/
.numeri-ripetitore ul li:nth-child(2) {
    display: flex;
    align-items: flex-end;
}
.ripetitore-item{
	position: relative;
	z-index: 1;
}
.numeri-ripetitore ul li:nth-child(2) .ripetitore-item {
    border-radius: 0 20px 0 0!important;
	transition-delay: 200ms!important
}
.numeri-ripetitore ul li:nth-child(1) .ripetitore-item, .numeri-ripetitore ul li:nth-child(4) .ripetitore-item {
    border-radius: 20px 0px 0 0!important;
}
.numeri-ripetitore ul li:nth-child(3) .ripetitore-item {
    border-radius: 0px 0px 0 20px!important;
	transition-delay: 300ms!important
}
.numeri-ripetitore ul li:nth-child(2) .ripetitore-item-box:before {
	content: '';
    position: absolute;
    width: 90%;
    height: 150px;
    background-image: url(/wp-content/uploads/2025/06/ricciolo-1.png);
    background-size: contain;
    background-position: center;
    top: -98px;
    right: 25%;
    z-index:0;
    background-repeat: no-repeat;
}
.numeri-ripetitore ul li:nth-child(3) .ripetitore-item-box:before {
	content: '';
    position: absolute;
    width: 87%;
    height: 120px;
    background-image: url(/wp-content/uploads/2025/06/ricciolo-2.png);
    background-size: contain;
    background-position: center;
    bottom: -70px;
    left: 50%;
    z-index:0;
    background-repeat: no-repeat;
}
.single-corsi .numeri-ripetitore ul li:nth-child(3) .ripetitore-item-box:before,
.page-template-azienda .numeri-ripetitore ul li:nth-child(3) .ripetitore-item-box:before { 
	display: none
}
@media(max-width: 992px) {
	.ripetitore-item-box {
		height: 100%;
	}
	
	.ripetitore-item-box .ripetitore-item {
		height: 100%
	}	
	
}
@media(min-width: 1992px ){
	.dito {
		position: absolute;
		bottom: -159px!important;
		left: -5vw;
	}
	.citazione {
		margin-top: 3rem!important
	}
}
/*-----------------FAQ------------------------------*/
.ewd-ufaq-faq-div {
    border-top: 1px solid  var(--global-palette6);
	padding: 1rem 0!important
}
.ewd-ufaq-post-margin-symbol.ewd-ufaq- {
    display: none;
}
.ewd-ufaq-faq-body {
	padding-left: 1rem!important
}
.ewd-ufaq-faq-title.ewd-ufaq-faq-toggle {
    position: relative;
}
.ewd-ufaq-faq-title.ewd-ufaq-faq-toggle:after {
    content: '';
	position: absolute;
	right: 0;
	height: 100%;
	width: 30px;
	background-image: url('/wp-content/uploads/2025/06/faq-arrow.svg');
	background-size: contain;
	background-position: center;
	top: 0;
	background-repeat: no-repeat;
	transition: 0.3s;
}
.ewd-ufaq-post-active .ewd-ufaq-faq-title.ewd-ufaq-faq-toggle:after { 
	transform: rotate(180deg)
}
.ewd-ufaq-faq-title-text h4 {
	font-size: 20px!important
}
@media(max-width: 992px) {
	.ewd-ufaq-faq-title.ewd-ufaq-faq-toggle:after {
		width: 20px;
	}
}
/*----------------------------*/

.gooey{
 background: var(--global-palette2);
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  width: 260px; 
	height: 315px;
  animation: morph 3s linear infinite; 
  transform-style: preserve-3d;
  outline: 1px solid transparent;
  will-change: border-radius;
}

@keyframes morph{
  0%,100%{
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    transform: translate3d(0,0,0) rotateZ(0.01deg);
  }
  34%{
      border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
    transform:  translate3d(0,5px,0) rotateZ(0.01deg);
  }
  50%{
    opacity: .89;
    transform: translate3d(0,0,0) rotateZ(0.01deg);
  }
  67%{
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60% ;
    transform: translate3d(0,-3px,0) rotateZ(0.01deg);
  }
}
.card-corso .gspb-dynamic-post-image {
    height: 100%!important;
}
.archive .grid-cols {
    display: grid;
    -webkit-column-gap: 2rem!important;
    -moz-column-gap: 2rem!important;
    column-gap: 2rem!important;
    row-gap: 2rem!important;
}
@media(max-width: 1200px) {
	.testata-archivio {
		background-size: cover!important;
		background-position: center;
	}
}
@media(max-width: 992px) {
	.gooey{
	 	background: var(--global-palette2);
	  	border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
	 	 width: 200px; 
		height: 200px;
	  	animation: morph 3s linear infinite; 
	  	transform-style: preserve-3d;
	  	outline: 1px solid transparent;
	  	will-change: border-radius;
	}
}
/*--------------------------------------------*/
.before-white::before {
    background: white;
    height: 100%;
   	width: 130%;
    left: -130%;
    content: '';
    position: absolute;
    top: 0;
}
.after-white::after {
	background: white;
    height: 100%;
    width: 130%;
    right: -130%;
    content: '';
    position: absolute;
    top: 0;
}
.position-absolute {
	position: absolute!important;
}
@media(max-width: 992px) {
	.position-absolute {
		position: relative!important;
	}
}
.bg-corso, .bg-corso .gspb_iconBox__wrapper {
	background: var(--colore-corso)!important;
}
.bg-corso:has(.gspb_iconBox__wrapper) {
	background: transparent!important;
}
.bg-corso .gspb_iconBox__wrapper {
	border-radius: 50px
}
.bg-corso::before {
	background: var(--colore-corso)!important;
}
.bg-corso-outline {
	background-color: transparent!important;
	border: 3px solid var(--colore-corso)!important;
	color: var(--global-palette1)!important;
}
.corso-singolo__video:empty {
	display: none
}
.gspb-buttonbox.bg-corso:hover {
	background-color: var(--global-palette2)!important;
}
.gspb-buttonbox.bg-corso-outline:hover {
	background-color: var(--global-palette2)!important;
	border: 3px solid var(--global-palette2)!important;
	color:white!important;
}
.text-corso {
	color: var(--colore-corso)!important;
}
.immagine-evidenza {
	height: 100%
}
.immagine-evidenza img {
	position: sticky;
	top: 150px;
}
.text-white, .text-white h1, .text-white h2, .text-white h3, .text-white h4, .text-white h5, .text-white h6 {
	color: white!important;
}
.corso-docente .gspbgrid_item_link {
    z-index: 10!important;
}
.post-type-archive-docenti div#primary {
    margin-top: 0;
    background: white;
    padding-top: 30px;
    padding-bottom: 5vw;
    margin-bottom: 0;
}
.docenti-vip-archivio li.type-docenti, .docenti-vip-archivio li.type-docenti img {
    transition: 0.5s;
}
.docenti-vip-archivio li.type-docenti:hover {
    transform: translateY(-10px);
}
.docenti-vip-archivio li.type-docenti:hover img {
    transform: scale(1.1)
}
/* Nascondi il pulsante per default (desktop) */
.wpc-filter-layout-submit-button {
    display: none!important;
}

/* Mostra solo su schermi piccoli (ad esempio < 768px) */

.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label {
    border-radius: 50px!important;
    overflow: hidden!important;
}
.wpc-filter-link {
	margin-right: 0!important;
}
.widget-title {
	display: none!important
}
.widget_wpc_filters_widget, .wpc-filters-ul-list, .wpc-filters-section {
	margin-bottom: 0!important;
}
.wpc-filters-ul-list {
	justify-content: center!important;
    gap: 0.5rem;
}

@media screen and (max-width: 768px) {
    .wpc-filters-widget-controls-container .wpc-filter-layout-submit-button {
        display: inline-block!important;
    }
	.wpc-filters-submit-button, .wpc-filters-reset-button {
		display: none!Important;
	}
	.wpc-filters-ul-list {
		justify-content: flex-start!important;
		gap: 0.5rem;
	}
	.wpc-filters-widget-wrapper {
		border-top: 1px solid var(--global-palette1);
	}
	.wpc-filters-section.wpc-filters-section-1294.wpc-filter-layout-submit-button {
		height: 0 !important;
		overflow: hidden;
		display: none !Important;
	}
}
.wpc-filters-open-button-container {
	margin: 0!important;
	text-align: center!Important;
}
a.wpc-filters-open-widget {
    width: 100%;
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    border-radius: 50px!important;
    background: white!important;
    text-transform: uppercase!important;
    font-family: 'Barlow', sans-serif!important;
    font-weight: 600;
}
.navigation.pagination .nav-links {
	display: flex;
	justify-content: center;
}
.page-numbers {
	border-radius: 50px!important;
}
.swiper-pagination-bullet {
    background-color: var(--global-palette1);
        width: 12px!important;
    height: 12px!important;
}
.form-azzurro input, .form-azzurro textarea, .form-azzurro select {
    background-color: white !important;
}
.form-azzurro .flex-form select {
    background: white no-repeat calc(100% - 1rem) url(/wp-content/uploads/2025/07/CaretRight.png) !important;
}
.requisiti .gs-accordion-item__heading {
	font-family: var(--global-heading-font-family)!important;
  font-weight: 600;
	text-transform: uppercase
}
.requisiti .gs-accordion-item__text {
	margin-top: -1rem
}
.bg-bianco .swiper-button-prev--articoli, 
.bg-bianco .swiper-button-next--articoli {
    background:  white!important;
}
.glass {
	background: rgba(255, 255, 255, 0.85)!important;
    backdrop-filter: blur(10px)!important;
    -webkit-backdrop-filter: blur(10.8px)!important;
}
.index-menu {
    transform: translateX(-100%)!important;
    transition: 0.4s ease!important;
	position: fixed!important;
	z-index: 31!important;
	top: 50%!important;
	position: fixed !important;
    z-index: 31 !important;
    top: 43% !important;
    height: 200px;
    padding: 2rem;
    display: flex;
    box-sizing: border-box;
}

.index-menu.active {
    transform: translateX(0)!important;;
}
.index-menu ul {
	margin: 0!important
}
.index-button {
	position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background: #000;
    color: #fff;
    padding: 10px 5px;
    font-size: 16px;
    letter-spacing: 2px;
    z-index: 30;
    border-top-right-radius: 1rem!important;
    border-bottom-right-radius: 1rem!important;
	cursor: pointer
}
.index-button.hide-button {
	opacity: 0;
	visibility: hidden;
	transform:translateY(-50%) translateX(-50px)!important;
}
.index-button {
	opacity: 1;
	visibility: visible;
	transform: translateY(-50%) translateX(0px)!important;
}
.bg-corso.index-menu:has(.gspb_iconBox__wrapper) {
	background: var(--colore-corso)!important
}
.single-corsi .sottotitolo strong, .no-vernice strong, 
.article-content h2 strong, .article-content h3 strong, .article-content h4 strong, .article-content h5 strong, .article-content h6 strong,
.article-content h2 b, .article-content h3 b, .article-content h4 b, .article-content h5 b, .article-content h6 b{
 background: var(--global-palette2)
}
.article-content span {
	color: var(--global-palette1)!important
}
.article-content h2 a:hover, .article-content h3 a:hover, .article-content h4 a:hover, .article-content h5 a:hover, .article-content h6 a:hover {
	color: var(--global-palette1)!important;
	text-decoration: underline;
}

.single-corsi .sottotitolo strong:before,  .no-vernice strong:before,
.article-content h2 strong:before, .article-content h3 strong:before, .article-content h4 strong:before, .article-content h5 strong:before, .article-content h6 strong:before,
.article-content h2 b:before, .article-content h3 b:before, .article-content h4 b:before, .article-content h5 b:before, .article-content h6 b:before{
	display: none
}
.mappa-landing iframe {
    aspect-ratio: 4 / 3;
}
.youtube-embed-wrapper iframe  {
	width: 100%!important
}
.testata-archivio a.button {
    border: 2px solid var(--global-palette2) !important;
}
a.button.bg-corso.bg-corso-outline:hover {
    background: var(--global-palette2) !important;
    color: white !important;
    border-color: var(--global-palette2) !important;
}
.sticky-bottom {
	position: fixed!important;
	bottom: 1rem;
	transform: translateY(50px)!important;
	transition: 0.8s;
	opacity: 0;
	visibility: hidden;
	z-index: 11;
}
.sticky-bottom.sticky-active {
	transform: translateY(0px)!important;
	opacity: 1;
	visibility: visible;
}
.sticky-bottom .gspb_row__content {
	 background: rgba(255, 255, 255, 0.85);
	border-radius: 9rem;
	border: 2px solid #fff;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10.8px);
	margin-top: 1rem;
	max-width: calc(var(--global-content-width) - var(--global-content-edge-padding));
	border: 1px solid var(--global-palette8);
    box-shadow: 0px 0px 27px rgba(0,0,0,0.11);
}


/* 
 * Fixt temporaneo testi in base al colore di sfondo chiaro/scuro
 */

/* archivi */
.tax-categoria-corsi.term-2 .testata-archivio *,
.tax-categoria-corsi.term-6 .testata-archivio * {
	color:var(--global-palette3) !important; /* testo scuro */
}

/* singoli corsi */
.bg-corso * {
	color:var(--global-palette3) !important; /* default testo scuro */
}
.single-corsi.term-id-5 .bg-corso *:not(.bottone-outline),
.single-corsi.term-id-4 .bg-corso *:not(.bottone-outline),
.single-corsi.term-id-46 .bg-corso *:not(.bottone-outline),
.single-corsi.term-id-8 .bg-corso *:not(.bottone-outline),
.single-corsi.term-id-9 .bg-corso *:not(.bottone-outline),
.single-corsi.term-id-10 .bg-corso *:not(.bottone-outline) {
	color:var(--global-palette9) !important; /* testo chiaro */
}
