* {
    box-sizing: border-box;
}

body {
    background: #2f2f2f;
    color: #fff;
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
}

#LoginLogoLink {
    background: url('../img/DefaultLoginLogo.png');
    width: 175px;
    height: 175px;
    display: inline-block;
    background-size: 175px 175px;
}

div.login-links a {
    color: #519e7a;
}

.p-failure {
    color: #ff7f7f;
}

#wrapper {
    display: flex;
    flex-direction: row;
}

#left {
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

#right {
    flex: 1;
}

#signin {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 80%;
    padding-bottom: 1rem;
}

#Login1 {
    width: 100%;
}

#WebServerId {
    color: #8b8b8b;
    font-size: 1.2rem;
}

#signin form {
    width: 80%;
    padding-bottom: 3rem;
}

#signin .logo {
    margin-bottom: 7vh;
}

/*#signin .logo img {*/
/*    width: 172px;*/
/*}*/

#signin label {
    font-weight: normal;
}

#signin .text-input {
    margin-bottom: 1.3rem;
    width: 100%;
    border-radius: 2px;
    background: #1f1f1f;
    border: none;
    color: #ffffff;
    padding: 1rem 1rem;
    line-height: 1rem;
}

#signin .primary-btn {
    width: 100%;
}

#signin .secondary-btn,
.or,
.links {
    width: 60%;
}

#signin .links a {
    display: block;
    color: #fff;
    text-decoration: none;
    text-align: center;
}

#signin .or {
    display: flex;
    flex-direction: row;
    margin-bottom: 1.2rem;
    align-items: center;
}

#signin .or .bar {
    flex: auto;
    border: none;
    height: 1px;
    background: #aaa;
}

#signin .or span {
    color: #ccc;
    padding: 0 0.8rem;
}

#showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('../img/LoginShowcase.jpg') no-repeat center center / cover;
    height: 100vh;
    text-align: center;
}

#showcase .showcase-text {
    font-size: 4rem;
    
    width: 100%;
    color: #fff;
    margin-bottom: 1.5rem;
}

#showcase .secondary-btn {
    width: 60%;
    margin: auto;
}

/* Footer */
#main-footer {
    color: #ccc;
    text-align: center;
    
    max-width: 80%;
    padding-top: 4rem;
}

#main-footer a {
    color: #407c60;
    text-decoration: underline;
}

.primary-btn {
    padding: 1rem 1rem;
    display: block;
    border: 0;
    border-radius: 2px;
    font-weight: 500;
    background: #407c60;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.5s;
}

.primary-btn:hover {
    background-color: #1f1f1f;
}

.secondary-btn {
    padding: .7rem;
    height: 3.7rem;
    display: block;
    border: 1px solid #f4f4f4;
    border-radius: 2px;
    font-weight: 500;
    background: none;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    transition: all 0.5s;
}

.secondary-btn:hover {
    border-color: #000;
    color: #000;
}

.login-showcase-logo.xxs {
    margin-top: -75px;
}
.login-showcase-logo.xxs img {
    height: 100px;
}
.login-showcase-logo.xs {
    margin-top: -100px;
}
.login-showcase-logo.xs img {
    height: 150px;
}
.login-showcase-logo.sm {
    margin-top: -125px;
}
.login-showcase-logo.sm img {
    height: 200px;
}
.login-showcase-logo.md {
    margin-top: -150px;
}
.login-showcase-logo.md img {
    height: 250px;
}
.login-showcase-logo.lg {
    margin-top: -175px;
}
.login-showcase-logo.lg img {
    height: 300px;
}
.login-showcase-logo.xl {
    margin-top: -200px;
}
.login-showcase-logo.xl img {
    height: 350px;
}
.login-showcase-logo.xxl {
    margin-top: -225px;
}
.login-showcase-logo.xxl img {
    height: 400px;
}

.login-showcase-logo.ds-1 img {
    filter: drop-shadow(4px 4px 2px rgba(0,0,0,0.5));
}
.login-showcase-logo.ds-2 img {
    filter: drop-shadow(8px 8px 4px rgba(0,0,0,0.5));
}
.login-showcase-logo.ds-3 img {
    filter: drop-shadow(12px 12px 6px rgba(0,0,0,0.5));
}
.login-showcase-logo.ds-4 img {
    filter: drop-shadow(16px 16px 18px rgba(0,0,0,0.5));
}

@media (min-width: 1200px) {
    #left {
        flex: 4;
        -webkit-box-shadow: 10px 0px 10px 0px rgba(0,0,0,0.5);
        -moz-box-shadow: 10px 0px 10px 0px rgba(0,0,0,0.5);
        box-shadow: 10px 0px 10px 0px rgba(0,0,0,0.5);
        z-index: 100;
    }

    #right {
        flex: 6;
    }
}

@media (max-width: 768px) {
    body {
        overflow: auto;
    }

    #right {
        display: none;
    }

    #left {
        justify-content: start;
        margin-top: 4vh;
    }

    #signin .logo {
        margin-bottom: 2vh;
    }

    #signin .text-input {
        margin-bottom: 0.7rem;
    }

    #main-footer {
        padding-top: 1rem;
    }
}
