/* Define Inter Regular */
@font-face {
    font-family: Inter;
    src: url(Inter-VariableFont_opsz,wght.ttf) format(truetype);
    font-weight: 100 900; 
    font-style: normal;
}

/* General page styles */
body {
    font-family: Inter;
    font-size: 18px;
    background-color: #FDFDFD;
    width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 0;
    gap: 0;
    overflow-x: hidden;
    overflow-y: hidden;
}

* {
    box-sizing: border-box;
}

/* Container styles */
.container {
    background-color: #FDFDFD;
    max-width: none;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0;
    margin: 0;
    gap: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.general-text {
    margin-top: 10px;
    margin-bottom: 0;
    color: #263238;
    font-size: small;
    line-height: 1;
}

.accent-stripe {
    position: relative;
    height: calc(15px + 16px*1.5 + 2px*2);
    width: 100vw;
    margin: 0;
    padding: 0;
    left: 0;
    gap: 0;
    background-color: #008059;
    z-index: 1;
}

.header-buttons {
    position: absolute;
    display: flex;
    justify-content: right;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(15px + 16px*1.5 + 2px*2);
    text-align: right;
    z-index: 2;
    padding: 5px;
}

.header-button-style {
    text-align: center;
    border-radius: 6px;
    border: 0;
    background-color: #FDFDFD;
    color: #263238;
    font-size: 16px;
    line-height: 1;
}

.header-button-style:hover {
    background-color: #00D29A;
    color: #FDFDFD;
    border: 0;
}

.popup-modal {
    height: fit-content;
    color: #FDFDFD;
}

.modal-dialog {
    width: 60vw;
    max-width: none;
}

.modal-header {
    font-size: 18px;
    height: 40px;
    border: 0;
    color: #FDFDFD;
    background-color: #008059;
}

.modal-text {
    font-size: 18px;
    line-height: 1.5;
    color: #263238;
    background-color: #FDFDFD;
}

.hyperlink {
    color: #008059;
    text-decoration: underline;
}

.download-button-style {
    text-align: center;
    border-radius: 6px;
    border: solid 1px #263238;
    background-color: #FDFDFD;
    color: #263238;
    font-size: 18px;
    line-height: 1.5;
}

.download-button-style:hover {
    background-color: #00D29A;
    color: #FDFDFD;
    border: 0;
}

.video-container {
    position: relative;
    width: 100vw;
    height: 20vh;
    overflow: hidden;
    z-index: 1;
}

.background-video {
    position: absolute;
    top: -55vh;
    width: 100%;
    object-fit: cover;
    z-index: 2;
}

.header-text {
    position: absolute;
    left: 0;
    top: calc(15px + 16px*1.5 + 2px*2);
    z-index: 1;
    width: 100%;
    height: 20vh;
    text-align: left;
    align-content: center;
    gap: 0;
}

.app-title {
    color: #FDFDFD;
    margin-left: 10px;
    font-size: 9vh;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0;
}

.app-description {
    color: #bdddd3;
    margin-left: 10px;
    font-size: 4vh;
    line-height: 1;
    margin-top: 0;
    margin-bottom: 0;
}

/* Welcome section */
.welcome-section {
	position: relative;
    margin-left: 10px;
}

.welcome-title {
	text-align: justify;
	color: #263238;
    line-height: 2;
}

.welcome-text {
	text-align: justify;
	color: #263238;
    line-height: 1.5;
}

.content-container {
    width: 100%;
    padding-left: 10px;
    display: flex;
    flex-direction: row;
}

.diagram {
    width: calc((100% - 10px)/2);
}

.hammer-button-style {
    margin: auto;
    border: solid 1px #263238;
    width: 190px;
    height: 40px;
    text-align: left;
    font-size: 16px;
    color: #263238;
    border-radius: 6px;
    background-color: #FDFDFD;
    background-image: url('hammer.svg');
    background-size: 35px 35px;
    background-repeat: no-repeat;
    background-position: 150px 0px;
}

.hammer-button-style:hover {
    color: #FDFDFD;
    border: 0;
    background-color: #00D29A;
    background-image: url('hammer-rotated.svg');
}

.scenario-tabs-class {
    width: 100%;
    height: 25px !important;
    overflow: visible !important;
    font-size: 1.5vw;
}

.ind-tab {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #d7d3fb !important;
    border: solid 1px #9893de !important;
    line-height: 1 !important; 
}

.ind-tab:hover {
    color: #FDFDFD !important;
}

.selected-tab {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #afaaff !important;
    /* border-top: solid 2px #9893de !important; */
}

.definition-scopes {
    position: absolute;
    top: calc(15px + 16px*1.5 + 2px*2 + 40px);
    left: 0;
    width: 100%;
    height: calc(100vh - (15px + 16px*1.5 + 2px*2 + 40px));
}

.scope-columns {
    width: 100%;
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
}

.scope-column-geo {
    width: 33%;
    padding-left: 1%;
    padding-right: 1%;
    height: 95%;
    display: flex;
    flex-direction: column;
}

.scope-columns-remaining {
    height: 95%;
    width: 67%;
    display: flex;
    flex-direction: column;
}

.scope-def {
    margin: 0;
    padding: 0;
    height: fit-content;
    width: 50%;
    flex: 1;
    padding-left: 1%;
    padding-right: 1%;
}

.scope-def-geo {
    margin: 0;
    padding: 0;
    height: fit-content;
}

.scope-columns-definitions {
    height: fit-content;
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.scope {
    color: #263238;
    font-size: large;
    line-height: normal;
    height: fit-content;
    margin-top: 10px; 
}


.selections-geo {
    height: fit-content;
    align-items: center;
    justify-content: left;
    margin: 0;
    padding: 0;
}

.selections-geo-dropdown {
    width: 100%;
    height: 50px;
    align-content: center;
    max-height: none;
    color: #4e5d63;
    font-size: medium;
    line-height: 1.5;
    padding: 0;
    margin: 0;
}

.selections-geo-dropdown:is-selected {
    color: #263238;
}

.selections {
    width: 100%;
    height: 50px;
    align-content: center;
    max-height: none;
    color: #4e5d63;
    font-size: medium;
    line-height: 1.5;
    padding: 0;
    margin: 0;
}

.counties-map {
    margin-top: 10px;
    background-color: transparent;
    border-radius: 6px;
    width: 100%;
    flex: 1;
    border: solid 1px #b7c7ce;
    border-radius: 6px;
}

.emissions-plot-container {
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.emissions-plot {
    width: 100%;
    flex: 1;
}

.emissions-pie-legend {
    margin: 0;
    padding: 5px;
    font-size: 2vh;
    line-height: 1.5em;
    color: #263238;
    width: 100%;
    height: calc(3*1.5em + 20px);
    display: grid; 
    gap: 5px;
    grid-template-columns: repeat(5, 1fr);
    visibility: hidden;
}

.planning-container {
    position: absolute;
    top: calc(15px + 16px*1.5 + 2px*2 + 40px);
    left: 0;
    width: 100%;
    height: calc(100vh - (15px + 16px*1.5 + 2px*2 + 40px));
    display: flex;
    flex-direction: row;
}

.forecasting-container {
    position: absolute;
    top: calc(15px + 16px*1.5 + 2px*2 + 40px);
    left: 0;
    width: 100%;
    height: calc(100vh - (15px + 16px*1.5 + 2px*2 + 40px));
    display: flex;
    flex-direction: column;
}

.buttons-container {
    width: calc(100%/4 - 10px);
    max-height: 95%;
    padding: 0;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 6px;
}

.button-reset-levers-style {
    width: calc(100%/4 - 10px);
    position: absolute;
    bottom: 0;
    margin-bottom: 6px;
    text-align: center;
    border-radius: 6px;
    border: solid 1px #263238;
    background-color: #FDFDFD;
    color: #263238;
    font-size: small;
    line-height: 1.5;
}

.button-reset-levers-style:hover {
    background-color: #008059;
    border: solid 1px #008059;
    color: #FDFDFD;
}

.planning-plot-container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.planning-plot {
    padding: 10px;
    height: 90%;
}

.planning-plot-description {
    flex: 1;
    margin: 10px;
}

.selections-sector-dropdown {
    font-size: medium;
}

.selections-sector-dropdown:is-selected {
    color: #263238;
}

.collapse-button {
    width: 100%;
    height: 25px;
    margin: 0;
    padding: 0;
    color: #263238;
    background-color: #00D29A;
    border: solid 1px #008059;
}

.collapse-button:hover {
    background-color: #008059;
    border: solid 1px #008059;
    color: #FDFDFD;
}

.collapse-slider {
    width: 100%;
    margin: 0;
    padding: 0;
    max-height: 50vh;
    overflow: scroll;
}

.slider {
    margin: 0 !important; 
    padding: 0 !important;
    height: 50px;
}

.card {
    height: fit-content;
    margin-top: 5px;
    margin-bottom: 5px;
}

.card-text {
    font-size: small;
    margin: 5px;
}

.own-data-disclaimer {
    position: absolute;
    top: calc(15px + 16px*1.5 + 2px*2 + 40px);
    margin-top: 10px;
    left: 0;
    width: 100%;
    text-align: center;
}

.own-data {
    position: absolute;
    top: calc(15px + 16px*1.5 + 2px*2 + 42px);
    height: calc(100vh - (15px + 16px*1.5 + 2px*2 + 42px));
    left: 0;
    width: 100vw;
    display: flex;
    flex-direction: column;
}

.data-assumption-dropdown {
    width: 100%;
    height: fit-content;
}

.own-data-container {
    margin-top: 10px;
    margin-left: 10px;
    overflow: scroll;
    width: 100%;
    height: auto;
}

.data-point {
    display: flex;
    height: 35px;
    flex-direction: row;
    gap: 10px;
    line-height: 2.5vh;
    font-size: 100%;
}

.data-point-title {
    height: 100%;
    width: 70%;
    display: flex;
    align-items: center;
}

.data-point-unit {
    height: 100%;
    width: 15%;
    display: flex;
    align-items: center;
}

.data-point-value {
    height: 100%;
    width: 15%;
}

.reset-button-style {
    visibility: hidden;
    align-self: center;
    height: 25px;
    width: 25px;
    background-color: #FDFDFD;
    background: url('arrow-rotate.svg') no-repeat center center;
    background-size: 80% 80%;
    border: solid 1px #263238;
    transform: scaleX(-1);
}

.forecasting-dropdowns {
    width: 100%;
    height: fit-content;
    display: flex;
    flex-direction: row;
}

.forecast-column {
    width: 33%;
    padding-left: 1%;
    padding-right: 1%;
}

.scenario-dropdown {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 50px;
    align-content: center;
    max-height: none;
    color: #4e5d63;
    font-size: medium;
    line-height: 1.5;
}

.scenario-dropdown:is-selected {
    color: #263238;
}

.forecasting-vis {
    width: 100%;
    flex: 1;
}

.forecast-bar-chart {
    padding: 10px;
}

.modal-export{
    position: absolute;
    top: 40vh;
    left: 25vw;
    width: 50vw;
    max-width: none;
    height: 20vh;
    max-height: none;
    align-content: center;
}

.modal-export-input{
    color: #263238;
    font-size: medium;
    line-height: 1.5;
    margin: 5px;
    border-radius: 6px;
    border: solid 1px #263238;
}

.modal-export-body{
    height: 80%;
    display: flex;
    flex-direction: column;
    background-color: #FDFDFD;
}

.modal-export-footer{
    height: 20%;
    background-color: #008059;
}

.modal-export-button {
    text-align: center;
    border-radius: 6px;
    border: 0;
    background-color: #FDFDFD;
    color: #263238;
    font-size: 16px;
    line-height: 1;
}

.modal-export-button:hover {
    background-color: #00D29A;
    color: #FDFDFD;
    border: 0;
}

.economic-container {
    position: absolute;
    top: calc(15px + 16px*1.5 + 2px*2 + 40px);
    margin-top: 5px;
    left: 0;
    width: 100%;
    height: calc(100vh - (15px + 16px*1.5 + 2px*2 + 40px));
    overflow: scroll;
    display: flex;
    flex-direction: column;
}

.economic-subcontainer {
    width: 95vw;
    min-height: 50vh;
}

.discount-rate-div {
    display: flex;
    flex-direction: row;
    height: 3vw;
    padding-left: 5px;
    align-content: center;
    margin-bottom: 5px;
}

.discount-rate-input {
    box-sizing: border-box;
    height: 3vw;
    width: fit-content;
    font-size: 1.1vw;
    margin: 0;
    padding: 0;
}

.discount-rate-text {
    box-sizing: border-box;
    margin: 0;
    height: 3vw;
    font-size: 1.1vw;
    align-content: center;
}

.title-container {
    position: relative;
    width: 100%;
    height: 25px;
    display: flex;
    justify-content: center;
}

.stripe {
    background-color: #4AA2D0;
    height: 5px;
    width: 100%;
    position: absolute;
    top: 10px;
    left: 0;
    z-index: 0;
}

.cumulative-value-container {
    display: flex;
    flex-direction: row;
}

.cumulative-value-title {
    display: flex;
    flex-direction: column;
    width: fit-content;
    margin-left: 10px;
}

.cumulative-value-title-main {
    font-size: 1.2vw;
}

.cumulative-value-title-sub {
    font-size: 1vw;
}

.cumulative-value-slider {
    width: 50%;
}

.cumulative-value-result {
    flex: 1;
}

.cumulative-value-result-pt1 {
    font-size: 1.2vw;
}

.cumulative-value-result-pt2 {
    font-size: 1.5vw;
    justify-self: center;
}

.plot-title {
    background-color: #FDFDFD;
    height: 100%;
    padding-left: 10px;
    padding-right: 10px;
    z-index: 1;
}

text.legendtext {
  font-size: 0.6vw !important;
}

.stack-options {
    display: flex;
    flex-direction: row;
    font-size: 1.1vw;
    justify-content: left;
}

.form-check {
    margin-left: 10px;
    align-items: center;
}

.stack-options input[type='radio'] {
    background-color: #FDFDFD;
    border: solid 2px #008059;
}

.stack-options input[type='radio']:checked {
    background-color: #00D29A;
    border: solid 2px #008059;
}

.stack-options input[type='radio']:focus {
    box-shadow: none;
}

.econ-bar-chart {
    margin-left: 10px;
    margin-right: 10px;
}

.financial-container {
    position: absolute;
    top: calc(15px + 16px*1.5 + 2px*2 + 40px);
    left: 0;
    width: 100%;
    height: calc(100vh - (15px + 16px*1.5 + 2px*2 + 40px));
    display: flex;
    flex-direction: column;
}

.filtering-dropdowns {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    margin: 10px;
    height: fit-content;
}

.grant-dropdown {
    width: 30vw;
}

.table-container {
    margin: 10px;
}

.needs-name {
    display: flex;
    flex-direction: row;
}