:root {
    --mm-dark-blue: #0A0853;
    --mm-light-grey: #E6E6E6;
    --mm-bright-blue: #2A27AD;
    --mm-blue: #5E5EDE;
    --mm-purple: #8B6BD7;
    --mm-light-purple: #A162D3;
    --mm-light-pink: #CC93D8;
    --mm-light-bg: #f7eaf9;
    --bs-nav-link-color: #606060;
}

@media(prefers-reduced-motion: no-preference) {
    :has(:target) {
        scroll-margin-top: 4rem;
        scroll-behavior: smooth;
    }
}

body,
html {
    font-size: 18px;
    font-family: "Montserrat", sans-serif;
    color: #282828;
    hanging-punctuation: first last;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    scroll-behavior: smooth;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6,
.text-balance {
    text-wrap: balance;
}

.h1,
h1 {
    font-size: calc(1.375rem + 1.5vw);
}

.display-1 {
    /* calc(1.375rem + 5.5vw);*/
    font-size: clamp(1.375rem, 1.375rem+5.5vw, 3.5rem);
}

p {
    text-wrap: pretty;
}

p:last-child {
    margin-bottom: 0;
}

.ff {
    font-family: "Merriweather", sans-serif;
}

.ls-1 {
    letter-spacing: 1px;
}

.fw-100 {
    font-weight: 100;
}

.fw-200 {
    font-weight: 200;
}

.fw-300 {
    font-weight: 300;
}

.fw-400 {
    font-weight: 400;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

.fw-900 {
    font-weight: 900;
}

.text-bright-blue {
    color: var(--mm-bright-blue);
}

.text-blue {
    color: var(--mm-blue);
}

.text-purple {
    color: var(--mm-purple);
}

.text-light-purple {
    color: var(--mm-light-purple);
}

.text-light-pink {
    color: var(--mm-light-pink);
}

.text-dark-blue {
    color: var(--mm-dark-blue);
}


a,
a:active,
a:visited {
    text-decoration: none;
    color: #606060;
}

a:hover,
a:focus,
a.active {
    color: #282828;
    text-decoration: none;
}

a.zoom-link {
    color: blue;
    text-decoration: underline !important;
    font-weight: 600;
}

a.zoom-link:hover {
    color: #57abb0;
    text-decoration: underline !important;
}

h5,
.h5 {
    font-size: 1.15rem;
}

.text-small {
    font-size: .7em
}

.mm-gradient {
    background: linear-gradient(to left, #5e5ede 0%, #8b6bd7 28%, #a162d3 53%, #a162d3 77%, #cc93d8 100%);
}

hr.lesson {
    opacity: 1;
}

hr.vr {
    border: none;
    border-left: 1px solid #282828;
    margin: 0;
    height: 100% !important;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

hr.full {
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

hr.full:last-child {
    display: none;
}

.modal hr.full {
    border-top: 1px solid var(--mm-dark-blue);
    opacity: 1;
}

.modal-header {
    border-bottom: 1px solid var(--mm-dark-blue);
}

.navbar {
    font-size: 16px;
    font-weight: 500;
}

.navbar hr {
    margin: .3rem 0;
}

.navbar .nav-link {
    padding: 0px !important;
    padding-bottom: 3px !important;
    line-height: 1;
}

.navbar .nav-item:not(:last-child) {
    padding-right: .7rem;
}


.navbar .nav-link:visited,
.navbar .nav-link {
    color: #a0a0a0;
}

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: #282828;
    border-bottom: 1px solid #282828;
}

.method-logo {
    width: 100%;
    max-width: 230px;
}

.whole-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.whole-content main,
.whole-content section.login {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.whole-content section.login {
    justify-content: center;
}

section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

section.getting-started {
    /* background-image: url(https://d2l6tmiv6e1a1j.cloudfront.net/specials/method/MMM_members_getting_started_bg_sm.jpg); */
    background-color: var(--mm-light-bg);
}

section.certification {
    background-color: var(--mm-light-purple);
    color: #fff;
}

/* section.login {
    background-image: url(https://d2l6tmiv6e1a1j.cloudfront.net/specials/method/MMM_members_login_bg_sm.jpg);
} */

section.login a {
    border-bottom: 1px solid #282828;
    font-size: .8em;
    font-weight: 500;
    transition: all 1s;
}

section.login a:hover {
    border-bottom: none;
}

section.login input[type="email"],
section.login input[type="password"] {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    border-radius: 5px;
}

section.login input[type="email"]::placeholder,
section.login input[type="password"]::placeholder {
    color: #9f9f9f;
    font-size: .7em;
    font-weight: 600;
}

.profile form {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 700px;
}

.profile label {
    font-size: .87em;
    font-weight: 600;
}

.profile input[type="text"],
.profile input[type="email"],
.profile input[type="password"] {
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 5px;
}

.profile hr {
    max-width: 700px;
    margin: 1rem auto;
    opacity: 1;
}

.arrow-right {
    width: 1.5em;
    margin-right: .5em;
    position: relative
}

.arrow-right svg {
    top: -0.1em;
    position: relative;
}

.arrow-left i {
    width: 1.1em;
    display: inline-block;
    position: relative;
    transform: rotate(180deg);
    transform-origin: center;
}

.arrow-left i svg {
    fill: #606060 !important;
}

.arrow-down {
    font-size: 1.3em;
    position: relative;
    transform-origin: center;
    margin-top: -.2em;
    color: #fff !important;
}

.arrow-down i {
    transform: rotate(90deg);
    width: 1em;
    display: inline-block;
}

.arrow-down::before {
    content: "";
    position: absolute;
    top: -.05em;
    left: -.3em;
    width: 1.5em;
    height: 1.45em;
    background: var(--mm-purple);
    border-radius: 50%;
    z-index: -1;
}

.arrow-cert {
    background-image: url(https://d2l6tmiv6e1a1j.cloudfront.net/specials/method/MMM_250102_Method_arrow.png);
    background-repeat: no-repeat;
    background-size: 25% auto;
    background-position: bottom right;
}

.training-download {
    border-top: 1px solid #282828;
    border-bottom: 1px solid #282828;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.4;
    letter-spacing: 1.2px;
}

.training-download:not(:last-child) {
    border-bottom: none;
}

ul.lessons-list {
    list-style: none;
    padding-left: 0;
}

ul.lessons-list li {
    padding: 10px 0;
    line-height: 1.2;
    color: #606060;
    vertical-align: middle;
}

ul.lessons-list li a {
    color: #606060;
    font-weight: 500;
    text-decoration: none;
}

ul.lessons-list li.selected a {
    color: #000;
}

ul.lessons-list li a:hover {
    color: #000;
}


ul.training-list {
    list-style: none;
    padding-left: 1.5rem;
}

ul.training-list li {
    line-height: 1.2;
    color: #000;
}

ul.training-list li strong {
    text-transform: uppercase;
    font-weight: 600;
    padding-right: .5rem;
}

.btn-primary {
    background-color: var(--c-orange);
    border-color: var(--c-orange);
}

.mmm-dark,
.mmm-dark:visited {
    background-color: var(--mm-dark-blue);
    border-color: var(--mm-dark-blue);
    color: #fff;
}

.mmm-dark:hover,
.mmm-dark:focus,
.mmm-dark.active {
    color: #fff !important;
    background-color: var(--mm-bright-blue) !important;
}

.mmm-light,
.mmm-light:visited {
    background-color: var(--mm-purple);
    border-color: var(--mm-purple);
    color: #fff;
}

.mmm-light:hover,
.mmm-light:focus,
.mmm-light.active {
    color: #fff;
    background-color: var(--mm-light-purple) !important;
}

.field-error {
    color: red;
    display: block;
    padding-top: 6px;
    font-size: 14px;
}

.vault .card {
    overflow: hidden;
}

ul.vault-list {
    list-style: none;
    padding: 0 1rem;
}

ul.vault-list li {
    padding: .75rem 0;
    line-height: 1.4;
    color: #222;
    font-size: .9rem;
    vertical-align: middle;
}

ul.vault-list li:not(:last-child) {
    border-bottom: 1px solid #ddd;
}

ul.vault-list li a {
    font-size: .85em;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    background-color: var(--mm-purple);
    padding: .25rem .9rem;
    border-radius: 1rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0;
    line-height: 2;
}

.vault-retreat-header,
.virtual-retreat {
    background-color: var(--mm-purple) !important;
}

.vault-meetup-header,
.qa-meetup {
    background-color: var(--mm-light-pink) !important;
}

.pagination {
    --bs-pagination-color: var(--c-cyan);
    --bs-pagination-border-color: var(--c-cyan);
    --bs-pagination-active-bg: var(--c-cyan);
    --bs-pagination-active-border-color: var(--c-cyan);
    --bs-pagination-hover-border-color: var(--c-orange);
    --bs-pagination-hover-color: var(--c-orange);
    --bs-pagination-focus-color: var(--c-orange);
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(253, 129, 13, 0.25);
}


.modal-body::-webkit-scrollbar {
    width: .25rem;
}

.modal-body::-webkit-scrollbar-track {
    background: #fff;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--c-orange)
}

.modal-footer.shadow {
    box-shadow: 0 -0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.modal-body p.h5:not(:first-child) {
    border-top: 1px solid #ddd;
    padding-top: 1rem;
}

.mobile .print {
    display: none;
}

.mobile #worksheetModal .modal-footer {
    justify-content: flex-start;
}

.nav-link {
    white-space: nowrap;
}

/* -- RESPONSIVE -- */

@media (max-width: 575.98px) {

    body,
    html {
        font-size: 14px;
    }

    .video-container {
        margin-right: calc(-0.5 * var(--bs-gutter-x));
        margin-left: calc(-0.5 * var(--bs-gutter-x));
    }

    .navbar .nav-link {
        padding: 3px !important;
        line-height: 1.5;
    }

    ul.vault-list {
        padding: 0;
    }

    ul.lessons-list li {
        padding: 2px 0;
    }

    ul.lessons-list li span {
        font-size: 85%;
    }

    ul.lessons-list li span::before {
        content: "(";
    }

    ul.lessons-list li span::after {
        content: ")";
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {

    body,
    html {
        font-size: 16px;
    }

    .navbar .nav-link {
        padding: 3px !important;
        line-height: 1.5;
    }

    ul.lessons-list li {
        padding: 3px 0;
    }

    ul.lessons-list li span {
        font-size: 85%;
    }

    ul.lessons-list li span::before {
        content: "(";
    }

    ul.lessons-list li span::after {
        content: ")";
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar .nav-link {
        padding: 3px !important;
        line-height: 1.5;
    }


}

@media (min-width: 992px) and (max-width: 1199.98px) {}

@media (min-width: 1200px) and (max-width: 1399.98px) {}

@media (min-width: 1400px) {}

@media (max-width: 991.98px) {
    /* .modal-body-wrapper {
        height: calc(100vh - 100vw/1.5 - 70px);
        height: clamp(300px, 100vh - 100vw/1.5 - 70px, 600px);
        overflow-y: scroll;
    } */
         .arrow-cert {
            background-image: none!important;
         }
}

.desktop #worksheetModal .modal-dialog {
    width: 50% !important;
    max-width: 50% !important;
    margin-left: 0 !important;
}

.desktop.worksheetModal-open .video-container {
    position: relative;
    z-index: 2525;
}

@media print {

    body,
    html {
        font-size: 16px;
        color: #000 !important;
    }

    #worksheetModal .modal-body * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        color: #000 !important;
        background-color: #fff !important;
    }

    * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        color: #000 !important;
        background-color: #fff !important;
    }

    .modal-body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        color: #000 !important;
        background-color: #fff !important;
    }

    .modal-body * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        color: #000 !important;
        background-color: #fff !important;
    }

    .modal-backdrop {
        display: none;
    }

    .video-container *,
    #modalVideo,
    #modalVideo * {
        display: none !important;
    }

    .modal-body *,
    .modal-body-wrapper *,
    .modal-body-wrapper {
        display: block !important;
    }

    .mobile #modalVideo {
        display: none;
    }

    .mobile .modal-body {
        overflow-y: visible;
    }

}