﻿html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-size: small;
    font-family: "Open Sans", sans-serif;
}

#page {
    width: 100%;
    height: 100%;
    display: table;
}

#pagetop {
    width: 100%;
    height: 92vh;
    display: table;
    margin-top: 3.5em;
}

#innercontent {
    width: 98%;
    margin: auto;
    display: table;
}

#pagebottom {
    width: 100%;
    display: table;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
}

/***** Site Navigation Section *****/
#section-0100 {
    width: 100%;
    display: table;
}

    #section-0100 > #row-0101 {
        width: 100%;
        display: table;
    }

        #section-0100 > #row-0101 > #col-010101 {
            width: 100%;
            display: table;
        }

        #section-0100 > #row-0101 > #col-010102 {
            width: 100%;
            display: table;
        }

        #section-0100 > #row-0101 > #col-010103 {
            width: 100%;
            display: table;
        }

.sort-th {
    color: #eee;
}

.siteLogoImg {
    width: 100%;
}

.sitePunchline {
    color: white;
    display: none;
    font-size: x-large;
    font-style: italic;
}

.siteCompanyDetail {
    padding: 10px;
}

/***** Site Information  Section *****/
#section-0200 {
    width: 100%;
    display: table;
    border: solid px #c9c9c9;
}

    #section-0200 > #row-0201 {
        width: 100%;
        display: table;
    }

        #section-0200 > #row-0201 > #col-020101 {
            width: 100%;
            display: table;
        }

.siteMessage, .siteErrorMessage, .acidMessage {
    width: 100%;
    color: red;
    display: table;
    font-size: smaller;
}

.siteMessage {
    color: #003049;
    padding: 8px 0 8px 0;
}

.userStatus {
    margin-right: 0.5em;
}

/***** Content Section *****/
#section-0300 {
    width: 100%;
    display: table;
    margin-bottom: 2em;
}

    #section-0300 > #row-0301 {
        width: 100%;
        display: table;
    }

        #section-0300 > #row-0301 > #col-030101 {
            width: 100%;
            display: table;
        }

#section-0900 {
    width: 100%;
    display: table;
    border-top: solid 1px #c9c9c9;
}

    #section-0900 > #row-0901 {
        width: 99%;
        margin: auto;
        display: table;
    }

        #section-0900 > #row-0901 > #col-090101 {
            width: 70%;
            display: table;
        }

#maincontent {
    width: 100%;
    margin: auto;
    display: table;
}

.nodata {
    width: 90%;
    color: red;
    padding: 10px;
    display: table;
    font-size: large;
    margin: 1.5em auto;
    border: solid 1px red;
}

.siteCopyright {
    width: 100%;
    display: table;
    font-size: x-small;
    padding: 8px 0 0 8px;
    color: #669bbc;
}



/***** Group Section Start *****/

.group {
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 10px 0;
    align-items: stretch; /* Ensure all items stretch to the same height */
}

.login-group {
    gap: 8px;
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto 10px auto;
    max-width: 400px;
}

.group-item {
    flex-grow: 1;
    display: flex; /* Make the card itself a flex container */
    flex-direction: column; /* Stack content vertically */
}

.card-sm {
    display: flex; /* Make the card a flex container */
    flex-direction: column; /* Stack content vertically */
    flex: 1; /* Ensure the card stretches to the same height */
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: solid 1px #669BBC;
}

.group-heading {
    width: 100%;
    color: #266593;
    font-size: large;
    margin-bottom: 1em;
}

.group-content {
    width: 100%;
}

.group-type {
    width: 100%;
    display: flex;
    border: solid 1px #266593;
}

/***** Group Section End *****/
.blinking-circle {
    width: 15px; /* Size of the circle */
    height: 15px; /* Size of the circle */
    background-color: #4A9F00; /* Green color */
    border-radius: 50%; /* Make it a circle */
    animation: blink 2s infinite; /* Blinking animation */
    margin-right: 6px;
}

/* Define the blinking animation */
@keyframes blink {
    15%, 100% {
        opacity: 1; /* Fully visible */
    }

    50% {
        opacity: 0; /* Fully transparent */
    }
}

.title-container {
    display: flex; /* Use Flexbox to align items horizontally */
    align-items: center; /* Vertically center the circle and title */
}
/***** Zone Section Start *****/

.zone {
    width: 100%;
    display: table;
}

.zone-border {
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: solid 1px #669BBC;
}

.zone-shadow {
    box-shadow: 0px 0px 0px #efefef;
}

.zone-margin-bottom {
    margin-bottom: 1em;
}

.zoneheading {
    width: 100%;
    margin: auto;
    display: table;
    color: #003049;
    font-size: bold;
}

.zoneheadleft {
    width: 30%;
    float: left;
    letter-spacing: -0.050em;
    font-weight: 700;
    color: #003049;
    font-size: 20px;
    margin-bottom: 3px;
}

.zoneheadmiddle {
    width: 20%;
    float: left;
    min-height: 1px;
    text-align: left;
}

.zoneheadright {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 50%;
    float: left;
    min-height: 1px;
    text-align: right;
}

.zonecontentinner {
    width: 96%;
    margin: auto;
    display: table;
    padding: 10px 0;
}

.zonecontent {
    width: 100%;
    margin: auto;
    display: table;
}

.zoneinfo {
    width: 99%;
    margin: auto;
    display: table;
    padding: 5px 0 0 3px;
}

.zonemessage {
    float: left;
    color: red;
    margin: 0;
    padding: 0;
}

.zoneacid {
    width: 100%;
    display: table;
}

.breadcrumb {
    width: 100%;
    padding: 0;
    color: #003049;
    margin: 0 0 12px 0;
    font-size: smaller;
}

.crumb {
    color: #669BBC;
}

.hidden {
    opacity: 0;
    position: absolute;
    width: 0;
}

.close {
    padding: 2px 6px;
    border: 1px solid #266593;
    background-color: #fff;
    cursor: pointer;
}

    .close:before {
        content: '\00d7';
        color: red;
        font-size: 1em;
    }

.exitbutton {
    float: right;
    list-style: none;
    text-align: right;
}

.parentzone {
    width: 100%;
    margin: auto;
    display: table;
    border: solid 1px red;
}

/***** Zone Section End *****/

.zone-acid {
    border-bottom: solid 1px #669BBC;
}


.crumb-item {
    padding: 0;
    margin: 0 0 4px 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
}

.zonecrumb, .zonecrumb:visited, .zonecrumb:hover, .zonecrumb:active {
    padding: 0;
    list-style: none;
    text-decoration: none;
}

.search-box {
    float: left;
    width: 55%;
    display: table;
    margin: 0;
    padding: 0;
    font-size: .90em;
}

.search-container {
    display: flex;
    position: relative;
}

.search-input {
    flex: 1;
    width: 100%; /* Make the input field take up the full width of the container */
    padding: 2px 35px 2px 35px;
    border: 1px solid #669BBC; /* Change border color */
    border-radius: 8px; /* Rounded edges */
    font-size: 16px; /* Adjust font size */
    color: #669BBC; /* Text color */
    background-color: #fff; /* Background color */
    outline: none; /* Remove default focus outline */
    transition: bordatlaser-color 0.3s ease; /* Smooth transition for border color */
}

    /* Placeholder text color */
    .search-input::placeholder {
        color: #669BBC; /* Light blue placeholder text */
    }

.search-icon {
    position: absolute;
    padding-top: 3px;
    padding-left: 5px;
    color: #669BBC; /* Icon color */
    pointer-events: none; /* Ensure the icon doesn't interfere with input */
}

/* Change border color on focus */
.search-input:focus {
    border-color: #007bff; /* Change border color when the input is focused */
}

    /* Hide placeholder text when the input is focused or has content */
    .search-input:focus::placeholder,
    .search-input:not(:placeholder-shown)::placeholder {
        color: transparent; /* Hide placeholder text */
    }

.zone-message {
    float: left;
    width: 30%;
    display: table;
    margin: 0;
    padding: 0;
    font-size: .90em;
    font-weight: bold;
    text-align: left;
}

.add-new {
    float: right;
    width: 15%;
    display: table;
    margin: 0;
    padding: 0;
    font-size: .90em;
    font-weight: bold;
    text-align: right;
}


.zone-container, .zone-container-header {
    width: 100%;
    display: table;
}

.zone-box {
    float: left;
    display: table;
    margin: 1em 0.5em;
}

/***** Graph/Chart Section Start *****/

.chart-container {
    display: flex;
}

.chart {
    width: 100% !important;
    height: 300px !important;
}




/***** Card Section Start *****/

.card-containerx {
    width: 86vw;
    margin: auto;
    margin: 0em 0.5em 1em 0.5em;
}

.card {
    border: solid 1px #c9c9c9;
}

.card-smxx {
    float: left;
    display: table;
    width: 26vw;
    margin: 0em 1em 1em 0em;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border: solid 1px #c9c9c9;
}

.flex {
    display: flex;
}

.card-body {
    position: relative;
    margin: 0;
    padding: 10px;
}

.data-line {
    display: block; /* Ensure each line is a block-level element */
}

.card-title {
    letter-spacing: -0.050em;
    line-height: 1.2;
    font-weight: 700;
    display: block;
    color: #003049;
    font-size: 18px;
}

.env-text {
    font-size: 1.025em;
    line-height: 1.2;
}

.card-text {
    font-size: 1.025em;
    line-height: 1.2;
    display: flex;
}

.key {
    margin-right: 8px; /* Add spacing between the key and value */
    font-weight: bold; /* Optional: Make the key bold */
}

.card-data {
    margin-top: 5px;
    letter-spacing: -0.050em;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.card-left {
    flex: 1;
}

.card-right {
    flex: 1;
    display: table; /* Make the image a block element */
    margin: auto;
    padding-left: 8px;
    padding-top: 8px;
}

.cardchart {
    margin-left: auto; /* Push the image to the right */
    margin-right: auto;
    width: 90px !important;
    height: 90px !important;
}

.card-button {
    display: table;
    margin: 0.5em 0 0 0.5em;
}

.status-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two columns */
    font-size: 14px; /* Compact font size */
}

/* Style for each status item */
.status-item {
    line-height: 1.2;
    display: flex;
    align-items: center;
}

.icon-link {
    display: inline-block;
}

    .icon-link:hover {
        color: #003049
    }

.arrow-icon {
    width: 16px; /* Adjust icon size */
    height: 16px; /* Adjust icon size */
    vertical-align: middle; /* Align the icon properly */
    color: #669BBC;
}

.arrow-container {
    display: flex;
    justify-content: flex-end; /* Align the arrow to the right */
    align-items: flex-end; /* Align the arrow to the bottom */
    margin-top: auto; /* Push the arrow to the bottom */
}

/***** Card Section End *****/
#customLegend {
    font-weight: bold;
    font-size: 12px;
    color: #003049;
    margin-top: 8px;
    margin-top: 8px;
}

    #customLegend ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        #customLegend ul li {
            display: inline-block;
            margin-right: 20px;
        }

            #customLegend ul li span {
                display: inline-block;
                width: 12px;
                height: 12px;
                margin-right: 5px;
            }

/***** Table Section Start *****/

.gridacid {
    background-color: #eee;
}

.b {
    font-weight: 700;
}

.deferred, .inactive {
    color: #780000 !important;
}

.active {
    color: #003049 !important;
}

.pending, .maintenance {
    color: #FFD439 !important;
}

.completed, .healthy {
    color: #4A9F00 !important;
}

.completed2 {
    color: #003049 !important;
}

.file-download {
    width: 30px; /* Adjust icon size */
    height: 30px; /* Adjust icon size */
    vertical-align: middle; /* Align the icon properly */
    color: #669BBC;
}

.add {
    width: 30px; /* Adjust icon size */
    height: 30px; /* Adjust icon size */
    vertical-align: middle; /* Align the icon properly */
    color: #669BBC;
}

.table-wrapper {
    width: 94.5vw;
    margin: auto;
    background-color: #fff;
    scrollbar-width: none; /* Make the scrollbar thinner */
    scrollbar-color: #669BBC #f1f1f1; /* Thumb color and track color */
}

.wrapper {
    width: 100%;
    margin: auto;
    overflow-y: auto;
}

.table-wrapper-info {
    width: 100%;
    display: table;
    margin: 0.2em 0 0.3em 0;
}

table {
    width: 100%;
    color: #669BBC;
    overflow-x: auto;
    white-space: nowrap;
    border-collapse: collapse;
}

th, td {
    padding: 6px;
    color: #669BBC;
}

th {
    top: 0px;
    color: #669BBC !important;
    text-align: left;
    position: sticky;
    padding: 8px 6px;
    background-color: #fff;
}

.table-footer {
    display: flex;
}

.col-center {
    text-align: center;
}

.table-action-column {
    width: 3vw;
    text-align: center;
}

.tbl-action {
    color: #266593;
}

.no-records-found {
    color: teal;
    padding: 8px;
}

.thead {
    background-color: #fff;
}

.table-striped > tbody > tr:nth-child(odd) > td {
    background-color: rgba(242, 244, 255, 0.5);
    mix-blend-mode: multiply; /* Apply multiply blend mode */
    transition: background-color 0.3s ease;
}

table tbody tr:hover td {
    opacity: 1;
    background-color: #F2F4FF;
}


/***** Table Section End *****/


/***** Pagination Section Start *****/

.pagination {
    margin-bottom: 0;
}

    .pagination a {
        float: left;
        color: #669BBC;
        margin-top: 0.5em;
        padding: 3px 11px;
        text-decoration: none;
        border: 1px solid #F2F4FF;
        transition: background-color .3s;
    }

.page-link:focus {
    box-shadow: none;
}

.pagination a:hover:not(.active) {
    background-color: #F2F4FF; /*#ececec;*/
}

.pagination a:is(.active) {
    color: #669BBC !Important;
    border: 1px solid #669BBC;
    background-color: #F2F4FF !Important;
}

.pagination a:is(.disabled) {
    border: 1px solid #F2F4FF;
    background-color: #F2F4FF; /*#ececec;*/
}

.pagecount {
    text-align: end;
    align-items: center;
    flex: 1;
    color: #669BBC;
    font-size: smaller;
    margin-top: auto;
}

.btn {
    background-color: #669bbc !important;
    border-color: #669bbc !important;
}

/***** Pagination Section End *****/


.btna, .btne, .btnd, .btnl {
    color: #fff;
    padding: 3px;
    border: none;
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

.btna {
    background-color: teal;
}

.btne {
    background-color: DodgerBlue;
}

.btnd {
    background-color: teal;
}

.btnl {
    background-color: DodgerBlue;
}

.grid-menu:focus {
    outline: none;
    box-shadow: none;
}

/***** Dashboard Item Section *****/
.dashboardItem {
    float: left;
    width: 245px;
    margin: 0.5em;
    padding: 10px;
    display: table;
    border: solid 1px #266593;
}

/* Form Section */
form {
    width: 96%;
    margin: auto;
    display: table;
}

.formexit, .exitclick {
    padding: 0;
    margin: 0;
    margin: 0;
    padding: 0;
    font-size: .90em;
}

.formspacer {
    font-size: small;
}

.formRequiredMessage {
    font-size: small;
    margin-bottom: 1em;
}

.formDeleteLabel {
    color: red;
    font-weight: bold;
    margin-bottom: 1em;
}

.entityalert, .form-alert, .formFieldError, .formRequiredFieldIndicator {
    color: red;
}

.form-alert {
    display: table;
    font-size: small;
    margin: 0.5em auto 0 auto;
}

.btn-danger {
    background-color: #669bbc !important;
    border-color: #669bbc !important;
}

.formFieldError {
    font-size: small;
    font-weight: normal;
    padding: 3px 3px 0px 3px;
}

labelz {
    margin-right: -20px;
}

/* Style the form - display items horizontally */
.form-inline {
    display: flex;
    flex-flow: row wrap;
}

    /* Add some margins for each label */
    .form-inline label {
        font-weight: bold;
        margin: 5px 10px 5px 0;
    }

    /* Style the input fields */
    .form-inline input, select {
        padding: 8px;
        vertical-align: middle;
        margin: 5px 10px 3px 0;
        background-color: #fff;
        border: 1px solid #ddd;
    }

    .form-inline select {
        padding: 9px;
    }
    /* Style the submit button */
    .form-inline button {
        color: white;
        height: 50px;
        padding: 10px 20px;
        border: 1px solid #ddd;
        background-color: dodgerblue;
    }

        .form-inline button:hover {
            background-color: royalblue;
        }

/* Add responsiveness - display the form controls vertically instead of horizontally on screens that are less than 800px wide */
@media (max-width: 800px) {
    .form-inline input {
        margin: 10px 0;
    }

    .form-inline {
        flex-direction: column;
        align-items: stretch;
    }
}
/***** Role Menu Section *****/
.roleAct {
    width: 100%;
    margin: 1em auto 1em auto;
    border: solid 1px #266593;
    background-color: #fff;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
}

.roleActCurr {
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    padding: 0.7em 0.5em;
    background-color: #266593;
}

.roleInact {
    width: 99%;
    color: #266591;
    margin: 0.5em auto;
}


/***** Subsystem Menu Section *****/
.siteMenuSubsystem {
    width: 95%;
    display: table;
    margin: 0.5em auto;
}

.subsystemAct {
    width: 100%;
    display: table;
    margin: 0 auto 0.5em auto;
}

.subsystemActCurr {
    display: table;
    margin: 0.5em 0 1em 0;
    font-weight: bold;
}

.subsystemInact {
    width: 100%;
    color: #266591;
    margin-bottom: 0.5em;
}


/***** Site Menu Section *****/
.siteMenuFieldset {
    display: block;
    margin: 0.4em auto;
    border: 1px solid #cdcdcd;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-border-radius: 2px;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f8f8f8), to(#e9e9e9));
    background: -moz-linear-gradient(0% 0% 270deg,#f8f8f8, #e9e9e9);
}

.siteMenu {
    display: none;
    position: fixed;
    top: 50px;
    max-height: 90%;
    overflow: auto;
    z-index: 9001;
    padding: 15px 40px 15px 0;
    font-size: smaller;
    width: 23%;
    background-color: #f4f4f4;
    border: solid 1px #266593;
    border-top: none;
}

.siteMenuItem {
    width: 90%;
    margin: 0.3em auto;
}

.siteMenuItemLink {
    width: 100%;
    padding: 0.4em;
    display: inline-block;
}

    .siteMenuItemLink:hover, active, visited {
        text-decoration: none;
        background: #fefefe;
        background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FEFEFE), to(#f0f0f0));
        background: -moz-linear-gradient(0% 0% 270deg,#FEFEFE, #f0f0f0);
    }


/***** Pagination Section *****/
#gridPagingAndAlert {
    width: 100%;
    display: table;
}

    #gridPagingAndAlert > #row-0100 > #col-0100 {
        width: 50%;
        float: left;
        background-color: red;
    }

    #gridPagingAndAlert > #row-0100 > #col-0200 {
        width: 40%;
        float: left;
    }

    #gridPagingAndAlert > #row-0100 > #col-0300 {
        width: 10%;
        float: left;
        text-align: right;
    }

a:link {
    text-decoration: none;
}


/***** Navigation Section *****/
.navbar-toggler-icon {
    background-imagex: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

    .navbar-toggler:focus, .navbar-toggler:active, .navbar-toggler-icon:focus {
        outline: none;
        box-shadow: none;
    }

.navbar-default {
    background-color: #FFF;
    border-color: #669BBC;
    border-bottom: 1px solid #669BBC;
}

    .navbar-default .navbar-brand {
        color: #ddd;
    }

        .navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus {
            color: #fff;
        }

    .navbar-default .navbar-nav > li > a {
        color: #669bbc;
    }

        .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus {
            color: #003049;
        }

    .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
        color: #fff;
        background-color: #E7E7E7;
    }

    .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus {
        color: #fff;
        background-color: #D5D5D5;
    }

    .navbar-default .navbar-nav > .dropdown > a .caret {
        border-top-color: #777;
        border-bottom-color: #777;
    }

    .navbar-default .navbar-nav > .dropdown > a:hover .caret, .navbar-default .navbar-nav > .dropdown > a:focus .caret {
        border-top-color: #333;
        border-bottom-color: #333;
    }

    .navbar-default .navbar-nav > .open > a .caret, .navbar-default .navbar-nav > .open > a:hover .caret, .navbar-default .navbar-nav > .open > a:focus .caret {
        border-top-color: #555;
        border-bottom-color: #555;
    }

.nav-right {
    margin-right: 0.5em;
}

.navi-link {
    padding: 0 0.3em 0 0.3em;
}

.logout-icon {
    width: 15px;
    height: auto;
    vertical-align: middle;
    color: #780000
}

.username {
    color: #669BBC;
    font-weight: bold;
    font-size: 16px;
}

.site-logo {
    width: 145px;
    height: auto;
    vertical-align: middle;
    margin-left: 10px;
}

.login {
    width: 400px;
    background-color: #ffffff;
    box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
    margin: 100px auto;
}

    .login h1 {
        text-align: center;
        color: #5b6574;
        font-size: 24px;
        padding: 20px 0 20px 0;
        border-bottom: 1px solid #dee0e4;
    }

    .login form {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        padding-top: 20px;
    }

        .login form label {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 50px;
            height: 50px;
            background-color: #3274d6;
            color: #ffffff;
        }

        .login form input[type="password"], .login form input[type="text"] {
            width: 310px;
            height: 50px;
            border: 1px solid #dee0e4;
            margin-bottom: 20px;
            padding: 0 15px;
        }

        .login form input[type="submit"] {
            width: 100%;
            padding: 15px;
            margin-top: 20px;
            background-color: #3274d6;
            border: 0;
            cursor: pointer;
            font-weight: bold;
            color: #ffffff;
            transition: background-color 0.2s;
        }

            .login form input[type="submit"]:hover {
                background-color: #2868c7;
                transition: background-color 0.2s;
            }
