@font-face {
    src: url("fonts/GaramondAOW01-Regular.woff2") format('woff2');
    font-family: Garamond-Regular;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    src: url("fonts/HelveticaNeueLTPro-Lt.woff2") format('woff2');
    font-family: HelveticaNeue-Pro;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    src: url("fonts/HelveticaNeueLTW06-55Roman.woff2") format('woff2');
    font-family: HelveticaNeue-Roman;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    src: url("fonts/HelveticaNeueLTW06-75Bold.woff2") format('woff2');
    font-family: HelveticaNeue-Bold;
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    src: url("fonts/HelveticaNeueLTW06-77BoldCn.woff2") format('woff2');
    font-family: HelveticaNeue-BoldCondensed;
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/**
New fonts
 */
@font-face {
    src: url("fonts/PPHattonAOS-Regular.woff2") format('woff2');
    font-family: PPHatton;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    src: url("fonts/PPNeueMontrealAOS-Regular.woff2") format('woff2');
    font-family: PPNeueMontreal;
    font-weight: 450;
    font-style: normal;
    font-display: swap;
}
@font-face {
    src: url("fonts/PPNeueMontrealAOS-Bold.woff2") format('woff2');
    font-family: PPNeueMontreal;
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    line-height: 1.5;
    font-weight: 400;
    min-height: 100%;

    --color-dark-green: hsl(170deg, 100%, 10%);
    --color-light-green: hsl(153deg, 100%, 30%);
    --color-grey-main: hsl(174deg, 11%, 82%);
    --color-fushia: hsl(319deg, 100%, 63%);
    --color-mustard: hsl(45deg, 82%, 48%);
    --color-orange: hsl(8deg, 100%, 64%);
    --color-white: hsl(0deg, 0%, 100%);
    --color-grey-tint: hsl(170deg, 13%, 91%);
    --color-dark-green-hover: hsl(170, 19%, 38%);

    --primary-red: hsl(6deg, 64%, 43%);
    --primary-blue: hsl(205deg, 20%, 32%);
    /*--primary-bg: hsl(0deg, 0%, 94%);*/
    --primary-bg: hsl(17deg, 10%, 86%);
    --primary-width: 95%;
    --secondary-border-color: hsla(205,20%,32%, 0.5);
    --tertiary-border-color: hsla(205,20%,32%, 0.25);
    --vertical-gap-primary: 5rem;
    --vertical-gap-secondary: 2.5rem;

    color-scheme: light dark;
    color: rgba(255, 255, 255, 0.87);
    background-color: #242424;

    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

*{
    margin: 0;
    padding: 0;
}


body {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    height: 100vh;
    background-color: white;
    color: var(--color-dark-green);
    font-family: PPNeueMontreal, sans-serif;
    font-weight: 450;
}



/**
-------------------------------
 Typography
-------------------------------
**/
/* Fluid Typography */
html { font-size: calc(0.2500000000000001rem + 0.8333333333333333vw); }
@media screen and (max-width:1920px) { html { font-size: calc(0.2499999999999999rem + 0.8333333333333335vw); } }
@media screen and (max-width:1440px) { html { font-size: calc(0.8126951092611863rem + 0.20811654526534862vw); } }
@media screen and (max-width:479px) { html { font-size: calc(0.7497384937238494rem + 0.41841004184100417vw); } }


a{
    color: inherit;
    text-decoration: none;
}



h1, h2, h3, nav button{
    letter-spacing: -0.05rem;
}

.filter-btn{
    letter-spacing: 0;
}

h4{
    letter-spacing: -0.0375em;
}

h5{
    letter-spacing: -0.03em;
}

p, h1, h2, h3, h4, h5, .checkbox > span{
    text-transform: lowercase;
}

p::first-letter, h1::first-letter, h2::first-letter,h3::first-letter, h4::first-letter, h5::first-letter, .checkbox > span:first-letter {
    text-transform: uppercase !important;
}

h1{
    font-family: PPHatton, serif;
    color: var(--color-dark-green);
    font-size: 2rem;
    line-height: 1.1;
    white-space: nowrap;
}

h2 {
    font-family: PPNeueMontreal, sans-serif;
    font-weight: 450;
    color: var(--color-dark-green);
    font-size: 1.85rem;
    line-height: 1.1;
}

h3 {
    font-family: PPNeueMontreal, sans-serif;
    font-weight: 450;
    font-size: 1.4rem;
    line-height: 1.1;
}

h4{
    font-family: PPNeueMontreal, sans-serif;
    font-weight: 450;
    font-size: 1rem;
    line-height: 1.1;
}

h5{
    font-family: PPNeueMontreal, sans-serif;
    font-weight: 450;
    font-size: 0.85rem;
    line-height: 1.1;
}

/**
-------------------------------
Header
-------------------------------
**/


header{
    padding: 1rem 0;
    display: grid;
    grid-row: 1;
    grid-column: 1;
    place-content: center;
    width: var(--primary-width);
    border-bottom: 1px solid var(--tertiary-border-color) ;
    margin: 0 auto;
    position: relative;
}

.xAxisGroup2 text{
    font-size: 0.65rem !important;
}

/*Mobile landscape designs, 768 */
@media(max-width: 1040px){
    .xAxisGroup2 text{
        font-size: 0.6rem !important;
    };
}

@media(max-width: 900px){
    .xAxisGroup2 text{
        font-size: 0.525rem !important;
    };
}

/**
-------------------------------
Nav
-------------------------------
**/

.menu-desktop{
    position: absolute;
    right: 0;
    top: 30%;
    cursor: pointer;
}

.filter-btn{
    background-color: var(--color-dark-green);
    color: var(--color-white);
    padding: 10px 16px;
    font-size: 1rem;
    font-family: 'HelveticaNeue-Roman', sans-serif;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 2;
    grid-row: 1/2;
    grid-column: 1/2;
    transition: width 1s ease;
}


.filter-arrow{
    width: 1rem;
    cursor: pointer;
}

nav {
    grid-row: 2/-1;
    grid-column: 1;
    justify-self: end;
    z-index: 100;
    margin-top: var(--vertical-gap-secondary);
    padding: 0 2.5vw var(--vertical-gap-secondary) 2.5vw;
    margin-bottom: 10rem;
    width: max-content;
    display: grid;
    grid-template-rows: max-content 1fr;
    gap: 2rem;
    align-items: start;
    overflow-y: auto;
    position: fixed;
    top: 5%;
    left: 11%;
    height: auto;
    max-height:75dvh;
    background-color: hsla(0deg, 0%, 100%, 0.75);
    transition: all 1s ease;
}

.nav-close{
    gap: 0;
    width: 39ch;
    padding: 0 0 0 2.5vw;
}

.nav-close .nav-overlay{
    height: 0;
}

.nav-close .button-wrapper{
    display: none;
    height: 0;
    overflow: hidden;
    padding: 0;
    gap: 0;
}

.nav-overlay{
    position: sticky;
    top: 0;
    width: 100%;
    height: 6rem;
    background-color: white;
    margin: auto auto;
    z-index: 2;
    grid-row: 1/2;
    grid-column: 1/2;
    transform: translate(0, -2.5rem);
}

.close-wrapper{
    width: 1.15rem;
    display: flex;
    align-content: center;
}

.nav-mobile{
    width: 2rem;
    grid-row: 1;
    grid-column: 1;
    justify-self: end;
    transform: translate(-50%,-100%);
    display: none;
}

#close-nav{
    display: flex;
    gap: 6px;
    font-size: 1.15rem;
    align-items: center;
    cursor: pointer;
}

#close-nav:hover{
    color: var(--primary-red);
}

.nav-segment-wrapper{
    display: grid;
    gap: 0.5rem;
    padding-left: 0.5rem;
}


.nav-segment-wrapper h2{
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--color-dark-green);
}

.nav-segment-header, .nav-sector-header{
    display: grid;
    grid-auto-flow: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.nav-segment-header{
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-dark-green);
    transition: all 0.5s ease;
}

.nav-sector{
    padding: 0.25rem 0;
    padding-left: 1rem;
}

.nav-sector-header{
    padding: 0.25rem 0;
    border-bottom: 1px solid var(--color-dark-green);
    transition: all 0.5s ease;
}

.nav-drop-arrow{
    width: 1.5rem;
    cursor: pointer;
    grid-column: 1/1;
    grid-row: 1/1;
    justify-self: end;
    z-index: 2;
}

.main-segment-sub-wrapper button{
    grid-column: 1/1;
    grid-row: 1/1;
}

.nav-segment-drop-arrow{
    width: 1.5rem;
    cursor: pointer;
}

.nav-segment-heading, .nav-sector-heading, .nav-technology-heading {
    display: grid;
    grid-template-columns: max-content max-content;
    align-items: center;
    gap: 0.5rem;
}

.nav-segment-heading-arrow, .nav-sector-heading-arrow, .nav-technology-heading-arrow{
    width: 0.5rem
}

.nav-sector-drop-arrow{
    width: 1.5rem;
    cursor: pointer;
}

[data-path]{
    transform-origin: center;
    transition: transform 0.75s ease;
}

[data-path].open{
    transform: rotate(180deg);
}

[data-variance="Low"] path{

    fill: url(#lowPathGrad1) !important;


}

.hidden{
    position: absolute;
    opacity: 0;
}

.nav-technology-heading{
    padding: 0.25rem 1rem;
    border-bottom: 1px solid var(--color-dark-green);
    transition: all 0.5s ease;
}

/* width */
nav::-webkit-scrollbar {
    width: 10px;
}

/* Track */
nav::-webkit-scrollbar-track {
    background: hsla(0deg, 100%, 100%);
}

/* Handle */
nav::-webkit-scrollbar-thumb {
    background: var(--color-dark-green);
}


.nav-hide{
    height: 0;
    overflow: hidden;
    padding: 0;
    gap: 0;
}

/**
-------------------------------
Buttons
-------------------------------
**/

.button-wrapper{
    display: grid;
    width: 100%;
    grid-auto-flow: row;
    grid-template-rows: repeat(3, max-content);
    grid-template-columns: 1fr;
    justify-content: start;
    gap: 0.75rem;
    z-index: 0;
    margin-top: -5rem;
}

.button-wrapper.open {
    padding-bottom: 20vh;
}

.nav-close .button-wrapper{
    padding-bottom: 0;
}
.button-wrapper-mobile{
    display: none;
}

button {
    background-color: transparent;
    border-width: 0;
    color: var(--color-dark-green);
    font-family: 'HelveticaNeue-Roman', sans-serif;
    font-size: 1rem;
    padding: 2px 12px;
    transition: background-color 200ms ease-in-out;
    cursor: pointer;
}


/*button.selected{
  background-color: var(--primary-red);
  color: white;
}*/

[data-nav]{
    color: var(--color-dark-green);
    font-size: 2rem;
    padding-bottom: 8px;
    padding-left: 0;
    padding-right: 0;
    border-bottom: 1px solid var(--color-dark-green);
    font-family: PPNeueMontreal, sans-serif;
    font-weight: 450;
    width: 100%;
    justify-content: start;
    text-align: start;
}

.main-segment-sub-wrapper{
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    align-items: center;
    width: 100%;
}

.line-seperator{
    background-color: var(--primary-blue);
    width: 1px;
}

/**
-------------------------------
 Main
-------------------------------
**/
main {
    grid-row: 1;
    grid-column: 1;
    width: var(--primary-width);
    margin: 0 auto;
    padding-top: var(--vertical-gap-secondary);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
}

.hero-header{
    max-width: 32ch;
    display: none;
    gap: 0.25rem;
    grid-row: 1;
    grid-column: 1/1;
    z-index: 2;
}

.hero-header p {
    font-family: PPNeueMontreal, sans-serif;
    font-weight: 800;
    line-height: 1.3;
}

.chart-area{
    grid-row: 1;
    grid-column: 1/-1;
    width: 100%;
    margin: 0 auto;
    /* background-color: hsla(0deg, 50%, 100%, 0.5);*/
    height: 100%;
    max-height: 92vh;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    margin-top: 1.5rem;
}

.arrow-wrapper{
    width: 3rem;
}


#report-link{
    display: grid;
    grid-template-columns: max-content max-content;
    gap: 1rem;
    align-self: start;
    grid-row: 1;
    grid-column: 3/4;
    justify-self: end;
    z-index: 2;
}

#report-link p{
    max-width: 14ch;
    font-family: HelveticaNeue-Bold, sans-serif;
    line-height: 1.3;
}

#report-link span{
    color: var(--primary-red);
}

.main-legend{
    position: absolute;
    margin: 0 auto;
    opacity: 1;
    z-index: 5;
    bottom: 12%;
    left: 44%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.legend-c{
    display: none;
    font-size: 0.9em;
    font-family: HelveticaNeue-Bold, sans-serif;
    margin-bottom: 0.25rem;
}

.gridlinesY .domain{
    display: none;
}

.gridlinesY .tick{
    opacity: 0.5;
}
.groupMob .y-axis-group line{
    stroke-width: 1px;
}

[data-name="Solar PV"] h5{
    text-transform: none;
}

.region-index{
    display: none;
    font-size: 0.75rem;
    margin-top: 1.5rem;
}

.region-index p{
    font-size: 0.85rem;
}


/**
-------------------------------
D3
-------------------------------
**/

/*D3 Tip*/
.d3-tip {
    line-height: 1;
    font-weight: bold;
    padding: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 2px;
    pointer-events: none;
}

/* Creates a small triangle extender for the tooltip */
.d3-tip:after {
    box-sizing: border-box;
    display: inline;
    font-size: 10px;
    width: 100%;
    line-height: 1;
    color: rgba(0, 0, 0, 0.8);
    position: absolute;
    pointer-events: none;
}

/* Northward tooltips */
.d3-tip.n:after {
    content: "\25BC";
    margin: -1px 0 0 0;
    top: 100%;
    left: 0;
    text-align: center;
}

/* Eastward tooltips */
.d3-tip.e:after {
    content: "\25C0";
    margin: -4px 0 0 0;
    top: 50%;
    left: -8px;
}

/* Southward tooltips */
.d3-tip.s:after {
    content: "\25B2";
    margin: 0 0 1px 0;
    top: -8px;
    left: 0;
    text-align: center;
}

/* Westward tooltips */
.d3-tip.w:after {
    content: "\25B6";
    margin: -4px 0 0 -1px;
    top: 50%;
    left: 100%;
}

.red-v{
    color: red;
    text-transform: capitalize;
}


.path{
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAOUlEQVQYV43MQQ4AIAgDQfv/R4OYaFChsOfJYvQSNJxMgwouZDMGD2LwQhn8UARD9MIUeUjRhiUyqPw8Cgq7TDlmAAAAAElFTkSuQmCC);
}

.rect-hide{
    transform: translate(-100%, 0%);
    fill: var(--primary-bg);
}

.minor{
    stroke-width: 1px;
}

.tooltip-wrapper{
    display: grid;
    grid-template-columns: max-content max-content max-content;
    border: 1px solid white;
    justify-self: start;
    position: relative;
    background-color: white;
}

.grid .domain {
    stroke-width: 0;
}

.tooltip-year{
    grid-column: 1/-1;
    grid-row: 1;
    background-color: var(--color-dark-green);
    color: white;
    font-family: PPNeueMontreal, sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 3px 8px;
    line-height: 1.1;
}

.tooltip-header{
    background-color: white;
    border: 0.5px solid var(--color-dark-green);
    font-family: PPNeueMontreal, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.75rem;
    align-items: center;
    padding: 6px 32px 2px 8px;
}

.tooltip-upper-data{
    background-color: var(--color-dark-green);
    color: white;
    font-family: PPNeueMontreal, sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.1;
    padding: 3px 8px;
}

.tooltip-middle-data{
    background-color: var(--color-dark-green-hover);
    color: white;
    font-family: PPNeueMontreal, sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.1;
    padding: 3px 8px;
}


.tooltip-min-data{
    color: var(--color-dark-green);
    font-family: PPNeueMontreal, sans-serif;
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 1.1;
    padding: 3px 8px;
    position: relative;
    z-index: 1;
}

.text-bg{
    /*background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAOUlEQVQYV43MQQ4AIAgDQfv/R4OYaFChsOfJYvQSNJxMgwouZDMGD2LwQhn8UARD9MIUeUjRhiUyqPw8Cgq7TDlmAAAAAElFTkSuQmCC);*/
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.5;
}

.text-area{
    max-width: 10ch;
}

.section-title{
    max-width: 10ch;
}

.checkbox {
    display: inline-flex;
    cursor: pointer;
    position: relative;
    align-items: center;
    font-family: PPNeueMontreal, sans-serif;
    font-weight: 450;
}

.checkbox > span {
    color: #34495E;
    padding-left: 0.25rem;
    font-size: 0.7em;
    font-family: PPNeueMontreal, sans-serif;
    font-weight: 450;
}

.checkbox > input {
    height: 1.1em;
    width: 1.1em;
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
    border: 2px solid currentColor;
    border-radius: 100%;
    outline: none;
    transition-duration: 0.3s;
    background-color: transparent;
    cursor: pointer;
    color: white;
    font-size: inherit;
}

.checkbox > input[value='Finance gap']{
    opacity: 0.5;
}

.checkbox > input:checked {
    background-color: currentColor;
}

.checkbox > input:checked + span::before {
    content: '\2713';
    display: block;
    text-align: center;
    color: white;
    position: absolute;
    left: 0.2rem;
    top: 0;
}

.checkbox > input:disabled + span::before {
    display: none;
}

.checkbox:has(input:disabled), input:disabled{
    cursor: initial;
}

.checkbox > input:active {
    border: 2px solid #34495E;
}

.yellow{
    background-color: yellow;
    height: 50px;
    width: 50px;
}

.checkbox-container{
    width: 100%;
    height: 1.25em;
}

/*
.red-clip{
  background-color: var(--primary-red);
  color: transparent;
  clip-path: polygon(0 0, 0% 100%, 100% 0);
  position: absolute;
  bottom:-1.55rem;
  z-index: 0;
  border-left: 1px solid white;
  transform: translate(-1px, -1px);
}
 */

.red-clip{
    width: 1.75rem;
    height: 1.75rem;
    position: absolute;
    bottom:-1.75rem;
    transform: translate(-1px, 0px);
}


/*
.red-clip {
  position: absolute;
  bottom:-16px;
  color: transparent;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 16px solid var(--primary-red);
  transform: translate(-12px, 0) rotateX(0deg) rotateY(180deg) rotateZ(45deg);
  overflow: hidden;
  will-change: auto;
}


.red-clip::before {
  content: "";
  position: absolute;
  top: 0px;
  left: -14px;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-bottom: 14px solid white;
}
*/

.text-area{
    background-color: #535bf2;
}

.svgDesktop{
    display: block;
}

.svgMobile, .scrollDiv, .svgMob{
    display: none;
}

/*
.svgMobile, .svgMobile2{
  rotate: 90deg;
  transform: translate(-80px, 24px);
}
*/

.scrollDiv{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: scroll;
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
}
.scrollDiv::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

.svgMobile2{
    position: sticky;
    top: 0;
    left: 0;
}

.svgMob2{
    padding-bottom: 30vh;
}

/*
.hero-header, #report-link{
  display: none;
}
 */

.section-title{
    font-size: 1.75rem;
    font-family: Garamond-Regular serif;
    color: var(--primary-red);
    text-align: center;
    width: 100%;
}


.mobileDiv{
    background-color: white;
    position: relative;
    z-index: 2;
    height: 40px;
}

[data-variance="Low"] path, [data-variance="Low"] {
    /*
  fill: var(--primary-bg);
     */
    fill-opacity: 30%;
    stroke: black;
    stroke-width: 0.05px;
}

.bScroll{
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    height: 1400px;
    width: 100%;
}



#scrollbar {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px; /* adjust to your desired width */
    height: 100%;
    background-color: white; /* adjust to your desired style */
    opacity: 0.5;
    cursor: pointer;
}



@media (hover: hover) and (pointer: fine){
    /*ensures it only works on devices that support hovering */
    [data-nav]:hover,.main-segment-sub-wrapper:hover, .nav-sector-header:hover, .nav-segment-header:hover, .nav-technology-heading:hover{
        color: var(--color-light-green);
        border-color:  var(--color-light-green);
    }
}


/* Tablet and Mobile designs 820px */
@media screen and (max-width: 51.25rem) {

    h2, h3, h4, h5{
        max-width: 80vw;
    }

    h2 {
        font-size: 1.65rem;
    }

    h3 {
        font-size: 1.2rem;
    }

    .nav-overlay{
        height: 12vh;
    }


    .svgDesktop {
        display: none;
    }

    .nav-close{
        width: 100%;
        padding: 0;
    }

    .svgMobile, .scrollDiv, .svgMob{
        display: block;
    }

    header{
        display: none;
    }

    .hero-header{
        max-width: 90vw;
    }

    .menu-desktop{
        display: none;
    }

    nav{
        max-height: 100dvh;
        height: auto;
        width: 100vw;
        max-width: 100vw;
        padding: 0 !important;
        background-color: hsla(0deg, 100%, 100%, 0.9);
        left: 0 !important;
        top: 0 !important;
        margin-top: 0 !important;
    }

    .region-index{
        display: none !important;
    }

    .button-wrapper{
        width: 96%;
        margin-left: auto;
        margin-right: auto;
        margin-top: -8.5vh;
    }

    .nav-segment-wrapper{
        margin: 0 auto;
    }

    .nav-mobile{
        display: none;
    }

    #close-nav{
        padding-right: 2.5vw;
        padding-top: 1rem;
    }

    #report-link{
        display: none;
    }

    .chart-area{
        grid-column: span 1;
        grid-row: span 1;
        margin-top: 0;
    }

    main{
        grid-template-columns: 1fr;
        grid-template-rows: max-content 1fr;
    }

    .hero-header{
        padding-top: 1rem;
    }

    .button-wrapper-mobile{
        display: block;
        padding: 1rem 0;
        border-top: 1px solid hsla(200deg 4% 33% / 0.5);
        border-bottom: 1px solid hsla(200deg 4% 33% / 0.5);
    }


    .button-wrapper{
        display: flex;
        flex-direction: column;
    }

    .main-legend{
        position: static;
        margin: 0;
        padding: 1rem 0;
        border-bottom: 1px solid hsla(200deg 4% 33% / 0.5);
        transform: none !important;
    }

    .tick line{
        stroke-width: 0.5px;
        opacity: 0.5;
    }

    .tooltip-wrapper{
        position: fixed !important;
        visibility: visible !important;
        grid-template-columns: 1fr 1fr 1fr;
        width: 100vw;
        z-index: 20;
        bottom: 0;
    }

    .tooltip-year{
        padding: 0.75rem 1rem;
        text-align: center;
        align-items: center;
        display: flex;
        justify-content: space-between;
    }

    button:disabled{
        opacity: 0.5;
        cursor: not-allowed;
    }


    .checkbox > span {
        font-size: 0.85rem;;
    }
    .checkbox > input{
        margin-bottom: 1px;
    }
    /*
    .tick > text {
      font-size: 0.75rem;
    }
    */

    .y-axis-group  text {
        font-size: 13px;
    }

    .yAxisGroupMob  line {
        stroke-width: 1px;
        fill-opacity: 1;
        opacity: 1;
    }

    .gridlinesY g:last-child{
        opacity: 0;
    }

    .yAxisGroupMob g:last-child line{
        opacity: 0;
    }
    /*
    .chart-area::-webkit-scrollbar {
      display: none;
      -ms-overflow-style: none;
      scrollbar-width: none;
    }
  */
    .chart-area{
        overflow: scroll;
    }

    .mobileDiv{
        position: sticky;
        top: 0;
    }

    [data-variance="Low"] rect {
        fill: url(#lowPathGradM) !important;
        fill-opacity: 30%;
    }

    .year-future-path[data-variance="Low"][data-segment="Energy Systems"] {
        fill: url(#lowPathGradEN) !important;
    }
    .year-future-path[data-variance="Low"][data-segment="Buildings & Infrastructure"] {
        fill: url(#lowPathGradBN) !important;
    }
    .year-future-path[data-variance="Low"][data-segment="Industry, Waste & Wastewater"] {
        fill: url(#lowPathGradIN) !important;
    }
    .year-future-path[data-variance="Low"][data-segment="Transport"] {
        fill: url(#lowPathGradTR) !important;
    }
    .year-future-path[data-variance="Low"][data-segment="Agriculture, Forestry, and Other Land Use"] {
        fill: url(#lowPathGradAG) !important;
    }

    .year-future-path-group[data-variance="Low"]{
        fill-opacity: 1;
    }

    .xAxisGroupMob line{
        display: none;
    }

    .scrollDiv, .svgWrapper {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .scrollDiv::-webkit-scrollbar, .svgWrapper::-webkit-scrollbar  {
        display: none;
        width: 0 !important
    }

    .filter-btn, .nav{
        transition: none;
    }

    .filter-btn{
        font-size: 1.25rem;
    }
    .filter-arrow{
        width: 1.25rem;
    }

    .tooltip-year, .tooltip-header, .tooltip-upper-data, .tooltip-middle-data, .tooltip-min-data{
        font-size: 1rem;
    }

    .checkbox > input {
        height: 0.9rem;
        width: 0.9rem;
    }

    .checkbox > span {
        font-size: 1rem;
    }

    .legendRow{
        padding-bottom: 4px;
    }

    .main-legend{
        height: auto !important;
        font-size: unset !important;
    }

    .checkbox > input:checked + span::before {
        left: 0.1rem;
    }
}

/*Mobile landscape designs, 462 */
@media(max-width: 29rem){
    .line-seperator:nth-of-type(even){
        display: none;
    }
}

