/*
Theme Name: frst Tool Theme
Theme URI: https://2-code.de/
Author: secret
Description: frst2code
Version: 1.0
*/

:root {
  /* font */
  --lightblack: #131313;

  /* colors */
  --frst-blue: #5f27fe;
  --pale-pink: #f2d4fc;
  --pure-white: #ffffff;
  --lavender: #e0e0e0;
  --black: #000000;
  --plum: #361543;
  --dark-green: #004449;

  /* user profiles */
  --night-sky: #0d0626;
  --off-white: #fff9ed;
  --gray: #adadad;

  /* labels */
  --orange: #fdbe68;
  --light-green: #62cc93;
  --yellow: #ffd702;
  --red: #ce365b;

  /* cats */
  --blue: #0b35c1;
  --salmon: #fa815b;
  --pink: #e3509a;
  --brown: #8b572a;
  --purple: #680f83;
  --lightblue: #77aae5;
  --green: #019f99;
  --green-2: #4c8302;
  --light-green-2: #44d18b;
}

/* open-sans-300 - latin */
@font-face {
  font-display: swap;
  font-family: "Albert Sans";
  font-style: normal;
  src: url("assets/fonts/albert_sans/AlbertSans-VariableFont_wght.ttf")
    format("truetype");
}

* {
  scrollbar-width: thin;
}

body {
  font-family: "Albert Sans";
  font-size: 14px;
  line-height: 20px;
  background-color: var(--off-white);
  color: var(--night-sky);
}

a {
  color: var(--lightblack);
}

.acf-input i.acf-icon {
  top: 0;
  bottom: 0;
  margin: auto;
}

h1 {
  color: var(--night-sky);
  font-weight: 600;
  font-size: 30px;
}

span.sp-booked {
  color: var(--blue);
}
span.sp-free {
  color: var(--light-green);
}

.semibold {
  font-weight: 600;
}

button.row-toggle {
  background-color: transparent;
  border: none;
  padding: 0;
  font-size: 24px;
  margin-right: 3px;
  vertical-align: middle;
  width: 24px;
  height: 24px;
}

table:not(.collapsed-table) {
  table-layout: fixed;
}

td.title-wrap,
th:nth-child(2):not(.width-fixed) {
  width: 20%;
}

.table-wrap.timeline th:nth-child(2) {
  width: auto;
}

th:nth-child(2),
tr td:nth-child(2) {
  padding-left: 0;
}

table.info-table th,
table thead th,
table thead td {
  font-size: 12px;
  line-height: 14px;
  color: var(--gray) !important;
  font-weight: 400;
}
table thead th span,
table thead td span {
  font-size: 8px;
  line-height: 10px;
}
table td,
table td span {
  vertical-align: middle;
}

table .title-parts,
.title-wrap > div {
  display: flex;
  align-items: center;
}

.logo {
  padding-top: 80px;
  text-align: center;
}

.container.freelancer,
.container.home {
  text-align: center;
}

body.page-template-template-freelancer,
body.page-template-template-home {
  background-color: var(--night-sky);
}

.freelancer-panel,
.login-panel {
  border: 1px solid var(--gray);
  padding: 37px 30px 56px 30px;
  border-radius: 30px;
  display: inline-block;
  text-align: left;
  font-size: 14px;
  background-color: var(--off-white);
  color: var(--night-sky);
  margin-top: 110px;
  width: 535px;
  max-width: 100%;

  h1 {
    text-align: center;
    margin-bottom: 0;
  }

  p.login-submit {
    margin-bottom: 0;
  }
}

.login-hint {
  font-size: 12px;
  margin-top: 40px;
  display: block;
  text-align: center;
}

#loginform {
  margin-top: 50px;
}

#loginform label {
  display: block;
  font-weight: 400;
  margin-bottom: 5px;
}

#loginform input {
  width: 100%;
  background-color: var(--lavender);
  border-radius: 25px;
  padding: 14px 18px;
  font-weight: 600;
  border: none;
  color: var(--night-sky);
}

#loginform input#wp-submit {
  width: 100%;
  max-width: 270px;
  background-color: var(--night-sky);
  color: var(--off-white);
  display: block;
  margin: auto;
  margin-top: 40px;
}

.login-password {
  margin-top: 30px;
}

.left-sidebar {
  background-color: var(--night-sky);
  min-height: 100vh;
  height: 100%;
  padding: 30px;
  color: var(--off-white);
  font-size: 14px;
  line-height: 22px;
  padding-bottom: 120px;
  position: relative;
}
body.admin-bar .left-sidebar {
  min-height: calc(100vh - 32px);
}

.left-sidebar .logo {
  fill: var(--off-white);
}

.left-sidebar .navbar-brand {
  display: block;
}

.left-sidebar .logo {
  padding: 0;
  height: 19px;
}

.left-sidebar .logo-wrap {
  margin-bottom: 51px;
}

.left-sidebar {
  .user-info {
    position: relative;
  }
  .user-info:hover {
    .account-hoverbox {
      opacity: 1;
      visibility: visible;
    }
  }
  .user-info.current-page {
    .ellipsis-icon-wrap {
      img {
        display: none;
      }
      img.hidden {
        display: block;
      }
    }
    .profile {
      background-color: var(--off-white);
      width: calc(100% + 60px);
      margin-left: -30px;
      padding: 10px 30px;

      .letters {
        background-color: var(--night-sky);
        color: var(--off-white);
      }

      .f {
        color: var(--night-sky);
      }
    }
  }
  .account-hoverbox {
    position: absolute;
    /* left: 100%; */
    left: calc(100% - 55px);
    top: 0;
    background-color: var(--off-white);
    border: 1px solid var(--gray);
    border-radius: 8px;
    padding: 10px 57px 10px 15px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    z-index: 1;
  }
  .account-hoverbox a {
    color: var(--night-sky);
    display: block;
    text-decoration: none;

    &:hover {
      color: var(--plum);
    }
  }
}

.left-sidebar .profile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  gap: 18px;
  position: relative;

  .layout-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: row;
    gap: 18px;
  }
  .ellipsis-icon-wrap {
    img {
      width: 25px;
      height: auto;
    }
    img.hidden {
      display: none;
    }
  }
}
.left-sidebar .profile .letters {
  width: 45px;
  height: 45px;
  background-color: var(--off-white);
  border-radius: 50%;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  color: var(--night-sky);
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-sidebar .profile-name {
  padding-top: 4px;
  font-size: 14px;
  font-weight: 600;
}

.left-sidebar hr {
  border-width: 1px;
  border-color: #ccc;
  opacity: 1;
  margin: 20px 0;
}

.maincontent .acf-form .acf-fields > .acf-field[data-type="message"] {
  padding-top: 0;
  text-align: right;
  a {
    display: inline-block;
  }
  .acf-label {
    display: none;
  }
}

.acf-field[data-name="head_info"] {
  > .acf-label {
    display: none;
  }
  .acf-field[data-type="message"] label {
    font-weight: bold;
    font-size: 18px;
  }
  .acf-fields {
    display: flex;
    gap: 20px;
    justify-content: space-between;
  }
  .acf-fields:after {
    display: none;
  }
}

.maincontent .acf-form .acf-fields > .acf-field {
  display: inline-block;
  width: 100%;
}

.maincontent .acf-form .acf-fields > .acf-field[data-name="volume"] {
  padding-bottom: 0;
}

.acf-field[data-name="planned_time"] .acf-label,
.acf-field[data-name="storypoints"] .acf-label {
  display: none;
}

.maincontent .acf-form .acf-fields > .acf-field[data-name="followuporder"] {
  padding-bottom: 0;
}

.maincontent .acf-form .acf-fields > .acf-field[data-name="jobnumber"] {
  padding-top: 0;
}

.maincontent
  .acf-form
  .acf-field[data-type="true_false"][data-name^="visible_for_client"] {
  justify-content: end;
  padding-bottom: 0;
  padding-top: 10px;
}

.maincontent
  .acf-form
  .acf-fields
  .acf-field[data-type="true_false"][data-name^="visible_for_client"]
  + .acf-field {
  padding-top: 0;
}

.maincontent .acf-form .acf-field[data-type="true_false"] {
  display: flex;
  flex-direction: row-reverse;
  justify-content: start;
  gap: 5px;
  align-items: center;

  .acf-label {
    margin-bottom: 0;
  }
  .acf-label label {
    margin-bottom: 3.85px;
  }
}

.select2-container--default .select2-selection--single,
.acf-fields {
  background-color: var(--off-white) !important;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: normal;
}

.acf-input .select2-container.-acf .select2-selection--multiple {
  min-height: 50px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  padding: 0;
  background-color: var(--off-white);
}

.acf-input
  .select2-container.-acf
  .select2-selection--multiple
  .select2-selection__rendered {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 15px 20px;
  box-sizing: border-box;
}

.acf-input
  .select2-container.-acf
  .select2-selection--multiple
  .select2-search__field {
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
}

.acf-input
  .select2-container.-acf
  .select2-selection--multiple
  .select2-selection__choice {
  font-size: 14px;
  line-height: 14px;
  font-weight: 600;
}

/* Placeholder (wenn nix ausgewählt) */
.acf-input
  .select2-container.-acf
  .select2-selection--multiple
  .select2-selection__placeholder {
  font-size: 14px;
  font-weight: 400;
}

.acf-form-submit {
  margin-top: 25px;
}

.smallheadline {
  font-size: 12px;
  line-height: 14px;
  color: #f6f0ff;
  margin-bottom: 8px;
}

.left-sidebar .custom_nav {
  width: calc(100% + 60px);
  margin-left: -30px;
}
.left-sidebar .job-list a.add-job,
.left-sidebar .custom_nav li a {
  display: block;
  padding: 12px 30px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.left-sidebar a.current-page,
.left-sidebar .job-list a:hover,
.left-sidebar .custom_nav li.current-menu-item a,
.left-sidebar .custom_nav li a:hover {
  background-color: var(--off-white) !important;
  color: var(--night-sky) !important;

  span.colorblock {
    border-color: var(--night-sky);
  }
}

a.add-btn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: fit-content;
  background-color: var(--night-sky);
  color: var(--off-white);
  border: none;
  font-size: 12px;
  line-height: 14px;
  text-decoration: none;
  padding: 5px 8px;
}
span.plus {
  margin-right: 8px;
  font-size: 17px;
}

a.small-button {
  display: inline-block;
  background-color: var(--night-sky);
  color: var(--off-white);
  border-radius: 25px;
  padding: 2px 10px;
  text-decoration: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;

  img {
    width: auto;
    height: 9px;
  }
}

.account .volume {
  .sp-values,
  .time-values {
    display: grid;
    flex-wrap: wrap;
    flex-direction: row;
    column-gap: 55px;
    width: 380px;
    max-width: 100%;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
}

.volume,
.progress-wrap {
  &.volume {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  &.progress-wrap {
    .bar-container {
      display: grid;
      grid-template-columns: 40px 1fr 40px;
    }
    .label-sp {
      color: var(--gray);
      font-weight: 400;
    }
    .fortschritt-bar-wrap + .fortschritt-bar-wrap {
      margin-top: 10px;
    }
  }

  .sp-value span {
    display: block;
  }
  .sp-values,
  .time-values {
    display: grid;
    flex-wrap: wrap;
    flex-direction: row;
    column-gap: 55px;
    width: calc(100% - 46px);
    max-width: 100%;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .sp-values {
    margin-bottom: 5px;
  }
  .bar-container {
    display: grid;
    grid-template-columns: 1fr 40px;
    align-items: center;
    gap: 14px;
    font-size: 12px;

    .time-bar,
    .sp-bar {
      height: 20px;
      width: 100%;
      border-radius: 5px;
      position: relative;
    }
    .sp-bar .bar-parts {
      display: flex;
      height: 100%;
      width: 100%;
      border-radius: 5px;
      overflow: clip;
    }
    .sp-bar .sp-waiting,
    .sp-bar .sp-progress,
    .sp-bar .sp-done,
    .sp-bar .sp-booked,
    .sp-bar .sp-free {
      display: block;
      height: 100%;
    }

    .sp-bar .sp-done {
      background: var(--light-green);
    }

    .sp-bar .sp-progress {
      background: var(--orange);
    }

    .sp-bar .sp-waiting {
      background: var(--gray);
    }

    .sp-bar .sp-booked {
      background: var(--blue);
      border-top-left-radius: 5px;
      border-bottom-left-radius: 5px;
    }
    .sp-bar .sp-free {
      background: var(--light-green);
      border-top-right-radius: 5px;
      border-bottom-right-radius: 5px;
    }
  }
}

.maincontent .content-head h1 {
  font-size: 30px;
  line-height: 36px;
  color: var(--lightblack);
  margin-bottom: 0;
}

.maincontent .content-head {
  padding: 45px 30px;
  border-bottom: 1px solid var(--gray);
  position: relative;
}

.maincontent .add-response {
  padding: 0 10px;
  margin-top: 10px;
}

.maincontent .filter {
  padding: 0 30px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.maincontent .table-filter + .filter {
  margin-top: 0;
}

.maincontent .filter .filter-content {
  display: flex;
  justify-content: end;
  --webkit-justify-content: end;
  align-items: center;
}

.maincontent
  table:not(.calendar-table, .infobox table, .timeline-table)
  tr
  > th:first-of-type {
  width: 30px;
}

.content-head.has-head-nav + .content-wrap .infobox {
  margin-top: 0 !important;
  border-top: 0;
}

.infobox table.info-table .no-bottom-padding {
  padding-bottom: 0;
}

tr.max-width td {
  width: 100%;
}

tr:has(.no-bottom-padding) + tr:not(tr:has(.no-bottom-padding)) > th,
tr:has(.no-bottom-padding) + tr:not(tr:has(.no-bottom-padding)) > td {
  padding-top: 20px;
}

.maincontent {
  .frst-ttv2-grid {
    display: grid;
    /* grid-template-columns: 1fr 1fr 1fr auto; */
    grid-template-columns: auto auto auto auto;
    column-gap: 30px;
    row-gap: 10px;
    align-items: center;
    font-weight: 400;

    button.frst-ttv2-live-stop {
      padding: 0;
      border: none;
      background-color: transparent;
      img {
        height: 18px;
        width: auto;
        margin-right: 5px;
      }
    }

    a {
      text-decoration: underline !important;
      font-weight: 600;
    }
  }
  .volume + .frst-ttv2-grid {
    margin-top: 17px;
  }
  .frst-ttv2-joblink {
    font-size: 12px;
    line-height: 14px;
    margin-top: 10px;
    text-decoration: underline;
    font-weight: 600;
  }

  .infobox,
  table {
    .grey-label {
      display: inline-block;
      color: var(--gray);
      font-weight: 400;
      font-size: 12px;
      line-height: normal;
    }
    .sp-label {
      margin-bottom: 5px;
      display: inline-block;
      color: var(--gray);
      font-weight: 400;
      font-size: 12px;
      line-height: normal;
    }
    .participants {
      margin-top: 20px;
    }
    tr.more-space {
      th,
      td {
        padding-top: 20px;
        padding-bottom: 40px;
      }
    }
  }
}

.infobox td p {
  margin-bottom: 0;
}

.infobox .textcontent + .purplebutton.edit {
  margin-left: auto;
  margin-right: 20px;
}

td .group {
  display: flex;
  gap: 21px;
}

.small-fontsize {
  font-size: 12px;
}

.small {
  font-size: 12px;
  line-height: 14px;
  color: #959595;
}

.my-list-toggle {
  display: inline-block;
  position: relative;
}

.my-list-toggle.open .togglelist img {
  transform: rotate(180deg);
}

.my-list-toggle .togglelist {
  position: absolute;
  right: 2px;
  top: 3px;
  bottom: 0;
  width: 24px;
  height: 24px;
  color: var(--night-sky);
  text-align: center;
  border: 1px solid var(--night-sky);
  background-color: var(--off-white);
  cursor: pointer;
}

.my-list-toggle a {
  border: 1px solid var(--gray);
  width: 100%;
  color: var(--off-white);
  background-color: var(--night-sky);
  display: block;
  text-decoration: none;
  font-size: 12px;
  line-height: 14px;
  padding-top: 6px;
  padding-bottom: 6px;
  padding-left: 6px;
  padding-right: 76px;
  padding-right: 25px;
  min-width: 192px;
}

.my-list-toggle .toggle-content a {
  display: none;
  background-color: var(--off-white);
  color: #000;
}

.my-list-toggle .toggle-content {
  position: absolute;
  z-index: 1;
}

.my-list-toggle.open a {
  display: block;
}

.togglelist img {
  width: 10px;
  position: relative;
  top: 0;
}

.maincontent .profiles {
  display: flex;
  align-items: center;
}

.maincontent .profile {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  font-size: 12px;
  font-weight: 600;
  margin-right: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.maincontent .profile.responsible {
  background-color: var(--off-white);
  border: 1px solid var(--night-sky);
  color: var(--night-sky);
}

.maincontent .profile.artist-intern {
  background-color: var(--gray);
  border: 1px solid var(--gray);
  color: var(--night-sky);
}

.maincontent .profile.artist-extern {
  background-color: var(--night-sky);
  border: 1px solid var(--night-sky);
  color: var(--off-white);
}

.maincontent .profile.client {
  background-color: var(--red);
  border: 1px solid var(--red);
  color: var(--off-white);
}

.underlined {
  text-decoration: underline;
}

.bigtext {
  font-size: 18px;
  font-weight: 600;
}

table .colorblock {
  width: 24px;
  height: 24px;
  flex-shrink: 0;

  span {
    width: 12px;
    height: 12px;
  }
}

.colorblock {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  margin-right: 10px;
  display: inline-block;
  position: relative;
  border: 1px solid var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;

  span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: block;
  }
}

.status {
  border-radius: 10px;
  display: inline-block;
  color: var(--off-white);
  padding: 3px 10px;
  line-height: 14px;
  font-size: 12px;
  height: fit-content;
}

.status.dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

td .status {
  vertical-align: middle;
}

.status.draft + br + .status {
    margin-top: 5px;
}

.status-done,
.status.done {
  /* background-color: var(--night-sky); */
  background-color: var(--light-green);
}

.status-progress,
.status.progress {
  background-color: var(--orange);
}

.status-waiting,
.status.waiting {
  background-color: var(--gray);
}

.status-paused,
.status.paused,
.status-blocked,
.status.blocked {
  background-color: var(--red);
}

.status-draft,
.status.draft {
  background-color: var(--gray);
}

.status-open,
.status.open {
  background-color: var(--light-green);
}

.status-assigned,
.status.assigned {
  background-color: var(--night-sky);
}

/* status color */
.color-done {
  color: var(--light-green);
}

.color-progress {
  color: var(--orange);
}

.color-waiting {
  color: var(--gray);
}

.color-blocked {
  color: var(--red);
}

.color-draft {
  color: var(--gray);
}

.color-open {
  color: var(--light-green);
}

.color-assigned {
  color: var(--night-sky);
}

.milestone-row {
  position: relative !important;
  font-weight: 400;
  border-bottom: 1px solid rgba(0, 0, 0, 0.175);
}

.milestone-row td {
  border: none;
  text-align: left;
  position: relative;
}

.milestone-row .title-wrap {
  padding-top: 30px;
  padding-bottom: 30px;
  font-weight: 600;
  text-align: left;
  /* padding-left: 50px; */
}
/* .milestone-row:before{
    content: " ";
    height: 2px;
    position: absolute;
    width: calc(100% - 20px);
    background-color: #064774;
    top: 0;
    margin: auto;
    left: 10px;
} */

.milestone-row td::after {
  content: " ";
  height: 2px;
  position: absolute;
  display: inline-block;
  width: 100%;
  background-color: #064774;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 1;
}

.milestone-row .white {
  background-color: var(--off-white);
  padding-left: 8px;
  padding-right: 8px;
  position: relative;
  margin-left: -8px;
  z-index: 2;
}
.title-wrap {
  cursor: pointer;
}

.maincontent.meineliste{

.work_package-row .title-wrap,
.todo-row .title-wrap,
.client-row .title-wrap {
  padding-left: 50px;
  cursor: pointer;
}

.todo-row .title-wrap {
  padding-left: 100px;
}
}

td.title-toggle img.caret {
  width: 10px;
  height: auto;
  margin-right: 10px;
}
td.title-toggle.open img.caret {
  transform: rotate(180deg);
}
td.title-toggle.disabled img.caret {
  filter: saturate(0);
  opacity: 0.5;
  /* transform: rotate(0); */
}

.close {
  width: 12px;
  height: 12px;
  cursor: pointer;
}
span.time_diff {
  margin-left: 10px;
  color: #959595;
}
.maincontent {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.content-wrap {
  position: relative;
  flex: 1; /* take rest of available space */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.table-wrap {
  overflow-x: auto;
}

.table > :not(caption) > * > * {
  background-color: var(--off-white);
}

section.e404page {
  padding-top: 100px;
}

a.edit-btn {
  font-size: 12px;
  line-height: 1;
  color: var(--off-white) !important;
  background-color: var(--night-sky);
  border-radius: 25px;
  display: inline-block;
  text-decoration: none;
  padding: 3px 10px;
}

.infobox {
  position: fixed;
  right: 0;
  width: 600px;
  border-left: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
  border-top: 1px solid var(--gray);
  background-color: var(--off-white);
  top: 126px;
  height: calc(100vh - 126px);
  transform: translateX(0); /* Default visible state */
  transition: transform 0.3s ease-in-out; /* Smooth transition */
  z-index: 2;
}
.infobox.slide-out {
  transform: translateX(100%); /* Slide out to the right */
}
.infobox .close {
  position: absolute;
  right: 20px;
  top: 20px;
  width: 20px;
  height: 20px;
  text-align: center;
  font-weight: 600;
  line-height: 1;
}
.infobox h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 22px;
}
.infobox .content-title {
  margin-bottom: 22px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  --webkit-justify-content: space-between;
  padding-right: 40px;
}
.infobox .content-title h2 {
  margin-bottom: 0;
}
.infobox .content {
  font-size: 14px;
  line-height: 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  --webkit-justify-content: space-between;
}
.infobox .content a.underlined:not(a.edit-btn) {
  text-decoration: underline;
}

.infobox .content .retainer-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;

  span.below {
    color: var(--blue);
  }
  span.above {
    color: var(--red);
  }
}

.infobox .content .status-done,
.infobox .content .color-done {
  opacity: 0.3;
}

.infobox .content .artist-job-list,
.infobox .content .retainer-list,
.infobox .content .client-job-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: fit-content;

  + a {
    margin-top: 10px;
    display: inline-block;
  }
}

.infobox .content .important + .important {
  margin-top: 10px;
}
.infobox .content a:not(a.edit-btn) {
  text-decoration: none;
  font-weight: 600;
  color: var(--lightblack);
}
.infobox .content a:not(a.edit-btn).gray-link {
  color: var(--gray);
}
.infobox .content .textcontent {
  padding: 20px 20px 29px 20px;
}
.infobox .content .comments {
  padding: 7px 20px 20px 20px;
}
.infobox .content .textcontent {
  flex: 1;
  overflow: auto;
}
.infobox .content .comments {
  background-color: #f0f0f0;
}
.infobox .content .comments .all-comments {
  max-height: 108px;
  overflow: auto;
}
.infobox .content .footer {
  margin-top: 9px;
}
.infobox .content .header {
  margin-bottom: 16px;
  color: #959595;
}
.infobox .newcomment {
  position: relative;
}
.infobox .savecomment {
  position: absolute;
  right: 12px;
}
.infobox input.newcommenttext {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--gray);
}
.infobox .content .comments .all-comments .comment p.author {
  margin-bottom: 5px;
}
.infobox .content .comments .all-comments .comment p {
  margin-bottom: 0;
}
.infobox
  .content
  .comments
  .all-comments
  .comment:not(.all-comments .comment:first-of-type) {
  margin-top: 19px;
}
.infobox .content .comments .time {
  color: #959595;
}

.infobox .bigtext {
  margin-bottom: 22px;
}
.infobox table.info-table th {
  padding-right: 50px;
}
.infobox table.info-table td,
.infobox table.info-table th {
  padding-bottom: 20px;
  vertical-align: baseline;
}
.infobox table.info-table tr:last-of-type td,
.infobox table.info-table tr:last-of-type th {
  padding-bottom: 0;
}
.infobox table.info-table td {
  font-weight: 600;
}

.cat {
  padding: 3px 10px;
  margin-right: 9px;
  border-radius: 20px;
  color: var(--off-white);
  font-size: 12px;
}

/* .cat.darkgreen{
    background-color:#055F75;
}
.cat.darkpurple{
    background-color:#1E0083;
}
.cat.brown{
    background-color:#8B572A;
}
.cat.lightpurple{
    background-color:#680F83;
}
.cat.lightgreen{
    background-color:#50E3C2;
}
.cat.lightblue{
    background-color:#5094E3;
}
.cat.yellow{
    background-color:#FFD702;
}
.cat.pink{
    background-color:#E3509A;
}
.cat.darkpink{
    background-color:#C750E3;
} */

.savecomment img {
  width: 15px;
  cursor: pointer;
}

.navlink img {
  width: auto;
  height: 12px;
}

/* .maincontent.kalender .infobox {
  border-top: none;
} */
.maincontent.kalender {
  .infobox .textcontent {
    padding-top: 107px;
  }
  .infobox h2 {
    font-size: 20px;
    line-height: 24px;
    border-bottom: 1px solid var(--gray);
    padding-bottom: 13px;
    margin-bottom: 13px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .todo-info > *:not(.thetitle),
  .meeting-info > *:not(.thetitle) {
    padding-left: 27px;
  }
  .meeting-meta {
    margin-top: 13px;
  }

  .infobox h3 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 13px;
  }
  .thetitle {
    font-weight: 600;
    margin-bottom: 13px;
    display: flex;
    align-items: center;
  }
  .meeting-info:not(.meeting-info:first-of-type),
  .todo-info:not(.todo-info:first-of-type) {
    margin-top: 20px;
    border-top: 1px solid var(--gray);
    margin-bottom: 20px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
  }
  .infobox .content .todo-info a {
    display: inline-block;
    color: #131313;
    font-weight: 400;
  }
  .day-todos,
  .day-meetings {
    cursor: pointer;
  }
  .calendar-table tr:first-of-type {
    border-bottom: 1px solid var(--gray);
  }
  .calendar-table tr:nth-of-type(2) td {
    padding-top: 20px;
  }
  .content-wrap {
    padding-left: 30px;
  }
  .calendar-head h2 {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 0;
    margin-left: 13px;
    margin-right: 13px;
    font-weight: 600;
  }
  .calendar-head {
    display: flex;
    align-items: center;
    margin-bottom: 28px;
    margin-top: 51px;
  }

  .calendar-head a,
  .calendar-head h2 {
    display: inline-block;
  }

  .calendar-table {
    max-width: 780px;
  }
  table.table.calendar-table th {
    text-transform: uppercase;
    border: none;
    width: 14.285714%;
  }

  .calendar-table .day {
    display: block;
    width: 100%;
    background-color: #f0f0f0;
    border-radius: 8px;
    color: #000;
    font-size: 17px;
    padding: 10px;
    position: relative;
    font-weight: 600;
    cursor: pointer;
  }

  .calendar-table .day.day-6,
  .calendar-table .day.day-7 {
    background-color: var(--gray);
  }

  .calendar-table td.selected .day {
    border: 1px solid #5e27fe;
    background-color: #f6f0ff;
  }

  .calendar-table tr,
  .calendar-table td {
    border: none;
    position: relative;
  }

  .calendar-table td {
    padding: 3px;
  }

  .day-section.day-meetings-section {
    margin-bottom: 20px;
  }

  .calendar-table .entries {
    position: absolute;
    bottom: 18px;
    left: 12px;
    color: var(--purple);
    font-size: 14px;
    font-weight: 600;
  }
}

.job-list a.joblink {
  display: flex;
  align-items: center;
}
.job-list a {
  display: block;
  color: var(--off-white);
  text-decoration: none;
}
.job-list a {
  padding-top: 12px;
  padding-bottom: 12px;
  width: calc(100% + 60px);
  margin-left: -30px;
  padding-left: 30px;
  font-weight: 600;
}
.job-list a.add-job span.plus {
  margin-right: 15px;
}

.acf-form-wrap {
  padding: 20px 28px;
}

.maincontent.new .content-wrap,
.maincontent.edit .content-wrap {
  padding: 25px 30px 65px 30px;
}

.maincontent .acf-form {
  width: 540px;
  max-width: 100%;

  .acf-repeater .acf-row-handle {
    width: 35px;
  }

  tbody,
  td,
  tfoot,
  th,
  thead,
  tr,
  .acf-table {
    border-color: var(--night-sky) !important;
  }

  .acf-table > tbody > tr > th,
  .acf-table > tbody > tr > td,
  .acf-table > thead > tr > th,
  .acf-table > thead > tr > td {
    background: var(--off-white);
  }

  .acf-repeater.-table .acf-table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 20px;
    overflow: hidden;
  }

  .acf-taxonomy-field {
    li {
      padding: 3px 7px;
      span.acf-selection {
        font-size: 12px;
      }
    }

    span.acf-selection {
      color: var(--off-white);
    }
  }

  span.acf-selection {
    font-weight: 600;
    color: var(--night-sky);
  }
}

.maincontent .acf-form .acf-label {
  margin-bottom: 5px;
}

.maincontent .acf-form .acf-label label {
  font-size: 14px;
}

.maincontent .acf-form input,
.maincontent .acf-form select,
.maincontent .acf-form .select2-selection__rendered,
.maincontent .acf-form textarea {
  background-color: #eaeaea;
  border: none;
  border-radius: 25px;
  outline: none !important;
  font-weight: 600;
  color: var(--night-sky);
}
.maincontent .acf-form select,
.maincontent .acf-form textarea,
.maincontent .acf-form input {
  padding: 15px 20px !important;
}

.maincontent .acf-form select {
  min-height: 50px;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='15' height='8' viewBox='0 0 15 8'%3e%3cpath fill='%23959595' d='M0 0l7.5 8L15 0z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 45px !important;
}

.maincontent .acf-form .select2-selection__rendered {
  padding: 10.5px 20px !important;
}

.maincontent .acf-form .acf-fields > .acf-field {
  border: none;
  padding-top: 20px;
  padding-bottom: 20px;
  padding-left: 0;
  padding-right: 0;
}

.maincontent .acf-form .select2-selection {
  display: block;
  height: auto;
  border: none;
  font-size: 14px;
}

.maincontent
  .acf-form
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100%;
  right: 8px;
}

.maincontent
  .acf-form
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: #959595 transparent transparent transparent; /* Farbe auf #959595 geändert */
  border-style: solid;
  border-width: 8px 7.5px 0 7.5px; /* Höhe und Breite des Dreiecks */
  height: 0;
  left: 50%;
  margin-left: -7.5px; /* Die Hälfte der Breite für zentrierte Positionierung */
  margin-top: -4px; /* Die Hälfte der Höhe für zentrierte Positionierung */
  position: absolute;
  top: 50%;
  border-radius: 2px;
}

.maincontent
  .select2-container--default.select2-container--focus
  .select2-selection--multiple {
  border: none;
}

.maincontent
  .select2-container--default
  .select2-selection--multiple
  .select2-selection__rendered {
  padding: 0 !important;
}

.maincontent
  .select2-container--default
  .select2-selection--multiple
  .select2-selection__rendered
  .select2-search__field {
  margin: 0 !important;
}

.maincontent {
  textarea::placeholder,
  input::placeholder,
  .select2-container--default
    .select2-selection--single
    .select2-selection__placeholder,
  .select2-container.-acf
    .select2-selection--multiple
    .select2-search--inline:first-child
    input::placeholder,
  span.select2-selection__placeholder span.acf-selection {
    color: rgba(13, 6, 38, 0.3);
  }
}

.maincontent
  .select2-container.-acf
  .select2-selection--multiple
  .select2-search--inline:first-child
  input {
  font-size: 14px;
  font-weight: 600;
  font-family: "Albert Sans";
  color: rgba(13, 6, 38, 0.3);
}

.maincontent
  .select2-container.-acf
  .select2-selection--multiple
  .select2-selection__choice {
  margin-top: 0;
}

.maincontent
  .select2-container.-acf
  .select2-selection--multiple
  .select2-selection__choice:first-child {
  margin-left: 20px;
}

.maincontent .acf-form .acf-table {
  font-size: 14px;
}

.maincontent .select2-container.-acf .select2-selection--multiple li {
  border-radius: 10px;
  border: none;
}

.maincontent
  div[data-name="category"]
  .select2-container.-acf
  .select2-selection--multiple
  li
  .select2-selection__choice__remove {
  color: #fff;
}

.maincontent .custom-button,
.maincontent .acf-button {
  background-color: var(--night-sky);
  color: #ffffff;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 15px;
  border: 1px solid var(--night-sky);
  transition: all 0.2s ease;

  &:hover {
    background-color: var(--off-white);
    color: var(--night-sky);
  }
}

.maincontent .acf-form-submit input.acf-button,
.maincontent .acf-form-submit input.acf-button.button.publish:hover {
  background-color: var(--night-sky);
  color: var(--off-white);
  border: 1px solid var(--night-sky);
}
.maincontent .acf-button:hover,
.maincontent .acf-form-submit input.acf-button:hover,
.maincontent .acf-form-submit input.acf-button.button.publish {
  color: var(--night-sky);
  background-color: var(--off-white);
}

.maincontent .content-head.has-head-nav {
  padding-bottom: 0;
}

.maincontent table.info-table a {
  color: black;
  text-decoration: none;
  font-weight: 600;
  word-break: break-all;
}

.drivedoc {
  font-weight: 400;
}

.head-nav {
  position: relative;
  margin-top: 35px;
}

.head-nav a {
  text-decoration: none;
  color: #131313;
  font-size: 14px;
  margin-left: 30px;
  border-bottom: 3px solid transparent;
  padding: 3px 0;
  display: inline-block;
}

.head-nav a:first-child {
  margin-left: 0;
}

.head-nav a:hover,
.head-nav a.active {
  font-weight: 600;
  border-bottom-color: var(--night-sky);
}

ul,
ol {
  padding-left: 0;
  list-style-position: inside;
  margin-bottom: 0;
}

ul {
  list-style: none;
}

.left-sidebar .f {
  display: flex;
  flex-direction: column;
  gap: 4px;

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

.user-des {
  font-size: 12px;
  line-height: 14px;
}

.maincontent .info-table ul.deliverables li:before {
  display: none;
}

.maincontent .info-table ul li::before {
  content: "";
  display: inline-block;
  height: 12px;
  width: 12px;
  border: 1px solid var(--purple);
  border-radius: 50%;
  background-color: transparent;
  margin-right: 10px;
  vertical-align: middle;
  margin-bottom: 2px;
}

div.inbox-content {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
div.inbox-content .close {
  margin-right: 10px;
}
div.inbox-content .comment {
  display: flex;
  gap: 10px;
}
div.inbox-content .comment a {
  text-decoration: none;
}

div#message {
  padding: 10px 30px;
  background-color: var(--lavender);
  margin-bottom: 20px;
}
div#message p {
  margin-bottom: 0;
}

.maincontent .contentbox {
  padding: 0 20px;
}
.maincontent .form-head {
  padding: 0 30px;
  padding-top: 27px;

  &.has-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    --webkit-justify-content: space-between;
  }
}
.maincontent .form-head p {
  margin-bottom: 0;
}
.maincontent.singlejob {
  .work_package-row .title-wrap,
  .todo-row .title-wrap,
  .client-row .title-wrap {
    padding-left: 0;
  }

  .todo-row .title-wrap {
    padding-left: 0;
  }

  .table-wrap.übersicht table {
    max-width: 530px;
  }
  .comments-wrap {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
  }
  .comments-wrap .newcommenttext {
    height: 143px;
    width: 592px;
    max-width: 100%;
    border-radius: 15px;
    border: 1px solid var(--gray);
    padding: 10px;
  }
  .comments-wrap .footer {
    background: #f0f0f0;
    padding: 10px 30px;
  }
  .comments-wrap .footer .newcomment {
    display: flex;
    gap: 13px;
  }
  .comments-wrap .input-wrap {
    position: relative;
    width: fit-content;
  }
  .comments-wrap span.savecomment {
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 14px;
  }
  .table-wrap .table-content {
    padding-left: 20px;
  }
  table.collapsed-table {
    margin-top: 20px;
  }
  .table-wrap table.collapsed-table th {
    padding-right: 50px;
  }
  .table-wrap table.collapsed-table td {
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
  }
  .table-wrap table.collapsed-table th,
  .table-wrap table.collapsed-table td {
    padding-bottom: 20px;
    padding-top: 0;
  }
  table.collapsed-table,
  table.collapsed-table td,
  table.collapsed-table th {
    border: none !important;
  }
}

form.delete-form {
  margin-top: 15px;
}

.acf-form-submit {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.acf-field-group[data-name="timespan"] .acf-fields {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;

  .acf-label {
    display: none;
  }

  .acf-field + .acf-field .acf-input {
    &::before {
      content: "-";
      position: absolute;
      display: inline-block;
      left: -20px;
      top: 0;
      bottom: 0;
      height: fit-content;
      margin: auto;
    }
  }
}

.acf-button-group {
  border-radius: 25px !important;
  overflow: hidden;
  background-color: var(--lavender);
}

.acf-field .acf-button-group {
  label.selected {
    background: var(--night-sky);
    color: var(--off-white);
  }

  label {
    border: none !important;
    border-radius: 25px !important;
  }

  label {
    background-color: var(--lavender);
  }

  label:not(.selected):hover {
    background-color: var(--lavender);
    color: var(--night-sky);
    z-index: 1;
  }
}

.purplebutton.secondary:hover,
.purplebutton {
  font-weight: 600;
  display: inline-block;
  padding: 16.5px 15.5px;
  color: var(--off-white) !important;
  text-decoration: none;
  font-size: 14px;
  line-height: 20px;
  background-color: var(--night-sky) !important;
  border-radius: 25px;
  border: 1px solid var(--night-sky) !important;
  transition: all 0.2s ease-in-out;
}
.purplebutton.secondary,
.purplebutton:hover {
  background-color: transparent !important;
  color: var(--night-sky) !important;
}
.infobox a.purplebutton {
  width: fit-content;
  padding: 4px 14px;
}
.infobox .textcontent + .purplebutton {
  margin-bottom: 27px;
  margin-left: 20px;
}
a.purplebutton.edit::before {
  content: url("inc/icons/pen.svg");
  display: inline-block;
  width: 11px;
  height: 11px;
  margin-right: 5px;
  filter: brightness(0) invert(1);
}
a.purplebutton.edit:hover::before {
  filter: unset;
}

.maincontent ul.deliverables {
  list-style-type: none;
  list-style-image: none;
}
.maincontent ul.deliverables .circle {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: transparent;
  border: 1px solid var(--night-sky);
  display: inline-block;
  margin-right: 6px;
}
.maincontent ul.deliverables li {
  display: flex;
  align-items: center;
}
.maincontent.kunden .filter {
  display: flex;
  justify-content: end;
}

.acf-field[data-name="jobnumber"] .acf-label,
.acf-field[data-name="prev-job"] .acf-label {
  display: none;
}

.maincontent .info-table.calls .acf-form {
  width: auto;
  margin: 0;
}
.maincontent .info-table.calls .acf-form label {
  display: none;
}

span.select2-selection__clear {
  margin-right: 10px;
}
.acf-fields.-border {
  border: none !important;
}

input {
  accent-color: var(--night-sky);
}
input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
ul.acf-radio-list {
  display: flex;
  flex-direction: row;
  border: none !important;
}

ul.acf-radio-list li + li {
  margin-left: 10px;
}

.history-row {
  width: 100%;
  padding: 15px;
  padding-left: 30px;
  border-bottom: 1px solid var(--gray);
  position: relative;
}

.history-row .changetime {
  font-size: 12px;
  color: var(--gray);
  margin-top: 3px;
  padding-left: 29px;
}

.history-wrap {
  .changetext {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
  }
  .username,
  strong {
    font-weight: 600;
  }
}

  span.user-mention {
    display: flex;
    align-items: center;
  }

/* Freelancer Form */
.container.freelancer .content form.freelancer-form {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 30px;
  width: fit-content;
}
.container.freelancer .content .form-group {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 5px;
}
.container.freelancer .content .checkbox-group {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 5px;
}
.container.freelancer .content .checkbox-group p {
  margin-bottom: 0;
}
.container.freelancer .content form.freelancer-form input {
  min-width: 445px;
  max-width: 100%;
  background-color: var(--lavender);
  border-radius: 25px;
  padding: 14px 18px;
  font-weight: 600;
  border: none;
  color: var(--night-sky);
}
.container.freelancer .content form.freelancer-form input[type="checkbox"] {
  min-width: unset;
  width: fit-content;
}
.container.freelancer .content form.freelancer-form button.submit {
  width: 100%;
  max-width: 270px;
  background-color: var(--night-sky);
  color: var(--off-white);
  display: block;
  margin: auto;
  border-radius: 25px;
  padding: 14px 18px;
  font-weight: 600;
  border: none;
}
.container.freelancer {
  margin-bottom: 110px;
}
.container.freelancer .title {
  margin-bottom: 50px;
}
.container.freelancer p.success {
  margin-bottom: 30px;
  font-weight: 900;
}

#frst-tt-v2 {

  /* Container */
  .tt-todo-picker {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 5px;
  }

  /* Radio verstecken, aber zugänglich lassen */
  .tt-todo-picker input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
  }

  /* Label als Button */
  .tt-todo-picker label {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 19px;
    cursor: pointer;
    user-select: none;
    width: 100%;
    color: var(--night-sky);
  }

  /* Selected State */
  .tt-todo-picker input[type="radio"]:checked + label {
    font-weight: 600;
    background-color: var(--lavender);
  }

  /* Focus sichtbar */
  .tt-todo-picker input[type="radio"]:focus + label {
    background-color: var(--lavender);
  }

  .hidden {
    display: none;
  }

  button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
  }

  .tt-buttons:has(button):not(:has(button:not(:disabled))) + .tt-time,
  button.tt-sp-book:disabled + span {
    opacity: 0.3;
  }

  .tt-config button:disabled,
  .tt-config
    .tt-buttons:has(button):not(:has(button:not(:disabled)))
    + .tt-time,
  .tt-config button.tt-sp-book:disabled + span {
    opacity: 1;
  }

  .tt-config {
    .tt-actions {
      gap: 7px;
      padding: 5px 0;
    }
  }

  .tt-actions button {
    padding: 0;
    background-color: transparent;
    border: none;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    outline: none;

    img {
      height: 18px;
      width: auto;
      margin-bottom: 3px;
    }
  }

  .tt-legend,
  .tt-title {
    margin-bottom: 10px;
  }

  .tt-row {
    position: relative;
    margin-bottom: 20px;
  }

  .tt-actions {
    display: flex;
    align-items: center;
    gap: 20px;

    span {
      font-weight: 600;
    }
  }

  button.tt-open-config {
    border: none;
    padding: 0;
    background-color: transparent;
    color: var(--pure-white);
    font-weight: 600;
    min-width: 91px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: space-between;
    --webkit-justify-content: space-between;

    &::after {
      content: "";
      background: url("inc/icons/caret-down-light.svg");
      background-repeat: no-repeat;
      height: 15px;
      width: 15px;
      display: inline-block;
      position: relative;
      margin-bottom: 2px;
    }
  }

  .tt-layout-group {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
    --webkit-justify-content: space-between;
  }

  .tt-select-wrap {
    overflow: auto;
    height: 250px;
    position: relative;
    padding-right: 5px;
  }

  .tt-config {
    position: absolute;
    top: 100%;
    z-index: 9999;

    display: none;
    width: 444px;
    height: 270px;

    padding: 10px 5px;
    background: var(--off-white);
    color: rgba(13, 6, 38, 0.3);
    border: 1px solid var(--gray);
    border-radius: 8px;

    font-weight: 600;

    .tt-number-wrap {
      display: inline-flex;
      align-items: center;
      width: auto;
      gap: 5px;
      input {
        background-color: var(--lavender);
        border-radius: 18px;
        border: none;
        padding: 9px;
        width: 70px;
      }
    }

    .tt-config-content {
      display: flex;
      gap: 10px;
    }

    .tt-details,
    textarea {
      width: 100%;
    }

    .tt-details {
      display: flex;
      gap: 20px;
      align-items: flex-start;
      height: 250px;
      overflow: auto;
    }

    textarea {
      border: none;
      background-color: var(--off-white);
      padding: 5px 0;
    }

    ::placeholder {
      color: rgba(13, 6, 38, 0.3);
      opacity: 1;
    }
  }
}

.maincontent.account {
  .content-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    --webkit-justify-content: space-between;
    padding: 25px 30px;

    .letters {
      width: 83px;
      height: 83px;
      background-color: var(--frst-blue);
      border-radius: 50%;
      text-align: center;
      font-size: 30px;
      font-weight: 600;
      color: var(--off-white);
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }

  .content-wrap {
    padding: 30px;

    table {
      th {
        color: var(--gray);
        font-weight: 400;
        padding: 11px 55px 11px 0;
        vertical-align: top;
        font-size: 12px;
      }
      tr.no-padding-bottom {
        th,
        td {
          padding-bottom: 0;
        }
      }
      tr.no-padding-top {
        th,
        td {
          padding-top: 0;
        }
      }
      td {
        font-weight: 600;
        padding: 11px 0;
      }
      .comment {
        border-radius: 25px;
        background-color: var(--lavender);
        padding: 15px 24px;
        max-width: 100%;
        width: 380px;
      }
      a {
        text-decoration: none;
      }
      .account-job-list {
        display: flex;
        flex-direction: column;
        gap: 3px;

        a.joblink.is-hidden {
          display: none;
        }

        a.inactive {
          opacity: 0.3;
        }

        a,
        button {
          text-decoration: underline;
          color: var(--night-sky);
          width: fit-content;
          font-weight: 600;
        }
        button {
          background-color: transparent;
          border: none;
          padding: 0;
          font-size: 12px;
        }
      }
    }
  }
}

.table-wrap.timeline table.timeline-table {
  th {
    font-size: 14px;
    font-weight: 600;
    color: var(--black) !important;
  }
  .timeline-work-package-bar,
  .timeline-item-bar {
    color: var(--off-white);
    border-radius: 13px;
    text-align: center;
    padding: 2px 5px;
    position: relative;
  }

  .timeline-milestone-row {
    .timeline-lane--milestone {
      position: relative;
      min-height: 28px;
      overflow: visible;
    }

    .timeline-milestone {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      z-index: 3;
    }

    .timeline-milestone__marker {
      width: 16px;
      height: 16px;
      flex: 0 0 16px;
      margin-left: -8px;
      border-radius: 3px;
      background: var(--red);
      display: inline-block;
      transform: rotate(45deg);
    }

    .timeline-milestone__title {
      font-size: 14px;
      line-height: 1.2;
    }
  }
}

.table-filter {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px 30px;

  .sorting-content .radio-wrap {
    position: relative;

    input[type="radio"] {
      position: absolute;
      opacity: 0;
      pointer-events: none;
    }

    label {
      display: inline-flex;
      width: 100%;
      align-items: center;
      justify-content: label;
      min-height: 32px;
      padding: 8px 13px;
      border: none;
      border-radius: 19px;
      background: var(--off-white);
      cursor: pointer;
      transition: background-color 0.2s ease
    }

    input[type="radio"]:checked + label {
      background-color: var(--lavender);
    }

    input[type="radio"]:disabled + label {
      opacity: 0.5;
      cursor: not-allowed;
    }
  }

  .radio-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
  }

  .filter-time-rows,
  .filter-planned-time-rows,
  .filter-storypoints-rows {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .filter-time-presets {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    margin-top: 20px;
    margin-bottom: 10px;
    gap: 20px;
    padding: 0 10px;

    button {
      font-weight: 600;
    }
  }

  input {
    border: none;
    display: flex;
    align-items: center;
    background-color: var(--lavender);
    border-radius: 16px;
    padding: 6px 10px;
  }

  input[type="radio"] {
    width: 13px;
  }

  .select2-selection.select2-selection--multiple {
    border: none;
    border-radius: 19px;
    background-color: var(--lavender);

    .select2-dropdown {
      padding: 10px;
      min-width: 270px !important;
      margin-left: -10px;
    }

    .select2-results__option--selectable {
      border-radius: 19px;
      background-color: var(--off-white);
    }

    .select2-results__option--highlighted {
      background-color: var(--lavender);
    }

    .select2-search__field {
      margin-left: 13px;
    }

    .select2-results__options {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
  }

  button {
    background-color: transparent;
    border: none;
    padding: 0;
    margin: 0;
  }

  .table-filter-head {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;

    button {
      font-size: 12px;
    }
  }
  .table-filter-body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;

    .reset {
      text-decoration: underline;
      color: var(--gray);
    }
    .inner-reset {
      padding: 6px;
      border-top: 1px solid var(--gray);
      color: var(--gray);
      width: 100%;
    }
    .filter-toggle,
    .sorting-toggle {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 5px;

      img {
        height: auto;
        width: 12px;
        flex-shrink: 0;
      }
    }
    .filter-content-wrap {
      position: relative;
    }
    .filter-content-wrap:has(.select2-selection__choice) > .filter-toggle {
      font-weight: bold;
    }
    .filter-content {
      top: 100%;
      position: absolute;
      z-index: 3;
      min-width: 270px;
      padding: 10px;
      border: 1px solid var(--gray);
      background-color: var(--off-white);

      &.no-padding {
        padding: 0;
      }

      .padding-group {
        padding: 10px;

        &.has-gap {
          display: flex;
          flex-direction: column;
          gap: 20px;
        }
      }
    }
  }
}

/* no results div */
.table-filter-results-summary {
  padding: 20px 30px;
}

table[data-default-children="closed"] tbody tr:not(.job-row) {
  display: none;
}