.body-color {
  background-color: #e7ecf1;
}

.navbar {
  padding-bottom:0;
  padding-left:20px;
}
.logo {
  height: auto;
  width: 180px;
}

.navbar {
  height: 53px;
  padding:0;
  margin:0;
  padding-left:20px;
  background-color: #004ca1;
}

.navbar-brand {
  margin:0;
  padding:0;
}

.navbar-nav .nav-link {
  padding-top: 0;
  padding-bottom: 0;
  height: 53px;
  line-height: 53px;
}

.btn-blue {
  background-color: #004ca1;
  color: #fff;
}
.btn-blue:hover {
  color: #fff;
}

.fill {
  top: 53px;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  width: auto;
  height: auto;
  overflow: hidden;
}

.login-bg {
  /* The image used */
  background-image: url("/img/login-bg.jpg");

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.card-header,
.card-footer {
  background-color: #fff;
  border: 0;
  padding: 0;
}
.card-header {
  padding-top: 1rem;
}
#login .panel-heading,
#login .panel-footer {
  background-color: #fff;
  border: 0;
}

#login .panel-heading {
  font-size: 24px;
  color: #374249;
}

#login input[type="text"],
#login input[type="password"] {
  background: transparent;
  border: none;
  border-bottom: 1px solid #999;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-radius: 0;
  padding-left: 0;
}
/* 覆盖safari下输入框自动填充后的默认黄色背景，但是会有闪现问题 */
#login input:-webkit-autofill {
  box-shadow: 0 0 0 1000px #F2F6FC inset;
}

.username-key {
  background-repeat: no-repeat;
  background-image: url("/img/key.png");
  background-size: auto 40%;
  background-position: center;
}

.username-key:hover {
  background-image: url("/img/key-hover.png");
}

.username-key:active:hover {
  background-image: url("/img/key-active.png");
}
.password-eye {
  background-repeat: no-repeat;
  background-image: url("/img/eye.png");
  background-size: 80% auto;
  background-position: center;
}

.password-eye:hover {
  background-image: url("/img/eye-hover.png");
}

.password-eye:active:hover {
  background-image: url("/img/eye-active.png");
}
.password-eye-close {
  background-repeat: no-repeat;
  background-image: url("/img/eye-close.png");
  background-size: 80% auto;
  background-position: center;
}
.password-eye-close:hover {
  background-image: url("/img/eye-close-hover.png");
}

.password-eye-close:active:hover {
  background-image: url("/img/eye-close-active.png");
}
.nopadding {
  padding: 0 !important;
}

.form-group {
  background-color: #fff;
  border: 0;
}
.card-body {
  padding-left: 1.25rem;
}
.input-container {
  display: -ms-flexbox; /* IE10 */

  display: flex;

  margin-bottom: 15px;
}

.icon {
  padding: 10px;
  border-bottom: 1px #999 solid;
}

.login-header {
  font-size: 22px;
}

.login-body {
  font-size: 1.25rem;
}

.login-footer {
  font-size: 1rem;
  color: #828486 !important;
}

a.login-footer:hover {
  color: #004ca1 !important;
  text-decoration: none !important;
}

.form-checkbox {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  display: inline-block;
  position: relative;
  background-color: #ffffff;
  color: #ffffff;
  top: 4px;
  height: 16px;
  width: 16px;
  border: 0;
  border-radius: 50px;
  cursor: pointer;
  margin-right: 2px;
  outline: 2px solid #004ca1;
}
.form-checkbox {
  border-radius: 1px;
}

.form-checkbox:checked::before {
  position: absolute;
  font: 16px/0.9 "Open Sans", sans-serif;
  left: 4px;
  top: 0px;
  content: "\02143";
  transform: rotate(40deg);
}

.form-checkbox:checked {
  background-color: #004ca1;
}

label {
  font: 18px/1.7 "Open Sans", sans-serif;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: pointer;
}

@media (min-width: 992px) {
  .login-form {
    flex: 0 0 440px;
    max-width: 100%;
  }
}

#cover {
  background: #e7ecf1 url("/img/login-bg.jpg") center center no-repeat;
  background-size: cover;
  height: 100vh;
  text-align: center;
  display: flex;
  align-items: center;
  position: relative;
}

#cover-caption {
  width: 100%;
  height: 100;
  position: relative;
  z-index: 1;
}

/* onlyfor background overlay not needed for centering */
form:before {
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: -1;
  border-radius: 10px;
}

/* 隐藏 Safari 中 input 标签的 autofill 图标 */
input:focus::-webkit-contacts-auto-fill-button{
  opacity: 0;
}

input::-webkit-credentials-auto-fill-button {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  right: 0;
}
/* 二维码扫码登录 */

.login-by-scan-wrap {
  height: 218px;
  display: none;
}
.state-scan .login-by-scan-wrap {
  display: block;
}
.state-scan .login-by-account-wrap {
  display: none;
}

.login-header__scan {
  display: none;
}
.state-scan .login-header__account {
  display: none;
}
.state-scan .login-header__scan {
  display: block;
}
.login-switcher {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  width: 60px;
  height: 60px;
}
.state-env-mobile .login-switcher{
  display: none;
}
.login-switcher img {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.8;
  transition: all 0.3s;
}
.qrlogin-tips {
  text-align: center;
  color:#999;
  margin-top: 10px;
}
.qrlogin-tips img {
  height: 28px;
  margin-right: 5px;
}
.qrlogin-tips img,.qrlogin-tips p {
  display: inline-block;
  vertical-align: middle;
}
#loginQRCode img {
  margin: 10px auto;
  width: 180px;
  height:180px;
  padding: 10px;
  border: solid 1px #ccc;
}
.scan-qrcode {
  position: relative;
  height: 180px;
}
.login-by-scan-wrap.scan-status__loading .scan-qrcode::after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url(../img/loading.gif) center center / 45% no-repeat;
}
.btn-refresh {
  color:#38adff;
  margin-left: 10px;
  cursor: pointer;
}

.qrcode-status-tips {
  visibility: hidden;
  display: flex;
  width: 180px;
  height: 180px;
  background: rgba(0, 0, 0, 0.75);
  position: absolute;
  color: #fff;
  top: 0;
  left: 50%;
  border-radius: 5px;
  margin-left: -90px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.qrcode-status-tips .tips-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.qrcode-status-tips .tips-content {
  padding: 10px;
  line-height: 1.75;
  font-size: 14px;
  text-align: center;
}
.qrcode-status-tips .tips-content p {
  margin-bottom: 0;
  line-height: 1.75;
  font-size: 14px;
}

.expired-wrap button {
  color: #666;
  display: inline-block;
  border: none;
  border-radius: 5px;
  margin-top: 7px;
  padding: 3px 10px;
  font-size: 14px;
}

.scan-status__expired .expired-wrap, .scan-status__scaned .scaned-wrap, .scan-status__canceled .canceled-wrap {
  visibility: visible;
}
/* 微信号登录样式 */
.defaultLogin .wxLogin {
  display: none;
}
.divider {
  margin: 1rem 0rem;
  line-height: 1;
  height: 0em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0,0,0,0.85);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  display: table;
  white-space: nowrap;
  height: auto;
  line-height: 1;
  text-align: center;
}

.divider:before,.divider:after {
  content: '';
  display: table-cell;
  position: relative;
  top: 50%;
  width: 50%;
  background-repeat: no-repeat
}

.divider:before {
  background-position: right 1em top 50%
}

.divider:after {
  background-position: left 1em top 50%
}
.divider:before,.divider:after {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABaAAAAACCAYAAACuTHuKAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo1OThBRDY4OUNDMTYxMUU0OUE3NUVGOEJDMzMzMjE2NyIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo1OThBRDY4QUNDMTYxMUU0OUE3NUVGOEJDMzMzMjE2NyI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjU5OEFENjg3Q0MxNjExRTQ5QTc1RUY4QkMzMzMyMTY3IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjU5OEFENjg4Q0MxNjExRTQ5QTc1RUY4QkMzMzMyMTY3Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+VU513gAAADVJREFUeNrs0DENACAQBDBIWLGBJQby/mUcJn5sJXQmOQMAAAAAAJqt+2prAAAAAACg2xdgANk6BEVuJgyMAAAAAElFTkSuQmCC")
}
.divider .text-muted {
  color: #8c92a4!important;
  font-size: 14px;
  font-weight:400;
}
.session-oauth__list {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}
.other-login-icon {
  width: 26px;
  vertical-align: middle;
  margin-right: 3px;
}
.account {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.login-form a {
  text-decoration: none;
  cursor: pointer;
  color: #5E3E3C;
}
.btn-login {
  background-color: #004CA1;
  color: #fff;
}

.btn-login:hover{
  background-color: #013b7c;
  color: #fff !important;
}

.btn-login:active:focus{
  background-color: #013b7c;
  outline: none;
  box-shadow: none;
}
/* ds-chat 隐藏扫码登录模式 */
.theme__ds_chat_para .login-switcher,.theme__ds_chat_para .login-switcher {
  display: none;
}