/* boostrap将所有盒模型改为border-box,修复可能导致的一些问题 */
.selector-for-some-widget {
  box-sizing: content-box;
}
.nav-underline{
  --bs-nav-underline-gap:0.5rem;
}
/* 滚动条宽度 */
::-webkit-scrollbar {
    width: 3px;
}
/* 清除默认样式 */
* {
  padding: 0;
  margin: 0;
}
body {
  font-family: "Arial", sans-serif;
  background-color: #FFFFFF;
  font-size: 16px;
}
ul li,
ol li {
  list-style: none;
}

a {
  text-decoration: none !important;
  color: #000;
}

button {
  outline: none;
  border: none;
}

img {
  display: block;
}

.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
p {
  margin: 0;
}
/* 主要内容宽度 */
.width {
  position: relative;
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 1200px;
  width: 95%;
}
.header-top .width{
  padding: 25px 0;
}
.header-top .logo-bg{
  height: 120%;
  position: absolute;
  top: 0;
  left: -5%;
}
.header-top .logo{
  width: 60%;
  display: inline;
}
.header {
  background: linear-gradient(to right, #215D5E, #27AB6F);
  font-size: 16px;
}
.navbar {
  padding: 0 1rem 0 0;
}
.navbar-light .navbar-nav .nav-link {
  color: #eee !important;
  white-space: nowrap;
  padding: 1rem 0.5rem;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
}
.navbar-light .navbar-nav .nav-link span{
  font-size: 12px;
}
.navbar-light .navbar-nav .nav-link:hover {
  border-bottom-color:  #FFF;
  /* 避免 hover 切换 font-weight 导致导航抖动 */
  text-shadow: 0 0 0.01px currentColor, 0 0 0.01px currentColor;
}
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
  color: #fff !important;
}
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.dropdown-item:hover {
  background-color: #2D59DE;
  color: #fff;
}
.navbar-light .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
  margin: 8px 0;
}
.banner {
  align-items: center;
  height: 26vw;
  background: url(../images/banner1.png) no-repeat center center;
  background-size: auto 100%;
}
.banner img{
  width: 65%;
  padding-top: 4%;
  margin-left: 22%;
}
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 20px;
  padding: 10px 0;
  font-size: 16px;
  color: #fff;
  background: url(../images/footer_bg.jpg) no-repeat center center;
  background-size: cover;
  text-align: center;
}
.footer-content {
  font-size: 30px;
  font-weight: bold;
  line-height: 1.3;
  padding: 50px 0;
}
.footer-content-item:nth-child(2) {
  margin-top: 10px;
}
.footer-bottom{
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 20px;
  padding: 10px 0;
  font-size: 14px;
  color: #fff;
  text-align: center;
  background-color: #000;
}
.back-to-top {
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 99;
  position: fixed;
  bottom: 75px;
  right: -70px;
  background-color: #175AE6;
  /* display: none; */
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.back-to-top-active {
  background-color: #175AE6;
  right: 30px;
  transform: rotate(-360deg);
  -webkit-transform: rotate(-360deg);
  -moz-transform: rotate(-360deg);
  -ms-transform: rotate(-360deg);
  -o-transform: rotate(-360deg);
}
.back-to-top img {
  height: 20px;
  margin: 0 auto;
  margin-top: 8px;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
}
.back-to-top:hover {
  background-color: red;
  transform: rotate(-405deg);
  -webkit-transform: rotate(-315deg);
  -moz-transform: rotate(-405deg);
  -ms-transform: rotate(-405deg);
  -o-transform: rotate(-405deg);
  box-shadow: 0 0 8px 1px #ddd;
}
.back-to-top:hover img {
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}
@media (max-width: 1440px) {
 .navbar-light .navbar-nav .nav-link {
    /* padding-left: 0.4rem;
    padding-right: 0.3rem; */
  }
}
@media (max-width: 1200px) {
  .nav-underline{
    --bs-nav-underline-gap:0rem;
  }
  .header-top .width{
    padding: 15px 0;
  }
  .width{
    max-width: 95%;
  }
  .banner{
    height: 30vw;
  }
  .footer-content{
    font-size: 24px;
    padding: 40px 0 20px;
  }
}
@media (max-width: 992px) {
  
}

@media (max-width: 768px) {
  .navbar-light .navbar-nav .nav-link {
    padding: 0.5em 1em;
  }
  .banner{
    height: 40vw;
  }
  .footer-content{
    font-size: 18px;
    padding: 20px 0 10px;
  }
}
@media (max-width: 540px) {
  
  .header-top .logo{
    width: 70%;
  }
  .footer-content{
    font-size: 14px;
    padding: 20px 0 10px;
  }
  .footer-bottom{
    font-size: 12px;
  }
  .back-to-top:hover {
    background-color: #175AE6;
    transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
    -moz-transform: rotate(-360deg);
    -ms-transform: rotate(-360deg);
    -o-transform: rotate(-360deg);
    box-shadow: 0 0 8px 1px #ddd;
  }
  .back-to-top:hover img {
    transform: rotate(0);
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
  }
}
@media(min-width: 1600px) {
  .width{
    max-width: 1300px;
  }
  .news-list .news-item a{
    padding: 11.5px 0;
  }
  .main-margin{
    min-height: calc(100vh - 510px)!important;
  }
}
