
body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9; /* Light background for the site */
    color: #333; /* Standard text color */
}

/* The sidebar menu */
#sidebar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: #343a40; /* Dark grey sidebar background */
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 65px;
    color: #fff;
}

/* Sidebar links */
#sidebar a {
    padding: 8px 8px 8px 10px;
    text-decoration: none;
    font-size: 18px;
    color: #adb5bd; /* Light grey links */
    display: block;
    transition: 0.3s;
}

#sidebar a:hover {
    color: #f8f9fa; /* Lighter hover color */
}

/* Main content */
#main-content {
    transition: margin-left 0.5s, width 0.5s; /* Smooth transition for both margin and width */
    padding: 16px;
    width: 100%;
}

.datatable-container {
    width: auto;  /* Allow the table to adjust width */
    margin: 0 auto;  /* Center the table container */
}

h2 {
    color: #212529; /* Professional heading color */
}

label {
    color: #495057; /* Form label color */
}

input, select, table {
    border-radius: 4px;
}

/* Style for the pagination and other table controls */
.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #ced4da;
    padding: 5px;
}

.dataTables_wrapper .dataTables_paginate {
    margin-top: 20px;
}

/* Table header */
table thead th {
    background-color: #6c757d;
    color: white;
    text-align: center;
}

table tbody td {
    text-align: center;
}

/* General styling for buttons and inputs */
button, input[type="text"], select {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

button:hover, input[type="text"]:hover, select:hover {
    background-color: #e9ecef;
}

/* Circular button to toggle the sidebar */
#toggleSidebarBtn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: white;
    background-color: #5a5c66; /* Soft blue-grey for button */
    border: none;
    outline: none;
    transition: transform 0.3s, padding-left 0.3s;
    font-family: Arial, sans-serif;
    box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);  /* Shadow for better visibility */
}

/* Adjust padding for better centering */
#toggleSidebarBtn.left-closed {
    padding-left: 10px;  /* Make arrow more centered when hidden */
}

#toggleSidebarBtn.left-open {
    padding-left: 0; /* Adjust when sidebar is open */
}

.selected td {
    background-color: rgba(4, 195, 81, 0.73) !important; /* Add !important to make sure override datables base styles */
 }

.button-center-right-just {
    display: flex;
    align-items: center;
    justify-content: right;
}
.button-center-left-just {
    display: flex;
    align-items: center;
    justify-content: left;
}
.button-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-margin0 {
    margin-bottom:0px !important;
}



.tabs-below {
  border-bottom-width: 0px;
  border-top: 1px solid #dee2e6;
}

.tabs-below .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: .25rem;
    border-bottom-right-radius: .25rem;
}

.tabs-below .nav-item {
  margin-bottom: 0px;
  margin-top: -1px;
}

.tabs-below .nav-item.show .nav-link, .tabs-below .nav-link.active {
  border-color: #fff #dee2e6 #dee2e6  #dee2e6;
}
.padding-none {
    padding:0px !important;
}
.margin-top-none {
    margin-top:0px !important;
}
.sidebar-pulleddown{
    padding-top:260px !important;
}
.pulldowntab{
    transition: height 3s ease;
}
.no-click{
    pointer-events: none;
}
.yes-click{
    pointer-events: auto;
}

.float-left{
    float:left;
}

.text-searchbox{
    margin-top:30px;
    margin-left:30px;
    margin-right:30px;
    border: 2px solid rgba(0, 206, 150, 0.79);
    border-radius: 12px;
    padding: 5px;
}
.text-calcbox{

    border: 2px solid rgba(149, 150, 163, 0.79);
    border-radius: 12px;
    padding: 5px;
}

.marker-cluster-default {
    background-color: rgba(90,92,102, 0.6);
}
.marker-cluster-selected {
    background-color: #f5cd05 /*rgba(223,212,18, 0.6);*/
}

.marker-50
{
 background-image: radial-gradient(grey 50%, yellow 50%,);
}
.custom-tooltip
{
    z-index:201;
}
.marker-default
{
    font-size:25px;
    color: #5a5c66;
    transition: fill-opacity 0.5s ease, stroke 0.5s ease
}
.marker-selected
{
    font-size:25px;
    color: #f5cd05;
    transition: fill-opacity 0.5s ease, stroke 0.5s ease
}

.marker-back-default {
   background: #5a5c66;
   border-radius: 50%;
}
.marker-back-selected {
   background: #f5cd05;
   border-radius: 50%;
}
.marker-back-searched {
   background: blue;
   border-radius: 50%;
}

.marker-white
{
    font-size:25px;
    color: white;
    transition: fill-opacity 0.5s ease, stroke 0.5s ease
}
.marker-blue
{
    font-size:25px;
    color: blue;
    transition: fill-opacity 0.5s ease, stroke 0.5s ease
}
.marker-black
{
    font-size:25px;
    color: black;
    transition: fill-opacity 0.5s ease, stroke 0.5s ease
}

.current-calc
{
    border: solid black 4px;
}


.interrupting-title{
    margin-top:-15px;
    margin-left:9px;
    padding-left:3px;
    background: rgba(248,249,250,1);
    font-weight: bold;
}

.marker-cluster-searched{
    border-radius: 50%;

    border: solid blue 2px;
}

.spin{
     -webkit-transform-origin: 50% 50%;
     transform-origin:50% 50%;
     -ms-transform-origin:50% 50%; /* IE 9 */
     -webkit-animation: spin .5s infinite linear;
     -moz-animation: spin 1s infinite linear;
     -o-animation: spin 1s infinite linear;
     animation: spin 1s infinite linear;
}
@-moz-keyframes spin {
  from {
    -moz-transform: rotate(0deg);
  }
  to {
    -moz-transform: rotate(360deg);
  }
}

@-webkit-keyframes spin {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.marker-border-default{
    border: 3px solid transparent;
    border-radius: 50%;
}
.marker-border-searched{
    border: 3px solid blue;
    border-radius: 50%;
}

.height90vh{
    min-height:90vh;
}

.modalGraphContainer{
    width:75%;
    max-width:100% !important;
}

.modalGraph{
    width: 100%
}

#tableArea table.dataTable th {
  font-size: 0.8em;
}
#tableArea table.dataTable td {
  font-size: 0.75em;
}



#watermark
{
 position:fixed;
 right:5px;
 opacity:0.5;
 z-index:99;
 color:white;
}


@keyframes highlight {
    0% {
        background: rgba(12, 151, 237, 1)
    }
    50% {
        background: rgba(12, 151, 237, 0.3);
    }
    75% {
        background: rgba(12, 151, 237, 1);
    }
    100% {
        background: none;
    }
}

.flash-highlight {

    animation-name: highlight;
    animation-duration: 2s;
}


.legend-styling {
    margin-bottom:80px !important;
}


.cursor-pointer{
    cursor:pointer;
}

.background-white {
    background:white;
}