body, textarea {
  font-size: 14px;
}

* {
  font-family: "Open Sans", open-sans, Helvetica, Arial, EmojiFontFace, sans-serif;
}

.material-icon-filled {
  font-variation-settings: "FILL" 1;
}

html {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  min-height: 100vh;
  margin: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: red;
}

.top-nav {
  background-color: #256188;
  height: 40px;
  display: flex;
}
.top-nav a, .top-nav span {
  color: white;
  font-size: 16px;
  text-decoration: none;
  margin: auto 5px;
}
.top-nav img {
  height: 40px;
}
.top-nav .spacer {
  flex-grow: 1;
}
.top-nav .profile-link {
  cursor: pointer;
  font-size: 30px !important;
  padding-top: 4px;
}
.top-nav .top-nav-logout {
  margin: auto 5px auto 0;
}

::-webkit-scrollbar {
  background-color: #fff;
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: #bbb;
  min-height: 40px;
}

.dashboard {
  padding: 15px;
  color: black;
}

.profile-container {
  min-height: 100vh;
}
.profile-container .below-top-nav {
  background-color: #f7f6f6;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 40px);
}
.profile-container .tab-bar {
  background-color: #32353c;
  color: white;
  text-transform: uppercase;
  padding: 15px 20px;
  display: flex;
  gap: 25px;
  font-size: 13px;
}
.profile-container .tab-bar a {
  color: white !important;
  text-decoration: none;
}
.profile-container .tab-bar a.active {
  color: #85bfe6 !important;
}

.profile-display, .notifications-settings {
  color: black;
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.profile-display section, .notifications-settings section {
  background-color: white;
  border: 1px solid #ddd;
  width: 750px;
}
.profile-display section input[type=checkbox], .notifications-settings section input[type=checkbox] {
  height: 18px;
  width: 18px;
  border-radius: 4px;
  margin-right: 10px;
}
.profile-display section header, .notifications-settings section header {
  background-color: #32353c;
  color: white;
  text-transform: uppercase;
  padding: 10px;
  font-size: 12px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.profile-display section .setting, .notifications-settings section .setting {
  color: #626262;
  font-size: 12px;
  display: flex;
  align-items: center;
  padding: 10px 20px;
  border-bottom: 1px solid #ddd;
}
.profile-display section .setting:last-child, .notifications-settings section .setting:last-child {
  border-bottom: none;
}
.profile-display section .setting label.setting-name, .notifications-settings section .setting label.setting-name {
  display: inline-block;
  font-weight: bold;
  width: 170px;
}
.profile-display section .setting select, .notifications-settings section .setting select {
  font-size: 12px;
}

.project-container {
  height: 100vh;
}
.project-container .below-top-nav {
  background-color: #212121;
  display: flex;
  height: calc(100vh - 40px);
}

.project-sidebar {
  color: rgb(193, 193, 193);
  background-color: #2f3337;
  box-shadow: rgba(0, 0, 0, 0.15) 5px 0 10px 0;
  flex-basis: 230px;
  min-width: 230px;
  text-shadow: rgba(0, 0, 0, 0.5) 0 1px 1px;
}
.project-sidebar a {
  color: inherit;
}
.project-sidebar .panel-toggles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.project-sidebar .panel-toggle {
  display: flex;
  border-left-style: solid;
  border-left-width: 4px;
  border-color: #2f3337;
  cursor: pointer;
}
.project-sidebar .panel-toggle.active {
  border-color: #8ac7ff;
  color: #8ac7ff;
}
.project-sidebar .panel-toggle:hover {
  background-color: rgba(255, 255, 255, 0.08);
}
.project-sidebar .panel-toggle div {
  padding: 8px 0 5px 10px;
}
.project-sidebar .panel-toggle div.label {
  padding-top: 10px;
}

.project-panels {
  flex-grow: 1;
  padding: 11px;
  display: flex;
  gap: 9px;
  overflow-x: auto;
}

.offline {
  background-color: white;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translate(-50%);
  padding: 9px;
  border-radius: 6px;
  border: 2px solid red;
  color: red;
  font-weight: bold;
  text-align: center;
}

.contains-action-menu:hover .action-menu-toggle {
  display: block;
}
.contains-action-menu .action-menu-toggle {
  display: none;
  color: black;
  position: relative;
}
.contains-action-menu .action-menu-toggle .dropdown-icon {
  font-size: 20px !important;
}
.contains-action-menu .action-menu-toggle .action-menu {
  position: absolute;
  top: 100%;
  box-shadow: #4a4a4a 0 2px 4px;
  z-index: 5;
  min-width: 120px;
  right: 0;
  background-color: white;
  font-size: 11.5px;
}
.contains-action-menu .action-menu-toggle .action-menu .action-item {
  cursor: pointer;
  padding: 5px;
}
.contains-action-menu .action-menu-toggle .action-menu .action-item:hover {
  background-color: #eee;
}

.button-sm {
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  padding: 0 15px 1px;
}

.button-md {
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  padding: 5px 10px 5.5px;
}

.button-lg {
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  padding: 5px 10px;
}

.change-state-button {
  padding: 4px 6px;
  font-size: 11px;
  width: 50px;
}
.change-state-button.change-state-from-rejected {
  width: 70px;
}
.change-state-button.type-accept {
  background-color: #629200;
}
.change-state-button.type-accept:hover {
  background-color: rgb(80.8835616438, 120.5, 0);
}
.change-state-button.type-accept {
  color: white;
  border: 1px solid #4e8200;
}
.change-state-button.type-deliver {
  background-color: #f39300;
}
.change-state-button.type-deliver:hover {
  background-color: rgb(217.5, 131.5740740741, 0);
}
.change-state-button.type-deliver {
  color: white;
  border: 1px solid #f08000;
}
.change-state-button.type-finish {
  background-color: #203e64;
}
.change-state-button.type-finish:hover {
  background-color: rgb(25.8181818182, 50.0227272727, 80.6818181818);
}
.change-state-button.type-finish {
  color: white;
  border: 1px solid #172c51;
}
.change-state-button.type-reject {
  background-color: #a71f39;
}
.change-state-button.type-reject:hover {
  background-color: rgb(145.4924242424, 27.0075757576, 49.6590909091);
}
.change-state-button.type-reject {
  color: white;
  border: 1px solid #950828;
}
.change-state-button.type-start {
  background-color: #e0e2e5;
}
.change-state-button.type-start:hover {
  background-color: rgb(210.1315789474, 213.0263157895, 217.3684210526);
}
.change-state-button.type-start {
  color: black;
  border: 1px solid #c8cbd0;
}

.neutral-action-button {
  background-color: #efefef;
  color: black;
  border: 1px solid black;
}

.positive-action-button {
  background-color: #3676c0;
}
.positive-action-button:hover {
  background-color: rgb(48.4024390244, 105.7682926829, 172.0975609756);
}
.positive-action-button {
  border: 1px solid #3676c0;
  color: white;
}

.collapsed-epic {
  background-color: #ebe9e3;
  border-top: 2px solid #ebe9e3;
}
.collapsed-epic:hover {
  background-color: rgb(224.375, 221.3125, 212.125);
  border-top: 2px solid rgb(224.375, 221.3125, 212.125);
}
.collapsed-epic {
  border-bottom: 1px solid #bbb;
  color: black;
  cursor: move;
  padding: 0 0 3px 8px;
}
.collapsed-epic.completed {
  background-color: #daebcf;
  border-top: 2px solid #daebcf;
}
.collapsed-epic.completed:hover {
  background-color: rgb(204.125, 227.5, 189);
  border-top: 2px solid rgb(204.125, 227.5, 189);
}
.collapsed-epic.drop-target {
  border-top-color: black !important;
}
.collapsed-epic .epic-name-and-status {
  flex-grow: 1;
}
.collapsed-epic .epic-name-and-status .epic-name {
  font-size: 12px;
  padding-top: 5px;
  padding-bottom: 4px;
}

.collapsed-story {
  border-bottom: 1px solid #ddd;
  color: black;
  cursor: move;
  display: flex;
  gap: 10px;
  padding: 0px 5px 1px;
}
.collapsed-story.drop-target {
  border-top-color: black !important;
}
.collapsed-story.state-unscheduled {
  background-color: #e4eff7;
  border-top: 2px solid #e4eff7;
}
.collapsed-story.state-unscheduled:hover {
  background-color: rgb(208.3285714286, 227.3428571429, 241.1714285714);
  border-top: 2px solid rgb(208.3285714286, 227.3428571429, 241.1714285714);
}
.collapsed-story.state-planned, .collapsed-story.state-unstarted {
  background-color: #f4f4f4;
  border-top: 2px solid #f4f4f4;
}
.collapsed-story.state-planned:hover, .collapsed-story.state-unstarted:hover {
  background-color: rgb(231.25, 231.25, 231.25);
  border-top: 2px solid rgb(231.25, 231.25, 231.25);
}
.collapsed-story.state-delivered, .collapsed-story.state-finished, .collapsed-story.state-started, .collapsed-story.state-rejected {
  background-color: #f0f0c6;
  border-top: 2px solid #f0f0c6;
}
.collapsed-story.state-delivered:hover, .collapsed-story.state-finished:hover, .collapsed-story.state-started:hover, .collapsed-story.state-rejected:hover {
  background-color: rgb(234.6875, 234.6875, 177.8125);
  border-top: 2px solid rgb(234.6875, 234.6875, 177.8125);
}
.collapsed-story.state-accepted {
  cursor: pointer;
  background-color: #daebcf;
  border-top: 2px solid #daebcf;
}
.collapsed-story.state-accepted:hover {
  background-color: rgb(204.125, 227.5, 189);
  border-top: 2px solid rgb(204.125, 227.5, 189);
}
.collapsed-story.type-release {
  color: white;
  background-color: #407aa5;
  border-top: 2px solid #407aa5;
}
.collapsed-story.type-release:hover {
  background-color: rgb(56.8733624454, 108.4148471616, 146.6266375546);
  border-top: 2px solid rgb(56.8733624454, 108.4148471616, 146.6266375546);
}
.collapsed-story.type-release {
  border-bottom-color: rgb(0, 70, 224);
}
.collapsed-story.type-release .story-name {
  font-style: normal !important;
}
.collapsed-story.type-release .owner-initials {
  color: inherit !important;
}
.collapsed-story.type-release .story-labels .label-link {
  color: rgb(238, 218, 125) !important;
  font-weight: normal !important;
}
.collapsed-story.unestimated .story-name {
  font-style: italic;
}
.collapsed-story .story-icon {
  flex-grow: 0;
  padding: 6px 0 0 4px;
  max-width: 30px;
}
.collapsed-story .story-icon img {
  width: 18px;
  height: 16px;
}
.collapsed-story .story-estimate {
  color: #999;
  font-size: 12px;
  font-weight: 600;
  min-width: 20px;
  padding-top: 6px;
  text-align: center;
  width: 20px;
}
.collapsed-story .name-and-labels {
  flex-grow: 1;
}
.collapsed-story .name-and-labels .story-name {
  font-size: 12px;
  padding-top: 5px;
  padding-bottom: 4px;
}
.collapsed-story .name-and-labels .owner-initials {
  color: #0957a4;
}
.collapsed-story .name-and-labels .story-labels {
  font-size: 10px;
  padding-bottom: 2px;
}
.collapsed-story .story-state-change-buttons {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  padding-top: 2px;
  padding-bottom: 3px;
}
.collapsed-story .story-selector {
  padding-top: 4px;
  padding-right: 5px;
}
.collapsed-story .story-selector input {
  transform: scale(1.2);
}

.comment {
  box-sizing: border-box;
  display: flex;
  padding: 10px;
  gap: 10px;
  width: 100%;
}

.comment-details {
  padding-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  border-bottom: 1px solid #bbb;
}
.comment-details .comment-username-and-actions {
  display: flex;
  justify-content: space-between;
}
.comment-details .comment-username-and-actions .comment-username {
  flex-grow: 1;
  color: black;
  font-size: 13px;
  font-weight: 600;
}
.comment-details .comment-username-and-actions .existing-comment-actions {
  position: relative;
}
.comment-details .comment-username-and-actions .existing-comment-actions .comment-menu-revealer {
  color: black;
  cursor: pointer;
  font-size: 16px !important;
}
.comment-details .comment-username-and-actions .existing-comment-actions .existing-comment-menu {
  position: absolute;
  top: 100%;
  box-shadow: #4a4a4a 0 2px 4px;
  z-index: 5;
  min-width: 120px;
  right: 0;
  background-color: white;
  font-size: 11.5px;
  color: black;
}
.comment-details .comment-username-and-actions .existing-comment-actions .existing-comment-menu .existing-comment-menu-action {
  padding: 5px;
  cursor: pointer;
}
.comment-details .comment-username-and-actions .existing-comment-actions .existing-comment-menu .existing-comment-menu-action:hover {
  background-color: #eee;
}
.comment-details .comment-reactions-and-metadata {
  color: #777;
  font-size: 12px;
}

.editing-comment-container {
  background-color: white;
  border-radius: 4px;
  border: 1px solid #bbb;
  gap: 0;
}
.editing-comment-container:focus-within {
  box-shadow: 0 0 1px 2px #83beff;
}
.editing-comment-container .rich-text-editor-tabs {
  top: -37px !important;
  right: -11px !important;
}

.editing-comment {
  flex-grow: 1;
  max-width: calc(100% - 32px);
}
.editing-comment .attachments-header {
  color: black;
  font-size: 12px;
  margin-top: 10px;
}
.editing-comment .comment-action {
  color: #666;
  cursor: pointer;
  padding: 5px 3px;
  font-size: 18px;
}
.editing-comment .comment-action:hover {
  background-color: #eee;
}

.estimate-links {
  display: flex;
  gap: 2px;
  align-items: center;
  height: 25px;
  position: relative;
}
.estimate-links span {
  cursor: pointer;
  color: #3F79A5;
  font-weight: bold;
  font-size: 12px;
  padding: 4px 3px;
  text-align: center;
}
.estimate-links span:hover {
  color: #244B83;
  background-color: rgba(74, 74, 74, 0.16);
}
.estimate-links .addl-estimate-links-toggle {
  font-size: 11px !important;
}
.estimate-links .addl-estimate-links {
  display: flex;
  gap: 2px;
  background-color: #eee;
  box-shadow: #4a4a4a 0 2px 4px;
  font-size: 11.5px;
  height: 25px;
  position: absolute;
  right: 10px;
  top: 100%;
  z-index: 5;
}

.file-attachment {
  background-color: white;
  border: 1px solid #bbb;
  border-radius: 4px;
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 5px;
}
.file-attachment .thumbnail {
  min-height: 19px;
  padding: 10px;
}
.file-attachment .file-name-and-size {
  flex-grow: 1;
  border-right: 1px solid #aaa;
  color: black;
  font-size: 12px;
}
.file-attachment .file-name-and-size a {
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}
.file-attachment .file-name-and-size a:hover {
  color: #427bbb;
}
.file-attachment .action-icon {
  color: #aaa;
  cursor: pointer;
  font-size: 24px;
  padding: 10px 10px 10px 5px;
  vertical-align: middle;
}

.follow-summary {
  font-size: 11.5px;
  display: flex;
  gap: 3px;
  padding-right: 5px;
  align-items: center;
  position: relative;
}
.follow-summary .follower-details-revealer {
  cursor: pointer;
  color: #3676c0;
}
.follow-summary .follower-details {
  position: absolute;
  top: 100%;
  box-shadow: #4a4a4a 0 2px 4px;
  z-index: 5;
  min-width: 120px;
  right: 0;
  background-color: white;
  font-size: 11.5px;
  border-radius: 4px;
  right: 25px;
  width: 200px;
}
.follow-summary .follower-details header {
  background-color: #6d8f38;
  color: white;
  padding: 10px;
}
.follow-summary .follower-details article {
  padding: 10px;
}

.history-item {
  background-color: #eee;
  color: black;
  padding: 5px 5px 7px;
  font-size: 12px;
  border-bottom: 1px solid #aaa;
}
.history-item .history-record {
  padding: 5px;
}
.history-item .item-name {
  background-color: #ddd;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  padding: 5px;
  margin-bottom: 5px;
}
.history-item summary .summary {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: calc(100% - 15px);
}
.history-item summary .summary .timestamp {
  color: #666;
  font-size: 11px;
  font-style: italic;
}
.history-item summary ::marker {
  color: #666;
}
.history-item .history-changes {
  background-color: white;
  margin-top: 7px;
  margin-left: 20px;
  padding: 5px;
}

.iteration {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #676e7a;
  padding: 3px 0px 4px;
  color: rgb(238, 238, 238);
  font-size: 12px;
}
.iteration .iteration-controls {
  display: flex;
  align-items: center;
  padding-right: 5px;
}
.iteration .iteration-controls .collapse-control {
  cursor: pointer;
}
.iteration .iteration-controls .collapse-control:hover {
  background-color: #737984;
}
.iteration .iteration-controls .today-icon {
  font-size: 22px;
  padding: 2px 5px 3px;
}
.iteration.drop-target {
  border-bottom: 2px solid black;
  padding-bottom: 2px;
}
.iteration input::-webkit-outer-spin-button,
.iteration input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}
.iteration input[type=number] {
  -moz-appearance: textfield; /* Firefox */
}
.iteration .edited {
  color: #e0c85e;
}

.label-link {
  color: #063;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}
.label-link.epic-linked {
  color: rgb(78.422, 49.968, 123.532);
}

.label-editor-container {
  position: relative;
}

.label-editor {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
  padding: 6px 5px 5px;
  min-height: 26px;
}
.label-editor.label-editor-multiple {
  background-color: white;
  border-radius: 4px;
  border: 1px solid #bbb;
  cursor: text;
}
.label-editor.label-editor-single {
  background-color: inherit;
}
.label-editor .borderless-input {
  background-color: inherit;
  border: 0;
  outline: none;
}
.label-editor .label-autocomplete {
  font-size: 12px;
  flex-grow: 1;
}
.label-editor .dropdown-icon {
  font-size: 18px !important;
  color: #888;
  cursor: pointer;
}
.label-editor .assigned-label {
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 4px;
  height: 26px;
}
.label-editor .assigned-label.epic-linked .label-name, .label-editor .assigned-label.epic-linked .label-remove {
  background-color: #7148b2;
}
.label-editor .assigned-label.epic-linked .label-name:hover, .label-editor .assigned-label.epic-linked .label-remove:hover {
  background-color: rgb(101.474, 64.656, 159.844);
}
.label-editor .assigned-label .label-name {
  background-color: #588a00;
}
.label-editor .assigned-label .label-name:hover {
  background-color: rgb(71.7391304348, 112.5, 0);
}
.label-editor .assigned-label .label-name {
  box-sizing: border-box;
  border-radius: 4px 0 0 4px;
  color: white;
  font-size: 12px;
  padding: 4px 5px 3px 5px;
  height: 100%;
  white-space: nowrap;
}
.label-editor .assigned-label .label-remove {
  background-color: #588a00;
}
.label-editor .assigned-label .label-remove:hover {
  background-color: rgb(71.7391304348, 112.5, 0);
}
.label-editor .assigned-label .label-remove {
  box-sizing: border-box;
  border-radius: 0 4px 4px 0;
  padding: 4px 4px 3px 4px;
  height: 100%;
}
.label-editor .assigned-label .close-icon {
  color: white;
  font-size: 11px !important;
}

.label-editor-dropdown {
  position: absolute;
  top: 100%;
  box-shadow: #4a4a4a 0 2px 4px;
  z-index: 5;
  min-width: 120px;
  right: 0;
  background-color: white;
  font-size: 11.5px;
  border-radius: 4px;
  right: 2px;
  min-width: calc(100% - 4px);
  max-height: 300px;
  overflow-y: scroll;
}
.label-editor-dropdown div {
  padding: 8px;
  white-space: nowrap;
}
.label-editor-dropdown .label-icon-and-name:focus, .label-editor-dropdown .label-icon-and-name:hover, .label-editor-dropdown .label-icon-and-name.selected {
  background-color: #eee;
}

.label-icon-and-name {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 5px;
  color: #588a00;
  outline: none;
}
.label-icon-and-name.epic-linked {
  color: #7148b2;
}
.label-icon-and-name .label-icon {
  font-size: 15px !important;
  font-variation-settings: "FILL" 1;
}

.label-row {
  cursor: pointer;
  display: flex;
  background-color: #f3f3f3;
  padding: 10px;
  border-bottom: 1px solid #e3e3e3;
  font-size: 12px;
  align-items: center;
}
.label-row:hover {
  background-color: white;
}
.label-row .label-icon-and-name {
  flex-grow: 1;
  padding: 5px 0;
}
.label-row .label-icon-and-name .with-stories {
  font-weight: 600;
}

.modal {
  border-radius: 4px;
}
.modal header {
  font-size: 20px;
}

.modal-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.panel {
  flex: 1 1 0;
  min-width: 375px;
  color: red;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  background-color: rgb(44, 45, 47);
  color: white;
  padding: 3px;
  box-sizing: border-box;
  height: 45px;
}

.panel-title {
  padding: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.panel-title .current-velocity {
  padding-left: 10px;
  color: #ccc;
  font-size: 12px;
}
.panel-title .current-velocity .material-icon {
  font-size: 14px;
  vertical-align: middle;
}

.panel-actions {
  display: flex;
  height: 100%;
}

.panel-action {
  cursor: pointer;
  padding: 0 5px;
}

.panel-add-item {
  border-radius: 5px;
  display: flex;
  gap: 5px;
  padding: 7px;
}
.panel-add-item:hover {
  background-color: rgb(220, 117, 54);
}
.panel-add-item span:last-child {
  padding-top: 2px;
}

.panel-close-button {
  color: rgb(193, 193, 193);
  cursor: pointer;
  padding: 7px;
}

.panel-contents {
  background-color: #484f57;
  min-height: 400px;
  max-height: calc(100% - 45px);
  overflow-x: hidden;
  overflow-y: auto;
  position: relative;
}
.panel-contents .empty-panel {
  height: 100%;
  position: absolute;
  width: 100%;
}
.panel-contents .empty-panel .droppable {
  box-sizing: border-box;
  height: 100%;
}
.panel-contents .empty-panel .droppable.current-drop-target {
  border: 2px dashed white;
}
.panel-contents .empty-panel .droppable.current-drop-target .no-contents {
  padding-top: 29px;
}
.panel-contents .show-all-done {
  background-color: #daebcf;
}
.panel-contents .show-all-done:hover {
  background-color: rgb(204.125, 227.5, 189);
}
.panel-contents .show-all-done {
  border-bottom: 1px solid #bbcfa5;
  cursor: pointer;
  text-align: center;
  padding: 5px;
  color: #666;
  font-size: 11px;
  font-weight: bold;
}
.panel-contents .no-contents {
  color: white;
  padding: 30px;
  text-align: center;
}

.error-loading {
  border: 1px solid red;
  background: #fcc;
  padding: 5px;
}

.person-pic {
  height: 24px;
  width: 24px;
  min-height: 24px;
  min-width: 24px;
  border-radius: 50%;
}

.person-pic-initials {
  align-items: center;
  display: inline-flex;
  justify-content: space-around;
  height: 24px;
  width: 24px;
  min-height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background-color: #a1a4ad;
  color: white;
  font-size: 11px;
}

.rich-text-display {
  color: black;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.rich-text-display > :first-child {
  margin-top: 0;
}
.rich-text-display p {
  margin-bottom: 16px;
}
.rich-text-display p:last-child {
  margin-bottom: 0;
}
.rich-text-display ol, .rich-text-display ul {
  margin-top: 0;
  padding-left: 15px;
}
.rich-text-display code, .rich-text-display pre {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #444;
  font-family: Consolas, "Liberation Mono", Courier, monospace, EmojiFontFace;
  line-height: 1.3em;
  text-wrap-mode: wrap;
}
.rich-text-display code > code, .rich-text-display pre > code {
  border: 0;
  padding: 0;
}
.rich-text-display code {
  display: inline-block;
  padding: 1px 3px;
}
.rich-text-display pre {
  display: block;
  padding: 10px;
}
.rich-text-display summary {
  cursor: pointer;
}
.rich-text-display blockquote {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #222;
  margin-left: 0;
  margin-right: 0;
  padding: 10px;
}
.rich-text-display blockquote > p:first-child {
  margin-top: 0;
}
.rich-text-display blockquote > p:last-child {
  margin-bottom: 0;
}
.rich-text-display .epic-link {
  background-color: #fafafa;
  border-radius: 2px;
  color: #7148b2;
  cursor: pointer;
  display: inline-block;
  padding: 2px 3px;
}
.rich-text-display .mention {
  color: rgb(201, 83, 4);
  font-weight: 600;
}
.rich-text-display .rich-text-display-placeholder {
  color: #666;
}
.rich-text-display .story-link {
  background-color: #e4efe7;
  border-radius: 2px;
  font-weight: 600;
  cursor: pointer;
  display: inline-block;
  padding: 2px 3px;
}

.rich-text-editor {
  display: flex;
  flex-direction: column;
  position: relative;
}
.rich-text-editor textarea {
  border: none;
  field-sizing: content;
  font-size: 12px;
  outline: none;
  padding: 10px;
  resize: none;
}
.rich-text-editor .rich-text-editor-buttons {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 5px;
}
.rich-text-editor .rich-text-editor-buttons .spacer {
  flex-grow: 1;
}
.rich-text-editor .rich-text-editor-tabs {
  cursor: pointer;
  position: absolute;
  top: -27px;
  right: -1px;
  display: flex;
}
.rich-text-editor .rich-text-editor-tabs div {
  border: 1px solid #bbb;
  border-bottom: 1px solid white;
  color: #666;
  background-color: #eee;
  font-size: 12px;
  padding: 5px;
}
.rich-text-editor .rich-text-editor-tabs div.active {
  color: black;
  background-color: white;
}
.rich-text-editor .rich-text-editor-tabs div:last-child {
  border-left-width: 0px;
}
.rich-text-editor .mentionables {
  position: absolute;
  top: 100%;
  box-shadow: #4a4a4a 0 2px 4px;
  z-index: 5;
  min-width: 120px;
  right: 0;
  background-color: white;
  font-size: 11.5px;
  color: black;
  width: 250px;
}
.rich-text-editor .mentionables div {
  padding: 5px;
}
.rich-text-editor .mentionables div.selected, .rich-text-editor .mentionables div:hover {
  background-color: #eee;
}
.rich-text-editor .rich-text-preview {
  padding: 10px;
}

.search-bar {
  background-color: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(0, 0, 0, 0);
  border-radius: 4px;
  box-sizing: border-box;
  color: white;
  margin: auto 0;
  padding: 3px;
  display: flex;
}
.search-bar:focus-within {
  border-color: white;
}
.search-bar input {
  background-color: rgba(0, 0, 0, 0);
  border: 0;
  color: inherit;
  outline: none;
}
.search-bar input::placeholder {
  color: inherit;
  opacity: 0.7;
}

.story-form {
  background-color: #f1f0ea;
  border-bottom: 2px solid #bbb;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 7px 7px 25px 15px;
  position: relative;
}
.story-form:hover, .story-form:focus-within {
  background-color: #d9d9d3;
}
.story-form .file-drag-overlay {
  background-color: rgba(60, 70, 90, 0.9);
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}
.story-form .file-drag-overlay .upload-icon {
  font-size: 50px;
}
.story-form .file-drag-overlay p {
  font-size: 20px;
}
.story-form .story-anchor {
  margin-top: -10px;
}
.story-form .close-icon {
  color: #333;
  cursor: pointer;
  font-size: 18px;
}
.story-form .top-row {
  display: flex;
  gap: 7px;
}
.story-form .top-row .story-name {
  flex-grow: 1;
  font-size: 16px;
  resize: none;
  padding: 5px;
  field-sizing: content;
  border-radius: 4px;
  border: 1px solid #bbb;
}
.story-form .actions-row {
  display: flex;
  gap: 4px;
}
.story-form .actions-row .actions-cluster {
  background-color: rgb(246, 246, 246);
  border: 1px solid #bbb;
  border-radius: 3px;
  color: #333;
  display: flex;
  position: relative;
}
.story-form .actions-row .actions-cluster.disabled {
  background-color: #e6e6e6;
  color: #999;
}
.story-form .actions-row .actions-cluster.disabled span {
  cursor: not-allowed !important;
}
.story-form .actions-row .actions-cluster span {
  box-sizing: border-box;
  border-right: 1px solid #bbb;
  cursor: pointer;
  display: inline-block;
  font-size: 11px;
  height: 100%;
  padding: 2px 4px;
}
.story-form .actions-row .actions-cluster span.material-icon {
  font-size: 14px;
  padding-top: 3px;
}
.story-form .actions-row .actions-cluster span.story-id {
  cursor: default;
  min-width: 70px;
}
.story-form .actions-row .actions-cluster span:last-child {
  border-right: none;
}
.story-form .actions-row .actions-cluster .copy-feedback {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #4e8200;
  color: white;
  font-size: 12px;
  border-radius: 3px;
  text-align: center;
  padding-top: 1px;
  pointer-events: none;
}
.story-form .actions-row .actions-cluster .copy-feedback.hidden {
  opacity: 0;
  transition: all 250ms linear 1.5s;
}
.story-form .actions-row .actions-cluster .copy-feedback.shown {
  opacity: 1;
  transition: all 250ms linear;
}
.story-form .actions-row .collapse-button {
  padding-left: 30px;
  padding-right: 30px;
}
.story-form .actions-row .save-button {
  padding-left: 15px;
  padding-right: 15px;
}
.story-form .bottom-row {
  margin-bottom: -25px;
  margin-left: -12px;
}
.story-form .story-attrs {
  background-color: #f6f6f6;
  min-width: 341px;
  width: fit-content;
  border: 1px solid #bbb;
  border-radius: 4px;
}
.story-form .story-attrs > :last-child {
  border-radius: 0 0 4px 4px;
  border-bottom: 0 !important;
}
.story-form .story-attrs .story-attr {
  border-bottom: 1px solid #bbb;
  color: black;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.story-form .story-attrs .story-attr label {
  color: #505050;
  font-size: 10px;
  padding: 8px;
  text-transform: uppercase;
}
.story-form .story-attrs .story-attr .buttons-and-dropdown {
  display: flex;
  gap: 3px;
  padding-top: 3px;
  padding-bottom: 3px;
}
.story-form .story-attrs .time-elapsed {
  background-color: #eee;
  font-size: 10px;
  color: #4a4a4a;
  padding: 7px;
  text-align: center;
}
.story-form .story-form-subsection header {
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 600;
  color: black;
  padding: 5px 0 7px;
}
.story-form .story-form-subsection .story-form-subsection-header-with-controls {
  color: black;
  display: flex;
  justify-content: space-between;
}
.story-form .story-form-subsection .story-description {
  background-color: white;
  border: 1px solid #bbb;
  border-radius: 4px;
  padding: 10px;
}
.story-form .story-form-subsection .story-description-editor {
  background-color: white;
  border: 1px solid #bbb;
  border-radius: 4px;
}
.story-form .story-form-subsection .story-description-editor:focus-within {
  box-shadow: 0 0 1px 2px #83beff;
}

.story-attr-selector-container {
  display: flex;
  position: relative;
}
.story-attr-selector-container .estimate-icon {
  color: #888;
  font-size: 16px;
}
.story-attr-selector-container .story-attr-selector {
  align-items: center;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  font-size: 11.5px;
  gap: 3px;
  height: 100%;
}
.story-attr-selector-container .story-attr-selector.disabled {
  cursor: not-allowed;
  color: #888;
}
.story-attr-selector-container .story-attr-selector .dropdown-icon {
  font-size: 17px;
  color: #888;
}
.story-attr-selector-container .story-attr-option-label {
  padding-left: 5px;
  text-transform: capitalize;
}
.story-attr-selector-container .story-attr-selector-dropdown {
  position: absolute;
  top: 100%;
  box-shadow: #4a4a4a 0 2px 4px;
  z-index: 5;
  min-width: 120px;
  right: 0;
  background-color: white;
  font-size: 11.5px;
  right: 10px;
}
.story-attr-selector-container .story-attr-selector-dropdown div {
  padding: 8px;
  white-space: nowrap;
}
.story-attr-selector-container .story-attr-selector-dropdown div.person-option {
  padding: 4px;
}
.story-attr-selector-container .story-attr-selector-dropdown div.removing-person {
  background-color: #676e7a;
  color: white;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  min-width: 250px;
}
.story-attr-selector-container .story-attr-selector-dropdown .selector-icon-and-name:hover {
  background-color: #eee;
}
.story-attr-selector-container .story-attr-selector-dropdown .selector-icon-and-name.selected {
  background-color: #eee;
}
.story-attr-selector-container .selector-icon-and-name {
  align-items: center;
  cursor: inherit;
  display: flex;
}

.cancel-button {
  background-color: inherit;
  border: 0;
  border-radius: 4px;
  color: #666;
  padding-left: 15px;
  padding-right: 15px;
}
.cancel-button:hover {
  background-color: #e3e2d8;
}

.tasks-editor {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.tasks-editor .task-container {
  padding-top: 0;
  transition-property: padding-top;
  transition-duration: 250ms;
}
.tasks-editor .task-container.current-drop-target {
  padding-top: 36px;
  transition-duration: 250ms;
}
.tasks-editor .task {
  background-color: #e9e8e0;
}
.tasks-editor .task:hover {
  background-color: rgb(222.4150943396, 220.9339622642, 209.0849056604);
}
.tasks-editor .task {
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  min-height: 36px;
  padding: 2px 5px;
}
.tasks-editor .task-display {
  color: black;
  cursor: move;
}
.tasks-editor .task-display .task-description {
  flex-grow: 1;
  padding-left: 5px;
}
.tasks-editor .task-display .task-delete {
  display: none;
  border: 1px solid #666;
  border-radius: 4px;
  box-sizing: border-box;
  height: 22px;
  width: 22px;
  padding-top: 3px;
  padding-left: 2.5px;
}
.tasks-editor .task-display .task-delete .task-delete-icon {
  color: #666;
  font-size: 16px !important;
}
.tasks-editor .task-display:hover .task-delete {
  cursor: pointer;
  display: block;
}
.tasks-editor .edit-task-description {
  flex-grow: 1;
  border: 1px solid #bbb;
  border-radius: 4px;
  font-size: 12px;
  padding: 5px;
}
.tasks-editor .add-task {
  color: #757471;
  cursor: pointer;
}
.tasks-editor .add-task .add-task-icon {
  font-size: 16px !important;
  padding: 3px;
}

#toasts {
  position: fixed;
  bottom: 5px;
  left: 5px;
}
#toasts .toast-error {
  background-color: black;
  border: 1px solid #666;
  border-radius: 4px;
  color: #999;
  padding: 5px;
  width: 208px;
}
#toasts .toast-close {
  cursor: pointer;
  float: right;
  margin: 0 0 10px 10px;
}
