/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

svg {
  width: 16px;
  height: 16px;
}

.for-phone svg {
  width: 36px;
  height: 36px;
}

.childs-m-2 > * {
  margin: .5rem!important;
}

.hide_positioning_handle .positioning_handle {
  display: none !important;
}

html {
  scroll-padding-top: 157px; /* height of sticky header */
}

.comments {
  font-size: small;
}

.no-display {
  display: none; 
}

.hidden {
  visibility: hidden; 
}

.show_hidden_childs_when_hovered:not(:hover) .child_shown_on_parent_hover {
  visibility: hidden;
}

input:focus, textarea:focus, select:focus {
  outline: none;
}

.task_description {
  width: 100%;
  display: inline-block;
  margin-right: -40px;
}

.renameable_renaming {
  padding: 0;
  border: 0;
  width: 93%;

  /*Because of the check box*/
  margin-right: -40px;
}

.renameable {
  cursor: text;
  color: black;
  text-decoration: none;
}

header .navbar {
  padding: 0px;
}

.project_header input {
  background: oklch(98.4% 0.014 180.72);
}

.project_header textarea {
  background: oklch(98.4% 0.014 180.72);
}

.activity-done {
  text-decoration: line-through;
}

.handle {
  cursor: move;
}

.project_header {
  background: oklch(98.4% 0.014 180.72);
}

.full_width {
  width: 100%;  
}

.title_group {
  display: inline-flex;
  width: 100%;
}

.activity_icon {
  /*display: inline-flex;*/
  display: inline-block;
  /*display: inline;*/
}

.title input {
  font-weight: 500;
}

.comments_form {
  display: inline-block;
}

.due_date {
  display: inline-block;
}

.due_date_button {
  color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  padding: 0px;
}

.due_info {
  display: inline-block;
  font-size: small;
}

.assigned {
  display: inline-block;
  font-size: small;
}

.sticky-below-menu {
  z-index: 950;
}

.main_menu {
  background-color: #e3f2fd;
}

.main_menu .dropdown-menu {
  background-color: #e3f2fd;
}

.archived {
  background-color: #f8f9fa;
}

/* TODO: Use variables */

.blue .dropdown-menu {
  background-color: oklch(93.2% 0.032 255.585);
}

.red .dropdown-menu {
  background-color: oklch(93.6% 0.032 17.717);
}

.green .dropdown-menu {
  background-color: oklch(96.2% 0.044 156.743);
}

.yellow .dropdown-menu {
  background-color: oklch(97.3% 0.071 103.193);
}

.dropdown-menu-xs {
/*this is custom*/
  --bs-dropdown-min-width: 12rem;
}

.btn-xs {
    --bs-btn-hover-bg: transparent;
}

.blue {
  background-color: oklch(93.2% 0.032 255.585);
}
.blue input{
  background-color: oklch(93.2% 0.032 255.585);
}
.blue button{
  background-color: oklch(93.2% 0.032 255.585);
}
.blue.dropdown-item:hover {
  background-color: oklch(93.2% 0.032 255.585);
  text-decoration: solid underline;
}

.transparent{
}
.transparent button{
  /* because the default button background color is gray */
  background-color: white;
}
.transparent.dropdown-item:hover {
  background-color: white;
  text-decoration: solid underline;
}
.yellow {
  background-color: oklch(97.3% 0.071 103.193);
}
.yellow input{
  background-color: oklch(97.3% 0.071 103.193);
}
.yellow button{
  background-color: oklch(97.3% 0.071 103.193);
}
.yellow.dropdown-item:hover {
  background-color: oklch(97.3% 0.071 103.193);
  text-decoration: solid underline;
}

.green {
  background-color: oklch(96.2% 0.044 156.743);
}
.green input{
  background-color: oklch(96.2% 0.044 156.743);
}
.green button{
  background-color: oklch(96.2% 0.044 156.743);
}
.green.dropdown-item:hover {
  background-color: oklch(96.2% 0.044 156.743);
  text-decoration: solid underline;
}

.red {
  background-color: oklch(93.6% 0.032 17.717);
}
.red input {
  background-color: oklch(93.6% 0.032 17.717);
}
.red button {
  background-color: oklch(93.6% 0.032 17.717);
}
.red.dropdown-item:hover {
  background-color: oklch(93.6% 0.032 17.717);
  text-decoration: solid underline;
}

.visible_border {
  border: black solid 1px;
}

.highlighted {
  color: red;
}

.bottom-marker {
  background: white;
}

@media (max-width: 575.98px) {
  input[type="checkbox"] {
    transform: scale(2.0);
    margin: 10px;
  }
}
