/*#bb1839*/

:root {
    --primary-color: #252525;
    --secondary-color: #ffffff;
    --tertiary-color: #535353;
    --neutral-color: #bb1839;
    --sidebar-color: #252525;
    --success-color: #2dc735;
    --warning-color: #f1b91e;
    --danger-color: #f7495d;
    --light-gray-color: #f3f3f3;
    --default-color: #e4dcdd;
    --disabled-color: #747474;
    --background-color: #e2e4e8;
    --table-row-even-color: #e4e4e4;
    --table-row-odd-color: #f3f3f3;
    --table-row-separator: #ebf2f3;
    --table-header: #c0adb1;

    --focus-color: #a8495c;

    --success-color2: #2767dd;
    --danger-color2: #f71bc7;

    --nav-item-default-color: #ffffff;
    --nav-item-hover-color: #ffffff;
    --nav-item-transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}

body {
    background-color: var(--background-color);
    color: var(--primary-color)!important;
    font-family: sans-serif;
    padding: 0px;
    margin: 0px;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    max-width: 100dvw;
    overflow-x: hidden;
    font-size: 15px;
}

:focus-visible {
    outline: 1px solid var(--focus-color);
    outline-offset: 0px;
}

:disabled {
    color: var(--disabled-color);
}

main {
    display: flex;
    flex-direction: row;
    flex: 1;
    max-width: 100%;
    width: 100%;
}

.w-0 {
    width: 0px;
}

a {
    text-decoration: none;
    color:inherit;
    cursor: pointer;
}

h1 {
    color: inherit;
}

table {
    border-collapse: separate;
    border-radius: 8px;
    border-spacing: 0px;
}

td {
    background-color: var(--secondary-color);
}

tr:not(:last-child) > td {
    border-bottom: 1px solid var(--table-row-separator);
}

.table-zebra tr:nth-child(odd) {
    background-color: var(--table-row-odd-color);
}

.table-zebra tr:nth-child(even) {
    background-color: var(--table-row-even-color);
}

td, th {
    padding-left: 16px;
    padding-right: 16px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin: 0px;
    text-wrap: nowrap;
}

th {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: left;
}

tfoot td {
    background-color: var(--primary-color)!important;
    color: var(--secondary-color);
    text-align: left;
}

/*
canvas {
    min-height: 250px;
}
*/

.dashboard canvas {
    min-height: 300px;
    max-height: 300px;
    /*max-width: 600px;*/
}

.bg-primary {
    background-color: var(--primary-color);
}

.bg-secondary {
    background-color: var(--secondary-color);
}

.bg-tertiary {
    background-color: var(--tertiary-color);
}

.bg-neutral {
    background-color: var(--neutral-color);
}

.bg-background {
    background-color: var(--background-color);
}

.bg-default {
    background-color: var(--default-color);
}

.bg-light-gray {
    background-color: var(--light-gray-color);
}

.bg-transparent {
    background-color: var(--transparent-color);
}

.form {
    padding-top: 4px;
    padding-bottom: 4px;
}

.form button {
    margin-top: 4px;
    margin-bottom: 4px;
}

.form-group {
    display: inline;
}

.form-group-calculate {
    width: calc(100% - 19px);
}

.form-m {
    max-width: 325px;
}

label {
    font-size: 14px;
}

input {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 10px;
    padding: 10px;
    margin-top: 4px;
    margin-bottom: 4px;
    box-sizing: border-box;
    margin-left: 2px;
    margin-right: 2px;
}

select {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 10px;
    padding: 10px;
    margin-top: 4px;
    margin-bottom: 4px;
    box-sizing: border-box;
}

button {
   border: 1px solid transparent;
   border-collapse: collapse;
   cursor: default;
   font-size: inherit;
}

button:hover {
    cursor: pointer;
}

.button {
    border: 1px solid transparent;
    padding: 8px; 
    margin-left: 2px;
    margin-right: 2px;
    border-radius: 8px;
    cursor: default;
    background-color: var(--neutral-color);
    color: var(--secondary-color);
    border-collapse: collapse;
}

.button:hover {
    cursor: pointer;
}

.button-warning {
    background-color: var(--warning-color);
    color: var(--secondary-color);
}

.button-danger {
    background-color: var(--danger-color);
    color: var(--secondary-color);
}

.button-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.button-neutral {
    background-color: var(--neutral-color);
    color: var(--secondary-color);
}

.button-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.button-default {
    background-color: var(--default-color);
    color: var(--primary-color);
}

.button-success {
    background-color: var(--success-color);
    color: var(--secondary-color);
}

.button-transparent {
    background-color: transparent;
    color: var(--primary-color);
}

.button-border-primary {
    border: 1px solid var(--primary-color);
}

.border-radius-0 {
    border-radius: 0px;
}

.border-radius-m {
    border-radius: 4px;
}

.border-radius-l {
    border-radius: 8px;
}

.border-radius-xl {
    border-radius: 16px;
}

.border-radius-50 {
    border-radius: 50%;
}

.nav {
    display: flex;
    flex-direction: column;
}

.nav-item-bar {
    width: 6px;
}

.nav-item {
    height: 34px;
    color: var(--nav-item-default-color);
}

.nav-item:hover {
    color: var(--nav-item-hover-color);
}

.nav-item-icon {
    width: 15px;
    margin-left: 16px;
    margin-right: 8px;
    transition: margin-left 0.2s;
    transition-timing-function: var(--nav-item-transition);
}

.nav-item:hover .nav-item-icon {
    margin-left: 24px;
    transition: margin-left 0.2s;
    transition-timing-function: var(--nav-item-transition);
}

.nav-item-active {
    background: #BB1839;
    background: linear-gradient(90deg,rgba(187, 24, 57, 0.4) 0%, rgba(187, 24, 57, 0.2) 50%, rgba(187, 24, 57, 0) 100%);
}

.sidebar {
    height: fit-content;
    position: sticky;
    top: 0;
}

.sidebar-firm-switch {
    cursor: pointer;
}

.sidebar-title {
    font-size: 24px;
    font-weight: 0;
    display: grid;
    text-wrap-mode: nowrap;
}

.sidebar-button {
    width: 52px;
    margin: 4px;
    height: 52px;
    visibility: hidden;
    position:sticky;
    top: calc(2rem + 4px);
}

.sidebar-container {
    width: 250px;
    transition: width 0.5s;
    transition-timing-function: var(--nav-item-transition);
    scrollbar-color: var(--secondary-color) transparent;
}

.container {
    padding: 2rem;
    padding-top: 8px;
    padding-bottom: 8px;
    box-sizing: border-box;
}

.icon-width {
    width: 22px!important;
    margin-right: 4px;
    box-sizing: border-box;
}

.icon-margin {
    margin: 4px;
}

.text-overflow-ellipsis {
    text-overflow: ellipsis;
}

.text-nowrap {
    text-wrap: nowrap;
}

.text-wrap {
    text-wrap: wrap;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.vertical-align-middle {
    vertical-align: middle;
}

.vertical-align-baseline {
    vertical-align: baseline;
}

.text-secondary {
    color: var(--secondary-color);
}

.text-disabled {
    color: var(--disabled-color);
}

.text-tertiary {
    color: var(--tertiary-color);
}

.text-neutral {
    color: var(--neutral-color);
}

.text-success {
    color: var(--success-color)!important;
}

.text-warning {
    color: var(--warning-color)!important;
}

.text-danger {
    color: var(--danger-color)!important;
}

.text-success2 {
    color: var(--success-color2)!important;
}

.text-danger2 {
    color: var(--danger-color2)!important;
}

.content {
    flex: 1;
    overflow: hidden;
}

.grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.grid-box {
    padding: 5px;
    box-sizing: border-box;
}

.grid-box > :first-child {
    border-radius: 10px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-sizing: border-box;
    height: 100%;
    width: 100%;
}

.grid-box-primary > :first-child {
    border-radius: 10px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    box-sizing: border-box;
    height: 100%;
    width: 100%;
}

.grid-border > :first-child {
    border: 1px var(--default-color) solid;
    box-shadow: 3px 3px 2px #AAAAAA;
}

.grid-box input, .grid-box select {
    border: 1px var(--default-color) solid;
}

.grid-box-primary input, .grid-box-primary select {
    border: 1px var(--secondary-color) solid;
}

.grid-box-secondary input, .grid-box-secondary select {
    border: 1px var(--default-color) solid;
}

.border-primary {
    border: 1px var(--primary-color) solid;
}

.border-secondary {
    border: 1px var(--secondary-color) solid;
}

.border-default {
    border: 1px var(--default-color) solid;
}

.flex-center {
    display: flex;
    justify-content: center;
}

.card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1500px;
}

.card {
    width: 100%;
    max-width: 350px;
    height: auto;
    text-align: center;
    padding: 10px;
    margin: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-footer {
    display: flex;
    flex-direction: row;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.card-tertiary {
    background-color: var(--tertiary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 15px;
    color: var(--secondary-color);
}

.card-secondary {
    background-color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 15px;
    color: var(--primary-color);
}

.card-active {
    border: 1px solid var(--success-color);
}

.card h2 {
    font-size: 20px;
    margin: 8px
}

.border-box {
    box-sizing: border-box;
}

.content-box {
    box-sizing: content-box;
}

.overflow-hidden {
    overflow: hidden;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.overflow-y-hidden {
    overflow-y: hidden;
}

.overflow-initial {
    overflow: initial;
}

.overflow-clip {
    overflow: clip;
}

.overflow-auto {
    overflow: auto;
}

.overflow-x-auto {
    overflow-x: auto;
}

.overflow-y-auto {
    overflow-y: auto;
}

.flex {
    display: flex;
}

.flex-wrap {
    flex-wrap: wrap;
}

.wrap {
    flex-wrap: wrap;
}

.no-wrap {
    flex-wrap: nowrap;
}

.justify-content-center {
    justify-content: center;
}

.justify-content-end {
    justify-content: end;
}

.justify-content-between {
    justify-content: space-between;
}

.flex-row {
    flex-direction: row;
}

.flex-column {
    flex-direction: column;
}

.flex-row-reverse {
    flex-direction: row-reverse;
}

.flex-column-reverse {
    flex-direction: column-reverse;
}

.flex-1 {
    flex: 1;
}

.align-items-center {
    align-items: center;
}

.align-items-start {
    align-items: start;
}

.login-form-container {
    max-height: fit-content;
    width:fit-content;
}

.login-form {
    width: 500px;
    max-height: fit-content;
}

.card-icon {
    font-size: 24px;
    margin: 8px;
    height: fit-content;
}

.relative {
    position: relative;
}

hr {
    border: 1px solid var(--secondary-color);
}

.hr-small {
    width: 20px;
}

.hr-primary {
    border-color: var(--primary-color);
}

.hr-success {
    border-color: var(--success-color);
}

.min-w-0 {
    min-width: 0px!important;
}

.max-w-0 {
    max-width: 0px!important;
}

.w-100 {
    width: 100%!important;
}

.h-100 {
    height: 100%!important;
}

.w-50 {
    width: 50%;
}

.h-50 {
    height: 50%;
}

.w-0 {
    width: 0%;
}

.h-0 {
    height: 0%;
}

.ms {
    margin: 4px;
}

.ms-x {
    margin-left: 4px;
    margin-right: 4px;
}

.ms-y {
    margin-top: 4px;
    margin-bottom: 4px;
}

.mm {
    margin: 8px;
}

.mm-x {
    margin-left: 8px;
    margin-right: 8px;
}

.mm-y {
    margin-top: 8px;
    margin-bottom: 8px;
}

.ml {
    margin: 16px;
}

.ml-x {
    margin-left: 16px;
    margin-right: 16px;
}

.ml-y {
    margin-top: 16px;
    margin-bottom: 16px;
}

.mxs-x {
    margin-left: 2px;
    margin-right: 2px;
}

.mxs-y {
    margin-top: 2px;
    margin-bottom: 2px;
}

.pxs {
    padding: 1px;
}

.pxs-x {
    padding-left: 1px;
    padding-right: 1px;
}

.pxs-y {
    padding-top: 1px;
    padding-bottom: 1px;
}

.ps {
    padding: 2px;
}

.ps-x {
    padding-left: 2px;
    padding-right: 2px;
}

.ps-y {
    padding-top: 2px;
    padding-bottom: 2px;
}

.pm-x {
    padding-left: 4px;
    padding-right: 4px;
}

.pm-y {
    padding-top: 4px;
    padding-bottom: 4px;
}

.pm {
    padding: 8px;
}

.pm-x {
    padding-left: 8px;
    padding-right: 8px;
}

.pm-y {
    padding-top: 8px;
    padding-bottom: 8px;
}

.pl {
    padding: 16px;
}

.pl-x {
    padding-left: 16px;
    padding-right: 16px;
}

.pl-y {
    padding-top: 16px;
    padding-bottom: 16px;
}

.p-0 {
    padding: 0px;
}

.p-0-x {
    padding-left: 0px;
    padding-right: 0px;
}

.p-0-y {
    padding-top: 0px;
    padding-bottom: 0px;
}

.p-0-l {
    padding-left: 0px;
}

.p-0-r {
    padding-right: 0px;
}

.p-0-t {
    padding-top: 0px;
}

.p-0-b {
    padding-bottom: 0px;
}

.m-0-x {
    margin-left: 0px;
    margin-right: 0px;
}

.m-0-y {
    margin-top: 0px;
    margin-bottom: 0px;
}

.m-0-l {
    margin-left: 0px;
}

.m-0-r {
    margin-right: 0px;
}

.m-0-t {
    margin-top: 0px;
}

.m-0-b {
    margin-bottom: 0px;
}

.m-0 {
    margin: 0px;
}

.pager ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0px;
    margin: 4px;
    flex-wrap: wrap;
}

.pager li a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 14px;
    background-color: var(--neutral-color);
    color: var(--secondary-color)!important;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 8px;
    text-align: center;
    width: 40px;
    height: 40px;
    box-sizing: border-box;
}

.pager .active a {
    background-color: var(--primary-color);
}

.sg6 {
    width: 100%;
}

.sg3 {
    width: 50%;
}

.sg2 {
    width: 33.33%;
}

.hidden {
    visibility: hidden;
}

.visible {
    visibility: visible;
}

.aspect-1 {
    aspect-ratio: 1/1;
}

.fs-small {
    font-size: small;
}

.fw-lighter {
    font-weight: lighter;
}

.fw-normal {
    font-weight: normal;
}

.fw-bold {
    font-weight: bold;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-help {
    cursor: help;
}

.firm-name {
    font-size: 16px;
}

.firm-country {
    font-size: 12px;
    font-weight: lighter;
}

.italic {
    font-style: italic;
}

.hover-text-neutral:hover {
    color: var(--neutral-color)!important;
}

.hover-text-secondary:hover {
    color: var(--secondary-color)!important;
}

.hover-bg-neutral:hover {
    background-color: var(--neutral-color)!important;
}

.hover-filter-img-invert:hover img {
    filter:invert(1) contrast(2);
}

.gap-s {
    gap: 4px;
}

.gap-m {
    gap: 8px;
}

.display-none {
    display: none;
}

input[type='number'].hide-spinners::-webkit-outer-spin-button,
input[type='number'].hide-spinners::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calendar-cell {
    width: 14.28571429%;
}

@media screen and (min-width: 1000px){
    .lg1 {
        width: 16.66%;
    }
    
    .lg2 {
        width: 33.33%;
    }
    
    .lg3 {
        width: 50%;
    }

    .lg4 {
        width: 66.66%;
    }

    .lg5 {
        width: 83.33%;
    }

    .lg6 {
        width: 100%;
    }

    .lg-hide {
        display: none;
    }

    .lg-block {
        display: block;
    }
}

@media screen and (max-width: 999px){
    .ms-sidebar-hide {
        width: 0px!important;
    }

    .ms-hide {
        display: none;
    }
}

@media screen and (max-width: 750px){
    .container {
        min-width: 100vw;
    }
}

@media screen and (max-width: 1000px){
    .calendar-cell {
        width: 100%;
    }
}

.noscript {
    position: fixed;
    top: 0;
    left: 0;
    width: 100dvw;
    height: 100dvh;
    background-color: var(--background-color);
    z-index: 999999;
}

body:has(.noscript div) {
    overflow: hidden;
}
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  right: 0; bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 20px;
}
.slider:before {
  position: absolute;
  content: "";
  height: 16px; width: 16px;
  left: 2px; bottom: 2px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}
input:checked { 
    background-color: var(--neutral-color);
    color:black;
}
input:checked + .slider:before {
    background-color: var(--neutral-color);
  transform: translateX(20px);
}