/*banner */ .index_main{ background: #f7f7f7; } .index_main .section1{ position: relative; } .index_main .section1 .index_banner .item{ background-size: cover; -webkit-background-size:cover; background-position: center; background-repeat: no-repeat; height:450px; position: relative; } .index_main .section1 .index_banner .items{ background-size: cover; background-position: center center; background-repeat: no-repeat; position: absolute; left: 0; top: 0; width: 100%; height: 100%; } .index_main .section1 .index_banner .item .inner .block_txt{ position: absolute; top: 40%; left: 20%; width: 40%; } .index_main .section1 .index_banner .item .inner .block_txt h2{ color: #fff; font-size: 34px; padding: 0; margin-top: 0; font-weight: 600; } .index_main .section1 .index_banner .item .inner .block_txt h4{ color:#fff; display: inline-block; font-size: 20px; } .index_main .section1 .index_banner .item .inner .block_txt a:hover{ cursor: pointer; } .index_main .section1 .slick_txt{ width:10%; height: 100%; background-color: transparent; transition: all 500ms ease; -webkit-transition:all 500ms ease; background-repeat: no-repeat; position: absolute; top: 0; font-size: 0; outline: none; border:0; } .index_main .section1 .left{ left: 0; } .index_main .section1 .right{ right:0; } .index_main .section1 .slick_txt:hover .slick_arrow{ opacity: 1; visibility: visible; } .index_main .section1 .slick_txt .slick_arrow{ width: 20px; height: 36px; background-repeat: no-repeat; background-position: center; margin-top: -18px; position: absolute; top: 50%; cursor: pointer; transition: all 500ms ease; -webkit-transition:all 500ms ease; opacity: 0; visibility: hidden; } .index_main .section1 .slick_txt .prev{ background-image:url(../image/ban_prev.png); left:60px; } .index_main .section1 .slick_txt .next{ background-image:url(../image/ban_next.png); right:60px; } .index_main .section1 .slick_txt .prev:hover{ background-image:url(../image/ban_prev_hover.png); } .index_main .section1 .slick_txt .next:hover{ background-image:url(../image/ban_next_hover.png); } .index_main .section1 .number{ position: absolute; bottom:5%; left: 50%; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,0.2); display: table; padding: 0 20px; width: auto; text-align: center; transform: translateX(-50%); -webkit-transform: translateX(-50%); } .index_main .section1 .number span{ font-size: 14px; color: #fff; margin-right:100px; display: inline-block; cursor: pointer; position: relative; transition: all 500ms ease; -webkit-transition:all 500ms ease; } .index_main .section1 .number span:last-child{ margin-right: 0; } .index_main .section1 .number span:after{ content: ""; display: inline-block; width: 0; height: 2px; background: #fff; position: absolute; left: 50%; transform: translateX(-50%); -webkit-transform: translateX(-50%); bottom:-20px; opacity: 0; visibility: hidden; transition: all 500ms ease; -webkit-transition:all 500ms ease; } .index_main .section1 .number span.active:after{ width: 100%; opacity: 1; visibility: visible; } .index_main .section2{ background: #f5f5f5; } .index_main .section2 h3{ text-align: center; } .index_main .section3{ width: 100%; height: 100%; background: url(../img/3.jpg) no-repeat; background-size: 100% 100%; } .index_main .section3 h3{ text-align: center; } .index_main .section4{ background: #f5f5f5; } .index_main .section4 h3{ text-align: center; } @media only screen and (max-width: 1600px){ .index_main .section1 .index_banner .item{ height: 350px; } .index_main .section1 .index_banner .item .inner .block_txt h4{ font-size: 18px; } .index_main .section1 .index_banner .item .inner .block_txt h2{ font-size: 30px; } .index_main .section1 .index_banner .item .inner .block_txt h3{ font-size: 20px; } } @media only screen and (max-width: 1440px){ .index_main .section1 .index_banner .item{ height: 330px; } .index_main .section1 .index_banner .item .inner .block_txt h4{ font-size: 18px; } .index_main .section1 .index_banner .item .inner .block_txt h2{ font-size: 30px; } .index_main .section1 .index_banner .item .inner .block_txt h3{ font-size: 18px; margin-top: 5px; } } @media only screen and (max-width: 1366px){ .index_main .section1 .index_banner .item{ height: 300px; } .index_main .section1 .index_banner .item .inner .block_txt h4{ font-size: 18px; } .index_main .section1 .index_banner .item .inner .block_txt h2{ font-size: 28px; } .index_main .section1 .index_banner .item .inner .block_txt h3{ font-size: 16px; } .index_main .section1 .index_banner .slick-arrow{ background-size: auto 30px; } } @media only screen and (max-width: 1300px){ } @media only screen and (max-width: 1199px){ .index_main .section1 .index_banner .item{ height: 300px; } .index_main .section1 .index_banner .item .inner .block_txt h4{ font-size: 18px; } .index_main .section1 .index_banner .item .inner .block_txt h2{ font-size: 22px; } .index_main .section1 .index_banner .item .inner .block_txt h3{ font-size: 14px; } .index_main .section1 .index_banner .item .inner .block_txt{ width: 70%; } } @media only screen and (max-width: 992px){ .index_main .section1 .index_banner .item{ height: 300px; } .index_main .section1 .index_banner .item .inner .block_txt{ left: 0; right:0; margin: 0 auto; padding: 0 20px; top: 30%; } .index_main .section1 .index_banner .slick-arrow{ display: none !important; } .index_main .section1 .index_banner .slick-dots{ position: absolute; bottom: 12px; } .index_main .section1 .index_banner .slick-dots li{ width: 12px; height: 12px; border-radius: 50%; border:2px solid #fff; } .index_main .section1 .index_banner .slick-dots li button{ display: none; } .index_main .section1 .index_banner .slick-dots li.slick-active{ background: #fff; } .index_main .section1 .number{ bottom: 12%; display: none; } .index_main .section1 .number span{ margin-right: 22px; } .index_main .section1 .number span:after{ bottom: -14px; } .index_main .section1 .index_banner .item .inner .block_txt{ width: 90%; } } @media only screen and (max-width: 767px){ .index_main .section1 .index_banner .item{ height: 220px; } .index_main .section1 .index_banner .item .inner .block_txt h4{ font-size: 12px; } .index_main .section1 .index_banner .item .inner .block_txt h2{ font-size: 18px; } } @media only screen and (max-width: 340px){ } @media only screen and (max-width: 320px){ }