/*               *
 * -- Clients -- *
 *               */
table.clients {
  padding-bottom: 1.125rem;
}
table.clients .fa {
  color: #8400ff;
}
table.clients td {
  white-space: nowrap;
}
table.clients td a + a {
  padding-left: 0.5rem;
}

table.invoice-list tr th:last-child,
table.invoice-list tr td:last-child {
  text-align: center;
}

.invoice {
  color: black;
  padding: 3rem;
  margin: 0 1.5rem;
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 0 0 2rem rgba(0, 0, 0, 0.5);
  background: url("/img/svg/pattern-1.svg") no-repeat center bottom;
  background-size: cover;
  background-color: white;
}
.invoice h1,
.invoice h2,
.invoice h3 {
  position: relative;
  color: #8400ff;
}
.invoice h4 {
  margin-bottom: 0.825rem;
}
.invoice h5 {
  color: #8400ff;
  font-weight: bold;
}
.invoice svg.barcode {
  max-height: 70px;
}
@media (max-width: 576px) {
  .invoice svg.barcode {
    max-width: 100%;
  }
}
.invoice dl.inline {
  display: flex;
  flex-flow: row wrap;
}
.invoice dl.inline dt {
  flex-basis: 50%;
  margin-bottom: 0.75rem;
}
.invoice dl.inline dd {
  flex-basis: 50%;
  margin: 0;
}
.invoice dl.inline .emphasize {
  color: #8400ff;
}
.invoice ul.recipient {
  padding-left: 0;
}
.invoice ul.recipient li {
  list-style-type: none;
  margin-bottom: 0.75rem;
}
.invoice table {
  border-collapse: collapse;
  background-color: transparent !important;
}
.invoice table thead tr {
  background-color: transparent !important;
}
.invoice table thead tr th {
  border: none;
  white-space: nowrap;
}
.invoice table thead tr th:nth-child(4), .invoice table thead tr th:nth-child(5), .invoice table thead tr th:nth-child(6) {
  text-align: right;
}
.invoice table tbody {
  border-top: 3px solid black;
}
.invoice table tbody tr td:nth-child(4), .invoice table tbody tr td:nth-child(5), .invoice table tbody tr td:nth-child(6) {
  text-align: right;
}
.invoice hr {
  border-width: 3px;
  border-color: black;
}
@media (max-width: 576px) {
  .invoice {
    padding: 1.5rem;
  }
}

.invoice-options {
  margin: 1rem 1.5rem;
  text-align: right;
}
.invoice-options .btn-link {
  color: white;
}
.invoice-options .btn-link:hover {
  color: #8400ff;
}

.smart-timeline {
  position: relative;
}
.smart-timeline .smart-timeline-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.smart-timeline .smart-timeline-list:after {
  content: " ";
  background-color: #eee;
  position: absolute;
  display: block;
  width: 2px;
  top: 0;
  left: 95px;
  bottom: 0;
  z-index: 1;
}
.smart-timeline .smart-timeline-list li {
  padding: 0.5rem 0;
}
.smart-timeline .smart-timeline-icon {
  position: absolute;
  width: 32px;
  height: 32px;
  left: 80px;
  z-index: 100;
  padding: 2px;
}
.smart-timeline .smart-timeline-icon > img {
  height: 32px;
  width: 32px;
  max-width: none;
  border-radius: 50%;
  margin-top: -2px;
  margin-left: -2px;
  border: 2px solid #3276B1;
}
.smart-timeline .smart-timeline-time {
  float: left;
  width: 70px;
  text-align: right;
}
.smart-timeline .smart-timeline-time > small {
  font-style: italic;
}
.smart-timeline .smart-timeline-content {
  margin-left: 123px;
}
.smart-timeline .smart-timeline-content a {
  text-decoration: underline;
  transition: color 0.15s;
}
.smart-timeline .smart-timeline-content a:hover {
  color: #8400ff;
}

/*                  *
 * --  Overview  -- *
 *                  */
.overview thead tr th,
.overview tbody tr td {
  width: 16.666%;
}
.overview tbody tr td {
  border-left: 1px solid #c3c3c3;
  border-right: 1px solid #c3c3c3;
}
.overview tbody tr td:first-child {
  background-color: rgba(0, 0, 0, 0.075);
}
.overview tbody tr td:not(:first-child) {
  padding: 0;
}
.overview .card-body {
  border-top: 1px solid #c3c3c3;
}

/*                  *
 * -- Task Board -- *
 *                  */
.task-board {
  display: flex;
  flex-direction: row;
}
.task-board h4 {
  margin: 0.375rem;
}
.task-board h4.category {
  text-align: center;
  border: 1px solid white;
  margin-bottom: -0.375rem;
}
.task-board ul {
  height: 100vh;
  flex-grow: 1;
  padding-left: 0;
  list-style: none;
  border: 1px solid #fff;
  margin: 0.375rem;
  overflow: auto;
}
.task-board ul li.item {
  padding: 0.875rem;
  min-height: 5rem;
  background-color: transparent !important;
  border-bottom: 1px solid #fff;
}
.task-board ul li.item.epic {
  border-left: 0.5rem solid #ffbd33;
}
.task-board ul li.item.feature {
  border-left: 0.5rem solid #66cc33;
}
.task-board ul li.item.work-request {
  border-left: 0.5rem solid #009ccc;
}
.task-board ul li.item.bug {
  border-left: 0.5rem solid #cc293d;
}
.task-board ul li.item.task {
  border-left: 0.5rem solid rgba(0, 0, 0, 0.5019607843);
}
.task-board ul li.item .task-name {
  display: flex;
  flex-direction: row wrap;
}
.task-board ul li.item .task-name a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: underline;
  flex-basis: 90%;
}
.task-board ul li.item .task-name span {
  text-align: right;
  flex-basis: 10%;
}
.task-board ul li.item .task-details {
  margin-top: 1rem;
}
.task-board ul li.item .task-details dl {
  display: flex;
  flex-direction: row;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.task-board ul li.item .task-details dl dt {
  margin: 0.375rem 0;
  flex-basis: 50%;
}
.task-board ul li.item .task-details dl dd {
  margin: 0.375rem 0;
  flex-basis: 50%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*                  *
 * -- Work Items -- *
 *                  */
.card .card-header {
  font-weight: 300;
  border-radius: 0 !important;
  font-size: 1.125rem;
  display: block;
}
.card .card-header .text-center {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card .card-body {
  padding-bottom: 0;
}
.card .card-footer {
  padding-top: 0;
  border-top: none;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.card .card-footer small {
  display: block;
}
.card.card-product {
  flex-flow: row wrap;
  margin-bottom: 1.725rem;
}
.card.card-product .product-logo {
  flex-basis: 45%;
  padding: 2rem;
  display: flex;
  flex-flow: column wrap;
  justify-content: center;
  align-items: center;
}
.card.card-product .product-logo img {
  filter: invert(100%);
  margin-bottom: 1rem;
}
@media (max-width: 576px) {
  .card.card-product .product-logo {
    flex-basis: 100%;
  }
}
.card.card-product .product-description {
  flex-basis: 55%;
  padding: 2rem;
  border-left: 3px solid rgba(0, 0, 0, 0.23);
}
.card.card-product .product-description a {
  color: #8400ff;
}
.card.card-product .product-description a:hover {
  text-decoration: underline;
}
@media (max-width: 576px) {
  .card.card-product .product-description {
    flex-basis: 100%;
    border-left: none;
    padding: 2rem 0;
  }
}
.card.card-product .purchase {
  text-align: right;
}
.card.card-product:nth-child(even) {
  flex-flow: row-reverse wrap;
}
.card.card-product:nth-child(even) .product-description {
  border-left: none;
  border-right: 3px solid rgba(0, 0, 0, 0.23);
  text-align: right;
}
@media (max-width: 576px) {
  .card.card-product:nth-child(even) .product-description {
    border-right: none;
  }
}
.card.card-product:nth-child(even) .purchase {
  text-align: left;
}
@media (max-width: 576px) {
  .card.card-product {
    max-height: unset;
  }
}
.card.card-epic {
  flex: 0 0 33.33%;
}
.card.card-epic .card-header {
  color: #ffbd33;
  border: 1px solid #ffbd33;
  border-color: #ffbd33;
}
.card.card-epic .card-header:hover {
  color: #fff;
  background-color: #ffbd33;
  border-color: #ffbd33;
}
.card.card-feature {
  flex: 0 0 33.33%;
}
.card.card-feature .card-header {
  color: #66cc33;
  border: 1px solid #66cc33;
  border-color: #66cc33;
}
.card.card-feature .card-header:hover {
  color: #fff;
  background-color: #66cc33;
  border-color: #66cc33;
}
.card.card-bug {
  flex: 0 0 33.33%;
}
.card.card-bug .card-header {
  color: #cc293d;
  border: 1px solid #cc293d;
  border-color: #cc293d;
}
.card.card-bug .card-header:hover {
  color: #fff;
  background-color: #cc293d;
  border-color: #cc293d;
}
.card.card-wr {
  flex: 0 0 33.33%;
}
.card.card-wr .card-header {
  color: #009ccc;
  border: 1px solid #009ccc;
  border-color: #009ccc;
}
.card.card-wr .card-header:hover {
  color: #fff;
  background-color: #009ccc;
  border-color: #009ccc;
}
.card.card-task {
  flex: 0 0 33.33%;
}
.card.card-task .card-header {
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.5019607843);
  border-color: rgba(0, 0, 0, 0.5019607843);
}
.card.card-task .card-header:hover {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5019607843);
  border-color: rgba(0, 0, 0, 0.5019607843);
}

.btn.btn-outline-epic {
  color: #ffbd33;
  border-color: #ffbd33;
  background-color: transparent;
  background-image: none;
}
.btn.btn-outline-epic:hover {
  color: #fff;
  background-color: #ffbd33;
}
.btn.btn-outline-epic:focus, .btn.btn-outline-epic.focus {
  box-shadow: 0 0 0 0.1rem #ffbd33;
}
.btn.btn-outline-epic:disabled, .btn.btn-outline-epic.disabled {
  color: #ffbd33;
  background-color: transparent;
}
.btn.btn-outline-feature {
  color: #66cc33;
  border-color: #66cc33;
  background-color: transparent;
  background-image: none;
}
.btn.btn-outline-feature:hover {
  color: #fff;
  background-color: #66cc33;
}
.btn.btn-outline-feature:focus, .btn.btn-outline-feature.focus {
  box-shadow: 0 0 0 0.1rem #66cc33;
}
.btn.btn-outline-feature:disabled, .btn.btn-outline-feature.disabled {
  color: #66cc33;
  background-color: transparent;
}
.btn.btn-outline-bug {
  color: #cc293d;
  border-color: #cc293d;
  background-color: transparent;
  background-image: none;
}
.btn.btn-outline-bug:hover {
  color: #fff;
  background-color: #cc293d;
}
.btn.btn-outline-bug:focus, .btn.btn-outline-bug.focus {
  box-shadow: 0 0 0 0.1rem #cc293d;
}
.btn.btn-outline-bug:disabled, .btn.btn-outline-bug.disabled {
  color: #cc293d;
  background-color: transparent;
}
.btn.btn-outline-wr {
  color: #009ccc;
  border-color: #009ccc;
  background-color: transparent;
  background-image: none;
}
.btn.btn-outline-wr:hover {
  color: #fff;
  background-color: #009ccc;
}
.btn.btn-outline-wr:focus, .btn.btn-outline-wr.focus {
  box-shadow: 0 0 0 0.1rem #009ccc;
}
.btn.btn-outline-wr:disabled, .btn.btn-outline-wr.disabled {
  color: #009ccc;
  background-color: transparent;
}
.btn.btn-outline-task {
  color: #fff;
  border-color: rgba(0, 0, 0, 0.5019607843);
  background-color: transparent;
  background-image: none;
}
.btn.btn-outline-task:hover {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5019607843);
}
.btn.btn-outline-task:focus, .btn.btn-outline-task.focus {
  box-shadow: 0 0 0 0.1rem rgba(0, 0, 0, 0.5019607843);
}
.btn.btn-outline-task:disabled, .btn.btn-outline-task.disabled {
  color: rgba(0, 0, 0, 0.5019607843);
  background-color: transparent;
}

.show > .btn-outline-epic.dropdown-toggle {
  color: #fff;
  background-color: #ffbd33;
}

.show > .btn-outline-feature.dropdown-toggle {
  color: #fff;
  background-color: #66cc33;
}

.show > .btn-outline-bug.dropdown-toggle {
  color: #fff;
  background-color: #cc293d;
}

.show > .btn-outline-wr.dropdown-toggle {
  color: #fff;
  background-color: #009ccc;
}

.show > .btn-outline-task.dropdown-toggle {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5019607843);
}

.complete.fa-trophy {
  color: #ffbd33;
}
.complete.fa-bug {
  color: #cc293d;
}
.complete.fa-ticket {
  color: #66cc33;
}
.complete.fa-folder {
  color: #009ccc;
}

.item-tags .scroll {
  display: inline;
  overflow-x: auto;
  white-space: nowrap;
}
.item-tags .dropdown-toggle::after {
  content: unset;
}

.github .card {
  overflow: scroll;
  height: 250px;
  border: 2px solid #fff !important;
}
.github .card .card-body {
  border: none;
}
.github .card .card-body .card-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  border-bottom: 1px solid #fff;
  padding-bottom: 0.5rem;
  font-weight: bold;
}
.github .card.dashed {
  border: 2px dashed #fff !important;
}

.card.gh-project {
  flex-basis: 25%;
}
.card.gh-project .card-header {
  background-color: rgba(0, 0, 0, 0.15);
}
.card.gh-project .card-body {
  border-bottom: none;
}
.card.gh-project .card-body + .card-footer {
  border-top: none;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

/*                 *
 * -- Bootstrap -- *
 *                 */
.label {
  display: inline;
  padding: 0.2em 0.6em 0.3em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 2px;
}
.label.label-default {
  background-color: #999 !important;
}
.label.label-primary {
  background-color: #3276b1 !important;
}
.label.label-secondary {
  background-color: #6c757d !important;
}
.label.label-success {
  background-color: #739e73 !important;
}
.label.label-info {
  background-color: #57889c !important;
}
.label.label-warning {
  background-color: #c79121 !important;
}
.label.label-danger {
  background-color: #a90329 !important;
}
.label.label-light {
  background-color: #fff !important;
}
.label.label-dark {
  background-color: #494949 !important;
}

.alert-danger ul {
  padding-left: 2rem;
  margin-bottom: 0;
}

.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.switch input:checked + .shift {
  background-color: #2196f3;
}
.switch input:focus + .shift {
  box-shadow: 0 0 1px #2196f3;
}
.switch input:checked + .shift:before {
  transform: translateX(13px);
}

.shift {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
}
.shift:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: #fff;
  transition: 0.4s;
}
.shift.round {
  border-radius: 17px;
}
.shift.round:before {
  border-radius: 50%;
}

.table {
  color: #fff;
  /* Overwrite root property from bootstrap.min.css */
  --bs-table-hover-color: #fff;
}

.btn.next, .btn.prev {
  color: #fff;
}

.btn-link {
  color: #fff;
}
.btn-link:hover {
  color: #8400ff;
}

.btn-block {
  height: 100%;
}

.form-select {
  color: var(--bs-white);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  padding: 0.75rem 1rem;
  border-radius: 0;
}

/*                        *
 * -- Element Specific -- *
 *                        */
ul.row {
  padding-left: 0;
  list-style-type: none;
}
ul.row li {
  margin-bottom: 1.5rem;
}
ul.sub-nav {
  display: inline-block;
  padding-left: 0;
  margin-bottom: 0;
}
ul.sub-nav li {
  display: inline-block;
  padding: 0.75rem 1rem;
}
ul.sub-nav li.active {
  background-color: rgba(0, 0, 0, 0.15);
}

table.backlog thead tr th:nth-child(1),
table.backlog thead tr td:nth-child(1),
table.backlog tbody tr th:nth-child(1),
table.backlog tbody tr td:nth-child(1) {
  width: 65px;
  text-align: center;
}
table.backlog thead tr th:nth-child(2),
table.backlog thead tr td:nth-child(2),
table.backlog tbody tr th:nth-child(2),
table.backlog tbody tr td:nth-child(2) {
  width: 100px;
}
table.backlog .fa-trophy {
  color: #ffbd33;
}
table.backlog .fa-ticket {
  color: #66cc33;
}
table.backlog .fa-bug {
  color: #cc293d;
}
table.backlog .fa-folder {
  color: #009ccc;
}

table.email-templates th,
table.email-templates td:first-child {
  max-width: 1rem;
}
table.email-templates th:last-child,
table.email-templates td:last-child {
  text-align: center;
  max-width: 2.3125rem;
}

div.search-box {
  margin-bottom: 1rem;
}

div.filter-box {
  margin-bottom: 1rem;
}

div.order-box {
  margin-bottom: 1rem;
}

div.ajax-dropdown {
  color: #fff;
}

@media (max-width: 576px) {
  textarea {
    resize: none;
  }
}

label.agreement {
  margin-bottom: 0;
}
label.agreement input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin-right: 1rem;
}
label.agreement button {
  margin: 0;
  padding: 0;
  text-decoration: underline;
  color: rgb(18, 97, 128);
  background: transparent;
  border: none;
  -webkit-appearance: unset;
}
label.agreement button:hover {
  cursor: pointer;
}

/*                *
 * -- Checkout -- *
 *                */
.checkout-summary {
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.2);
}
.checkout-summary legend {
  border-color: #fff;
}
.checkout-summary .boxed {
  padding: 1rem;
  margin-bottom: 0.75rem;
  border: 3px dashed #fff;
}

/*               *
 * -- Monitor -- *
 *               */
.monitor thead th:first-child {
  width: 5%;
}

/*                     *
 * -- Miscellaneous -- *
 *                     */
.border {
  border: 1px solid #fff;
  margin-bottom: 1.25rem;
}

.hidden {
  display: none;
}

.text-md {
  font-size: 150%;
}

.text-lg {
  font-size: 200%;
}

.text-red {
  color: #e3342f !important;
}

.text-purple {
  color: #8400ff !important;
}

/* Stripe Plans */
.stripe-plans {
  margin-bottom: 2rem;
}
.stripe-plans input[type=radio] {
  opacity: 0;
  position: fixed;
  width: 0;
}
.stripe-plans label {
  width: 100%;
  display: block;
  background-color: rgba(0, 0, 0, 0.23);
  padding: 10px 20px;
  font-family: sans-serif, Arial;
  font-size: medium;
  border: 2px solid rgba(0, 0, 0, 0.23);
  border-radius: 4px;
  text-align: center;
  margin-bottom: 10px;
}
.stripe-plans input[type=radio]:checked + label {
  background-color: rgba(0, 0, 0, 0.23);
  border-color: #8400ff;
  color: #8400ff;
}
.stripe-plans input[type=radio]:focus + label {
  border: 2px dashed #444;
}
.stripe-plans label:hover {
  border-color: #8400ff;
}

.nice-text {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.loading-gif {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
}
.loading-gif .spinner {
  padding: 0.5rem;
}

.open-dialogue {
  overflow: hidden;
}

.clearfix {
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

cerberus-chart {
  display: block;
  padding: 2rem;
  border: 1px solid #fff;
}
