body {
    padding-top: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.tooltip {
    font-size: 13px;
    padding: 3px 6px;
}

input[type="text"], input[type="password"] {
    height: 30px !important;
    font-size: 16px;
}

#reg_form {
    background: #FFF;
    width: 450px;
    margin: 0 auto;
    padding: 15px 20px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    box-sizing: border-box;
}

#reg_form.green {
    background-color: #6EBA63;
    color: #FFF;
}

#reg_form.green a {
    font-weight: bold;
    color: #FFF;
}

.flex-2 {
    display: flex;
    align-items: center;
    justify-content: unset;
    height: unset;
    flex-direction: column-reverse;
}

.flex-2 > div {
    flex-basis: 100%;
}

#login-form input[type=submit] {
    margin: 0 0 10px 0;
    width: 100%;
}

input#login-btn ~ a {
    margin-left: 0 !important;
}

.main-content {
    margin-top: 30px;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    #reg_form {
        width: 100%;
    }

    body {
        padding-left: 0;
    }

    .container {
        padding-left: 0;
    }
}

/* desktop */
@media only screen and (min-width: 1024px) {

    #login-form input[type=submit] {
        width: auto;
        margin-right: 10px;
    }

    .flex-2 {
        align-items: stretch;
        justify-content: space-between;
        min-height: 100vh;
        flex-direction: row;
    }

    .flex-2 > div {
        flex-basis: 50%;
    }

    .main-content {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0;
    }

    .main-content > div {
        height: fit-content;
    }

    /* Change from two column to single column layout */
    .flex-2.unflex {
        flex-direction: column;
        height: 100%;
        align-items: center;
        justify-content: center;
    }
}

/* Hide marketplace banner when login page has single column layout class */
.unflex .mkpl-banner {
    display: none;
}