* {
    box-sizing: border-box;
    text-transform: none !important;
}

html {
    background-color: rgba(0, 0, 0, 0);
}

body {
    background: inherit;
    -webkit-font-smoothing: antialiased;
}

body, html {
    position: absolute !important;
    height: unset !important;
    width: 100%;
}

md-content {
    background-color: inherit;
}

.form-top {
    margin-top: 150px;
}

@media (max-height: 768px) {
    .form-top {
        margin-top: 70px;
    }
}

.login-error-msg {
    color: rgb(221, 44, 0);
    text-align: left;
    width: 100%;
    margin-top: 10px;
    font-size: 12px;
}

md-card-actions {
    margin-top: 50px;
    padding-left: 40px;
    padding-right: 40px;
}

md-card-content {
    padding-bottom: 0 !important;
}

.login-form-input-container md-input-container {
    margin-left: 30px !important;
    margin-right: 30px !important;
}

.login-form-input-container md-input-container:last-child {
    margin-top: 30px !important;
}

md-input-container .md-input {
    -ms-flex-preferred-size: auto;
}

.login-background {
    background: #fff;
    bottom: 0;
    direction: ltr;
    left: 0;
    overflow: hidden;
    position: absolute;
    right: 0;
    top: 0;
    z-index: -1;
}

.login-background svg {
    height: 100%;
    position: relative;
    width: 100%;
}

md-progress-linear {
    margin-bottom: -5px !important;
}

.loading-div {
    position: fixed;
    z-index: 10001;
    background-color: white;
    opacity: .5;
    margin-top: 5px;
}

#login-card {
}

#login-form {
    width: 60%;
    max-width: 1000px;
    min-width: 500px;
}

@media (max-width: 1200px) {
    #login-form {
        width: 85%;
    }
}

@media (max-width: 1400px) {
    #login-form {
        width: 75%;
    }
}

@media (max-width: 1000px) {
    #login-form {
        width: 95%;
    }
}

.login-banner {
    /*max-height: 470px !important;*/
}

.login-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.login-footer {
    color: #4a89dc;
    font-size: 12px
}

.login-footer a:link {
    color: #4a89dc;
}

md-input-container .md-input[type=password]:-webkit-autofill ~ label:not(.md-no-float) {
    transform: translate3d(0, 6px, 0) scale(0.75);
    transition: transform cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s, width cubic-bezier(0.25, 0.8, 0.25, 1) 0.4s;
    width: calc((100% - 18px) / 0.75);
    color: rgba(0, 0, 0, 0.54);
}

/*去除chrome自动填充的黄色背景*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px white inset !important;
    background-color: transparent !important;
}