header.css 6.3 KB

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