/*
Navigation bar styles
*/

/* Notification section */
.notification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3.75rem;
    background-color: #ffba31;
    border-radius: 0px 0px 15px 15px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    z-index: 1000;
}

.notification-icon {
    height: 2rem;
    margin: 0vh 1rem 0vh 1rem;
}

.notification .close-btn {
    background: none;
    border: none
}

.notification .hidden {
    display: none;
}

.notif-button {
    background: none;
    color: #000;
    border: none;
    opacity: 0.6;
    font-size: 150%;
}

.notif-button:hover {
    opacity: 1.0;
}

/* Navigation bar to the left */
.left-sticky-navbar {
    background-color: #009CDD;
    opacity: 1;
    position: fixed;
    /* Fixed position to stay in place */
    top: 0;
    /* Align to the top */
    bottom: 0;
    left: 0;
    /* Align to the left */
    width: 20vw;
    /* Adjust based on your preference */
    height: 100vh;
    /* Full height */

    overflow-x: hidden;
    /* Prevent horizontal scroll */
    overflow-y: auto;
    padding: 2.5vh 2vh 2vh 2vh;
    /* Spacing from the top */
    z-index: 1;
    /* Ensure it stays on top of other content */
    display: flex;
    flex-direction: column;
    border-radius: 0px 2rem 2rem 0px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .left-sticky-navbar {
        width: 80vw;
        max-width: 300px;
        transform: translateX(100%);
        right: 0;
        left: auto;
        z-index: 2001;
        border-radius: 2rem 0 0 2rem !important;
        position: fixed;
        top: 0;
        bottom: 0;
        height: 100vh;
        overflow-y: auto;
        /* <-- scrollable */
        -webkit-overflow-scrolling: touch;
        /* <-- smooth iOS scrolling */
        padding-bottom: 8rem;
    }

    .left-sticky-navbar.active {
        transform: translateX(0);
        /* Slide in from right */
    }

    body {
        padding-left: 0 !important;
    }
}

/* Hamburger button */
.nav-toggle-button {
    display: none;
}

@media (max-width: 768px) {
    .nav-toggle-button {
        display: block;
        position: fixed;
        top: 0px;
        right: 0px;
        /* <- move to right */
        z-index: 2100;
        font-size: 32px;
        background: none;
        border: none;
        color: black;
        cursor: pointer;
    }
}

/* Fullscreen dark backdrop on mobile */
#nav-backdrop {
    display: none;
}

@media (max-width: 768px) {
    #nav-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 2000;
    }

    #nav-backdrop.active {
        display: block;
    }
}


.top-nav-items {
    flex: 1;
    max-height: 60vh;
    padding: 0.5rem 0rem;

}

/* Navigation items in the bottom */
.nav-bottom {
    padding: 0.5rem 0rem;
    width: 100%;
    max-width: 100%;

    margin-top: auto;
    /* Push to bottom in flex container */
}



.navbar-nav>li>a:hover {
    background-color: rgb(36, 117, 128);
}

.navbar-collapse {
    display: flex;
    flex-direction: column;
}

.nav-header {
    display: block;
    padding: 10px;
    padding-left: 12%;
    margin: 0 0 10% 10%;
}

.nav-header>a:hover {
    background-color: rgb(36, 117, 128);
}

.user-section img {
    padding-left: 16px;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.greeting {
    padding-left: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 100%;
}

.nav-items {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: space-between;

    scrollbar-color: #017bac #009CDD;
    scrollbar-width: thin;
    scrollbar-gutter: stable both-edges;
}

.nav-items li {

    display: flex;
    align-items: center;


}

@media (max-width: 768px) {
    .nav-items li {
        margin-bottom: 10px;
        /* Space between items */
    }
}

.nav-item {
    /* padding-left: 10px; */

    width: 100%;

    display: flex;
    align-items: center;
}

.nav-item i {
    color: #ffffff;
    /* font-size: 14px; */
    margin-right: 10px;
    width: 16px;
    height: 16px;
    text-align: center;
    display: inline-block;
}

.nav-item img {
    /* color: #ffffff; */
    /* font-size: 14px; */
    margin-right: 5px;
    width: 25px;
    height: 25px;
    text-align: center;
    display: inline-block;
    padding-bottom: 2px;
}

.nav-item a {
    font-size: 2vh;
}

.nav-item.active a {
    /* font-size: 2.2vh; */
    font-weight: 600;
}

.nav-item.active img {
    /* transform: scale(1.2); */
    filter: drop-shadow(0 0 5px #2061a8);
    opacity: 1;
    transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

.nav-link-content {
    display: flex;
    align-items: center;
    width: 100%;
    /* Ensure the flex container takes the full width of the nav-item */
}

.nav-bottom .support-section {
    padding: 0.5rem 0rem;
    width: 100%;
}


img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


.nav-separator {
    margin-left: 10px;
    margin-right: 10px;
    height: 2px;
    /* Thickness of the separator */
    background-color: white;
    /* Color of the separator */
    opacity: 0.6;
    margin-top: 10px;
    /* Top and bottom padding */
    margin-bottom: 10px;
}

@media (max-height: 600px) {
    .left-sticky-navbar {
        overflow-y: auto;
    }
}

body {
    padding-left: 21vw;
    padding-right: 0.5vw;
    font-family: 'Montserrat', sans-serif;
}

.guest-background {
    background-image: url("/static/ui/guest-bg.70e448a24d81.svg");
    background-size: contain;
    background-position: top left;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* min-width: 100vw; */
    min-height: 100vh;
}

.guest-background-div {
    /* height: 100%; */
    min-height: none;
    height: 90%;
    width: 100%;
    background-position: center;
    /* margin-left: 20vw; */
}

/* Sidebar links */
.left-sticky-navbar a {
    padding: 8px 15px;
    width: 100%;
    text-decoration: none;
    font-size: 95%;
    color: white;
    display: block;
}

/* Active/current link */
.left-sticky-navbar a.active {
    background-color: #2d93a0;
    color: white;
}

.left-sticky-navbar a:hover {
    background-color: #017bac;
}


.user-greeting {
    padding-left: 10px;
    padding-top: 2vh;
    padding-bottom: 2vh;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    /* font-size: 1.5vh; */
    max-height: 25vh;
}

@media (max-width: 768px) {
    .user-greeting {
        flex-direction: row;
        gap: 6px;
    }

    .user-image {
        width: 30px;
        height: 30px;
        object-fit: cover;
        border-radius: 50%;
    }
}

.user-image {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
}



/* 
base.html styles
*/
.heading-with-border {
    border-bottom: 1.5px solid rgba(211, 206, 206, 0.6);
    display: inline-block;
    padding-bottom: 5px;
    padding-top: 0.1px;
    margin-top: 0.2px;
    margin-bottom: 4.5vh;
    color: rgb(55, 54, 52);
}

.page-heading-text {
    margin-top: 15px;
    margin-bottom: 0.2px;
    /* font-size: 25px; */
    font-size: 200%;
    padding-bottom: 0.1px;
    font-weight: 500;
}

.page-heading-text p {
    padding-top: 0px;
    padding-bottom: 0px;
}

.page-heading {
    margin-top: 4.7vh;

}

@media (max-width: 768px) {
    .page-heading {
        margin-top: 8vh;
    }

    .top-right-logo {
        width: 40vw !important;
        left: 5px;
        top: 5px;
        margin-top: 0px !important;
    }
}

.top-right-logo {
    position: absolute;
    top: 0;
    right: 0;
    /* max-width: 200px;
    max-height: 80px; */
    /* margin-top: 10px;
    margin-right: 20px; */
    width: 20vw;
    height: auto;
    margin-top: 2.5vh;
    margin-right: 1vw;
}


/* 
dashboard.html styles
*/

.column {
    flex: 1;

    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.column img {
    width: 80px;
    height: auto;
    margin-right: 10px;
}

.machine_summary {
    padding: 8px;
}

.summary-content {
    border: 2px solid #e6f6fe;
    /* min-width: 250px; */
    /* max-width: 750px; */
    /* max-height: 20vh; */

    flex-wrap: wrap;
    border-radius: 30px;
    padding: 10px;
    display: flex;
    align-items: center;
    flex-direction: row;
    margin-bottom: 20px;
    margin-left: 0px;
    box-sizing: border-box;
    flex: 1 1 30%;
    gap: 30px;

    @media (max-width: 768px) {
        border-radius: 15px;
        max-height: 175px;
        justify-content: center;
        gap: 0px !important;

    }
}

.summary-text {
    /* font-size: 2.7vh; */
    font-size: 125%;
    text-align: left;
    color: #009CDD;
    white-space: normal;
    overflow-wrap: break-word;

    @media (max-width: 768px) {
        font-size: 100%;
        align-items: center;
        text-align: center;

    }
}


.summary-content img {
    height: auto;
    width: 150px;

    @media (max-width: 768px) {
        margin-right: 0px;
        width: 80px;

    }

}

.summary-stat {
    padding-top: 5px;
    padding-bottom: 5px;
    display: flex;
    gap: 8px
}

.news-image {
    max-width: 40vw;
    max-height: 35vh;
    border-radius: 30px;

}

.news-content {
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.news-content-wrapper {
    border: 2px solid #e6f6fedf;
    border-radius: 35px;
    padding: 1.2rem 1.2rem;
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
}

.news-heading {
    max-height: 25;
    /* font-size: 2.5vh; */
    font-size: 125%;
    font-weight: 450;
    text-align: left;
    margin-left: 10px;
    margin-top: 10px;
}

.news-text {
    /* font-size: 2vh; */
    font-size: 95%;
    justify-content: left;
    /* padding: 6px; */
    text-align: left;
    margin-left: 10px;
    font-weight: 300;
}

/* Mobile styles */
@media (max-width: 768px) {
    .news-content-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .news-heading {
        order: -1;
        /* Move heading to top */
        width: 100%;
        text-align: left;
        margin-bottom: 1rem;
        margin-left: 0px;
    }

    .news-image {

        order: 0;
        /* Image in middle */
        width: 100%;
        max-width: 100%;
        border-radius: 30px;
    }

    .news-text {
        order: 1;
        /* Text last */
        text-align: left;
        margin-left: 0px;
    }
}

.section-heading {
    /* font-family:'Roboto', sans-serif; */
    font-weight: bold;
    font-size: 2.6vh;
    padding-top: 1.5vh;
    padding-bottom: 0vh;
}

/* 

ESG Reports 

*/

.machine-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 2.0vw;
    margin-top: 0.5vh;
    margin-bottom: 2vh;
    /* margin-left: 1vw; */
}

.machine-button {
    display: inline-block;
    padding: 1.0vh 2vw;
    border: 2px solid #e6f6fe;
    border-radius: 30px;
    color: #009CDD;
    cursor: pointer;
    transition: background-color 0.3s;

    @media (max-width: 768px) {
        border-radius: 15px;

    }
}

.machine-button:hover,
.machine-button:focus {
    background-color: #46c1f0;
    outline: none;
    color: #ffffff;
    text-decoration: none;
}

.machine-button.active,
.machine-button:checked {
    background-color: #46c1f0;
    outline: none;
    color: #ffffff;
    text-decoration: none;
}

.download-icon {
    width: 1.75rem;
    height: 1.75rem;
}

.esg-reports-list {
    display: flex;
    flex-direction: column;
    background-color: #F1F1F2;
    border-radius: 30px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 40vh;
    margin-top: 2vh;
    box-sizing: border-box;
    padding-bottom: 10px;

    @media (max-width: 768px) {
        border-radius: 15px;
        height: 100%;

    }
}

.esg-report-list::-webkit-scrollbar,
.other-metrics-container::-webkit-scrollbar {
    width: 1vw;
    height: 90%;
}

.esg-header {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    /* border: 2px solid #e6f6fe ; */
    border-radius: 35px;
    color: #7A7979;
    /* padding-top: 0.5vh; */
    /* padding-bottom: 0.5vh; */
    padding-left: 1vh;
    padding-right: 1vh;
    margin-top: 1vh;
    /* margin-bottom: 1vh; */
    margin-left: 2vw;
    margin-right: 0.5vw;
    width: 95%;
    max-height: 5vh;

    /* min-height: 20px; */
    @media (max-width:768px) {
        margin-bottom: 2.5vh;

    }
}

@media (max-width:768px) {
    #rank1 {
        margin-bottom: 0px !important;
        padding-top: 0.5vh;
        padding-bottom: 0.5vh;
    }

    #rank2 {
        margin-bottom: 0px !important;
        padding-top: 0.5vh;
        padding-bottom: 0.5vh;
    }

    #rank3 {
        margin-bottom: 0px !important;
        padding-top: 0.5vh;
        padding-bottom: 0.5vh;
    }

    #rank4 {
        margin-bottom: 0px !important;
        padding-top: 0.5vh;
        padding-bottom: 0.5vh;
    }

    #rank5 {
        margin-bottom: 0px !important;
        padding-top: 0.5vh;
        padding-bottom: 0.5vh;
    }
}

.esg-report {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #ffffff;
    /* border: 2px solid #e6f6fe ; */
    border-radius: 35px;
    color: #7A7979;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1vh;
    padding-right: 1vh;
    margin-top: 1vh;
    margin-bottom: 1vh;
    margin-left: 2vw;
    margin-right: 0.5vw;
    width: 95%;
    max-height: 4rem;
    /* min-height: 20px; */
    /* transition: background-color 0.3s; */

    @media (max-width: 768px) {
        border-radius: 15px;
    }
}

.esg-report:hover {
    background-color: #46c1f0;
}

.esg-report:hover .esg-report-duration,
.esg-report:hover .esg-report-title {
    color: #ffffff;
}

.esg-report:hover .esg-report-actions .download-icon path {
    fill: #ffffff;
}

.report-title {
    color: #000000 !important;
}

.esg-report-title {
    display: flex;
    color: #414141;
    flex: 2;
    box-sizing: border-box;
    text-align: left;
    justify-content: left;
    padding-left: 2vw;


}

.esg-report-duration {
    display: flex;
    color: #414141;
    flex: 1;
    box-sizing: border-box;
    text-align: left;
    justify-content: left;
    align-items: left;
}

.esg-report-actions {
    display: flex;
    color: #414141;
    flex: 0.5;
    box-sizing: border-box;
    justify-content: center;
    /* padding-right: 2vw; */
}

.report-container {
    overflow-y: auto;
    padding-bottom: 1vh;
    margin-bottom: 1.5vh;

}

.report-container,
.metric-container {
    scrollbar-width: thin;
    scrollbar-color: #7A7979 #F1F1F2;
}


/* 

Machine Statistics Page

*/

.integer-stats,
.float-stats {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 3.0vw;
    margin-top: 2vh;
    margin-bottom: 2vh;
    /* margin-left: 1vw; */
}

/* .integer-stats{
    margin-right: 25%;
} */

.integer-stat {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    border: 2px solid #e6f6fedf;
    border-radius: 32px;
    padding: 0.5vw 0.5vh;

    /* margin: 1vw 1vh; */
    @media (max-width: 768px) {
        border-radius: 15px;
    }
}

.int-metric-val {
    font-weight: 600;
    color: #009CDD;
    /* font-size: 2vh; */
    justify-content: center;
    text-align: center;
    margin-right: 1vw;
    font-size: 100%;
}

.machine-stat-img {
    margin-right: 1vw;
    margin-left: 1.5vw;
    width: 30px;
    height: 30px;
}

.int-stat-label {
    margin-right: 0.75vw;
    font-size: 95%;
}

#machineMessage {
    color: #a81b1b;
    font-weight: 500;
    font-size: 110%;
}

.status-circle {
    /* color: #a81b1b; */
    padding: 1vw;
    border-radius: 50%;
    width: 2vw;
    height: 2vw;
    display: flex;
    background-color: #a81b1b85;

}

.float-stats {
    gap: 3%;
    /* display: flex; */
    /* flex-wrap: wrap; */
    margin-top: 1vh;
    margin-left: 0px;
}

@media (max-width: 768px) {
    .float-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        /* 2 columns */
        gap: 1rem;
        /* space between items */
        padding: 1rem;
    }

    .float-stat-container {
        width: 100%;
    }
}


.float-stat-container {
    width: calc((100%/4) -3%);
    height: 80%;
    border: 2px solid #e6f6fedf;
    border-radius: 32px;
    justify-content: center;
    align-items: center;

    @media (max-width: 768px) {
        border-radius: 15px;

    }

}

.metric-gauge {
    height: auto;
    width: 100%;
    margin-top: 0px;
    justify-content: center;
    align-items: center;
}

.metric-container {
    overflow-y: auto;
    margin-bottom: 1.5vh;
    padding-bottom: 1vh;
}

/* Title for Gage */
svg tspan {
    font-weight: 550;
    color: rgb(26, 24, 24, 0.56);
}

.other-metrics-container {
    display: flex;
    flex-direction: column;
    background-color: #F1F1F2;
    border-radius: 35px 35px;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 32vh;
    margin-top: 2vh;
    margin-bottom: 2vh;
    box-sizing: border-box;

    @media (max-width: 768px) {
        border-radius: 15px;
        max-height: 50vh;

    }
}

.metric-seperator,
.esg-seperator {
    background-color: #7A7979;
    opacity: 0.25;
    height: 2px;
    width: 95%;
    padding: 0.5px;
    margin-left: 2vw;
    margin-right: 0.5vw;
}

.other-metric {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #ffffff;
    /* border: 2px solid #e6f6fe ; */
    border-radius: 25px;
    color: #7A7979;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1vh;
    padding-right: 1vh;
    margin-top: 1vh;
    margin-bottom: 0.5vh;
    margin-left: 2vw;
    margin-right: 0.5vw;
    width: 95%;
    max-height: 4rem;
    /* min-height: 20px; */
    /* transition: background-color 0.2s; */

    @media (max-width: 768px) {
        border-radius: 15px;

    }
}

.other-metric:hover,
.other-metric:hover .other-metric-title,
.other-metric:hover .other-metric-value {
    color: #ffffff;
    background: #46c1f0;
}

.other-metrics-header {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    /* border: 2px solid #e6f6fe ; */
    color: #7A7979;
    /* padding-top: 0.5vh; */
    /* padding-bottom: 0.5vh; */
    padding-left: 1vh;
    padding-right: 1vh;
    margin-top: 0.9vh;
    /* margin-bottom: 0.3vh; */
    margin-left: 2vw;
    margin-right: 0.5vw;
    width: 95%;
    max-height: 4rem;
    position: sticky;
}

.other-metric-search,
.esg-search {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    background-color: #ffffff;
    /* border: 2px solid #e6f6fe ; */
    border: none;
    border-radius: 25px;
    color: #7A7979;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 1vh;
    padding-right: 1vh;
    margin-top: 2vh;
    margin-bottom: 1.0vh;
    margin-left: 2vw;
    margin-right: 0.5vw;
    width: 31%;
    max-height: 4rem;
}

@media (max-width: 768px) {

    .other-metric-search,
    .esg-search {
        width: 60%;
        border-radius: 15px;
    }
}

.other-metric-search:focus,
.esg-search:focus {
    outline: none;
}

.other-metric-search:hover,
.esg-search:hover {
    font-weight: 500;
}

.header-sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: inherit;
}

.other-metric-title {
    display: flex;
    color: #414141;
    flex: 2;
    box-sizing: border-box;
    text-align: left;
    justify-content: left;
    padding-left: 2vw;
}

.other-metric-value {
    display: flex;
    color: #414141;
    flex: 1;
    box-sizing: border-box;
    text-align: left;
    justify-content: right;
    align-items: right;
    margin-right: 1vw;
}

.machine-status-message {
    display: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: center;
    font-weight: 600;
    border: 2px solid #e6f6fedf;
    border-radius: 32px;
    /* padding: 1vw 0.6vh; */

    /* padding: 1vw 0.75vh; */
    /* margin-top: 1vh ;
    margin-bottom: 1vh ;
    margin-left: 1vw;
    margin-right: 0vw; */
    width: 25%;
}

.machine-status-text {
    display: flex;
    justify-content: center;
    text-align: left;
    flex: 2;
    padding-left: 15%;
    padding-right: 15%;
    margin-right: 0px;
}

.machine-status-offline-img {
    margin-right: 1vw;
    margin-left: 1.5vw;
    flex: 1;
    width: 2.45vw;
    height: 2.45vw;
    padding: 0px 0px 0px 0px;
    border-radius: 50%;
    background-color: #a81b1b;
}

/* 

Resources Page

*/

.resource-actions {
    justify-content: right;
    margin-right: 0.7vw;
}

.footnote {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    margin-top: 2.5vh;
    margin-bottom: 2vh;
    margin-left: 1vw;
}

.footnote-text {
    display: inline-block;
    padding-top: 1.0vh;
    padding-bottom: 1.0vh;
    font-weight: 450;
    font-size: 2.5vh;
    cursor: pointer;
    transition: background-color 0.3s;
}

.footnote .footnote-link a {
    margin-left: 12px;
    display: inline-block;
    padding: 0.5vh 1.0vw;
    border: 2px solid #e6f6fe;
    border-radius: 30px;
    background-color: #009CDD;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s;
}

.footnote .footnote-link a:hover {
    text-decoration: none;
    color: #009CDD;
    background-color: #ffffff;
    border: 2px solid #009CDD;
}

/* 

Contact Us form

*/

.form-style {
    width: 90%;
    padding-top: 2vh;
}

.submit-form {
    display: inline-block;
    padding: 1vh 2vh;
    border: 2px solid #e6f6fe;
    border-radius: 30px;
    background-color: #009CDD;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1vh;
    margin-bottom: 1vh;
    text-align: center;
}

.submit-form a:hover,
.submit-form:hover {
    color: #ffffff;
    text-decoration: none;
}

.submit-form:hover {
    color: #009CDD;
    background-color: #ffffff;
}

.form-container {
    display: flex;
    flex-direction: column;
    background-color: #F1F1F2;
    border-radius: 35px;
    overflow-y: auto;
    overflow-x: hidden;
    /* margin-top: 4%; */
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.form-row {
    display: flex;
    width: 100%;
    margin-bottom: 1vh;
    padding-top: 0.9vh;
    /* padding-bottom: 1vh; */
}

.form-full-width {
    flex: 1;
    text-align: center;
    box-sizing: border-box;
}

.form-full-width:not(:last-child) {
    margin-right: 1.5vw;
}

.form-input {
    border-radius: 20px;
    color: #7A7979;
    border: none;
    padding-top: 0.5vh;
    padding-bottom: 0.5vh;
    padding-left: 0.75vw;
    padding-right: 0.75vw;
    width: 100%;
}

.form-full-width label {
    display: block;
    /* Or inline-block, depending on desired layout */
    text-align: left;
    /* Aligns label text to the left */
    font-weight: 300;
    margin-bottom: 0.5vh;
    /* Adds some space between the label and the input */
    margin-left: 0.125vw;
    color: rgb(26, 24, 24);
    font-size: 90%;
    padding-top: 5px;
}

/* Extend input field */
.form-input-stretch {
    flex-grow: 1;
}

/* Aligns label and input in same line */
.coalign-form-input {
    display: flex;
    align-items: center;
    /* Vertically centers the items in the container */
    justify-content: center;
    /* Horizontally centers the items, adjust as needed */
    flex-wrap: wrap;
    /* Allows items to wrap if not enough space */
    box-sizing: border-box;
}

.coalign-form-input label {
    flex: 0 0 auto;
    margin-right: 1vw;
    text-align: left;
}

.padded-form-container {
    padding-left: 20%;
    padding-right: 20%;
    padding-top: 20%;
    padding-bottom: 20%;
    max-height: 75vh;
    overflow-y: hidden;
}

.contact-form-place {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10% auto;
    width: 100%;
    height: 80vh;
}

@media (max-width: 768px) {
    #change-password-form {
        padding: 2rem 5rem 0rem 5rem !important;
    }
}



/* 

Supply Request Form

*/

.form-limiter {
    max-height: 75vh;
}

.heading-row {
    justify-content: flex-start;
    font-weight: 500;
    font-size: 2.1vh;
    font-weight: 400;
    padding-top: 2vh;
    margin-bottom: 0vh;
}

.form-input-supplies {
    width: auto;
    margin-left: 1vw;
    flex-grow: 1;
}

.centered-form-container {
    width: 80%;
    margin-left: 10%;
    margin-right: 7.5%;
}

.supply-review-container {
    padding-top: 2%;
}

.edit-form {
    display: inline-block;
    padding: 1vh 2vh;
    border: 2px solid #e6f6fe;
    background-color: #ffffff;
    border-radius: 30px;
    color: #009CDD;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1vh;
    margin-bottom: 1vh;
    text-decoration: none;
    text-align: center;
}

.edit-form:hover {
    text-decoration: none;
    color: #ffffff;
    background-color: #009CDD;
    /* font-weight: 600; */
}

.transparent {
    opacity: 0.75;
}

.supply-unit {
    flex: 0.5;
    text-align: left;
    font-size: 1.8vh;
    display: inline-block;
}

.supply-container {
    display: flex;
    flex-direction: row;
    margin-left: 0px;
    width: 100%;



    @media (max-width: 768px) {
        .form-input {
            border-radius: 10px;
            width: 100%;
            height: 40px;

        }

    }
}

@media (max-width: 768px) {
    #supplyForm .form-row {
        width: 80% !important;
    }

    .form-container {
        border-radius: 15px;
    }
}

/* 

Login Form

*/

.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    right: 15vw;
    height: 100%;
    width: 40%;
    max-width: 400px;
    flex-direction: column;
    box-sizing: border-box;

}

.login-form {
    /* max-width: 30vw; */
    width: 100%;
    text-align: center;
    justify-content: center;
    /* margin-right: 10%; */
}

@media (max-width:1366px) {
    .login-container {

        width: 70%;
    }

    .login-form {
        align-items: center;
    }
}

.login-logo {
    /* width: 20vw; */
    width: 90%;
    /* padding-right: 5%; */
    padding: 2vh auto;
    justify-content: center;
    margin-right: 2.5%;
}

.login-input-container {
    width: 80%;
    justify-content: left;
    /* margin-left: 5%; */
    /* margin-top: 10%; */
    margin: 1vh auto;
    padding: 2vh;
}

.login-input {
    border-radius: 20px;
    border: 1px solid rgb(26, 24, 24, 0.47);
    background-color: #ffffff;
    color: #7A7979;
    padding-top: 0.5vh;
    padding-bottom: 0.5vh;
    padding-left: 0.75vw;
    padding-right: 0.75vw;
    /* margin-left: 20%; */
    display: block;
    width: 100%
}

.login-input:focus,
.login-input:active,
.login-input:focus-visible {
    border: 1px solid rgb(26, 24, 24, 0.47);
}

.login-link {
    padding-top: 0.25vh;
    display: block;
    justify-content: left;
    text-align: left;
    color: rgb(26, 24, 24, 0.56);
    text-decoration: none;
    margin-left: 0.125vw;
    font-size: 90%;
    margin-top: 7px;
}

.login-link:hover {
    color: rgb(26, 24, 24, 0.56);
    text-decoration: none;
}

.login-error {
    padding: 8px 10px;
    /* margin-left: 32%; */
    justify-items: center;
    flex: 0.8;
    background-color: #e97a7ab6;
    color: #a81b1b;
    /* border: 2px solid #0000003b; */
    border-radius: 30px;

    @media (max-width: 768px) {
        border-radius: 15px;
    }
}


/* 

Forgot Password Page

*/

.form-heading-text {
    font-size: 3vh;
    color: #009CDD;
    font-weight: 500;
    display: flex;
    justify-content: left;
}

.form-subheading-text {
    display: flex;
    justify-content: left;
    text-align: left;
    color: #7A7979;
    font-size: 2vh;
}

.back-button {
    background-color: #F1F1F2;
    color: rgb(26, 24, 24);
    margin-right: 10px;

}


.back-button:hover,
.back-button:focus {
    color: rgb(26, 24, 24);
    text-decoration: none;
}

.confirm-back-button {
    display: flex;
    justify-content: left;
    align-items: left;
}

/* 

Efficieincy Page

*/

.date-selection {
    display: none;
}

.efficiency-stat-container {
    margin-top: 1vh;
    gap: 8px;
    display: flex;
}

.efficiency-stat-content {
    /* padding: 1px; */
    display: flex;
    overflow-y: hidden;
    flex-direction: column;
    text-align: left;
    padding-left: 3%;
    width: 50%;
    align-items: center;
    justify-content: start;
    padding: 2vh 1.5vw;
    overflow-y: auto;
    scrollbar-width: none;
    max-height: 100%;

    @media (max-width: 768px) {
        img {
            width: 55px !important;
        }
    }
}



.inner-column {
    /* flex-direction: column */
    /* width: 50%; */
    flex: 1;
}

.date-selector-options {
    flex-direction: column;
    margin: 1vh;
}

.efficiency-divider {
    width: 1.5px;
    padding: 0.5px;
    background-color: #009CDD;
    margin: 0 10px;
    height: 85%;
}

.date-divider {
    background-color: #e6f6fe;
}

#calendar-container {
    justify-content: left;
    align-items: center;
}

#calendar-container input {
    padding-right: 0.25vw;
    padding-left: 0.75vw;
    border: 1px solid #7A7979;
}

#calendar-container label {
    font-weight: 450;
}

.bottom-button {
    /* margin-top: auto; */
    width: 100%;
}

.submit-container {
    margin-top: auto;
    width: 100%;
    bottom: 0;
}

.column-stack {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
    margin: 0vh 1vw;
}

.eff-data {
    color: #009CDD;
    text-align: left;
    justify-content: center;
    padding-left: 10%;
    padding-top: 0px;
    margin-top: 0px;
    font-size: 100%;
}

.data-for-text {
    padding-top: 0px;
    margin-top: 0px;
    font-size: 140%;
    font-weight: 450;
}

.date-selection-label {
    padding: 4px 8px;
    width: 100%;
    font-size: 85%;
    text-align: center;
}

.container-heading {
    display: flex;
    width: 100%;
    /* border-bottom: 2px solid rgba(211, 206, 206, 0.677); */
    text-align: left;
    padding-bottom: 5px;
    font-size: 90%;
    margin-bottom: 1.25%;
    padding: 2px 10px 1px 2px;
}

@media (max-width: 768px) {
    .efficiency-stat-container {
        flex-direction: column;
        gap: 2vh;
        margin-top: 1vh;
        padding: 0 1vw;
    }

    .efficiency-stat-content {
        width: 100% !important;
        height: auto;
        padding: 2vh 4vw;
        margin: 0;
        border-radius: 15px !important;
    }

    .column {
        width: 100% !important;
        display: flex;
    }

    .column-stack {
        margin-top: 1vh;
        flex-direction: column;
        align-items: flex-start;
    }

    .date-selector-options {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .date-selection-label {
        margin: 0.5vh 1vw;
        font-size: 90%;
    }

    .bottom-button {
        width: 100%;
    }

    #calendar-container {
        display: flex;
        flex-direction: column;
        gap: 1vh;
        align-items: center;
        width: 100%;
    }

    #calendar-container input {
        width: 100%;
    }

    .submit-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .submit-form {
        width: 100%;
    }

    .eff-data {
        padding-left: 0;
        text-align: center;
        width: 100%;
    }

    .data-for-text {
        text-align: center;
        font-size: 130%;
    }


}


.error-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 5vh;
}

.error-message ul {
    list-style: none;
    margin-bottom: 0px;
    padding-left: 0px;
}

.error-message {
    flex: 0.5;
    font-size: 80%;
    padding: 8px 10px;
    text-align: center;
    background-color: #e97a7ab6;
    color: #a81b1b;
    border-radius: 20px;
}

/* 

Loading animation

*/

.loader {
    border: 8px solid #f1f1f2;
    /* Light grey */
    border-top: 8px solid #009CDD;
    /* Blue */
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 2s ease-in-out infinite;
    position: fixed;
    /* Or absolute */
    left: 55%;
    top: 40%;
    z-index: 9999;
    display: none;
    /* Hidden by default */

}

@media (max-width: 768px) {
    .loader {
        width: 60px;
        height: 60px;
        left: 50%;
        top: 45%;
        transform: translate(-50%, -50%);
    }
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*

Media Queries

*/

@media (max-width:1030px) {
    .left-sticky-navbar a {
        font-size: 85%;
    }
}

@media (max-width:1280px) {
    body {
        font-size: 1.35rem;
    }
}

/* 720p */
@media (min-width: 1280px) and (max-width: 1919px) {
    .left-sticky-navbar a {
        padding: 1rem 2rem;
    }

    .heading-with-border {
        font-size: 1.5rem;
    }

    .user-greeting,
    .page-heading-text,
    .top-right-logo {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }

    .user-image {
        height: 6rem;
        width: 6rem;
    }

    .section-heading {
        font-size: 2.25rem;
    }

    body {
        font-size: 1.5rem
    }
}

/* 1080p */
@media (min-width: 1920px) {
    .left-sticky-navbar a {
        padding: 2rem 0rem 2rem 4rem;
        /* margin-left: 1vw; */
    }

    /* 
    .support-section ul{
        margin-left: 1vw;
    } */

    .user-greeting {
        margin-left: 1vw;
    }

    .heading-with-border {
        font-size: 2.2rem;
    }

    .user-greeting,
    .page-heading-text,
    .top-right-logo {
        margin-top: 2rem;
        padding-top: 1rem;
    }

    .user-image {
        height: 6.5rem;
        width: 6.5rem;
    }

    .section-heading {
        font-size: 3.125rem;
    }

    body {
        font-size: 2.125rem;
    }

    .container-divider {
        height: 95%;
    }

    .container-heading {
        font-size: 100%;
    }
}

@media (min-height:700px) {
    .left-sticky-navbar {
        border-radius: 0rem 3rem 3rem 0rem;
    }
}

/* Targets the scrollbar itself */
::-webkit-scrollbar {
    width: 5px;
    /* or any smaller size */
    height: 5px;
    /* needed for horizontal scrollbars */
}

/* Targets the draggable part of the scrollbar */
::-webkit-scrollbar-thumb {
    background-color: #7A7979;
    border-radius: 4px;
}

/* Targets the part of the scrollbar track that's not covered by the thumb */
::-webkit-scrollbar-track {
    background: #f1f1f2;
}

/* 

Leaderboard CSS

*/

.leaderboard-title {
    display: flex;
    flex: 4;
    background-color: #009CDD;
    border-radius: 0px 0px 30px 0px;
    padding: 3vh 2vw;
    color: #F1F1F2;
    align-items: center;
    margin: 0 auto;

    @media (max-width: 768px) {
        flex: auto;
    }

}

.leaderboard-logo {
    flex: 1;
    padding: 1vh 1vw;

    @media (max-width: 768px) {
        display: none;
    }

}

.leaderboard-heading {
    font-size: 175%;
    font-weight: 500;
}

.title-column {
    margin: 1.5vh 1.5vw 1.5vh 0vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.leaderboard-container {
    display: flex;

}

.leaderboard-record {
    background-color: none;

}

.leaderboard-record:hover {
    background-color: none;
}

.list {
    flex: 1;
    margin: 1vh 0.75vw;
    border: 2px solid #e6f6fedf;
    border-radius: 30px;
    padding: 1vw 1vh;
    /* max-height: 67.5vh; */
    min-height: 40vh;
    width: 100%;
}

.list-name {
    text-align: center;
    font-weight: 600;
    font-size: 150%;
    margin-bottom: 0.5vh;
    color: #009CDD;
}

.list-container-name {
    text-align: left;
}

.list-column-container {
    background-color: #7A7979;

}

.leaderboard-list {
    overflow-y: none;
    overflow-x: none;
    /* min-height:40%; */
    /* max-height:50vh; */
    margin-top: 0vh;
    margin-bottom: 1.5vh;
    margin-left: 1.5vh;
    margin-right: 1.5vh;
    padding: 1vh 0vw 2vh 1vw;
    color: #231F20;

}

.leaderboard-label {
    text-align: left;
    letter-spacing: 0px;
    color: #231F20;
    opacity: 1;
    padding-left: 2vw;
    margin-bottom: 0.5vh;
}

.monthly-top-heading {
    /* flex: 1; */
    font-size: 120%;
    font-weight: 600;
    text-align: left;
    padding: 0vh 0.5vw;
    margin: 2.5vh 2.0vw 1.5vh 2.5vw;
    color: #231F20;

    @media (max-width: 768px) {
        font-size: 100% !important;
    }
}

.monthly-top-production {
    display: flex;
    flex: 1;
    max-width: 40vw;
    background-color: #F1F1F2;
    border-radius: 30px;
    margin-right: 2.25vw;
    margin-top: 2vh;
    margin-bottom: 1vh;
    font-size: 110%;
}

.leaderboard-img {
    vertical-align: middle;
    height: 5.5rem;
    width: 5.5rem;
    margin: 1.5vh 1.5vw;
}

@media (max-width: 768px) {
    .leaderboard-container {
        display: block;
        flex-direction: column;
    }

    .monthly-top-production {
        align-items: center;
        text-align: center;
        max-width: 100%;
        padding: 1vh 2vw;
        gap: 1vh;
    }

    .leaderboard-img {
        width: 4rem;
        height: 4rem;
        margin: 1vh auto;
        /* Center the image */
    }

    .title-column {
        margin: 0;
        justify-content: center;
        word-wrap: break-word;
        white-space: normal;
        width: 100%;
    }

    .title-column div {
        justify-content: center;
        flex-wrap: wrap;
        text-align: center;
    }
}


.rank-1-row {
    background-color: rgba(40, 171, 226, 0.65);
    font-weight: 510;
    color: #000;
    /* width: auto; */
}

.rank-2-row {
    background-color: rgba(70, 192, 239, 0.65);
    color: #000;
    /* width: auto; */
}

.rank-3-row {
    background-color: rgba(129, 211, 243, 0.65);
    color: #000;
    /* width: auto; */
}

.lb {
    color: #000;
}

/* 

Product Hub

*/

.product-hub-wrapper {
    width: 100%;
    border: 2px solid #e6f6fedf;
    border-radius: 35px;
    padding: 1.5rem 1.5rem;
    justify-content: center;
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;

    @media (max-width: 768px) {
        flex-direction: column;
        height: 100% !important;
        padding: 1.5rem 1.5rem;
    }
}


.product-image {
    display: flex;
    flex: 2;

    padding: 0vh;
    object-fit: cover;
    width: 50%;
    height: 100%;
    border-radius: 28px;

    @media (max-width: 768px) {
        margin: 0;
        width: 100%;
        border-radius: 18px
    }
}

.product-text {
    font-size: 100%;
    margin: 1vh 1vw;
    justify-content: left;
    padding: 1vh 1vw;
    text-align: left;
    /* font-weight: 300; */
}

.product-button-container {
    text-align: left;
    margin: 0vh 1vw;
    justify-content: left;
    padding: 0vh 1vw;
}

.product-hub-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #CDCECD #fff;
}

/* 

Resource Library V2

*/

.content-container {
    overflow-y: auto;
    width: 100%;
    margin: 0px;
    padding: 0px;
    max-height: 70vh;
    scrollbar-width: thin;
}

.content-container::-webkit-scrollbar {
    width: 8px;
}

.major-resource-parent {
    overflow-y: auto;
    width: 100%;
    margin: 0px;
    padding: 0vh 0.5vw;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 25px;
}

.major-resource-container {
    border: 2px solid #E7F6FE;
    display: flex;
    flex-direction: column;
    border-radius: 30px;
    padding: 10px 12px;
    max-width: 32%;

    @media (max-width: 768px) {
        border-radius: 15px
    }
}

.major-resource-img {
    border-radius: 30px 30px 0px 0px;

    @media (max-width: 768px) {
        border-radius: 10px
    }
}

.major-resource-title {
    font-size: 100%;
    font-weight: 500;
    margin: 0.5vh 0vw 0.25vh 0.5vw;
}

.major-resource-description {
    font-size: 75%;
    opacity: 0.8;
    font-size: 75%;
    margin: 0vh 0vw 0.5vh 0.5vw;
    text-align: left;
}

.resource-list-container {
    display: flex;
    flex-direction: row;
    background-color: #F1F1F2;
    border-radius: 30px;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 2vh;
    box-sizing: border-box;


    /* justify-content: space-evenly; */
    @media (max-width: 768px) {
        border-radius: 15px
    }
}

.minor-resource-container {
    display: flex;
    flex: 1;
    background-color: #ffffff;
    flex-direction: column;
    margin: 1.5vh 0.8vw;
    padding: 1.5vh 0.75vw;
    border-radius: 20px;
    /* height: 12vh; */
    max-width: 32%;

    @media (max-width: 768px) {
        border-radius: 15px
    }
}

@media (max-width: 768px) {
    .minor-resource-container {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .minor-resource-text {
        word-wrap: break-word;
        white-space: normal;
        max-width: 100%;
    }
}


.minor-resource-icon-row {
    display: flex;
    flex-direction: row;
    margin: 0.25vh 1vw 0.25vh 1.5vw;
}

.minor-resource-icon {
    height: 6.5rem;
    flex: 0.5;
    width: auto;
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 0.5rem 1rem;

    @media (max-width: 768px) {
        display: none;
    }
}

@media (max-width: 768px) {
    .minor-resource-img {
        display: none;
    }
}


.minor-resource-icon img {
    height: 100%;
    width: 100%;

    @media (max-width: 768px) {
        display: none;
    }
}

.minor-resource-text {
    text-align: left;
    color: #1A1818;
    flex: 2.5;
    font-size: 100%;
    padding: 0.5vh 0vw 0.5vh 0vw;
    font-weight: 500;
    margin-left: 0.75vw;

    @media (max-width: 768px) {
        margin-left: 0.75vw;
    }

}

.minor-resource-description {
    text-align: left;
    font-size: 70%;
    margin: 0.5vh 1vw;
    padding: 0vh 0.5vw;
}

.resource-link {
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1;
}

.resource-link:hover,
.resource-link:visited {
    text-decoration: none;
}