.bg-gray {
    background-color: #fafafa;
}
.slider {
    height: 500px;
    background-image: url(../image/bg.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.slider-ad {
    position: relative;
}
h1.ad-text {
    position: absolute;
    top: 100px;
    font-size: 45px;
    color: #fff;
    /* font-weight: bold; */
}
h3.ad-text {
    position: absolute;
    top: 200px;
    font-size: 26px;
    color: #fff;
    font-weight: 100;
}

@keyframes float {
    0% {
        /* box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6); */
        transform: translatey(0px);
    }
    50% {
        /* box-shadow: 0 25px 15px 0px rgba(0, 0, 0, 0.2); */
        transform: translatey(-20px);
    }
    100% {
        /* box-shadow: 0 5px 15px 0px rgba(0, 0, 0, 0.6); */
        transform: translatey(0px);
    }
}

/* 新闻 */
.news {
    padding: 10px 0;
    background-color: #f9f9f9;
}
.news-banner {
    width: 100px;
    background-color: #815f3c;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    padding: 10px 5px 15px 15px;
    text-align: center;
    letter-spacing: 10px;
}
.news-box {
    padding: 10px 0 10px 30px;
    flex: 1;
}
.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 10px;
}
.news-list > li {
    padding: 5px 0;
    white-space: nowrap; /* 防止换行 */
    overflow: hidden; /* 隐藏超出容器宽度的内容 */
    text-overflow: ellipsis; /* 使用省略号表示被裁切的内容 */
    transition: all 0.2s ease-in;
}
.news-list > li:hover {
    margin-top: -5px;
}
.news-list > li:hover > a {
    color: #bc0000;
}
.news-list > li span.date {
    margin-right: 10px;
}
.news-list > li > a {
    color: #333;
}

h1.banner {
    font-size: 36px;
    color: #e70101;
    text-align: center;
    font-weight: normal;
    letter-spacing: 5px;
}
h6.banner-sub-title {
    font-size: 16px;
    color: #9d7b58;
    text-align: center;
    margin-top: 20px;
}
.service-list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.swiper-button-next,
.swiper-button-prev {
    width: 50px !important;
    padding-top: 20px;
    color: #ccc !important;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    color: #815f3c !important;
}
.swiper {
    height: 250px;
    margin-top: 50px;
    margin-left: 65px !important;
    margin-right: 50px !important;
}
.swiper-wrapper {
}
.swiper-slide {
    float: left;
    width: 250px !important;
    display: flex !important;
    padding: 30px;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #fbfbfb;
    border-radius: 20px;
    cursor: pointer;
}
.swiper-slide:hover {
}

.service-icon {
    width: 60px;
    height: 60px;
    padding: 15px;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.service-title {
    margin-top: 20px;
    font-size: 20px;
    color: #333333;
}
.service-summary {
    margin-top: 15px;
    font-size: 14px;
    color: #333;
    text-align: center;
}
.swiper-slide > a {
    display: flex;
    flex-direction:start;
    align-items: center;
    flex-direction: column;
}
.bg1 {
    background-color: #2f82ff;
}
.bg2 {
    background-color: #ff9d11;
}
.bg3 {
    background-color: #903bb4;
}
.bg4 {
    background-color: #1600e5;
}
.bg5 {
    background-color: #906337;
}
.bg6 {
    background-color: #ff3f23;
}
.bg7 {
    background-color: #00bb2f;
}

.bids {
    padding-top: 30px;
}
.bids-tab {
    padding: 15px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.bids-tab> a {
    display: inline-block;
    padding: 7px 30px;
    margin: 0 20px;
    border-radius: 20px;
    font-size: 16px;
    color: #654321;
    border: 1px solid #654321;
    transition: background-color 0.3s ease-in-out;
}
.bids-tab > a:hover , .bids-tab > a.active {
    background-color: #654321;
    color: #FFF;
}

.bids-box {
    height: 490px;
}
.bids-item {
    display: none;
}

ul.bids-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 20px;
}

ul.bids-list li {
    border: 1px solid #d3c3b3;
    background-color: #fff;
    overflow: hidden;
    transition: all 0.3s ease 0s;
}
ul.bids-list li > a {
    display: flex;
    justify-content: start;
    align-self: center;
    padding: 15px;
    font-size: 16px;
    color: #654321;
}
ul.bids-list li > a > span.bids-date {
    display: inline-block;
    padding-right: 20px;
    color: #815f3c;
    margin-right: 20px;
    border-right: 1px solid #d3c3b3;
}

ul.bids-list li:hover {
    margin-top: -10px;
    background-color: #9d7b58;
}
ul.bids-list li:hover > a {
    color: #fff;
}
ul.bids-list li:hover > a > span.bids-date {
    color: #fff;
}

.more {
    padding-top: 50px;
    text-align: center;
}
.more > a {
    display: inline-block;
    width: 50px;
    background-size: 90%;
    background-image: url(../image/more.png);
    background-repeat: no-repeat;
    background-position: bottom center;
    padding-bottom: 45px;
    color: #999;
    font-size: 18px;
    animation: float 3s ease-in-out infinite;
}

.cases-box {
    height: 650px;
    background-image: url(../image/bg2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.cases-mask {
    background-color: rgba(0, 90, 200, 0.3);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cases {
    display: grid;
    grid-template-columns: 6fr 4fr;
    grid-column-gap: 10px;
    height: 400px;
    margin-top: 50px;
}

.cases-title {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.6);
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
    font-size: 24px;
}
.cases-title:hover {
    background-color: transparent;
    font-size: 32px;
}
.cases-title > a {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.cases-part1 {
    height: 400px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}
.cases-part1 > div {
    height: 195px;
    position: relative;
    cursor: pointer;
}

.cases-part1 .div1 {
    grid-area: 1 / 1 / 2 / 3;
    background-image: url(../image/c1.jpg);
    background-size: cover;
}
.cases-part1 .div2 {
    grid-area: 1 / 3 / 2 / 5;
    background-image: url(../image/c2.jpg);
    background-size: cover;
}
.cases-part1 .div3 {
    grid-area: 2 / 1 / 3 / 2;
    background-image: url(../image/c3.jpg);
    background-size: cover;
}
.cases-part1 .div4 {
    grid-area: 2 / 2 / 3 / 4;
    background-image: url(../image/c4.jpg);
    background-size: cover;
}
.cases-part1 .div5 {
    grid-area: 2 / 4 / 3 / 5;
    background-image: url(../image/c5.jpg);
    background-size: cover;
}
.cases-part2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 10px;
}
.cases-part2 > div {
    position: relative;
}
.cases-part2 .div6 {
    background-image: url(../image/c6.jpg);
    background-size: cover;
    margin-right: 10px;
}
.cases-part2 .div7 {
    background-image: url(../image/c7.jpg);
    background-size: cover;
}

.leave-message {
    padding-top: 50px;
    padding-bottom: 80px;
}

.contact-form {
}
.form-inline {
    display: flex;
    justify-content: center;
    align-items: center;
}
.form-item {
    width: 250px;
    margin-right: 20px;
}
.form-item-message {
    flex: 1;
}
.form-item:last-child {
    margin-right: 0;
}
.form-inline-btn {
    width: 150px;
}
.form-input {
    width: 100%;
    background-color: #ede0d4;
    border-radius: 4px;
    border: 1px solid #f4f4f4;
    padding: 15px 10px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease-in-out;
}
.form-input:focus {
    border-color: #fff;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}
.btn {
    width: 150px;
    border-radius: 3px;
    background: linear-gradient(to bottom, #ff0000, #ed1616);
    color: #fff;
    font-size: 16px;
    padding: 14px 30px;
    border: none;
}

.map {
    height: 380px;
    background: url(../image/map.jpg) no-repeat top center;
}
.contact-box {
    position: absolute;
    width: 350px;
    top: -90px;
    padding: 20px 40px 50px 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    background-image: url(../image/contact.png);
    background-repeat: no-repeat;
    background-position: 200px 280px;
    background-size: 50%;
}

.contact-item {
    display: flex;
    justify-content: start;
    align-items: start;
    font-size: 16px;
    color: #654321;
    margin-bottom: 10px;
    margin-top: 10px;
}
.contact-icon {
    width: 30px;
    display: flex;
    justify-content: center;
    align-items: start;
    margin-right: 10px;
}

.online-time {
    font-size: 16px;
    padding-top: 15px;
    display: flex;
    justify-content: start;
    align-items: center;
}