@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url(/font/SourceSansPro-Light.ttf) format('truetype')
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(/font/SourceSansPro-Regular.ttf) format('truetype')
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url(/font/SourceSansPro-SemiBold.ttf) format('truetype')
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url(/font/SourceSansPro-Bold.ttf) format('truetype')
}
body {
    font-family: 'Source Sans Pro', 'Microsoft Yahei', "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    /* -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none; */
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    background: #535353;
}

::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    background: #e6e6e6;
}

.form-control:focus {
    border-color: unset;
    -webkit-box-shadow: none;
    box-shadow: none;
}

/* Firefox中有required属性的input会有默认的红色边框 */
input:required {
    box-shadow: none;
}

/* Remove boostrap th border bottom */
.table thead th {
    border-bottom: none;
}

.alert-msg {
    position: relative;
    top: 20px;
    margin: 0 auto;
}

.userinfo {
    position: fixed;
    z-index: 1;
    right: 10px;
    top: 10px;
    color: #FFFFFF;
    background-color: rgba(28, 28, 28, .3);
    border-radius: 50%;
    box-shadow: 0 0 10px rgb(0 0 0 / 20%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.userinfo .userface img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.userinfo .userface svg {
    vertical-align: sub;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
}

.footer ul {
    margin: 0;
    padding: 0 10px;
    margin: 0 0 0 10px;
    background-color: rgba(28, 28, 28, .3);
    border-radius: 1rem;
    box-shadow: 0 0 10px rgb(0 0 0 / 30%);
}

.footer ul:hover {
    background-color: rgba(28, 28, 28, .6);
}

.footer li {
    display: inline-block;
    list-style-type: none;
    padding: 2px 10px;
}

.footer li a {
    color: #ffffff;
}
.logo {
    margin: 10px 0 0 10px;
    text-align: left;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
}

.login-box {
    height: 100vh;
}

.login-left {
    background: url(/images/bg.jpg);
    color: #ffffff;
    text-align: center;
    background-position: top;
    background-size: cover;
}

.features {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    height: 100%;
    font-size: 1rem;
}

.forgot-password p {
    font-size: 1rem;
    color: #888888;
}

.features li {
    line-height: 7vh;
    font-size: 1.1rem;
}

.features li::before {
    content: url(/images/complete.svg);
    position: relative;
    top: 6px;
    margin-right: 6px;
}

.features li.icon-lightning::before {
    content: url(/images/icon-lightning.svg);
}

.features li.icon-homepage::before {
    content: url(/images/icon-homepage.svg);
}

.features li.icon-weather::before {
    content: url(/images/icon-weather.svg);
}

.features li.icon-notes::before {
    content: url(/images/icon-notes.svg);
}

.features li.icon-package::before {
    content: url(/images/icon-package.svg);
}

.features li.icon-todo::before {
    content: url(/images/icon-todo.svg);
}

.features li.icon-folders::before {
    content: url(/images/icon-folders.svg);
}

.features li.icon-wallpapers::before {
    content: url(/images/icon-wallpaper.svg);
}

.features li.icon-desktop::before {
    content: url(/images/icon-desktop.svg);
}

.features li.icon-cloud::before {
    content: url(/images/icon-cloud.svg);
}

.login-right {
    /* padding-top: 16vh; */
    padding-right: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* flex-direction: column; */
    height: 100%;
    text-align: center;
}

.login-right h1 {
    text-transform: uppercase;
    font-size: 25px;
    margin-bottom: 20px;
}

.login-right .logo-third-party {
    margin-top: 20px;
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
}

.login-right .logo-third-party .logo-third-party-item:not(:last-child) {
    margin-right: 10px;
}

/* .login-right .logo-third-party h2 {
    margin: 20px 0;
    font-size: 20px;
} */

.login-right .third-party img {
    width: 18px;
    height: 18px;
    margin-right: 6px;
}

.login-right .third-party:hover {
    background-color: rgba(108,117,125,0.6);
}

.login-right .form-group {
    text-align: left;
}

.login-right .intro {
    font-size: 14px;
    margin-top: 20px;
}

.home-link {
    position: fixed;
    right: 20px;
    top: 20px;
    font-size: 1rem;
}
input[type="text"].validate-error,
input[type="password"].validate-error {
    color: #e5322d !important;
}

input[type="text"].validate-error,
input[type="password"].validate-error {
    /* border: 1px solid #e5322d; */
    border-color: #e5322d;
}

input[type="text"].validate-error:focus,
input[type="password"].validate-error:focus {
    outline: none;
}

label.validate-error {
    color: #e5322d;
}
