/* ================================================================================================================
General Styling (Changes pushed live on 30-mar-2021)
================================================================================================================ */

    /* ---------------------------------------------------
    General HTML Elements & Classes
    --------------------------------------------------- */
    
    :root {
        --primary: rgba(94,32,125, 1);
        --secondary: rgba(33,188,187, 1);
        --tertiary: rgba(164,151,201, 1);
        --quaternary: rgba(245,127,39, 1);
        --quinary: rgba(244,161,39, 1);
        --senary: rgba(240,73,70, 1);
        --primary-o15: rgba(94,32,125, 0.15);
        --secondary-o15: rgba(33,188,187, 0.15);
        --tertiary-o15: rgba(164,151,201, 0.15);
        --quaternary-o15: rgba(245,127,39, 0.15);
        --quinary-o15: rgba(244,161,39, 0.15);
        --senary-o15: rgba(240,73,70, 0.15);
        --color-text: rgba(33,32,33, 1);
        --color-h1: rgba(255,255,255, 1);
        --color-h2: rgba(94,32,125, 1);
        --card-border-radius: 0px 30px;
        --alt-border-radius: 0px 12px;
    }

    html {
        scroll-behavior: smooth;
        height: 100%;
    }
    
    body {
        height: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .w-45 {
        width: 45%;
    }
    
    /* ---------------------------------------------------
    Generic Colours
    --------------------------------------------------- */
    
    .bg-lms-blue {
        background-color: var(--primary) !important;
        color: #fff !important;
    }
    
    .c-lms-blue {
        color: var(--primary) !important;
    }
    
    /* ---------------------------------------------------
    Scrollbar Styling
    --------------------------------------------------- */
    
    ::-webkit-scrollbar {
        display: initial;
        width: 16px;
        background-color: transparent;
    }
    
    ::-webkit-scrollbar-button {
        display: none;
    }
    
    ::-webkit-scrollbar-thumb {
        background: #dadce0;
        background-clip: padding-box;
        border: 4px solid transparent;
        border-radius: 8px;
        box-shadow: none;
        min-height: 50px;
    }
    
    ::-webkit-scrollbar-track {
        background: none;
        border: none;
    }
    
    .no-scroll {
        overflow: hidden;
    }

/* ================================================================================================================
Header Styling
================================================================================================================ */

    /* ---------------------------------------------------
    Title Header
    --------------------------------------------------- */
    
    .title-header {
        position: relative;
        min-height: 70px;
        display: flex;
    }
    
    .h5.page-title {
        display: flex;
        justify-self: auto;
        margin-bottom: unset;
        margin-left: 10%;
    }
    
    /* ---------------------------------------------------
    Hero Header
    --------------------------------------------------- */
    
    .navigation {
        position: relative;
        display: flex;
        flex-direction: column;
        padding: 5rem;
        top: unset;
        height: auto;
        overflow: unset;
    }
    
    .navigation .h1 {
        color: #fff;
        font-weight: lighter;
        text-align: center;
        font-size: 3rem;
    }
    
    .navigation form {
        display: block !important;
        width: 50%;
        margin: auto;
        margin-top: 2rem;
    }
    
    .navigation form input {
        height: 3rem;
    }

/* ================================================================================================================
Homepage Content Structure
================================================================================================================ */

    /* ---------------------------------------------------
    Content Structure
    --------------------------------------------------- */

    main {
        width: 100%;
        margin: 0;
    }
    
    .row {
        min-height: 20vh;
    }
    
    .container-fluid > .row:nth-of-type(odd) {
        background-color: #FFFFFF;
    }
    
    .container-fluid > .row:nth-of-type(even) {
        background-color: #F7F7F7;
    }
    
    .container-fluid > .row:nth-of-type(even) .content-section {
        flex-direction: row-reverse;
    }
    
    .content-container {
        display: flex;
        width: 80%;
        margin: auto;
    }
    
    .content-section {
        display: flex;
        height: 100%;
        width: 100%;
        align-items: center;
    }
    
    .content-section article {
        width: inherit;
    }
    
    .content-section article img {
        max-width: 100%;
    }
    
    /* ---------------------------------------------------
    Module Selection
    --------------------------------------------------- */

    .module-selector-title {
        text-align: center;
        font-weight: lighter;
        margin: 2rem 0 1.5rem;
    }

    .module-selector {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-auto-rows: 1fr;
        margin-bottom: 2rem;
    }
    
    .module-cell {
        padding: 1rem;
    }
    
    .module {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        background-color: #ffffff;
        height: 100%;
        cursor: pointer;
        align-content: space-between;
        box-shadow: 0px 0px 8px -5px rgb(0 0 0 / 70%);
        transition: all 400ms ease-out;
    }
    
    .module::after {
        width: 100%;
        content: "";
        position: absolute;
        bottom: 0;
        height: 3px;
        background-color: var(--primary);
    }
    
    .module:hover {
        box-shadow: 0px 0px 11px -3px rgb(0 0 0 / 70%);
        transform: translateY(-5%);
    }
    
    .module-link {
        color: rgb(33, 37, 41);
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: space-between;
        height: 100%;
        padding: 3rem 2rem 2rem;
        margin: 2rem 0;
    }
    
    .module-selection-link,
    .module-selection-link:hover {
        color: unset;
        text-decoration: none;
    }
    
    .module:hover .module-link {
        color: rgb(33, 37, 41);
        text-decoration: none;
    }
    
    .module-icon {
        width: auto;
        align-self: center;
    }
    
    .module-icon svg {
        width: 35%;
    }
    
    .module-name {
        font-size: 1.8rem;
    }
    
    .module-button {
        text-transform: uppercase;
        transition: all 400ms ease-out;
        border: none !important;
        background: linear-gradient( 41deg, rgba(94,32,125, 1) 0%, rgba(94,32,125, 1) 65%, rgba(173, 103, 180,1) 100%);
        background-size: 150%;
        background-position: 0;
    }
    
    .module-button.in {
        animation: button-gradien-in 600ms ease-in-out;
        animation-fill-mode: both;
    }
    
    .module-button.out {
        animation: button-gradien-out 600ms ease-in-out;
        animation-fill-mode: both;
    }
    
    /* ---------------------------------------------------
    Latest Releases
    --------------------------------------------------- */
    
    .latest-release {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-auto-rows: 1fr;
        column-gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .latest-release-item {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 100%;
        cursor: pointer;
        align-content: space-between;
        transition: all 400ms ease-out;
    }
    
    .latest-release-item:hover {
        box-shadow: 0px 0px 5px 0px rgba(0,0,0, 0.2);
    }
    
    .latest-release-link {
        color: unset;
        text-decoration: none;
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: space-between;
        height: 100%;
        padding: 2rem 1rem;
    }
    
    .latest-release-link,
    .latest-release-link:hover {
        color: unset;
        text-decoration: none;
    }
    
    .latest-release-name {
        text-align: center;
    }
    
    .latest-release-summary {
        text-align: center;
        width: inherit;
    }
    
    /* ---------------------------------------------------
    Accordion form styling
    --------------------------------------------------- */

    .accordion-form-headline > h1 {
        text-align: center;
        font-weight: lighter;
        margin: 2rem 0 1.5rem;
    }
    
    .accordion-form {
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .accordion-header-a {
        color: #424242;
        text-decoration: none;
    }
    
    .accordion-header-a:hover {
        color: #424242;
        text-decoration: none;
    }
    
    a[aria-expanded="true"] .accordion-header {
        border-width: 1px 0px;
    }
    
    a[aria-expanded="true"] .accordion-header .accordion-header-container .material-icons {
        transform: rotate(90deg);
    }
    
    .accordion-header {
        background-color: #fff;
        border-width: 1px 0px 0px 0px;
        border-color: #E0E0E0;
        border-style: solid;
    }
    
    .accordion-form a:last-of-type .accordion-header {
        border-width: 1px 0px 1px 0px;
    }
    
    .accordion-header-container {
        min-height: 5rem;
        vertical-align: middle;
        padding: 1rem;
        display: flex;
        align-items: center;
        flex: 1 1 auto;
    }
    
    .accordion-header-title {
        vertical-align: middle;
        margin-right: auto;
    }
    
    .accordion-header-container > .material-icons {
        vertical-align: middle;
        font-size: 2rem;
        margin-right: 2rem;
        transition: transform 300ms ease-in-out;
    }
    
    .accordion-body {
        padding: 0px 1rem;
        display: flex;
        flex-direction: row;
        justify-content: center;
        vertical-align: middle;
        background-color: #fff;
    }
    
    .accordion-body-content {
        width: 49%;
        padding: 1rem 5rem 1rem 0;
        display: inline-flex;
        justify-content: center;
        flex-direction: column;
        vertical-align: middle;
    }
    
    .accordion-video {
        width: 45%;
        padding-top: 25.25%;
        height: 0;
        position: relative;
        margin: 1rem 0;
        display: inline-flex;
        vertical-align: middle;
        justify-content: right;
        align-self: center;
    }
    
/* ================================================================================================================
Animations
================================================================================================================ */

    @keyframes button-gradien-in {
        
        0% {
            background-position: 0%;
        }
        
        50% {
            background-position: 50%;
        }
        
        100% {
            background-position: 77%;
        }
      
    }
    
    @keyframes button-gradien-out {
        
        0% {
            background-position: 77%;
        }
        
        50% {
            background-position: 50%;
        }
        
        100% {
            background-position: 0%;
        }
      
    }
    
    @keyframes switchTabs {
        
        0% {
            transform: scale(0);
        }
    
        100% {
            transform: scale(1);
        }
        
    }