html,
body {
    height: 100%;
    width: 100%;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: "Roboto", "SF Pro SC", "SF Pro Display", "SF Pro Icons", "PingFang SC", BlinkMacSystemFont, -apple-system, "Segoe UI", "Microsoft Yahei", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    margin: 0;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: #474157;
}

a:hover,
a:focus {
    color: #474157;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 200;
    letter-spacing: 1px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}


#mainbody {
    position: relative;
    width: 100%;
    min-height: auto;
    overflow-y: hidden;
    background: #f1f6fd;
    color: #474157;
    height: calc(100vh - 61px);
}

#mainbody > .container > .text-center {
    text-align: center;
    padding: 350px 0 50px;
    position: relative;
    height: 100vh;
}

#mainbody > .container > .text-center h1 {
    font-size: 50px;
    font-weight: bold;
    color: #171347
}

#mainbody > .container > .text-center > a {
    background: #fdcc52;
    background: -webkit-linear-gradient(#fdcc52, #fdc539);
    background: linear-gradient(#fdcc52, #fdc539);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 300px;
    margin-top: 20px;
    padding: 10px 45px;
    font-size: 14px;
    text-decoration: none;
}

@media (max-height: 500px) {
    #mainbody {
        height: inherit;
    }
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: transparent;
        border-color: transparent;
    }

    #mainbody .index-text {
        text-align: left;
    }
}

@media (max-width: 767px) {

    #mainbody > .container > .text-center {


        padding: 130px 0 0 0;
        height: calc(100vh - 261px);
    }

    #mainbody > .container > .text-center > h1 {


        font-size: 50px;
        margin-bottom: 20px;
    }
}

.footer {
    background-color: #222222;
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
}

.footer p {
    font-size: 14px;
    margin: 0;
}

.swiper-slide {
    position: relative;
}

.slide-title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: left;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 8px;
}

.swiper-pagination {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50%;
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    box-sizing: border-box;
}

.navbar {
    /* position: absolute !important;
    top: 0; */
    width: 100%;
    background-color: rgba(255, 255, 255, 0.5) !important;
    z-index: 1000;
}

.banner {
    position: relative;
}
.tab-link{
    background-color: transparent;
    color: rgba(51, 51, 51, 0.4);
    text-align: left;
    padding:5px;
    border-radius: 5px;
    font-size: 18px;
    border: none;
    margin-right: 33px;
}
.nav-item .active{
    color: rgba(222, 73, 1, 1);
    font-weight: 700;
}
.tab-box{
    border-bottom: 1px solid rgba(222, 73, 1, 1) !important;
}
.list-group-item{
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}
.list-group-item a{
    color: rgba(85, 85, 85, 1);
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
}
.list-group-item span{
    color: rgba(51, 51, 51, 0.6);
    font-size: 14px;
    font-weight: 400;
}

.news-section {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-section .list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-section .list-group-item a {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.news-section .list-group-item span {
    flex-shrink: 0;
    margin-left: 10px;
}
.unit-box{

}
.unit-info{
    height: 100%;
    padding: 20px;
    background-color: rgba(248, 239, 228, 1);
    background-image: url("/images/unit-bg.png");
    background-size: cover;
    background-position: center;
    border-radius: 10px;
}
.unit-box .unit-title{
    font-size: 16px;
    font-weight: 600;
    color: rgba(222, 73, 1, 1);
}
.unit-image{
    margin-top: 10px;
    width: 100%;
}
.unit-image img{
    width: 100%;
}
.unit-text{
    color:rgba(222, 73, 1, 1);
    font-size: 16px;
    font-weight: 600;
}
.unit-tel{
    color:rgba(255, 154, 0, 1);
    font-size: 32px;
    font-weight: 700;
}
.main-swiper-slide{
    height:480px !important;
}

@media (max-width: 1180px) {
    .unit-tel{
        color:rgba(255, 154, 0, 1);
        font-size: 20px;
        font-weight: 700;
    }
    .main-swiper-slide{
        height:250px !important;
    }
}
/* 让每个子元素（.unit-box 和 .swiper-box）均分父容器 */
.unit-box, .swiper-box {
    flex: 1;  /* 保证它们的高度相等 */
}
.unit-row{
    display: flex;
    /* align-items: stretch;  保证子元素的高度一致 */
}
.swiper-box{
   padding-left: 10px;
   padding-right: 10px;
   display: flex;
   align-items: center;
   justify-content: center;
}
.image-unitrow{
    background-color: rgba(248, 239, 228, 1);
    border-radius: 10px;
    padding-top: 20px;
    padding-left: 20px;
    padding-right: 20px;
}
.image-unitrow .text-info-title{
    font-size: 16px;
    font-weight: 600;
    color: rgba(222, 73, 1, 1);
    border-bottom: 1px solid rgba(222, 73, 1, 1);
    padding-bottom: 10px;
    padding-left: 0px !important;
}
.imageSwiper-box{
    background-color: rgba(248, 239, 228, 1);
    border-radius: 10px;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    padding-left:30px;
    padding-right:30px;
}
.text-info-box{
    display: flex;
    justify-content: space-between;
    align-items: stretch;  /* 保证子元素的高度一致 */
}
.text-info{
    border-radius: 10px;
    padding: 20px;
    
}
.text-info-orange{
    background-color: rgba(242, 144, 0, 0.1);
}
.text-info-orange .text-info-title{
    color: rgba(255, 154, 0, 1);
    border-bottom: 1px solid rgba(255, 154, 0, 1);
    padding-bottom: 10px;
}
.text-info-red{
    background-color: rgba(205, 44, 1, 0.1);
}
.text-info-red .text-info-title{
    color: rgba(222, 73, 1, 1);
    border-bottom: 1px solid rgba(222, 73, 1, 1);
    padding-bottom: 10px;
}
.text-info-blue{
    background-color: rgba(1, 103, 205, 0.1);
}
.text-info-blue .text-info-title{
    color: rgba(0, 132, 255, 1);
    border-bottom: 1px solid rgba(0, 132, 255, 1);
    padding-bottom: 10px;
}
.text-info-text{
    padding: 10px;
    background-color: #FFFFFF;
    border-radius: 10px;
    color: rgba(85, 85, 85, 1);
    margin-top: 10px;
    height:300px;
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (max-width: 1180px) {
    .text-info-text{
        padding: 10px;
        background-color: #FFFFFF;
        border-radius: 10px;
        color: rgba(85, 85, 85, 1);
        margin-top: 10px;
        height:200px;
        overflow: hidden;
        text-overflow: ellipsis;
        overflow: scroll;
    }
   
}
@media (max-width: 768px) {
    .unit-image{
        margin-top: 10px;
        width: 100%;
        max-height: 100px;
        overflow: hidden;
    }
}
.swiper-button-next{
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 20px;
    padding-right: 15px;color:#FFFFFF !important;background-color: rgba(141, 140, 140, 0.4);
    border-radius: 2px;
}
.swiper-button-prev{
    padding-top: 32px;
    padding-bottom: 32px;
    padding-left: 20px;
    padding-right: 15px;color:#FFFFFF !important;background-color: rgba(141, 140, 140, 0.4);
    border-radius: 2px;
}
.swiper-button-next:after, .swiper-button-prev:after{
    font-size: 25px !important;
}
@media (max-width: 867px) {
    .swiper-button-next{
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 10px;
        padding-right: 15px;color:#FFFFFF !important;background-color: rgba(141, 140, 140, 0.4);
    }
    .swiper-button-prev{
        padding-top: 12px;
        padding-bottom: 12px;
        padding-left: 10px;
        padding-right: 15px;color:#FFFFFF !important;background-color: rgba(141, 140, 140, 0.4);
    }
    .swiper-button-next:after, .swiper-button-prev:after{
        font-size: 15px !important;
    }
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}