html {
  height: 100%;
  width: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  width: 100%;
}

body main {
  flex: 1;
  max-width: 100%;
}

body .container {
  max-width: 100%;
}

@media screen and (max-width: 767px) {
  body main {
    width: 100%;
  }
}

/* 空列表状态通用状态 */
.list-auto-empty:empty {
  display: block;
  margin: 0;
  padding: 0;
}

.list-auto-empty.empty-like::after,
.list-auto-empty:empty::after {
  display: block;
  content: attr(empty);
  color: gray;
  margin: 50px auto 0;
  background-image: url(../images/empty_data.png);
  background-size: 100%;
  background-repeat: no-repeat;
  width: 224px;
  height: 140px;
  padding-top: 140px;
  padding-bottom: 30px;
  text-align: center;
}

.list-empty-img {
  width: 224px;
  height: 140px;
  object-fit: contain;
}

/******************************** bootstrap样式设置 ***********************************/
div.modal[role='dialog'] .modal-dialog {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 10px;
}

div.modal[role='dialog'] .modal-dialog .modal-content {
  max-width: 600px;
  width: 100%;
}

/******************************** 高斯模糊背景 ***********************************/
.blur-bg {
  position: relative;
  overflow: hidden;
  background-color: rgba(0, 0, 0);
  backdrop-filter: blur(50px);
}

.blur-bg-primary {
  background-color: var(--color-primary);
}

.blur-bg img.blur-bg-img {
  display: block;
  position: absolute;
  z-index: -1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-filter: blur(50px);
  -moz-filter: blur(50px);
  -o-filter: blur(50px);
  filter: blur(30px);
  object-fit: cover;
  scale: 1.3;
  opacity: 0.5;
}

.blur-bg * {
  color: white !important;
}

.blur-bg a[href]:hover {
  color: var(--color-primary) !important;
}

/* 只有pc端才有效 */
.pc-blur-bg img.pc-blur-bg-img {
  display: none;
}

@media (min-width: 992px) {
  .pc-blur-bg {
    position: relative;
    overflow: hidden;
    background-color: rgba(0, 0, 0);
    backdrop-filter: blur(50px);
  }

  .pc-blur-bg-primary {
    background-color: var(--color-primary);
  }

  .pc-blur-bg img.pc-blur-bg-img {
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-filter: blur(50px);
    -moz-filter: blur(50px);
    -o-filter: blur(50px);
    filter: blur(30px);
    object-fit: cover;
    scale: 1.3;
    opacity: 0.5;
  }

  .pc-blur-bg * {
    color: white !important;
  }
}

/* 只有手机端才有效 */
.phone-blur-bg img.phone-blur-bg-img {
  display: none;
}

@media screen and (max-width: 767px) {
  .phone-blur-bg {
    position: relative;
    overflow: hidden;
    background-color: rgba(0, 0, 0);
    backdrop-filter: blur(50px);
  }

  .phone-blur-bg-primary {
    background-color: var(--color-primary);
  }

  .phone-blur-bg img.phone-blur-bg-img {
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-filter: blur(50px);
    -moz-filter: blur(50px);
    -o-filter: blur(50px);
    filter: blur(30px);
    object-fit: cover;
    scale: 1.3;
    opacity: 0.5;
  }

  .phone-blur-bg * {
    color: white !important;
  }
}

/******************************************************************************/
/* 返回页面顶部 */
.back-top {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;
}

.fixed-btn {
  position: relative;
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 100;
}

.back-top-btn {}

.fixed-btn * {
  color: white;
  font-size: 12rem;
  line-height: 1;
}

.back-top .icon-top {
  font-size: 18rem;
  line-height: 0.8;
}

.back-top:hover {
  cursor: pointer;
}

/*************************** 常用分割线 ***********************/
.split-line-regular,
.split-line-regular-change {
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
  margin: 20rem 0;
}

.split-line-regular-vertical,
.split-line-regular-vertical-change {
  width: 1px;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  margin: 0 20rem;
}

/* 列表分割线 */
.split-list-line>.split-list-item:not(:last-child) {
  padding-right: 20rem;
  margin-right: 20rem;
  border-right: 1px solid var(--border-color-base);
}

@media screen and (max-width: 767px) {
  .split-list-line>.split-list-item {
    width: 100%;
  }

  .split-list-line>.split-list-item:not(:last-child) {
    padding-right: 0;
    padding-bottom: 20rem;
    margin-right: 0;
    margin-bottom: 20rem;
    border-right: 0;
    border-bottom: 1px solid var(--border-color-base);
  }
}

/* 小屏幕(手机端) */
@media screen and (max-width: 767px) {
  .split-line-regular-change {
    width: 1px;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 20rem;
  }

  .split-line-regular-vertical-change {
    width: 1px;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    margin: 0 20rem;
  }
}

/***************************** 分页 ***************************/
.pagination>li>a,
.pagination>li>span {
  background-color: #eef4fd;
  color: #0f2358e6;
  font-weight: bold;
  font-size: 16rem;
  border: none;
  margin-right: 10rem;
  padding: 8rem 15rem;
}

.pagination>li .border-green {
  background: #0f2358e6;
  color: white;
}

.pagination>.disabled>span,
.pagination>.disabled>span:hover,
.pagination>.disabled>span:focus,
.pagination>.disabled>a,
.pagination>.disabled>a:hover,
.pagination>.disabled>a:focus {
  color: #0f2358e6;
  cursor: not-allowed;
  background-color: #f0eeee;
  border-color: #ddd;
}

/* icon-btn */
.icon-btn {
  width: 36rem;
  height: 36rem;
  line-height: 36rem;
  text-align: center;
  border-radius: 50%;
  cursor: pointer;
  border: 1px solid var(--border-color-base);
}

.icon-btn .icon {
  font-size: 20rem;
}

/***************************** nav-tabs切换导航 ***************************/
ul.nav>li,
.nav .nav-item {
  cursor: pointer;
}

.nav-tabs-border-bottom.nav-tabs>.nav-item>a,
.nav-tabs-border-bottom.nav-tabs>.nav-item.active>a:hover,
.nav-tabs-border-bottom.nav-tabs>.nav-item.active>a:focus {
  font-weight: bold;
  border: none;
  background: none;
  position: relative;
  padding: 6rem 15rem;
}

.nav-tabs-border-bottom.nav-tabs>.nav-item.active>a::after {
  content: '';
  display: block;
  height: 4px;
  margin: 6rem auto -6rem;
  width: 100%;
  line-height: 14px;
  background-color: var(--color-primary);
}

.nav.nav-tabs-regular {
  border: none;
  background: none;
  position: relative;
  padding: 6rem 0;
  margin-left: -15px;
  margin-right: -15px;
}

.nav.nav-tabs-regular>.nav-item.active>a::after {
  content: '';
  display: block;
  height: 4px;
  margin: 6rem auto -6rem;
  width: 80%;
  line-height: 14px;
  background-color: var(--color-primary);
  border-radius: 4px;
}

/* tag */
.article-info-tag {
  display: inline-block;
  font-size: 14rem;
  font-weight: bold;
  color: #2fc578;
  border: 1px solid #2fc578;
  margin-bottom: 10rem;
  padding: 2rem 5rem;
}

.article-info-tag:hover {
  color: white;
  background: var(--color-primary);
}