style.css 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789
  1. .home-layout {
  2. width: 100%;
  3. max-width: 1140px;
  4. margin: 0 auto;
  5. padding-left: 30px;
  6. padding-right: 30px;
  7. }
  8. .ov {
  9. overflow: hidden;
  10. }
  11. .home_1 {
  12. position: relative;
  13. }
  14. .home_1 > div {
  15. position: absolute;
  16. left: 0;
  17. top: 0;
  18. right: 0;
  19. bottom: 0;
  20. background-color: rgba(0,0,0,0.5);
  21. color: transparent;
  22. z-index: 100;
  23. }
  24. .home_1 > div > div{
  25. position: absolute;
  26. top: 50%;
  27. transform: translateY(-50%);
  28. text-align: center;
  29. width: 100%;
  30. color: #fff;
  31. left: 0;
  32. box-sizing: border-box;
  33. padding: 0 30px;
  34. }
  35. .home_1 img {
  36. width: 100%;
  37. }
  38. .home_1 > div > div h1 {
  39. font-size: 40px;
  40. font-weight: 500;
  41. }
  42. .home_1 > div > div p {
  43. padding-top: 24px;
  44. font-size: 20px;
  45. font-weight: 300;
  46. }
  47. .home_1 video {
  48. top: 0;
  49. width: 100%;
  50. left: 0;
  51. z-index: 99;
  52. transition: all 1s ease-in;
  53. -o-object-fit: cover;
  54. object-fit: cover;
  55. -o-object-position: center center;
  56. object-position: center center;
  57. }
  58. .home_2 {
  59. margin: 30px auto 30px;
  60. }
  61. .home_2 h2 {
  62. margin-bottom: 35px;
  63. text-align: center;
  64. }
  65. .h_2_layout > a {
  66. position: relative;
  67. overflow: hidden;
  68. }
  69. .h_2_layout > a:hover .img {
  70. transform: scale(1.1)
  71. }
  72. .h-m-1 > .img,
  73. .h-m-2 > .img,
  74. .h-m-3 > .img {
  75. height: 320px;
  76. display: block;
  77. width: 100vw;
  78. position: relative;
  79. left: 50%;
  80. right: 50%;
  81. margin-left: -50vw;
  82. margin-right: -50vw;
  83. transition: all .3s linear;
  84. }
  85. .h-m-1 > .img::after,
  86. .h-m-2 > .img::after,
  87. .h-m-3 > .img::after {
  88. position: absolute;
  89. content: '';
  90. left: 0;
  91. right: 0;
  92. top: 0;
  93. bottom: 0;
  94. background: no-repeat center center;
  95. background-size: cover;
  96. transition: transform .3s ease-out;
  97. }
  98. .h-m-1 > .img::after {
  99. background-image: url('http://video.cgaii.com/new4dage/images/images/home_2_a.jpg')
  100. }
  101. .h-m-2 > .img::after {
  102. background-image: url('http://video.cgaii.com/new4dage/images/images/home_2_b.jpg')
  103. }
  104. .h-m-3 > .img::after {
  105. background-image: url('http://video.cgaii.com/new4dage/images/images/home_2_c.jpg')
  106. }
  107. .h_2_layout > a::after {
  108. content: '';
  109. position: absolute;
  110. left: 0;
  111. right: 0;
  112. top: 0;
  113. bottom: 0;
  114. background-color: rgba(0,0,0,0.2);
  115. z-index: 0;
  116. transition: all .3s linear;
  117. }
  118. .h_2_layout > a:hover::after {
  119. background-color: rgba(0,0,0,0.4);
  120. }
  121. .h_2_layout .info {
  122. position: absolute;
  123. left: 0;
  124. right: 0;
  125. bottom: 0;
  126. margin: 20px;
  127. z-index: 2;
  128. height: 70px;
  129. overflow: hidden;
  130. transition: all .3s linear;
  131. }
  132. .h_2_layout > a:hover .info {
  133. height: 120px;
  134. }
  135. .h_2_layout h3 {
  136. font-size: 18px;
  137. color: #fff;
  138. margin: 15px 0 10px;
  139. }
  140. .h_2_layout p {
  141. font-size: 14px;
  142. color: #fff;
  143. line-height: 25px;
  144. }
  145. .h_2_layout img {
  146. width: 100%;
  147. }
  148. .home_3 {
  149. position: relative;
  150. }
  151. .home_3 > .bg {
  152. background-color: #000000;
  153. width: 100vw;
  154. left: 50%;
  155. position: absolute;
  156. margin-left: -50vw;
  157. top: 0;
  158. height: 100%;
  159. z-index: -1;
  160. }
  161. .home_3 {
  162. color: #fff;
  163. padding-top: 30px;
  164. }
  165. .home_3 h2 {
  166. color: inherit;
  167. margin-bottom: 60px;
  168. text-align: center;
  169. }
  170. .home_3 h3 {
  171. color: inherit;
  172. font-size: 24px;
  173. margin: 35px 0 24px;
  174. color: #fff;
  175. transition: color .3s ease-out
  176. }
  177. .home_3 p {
  178. color: #626262;
  179. font-size: 14px;
  180. line-height: 24px;
  181. }
  182. .catg > a {
  183. display: block;
  184. text-decoration: none;
  185. padding-bottom: 40px;
  186. }
  187. .catg > a:hover h3 {
  188. color: #00b4ed
  189. }
  190. .catg > a > div {
  191. height: 210px;
  192. background: no-repeat center center;
  193. background-size: auto 100%;
  194. }
  195. .catg > a:nth-child(1) > div {
  196. background-image: url('http://video.cgaii.com/new4dage/images/images/home_3_b.jpg')
  197. }
  198. .catg > a:nth-child(2) > div {
  199. background-image: url('http://video.cgaii.com/new4dage/images/images/home_3_c.jpg')
  200. }
  201. .catg > a:nth-child(3) > div {
  202. background-image: url('http://video.cgaii.com/new4dage/images/images/home_3_a.jpg')
  203. }
  204. .home_4 {
  205. padding-top: 40px;
  206. margin-bottom: 20px;
  207. }
  208. .home_4 h2 {
  209. text-align: center;
  210. margin-bottom: 20px;
  211. }
  212. .home_4 h3 {
  213. font-size: 18px;
  214. color: #000;
  215. margin: 10px 0 10px;
  216. }
  217. .home_4 p {
  218. font-size: 14px;
  219. color: #666666;
  220. line-height: 24px;
  221. }
  222. .home_4 > div > a {
  223. width: 100%;
  224. float: left;
  225. margin-bottom: 30px;
  226. text-align: center;
  227. }
  228. .h_5_2 {
  229. overflow: hidden;
  230. }
  231. .home_5 {
  232. padding-bottom: 60px;
  233. }
  234. .home_5 > h2 {
  235. margin-bottom: 65px;
  236. text-align: center;
  237. }
  238. .h_5_2 > a,
  239. .h_5_2 > div {
  240. width: calc(50% - 2px);
  241. }
  242. .h_5_2 > a:nth-child(1),
  243. .h_5_2 > div:nth-child(1) {
  244. float: left;
  245. }
  246. .h_5_2 > a:nth-child(2),
  247. .h_5_2 > div:nth-child(2) {
  248. float: right;
  249. }
  250. .categ_h_5 > a,
  251. .categ_h_5 > div {
  252. width: 100%;
  253. }
  254. .h_5_article {
  255. position: relative;
  256. margin-bottom: 4px;
  257. display: block;
  258. text-decoration: none;
  259. overflow: hidden;
  260. }
  261. .h_5_article img {
  262. width: 100%;
  263. display: block;
  264. transition: transform .3s ease-out
  265. }
  266. .h_5_article div {
  267. position: absolute;
  268. left: 0;
  269. top: 0;
  270. width: 100%;
  271. height: 100%;
  272. background-color: rgba(0,0,0,0);
  273. transition: background-color .3s ease-out
  274. }
  275. .h_5_article p {
  276. color: #fefefe;
  277. font-size: 14px;
  278. left: 12px;
  279. bottom: 12px;
  280. right: 12px;
  281. position: absolute;
  282. transition: transform .3s ease-out
  283. }
  284. .h_5_article:hover img {
  285. transform: scale(1.1)
  286. }
  287. .h_5_article:hover div {
  288. background-color: rgba(0,0,0,0.4)
  289. }
  290. .h_5_article:hover p {
  291. transform: translateY(-20px)
  292. }
  293. .home_6 {
  294. padding-bottom: 40px;
  295. }
  296. .home_6 h2 {
  297. text-align: center;
  298. margin-bottom: 40px;
  299. }
  300. .h_6_slide_item {
  301. display: block;
  302. text-decoration: none;
  303. }
  304. .item-content > div {
  305. height: 140px;
  306. overflow: hidden;
  307. color: #666666;
  308. margin-bottom: 20px;
  309. font-size: 14px;
  310. line-height: 20px;
  311. }
  312. .item-content > a {
  313. font-size: 14px;
  314. color: #00b4ed;
  315. display: inline-block;
  316. margin-top: 15px;
  317. }
  318. .h_6_slide_item p{
  319. font-size: 14px;
  320. color: #010101;
  321. }
  322. .item-img {
  323. float: left;
  324. }
  325. .item-img > div {
  326. position: relative;
  327. }
  328. .item-img img {
  329. display: block;
  330. width: 100%;
  331. margin-bottom: 20px;
  332. }
  333. .item-content {
  334. margin-top: 20px;
  335. float: right;
  336. }
  337. .item-content h3{
  338. color: #000000;
  339. font-size: 18px;
  340. margin-bottom: 40px;
  341. }
  342. .h_6_slide_foot {
  343. position: absolute;
  344. width: 100%;
  345. left: 0;
  346. bottom: 20px;
  347. text-align: center;
  348. }
  349. .h_6_slide_foot span {
  350. display: inline-block;
  351. width: 12px;
  352. height: 12px;
  353. border-radius: 50%;
  354. border: 1px solid #fff;
  355. margin-left: 10px;
  356. cursor: pointer;
  357. }
  358. .h_6_slide_foot span.active {
  359. background-color: #fff;
  360. }
  361. .home_7 {
  362. padding-bottom: 100px;
  363. }
  364. .home_7 h2 {
  365. text-align: center;
  366. }
  367. .home_7 img {
  368. width: 100%;
  369. margin-top: 34px;
  370. }
  371. .home_7 .phone-cls {
  372. overflow: hidden;
  373. }
  374. .home_7 .phone-cls img {
  375. width: 50%;
  376. margin-top: 5px;
  377. /* float: left */
  378. }
  379. .home_8 {
  380. padding-top: 42px;
  381. position: relative;
  382. padding-bottom: 30px;
  383. }
  384. .home_8 > .bg {
  385. position: absolute;
  386. left: 50%;
  387. top: 0;
  388. width: 100vw;
  389. margin-left: -50vw;
  390. background: url('http://video.cgaii.com/new4dage/images/images/team.jpg') no-repeat center center;
  391. background-size: cover;
  392. height: 100%;
  393. z-index: -1;
  394. }
  395. .home_8 > .bg::after {
  396. content: '';
  397. display: block;
  398. left: 0;
  399. top: 0;
  400. width: 100%;
  401. height: 100%;
  402. position: absolute;
  403. background-color: rgba(0,0,0,0.7);
  404. }
  405. .home_8 > h2 {
  406. color: #fff;
  407. text-align: center;
  408. }
  409. .home_8 > p {
  410. font-size: 14px;
  411. text-align: center;
  412. color: #fff;
  413. margin-top: 25px;
  414. }
  415. .h_8_catg {
  416. margin-top: 85px;
  417. }
  418. .corse-item-slide {
  419. text-align: center;
  420. }
  421. .course-item {
  422. width: 100%;
  423. float: left;
  424. }
  425. .time-zhou {
  426. overflow: hidden;
  427. margin-top: 20px;
  428. }
  429. .time-zhou span {
  430. font-size: 16px;
  431. color: #fff;
  432. width: 20%;
  433. float: left;
  434. text-align: center;
  435. line-height: 40px;
  436. }
  437. .time-zhou span.active {
  438. font-weight: bold;
  439. font-size: 30px;
  440. line-height: 30px;
  441. }
  442. @media screen and (max-width: 425px) {
  443. .time-zhou span.active {
  444. font-size: 20px;
  445. line-height: 36px;
  446. }
  447. }
  448. .h_8_catg h3 {
  449. font-size: 30px;
  450. margin-bottom: 25px;
  451. color: #fff;
  452. }
  453. .h_8_catg h3 span {
  454. font-size: 18px;
  455. display: block;
  456. margin-top: 10px;
  457. }
  458. .h_8_catg p {
  459. font-size: 14px;
  460. line-height: 20px;
  461. color: #fff;
  462. text-align: left !important;
  463. margin-top: 10px;
  464. }
  465. .h_8_catg p::before {
  466. content: '●';
  467. margin-right: 10px;
  468. }
  469. .h_2_layout > a {
  470. display: block;
  471. margin-bottom: 15px;
  472. }
  473. .h_2_layout > a > div:hover::after {
  474. transform: scale(1.1)
  475. }
  476. .home_5 > h2 {
  477. margin-bottom: 30px;
  478. }
  479. .h_8_catg {
  480. margin-top: 25px;
  481. }
  482. @media screen and (min-width: 700px) {
  483. .catg > a {
  484. float: left;
  485. width: 30%;
  486. padding-bottom: 120px
  487. }
  488. .catg > a:nth-child(2) {
  489. margin-left: 5%;
  490. margin-right: 5%;
  491. }
  492. .catg > a > div {
  493. height: 226px;
  494. background-size: 100% auto;
  495. }
  496. .h-m-1 {
  497. width: 49%;
  498. float: left;
  499. }
  500. .home_1>div>div h1 {
  501. font-size: 50px;
  502. }
  503. .home_1>div>div p {
  504. font-size: 20px;
  505. }
  506. .h_2_layout .h-m-2 {
  507. float: right;
  508. width: 49%;
  509. margin-bottom: 2%;
  510. }
  511. .h-m-3 {
  512. float: right;
  513. width: 49%;
  514. }
  515. .h-m-2>.img,
  516. .h-m-3>.img,
  517. .h-m-1>.img {
  518. width: 100%;
  519. /* position: static; */
  520. left: inherit;
  521. right: inherit;
  522. margin: 0;
  523. height: 270px;
  524. overflow: hidden;
  525. }
  526. .h-m-1>.img {
  527. height: 562px;
  528. }
  529. }
  530. @media screen and (min-width: 1040px) {
  531. .item-content > a {
  532. display: inline;
  533. }
  534. .home_8 {
  535. padding-top: 72px;
  536. padding-bottom: 60px;
  537. }
  538. .h_8_catg {
  539. margin-top: 85px;
  540. }
  541. .h_2_layout > a {
  542. margin-bottom: 0;
  543. }
  544. .home_4 > div > a {
  545. width: 23%;
  546. float: left;
  547. text-align: left;
  548. margin-bottom: 110px;
  549. margin-right: 2.6666% !important;
  550. }
  551. .home_4 > div > a:last-child {
  552. margin-right: 0 !important;
  553. }
  554. .categ_h_5 > a,
  555. .categ_h_5 > div {
  556. width: calc(50% - 2px);
  557. }
  558. .item-img {
  559. width: 65%;
  560. }
  561. .item-content {
  562. margin-top: 0;
  563. width: 33%;
  564. }
  565. .course-item {
  566. width: 18%;
  567. margin-right: 2.5% !important;
  568. margin-bottom: 60px;
  569. }
  570. .course-item:last-child {
  571. margin-right: 0 !important;
  572. }
  573. .home_2 {
  574. margin: 60px auto 160px;
  575. }
  576. .home_3 {
  577. padding-top: 108px;
  578. }
  579. .home_4 {
  580. padding-top: 100px;
  581. }
  582. .home_4 h2 {
  583. margin-bottom: 80px;
  584. }
  585. .home_4 h3 {
  586. margin: 20px 0 30px;
  587. }
  588. .home_5 {
  589. padding-bottom: 140px;
  590. }
  591. .home_5 > h2 {
  592. margin-bottom: 65px;
  593. }
  594. .home_6 {
  595. padding-bottom: 150px;
  596. }
  597. .home_6 h2 {
  598. margin-bottom: 80px;
  599. }
  600. .item-img img {
  601. margin-bottom: 0;
  602. }
  603. .h_6_slide_item {
  604. max-height: inherit;
  605. position: relative;
  606. }
  607. .item-content {
  608. position: absolute;
  609. top: 0;
  610. right: 0;
  611. height: 100%;
  612. box-sizing: border-box;
  613. padding-top: 80px;
  614. padding-bottom: 32px;
  615. }
  616. .item-content > h3 {
  617. position: absolute;
  618. top: 0;
  619. left: 0;
  620. width: 100%;
  621. height: 120px;
  622. overflow: hidden;
  623. }
  624. .item-content > div {
  625. height: auto;
  626. overflow: hidden;
  627. height: 100%;
  628. margin-bottom: 0;
  629. }
  630. .item-content > a {
  631. position: absolute;
  632. bottom: 0;
  633. left: 0;
  634. }
  635. .home_8 > p {
  636. font-size: 18px;
  637. font-weight: bold;
  638. }
  639. .h_5_article p {
  640. font-size: 18px;
  641. font-weight: bold;
  642. left: 20px;
  643. right: 20px;
  644. bottom: 20px;
  645. }
  646. }