/* ecf_styles.css */

:root {
    --blue-text:#24a8e0;
    --light-blue-text: #69cef6;
    --light-green-text:#87be49;
    --dark-green-text:#019348;
    --ecf-green: #57ba47;
    --very-light-blue: #bce9fb;
    --blue-from-logo: #1666A2;
    --menu-height:120px;
    --top-green-bar-height:44px;
    --video-shift-offset:calc( -1 * var(--menu-height) );
    --side-margin-padding-size:50px;
    --total-header-height:calc(var(--menu-height) + var(--top-green-bar-height));
    --h2-headline-text-size:calc( max(30px, min(1.65rem + 1vw, 40px) ) );

    --max-content-width:1300px;

    /* font list */
    --principal-fonts: "Noto Sans", Helvetica, Arial, sans-serif;
}

body.show-outlines .outline-elements,
body.show-outlines .outline-elements * {
    outline:1px solid rgba(255,0,0,0.25);
}

body {
    font-family: var(--principal-fonts);
    /* these accompany the Noto Sans font kit */
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings:"wdth" 100;

    overflow-x: hidden;
}

body .hide {
    display:none !important;
}
.cursor-pointer {
    cursor: pointer;
}

/* custom tags which need to render as block elements */
/* CUSTOM TAGS NEED DISPLAY BLOCK */
page-header-wrapper,
page-header,
heading-block,
body-block {
    display:block;
}

page-header-wrapper {
    color:white;
    background-color:var(--blue-from-logo);
    /* background-size:cover;
    background-repeat: no-repeat;
    background-image: url('/assets/images/ecf_bg.jpg'); */
    background-position: center calc(100% + 2px);
    padding:0px 25px;
    top:0px;
    position: sticky;
    z-index: 10; /* render this above content lower on page */
}
page-header {
    text-align: right;
    padding:10px 0px;
}

.not page-header,
.not main-page-nav,
.not body.home logo-and-menu {
    color:white;
}

.blue-text { /* was span.blue-text */
    color:var(--blue-text);
}

.clear-button {
    background-color: transparent;
    border:2px solid var(--blue-text);
    color:white;
    padding:5px 40px;
    margin-top:20px;
}
.clear-button:hover {
    background-color: var(--blue-text);
}
.clear-button.green {
    border-color:var(--ecf-green);
    color:black;
}
.clear-button:hover.green {
    background-color: var(--ecf-green);
}
.blue-button {
    background-color: var(--blue-text);
    border:2px solid var(--blue-text);
    color:white;
    padding:5px;
    margin-top:1em;
    display:block;
    line-height: 1.25;
}
.blue-button::after {
    content:'';
    display: inline-block;
    border:1em solid transparent;
    border-left-color:white;
    border-top-width: 0.5em;
    border-bottom-width: 0.5em;
    border-right-width:0px;
    margin-left:0.5em;
    vertical-align: middle;
    position: relative;
    top:-2px;
}
.blue-button:hover::after {
    border-left-color:var(--blue-text);
}
.blue-button:hover {
    background-color:white;
    color:var(--blue-text);
}
.blue-button + a {
    opacity: 0;
}

.video-wrapper {
    position: relative;
    overflow: hidden;
    min-height: 52.8vw;
    display: flex;
    flex-direction: column;
    background-color: #51bad0; /* sampled tone from video frame */
    clip-path: polygon(0% 0%,0% 95%,20% 100%,100% 85%,100% 0%);
}
.video-wrapper::before {
    content:'';
    position: absolute;
    top:0px;
    left:0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.45);
}
#video_bg {
    position: absolute;
    top:0px;
    left:0px;
    bottom:0px;
    right:0px;
    width: 100%;
    height: auto;
    z-index: -1; /* prevent video from obscuring neighbor content */
}

hex-grid {
    position: absolute;
    background-image: url('/assets/images/video_overlay.png');
    background-size: cover;
    background-repeat: no-repeat;
    bottom:0px;
    left:40%;
    right:-5%;
    top:25%;
}

.shift-first-panel-up {
    margin-top:var(--video-shift-offset);
    padding-top:var(--menu-height);
    padding-bottom:35px;
}

page-header-wrapper,
logo-and-menu {
    transition: color 250ms linear, background-color 250ms linear, opacity 250ms linear;
}
logo-and-menu {
    position: sticky;
    top:var(--top-green-bar-height);
    display:flex;
    justify-content: space-between;
    align-items: center;
    padding:10px var(--side-margin-padding-size);
    z-index:10; /* so sub-nav items will render above content lower on page */
}
logo-and-menu img.logo {
    display: block;
    height: 100px;
    transition: height 250ms linear;
}
body.home logo-and-menu.scrolled {
    color:black;
}
body.fill-heading logo-and-menu, /* make heading filled when mob-nav expanded */
logo-and-menu.scrolled,
logo-and-menu:not(.scrolled) { /* keep nav bar full height */
    background-color:white; /* rgba(255, 255, 255, 0.9); */
    color:black;
    box-shadow: 0px 3px 3px 0px gray;
}
body.fill-heading .nav-burger {
    --burger-border-color:black;
}
@media only screen and (min-width:852.1px) {
    /* only change height of this container in non-mobile/tablet view */
    .shrinking-header .scrolled {
        padding:0px var(--side-margin-padding-size);
    }
}
logo-and-menu .nav-burger svg {
    /* allow SVG element to shape the burger zone, just not appear */
    fill-opacity: 0; /* turn off SVG visibility */
    visibility: hidden; /* also hide it this way */
    pointer-events: none; /* no clicks! */
}
/* these fills aren't going to matter because fill-opacity is set to zero above */
logo-and-menu.scrolled .nav-burger svg {
    fill:black;
}
body:not(.home) logo-and-menu:not(.scrolled) .nav-burger svg {
    fill:black;
}
body:not(.home) logo-and-menu:not(.scrolled) .nav-burger,
logo-and-menu.scrolled .nav-burger {
    --burger-border-color:black;
}
@media only screen and (min-width:852.1px) {
    .shrinking-header logo-and-menu.scrolled img.logo {
        height:50px;
    }
    .shrinking-header logo-and-menu.scrolled ul.top-level > li {
        padding:20px; /* reduce padding in shorter mode */
    }
}
page-header-wrapper.hidden,
logo-and-menu.hidden {
    opacity:0;
    pointer-events: none;
} 

heading-block,
body-block {
    position:relative;
    color:white;
    left:var(--side-margin-padding-size);
    width: 55%; /* 45.5%; */
}
/* special use for video-wrapper content! */
heading-block {
    margin-top:max(25px, calc(25vw - 245px));
    width:52%;
}
body-block {
    min-width:580px;
}
.half-width {
    width:45%;
    display:inline-block;
}
.large-text {
    --min-size:22px;
    font-size:max(3.3vw,var(--min-size)); /* 24px causes text-wrap at < 376px */
    line-height: 1.25;
    font-weight: bold;
}
.med-large-text,
.smaller-med-large-text {
    font-size:max(2.8vw,20px);
    line-height:1.25;
    font-weight: bold;
}
.smaller-med-large-text {
    font-size:max(2.5vw,20px);
}
.medium-text {
    font-size: 17px;
    line-height: 1.75;
}
.video-wrapper .large-text {
    --min-size:24px; /* limit shrink of font size just within this container */
}
@media only screen and (max-width:650px) {
    .video-wrapper .large-text br {
        display:none;
    }
}
@media only screen and (min-width:650.1px) {
    .video-wrapper .large-text {
        white-space: nowrap;
    }
}
.video-wrapper .medium-text {
    font-size:20px;
}

@media only screen and (max-width:950px) {
    body-block .medium-text {
        line-height: 1.4;
    }
}

@media only screen and (max-width:852px) {
    body-block {
        min-width:auto;
    }
    body-block .medium-text {
        line-height:inherit;
    }
}

.header-nav {
    text-align:right;
    margin-right: -15px;
}
.header-nav a:link,
.header-nav a:visited,
.header-nav a:hover,
.header-nav a:active,
nav a:link,
nav a:visited,
nav a:hover,
nav a:active,
footer a:link,
footer a:visited,
footer a:hover,
footer a:active {
    text-decoration: none;
    color:inherit;
}
.not .header-nav, /* don't need pointer on container when child has pointer */
nav {
    cursor: pointer;
}
ul.header-nav,
nav ul {
    list-style-type: none;
    padding-left:0px;
    margin-bottom:0px;
}
ul.header-nav > li,
nav ul > li {
    display:inline-block;
    padding:0px 15px;
}
ul.header-nav > li {
    border-right:1px solid rgba(255,255,255,0.25);
}
nav ul > li {
    padding:10px 20px;
    font-size:22px;
    position: relative;
    white-space:nowrap;
}
ul.header-nav > li:last-of-type,
nav ul.top-level > li:last-of-type {
    border-right:none;
}
ul.top-level {
    margin-right: -20px;
}
ul.top-level > li {
    padding:10px 20px;
}
.arrow-glyph {
    display:inline-block;
    position: relative;
    top:-9px;
    left:2px;
    line-height: 1;
}
@media only screen and (min-width:852.1px) {
    .subnav-arrow {
        display:inline-block;
        position: relative;
        width:10px;
        margin-left:10px;
    }
    .subnav-arrow::after {
        content: '';
        position: absolute;
        border:6px solid transparent;
        border-top-color:white;
        bottom:-6px;
    }
    .has-subnav:hover .subnav-arrow::after,
    .has-subnav.show-subnav .subnav-arrow::after {
        border-top-color:var(--ecf-green);
    }
    body:not(.home) logo-and-menu .subnav-arrow::after,
    logo-and-menu.scrolled .subnav-arrow::after {
        border-top-color:black;
    }
}

ul.top-level > li:hover,
.has-subnav:hover,
.has-subnav.show-subnav {
    color:var(--ecf-green);
    background-color:white;
}
.has-subnav.show-subnav > .subnav,
.has-subnav:hover > .subnav {
    display: flex;
}
.subnav {
    position: absolute;
    display:none;
    flex-direction: column;
    top:100%;
    left:50%;
    translate:-50%;
    z-index: 1;
}
.subnav-width-1 {
    --width:148px;
}
.subnav-width-2 {
    --width:133px;
}
.not .subnav::before {
	position: absolute;
	content: '';
    background-color:white;
	width: var(--width);
	height: 34px;
	top: -34px;
	left: 50%;
	translate: -50.25%;
}
.subnav ul {
    width: 230px;
    max-width: 90vw;
    background-color:white;
}
.subnav ul > li {
    position: relative;
    font-weight: normal;
    padding-top:15px;
    padding-bottom:15px;
    display:block;
}
.subnav ul > li:hover {
    background-color:var(--very-light-blue);
}

.nav-with-icon {
    display:grid;
    grid-template-columns: 60px auto;
    align-items: center;
}
.nav-heading {
    color:var(--ecf-green);
    line-height: 1;
}
.nav-body {
    font-size:14px;
    color:black;
    display:none;
}

.nav-burger {
    --burger-border-color:black; /* var(--heading-blue-lines); /* white; */
    display: none;
    position:relative;
    /* margin-left:auto; */
    /* suppress button properties */
    border:none;
    background-color: transparent;
    padding:0px; /* cancel inherent padding of button element */
}
.nav-burger i.third-burger-line,
.nav-burger::before,
.nav-burger::after {
	content: '';
	border-top: 3px solid var(--burger-border-color);
	width: calc(min(25px,80%));
	top: 20%;
    left:0px;
	position: absolute;
	/* translate: 0px 10px; */
    transition: 400ms ease;
}
.nav-burger::after {
    top:auto;
	bottom: 20%;
}
.nav-burger i.third-burger-line {
    top: 45%;
}
.nav-burger[aria-expanded="true"]::before {
    rotate:225deg;
    translate:0px 10px;
}
.nav-burger[aria-expanded="true"]::after {
    rotate:-225deg;
    translate:0px -8px; /* this helps both lines intersect evenly */
}
.nav-burger[aria-expanded="true"] i.third-burger-line {
    opacity:0;
}

/* - - - MAIN PAGE PANELS - - - */
.general-panel,
.main-page-panel {
    min-height:250px;
    padding:25px var(--side-margin-padding-size);
    position: relative;
}

/* ---- STATS PANEL ---- */
.stats-panel {
    /* min-height: 30vw; */
    /* background-color:gray; */
    display:grid;
    grid-template-columns: 1fr;
    border-bottom:none;
}
.not .stats-panel .text-block {
    margin-left:3%;
}
.hex-grid-with-handshake {
    position:absolute;
    bottom:0px;
    right:0px;
    width:60%;
    /* height: 100%; -- let child image determine container height */
}
#handshake {
    position: absolute;
    bottom:21.8%;
    right:-2.8%;
    width: 85.2%;
    height:auto;
}
#hex-grid-overlay {
    position: absolute;
    bottom:0px;
    right:-25%;
    width: 120%;
    height: auto;
}
#hex-grid-handshake {
    position: relative;
    bottom:0px;
    right:-5%; /* -25%; */
    width:120%;
    height:auto;
}
.glow-poly {
    position:absolute;
    left:26.8%;
    width:12.4%;
    bottom: 25.4vw; /* 85.3%; */
    height: 8.7%; /* 20.7%; */
    opacity:0;
    transition:opacity 2200ms linear;
}
/* ---- ANIMATION ZONE IN STATS PANEL */
.animation-zone {
    display:flex;
    justify-content: center;
    align-items: end;
    gap:10px;
}
fuel-production,
.column-image-wrapper {
    position: relative;
}
fuel-production .caption {
    text-align: center;
    color:#a8a8a8;
    font-weight: bold;
    font-family: 'Antonio';
    font-size:min(21.6px,1.7vw);
}
fuel-production .panel-img {
    width:100%;
}
fuel-production .next-arrow {
    position: absolute;
    right:-40px;
    bottom:5vw;
    /* width:40px;
    height:40px; */
}
.next-arrow {
    align-self: center;
}

@keyframes fade-dark {
    10%,30% {
        stroke: #444;
        stroke-width: 2;
    }
    40%,100% {
        stroke: gray;
        stroke-width: 1;
    }
}
.heavy.barlow-text {
    font-family: "Barlow Condensed",Arial, Helvetica, sans-serif;
    font-weight: bold; /* 700 */
    /* font-weight: 400; /* because embedded font is already heavy */
    font-style: normal;
}
.large-blue-text {
    color:var(--blue-from-logo);
}
.headline-text,
.large-blue-text {
	font-size: 30px;
}
span.larger {
    font-size:120%;
}
.headline-text {
    font-size:var(--h2-headline-text-size);
}
.intro-msg {
    display:flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.animation-zone.no-arrow-animation .arrow-angle {
    animation:none;
}
.arrow-angle {
    animation: fade-dark 3000ms linear infinite;
}
.arrow-angle-2 { animation-delay: 250ms; }
.arrow-angle-3 { animation-delay: 500ms; }
.arrow-angle-4 { animation-delay: 750ms; }
.arrow-angle-5 { animation-delay: 1000ms; }
.arrow-angle-6 { animation-delay: 1250ms; }
.arrow-angle-7 { animation-delay: 1500ms; }
.arrow-angle-8 { animation-delay: 1750ms; }
.arrow-angle-9 { animation-delay: 2000ms; }

.spinning-blades {
    position: absolute;
    top:-35%;
    right:7%;
    width: 46%;
    transform-origin: 63% 47.7%;
    animation: spin-shape 2s linear infinite;
}
@keyframes spin-shape {
    0% {
        rotate: 0deg;
    }
    100% {
        rotate: 360deg;
    }
}

left-side-circles, right-side-circles {
    position: absolute;
    bottom:0%;
    height:50%;
    width: 40%;
}
left-side-circles {
    left:10%;
}
right-side-circles {
    right:10%;
}
.tank-bubble {
    width:30%;
    position: absolute;
    animation: bounce-shape 1s linear infinite;
}
.left-bubble-1 {
    left:5%;
    top:0px;
    animation-delay: 0ms;
}
.left-bubble-2 {
    left:15%;
    top:30%;
    width:25%;
    animation-delay: 200ms;
}
.left-bubble-3 {
    left:10%;
    top:55%;
    animation-delay: 100ms;
}
.left-bubble-4 {
    left:60%;
    top:60%;
    animation-delay: 300ms;
}
.right-bubble-1 {
    right:10%;
    top:0%;
    width:35%;
    animation-delay: 100ms;
}
.right-bubble-2 {
    right:4%;
    top:30%;
    animation-delay: 500ms;
}
.right-bubble-3 {
    right:20%;
    top:60%;
    width:25%;
    animation-delay: 250ms;
}

@keyframes bounce-shape {
    0%,25% { translate:0px 0px; }
    30% { translate:0px -1px;}
    35%,60% { translate: 0px 0px; }
    65% { translate: 0px 1px; }
    70%,100% { translate: 0px 0px; }
}

.transfer-flow {
    position: absolute;
    top:-22%;
    width:45%;
    left:27%;
}

.transfer-flow svg {
    stroke:var(--blue-text);
    stroke-dasharray: 2;
    animation: transfer-flow 1s linear infinite;
}
@keyframes transfer-flow {
    from {
        stroke-dashoffset: 4;
    }
}

.wheels {
    position: absolute;
    bottom:7%;
    left:18%;
    max-width: 12%;
    animation: spin-shape 2s linear infinite, bounce-shape 5s linear infinite;
}
.wheel-2 {
    left:31%;
    animation-delay: 300ms;
}
.wheel-3 {
    left:auto;
    right:18%;
    animation-delay: 250ms;
}
.wheel-4 {
    left:auto;
    right:31%;
    animation-delay: 500ms;
}

/* ---- SOLUTIONS PANEL ---- */
.anchor-group {
    position: relative;
}
#solutions,
#mobility-solution,
#power-solution,
#heavy-industry-solution {
    position:absolute;
    top:var(--video-shift-offset);
}

body .solutions-panel {
    background-color: #E8E8E8;
    padding-bottom:0px;
}
.panel-slice-angle {
    background-color:white;
    height:4vw;
    margin:-26px -50px 25px;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}
.about-us-panel .panel-slice-angle {
    margin:0px 0px -4vw;
    position: relative;
    z-index: 1;
    translate:0px -1px; /* 1px line leaking through so shift this element up */
}
.solution-categories {
    display:flex;
    justify-content: space-around;
}
.solution-image-wrapper {
    min-width:19vw;
    padding:10px;
    font-family: Antonio;
    font-size:120%;
    text-align: center;
    position: relative;
    cursor: pointer;
}
.solution-image-wrapper img {
    width:auto;
    height: 8vw;
}
.solution-detail {
    color:white;
    background-color:#CCCCCC;
    margin:0px calc(-1 * var(--side-margin-padding-size));
    padding-left:var(--side-margin-padding-size);
    padding-right:var(--side-margin-padding-size);
    min-height:300px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.solution-image-wrapper.selected,
.solution-image-wrapper:hover {
    background-color: white;
}
.solution-image-wrapper.selected::before,
.solution-image-wrapper:hover::before {
    content:'';
    position: absolute;
    left:0px;
    right:0px;
    bottom:-30px;
    height:30px;
    background-color: white;
    z-index: 8;
}
.solution-image-wrapper.selected::after,
.solution-image-wrapper:hover::after {
    content:'';
    z-index:8;
    position: absolute;
    bottom:-30px;
    left:50%;
    translate:-50%;
    border:10px solid transparent;
    border-top-color:black;
}
.solution-detail-content {
    display:none;
    color:black;
    /* attempt to replicate left-, right-insets to align with tabs in row above this element */
    padding:50px calc(6.2% + 0.2vw);
}
.solution-detail.show-mobility .mobility-solution,
.solution-detail.show-power .power-solution,
.solution-detail.show-heavy-industry .heavy-industry-solution {
    display:block;
}
.blue-dashed-line {
    border-top:1px dashed var(--blue-text);
    margin:30px 0px;
}
solution-group {
    display:flex;
    gap:25px;
}
group-choice {
    min-width:25%;
    cursor: pointer;
}
group-choice > div {
    padding:20px 0px;
    font-size:24px;
}
group-choice > div:not(:first-child) {
    border-top:1px dashed var(--blue-text);
}
group-choice .active {
    color:var(--blue-text);
}
group-content div.active {
    display:flex;
}
group-content > div:not(.active) {
    display:none;
}
group-body-text {
    padding-right:25px;
}
stats-column {
    display:flex;
    flex-direction: column;
}
stats-column > div {
    display:flex;
}
projects-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
}
project-element {
    color:white;
    display: flex;
    align-items: end;
    cursor:pointer;
}
project-caption {
    position: relative;
}
project-heading {
    display:flex;
    align-items: end;
}
project-title {
    position: relative;
}
project-body-text {
    display:block;
}
collapse-button {
    cursor:pointer;
}
/* ---- PROJECTS PANEL ---- */
.projects-panel {
    min-height: auto;
}
.project-scroller {
    margin-top: 10px;
	min-height: 20vw;
	outline: 1px solid lightgreen;
	position: relative;
    overflow: hidden;
}
.scroll-cell {
    content: attr(data-watermark);
	position: absolute;
	top: 0px;
	height: 100%;
	left: 0px;
	width: 100%;
	padding: 10px;
	background-color: #E4E4E4;
}
.slide-action .scroll-cell {
    transition: left 500ms ease-in-out;
}
.scroll-cell.top {
    z-index:2;
}
.scroll-cell.prev,
.scroll-cell.next {
    z-index:1;
}
.scroll-cell:not(.top) {
    left:100%;
}
.scroll-cell.top.slide-left,
.scroll-cell.prev {
    left:-100%;
}
.scroll-cell.next,
.scroll-cell.top.slide-right {
    left:100%;
}
/* neutral position */
.scroll-cell.prev.slide-right,
.scroll-cell.next.slide-left {
    left:0%;
}
.with-watermark::before,
.scroll-cell::before {
    content: attr(data-watermark);
	position: absolute;
	top: 50%;
	left: 50%;
	translate: -50% -50%;
	line-height: 1;
	font-size: 16vw;
	font-weight: bold;
	color: #CCC;
    z-index: -1;
}
.scroller-controls {
    display:flex;
    justify-content: center;
    align-items: center;
    gap:20px;
}
.scroller-controls i {
    cursor: pointer;
    display: inline-block;
    height:30px;
}

/* ---- ABOUT US PANEL ---- */
body .about-us-panel {
    padding: 0px;
    min-height: auto;
}
.about-3-cols {
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    min-height:33vw;
}
.about-3-cols .about-column {
    position: relative;
    overflow: hidden;
    /* display: flex;
    justify-content: center;
    align-items: center; */
}
.about-img {
    display: block;
    width: 100%;
}
.shifting-text {
    position: absolute;
    top:50%;
    left:50%;
    translate:-50% -50%;
    color:white;
    white-space: nowrap;
    transition: 0.5s linear 0.5s;
}
.static-shade,
.slide-shade {
    position: absolute;
    top:0px;
    left:0px;
    height:100%;
    width: 100%;
}
.static-shade {
    background-color: rgba(0,0,0,0.3);
}
.slide-shade {
    top:100%;
    background: rgba(0,0,0,0.5);
    transition: top 1s linear;
    color:white;
    padding:25.5% 5% 5%;
}
.about-column .body-text {
    opacity: 0;
    transition: opacity 0.5s linear 1s;
    border-top:1px solid white;
    margin-top: 20px;
    padding-top:25px;
    font-size:110%;
}
.about-us-panel.show-all .shifting-text,
.about-column:hover .shifting-text {
    top:20%;
}
.about-us-panel.show-all .slide-shade,
.about-column:hover .slide-shade {
    top:0%;
}
.about-us-panel.show-all .body-text,
.about-column:hover .body-text {
    opacity: 1;
}
.body-text.larger-text {
    /* font-size:112%; */
    line-height: 1.5;
    text-align: center;
}
.body-text .with-bottom-margin {
    margin-bottom:1em;
}
@media only screen and (max-width:1350px) {
    .body-text .with-bottom-margin {
        margin-bottom:0.5em;
    }
}
@media only screen and (max-width:1165px) {
    .about-column .body-text {
        font-size:inherit;
    }
}
/* goal: have this range cover 1075px - 650.1px  */
@media only screen and (max-width:1085px) and (min-width:650.1px) {
    .about-img {
        height:100%;
        width:auto;
        /* keep image centered horizontally */
        position: relative;
        left:50%;
        translate: -50%;
    }
    .about-3-cols {
        /* apply ratio to set height relative to page width */
        height:calc(355px + 120 * ((435px - (100vw - 650px)) / 435));
    }
    .about-us-panel.show-all .shifting-text,
    .about-column:hover .shifting-text {
        /* apply ratio to set top position relative to page width */
        top:calc(20% - 50 * ((435px - (100vw - 650px)) / 435));
    }
}
@media only screen and (max-width:950px) {
    .body-text.larger-text {
        line-height: 1.25;
    }
}
@media only screen and (max-width:650px) {
    .about-3-cols {
        grid-template-columns: 1fr;
        min-height: 33vw;
    }
    .slide-shade {
        padding-top:12.5%;
    }
    body .about-column .body-text {
        font-size:110%;
    }
}

footer {
    padding:20px var(--side-margin-padding-size);
    /* display:grid;
    grid-template-columns: auto 1fr 1fr;
    align-items: center;
    gap:10px; */
    color:white;
    background-color:black;
}
footer img {
    width:calc(max(230px,15vw));
}
footer .logo-and-links {
    /* display:flex;
    align-items:center; */
    text-align:center;
}
footer .links {
    flex-grow:1;
    margin-left:40px;
}
footer .links a {
    padding: 5px 20px;
}
footer .links a:hover {
    color:#CCC;
}
footer .links a:not(:first-of-type) {
    border-left:1px solid #808080;
}

footer img.linked-in {
    width: 48px;
}
.copyright {
    margin-top:20px;
}
.footer-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:10px;
}
footer .column {
    display:flex;
    flex-direction: column;
    gap:5px;
}

@media only screen and (max-width:950px) {
    footer .logo-and-links {
        flex-wrap:wrap;
        justify-content: center; /* center logos */
        gap:20px; /* space to breathe */
    }
    footer .links {
        order:3;
        margin-left:auto;
        flex-basis: 100%;
        text-align: center;
    }
}

#go_to_top {
	padding: 4px 12px;
	background-color: #555;
	border: 0px;
	border-radius: 4px;
	position: fixed;
	bottom: 50px;
	right: 24px;
	z-index: 200;
    display:none;
}
#go_to_top.show {
    display: block;
}
cookie-approval.show + #go_to_top.show {
    display:none;
}
#header_placeholder {
    position: absolute;
    top:0px; /* override flex centering */
    width: 1px; /* give element some dimension */
    height:var(--menu-height);
}

cookie-approval {
    z-index:10;
    position:fixed;
    bottom:0px;
    background-color:#F0F0F0;
    padding:20px;
    display:flex;
    gap:25px;
    /* border:2px solid gray; */
    overflow: hidden;
    max-height:250px;
    /* iOS Safari evidently needs affected properties listed for transition to work */
    transition: max-height 1s linear, padding 1s linear, border 1s linear;
}
cookie-approval:not(.show) {
    max-height:0px;
    padding:0px 20px;
    border-top-width: 0px;
    border-bottom-width: 0px;
}
cookie-approval .cookie-prompt {
    flex-grow:1;
}
cookie-approval .buttons {
    display:flex;
    justify-content: center;
    align-items: center;
    gap:15px;
}
@media only screen and (max-width:650px) {
    cookie-approval {
        flex-direction: column;
        gap:10px;
    }
}
cookie-approval .buttons button {
    padding:5px 10px;
    border:1px solid gray;
    border-radius: 5px;
}

/* ==== INTERIOR PAGES ==== */
page-top-panel {
	height: 23.2vw;
    /* min-height: calc(max(30vw,300px)); */
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    padding-top:var(--blue-strip-height);
    /* padding-bottom:var(--blue-strip-height); */
    display:flex;
    flex-direction: column;
    justify-content: end;
}
page-top-heading {
    --size-and-space:var(--heading-text-size);
    font-size:var(--size-and-space);
    padding-bottom:var(--size-and-space);
    display: block;
    font-weight: bold;
}
page-top-panel.about-page {
    background-image:url('/assets/images/about_page_header.jpg');
}
page-top-panel.newsroom {
	background-image:url('/assets/images/UCWorkingBG.jpg');
}
page-top-panel.old-projects-page {
    /* background-color:darkgreen; */
    background-image: url('/assets/images/projects_page_header.jpg');
}
page-top-panel.projects-page { /* .highway-page */
    background-image: url('/assets/images/hydrogen_highway_header.jpg');
    background-position: center top;
}
.general-panel { /* this config will max-out when browser window is approx 1444px wide */
    width:90%;
    max-width: var(--max-content-width);
    margin:0px auto;
    --min-padding:20px;
}
.general-panel.with-padding {
    padding:20px 0px;
}
.general-panel.more-padding {
    padding-top:max(var(--min-padding),4%);
    padding-bottom:max(var(--min-padding),4%);
}

/* ---- Solutions Page ---- */
.breakout-head {
    position: relative;
    background-color: #CCC;
    cursor: pointer;
}
.breakout-head .expand-toggle {
    display: inline-block;
    margin-right: 5px;
}
.breakout-body {
    position: relative;
    overflow:hidden;
    max-height:0px;
    height:22vw;
}
.breakout-head.show-body + .breakout-body {
    max-height: 100%;
}
.breakout-head.show-body svg {
    rotate: 180deg;
}
.body-wrap {
    padding:10px;
}

/* ---- LEADERSHIP PANEL ---- */
body .business-units-panel {
    display:flex;
    flex-direction: column;
    align-items: center;
    background-color: #ebf4fc;
    gap:15px;
    padding-top:50px;
    padding-bottom:50px;
}
.business-units-panel .medium-large-text {
    flex-basis:100%; /* span both columns */
}
.bus-units-body {
    display:flex;
    align-items: center;
    gap:max(2vw,15px);
}
.bus-units-body img {
    width:25vw;
    display:block;
    flex-basis: 50%;
}
@media only screen and (min-width:750.1px) {
    .bus-units-body img {
        position:relative;
        top:-20px;
        margin:0px auto;
        max-width:700px;
    }
}
.business-units-panel .text-column {
    position: relative;
    flex-basis: 50%;
}
.text-column.medium-text {
    font-size:20px;
}
.business-units-panel .imgs-column {
    display: block;
    flex-basis:50%;
}
.both-partners {
    display:flex;
}
.both-partners .general-panel {
    min-height:auto;
    display:flex;
    gap:50px;
    width:90%;
    max-width:1300px;
    margin:0px auto;
    padding:0px;
}
.both-partners left-column,
.both-partners middle-column,
.both-partners right-column {
    display:flex;
    flex-direction: column;
    gap:20px;
    justify-content: end;
}
.both-partners middle-column {
    width:50%;
    margin:0px auto;
}
.both-partners right-column {
    padding-top:0px;
}
.partner-logo {
    display:block;
    width:75%;
    margin:0px auto;
}
/* follow similar reveal as thin-arrow but vertically */
.goalpost-shape {
    width: 90%;
    max-width: 1300px;
    margin: 0px auto;
    position: relative;
    height: 10vw;
    transition: clip-path 1.5s linear;
    clip-path:polygon(20% 100%, 20% -100%, 80% -100%, 80% 100%, 80% -100%, 20% -100%);
}
.goalpost-shape.visible {
    clip-path:polygon(20% 100%, 50% 100%, 50% 100%, 80% 100%, 80% -100%, 20% -100%);
}
.upper-fork,
.lower-pole {
    position: absolute;
    border: 4px dotted transparent;
    border-left-color: var(--blue-text);
    height:50%;
    top:50%;
    left:50%;
}
.upper-fork {
    top:0px;
    left:25%;
    border-right-color: var(--blue-text);
    border-bottom-color: var(--blue-text);
    width:50%;
}
.lower-pole::after {
    content:'';
    position:absolute;
    border:10px solid transparent;
    border-top-color:var(--blue-text);
    bottom:-14px;
    left:-12px;
}

@media only screen and (max-width:750px) {
    body .business-units-panel {
        flex-direction: column;
        gap:25px;
    }
    .bus-units-body {
        flex-direction: column;
    }
    .bus-units-body img {
        width:300px;
        max-width:90%;
    }
    .business-units-panel .imgs-column {
        /* width:300px; */
        max-width:90%;
    }
    .business-units-panel .text-column {
        order:2;
    }
    .both-partners middle-column {
        width:auto;
    }
    .both-partners left-column {
        padding-bottom: 0px;
    }
    .both-partners .general-panel {
        margin-top: auto;
        gap:10px;
        flex-direction: column;
    }
    .partner-logo {
        width:auto;
        max-width: 90%;
    }
    middle-column .partner-logo {
        width:375px;
    }
    .goalpost-shape {
        height:13.5vw;
    }
    .upper-fork {
		display:none;
	}
	.lower-pole {
		top:0px;
		height:100%;
		border-left-color: transparent;
		background-image: repeating-linear-gradient(180deg, var(--blue-text), var(--blue-text) 3px, transparent 3px, transparent 6px, var(--blue-text) 6px);
		background-size: 2px calc(100% + 6px);
		background-repeat: no-repeat;
		animation:borderAnimation 1s infinite linear;
    }
    .lower-pole::after {
        left:-10px; /* adjust offset for mobile view */
    }
    .business-units-panel .blue-button {
        margin:1em auto 0px;
    }
}

@keyframes borderAnimation {
	from { background-position: 0 -6px, 0 0, 100% 0, -6px 100%; }
	to { background-position: 0 0, -6px 0, 100% -6px, 0 100%; }
}

/* ---- LEADERSHIP PANEL ---- */
body .leadership-panel {
    padding-left:0px;
    padding-right:0px;
}
panel-title {
    display:block;
    padding-left:var(--side-margin-padding-size);
    padding-right:var(--side-margin-padding-size);
}
.leader-card {
    margin:50px 75px;
}
.leader-card.first-card {
    margin-top:20px;
}
.leader-card img.leader-photo {
    display: block;
    width:100%;
}
.leader-card {
    border:1px solid var(--blue-text);
    padding:15px;
}
.leader-card .card-inner {
    background-color: #ECEDEF;
    position:relative;
    display:flex;
    align-items: center;
}
.bio-image-wrapper {
    position: relative;
}
.scale-to-312x313 > img { /* scale photos to be same size/shape as existing ECF bio photos */
    width:312px;
    height:313px;
}
.linked-in-link {
    position: absolute;
    top: 255px;
    left: 250px;
    width: 48px;
    height: 48px;
    opacity:0.75;
}
.leader-card .leader-bio {
    flex-grow:1;
    padding:0px 30px;
}
.gray-text {
    color:gray;
}
@media only screen and (max-width:900px) {
    .leader-card {
        margin:50px 0px;
    }
}

/* ---- INVESTOR PAGE ---- */
.investor-header {
    position: relative;
    height:23.2vw;
    background-color: #9BBDD6;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('/assets/images/H2_Pump_Fueling_Bus.jpg');
}
.investor-header .large-text {
    left:var(--side-margin-padding-size);
    position: absolute;
    bottom:4vw;
    font-size:max(4vw,28px);
}

/* ---- MEDIA RELATIONS PAGE ---- */
.media-relations-header {
    position: relative;
    height:23.2vw;
    background-color: #9BBDD6;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('/assets/images/Tree_Branches_Over_Buildings2.jpg');
}
.media-relations-header .large-text {
    left:calc(max(5%, 50% - var(--max-content-width) * 0.5));
    position: absolute;
    bottom:4vw;
    font-size:max(4vw,28px);
    color:white; /* improve  contrast between heading text and new panel bg image */
}
press-listings {
    padding-right:80px;
    position: relative;
}
.view-other-article {
    text-align: center;
    margin-top:16px;
}
.view-other-article button {
    border-radius:5px;
    border:1px solid var(--blue-text);
    background-color: var(--blue-text);
    color:white;
    font-size:20px;
}
.view-other-article .view-previous {
    margin-right:16px;
}
.view-other-article .view-next {
    margin-left:16px;
}
.view-other-article.no-previous .view-previous,
.view-other-article.no-next .view-next {
    display: none;
}

articles-group {
	display:block;
    font-size: 20px;
    color:var(--blue-from-logo);
}
articles-group p {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
date-and-image {
	display:flex;
	margin-bottom:auto;
}
date-block {
	gap:2px;
	min-width: 90px;
}
press-image-block img {
	height:100%;
	width: auto;
}
press-image-block,
date-block {
	display:inline-flex;
	flex-direction:column;
	margin-right:5px;
	text-align: center;
	position: relative;
}
press-image-block {
	display:inline-block;
	margin-right:10px;
}
article-month, article-day {
	display:block;
	color:white;
	background-color:var(--blue-from-logo);
	padding:3px 10px;
}
article-month, article-day,
title-and-blurb h2 {
	font-size:20px;
}
article-day {
	background-color:var(--dark-green-text);
	font-size:32px;
	padding:5px 10px;
}

press-item {
    display: flex;
    cursor: pointer;
    padding:10px 0px;
    text-transform: uppercase;
    color:var(--blue-text);
	user-select: none; /* block highlight of text */
}
press-item:hover h2 {
    text-decoration: underline;
    color:var(--ecf-green);
}
press-item:not(:hover) h2 a {
    text-decoration: none;
}
press-item h2 a:link,
press-item h2 a:visited,
press-item h2 a:hover,
press-item h2 a:active {
    color:inherit;
}
press-item:first-of-type {
    margin-top:5px;
}
.show-dividers press-item:not(:last-of-type)::after {
	content: '';
	border-bottom: 1px solid #CCC;
	width: 100%;
	display: block;
	margin-top:20px;
}
title-and-blurb {
	display:inline-block;
	margin-left:5px;
	color:black;
}
/* font size set above with other elements */
title-and-blurb p {
	line-height: 1;
}

/* need both of these to accomplish range of cases */
press-article:not(.show) {
    display:none;
}
press-article.show {
    display:block;
}
press-item-share-options > div {
    cursor: pointer;
}
/* indicate empty pdf link */
a.download-pdf[href="/pdf/"] {
	opacity: 0.5;
	pointer-events: none;
}
press-item-share-options {
    display: flex;
    padding:10px;
    border-radius: 10px;
    border:1px solid #CCC;
    background-color: white;
    flex-direction: column;
    align-items: center;
    color:black;
    gap:10px;
}
press-item-share-options div.with-divider {
    border-top:1px solid #808080;
    padding-top:10px;
}
press-item-share-wrapper {
    display: none;
    position: sticky;
    width:80px; /* 61px; */
    /* left:100%; */
    top:140px; /* allow for page header content */
    margin-bottom:auto; /* grid item makes it full height, this reduces height back to content */
}

/* switch to single article view mode */
.media-relations-form-panel.show-article {
    grid-template-columns: 1fr auto;
}
.media-relations-form-panel.show-article press-item,
.media-relations-form-panel.show-article articles-group,
.media-relations-form-panel.show-article media-relations-form {
    display:none;
}
.media-relations-form-panel.show-article press-listings {
    padding-right:20px;
}
.media-relations-form-panel.show-article press-item-share-wrapper {
    display: block;
}
.media-relations-form-panel:not(.show-article) .view-other-article {
    display:none;
}
.media-relations-form-panel.general-panel {
    padding:25px 0px;
}
.media-relations-form-panel {
    position: relative;
    color:black;
    display:grid;
    grid-template-columns: 2fr 1fr;
}
@media only screen and (max-width:852px) {
    .media-relations-form-panel {
        grid-template-columns: 1fr;
    }
    press-listings {
        padding-right:0px;
    }
}
media-relations-form.post-sent .hide-when-sent {
    display: none;
}
media-relations-form.post-sent .submit_result {
    display: block;
}
media-relations-form .reqd-input {
    margin-bottom:1em;
}

.media-relations-form-panel form.hollow-inputs-form input {
    color:black;
}
.media-relations-form-panel form.hollow-inputs-form > div:not(.g-recaptcha,.select-row,.reqd-input,.submit-btn-row) {
    border-bottom-color:black;
}
.media-relations-form-panel form.hollow-inputs-form > div.g-recaptcha,
.media-relations-form-panel form.hollow-inputs-form > div.submit-btn-row {
    margin-bottom:0px;
}
.media-relations-form-panel form.hollow-inputs-form textarea::placeholder,
.media-relations-form-panel form.hollow-inputs-form input::placeholder {
    opacity:1; /* not effective on webkit */
    color:black; /* use this for webkit */
}

/* ---- CONTACT PANEL ---- */
.contact-us-panel {
    background-repeat: no-repeat;
    background-color:#399371;
    background-position: center;
    background-image: url('/assets/images/gr_contactBG.jpg');
    background-size: cover;
}
.contact-us-panel .general-panel {
    position: relative;
    grid-template-columns: 50% 50%;
    /* easier to adjust this value for multiple places via custom property */
    --left-column-padding:80px;
}
@media only screen and (min-width:650.1px) {    
    .contact-us-panel .general-panel {
        display:grid;
    }
}

.contact-us-panel a:link,
.contact-us-panel a:visited,
.contact-us-panel a:hover,
.contact-us-panel a:active {
    color:inherit;
}
left-column {
    padding-right: var(--left-column-padding);
    position: relative;
}
.contact-us-panel left-column {
    margin-top:20px;
}
/* .contact-us-panel */ right-column {
    padding-top: max(10px,1.5vw);
}
.contact-us-panel right-column form {
    background:rgba(255,255,255,0.85);
    border-radius: 10px;
    padding:20px; /* padding all */
}
.contact-us-panel right-column {
    color:black;
}

.newsroom-link-block {
    font-weight: bold;
    margin-top:1.5em;
    margin-bottom: 2em;
}

.animated-arrow {
    position: relative;
    display: flex;
    gap:15px;
}
.thin-arrow {
    display:block;
    /* height:max(4.25vw,50px); */
    margin-right:-30px;
    /* margin-top:-15px; */
    transition: clip-path 1s linear;
    clip-path:polygon(0% 0%, 0% 100%, 0% 100%, 0% 0%);
	/* position: absolute;
	right: 30px;
	top: 50%;
	translate: 0px -50%; */
	/* height: 3.3vw; */
	flex-grow:1;
    /* outline:1px solid pink; */
}
.thin-arrow.show {
    clip-path:polygon(0% 0%, 0% 100%, 100% 100%, 100% 0%);
}
.contact-form-arrow.not {
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
}

.vertical-center-line {
    position:absolute;
    top:50%;
    left:0px;
    width:100px;
}

.pop-link {
    cursor:pointer;
    text-decoration: underline;
}

form.hollow-inputs-form {
    display:flex;
    flex-direction: column;
    gap:5px;
    position: relative;
}
form.hollow-inputs-form > div:not(.text-area-zone,.reqd-input) {
    border-bottom: 1px solid white;
    margin-bottom:25px;
}
.reqd-input {
    font-size: 90%;
    font-style: italic;
}
form.hollow-inputs-form input {
    border:none;
    outline:0px;
    width: 100%;
    display:block;
    background-color: transparent;
    color:white;
}
form.hollow-inputs-form textarea::placeholder,
form.hollow-inputs-form input::placeholder {
    opacity:1; /* not effective on webkit */
    color:white; /* use this for webkit */
}
form.hollow-inputs-form textarea:focus::placeholder,
form.hollow-inputs-form input:focus::placeholder {
    opacity: 0;
}

/* direction given to not put red outlines on inputs with errors */
form.hollow-inputs-form .bad_value.not,
form.hollow-inputs-form .error.not {
    outline:1px solid red;
}
form input,
form textarea {
    display: block;
    width:100%;
}
.contact-text {
    flex-grow:1;
    min-height: 100px;
}

div.lh-175, /* expand use to div tags */
p.lh-175 {
    line-height:1.75; /* override .body-text lh value */
}

small-green-heading {
    display:block;
    text-align: center;
    font-size:18px;
    font-weight: bold;
    color:var(--ecf-green);
}

left-column.post-sent .pre-send-message,
left-column.post-sent .self-drawn-arrow,
left-column:not(.post-sent) .post-send-message,
left-column.post-sent + right-column {
    display:none;
}
left-column.post-sent {
    grid-column:span 2;
    padding: 0px;
    /* center content */
    display: flex;
    justify-content: center;
    align-items: center;
}

.fold-up {
    background-color: white;
    position: relative;
}
.fold-up::before {
    content:'';
    left:calc(50% - 6px);
    border:6px solid transparent;
    border-bottom-color:white;
    position: absolute;
    top:-12px;
}
.fold-up button {
    border:0px;
    display: block;
    width: 100%;
    background-color: transparent;
    padding:5px;
    color:inherit;
}
.text-area-zone {
    overflow: hidden;
    padding:0px 2px;
    background-color:white;
    display:flex;
    flex-direction: column;
    height:0px;
    position: absolute;
    left:0px;
    right:0px;
    bottom:0px;
    transition: all 500ms ease-in-out;
}
.text-area-zone.show {
    height:100%;
    padding:2px;
}

.submit-btn-row {
    display:flex;
    justify-content: center;
}
.submit-btn:disabled {
    background-color:lightgray;
    border-color:lightgray;
}
.submit-btn {
    /* margin:10px; */
    display:block;
    font-size:20px;
    background-color:var(--blue-from-logo);
    border:1px solid var(--blue-from-logo);
    color:white;
    text-transform: uppercase;
}
.g-recaptcha > div {
    display:none; /* hide bottom corner 'bug' icon */
}
.submit_result {
    padding:5px 0px;
    text-align: center;
}
.submit_result:not(.show) {
    display:none;
}
form-error {
    display:block;
    background-color: white;
    color:red;
    text-align: center;
    padding:5px;
    border-radius: 15px;
    position: absolute;
    width:210px;
    bottom:80px;
    left:50%;
    translate: -50%;
    z-index: 10;
}
form-error::after {
    content:'';
    left:calc(50% - 6px);
    border:6px solid transparent;
    border-top-color:white;
    position: absolute;
    bottom: -12px;
}
form-error:not(.show) {
    display:none;
}
.text-area-zone.show + form-error {
    outline: 1px solid red;
}
.text-area-zone.show + form-error::after {
    border-top-color:red;
}
i.form-alert-icon {
    display:block;
}
/* more stylized version of contact form */
.form-input-block input::placeholder,
.form-input-block textarea::placeholder {
    color:#CACACA
}
.form-input-block input:not([type="radio"]),
.form-input-block textarea {
    padding:0.85em 1em;
    border:2px solid #DDDDDD;
    border-radius: 8px;
    margin-bottom:1rem;
    background-color:#FEFEFE;
    line-height: 1.5;
    /* less padding and margin */
    padding:0.5em 1em;
    margin-bottom:0px;
}
.form-input-block label,
.form-input-block input:not([type="radio"]),
.form-input-block textarea {
    display:block;
    width: 100%;
}
.form-input-block label {
    /* font-size:85%; */
    margin-bottom:0.25em;
}
form.hide-labels .form-input-block > label {
    display:none;
}
.buttons-row {
    text-align:center;
    padding:25px 0px;
    /* margin:0px auto; */
    width:100%;
}
.buttons-row button {
    display:block;
    width:100%;
    padding:10px;
    /* border:none; */
    border-radius:5px;
    /* background-color:var(--green-button-icon); */
    color:white; /* black; */
    font-weight: bold;
}
.buttons-row button:hover {
    background-color:var(--green-button-hover);
}
.form-input-block {
    padding-bottom:10px;
    position:relative;
}
.contact-text {
    flex-grow:1;
}

@media only screen and (min-width:768.1px) {
    .not .form-input-row {
        padding-bottom:20px;
    }
    .form-input-block:first-of-type {
        padding-right:15px;
    }
    .form-input-block:last-of-type {
        padding-left:15px;
    }
    .form-input-row.one-col .form-input-block:first-of-type,
    .form-input-row.one-col .form-input-block:last-of-type {
        padding-left:0px;
        padding-right:0px;
    }
}

.form-input-row {
    display: flex;
}
.form-input-row .form-input-block {
    flex:1;
}
@media only screen and (max-width:768px) {
    .form-input-row {
        flex-direction: column;
    }
}

.char-counter::before {
    content:attr(data-characters);
    position: absolute;
    right:0px;
    top:0px;
}
.char-counter.near-full::before {
    color:red;
}
/* prevent vertical overlap of label with input length counter */
@media only screen and (max-width:470px), (min-width:650.1px) and (max-width:940px) {
    .char-counter::before {
        top:1.5em;
    }
    #wcwd-label {
        margin-bottom:1.5em;
    }
}

/* ---- PRIVACY POLICY ---- */
#privacy_policy:not(.show) {
    display:none;
}
#privacy_policy {
    position: fixed;
    color:black;
    background-color: rgba(0,0,0,0.5);
    top:0px;
    left: 0px;
    right:0px;
    bottom:0px;
    z-index:99999;
    padding:10px;
    display:flex;
    justify-content: center;
    align-items: center;
}
#privacy_policy .medium-text {
    font-weight: bold;
}
.policy-content {
    overflow:auto;
    background-color: white;
    max-width: 90%;
    max-height: 90%;
    width:600px;
    height:600px;
    padding:10px;
}
.exit-button-wrapper {
    position: sticky;
    bottom:-10px;
    padding:10px 0px;
    text-align: center;
    background-color: white;
}
.exit-button {
	width: 100%;
	background-color: var(--ecf-green);
	border: 1px solid var(--ecf-green);
	padding: 5px;
    font-size: 120%;
}

/* = = = RESPONSIVE BREAKPOINTS = = = */

/* as small as 960px but larger to achieve content containment */
@media only screen and (max-width:1085px) {
    :root {
        --menu-height:105px;
        --side-margin-padding-size:25px;
    }
    logo-and-menu {
        padding-top:15px;
        padding-bottom:15px;
    }
    logo-and-menu img.logo {
        height:75px;
    }
    /* heading-block,
    body-block,
    .half-width {
        width:calc(100% - 100px);
    } */
    .text-block.half-width {
        width:94%; /* include 3% existing margin */
    }
    .text-block {
        position: relative;
        z-index: 1;
    }
    .text-block .medium-text {
        background-color:rgba(255,255,255,0.5);
        box-shadow: 0px 0px 15px 0px white;
    }
    .about-column .body-text {
        margin-top:10px;
        padding-top:15px;
        font-size:94%;
    }
    .body-text.larger-text {
        line-height: inherit;
        /* font-size:110%; */
    }
    .body-text .with-bottom-margin {
        margin-bottom:0.5em;
    }
}

/* as small as 768px but larger to help contain content */
@media only screen and (max-width:852px) {
    .nav-burger {
        --burger-border-color: black; /* white; */
        /* display: flex; */
        justify-content: center;
        align-items: center;
        display:block;
    }
    ul.top-level {
        margin-right:-10px;
    }
    /* logo-and-menu.scrolled .nav-burger {
        padding:10px 0px;
    } */
    .nav-burger[aria-expanded="false"] + nav {
        left:-200px;
        width: 0%;
    }
    nav {
        position:fixed;
        top:var(--total-header-height);
        bottom:0px;
        left:0px;
        width:100%;
        overflow:auto;
        background-color: white;
        transition: left 250ms ease-in-out, width 250ms ease-in-out;
    }
    nav > ul {
        /* position: absolute; */
        top:0px;
        right:0px;
        display: flex;
        flex-direction: column;
        /* background-color:var(--ecf-green); */
        color:black;
    }
    .subnav {
        left:auto;
        translate: none;
        /* right:15px; */
        /* max-width: 90vw; */
        /* border:1px solid var(--ecf-green); */
        display:block;
        position: relative;
    }
    .subnav ul {
        width: auto;
        max-width: none;
    }
    .subnav ul > li {
        padding: 20px 0px 0px;
    }
    .medium-text {
        line-height: 1.5;
    }
    .video-wrapper {
        padding-bottom:40px;
    }
    #video_bg {
        width:auto;
        left:50%;
        right:auto;
        transform: translate(-50%,-20%);
    }
    .footer-2-col {
        text-align: center;
    }
}

/* special case for footer columns, also leadership card contents */
@media only screen and (max-width:750px) {
    .leader-card {
        border:none;
        padding:0px;
    }
    .leader-card .card-inner {
        flex-direction: column;
        gap:10px;
        background-color: transparent;
    }
    .leader-card .leader-bio {
        padding:0px;
        width:312px;
    }
    footer {
        grid-template-columns: auto;
        justify-content: center;
    }
    .copyright {
        text-align: center;
    }
}

@media only screen and (max-width:650px) {
    :root {
        --side-margin-padding-size:15px;
    }
    /* shrink green strip nav captions */
    .header-nav li span {
        display:none;
    }
    .general-panel,
    .main-page-panel {
        padding-top:20px;
        padding-bottom:20px;
    }
    page-header-wrapper {
        padding:0px 15px;
    }
    logo-and-menu {
        padding-top:15px;
        padding-bottom:15px;
    }
    /* logo-and-menu.scrolled {
        padding-top:0px;
        padding-bottom:0px;
    } */
    /* logo-and-menu img.logo {
        height:50px;
    } */
    heading-block, body-block, .half-width {
        width: calc(100% - 30px);
    }
    #video_bg {
        transform: translate(-50%);
    }
    .text-block.half-width {
        width:100%;
        margin-left:0px;
    }
    /* Drop this element since it no longer spans both panels */
    .hex-grid-with-handshake {
        display:none;
    }
    /* group of images in animation-zone where images have kenetic components */
    .animation-zone {
        flex-direction: column;
        align-items:center;
        /* just hide it entirely */
        display:none;
    }
    fuel-production .caption {
        font-size:min(21.6px,3.5vw);
    }
    fuel-production:nth-of-type(1) {
        margin-top:50px;
    }
    fuel-production:nth-of-type(3) {
        margin-top:30px;
    }
    .next-arrow {
        rotate:90deg;
    }
    /* solutions panel */
    .solution-image-wrapper {
        min-width:135px;
    }
    .solution-detail {
        margin-left:-15px;
        margin-right:-15px;
        padding-left:15px;
        padding-right:15px;
    }
    /* about us panel */
    .about-us-panel.show-all .shifting-text,
    .about-column:hover .shifting-text {
        top:10%;
    }
    /* contact form */
    .contact-us-panel {
        grid-template-columns: 1fr;
    }
    .thin-arrow {
        display:none;
    }
    left-column {
        padding-right:0px;
        padding-bottom:30px;
    }
    .post-send-message .medium-text br {
        display: none; /* skip break, allow natural flow */
    }
}
@media only screen and (max-width:375px) {
    ul.header-nav > li {
        padding:0px 10px;
    }
}

