/* ============ */ /* index-case */ /* ============ */ .index-case .same-title{ padding-top: 52px; padding-bottom: 0; } .index-case .case-tab{ max-width: 850px; margin: 0 auto; } .index-case .case-tab a.active{ color: #a48b78; } .index-case .case-tab a:nth-last-child(1){ background: none; } .index-case .case-banner{ width: 100%; height: 0; overflow: hidden; } .index-case .case-banner.active{ height: auto; } .index-case .case-banner .swiper-case-banner{ position: relative; } .index-case .case-banner .swiper-case-banner .swiper-button-prev{ background: url(/img/b_03.png) no-repeat center center; margin-left:100px; } .index-case .case-banner .swiper-case-banner .swiper-button-next{ background: url(/img/b_05.png) no-repeat center center; margin-right:100px; } @media only screen and (min-width: 768px){ .index-case .case-banner .swiper-case-banner .swiper-button-next{ margin-right:20px; } .index-case .case-banner .swiper-case-banner .swiper-button-prev{ margin-left:20px; } .index-case .case-banner .swiper-case-banner .swiper-pagination-bullet-active{ background: rgba(255,255,255,1); } .swiper-case-banner .swiper-pagination-bullet{ width: 12px; height: 12px; background: rgba(255,255,255,0.5); border-radius:8px; display:inline-block; margin:0px 8px; } .index-case .case-banner .swiper-slide .shadow{ position: absolute; right: 15%; top: 50%; transform: translate(0,-50%); background: url(/img/back1.png) no-repeat top center; width:480px; padding: 50px 35px 120px 35px; } } @media only screen and (max-width: 767px){ .index-case .case-banner .swiper-slide .shadow{ position: absolute; right: auto; top: 60px; background: url(/img/back1.png); width:100%; padding: 50px 20px; } .index-case .case-banner .swiper-case-banner .swiper-button-prev{ margin-left:0px; } .index-case .case-banner .swiper-case-banner .swiper-button-next{ margin-right:0px; } } .index-case .case-banner .swiper-slide .shadow h2{ font-size: 24px; color: #6bb429; font-weight: bold; } .index-case .case-banner .swiper-slide .shadow .line{ font-size: 16px; color: #4d4d4d; margin: 18px 0 25px; } .index-case .case-banner .swiper-slide .shadow .line i{ font-style: normal; margin: 0 25px; } .index-case .case-banner .swiper-slide .shadow p{ font-size: 14px; line-height: 24px; color: #666; text-overflow: -o-ellipsis-lastline; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; } .index-case .case-banner .swiper-slide .shadow a.more{ display: inline-block; font-size: 14px; color: #fff; width: 112px; line-height: 28px; background: #61bd6b; text-align: center; margin-top: 45px; border-radius: 10px; }