body, html {
    margin: 10;
    padding: 10;
    height: 100%;
}
.checkbox-group {
    display: inline-flex;
    align-items: center;
}
.checkbox-group label {
    margin-right: 20px;
}
#comment_section {
    margin: 20px 0;
}

#comment_list div {
    margin-bottom: 15px;
}

#comment_list hr {
    border: none;
    border-top: 1px solid #ddd;
    margin-top: 10px;
}
/* Top navigation bar styling */
.navbar {
    transition: background-color 0.3s;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Logo transition */
.navbar-brand img {
    transition: width 0.3s;
}

.small-logo {
    width: 80px; /* Smaller logo when scrolling */
}

.large-logo {
    width: 120px; /* Large logo when page is at the top */
}
.alert-icon {
    color: red;
    font-size: 24px;
    display: none;
    animation: blinker 1s linear infinite;
}
@keyframes blinker {
    50% { opacity: 0; }
}
.blue-shades {
    transition: background-color 1s ease;
}

.footer-bar {
    background-color: #007BFF; /* Bootstrap primary blue */
    color: white;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    text-align: center;
}

/* Zoom Animation */
.zoom-animation {
    display: inline-block;
    animation: zoomInOut 3s infinite;
}

@keyframes zoomInOut {
    0%, 100% {
	transform: scale(1);
    }
    50% {
	transform: scale(1.2);
    }
}

#movingTextContainer {
    position: relative;
    width: 100%;
    height: 20px;
    overflow: hidden;
}

/* Moving text */
#movingText {
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    position: absolute;
    left: -100%; /* Start off-screen */
    animation: moveRight 5s forwards, zoom 3s infinite alternate;
}

/* Animation for moving the text */
@keyframes moveRight {
    from {
	left: -100%;
    }
    to {
	left: calc(100% - 300px); /* Move to the right and stop */
    }
}

/* Zoom in and out animation */
@keyframes zoom {
    0% {
	transform: scale(1);
    }
    100% {
	transform: scale(1.2);
    }
}
#taskContainer {
    width: 300px;
    height: 150px;
    margin: 0 auto;
    border: 1px solid #ddd;
    padding: 10px;
    display: none;
}

#suggestions {
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    position: absolute;
    background: #fff;
    z-index: 1000;
}

.suggestion-item {
    padding: 8px;
    cursor: pointer;
}

.suggestion-item:hover {
    background: #f0f0f0;
}
.more-events-tooltip {
    position: absolute;
    background-color: white;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 999;
    display: none;
}
#task-list {
    display: none;
    margin-top: 20px;
    border: 1px solid #ccc;
    padding: 10px;
}
#tools-icon {
    width: 50px;
    height: 50px;
    background: #007bff;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    position: fixed;
    top: 10px;
    right: 10px;
    cursor: grab;
    z-index: 1000;
}

/* Modal Overlay */
#tools-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Modal Content */
#tools-container {
    width: 900px;
    background: white;
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Top Menu */
.tools-menu {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    border-bottom: 2px solid #ddd;
}

.tools-menu button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    color: #bcb2e2;
}

.tools-menu button:hover {
    text-decoration: underline;
}

/* Tool Content */
#tool-content {
    margin-top: 20px;
}

/* Close Button */
#close-modal {
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    float: right;
}
#taskDropBox {
  background-color:;
  transition: background-color 0.3s ease;
}
#taskDropBox.drag-over {
  background-color: #d0ffd0;
}
#menu-bar { margin-bottom: 10px; }
.menu-bar {
  padding: 10px;
  background:lightblue;
  border: 1px solid #ccc;
}
.menu-bar button {
  margin-right: 5px;
  padding: 6px 12px;
  color: white;
}
.menu-item { cursor: pointer; margin-right: 15px; display: inline-block; color: blue; text-decoration: underline; }
.menu-item.active { font-weight: bold; color: darkblue; }

#todo-scroll {
    display: inline-block;
    white-space: nowrap;
}
.todo-item {
    display: inline-block;
    margin-right: 20px;
    cursor: pointer;
}
#todo-edit-modal {
    display: none;
    background: #fff;
    padding: 15px;
    border: 1px solid #333;
    position: fixed; /* Changed from fixed */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    z-index: 999;
    box-shadow: 0 0 8px rgba(0,0,0,0.2);
}
#todo-container-a {
    height: 50px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* enables momentum scrolling */
    background: #e3f4fa;
    border: 1px solid #ccc;
    padding: 10px;
    position: relative;
}
.todo-marquee {
    display: inline-block;
    animation: scroll-left 30s linear infinite;
    cursor: pointer;
}
.todo-marquee:hover {
    animation-play-state: paused;
}
.todo-plus {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 20px;
    cursor: pointer;
    color: green;
}
#to-do-input-wrapper {
    margin-top: 10px;
    display: flex;
    gap: 5px;
}
#to-do-input {
    width: 88%;
    padding: 5px;
    margin-top: 3px;
}
@keyframes scroll-left {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.todo-item.red {
    color: red;
}
#todo-actions {
    position: absolute;
    right: 10px;
    top: 1px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.todo-filter {
    cursor: pointer;
    font-size: 14px;
    color: #555;
}
.todo-filter:hover {
    color: #000;
}
.todo-filter.active {
    color: blue;
}

.todo-item.red {
    color: red;
}
.todo-item.completed {
    text-decoration: line-through;
    color: green;
}
.todo-icon {
    color: purple;
    margin-right: 5px;
}
.todo-list-btn {
    font-size: 16px;
    cursor: pointer;
    color: #555;
}
.todo-list-btn:hover {
    color: #000;
}
#todo-table input[type="text"] {
    width: 100px;
}
#modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0,0,0,0.4);
    z-index: 9998;
}

#todo-list-modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    height: 80%;
    background: #fff;
    border: 1px solid #aaa;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.3);
    border-radius: 10px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}
.modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 15px;
}
.modal-table-wrapper {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 10px;
    border-top: 1px solid #ccc;
}
#todo-list-modal h4 {
    margin-top: 0;
    margin-bottom: 10px;
}
#todo-list-modal table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}
#todo-list-modal th, #todo-list-modal td {
    padding: 8px 10px;
    border: 1px solid #ccc;
    text-align: left;
    font-size: 14px;
}
#todo-list-modal input[type="text"] {
    width: 100px;
    padding: 5px;
}
#todo-list-modal select {
    padding: 5px;
    margin-right: 10px;
}
#todo-list-modal button {
    padding: 6px 12px;
    margin-right: 5px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#todo-list-modal button:hover {
    background: #0056b3;
}
.modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}
.modal-footer button {
    padding: 6px 12px;
    margin-left: 5px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.modal-footer button:hover {
    background: #0056b3;
}
.sortable {
    cursor: pointer;
}
.sortable:hover {
    text-decoration: underline;
}
.sortable::after {
    content: " ⬍";
    font-size: 12px;
    color: #999;
}
.sortable.asc::after {
    content: " ↑";
}
.sortable.desc::after {
    content: " ↓";
}
#ganttChartContainer {
    width: 100%;
    //height: 500px;
    border: 1px solid #ccc;
    margin-top: 20px;
}
#file_stats ul {
    padding-left: 20px;
}
#file_stats li {
    font-size: 0.9rem;
}
#new_client_modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  /*height: 100%;*/
  max-height: 750px;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
}

/* Modal content box */
#new_client_modal .modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px 30px;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  /*height: 100%;*/
  box-shadow: 0 5px 15px rgba(0,0,0,.5);
  position: relative;
}

/* Close button */
#new_client_modal .close-modal {
  color: #aaa;
  position: absolute;
  top: 12px;
  right: 20px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}
#new_client_modal .close-modal:hover {
  color: #000;
}
.node-primary { background-color: #4caf50; color: white; }
.node-member { background-color: #2196f3; color: white; }
.Treant .node { padding: 10px; border-radius: 6px; }
