:root {
    --main-bg-color: rgb(41, 84, 137);
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.login-body {
    background: url("../images/background.jpg") center / cover no-repeat;
}

hr {
    height: 1px;
    background: rgb(94, 128, 166);
    border: none;
    margin: 0;
}

.i5k-title {
    font-size: 0;
}

.i5k-title img {
    margin: 1rem auto .5rem 1rem;
    height: 2.46rem;
}

.i5k-login-main {
    position: fixed;
    width: 27rem;
    min-height: 250px;
    background: white;
    left: 50%;
    top: 50%;
    margin: -8.9rem -13.35rem;
    font-family: "微软雅黑", sans-serif !important;
    padding-bottom: 30px;
    border-radius: 3px;
    box-shadow:2px 2px 5px rgba(111, 111, 111, 1);
    overflow: hidden;
}

.i5k-login-footer {
    color: rgb(238, 243, 243);
    text-align: center;
    background: rgba(55, 97, 147, .6);
    line-height: 2;
    position: fixed;
    bottom: 0;
    width: 100%;
    font-size: 13px;
}

.i5k-login-main > div {
    margin-left: auto;
    margin-right: auto;
    width: 18.75rem;
    height: 2.69rem;
    border-radius: 3px;
}

.i5k-login-main .i5k-tabs {
    display: none;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 30px;
    width: 100%;
}

.i5k-tabs .tab {
    width: 50%;
    height: 2.69rem;
    line-height: 2.69rem;
    text-align: center;
    box-sizing: border-box;
    background-color: #f0f0f0;
    color: #999;
    cursor: pointer;
    border-bottom: 1px solid transparent;
}

.i5k-tabs .tab:nth-of-type(1) {
    border-right: 1px solid transparent;
    border-radius: 0 0 10px 0;
}

.i5k-tabs .tab:nth-of-type(2) {
    border-left: 1px solid transparent;
    border-radius: 0 0 0 10px;
}

.i5k-tabs .tab.active {
    border-color: transparent;
    font-weight: bold;
    background-color: #fff;
    color: #336193;
}

.i5k-user {
    display: flex;
    border: 1px solid rgb(212, 212, 212);
}

.i5k-user .icon,
.i5k-user .input {
    font-size: 0;
    display: flex;
    flex-flow: column;
    justify-content: center;
}

.i5k-user .input {
    flex: 1;
    box-sizing: border-box;
}

.i5k-user img {
    height: 1.5rem;
    margin: 0 .5rem;
}

.i5k-user input {
    font-size: 1.2rem;
    width: 90%;
    border: none;
    outline: none;
    font-family: "微软雅黑", sans-serif !important;
}

.i5k-user:nth-child(4) {
    margin-top: 2.69rem;
    margin-bottom: 1.9rem;
}

.i5k-selects {
    display: flex;
}

.i5k-selects > div {
    flex: 1;
    display: flex;
    flex-flow: column;
    justify-content: center;
    text-align: center;
}

.i5k-selects select option,
.i5k-selects > div {
    font-size: .8rem;
}

.i5k-selects select {
    outline: none;
    font-family: "微软雅黑", sans-serif !important;
}

#msgDiv {
    height: auto;
    margin-top: 10px;
    display: none;
}

#msgId {
    width: 100%;
    color: red;
    word-wrap: break-word;
}

.i5k-login-button {
    background: var(--main-bg-color);
    line-height: 2.69rem;
    text-align: center;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    user-select: none;
    transition: 0.4s all ease;
    border-radius: 3px;
}

.i5k-login-button:active {
    transform: scale(1.01);
}

.i5k-error-input {
    border-color: red;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1rem white inset;
}

input::-webkit-input-placeholder {
    color: rgba(111, 111, 111, .3);
}

input:-ms-input-placeholder {
    color: rgba(111, 111, 111, .3);
}

.i5k-tag-volume {
    padding: .5rem .7rem;
    font-size: 1.2rem;
    text-align: center;
    color: red;
    border-radius: 50%;
    border: 3px outset red;
    transform: rotate(45deg);
    position: fixed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
    text-shadow: 1px 1px 1px black;
    left: 8.5rem;
    top: .6rem;
}

.i5k-title-version {
    position: relative;
    bottom: 0.5rem;
    margin-left: 1.5rem;
}

.i5k-title-version > span {
    color: white;
    font-size: 15px;
    font-family: "微软雅黑", sans-serif !important;
}

/* 主页生产环境和uat切换按钮样式 start */
*, *:before, *:after {
    box-sizing: border-box;
}

.text-red {
    color: #f07464;
}
.login-active{
    width: 20rem !important;
    position: relative;
    margin-top: 1rem;
    margin-bottom: 2rem;
}
.login-active .my-text{
    position: absolute;
    line-height: 2.69rem;
    right: 0px;
}

.button-toggle-wrap {
    width: 300px;
    position: relative;
    text-align: center;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.button-toggle {
    display: inline-block;
    background: rgb(41, 84, 137);
    border-radius: 3px;
    margin-top: 8px;
    height: 30px;
    padding: 4px;
    width: 101px;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.22);
}
.button-toggle .handle {
    position: absolute;
    left: 4px;
    right: auto;
    width: 40px;
    height: 22px;
    background: #fff;
    border-radius: 3px;
    -webkit-transition: all 0.4s cubic-bezier(0.33, 1.6, 0.66, 1);
    transition: all 0.4s cubic-bezier(0.33, 1.6, 0.66, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
}

.toggler {
    display: none;
}
.toggler:checked + .button-toggle {
    background: #f07464;
}
.toggler:checked + .button-toggle .handle {
    left: 57px;
}


/* 主页生产环境和uat切换按钮样式 end */