* {
    font-family: Questrial, Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    padding: 0;
    overflow-y: scroll;
    height: 100%;
}

body.has-popup {
    overflow-y: hidden;
}

.cfit-dashboard {
    top: 42px;
    position: relative;
}

.cfit-dashboard h1 {
    padding: 0;
    margin: 0;
    font-size: 30px;
}

.cfit-dashboard h2 {
}


.cfit-dashboard ul {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.cfit-dashboard ul.cfit-instance-list {
    margin: 5px 0 0 5px;
}

.cfit-dashboard li {
    list-style: none;
    position: relative;
    flex-basis: calc(25% - 10px);
}

.cfit-dashboard a {
    transition: 0.5s ease all;
}

.cfit-dashboard button {
    cursor: pointer;
    transition: 0.5s ease all;
    border: none;
    background: #ffffff;
    padding: 4px;
    font-size: 16px;
}

.cfit-dashboard button.cfit-fw {
    width: 90px;
}

.cfit-dashboard button:hover {
    background: rgba(255, 255, 255, 0.5);
}

.cfit-dashboard input[type=text], .cfit-dashboard textarea {
    font-size: 16px;
    padding: 10px;
}

.cfit-dashboard-container {
    display: flex;
    min-height: calc(100vh - 124px);
    overflow-y: auto;
}

.cfit-dashboard-container .cfit-instance-list-container {
    flex-basis: 100%;
    overflow-y: auto;
    height: calc(100vh - 120px);
}

.cfit-planning-list-container {
    display: flex;
    flex-basis: 25%;
    background-color: #eeeeee;
    margin-left: 10px;
}

ul.cfit-planning-list {
    flex-direction: column;
}

ul.cfit-planning-list .cfit-name {
    font-weight: bold;
}

ul.cfit-planning-list li {
    flex-basis: unset;
}

.cfit-planning-item-group {
    cursor: pointer;
}

.cfit-planning-item-group:hover {
    opacity: 0.75;
}

.cfit-group-info {
    color: #047686;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.cfit-group-info .cfit-date-summary {
    font-size: 0.8em;
}

.today .cfit-group-info .cfit-date-summary,
.yesterday .cfit-group-info .cfit-date-summary {
    color: #ff1f00;
    text-shadow: 0 0 2px #ffff00;
    font-weight: bold;
    font-size: 1em;
}

.this-week .cfit-group-info .cfit-date-summary {
    color: #ff4600;
    text-shadow: 0 0 2px #ffff00;
}

.cfit-planning-items {
    font-size: 0.85em;
}

ul.cfit-planning-list ul.cfit-planning-items li {
    display: flex;
    flex-direction: row;
    padding: 5px 0 5px 0;
}

ul.cfit-planning-list ul.cfit-planning-items li:nth-child(2n+1) {
    background-color: rgba(4, 172, 194, 0.09);
}

ul.cfit-planning-items {
    flex-direction: column;
}

li.cfit-planning-item-group {
    border-top: 1px solid rgba(4, 172, 194, 0.28);
}

li.cfit-planning-item-group {
    padding: 10px;
}

li.cfit-planning-item-group:nth-child(2n+1) {
    background-color: rgba(0, 0, 0, 0.025);
}

.cfit-planning-item .cfit-key-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.cfit-planning-item .cfit-key-info .cfit-issue-type {
    flex-basis: 14px;
    flex-grow: 0;
}

.cfit-planning-item .cfit-name {
    flex-basis: 100%;
}

.cfit-quick-notes {
    display: flex;
    flex-basis: 20%;
    margin-left: 10px;
}

textarea.cfit-quick-notes-editor {
    background: #fffdbb;
    width: 100%;
    box-shadow: 5px 5px 20px rgba(3, 114, 130, 0.3);
    border: 1px solid #fff833;
    outline: none !important;
    font-size: 20px;
}

.cfit-view-options {
    display: flex;
    margin: -10px;
    margin-top: 0;
}

.cfit-view-options > * {
    margin: 10px;
    display: flex;
}

.cfit-view-options input[type=text] {
    width: 100%;
}

.cfit-userinfo {
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.cfit-username, .g-signin2 {
    display: inline-block;
    vertical-align: middle;
}

.cfit-username {
    margin-right: 20px;
}

.cfit-apikey {
    font-size: 12px;
    color: #eeeeee;
    white-space: nowrap;
}

.cfit-secret {
    font-size: 12px;
    color: #dddddd;
    white-space: nowrap;
}

.cfit-key-display {
    white-space: nowrap;
    font-size: 14px;
    font-family: Courier New, Courier, monospace;
}

.cfit-instance-list-item {
    max-width: 48%;
    box-sizing: border-box;
}

.cfit-instance-list-item:hover {
    cursor: pointer;
    opacity: 0.75;
}

.cfit-instance-list-issues li {
    display: inline-block;
    position: relative;
    margin-right: 10px;
    vertical-align: top;
}

.cfit-instance-list-issues .cfit-issue-title {
    font-size: 16px;
    max-width: 350px;
}

.cfit-instance-list-issues .cfit-notification {
    position: absolute;
    top: -20px;
    right: -10px;
    z-index: 1;
    padding: 0;
}

.cfit-instance-list-issues .cfit-issue-fvc-container {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
}

.cfit-instance-list-issues .cfit-issue-fvc {
    position: absolute;
    left: 0;
    top: -15px;
    height: 95px;
    bottom: 0;
    fill: rgba(255, 255, 255, 0.25);
    z-index: 0;
}

.deleted {
    opacity: 0.5;
}

.cfit-new-instance-container {
    position: absolute;
    background: rgba(0, 0, 0, 0.75);
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
}

.cfit-new-instance {
    position: absolute;
    background: #ffffff;
    top: 10%;
    right: 10%;
    bottom: 10%;
    left: 10%;
    margin: 0;
    padding: 0;
}

.cfit-new-instance-content label {
    display: inline-block;
    width: 200px;
}

.cfit-new-instance-content-container > div > * {
    padding: 5px 20px 5px 20px;
}

.cfit-new-instance-content:first-child {
    padding-top: 20px;
}

.cfit-key-display-container {
    padding-top: 20px;
}

.popup input[type=text] {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    font-size: 18px;
    padding: 0.5em;
}

.popup td input[type=text] {
    font-size: 14px;
}

.popup input[type=checkbox] {
    zoom: 1.75;
}

.popup table {
    border-collapse: collapse;
}

.popup th,
.popup td {
    padding: 0.25em 1em 0.25em 0.5em;
    border-left: 1px solid #eaeaea;
    border-right: 1px solid #eaeaea;
}

.popup th {
    border-top: 1px solid #202020;
    border-bottom: 1px solid #202020;
}

.popup td {
    border-bottom: 1px solid #cccccc;
}

.popup button {
    background: #02adc2;
    color: #ffffff;
    font-size: 18px;
    padding: 0.5em 1em;
    border: none;
    outline: none;
}

.popup button:hover {
    background: rgb(6, 146, 165) !important;
}

.popup td button {
    font-size: 13px;
}

.cfit-new-instance-controls {
    text-align: center;
}

button.cfit-instance-save-instance {
    font-weight: 900;
}

button.cfit-instance-save-instance:hover {
    background: rgba(2, 173, 194, 0.5);
}

.ef {
    padding: 0.5em;
    background: #ff4f1e;
    color: #ffff00;
    border-radius: 2px;
    margin-bottom: 0.25em;
}

.cfit-instance-additional {
    color: #ffffff;
    font-size: 13px;
}

.cfit-planning-item .cfit-issue-type:before {
    background-size: 12px 12px;
    width: 13px;
    height: 13px;
    padding-right: 5px;
}

.cfit-issue-extra {
    font-size: 12px;
    margin-left: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.cfit-instance-list-meta > h2 {
    font-size: 18px;
    font-weight: 900;
}

.cfit-has-open-issues > div {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.cfit-has-open-issues .cfit-bug-count,
.cfit-has-open-issues .cfit-work-count {
    color: #ffffff;
    margin-bottom: 2px;
    font-size: 14px;
}

.cfit-has-open-issues .cfit-bug-count.cfit-has-any b {
    background-color: #ff0000;
}

.cfit-has-open-issues .cfit-work-count.cfit-has-any b {
    background-color: #f8f44d;
    color: #000000;
}

.cfit-has-open-issues .cfit-bug-count b,
.cfit-has-open-issues .cfit-work-count b {
    display: inline-block;
    min-width: 30px;
    padding: 2px;
    border-radius: 2px;
    text-align: center;
    font-size: 16px;
    margin-right: 5px;
}

.cfit-incoming-call {
    position: fixed;
    bottom: 0;
    left: calc(50% - 250px);
    width: 500px;
    padding: 20px;
    padding-bottom: 25vh;
    z-index: 10000;
    background: #05acc2;
    color: #ffffff;
    font-size: 1.5em;
    box-shadow: 0 0 40px 0px rgba(255, 255, 0, 1);
}

.cfit-incoming-call h2 {
    margin-top: 0;
    font-size: 2em;
}

.cfit-incoming-call h2 .material-icons {
    font-size: 1.2em;
    vertical-align: middle;
}

.cfit-incoming-call .caller {
    font-weight: bold;
}

.cfit-incoming-call a.caller-id {
    font-weight: bold;
    color: #ffffff !important;
}

.cfit-incoming-call .close {
    cursor: pointer;
    float: right;
}

button.cfit-action-filter {
    color: #000000 !important;
}

tr.cfit-group-header td {
    background: rgba(148, 214, 224, 0.58) !important;
    font-size: 20px;
    font-weight: 900;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.cfit-invoice-table-details span {
    overflow: hidden;
    height: 32px !important;
    display: block;
    font-size: 12px;
    white-space: pre-wrap;
}

.cfit-invoice-table-title span {
    overflow: hidden;
    height: 32px !important;
    display: flex;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cfit-inv-table-invoice-now {
    text-align: center;
}

td.cfit-cost {
    text-align: right;
    font-size: 1.25em;
}

.cfit-uncosted td.cfit-cost:after {
    font-family: 'Font Awesome 6 Free';
    content: '\f071';
    color: #ff4600;
    display: inline-block;
    padding-left: 10px;
}

input[type=text].cfit-invoicing-edit {
    font-size: 16px;
    padding: 2px 5px;
    width: 5.5em;
    margin-right: 5px;
    border: none;
}

input[type=text].cfit-invoicing-edit:hover,
input[type=text].cfit-invoicing-edit:focus {
    border: 1px solid #aaaaaa;
}

input[type=text].cfit-invoicing-edit.hasDatePicker {
    min-width: 6.2em;
    width: 6.2em;
}

.cfit-showing-all .cfit-deemphasise {
    opacity: 0.3;
}

.cfit-live-on {
    font-weight: 600;
    color: #00bd4f;
}

.cfit-invoicing-edit {
    font-weight: 600;
    color: #00bd4f;
}

.cfit-invoicing tr:nth-child(2n+1) td {
    background: rgba(4, 172, 194, 0.09);
}

.cfit-invoicing a,
.cfit-invoicing a:visited {
    text-decoration: none !important;
    color: #3c2393
}

.cfit-invoicing a:hover {
    filter: brightness(200%);
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

.cfit-inline-developernotes-container {
    display: flex;
}

.cfit-inline-developernotes-container > * {
    margin-right: 10px;
}

.cfit-inline-developernotes-container > *:last-child {
    margin-right: 0;
}

.cfit-dev-notes-container {
    width: 40%;
    box-sizing: border-box;
}

.cfit-dev-work-container {
    width: 60%;
    box-sizing: border-box;
}

.cfit-dev-timesheets-container {
    box-sizing: border-box;
}

.cfit-dev-phases-container {
    box-sizing: border-box;
    margin-bottom: 10px;
    min-height: 114px;
}

.cfit-timesheet-editor li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px;
}

.cfit-timesheet-editor li > *:not(:last-child) {
    padding-right: 5px;
}

.cfit-timesheet-editor li:nth-child(2n+1),
.cfit-phase-editor li:nth-child(2n+1) {
    background: rgba(4, 118, 134, 0.1)
}

.cfit-timesheet-editor li,
.cfit-phase-editor li {
    border-left: 2px solid #ff4600
}

.cfit-timesheet-editor li.invoiced,
.cfit-phase-editor li.invoiced {
    border-left: 2px solid #04b24d
}

.cfit-timesheet-item input[type=text],
.cfit-phase-item input[type=text] {
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid #d0d0d0;
    padding: 3px;
    font-size: 13px !important;
    height: 24px !important;
}

input.cfit-timesheet-date {
    width: 6.1em;
}

input.cfit-timesheet-times {
    text-align: right;
    width: 8em;
}

input.cfit-timesheet-comment,
input.cfit-phase-name,
.cfit-phase-billable {
    font-size: 12px;
    font-family: Pragati Narrow;
}

input.cfit-phase-cost {
    width: 5em;
}

.cfit-timesheet-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cfit-timesheet-total-cost {
    font-size: 1.25em;
}

.cfit-invoicing-dashboard h3 {
    padding-left: 5px;
}

span.cfit-invoicing-total {
    color: #0469ff;
}

td.cfit-invoice-table-title > * {
    font-size: 14px;
}

td.cfit-invoice-table-details > *:focus {
    height: unset !important;
    outline: none;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
    padding: 10px;
}

.cfit-invoicing-dashboard .cfit-app table td {
    padding: 2px 10px 2px 5px;
}

.cfit-uninvoiced .cfit-tick-off {
    background-color: #ececec !important;
}

.cfit-uninvoiced .cfit-tick-on {
    background-color: #01a746 !important;
}

.cfit-uninvoiced .cfit-tick-off:hover {
    background-color: #202020 !important;
    filter: unset !important;
}

tr.cfit-issue.not-dev-viewed td:first-child:before,
tr.cfit-issue.not-dev-viewed .cfit-last-activity:before {
    content: ' ';
    position: absolute;
    left: 0;
    background: red;
    width: 32px;
    height: 24px;
    top: 0;
    border-radius: 0% 100% 100% 0% / 100% 0% 100% 0%;
}

tr.cfit-issue.not-dev-viewed .cfit-last-activity:before {
    width: 16px;
    height: 16px;
}

tr.cfit-issue.not-dev-viewed .cfit-last-activity {
    position: relative;
    font-weight: 900;
}

.cfit-invoicing {
    table-layout: fixed;
}

.cfit-invoicing .cfit-ts-workdate {
    width: 8%;
}

.cfit-invoicing .cfit-ts-user {
    width: 7%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cfit-invoicing td.cfit-ts-user {
    font-size: 12px;
}

.cfit-invoicing .cfit-ts-issue {
    width: 27%;
}

.cfit-invoicing .cfit-ts-time {
    width: 8%;
}

.cfit-invoicing .cfit-ts-cost {
    width: 9%;
}

.cfit-invoicing .cfit-ts-livedate {
    width: 7%;
}

.cfit-invoicing.cfit-timesheets td.cfit-ts-livedate {
    color: #aaaaaa;
    font-size: 12px;
}

.cfit-invoicing .cfit-ts-invoiced {
    width: 5%;
}

.cfit-invoicing .cfit-ts-invoicenumber {
    width: 8%;
}

.cfit-invoicing td.cfit-ts-invoicenumber {
    overflow: hidden;
}

.cfit-invoicing .cfit-ts-details {
    width: 30%;
}

.cfit-dev-primary-actions {
    position: absolute;
    top: 5px;
    right: 5px;
}

.cfit-dev-primary-actions button:not(:last-of-type) {
    margin-right: 5px;
}

.cfit-invoicing .cfit-inv-lastupdate {
    width: 9%;
}

.cfit-invoicing .cfit-inv-description {
    width: 22%;
}

.cfit-invoicing .cfit-inv-quote {
    width: 10%;
}

.cfit-invoicing .cfit-inv-invoiced {
    width: 5%;
    text-align: center;
}

.cfit-invoicing .cfit-inv-details {
    width: 30%;
}

.cfit-invoicing .cfit-inv-type {
    width: 3%;
}

.cfit-invoicing .cfit-inv-ids {
    width: 5%;
}

.cfit-inv-type-flag.TAndM,
.cfit-billing-type-tandm {
    color: #fb00c8;
}

.cfit-invoice-table-unimportant {
    background: #ededed !important;
}

.cfit-invoice-table-ids {
    font-size: 12px;
    font-family: Pragati Narrrow;
    white-space: nowrap;
}

.cfit-invoice-table-ids > * {
    white-space: nowrap;
}

.cfit-instance-list-container .cfit-item-action {
    padding: 7px !important;
}

.cfit-new-instance-content-container {
    display: flex;
}

.cfit-new-instance-content-container > * {
    width: 50%;
}

.cfit-instance-delete-controls {
    padding-top: 20px;
    margin-left: 20px;
}

.cfit-item-action.cfit-quick-add {
    top: -4px;
    right: -4px;
    bottom: unset;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900;
    border-radius: 50px;
    box-sizing: border-box;
    cursor: pointer;
}

.cfit-item-action.cfit-quick-add:hover {
    background: #ffffff;
    border: 2px solid rgb(6, 146, 165);
    color: rgb(6, 146, 165);
    box-shadow: 1px 1px 5px -2px rgba(0, 0, 0, 1);
    opacity: 1 !important;
}

.cfit-new-quick-issue button.cfit-issue-save-issue {
    background: #02adc2;
    color: #ffffff;
    font-size: 18px;
    padding-left: 40px;
    padding-right: 40px;
    height: 50px;
}

.cfit-new-quick-issue button.cfit-issue-save-issue.disabled {
    filter: saturate(0);
    opacity: 0.3;
}

.cfit-new-quick-issue button.cfit-issue-save-issue:hover {
    background: rgba(2, 173, 194, 0.5);
}

.cfit-outstanding-balance span {
    position: absolute;
    right: -5px;
    background: #bdffc5;
    color: #000000;
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 1);
    border: 2px solid #0692a5;
    box-shadow: 0px 0px 1px 1px rgba(255, 255, 0, 1), 0px 0px 1px 1px rgba(255, 255, 0, 1),0px 0px 1px 1px rgba(255, 255, 0, 1),0px 0px 1px 1px rgba(255, 255, 0, 1),0px 0px 1px 1px rgba(255, 255, 0, 1);
    top: -5px;
    border-radius: 5px;
}

.cfit-outstanding-balance {
    width: 33% !important;
    position: relative;
}

.cfit-block-billing-container .cfit-dev-timesheets-container {
    filter: saturate(0);
}

.cfit-block-billing-container .cfit-timesheet-editor li {
    border-left: none !important;
}

.cfit-developer-editor.cfit-block-billing-container .cfit-iit-timesheets,
.cfit-developer-editor.cfit-block-billing-container .cfit-timesheet-total {
    filter: saturate(0);
}

.cfit-notification-bar {
    display: flex;
    height: 42px;
    border-bottom: 1px solid #aaaaaa;
    box-shadow: 0px 5px 10px -8px rgb(0 0 0) inset;
    position: fixed;
    z-index: 100;
    background: #ffffff;
    width: 100%;
}

.cfit-app-container {
    top: 42px !important;
}

.cfit-notification-bar ul {
    display: flex;
    align-items: center;
    overflow-x: auto;
    margin: 2px;
    padding: 0;
}

.cfit-notification-bar li {
    list-style: none;
    margin: 0;
    padding: 0;
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid rgb(6, 146, 165);
    font-size: 12px;
    cursor: pointer;
}

.cfit-notification-bar li:hover {
    background: rgba(2, 173, 194, 0.18);
}

.cfit-notification-bar li:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.cfit-notification-bar .issue-ages,
.cfit-notification-bar .issue-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
}

.cfit-notification-bar .instance-name {
    font-weight: 900;
}

.cfit-notification-bar .instance-name:before {
    display: inline-block;
    content: ' ';
    border-bottom-right-radius: 50%;
    width: 10px;
    height: 10px;
    background: #ff0f17;
    margin-right: 5px;
}


.cfit-notification-bar .issue-ages > *:not(:last-child) {
    margin-right: 5px;
}
