/*
 * 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.
 */

header {
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

/*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-behavior: smooth;
  scroll-padding-top: 157px !important; /* height of sticky header */
  scroll-margin-top: 157px !important;
}

.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_texts {
  padding: 0;
  border: 0;
  width: 93%;

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

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;
}

.l--30{
  left: -30px !important;
}

.h-separator{
  border-bottom: 1px lightgrey dashed;
  height: 1px;
}

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

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

@keyframes blink {
  from { 
  }
  to { 
    background-color: limegreen;
  }
}

.animate-blink {
  animation-duration: 0.3s;
  animation-timing-function: cubic-bezier(0.4, 0, 0.6, 1);
  animation-delay: 0s;
  animation-iteration-count: 4;
  animation-direction: alternate;
  animation-fill-mode: forwards;
  animation-play-state: running;
  animation-name: blink;
  animation-timeline: auto;
  animation-range-start: normal;
  animation-range-end: normal;
}

.ntimes .card-header {
  background: radial-gradient(ellipse at center, #00aaaa 0%,#000000 100%);
}

.ntimes svg {
    background: linear-gradient(to bottom, #cfc09f 27%, #ffecb3 40%, #3a2c0f 78%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
  font-family: 'Playfair Display', serif;
    position: relative;
  text-transform: uppercase;  
  font-size: calc(18vw + .5rem);
  margin: 0;
  font-weight: 400;
}

.ntimes span {
    background: linear-gradient(to bottom, #cfc09f 27%, #ffecb3 40%, #3a2c0f 98%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
  font-family: 'Playfair Display', serif;
    position: relative;
  text-transform: uppercase;  
  /*font-size: calc(18vw + .5rem);*/
  margin: 0;
  font-weight: 400;
}

.lifelong .card-header {
  background: radial-gradient(ellipse at center, #443501 0%,#000000 100%);
}

.lifelong svg {
    background: linear-gradient(to bottom, #cfc09f 27%, #ffecb3 40%, #3a2c0f 78%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
  font-family: 'Playfair Display', serif;
    position: relative;
  text-transform: uppercase;  
  font-size: calc(18vw + .5rem);
  margin: 0;
  font-weight: 400;
}

.lifelong span {
    background: linear-gradient(to bottom, #cfc09f 27%, #ffecb3 40%, #3a2c0f 98%); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #fff;
  font-family: 'Playfair Display', serif;
    position: relative;
  text-transform: uppercase;  
  /*font-size: calc(18vw + .5rem);*/
  margin: 0;
  font-weight: 400;
}

.slightly-rotated {
  rotate: 2deg;
}

.rotated {
  rotate: -25deg;
}

.scaled {
  scale: 0.6;
}

.as_stamp {
  position: absolute;
  top: -45px;
  left: -150px;
}
