:root {
    --header-bg: #041b27;
    --header-fg: #ffffff;
    --tile-header-fg: #002585;
    --tile-hover-bg: #dee4f6;
    --block-hover-bg: #ebf0ff;
    --button-bg: #2965ff;
    --money: #2965ff;
    --button-hover-bg: #0a4360;
    --button-fg: #ffffff;
    --RNW: #e60086;
    --SAN: #0083f5;
    --green: #65B9B2;
    --very-green: #65b969;
    --amber: #ca8e01;
    --red: #b52c46;
    --black: #303030;
    --gold: #BA8266;
    --high-priority: #ff009c;
    --medium-priority: #ffbb00;
    --low-priority: #009a4a;
    --selected-fg: #ffffff;
    --selected-bg: #4ea8e2;
}

.koadebug {
    display: none;
    position: absolute;
    opacity: 0
}

body {
    background: #FFF;
    position: relative;
}

label {
    font-weight:500;
}

.page {
    display: flex;
}

.page-content {
    margin-left: 154px;
    width: calc(100% - 154px);
    padding: 24px;
}

body, p, div, span td, th, input, textarea, select {
    font-family: niveau-grotesk, sans-serif;
    font-weight:300;
}

h1, h2, h3 {
    font-family: niveau-grotesk, sans-serif;
    font-weight: 600;
}

input,
textarea,
select {
    border-radius: 3px;
    border: 1px solid #FFFFFF;

}

input[type=text],
input[type=password],
input[type=date],
input[type=number],
select,
textarea {
    font-family: niveau-grotesk, sans-serif;
    border: 1px solid #FFFFFF;
    padding: 0px 8px;
    background: #FFFFFF;
    outline: none;
    transition: 0.5s;
    width: 100%;
    color: #000000;
    min-height: 33px;
    display: inline-flex;
    align-items: center;
    transition: .5s;
    font-size: 0.875rem;
    line-height:1.2rem;
}

.pager input[type=text]:focus {
    background:#FFFFFF;
}

.pager input[type=text] {
    position: relative;
    top: -1px;
}

input[type=text]::placeholder {
    line-height:1.2rem;
    font-family: niveau-grotesk, sans-serif;
}

.form-row input[type=text],
.form-row input[type=password],
.form-row input[type=date],
.form-row input[type=number],
.form-row select,
.form-row textarea {
    border-color: #FFFFFF;
    background: #FFFFFF;
    max-width: 500px;
}

th input,
th select {
    width:unset;
} 

.form-row select {
    min-width: 134px;
    width: fit-content;
}

.form-row input[type=text].ref {
    width: fit-content;
}

.form-row input[type=date] {
    width: fit-content;
}

.form-row .note-list th input[type=text] {
    background: none;
}

.form-fields span.readonly.i-vsmall,
input.i-vsmall {
    width: 72px;
}

input.i-small {
    width: 180px;
}

td.icons {
    padding: 8px 16px;
    width: 120px;
}

th.icons {
    width: 120px;
}

td {
    padding: 16px;
}

table th input[type=text] {
    font-size: 1rem;
    line-height: 1.2rem;
}

textarea {
    line-height: 1.4rem;
    font-size: 0.875rem;
}

.form-row textarea {
    min-height: 140px;
}

input[type=checkbox] {
    border-radius: unset;
    border: unset;
}

.toolbar input[type=text],
.toolbar input[type=password],
.toolbar input[type=date],
.toolbar input[type=number],
.toolbar select {
    min-height: 27px;
    padding: 2px 8px;
}

input[type=text]:focus,
input[type=password]:focus,
input[type=date]:focus,
input[type=number]:focus,
select:focus,
textarea:focus,
.form-row input[type=text]:focus,
.form-row input[type=password]:focus,
.form-row input[type=date]:focus,
.form-row input[type=number]:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: #303030;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: fixed;
    width: 130px;
    background: var(--header-bg);
    color: var(--header-fg);
    flex-wrap: wrap;
    align-items: flex-start;
    padding: 0;
    position: fixed;
    top: 24px;
    left: 24px;
    border-radius: 12px;
    padding-bottom: 24px;
}

header a,
header a:visited {
    color: var(--header-fg);
}

.logo-container {
    width: 100%;
    margin: 16px 0 0 0;
}

header a.logo {
    font-family: niveau-grotesk, sans-serif;
    font-weight: 100;
    font-size: 28px;
    display: block;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 16px;
}

header a.logo svg {
    display: block;
    width: 100%;
}

nav {
    font-family: niveau-grotesk, sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 0.9rem;
    margin: 16px 0 0 0;
    width: 100%;
    letter-spacing:0.5px;
}

nav.sys,
nav.app {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.nav-item,
nav.sys a,
nav.app a {
    display: flex;
    gap: 10px;
    align-items: baseline;
    color: #FFFFFF;
    padding: 6px 16px 10px 16px;
    width: 100%;
    transition: .5s;
    cursor: pointer;
}

.nav-item:hover,
nav.sys a:hover,
nav.app a:hover {
    color: #FFFFFF;
    background: #616161
}

.nav-item svg,
nav.sys svg,
nav.app svg {
    display: block;
    width: 16px;
    position: relative;
    top: 3px;
}

nav.sys .nav-item svg {
    top: 5px;
}

nav > :not(:last-child) {
    margin-right: 0;
}

nav.app a.active,
nav.sys a.active {
    background: var(--green);
}

main {
    width: 100%;
    position: relative;
    padding-bottom: 40px; /* Allow for scroll up so pagers / other bottom controls not masked by footer */
}

main > section {
    width: 100%;
}

.flex {
    display: flex;
}

::placeholder {
    color: #8D8D8D;
    opacity: 1; /* Firefox */
}

::-ms-input-placeholder { /* Edge 12 -18 */
    color: #8D8D8D;
}

.main-image {
    /*
    background: url(/images/cranes-hero.jpg);
    background-size: cover;
    background-position: 0 100%;
    width: 100%;
        */
}

.tiles > li {
    gap: 0.5em;
    border: 1px solid #cccccc;
    border-radius: 3px;
    padding: 1em;
    margin: 0.5em;
    cursor: pointer;
}

.tiles > li:hover {
    background: var(--tile-hover-bg);
}

.tiles > li.table-view-header {
    display: none;
}

.tiles .header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tiles .header h3 {
    color: var(--tile-header-fg);
    margin-right: 1em;
}


.link-button,
button,
a.button,
a.button:visited {
    background: #FFFFFF;
    color: var(--black);
    border-radius: 25px;
    border: 2px solid var(--black);
    cursor: pointer;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px 9px 7px 9px;
    font-family: niveau-grotesk, sans-serif;
    gap: 4px;
}

.label-note {
    font-size: 10px;
    margin-top: 0.5em;
    display: inline-block;
}

button.add {
    padding: 4px 7px 5px 6px;
}

button.add > span {
    top: 1px;
}

.link-button.lb-new {
    font-size: 0.75rem;
    padding: 5px 7px;
    gap: 6px;
    border: none;
}

button svg,
a.button svg,
a.button:visited svg {
    display: block;
    width: 20px;
    height: 20px;
}

.link-button svg,
.link-button.lb-new svg {
    display: block;
    height: 20px;
    width: 20px;
}

.form-fields .section > div.proj-tasks,
.form-fields .section > div.proj-docs,
.form-fields .section > div.proj-notes {
    background: #FFFFFF;
    padding: 16px;
    border-radius: 12px;
}

.cfaf-ds-item-details {
    width: 100%;
    display: grid;
    grid-template-columns: 3fr 1fr;
}

.cfaf-ds-item-meta-standard {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.proj-docs .cfaf-ds-control-group.cfaf-ds-control-group-search {
    display: none;
}

.tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 1rem 0 2rem 0;
}

.proj-docs .cfaf-ds-item-name {
    font-weight: normal;
    font-size: 15px;
    line-height: 20px;
}

.popup > div > h2.task,
.popup > div > h2.client {
    justify-content: flex-start;
    gap: 8px;
}

.pager.no-results,
.pager.single-page,
.pager {
    margin: 24px 0;
    justify-content: center;
}

.pager.no-results,
.pager.single-page {
    display:none;
}

.project-list thead tr th:nth-child(1) {
    width: 120px;
}

span.em {
    font-style: italic;
    font-weight: bold;
}

button.icon-link {
    border: none;
    background: none;
    padding: 0;
    margin: 0;
}

button.icon-link svg {
    width: 24px;
    height: 24px;
}

button.icon-link:hover {
    background: none;
}

button.icon-link:hover svg {
    fill: var(--green);
}

hr {
    width: 100%;
    height: 1px;
    border: none;
    margin: 24px 0;
    border-bottom: 1px solid #DDDDDD;
}

.toolbar button,
.toolbar a.button {
    font-weight: 600;
    font-size: 14px;
}

.link-button:hover,
button:hover,
a.button:hover {
    background: #000000;
    color: #FFFFFF;
    border-color: #000000;
}

.link-button:hover svg,
.link-button:hover svg > * {
    fill: #FFFFFF;
    stroke: #FFFFFF;
}

button.add:hover svg path, button.add:hover svg circle,
a.button.add:hover svg path, a.button.add:hover svg circle {
    stroke: #FFFFFF;
}

button.selected,
.button.selected {
    color: #FFFFFF;
    background: var(--green);
    border-color: var(--green);
}

.link-button.lb-new:hover {
    background: #65B9B2;
    color: #FFFFFF;
}

.link-button.lb-new:hover svg path,
.link-button.lb-new:hover svg circle {
    stroke: #FFFFFF;
}

table {
    border-radius: 8px;
}

thead {
    background: #E5E4E4;
}

th,
.popup .task-list th,
.popup .client-list th,
.popup .project-list th {
    padding: 11px 12px 8px 12px;
}

.task-list th,
.client-list th,
.project-list th {
    padding: 1px 12px 1px 12px;
}

project-select {
    width:100%;
}

table thead input, table thead select, th input {
    font-family: niveau-grotesk, sans-serif;
    font-size: 1rem;
    font-weight: 500;
}

thead th {
    font-weight: 500;
}

thead th:first-child {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

thead th:last-child {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

th.notes, td.notes {
    width: 70px;
    text-align: center;
}

th.date, td.date {
    width: 130px;
}

th.cost, td.cost {
    width: 100px;
    white-space: nowrap;
}

.notes button {
    margin: 0 auto;
}

.toolbar button.active {
    background: var(--button-hover-bg);
    color: var(--button-fg);
    box-shadow: -1px -1px 0px #ffffff60 inset;
}

.personnel-items {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
}

.personnel {
    background: #65B9B2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    color: #FFFFFF;
    font-weight: 600;
    padding: 8px 8px 6px 8px;
    font-size: 0.75rem;
}

thead input[type=text], thead input[type=password], thead input[type=date], thead input[type=number], thead select {
    padding: 4px 8px 1px 6px;
    background: #e5e4e4;
}

.form-fields .section > div > label,
.form-fields .section > div.group > div > label {
    width: 10em;
    color: #303030;
    font-size: 1rem;
    font-weight: 500;
}

.mini-form {
    display: flex;
    flex-direction: column;
    width: unset;
}

.mini-form .controls {
    margin-top: 0.5rem;
}

.mini-form .controls button {
    font-size: 1.25rem;
}

.mini-form .fields {
    display: flex;
    flex-direction: column;
}

.mini-form .fields > *:not(:last-child) {
    margin-bottom: 0.25rem;
}

.popup > div > .content {
    padding: 0 2rem;
}

.popup > div > .controls {
    border-radius: 0;
}

.popup .controls button {
    font-size: 1.2rem;
}

textarea.description {
    min-height: 250px;
}

.spreadsheet li {
    display: flex;
}

.popup .section:not(.fixed) {
    min-width: 33%;
}

.invoiced-flag i {
    color: #dddddd;
}

.invoiced-flag.invoiced i {
    color: #009a66;
}

.timesheet .total.total-time {
    margin-top: 1em;
}

.spreadsheet .cb,
.spreadsheet .invoiced-flag {
    padding: 0 0.5em !important;
    width: 2.5em !important;
}

.user.initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #2965ff;
}

.initials-R {
    background: var(--RNW) !important;
    color: #ffffff;
}

.initials-S {
    background: var(--SAN) !important;
    color: #ffffff;
}

.selector .areas .items li {
    padding: 0.5em;
    background: #dee4f6;
    cursor: pointer;
}

.selector .areas .items li:hover {
    background: #c9d4f5;
}

.selector .areas .items h3 {
    font-family: niveau-grotesk, sans-serif;
    font-size: 14px;
    margin-bottom: 0;
    font-weight: 400 !important;
}

.selector .areas {
    display: flex;
}

.selector .areas > div:not(:last-of-type) {
    margin-right: 1em;
}

.selector .areas > div > ul {
    max-height: 40vh;
    overflow: hidden;
    overflow-y: auto;
}

.selector .areas .items li {
    padding: 0.5em;
    background: #dee4f6;
    border-radius: 3px;
    margin-bottom: 0.25em;
    margin-right: 0.25em;
}

.selector .areas .items .instance-name {
    font-size: 0.7em;
    color: #2965ff;
}

.selector .areas .items .detail {
    font-size: 0.7em;
}

.selector .areas .items .footer {
    font-size: 0.65em;
    margin-top: 0.25em;
}

.by-you {
    padding: 0.25em;
    border: 1px solid var(--green);
    border-radius: 3px;
    color: var(--green);
    display: inline-block;
}

.selector .areas .search {
    margin-bottom: 0.25em;
}

.add-work issue-select {
    margin-left: 1em;
}

.add-work .selector .areas > div > ul {
    max-height: 65vh;
}

tr.inline-header td {
    white-space: nowrap;
    padding-top: 0.25em;
    padding-bottom: 0.25em;
    font-size: 0.8em;
    font-weight: 600;
}

td.col-group-start {
    border-left-width: 3px !important;
    border-left-style: solid !important;
}

button.toggle.checked {
    background: var(--button-bg);
    color: var(--button-fg);
}

textarea.export-raw {
    width: 100vw;
    height: calc(100vh - 120px);
}

.login-option {
    padding: 24px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.login-container {
    background: #FFFFFF;
    padding: 24px;
    border-radius: 12px;
    min-height: 480px;
}

.login-container .logo svg {
    display: block;
    width: 280px;
}

.login-option .login-container input {
    background: #EDEDED;
    border-radius: 5px;
    padding: 10px 8px;
}

login-control > .flex {
    min-height: 100vh;
    overflow: hidden;
}

.form-row {
    margin: 1rem 0;
}

login-control .form-row {
    max-width: 300px;
}

.form-row label {
    width: 100%;
    margin: 12px 0;
    display: block;
}

.form-row input {
    outline: none;
    transition: 0.5s;
    border: 1px solid #F1F1F1;
}

login-control .form-row input {
    background: #F1F1F1;
}

login-control .pwd {
    position: relative;
    width: 100%;
}

login-control .logo {
    margin: 24px 0;
}

login-control .pwd input {
    width: 100%;
}

login-control .icon.pwd {
    position: absolute;
    top: 10px;
    right: 10px;
    width: unset;
    display: unset;
}

login-control #loginButton {
    background: #65B9B2;
    color: #FFFFFF;
    font-size: 1rem;
    border-radius: 25px;
    padding: 8px 24px 5px 24px;
    letter-spacing: 0.5px;
    border: none;
}

login-control #loginButton:hover {
    background: #2279AA;
}

login-control form-row {
    display: flex;
    flex-wrap: wrap;
}

login-control button.forgot-password {
    border-radius: 50%;
    background: #2279AA;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}

login-control button.forgot-password:hover {
    background: #BA8266;
}

login-control button.forgot-password svg {
    height: 18px;
    width: 18px;
}

login-control .controls {
    display: flex;
    gap: 16px;
}

.page-waves,
.waves {
    position: absolute;
    top: -75vh;
    right: 0;
    pointer-events: none;
}

.page-waves {
    position: fixed;
    top: unset;
    bottom: -50vh;
}

.waves svg {
    display: block;
    width: 100%;
}

.tiles li .detail > div:not(:last-child) {
    margin-bottom: 0.5em;
}

.tiles .money {
    color: var(--money);
}

.tiles .footer {
    margin-top: 0.5em;
}

.tiles .footer > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
}

.tiles .footer > div:not(:last-child) {
    margin-bottom: 0.25em;
}

.tiles .footer .flag {
    padding: 0.15em 0.25em;
    border: 1px solid #909090;
    border-radius: 5px;
}

.blocks > li {
    border: 1px solid #cccccc;
    border-radius: 3px;
    padding: 1em;
    background: #ffffff;
    margin-bottom: 0.5em;
}

.blocks li:hover {
    background: var(--block-hover-bg);
}

.blocks .drop-over .header {
    pointer-events: none;
}

.blocks .header h3 {
    color: var(--tile-header-fg);
    margin-right: 1em;
}

.blocks .drop-over .block-issues {
    pointer-events: none;
}

.block-issues > li {
    pointer-events: auto;
    font-size: 0.85rem;
    display: flex;
}

.block-issues > li.closed a {
    text-decoration: line-through;
    opacity: 0.25;
}

.block-issues > li a.title {
    text-overflow: ellipsis;
    width: 200px;
}

.block-issues > li .remove {
    opacity: 0;
}

.block-issues > li:hover .remove {
    opacity: 1;
}

.block-issues > li a:hover {
    opacity: 0.5;
}

.block-issues > li:not(:last-child) {
    border-bottom: 1px dotted #dddddd;
    padding-bottom: 0.25em;
    margin-bottom: 0.25em;
}

.section.block-container {
    background: #dee4f6;
    min-height: calc(100vh - 60px);
    margin-right: 1em;
    padding: 1em;
}

.drop-target.drop-over {
    border: 2px solid #4b5d6b;
    box-shadow: 5px 5px 5px -3px rgba(0, 0, 0, 0.25) inset;
}

li.eol {
    opacity: 0;
    border-style: dashed;
    align-items: center;
    color: #aaaaaa;
    display: flex;
}

li.eol.complete.waiting,
li.eol.complete {
    opacity: 1;
}

.tiles.waiting:before {
    content: 'Loading...';
    position: absolute;
    right: 30px;
    top: 44px;
    padding: 5px 1em;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    border: 1px solid #dddddd;
    border-radius: 5px;
    box-shadow: 0 0 20px -10px rgba(0, 0, 0, 1);
}

button.toggle.closed {
    background: var(--green);
    color: #ffffff;
}

button.toggle.closed.checked {
    background: var(--red);
}

button.toggle.closed:before {
    content: 'Open';
    font-weight: 600;
    padding-right: 0.5em;
}

button.toggle.closed.checked:before {
    font-weight: 100;
    opacity: 0.5;
}

button.toggle.closed:after {
    content: 'Closed';
    font-weight: 100;
    opacity: 0.5;
    padding-left: 0.5em;
}

button.toggle.closed.checked:after {
    font-weight: 600;
    opacity: 1;
}

.list-control .page-num {
    position: fixed;
    right: 30px;
    top: 90px;
    padding: 5px 1em;
    background: rgba(255, 255, 255, 0.9);
    z-index: 1;
    border: 1px solid #dddddd;
    border-radius: 5px;
    box-shadow: 0 0 20px -10px rgba(0, 0, 0, 1);
    width: auto !important;
    display: inline-flex !important;
    font-size: 0.65rem;
}

.blocks li.closed {
    opacity: 0.5;
    filter: saturate(0);
}

.mobile {
    display: none;
}

user-info {
    width: 100%;
}

.user-info {
    display: flex;
    align-items: center;
    width: 100%;
}

.user-info .user-icon {
    display: none;
    background: #ffffff;
    color: #002585;
    padding: 0.25em 0.1em;
    border-radius: 0.5em;
    margin-right: 0.5em;
}

.page-header {
    display: flex;
    gap: 32px;
    align-items: center;
    margin-bottom: 32px;
}

contact-manager .page-header {
    display: flex;
    width: 100%;
    gap: 32px;
    align-items: center;
    margin-bottom: 16px;
    justify-content: space-between;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: unset;
    padding: 0px;
    position: relative;
    left: unset;
    top: unset;
    z-index: 1;
}

.page-search {
    position: relative;
    margin: 0;
    width: fit-content;
}

.page-search input {
    background: #F1F1F1;
    outline: none;
    border-radius: 25px;
    padding: 17px 40px 13px 20px;
    color: #303030;
    border: none;
    font-size: 1rem;
    width: 300px;
}

.page-search .search-icon-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #65B9B2;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.tile {
    background: rgb(101 185 178 / 20%);
    padding: 24px;
    border-radius: 8px;
}

.tile.projects {
    background: rgb(186 130 102 / 20%);
}

.proposals .tile.projects {
    background: rgb(159 159 159 / 20%);
}

.tile h2 {
    font-size: 1.188rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    gap: 16px;
    align-items: center;
}

.tile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
}

.tile-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.tile-action {
    border-radius: 25px;
    padding: 6px 6px 6px 12px;
    background: #EDEDED;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 1.063rem;
}

.tile-action.grey {
    background: #D6D6D6;
    color: #8D8D8D;
}

.tile-action.black {
    background: #303030;
    color: #FFFFFF;
}

.tile-action.green {
    background: #65B9B2;
    color: #FFFFFF;
}

.tile-action.gold {
    background: #BA8266;
    color: #FFFFFF;
}

.tile-list {
    font-size: 0.938rem;
}

.tile-list li {
    display: grid;
    grid-template-columns: 4fr 1fr 1fr;
    gap: 32px;
    padding: 16px 0;
    cursor: pointer;
}

.projects .tile-list li {
    display: grid;
    grid-template-columns: 1fr 3fr 3fr 1fr;
    gap: 32px;
    padding: 16px 0;
}

.tasks .tile-list li span:nth-child(3),
.projects .tile-list li span:nth-child(4) {
    text-align: right;
}

.tile-list li {
    border-bottom: 1px solid #303030;
}

.tile-list li.overdue {
    border-bottom: 1px solid #BA8266;
}

.tile-list li.open {
    border-bottom: 1px solid #65B9B2;
}

.tile-list li.new {
    border-bottom: 1px solid #303030;
}

.tile-list li.overdue span:first-child {
    color: #BA8266;
}

.tile-list li.open span:first-child {
    color: #65B9B2;
}

.tile-list li.new span:first-child {
    color: #303030;
}

.projects .tile-list li.overdue span:first-child,
.projects .tile-list li.open span:first-child,
.projects .tile-list li.new span:first-child {
    color: #303030;
}

.action-stat {
    border-radius: 50%;
    background: #FFFFFF;
    color: #030303;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    font-size: 0.75rem;
    width: 24px;
    height: 24px;
    padding-top: 3px;
}

.action-text {
    padding-top: 3px;
}

.tile-action.black .action-stat {
    color: #303030;
}

.tile-action.green .action-stat {
    color: #65B9B2;
}

.tile-action.gold .action-stat {
    color: #BA8266;
}

footer {
    top: unset;
    position: fixed;
    bottom: 0px;
    width: fit-content;
    left: 0;
    color: #000000;
    height: 32px;
    padding: 24px;
    background: #ffffffdd;
}

.prioritised.priority-Low {
    color: var(--low-priority);
}

.prioritised.priority-Medium {
    color: var(--medium-priority);
}

.prioritised.priority-High {
    color: var(--high-priority);
}

/* UX overrides */

.popup > div > .controls {
    position: relative !important;
    gap: 24px;
}

.popup > div > .controls button {
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    background: #8D8D8D;
    padding: 8px 24px 8px 24px;
    text-align: center;
    width: fit-content;
    min-width: 80px;
    border: none;
    font-weight: 500;
    margin: 0;
}

.popup > div > .controls button.green {
    background: var(--green);
}

.popup > div > .controls button.very-green {
    background: var(--very-green);
}

.popup > div > .controls button.red {
    background: var(--red);
}

.popup > div > .controls button.green:hover {
    background: var(--gold);
}

.popup > div > .controls button:hover {
    background: var(--black);
}

.popup .controls > *:not(:last-child) {
    margin: 0;
}

.popup > div > .content {
    height: unset;
}

.popup:before {
    background: rgba(0,0,0,0.5);
}

.popup {
    position: fixed;
    max-height: calc(100vh - 48px);
    background: #FFFFFF;
    border-radius: 8px;
    overflow-y: auto;
    max-width: 1200px;
    margin: 24px auto;
    width: fit-content;
    min-width: 640px;
}

.popup > div > h2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #303030;
    background: none;
    height: unset;
    overflow: visible;
    margin-bottom: 0;
    padding: 1rem 2rem;
    border-bottom: none;
}

.popup > div > h2 .close {
    display: none;
}

.popup > div {
    background: #e7e6e6;
    border-radius: 8px;
    height: 100%;
    overflow-y: auto;
    padding: 1rem 0;
}

.proj-tasks .page-header .page-search,
.proj-tasks thead,
.proj-tasks tbody label {
    display: none;
}

.proj-tasks task-list,
.proj-tasks table {
    width: 100%;
    border-radius: 0;
}

.proj-tasks tr {
}

.proj-tasks tr td {
    padding: 8px;
}

.cfaf-ds-thumbnail {
    border-radius: 50%;
    border-color: #DDDDDD;
}

.form-fields .section {
    width: 100%;
}

.cfaf-ds-uploader {
    width: auto;
    flex-direction: row;
}

.fg-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.fg-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
}

.costs input {
    width: 100px;
}

.form-row h4 {
    width: 100%;
    font-weight: 600;
    font-size: 1rem;
}

.fr-wrap {
    flex-wrap: wrap;
}

.form-fields .section > div.fr-wrap > label {
    width:100%;
}

client-select {
    width: 100%;
}

.pager.single-page button,
.pager button, .pager input[type=text] {
    padding: 2px 9px 0px 9px !important;
    height: unset !important;
    display: inline-flex;
    align-items: center;
    border: 1px solid #000;
    border-radius: 25px;
    background: #ffffff;
    color: #202020;
    line-height: unset;
    font-weight: 600;
    opacity: 1 !important;
    filter: unset !important;
}

.pager input[type=text] {
    border: 0;
    padding: 0 !important;
    background: 0;
    width: 1rem !important;
    margin: 0;
}

.pager > *:not(:last-child) {
    margin-right: 0 !important;
}

.form-row.unsaved-changes {
    background: #ffcbea;
    padding: 0.5em 1em 0.35em 1em !important;
    border-radius: 5px;
}

.multi-select {
    display: flex;
    gap: 0.5em;
}

.pager .page-size-options {
    display: flex;
    align-items: center;
    gap: 0.5em;
}

.pager .page-size-options > span {
    font-size: 12px;
    font-weight: 100;
    white-space: nowrap;
}

.pager .page-size-options {
    display: none;
}

.pager .info {
    font-size: 0.75rem;
    margin-right: 0 !important;
}

tr.pager-row th {
    padding: 0 !important;
}

.inline-list {
    display: inline-flex;
    gap: 0.5em;
}

.currency-code {
    text-transform: uppercase;
}

button.icon-link.notes svg.no-notes {
    fill: #909090;
    display: block;
}

button.icon-link.notes svg.has-notes {
    display: none;
}

button.icon-link.notes.has-notes svg {
    fill: #000000;
}

button.icon-link.notes.has-notes svg.no-notes {
    display: none;
}

button.icon-link.notes.has-notes svg.has-notes {
    fill: var(--green);
    display: block;
}

.jc-sb {
    justify-content:space-between;
}

.js-fe {
    justify-self:flex-end;
}

button.icon-link.costs svg {
    fill: #909090;
    display: block;
}

button.icon-link.costs.has-costs svg {
    fill: var(--green);
}

.toolbar .filters label input {
    margin-right: 0.5em;
}

.toolbar .filters label {
    display: flex;
    align-items: center;
}

.toolbar .filters {
    display: flex;
    align-items: center;
}

.popup-header-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

tr.group-start td {
    border-top: 36px solid #FFFFFF;
    font-weight: 600;
    background: #f5f5f5;
    padding: 10px 12px 3px 12px;
    font-size: 0.95rem;
    color: #65b9b2;
}

.popup.quick-list tr.group-start td {
    border-top: 0;
    font-weight: 300;
    background: #FFF;
    padding: 16px;
    font-size: 1rem;
    color: #020202;
}

button.stat-action {
    border-width: 1px;
    border-radius: 5px;
    background: #65b9b2;
    color: #FFFFFF;
    border-color: #65b9b2;
}

button.stat-action.nts_0 {
    background: #FFFFFF;
    color: var(--black);
    border: 1px solid var(--black);
}

td button.stat-action {
    padding:3px 7px 3px 7px;
}

.task-list .project-ref-num {
    width: 8em;
}

.task-list .project-name {
    width: 16em;
}

.task-list .client-name {
    width: 16em;
}

.labelled-filter {
    white-space: nowrap;
}

.labelled-filter label {
    padding-right: 0.5em;
}

.labelled-filter label:after {
    content: ':';
}

.proposal-info.ref-num {
    font-size: 10px;
    margin-top: 0.5em;
    display: inline-block;
}

/*
    ::excelSelect =====================================================================================================================
*/
.excel-select {
    position: relative;
    display: inline-block;
    /*border: 1px solid #909090;*/
    padding: 0.5em;
    border-radius: 3px;
}

.excel-select .es-handle {
    cursor: pointer;
}

.excel-select .es-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5em;
}

.excel-select .es-handle:before {
    background-size: 12px;
    background-position: 0px 1px;
    content: ' ';
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48cGF0aCBkPSJNMjAxLjQgNDA2LjZjMTIuNSAxMi41IDMyLjggMTIuNSA0NS4zIDBsMTkyLTE5MmMxMi41LTEyLjUgMTIuNS0zMi44IDAtNDUuM3MtMzIuOC0xMi41LTQ1LjMgMEwyMjQgMzM4LjcgNTQuNiAxNjkuNGMtMTIuNS0xMi41LTMyLjgtMTIuNS00NS4zIDBzLTEyLjUgMzIuOCAwIDQ1LjNsMTkyIDE5MnoiLz48L3N2Zz4=');
    background-repeat: no-repeat;
    padding-left: 0.5em;
    width: 1em;
    height: 1em;
    display: inline-block;
}

.excel-select.filtered .es-handle:before {
    content: ' ' /*'\f0b0'*/;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBkPSJNMzIgNjRDMTkuMSA2NCA3LjQgNzEuOCAyLjQgODMuOFMuMiAxMDkuNSA5LjQgMTE4LjZMMTkyIDMwMS4zIDE5MiA0MTZjMCA4LjUgMy40IDE2LjYgOS40IDIyLjZsNjQgNjRjOS4yIDkuMiAyMi45IDExLjkgMzQuOSA2LjlTMzIwIDQ5Mi45IDMyMCA0ODBsMC0xNzguNyAxODIuNi0xODIuNmM5LjItOS4yIDExLjktMjIuOSA2LjktMzQuOVM0OTIuOSA2NCA0ODAgNjRMMzIgNjR6Ii8+PC9zdmc+');
    background-repeat: no-repeat;
}

.excel-select.popped .es-handle:before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48cGF0aCBkPSJNMjAxLjQgMTA1LjRjMTIuNS0xMi41IDMyLjgtMTIuNSA0NS4zIDBsMTkyIDE5MmMxMi41IDEyLjUgMTIuNSAzMi44IDAgNDUuM3MtMzIuOCAxMi41LTQ1LjMgMEwyMjQgMTczLjMgNTQuNiAzNDIuNmMtMTIuNSAxMi41LTMyLjggMTIuNS00NS4zIDBzLTEyLjUtMzIuOCAwLTQ1LjNsMTkyLTE5MnoiLz48L3N2Zz4=');
}

.excel-select .es-items {
    display: none;
    list-style: none;
    margin: 0;
}

.excel-select.popped .es-items {
    display: block;
    position: absolute;
    border: 1px solid #909090;
    background: #ffffff;
    left: 0;
    padding: 4px;
    z-index: 1;
    border-radius: 3px;
    top: calc(100% + 2px)
}


.excel-select.popped .es-items li {
    margin: 8px 8px 8px 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.excel-select.popped .es-items li i {
    display: inline-block;
    padding: 0;
    border-radius: 2px;
    transition: .5s;
    height: 24px;
}

.excel-select .es-items li i:hover {
    opacity: 0.5;
}

.excel-select.popped .es-items li i:hover.cb:before {
    color: #FFFFFF;
}

.excel-select .cb:before {
    font-style: normal;
    content: ' ';
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48cGF0aCBkPSJNMzg0IDgwYzguOCAwIDE2IDcuMiAxNiAxNmwwIDMyMGMwIDguOC03LjIgMTYtMTYgMTZMNjQgNDMyYy04LjggMC0xNi03LjItMTYtMTZMNDggOTZjMC04LjggNy4yLTE2IDE2LTE2bDMyMCAwek02NCAzMkMyOC43IDMyIDAgNjAuNyAwIDk2TDAgNDE2YzAgMzUuMyAyOC43IDY0IDY0IDY0bDMyMCAwYzM1LjMgMCA2NC0yOC43IDY0LTY0bDAtMzIwYzAtMzUuMy0yOC43LTY0LTY0LTY0TDY0IDMyeiIvPjwvc3ZnPg==');
    width: 24px;
    height: 21px;
    display: inline-block;
    background-repeat: no-repeat;
    background-position: 0;
}

.es-items li.selected {
    color: var(--green);
}

.excel-select .selected .cb:before {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0NDggNTEyIj48cGF0aCBkPSJNMzg0IDMyYzM1LjMgMCA2NCAyOC43IDY0IDY0bDAgMzIwYzAgMzUuMy0yOC43IDY0LTY0IDY0TDY0IDQ4MGMtMzUuMyAwLTY0LTI4LjctNjQtNjRMMCA5NkMwIDYwLjcgMjguNyAzMiA2NCAzMmwzMjAgMHpNMzQyIDE0NS43Yy0xMC43LTcuOC0yNS43LTUuNC0zMy41IDUuM0wxODkuMSAzMTUuMiAxMzcgMjYzLjFjLTkuNC05LjQtMjQuNi05LjQtMzMuOSAwcy05LjQgMjQuNiAwIDMzLjlsNzIgNzJjNSA1IDExLjkgNy41IDE4LjggN3MxMy40LTQuMSAxNy41LTkuOEwzNDcuMyAxNzkuMmM3LjgtMTAuNyA1LjQtMjUuNy01LjMtMzMuNXoiLz48L3N2Zz4=');
    color: #2776b4;
}
/*
    ::excelSelect =====================================================================================================================
*/

/* Tablet */
@media screen and (max-width:1200px) {
    .tiles {
        grid-template-columns: 1fr;
    }
}


/* Phone */
@media screen and (max-width:600px) {

    .popup {
        min-width: 300px;
    }

    .section > div:not(.group).form-row,
    .section > div:not(.group).form-row {
        flex-wrap: wrap;
    }

    .mobile {
        display: block;
    }

    nav.sys, nav.app {
        display: none;
    }

    .page-content {
        margin-left: 0;
        width: 100%;
        padding: 24px;
        margin-top: 132px;
    }

    header {
        width: calc(100% - 48px);
        padding-bottom: 8px;
    }

    .logo-container {
        margin: 8px 0 0 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
    }

    .logo-container > * {
        flex-shrink: 0;
    }

    header .logo-container > a.logo {
        width: 240px;
        padding: 0;
    }
}
