﻿ 
.global-body {
    background-color: #F4F5F7;
    font-family: 'Inter', 'Roboto', sans-serif;
    padding-top: 110px;
}

.card-shadow-sm {
    box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.2), 0px 2.5px 7px 0px rgba(0,0,0,0.2);
}

.blue-link {
    color: #2d5174;
}

.collapse {
    visibility: visible !important;
}

    .collapse:not(.show) {
        display: none;
    }

.navbar-light {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-dark {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-link {
    color: white !important;
    font-size: 13px;
}

.negative-button {
    background-color: #df3232;
    color: white;
}

    .negative-button:hover {
        background-color: #c52222;
        transition: 0.3s ease-in-out;
    }

.neutral-button {
    background-color: #DCDDDF;
    color: #373D3F;
}

    .neutral-button:hover {
        background-color: #D4D6DA;
        transition: 0.1s ease-in-out;
    }

.neutral-button-blue {
    background-color: #15385E;
    color: white;
}

    .neutral-button-blue:hover {
        background-color: #0C2F56;
        transition: 0.3s ease-in-out;
    }

.positive-button {
    background-color: #13A597;
    color: white;
}

    .positive-button:hover {
        background-color: #0d8a7d;
    }

.positive-button, .negative-button, .neutral-button, .neutral-button-blue {
    font-weight: 500;
    width: 120px;
    text-align: center;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 14px;
    /*transition: 0.3s ease-in-out;*/
}

@media (min-width: 450px) {
    .positive-button, .neutral-button, .negative-button, .neutral-button-blue {
        padding: 8px 16px;
    }
}

@media (min-width: 1024px) {
    .main-container {
        width: 820px;
    }
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /*padding: 10px;*/
    margin: 10px;
    background-color: #eaedef;
    border-radius: 6px;
    border: solid 2px #E6E6E6;
    /*margin-top: 126px;*/
    width: 100%;
    max-width: 878px;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 6px 0px;
}

.main-container2 {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 10px;
    margin: 10px;
    background-color: #EFEFEF;
    border-radius: 2px;
    border: solid 2px #E6E6E6;
    margin-top: 30px;
    width: 100%;
    max-width: 1400px;
}



.container-header {
    margin: 10px;
    font-size: 24px;
    text-align: center;
    display: block;
    font-weight: 500;
}


.container-light {
    margin: 10px;
    font-size: 14px;
    text-align: center;
    display: block;
    font-weight: 500;
}


.table-text {
    margin-right: 10px;
    font-size: 14px;
}

.input-box {
    border: 1px solid;
    border-color: #B8B8B8;
}

    .input-box:focus {
        border-color: #15385F;
        /* background-color: #f0f8ff; Light blue background */
        outline: none; /* Remove the default outline */
        box-shadow: 0 0 4px rgba(0, 0, 255, 0.2); /*  Green glow effect */
    }

/*@media (min-width: 640px) {
    .main-container {
        width: 50%;
    }
}*/

.search-input {
    border: solid 1px #ced4da;
    border-radius: 4px;
    margin: 5px;
    padding: 4px;
    padding-left: 8px;
    font-size: 14px;
    line-height: 20px;
}

.search-tr {
    /*    background-color: #F8F9FA;
    border: solid 1px #dee2e6;*/
}

.primary-th {
    height: 32px;
    padding-top: 4px;
    padding-bottom: 4px;
    background-color: #0F3A62;
    color: #F9F9F9;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    border-width: 0 0 0 1px;
    font-weight: 500;
    border: 1px solid #0F3A62;
}

.primary-td {
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    border: 1px 0 0 1px;
    border: solid 1px;
    border-color: #dee2e6;
    height: auto;
    font-size: 15px;
    line-height: 21px;
    vertical-align: middle;
    display: table-cell;
    word-wrap: break-word;
    white-space: normal;
}

.primary-td-link {
    padding-left: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    border: 1px 0 0 1px;
    border: solid 1px;
    border-color: #dee2e6;
    height: auto;
    font-size: 15px;
    line-height: 21px;
    vertical-align: middle;
    display: table-cell;
}

.primary-td-black {
    padding-left: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    color: #0E0E0E;
    border: 1px 0 0 1px;
    border: solid 1px;
    border-color: #dee2e6;
    height: auto;
    font-size: 14px;
    line-height: 21px;
    vertical-align: middle;
    display: table-cell;
}

.primary-input {
    border-radius: 6px;
    background-color: white;
    border: solid 1px #8F8F8F;
    padding-left: 8px;
    height: 30px;
    font-size: 14px;
    line-height: 20px;
}

    .primary-input:active, .primary-input:focus-visible {
        box-shadow: 0 0 0 4px rgba(13,110,253,.25);
        border-color: #86b7fe;
        outline: none;
    }

.primary-select {
    padding: 5px;
    border: solid 1px #8F8F8F;
    border-radius: 4px;
    background-color: #FFF;
    font-size: 14px;
    margin: 0 auto;
    display: block;
    /* margin-bottom: 10px; */
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 6px center;
    background-size: 1em;
    border-radius: 4px;
    width: 250px;
    padding-left: 10px;
    float: left;
}

.primary-radio-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
}

.primary-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    /* width: min-content;
    height: min-content;
    border: solid 1px rgb(189, 189, 189);
    border-radius: 4px; */
}

.button-container {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: 8px;
    margin-right: 8px;
    /*height: 38px;*/
}

tr.padded-row td {
    padding: 8px;
    border-bottom: solid 1px #e5e7eb;
}

tr.padded-row-borderless td {
    padding: 8px;
    border: none;
}

.plant-container {
    position: relative;
    width: 343px;
    height: 100px;
    overflow: hidden;
    background: linear-gradient(to bottom right, #34495E, #102F4C);
    border-radius: 0px;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
}

    .plant-container img {
        position: absolute;
        width: 84px;
        height: 105px;
        object-fit: cover;
        -webkit-mask-image: linear-gradient(to left, transparent, black 10%, black 100%, transparent);
        mask-image: linear-gradient(to left, transparent, black 10%, black 90%, transparent);
        left: 290px;
    }

.toast-container {
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
}

.toast-message {
    position: fixed;
    top: 0;
}

.mobile-only {
    display: none !important;
}

.mobile-only-flex {
    display: none !important;
}

.mobile-only-table {
    display: none !important;
}

.inner-nav-bar {
    justify-content: flex-end;
}

.nav-bar-logo {
    display: none;
}

.mobile-logout {
    display: none;
}

@media (max-width: 991px) {
    .top-nav {
        display: none;
    }

    .mobile-logout {
        display: block;
    }

    .top-nav a {
        color: white !important;
    }

    .mobile-only {
        display: unset;
    }

    .mobile-only-flex {
        display: flex !important;
    }

    .mobile-only-table {
        display: table !important;
    }

    .desktop-only {
        display: none !important;
    }

    .inner-nav-bar {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }

    .nav-bar-logo {
        display: unset;
    }
}

svg {
    position: absolute;
    top: 0;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.curve {
    fill: #15385E;
}

.primary-modal-title {
    font-size: 16px;
    font-weight: 500;
    color: #212529;
}

.table-scroll-body {
    overflow-x: auto;
}

.table-scroll-body-sm {
    height: 400px;
    overflow-x: auto;
}

@media (min-width: 768px) {
    .table-scroll-body {
        width: auto;
    }
}

.primary-modal-content {
    padding: 10px;
    display: flex;
    flex-direction: column;
}

.height-mid {
    height: 32px;
}

.pr-2 {
    padding-right: 20px;
}

.pr-3 {
    padding-right: 30px;
}

.pt-4 {
    padding-top: 40px;
}

.table-borders {
    border: 1px solid black;
    padding: 8px; /* Optional: Adjusts padding for table cells */
    text-align: left; /* Optional: Aligns text to the left */
}

    .table-borders th, .table-borders td {
        border: 1px solid black;
        padding: 8px; /* Optional: Adjusts padding for table cells */
        text-align: left; /* Optional: Aligns text to the left */
    }

td.ColColor {
    background-color: blue;
}

.WrapScrollingTable {
    border: 1px solid #ccc;
    background: #FAFAFA;
    height: 500px;
    overflow: auto;
    position: relative;
}

.text-sm {
    font-size: 4px;
}

.orphanOrange {
    background-color: #FAD2D2;
}

.footer {
    width: 100%;
    background-color: #15385E;
    color: #FAFAFA;
    font-weight: 300;
    position: fixed;
    bottom: 0;
    left: 0;
    max-height: 100px;
    font-family: 'Inter', 'Roboto', 'sans-serif';
    font-size: 11px;
}

@media screen and (max-width: 768px) {
    .footer {
        display: none;
    }
}

/*.on-top-image {
    position: fixed;  Use 'absolute' if it needs to move with its container 
    top: 12px;  Adjust as needed 
    left: 0;  Adjust horizontal position as needed 
    z-index: 9999;  Extremely high value to ensure it's on top 
    pointer-events: none;  Optional: Prevent it from interfering with user actions 
    padding-left: 20px;
}*/

.img-container {
}

.on-top-image {
    position: relative; /* Moves the image relative to its normal flow */
    top: 2px; /* Adjust this to control how much the image hangs */
    z-index: 3; /* Ensures the image is above both nav bars */
}

.top-nav {
    position: relative;
    z-index: 2; /* Ensures it�s above other elements */
}

.bottom-nav {
    position: relative;
    z-index: 1; /* Keeps it below the image */
}

.nav-item-placement {
    position: relative;
    top: 4px;
}

input {
    border-radius: 5px; /* Rounded corners */
    padding: 5px; /* Padding inside the input */
    min-height: 26px;
}

select {
    border-radius: 5px; /* Rounded corners */
    min-height: 25px;
}

.form-select {
    /*border: 1px solid #BCBCBC;*/ /* Black border with 2px thickness */
    border-radius: 5px; /* Rounded corners */
    min-height: 25px;
}

.attribute-label {
    width: 33%;
    text-align: right;
    justify-content: flex-end;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.attribute-input {
    width: 66%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.attribute-container {
    display: flex;
    flex-direction: row;
    gap: 4px;
}

@media (max-width:768px) {
    .attribute-input {
        width: 100%;
    }

    .attribute-label {
        width: 100%;
        justify-content: flex-start;
    }

    .attribute-container {
        flex-direction: column;
    }
}

.list-table {
    max-height: 860px;
}

.background-blue {
    background-color: #D7F0FF;
}

.embed-error-msg {
    color: #F46060;
}

input[type=date] {
    padding-right: 4px;
}

.red-message {
    background-color: #F13E3E;
    padding: 4px;
    border-radius: 4px;
    color: white
}


.message-high {
    background-color: #cc0000;
    padding: 4px;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 4px;
    margin-right: 20px;
    color: white;
}



.message-mid {
    background-color: #fbd6b6;
    padding: 4px;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 4px;
    margin-right: 20px;
    color: black;
}


.message-low {
    background-color: #c1f0e1;
    padding: 4px;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 4px;
    margin-right: 20px;
    color: black;
}

.top-right-text {
    position: absolute;
    top: 0;
    right: 0;
    color: black;
    font-size: 13px;
    font-weight: 500;
    padding-top: 8px;
    margin-right: 20px;
}

.a-lookslikelink {
    color: #069;
}

.sticky-toast {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: #333; /* Adjust colors as needed */
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 1000; /* Ensure it appears above other elements */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .title-container {
        width: 100%;
        max-width: 890px;
        position: sticky;
        top: 56px;
        left: 0;
        width: 100%;
        background-color: #F4F5F7;
        color: #000;
        text-align: center;
        z-index: 1;
    }
}

@media (min-width: 991px) {
    .title-container {
        width: 100%;
        max-width: 890px;
        position: sticky;
        top: 83px;
        left: 0;
        width: 100%;
        background-color: #F4F5F7;
        color: #000;
        text-align: center;
        z-index: 1;
    }
}

@media (max-width: 800px) {
    .hide-mobile {
        display: none;
    }
}

.width-sm {
    max-width: 400px;
}

.width-md {
    max-width: 600px;
}

.width-lg {
    max-width: 800px;
}
