*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

:root {
    --gf-dark: #05386B;
    --gf-primary-dark: #379683;
    --gf-primary: #5CDB95;
    --gf-primary-light: #609a78;
    --gf-medium: #ccc;
    --gf-light: #f0f3ec;

    --plfp-blue: #233d81;
    --plfp-green: #22b14d;
}

article, aside, footer, header, hgroup, nav, section {
    display:block;
}
a {
  text-decoration: none;
}
html {
    line-height: normal;
    font-family: "Roboto", sans-serif !important;
    font-size: 18px;
    font-weight: normal;
    color: rgba(0, 0, 0, 0.87);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    overflow: hidden;
}
.blue {
    background-color: var(--gf-primary-dark);
}
.blue-text {
    color: var(--gf-primary-dark);
}
.upper {
    text-transform: uppercase;
}
.select-none {
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}
main::before, main::after {
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    content: '';
    display: block;
    height: 1rem;
}
section {
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    display: block;
    width: 19rem;
    height: 520px;
    position: relative;
    margin: 0 auto;
    padding: 1rem;
    background: #FEFEFE;
    border-radius: 3px;
    box-shadow: 0 8px 10px 1px rgba(0, 0, 0, 0.14),
                0 3px 14px 2px rgba(0, 0, 0, 0.12),
                0 5px 5px -3px rgba(0, 0, 0, 0.3);
}
header {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.circle {
    position: relative;
    width: 300px;
    height: 130px;
    overflow: hidden;
}
.gfLOANS_logo{
    fill: var(--gf-primary-dark);
    height:80px;
}
.plfp_logo {
    width: 100%;
    position: absolute;
    left: 0;
    top: 10px;
}
#plfp_logo_green,
#plfp_logo_orange
/*#plfp_logo_primalend*/
{
    transform: translateX(-300px);
}
#plfp_logo_pl_reveal,
#plfp_logo_fp_reveal
/*#plfp_logo_primalend*/
{
    transform: translateX(40px);
}
/*#plfp_logo_floorplans {*/
/*    left: 100%;*/
/*}*/
h1 {
    letter-spacing: 4px;
    word-spacing: 6px;
    font-size: 0.8em;
}
h2 {
    font-weight: 100;
    font-size: 2.5em;
    margin: 1rem 0 2rem 0.5rem;
}
h3 {
    font-weight: 100;
    font-size: 2em;
    margin: 1rem 0 1rem 0;
}
h3.login {
    font-weight: 100;
    font-size: 2.2em;
    margin: 2rem 0 1.5rem 0.5rem;
    color: var(--gf-primary-dark);

}
.row {
    margin: 1rem 0;
}
.input-field {
    position: relative;
    font-size: 14px;
    color: rgba(0, 0 ,0 , 0.54);
    margin: 1rem 0 1rem 0;
}
input[type=text], input[type=password] {
    display: block;
    line-height: 1;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #9e9e9e;
    border-radius: 0;
    outline: none;
    height: 2.5rem;
    width: 50%;
    font: inherit;
    font-size: 1rem;
    padding: 0;
    margin: 0;
    box-shadow: none;
    transition: all 0.3s;
}
input[type=text].focal, input[type=password].focal {
    outline: none;
    outline-offset: unset;
    width: 80%;
    border-bottom: 2px solid var(--gf-primary);
}
.input-field label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 1rem;
    cursor: text;
    transition: all 0.3s;
    text-align: initial;
    pointer-events: none;
}
.activate {
    transform: scale(0.8) translateY(-2.5rem);
    transform-origin: 0%;
    color: var(--gf-primary-dark);
}
#switchDiv {
    margin-top: 1rem;
    color: rgba(0, 0, 0, 0.38);
}
.switch-text {
    font-size: 0.8em;
}
.switch {
    display: inline-block;
    position: relative;
    width: 34px;
    height: 14px;
    margin-left: 9rem;
    border-radius: 100px;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    background-color: rgba(0, 0, 0, 0.38);
}
#auth_user_remember_me {
    display: none;
}
.switch i {
    position: absolute;
    height: 20px;
    width: 20px;
    background: #FFFFFF;
    display: inline-block;
    border-radius: 100px;
    top: -4px;
    left: 0px;
    transition: all 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out;
    pointer-events: none;
    box-shadow: -1px 1px 3px 0 rgba(0, 0, 0, 0.14),
                -1px 0px 6px 0 rgba(0, 0, 0, 0.12),
                1px 2px 2px -1px rgba(0, 0, 0, 0.2);
}
label>i {
    box-shadow: -1px 1px 4px 0 rgba(0, 0, 0, 0.14),
                -1px 0px 7px 0 rgba(0, 0, 0, 0.12),
                1px 2px 3px -1px rgba(0, 0, 0, 0.2);
    transform: scale(1.01);
}
#auth_user_remember_me:checked+label>i {
    margin-left: 17px;
    background: var(--gf-primary);
}
label:active {
    background-color: var(--gf-primary);
}
label:active>i {
    width: 24px;
    left: -4px;
    box-shadow: -1px 4px 4px 0 rgba(0, 0, 0, 0.14),
                -1px 2px 8px 0 rgba(0, 0, 0, 0.12),
                1px 4px 2px -1px rgba(0, 0, 0, 0.2);
}
#auth_user_remember_me:checked+label:active>i {
    right: -4px;
}
#auth_user_remember_me:checked+label {
    background-color: var(--gf-primary-light);
}
a[href], input[type='submit'], .switch {
    cursor: pointer;
}

#portal-login .btn {
    margin: 1rem 0;
    width: 100%;
    height: 2rem;
    border: none;
    border-radius: 50px;
    background-color: var(--gf-primary-dark);
    font: inherit;
    letter-spacing: normal;
    color: #FFFFFF; /* white text */
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14),
                0 1px 5px 0 rgba(0, 0, 0, 0.12),
                0 3px 1px -2px rgba(0, 0, 0, 0.2);
    transition: .3s ease-out;
}
#portal-login .btn:hover,
#portal-login .btn:focus {
    background-color: var(--gf-primary);
    border: none;
    outline: 0;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.14),
                0 1px 7px 0 rgba(0, 0, 0, 0.12),
                0 3px 1px -1px rgba(0, 0, 0, 0.2);
}
footer a {
    font-size: 0.8em;
    text-decoration: none;
    color: var(--gf-primary-light);
}
.error {
    color: rgb(255, 0, 0);
}

.upper.title_text{
    font-size: 18px;
    margin:0;
    transform: translateY(-3px);
    color: var(--gf-dark);
    border-top: 1.5px solid var(--gf-dark);
    padding-top: 1px;
    margin-top: 3px;
}

@media only screen and (max-width:375px) {

    #portal-login{
        width:80vw;
    }

    article {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 20px;
        margin: auto;
        width: 70vw;
    }

    .circle  {
        position: relative;
    }


    .gfLOANS_logo{
        position: absolute;
        bottom: 3px;
        right: 0;
        left: 0;
        margin: auto;
        width: 68vw;
    }

    /*.blue-text.select-none,*/
    .upper,
    footer{
        margin:0;
        font-size: 4.7vw !important;
    }

    footer {
        position: absolute;
        bottom: 10px;
        left: 15px;

    }

    h2.blue-text {
        font-size: 8vw !important;
    }





}

@media only screen and (max-height: 600px) {
    #portal-login{
        height: 85vh;
    }
}
