// TimeLine .timeline-row:before, .timeline-row:after { content: ""; display: table; } .timeline-row:after { clear: both; } .timeline-col-6 { width: 50%; } .timeline-col-11 { width: 91.66666667%; } .timeline-col-6 { float: left; position: relative; min-height: 1px; } .text-right { text-align: right; } .timeline-col-offset { margin-left: 8.33333333%; } #timeline .timeline-movement .timeline-item .timeline-panel .title { color: #ed1c24; } #timeline { list-style: none; position: relative; } #timeline:before { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; background-color: #c4c4c4; left: 50%; margin-left: -1.5px; } #timeline:after { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; border-radius: 20px; background-color: #c4c4c4; } #timeline .timeline-badge { width: 50px; height: 50px; font-size: 1.2em; text-align: center; position: absolute; top: 10px; left: 50%; margin-left: -25px; z-index: 10; border-radius: 100%; } #timeline .timeline-badge:before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 20px; width: 22px; height: 22px; border: 6px solid #c4c4c4; background-color: #eeeeee; -webkit-transition: 0.3s; -o-transition: 0.3s; transition: 0.3s; } #timeline .timeline-badge .timeline-date { font-size: 1.4em; } #timeline .timeline-movement { position: relative; padding-bottom: 10px; } #timeline .timeline-movement:hover { cursor: pointer; } #timeline .timeline-movement:hover .timeline-badge:before { box-shadow: 0 0 0 3px rgba(196, 196, 196, 0.3); } #timeline .timeline-movement .timeline-item { padding: 20px 0; } #timeline .timeline-movement .timeline-item .timeline-panel { margin-left: 30px; } #timeline .timeline-movement .timeline-item .timeline-panel .title { font-size: 18px; font-weight: 700; margin-bottom: 5px; position: relative; } #timeline .timeline-movement .timeline-item .timeline-panel .title:after { content: ""; position: absolute; top: 14px; left: -80px; width: 50px; height: 4px; background: #c4c4c4; border-radius: 20px; } #timeline .timeline-movement .timeline-item .timeline-panel .title:before { content: ""; position: absolute; top: 12px; left: -35px; width: 8px; height: 8px; background: #c4c4c4; border-radius: 20px; } #timeline .timeline-movement .timeline-item .timeline-panel.left-part { text-align: right; margin-right: 30px; margin-left: 0; } #timeline .timeline-movement .timeline-item .timeline-panel.left-part .title:after { right: -80px; left: inherit; } #timeline .timeline-movement .timeline-item .timeline-panel.left-part .title:before { right: -35px; left: inherit; } #timeline .timeline-movement .timeline-item .left-timeline-date { padding-right: 50px; } #timeline .timeline-movement .timeline-item .timeline-date { font-size: 18px; color: #000; margin-left: 30px; } #timeline .timeline-movement.timeline-movement-top { height: 25px; } #timeline .timeline-movement.timeline-movement-top:before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 12px; height: 12px; background: #c4c4c4; border-radius: 20px; } @media only screen and (max-width: 768px) { #timeline .timeline-movement .timeline-item .timeline-panel.left-part .title:after { right: -50px; width: 35px; } } @media only screen and (max-width: 992px) { #timeline .timeline-movement .timeline-item .timeline-panel.left-part .title:before { right: -20px; } } @media only screen and (max-width: 768px) { #timeline .timeline-movement .timeline-item .timeline-panel .title:before { left: -12px; } } @media only screen and (max-width: 768px) { #timeline .timeline-movement .timeline-item .timeline-panel .title:after { left: -40px; } } @media only screen and (max-width: 768px) { #timeline .timeline-movement .timeline-item .timeline-panel .title:after { width: 35px; } }