2018-06-11 22:59:00 +00:00
|
|
|
// TODO - handle situations where title or sub-heading are breaking to next line
|
|
|
|
|
|
|
|
.g-timeline {
|
|
|
|
align-content: space-between;
|
|
|
|
display: flex;
|
2018-06-18 16:53:06 +00:00
|
|
|
flex-direction: column;
|
2018-06-11 22:59:00 +00:00
|
|
|
justify-content: center;
|
|
|
|
margin: 0 (-$site-gutter-padding);
|
2018-06-18 16:53:06 +00:00
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
flex-direction: row;
|
|
|
|
text-align: center;
|
|
|
|
}
|
2018-06-11 22:59:00 +00:00
|
|
|
|
|
|
|
&.no-intro {
|
2018-06-18 16:53:06 +00:00
|
|
|
margin-top: -30px;
|
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
margin-top: -90px;
|
|
|
|
}
|
2018-06-11 22:59:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
& > div {
|
2018-06-18 16:53:06 +00:00
|
|
|
margin-left: 18px;
|
|
|
|
padding: 40px $site-gutter-padding 0 42px;
|
2018-06-11 22:59:00 +00:00
|
|
|
position: relative;
|
|
|
|
|
2018-06-18 16:53:06 +00:00
|
|
|
@media (min-width: 768px) {
|
|
|
|
margin-left: 0;
|
|
|
|
padding-left: $site-gutter-padding;
|
|
|
|
width: 50%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
.dot {
|
|
|
|
border-color: #ca2171;
|
|
|
|
}
|
2018-06-11 22:59:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.line {
|
2018-06-18 16:53:06 +00:00
|
|
|
background-image: linear-gradient(180deg, #d2d4dc 50%, #c82070 100%);
|
|
|
|
height: calc(100% - 12px);
|
|
|
|
left: 8px;
|
2018-06-11 22:59:00 +00:00
|
|
|
position: absolute;
|
2018-06-18 16:53:06 +00:00
|
|
|
top: 45px;
|
|
|
|
width: 2px;
|
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
background-image: linear-gradient(
|
|
|
|
90deg,
|
|
|
|
rgba(229, 230, 235, 0),
|
|
|
|
#d2d4dc 0%,
|
|
|
|
#c82070 100%
|
|
|
|
);
|
|
|
|
height: 2px;
|
|
|
|
left: 50%;
|
|
|
|
top: 8px;
|
|
|
|
width: calc(100% - 34px);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:first-child {
|
|
|
|
background-image: linear-gradient(
|
|
|
|
180deg,
|
|
|
|
rgba(229, 230, 235, 0) 5%,
|
|
|
|
#dadce3 70%,
|
|
|
|
#d2d4dc 100%
|
|
|
|
);
|
|
|
|
bottom: calc(100% - 45px);
|
|
|
|
height: 60px;
|
|
|
|
top: auto;
|
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
background-image: linear-gradient(
|
|
|
|
90deg,
|
|
|
|
rgba(229, 230, 235, 0) 5%,
|
|
|
|
#dadce3 26%,
|
|
|
|
#d2d4dc 100%
|
|
|
|
);
|
|
|
|
height: 2px;
|
|
|
|
left: auto;
|
|
|
|
right: 50%;
|
|
|
|
top: 8px;
|
|
|
|
width: calc(50% + 120px);
|
|
|
|
}
|
|
|
|
}
|
2018-06-11 22:59:00 +00:00
|
|
|
|
|
|
|
svg {
|
|
|
|
position: absolute;
|
2018-06-18 16:53:06 +00:00
|
|
|
top: calc(100% - 8px);
|
|
|
|
transform: rotate(90deg);
|
|
|
|
left: -4px;
|
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
left: auto;
|
|
|
|
right: -10px;
|
|
|
|
top: -6px;
|
|
|
|
transform: none;
|
|
|
|
}
|
2018-06-11 22:59:00 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
h3 {
|
|
|
|
margin: 0 0 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.sub-heading {
|
|
|
|
display: block;
|
2018-06-18 16:53:06 +00:00
|
|
|
font-size: 1.6rem;
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
|
|
|
@media (min-width: 992px) {
|
|
|
|
font-size: 1.8rem;
|
|
|
|
margin-bottom: 40px;
|
|
|
|
}
|
2018-06-11 22:59:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.dot {
|
|
|
|
background: #f7f8fa;
|
|
|
|
border: 2px solid #d2d4dc;
|
|
|
|
border-radius: 50%;
|
|
|
|
display: inline-block;
|
|
|
|
height: 18px;
|
2018-06-18 16:53:06 +00:00
|
|
|
left: 0;
|
2018-06-11 22:59:00 +00:00
|
|
|
position: absolute;
|
2018-06-18 16:53:06 +00:00
|
|
|
top: 45px;
|
2018-06-11 22:59:00 +00:00
|
|
|
width: 18px;
|
|
|
|
z-index: 1;
|
2018-06-18 16:53:06 +00:00
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
margin: 0 0 0 -9px;
|
|
|
|
left: 50%;
|
|
|
|
top: 0;
|
|
|
|
}
|
2018-06-11 22:59:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
2018-06-18 16:53:06 +00:00
|
|
|
display: block;
|
|
|
|
margin: 0 auto;
|
2018-06-11 22:59:00 +00:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
p {
|
|
|
|
font-size: 1.6rem;
|
|
|
|
margin-top: 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|