.banner { position: relative; } .banner img { width: 100%; } .banner .text { position: absolute; width: 100%; top: 46%; color: #fff; } .banner .text h2 { text-align: center; font-size: 2.3rem; font-weight: bold; letter-spacing: 1px; } .banner .text p { text-align: center; font-size: 1.2rem; letter-spacing: 1px; margin-top: 0.6rem; } .sub-nav { height: 4rem; border-bottom: 1px solid #ddd; overflow: hidden; position: relative; top: 0; background: #fff; width: 100%; border-top: 1px solid #ddd; z-index: 100; } .sub-nav .content .left { float: left; } .sub-nav .content .left h6 { line-height: 4rem; font-size: 1.3rem; font-weight: bold; } .sub-nav .content .left h6 span { font-size: 1rem; color: #9f223d; margin-left: 1rem; position: relative; top: -0.1rem; } .sub-nav .content .right { float: right; } .sub-nav .content .right > ul li { float: left; height: 4rem; text-align: center; position: relative; } .sub-nav .content .right > ul li a { line-height: 4rem; font-size: 0.8rem; display: block; } .sub-nav .content .right > ul li:not(:last-child) { margin-right: 2rem; } .sub-nav .content .right > ul li:before { content: ''; width: 0; height: 3px; background: #9f223d; position: absolute; bottom: 0; left: 0; } .sub-nav .content .right > ul li.active:before { width: 100%; transition: all 0.5s; -webkit-transition: all 0.5s; -moz-transition: all 0.5s; -ms-transition: all 0.5s; } .sub-nav .content .right > ul li.active a { color: #9f223d; } .sub-nav .content .right > ul li:hover:before { width: 100%; transition: all 0.5s; -webkit-transition: all 0.5s; -moz-transition: all 0.5s; -ms-transition: all 0.5s; } .sub-nav .content .right > ul li:hover a { color: #9f223d; } .eco { width: 100%; overflow: hidden; padding: 5rem 0 8rem; } .eco .w1150 { max-width: 1150px; margin: 0 auto; } .eco .title { width: 100%; text-align: left; font-weight: bold; color: #333; } .eco .title span { color: #9e223f; } .eco .join { max-width: 920px; margin: 3rem auto 0; } .eco .join .clearfix { width: 100%; } .eco .join .clearfix .item { display: flex; justify-content: flex-start; flex-wrap: wrap; } .eco .join .clearfix .item label { font-size: 16px; color: #666; display: block; width: 118px; line-height: 60px; } .eco .join .clearfix .item label i { color: #ff0000; margin-left: 5px; } .eco .join .clearfix .item > div { width: calc(100% - 118px); border: 1px solid #d3d3d3; margin-bottom: 16px; } .eco .join .clearfix .item > div input { width: 100%; height: 60px; border: none; padding-left: 1rem; font-size: 16px; } .eco .join .clearfix .btn { text-align: right; margin-top: 2rem; } .eco .join .clearfix .btn input { width: 9.9rem; height: 3rem; background: #9e223f; border-radius: 100px; color: #fff; border: none; font-size: 0.9rem; } @media screen and (max-width: 1024px) { .banner { margin-top: 5.5rem; } .banner .text { top: 38%; } } @media screen and (max-width: 768px) { .banner .text { top: 30%; } .banner .text h2 { font-size: 18px; } .banner .text p { font-size: 13px; margin-top: 0.2rem; } .sub-nav .content .left { display: none; } .sub-nav .content .right { width: 100%; } .sub-nav .content .right > ul li { width: 33.33%; } .sub-nav .content .right > ul li a { font-size: 12px; } .sub-nav .content .right > ul li:not(:last-child) { margin-right: 0; } .eco .join .clearfix .item label { width: 100%; line-height: 1.8; font-size: 15px; } .eco .join .clearfix .item > div { width: 100%; } .eco .join .clearfix .item > div input { height: 50px; } .eco .join .clearfix .btn { text-align: center; } .eco .join .clearfix .btn input { width: 11.9rem; height: 4rem; font-size: 14px; } } /*# sourceMappingURL=./eco_join.css.map */