/**, *:before, *:after { box-sizing: inherit; }
html, body { margin: 0; padding: 0; overflow-x: hidden; font-size: 16px; line-height: 24px; }
html, body { font-family: 'Open Sans', sans-serif; font-weight: 400; color: #333; }*/

/* Layout */
.container { margin: 0 auto; padding: 0; width: 100%; }
.container-fullwidth { max-width: 100%; }
.container-large { max-width: 1200px; }
.container-medium { max-width: 960px; }
.container-small { max-width: 720px; }
.container-extra-small { max-width: 640px; }
.container-type-block { display: block; }
.container-type-grid { display: grid; }
.container-type-flex { display: flex; }
.container-type-table { display: table; }

.pad-horizontal-minimal { padding-left: .25rem; padding-right: .25rem; }
.pad-horizontal-small { padding-left: .5rem; padding-right: .5rem; }
.pad-horizontal-medium { padding-left: 1rem; padding-right: 1rem; }
.pad-horizontal-large { padding-left: 2rem; padding-right: 2rem; }

.pad-vertical-minimal { padding-top: .25rem; padding-bottom: .25rem; }
.pad-vertical-extra-small { padding-top: .5rem; padding-bottom: .5rem; }
.pad-vertical-small { padding-top: 1rem; padding-bottom: 1rem; }
.pad-vertical-medium { padding-top: 2rem; padding-bottom: 2rem; }
.pad-vertical-large { padding-top: 3rem; padding-bottom: 3rem; }
.pad-vertical-extra-large { padding-top: 4rem; padding-bottom: 4rem; }
.pad-vertical-huge { padding-top: 6rem; padding-bottom: 6rem; }

.svg-icon svg { width: 100%; height: 100%; display: block; }

#timeline .timeline-track { position: relative; }
#timeline .timeline-track::after { display: block; height: 100%; width: 0; content: " "; position: absolute; top: 0; left: 50%; transform: translateX(-50%); border-right: 2px dotted rgba(128, 128, 128, 0.45); z-index: -1; }
.timeline-timeline .timeline-row { display: grid; grid-template-columns: repeat(2, 1fr); grid-gap: 160px; position: relative; }
.timeline-half { position: relative; }
.sae-svg-container { width: 15vh; height: 15vh; display: block; position: relative; }
.sae-svg-container svg { width: 100%; height: 100%; display: block; }
.motion-content-center-everything { align-content: center; justify-content: center; }
.timeline-row:nth-child(odd) .timeline-half.loadin-x-op-l.loaded::before { height: 2rem; width: 2rem; position: absolute; content: " "; top: 50%; left: calc(100% + 5rem); transform: translate(-50%, -50%); transition: all 0.3s ease; z-index: 10; background: rgb(226,33,28); border-radius: 6px; border: 2px solid #fff; box-shadow: 0 0 8px rgba(0,0,0,.35); }
.timeline-row:nth-child(odd) .timeline-half.loadin-x-op-r.loaded::before { height: 0; width: 50%; position: absolute; content: " "; top: 50%; right: calc(25% + 65px); transform: translate(-50%, -50%); transition: all 0.3s ease; z-index: -1; border-top: 2px dotted rgba(128, 128, 128, 0.45); }
.timeline-row:nth-child(even) .timeline-half.loadin-x-op-r.loaded::before { height: 0; width: 50%; position: absolute; content: " "; top: 50%; left: calc(75% + 65px); transform: translate(-50%, -50%); transition: all 0.3s ease; z-index: -10; border-top: 2px dotted rgba(128, 128, 128, 0.45); }
.timeline-row:nth-child(even) .timeline-half.loadin-x-op-l.loaded::before { height: 2rem; width: 2rem; position: absolute; content: " "; top: 50%; left: calc(0% - 5rem); transform: translate(-50%, -50%); transition: all 0.3s ease; z-index: 10; background: rgb(226,33,28); border: 2px solid #fff; border-radius: 6px; box-shadow: 0 0 8px rgba(0, 0, 0, 0.35); }
.timeline-row:nth-child(even) .timeline-half:nth-child(even) { grid-row-start: 1; grid-row-end: 2; grid-column-start: 1; }
.timeline-row:nth-child(even) .timeline-half:nth-child(odd) { grid-row-start: 1; grid-row-end: 2; grid-column-start: 2; }
.timeline-picture { border: 16px solid #fff; box-shadow: 0 0 8px rgba(0,0,0,0.15), 0 0 16px rgba(0,0,0,0.15); transition: all 0.5s ease; border-radius: 6px; }
.timeline-picture img { border-radius: 3px; }
.timeline-picture:hover { transform: rotateZ(0deg) !important; transition: all 0.5s ease; }
.timeline-content { height: 100%; width: 100%; display: grid; padding: 2rem; background: white; align-content: center; background: rgba(255, 255, 255, 0.65); align-content: center; backdrop-filter: blur(8px); border-radius: 1rem; }
.timeline-timeline { display: grid; grid-gap: 8rem; }
.ff-sae-svg-container { position: absolute; left: 0; bottom: 0; }
.timeline-timeline { position: relative; }
.timeline-video-activator { position: relative; width: 200px; height: 200px; margin: 0 auto; border-radius: 10rem; border: 15px solid #fff; box-shadow: 0 0 5px rgba(0,0,0,0.25); animation: dark-shadow-pulse 1s linear infinite; }
.timeline-video { background: #00754A; width: 100%; height: 100%; display: grid; border-radius: 10rem; }
.timeline-video:hover { cursor: pointer; background: #00a367; }
.link-svg-sizer { display: block; width: 40%; height: 40%; margin: auto; }
.timeline-video svg { opacity: 0.5; }
.hear-from { position: absolute; width: 100px; height: 100px; border-radius: 10rem; overflow: hidden; border: 5px solid #fff; box-shadow: 0 0 5px rgba(0,0,0,0.25); bottom: -50px; right: -40px; }
.hear-from-text { clear: both; margin: 60px auto; white-space: nowrap; text-align: center; display: block; background: #fff; padding: .5rem; border-radius: .5rem; position: absolute; top: -120px; left: 50%; transform: translateX(-50%); font-size: .825rem; line-height: .825rem; }
.timeline-picture-caption { margin: 8px 0 0 0; font-size: 12px; line-height: 15px; font-style: italic; display: table; padding: 4px 8px; border: 1px solid rgba(0, 0, 0, 0.35); border-radius: 4px; position: absolute; bottom: 16px; left: 16px; background: rgba(255, 255, 255, 0.75); box-shadow: 0 0 3px rgba(0, 0, 0, 0.35); color: #333; backdrop-filter: blur(8px); }

/* Leave for last to be safe */
.loadin { opacity: 0; transform: translateY(45px); transition: transform 0.7s, opacity 1s; }
.loadin.loaded { opacity: 1; transform: translateY(0); transition: transform 0.7s, opacity 1s; }

.loadin-x-op-l { opacity: 0; transform: translateX(-80px); transition: transform 0.7s, opacity 1s; }
.loadin-x-op-l.loaded { opacity: 1; transform: translateX(0); transition: transform 0.7s, opacity 1s; }

.loadin-x-op-r { opacity: 0; transform: translateX(80px); transition: transform 0.7s, opacity 1s; }
.loadin-x-op-r.loaded { opacity: 1; transform: translateX(0); transition: transform 0.7s, opacity 1s; }

/* Special mobile UI/UX improvement tweaks - mostly prevents extra clicks for hover states on mobile devices */
@media screen and (min-width: 960px) {
	/*a:hover { cursor: pointer; }
	a,
	svg,
	.svg-icon,
	button,
	input { -webkit-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; }

	a:hover,
	svg:hover,
	.svg-icon:hover,
	button:hover,
	input:hover, { -webkit-transition: all 0.5s ease; -o-transition: all 0.5s ease; transition: all 0.5s ease; }*/
	.fast-transition,
	.fast-transition:hover { -webkit-transition: all 0.3s ease; -o-transition: all 0.3s ease; transition: all 0.3s ease; }
	.medium-transition,
	.medium-transition:hover { -webkit-transition: all 0.6s ease; -o-transition: all 0.6s ease; transition: all 0.6s ease; }
	.slow-transition,
	.slow-transition:hover { -webkit-transition: all 0.9s ease; -o-transition: all 0.9s ease; transition: all 0.9s ease; }
}

@media screen and (max-width: 960px) {
	.timeline-timeline .timeline-row { display: grid; grid-template-columns: 1fr; grid-gap: 4rem; position: relative; }
	.timeline-row:nth-child(even) .timeline-half:nth-child(even) { grid-row-start: initial; grid-row-end: initial; grid-column-start: initial; }
	.timeline-row:nth-child(even) .timeline-half:nth-child(odd) { grid-row-start: initial; grid-row-end: initial; grid-column-start: initial; }
}

/* Animation */
@keyframes pulse {
    0% {
     transform: scale(1, 1);
    }

    50% {
     transform: scale(1.5, 1.5);
    }

    100% {
    transform: scale(1, 1);
    }
}

@keyframes shadow-pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
	}
}

@keyframes dark-shadow-pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(128, 128, 128, 0.7);
	}

	70% {
		transform: scale(1);
		box-shadow: 0 0 0 10px rgba(128, 128, 128, 0);
	}

	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(128, 128, 128, 0);
	}
}
