﻿.widget-body {
    overflow: hidden;
}

    .widget-body hr {
        margin-top: 0;
        margin-bottom: 6px;
    }

.widget-container {
    container-type: size;
}

.widget-parameter-values {
    container-type: inline-size;
}

.widget-parameter-values > div,
.widget-parameter-values > .row,
.widget-parameter-values > .col-12 > .row {
    font-size: clamp(.7rem, 4cqw, 1rem);
    line-height: 1.25;
    color: var(--bs-secondary-color);
    white-space: normal;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Alert: PRISM's licence requires its credit, URL and access date in full, so the credit is never clamped. */
.widget-parameter-values > .weatherAttribution {
    display: block;
}

.widget-detail-header {
    font-size: clamp(.8em, 6.5cqh, 1.7em);
    font-weight: bold;
    padding: 1px;
    margin-top: 4px;
    border-bottom: 1px #e0e0e0 dotted;
    white-space: nowrap;
}

.widget-detail-value {
    font-size: clamp(.8em, 6.5cqh, 1.7em);
    white-space: nowrap;
}

.standard-met {
    margin-right: 2px;
    color: green;
}

.standard-met::after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    margin-left: 3px;
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    content: "\e416";
}


.e-dashboardlayout.e-control .e-panel.e-panel-transition {
    border-radius: 8px !important; /* Adjust the radius value as needed */
    overflow: hidden; /* Ensures the content within the panel also respects the rounded corners */
}

.widget-icon-dollar {
    color: #7dc242 !important;
}

.widget-icon-droplet {
    color: #438ed4 !important;
}

.widget-icon-truck {
    color: #f49000 !important;
}

.widget-icon-screwdriver-wrench {
    color: #9466d6 !important;
}

.widget-icon-users {
    color: #d9579c !important;
}