
.highlighted-row {
    background-color: #007bff47; /* Adjust the background color as desired */
}

.table th,
.table td {
    /*padding: 0.25rem 0.9375rem !important;*/
    padding: 0.25rem 0.7375rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
    /*font-size: smaller !important;*/
    border: 1px solid #2caae1 !important;
    background: transparent;
    cursor: pointer;
}
.table td .fs-5{
    font-size: 1.25rem !important;
}
.heading {
    text-align: center;
    font-weight: bold;
    color: #fff; /* Text color */
    background: linear-gradient(to right, #00c6ff, #0072ff); /* Gradient background */
    -webkit-background-clip: text; /* Clip text to background */
    background-clip: text;
    -webkit-text-fill-color: transparent; /* Hide text */
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Text shadow */
}

.remark{
    max-width: 200px;
    text-wrap: wrap !important;
}

.sp_modal {
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
/* Style the select dropdown */
select {
    width: 200px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f0f0f0;
    font-size: 16px;
    color: #333;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Add a down arrow to the select */
select::after {
    content: '\25BC';
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Style the option elements */
select option {
    padding: 10px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Hover effect for option elements */
select option:hover {
    background-color: #d9d9d9;
    color: #000;
}

/* Animation for selected option */
select:focus option:checked {
    background-color: #d9d9d9;
    color: #000;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#loader {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    z-index: 1000; /* Ensure it appears above other content */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.popup-container {
    position: absolute;
    display: none;
    cursor: auto;
    /*height: 0;*/
    /*position: absolute;*/
    /*!* The max width of the info window. *!*/
    /*width: 200px;*/
}

.popup-bubble {
    /* Position the bubble centred-above its parent. */
    position: absolute;
    top: -125px;
    left: 350px;
    transform: translate(-50%, -100%);
    /* Style the bubble. */
    background-color: white;
    padding: 5px;
    border-radius: 5px;
    font-family: sans-serif;
    overflow-y: auto;
    max-height: 60px;
    box-shadow: 0px 2px 10px 1px rgba(0, 0, 0, 0.5);
    display: flex;
    width: max-content;
}

.popup-bubble-anchor {
    position: absolute;
    width: 100%;
    bottom: 8px;
    left: 0;
}

.popup-bubble-anchor::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    /* Center the tip horizontally. */
    transform: translate(-50%, 0);
    /* The tip is a https://css-tricks.com/snippets/css/css-triangle/ */
    width: 0;
    height: 0;
    /* The tip is 8px high, and 12px wide. */
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid white;
}

.popup-content {
    font-size: 14px;
}

#stateStats{
    top: 129px;
    left: 125px;
    transition: left 1s ease;
}
#riverStats{
    top: 129px;
    left: 125px;
    transition: left 1s ease;
}
#dstStats{
    top: 129px;
    left: 125px;
    transition: left 1s ease;
}
#townStats{
    top: 129px;
    left: 125px;
    transition: left 1s ease;
}
#stpStats{
    top: 129px;
    left: 125px;
    transition: left 1s ease;
}
#drainStats{
    top: 129px;
    left: 125px;
    transition: left 1s ease;
}
#dstList{
    top: 129px;
    right: 0px;
    transition: right 1s ease;
}


.aspect-ratio-1{
    aspect-ratio: 1 !important;
}

.side-icon-img{
    max-width: 60% !important;
    box-shadow: inset 0px 5px 10px 2px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    padding: 6px;
}

.side-icon-contain{
    box-shadow: inset 0px 0px 4px 0px rgba(0, 0, 0, 0.3) !important;
}

.gm-style .gm-style-iw-c{
    padding: 0px !important;
}

/*-------------------------------- For Meny ------------------------------*/

#menu {
    background-image: url(/assets/images/bg-themes/testBg.jpeg);
    background-size: cover;
    z-index: 20;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
    max-height: 0;
}

.menu-visible {
    max-height: 100vh !important; /* Adjust according to the height of the menu */
}

.menu-head{
    background: rgba(0, 0, 0, 0.66);
    border-radius: 5px;
    box-shadow: 0 5px 5px -1px #0000009e;
    backdrop-filter: blur(4.3px);
    display: flex;
    -webkit-backdrop-filter: blur(4.3px);
    align-items: center;
    justify-content: space-between;
}

.card_menu {
    margin: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card_menu:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card_menu img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: 100%;
    height: auto;
}

.card_menu-body {
    padding: 15px;
    text-align: center;
    background-color: #fff;
    position: relative;
}

.card_menu-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 10px 0;
}

.blink {
    background: yellow;
    width: 81px;
    float: right;
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

/* Background colors for different card_menus */
.card_menu:nth-child(1) .card_menu-body {
    background-color: #ff66c2;
}

.card_menu:nth-child(2) .card_menu-body {
    background-color: #ff66c2;
}

.card_menu:nth-child(3) .card_menu-body {
    background-color: #FF9800;
}

.card_menu:nth-child(4) .card_menu-body {
    background-color: #FF9800;
}

.card_menu:nth-child(5) .card_menu-body {
    background-color: #FF9800;
}

.card_menu:nth-child(6) .card_menu-body {
    background-color: #FF9800;
}

.card_menu:nth-child(7) .card_menu-body {
    background-color: #ff000061;
}

.card_menu:nth-child(8) .card_menu-body {
    background-color: #eb9272;
}

.card_menu:nth-child(9) .card_menu-body {
    background-color: #eb9272;
}

.card_menu:nth-child(10) .card_menu-body {
    background-color: #fff900;
}

.card_menu:nth-child(11) .card_menu-body {
    background-color: #fff900;
}

.card_menu:nth-child(12) .card_menu-body {
    background-color: #fff900;
}

.card_menu:nth-child(13) .card_menu-body {
    background-color: #d97ddb;
}

.card_menu .number {
    font-size: 2rem;
    color: #fff;
    position: absolute;
    top: 10px;
    right: 15px;
}

.card_menu .titlebox {
    font-size: 1rem;
    color: #333;
}


.vertical-align-middle{
    vertical-align: middle;
}

html{
    scrollbar-width: thin;
    scrollbar-color: #b3ebf6 #3b86d1;
    scroll-behavior: smooth;
}