/* 重置 bootstrap 样式 */
.btn-primary {
  background-color: #0c7fc7 !important;
  border-color: #0c7fc7 !important;
}
.btn-outline-primary {
  color: #0c7fc7 !important;
  border-color: #0c7fc7 !important;
}
.btn-outline-primary:hover {
  background-color: #0c7fc7 !important;
  color: #fff !important;
  border-color: #0c7fc7 !important;
}
.btn-outline-primary:not(:disabled):not(.disabled):active:focus {
  background-color: #0c7fc7 !important;
  color: #fff !important;
  border-color: #0c7fc7 !important;
}
.page-link {
  color: #0c7fc7 !important;
}
.page-item.active .page-link {
  background-color: #0c7fc7 !important;
  color: #fff !important;
  border-color: #0c7fc7 !important;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: #0c7fc7 !important;
}

.wrap {
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

body,
html {
  background-color: #f2f6ff;
}

/* topbar */
.topbar .content {
  height: 50px;
  background-color: #0c7fc7;
  position: relative;
  width: 100%;
}
.topbar .content a,
.topbar .content span {
  position: absolute;
  color: #fff;
}
.topbar .content a {
  left: 12px;
  top: 13px;
}
.topbar .content span {
  width: 100%;
  height: 50px;
  text-align: center;
  line-height: 50px;
  color: #fff;
}
.topbar .home {
  height: 50px;
  background-color: #0c7fc7;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #fff;
}
.topbar .home span {
  font-weight: bold;
  font-size: 1.125rem;
}
.topbar .home a i {
  color: #fff;
  font-size: 1.5rem;
}

.nav-item a {
  color: #333 !important;
}
.nav-item a.active {
  color: #fff !important;
}

.ind-box {
  margin-top: 16px;
  background-color: #fff;
  border-radius: 8px;
  padding: 16px;
  box-sizing: border-box;
}
.ind-box .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
}
.ind-box .title > span {
  font-weight: bold;
}
.ind-box .title a {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #999;
}
.ind-box .title a i {
  margin-left: 5px;
}

/* index page */
.menu {
  display: flex;
  flex-flow: row wrap;
  gap: 16px;
  margin-top: 16px;
}
.menu a {
  flex: 1 1 calc(33.3333% / 3 * 2);
}
.menu a img {
  width: 100%;
}

.ind-model1 {
  display: flex;
  gap: 16px;
}
.ind-model1 > a {
  flex: 1;
  padding: 16px 12px;
  text-decoration: none;
}
.ind-model1 > a h5 {
  font-size: 1.125rem;
  font-weight: bold;
  margin-bottom: 5px;
  color: #333;
}
.ind-model1 > a p {
  font-size: 0.75rem;
  color: #999;
  margin-bottom: 0;
}
.ind-model1 > a div {
  width: 60px;
  height: 24px;
  border-radius: 24px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
}
.ind-model1 > a div span {
  margin-right: 5px;
}
.ind-model1 > a:first-child {
  background: url(../imgs/index1.png) no-repeat;
  background-size: 100% 100%;
}
.ind-model1 > a:first-child div {
  background: linear-gradient(
    90deg,
    rgba(90, 158, 242, 1) 0%,
    rgba(50, 117, 242, 1) 100%
  );
}
.ind-model1 > a:last-child {
  background: url(../imgs/index2.png) no-repeat;
  background-size: 100% 100%;
}
.ind-model1 > a:last-child div {
  background: linear-gradient(
    90deg,
    rgba(76, 121, 254, 1) 0%,
    rgba(71, 96, 253, 1) 100%
  );
}

.ind-model2 .tab {
  display: flex;
}
.ind-model2 .tab span {
  flex: 1;
  text-align: center;
  color: #333;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}
.ind-model2 .tab span.active {
  color: #0c7fc7;
  font-weight: bold;
  border-bottom: 1px solid #0c7fc7;
}
.ind-model2 .tab-content .tab-item {
  display: flex;
  flex-flow: column;
}
.ind-model2 .tab-content .tab-item a {
  display: flex;
  flex-flow: column;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px;
  margin-top: 16px;
  text-decoration: none;
}
.ind-model2 .tab-content .tab-item a p {
  margin-bottom: 0;
  color: #333;
  text-align: justify;
}
.ind-model2 .tab-content .tab-item a div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-top: 10px;
  color: #999;
}
.ind-model2 .tab-content .tab-item a div span:first-child {
  background: #f0f0f0;
  margin-right: 10px;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  color: #666;
}
.ind-model3 {
  display: flex;
  flex-flow: column;
  gap: 16px;
}
.ind-model3 a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px;
  gap: 16px;
  text-decoration: none;
}
.ind-model3 a div p {
  margin-bottom: 0;
  font-size: 1rem;
  color: #333;
}
.ind-model3 a div .tag {
  display: flex;
  margin-top: 16px;
}
.ind-model3 a div span {
  background: #f0f0f0;
  margin-right: 10px;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  color: #666;
}
.ind-model3 a > span {
  width: 48px;
  height: 20px;
  border-radius: 20px;
  color: #fff;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
      90deg,
      rgba(76, 121, 254, 1) 0%,
      rgba(71, 96, 253, 1) 100%
    ),
    rgba(87, 154, 242, 1);
}

/* register login page*/
.login-bg {
  height: 140px;
  background-color: #0c7fc7;
  position: relative;
  z-index: 1;
}
.login-bg .icon {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}
.login-bg .icon img {
  width: 64px;
  height: 64px;
  margin-top: 15px;
}
.login-form {
  padding: 0 16px;
  position: relative;
  z-index: 2;
  top: -40px;
  box-sizing: border-box;
}
.login-form .form {
  padding: 24px 16px;
  background-color: #fff;
  border-radius: 8px;
  box-sizing: border-box;
}
.login-form .form .list-group-item {
  padding: 0.75rem 0;
}

.content-bg {
  width: 100%;
  height: 140px;
  background-color: #0c7fc7;
  position: fixed;
  z-index: 1;
}
.content-box {
  position: relative;
  padding: 0 16px;
  z-index: 2;
  box-sizing: border-box;
}
.content-box .content {
  background-color: #fff;
  border-radius: 8px;
  padding: 16px 16px;
  box-sizing: border-box;
}

.list {
  display: flex;
  flex-flow: column wrap;
}
.list a {
  border: 1px solid #eee;
  border-radius: 8px;
  margin-top: 16px;
  padding: 16px;
}
.list a h4 {
  font-size: 1em;
  text-align: justify;
  line-height: 140%;
  color: #333;
}
.list a div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.list a div span {
  color: #999;
  font-size: 0.875em;
}

.login-title {
  font-size: 1.5em;
  padding: 40px 0;
}
/* .tab {
  margin-bottom: 20px;
}
.tab a {
  color: #333;
  margin-right: 20px;
  font-size: 1rem;
  font-weight: bold;
}
.tab a.active {
  color: #007bff;
}
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
} */

.body-title {
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  margin-bottom: 16px;
  padding-bottom: 8px;
  color: #999;
}

.body img {
  max-width: 100%;
}

.register {
  padding: 0 16px;
  position: relative;
  z-index: 2;
  top: -40px;
  box-sizing: border-box;
}
.register .box {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
}
.register .tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.register .tab span {
  flex: 1;
  text-align: center;
}
.register .tab span.active {
  color: #0c7fc7;
  font-weight: bold;
}
.register .tab-content {
  margin-top: 16px;
}
.register .tab-content .tab-item {
  display: none;
}
.register .tab-content .tab-item.active {
  display: block;
}
