/** ------------------------------ 01. FONTS ---------------------------------**/
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff') format('woff'),
         url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
} 
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.woff') format('woff'),
         url('../fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

/** ------------------------------ 02. COMMONS ---------------------------------**/
*{
    box-sizing: border-box;
    -webkit-appearance: none;
}

:root {
    --color-system-white: #FFFFFF;
    --color-system-black: #141414;
    --color-system-gray-1: #3c3f46;
    --color-system-gray-2: #73787D;
    --color-system-gray-3: #DAD8DF;
    --color-system-gray-4: #F4F4F4;
    --color-system-light-blue: #ECEFFD;
    --color-system-light-yellow: #FFF7DC;
    --color-system-light-green: #EDF5D7;
    --color-system-light-red: #FDDADA;
    --color-system-light-purple: #F8ECFD;
    --color-system-light-orange: #FFF1DA;
    --color-system-red: #DA3B3B;
    --color-system-orange: #F19D16;
    --color-system-green: #0DBE6B;
    --color-system-green-light: #A3CB38;
    --color-system-blue-1: #0652DD;
    --color-system-blue-2: #109CF1;
    --color-accent-cpa-blue: #04245c;
    --color-accent-cpa-blue-tint-0: #233f70;
    --color-accent-cpa-blue-tint-1: #435b85;
    --color-accent-cpa-blue-tint-2: #627699;
    --color-accent-cpa-blue-tint-3: #8292ad;
    --color-accent-cpa-blue-tint-4: #a1adc2;
    --color-accent-cpa-blue-tint-5: #c0c8d6;
    --color-accent-cpa-blue-tint-6: #e0e4eb;
    --color-accent-purple: #7248E8;
    --color-accent-pink: #F784AD;
    --color-accent-blue: #4263EB;
    --color-accent-dark-blue: #1A2B6D;
    --color-accent-blue-light: #90A6FF;
    --color-button-secondary-hover: #4016BC;
    --color-marker-high: #DA3B3B;
    --color-marker-medium: #F19D16;
    --color-marker-low: #0DBE6B;
}

@media only screen and (max-width: 834px) {
    h1, .h-1 {
        font-size: 48px;
        line-height: 60px;
        font-weight: 600;
        margin: 0 0 32px 0;
    }
    h2, .h-2 {
        font-size: 34px;
        line-height: 50px;
        font-weight: 600;
        margin: 0 0 24px 0;
    }
    h3, .h-3 {
        font-size: 28px;
        line-height: 38px;
        font-weight: 600;
    }
    .container .h-desk-3-tab-4 {
        font-size: 22px;
        line-height: 32px;
    }
    h4, .h-4 {
        font-size: 22px;
        line-height: 32px;
    }
    h5, .h-5 {
        font-size: 18px;
        line-height: 28px;
    }
    .h-6 {
        line-height: 17px;
        font-size: 10px;
    }
    .h-6-5 {
        line-height: 15px;
        font-size: 12px;
    }
    .h-7 {
        line-height: 15px;
        font-size: 12px;
    }
    .p-2 {
        line-height: 17px;
        font-size: 10px;
    }
    p.p-4-5 {
        line-height: 15px !important;
        font-size: 10px !important;
    }
    .mp {
        padding: 24px;
    }
    input {
       font-size: 11px;
       line-height: 14px;
       margin-top: 4px;
       margin-bottom: 4px;
    }
    input.icon {
        background-position: right 9px top 50%;
        background-size: 20px 20px;
    }
    input.icon.check {
        background-size: 16px 16px;
    }
    label.checkbox {
        font-size: 12px;
        line-height: 20px;
    }
    a.p-3 {
        font-size: 12px;
        line-height: 15px;
    }

    .login-page.sign-in .module.login,
    .login-page.sign-up .module.login,
    .login-page.recover .module.login
    {
        width: 308px;
        left: calc(50% - 308px / 2 - 40px);
    }

    .login-page .module.login p {
        font-size: 12px;
        line-height: 15px;
    }
    .login-page .module.login p {
        margin-bottom: 32px;
    }
    .login-page .module.login h3 {
        margin-bottom: 4px;
    }
    .login-page .module.login h4 {
        margin-bottom: 4px;
    }
    .login-page .module.module.login {
        width: 308px;
    }
    .login-page .module.login .check-recover {
        margin-top: 8px;
        margin-bottom: 32px;
    }
}

@media only screen and (max-width: 834px) {
    .container .h-desk-4-mob-5 {
        font-size: 18px;
        line-height: 28px;
    }
    .h-6-7 {
        font-size: 12px !important;
        line-height: 15px !important;
    }
    .desk-1-mob-3 {
        font-size: 10px !important;
        line-height: 17px !important;
    }
    .p-desk-2-mob-4 {
        font-size: 12px !important;
        line-height: 15px !important;
    }
    .p-desk-2-mob-5 {
        font-size: 10px !important;
        line-height: 15px !important;
    }
    .p-desk-3-mob-4 {
        font-size: 12px !important;
        line-height: 15px !important;
    }
    .p-desk-3-mob-5 {
        font-size: 10px;
        line-height: 15px;
    }
    .p-desk-4-mob-5 {
        font-size: 10px !important;
        line-height: 15px !important;
    }

    body.login-page.sign-in .module.login,
    body.login-page.sign-up .module.login,
    body.login-page.recover .module.login
    {
        transform: none;
        left: unset;
        top: unset;
        position: relative;
        margin-left: auto;
        margin-right: auto;
        margin-top: 240px;
        margin-bottom: 48px;
    }

    body.login-page.sign-in .illustration,
    body.login-page.sign-up .illustration,
    body.login-page.recover .illustration
    {   display: none;
        height: auto;
        width: 100%;
        top: 16px;
        right: 50%;
        transform: translate(50%, 0);
    }
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow-y: auto;
    --number-of-lines: n;
    --smallest-row-height: 160px;
    --smallest-column-width: /* width: */ 16.666%;/* .column.col-2 */
    --inline-space: 24px;
    --block-space: 24px;
}

.grid-container .grid-item {
    --height: 1;
    height: calc(var(--height) * var(--smallest-row-height));
    --width: 1;
    width: calc(var(--width) * var(--smallest-column-width));
}

/** ------------------------------ BASIC COMPONENTS ---------------------------------**/

.hidden {
    display: none;
}

body {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    color: black;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    font-size: 12px;
    line-height: 20px;
    margin: 0;
    height: max-content;
    background-color: var(--color-system-white);
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: var(--color-system-white);
    text-align: center;
    z-index: 1;
}

.column {
  float: left;
  position: relative;
  display: flex;
}
.column.col-1 {
  width: 8.333%;
}
.column.col-2 {
  width: 16.666%;
}
.column.col-3 {
  width: 24.999%;
}
.column.col-4 {
  width: 33.332%;
}
.column.col-5 {
  width: 41.665%;
}
.column.col-6 {
  width: 49.998%;
}
.column.col-7 {
  width: 58.331%;
}
.column.col-8 {
  width: 66.664%;
}
.column.col-9 {
  width: 74.997%;
}
.column.col-10 {
  width: 83.33%;
}
.column.col-11 {
  width: 91.663%;
}
.column.col-12 {
  width: 100%;
}
.align-left {
  text-align: left;
  justify-content: start;
}
.align-right {
  text-align: right;
  justify-content: end;
}
.first-column {
    margin-left: 0 !important;
}
.last-column {
    margin-right: 0 !important;
}
.first-line {
    margin-top: 0 !important;
}
.last-line {
    margin-bottom: 0 !important;
}
.flex.inline-ends-trim > *:first-child {
    margin-inline-start: 0 !important;
}
.flex.inline-ends-trim > *:last-child {
    margin-inline-end: 0 !important;
}
.flex.block-ends-trim > *:first-child {
    margin-block-start: 0 !important;
}
.flex.block-ends-trim > *:last-child {
    margin-block-end: 0 !important;
}
.summary *, .description * {
    overflow-wrap: anywhere;
    font-size: 12px;
    line-height: 16px;
}
iframe {
    border: none;
    width: 100%;
    height: 800px;
}

iframe .calendar{
    border-width:0;
    width:800px;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

.underlined {
    text-decoration: underline;
}
.impact {
  text-align: center;
  line-height: 100px;
  font-weight: 600;
  color: var(--color-accent-cpa-blue);
  position: relative;
  font-family: 'Impact';
  z-index: 2;
  margin-top: 0px;
  margin-right: auto;
  margin-bottom: 6px;
  margin-left: auto;
}

h1, h2, h3, h4, h5, h6, p {
    align-self: flex-end;
}
.light {
    font-weight: 500;
}
.bold {
    font-weight: 600;
}
h1, .h-1 {
 text-align: center;
 font-size: 48px;
 line-height: 60px;
 font-weight: 600;
 margin: 0 0 6px 0;
 color: var(--color-accent-cpa-blue);
}
h1.impact {
  font-size: 80px;
}
h2, .h-2 {
 font-size: 34px;
 line-height: 50px;
 font-weight: 600;
 margin: 0 0 24px 0;
 color: var(--color-accent-cpa-blue);
}
h2.impact {
    font-size: 60px;
}
h3, .h-3 {
 font-size: 22px;
 line-height: 38px;
 font-weight: 600;
 margin: 8px 0;
 color: var(--color-accent-cpa-blue);
}
h4, .h-4 {
 font-size: 18px;
 line-height: 32px;
 font-weight: 600;
 margin: 8px 0;
 color: var(--color-accent-cpa-blue);
}
h5, .h-5 {
 font-size: 16px;
 line-height: 28px;
 font-weight: 500;
 margin: 0;
 color: var(--color-accent-cpa-blue);
}
h5.warning {
 color: var(--color-system-red);
}
h6, .h-6 {
    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
    margin: 2px;
    color: var(--color-accent-cpa-blue);
}
.h-6-5 {
    font-size: 11px;
    line-height: 17px;
    font-weight: 600;
    margin: 2px;
}
h6.value, .h-6.value, .h-6-5.value {
    color: var(--color-system-gray-1);
}
.h-6-7 {
    font-size: 11px;
    line-height: 17px;
    font-weight: 600;
    color: var(--color-accent-dark-blue);
}
.h-7 {
    font-size: 10px;
    line-height: 15px;
    font-weight: 600;
    color: var(--color-accent-cpa-blue);
    padding-right: 10px;
}
.h-7.name {
    margin: auto 2px;
}

p {
    color: var(--color-system-gray-1);
    margin: 2px 0px;
}
p.fw-normal {
    font-weight: 400;
}
p.fw-bold {
    font-weight: 600;
}
p.statuscolor, h6.statuscolor {
    border-radius: 4px;
    padding: 3px;
    text-align: center;
}
p.footer {
    padding: 2px;
    font-size: 8px;
    line-height: 12px;
    margin-bottom: 0px;
}
.p-1 {
  font-size: 18px;
  line-height: 24px;
}
.p-2 {
  font-size: 12px;
  line-height: 16px;
}
.p-3 {
  font-size: 10px;
  line-height: 12px;
  margin: 2px 0px;
}
.p-4 {
    font-size: 8px;
    line-height: 12px;
}
.p-5 {
    margin-top: 5px;
    margin-bottom: 0px;
    margin-right: 5px;
}
a {
  color: var(--color-accent-cpa-blue);
  line-height: 17px;
  text-decoration: none;
  border-radius: 8px;
  cursor: pointer;
  background-position: center;
  background-repeat: no-repeat;
  width: auto;
}
a > h4::before,
a > h5::before {
    content: "";
    background: url(../components/icons/link.svg) no-repeat;
    background-size: contain;
    display: inline-block;
    position: relative;
    width: 14px;
    height: 14px;
    top: 3px;
    z-index: inherit;
}
a > h6::before,
a > p::before {
    content: "";
    background: url(../components/icons/link.svg) no-repeat;
    background-size: contain;
    display: inline-block;
    position: relative;
    width: 11px;
    height: 11px;
    top: 3px;
    z-index: 1;
}
a > h3::hover,
a > h4::hover,
a > h5::hover,
a > h6::hover,
a > p::hover {
    background-color: var(--color-accent-cpa-blue);
    color: white;
    border-radius: 6px;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -ms-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
}

hr.separator {
    border-bottom: 1px solid var(--color-system-blue-1);
    width: 100%;
}

a.small-button, button.small-button {
  background-size: 18px;
  margin: 3px;
  min-width: 30px;
  width: 36px;
  min-height: 30px;
  height: 36px;
  background-image: url(../components/icons/plus.svg); /* Placeholder icon */
  background-color: transparent;
  display: inline-block;
}
a.big-button, button.big-button {
  width: 45px;
  height: 45px;
  background-color: white;
  background-size: 40px 40px;
}

a.underlined {
    margin: auto;
}

a.add, button.add {
    background-image: url(../components/icons/plus.svg);
    background-size: 18px;
}
a.advanced, button.advanced {
    background-image: url(../components/icons/SVG/sparkle.svg);
    background-size: 21px;
}
a.edit, button.edit {
    background-image: url(../components/icons/edit.svg);
    background-size: 21px;
}
a.complete, button.complete {
    margin: 0px 4px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../components/icons/check-gray.svg);
}
a.refresh, button.refresh {
    background-image: url(../components/icons/SVG/refresh.svg);
    background-size: 22px;
}
a.search, button.search {
    background-image: url(../components/icons/SVG/search.svg);
}
a.distribute, button.distribute {
    background-image: url(../components/icons/SVG/distribute.svg);
}
a.matching, button.matching {
    background-image: url(../components/icons/SVG/matching.svg);
}
a.filters, button.filters {
    background-image: url(../components/icons/SVG/filter.svg);
    background-size: 21px;
}
a.menu, button.menu {
  background-image: url(../components/icons/SVG/menu.svg);
}
a.uiw, button.uiw {
  background-image: url(../components/icons/SVG/uiw.svg);
  background-size: 20px;
}
a.sort, button.sort {
  background-image: url(../components/icons/SVG/sort.svg);
  background-size: 20px;
}
a.load, button.load {
  background-image: url(../components/icons/load.svg);
}
a.save, button.save {
  background-image: url(../components/icons/SVG/bookmark.svg);
}
a.feedback, button.feedback {
  background-image: url(../components/icons/SVG/feedback.svg);
}
a.download, button.download {
  background-image: url(../components/icons/SVG/download.svg);
  background-size: 30px;
  border-radius: 5px;
  background-position-y: 2px;
}
a.download-pdf, button.download-pdf {
  background-color: var(--color-system-white);
  background-image: url(../components/icons/SVG/download-pdf.svg);
  background-size: 70px;
  border-radius: 5px;
  width: 45px;
  height: 52px;
  display: block;
}
button.small-button.download-pdf {
  background-size: 40px;
}
a.download-pdf:hover, button.download-pdf:hover,
a.download-xlsx:hover, button.download-xlsx:hover {
  background-color: var(--color-system-gray-3);
  transition: none;
}
a.download-xlsx, button.download-xlsx {
  background-color: var(--color-system-white);
  background-image: url(../components/icons/SVG/download-xlsx.png);
  background-size: 41px;
  border-radius: 5px;
  width: 45px;
  height: 52px;
  display: block;
}
a.delete, button.delete {
  background-image: url(../components/icons/delete.svg);
  background-size: 20px;
}
a.close, button.close {
  background-image: url(../components/icons/close.svg);
}
a.stats, button.stats {
  background-image: url(../components/icons/SVG/stats.svg);
}
a.calendar, button.calendar {
  background-image: url(../components/icons/calendar.svg);
  background-size: 26px;
}
a.sales_log, button.sales_log {
  background-image: url(../components/icons/SVG/sales.svg);
  background-size: 34px 34px;
}
button.neetrix_icon {
  background-image: url(../components/icons/SVG/Neetrix.png);
  background-size: 14px;
  height: 12px;
  width: 12px;
  padding: 12px;
  margin: 2px;
}
a.new_address, button.new_address {
  background-image: url(../components/icons/new-address.svg);
  background-size: 36px;
}
a.new_job, button.new_job {
  background-image: url(../components/icons/new-job.svg);
  background-size: 30px;
}
a.new_invoice, button.new_invoice {
  background-image: url(../components/icons/new-invoice.svg);
  background-size: 30px;
}
a.new_affiliate, button.new_affiliate {
  background-image: url(../components/icons/svg/new_affiliate.svg);
  background-size: 30px;
}
a.new_task, button.new_task {
  background-image: url(../components/icons/new-task.svg);
  background-size: 36px;
}
a.new_tag, button.new_tag {
  background-image: url(../components/icons/SVG/new_tag.svg);
  background-size: 26px;
}
a.new_email, button.new_email {
  background-image: url(../components/icons/new_email.svg);
  background-size: 26px;
}
button.new_contract {
  background-image: url(../components/icons/new_contract.svg);
  background-size: 26px;
}
a.new_note, a.new_notecategory,
button.new_note, button.new_notecategory {
  background-image: url(../components/icons/SVG/new_note.svg);
  background-size: 24px;
}
a.add_template, button.add_template {
  background-image: url(../components/icons/SVG/add_template.svg);
  background-size: 24px;
}
a.add_template.small-button, button.add_template.small-button {
  background-size: 21px;
}
a.new_event, button.new_event {
  background-image: url(../components/icons/SVG/new_event.svg);
  background-size: 26px;
}
button.new_emailtemplatecategory {
  background-image: url(../components/icons/plus.svg);
  background-size: 20px;
}
a.map, button.map {
  background-image: url(../components/icons/SVG/map.svg);
}
a.telegram, button.telegram {
  background-image: url(../components/icons/SVG/telegram.svg);
  background-size: contain;
  border-radius: 50%;
  padding: 0px;
  width: 24px;
  height: 24px;
}
a.network, button.network {
  background-image: url(../components/icons/SVG/network.svg);
  background-size: 25px 25px;
}
button.dot {
  width: 6px;
  height: 6px;
  padding: 0px;
  border-radius: 100%;
  background-color: var(--color-system-gray-3);
  margin-right: 3px;
}
button.tiny-button {
  width: 0px;
  height: 0px;
  padding: 9px;
  border-radius: 50%;
  background-size: 80%;
}
button.quick-remove {
    display: none;
    width: 18px;
    height: 18px;
    background-size: 8px;
    padding: 0px;
    opacity: .7;
    background-image: url(../components/icons/close.svg);
    position: relative;
    right: 20px;
}
button.quick-remove:hover {
    display: inline-block;
}
button.drive {
  background-size: 18px;
  margin: 0px;
  width: 36px;
  height: 36px;
  background-image: url(../components/icons/SVG/drive.svg);
  background-color: transparent;
}
button.google-maps {
  background-image: url(../components/icons/google-maps.svg);
  background-size: 13px;
  background-color: transparent;
}
button.drive:hover,
button.google-maps:hover {
  background-color: transparent;
}


.landing { /* TODO Move or specify*/
    background-color:var(--color-system-white);
    color:var(--color-accent-cpa-blue);
    margin-top:10%;
    padding:20px;
    text-align:center;
}

/********* LABELS *********/

label {
    display: inline-block;
    margin-top: 5px;
    margin-right: 5px;
}

label.tooltip {
    margin-right: 0px;
}

label.tooltip:hover::before {
  content: attr(text);
  font-size: 11px;
  position: absolute;
  opacity: 0.95;
  background-color: var(--color-system-gray-3);
  color: var(--color-accent-cpa-blue);
  padding: 4px 10px;
  border-radius: 3px;
  display: block;
  width: max-content;
  z-index: 1000;
  overflow: visible;
  transform: translateX(-40%) translateY(-70%)
}

label.location {
    height: 24px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

label.location > input {
    width: calc(100% - 100px);
    height: 100%;
    margin: 0;
    padding: 0 9px;
    border-radius: 6px 0 0 6px;
    flex-shrink: 1;
}

label.location > input::placeholder {
    line-height: 12px;
    font-size: 12px;
    color: var(--color-system-gray-2);
}

label.location.hidden > input {
    display: none;
}

label.location button {
    width: 100px;
    height: 24px;
    max-height: 100%;
    margin: 0;
    padding: 2px;
    border-radius: 0 6px 6px 0;
    font-size: 12px;
    line-height: 12px;
    /* flex-grow: 1; */
}

label.location.hidden button {
    width: 110px;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

label.select {
    flex: 140px 0 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-left: 12px;
    width: 140px;
    height: 24px;
    border: 1px solid var(--color-system-blue-1);
    border-color: var(--border-color);
    border-radius: 24px;
    position: relative;
    background-color: transparent;
    background-size: 8px 4px;
    background-position: top 50% right 8px;
    background-repeat: no-repeat;
    background-image: url(../components/icons/down-blue.svg);
}

label.select select {
    height: 100%;
    width: 100%;
    margin: 0;
    border: none;
    background-color: transparent;
    font-family: 'Montserrat';
    font-weight: normal;
    color: var(--color-system-blue-1);
    outline: none;
    font-size: 12px;
    line-height: 12px;
}

label.toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

label.toggle .text {
    color: var(--color-accent-blue);
    margin: 0 8px 0 0;
    user-select: none;
}

label.toggle .substrate {
    width: 40px;
    height: 20px;
    background: var(--color-system-white);
    border: 1px solid var(--color-accent-blue);
    border-radius: 16px;
    padding: 1px;
}

label.toggle .substrate .circle {
    width: 16px;
    height: 16px;
    margin: 0 auto 0 0;
    border-radius: 16px;
    background-color: var(--color-accent-blue);
    transition: margin .2s;
}

label.toggle.toggled .substrate {
    background-color: var(--color-accent-blue);
}

label.toggle.toggled .substrate .circle {
    margin: 0 0 0 auto;
    background: var(--color-system-white);
    transition: margin .1s;
}

label.text-inline {
    --input-width: 40px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    border: none;
}

label.text-inline .text {
    margin: 0;
    color: var(--color-accent-blue);
}

label.text-inline .text.left {
    margin-right: 8px;
}

label.text-inline .text.right {
    margin-left: 8px;
}

label.text-inline input {
    width: var(--input-width);
    height: 100%;
    margin: 0;
    padding: 11px 4px;
    border-radius: 4px;
}

label.attachment {
    position: relative;
}

label.attachment > span {
    position: absolute;
    top: 8px;
    right: 48px;
    width: 24px;
    height: 24px;
    background-size: 16px 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../components/icons/paperclip.svg);
    cursor: pointer;
    pointer-events: all;
}

label.attachment > input {
    width: calc(100% - 40px);
    padding: 8px 8px 8px 9px;
}

label.with-submit {
    height: 32px;
    display: flex;
}

label.with-submit > input {
    margin: 0;
    width: calc(100% - 40px);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

label.with-submit > button {
    width: 40px;
    height: 100%;
    margin: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-size: 22px 22px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../components/icons/send.svg);
}

label.alternative {
    border: 1px solid var(--color-accent-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

label.alternative button {
    height: 100%;
    border: none;
    border-radius: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 12px;
    line-height: 16px;
    color: var(--color-system-gray-2);
    flex: 100% 1 1;
}

label.alternative button + button {
    border-left: 1px solid var(--color-accent-blue);
}
.login input:first-of-type {
    margin-top: 0px;
}
.login input:last-of-type {
    margin-bottom: 0px;
}
.signup > section > input[type=text] {
    width:80%;
    height: 42px;
    margin: 5px 0px 15px;
    padding-left: 10px;
}
label.checkbox {
    font-size: 10px;
    line-height: 20px;
    color: var(--color-accent-blue);
    user-select: none;
    -webkit-user-select: none;
    vertical-align: middle;
    display: flex;
    align-items: center;
    cursor: pointer;
}
/************ BUTTONS ************/
button {
    height: 32px;
    color: var(--color-accent-cpa-blue);
    border: 0;
    font-size: 11px;
    line-height: 14px;
    font-weight: 400;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -ms-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    background-size: contain;
    background-position: center;
    background-size: 18px;
    background-repeat: no-repeat;
}

button.alternate, .button.alternate {
    background-color: white;
    color: var(--color-accent-cpa-blue);
    border: 1px solid var(--color-accent-cpa-blue);
    padding: 13px;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -ms-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
}
button.alternate:hover, .button.alternate:hover {
    border: 2px solid var(--color-accent-cpa-blue);
    font-weight: 400;
    /* padding: 12px; */
    -webkit-transition: all 0.1s ease 0s;
    -moz-transition: all 0.1s ease 0s;
    -ms-transition: all 0.1s ease 0s;
    -o-transition: all 0.1s ease 0s;
    transition: all 0.1s ease 0s;
}
button.disabled {
    border: 1px solid #ACB5BD;
    color: #ACB5BD;
    cursor: default;
    pointer-events: none;
}
button.secondary {
    padding: 0;
    text-align: center;
    width: 90px;
    height: 32px;
    font-size: 12px;
    line-height: 12px;
    font-weight: 600;
}
button.secondary.gray {
    background-color: var(--color-system-gray-4);
    color: var(--color-system-gray-2);
}
button.secondary.greenish {
    background-color: #EDF5D7;
    color: var(--color-system-green-light);
}
button.secondary.reddish {
    background-color: #FDDADA;
    color: var(--color-system-red);
}
button.secondary.peach {
    background-color: #FFF1DA;
    color: var(--color-system-orange);
}

button.secondary.normal {
    background-color: var(--color-system-gray-4);
    color: var(--color-system-gray-2);
}
button.secondary.pending {
    background-color: #FFF1DA;
    color: var(--color-system-orange);
}
button.secondary.soon {
    background-color: #FFF1DA;
    color: var(--color-system-orange);
}
button.secondary.overdue {
    background-color: #FDDADA;
    color: var(--color-system-red);
}
button.filter {
    position: relative;
    width: 32px;
    height: 32px;
    background-size: 22px;
    margin-left: 4px;
    background-image: url(../components/icons/SVG/filter.svg);
}
button.sales_log_filter {
    position: relative;
    border: 1px solid var(--color-accent-cpa-blue);
    width: 32px;
    height: 32px;
    background-size: 22px;
    background-color: var(--color-system-gray-4);
    margin-left: 4px;
    color: black;
    background-image: url(../components/icons/SVG/filter.svg);
}
button.help_icon {
    background-image: url(../components/icons/question.svg);
    width: 18px;
    height: 18px;
    overflow: hidden;
    background-position: center;
    background-size: 16px;
    background-repeat: no-repeat;
    display: block;
    background-color: white;
}
button.load_more {
    padding: 0px;
}
button[class$="tab"] {
    color: var(--color-accent-cpa-blue);
}

button[class$="tab"]:hover, button[class$="tab active"] {
    background-color: var(--color-accent-cpa-blue);
    color: white;
}

button.tab {
    border-radius: 10px 10px 0px 0px;
    padding-bottom: 20px;
}

button.innertab {
    padding: 4px;
    font-size: 11px;
    height: 28px;
    margin: 1px;
}

button.banner {
    width:100%;
    margin: 5px 0px;
}

button.icon-left {
    height: 32px;
    padding: 0 12px 0 40px !important;
    font-size: 10px;
    line-height: 14px;
    background-repeat: no-repeat;
    background-position: left 12px top 50%;
}
button.alternate.icon-left:hover {
    padding: 0 11px 0 39px !important;
}
button[class*="icon"].list {
    background-size: 16px 14px;
    background-image: url(../components/icons/list.svg);
}
button.alternate.icon-left.list:hover {
    background-position: left 11px;
}
button[class*="icon"].check {
    background-size: 18px 18px;
    background-image: url(../components/icons/check-blue.svg);
    background-position: left 12px;
}
button.alternate.icon-left.check:hover {
    background-position: left 11px;
}
button[class*="icon"].time {
    background-size: 21px 18px;
    background-image: url(../components/icons/pending.svg);
    background-position: left 10px;
}
button.alternate.icon-left.time:hover {
    background-position: left 9px;
}
button.refresh {
    background-repeat: no-repeat;
    background-image: url(../components/icons/svg/refresh.svg);
    background-position: center !important;
}
@media screen and (max-width: 834px) {
    button.icon-left {
        height: 24px;
        border-radius: 8px;
        padding: 4px 22px !important;
        font-size: 10px;
        line-height: 15px;
        background-repeat: no-repeat;
        background-position: left 4px top 50%;
    }
    button.alternate.icon-left:hover {
        padding: 3px 21px !important;
    }
    button[class*="icon"].list {
        background-size: 12px 10px;
    }
}
button > span {
    bottom: 8px;
    position: relative;
}
i.colour {
    width: 16px;
    height: 16px;
    display: block;
    border-radius: 10px;
}

/* Icon Colours */
i.colour.blue {background-color: var(--color-system-blue-1);}
i.colour.green {background-color: var(--color-system-green);}
i.colour.red {background-color: var(--color-system-red);}
i.colour.purple {background-color: var(--color-accent-purple);}
i.colour.orange {background-color: var(--color-system-orange);}
/* Icon Background Colours */
i.blue {background-color: var(--color-system-light-blue);}
i.yellow {background-color: var(--color-system-light-yellow);}
i.green {background-color: var(--color-system-light-green);}
i.red {background-color: var(--color-system-light-red);}
i.purple {background-color: var(--color-system-light-purple);}
i.orange {background-color: var(--color-system-light-orange);}
/* Icon Types */
i.total {background-image: url(../components/icons/SVG/black/hexagon.svg);}
i.contacts {background-image: url(../components/icons/SVG/contacts.svg);}
i.backoffice {background-image: url(../components/icons/SVG/backoffice.svg);}
i.dashboard {background-image: url(../components/icons/dashboard.svg);}
i.workboard {background-image: url(../components/icons/SVG/kanban.svg);}
i.tasks {background-image: url(../components/icons/task.svg);}
i.calendar {background-image: url(../components/icons/calendar.svg);}
i.email {background-image: url(../components/icons/outlined-email.svg);}
i.settings {background-image: url(../components/icons/SVG/settings.svg);}
/* Icons */
i.tag-hidden {
    display: block;
    background-size: 24px 24px;
    width: 24px;
    height: 24px;
    background-color: transparent;
    margin-left: 4px;
}
i.tag-hidden.True {background-image: url(../components/icons/hidden.svg);}
i.tag-hidden.False {background-image: url(../components/icons/visible.svg);}

/* FLEX */
.flex-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  width: 100%;
}

 /* COLLAPSIBLE */
.collapsible {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  margin: 12px 0px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 18px;
  color: var(--color-accent-cpa-blue);
}
.collapsible.secondary {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  margin: 6px 2px;
  width: fit-content;
  border: none;
  text-align: left;
  outline: none;
  font-size: 12px;
  color: var(--color-accent-cpa-blue);
  font-weight: 500;
}

.collapsible.filters {
    margin: 5px 0px;
    font-size: 12px;
    color: rgb(115, 115, 115);
    line-height: 0px;
    background-image: none;
}
.content.filter select {
    padding: 6px;
    margin-top: 6px;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
button.collapsible:hover {
  background-color: rgb(202, 202, 202);
}
/** ---------------------- FORMS ------------------------**/
input::placeholder {
    color: #aaa;
    font-weight: 400;
}

input[type=checkbox],
input[type=radio] {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0px 4px;
    border: 1px solid var(--color-accent-cpa-blue);
    background-color: white;
    border-radius: 4px;
    padding: 0px;
    flex-shrink: 0;
}

input[type=checkbox]:checked,
input[type=radio]:checked,
.module.tasks .task.completed div.checkbox {
    background-color: var(--color-accent-cpa-blue) !important;
    background-image: url(../components/icons/checkbox.svg);
    background-size: contain;
    background-position: center;
}

input[type=submit] {
    height: 42px;
    border: 1px solid black;
    color: var(--color-system-black);
    font-size: 10px;
    line-height: 14px;
    font-weight: 400;
    padding: 14px;
    border-radius: 10px;
    cursor: pointer;
    background-size: contain;
    background-position: center;
    background-size: 18px;
    background-repeat: no-repeat;
    margin-top: 10px
}
.form_submit {
    background-color: var(--color-system-green-light);
}
.form_delete {
    background-color: var(--color-system-gray-2);
}
.form_submit:hover, .form_delete:hover{
    transition: .5sec;
    box-shadow: 0 -15px 20px -10px rgba(0, 0, 0, 0.15) inset;
    color: white;
}

form {
    display: unset;
    width: 100%;
}

form label {
    display: inline-block;
    margin-top: 5px;
    margin-right: 5px;
    min-width: fit-content;
}

form label.tooltip {
    display: inline-block;
    margin: 0px;
    min-width: fit-content;
    z-index:10000;
}
form > h6 {
    margin: 10px 0px 5px;
}

form section {
    line-height: 26px;
}

form [id$="_select_wrapper"] {
    margin: 5px;
}

form select {
  font-size: 12px;
  font-style: normal;
  color: black;
  margin: 5px 0px;
  padding: 5px;
  width: fit-content;
  background-color: white;
  border: 1px solid #aaa;
  border-radius: 4px;
}
form input[type=text], form input[type=email], form input[type=password],
form input[type=search], form input[type=url], form input[type=date], form input[type=datetime-local] {
    width: 72%;
    height: 30px;
    margin: 5px 0px;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
}
form input[type=number], input[type=time] {
    width: fit-content;
    height: 30px;
    margin: 5px 0px;
    padding: 0px 5px 0px 20px;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #aaa;
}

form input[type=range] {
    width: fit-content;
    height: 25px;
    background: var(--color-system-gray-3);
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}
form input[type=date] {
    max-width: 150px;
}
form input[type=datetime-local] {
    max-width: 175px;
}
form input[type=text].longtext {
    max-width: 600px;
}
form input[type=text].shorttext {
    margin-left: 5px;
    max-width: 200px;
}
form input[type=text].text_input_between > label {
    padding: 10px 0px;
}
form input[type=text]::placeholder {
  opacity:.7;
}
/** MAPS **/
form input#id_location_1,
form input#id_location_2 {
    display: none;
}
form div#map_location {
    max-width: 480px;
}
form input.banner[type=text]{
    width: 100%;
    height: 45px;
    margin: 10px 0px;
}

form input.attachments {
    max-width: 33%;
    margin: 10px 0px;
}

form ul.to-do-list {
    margin: 0;
    padding: 0;
    max-width: 500px;
}
form ul.to-do-list li.to-do-item {
    cursor: pointer;
    position: relative;
    padding: 1px 2px 1px 4px;
    list-style-type: none;
    background: #eee;
    font-size: 11px;
    line-height: 22px;
    transition: 0.2s;

    /* make the list items unselectable */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

form ul.to-do-list li.to-do-item:nth-child(odd) {
    background: #f9f9f9;
}

form ul.to-do-list li.to-do-item:hover {
  background: #ddd;
}
form ul.to-do-list li.to-do-item.checked {
  background: #888;
  color: #fff;
  text-decoration: line-through;
}

form ul.to-do-list li.to-do-item.checked::before {
  content: '';
  position: absolute;
  border-color: #fff;
  border-style: solid;
  border-width: 0 2px 2px 0;
  top: 10px;
  left: 16px;
  transform: rotate(45deg);
  height: 15px;
  width: 7px;
}
form ul.to-do-list li.to-do-item input[type="checkbox"] {
  position: relative;
  top: 4px;
}
form ul.to-do-list li.to-do-item button.close {
  position: absolute;
  right: 0;
  top: 0;
  padding: 2px;
  background-color: transparent;
  background-image: none;
  border-radius: 0%;
  height: 100%;
}

form ul.to-do-list li.to-do-item button.close:hover {
  background-color: var(--color-accent-cpa-blue);
  color: white;
}

form span.select2 {
    min-width: 200px;
    max-width: 500px;
}

.errorlist {
    color: red;
}

.desktop-only {
    display: unset;
}

.mobile-only {
    display: none !important;
}

input[type=radio] {
    -webkit-appearance: radio;
}

input[type=radio] {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 13px 4px;
    border: 1px solid var(--color-accent-cpa-blue);
    background-color: white;
    border-radius: 4px;
    padding: 0px;
    flex-shrink: 0;
}

input:focus {
    outline: none;
}

input.filter[type=text]{
    margin: 0px 10px 0px 0px;
    padding-left: 8px;
    padding-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 24px;
    vertical-align: middle;
    color: #444;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    max-width: 300px;
}
input.filter.short[type=text]{
    max-width: 200px;
}
input[type=date]{
    display: inline-block;
    margin: 0px 10px 0px 0px;
    padding-left: 8px;
    padding-right: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 24px;
    vertical-align: middle;
    color: #444;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
}

textarea {
    width: 100%;
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
}

input.icon {
    background-attachment: local;
    background-repeat: no-repeat;
    background-position: right 8px top 12px;
    background-size: 24px 24px;
}

input.icon.check {
    background-image: url(../components/icons/check-blue.svg);
}

input.icon.lock {
    background-image: url(../components/icons/lock.svg);
}

input.icon.mail {
    background-image: url(../components/icons/email.svg);
    width: 100%;
    height: 48px;
    margin: 5px 0px;
}

select {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    font-style: normal;
    color: var(--color-accent-cpa-blue);
    margin-top: 8px;
    margin-bottom: 8px;
    border: 1px solid var(--color-accent-cpa-blue);
    padding: 15px;
    border-radius: 10px;
    max-height: 48px;
    width: 100%;
}

span.gray-icon {
    background-color: var(--color-system-gray-4);
    border-radius: 8px;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}
span.colour-button {
    border-radius: 50%;
    display: block;
    min-width: 20px;
    min-height: 20px;
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 0.05rem black);
}

/**---------------- STRUCTURES -----------------**/

div.inline {
    display: inline-flex;
    flex-direction: unset;
}
div.block {
    display: inline-block;
    flex-direction: column;
}
div.grid {
    display: inline-grid;
    flex-direction: column;
}
.rowblock {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
}
.rowblock > h6 {
    margin-top: 5px;
}
div.content {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}

div.content.filter {
  background-color: var(--color-accent-cpa-blue-tint-6);
  border-radius: 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
}
div.content.active {
  padding: 5px;
  max-height: fit-content;
  overflow: visible;
  min-width: 100%;
  transition: 0.2s ease-out;
  display: inline-block;
}

div.content.active > div.inline {
  width: 100%;
  justify-content: space-between;
  display: inline-flex;
  margin-bottom: 6px;
}
div.form_buttons {
    display:flex;
    justify-content: space-between;
}
div.with-tooltip {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  width: fit-content;
  position: relative;
}
div.emailbody {
  background: white;
  border-radius: 8px;
  box-shadow: 0px 1px 3px 2px rgba(79, 79, 130, 0.1);
  height: fit-content;
  min-height: 115px;
  margin: 10px;
}

div.emailbody p {
    margin: 5px 0px;
    padding: 15px;
}
div.company_network ul, div.company_network li {
    margin-left: 10px;
}
div.company_network p {
    margin: 0px;
}
/** ------------------------------ 03. SIGN-IN ---------------------------------**/
.login-page, .logout-page {
    background-color: var(--color-accent-cpa-blue);
}
.login-page .module.login, .module.logout {
    width: 438px;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: calc(50% - 438px / 2 - 80px);
    background-color: white;
    background-size: contain;
    border-radius: 10px;
    padding: 30px;
}

.login-page .login p {
    color: var(--color-accent-cpa-blue);
    margin-bottom: 20px;
}
.login-page .login h3  {
    color: #1A2B6D;
    margin-bottom: 8px;
}
.login-page .login h4  {
    color: var(--color-accent-cpa-blue);
    margin-bottom: 16px;
}

.login-page input {
    margin: 5px 0px;
}

.login-page .login .check-recover {
    justify-content: space-between;
    margin-top: 24px;
    margin-bottom: 40px;
    width: 100%;
    float: left;
}

.login-page .login .check-recover a {
    position: inherit;
    bottom: -5px;
}

.login-page .login .buttons {
    margin: 6px 0 12px;
    display: block;
}

.login-page div.module.login .buttons a,
.login-page div.module.login .buttons button,
.login-page .login .submit input {
    width: calc( (100% - 16px) / 2 );
    background-color: var(--color-accent-cpa-blue);
    text-decoration: none;
    align-items: left;
    color: white;
    cursor: pointer;
    padding: 3px;
}

.login-page div.module.login .buttons a:hover,
.login-page div.module.login .buttons button:hover {
    background-color: white;
    color: var(--color-accent-cpa-blue);
    border: 1px solid var(--color-accent-cpa-blue);
}

.login-page .login .social {
    background-color: var(--color-accent-cpa-blue);
    display: block;
    text-decoration: none;
    align-items: left;
    color: white;
    cursor: pointer;
}

.login-page .login .social:hover {
    background-color: white;
    color: var(--color-accent-cpa-blue);
    border: 1px solid var(--color-accent-cpa-blue);
}

.login-page.sign-in .illustration {
    max-height: 633px;
    position: absolute;
    transform: translate(50%, -50%);
    top: 50%;
    right: calc(50% - 633px / 2 + 40px);
    user-select: none;
}
.logout-page .illustration {
    max-height: 633px;
    position: absolute;
    transform: translate(50%, -50%);
    top: 50%;
    right: calc(50% - 633px / 2 + 40px);
    user-select: none;
}

/** ------------------------------ 04. SIGN-UP ---------------------------------**/
.login-page.sign-up .illustration {
    max-height: 628px;
    position: absolute;
    transform: translate(50%, -50%);
    top: 50%;
    right: calc(50% - 628px / 2 + 40px);
    user-select: none;
}

@media only screen and (max-width: 1440px) {
    .login-page.sign-up .illustration {
        height: 534px;
        right: calc(50% - 534px / 2 + 20px);
    }
}

/** ------------------------------ 05. RECOVER ---------------------------------**/

.login-page.recover .module.login h3 {
    margin-bottom: 40px;
}

.login-page.recover .login .buttons {
    margin-top: 40px;
}

.login-page.recover .login .buttons button {
    width: 100%;
}

.login-page.recover .illustration {
    max-height: 622px;
    position: absolute;
    transform: translate(50%, -50%);
    top: 50%;
    right: calc(50% - 622px / 2 + 40px);
    user-select: none;
}

@media only screen and (max-width: 1440px) {
    .login-page.recover .module.login h3 {
        margin-bottom: 32px;
    }

    .login-page.recover .login .buttons {
        margin-top: 32px;
    }

    .login-page.recover .illustration {
        height: 528px;
        right: calc(50% - 528px / 2 + 20px);
    }
}

/** ------------------------------ 04. NAVIGATION ------------------------------ **/
.navigation {
    background-color: var(--color-system-gray-4);
    position: relative;
    z-index: -1;
}
.toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
}

.toast.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}
/* Animations to fade in and out */
@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}
/** ============================== NAVBAR ============================== **/
.navigation-bar, .navigation-bar.open {
    height: 100%;
    max-height: 100vh;
    width: 222px;
    padding: 0;
    position: fixed;
    display: flex;
    flex-direction: column;
    top: 0;
    left: 0;
    transform: translate(0,0);
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: var(--color-system-white);
    z-index: 50;
}

.navigation-bar.hidden {
    width: 75px;
    transform: none;
    scrollbar-width: none;
}

.navigation-bar .logo  {
    background-image: url(../images/cpa_logo.jpg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 10px auto;
    width: inherit;
    min-height:48px;
    max-height:48px;
}

.navigation-bar .user {
    padding: 10px;
    margin: 16px 8px;
    border: 1px solid var(--color-system-gray-3);
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    text-decoration: none;
    position: relative;
    width: 90%;
}

.navigation-bar .user img {
    width: 42px;
    height: 42px;
    background-color: var(--color-system-gray-3);
    border-radius: 12px;
}
.navigation-bar .user .right-arrow {
    position: absolute;
    background-image: url(../components/icons/right-arrow.svg);
    right:16px;
    top:26px;
    width: 6px;
    height: 10px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.navigation-bar .user span {
    vertical-align: middle;
    margin: auto 14px;
    font-size: 16px;
    line-height: 14px;
    font-weight: 600;
    color: var(--color-system-gray-2);
}
.navigation-bar.hidden .section {
    max-width: 48px;
    margin: 0 16px;
     -webkit-transition: all 0.4s ease-in-out 0s;
    -moz-transition: all 0.4s ease-in-out 0s;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}
.navigation-bar.hidden .section .parent-menu {
    width: 40px;
    margin: auto;
}
.navigation-bar.hidden .dropdown-icon {
    display: none;
}

.navigation-bar .section span {
    max-width: 0;
}
.navigation-bar .substrate {
    margin-bottom: 110px;
    overflow-y: scroll;
    scrollbar-width: none;
}

.navigation-bar.hidden .substrate {
    max-width: 80px;
}
.navigation-bar.hidden .substrate i.parent-icon {
    margin: auto;
}
.navigation-bar .substrate i.parent-icon {
    width: 24px;
    height: 24px;
    background-position: center;
    background-size: cover;
    margin: auto 2px auto 4px;
}
.navigation-bar .navbar-bottom {
  position: absolute;
  bottom: 12px;
  left: 0px;
}

.navigation-bar .navbar-bottom span {
  padding: 2px;
  font-size: 10px;
  line-height: 7px;
}
.section .parent-menu {
    display: flex;
    width: 100%;
    text-decoration: none;
    border-radius: 12px;
    height: 42px;
    position: relative;
}

.navigation-bar .section span {
    font-size: 11px;
    margin: auto 0 auto 8px;
    max-width: 100%;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    color: var(--color-system-gray-2);
    background-size: 24px 24px;
    background-repeat: no-repeat;
    background-position: 12px;
    text-decoration: none;
}

.navigation-bar.hidden .section span,
.navigation-bar.hidden .user span,
.navigation-bar.hidden .user .right-arrow {
    opacity: 0;
    max-width: 0;
    margin: 0;
}

.navigation-bar .section .parent-menu:hover, .navigation-bar .section.active {
    background-color: var(--color-system-gray-4);
}
.navigation-bar.hidden .section .label, .navigation-bar.hidden .section .label {
    width: 100%;
    justify-content: center;
    position: absolute;
    bottom: 4px;
    display: block;
    margin: 0px auto;
}
.navigation-bar.hidden .section .label .tooltip {
    height: 10px;
    background-color: var(--color-system-gray-4);
    color: var(--color-accent-cpa-blue);
    z-index: 1000;
    font-size: 10px;
    text-align: center;
    margin: 1px auto;
    line-height: 10px;
    border-radius: 10%;
    justify-content: center;
    position: relative;
    display: none;
    cursor: pointer;
}
.navigation-bar.hidden .section:hover label.tooltip {
    display: flex;
}
.navigation-bar.hidden .section label.tooltip:hover:before {
    display: none;
    cursor: pointer;
}
.navigation-bar .section label.tooltip {
    display: none;
    cursor: pointer;
}

.navigation-bar .section.active span {
    font-weight: 600;
}

.navigation-bar .section.open-navbar i {
    background-image: url(../components/icons/SVG/interface-menu.svg);
}
.navigation-bar.hidden:hover .section.open-navbar i {
    background-image: url(../components/icons/SVG/interface-menu-blue.svg);
}
.navigation-bar.hidden:hover .section.open-navbar .parent-menu {
    background-color: var(--color-system-gray-3);
}
.navigation-bar .section.contacts i.contacts {
    background-image: url(../components/icons/SVG/contacts.svg);
}
.navigation-bar .section.backoffice i.backoffice {
    background-image: url(../components/icons/SVG/backoffice.svg);
}
.navigation-bar .section.dashboard i {
    background-image: url(../components/icons/dashboard.svg);
}
.navigation-bar .section.workboard i {
    background-image: url(../components/icons/SVG/kanban.svg);
}
.navigation-bar .section.tasks i {
    background-image: url(../components/icons/task.svg);
    background-size: 36px;
}
.navigation-bar .section.notes i {
    background-image: url(../components/icons/notes.svg);
}
.navigation-bar .section.calendar i {
    background-image: url(../components/icons/calendar.svg);
}
.navigation-bar .section.tags i {
    background-image: url(../components/icons/SVG/tag.svg);
}
.navigation-bar .section.emails i {
    background-image: url(../components/icons/outlined-email.svg);
}
.navigation-bar .section.maps i {
    background-image: url(../components/icons/SVG/map.svg);
}
.navigation-bar .section.quickbooks i {
    background-image: url(../components/icons/quickbooks.svg);
}
.navigation-bar .section.settings i {
    background-image: url(../components/icons/outlined-setting.svg);
}
.navigation-bar a.help-center, .navigation-bar a.human-resources, .navigation-bar div.submit_feedback {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    color: var(--color-system-gray-2);
    text-decoration: none;
    font-weight: 600;
    width: calc(100% - 32px);
    margin: 0 16px;
    padding: 0px 12px;
    height: fit-content;
    border-radius: 12px;
    background-color: white;
}
.navigation-bar a.human-resources {
    background-color: transparent;
}
.navigation-bar .human-resources:hover {
    background-color: transparent;
}
.navigation-bar.hidden a.help-center,
.navigation-bar.hidden a.human-resources,
.navigation-bar.hidden div.submit_feedback {
    height: 32px;
    width: 32px;
}
.navigation-bar.hidden a.help-center button,
.navigation-bar.hidden a.human-resources button,
.navigation-bar.hidden div.submit_feedback button {
    margin-right: 0;
}
.navigation-bar.hidden span {
    display: none;
}
.navigation-bar button {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    background-position: center;
    background-size: cover;
}
.navigation-bar button.help-centre {
    background-image: url(../components/icons/question.svg);
}
.navigation-bar button.feedback {
    background-size: 18px;
}
.navigation-bar button.help-centre:hover,
.navigation-bar button.feedback:hover {
    background-color: var(--color-system-gray-4);
}
.navigation-bar button.human-resources {
    background-image: url(../components/icons/rainbow.svg);
    background-color: transparent;
}

.navigation-bar .section {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: calc(100% - 32px);
    margin: 0 16px;
    border-radius: 12px;
    background-color: var(--color-system-white);
    cursor: pointer;
}
.navigation-bar::-webkit-scrollbar {
    width: 2px;
    background-color: var(--color-system-gray-3);
}

.navigation-bar::-webkit-scrollbar-thumb {
    background-color: var(--color-system-gray-2);
}

.navigation-bar::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-accent-blue-light);
}

.navigation-bar.hidden .user {
    width: 80px;
    padding: 0;
    border: 0;
    margin: 10px auto;
    justify-content: center;
}

/************************** CONTENT CONTAINER **************************/
.navigation .content-container {
    position: relative;
    width: calc(100% - 90px);
    min-height: calc(100vh - 225px);
    margin-left: 80px;
    padding-top: 12px;
    padding-bottom: 36px;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.navigation .content-container > header {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    z-index: 2;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 12px;
}

.navigation .content-container > header > h2, .navigation .content-container > header > h3 {
    margin: 0;
    width: max-content;
}
.navigation .content-container > header .mobile-block {
    flex: auto 1 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navigation .content-container > header .mobile-block p {
    margin-right: auto;
}
@media screen and (max-width: 834px) {
    .navigation .content-container > header .mobile-block {
        flex-direction: column;
        align-items: start;
        justify-content: center;
        width: calc(100% - 32px);
    }
    .navigation .content-container > header .mobile-block section.left {
        width: 100%;
        display: flex;
    }
    .navigation .content-container > header .mobile-block section.left h3 {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.navigation .content-container > header > .left {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    min-width: fit-content;
}

.navigation .content-container > header > .right {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    width:100%
}

.navigation .content-container > header a {
    flex-shrink: 0;
}

.navigation .content-container > header a {
    height: 32px;
    width: 32px;
    font-size: 18px;
    line-height: 18px;
    padding: 7px 0;
    color: var(--color-system-gray-1);
    text-align: center;
    margin-right: 10px;
    border-radius: 8px;
    background-color: var(--color-system-gray-3);
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.navigation .content-container > header button.back {
    height: 32px;
    min-width: 32px;
    max-width: 32px;
    font-size: 18px;
    line-height: 18px;
    padding: 7px 0;
    color: var(--color-system-gray-1);
    text-align: center;
    margin-right: 10px;
    border-radius: 8px;
    background-color: var(--color-system-gray-3);
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
}

.navigation .content-container > header span {
  height: 32px;
  width: 32px;
  font-size: 18px;
  line-height: 18px;
  padding: 7px 0;
  color: var(--color-system-gray-1);
  text-align: center;
  margin: 0 4px;
  margin-left: 4px;
  border-radius: 8px;
  background-color: var(--color-system-gray-3);
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
}

.navigation .content-container > header > .right span:first-child {
    margin-inline-start: 0;
}

@media screen and (max-width: 834px) {
    .navigation .content-container > header span {
    height: 32px;
    width: 32px;
    font-size: 18px;
    line-height: 18px;
    padding: 7px 0;
    color: var(--color-system-gray-1);
    text-align: center;
    margin: 0 4px;
      margin-left: 4px;
    border-radius: 8px;
    background-color: var(--color-system-gray-3);
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    }
}

.navigation .content-container > header > section > a.menu, button.menu {
    background-size: 18px 12px;
    background-position:center;
    background-repeat: no-repeat;
    background-image: url(../components/icons/menu.svg);
}

.navigation .content-container > header > section > a.back, button.back {
  background-size: 18px 12px;
  background-position:center;
  background-repeat: no-repeat;
  background-image: url(../components/icons/menu/back.svg);
}

@media screen and (max-width: 834px) {
    .navigation .content-container > a.menu, button.menu {
        background-size: 14px 10px;
        background-position:center;
        background-repeat: no-repeat;
        background-image: url(../components/icons/menu-gray-1.svg);
    }
}


.navigation .content-container > header span.add {
    background-size: 16px 16px;
    background-position:center;
    background-repeat: no-repeat;
    background-image: url(../components/icons/plus.svg);
}

.navigation .content-container > header span.add:hover {
    background-color: var(--color-accent-cpa-blue);
    border-radius: 8px;
}

@media screen and (max-width: 834px) {
    .navigation .content-container > header span.add {
        background-position: center;
        background-repeat: no-repeat;
        background-size: 12px 12px;
        background-image: url(../components/icons/plus-gray-1.svg);
    }
}

.navigation .content-container > header > span:first-child,
.navigation .content-container > header .left span:first-child
.navigation .content-container > header > a .left span:first-child {
    margin: 0 16px 0 0 !important;
}
@media screen and (max-width: 834px) {
    .navigation .content-container > header > span:first-child,
    .navigation .content-container > header .left span:first-child
    .navigation .content-container > header > a .left span:first-child{
        margin: 0 8px 0 0 !important;
    }
}

.navigation .content-container > header > .left span:first-of-type {
    margin-left: 0;
}
.navigation .content-container > header > .left span:last-of-type {
    margin-right: 16px;
}

.navigation .content-container > header > .right span:last-of-type {
    margin-right: 0;
}

.navigation .content-container > section.options-menu {
    display: inline-flex;
}

.navigation .content-container.menu-open {
    margin-left: 246px;
    width: calc(100% - 379px);
}

.content-container img#error {
    width: 20%;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 25px;
    border-radius: 50%;
}

/********************* SEARCH ***********************/
.navigation .content-container section.search {
    height: 32px;
    position: relative;
    display: none;
}

.navigation .content-container section.search.active {
    height: fit-content;
    position: relative;
    display: unset;
    border-radius: 8px;
    background-color: var(--color-accent-cpa-blue);
}

.navigation .content-container section.search.active.result input + button {
    background-color: var(--color-system-white);
    border: 1px solid var(--color-accent-cpa-blue);
    border-bottom: none;
    border-left: none;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 0;
    background-image: url(../components/icons/search-blue.svg);
}

.navigation .content-container > section.search.active + button {
    display: none;
}

.navigation .content-container button.search {
    margin: 1px;;
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../components/icons/search.svg);
}

.navigation .content-container button.search.hidden {
    display: none;
}

.navigation .content-container button.search:hover {
    background-color: var(--color-accent-cpa-blue);
    border-radius: 8px;
}

.navigation .content-container > header label.with-submit {
    height: 32px;
    display: flex;
    margin-top: 0px;
}

.navigation .content-container > header form[name="search"] {
    display: inline-flex
}

.navigation .content-container > header form[name="search"] > input {
    width: 310px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    height:100%;
    margin-right: 0px;
    margin-top: 0px;
    margin-left: 0px;
    margin-bottom: 0px;
    line-height: 30px
}

@media screen and (max-width: 834px) {
    .navigation .content-container > header label.with-submit > form > input {
        width: 310px;
        padding: 0 16px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
        height:100%;
        margin-top: 0px;
        margin-bottom: 0px;
        margin-right:-10px;
    }
}

.navigation .content-container > header form > button {
    width: 32px;
    height: 32px;
    background-size: 18px 18px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--color-accent-cpa-blue);
    background-image: url(../components/icons/search-white.svg);
    position: relative;
}

/********************* DROPDOWN MENU ***********************/
.dropdown-icon {
    background-image: url(../components/icons/down.svg);
    width: 24px;
    height: 24px;
    background-size: contain;
    background-position: center;
    position: absolute;
    right: 8px;
    top: 12px;
    transform: rotate(0deg);
}

.has-dropdown.open .dropdown-icon {
    transform: rotate(180deg);
}

.has-dropdown.open .navbar-menu li {
    border-bottom: 1px solid var(--color-system-gray-3);
    background-color: white;
    border-radius: 0px;
}

.navbar-menu {
    max-height: 100%;
    margin-top: 8px;
    margin-bottom: 24px;
    display:none;
}
.navbar-menu.open {
    display:block;
}

.navbar-menu > li {
    margin-bottom: 2px;
    border-bottom: 1px solid var(--color-system-gray-2);
}
.navbar-menu > li:last-child {
    border-bottom: 0;
    margin-bottom: 0px
}

.navigation-bar .navbar-menu li a, .navbar-menu li span {
    font-size: 10px;
    line-height: 14px;
    text-decoration: none;
    padding: 8px 24px 8px;
    font-weight: 400;
    margin: 0;
    color: var(--color-system-gray-2);;
}

.navbar-menu li a:hover, .navbar-menu li span:hover {
    font-weight:600;
}

/********************* MENU ***********************/
.module-menu {
    display: none;
    position: absolute;
    max-height: fit-content;
    margin-top: 8px;
    margin-bottom: 24px;
    padding: 10px;
    background: white;
    border: var(--color-system-gray-1) 1px solid;
    border-radius: 0px 16px 16px 16px;
    box-shadow: 0px 4px 8px 0px rgb(79,79,130,0.1);
    height: fit-content;
    min-height: fit-content;
    top: 136px;
    left: 50px;
    z-index: 100;
}

.module-menu.open {
    display:block;
}

.module-menu > li {
    margin-bottom: 2px;
}
.module-menu > li:last-child {
    margin-bottom: 0px
}

.module-menu > li button {
    height: 25px;
    padding: 8px;
}

/************************** POP-UP CONTAINER **************************/
div.pop-up-container {
    background-color: rgba(20, 20, 20, 0.2);
    z-index: 999;
    position: fixed;
    top: 0;
    left: 82px;
    display: none;
    overflow: auto;
    width: 100vw;
    height: 100vh;
}
/* Modal Content */
.pop-up-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 50%;
    top: 15vh;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 16px;
}
/* Chrome, Safari, and also the Edge Browser and Firefox */
@media and (-webkit-min-device-pixel-ratio:0) {
    .pop-up-content { top:25vh; }
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:30%; opacity:1}
}

@keyframes animatetop {
  from {top:-300px; opacity:0}
  to {top:30%; opacity:1}
}

.navigation .page-container {
    position: relative;
    width: 90%;
    height: 100%;
    margin-left: 115px;
    padding-top: 14px;
    padding-bottom: 38px;
    z-index: 1;
}

.navigation > header.mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    padding: 0 16px;
    background-color: var(--color-system-white);
    z-index: 40;
}

.navigation > header.mobile > .logo  {
    width: 47px;
    height: 42px;
}

/* TABLES */
table {
    border-spacing: 0;
    -webkit-border-horizontal-spacing: 0;
    -webkit-border-vertical-spacing: 0;
    width: 100%;
}
table .left {
    text-align: left;
}
table .center {
    text-align: center;
    align-items: center;
}
table.scrollable {
    overflow-x: scroll;
}
table thead {
    height: 32px;
    border-radius: 6px;
    background-color: var(--color-system-light-blue);
    color: var(--color-accent-blue);
    text-align: left;
}
table thead tr {
    padding: 7px 0;
    height: 32px;
}
table thead th {
    font-size: 12px;
    line-height: 20px;
    width: fit-content;
    padding-right: 15px;
}
th.complete {
    width: 50px;
}
table thead th.checkbox,
table thead th.new {
    width: 50px;
}

table thead th.filter {
    width: 40px;
}
table thead th.filter button {
    background-image: url(../components/icons/SVG/filter.svg);
    background-size: 24px;
}

table thead th:first-of-type {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

table thead th:last-of-type {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

table.menu caption {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: left;
    padding-left: 5px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: var(--color-accent-cpa-blue);
}

table.menu tbody tr {
    max-height: 40px;
    justify-content: space-between;
    display: flex;
}

table.menu tbody tr td {
    padding: 8px 15px;
}

table td {
    padding: 10px 15px 10px 0px;
    border-bottom: 1px solid var(--color-system-gray-3);
}

table td.content span {
    border-radius: 15px;
    padding: 1px 5px;
}
table td.content span.pending {
    color: var(--color-system-gray-4);
    background-color: var(--color-accent-cpa-blue);
}
table td.content span.overdue {
    background-color: rgba(255, 0, 0, 0.5);
}
table td.content span.complete {
    color: var(--color-system-gray-4);
    background-color: var(--color-system-green);
}
table td.checkbox {
    width: 10px;
}
table tr:last-child td {
    border-bottom: none;
}
table tr.selected td {
    background-color: var(--color-system-light-blue);
}

td a.menu, td button.menu {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin: 0px 4px;
    border-radius: 5px;
    background-size: 14px;
    background-color: var(--color-system-gray-3);
    background-position:center;
    background-repeat: no-repeat;
    background-image: url(../components/icons/menu.svg);
}
td a.new, td button.new {
    display: inline-block;
    padding: 14px;
    margin: 0px 4px;
    border-radius: 10px;
    background-size: 18px;
    background-color: var(--color-system-gray-3);
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(../components/icons/plus.svg);
}

td.colour > span {
    display: block;
    width: 20px;
    height: 20px;
    background-size: fit;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
}
