/*.wrapper {
  border: 1px solid red;
}
.container-fluid {
  border: 1px solid blue;
}
.container-xl {
  border: 1px solid green;
}
.container-xxl {
  border: 1px solid green;
}
.row {
  border: 1px solid black;
}*/


/* fonts */
:root {
  font-size: 12px;
}
@media (min-width: 1367px) {
  :root, footer {
    font-size: 14px;
  }
}
@media (min-width: 1920px) {
  :root {
    font-size: 15px;
  }
}

/* button */
.btn-outline-primary:hover {
  color: #fff;
}

/* container */
.wrapper {
  width: 90%;
  margin: 0 auto;
}
.wrapper-lg {
  width: 90%;
}
.wrapper-md {
  width: 80%;
}
@media (max-width: 575px) {
  .wrapper-md {
    width: 75%;
  }
  #proSpec.wrapper-md {
    width: 90%;
  }
}
@media (max-width: 1366px) {
  .container-xxl, .container-xl {
    max-width: 90% !important;
    padding: 0 !important;
  }
}
@media (min-width: 1366px) {
  .wrapper {
    max-width: 1050px;
  }
  .wrapper-lg {
    max-width: 1280px;
  }
  .wrapper-md {
    max-width: 1140px;
  }
}
@media (min-width: 1600px) {
  .wrapper-lg {
    max-width: 1500px;
  }
}

/* cover-container */
.cover-container {
  width: 100%;
  /*height: 56.25vw;*/
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  position: relative;
}
.cover-container-50 {
  height: 60vh;
  overflow: visible;
}
@media (max-width: 575px) {
  .cover-container {
    height: 100vh;
  }
  .cover-container-50 {
    height: 40vh;
  }
}

/* video */
.video.position-absolute {
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}
.video.position-absolute video {
  width: 100%;
  object-fit: cover;
}

/* header */
.navbar-bg {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 10rem;
  background-image: url(../images/navbg.png);
  background-repeat: repeat-x;
  background-size: 100% 10rem;
  z-index: 1;
}
.navbar {
  position: relative;
  border-bottom: 2px solid #3eb370;
  z-index: 4;
}
.logo {
  height: 3rem;
}
.navbar-nav {
  letter-spacing: 1px;
}

.dropdown-menu {
  border: none;
  border-radius: 0;
  top: calc(100% + .75rem) !important;
  padding: 1.5rem 2rem;
  font-size: 90%;
}
.dropdown-menu .border-bottom {
  border-color: rgba(255, 255, 255, .2) !important;
}
.dropdown-menu .border-bottom:not(:last-of-type) ~ .border-bottom {
  margin-top: 1rem !important;
}
.dropdown-item {
  padding: .75rem 2rem .75rem 1rem;
  transition: .15s;
}
.dropdown-item:hover {
  background-color: #3eb370;
}
.dropdown-item .bi {
  margin-right: .5rem;
  opacity: .5;
}

@media (max-width: 1024px) {
  .navbar-nav .nav-link {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
  }
  .dropdown-menu {
    padding: 0 1.5rem;
  }
}

.slogan {
  position: absolute;
  top: 4.5rem;
  color: rgba(255, 255, 255, .5);
}
.navbar-collapse {
  z-index: 4;
}
.navbar-collapse.show,
.navbar-collapse.collapsing {
  position: relative;
  top: .5rem;
}
.navbar-collapse.show .nav-item,
.navbar-collapse.collapsing .nav-item {
  padding: .5rem 0;
  background: #6e747c;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

/* headline */
.headline {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}
.navbar + .headline {
  position: absolute;
  bottom: 15%;
}
.headline h1, 
.headline h2 {
  letter-spacing: 2px;
}

/* swiper */
.swiper-button-prev {
  left: 0;
  color: #3eb370;
  transform: translate(0, -2.5rem);
}
.swiper-button-next {
  right: 0;
  color: #3eb370;
  transform: translate(0, -2.5rem);
}

/* img-box */
.img-box {
  overflow: hidden;
}
.img-box img {
  transition: .5s;
}
.img-box:hover img {
  transform: scale(1.05);
}

/* ind */
#ind a.h4 {
  display: block;
  padding: 2rem;
  color: #242424;
}
#ind a.h4:hover {
  color: #3eb370;;
}

/* pro */
.pro .container-fluid {
  background-size: 40% auto;
  background-repeat: no-repeat;
  background-position: center right 10%;
  transition: .5s;
}

@media (max-width: 1440px) {
  .pro .accordion-body img {
    width: 60% !important;
    margin: 0 auto;
  }
}
@media (max-width: 1024px) {
  .pro .w-50 {
    width: 75% !important;
  }
  .pro .container-fluid {
    position: relative;
    background: none !important;
  }
}
@media (max-width: 768px) {
  .pro .w-50,
  .pro .w-75 {
    width: 100% !important;
  }
}
@media (max-width: 575px) {
   .pro .accordion-body img {
    width: 100% !important;
  }
}

/* accordion */
.accordion {
  position: relative;
  z-index: 2;
}
.accordion-item {
  border: none;
}
.accordion-header {
  padding: .75rem 0;
}
.accordion-body {
  padding-top: 0;
  border-left: 2px solid #bbc1c5;
}
.accordion a:not(.collapsed) {
  color: #3eb370;
}
.accordion a.collapsed {
  color: #6d747d;
}
.carousel-control-prev, .carousel-control-next {
  width: auto;
  z-index: 3;
}
.carousel-control-prev {
  left: -3rem;
}
.carousel-control-next {
  right: -3rem;
}
#accordionJoin .accordion-body {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
#accordionJoin .accordion-button {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-radius: 0 !important;
}
#accordionJoin .accordion-button.collapsed {
  background-color: #f8f9fa;
}

/* proCarousel */
.pro .carousel-control-prev-icon,
.pro .carousel-control-next-icon {
  width: 2.5rem;
  height: 2.5rem;
}
.carousel-indicators {
  position: relative !important;
  margin-top: 2rem;
}
.carousel-indicators [data-bs-target] {
  background-color: #6d747d !important;
}
.carousel-indicators .active {
  background-color: #3eb370 !important;
}

@media (max-width: 575px) {
  #proCarousel article {
    min-height: 3.16rem;
  }
}

/* carousel */
.carousel-item {
  position: relative;
}
.carousel-item .position-fixed {
  top: 0;
  width: 100%;
}
.carousel-item .position-fixed img {
  width: 100%;
  height: 100%;
}
.carousel-item .row .bg-white {
  position: absolute;
  top: 5%;
  right: 5%;
  bottom: 5%;
  width: 70%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)) !important;
  z-index: 1;
}
.carousel-item .row .col-sm-5,
.carousel-item .row .col-sm-6 {
  position: relative;
  z-index: 2;
}

/* news */
#news a:hover p {
  color: #3eb370;
}
#news p.h5 {
  height: 4.125rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3; /* 限制显示的行数 */
  overflow: hidden;
  text-overflow: ellipsis;
}

/* nav-tabs */
.nav-tabs .nav-link {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.tab-content {
/* font-size: 1.1333rem; */
  line-height: 1.8;
}

/* #navScrollSpy */
#navScrollSpy .nav-link {
  padding: 1.5rem 2.5rem;
  border-radius: 0;
}
#navScrollSpy .nav-link.active {
  font-weight: bold;
}

@media (max-width: 575px) {
  #navScrollSpy .nav-link {
    padding: 1.5rem 1rem;
  }
}

/* full-bg */
.full-bg {
  background-size: cover;
  background-position: 50%;
  background-repeat: no-repeat;
}

/* search */
/*#search .list-group .list-group-item:hover {
  background-color: #f8f9fa;
  color: #3eb370 !important;
}
*/

/* form */
.form-control {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* qrcode */
#qrcode {
  float: right;
}
#qrcode canvas {
  width: 64px;
  height: 64px;
}
.signature-logo {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  width: 5rem;
}
.signature-text {
  position: absolute;
  right: 1rem;
  top: 1rem;
  line-height: 1.2;
}

/* qnModal */
#qnModal .modal-header,
#qnModal .modal-footer {
  padding: 2.5rem;
}
#qnModal .row {
  margin-bottom: .5rem;
}
#qnModal .col-form-label {
 font-size: 12px;
}
#qnModal .check {
  margin-top: .75rem;
}
#qnModal .form-check {
  margin-bottom: .25rem;
  font-size: 14px;
}
#qnModal .modal-footer {
  padding-top: 0;
  border: none;
}

/* article */
article p {
  line-height: 1.58;
}
article p:last-child {
  margin-bottom: 0;
}

/* footer */
footer span {
  display: block;
  padding: .5rem 0;
  margin-bottom: .5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  font-weight: bold;
}
footer li a {
  color: rgba(255, 255, 255, .7);
}
footer li a:hover {
  color: rgba(255, 255, 255, 1);
}

@media (max-width: 575px) {
  footer {
    font-size: 87.5%;
  }
  footer .lh-lg {
    line-height: 1.8 !important;
  }
}

/* navScrollSpy */
#navScrollSpy.position-fixed {
  width: 100%;
  top: 0;
  left: 0;
  z-index: 99;
}

/* timeline */
.timeline .text-md-end {
  position: relative;
  border-right: 1px solid #adb5bd;
}
.timeline-content {
  margin-top: 2px;
}
.timeline-content p:not(:last-child) {
  margin-bottom: .5rem;
}
.timeline .h4 {
  margin-bottom: 0;
}
.timeline .h4:before {
  content: '';
  display: block;
  right: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #adb5bd;
  position: absolute;
  transform: translate(5px, .5rem);
  z-index: 2;
}
.timeline-content img {
  margin-top: 1rem;
}

@media (max-width: 767px) {
  .timeline .col-12 {
    border-left: 1px solid #adb5bd;
    border-right: none;
  }
  .timeline .h4:before {
    right: 100%;
    transform: translate(4px, .5rem);
  }
}

@media (max-width: 575px) {
  .timeline-content .w-50 {
    padding-right: 3rem;
    width: 100% !important;
  }
}

/* about */
@media (max-width: 575px) {
  #comp .container-xl.wrapper,
  #hist .container-xl.wrapper,
  #cult .container-xl.wrapper,
  #cert .container-xl.wrapper {
    padding: 2rem !important;
  }
}
/** Customize **/
.tab-content li{ list-style: initial; }
.tab-content li p{ margin: 0; }
.tab-content .tab-pane img{ width: 100% !important; }
/* layui-form */
.layui-form .form-check{ padding-left: 0; }
.form-check .layui-form-checkbox[lay-skin=primary]{ padding-left: 0; }
.form-check .layui-form-checkbox[lay-skin=primary]>i{ width: 14px;height: 14px;border: 1px solid #dee2e6; }
/** pro **/
.pro .fw-light{ 
	overflow: hidden;
	height: 6rem;
	max-height: 6rem;
	text-overflow: ellipsis;
}
/* wechat-img */
.wechat-img{ width: 63%;margin: 60px auto 0;text-align: center; }
.wechat-img p{ padding-top: 5px; }
@media (max-width: 767px) {
  .wechat-img{ margin: 5px auto 0; }
  .wechat-img p{ font-size: 10px; }
}