/*/*//**/.timeline {
margin: 2rem auto;
display: grid;
grid-column-gap: 0;
grid-template-columns: repeat(2, 1fr);
transition: all 0.4s ease;
position: relative;
counter-reset: section;/*/*/}
.timeline .timeline-date-wrap:last-of-type {
margin-bottom: 0;
}
@media only screen and (max-width: 750px) {
.timeline {
grid-template-columns: 15% 85%;
grid-column-gap: 0;
}
}
@media only screen and (max-width: 480px) {
.timeline {
grid-template-columns: 100%;
}
}
.timeline:before {
content: " ";
width: 3px;
height: 100%;
background: var(--wp--preset--color--argo-blue);
background: linear-gradient(#3da6ec 0%, #091239 100%);
position: absolute;
z-index: -1;
top: 0;
left: 50%;
transform: translateX(-1.5px);
}
@media only screen and (max-width: 750px) {
.timeline:before {
left: 7.5%;
width: 5px;
}
}
@media only screen and (max-width: 480px) {
.timeline:before {
display: none;
}
}
.timeline--entry {
grid-row-end: span 2;
padding: 0;
position: relative;
display: grid;
grid-template-columns: 100%;
grid-template-rows: repeat(3, max-content);/*/*/}
.timeline--entry:not(.has-graphic) {
margin-top: 100px;
}
@media only screen and (max-width: 750px) {
.timeline--entry:not(.has-graphic) {
margin-top: 40px;
}
}
@media only screen and (max-width: 750px) {
.timeline--entry {
grid-row-end: span 1;
}
}
.timeline--entry:last-of-type {
grid-row-end: span 1;
}
.timeline--entry.leftlayout {
grid-column: 1;
}
.timeline--entry.rightlayout {
grid-column: 2;
}
@media only screen and (max-width: 750px) {
.timeline--entry.leftlayout {
grid-column: 2;
}
}
@media only screen and (max-width: 480px) {
.timeline--entry.leftlayout, .timeline--entry.rightlayout {
grid-column: 1;
}
}
.timeline--entry:after {/**/grid-column: 1;
grid-row: 2;
content: " ";
display: block; width: 100%;
height: 3px;
background: #0F3474;
pointer-events: none;
}
@media only screen and (max-width: 750px) {
.timeline--entry:after {
left: auto;
right: 100%;
border-left-color: transparent;
border-right-color: yellow;
}
}
@media only screen and (max-width: 600px) {
.timeline--entry:after {
border-width: 15px;
margin-top: -15px;
}
}
@media only screen and (max-width: 480px) {
.timeline--entry:after {
display: none;
}
}
.timeline--entry.rightlayout:after {
left: auto;
right: 100%;
border-left-color: transparent;
border-right-color: yellow;
}
.timeline--entry .timeline-graphic {
grid-column: 1;
grid-row: 1;
padding: 1rem 0;
}
.timeline--entry .timeline-graphic img {
width: 50%;
aspect-ratio: 2/1;
object-fit: contain;
object-position: left;
display: block;
margin: 0;
}
@media only screen and (max-width: 750px) {
.timeline--entry .timeline-graphic {
margin-bottom: 1rem;
}
.timeline--entry .timeline-graphic img {
object-position: center;
margin: 0 auto;
}
}
.timeline--entry .year-label {
grid-column: 1;
grid-row: 2;
align-self: start;
background: #fff;
padding: 0.25rem 1rem 0.25rem 0;
position: relative;
z-index: 2;
display: inline-block;
width: fit-content;
width: max-content;
transform: translateY(-1rem);
margin-bottom: -0.5rem;
}
.timeline--entry .year-label h2 {
font-size: 1rem;
line-height: 1;
font-weight: 900;
}
@media only screen and (max-width: 750px) {
.timeline--entry .year-label {
justify-self: center;
padding: 0.25rem 1rem;
}
.timeline--entry .year-label h2 {
font-size: 1.25rem;
}
}
.timeline--entry__date {
grid-column: 1;
grid-row: 2;
font-weight: 700;
background-color: #11235E;
color: yellow;
display: flex;
align-items: center;
justify-content: center;
width: 1rem;
height: 1rem;
border-radius: 50%;
position: absolute;
}
.timeline--entry__date.leftdate {
right: 0;
transform: translateX(50%) translateY(-0.5rem);
}
.timeline--entry__date.rightdate {
left: 0;
transform: translateX(-50%) translateY(-0.5rem);
}
@media only screen and (max-width: 750px) {
.timeline--entry__date.leftdate, .timeline--entry__date.rightdate {
right: auto;
left: -10.125%;
transform: unset;
text-align: left;
top: -5px;
}
}
@media only screen and (max-width: 480px) {
.timeline--entry__date {
display: none;
}
}
.timeline--entry h2, .timeline--entry h3 {
text-align: center;
}
.timeline--entry h2 {
font-size: 1rem;
margin: 0;
}
.timeline--entry h3 {
margin: 2em auto 0.25em;
}
.timeline--entry p {
text-align: left;
margin: 0 0 1rem;
color: var(--wp--preset--color--argo-blue);
}
.timeline--entry img {
display: block;
position: static !important; margin: 0 auto;
}
.timeline--entry .iframewrap {
position: relative;
overflow: hidden;
padding-top: 71%;
}
.timeline--entry .iframewrap iframe,
.timeline--entry .iframewrap > div {
width: 100% !important;
height: 100% !important;
position: absolute !important;
top: 0;
left: 0;
border: 0;
}
.timeline--entry__detail {
grid-column: 1;
grid-row: 3;
padding: 0 2rem 0 0;
margin: 0 0 1rem;
}
@media only screen and (max-width: 850px) {
.timeline--entry__detail {
padding: 1rem 2rem;
}
}
.timeline--entry.rightlayout .year-label {
margin-right: 0;
margin-left: auto;
padding: 0.25rem 0 0.25rem 1rem;
}
@media only screen and (max-width: 750px) {
.timeline--entry.rightlayout .year-label {
justify-self: center;
padding: 0.25rem 1rem;
margin: 0 auto;
}
}
.timeline--entry.rightlayout .timeline--entry__detail {
padding: 0 0 0 2rem;
}
.timeline--entry.rightlayout .timeline--entry__detail p {
text-align: right;
}
@media only screen and (max-width: 750px) {
.timeline--entry.rightlayout .timeline--entry__detail {
padding: 1rem 2rem;
}
.timeline--entry.rightlayout .timeline--entry__detail p {
text-align: left;
}
}
.timeline--entry.rightlayout .timeline-graphic img {
object-position: right;
margin-right: 0;
margin-left: auto;
}
@media only screen and (max-width: 750px) {
.timeline--entry.rightlayout .timeline-graphic img {
object-position: center;
margin: 0 auto;
}
}