body {
    font-family: "Nunito Sans",Helvetica,serif;
    font-size: 14px;
    box-sizing: border-box;
    overflow:hidden;
    margin:0;
}

.row {
    max-width:400px;
    margin: 0 auto;
}

#top-container {
    padding: 30px 40px 30px 40px;
}

#bottom-container {
    border-top: 1px solid #dedede;
    text-align: right;
    padding: 15px;
    border-top: none;
    margin: 0 13px 0 13px;
    border-top: none;
}

input[type=text],input[type=password],input[type=email] {
    border-style: solid;
    border-width: 1px;
    border-color: #ccc;
    color: rgba(0,0,0,0.75);
    display: block;
    height: 2.3125rem;
    width: 100%;
    transition: border-color .15s linear,background .15s linear;
    box-shadow: 0 0 6px rgba(0,0,0,0.11);
    border-radius: 4px;
    background: white;
    margin: 3px 0 1rem;
    outline:0;
    padding: 8px;
    box-sizing: border-box;
}

input:hover, input:focus {
    border-color:#1a1a1a;
}

label {
    color: #4d4d4d;
    cursor: pointer;
    display: block;
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.5;
}

button {
    display: block;
    margin: 20px auto 20px auto;
    max-width: 300px;
    width: 100%;
    border-radius: 25px;
    height: 50px;
    line-height: 50px;
    font-family: 'Lato', Helvetica, serif;
    box-shadow: 0 0 15px rgb(0 0 0 / 10%);
    border:0;
    cursor:pointer;
    color:white;
    font-size:16px;
}

#login, #submit-email {
    margin-bottom:0;
    background: linear-gradient(90deg, rgba(51, 156, 216, 1) 0%, rgba(107, 189, 255, 1) 100%);
}

.submit-social {
    line-height: 35px;
    vertical-align: -5px;
    margin-top: 0;
    text-shadow: 0 0 1px #cecece;
    text-align:left
}

.submit-social img {
    width:24px;
    height:24px;
    float: left;
    padding: 5px 35px 0 11px;
}

#submit-facebook {
    background: #3b5998;
}

#submit-google {
    background:white;
    color: slategray;
}

#soc-container {
    background: #f1f2ff;
    padding: 46px;
    margin: 0;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
    text-align: center;
}

#email-auth-page #soc-container {
    background: none;
}

#load-overlay {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #fcfcfc;
    opacity:0;
    z-index: 4;
    position: absolute;
    padding-top: 15%;
    text-align: center;
    display: none;
    font-size:15px;
    transition:1.5s;
}

#load-overlay.visible {
    display: block;
    opacity: 0.85;
}


small.error {
    display:none;
    color: #cc2020;
}

img {
    vertical-align:middle;
}

a {
    text-decoration: none;

    color: #32a4e6;
}

#forgot-password-link {
    font-size: 0.8em;
    padding-top: 0.1em;
    float:right;
    color: #008CBA;
}

.login-error {
    background-color: #FFFFD6;
    padding: 10px 5px 10px 5px;
    margin-bottom: 10px;
    color: #404040;
    font-size: 11pt;
    text-align: center;
    display: none;
}

#email-required {
    width: 100%;color: red;padding: 10px;display:none;
}

#signup-terms {
    background:#fbfbfb;
    padding:15px;
}

#login-page .hcaptcha-container {
    zoom: 1.15;
    transform: scale(0.89);
}

.signup-errors {
    margin: 20px 0 -27px 0;
    text-align: center;
}
label.error {
    color: #cc2020;
}

@media all and (max-height: 500px) {
    #login-page {
        zoom:0.87;
    }

    #signup-page {
        zoom:0.78;
    }

    #signup-page .hcaptcha-container {
        zoom: 1.3;
        transform: scale(0.7);
        left:0;
        top:0;
    }
}

@media all and (max-width: 410px), all and (max-height: 600px) {
    #signup-page label {
        font-size: 0.8rem;
    }
    #signup-page #top-container {
        padding: 32px 32px 10px 32px;
    }

    #signup-terms {
        background:none;
        padding:0;
    }
    #signup-terms label {
        margin-bottom:5px;
    }

    #signup-page #soc-container {
        margin: 16px 0;
        padding: 30px;
    	margin-top:70px;
    }

    #email-auth-page #soc-container {
        margin: 16px 0;
        padding: 30px;
    }
}

@media all and (max-width:340px) {
    body {
        zoom:0.9
    }

    #signup-page .hcaptcha-container {
        zoom: 1.1;
        transform: scale(0.9);
        top:0;
    }
}
