﻿body {
    text-transform:uppercase;
}

body.flex {
    text-transform:none;
}

.bg-white {
    background-color: #fff;
}

.bg-transparent {
    background-color: transparent !important;
}

.login-wrapper {
    height: 100%;
    /*background-color: #6d5cae;*/
    background-color: white;
}

.login-wrapper > * {
    height: 100%;
}

.btn-primary,
.btn-primary:hover,
.btn-primary:active{
    color: var(--text-whitey);
    background-color: var(--bg-tertiary);
    border-color: var(--bg-tertiary);
    text-transform:uppercase;
    width:100%;
}

@media (min-width:1024px)
{
    .login-wrapper .login-container {
        background-color:white;
    }
}

.login-wrapper .bg-pic {
    position: absolute;
    width: 100%;
    overflow: hidden;
    background-color: #2e2942;
    background: url('/img/login-bg.png');
    background-size:cover;
}

.flex .login-wrapper .bg-pic {
    width: calc(100% - 494px);
}

.flex .login-wrapper {
    background: url('/img/flex-login.png');
    background-size: contain;
    background-repeat: no-repeat;
    height: 100vh;
    background-position: bottom right;
}

@media (min-width:800px) {
    .flex .login-wrapper {
        background-size: 600px;
    }
}

@media (min-width:1024px)
{
    .flex .login-wrapper {
        background-size: 800px;
    }
}

.flex .login-wrapper .mainlogo {
    opacity: 0.5;
    width: 35%;
}

.flex .login-container img {
    max-height:100px;
}

.flex .login-container img.horz {
    margin-top:1rem;
    max-height:40px;
}

.flex .container-fluid {
    margin-left:0;
}

.flex .bg-pic {
    z-index:10;
}

.flex .login-container {
    z-index:1000;
}

    .login-wrapper .bg-pic > .bgimg {
        /*height: 100%;*/
        z-index:1;
        /*opacity: 0.6;*/
    }

    .login-wrapper .mainlogo {
        z-index: 1000;
        position: absolute;
        top: 30%;
        left: 30%;
        width: 15%;
    }

@media (min-width:1024px) {

    .login-wrapper .login-container {
        width: 496px;
        display: block;
        position: absolute;
        left: 0;
        border-left: 1px solid #ccc;
    }

    .login-wrapper .login-container > div {
        margin-top:30px;
    }
}

.login-wrapper .bg-caption {
    width: 500px;
}

.register-container {
    width: 550px;
    margin: auto;
    height: 100%;
}

.login-wrapper input[type=email],
.login-wrapper input[type=text],
.login-wrapper input[type=password] {
    border-radius: .6rem;
    padding: .5rem;
    background-color: unset;
    border: 1px solid rgba(0,0,0,0.6);
    width: 100%;
}

.login-wrapper label {
    margin-top:30px;
    font-weight:900;
    font-size:1.2rem;
    color:var(--text-grey);
}

/* Responsive handlers : Login
------------------------------------
*/
@media (max-width: 768px) {
    .login-wrapper .login-container {
        width: 100%;
    }

    .register-container {
        width: 100%;
        padding: 15px;
    }
}

@media only screen and (max-width: 321px) {
    .login-wrapper .login-container {
        width: 100%;
    }
}

.nav {
    background-color: #302448;
    position: fixed;
}

    .nav.nav-left {
        height: 100vh;
        width: 4.5rem;
        display: block;
        z-index:10000;
    }

    .nav.nav-top {
        height: 3rem;
        top: 0;
        width: 100vw;
        z-index: 10000;
    }

        .nav.nav-top img {
            height: 20px;
            margin: auto;
        }

.navbar-brand {
    margin: auto;
    z-index: 12000;
    padding: 0;
}

.navbar-toggler {
    position: absolute;
    left: 5px;
    top: 5px;
    border: none;
}

    .navbar-toggler:active,
    .navbar-toggler:focus {
        outline: none;
    }

.navbar-collapse {
    background: #d1adec;
    color: white;
    position: absolute;
    top: 3rem;
    left: 0;
    width: 100%;
}

    .navbar-collapse .nav-item a,
    .navbar-dark .navbar-nav .nav-link {
        padding: 10px 20px;
        color: white;
        border-bottom: 1px solid rgba(255,255,255,0.2);
    }

        .navbar-collapse .nav-item a i {
            font-size: 1.5rem;
            margin-right: 0.5rem;
            width: 2rem;
            margin-top: 5px;
        }

@media (min-width:768px) {
    .container-fluid {
        padding-left: 5rem;
        padding-right: 0;
    }
}

@media (max-width:767px) {
    .container-fluid {
        padding-left: 0;
        padding-right: 0;
    }
}

/********************
    Nav Left
*********************/

.nav-left ul {
    padding: 0;
    margin: 0;
    padding-top: 1rem;
}

.nav-left li {
    padding: 0;
    margin: 0;
    margin-bottom: 2rem;
}

.nav-left ul a {
    font-size: 1.5rem;
    color: white;
    padding: 1rem 1.6rem;
}

    .nav-left ul a i {
        font-size: 1.5rem;
    }

.nav-left .bottom {
    margin-top: auto !important;
    margin-left: 0rem;
    height: 9rem;
    width: 2rem;
    border: 0px solid red;
    opacity: 1;
    overflow: visible;
    position: absolute;
    bottom: 2rem;
    left: 0;
}

.nav-left .bottom img {
    height:9rem;
}

/********************
    TYPOGRAPHY
*********************/

h1 {
    font-size: 3rem;
    font-weight: 600 !important;
    margin:0 !important;
}

    h1 span {
        color: var(--text-tertiary);
    }

.purple, .p {
    color: #a56fd9;
    font-size: 2rem;
}

.white, .w {
    color: white;
    font-size: .9rem;
}

h2 {
    font-size: 0.8rem;
    font-weight: 900 !important;
    margin-top:20px;
    padding-bottom:1rem;
    border-bottom:1px solid var(--text-grey);
}

h3 {
    font-size: 1.4rem;
    font-weight: 900 !important;
    margin:0 !important;
}

a, a h2, a h3 {
    /*color: black;*/
    color: var(--active-text);
}

.btn-link {
    color: var(--active-text);    
}

a, .btn-link {
    font-size:0.8rem;
}

    a:hover {
        text-decoration: none;
    }

    @media (max-width:375px)
    {
        h3 {
            margin-top:50px !important;
        }
    }

.login-container {
    padding: 4rem;
}

    @media (max-width:812px) and (orientation:landscape)
    {
        .login-container
        {
            margin-left:4rem;
            padding-top:1rem;
        }

        .login-wrapper label {
            margin-top: 1rem;
        }

        
    }

@media (min-width:768px) and (max-width:768px) and (orientation:portrait) {
    .login-container {
        margin-left: 2rem;
        padding-top: 1rem;
    }

    .login-wrapper label {
        margin-top: 1rem;
    }
}

@media (max-width:1024px) and (orientation:landscape) {
    .login-wrapper .mainlogo {
        left: 24%;
    }
}

.flex .login-wrapper .login-container {
    background-color: unset !important;
}

body.flex {
    background-color:black;
}

.flex .btn-primary {
    background-color:white;
    color:black;
}

.flex label {
    font-weight:400;
    margin-bottom:0.5rem;
    color:white;
}

.flex .login-wrapper input[type=email], .flex .login-wrapper input[type=text], .flex .login-wrapper input[type=password] {
    background-color: white !important;
    color: black;
}

.flex .login-container a {
    color: white;
}

@media (orientation: landscape) and (max-width:932px) {
    .flex .login-container {
        padding:3rem;
    }
    .flex .login-container img.horz {
        margin-top: 0;
    }

    .flex label {
        margin-top: 1rem;
    }

    .flex mb-4 {
        margin-bottom: 0.1rem;
    }
}