:root{
  --row-gutter: 30px;
}
.statistical-main {
  padding-top: 25px;
}
.statistical-page {
  background: #fff;
  padding: var(--row-gutter);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}
.stat-tabs {
  display: flex;
  margin-bottom: var(--row-gutter);
}
.stat-tabs .stat-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  background: #DCEDFF;
  cursor: pointer;
  border-radius: 4px;
  transition: background .2s, color .2s;
}
.stat-tabs .stat-tab:not(:last-child) {
  margin-right: var(--row-gutter)
}
.stat-tabs .stat-tab.active {
  height: 130px;
  background: url("../images/statistical-data/type-hover-bg.png") no-repeat center bottom;
  background-size: 100% 100%;
  color: #fff;
  padding-bottom: 10px;
}
.stat-tabs .stat-tab .stat-tab-icon{
  width: 36px;
  height: 36px;
  margin-right: 10px;
}
.stat-tabs .stat-tab[data-type='gdp'] .stat-tab-icon {
  background: url("../images/statistical-data/gdp.png") no-repeat;
  background-size: contain;
}
.stat-tabs .stat-tab[data-type='gdp'].active .stat-tab-icon {
  background: url("../images/statistical-data/gdp-hover.png") no-repeat;
  background-size: contain
}
.stat-tabs .stat-tab[data-type='cpi'] .stat-tab-icon {
  background: url("../images/statistical-data/cpi.png") no-repeat;
  background-size: contain
}
.stat-tabs .stat-tab[data-type='cpi'].active .stat-tab-icon {
  background: url("../images/statistical-data/cpi-hover.png") no-repeat;
  background-size: contain
}
.stat-tabs .stat-tab[data-type='industry'] .stat-tab-icon {
  background: url("../images/statistical-data/industry.png") no-repeat;
  background-size: contain
}
.stat-tabs .stat-tab[data-type='industry'].active .stat-tab-icon {
  background: url("../images/statistical-data/industry-hover.png") no-repeat;
  background-size: contain
}
.stat-tabs .stat-tab[data-type='invest'] .stat-tab-icon {
  background: url("../images/statistical-data/invest.png") no-repeat;
  background-size: contain;
}
.stat-tabs .stat-tab[data-type='invest'].active .stat-tab-icon {
  background: url("../images/statistical-data/invest-hover.png") no-repeat;
  background-size: contain;
}
.stat-tabs .stat-tab[data-type='income'] .stat-tab-icon {
  background: url("../images/statistical-data/income.png") no-repeat;
  background-size: contain;
}
.stat-tabs .stat-tab[data-type='income'].active .stat-tab-icon {
  background: url("../images/statistical-data/income-hover.png") no-repeat;
  background-size: contain;
}
.stat-panel {
  background: #fff;
  padding: var(--row-gutter);
  border-radius: 4px;
  box-shadow: 0 0 12px 0 #5392e14d;
  margin-bottom: var(--row-gutter);
}
.stat-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.stat-toolbar-label {
  margin-right: 12px;
  white-space: nowrap;
  margin-bottom: 10px;
}
.stat-toolbar .form-control {
  width: 420px;
  height: 34px;
  padding: 4px 12px;
  font-size: 14px;
  color: #333;
  border: 1px solid #E4E7ED;
  border-radius: 4px;
  background: #F3F4F8;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.stat-toolbar .form-control:hover {
  border-color: #C0C4CC;
}
.stat-toolbar .form-control:focus {
  border-color: #1E5AAB;
  box-shadow: 0 0 0 2px rgba(30, 90, 171, 0.12);
}

/* 周期选择列表框：固定6行可见，超出滚动 */
.stat-period-start,
.stat-period-end {
  width: 180px;
  height: auto;
  padding: 4px 8px;
  font-size: 14px;
  color: #333;
  border: 1px solid #E4E7ED;
  border-radius: 4px;
  background: #F3F4F8;
  outline: none;
  cursor: pointer;
  overflow-y: auto;
  transition: border-color .2s, box-shadow .2s;
}
.stat-period-start:hover,
.stat-period-end:hover {
  border-color: #C0C4CC;
}
.stat-period-start:focus,
.stat-period-end:focus {
  border-color: #1E5AAB;
  box-shadow: 0 0 0 2px rgba(30, 90, 171, 0.12);
}

.stat-toolbar-sep {
  margin: 0 10px;
  color: #8D939F;
}
.stat-btn {
  height: 36px;
  padding: 0 18px;
  border: none;
  border-radius: 4px;
  font-size: var(--font-size-small);
  cursor: pointer;
  white-space: nowrap;
  -webkit-transition: opacity .2s;
  transition: opacity .2s;
}
.stat-btn + .stat-btn {
  margin-left: 12px;
}
.stat-btn-search {
  margin-left: 20px;
  background: linear-gradient(to bottom, #e08a00 0%, #F8A725 100%);
  color: #fff;
}
.stat-btn-search .icon-jyh-search {
  margin-right: 6px;
}
.stat-btn-search:hover,
.stat-btn-search:focus {
  opacity: .9;
  color: #fff;
}
.stat-btn-download {
  border-radius: 18px;
  background: #fff;
  border: 1px solid #1e5aab;
  color: #1e5aab;
}
.stat-btn-download:hover,
.stat-btn-download:focus {
  border-color: #1e5aab;
  color: #1e5aab;
}
.stat-toolbar-time,.stat-toolbar-btn{
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}
.stat-chart {
  width: 100%;
  height: 420px;
}
.common-tabs .common-tabs__header{
  margin-bottom: var(--row-gutter);
}
.stat-publish {
  display: flex;
  margin-bottom: var(--row-gutter);
}
.stat-publish .common-tabs{
  flex: 1;
  min-width: 0;
}
.stat-publish-left {
  margin-right: var(--row-gutter);
}
.stat-material {
  margin-bottom: var(--row-gutter);
}
.stat-material-list {
  display: flex;
}
.stat-material-list a{
  flex: 1;
}
.stat-material-list a img{
  width: 100%;
}
.stat-material-list a:not(:last-child) {
  margin-right: var(--row-gutter);
}
.stat-material-list a:hover {
  opacity: .92;
}
.stat-report {
  display: flex;
  margin-bottom: var(--row-gutter);
}
.stat-report .common-tabs {
  flex: 1;
  min-width: 0;
}
.stat-month {
  margin-right: var(--row-gutter);
}
.stat-month-list {
  display: flex;
  flex-direction: column;
}
.stat-month-item {
  display: flex;
  align-items: center;
  padding: 18px 0 18px 18px;
  border: 1px solid #DBE4F2;
}
.stat-month-item:not(:last-child) {
  margin-bottom: 20px;
}
.stat-month-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-right: 16px;
  background: url('../images/statistical-data/month-report-icon.png') no-repeat center;
  background-size: contain;
}
.stat-month-info {
  flex: 1;
  min-width: 0;
}
.stat-month-info a {
  font-size: calc(var(--font-size-base) + 2px);
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.stat-month-info p {
  margin: 0;
  color: #999;
}
.stat-month-download {
  padding: 5px 20px;
  color: #2257AB;
  flex-shrink: 0;
  border-radius: 19px 0 0 19px;
  background: #dcedff;
}
.stat-yearbook-block + .stat-yearbook-block {
  margin-top: var(--row-gutter);
}
.stat-yearbook-title {
  margin: 0 0 21px;
  font-size: calc(var(--font-size-base) + 4px);
  font-weight: 600;
  display: flex;
  align-items: center;
}
.stat-ribbon {
  width: 18px;
  height: 18px;
  background: url("../images/statistical-data/year-title-icon.png") no-repeat;
  background-size: contain;
  margin-right: 8px;
}
.stat-tag-list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  list-style: none;
}
.stat-tag-list a {
  display: block;
  padding: 10px 14px;
  background: #E8F2FC;
  border-radius: 4px;
  color: #1e5aab;
  text-align: center;
  transition: background .2s;
}
.stat-tag-list a:hover,
.stat-tag-list a.is-more {
  background: #DCEDFF;
  color: #1e5aab;
}
.stat-data-banner-link {
  display: block;
}
.stat-data-banner-link img {
  display: block;
  width: 100%;
  object-fit: cover;
}
@media only screen and (max-width: 992px) {
  .stat-tabs {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .stat-tabs .stat-tab {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 calc(33.333333% - 8px);
    flex: 0 0 calc(33.333333% - 8px);
    height: 90px;
    margin-bottom: 12px;
  }
  .stat-tabs .stat-tab.active{
    height: 100px;
  }
  .stat-tabs .stat-tab:not(:last-child) {
    margin-right: 12px;
  }
  .stat-tabs .stat-tab:nth-child(3n) {
    margin-right: 0;
  }
  .stat-publish,
  .stat-report {
    flex-direction: column;
  }
  .stat-publish-left,
  .stat-month {
    margin-right: 0;
    margin-bottom: var(--row-gutter);
  }
  .stat-material-list {
    flex-direction: column;
    padding: 0;
  }
  .stat-material-list a:not(:last-child) {
    margin-right: 0;
    margin-bottom: var(--row-gutter);
  }
  .stat-tag-list {
    grid-template-columns: repeat(4, 1fr);
  }
  .stat-data-banner-link img {
    height: 10vw;
  }
}
@media only screen and (max-width: 768px) {
  :root {
    --row-gutter: 15px;
  }
  .statistical-main{
    padding-top: var(--row-gutter);
  }
  .layout-width {
    padding: 0 var(--row-gutter);
  }
  .stat-tabs .stat-tab {
    flex-direction: column;
    -ms-flex: 0 0 calc(50% - 6px);
    flex: 0 0 calc(50% - 6px);
  }
  .stat-tabs .stat-tab .stat-tab-icon{
    margin-right: 0;
    margin-bottom: 10px;
    width: 30px;
    height: 30px;
  }
  .stat-tabs .stat-tab:nth-child(3n) {
    margin-right: 12px;
  }
  .stat-tabs .stat-tab:nth-child(2n) {
    margin-right: 0;
  }
  .stat-toolbar .form-control {
    width: 120px;
  }
  .stat-btn-search {
    margin-left: 0;
    margin-top: 10px;
  }
  .stat-chart {
    height: 320px;
  }
  .stat-month-icon {
    width:40px;
    height:40px;
  }
  .stat-month-item {
    flex-wrap: wrap;
    padding: 10px 0 10px 10px;
    margin-bottom: 10px !important;
  }
  .stat-tag-list a {
    padding: 6px 10px;
  }
  .stat-tag-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
