timeline.css 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925
  1. /*========================================================
  2. DARK LAYOUT
  3. =========================================================*/
  4. /* Timeline */
  5. .timeline {
  6. position: relative;
  7. display: block;
  8. margin: 0;
  9. padding: 10px 0;
  10. list-style: none;
  11. }
  12. .timeline:after {
  13. content: " ";
  14. display: table;
  15. clear: both;
  16. }
  17. .timeline:before {
  18. content: " ";
  19. display: table;
  20. }
  21. .timeline > li {
  22. list-style: none;
  23. }
  24. .timeline > li:nth-child(even) {
  25. float: left;
  26. clear: left;
  27. }
  28. .timeline > li:nth-child(odd) {
  29. float: right;
  30. clear: right;
  31. }
  32. .timeline .media {
  33. border-bottom: 1px solid #eee;
  34. font-size: 13px;
  35. }
  36. .timeline .media p {
  37. font-size: 13px;
  38. }
  39. .timeline .media:last-child {
  40. border-bottom: 0;
  41. }
  42. .timeline-line + .timeline-item {
  43. margin-top: -20px;
  44. }
  45. .timeline-group {
  46. display: block;
  47. position: relative;
  48. margin: 20px 0;
  49. text-align: center;
  50. float: none !important;
  51. z-index: 1;
  52. }
  53. .timeline-poster {
  54. margin-top: -20px;
  55. }
  56. .timeline-poster .btn-link {
  57. color: #a1aab0;
  58. }
  59. .timeline-poster .btn-link:active {
  60. color: #3e5771;
  61. }
  62. .timeline-poster .btn-link:focus {
  63. color: #3e5771;
  64. }
  65. .timeline-poster .btn-link:hover {
  66. color: #3e5771;
  67. }
  68. .timeline-poster .btn-link.active {
  69. color: #3e5771;
  70. }
  71. #timeline.timeline-center .timeline-line {
  72. display: inline-block;
  73. position: absolute;
  74. top: 0;
  75. bottom: 0;
  76. left: 50%;
  77. width: 2px;
  78. background-color: #ddd;
  79. transform: translate(-50%, 0);
  80. }
  81. #timeline.timeline-center .timeline-item {
  82. position: relative;
  83. display: inline-block;
  84. width: 50%;
  85. padding: 0 50px 35px;
  86. }
  87. #timeline.timeline-center .timeline-item:nth-child(even) {
  88. padding: 0px 35px 50px 0px;
  89. }
  90. #timeline.timeline-center .timeline-item:nth-child(even):after {
  91. content: "";
  92. position: absolute;
  93. right: 19px;
  94. top: 10px;
  95. width: 0;
  96. height: 0;
  97. border-top: 12px solid transparent;
  98. border-bottom: 12px solid transparent;
  99. border-left: 12px solid #ccc;
  100. z-index: 1;
  101. right: 25px;
  102. top: 20px;
  103. border-left: 11px solid #fff;
  104. }
  105. #timeline.timeline-center .timeline-item:nth-child(even):before {
  106. content: "";
  107. position: absolute;
  108. right: 24px;
  109. top: 20px;
  110. width: 0;
  111. height: 0;
  112. border-top: 12px solid transparent;
  113. border-bottom: 12px solid transparent;
  114. border-left: 12px solid #ccc;
  115. z-index: 1;
  116. }
  117. #timeline.timeline-center .timeline-item:nth-child(even) > .timeline-badge {
  118. right: -20px;
  119. }
  120. #timeline.timeline-center .timeline-item:nth-child(odd) {
  121. padding: 0px 0px 50px 35px;
  122. }
  123. #timeline.timeline-center .timeline-item:nth-child(odd):after {
  124. content: "";
  125. position: absolute;
  126. left: 19px;
  127. top: 10px;
  128. width: 0;
  129. height: 0;
  130. border-top: 12px solid transparent;
  131. border-bottom: 12px solid transparent;
  132. border-right: 12px solid #ccc;
  133. z-index: 1;
  134. left: 25px;
  135. top: 20px;
  136. border-right: 11px solid #fff;
  137. }
  138. #timeline.timeline-center .timeline-item:nth-child(odd):before {
  139. content: "";
  140. position: absolute;
  141. left: 24px;
  142. top: 20px;
  143. width: 0;
  144. height: 0;
  145. border-top: 12px solid transparent;
  146. border-bottom: 12px solid transparent;
  147. border-right: 12px solid #ccc;
  148. z-index: 1;
  149. }
  150. #timeline.timeline-center .timeline-item:nth-child(odd) > .timeline-badge {
  151. left: -20px;
  152. }
  153. #timeline.timeline-center .timeline-item > .timeline-badge {
  154. position: absolute;
  155. top: 12px;
  156. z-index: 1;
  157. }
  158. #timeline.timeline-center .timeline-item > .timeline-badge > span {
  159. display: inline-block;
  160. width: 40px;
  161. height: 40px;
  162. border-radius: 50%;
  163. text-align: center;
  164. text-decoration: none;
  165. transition: all ease 0.3s;
  166. }
  167. #timeline.timeline-center .timeline-item > .timeline-badge > span i {
  168. color: #fff;
  169. font-size: 1.6rem;
  170. display: block;
  171. line-height: 40px;
  172. top: 0;
  173. }
  174. #timeline.timeline-center .timeline-item > .timeline-badge > span:active {
  175. transform: scale(1.1);
  176. }
  177. #timeline.timeline-center .timeline-item > .timeline-badge > span:focus {
  178. transform: scale(1.1);
  179. }
  180. #timeline.timeline-center .timeline-item > .timeline-badge > span:hover {
  181. transform: scale(1.1);
  182. }
  183. #timeline.timeline-center .timeline-item > .timeline-badge > a.active {
  184. transform: scale(1.1);
  185. }
  186. #timeline.timeline-center .timeline-item > .timeline-panel {
  187. position: relative;
  188. background-color: #fff;
  189. border: 1px solid #ddd;
  190. border-radius: 4px;
  191. }
  192. #timeline.timeline-center .timeline-item > .timeline-panel:hover .timeline-actions {
  193. display: block;
  194. }
  195. #timeline.timeline-right .timeline-line {
  196. display: inline-block;
  197. position: absolute;
  198. top: 0;
  199. bottom: 0;
  200. right: 12px;
  201. width: 2px;
  202. background-color: #ddd;
  203. transform: translate(-50%, 0);
  204. }
  205. #timeline.timeline-right .timeline-group {
  206. text-align: right;
  207. }
  208. #timeline.timeline-right .timeline-item {
  209. position: relative;
  210. display: inline-block;
  211. width: 100%;
  212. padding: 0px 43px 35px 0px;
  213. }
  214. #timeline.timeline-right .timeline-item:after {
  215. content: "";
  216. position: absolute;
  217. right: 33px;
  218. top: 21px;
  219. width: 0;
  220. height: 0;
  221. z-index: 1;
  222. border-top: 11px solid #f8f8f8;
  223. border-bottom: 11px solid #f8f8f8;
  224. border-left: 11px solid #fff;
  225. }
  226. #timeline.timeline-right .timeline-item:before {
  227. content: "";
  228. position: absolute;
  229. right: 32px;
  230. top: 20px;
  231. width: 0;
  232. height: 0;
  233. border-top: 12px solid transparent;
  234. border-bottom: 12px solid transparent;
  235. border-left: 12px solid #ccc;
  236. z-index: 1;
  237. }
  238. #timeline.timeline-right .timeline-item > .timeline-badge {
  239. right: -8px;
  240. }
  241. #timeline.timeline-right .timeline-item > .timeline-badge {
  242. position: absolute;
  243. top: 12px;
  244. z-index: 1;
  245. }
  246. #timeline.timeline-right .timeline-item > .timeline-badge > span {
  247. display: inline-block;
  248. width: 40px;
  249. height: 40px;
  250. border-radius: 50%;
  251. text-align: center;
  252. text-decoration: none;
  253. transition: all ease 0.3s;
  254. }
  255. #timeline.timeline-right .timeline-item > .timeline-badge > span i {
  256. color: #fff;
  257. font-size: 1.6rem;
  258. display: block;
  259. line-height: 40px;
  260. top: 0;
  261. }
  262. #timeline.timeline-right .timeline-item > .timeline-badge > span:active {
  263. transform: scale(1.1);
  264. }
  265. #timeline.timeline-right .timeline-item > .timeline-badge > span:focus {
  266. transform: scale(1.1);
  267. }
  268. #timeline.timeline-right .timeline-item > .timeline-badge > span:hover {
  269. transform: scale(1.1);
  270. }
  271. #timeline.timeline-right .timeline-item > .timeline-badge > a.active {
  272. transform: scale(1.1);
  273. }
  274. #timeline.timeline-right .timeline-item > .timeline-panel {
  275. position: relative;
  276. background-color: #fff;
  277. border: 1px solid #ddd;
  278. border-radius: 4px;
  279. }
  280. #timeline.timeline-right .timeline-item > .timeline-panel:hover .timeline-actions {
  281. display: block;
  282. }
  283. #timeline.timeline-right .timeline-item.block:nth-child(even):before {
  284. right: 8px;
  285. left: auto;
  286. }
  287. #timeline.timeline-right .timeline-item.block:nth-child(even):after {
  288. right: 11px;
  289. left: auto;
  290. }
  291. #timeline.timeline-right .timeline-item.block:nth-child(odd):after {
  292. right: 8px;
  293. right: auto;
  294. }
  295. #timeline.timeline-left .timeline-line {
  296. display: inline-block;
  297. position: absolute;
  298. top: 0;
  299. bottom: 0;
  300. left: 12px;
  301. width: 2px;
  302. background-color: #ddd;
  303. transform: translate(-50%, 0);
  304. }
  305. #timeline.timeline-left .timeline-group {
  306. text-align: left;
  307. }
  308. #timeline.timeline-left .timeline-item {
  309. position: relative;
  310. display: inline-block;
  311. width: 100%;
  312. padding: 0 0 35px 43px;
  313. }
  314. #timeline.timeline-left .timeline-item:after {
  315. content: "";
  316. position: absolute;
  317. left: 33px;
  318. top: 21px;
  319. width: 0;
  320. height: 0;
  321. z-index: 1;
  322. border-top: 11px solid #f8f8f8;
  323. border-bottom: 11px solid #f8f8f8;
  324. border-right: 11px solid #fff;
  325. }
  326. #timeline.timeline-left .timeline-item:before {
  327. content: "";
  328. position: absolute;
  329. left: 32px;
  330. top: 20px;
  331. width: 0;
  332. height: 0;
  333. border-top: 12px solid transparent;
  334. border-bottom: 12px solid transparent;
  335. border-right: 12px solid #ccc;
  336. z-index: 1;
  337. }
  338. #timeline.timeline-left .timeline-item > .timeline-badge {
  339. left: -8px;
  340. }
  341. #timeline.timeline-left .timeline-item > .timeline-badge {
  342. position: absolute;
  343. top: 12px;
  344. z-index: 1;
  345. }
  346. #timeline.timeline-left .timeline-item > .timeline-badge > span {
  347. display: inline-block;
  348. width: 40px;
  349. height: 40px;
  350. border-radius: 50%;
  351. text-align: center;
  352. text-decoration: none;
  353. transition: all ease 0.3s;
  354. }
  355. #timeline.timeline-left .timeline-item > .timeline-badge > span i {
  356. color: #fff;
  357. font-size: 1.6rem;
  358. display: block;
  359. line-height: 40px;
  360. top: 0;
  361. }
  362. #timeline.timeline-left .timeline-item > .timeline-badge > span:active {
  363. transform: scale(1.1);
  364. }
  365. #timeline.timeline-left .timeline-item > .timeline-badge > span:focus {
  366. transform: scale(1.1);
  367. }
  368. #timeline.timeline-left .timeline-item > .timeline-badge > span:hover {
  369. transform: scale(1.1);
  370. }
  371. #timeline.timeline-left .timeline-item > .timeline-badge > a.active {
  372. transform: scale(1.1);
  373. }
  374. #timeline.timeline-left .timeline-item > .timeline-panel {
  375. position: relative;
  376. background-color: #fff;
  377. border: 1px solid #ddd;
  378. border-radius: 4px;
  379. }
  380. #timeline.timeline-left .timeline-item > .timeline-panel:hover .timeline-actions {
  381. display: block;
  382. }
  383. #timeline .timeline-item.block:nth-child(even) {
  384. width: 100% !important;
  385. margin-top: 5px;
  386. }
  387. #timeline .timeline-item.block:nth-child(even):after {
  388. left: 50%;
  389. right: auto;
  390. top: -11px;
  391. border: 0;
  392. border-left: 12px solid transparent;
  393. border-right: 12px solid transparent;
  394. border-bottom: 12px solid #ccc;
  395. transform: translate(-50%, 0);
  396. top: -10px;
  397. border: 0;
  398. border-left: 11px solid #f8f8f8;
  399. border-right: 11px solid #f8f8f8;
  400. border-bottom: 11px solid #fff;
  401. }
  402. #timeline .timeline-item.block:nth-child(even):before {
  403. left: 50%;
  404. right: auto;
  405. top: -11px;
  406. border: 0;
  407. border-left: 12px solid transparent;
  408. border-right: 12px solid transparent;
  409. border-bottom: 12px solid #ccc;
  410. transform: translate(-50%, 0);
  411. }
  412. #timeline .timeline-item.block:nth-child(even) > .timeline-badge {
  413. top: -28px;
  414. left: 50%;
  415. right: auto;
  416. transform: translate(-50%, 0);
  417. }
  418. #timeline .timeline-item.block:nth-child(odd) {
  419. width: 100% !important;
  420. margin-top: 5px;
  421. }
  422. #timeline .timeline-item.block:nth-child(odd):after {
  423. left: 50%;
  424. right: auto;
  425. top: -11px;
  426. border: 0;
  427. border-left: 12px solid transparent;
  428. border-right: 12px solid transparent;
  429. border-bottom: 12px solid #ccc;
  430. transform: translate(-50%, 0);
  431. top: -10px;
  432. border: 0;
  433. border-left: 11px solid #f8f8f8;
  434. border-right: 11px solid #f8f8f8;
  435. border-bottom: 11px solid #fff;
  436. }
  437. #timeline .timeline-item.block:nth-child(odd):before {
  438. left: 50%;
  439. right: auto;
  440. top: -11px;
  441. border: 0;
  442. border-left: 12px solid transparent;
  443. border-right: 12px solid transparent;
  444. border-bottom: 12px solid #ccc;
  445. transform: translate(-50%, 0);
  446. }
  447. #timeline .timeline-item.block:nth-child(odd) > .timeline-badge {
  448. top: -28px;
  449. left: 50%;
  450. right: auto;
  451. transform: translate(-50%, 0);
  452. }
  453. .timeline-actions {
  454. display: none;
  455. }
  456. .timeline-content {
  457. padding: 15px;
  458. }
  459. .timeline-footer {
  460. padding: 15px;
  461. border-top: 1px solid #eee;
  462. background-color: #fbfcfc;
  463. border-radius: 0 0 5px 5px;
  464. }
  465. .timeline-heading {
  466. padding: 15px;
  467. font-size: 20px;
  468. }
  469. .timeline-liveliness {
  470. padding: 15px;
  471. border-top: 1px solid #eee;
  472. background-color: #fbfcfc;
  473. }
  474. .timeline-heading + .timeline-content {
  475. padding-top: 0;
  476. }
  477. .timeline-date {
  478. font-size: 14px;
  479. color: #aaa;
  480. }
  481. .timeline-embed {
  482. position: relative;
  483. padding-bottom: 56.25%;
  484. padding-top: 25px;
  485. height: 0;
  486. }
  487. .timeline-embed .embed-element {
  488. position: absolute;
  489. top: 0;
  490. left: 0;
  491. width: 100%;
  492. height: 100%;
  493. }
  494. .timeline-embed embed {
  495. position: absolute;
  496. top: 0;
  497. left: 0;
  498. width: 100%;
  499. height: 100%;
  500. }
  501. .timeline-embed iframe {
  502. position: absolute;
  503. top: 0;
  504. left: 0;
  505. width: 100%;
  506. height: 100%;
  507. }
  508. .timeline-embed object {
  509. position: absolute;
  510. top: 0;
  511. left: 0;
  512. width: 100%;
  513. height: 100%;
  514. }
  515. .timeline-img {
  516. display: block;
  517. padding: 5px 0;
  518. }
  519. .timeline-img.first {
  520. margin-right: -10px;
  521. }
  522. .timeline-img.middle {
  523. margin-right: -10px;
  524. margin-left: -10px;
  525. }
  526. .timeline-img.last {
  527. margin-left: -10px;
  528. }
  529. .timeline-resume {
  530. border-top: 1px solid #eee;
  531. background-color: #fbfcfc;
  532. }
  533. .timeline-avatar {
  534. margin-top: -2px;
  535. margin-right: 10px;
  536. }
  537. .timeline-title {
  538. margin: 0;
  539. padding: 0;
  540. font-size: 14px;
  541. line-height: 1.42857;
  542. font-weight: 600;
  543. color: #3e5771;
  544. text-decoration: none;
  545. }
  546. .timeline-title > small {
  547. display: block;
  548. font-size: 12px;
  549. line-height: 1.5;
  550. color: #a1aab0;
  551. overflow: hidden;
  552. text-overflow: ellipsis;
  553. white-space: nowrap;
  554. }
  555. .wrapkit-content-rtl .timeline-avatar {
  556. margin-right: 0;
  557. margin-left: 10px;
  558. }
  559. @media (min-width: 992px) {
  560. .timeline-item:nth-child(even) {
  561. padding: 0px 35px 50px 0px;
  562. }
  563. .timeline-item:nth-child(odd) {
  564. padding: 0 0px 50px 35px;
  565. }
  566. }
  567. @media (max-width: 991.98px) {
  568. .timeline {
  569. padding-left: 15px;
  570. }
  571. .timeline-line {
  572. left: 15px;
  573. }
  574. .timeline-group {
  575. display: inline-block;
  576. margin-left: -22px;
  577. }
  578. .timeline-item {
  579. width: 100% !important;
  580. margin-top: 0 !important;
  581. padding-right: 10px;
  582. }
  583. .timeline-item:nth-child(even):after {
  584. left: 19px;
  585. top: 10px;
  586. border: 0;
  587. border-top: 12px solid transparent;
  588. border-bottom: 12px solid transparent;
  589. border-right: 12px solid #ccc;
  590. transform: translate(0, 0);
  591. left: 40px;
  592. top: 21px;
  593. border-top: 11px solid #f8f8f8;
  594. border-bottom: 11px solid #f8f8f8;
  595. border-right: 11px solid #fff;
  596. }
  597. .timeline-item:nth-child(even):before {
  598. left: 39px;
  599. top: 20px;
  600. border: 0;
  601. border-top: 12px solid transparent;
  602. border-bottom: 12px solid transparent;
  603. border-right: 12px solid #ccc;
  604. transform: translate(0, 0);
  605. }
  606. .timeline-item:nth-child(even) > .timeline-badge {
  607. top: 12px;
  608. left: -20px;
  609. right: auto;
  610. transform: translate(0, 0);
  611. }
  612. .timeline-item:nth-child(odd):after {
  613. left: 19px;
  614. top: 10px;
  615. border: 0;
  616. border-top: 12px solid transparent;
  617. border-bottom: 12px solid transparent;
  618. border-right: 12px solid #ccc;
  619. transform: translate(0, 0);
  620. left: 40px;
  621. top: 21px;
  622. border-top: 11px solid #f8f8f8;
  623. border-bottom: 11px solid #f8f8f8;
  624. border-right: 11px solid #fff;
  625. }
  626. .timeline-item:nth-child(odd):before {
  627. left: 39px;
  628. top: 20px;
  629. border: 0;
  630. border-top: 12px solid transparent;
  631. border-bottom: 12px solid transparent;
  632. border-right: 12px solid #ccc;
  633. transform: translate(0, 0);
  634. }
  635. .timeline-item:nth-child(odd) > .timeline-badge {
  636. top: 12px;
  637. left: -20px;
  638. right: auto;
  639. transform: translate(0, 0);
  640. }
  641. .timeline-item.block:nth-child(even) {
  642. padding-bottom: 0;
  643. }
  644. .timeline-item.block:nth-child(even):after {
  645. left: 19px;
  646. top: 10px;
  647. border: 0;
  648. border-top: 12px solid transparent;
  649. border-bottom: 12px solid transparent;
  650. border-right: 12px solid #ccc;
  651. transform: translate(0, 0);
  652. left: 20px;
  653. top: 11px;
  654. border-top: 11px solid #f8f8f8;
  655. border-bottom: 11px solid #f8f8f8;
  656. border-right: 11px solid #fff;
  657. }
  658. .timeline-item.block:nth-child(even):before {
  659. left: 19px;
  660. top: 10px;
  661. border: 0;
  662. border-top: 12px solid transparent;
  663. border-bottom: 12px solid transparent;
  664. border-right: 12px solid #ccc;
  665. transform: translate(0, 0);
  666. }
  667. .timeline-item.block:nth-child(even) > .timeline-badge {
  668. top: 12px;
  669. left: -6px;
  670. right: auto;
  671. transform: translate(0, 0);
  672. }
  673. .timeline-item.block:nth-child(odd) {
  674. padding-bottom: 0;
  675. }
  676. .timeline-item.block:nth-child(odd):after {
  677. left: 19px;
  678. top: 10px;
  679. border: 0;
  680. border-top: 12px solid transparent;
  681. border-bottom: 12px solid transparent;
  682. border-right: 12px solid #ccc;
  683. transform: translate(0, 0);
  684. left: 20px;
  685. top: 11px;
  686. border-top: 11px solid #f8f8f8;
  687. border-bottom: 11px solid #f8f8f8;
  688. border-right: 11px solid #fff;
  689. }
  690. .timeline-item.block:nth-child(odd):before {
  691. left: 19px;
  692. top: 10px;
  693. border: 0;
  694. border-top: 12px solid transparent;
  695. border-bottom: 12px solid transparent;
  696. border-right: 12px solid #ccc;
  697. transform: translate(0, 0);
  698. }
  699. .timeline-item.block:nth-child(odd) > .timeline-badge {
  700. top: 12px;
  701. left: -6px;
  702. right: auto;
  703. transform: translate(0, 0);
  704. }
  705. }
  706. @media (max-width: 991.98px) {
  707. #timeline.timeline-wrapper .timeline {
  708. padding: 0;
  709. }
  710. #timeline.timeline-wrapper .timeline .card-body {
  711. text-align: left;
  712. }
  713. #timeline.timeline-wrapper .timeline-line {
  714. display: inline-block;
  715. position: absolute;
  716. top: 0;
  717. bottom: 0;
  718. left: 50%;
  719. width: 2px;
  720. background-color: #ddd;
  721. transform: translate(-50%, 0);
  722. }
  723. #timeline.timeline-wrapper .timeline-group {
  724. display: block;
  725. margin-left: -6px;
  726. text-align: center;
  727. }
  728. #timeline.timeline-wrapper .timeline-item {
  729. display: block;
  730. padding: 20px 0 20px !important;
  731. }
  732. #timeline.timeline-wrapper .timeline-item:nth-child(even) {
  733. float: none;
  734. clear: both;
  735. }
  736. #timeline.timeline-wrapper .timeline-item:nth-child(even):after {
  737. display: none;
  738. }
  739. #timeline.timeline-wrapper .timeline-item:nth-child(even):before {
  740. display: none;
  741. }
  742. #timeline.timeline-wrapper .timeline-item:nth-child(odd) {
  743. float: none;
  744. clear: both;
  745. }
  746. #timeline.timeline-wrapper .timeline-item:nth-child(odd):after {
  747. display: none;
  748. }
  749. #timeline.timeline-wrapper .timeline-item:nth-child(odd):before {
  750. display: none;
  751. }
  752. #timeline.timeline-wrapper .timeline-item > .timeline-badge {
  753. top: 0px !important;
  754. left: 45% !important;
  755. }
  756. #timeline.timeline-wrapper .timeline-item.block:nth-child(even) {
  757. float: none;
  758. clear: both;
  759. }
  760. #timeline.timeline-wrapper .timeline-item.block:nth-child(even):after {
  761. display: none;
  762. }
  763. #timeline.timeline-wrapper .timeline-item.block:nth-child(even):before {
  764. display: none;
  765. }
  766. #timeline.timeline-wrapper .timeline-item.block:nth-child(odd) {
  767. float: none;
  768. clear: both;
  769. }
  770. #timeline.timeline-wrapper .timeline-item.block:nth-child(odd):after {
  771. display: none;
  772. }
  773. #timeline.timeline-wrapper .timeline-item.block:nth-child(odd):before {
  774. display: none;
  775. }
  776. #timeline.timeline-wrapper .timeline-item.timeline-poster > .timeline-badge {
  777. display: none;
  778. }
  779. }
  780. @media (max-width: 575.98px) {
  781. .timeline-item > .timeline-badge {
  782. top: 0px !important;
  783. left: 44% !important;
  784. }
  785. }