﻿/*html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}*/

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    filter: alpha(opacity=70);
    -moz-opacity: 0.7;
    -khtml-opacity: 0.7;
    opacity: 0.7;
    z-index: 100;
    display: none;
}

.popup-content {
/*    padding: 14px 10px;*/
    line-height: 1.5;
}

.cnt223 a {
    text-decoration: none;
}

.popup-onload {
    width:60%;
    margin: 0 auto;
    display: none;
    position: fixed;
    z-index: 101;
    top: 40%;
    left: 50%;
    margin-top: -300px;
    margin-left: -200px;
}

.cnt223 {
    min-width: 400px;
    width: 80%;
    min-height: 150px;
    background-color: black;
    /*    margin: 100px auto;*/
    background: #270015;
    position: relative;
    z-index: 103;
    padding: 15px 35px;
    border-radius: 5px;
    box-shadow: 0 2px 5px #000;
}

    .cnt223 p {
        clear: both;
        color: #555555;

        /* text-align: justify; */
        font-size: 20px;
        font-family: sans-serif;
    }

        .cnt223 p a {
            color: #d91900;
            font-weight: bold;
        }

    .cnt223 .x {
        float: right;
        height: 35px;
        left: 22px;
        position: relative;
        top: -25px;
        width: 34px;
    }

        .cnt223 .x:hover {
            cursor: pointer;
        }

#player{
    height:542px;
}

@media (min-width: 300px) {
    #player {
        height: 380px;
    }
}

@media (min-width: 576px) {
    #player {
        height: 400px;
    }
}

@media (min-width: 768px) {
    #player {
        height: 275px;
    }
}

@media (min-width: 992px) {
    #player {
        height: 542px;
    }
}


.disabledButton {
    display: none;
}

.courseName {
    text-transform: capitalize;
}

.instructorImage {
    object-fit: cover;
    object-position: top;
    height: 300px;
}

.instructorDescription {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* number of lines to show */
    line-clamp: 5;
    -webkit-box-orient: vertical;
}


.login-background {
    background: url(/images/bckgrnds/bckgrnd04.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.denied-background {
    background: url(/images/bckgrnds/bckgrnd08.jpg);
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.accountBackgroundShadow {
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: linear-gradient(#000000fc 7%, #04020e85 105%);
    opacity: 1;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    padding: 182px 0 75px;
}

/*background-image: linear-gradient(#000414fc 7%, #04020e54 38%);*/
/*background-image: linear-gradient(#020316fc 7%, #2b2a4675 73%);*/

.mainbackgroundShadow {
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: linear-gradient(#0e0e0efc 7%, #2b2a4675 73%);
    opacity: 1;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.mainbackgroundShadowOpposite {
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: linear-gradient(#06051a45 41%, #0e0e0efc 99%);
    opacity: 1;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

#teachers-area {
    padding: 282px 0 130px;
}


body {
    background: #120F28 !important;
}

.videoTrailerBackground {
    /*Rescalemobile*/

    height: 105%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
}
@media (min-width: 300px) {
    .videoTrailerBackground {
        height: 49%;
    }
}

@media (min-width: 576px) {
    .videoTrailerBackground {
        height:66%;
    }
}
@media (min-width: 768px) 
{
    .videoTrailerBackground {
        height:77%;
    }
}
@media (min-width: 992px) 
{
    .videoTrailerBackground {
        /*Rescalemobile*/

        height: 105%;
        width: 100%;
        top: 0;
        left: 0;
        position: absolute;
    }
}

.videoCourseTitle {
    background-color: transparent;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    margin-top: 9rem;
}

@media (min-width: 300px) {
    .videoCourseTitle {
        margin-top: 0rem;
    }
}

@media (min-width: 576px) {
    .videoCourseTitle {
        margin-top: 0rem;
    }
}

@media (min-width: 768px) {
    .videoCourseTitle {
        margin-top: 0rem;
    }
}

@media (min-width: 992px) {
    .videoCourseTitle {
        margin-top: 9rem;
    }
}

.video-Overlay {
    background-color: transparent;
    /*    background-image: radial-gradient(at center center, #212121B8 17%, #101010 82%);*/
    background-image: radial-gradient(at center center, #06060cb8 15%, #030106 82%);
    opacity: 1;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
    width: 100%;
    height: 105%;
    top: 0px;
    left: 0;
    position: absolute;
}

@media (min-width: 300px) {
    .video-Overlay {
        height: 80%;
        top: 30px;
    }
}

@media (min-width: 576px) {
    .video-Overlay {
        height: 85%;
        top:20px;
    }
}
@media (min-width: 768px) {
    .video-Overlay {
        height: 85%;
        top:20px;
    }
}
@media (min-width: 992px) {
    .video-Overlay {
        height: 105%;
        top: 0px;
    }
}

.videoPlayer {
    width: -webkit-fill-available;
    height: -webkit-fill-available;
}

.courseElegant {
    border-bottom: 2px solid slategrey;
    padding-bottom: 20px;
    border-width: 1px;
}

.showAfterLoading {
    visibility: hidden;
}

.profilePictureButton {
}

    .profilePictureButton::file-selector-button {
        position: absolute;
        right: 0px;
        top: 0;
        z-index: 1;
        display: inline-block;
        padding: 14px 30px;
        text-transform: uppercase;
        font-weight: 600;
        font-size: 18px;
        border: 0;
        border-radius: 0 5px 5px 0px;
        background: #518EFF;
        color: #fff;
        text-align: center;
    }

.backgroundShadow {
    background-color: transparent;
    background-image: radial-gradient(at center center, #21212194 17%, #101010 82%);
    opacity: 1;
    transition: background 0.3s, border-radius 0.3s, opacity 0.3s;
}

.squareShadow {
    box-shadow: 0px 0px 55px 6px rgb(0 0 0 / 25%);
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

 .mmlRibbon {
    background-image: url(/images/theme/myMixLabRibbon.png);
    background-repeat: no-repeat;
    background-size: auto;
    background-position-y: center;
    background-position-x: center;
} 

.mmlOffRibbon {
    background-repeat: no-repeat;
    background-image: none;
    background-size: auto;
    background-position-y: center;
    background-position-x: center;
    background-color: black;
}

.blueBackGround {
    background: none;
    background-image: linear-gradient(225deg, #6227B3 0%, #1D3D94 100%) !important;
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    border-color: transparent;
    box-shadow: 0px 0px 8px 2px rgb(0 0 0 / 20%);
}
.blueBackGround::before{
    background-image: linear-gradient(225deg, #1D3D94 0%, #6227B3 100%) !important;
}

.mmlLogo {
    transition: transform .16s; /* Animation */
    width:192px;
}
a.logo_img img{
    width:192px;
}

    .mmlLogo:hover {
        transform: scale(1.125); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
    }

.wrapper {
    max-width: 180px;
}

.truncate {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 150px;
}

.plans .item {
    background: transparent;
    border-left: 2px solid #2b2a4675;
    border-right: 2px solid #2b2a4675;
    transition: 0.2s;
}

    .plans .item:hover {
        /*//background-image: linear-gradient(245deg, #6227B3 0%, #1D3D94 100%);*/
        background-image: linear-gradient(245deg, #6227b380 0%, #1d3d94b0 100%);
        border-left: 2px solid white;
        border-right: 2px solid white;
    }


#mainSub {
    position: relative;
}

    #mainSub:hover > #imgSub {
        opacity: 1;
    }

#mainSubtwo {
    position: relative;
}

    #mainSubtwo:hover > #imgSubtwo {
        opacity: 1;
    }

.photo {
    object-fit: cover;
    filter: contrast(120%);
    box-shadow: 10px 15px 25px 0 rgba(0,0,0,.2);
    display: block;
    transition: all .5s cubic-bezier(0.645, 0.045, 0.355, 1);
    margin-top: -10px;
}

    .photo:hover {
        box-shadow: 1px 1px 10px 0 rgba(0,0,0,.1);
    }

    .photo:hover {
        margin-top: 0;
    }

.ribbonSub {
    transition: ease-in 0.1s;
    position: absolute;
    height: 100%;
    right: 0;
    opacity: 0;
    padding-left: 400px;
}

    .ribbonSub:hover {
        opacity: 1;
    }

.shoppingColumn {
    width: 50%;
}

/*UPDATE*/
/*Instructors*/

.instructor-card {
    position: relative;
    background-size: cover;
    background-position: top;
    height: 380px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border-radius:9px;
}

    .instructor-card:hover {
        transform: scale(1.03);
    }

    .instructor-card .overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.0) 70%);
        display: flex;
        align-items: flex-end;
        justify-content: center;
        padding: 20px;
    }


    .instructor-card .text-content {
        text-align: center;
        color: #fff;
    }

.name-block {
    line-height: 1.1;
    margin-bottom: 10px;
}

.first-name {
    display: block;
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

.last-name {
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0;
}

.instructor-card .tags span {    
    margin-right: 10px;
    display: inline-block;
    border: 1.5px solid #fff;
    background: transparent;
    color: #fff;
    padding: 0px 8px;
    border-radius: 3px;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

    .instructor-card .tags span:hover {
        background: rgba(255, 255, 255, 0.1);
    }

.stretched-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.stretched-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}



/*FIX MY MASTER*/

/* --- Section --- */
.fmm-section {
    background: #050505; /* più nero rispetto al precedente #0b0b0b */
    padding: 48px 0 64px;
    color: #fff;
}

/* --- Copy (sinistra) --- */
.fmm-copy {
    position: relative;
    padding: 24px 8px 24px 0;
}

    /* gradiente più piccolo e più concentrato */
    .fmm-copy::before {
        content: "";
        position: absolute;
        inset: -30% -40% -30% -30%;
        background: radial-gradient( ellipse at 32% 40%, /* spostato verso l'alto (prima era 50%) */
        rgba(146, 71, 255, 0.55) 0%, rgba(146, 71, 255, 0.25) 15%, rgba(146, 71, 255, 0) 32% /* leggermente più largo: 30% → 35% */
        );
        filter: blur(20px);
        z-index: 0;
    }


    .fmm-copy > * {
        position: relative;
        z-index: 1;
    }

.fmm-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    opacity: 0.9;
}

.fmm-title {
    margin: 0.4rem 0 1rem;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
}

.fmm-text {
    max-width: 36ch;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 1.25rem;
}

/* --- CTA button --- */
.fmm-cta {
    display: inline-block;
    padding: 0.6rem 1.4rem;
    border: 1px solid #fff;
    border-radius: 999px; /* forma ellittica */
    color: #fff;
    background: transparent;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.4px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden; /* serve per contenere l’effetto interno */
}

    /* highlight pieno bianco all’hover */
    .fmm-cta::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at center, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.6) 100%);
        opacity: 0;
        transition: opacity 0.35s ease;
        border-radius: inherit;
        z-index: 0;
    }

    .fmm-cta:hover::before {
        opacity: 0.5;
    }

    .fmm-cta span,
    .fmm-cta,
    .fmm-cta:hover {
        color: #fff; /* il testo rimane bianco */
        border-color: #fff;
    }

        .fmm-cta > * {
            position: relative;
            z-index: 1; /* testo sopra l’highlight */
        }
/* --- Video (destra) --- */
.fmm-media {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 ratio */
    width: 100%;
    height: 0;
    overflow: hidden;
}

    .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: none;
    }

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .fmm-copy {
        padding-right: 0;
    }

    .fmm-media {
        margin-top: 8px;
    }
}

/*GRAMMY*/
/* SECTION WRAPPER ---------------------------------------------------------- */
.hero-grammy {
    position: relative;
    padding: clamp(64px, 8vw, 120px) 0;
    color: #fff;
    background: #0b0b0b;
    isolation: isolate;
}

    /* background image via CSS var for easy swap */
    .hero-grammy::before {
        content: "";
        position: absolute;
        inset: 0;
        background: var(--bg) no-repeat center/cover;
        z-index: -3;
        filter: saturate(.95);
    }

    /* vignetta + gradient top/bottom for leggibilità */
    .hero-grammy::after {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(1200px 600px at 20% 45%, rgba(146,71,255,.22), transparent 60%), linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.25) 100%);
        z-index: -2;
    }

/* HEAD --------------------------------------------------------------------- */
.hero-head .eyebrow {
    display: inline-block;
    margin-bottom: .6rem;
    font-size: .9rem;
    letter-spacing: .16em;
    font-weight: 700;
    color: #b987ff;
    text-transform: uppercase;
    opacity: .95;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0 0 1.5rem;
    letter-spacing: .02em;
}

/* COPY --------------------------------------------------------------------- */
.hero-copy {
    max-width: 700px;
}

.copy-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin: 0 0 .75rem;
    text-shadow: 0 1px 18px rgba(0,0,0,.35);
}

.copy-text {
    color: rgba(255,255,255,.92);
    line-height: 1.6;
    text-shadow: 0 1px 12px rgba(0,0,0,.25);
}

/* CTA ---------------------------------------------------------------------- */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .7rem 1.1rem;
    border: 1px solid #fff;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    transition: background .25s ease, border-color .25s ease, transform .2s ease;
}

    .hero-cta:hover {
        background: rgba(255,255,255,.08);
        transform: translateY(-1px);
    }

.cta-arrow {
    width: 18px;
    height: 18px;
    display: inline-block;
    position: relative;
}

    .cta-arrow::before, .cta-arrow::after {
        content: "";
        position: absolute;
        inset: 0;
        border-right: 2px solid #fff;
        border-top: 2px solid #fff;
        width: 9px;
        height: 9px;
        transform: rotate(45deg) translate(2px,2px);
    }

    .cta-arrow::after {
        transform: rotate(45deg) translate(6px,2px);
        opacity: .7;
    }

/* RESPONSIVE --------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-grammy {
        padding: 64px 0 72px;
    }

    .hero-copy {
        max-width: none;
    }
}


@media (min-width: 576px) {
    .shoppingColumn {
        width: 50%;
    }
}
@media (min-width: 768px) {
    .shoppingColumn {
        width: 30%;
    }
}
@media (min-width: 860px) {
    .shoppingColumn {
        width: 25%;
    }
}
@media (min-width: 992px) {
    .shoppingColumn {
        width: 20%;
    }
}
@media (min-width: 2440px) {
    .shoppingColumn {
        width: 15%;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 1000px;
    }

}

@media (min-width: 1200px) {
    .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1320px;
    }
}

@media (min-width: 2440px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1920px;
    }
}
