/*
 Landing Promozionale da cliente esterno
 Data 27/05/2025
 Riferimento: https://xd.adobe.com/view/be46ea2a-c555-4da4-b7df-38d78aa651f8-eb15/
 */
html {
    scroll-behavior: smooth;
}
#footer-lnd-mag-2025 {
    padding: 20px 0px;
    box-sizing: border-box;
    background-color: var(--nero-iifm);
}
#header-lnd-mag-2025 {
    position: fixed;
    z-index: 999;
    height: 100px;
    background-color: var(--nero-iifm);
    padding: 20px 0px;
    box-sizing: border-box;
}
#header-lnd-mag-2025-logo {
    height: 60px;
    display: block;
    float: left;
}
#header-lnd-mag-2025-logo img {
    height: 100%;
    width: auto;
}
#nav-lnd-mag-2025 {
    display: block;
    float: right;
    width: auto;
}
#nav-int-lnd-mag-2025{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
}
#nav-lnd-mag-2025 a {
    color: var(--bianco);
    font-size: 15px;
    line-height: 60px;
    font-weight: 500;
    text-transform: uppercase;
}
#main-lnd-mag-2025 {
    min-height: calc(100vh - 100px);
}
#main-lnd-mag-2025 #top-image {
    margin-top: 100px;
    min-height: calc(100vh - 100px);
    height: auto;
}
#full-image {
    height: calc(100vh - 100px);
    min-height: 500px;
    position: relative;
    background-size: 100% 100%;
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    background-image: url('../img/IIFM_SHARE.png');  /* Immagine temporanea in attesa che si carichi */
}
#main-lnd-mag-2025 #top-info {
    width: 65%;
    min-height: 100%;
    height: auto;
    padding: 20px 0px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--nero-iifm);
}
#main-lnd-mag-2025 .title-big {
    text-shadow: unset;
    font-size: clamp(25px, calc((50 / 1680) * 100vw), 50px);
    line-height: clamp(25px, calc((50 / 1680) * 100vw), 50px);
}
#main-lnd-mag-2025 #top-info .ritch-cont * {
    text-shadow: unset;
}
#landing-master-cta-cont {
    padding: 80px 0px 0px 0px;
    box-sizing: border-box;
}
#landing-master-cta {
    margin-top: 40px;
}
.landing-master-cta-item {
    position: relative;
    display: block;
    float: left;
    width: 25%;
    height: 400px;
}
.landing-master-cta-item-txt {
    position: absolute;
    bottom: 0px;
    right: 0px;
    width: 100%;
    height: 70%;
    background-color: transparent;
    color: var(--bianco-iifm);
    border-radius: 5px 5px 0px 0px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 20px;
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
}
.landing-master-cta-item-titolo {
    font-size: clamp(16px, calc((20 / 1680) * 100vw), 20px);
    line-height: clamp(20px, calc((25 / 1680) * 100vw), 25px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    /*
    height: 75px;
    overflow-y: hidden;
    */
}
.landing-master-cta-item-testo {
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    transition: all 0.2s;
    -webkit-transition: all 0.2s;
    /*
    height: 72px;
    overflow-y: hidden;
    */
}
#landing-master-students-cont {
    padding: 40px 0px 0px 0px;
    box-sizing: border-box;
}
#landing-master-students-int {
    padding: 40px 0px;
    box-sizing: border-box;
}
#landing-master-students {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.landing-master-students-item-cont {
    width: 303px;
    height: 540px;
    background-color: var(--nero-iifm);
    color: var(--bianco-iifm);
    border-radius: 5px;
    padding: 10px;
    box-sizing: border-box;
}
.landing-master-students-item {
    width: 100%;
    height: 100%
}
.landing-master-students-item-img {
    position: relative;
    display: block;
    float: left;
    width: 100%;
    height: 0;
    padding-top: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}
.landing-master-students-item-img-btn {
    font-size: 30px;
    position: absolute;
    top: calc(50% - 15px);
    left: calc(50% - 15px);
    color: var(--bianco);
}
.landing-master-students-item-txt {
    height: calc(100% - 293px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.landing-master-students-item-titolo {
    font-size: clamp(16px, calc((20 / 1680) * 100vw), 20px);
    line-height: clamp(20px, calc((25 / 1680) * 100vw), 25px);
    font-weight: 700;
    /*
    height: 50px;
    overflow-y: hidden;
    */
}
.landing-master-students-item-testo {
    font-size: clamp(14px, calc((14 / 1680) * 100vw), 14px);
    line-height: clamp(18px, calc((18 / 1680) * 100vw), 18px);
    font-weight: 400;
    /*
    height: 54px;
    overflow-y: hidden;
    */
}
#landing-master-students-btn-cont {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}
#landing-master-masters-cont,
#landing-master-who-cont {
    padding: 80px 0px;
    box-sizing: border-box;
    background-color: var(--grigio-iifm);
}
#landing-master-masters {
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.landing-master-masters-item-cont {
    width: clamp(220px, calc(100vw - 40px), 380px);
    height: 600px;
    background-color: var(--bianco);
    color: var(--nero-iifm);
    border-radius: 5px 5px 30px 30px;
    padding: 10px;
    box-sizing: border-box;
}
.landing-master-masters-item {
    width: 100%;
    height: 100%;
}
.landing-master-masters-item-img {
    position: relative;
    display: block;
    float: left;
    width: 100%;
    height: 0;
    padding-top: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}
.landing-master-masters-item-txt {
    height: calc(580px - 370px);
    height: clamp(calc(580px - 370px), calc(580px - (100vw - 60px) - 10px), 500px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.landing-master-masters-item-titolo {
    font-size: clamp(16px, calc((20 / 1680) * 100vw), 20px);
    line-height: clamp(20px, calc((25 / 1680) * 100vw), 25px);
    font-weight: 700;
    /*
    height: 50px;
    overflow-y: hidden;
    */
}
.landing-master-masters-item-testo {
    font-size: clamp(14px, calc((14 / 1680) * 100vw), 14px);
    line-height: clamp(18px, calc((18 / 1680) * 100vw), 18px);
    font-weight: 400;
    height: 72px;
    overflow-y: hidden;
}
.landing-master-masters-item-btn-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
#landing-master-offer-cont,
#landing-master-faq-cont {
    padding: 40px 0px;
    box-sizing: border-box;
}
#landing-master-offer-list,
#landing-master-faq-list,
#landing-master-cmp-cont {
    margin: 40px 0px;
}
#landing-master-faq-int,
#landing-master-who-int {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
#landing-master-faq-int-img,
#landing-master-who-int-img {
    width: 40%;
}
.landing-master-faq-int-img-cont,
.landing-master-who-int-img-cont {
    width: 100%;
    height: 0;
    padding-top: 100%;
    border-radius: 40px;
}
#landing-master-faq-int-txt,
#landing-master-who-int-txt {
    width: calc(60% - 40px);
}
#main-lnd-mag-2025 .struttura-row:first-child {
    margin-top: unset;
    border-top: unset;
}
#main-lnd-mag-2025 .struttura-row {
    border-top: unset;
    border-bottom: 0.5px solid var(--nero-iifm);
    padding: 20px 0px;
    box-sizing: border-box;
    margin-top: unset;
}
#main-lnd-mag-2025 .struttura-title {
    width: 100%;
    padding-right: unset;
}
#main-lnd-mag-2025 .struttura-text {
    width: 100%;
    padding-right: unset;
    position: relative;
}
#main-lnd-mag-2025 .struttura-text-int {
    width: 100%;
    line-height: unset;
    overflow: unset;
    height: 0px;
    opacity: 0;
}
.struttura-title-plus {
    display: block;
    float: right;
    line-height: clamp(20px, calc((30 / 1680) * 100vw), 30px);
}
#main-lnd-mag-2025 .struttura-text-int.open {
    height: auto;
    opacity: 1;
    padding-top: 20px;
    box-sizing: border-box;
}
#main-lnd-mag-2025 .btn-struttura-toggle {
    position: unset;
}
#main-lnd-mag-2025 .btn-struttura-toggle i {
    transition: all 0.2s;
    transform: rotate(0deg);
}
#main-lnd-mag-2025 .btn-struttura-toggle .fa-rotate-45 {
    transition: all 0.2s;
    transform: rotate(-45deg);
}
#landing-master-cmp-img {
    position: relative;
}
#landing-master-cmp-img .picture-full.picture-full-mobile {
    display: none;
}
#landing-master-cmp-img-txt {
    position: absolute;
    top: 40%;
    right: 40px;
    width: 40%;
    color: var(--bianco);
}
#landing-master-offer-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 40px;
}
.landing-master-offer-item {
    width: calc((100% - 80px) / 3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
}
.landing-master-offer-item-img {
    width: 120px;
    margin-bottom: 10px;
}

@media only screen and (min-width: 1201px) and (max-width: 10000px) {
    .landing-master-cta-item:hover .landing-master-cta-item-txt {
        background-color: transparent;
        color: var(--bianco-iifm);
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
    }
    .landing-master-cta-item:hover .landing-master-cta-item-txt .btn-chiaro {
        background-color: var(--blue-iifm);
        color: var(--bianco-iifm);
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
    }
    .landing-master-cta-item:hover .landing-master-cta-item-txt .btn-chiaro .ico {
        background-color: var(--bianco-iifm);
        color: var(--blue-iifm);
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
    }
    .landing-master-cta-item:hover .landing-master-cta-item-titolo,
    .landing-master-cta-item:hover .landing-master-cta-item-testo {
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
    }
    .landing-master-masters-item-btn-cont .btn-filettato:hover {
        background-color: var(--blue-iifm);
        color: var(--bianco-iifm);
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
    }
    .landing-master-scheda-item:hover .landing-master-scheda-item-txt {
        background-color: var(--nero);
        color: var(--bianco);
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
    }
    #landing-master-who-int-txt .btn-scuro:hover {
        background-color: var(--bianco-iifm);
        color: var(--nero-iifm);
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
    }
    #landing-master-who-int-txt .btn-scuro:hover .ico {
        background-color: var(--grigio-iifm);
        color: var(--bianco-iifm);
        transition: all 0.2s;
        -webkit-transition: all 0.2s;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1439px) {
    .landing-master-cta-item {
        width: 50%;
    }
}

/* Tablet Landscape */
@media only screen and (min-width: 1024px) and (max-width: 1279px) {
    .btn {
        min-width: 160px;
    }
}

/* Tablet Portrait */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    #header-lnd-mag-2025 {
        height: 70px;
    }
    #header-lnd-mag-2025-logo {
        height: 30px;
    }
    #nav-lnd-mag-2025 a {
        font-size: 12px;
        line-height: 30px;
    }
    #main-lnd-mag-2025 #top-image {
        margin-top: 70px;
        min-height: calc(100vh - 70px);
    }
    #full-image {
        height: calc(100vh - 70px);
    }
    .landing-master-offer-item {
        width: calc((100% - 40px) / 2);
    }
    #landing-master-cmp-img-txt {
        top: 30%;
    }
}

/* Cellulari */
@media only screen and (min-width: 220px) and (max-width: 767px) {
    #header-lnd-mag-2025 {
        height: 140px;
    }
    #header-lnd-mag-2025 .page {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    #header-lnd-mag-2025-logo {
        height: 30px;
        margin-bottom: 20px;
    }
    #nav-int-lnd-mag-2025 {
        justify-content: center;
        flex-wrap: wrap;
    }
    #nav-lnd-mag-2025 a {
        font-size: 12px;
        line-height: 15px;
    }
    #main-lnd-mag-2025 #top-image {
        margin-top: 140px;
        min-height: 140vh;
    }
    #full-image {
        height: calc(100vh - 140px);
    }
    .landing-master-cta-item {
        width: 100%;
    }
    #landing-master-intro-text,
    #landing-master-students-btn-cont {
        flex-direction: column;
        gap: 20px;
    }
    #landing-master-intro-text,
    #hp-master-intro-text {
        padding: 40px 20px;
    }
    #landing-master-students-int {
        padding: 40px 0px 120px 0px;
        box-sizing: border-box;
    }
    #main-lnd-mag-2025 #top-info {
        width: 100%;
    }
    #top-info form .mb_10 {
        margin-bottom: 0px;
    }
    .landing-master-offer-item {
        width: 100%;
    }
    #landing-master-faq-int-img,
    #landing-master-who-int-img {
        width: 100%;
    }
    #landing-master-faq-int-txt,
    #landing-master-who-int-txt {
        width: 100%;
    }
    #landing-master-cmp-img-txt {
        position: relative;
        top: unset;
        right: unset;
        width: 100%;
        color: var(--nero-iifm);
        margin-top: 20px;
    }
    #landing-master-cmp-img-txt .btn-chiaro {
        background-color: var(--blue-iifm);
        color: var(--bianco-iifm);
    }
    #landing-master-cmp-img-txt .btn-chiaro.btn.btn-ico .ico {
        background-color: var(--bianco-iifm);
        color: var(--blue-iifm);
    }
    #landing-master-cmp-img .picture-full {
        display: none;
    }
    #landing-master-cmp-img .picture-full.picture-full-mobile {
        display: block;
    }
}
