:root {
  /* --color-text-primary: #222222; */
  --color-primary: #0f4bb0;


  --jitri-bs-navbar-background-color: #0f4bb0;
  --jitri-bs-navbar-active-background-color: #053a95;
  --footer-background-color: #262b32;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  width: 100%;
  display: block;
  margin: 0px;
  padding: 0px;
}

header {
  background-color: var(--jitri-bs-navbar-background-color);
  box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%)
}

.brand-area {
  background-color: var(--jitri-bs-navbar-active-background-color);
}

.brand-container {
  display: flex;
  height: 80px;
  align-items: center;
  font-size: 18px;
  color: #ffffff;
  font-weight: 500;
}

.brand-other {
  display: flex;
  align-items: center;
}


footer {
  background-color: var(--footer-background-color);
  color: #999;
}

footer .copyright {
  background-color: #1a1e22;
  font-size: 12px;
  line-height: 28px;
  text-align: center;
  padding: 12px;
}

footer .info-item,
footer a {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 6px;
  text-decoration: none;
}

footer a {
  color: #999;
}

footer .contact-us {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  line-height: 28px;
  color: #ffffff;
  margin: 16px 0px;
}

.footer-container {
  padding-top: 40px;
  padding-bottom: 100px;
  background: url('/static/base4/image/footer-bottom-pic.png') center bottom no-repeat;
  background-size: 100% auto;
}

.footer-title {
  font-size: 17px;
  color: #ffffff;
  display: flex;
  align-items: center;
  margin: 16px 0px;
}

.footer-title>img {
  height: 32px;
  object-fit: cover;
  margin-right: 4px;
}

.footer-qrcode-container {
  display: flex;
  justify-content: space-between;
}

.footer-qrcode {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-qrcode>img {
  width: 100px;
  height: 100px;
}

.footer-qrcode>span {
  margin-top: 8px;
  font-size: 12px;
}

.footer-cpc {}

.footer-cpc .footer-container {
  background: url('/static/base4/image/footer-bottom-pic-cpc.png') center bottom no-repeat;
  background-size: 100% auto;
}

.footer-cpc a,
.footer-cpc .copyright,
.footer-cpc .footer-container {
  color: #ffffff;
}

.footer-cpc a:hover {
  color: #aaaaaa;
}

.footer-cpc .copyright {
  background-color: #ad3333;
}




.top-img {
  width: 100%;
  margin-bottom: 20px;
}

.container-pc {
  display: block;
}

.container-mobile {
  display: none;
}


.data-empty {
  width: 100%;
  text-align: center;
  padding: 40px;
  font-size: 20px;
  color: #aaaaaa;
}


/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
.scrollbar-class::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

/*定义滚动条轨道 内阴影+圆角*/
.scrollbar-class::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px transparent;
  border-radius: 10px;
  background-color: transparent;
}

/*定义滑块 内阴影+圆角*/
.scrollbar-class::-webkit-scrollbar-thumb {
  width: 10px;
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(107, 102, 102, 0.5);
  background-color: transparent;
}


.lines-1,
.lines-2,
.lines-3,
.lines-4,
.lines-5,
.lines-6 {
  display: -webkit-box !important;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
  -webkit-box-orient: vertical;
}

.lines-1 {
  -webkit-line-clamp: 1;
}

.lines-2 {
  -webkit-line-clamp: 2;
}

.lines-3 {
  -webkit-line-clamp: 3;
}

.lines-4 {
  -webkit-line-clamp: 4;
}

.lines-5 {
  -webkit-line-clamp: 5;
}

.lines-6 {
  -webkit-line-clamp: 6;
}


/* 基准列表容器，搜索结果页较多 */
.portal-list-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  padding: 18px 0px;
}

.portal-item {
  margin: 10px 0px;
  background-color: #ffffff;
  padding: 12px;
  border-radius: 4px;
  cursor: pointer;
  transition: 0.5s;
}

.portal-item:hover {
  box-shadow: 2px 2px 12px #cccccc;
}

.portal-item-title {
  font-size: 16px;
  font-weight: bold;
}

.portal-item-summary {
  margin-top: 10px;
  font-size: 13px;
}

.portal-item-time {
  margin-top: 4px;
  font-size: 13px;
}

.portal-item-description-1,
.portal-item-description-2,
.portal-item-description-3,
.portal-item-description-4 {
  margin-top: 10px;
  color: var(--color-text-sub);
  text-align: justify;
  font-size: 14px;
  line-height: 1.5;
  height: 1.5em;
}

.portal-item-description-2 {
  height: 3em;
}

.portal-item-description-3 {
  height: 4.5em;
}

.portal-item-description-4 {
  height: 6em;
}

.portal-item-label-container {
  margin-top: 12px;
  display: flex;
  align-items: center;
}

.portal-detail-small-title {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.portal-item-label {
  width: fit-content;
  padding: 2px 4px;
  margin-right: 6px;
  font-size: 12px;
  color: #007ad6;
  line-height: 20px;
  background: #e5f1fa;
}




/* header ===========结束=========== */


/* 信息详情区域 -------- START -------- */
/* 下划线的大标题 */
.portal-title-underline {
  position: relative;
  margin: 16px 0px;
  font-size: 18px;
  font-weight: bold;
  color: var(--color-text-title);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1;
  line-height: 1.2;
}

.portal-title-underline::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0px;
  width: 6em;
  background: linear-gradient(90deg,
      #04a99feb 0%,
      rgba(4, 169, 159, 0.3) 50%,
      rgba(4, 169, 159, 0) 100%);
  height: 8px;
  z-index: -1;
}

/* 整个页面顶部大图 */
.portal-img-top {
  width: 100%;
  object-fit: contain;
}

/* 专家、仪器设备等名称 */
.portal-detail-title {
  color: var(--color-text-title);
  font-size: 20px;
  font-weight: bold;
  margin: 4px 0px;
}

/* 属性展示区域-左右 */
.portal-detail-cell {
  display: flex;
  align-items: center;
  padding: 12px 12px;
  border-bottom: 0.5px dashed #dddddd;
}

/* 属性标签 */
.portal-detail-label {
  flex-shrink: 0;
  margin-right: 8px;
}

.portal-detail-item-container {
  display: flex;
  flex-wrap: wrap;
}

.portal-detail-item {
  border-radius: 20px;
  padding: 4px 10px;
  background: #666666;
  color: #ffffff;
  font-size: 13px;
  margin-right: 8px;
}

.portal-detail-tab-container {
  display: flex;
  padding: 0px 0px;
  overflow: scroll;
  padding: 8px 0;
}

.portal-detail-tab-container::-webkit-scrollbar {
  display: none;
}

.portal-detail-tab {
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
}

.portal-detail-tab:hover {
  color: var(--color-primary);
}

.portal-detail-tab-active {
  color: var(--color-primary);
  border-bottom: 4px solid var(--color-primary);
}

/* 详情属性分类标题 */
.portal-detail-category-title {
  color: var(--color-text-title);
  font-size: 18px;
  margin-top: 20px;
  font-weight: 800;
}

.portal-detail-attribute-title {
  display: flex;
  align-items: center;
  margin-top: 16px;
  margin-bottom: 10px;
}

.portal-detail-attribute-title::before {
  content: " ";
  background: var(--color-primary);
  border-radius: 100px;
  height: 8px;
  width: 8px;
  margin-right: 6px;
}

/* 信息详情区域 -------- END -------- */

.section-title {
  text-align: center;
}

.section-title h2 {
  font-size: 30px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 42px;
  position: relative;
}

/* .section-title h2::before {
    content: "";
    position: absolute;
    display: block;
    width: 120px;
    height: 1px;
    background: #ddd;
    bottom: 1px;
    left: calc(50% - 60px);
  }
  
  .section-title h2::after {
    content: "";
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: #47b2e4;
    bottom: 0;
    left: calc(50% - 20px);
  } */

section p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 28px;
  font-weight: 400;
}

.column-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 0;
}

.column-title>*:first-child {
  font-size: 42px;
  letter-spacing: 6px;
  font-weight: bold;
  opacity: 0.14;
  text-align: center;
}

.column-title>*:last-child {
  margin-top: -32px;
  font-size: 24px;
  letter-spacing: 3px;
  z-index: 999;
}


.column-title-2-container {
  padding: 48px 0px;
  display: flex;
  justify-content: center;
}

.column-title-2 {
  border: 2px solid var(--jitri-bs-navbar-active-background-color);
  width: 250px;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.column-title-2>div:first-child {
  font-size: 28px;
  top: -20px;
  position: relative;
  background-color: #ffffff;
  color: var(--jitri-bs-navbar-active-background-color);
  padding: 0px 10px;
}

.column-title-2>div:last-child {
  font-size: 18px;
  top: -16px;
  position: relative;
}



/* bootstrap主题覆盖 */
/* 导航悬停展开下拉 */
.dropdown:hover .dropdown-menu {
  display: block;
}

.navbar-brand {
  display: flex;
  align-items: center;
  display: none;
}

.nav-item {
  min-width: 108px;
  text-align: center;
}

.nav-item:hover {
  background-color: var(--bs-navbar-active-background-color)
}

.dropdown-menu {
  min-width: 108px;
}

.nav-bar-logo-area {
  display: flex;
  align-items: center;
}

.nav-bar-divider {
  margin: 0 18px;
  border: 1px solid #ffffff;
  height: 30px
}

.nav-bar-divider-h {
  display: inline-block;
  width: 30px;
  height: 2px;
  background: #ffffff;
  margin: 0 18px
}




@media only screen and (max-width: 992px) {
  .brand-area {
    display: none;
  }

  .brand-container img:last-child {
    display: none;
  }

  .navbar-brand {
    display: flex;
    flex-basis: 70%;
    flex-grow: 1;
  }


  .brand-other {
    display: none;
  }

  .nav-bar-logo-area {
    display: none;
  }

  .footer-container {
    padding-top: 20px;
    padding: 20px 12px;
  }

  .container-pc {
    display: none;
  }

  .container-mobile {
    display: block;
  }

  .footer-qrcode-container {
    justify-content: space-around;
  }

  .section-title h2 {
    margin-bottom: 24px;
  }

  .container-data {
    flex-wrap: wrap;
  }

  .container-data-1 {
    width: 100% !important;
  }

  .container-data-2 {
    width: 100% !important;
    margin-top: 24px;
  }
}


/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--jitri-bs-navbar-background-color);
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.4s;
}

.back-to-top img {
  width: 24px;
  height: 24px;
}

.back-to-top:hover {
  background: var(--jitri-bs-navbar-active-background-color);
  color: #fff;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}