html, body {
  width: 100vw;
  height: 100vh;
  font-size: 0.7rem;
  font-family: 'Noto Sans';
  margin: 0!important;
  padding: 0!important;
  overflow: hidden;
}

@media (min-width: 576px) {
  html {
    font-size: 105%;
  }
}

@media (min-width: 768px) {
  html {
    font-size: 110%;
  }
}

@media (min-width: 992px) {
  html {
    font-size: 115%;
  }
}

@media (min-width: 1200px) {
  html {
    font-size: 112%;
  }
}

@media (min-width: 1400px) {
  html {
    font-size: 125%;
  }
}

body {
  display: flex;
  flex-direction: column;
}

.navbar {
  background-color: #383C57 !important;
}

.navbar span {
  color: #fff !important;
  font-weight: 500;
}

.navbar input {
  background-color: #fff !important;
  color: #000000!important;
  border: 1px solid #D9D9D9!important;
  border-radius: 4px;
  outline: none;
  width: 40%;
}

@media (min-width: 1200px) {
  .navbar input {
    width: 40%;
  }
}

.btn {
  font-size: 0.8rem;
  font-family: 'Noto Sans'!important;
  border-radius: 4px!important;
  outline: none;
}

.btn-icon {
  display: flex;
  align-content: center;
  justify-content: center;
  padding: 4px;
  font-size: 0.8rem!important;
  border-radius: 0!important;
}

.btn-icon.active {
  background-color: #ffc107;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

#header .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 8px!important;
  border-radius: 4px!important;
  box-shadow: none;
}

#header .btn-icon svg
#header .btn-icon i {
  font-size: 1.4rem;
}

.btn-icon:hover {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.btn-light {
  padding: 4px 12px!important;
}

.btn-primary {
  background-color: #1576D8!important;
  padding: 4px 12px!important;
  border: 1px solid rgb(0,0,0,0.3);
}

.btn-primary:hover {
  background-color: #1461ad!important;
}

.btn-secondary {
  background-color: #323a71!important;
  padding: 4px 12px!important;
  border: 1px solid rgb(0,0,0,0.3);
}

.btn-secondary:hover {
  background-color: #22274d!important;
  padding: 4px 12px!important;
  border: 1px solid rgb(0,0,0,0.3);
}

.btn-danger {
  background-color: #d82f15!important;
  padding: 4px 12px!important;
  border: 1px solid rgb(0,0,0,0.3);
}

.btn-danger:hover {
  background-color: #ac2612!important;
}

#user-list {
  background-color: #FAFAFA;
  border-right: 2px solid #D8D6D9;
  height: 100%;
}

.medium-weight {
  font-weight: 500;
}

.semi-bold-weight {
  font-weight: 600;
}

.light-weight {
  font-weight: 300;
}

.extra-light-weight {
  font-weight: 200;
}

.user {
  border-radius: 4px;
  padding: 0px 24px;
  font-weight: 300;
  border: 2px solid rgb(29,113,204,0);
}

.user:hover {
  cursor: pointer;
  background-color: rgb(29,113,204,0.1);
  color: rgb(29,113,204,1);
}

.user.active {
  background-color: rgb(29,113,204,0.2);
  border: 2px solid rgb(29,113,204,0.4);
  font-weight: 500;
  color: rgb(29,113,204,1);
}

.main-content {
  flex: 1 0 auto;
  overflow-y: auto;
  box-sizing: border-box;
}

.table-container {
  flex: 1;
  overflow-y: auto;
}

#tasklist {
  background-color: #F5F3F6;
  border-right: 2px solid #D8D6D9;
}

.task {
  background-color: rgb(255, 255, 255);
  border: 2px solid rgb(230, 230, 232);
  border-radius: 4px;
}

.comment {
  background-color: #fff;
  border: 2px solid #E6E6E8;
  border-radius: 4px;
}

#newCommentDiv {
  display: none;
}

#newcomment {
  background-color: #fff;
  border: 2px solid #E6E6E8;
  border-radius: 4px;
  overflow-y: auto;
}

.task:hover {
  background-color: rgb(234,244,253,0.5);
  cursor: pointer;
}

.task:visited {
  background-color: #fff;
  border: 2px solid #E6E6E8;
}

.task.active {
  background-color: rgb(234,244,253);
  border: 2px solid #6A82A6;
}

.task p {
  margin: 0;
}

#header {
  font-size: 0.8rem;
}

.task .comment-count {
  color: #4C565F;
  font-weight: 300;
}

.task .name {
  font-weight: 600;
}

.task .title{
  font-weight: 400;
}

.task .expiration-time {
  color: #6E7881;
  font-weight: 300;
}

#tasklist .col-heading {
  background-color: #FAFAFA;
  border-bottom: 2px solid #D8D6D9;
}

#selectedtask .col-heading {
  flex: 0 0 auto;
  background-color: #FAFAFA;
  border-bottom: 2px solid #D8D6D9;
}

#selectedtask {
  background-color: #F0F3FA;
  flex-direction: column;
  height: 100%;
}

@media (min-width: 1200px) {
  #selectedtask {
    display: flex;
  }
}

#task-open .col-heading p {
  margin: 0;
}

#delaySelect {
  font-size: inherit;
  border: 2px solid #E7E5E6;
  border-radius: 4px;
  outline: none;
  padding: 2px 4px;
}

#recurrenceSelect {
  font-size: inherit;
  border: 2px solid #E7E5E6;
  border-radius: 4px;
  outline: none;
  padding: 2px 4px;
  font-weight: 400;
}

.modal-new-task-checkbox {
  font-size: 0.8rem;
  border: 2px solid #E7E5E6;
  border-radius: 4px;
  outline: none;
  padding: 2px 4px;
  font-weight: 400;
}

.login-text-input {
  font-size: 1.5rem;
  border: 2px solid #E7E5E6;
  border-radius: 4px;
  outline: none;
  padding: 2px 4px;
  width: 20vw;
}

#rememberMeLogin {
  font-size: 0.8rem;
  border: 2px solid #E7E5E6;
  border-radius: 4px;
  outline: none;
}

.cell select {
  font-size: 1rem;
  border: 2px solid #E7E5E6;
  border-radius: 4px;
  outline: none;
  padding: 2px 4px;
}

#delayTime {
  font-size: inherit;
  border: 2px solid #E7E5E6;
  border-radius: 4px;
  outline: none;
  padding: 2px 4px;
}

#notes {
  border: 2px solid #E7E5E6;
  border-radius: 4px;
  outline: none;
  padding: 2px 4px;
}

#newTaskDueDateBox {
  font-size: 0.8rem;
  font-weight: 500;
}

#newTaskDueDate {
  font-size: 0.8rem;
  border: 2px solid #E7E5E6;
  border-radius: 4px;
  outline: none;
  padding: 2px 4px;
  font-weight: 400;
}

#modal-new-task input {
  font-size: 0.9rem;
  border: 2px solid #E7E5E6;
  border-radius: 4px;
  outline: none;
  padding: 2px 4px;
}

#modal-new-task textarea {
  font-size: 0.9rem;
  border: 2px solid #E7E5E6;
  border-radius: 4px;
  outline: none;
  padding: 2px 4px;
}

#title {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
}

@media (min-width: 768px) {
  #title {
    display: none;
  }
}

.time-display {
  color: #6E7881;
}

#task-open #comments {
  display: none;
  flex: 0 0 auto;
  background-color: #FAFAFA;
  border-top: 2px solid #D8D6D9;
}

#task-open #comments p {
  margin: 0;
}

#task-open #comments .name {
}

#task-open #comments .sending-time {
  font-weight: 300;
  color: #6e7881;
}

#task-open #comments .commenttext {
  font-weight: 300;
}

#existingcomments {
}

#userlist {
  overflow-y: auto;
}

#desc {
  overflow-y: auto;
}

#taskcontent {
  flex: 1 1 auto;
  overflow-y: auto;
}

#comments-all {
  overflow-y: auto;
  max-height: 20vh;
}

#modal-new-task p {
  margin: 0;
}

#modal-new-task .modal-body {
  overflow-y: auto;
}

.cell {
  display: flex;
  justify-content: center;
  align-content: center;
}

.cell p {
  margin: 0;
}

.cell.name {
  justify-content: start;
}

#user-detailed-list {
  overflow-y: auto;
}

#login-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

#newTaskButton {
  font-size: 0.8rem;
}

#maincontainer {
  max-width: 1rem;
  margin-left:0 !important;
  margin-right:0 !important;
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.delete-btn {
  position: absolute;
  top: 0;
  right: 0;
  background: black;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.125rem;
}

.bi-x-lg {
  cursor: pointer;
}

#notes {
  min-width: -webkit-fill-available;
  max-width: inherit;
}

@media (max-width: 1200px) {
  .middletext {
    font-size: 0.75rem;
  }

  #notes {
    font-size: 0.75rem;
  }
}

#descEdit {
  width: -webkit-fill-available;
}

.newtaskusers {
  overflow-y: auto;
}

.notifications {
  overflow-y: auto;
}

#status-popup {
  position: fixed;
  top: 8%;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#close-popup {
  cursor: pointer;
  font-size: 1.8rem;
}

.success-text {
  font-size: 1.8rem;
  color: var(--bs-success);
  margin: 0;
}

.danger-text {
  font-size: 1.8rem;
  color: var(--bs-danger);
  margin: 0;
}

.file-upload-label {
  cursor: pointer;
  display: inline-block;
  color: #131313;
  font-size: 1.5rem;
}

.file-upload-label:hover {
  color: #000000;
}

.file-upload-label.active {
  color: var(--bs-success);
}

#modal-new-task-confirm {
  display: none;
  position: fixed;
  z-index: 2000;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  overflow: auto;
}

#modal-new-task-confirm .modal-content {
  margin: auto;
}

.col-heading-title-text {
  font-size: 1.2rem;
}

#modal-body-new-task{
  overflow-y: auto;
  max-height: 70vh;
}

input[type="checkbox"] {
  transform: scale(1.5);
}

#descEdit{
  border: 1px solid #ccc;
  padding: 5px;
  overflow-y: auto;
  white-space: pre-wrap;
}