:root {
    --valve-flowing-color: rgba(0, 153, 0, 0.65);
    --valve-shut-in-color: rgba(204, 0, 0, 0.65);
    --valve-all-color: #646464;
    --nav-height: 80px;
    --footer-height: 60px;
    --vft-color: #3b9968;
}

@page {
    size: auto; /* auto is the initial value */
    /* this affects the margin in the printer settings */
    margin: 5mm 5mm 5mm 5mm;
}

.ag-cell-focus, .ag-cell-no-focus {
    border: none !important;
}

.ag-cell:focus {
    border: none !important;
    outline: none;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /*margin-bottom: 60px;*/
    margin: 0px;
    padding: 0px;
    background-color: #fefefe;
}



.link-button {
    text-decoration: none;
    border: none;
    background-color: none;
}


.sumcon-details {
    border: dotted 1px;
    padding: 5px;
    margin-bottom: 15px;
}

td {
    padding-right: 25px;
}

.util-button {
    display: inline-block;
    align-items: center;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.25rem;
    background-color: white;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .util-button:hover {
        background-color: #F9FAFB;
    }

    .util-button .icon {
        margin-right: 0.25rem;
    }

input[type="checkbox"].btn-check:checked + .util-button {
    font-weight: 700;
}

.util-button-blue {
    background-color: #3498db;
    display: inline-block;
    align-items: center;
    white-space: nowrap;
    font-size: 0.875rem;
    color: #374151;
    padding: 0.25rem 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .util-button-blue:hover {
        background-color: #1475b6;
    }

    .util-button-blue .icon {
        margin-right: 0.25rem;
    }

.util-button-primary {
    background-color: #484848;
    display: inline-block;
    align-items: center;
    white-space: nowrap;
    font-size: 0.875rem;
    color: white;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(27, 31, 35, 0.15);
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .util-button-primary:hover {
        background-color: #474747;
    }

    .util-button-primary .icon {
        margin-right: 0.25rem;
    }

.util-button-danger {
    background-color: #d52727;
    display: inline-block;
    align-items: center;
    white-space: nowrap;
    font-size: 0.875rem;
    color: white;
    padding: 0.25rem 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .util-button-danger:hover {
        background-color: #ba2424;
    }

    .util-button-danger .icon {
        margin-right: 0.25rem;
    }

.util-button-green {
    background-color: #3b9968;
    display: inline-block;
    align-items: center;
    white-space: nowrap;
    font-size: 0.875rem;
    color: white;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(27, 31, 35, 0.15);
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .util-button-green:hover {
        background-color: #389464;
    }

    .util-button-green .icon {
        margin-right: 0.25rem;
    }

.color-rectangle {
    width: 50%;
    height: 10px;
    border: 1px solid black;
}

.form-check-input:focus,
.form-control:focus {
    border-color: #28a745;
    box-shadow: 0 0 0.1rem 0.2rem rgba(40, 167, 69, 0.1);
}

.btn:focus {
    border-color: none;
    box-shadow: none;
}


.custom-loader {
    width: 16px;
    height: 16px;
    display: grid;
    border-radius: 50%;
    -webkit-mask: radial-gradient(farthest-side,#0000 40%,#000 41%);
    background: linear-gradient(0deg,#1F6A4780 50%,#1F6A47FF 0) center/2px 100%, linear-gradient(90deg,#1F6A4740 50%,#1F6A47BF 0) center/100% 2px;
    background-repeat: no-repeat;
    animation: s3 1s infinite steps(12);
}

    .custom-loader::before,
    .custom-loader::after {
        content: "";
        grid-area: 1/1;
        border-radius: 50%;
        background: inherit;
        opacity: 0.915;
        transform: rotate(30deg);
    }

    .custom-loader::after {
        opacity: 0.83;
        transform: rotate(60deg);
    }

@keyframes s3 {
    100% {
        transform: rotate(1turn)
    }
}

#map {
    height: 180px;
}

.pill-button {
    border-radius: 10px;
    border: 1px solid;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff;
    background-color: #000;
    cursor: pointer;
    user-select: none;
}


    .pill-button:focus {
        box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
    }

.btn-check:not(:checked):not(:hover) + .pill-button {
    opacity: 50%;
    border-color: none;
}

.btn-check:not(:checked):hover + .pill-button {
    opacity: 80%;
    border-color: none;
}

.bullet {
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #3498db;
    margin-right: 5px;
    vertical-align: middle;
}

.big-bullet {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #3498db;
    margin-right: 5px;
    vertical-align: middle;
}

.bolden-on-hover:hover {
    font-weight: bolder;
}

.darken-element-hover:hover {
    filter: brightness(0.97);
}

.pill-container {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 10px; /* 1/8 of the pill width */
}

.code-label-lg {
    background-color: #f1f1f1;
    border-radius: 0.25rem;
    padding: 0.2rem 0.4rem;
    font-size: 1em;
    font-weight: 500;
    color: #303030;
}

.markdown-text {
    background-color: #f1f1f1;
    border-radius: 0.25rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.9em;
    font-weight: 500;
    color: #303030;
    border: none;
}

/*
 * Upon this breakpoint, we want to modify the structure of the page to be more
 * user-friendly on mobile devices.
 */
@media only screen and (max-width: 900px) {

    .cell-bg {
        border-radius: 0.6rem !important;
    }
}

.sidebar-item {
    cursor: pointer;
    border-radius: 5px;
    padding: 6px 10px;
    font-size: 0.92rem;
}

.sidebar-item:hover {
    background-color: #f6f6f6;
}
.sidebar-padding {
    padding: 6px 10px;
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.cell-button {
    background-color: #fff;
    color: #151515;
    border: none;
    cursor: pointer;
    padding: 0 25px 0 25px;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
}
    .cell-button:hover {
        color: #151515;
        background-color: #f5f6fb
    }