body {
  font-family: PingFangSC, PingFang SC;
}

.main {
  min-height: calc(60vh);
}

.nav-pills .nav-link {
  border-radius: initial;
}

.btn {
  border-radius: initial;
}

.page-item:first-child .page-link {
  border-radius: initial;
}

.page-item:last-child .page-link {
  border-radius: initial;
}

.special-title {
  font-weight: bold;
  font-size: 24px;
  color: #000000;
  line-height: 33px;
  margin-bottom: 20px;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;

  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-overflow: ellipsis;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;

  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-overflow: ellipsis;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;

  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-overflow: ellipsis;
}

.col-ctx {
  overflow-wrap: break-word;
}

.col-ctx img {
  max-width: 100% !important;
  max-height: 100% !important;
}

.custom-container {
  display: flex;
  margin-right: auto;
  margin-left: auto;
}
.top-title {
  letter-spacing: 12px;
}

@media (max-width: 768px) {
  .custom-container {
    width: 100%;
    padding-left: 15px;
    justify-content: space-between;
  }

}

@media (min-width: 992px) and (max-width: 1199px) {
  .custom-container {
      min-width: 960px;
  }
}

@media (min-width: 1200px) {
  .custom-container {
      min-width: 1250px;
  }
}


@media (min-width:1200px) {
  .container {
    width: 1250px !important;
  }

  .nav-item-pr {
    padding-right: 50px;
  }

  .btn-login {
    padding-left: 30px;
  }

  .special-cate-item {
    width: 38.25rem;
    height: 17.625rem;
    margin-bottom: 26px;
  }
}

@media (min-width:768px) {
  .banner {
    height: 600px;
  }

  .logo {
    width: 300px;
    height: 50px;
  }
  main{
    margin-top: 80px;
  }
  .foot-container {
    padding: 60px 0;
  }
}

@media (max-width:1200px) {
  .special-cate-item {
    margin-bottom: 20px;
  }
}

@media (max-width:992px) {
  html {
    font-size: 13px;
  }

  .special-row {
    height: 100px !important;
  }

  .foot-container {
    padding-top: 20px !important;
  }
}

@media (max-width:768px) {
  .navbar-collapse {
    background: rgba(0, 0, 0);
    position: absolute;
    top: 0;
    left: -200px;
    width: 200px;
    height: 100vh;
    padding: 30px 0;
    transition: all 0.3s ease;
    overflow: hidden;
  }

  .logo {
    width: 150px;
    height: 24px;
  }

  .navbar-collapse.show {
    left: 0;
    /* 显示时滑动到0位置 */
  }

  .navbar-collapse .nav-item,
  .offcanvas-header,
  .btn-login {
    padding: 5px 15px;
  }
  main{
    margin-top: 60px;
  }

  .btn-login>a {
    margin-left: 10px;
  }

  .navbar-collapse .nav-link {
    text-align: left;
    color: #fff;
    font-size: 15px;
  }

  .dropdown-toggle::after {
    display: none;
  }

  .navbar-nav .nav-link.show {
    color: #fff;
  }

  .navbar-collapse .dropdown-menu {
    position: relative;
    display: block;
    background-color: initial;
    text-indent: 1em;
    padding: 0;
  }

  .navbar-collapse .dropdown-item:hover {
    background-color: initial;
  }

  .navbar-collapse .dropdown-item {
    text-align: left;
    color: #fff;
    font-size: 14px;
    text-indent: 2em;
  }

  .navbar-shrink {
    height: 60px !important;
  }

  .banner {
    height: 170px !important;
  }

  .find-more {
    padding-right: 20px !important;
  }

  .time-view {
    padding: 10px 0;
  }

  .special-item{
    margin: 0 20px;
  }

  .foot-container .p-20 {
    padding-bottom: 10px;
    /* text-align: center; */
  }

  .foot-container .child-item {
    text-indent: 3rem;
  }

  .foot-container .child-item a {
    margin: 0 !important;
  }

  .foot-container .fs-14 {
    height: 20px;
    margin: 13px 0;
  }

  .foot-container .fs-16 {
    height: 22px;
  }

  .foot-container .contacts {
    font-size: 20px;
  }

  .special-title {
    margin: 10px 0;
  }

  .special-img-item {
    width: 90% !important;
    height: 211px !important;
  }
  .special-cate-item {
    width: 95% !important;
  }
}