.timeline img { max-width: 100%; height: auto; border-radius: 10px; box-shadow: 0 5px 25px rgba(0,0,0,0.3); }
.timeline { position: relative; max-width: 1400px; margin: 0 auto; }
.timeline::after { content: ''; position: absolute; width: 3px; background-color: #bdc3c7; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 0; }
.timeline-item { padding: 10px 0; position: relative; z-index: 2; width: 100%; box-sizing: border-box; opacity: 0; transform: translateY(50px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.timeline-item.visible { opacity: 1; transform: translateY(0); }
.timeline-item::after { content: ''; position: absolute; width: 32px; height: 32px; background-color: #0724bf; border: 5px solid #fff; top: 25px; left: 50%; transform: translateX(-50%) scale(0); border-radius: 50%; z-index: 2; transition: transform 0.4s 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.timeline-item.visible::after { transform: translateX(-50%) scale(1); }
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 0; }
.timeline-body { display: flex; align-items: flex-start; padding: 20px; }
.timeline-content, .timeline-image { flex: 1; box-sizing: border-box; padding: 0 40px 20px; vertical-align: top; }
.timeline-item:nth-child(odd) .timeline-body {  flex-direction: row-reverse; }
.timeline-item:nth-child(odd) .timeline-content {  text-align: right; }
.timeline-item:nth-child(odd) .timeline-image {  text-align: left; }
.timeline-item:nth-child(even) .timeline-image {  text-align: right; }

.perfect-choice, .perfect-choice > div { display: table; width: 100%; text-align: left; }
.perfect-choice > div > div { float: left; width: calc(50% - 25px); margin-bottom: 50px; }
.perfect-choice > div > div:first-child { margin-right: 50px; }
.perfect-choice > div > div > img { float: left; }
.perfect-choice > div > div b { font-family: 'Roboto', Arial !important; font-weight: 400 !important; font-size: 16px !important; color: #052a94; }

/*.timeline-read-more {
    display: none;
}*/

.timeline-text-wrapper { max-height: 600px; overflow: hidden; position: relative; transition: max-height 0.5s ease-in-out; }
.timeline-text-wrapper::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 60px; background: linear-gradient(to bottom, rgba(255,255,255,0), #fff); pointer-events: none; transition: opacity 0.3s; }
.timeline-text-wrapper.expanded { max-height: 2000px; }
.timeline-text-wrapper.expanded::after { opacity: 0; }
.timeline-read-more { display: block; width: 100%; background: none; border: none; border-top: 1px solid #eee; padding: 12px 0; margin-top: 10px; color: #138deb; font-weight: bold; font-size: 13px; cursor: pointer; outline: none; }
.timeline-read-more:hover { color: #0845bc; }
.timeline-read-more i { margin-left: 5px; }

@media (max-width: 1400px) {
	.perfect-choice > div > div { float: none !important; width: 100% !important; margin: 0 0 30px 0 !important; }
	.perfect-choice > div > div > img { float: left; }
}

@media (max-width: 760px) {
	.timeline-body { padding: 20px 0 !important; }
	.timeline-image { padding: 0 20px 20px !important; }
	.timeline-content { padding: 0 10px 20px !important; }
	.timeline-content h2 { font-size: 20px; }
	.timeline-content p { font-size: 14px; }
}

@media (max-width: 520px) {
	.timeline { width: 120% !important; margin: 0 -10% !important; }
}

@media (max-width: 768px) {
	.timeline-text-wrapper { max-height: 140px; }
}
