
.graph-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 400px;  /* Keep graph height fixed */
}

.toggle-button-container {
    display: flex;
    justify-content: flex-end;
    padding-right: 20px;
}

.graph-controls {
    text-align: center;
    margin-top: 10px;
}

.table-container {
    margin-top: 20px;
}

.table-links {
    text-align: center;
    margin-top: 10px;
}


/* Make the slider longer */
#daysRange {
    width: 80%;  /* Adjust the width as needed, larger for easier control */
    max-width: 1000px; /* Optional: Limit max width for responsiveness */
}


/* Graph canvas itself */
#weatherChart {
    width: 90%;  /* Make the graph responsive */
    max-width: 1500px;  /* Optional: Limit max width */
    height: 300px;  /* Set a fixed height */
}


/* Center the links under the slider */
.graph-links {
    margin-top: 10px;  /* Space between slider and links */
    text-align: center; /* Center the links */
}

#toggleGraphBtn {
    display: inline-block;
    padding: 10px 20px;  /* Keeps button size */
    font-size: 10px;
    font-weight: bold;
    text-align: center;  /* ✅ Ensures text is centered */
    border: none;
    background-color: #007bff; /* Example blue color */
    color: white;
    cursor: pointer;
    border-radius: 5px;
    margin-right: 20px;  /* ✅ Adds space on the right */
}

#toggleGraphBtn:hover {
    background-color: #0056b3; /* Darker blue on hover */
}
button {
    width: 60px;
    height: 35px;
    /* Makes it circular
    border-radius: 50%; */
    border-radius: 10%;
    /* Button color */
    background-color: #007bff;
    /* Text color */
    color: white;
    border: none;
    cursor: pointer;
    font-size: 10px;
    font-weight: bold;
    text-align: center;

    /* background-color: lightsteelblue;
    color: black;
    margin-top: 4px;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer; */
}

button:hover {
    background-color: #0056b3;
    /* Darker shade on hover */
}

.link-container {
    display: flex;
    /* Use flexbox to align items on the same line */
    justify-content: space-between;
    /* Space out the items, pushing the first two to the left and the last one to the right */
    align-items: center;
    /* Vertically center the items */
    width: 100%;
    /* Ensure the container takes up the full width */
}

.left-links {
    text-align: left;
    /* Align left links to the left */
}

.right-links {
    text-align: right;
    /* Align right link to the right */
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

th {
    background-color: rgb(112, 180, 203);
    position: sticky;
    top: 0;
    /* Position the header at the top */
    z-index: 2;
    /* Ensure header is above other content */
}


.containerDEV {
    background-color: lightgray;
    text-align: center;
    margin: 1rem;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    grid-auto-rows: 60px;

    grid-template-areas:
        'header header header header header'
        'item-1S item-2 item-3 item-4 item-5'
        'item-1S item-2 item-3 item-4 item-5'
        'item-1S item-2 item-3 item-4 item-5'
        'item-1S item-2 item-3 item-4 item-5'
        'item-1S item-2 item-3 item-4 item-5'
    ;

    max-width: 1500px;
    /* 
    grid-column-gap: 20px;
    grid-row-gap: 20px;
 */

}

.containerDEV>div {
    background-color: green;
    text-align: center;
    padding: 20px 0;
    font-size: 30px;
}

.headerDEV {
    text-align: center;
    background-color: lightpink;

    font-weight: bold;
    font-size: 2rem;
    color: Green;
    grid-row: 1;
    grid-column: 1;
}

.item-1 {
    background-color: lightcyan;
    border: 1px solid blue;
    grid-area: item-1S;
    /* 
    grid-column: 2;
    grid-row: 2;
 */
    font-size: 2rem;
    font-weight: bold;
    /*     text-align: left; */
    align-self: center;
    justify-self: end;
    /* 	text-align: bottom; */
}

.item-2 {

    background-color: yellow;
    border: 1px solid blue;
    grid-column: 3;
    grid-row: 3;
    font-size: 2rem;
    font-weight: bold;
    /*     text-align: left; */
    align-self: center;
    justify-self: end;
    /* 	text-align: bottom; */
}

.item-3 {
    background-color: lightgreen;
    border: 1px solid blue;
    grid-column: 4;
    grid-row: 4;
    font-size: 2rem;
    font-weight: bold;
    /*     text-align: left; */
    align-self: center;
    justify-self: end;
    /* 	text-align: bottom; */
}

.item-4 {
    background-color: lightblue;
    border: 1px solid blue;
    grid-column: 5;
    grid-row: 5;
    font-size: 2rem;
    font-weight: bold;
    /*     text-align: left; */
    align-self: center;
    justify-self: end;
    /* 	text-align: bottom; */
}

.container {
    background-color: black;
    text-align: center;
    /*height: 90vh;*/
    margin: 2rem;
    display: grid;
    align-items: center;
    justify-items: center;
    grid-template-columns: 1fr;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}

.containerAllareas {
    background-color: lightgray;
    text-align: center;
    margin: 1rem;

    display: grid;
    grid-template-columns: 1.5fr 1fr 0.5 1fr 1fr;
    grid-auto-rows: 75px;

    max-width: 1700px;
    /* 
    grid-column-gap: 20px;
    grid-row-gap: 20px;
 */

}

.header {
    text-align: center;
    /*     background-color: lightpink; */
    font-weight: bold;
    font-size: 4.5rem;
    color: Black;
    grid-area: 1 / 1 / 1 / 6;
}

.footer {
    /*     max-height: 150px; */
    /*     background-color: lightgreen; */
    grid-row: 14;
}

.upstairs {
    font-size: 2rem;
    /*     font-weight: bold; */
    display: grid;
    grid-template-columns: 1fr, 1fr, 1fr, 1fr;
    grid-auto-rows: 60px;
    /* 
    align-items: center;
    justify-items: center;
 */
    /*     border-radius: 1rem; */
    /* 
	min-height: 200px;
    max-height: 800px;
    min-width: 450px;
 */
    max-width: 1200px;
    background-color: lightgray;
    grid-column-gap: 20px;
    grid-row-gap: 20px;
}

.area {
    font-size: 2rem;
    font-weight: bold;
    border-radius: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    min-height: 400px;
    max-height: 700px;
    min-width: 925px;
    max-width: 1300px;
    background-color: lightgray;
    border: 1px solid blue;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

.bar {
    display: grid;
    grid-template-columns: 1fr 0.5fr 1fr 1fr 2fr 1fr 1fr 0.5fr;
}

.downstairs {
    font-size: 2rem;
    font-weight: bold;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    align-items: center;
    justify-items: center;
    border-radius: 1rem;
    min-height: 100px;
    max-height: 200px;
    min-width: 200px;
    max-width: 300px;
    background-color: lightgray;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}

.outside {
    font-size: 2rem;
    font-weight: bold;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    border-radius: 1rem;
    min-height: 200px;
    max-height: 800px;
    min-width: 450px;
    max-width: 1050px;
    background-color: white;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}

.hot {
    border-radius: 1rem;
    min-width: 350px;
    max-width: 350px;
    background-color: lightblue;
}

.med {
    border-radius: 1rem;
    min-width: 350px;
    max-width: 350px;
    background-color: lightblue;
}

.cool {
    border-radius: 1rem;
    min-width: 350px;
    max-width: 350px;
    background-color: lightblue;
}

.tempH {
    grid-row: 1;
    grid-column: 1;
}

.WSsetup {
    border-radius: 1rem;
    /* 
    min-height: 150px;
    min-width: 250px;
 */

    background-color: lightblue;
}

.topleftside {
    grid-row: 1;
    grid-column: 1;
}

.toprightside {
    grid-row: 1;
    grid-column: 2;
}

.bottomleftside {
    grid-row: 2;
    grid-column: 1;
}

.bottomrightside {
    grid-row: 2;
    grid-column: 2;
}

.thirdleftside {
    grid-row: 3;
    grid-column: 1;
}

.thirdrightside {
    grid-row: 3;
    grid-column: 2;
}

.forthleftside {
    grid-row: 4;
    grid-column: 1;
}

.forthrightside {
    grid-row: 4;
    grid-column: 2;
}

.fithrightside {
    grid-row: 5;
    grid-column: 2;
}

.fithleftside {

    grid-row: 5;
    grid-column: 1;

}

.stationheader {
    /* 	grid-column: 1; */
    font-size: 3.5rem;
}

.name {
    font-size: 3.5rem;
    font-weight: bold;
    grid-column: 1;
    align-self: center;
    justify-self: end;
    /*     background-color: lightblue; */
}

.datetime {
    font-size: 2rem;
    font-weight: bold;
    grid-column: span 1;
    align-self: center;
    justify-self: center;
    /*     background-color: lightblue; */
}

.counters {
    font-size: 4rem;
    /* 	font-weight: bold; */
    grid-column: 4;
    align-self: center;
    justify-self: start;
    /*     background-color: lightblue; */
}

.temp {
    /* 	grid-column: span 1; */
    grid-column: 2;
    font-size: 3.5rem;
    font-weight: bold;
    align-self: center;
    justify-self: end;
    /* 	background-color: lightblue; */
}

.hum {
    grid-column: 3;
    font-size: 3rem;
    font-weight: bold;
    align-self: center;
    justify-self: end;
}

.ver {
    grid-column: 3;
    font-size: 2rem;
    font-weight: bold;
    /*     text-align: left; */
    align-self: center;
    justify-self: end;
}

.counters {
    grid-column: 4;
    font-size: 2rem;
    font-weight: bold;
    /*     text-align: left; */
    align-self: left;
    justify-self: end;
}

.time {
    grid-column: 3;
    font-size: 2rem;
    font-weight: bold;
    /*     text-align: left; */
    align-self: center;
    justify-self: end;
    /* 	text-align: bottom; */
}

.version {
    /*     grid-column: 3; */
    /*     grid-column: span 3; */
    font-size: 1.5rem;
    font-weight: bold;
}

.tempbig {
    /* 	grid-column: span 5; */
    font-size: 5.5rem;
    font-weight: bold;
    /* 	align-self: center; */
    /* 	justify-self: end; */
    /* 	background-color: lightblue; */
}

.Dad {
    grid-row: 4;
}

.Jack {
    grid-row: 5;
}

.Julianne {
    grid-row: 6;
}

.Art-Room {
    grid-row: 8;
}

.Family-Room {
    grid-row: 7;
}

.Gaming {
    grid-row: 9;
}

.Backyard {
    grid-row: 11;
}

.RV {
    grid-row: 10;
}

.Workshop {
    grid-row: 3;
}

.e-Paper-WS {
    grid-row: 12;
}

.containerAllWS {
    background-color: black;
    text-align: center;
    margin: 1rem;
    display: grid;
    align-items: center;
    justify-items: center;
    grid-template-columns: 1fr;
    grid-row-gap: 5px;
}

.containerWS {
    background-color: black;
    text-align: center;
    margin: 1rem;
    display: grid;
    align-items: center;
    justify-items: center;
    grid-template-columns: 1fr;
    grid-row-gap: 5px;
}


.headerWS {
    font-weight: bold;
    font-size: 2.5rem;
    color: Black;
}

.title {
    color: black;
    background-color: lightgray;
    font-family: Arial;
    font-size: 2rem;
    text-align: center;
    border-radius: 0.5rem;
}

.titlePM1 {
    color: black;
    background-color: green;
    border: 1px solid purple;
    font-family: Arial;
    font-size: 2.5rem;
    text-align: center;
    border-radius: 0.5rem;
}

.titlePM2 {
    color: black;
    background-color: lightblue;
    border: 1px solid purple;
    font-family: Arial;
    font-size: 2.5rem;
    text-align: center;
    border-radius: 0.5rem;
}

.allWS {
    font-size: 2rem;
    font-weight: bold;
    border-radius: 1rem;
    /*min-width: 300px;  */
    display: grid;
    grid-template-columns: 1fr 0.5fr 1fr 1fr 1fr 0.25fr 0.5fr 0.25fr;
    align-items: center;
    justify-items: center;
    min-height: 70px;
    max-height: 150px;
    min-width: 300px;
    max-width: 1300px;
    /* margin: 0 auto;*/
    background-color: white;
    border: 1px solid blue;
}

.current {
    font-size: 2rem;
    font-weight: bold;
    border-radius: 1rem;
    /*min-width: 300px;  */
    display: grid;
    grid-template-columns: 1.25fr 0.2fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    min-height: 70px;
    max-height: 150px;
    min-width: 300px;
    max-width: 1300px;
    /* margin: 0 auto;*/
    background-color: white;
    border: 1px solid blue;
}

.WS {
    font-size: 2rem;
    font-weight: bold;
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    justify-items: center;
    grid-column-gap: 5px;
    grid-row-gap: 5px;
}

.WSchart {
    background-color: lightgray;
    border-radius: 1rem;
    min-height: 300px;
    min-width: 350px;
}

.dust {
    font-size: 4.5rem;
    font-weight: bold;
    border-radius: 1rem;
    /*min-width: 300px;  */
    min-height: 200px;
    max-height: 800px;
    min-width: 350px;
    max-width: 550px;
    /* margin: 0 auto;*/
    background-color: lightblue;
    border: 2px solid green;
}

.embed {
    background-color: white;
}

.footerAllWS {
    text-align: right;
    font-weight: bold;
    font-size: 2rem;
}

/* 
.footerWS {
    color: black;
    font-weight: bold;
    font-size: 2rem;
}
 */
/* 
.footerTIME {
    color: black;
    font-weight: bold;
    font-size: 3rem;
}
 */
.footerTIME {
    color: black;
    font-weight: bold;
    font-size: 2.5rem;
}

.footerTIMEmin {
    text-align: left;
    color: black;
    font-weight: bold;
    font-size: 3.0rem;
}

.footerWS {
    font-weight: bold;
    font-size: 1.5rem;
}


.footerWS2min {
    color: blue;
    font-weight: bold;
    font-size: 1rem;
}

.footerWSoverdue {
    color: red;
    font-weight: bold;
    font-size: 1rem;
}

/* 
.version {
    font-weight: bold;
    font-size: 1.5rem;
}
 */
.trigger {
    font-weight: bold;
    font-size: 1.25rem;
}

.count {
    font-weight: bold;
    font-size: 1.25rem;
}

.timedate {
    font-size: 1.5rem;
}