/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

:root {
  --bianco: #fff;
  --blu: #15254d;
  --mattone: #b1502f;
  --mattone-chiaro: #fff1ec;
  --nero: #000;
}

html :where([style*=border-color]) {
    border-style: hidden;
}

.max-1720 .fusion-builder-row {
    max-width: 1720px !important;
}

.max-1450 .fusion-builder-row {
    max-width: 1450px !important;
}

.max-1320 .fusion-builder-row {
    max-width: 1320px !important;
}

.max-1110 .fusion-builder-row {
    max-width: 1200px !important;
}

.post-content .fusion-title-heading p {
    margin-bottom: 0;
}

.bg-triangle .fusion-title-heading {
    display: flex;
    align-items: center;
}

.bg-triangle .fusion-title-heading.title-heading-center {
    justify-content: center;
}

.bg-triangle .fusion-title-heading::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0px 11px 11px 11px;
    border-color: transparent transparent var(--blu) transparent;
    transform: rotate(0deg);
    margin-right: 5px;
}

.svg-circle {
    padding: 0 !important;
    color: var(--blu);
    background-color: transparent;
    border: 1px solid var(--blu);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 48px;
}

p {
    margin-top: 0 !important;
}

.fusion-button .fa-arrow-right:before {
    content: "";
    width: 15px;
    height: 13px;
    display: inline-block;
    background: url(img/icona-freccia-bottone.svg) no-repeat center center; 
    background-size: 14px 13px;
}

.fusion-button:hover .fa-arrow-right:before,
.fusion-button:focus .fa-arrow-right:before,
.fusion-button:active .fa-arrow-right:before {
    background: url(img/icona-freccia-bottone-bianco.svg) no-repeat center center; 
    background-size: 14px 13px;
}

/* -------------------------------------------------------------------------------- */
/* ! Header */
/* -------------------------------------------------------------------------------- */

#header-megamenu .fusion-title-heading a {
    text-decoration: none;
    text-transform: uppercase;
}

#header-megamenu .menu-text {
    text-align: left !important;
}

@media (min-width : 1600px) {
    #header-asso .right>.fusion-column-wrapper {
        flex-direction: row;
    }

    #header-asso .awb-menu {
        order: 1;
    }
    
    #header-asso .fusion-social-links {
        order: 2;
        min-width: 125px;
    }

    #header-asso .bottom {
        display: none !important;
    }
}

@media (min-width: 1600px) and (max-width: 1750px) {
    #header-asso .awb-menu .awb-menu__main-li {
        margin-left: 12px !important;
        margin-right: 12px !important;
    }

    #header-asso .awb-menu .awb-menu__main-li:first-child {
        margin-left: 0 !important;
    }

    #header-asso .awb-menu .awb-menu__main-li:last-child {
        margin-right: 0 !important;
    }
}

@media (min-width: 1200px) and (max-width: 1599px) {
    #header-asso .left {
        width: 30% !important;
    }

    #header-asso .right {
        width: 70% !important;
    }

	#header-asso .right .awb-menu {
		display: none !important;
	}

    #header-asso .awb-menu .awb-menu__main-li {
        margin-left: 14px !important;
        margin-right: 14px !important;
    }

    #header-asso .awb-menu .awb-menu__main-li:first-child {
        margin-left: 0 !important;
    }

    #header-asso .awb-menu .awb-menu__main-li:last-child {
        margin-right: 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    #header-asso {
        padding-top: 20px;
        padding-bottom: 0;
    }

    #header-asso .right>.fusion-column-wrapper {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }

    #header-asso .bottom {
        display: none !important;
    }

    #header-asso .fusion-social-links {
        min-width: 125px;
    }

    #header-asso .right nav {
        width: 56px;
        margin-left: 45px;
    }
}

@media (max-width : 767px) {
    #header-asso {
        padding-top: 20px;
        padding-bottom: 0;
    }

    #header-asso .right>.fusion-column-wrapper {
        flex-direction: row;
        justify-content: flex-end;
        align-items: center;
    }

    #header-asso .fusion-social-links {
        min-width: 125px;
    }

    #header-asso .right nav {
        width: 36px;
        margin-left: 15px;
    }

    #header-asso .right nav button {
        padding-right: 0 !important;
    }
}

/* -------------------------------------------------------------------------------- */
/* ! Footer */
/* -------------------------------------------------------------------------------- */

#footer-1 .fusion-image-element {
    width: 160px;
    height: 160px;
    background-color: var(--bianco);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#footer-4 .fusion-button {
    display: none;
}

@media (min-width: 1200px) and (max-width: 1599px) {
    #footer-1 {
        display: none !important;
    }

    #footer-2 {
        width: 29.5% !important;
    }

    #footer-3 {
        width: 26% !important;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    #footer-1 {
        display: none !important;
    }

    #footer-2,
    #footer-3,
    #footer-4,
    #footer-5 {
        width: 50% !important;
    }
}

/* -------------------------------------------------------------------------------- */
/* ! Home Page */
/* -------------------------------------------------------------------------------- */

#hp-slide .numeri {
    padding-right: calc((100% - 1300px) / 2);
}

#hp-slide .numeri .fusion-row,
#hp-slide .fusion-column-wrapper {
    margin: 0;
}

@media (min-width : 1600px) {
    #hp-slide .fusion-counters-box {
        display: flex;
        justify-content: center;
        gap: 50px;
    }
}

#hp-slide .fusion-counter-box,
#hp-numeri-mobile .fusion-counter-box {
    position: relative;
    max-width: 345px;
    padding-left: 100px;
    text-align: left;
    overflow: visible;
}

#hp-slide .fusion-counter-box::before,
#hp-numeri-mobile .fusion-counter-box::before {
    content: '';
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 200px;
    background-color: var(--mattone-chiaro);
    position: absolute;
    top: 0;
    left: 0;
}

#hp-slide .fusion-counter-box .counter-box-container,
#hp-numeri-mobile .fusion-counter-box .counter-box-container {
    padding: 0;
    position: relative;
    z-index: 2;
}

#hp-slide .content-box-percentage, 
#hp-numeri-mobile .content-box-percentage {
    font-family: "Gilda Display", serif;
    border-bottom: 2px solid var(--blu);
    margin-bottom: 15px;
}

#hp-numeri-mobile .fusion-counter-box {
    padding-left: 50px;
    margin-bottom: 40px;
}

#hp-numeri-mobile .fusion-counter-box::before {
    width: 100px;
    height: 100px;
    border-radius: 100px;
}

#hp-intro {
    position: relative;
}

#hp-triangolo {
    position: absolute;
    z-index: -1;
    bottom: -100px;
    left: -20%;
}

@media (min-width : 1600px) {
    #hp-formazione .left,
    #hp-partners .left {
        padding-left: calc((100% - 1480px) / 2) !important;
    }
}

#hp-formazione .box-link .svg-circle {
    position: absolute;
    right: 0px;
    top: 45px;
    transition: all .3s cubic-bezier(.215, .61, .355, 1);
    opacity: 0;
    transform: translateX(-30px);
}

#hp-formazione .box-link:hover .titolo {
    color: var(--blu);
}

#hp-formazione .box-link:hover .svg-circle {
    transform: translateX(0px);
    opacity: 1;
}

#hp-partners .left .fusion-column-wrapper {
    margin-left: 0;
}

#hp-news .fusion-title,
#hp-news .fusion-title-heading,
#hp-news .news-excerpt-clean {
	color: white !important;
	-awb-text-color: white !important;
}

#hp-news .box-data {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
}

#hp-news .svg-circle {
    color: var(--bianco);
    border-color: var(--bianco);
}

#hp-news .box-articolo .fusion-classic-product-image-wrapper::before {
    content: '';
    display: block;
    position: absolute;
    z-index: 2;
    top: -20px;
    left: -20px;
    width: calc(100% + 20px);
    height: 200px;
    background: #000;
    background: linear-gradient(180deg,rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0) 100%);
    transition: all .3s cubic-bezier(.215, .61, .355, 1);
}

#hp-news .box-articolo:hover .fusion-classic-product-image-wrapper::before {
    height: 0;
}

@media (min-width: 992px) and (max-width: 1599px) {
    #hp-slide .fusion-title:not(.bg-triangle),
    #hp-slide h1 {
        font-size: 65px !important;
    }

    #hp-slide .fusion-title:not(.bg-triangle) {
        margin-bottom: 125px !important;
        font-size: 65px !important;
    }

    #hp-perche-sceglierci .left,
    #hp-perche-sceglierci .right {
        width: 100% !important;
    }

    #hp-formazione .left .fusion-column-wrapper {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

    #hp-partners .left .fusion-column-wrapper {
        padding-left: 40px !important;
    }

    #hp-recensioni .testo {
        font-size: 25px !important;
        line-height: 1.2 !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #hp-formazione .left .fusion-column-wrapper {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    #hp-recensioni .testo {
        font-size: 23px !important;
        line-height: 1.2 !important;
    }

    #hp-slide .fusion-counter-box::before {
        width: 100px;
        height: 100px;
        border-radius: 100px;
    }

    #hp-slide .fusion-counters-box .content-box-counter {
        font-size: 70px;
    }

    #hp-slide .fusion-counter-box {
        padding-left: 50px;
    }
    
    #hp-intro h2 {
        font-size: 39px !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #hp-slide .fusion-title:not(.bg-triangle),
    #hp-slide h1 {
        font-size: 55px !important;
    }

    #hp-slide .fusion-title:not(.bg-triangle) {
        margin-bottom: 125px !important;
        font-size: 55px !important;
    }

    #hp-slide .fusion-counters-box {
        gap: 35px;
    }

    #hp-slide .fusion-counter-box::before {
        width: 100px;
        height: 100px;
        border-radius: 100px;
    }

    #hp-slide .fusion-counters-box .content-box-counter {
        font-size: 50px;
    }

    #hp-slide .fusion-counter-box {
        padding-left: 50px;
    }
    
    #hp-intro h2 {
        font-size: 39px !important;
    }

    #hp-perche-sceglierci .left,
    #hp-perche-sceglierci .right {
        width: 100% !important;
    }

    #hp-perche-sceglierci h2 {
        font-size: 60px !important;
    }

    #hp-perche-sceglierci .fusion-builder-row-inner .fusion-title-heading {
        font-size: 25px !important;
    }

    #hp-formazione .left .fusion-column-wrapper {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    #hp-partners .left .fusion-column-wrapper {
        padding-left: 40px !important;
    }

    #hp-recensioni .testo {
        font-size: 18px !important;
        line-height: 1.2 !important;
    }
}

@media (max-width : 767px) {
    #hp-slide .fusion-title:not(.bg-triangle),
    #hp-slide h1 {
        font-size: 40px !important;
    }

    #hp-intro h2 {
        font-size: 30px !important;
    }

    #hp-recensioni .testo {
        font-size: 22px !important;
        line-height: 1.2 !important;
    }
}

.home-carousel-review .fusion-builder-row-inner {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.home-carousel-review .fusion-builder-row-inner .fusion_builder_column_inner {
    width: fit-content;
}

/* -------------------------------------------------------------------------------- */
/* ! Diventa socio - Lavora con noi */
/* -------------------------------------------------------------------------------- */

#header-interna {
    overflow: hidden;
    z-index: 10 !important;
}

#header-interna .fusion-title-1 {
    position: relative;
    z-index: 3;
}

#header-interna .fusion-title-2 {
    position: absolute;
    top: 40%;
    z-index: 2;
}

#content-socio .left .fusion-checklist-2 strong {
    color: var(--mattone);
    font-weight: 400;
}

#content-socio #responsive-form {
    max-width: 845px;
}

#content-lavora #responsive-form {
    max-width: 650px;
}

@media (min-width : 1600px) {
    #content-socio .left,
    #content-lavora .left {
        padding-left: calc((100% - 1480px) / 2) !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #header-interna .fusion-title-2 {
        top: 60%;
    }

    #header-interna h1 {
        font-size: 55px !important;
    }

    #content-socio .left h2,
    #content-lavora .left h2 {
        font-size: 45px !important;
    }
}

@media (max-width : 767px) {
    #header-interna .fusion-title-2 {
        top: 130%;
    }

    #header-interna.double .fusion-title-2 {
        top: 95%;
    }

    #content-socio .right .fusion-title-5 .fusion-title-heading,
    #content-lavora .right .fusion-title-5 .fusion-title-heading {
        font-size: 33px !important;
    }
}

/* -------------------------------------------------------------------------------- */
/* ! Form responsive
/* -------------------------------------------------------------------------------- */

#responsive-form .form-row {
	width: 100%;
	display: flex;
	flex-wrap: wrap;
	column-gap: 30px;
	row-gap: 10px;
}

#responsive-form .column-half, #responsive-form .column-full {
	width: 100%;
}

#responsive-form .wpcf7-list-item {
	margin: 0;
	display: block;
}

#responsive-form .wpcf7-text:focus {
    background-color: var(--bianco);
}

#responsive-form select {
    border-radius: 5px;
    border: 1px solid #dbdbdb;
    background-color: #fff;
    margin-top: 5px;
}

#responsive-form .wpcf7-list-item-label {
    font-size: 14px;
}

#responsive-form .wpcf7-submit {
    font-size: 20px;
    padding: 13px 75px 13px 45px;
    background: url(img/icona-freccia-bottone-bianco.svg) no-repeat 90% center; 
    background-size: 21px 20px;
    background-color: var(--blu);
    border-color: var(--blu);
    color: var(--bianco);
}

#responsive-form .wpcf7-submit:hover,
#responsive-form .wpcf7-submit:focus,
#responsive-form .wpcf7-submit:active {
    background: url(img/icona-freccia-bottone.svg) no-repeat 90% center; 
    background-size: 21px 20px;
    background-color: var(--bianco);
    border-color: var(--nero);
    color: var(--nero);
}

@media (min-width: 768px) {
	#responsive-form .column-half {
		width:calc(50% - 15px);
	}
}

/* FORM CORSO */
.ap-form-corso h3 {
	font-weight: 800 !important;
	width: 100%;
}

#responsive-form .form-row.form-corso {
	display: block;
}

#responsive-form .form-corso .form-box {
	display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 10px;
	background-color: #f5f5f5;
	padding: 20px 24px;
	margin-bottom: 24px;
}

#responsive-form .form-corso .ap-form-button {
	text-align: center;
}

#responsive-form .form-corso .ap-add-partecipante {
    font-size: 16px;
    padding: 13px 60px 13px 30px;
    background: url(img/icona-freccia-bottone-bianco.svg) no-repeat 90% center;
    background-size: 21px 20px;
    background-color: var(--blu);
    border-color: var(--blu);
    color: var(--bianco);
    border-radius: 50px;
    transition: .2s ease;
}

#responsive-form .form-corso .ap-add-partecipante:hover {
    background: url(img/icona-freccia-bottone.svg) no-repeat 90% center;
    background-size: 21px 20px;
    background-color: var(--bianco);
    border-color: var(--nero);
    color: var(--nero);
}

#responsive-form .form-corso .ap-remove-partecipante {
    font-size: 16px;
    padding: 13px 30px;
    background-color: var(--blu);
    border-color: var(--blu);
    color: var(--bianco);
    border-radius: 50px;
    transition: .2s ease;
}

#responsive-form .form-corso .ap-remove-partecipante:hover {
    background-color: var(--bianco);
    border-color: var(--nero);
    color: var(--nero);
}

@media screen and (min-width: 768px) {
	#responsive-form .form-corso .form-box {
		padding: 28px 36px;
	}
	
	#responsive-form .form-corso .ap-form-acceptance {
		margin-left: 32px;
		margin-bottom: 28px;
	}
	
	#responsive-form .form-corso .ap-form-button {
		text-align: right;
		padding-right: 24px;
	}
}

@media screen and (min-width: 1024px) {
	.ap-form-corso .form-corso .form-box h3 {
		margin-bottom: 18px;
	}
	
	#responsive-form .form-corso .form-box {
		margin-bottom: 38px;
	}
}

@media screen and (min-width: 1400px) {
	.ap-form-corso .form-corso .form-box h3 {
		margin-bottom: 24px;
	}
	
	#responsive-form .form-corso .form-box {
		padding: 44px 52px;
		margin-bottom: 52px;
	}
	
	#responsive-form .form-corso .form-box.form-box-last {
		margin-bottom: 32px;
	}
}

/* -------------------------------------------------------------------------------- */
/* ! Convenzioni
/* -------------------------------------------------------------------------------- */

.box-convenzione {
    margin-bottom: 35px !important;
}

#convenzioni-triangolo {
    position: absolute;
    top: 10%;
    left: -33%;
    z-index: 1;
}

@media (min-width : 1600px) {
    .box-convenzione .left {
        padding-left: calc((100% - 1480px) / 2) !important;
    }
}

@media (min-width : 768px) {
    .box-convenzione .right {
        width: calc(60% + 70px);
        margin-left: -70px !important;
        min-height: 475px;
    }
}

/* -------------------------------------------------------------------------------- */
/* ! Contatti
/* -------------------------------------------------------------------------------- */

#tabella-orari p {
    margin-bottom: 3px;
}

#tabella-orari strong,
#tabella-orari em {
    display: inline-block;
}

#tabella-orari strong {
    font-weight: 400;
    width: 75px;
}

#tabella-orari em {
    font-style: normal;
    width: 145px;
}

#contatti-mappa #responsive-form {
    max-width: 650px;
}

#contatti-mappa #responsive-form .wpcf7-submit,
#content-lavora #responsive-form .wpcf7-submit {
    padding: 13px 105px;
}

.shortcode-map {
    -webkit-filter: grayscale(100%);
}

@media (max-width : 767px) {
    #tabella-orari em {
        width: 135px;
    }

    #tabella-orari strong {
        width: 64px;
    }
}

/* -------------------------------------------------------------------------------- */
/* ! Rassegna Stampa
/* -------------------------------------------------------------------------------- */

#content-stampa .fusion-toggle-heading {
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--blu);
    margin-right: 0;
    color: #083373;
}

#content-stampa .active .fusion-toggle-heading {
    color: var(--mattone);
}

#content-stampa .fusion-toggle-icon-wrapper {
    position: absolute;
    width: 45px;
    height: 45px;
    background: url(img/freccia-toggle-blu.svg) no-repeat center center; 
    background-size: cover;
    top: 50%;
    transform: translateY(-50%);
}

#content-stampa .active .fusion-toggle-icon-wrapper {
    background: url(img/freccia-toggle-mattone.svg) no-repeat center center; 
    background-size: cover;
}

#content-stampa .panel-title a .fa-fusion-box:before {
    content: '';
}

#content-stampa .panel-body p {
    margin-bottom: 0;
    padding: 20px 0;
    border-bottom: 1px solid #e8e8e8;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 5px;
}

#content-stampa .panel-body p strong {
    font-size: 16px;
    padding: 5px 10px;
    background-color: var(--mattone-chiaro);
    border-radius: 30px;
    margin-top: -2.5px;
}

#content-stampa .panel-body p em {
    max-width: calc(100% - 240px);
    padding-left: 5px;
    display: block;
    font-style: normal;
}

#content-stampa .panel-body p a {
    font-size: 18px;
    padding: 5px 13px;
    background-color: var(--mattone-chiaro);
    color: var(--mattone);
    border-radius: 30px;
    margin-top: -2.5px;
    text-decoration: none !important;
    margin-left: auto;
}

#content-stampa .panel-body p a:hover,
#content-stampa .panel-body p a:focus {
    color: var(--nero);
}

@media (max-width : 767px) {
    #content-stampa .panel-body p {
        flex-direction: column;
    }
    #content-stampa .panel-body p em {
        width: 100%;
        max-width: none;
    }

    #content-stampa .fusion-toggle-heading {
        font-size: 35px;
        padding-right: 40px;
    }
}

/* -------------------------------------------------------------------------------- */
/* ! Servizi
/* -------------------------------------------------------------------------------- */

.box-servizio .riquadro-blu {
    position: absolute;
    width: 85%;
    height: 300px;
    background-color: var(--blu);
}

.box-servizio .left .fusion-title em {
    font-size: 20px;
    font-style: normal;
    display: block;
}

.checklist-spunta .circle-yes {
    width: 23px !important;
    height: 23px !important;
    margin-top: 6px;
}

.checklist-spunta .circle-yes .fusion-li-icon {
    font-size: 11px;
}

.checklist-spunta .fusion-li-item-content {
    margin-inline-start: 35px !important;
}

@media (min-width: 992px) and (max-width: 1199px) {
    .box-servizio .left,
    .box-servizio .right {
        width: 50% !important;
    }
}

@media (max-width : 767px) {
    .box-servizio .left .titolo .fusion-column-wrapper {
        display: block !important;
    }

    .box-servizio .left>.fusion-column-wrapper,
    .box-servizio .right>.fusion-column-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .box-servizio .riquadro-blu {
        width: 90%;
    }

    .box-servizio .fusion-image-element .fusion-imageframe {
        max-width: 90% !important;
    }

    .box-servizio .titolo .fusion-image-element .fusion-imageframe {
        max-width: 50px !important;
    }
}

/* -------------------------------------------------------------------------------- */
/* ! Chi siamo */
/* -------------------------------------------------------------------------------- */

#cerchio-chisiamo {
    width: 315px;
    height: 315px;
    background-color: var(--mattone-chiaro);
    border-radius: 50%;
    position: absolute;
    margin-top: -46px;
    margin-left: -75px;
}

#chisiamo-intro .fusion-title br {
    display: none;
}

@media (min-width : 1600px) {
    #chisiamo-intro .fusion-title br {
        display: block;
    }
}



/* -------------------------------------------------------------------------------- */
/* ! CORSI */
/* -------------------------------------------------------------------------------- */
@media (min-width: 768px) {
    .ap-corsi .fusion-column-wrapper {
        min-height: 536px !important;
        justify-content: flex-start !important;
    }
}

@media (min-width: 1024px) {
    .ap-corsi .fusion-column-wrapper {
        min-height: 612px !important;
        justify-content: flex-start !important;
    }
}

@media (min-width: 1200px) {
    .ap-corsi .fusion-column-wrapper {
        min-height: 576px !important;
        justify-content: flex-start !important;
    }
}

@media (min-width: 1400px) {
    .ap-corsi .fusion-column-wrapper {
        min-height: 602px !important;
        justify-content: flex-start !important;
    }
}

.ap-corsi > div > div:last-of-type {
	margin-top:auto;
}

.ap-corsi .fusion-title-heading {
	font-weight: bold;
}

.assopadana-corsi-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.assopadana-corsi-filters .filter-btn {
    background: none;
    border: 0;
    padding: 0 0 10px 0;
    cursor: pointer;
    font-size: 18px;
    line-height: 1.3;
    color: #6da0d8;
    position: relative;
    font-family: 'Lexend', Arial, Helvetica, sans-serif;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.assopadana-corsi-filters .filter-btn:hover {
    color: #1d2858;
}

.assopadana-corsi-filters .filter-btn.active {
    color: #000;
}

.assopadana-corsi-filters .filter-btn.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background: #1d2858;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.assopadana-corsi-filters .filter-btn.active::after {
    transform: scaleX(1);
}

.ap-tipologia-holder {
    display: none !important;
}

.ap-corsi,
.ap-tipologia-card {
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.ap-corsi.is-leaving,
.ap-corsi.is-entering,
.ap-tipologia-card.is-leaving,
.ap-tipologia-card.is-entering {
    opacity: 0;
    transform: translateY(10px);
}

.ap-corsi:not(.is-hidden),
.ap-tipologia-card:not(.is-hidden) {
    opacity: 1;
    transform: translateY(0);
}

.ap-tipologie-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.ap-tipologia-card {
    background: #f5f5f5;
    display: flex;
    flex-direction: column;
}

.ap-tipologia-card .ap-corsi-pill-type  {
	padding: 0px 16px;
    border-radius: 25px;
    background: #b1502f;
    width: fit-content;
    color: white;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.ap-tipologia-card:nth-of-type(2n) .ap-corsi-pill-type {
	background-color: #f6a800;
}

.ap-tipologia-card__image {
    display: block;
    height: 270px;
    overflow: hidden;
}

.ap-tipologia-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ap-tipologia-card__content {
    padding: 28px 26px 32px;
    display: flex;
    flex-direction: column;
}

.ap-tipologia-card__content h5 {
    margin: 0 0 20px;
    text-transform: uppercase !important;
    font-weight: 800 !important;
    font-size: 24px !important;
}

@media screen and (min-width: 1600px) {
    .ap-tipologia-card__content h5 {
        font-size: 28px !important;
    }
}

.ap-tipologia-card__content p {
    margin-bottom: 0 !important;
}

.ap-tipologia-card__button {
    display: inline-flex;
    align-items: center;
    background-color: white;
    gap: 10px;
    margin-top: auto;
    padding: 12px 28px;
    border: 1px solid #000;
    border-radius: 999px;
    color: #000;
    width: fit-content;
    text-decoration: none !important;
    transition: .2s ease;

    &:hover {
        background-color: black;
        color: white;
    }
}

@media (max-width: 1024px) {
    .ap-tipologie-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .ap-tipologie-grid {
        grid-template-columns: 1fr;
    }
}

/* Dettaglio Corsi + Prossime edizioni */
.ap-breadcrumbs {
    margin-bottom: 32px;
    font-size: 15px;
}

.ap-breadcrumbs a {
    color: #6da0d8;
    font-weight: 600;
}

.ap-tipologia-detail__hero {
    display: grid;
    grid-template-columns: 40% 1fr;
    gap: 42px;
    align-items: flex-start;
}

.ap-tipologia-detail__image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.ap-tipologia-detail__content h3 {
    margin: 0 0 8px;
    text-transform: uppercase !important;
    font-weight: 800 !important;
}

.ap-tipologia-detail .ap-corsi-pill-type  {
	padding: 0px 16px;
    border-radius: 25px;
    background: #b1502f;
    width: fit-content;
    color: white;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.ap-tipologia-detail__description {
    margin-top: 28px;
}

.ap-tipologia-detail hr {
    margin: 55px 0 35px;
}

.ap-tipologia-detail .title-prox-edi {
    font-weight: 800;
    margin-bottom: 18px;
}

.ap-edizioni-list {
    background: #f5f5f5;
    padding: 0 30px;
}

.ap-edizione-row {
    display: grid;
    grid-template-columns: 120px 1fr 160px 360px 210px;
    gap: 20px;
    align-items: center;
    padding: 26px 0;
    border-bottom: 1px solid #ddd;
}

.ap-edizione-row:last-child {
    border-bottom: 0;
}

.ap-edizione-row .ap-corsi-pill-type  {
	padding: 0px 16px;
    border-radius: 25px;
    background: #b1502f;
    width: fit-content;
    color: white;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.ap-edizione-row:nth-of-type(2n) .ap-corsi-pill-type {
	background-color: #f6a800;
}

.ap-edizione-row__place,
.ap-edizione-row__duration {
    p {
        margin-bottom: 0 !important;
    }
}

.ap-edizione-row__button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    border: 1px solid #000;
    border-radius: 999px;
    padding: 12px 28px;
    color: #000;
    background-color: white;
    text-decoration: none !important;
    transition: .2s ease;

    &:hover {
        background-color: black;
        color: white;;
    }
}

@media (max-width: 1200px) {
    .ap-tipologia-detail__hero {
        grid-template-columns: 1fr;
    }

    .ap-edizione-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}


/* -------------------------------------------------------------------------------- */
/* ! Dettaglio Corsi
/* -------------------------------------------------------------------------------- */
.ap-single-corso-title h3 {
    text-transform: uppercase !important;
    
    &:last-of-type {
        margin-bottom: 8px !important;
    }
}

.ap-single-corsi .ap-corsi-pill-type  {
	padding: 4px 16px 4px;
    border-radius: 25px;
    background: #b1502f;
    width: fit-content !important;
    height: fit-content !important;
    color: white;
    text-transform: uppercase;
    margin-bottom: 18px;

    p {
        margin-bottom: 0;
		line-height: 20px;
    }
}

.ap-single-corsi .ap-corsi-pill-type:empty {
    display: none !important;
}

.ap-corsi-pill-type.prima-formazione {
    background-color: #b1502f !important;
}

.ap-corsi-pill-type.aggiornamento {
    background-color: #f6a800 !important;
}

@media screen and (min-width: 768px) {
	.ap-single-corsi .ap-single-corsi-img-col,
	.ap-single-corsi .ap-single-corsi-text-col,
	.ap-single-corsi .ap-single-corsi-img-col .fusion-image-element,
	.ap-single-corsi .ap-single-corsi-img-col span {
		height: 100%;
	}

	.ap-single-corsi .ap-single-corsi-img-col span {
        width: 100%;
	}

	.ap-single-corsi .ap-single-corsi-img-col .fusion-imageframe img {
		height: 100%;
		object-fit: cover;
	}
}

.ap-single-corsi .ap-single-corsi-text-col .fusion-column-wrapper {
	display: flex;
	flex-wrap: wrap;
}

.ap-single-corsi .ap-single-corsi-text-col .fusion-content-layout-column  {
	flex-direction: row !important;
}

.ap-single-corsi .ap-single-corsi-text-col .fusion-text {
	width: 100%;
}

.ap-single-corsi .ap-single-corsi-text-col .fusion-text-6 p {
	margin-bottom: 0;
}


/* -------------------------------------------------------------------------------- */
/* ! Notizie archivio
/* -------------------------------------------------------------------------------- */

.ap-notizie-archive .fusion-column-wrapper {
	background-color: #f5f5f5 !important;
}

.ap-notizie-archive .box-articolo .fusion-post-card-image,
.ap-notizie-archive .box-articolo .fusion-post-card-image img {
    height: 184px !important;
}

@media screen and (min-width: 1024px) {
    .ap-notizie-archive .box-articolo .fusion-post-card-image,
    .ap-notizie-archive .box-articolo .fusion-post-card-image img {
        height: 252px !important;
    }
}

@media screen and (min-width: 1200px) {
    .ap-notizie-archive .box-articolo .fusion-post-card-image,
    .ap-notizie-archive .box-articolo .fusion-post-card-image img {
        height: 224px !important;
    }
}

@media screen and (min-width: 1600px) {
    .ap-notizie-archive .box-articolo .fusion-post-card-image,
    .ap-notizie-archive .box-articolo .fusion-post-card-image img {
        height: 250px !important;
    }
}

#hp-news .awb-swiper .fusion-post-card-image,
#hp-news .awb-swiper .fusion-post-card-image img {
    height: 196px !important;
}

@media screen and (min-width: 768px) {
    #hp-news .awb-swiper .fusion-post-card-image,
    #hp-news .awb-swiper .fusion-post-card-image img {
        height: 182px !important;
    }
}

@media screen and (min-width: 1024px) {
    #hp-news .awb-swiper .fusion-post-card-image,
    #hp-news .awb-swiper .fusion-post-card-image img {
        height: 112px !important;
    }
}

@media screen and (min-width: 1200px) {
    #hp-news .awb-swiper .fusion-post-card-image,
    #hp-news .awb-swiper .fusion-post-card-image img {
        height: 156px !important;
    }
}

@media screen and (min-width: 1600px) {
    #hp-news .awb-swiper .fusion-post-card-image,
    #hp-news .awb-swiper .fusion-post-card-image img {
        height: 240px !important;
    }
}

.ap-notizie-archive .fusion-title {
	text-transform: uppercase;
	padding: 0 26px;
}

.ap-notizie-archive .fusion-content-tb {
	padding: 0 26px;
}

.ap-notizie-archive .svg-circle {
	margin-left: 26px;
	margin-bottom: 35px;
	transition: .2s ease;
	color: black !important;
}

.ap-notizie-archive .svg-circle:hover {
	background-color: black !important;
	color: white !important;
}

.ap-notizie-archive .fusion-title .fusion-title-heading {
	line-height: 32px !important;
	font-weight: 800;
}

/* -------------------------------------------------------------------------------- */
/* ! Notizie dettaglio
/* -------------------------------------------------------------------------------- */
.news-details-img,
.news-details-img img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

@media screen and (min-width: 1200px) {
	.news-details-img,
	.news-details-img img {
		height: 488px;
	}
}

@media screen and (min-width: 1400px) {
	.news-details-img,
	.news-details-img img {
		height: 580px;
	}
}

.news-last-article-title h4 {
	font-weight: 800 !important;
}

/* -------------------------------------------------------------------------------- */
/* ! IMG Formazione finanziata - Corsi in azienda
/* -------------------------------------------------------------------------------- */
.image-form-finanziata,
.image-form-finanziata img {
	width: 100%;
	height: auto;
	object-fit: cover;
}