﻿@import "font.css";
@import "button.css";
@import "form.css";
@import "icon.css";
@import "modal.css";
@import "gritter.css";

:root {
    --primary: rgb(29,71,89); /* rgba(7, 53, 73, 0.9); */
    --primary-light: rgb(255,255,255); /* rgb(227,236,238) rgba(65, 129, 143, 0.15); */
    --primary-lighter: rgb(236,239,240); /* rgba(196, 205, 209, 0.32); */
    --primary-hover: rgb(27,46,55); /* rgba(5, 26, 35, 0.9); */
    --primary-focus: rgba(65, 129, 143, 0.03);
    --white: rgba(255, 255, 255, 1);
    --boxes: rgba(196, 205, 209, 0.32);
    --success: #59D599;
    --danger: #EA4335;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 32px;
    --size-sm: 8px;
    --size-md: 16px;
    --size-lg: 32px;
    --space-lg: 60px;
    --space-md: 40px;
    --space: 7px;
    --border-radius-size: 8px;
    --ee-close-button-color: rgb(225,151,130);
}

body {
    font-family: Inter;
    color: var(--primary);
    background-color: #F8FBFF;
}

a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid var(--primary);
}

    a:hover {
        color: var(--primary-hover);
    }

.split-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 880px;
}

.shadow-panel {
    border-top-right-radius: 32px;
    /*border-bottom-right-radius: 32px;*/
    box-shadow: 32px 12px 56px 0px rgba(31, 65, 120, 0.2), 1px 0px 1px 0px rgba(233, 236, 242, 1);
}

.shadow-panel-left {
    border-top-left-radius: 32px;
    border-bottom-left-radius: 32px;
    box-shadow: 0px 12px 56px 32px rgba(31, 65, 120, 0.2), 1px 0px 1px 0px rgba(233, 236, 242, 1);
}

.content-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding: var(--space-lg) var(--space-md);
}

.forgot-password-content {
    width: 100%;
}

.login-content {
    width: 100%;
}

.help-centre {
    border-bottom: none;
}

.register-content {
    width: 100%;
}

.external-register-wrapper {
    margin-top: 80px;
}

.register-with-text {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-md);
    align-items: center;
}

.purchase-control {
    display: flex;
}

.purchase-code-control {
    width: 120px;
}

.register-with-text::after {
    content: '';
    width: 100%;
    height: 3px;
    background-color: var(--primary-light);
}

.register-with-text::before {
    content: '';
    width: 100%;
    height: 3px;
    background-color: var(--primary-light);
}

.external-login-wrapper {
    margin-top: 20px;
}

.email-login-text {
    margin: 50px 0 20px;
    line-height: 0.1em;
    /*display: grid;
    grid-template-columns: 1fr auto 13fr;
    gap: var(--space);
    align-items: center;*/
    font-size: 27px;
    font-weight: 700;
    text-align: left;
    border-bottom: 4px solid #e8eced;
    width: 100%;
}

.customer-register-text {
    font-weight: 400;
}

.email-login-text span {
    background: #f8fbff;
    padding-right: 10px;
}

/*.email-login-text::after {
    content: '';
    width: 100%;
    height: 3px;
    background-color: var(--primary-light);
}

.email-login-text::before {
    content: '';
    width: 100%;
    height: 3px;
    background-color: var(--primary-light);
}*/

.form-wrapper {
    gap: 0px;
}

.form-footer-wrapper {
    margin-top: var(--space);
    display: block;
    justify-content: flex-end;
}

.footer-forgotpassword {
    float: right;
}

.footer-register {
    float: left;
}

.greeting-wrapper {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr;
    grid-template-areas:
        "text"
        "image";
    max-width: 3000px;
    z-index: -9999;
}

    .greeting-wrapper .greeting__image {
        background-image: url(../../images/homepage-banner-bg-transparent.png);
        background-repeat: no-repeat, no-repeat;
        background-position: bottom center;
        background-size: contain;
        grid-area: image
    }

    .greeting-wrapper .greeting__text {
        text-align: center;
        max-width: 700px;
        justify-self: center;
        padding: 80px var(--space);
        grid-area: text;
    }

        .greeting-wrapper .greeting__text > h1 {
            font-weight: 500;
            font-size: 51px;
        }

            .greeting-wrapper .greeting__text > h1 > strong {
                font-weight: 800;
            }

        .greeting-wrapper .greeting__text > h4 {
            font-weight: 500;
        }

.ee-logo {
}

.lb-logo {
    height: 54px;
    margin-left: 5px;
}

.demo-circle {
    cursor: pointer;
    bottom: -170px;
    position: absolute;
    height: 400px;
    width: 400px;
    background-color: #38CFD6;
    border-radius: 73%;
    left: -126px;
    transition: all .1s ease-in-out;
}

    .demo-circle:hover {
        transform: scale(1.1);
    }

#demo-box:hover + #demo-circle {
    transform: scale(1.1);
}

.demo-box {
    cursor: pointer;
    position: absolute;
    bottom: 19px;
    left: 25px;
    font-weight: 700;
    font-family: sans-serif;
    color: white;
    font-size: 18px;
    z-index: 99;
}

.demo-box-title {
    cursor: pointer;
    padding-left: 4px;
    line-height: 8px;
}

.demo-box-text {
    cursor: pointer;
    margin-top: 10px;
    width: 190px;
    font-size: 15px;
    font-weight: 100;
    line-height: 17px;
}

.demo-box-text-bold {
    font-weight: 900;
}

.ebooks {
    overflow: hidden;
    max-width: 3000px;
}

.demo-box-icon {
    cursor: pointer;
    height: 50px;
    padding-left: 46px;
    padding-bottom: 8px;
    margin-bottom: 2px;
}

/* mobile */
@media screen and (max-width: 768px) {
    .split-panel {
        grid-template-columns: 1fr;
        min-height: 100vh;
    }

    .content-wrapper {
        min-height: auto;
    }

    .shadow-panel {
        border-top-left-radius: 32px;
        box-shadow: 0px -8px 56px 0px rgba(31, 65, 120, 0.2), 1px 0px 1px 0px rgba(233, 236, 242, 1);
    }

    .greeting-wrapper {
        grid-template-rows: 1fr auto;
        grid-template-areas:
            "image"
            "text";
        min-height: 450px;
        order: -1;
    }

        .greeting-wrapper .greeting__image {
            background-size: cover;
            mask-image: linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 1) 50px);
        }

        .greeting-wrapper .greeting__text {
            padding: var(--space);
        }

            .greeting-wrapper .greeting__text > h1 {
                font-size: 2rem;
            }

    .ebooks {
        overflow-y: scroll;
    }
}

/* maxi */
@media screen and (min-width: 2560px) {

    .greeting-wrapper {
        background-size: 850px 850px;
    }

        .greeting-wrapper .greeting__text > h1 {
            font-size: 4.5rem;
        }
}

@media screen and (max-height: 1200px) {
    .ebooks {
        overflow-y: scroll;
    }
}
