﻿form input, form select {
    width: 100%;
}
.styled-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

    .styled-table tr {
        color: #000;
        text-align: center;
        border-bottom: 1px solid #dddddd;
    }

    .styled-table th {
        padding: 5px 10px;
        background-color: #f3f3f3;
        position: sticky;
        z-index: 0;
        top: 0;
    }

.Normalth {
}

.Fixedth {
    position: fixed;
    top: 72px;
}


.styled-table th:first-child {
    position: sticky;
    right: 0;
    background-color: #f3f3f3;
    z-index: 1;
}

.styled-table td {
    padding: 5px 10px;
    border: none;
}

    .styled-table td:first-child {
        position: sticky;
        right: 0;
        background-color: #f3f3f3;
    }

.styled-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

    .styled-table tbody tr:nth-of-type(odd) td {
        background-color: #f3f3f3;
        color: #2020a9;
    }

    .styled-table tbody tr.active-row {
        font-weight: bold;
        color: #009879;
    }

#MyChart {
    height: 100vh;
    width: 100vw;
}

.table-responsive {
    height: 400px;
}

.EnNum {
    font-family: Arial, sans-serif; 
    direction: ltr; 
    unicode-bidi: plaintext; 
}
.btn-UpDown {
    padding: 0.5rem 0.5rem;
    margin: -0.5rem 0 -0.5rem -0.5rem;
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #7f7f7f;
    background-color: #FFFFFF;
    border: none;
}

.modal-header .btn-close {
    padding: 0.5rem 0.5rem;
    margin: -0.5rem 0 -0.5rem -0.5rem;
}
@media (min-width: 390px) and (max-width: 768px) {
    .header_Right .Header_Logo {
        margin-right: 88px;
        width: 180px;
        height: 40px;
        
    }
}
@media (min-width: 100px) and (max-width:390px) {
    .header_Right .Header_Logo {
        margin-right: 0px;
        width: 100px;
        height: 25px;
        
    }
}
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (min-width:576px) and (max-width:1163px) {
    .header_Left {
        margin-top: -28px;
    }

    .header_Right .Header_Logo {
        margin-right: 150px;
        width: 270px;
        height: 50px;
        margin-top: -49px;
       
    }
}
#Chart {
    width: 100%; /* Full width relative to the parent container */
    height: 400px; /* Set a default height */
    max-width: 100%; /* Prevent it from exceeding the container width */
}

@media screen and (max-width: 768px) {
    #Chart {
        height: 300px; /* Smaller height for smaller screens */
    }
}

@media screen and (max-width: 576px) {
    #Chart {
        height: 250px; /* Even smaller height for mobile devices */
    }
}



#loadingGif.hide {
    display: none; /* Default state */
}

    #loadingGif.show {
        display: block;
    }

#popupMenu {
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    padding: 5px 0;
    z-index: 1000;
    /* 🔑 fix width problem */
    width: max-content; /* take the width of longest item */
    min-width: 150px; /* optional: nice minimum width */
    max-width: 250px; /* optional: prevent being too wide */
    white-space: nowrap; /* prevent text wrapping */
    display: none; /* hidden by default */
}

    #popupMenu a {
        display: block;
        padding: 8px 15px;
        text-decoration: none;
        color: #333;
        font-size: 14px;
    }

        #popupMenu a:hover {
            background: #f0f0f0;
        }


 
.user-icon {
    color: blue;
}
 
.height40{
    max-height:40px;
    min-width:150px;
    margin-right:5px;
}

.english-input {
    font-family: Arial, Helvetica, sans-serif; /* or 'Segoe UI' */
    direction: ltr; /* force left-to-right */
    text-align: left; /* align text left */
}

.hiddenSpc {
    display: none;
}

/* Visible state */
.visibleSpc {
    display: block;
}

.hiddenCmnt {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

/* Visible state */
.visibleCmnt {
    max-height: 500px; /* choose a value large enough to fit content */
    transition: max-height 0.4s ease;
}

.hiddenElmnt {
    visibility:hidden /* The element won't occupy space and will be completely hidden */
}

/* CSS to show the element */
.visibleElmnt {
    visibility:visible /* The element won't occupy space and will be completely hidden */
}

.far-left {
    position: absolute;
    left: 0;
    top: 0; /* Adjust as necessary */
}
.far-right {
    position: absolute;
    right: 0;
    top: 0; /* Adjust as necessary */
}

.margin5right {
    margin-right: 5px;
}
.margin5top {
    margin-top: 5px;
}
.margin5bottom {
    margin-bottom: 5px;
}

.HeightRunButton {
    height: 37px;
    padding: 4px 10px;
}

.Height37 {
    height: 37px;
}

.table-horizontal {
    overflow-x: auto;
}

.minwidth150 {
    min-width: 150px;
}
.minwidth160 {
    min-width: 160px;
}
.minwidth170 {
    min-width: 170px;
}
.minwidth180 {
    min-width: 180px;
}

#BtnPrintChart, #BtnChartBar, #BtnChartLine {
    display: inline-flex !important;
    margin-left: 5px;
}

.imageCover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
