@charset "utf-8"; header{ width: 100%; background: #26207a; animation: 0.5s ease 0.3s 1 normal backwards running fadeInDown; } .header_m{ display: none; } header .logo a,header .logo a img{ display: block; width: auto; height: auto; } header .logo{ margin: 26px 0; } header .fr .top_link{ margin: 20px 0; } header .fr .top_link a{ display: block; float: right; color: #fff; font-size: 14px; line-height: 28px; padding-left: 20px; background: url(../img/home.png) no-repeat left center; margin-right: 30px; position: relative; } header .fr .top_link a::before{ position: absolute; display: block; content: ""; width: 1px; height: 18px; background: #fff; right: -15px; top: 5px; } header .searchbox>div{ width: 200px; height: 30px; overflow: hidden; border: 1px solid #6863a2; border-radius: 15px; box-sizing: border-box; } header .searchbox .text { float: left; width: calc(100% - 50px); height: 28px; border: none; outline: none; line-height: 28px; padding-left: 10px; font-size: 14px; margin: 0; background: transparent; color: #6863a2; } header .searchbox .submit { width: 40px; height: 28px; float: right; background: url(../img/search.png) no-repeat center; border: none; box-sizing: content-box; position:relative; } /* 导航 */ header .nav ul>li{ float: left; } header .nav ul>li>a{ display: block; width: auto; padding: 0px 12px; font-size: 18px; color: #fff; position: relative; text-align: center; padding-bottom: 5px; } header .nav ul>li>a:hover::before,header .nav ul>li>a.hover::before{ content: ""; display: block; position: absolute; width: calc(100% - 30px); height: 2px; background: #ed4022; left: 15px; bottom: 0; } /* 底部 */ footer{ background: #26207a; padding: 60px 0; } footer div.fl:nth-of-type(1){ width: 30%; } footer div.fl:nth-of-type(2){ width: 40%; } footer div.fl:nth-of-type(3){ width: 30%; } footer .footer_logo a,footer .footer_logo a img{ display: block; } footer .footer_logo a img{ width: auto; height: auto; margin-top: 38px; } footer .bq{ padding: 26px 0; border-left: 1px solid #514d95; border-right: 1px solid #514d95; box-sizing: border-box; } footer .bq p,footer .bq p a{ font-size: 14px; color: #fff; line-height: 30px; text-indent: 80px; } footer .code p{ float: right; margin-left: 15px; } footer .code p img,footer .code p span{ display: block; width: 114px; height: auto; max-height: 112px; object-fit: cover; } footer .code p span{ font-size: 14px; color: #fff; line-height: 30px; text-align: center; } @media only screen and (max-width: 1500px){ .w1440{ width:100%; padding:0 30px; box-sizing:border-box; } header .logo a, header .logo a img{ height: 50px; } header .nav ul>li>a{ font-size: 16px; padding: 0 10px 5px; } header .fr .top_link{ margin:12px 0; } footer{ padding:50px 0; } footer .bq p{ text-indent:0; text-align:center; } footer .footer_logo a{ padding-right:15px; box-sizing:border-box; } } @media only screen and (max-width: 1200px){ header .logo a, header .logo a img{ height: 45px; } header .nav ul>li>a{ font-size: 15px; padding: 0 5px 5px; } header .fr .top_link{ margin:12px 0; } footer{ padding: 30px 0; } footer div.fl:nth-of-type(1){ width:100%; float: none; } footer .footer_logo a img{ margin: 0 auto; display: block; } footer div.fl:nth-of-type(2){ width: auto; border:none; margin-top: 20px; } footer div.fl:nth-of-type(3){ width:auto; float:right; margin-top: 20px; } footer .bq p{ text-align:left; } } @media only screen and (max-width: 1024px){ header{ display: none; } .header_m{ display: block; } body.navshow { overflow: hidden; position: fixed; width: 100%; top: 0px; left: 0px; margin: 0; } .header_m { display: block; width: 100%; position: relative; top: 0; z-index: 9999; box-sizing: border-box; padding: 15px 30px; background: #26207a; } .header_m .m_logo { display: block; width: auto; float: left; } .header_m .m_logo a, .header_m .m_logo a img { width: auto; display: inline-block; height: 55px; } .menu1 { width: 40px; height: 40px; display: block; right: 30px; top: 23px; overflow: hidden; z-index: 999999999; cursor: pointer; position: absolute; } .menu1 span { float: left; width: 80%; background: #fff; transition: all 0.4s ease; margin-top: 8px; margin-left: 10%; height: 2px; } .menu1 span:first-child { margin-top: 9px; } .menu1.open span:nth-child(1) { transform: rotate(45deg); margin-top: 19px; } .menu1.open span:nth-child(2) { transform: rotate(-45deg); margin-top: -2px; } .menu1.open span:nth-child(3) { opacity: 0; } .m_nav { width: 100vw; height: calc(100% - 88px); position: fixed; top: 85px; left: 0; background: rgba(0, 0, 0, 0.5); z-index: -1; opacity: 0; visibility: hidden; transition: all 0.5s; display: block; overflow: auto; box-sizing: border-box; } .m_nav.active { visibility: visible; opacity: 1; z-index: 99999999; } .m_nav ul{ position: absolute; transition: right 0.3s ease; right: 0; top: 47px; left: auto; width: 420px; height: calc(100% - 47px); z-index: 99999; background: #fff; margin: 0; overflow: auto; } .m_nav ul li { height: auto; width: 100%; position: relative; border-bottom: 1px solid #ccc; float: none; text-align: left; padding: 0; line-height: 54px; } .m_nav ul>li>a { font-size: 18px; color: #333; font-weight: bold; width: 80%; text-indent: 20px; position: relative; display: block; line-height: 54px; } .m_nav ul>li>a:hover { color: #26207a; } .m_nav ul li i { position: absolute; right: 0; width: 15%; height: 54px; top: 0; background: url(../img/jia.png) no-repeat center center; margin: auto; z-index: 10; cursor: pointer; transition: all .2s ease; -moz-transition: all .2s ease; -o-transition: all .2s ease; -webkit-transition: all .2s ease; } .m_nav ul li i.on { background: url(../img/jian.png) no-repeat center center; } .m_nav ul li ol { position: relative; width: 100%; top: 0; left: 0; box-shadow: none; display: none; transition: all 0s; } .m_nav ul li ol>li { text-align: left; border: 0; font-size: 16px; line-height: 45px; position: relative; text-indent: 40px; border-top: 1px solid rgba(0, 0, 0, 0.2); transition: all .5s; } .m_nav ul li ol>li a { color: #444444; font-weight: bold; } .m_nav ul li ol>li:hover a { text-indent: 50px; color: #1f43a3; } /* 小屏搜索 */ .m_nav .search3{ position: absolute; top: 0; right: 0; width: 420px; border-top: 1px solid #ccc; } .m_nav .search3 div.search3_sub{ background: #ffffff; width: 100%; height: 46px; overflow: hidden; box-sizing: border-box; border-bottom: 1px solid #cccccc; } .m_nav .search3 .text { float: left; width: calc(100% - 50px); height: 46px; border: none; outline: none; line-height: 46px; padding-left: 20px; font-size: 15px; margin: 0; background: transparent; color: #000000; box-sizing: border-box; border-right: 1px solid #ccc; } .m_nav .search3 .text::-webkit-input-placeholder{ color:#969696; } .m_nav .search3 .text::-moz-input-placeholder{ color:#969696; } .m_nav .search3 .text::-ms-input-placeholder{ color:#969696; } .m_nav .search3 .submit { width: 50px; height: 46px; float: right; background: #fff url(../img/search2.png) no-repeat center; border: none; box-sizing: content-box; position:relative; } .m_nav .search3 .submit::before{ display:block; content:""; width:1px; height:20px; position:absolute; left: 1px; top:3px; background: #000000; } } @media only screen and (max-width: 960px){ .w1440{ padding:0 20px; } } @media only screen and (max-width: 768px){ .w1440{ padding:0 15px; } .header_m{ padding: 12px 15px; } .header_m .m_logo a, .header_m .m_logo a img{ height: 40px; } .menu1{ top: 13px; right: 15px; } .m_nav{ top: 64px; height: calc(100% - 64px); } footer div.fl:nth-of-type(2),footer div.fl:nth-of-type(3){ float:none; padding: 0; } footer .bq p{ text-align:center; } footer .code{ text-align:center; } footer .code p{ float:none; display:inline-block; } footer{ padding:20px 0 10px; } } @media only screen and (max-width: 560px){ .m_nav .search3,.m_nav ul{ width:100%; } .m_nav ul>li>a{ font-size:16px; line-height: 46px; } .m_nav ul li i { height: 46px; } .m_nav ul li ol>li{ line-height:38px; font-size: 14px; text-indent: 30px; } footer .footer_logo a img{ height:42px; } footer .bq p{ font-size: 14px; line-height: 24px; padding: 0 12px; } }