header.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406
  1. /* header */
  2. .header {
  3. color:#333;
  4. height: 64px;
  5. line-height: 64px;
  6. background-color: #f9f9f9;
  7. }
  8. .header div>div{
  9. margin-left: 30px;
  10. float:right;
  11. }
  12. .header ul li {
  13. float: left;
  14. margin: 0 10px;
  15. }
  16. .header a{
  17. color:#333;
  18. }
  19. .header .colorRed{
  20. color: #ff570c;
  21. }
  22. /* 导航 */
  23. .topNav{
  24. width: 100%;
  25. background: #ffffff;
  26. height:102px;
  27. }
  28. .topNav.navFix{
  29. position: fixed;
  30. top: 0;
  31. left: 0;
  32. z-index: 999999;
  33. box-shadow: 0 4px 10px #ccc;
  34. }
  35. /* 导航 */
  36. .navHeader {
  37. position: absolute;
  38. width: 1200px;
  39. left: 50%;
  40. margin-left: -600px;
  41. z-index: 999999999;
  42. }
  43. .navHeader .nav ul li img {
  44. width: 30px;
  45. height: 30px;
  46. position: absolute;
  47. right: 0px;
  48. top: 9px;
  49. }
  50. .navHeader .logo {
  51. float: left;
  52. padding-left: 20px;
  53. margin-top: 20px;
  54. }
  55. .navHeader .logo_right {
  56. margin-top: 14px;
  57. float: left;
  58. padding-left: 20px;
  59. width: 120px;
  60. height: 75px;
  61. background: url("../../../img/index_xuan.png") no-repeat center center;
  62. margin-left: 10px;
  63. }
  64. .navHeader .nav {
  65. float: left;
  66. vertical-align: top;
  67. margin-top: 26px;
  68. padding-left: 40px;
  69. }
  70. .navHeader .nav>ul>li {
  71. float: left;
  72. width: 112px;
  73. vertical-align: middle;
  74. text-align: center;
  75. position: relative;
  76. margin: 0 5px;
  77. }
  78. .navHeader .nav>ul>li.active div{
  79. box-shadow: 0 0 15px rgb(219, 218, 218);
  80. }
  81. /*2级导航*/
  82. .navHeader .nav ul li div{
  83. border-radius: 5px;
  84. background: #ffffff;
  85. overflow:hidden;
  86. width: 112px;
  87. }
  88. .navHeader .nav ul li:hover{
  89. box-shadow: 0 0 15px rgb(219, 218, 218);
  90. }
  91. .navHeader .nav ul li>div>a{
  92. width: 112px;
  93. line-height: 56px;
  94. height: 56px;
  95. display: inline-block;
  96. font-size: 20px;
  97. color: #064f87;
  98. }
  99. .navHeader .nav ul li .subnavigation {
  100. width: 112px;
  101. top: 76px;
  102. z-index: 9999;
  103. background: #ffffff;
  104. display: none;
  105. padding-bottom: 15px;
  106. }
  107. .subnavigation li>a {
  108. width: 110px;
  109. height: 42px;
  110. line-height: 42px;
  111. display: inline-block;
  112. color: #7a7878;
  113. }
  114. .subnavigation li a:hover {
  115. color:#064f87!important;
  116. background: #e5f0f4;
  117. }
  118. .subnavigation li {
  119. height: 30px;
  120. line-height: 30px;
  121. }
  122. /*hot*/
  123. .nav ul li:hover img {
  124. animation: hot 1s infinite linear;
  125. transition: all 1s;
  126. }
  127. @keyframes hot {
  128. 0% {
  129. width: 30px;
  130. height: 30px;
  131. }
  132. 25% {
  133. width: 25px;
  134. height: 25px;
  135. top: 9px;
  136. }
  137. 50% {
  138. width: 30px;
  139. height: 30px;
  140. }
  141. 100% {
  142. width: 25px;
  143. height: 25px;
  144. top: 9px;
  145. }
  146. }
  147. .navHeader .nav_right{
  148. margin-top: 20px;
  149. float: right;
  150. color:#ff570c;
  151. }
  152. .navHeader .nav_right img{
  153. width: 82px;
  154. height: 62px;
  155. margin-right: 14px;
  156. }
  157. @media (min-width: 1200px) {
  158. .container {
  159. width: 1200px;
  160. }
  161. }
  162. .search {
  163. clear: both;
  164. margin-top: 30px;
  165. }
  166. .navMeau {
  167. height: 55px;
  168. }
  169. .search .navMeau {
  170. float: left;
  171. width: 226px;
  172. font-size: 24px;
  173. color: #ffffff;
  174. height: 55px;
  175. line-height: 55px;
  176. text-align: center;
  177. margin-right: 30px;
  178. background: url(../../../img/newMenu/search-bj.jpg)
  179. }
  180. .search>div {
  181. display: inline-block;
  182. float: left;
  183. }
  184. .container .imgs {
  185. overflow: hidden;
  186. padding-top: 35px;
  187. padding-bottom: 62px;
  188. }
  189. .container .imgs img {
  190. width: 100%
  191. }
  192. .search .search-inp {
  193. font-size: 16px;
  194. height: 55px;
  195. line-height: 55px;
  196. }
  197. .search-inp .input-group {
  198. width: 900px;
  199. }
  200. .search-inp div:nth-child(2) {
  201. margin: 0 10px;
  202. }
  203. .search .search-inp input {
  204. font-size: 16px;
  205. height: 55px;
  206. line-height: 55px;
  207. border-color: #1797e9;
  208. border-right: none;
  209. }
  210. .search .search-inp button {
  211. height: 55px;
  212. line-height: 45px;
  213. background-color: #1797e9;
  214. color: #fff;
  215. font-size: 18px;
  216. width: 150px;
  217. border: none;
  218. border-radius: 0 5px 5px 0;
  219. }
  220. input:focus{
  221. outline: none;
  222. }
  223. .btn:focus,.btn:active,.btn.focus,.btn:active:focus,.btn.active:focus{
  224. background: #1797e9;
  225. outline: none;
  226. color:#ffffff;
  227. border: none
  228. }
  229. .search-inp .input-group{
  230. position: relative;
  231. }
  232. .searchBtn{
  233. }
  234. .search-inp .txtVal{
  235. position: absolute;
  236. left: 5px;
  237. top: 0;
  238. height: 24px;
  239. z-index: 999;
  240. line-height: 24px;
  241. padding: 16px 5px 16px 10px;
  242. }
  243. .search-inp .txtVal span{
  244. display: inline-block;
  245. padding: 0 10px;
  246. background: #e9f3f9;
  247. color: #7f7f7f;
  248. font-size: 14px;
  249. margin-right: 10px;
  250. }
  251. .search .search-inp div {
  252. float: left;
  253. }
  254. .search .searchMain {
  255. clear: both;
  256. overflow: hidden;
  257. margin-bottom: 20px
  258. }
  259. .search ol {
  260. clear: both
  261. }
  262. .search ol li {
  263. cursor: pointer;
  264. height: 30px;
  265. line-height: 30px;
  266. float: left;
  267. margin-right: 20px;
  268. font-size: 14px;
  269. }
  270. .search ol li a{
  271. color: #393838;
  272. }
  273. .search ol li:hover {
  274. color: #ff570c;
  275. }
  276. .search ol li.active {
  277. color: #ff570c;
  278. }
  279. .search .navMeau>div {
  280. position: relative;
  281. width: 100%;
  282. }
  283. .colorRed {
  284. font-size: 12px;
  285. color: #ff570c;
  286. }
  287. .colorBlur {
  288. font-size: 12px;
  289. color: #0289df;
  290. vertical-align: middle
  291. }
  292. .colorWrite {
  293. color: #ccc;
  294. height: 40px;
  295. margin: 12px 0px;
  296. }
  297. .navMeau .menuList {
  298. /* display: none; */
  299. position: absolute;
  300. top: 55px;
  301. padding: 20px 20px 40px;
  302. left: 0;
  303. z-index: 99999;
  304. background: #3b3b3b;
  305. color: #ffffff;
  306. font-size: 14px;
  307. }
  308. .navMeau .menuList ul li {
  309. float: left;
  310. box-sizing: border-box;
  311. width: 50%;
  312. height: 36px;
  313. line-height: 36px;
  314. text-align: center
  315. }
  316. .menuList ul li.active{
  317. color: #ff570c
  318. }
  319. .navMeau .menuList ul li:hover {
  320. cursor: pointer;
  321. color: #ff570c
  322. }
  323. .menuList ul li a{
  324. width: 100%;
  325. height: 36px;
  326. line-height: 36px;
  327. display: inline-block;
  328. color: #ffffff
  329. }
  330. /* 主体内容 */
  331. .demand-marq {
  332. position: relative;
  333. top: -12px;
  334. clear: both;
  335. width: 100%;
  336. height: 50px;
  337. line-height: 50px;
  338. box-shadow: 0 5px 5px #ccc;
  339. padding: 0 20px;
  340. background-color: #ffffff;
  341. }
  342. .demand-marq span {
  343. float: left;
  344. width: 96px;
  345. height: 20px;
  346. display: inline-block;
  347. background: url(../../../img/newMenu/demand-1.png) no-repeat;
  348. vertical-align: top;
  349. margin-top: 15px
  350. }
  351. .demand-marq marquee ul {
  352. overflow: hidden;
  353. width: 3500px;
  354. height: 50px;
  355. }
  356. .demand-marq marquee {
  357. overflow: hidden;
  358. margin-left: 20px;
  359. width: 980px;
  360. float: left;
  361. }
  362. .demand-marq ul li {
  363. margin: 0 30px;
  364. float: left;
  365. }