/*
    NAVIGATING THIS PAGE QUICKLY

    Ctrl + F on "!!!!" for the main seperators
    Remove exclamation marks for more details

    "!!!!" = main seperators
    "!!!"  = main separators + sections
    "!!"   = main seperators + sections + subsections


    
    USING VISUAL STUDIO CODE

    Code regions (sections) and markers are defined
    such as below this comment block. These can be
    collapsed for better project navigatibility.

    In the VSCode Minimap (bar of mini-code to the right
    of the editor) the marker-texts are visible.

*/

/*#region MARK: Base Stuff */

:root {

    --2px: 0.125rem;
    --4px: 0.25rem;
    --6px: 0.375rem;
    --8px: 0.5rem;
    --10px: 0.625rem;
    --12px: 0.75rem;
    --14px: 0.875rem;
    --16px: 1rem;
    --18px: 1.125rem;
    --20px: 1.25rem;
    --22px: 1.375rem;
    --24px: 1.5rem;
    --30px: 1.875rem;
    --36px: 2.25rem;

    --grey-000: #FFFFFF; /* Pure white */
    --grey-050: #EAEAEA;
    --grey-100: #D6D6D6;
    --grey-150: #BFBFBF;
    --grey-200: #AAAAAA;
    --grey-250: #969696;
    --grey-300: #808080;
    --grey-350: #686868;
    --grey-400: #545454;
    --grey-450: #3D3D3D;
    --grey-500: #282828;
    --grey-550: #141414;
    --grey-600: #000000; /* Pure black, use 550 instead*/

    --font-size-text: var(--14px);
    --font-size-text-small: var(--12px);

    --animation-duration-fast: 50ms;
    --animation-duration: 0.3s;

    color-scheme: light;
}

/* Define env colors */
body {
    --primary-color-100: #39A7F5;
    --primary-color-200: #1983CE;
    --primary-color-300: #0261A8;
    --primary-color-400: #00427B;
    --primary-color-500: #00274D;

    padding-top: 0px;
    /* We want red border on UAT to be full height */
    min-height: 100vh;
    font-size: var(--12px);
}
body.topwind-asset-mgmt {
    --primary-color-100: #FF625C;
    --primary-color-200: #E4423D;
    --primary-color-300: #C32B25;
    --primary-color-400: #9B1915;
    --primary-color-500: #76100D;
}
body.topwind-systems {
    --primary-color-100: #FFC36F;
    --primary-color-200: #FFA333;
    --primary-color-300: #E58314;
    --primary-color-400: #BD6100;
    --primary-color-500: #944500;
}
body.topwind-enius {
    --primary-color-100: #5DEAE3;
    --primary-color-200: #3AC4BD;
    --primary-color-300: #20A09A;
    --primary-color-400: #0B7772;
    --primary-color-500: #00514D;
}
body.agro-battery {
    --primary-color-100: #A1E3A2;
    --primary-color-200: #87D77C;
    --primary-color-300: #67B65D;
    --primary-color-400: #4D9443;
    --primary-color-500: #285523;
    
    --font: "Public Sans", sans-serif;
}

body {
    --bg-color: light-dark(var(--grey-050), var(--grey-550));
    --text-color: light-dark(var(--grey-500), var(--grey-000));
    --switch-shadow: 0px 0px var(--10px) var(--4px) rgba(0, 0, 0, 0.1) inset;
    --transition: all 0.3s cubic-bezier(0.76, 0, 0.24, 1);
    --text-transition-timing-function: ease;

    --p-btn-color-1: light-dark(var(--primary-color-300), var(--primary-color-200));
    --p-btn-color-2: light-dark(var(--primary-color-400), var(--primary-color-300));
    --primary-button-background-image: linear-gradient(var(--p-btn-color-1) 0%, var(--p-btn-color-2) 100%);

    --p-btn-color-1-h: light-dark(var(--primary-color-400), var(--primary-color-300));
    --p-btn-color-2-h: light-dark(var(--primary-color-500), var(--primary-color-400));
    --primary-button-background-image-hover: linear-gradient(var(--p-btn-color-1-h) 0%, var(--p-btn-color-2-h) 100%);
}

/* Necessary for light/dark mode */
html, body {
    transition: background-color var(--animation-duration) var(--text-transition-timing-function), color var(--animation-duration) var(--text-transition-timing-function);
}
.light {
    color-scheme: light;
}
.dark {
    color-scheme: dark;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font);
    font-weight: 700;
    color: light-dark(var(--grey-550), var(--grey-000));
    transition: color var(--animation-duration) var(--text-transition-timing-function);
}

p, a, span, label, input, button, li, td, th, select, option, textarea, strong{
    font-family: var(--font);
    font-weight: 500;
    transition: color var(--animation-duration) var(--text-transition-timing-function);
}

strong {
    font-weight: 600;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
}

a {
    color: light-dark(var(--primary-color-500), var(--primary-color-100));
}
a:hover,
a:focus {
    color: light-dark(var(--primary-color-300), var(--primary-color-300));
}

/*#endregion*/



/* ------------------------------------------------------------ */
/*                                                              */
/*                        !!!! BUTTONS                          */
/*                                                              */
/* ------------------------------------------------------------ */
/*#region MARK: Buttons */


/* !! Default button */
.btn {
    border-width: 1px;
}

.btn-default {
    color: light-dark(var(--grey-550), var(--grey-050));
    background-color: light-dark(var(--grey-100), var(--grey-550));
    border-color: light-dark(var(--grey-250), var(--grey-050));
}
.btn-default:focus,
.btn-default.focus {
  color: light-dark(var(--grey-550), var(--grey-050));
  background-color: light-dark(var(--grey-100), var(--grey-550));
  border-color: light-dark(var(--grey-200), var(--grey-000));
}
.btn-default:hover,
.btn-default:active,
.btn-default.active,
.open > .dropdown-toggle.btn-default {
    color: light-dark(var(--grey-550), var(--grey-050));
    background-color: light-dark(var(--grey-150), var(--grey-500));
    border-color: light-dark(var(--grey-200), var(--grey-000));
}

.btn-default:active:hover,
.btn-default.active:hover,
.open > .dropdown-toggle.btn-default:hover,
.btn-default:active:focus,
.btn-default.active:focus,
.open > .dropdown-toggle.btn-default:focus,
.btn-default:active.focus,
.btn-default.active.focus,
.open > .dropdown-toggle.btn-default.focus {
    color: light-dark(var(--grey-550), var(--grey-050));
    background-color: light-dark(var(--grey-200), var(--grey-450));
    border-color: light-dark(var(--grey-200), var(--grey-000));
}

.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus {
    color: light-dark(var(--grey-450), var(--grey-150));
    background-color: light-dark(var(--grey-350), var(--grey-250));
    border-color: light-dark(var(--grey-450), var(--grey-150));
}

.btn-default .badge {
    color: var(--grey-350);
    background-color: var(--grey-050);
}

/* !! Primary button */
.btn-primary {
    color: var(--grey-000);
    border-width: 0px !important;
    background-color: transparent;
    background-image: var(--primary-button-background-image);
    box-shadow: inset 0 var(--2px) 0 0 hsla(0, 0%, 100%, .2), 
                inset 0 -1px 0 0 rgba(0, 0, 0, .25), 
                0 var(--2px) var(--6px) 0 rgba(0, 0, 0, .1);
    border-color: transparent;
}

.btn-primary:focus,
.btn-primary.focus,
.btn-primary:hover,
.btn-primary:active,
.btn-primary.active,
.open > .dropdown-toggle.btn-primary,
.btn-primary:active:hover,
.btn-primary.active:hover,
.open > .dropdown-toggle.btn-primary:hover,
.btn-primary:active:focus,
.btn-primary.active:focus,
.open > .dropdown-toggle.btn-primary:focus,
.btn-primary:active.focus,
.btn-primary.active.focus,
.open > .dropdown-toggle.btn-primary.focus {
    color: var(--grey-000);
    border-width: 0px !important;
    background-color: transparent;
    background-image: var(--primary-button-background-image-hover);
    box-shadow: inset 0 var(--2px) 0 0 hsla(0, 0%, 100%, .2), 
                inset 0 -1px 0 0 rgba(0, 0, 0, .25), 
                0 var(--2px) var(--6px) 0 rgba(0, 0, 0, .1);
    border-color: transparent;
}

.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus {
    box-shadow: none;
    background-image: var(--primary-button-background-image);
}

.column-filter-trigger {
    color: light-dark(var(--grey-550), var(--grey-050));
}
.column-filter-trigger:hover, .column-filter-trigger:active, .column-filter-trigger:focus {
    color: light-dark(var(--primary-color-300), var(--primary-color-300));
}

/* ------------------------------------------------------------ */
/*                                                              */
/*                        GENERAL LAYOUT                        */
/*                                                              */
/* ------------------------------------------------------------ */

.sidebar-desktop-active .sidebar-owner {
    padding-left: 17.5rem;
}
.page-header {
    border-color: light-dark(var(--grey-100), var(--grey-400));
}

.inner-container {
    background-color: light-dark(var(--grey-050), var(--grey-500));
    border-radius: var(--16px);
    padding: var(--24px);
    display: flex;
    gap: var(--20px);
    height: 100%;
}

.sidebar-outer {
    overflow-y: auto;
    padding-right: 20px;
}

/* ------------------------------------------------------------ */
/*                                                              */
/*                        BREADCRUMB                            */
/*                                                              */
/* ------------------------------------------------------------ */

.breadcrumb > li + li:before {
    content: ">";
    color: light-dark(var(--grey-550), var(--grey-000));
}
.breadcrumb {
    padding-left: 0;
    background-color: light-dark(var(--grey-050), var(--grey-550));
}
.breadcrumb a {
    color: light-dark(var(--grey-550), var(--grey-000));
    font-weight: 600;
}
.breadcrumb a:hover {
    color: light-dark(var(--primary-color-300), var(--primary-color-300));
}
.breadcrumb .dropdown-menu {
    background-color: light-dark(var(--grey-050), var(--grey-500));
}
.breadcrumb .dropdown-menu > li > a { 
    color: light-dark(var(--grey-550), var(--grey-000));
}
.breadcrumb .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
    color: light-dark(var(--grey-000),var(--grey-000));
    background-color: light-dark(var(--primary-color-300),var(--primary-color-300));
    transition: all var(--animation-duration) var(--text-transition-timing-function);
}

/* ------------------------------------------------------------ */
/*                                                              */
/*                        NAVIGATION BAR                        */
/*                                                              */
/* ------------------------------------------------------------ */


.sidebar {
    top: 0;
    width: 17.5rem;
    padding: var(--10px);
    height: 100%;
    background-color: light-dark(var(--grey-500), var(--grey-500));
    border: none;
    overflow-y: hidden;
}
.sidebar > .content {
    display: flex;
    flex-direction: column;
    height: 100%;
}
body.sidebar-desktop-active .sidebar > .content > .nav.navbar-nav:not(.user-menu) {
    overflow-y: auto;
}

.sidebar > .content > .navbar-brand .nav.navbar-nav:first-of-type {
    margin-top: 0;
}

.navbar {
    margin-bottom: 0px;
}

.navbar-brand {
    padding: var(--10px);
}
.navbar-brand-container {
    color: light-dark(var(--grey-000), var(--grey-000));
}
.nav.nav-align-bottom {
    margin: auto 0px 0px;
    padding: var(--10px) 0;
}
.nav.nav-align-bottom + .nav.nav-align-bottom {
    margin-top: var(--10px);
}
.nav > li {
    float: none;
}
.nav > li:not(:last-child) {
    margin-bottom: var(--4px);
}
.sidebar > .content > .navbar-nav > li > a,
.sidebar > .content > .navbar-nav:not(.user-menu) > li.dropdown > ul > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--14px);
    border-radius: var(--10px);
    transition: background-color var(--animation-duration) var(--text-transition-timing-function), border-radius 0.1s ease 0.2s;
}
.sidebar > .content > .navbar-nav > li.open > a {
    background: light-dark(var(--grey-450), var(--grey-450));
    transition: background-color var(--animation-duration) var(--text-transition-timing-function);
}
.sidebar > .content > .navbar-nav > li > a .caret,
#multiple-products > .dropdown > .dropdown-toggle .caret {
    transition: transform var(--animation-duration) var(--text-transition-timing-function);
}
.sidebar > .content > .navbar-nav > li.open > a .caret,
#multiple-products > .dropdown.open > .dropdown-toggle .caret {
    transform: rotate(180deg);
    transition: transform var(--animation-duration) var(--text-transition-timing-function);
}

.sidebar #nav-version-text,
.navbar #nav-version-text {
    font-size: var(--12px);
    line-height: var(--12px);
    color: var(--grey-250);
    font-weight: 700;
    font-family: var(--font);
}
.sidebar #logo-big,
.sidebar #logo-small {
    width: auto;
    height: 2.0625rem;
}
.sidebar #logo-text {
    width: 9.375rem;
    height: auto;
}

.navbar #logo-big {
    width: auto;
    height: 1.125rem;
}
/* body.sidebar-desktop-active .navbar #logo-big {
    height: 1.75rem;
} */
.navbar #logo-text {
    width: 9.375rem;
    height: auto;
}

.nav a, .nav a span {
    color: var(--grey-000);
    font-size: var(--font-size-text);
    font-weight: 600;
}
.nav .nav-group-item {
    display: flex;
    gap: var(--10px);
}
.nav a i {
    font-size: var(--20px);
    color: var(--grey-150);
}
.nav .dropdown > a > .nav-group-item > i,
.nav .dropdown > a > .nav-group-item > i {
    transition: color var(--animation-duration) var(--text-transition-timing-function);
}
.nav .dropdown > a:hover > .nav-group-item > i,
.nav .dropdown.open > a > .nav-group-item > i,
.nav > li > a:hover > .nav-group-item > i,
.nav > li > a.current > .nav-group-item > i {
    color: var(--primary-color-300);
    transition: color var(--animation-duration) var(--text-transition-timing-function);
}
.nav .dropdown-menu > li > a {    
    color: var(--grey-050);
    font-size: var(--font-size-text);
    font-weight: 600;
    background-color: transparent;
}

.nav .dropdown-menu:not(#products) >li >a {
    padding: 0;
}
.nav:not(.user-menu) .dropdown-menu:not(#products) > li {
    margin-top: var(--4px);
    margin-left: var(--30px);
    position: relative;
}
.nav:not(.user-menu) .dropdown-menu:not(#products) > li > a::before {
    content: '◟';
    position: absolute;
    top: calc( -1 * var(--20px));
    left: calc( -1 * var(--14px));
    font-size: 2.6875rem;
    color: var(--grey-400);
}
.nav:not(.user-menu) .dropdown-menu:not(#products) > li:not(:first-child) > a::after {
    content: '';
    position: absolute;
    top: -2.5rem;
    left: -0.6875rem;
    width: 0.1875rem;
    height: 3.25rem;
    background-color: var(--grey-400);
}

.nav .dropdown-menu#products > li > a:hover,
.nav .dropdown-menu#products > li > a:focus {
    background-color: var(--primary-color-300);
}

.nav .dropdown-menu > li > a > .nav-group-item > i {
    display: none;
}
.nav .open > a {
    border-radius: var(--10px);
}
.nav > li > a:hover, 
.nav .open > a, 
.nav .open > a:hover, 
.nav .open > a:focus,
.nav .open .dropdown-menu li:hover,
.nav .open .dropdown-menu li:focus {
    background-color: light-dark(var(--grey-450), var(--grey-450));
}
.sidebar > .content > .navbar-nav > li > a:hover,
.sidebar > .content > .navbar-nav > li > a.current {
    background: light-dark(var(--grey-450), var(--grey-450));
}
/* .nav .open > a,
.nav .open > a:hover,
.nav .open > a:focus {
    border-radius: var(--10px) var(--10px) 0 0 !important;
} */
.nav .dropdown-menu {
    position: static;
    float: none;
    border: unset;
    background: light-dark(var(--grey-500), var(--grey-500));
    box-shadow: none;
    transition: background-color var(--animation-duration) var(--text-transition-timing-function);
}

.nav .dropdown-menu#products {
    background: light-dark(var(--grey-450), var(--grey-450));
}

#navbar {
    display: none;
}
.nav {
    width: 100%;
}

.navbar-brand.hover-menu {
    border-radius: var(--10px);    
    transition: background-color var(--animation-duration) var(--text-transition-timing-function);
}
.navbar-brand.hover-menu.open {
    border-radius: var(--10px) var(--10px) 0 0;
}
.navbar-brand.hover-menu:hover, .navbar-brand.hover-menu.open {
    background: var(--grey-450);
    transition: background-color var(--animation-duration) var(--text-transition-timing-function);
}
.navbar-brand.hover-menu.open .dropdown-menu {
    border-radius: 0 0 var(--10px) var(--10px);
}
body:not(.sidebar-desktop-active) .navbar-brand.hover-menu:hover {
    background: transparent;
}
.navbar-brand-container {
    flex-direction: column;
}
.navbar-brand-container > span > strong > span#multiple-products {
    font-weight: 600;
}
.navbar-brand-container > span:nth-of-type(1) {
    padding-top: var(--10px);
}
.nav#multiple-products > li > a:hover, 
.nav#multiple-products .open > a, 
.nav#multiple-products .open > a:hover, 
.nav#multiple-products .open > a:focus {
    background: transparent;
}
.toggle-sidebar {
    position: fixed;
    top: 7.25rem;
    left: 4.5rem;
    margin: 0;
    background: var(--primary-color-300);
    border-radius: 100%;
    width: var(--24px);
    height: var(--24px);
    min-width: var(--24px);
    font-size: var(--10px);
    z-index: 100;
    transition: left var(--animation-duration) ease-out;
}
.sidebar-desktop-active .toggle-sidebar {
    left: 16.75rem;
    transition: left var(--animation-duration) ease-out;
}
.toggle-sidebar .icon-toggle-sidebar {
    color: #fff;
}

.duty-container .checkbox-slider--b-flat>label>input:enabled+span {
    color: var(--grey-100);
    text-decoration: none;
    font-size: var(--font-size-text);
    font-weight: 600;
}
.duty-container .checkbox:not(:first-of-type) {
    margin-top: var(--12px);
}
.duty-container .checkbox-slider-sm input + span:before {
    width: 2.75rem;
    background: var(--grey-400);
}
.duty-container .checkbox-slider-warning.checkbox-slider--b-flat input:checked + span:before {
    background: var(--primary-color-300);
}
.duty-container .checkbox-slider-sm input + span:after {
    width: var(--20px);
    height: var(--20px);
    top: calc(-1 * var(--6px));
    left: 0;
    background: var(--grey-100);
}
.duty-container .checkbox-slider-sm input:checked + span:after {
    margin-left: var(--24px);
    background-clip: unset;
}
.duty-container .checkbox-slider-sm input + span {
    padding-left: 2rem;
}
.operators-info {
    margin-top: var(--10px);
    font-size: var(--font-size-text);
    color: var(--grey-100);
}
.operators-info, .operators-info a {
    font-weight: 500;
    color: var(--grey-100);
}
.operators-info span {    
    font-weight: 600;
}

.user-menu {
    width: auto;
    margin: var(--10px);
    border-top: solid 1px var(--grey-400);
}
.sidebar > .content > .user-menu > li > a {
    padding-top: var(--8px);
    padding-bottom: var(--8px);
}

body:not(.sidebar-desktop-active) .sidebar {
    /* left: -204px; */
    /* left: -217px; */
    left: 0;
    width: 4rem;
    margin: var(--20px);
    border-radius: var(--16px);
    height: calc(100% - 2.5rem);
}
body:not(.sidebar-desktop-active) .nav.navbar-nav > li > a > .nav-group-item span {
    display: none;
}
body:not(.sidebar-desktop-active) .nav.navbar-nav > li > a > .nav-group-item + .caret {
    display: none;
}
body:not(.sidebar-desktop-active) .nav.navbar-nav > li > a {
    width: fit-content;
    justify-content: end;
    /* margin-left: 215px; */
    /* margin-left: auto; */
    margin-left: 0px;
}
body.sidebar-desktop-active .navbar-brand-container.collapsed {
    display: none;
}
body:not(.sidebar-desktop-active) .navbar-brand-container:not(.collapsed) {
    display: none;    
}
body:not(.sidebar-desktop-active) .navbar-brand-container {
    justify-self: end;
}
body:not(.sidebar-desktop-active) .navbar-brand {
    position: relative;
    border: none;
    padding-right: var(--4px);
}

body:not(.sidebar-desktop-active) .user-menu {
    position: relative;
    margin: 0;
    border: none;
    padding-left: 0;
    padding-right: 0;
}
body:not(.sidebar-desktop-active) .user-menu.nav.nav-align-bottom {
    margin-top: auto;
}
body:not(.sidebar-desktop-active) .user-menu:after {
    content: "";
    position: absolute;
    width: 3.25rem;
    height: 1px;
    right: calc(-1 * var(--4px));
    top: 0;
    background: var(--grey-400);
}

/* Dropdown animation */

.navbar-brand > .navbar-brand-container #multiple-products a {    
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--4px);
}
.navbar-brand > .navbar-brand-container #multiple-products .dropdown-menu {
    position: absolute;
    width: calc(100% + var(--20px));
    left: calc(-1 * var(--10px));
}
.nav.navbar-nav > li.dropdown > ul.dropdown-menu {
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
    display: block;
    padding: 0;
}
.nav.navbar-nav > li.dropdown.open > ul.dropdown-menu {
    padding: 0 0 var(--10px);
}
.nav.navbar-nav#multiple-products > li.dropdown.open > ul.dropdown-menu {
    padding: var(--10px) 0;
}
#logo-small {
    display: none;
}
.navbar-brand #logo-small {
    display: block;
}

/* Hamburger */
#nav-hamburger-icon {
    width: var(--30px);
    height: var(--24px);
    position: relative;
    background: transparent;
    border: none;
    margin-top: var(--20px);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
}
#nav-hamburger-icon span {
    display: block;
    position: absolute;
    height: var(--4px);
    width: 50%;
    background: var(--primary-color-300);
    opacity: 1;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}      
#nav-hamburger-icon span:nth-child(even) {
    left: 50%;
    border-radius: 0 var(--4px) var(--4px) 0;
}      
#nav-hamburger-icon span:nth-child(odd) {
    left:0px;
    border-radius: var(--4px) 0 0 var(--4px);
}      
#nav-hamburger-icon span:nth-child(1), #nav-hamburger-icon span:nth-child(2) {
    top: 0px;
}      
#nav-hamburger-icon span:nth-child(3), #nav-hamburger-icon span:nth-child(4) {
    top: var(--10px);
}      
#nav-hamburger-icon span:nth-child(5), #nav-hamburger-icon span:nth-child(6) {
    top: var(--20px);
}      
#nav-hamburger-icon.open span:nth-child(1),#nav-hamburger-icon.open span:nth-child(6) {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
}      
#nav-hamburger-icon.open span:nth-child(2),#nav-hamburger-icon.open span:nth-child(5) {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    transform: rotate(-45deg);
}      
#nav-hamburger-icon.open span:nth-child(1) {
    left: var(--2px);
    top: var(--4px);
}      
#nav-hamburger-icon.open span:nth-child(2) {
    left: calc(50% - var(--2px));
    top: var(--4px);
}      
#nav-hamburger-icon.open span:nth-child(3) {
    left: -50%;
    opacity: 0;
}      
#nav-hamburger-icon.open span:nth-child(4) {
    left: 100%;
    opacity: 0;
}      
#nav-hamburger-icon.open span:nth-child(5) {
    left: var(--2px);
    top: var(--12px);
}      
#nav-hamburger-icon.open span:nth-child(6) {
    left: calc(50% - var(--2px));
    top: var(--12px);
}

/* ------------------------------------------------------------ */
/*                                                              */
/*                        Dark/light mode                       */
/*                                                              */
/* ------------------------------------------------------------ */

/* Collpased navbar */
.theme-switch {
    display: flex; 
    align-items: center;
    padding: var(--8px) var(--14px);
    transition: all ease .3s;
}
.theme-switch .checkbox {
    opacity: 0;
    position: absolute;
}
.theme-switch .label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: var(--10px) 0.3125rem;
    border-radius: 3.125rem;
    position: relative;
    height: var(--30px);
    width: 5rem;
    cursor: pointer;
    background: light-dark(var(--grey-400),var(--grey-400));
    box-shadow: var(--switch-shadow);
    /* transition: var(--transition); */
}
.theme-switch .label:hover .moon,
.theme-switch .label:hover .sun {
    transform: rotate(360deg) !important;
}
.theme-switch .ball {
    transition: var(--transition);
    background-color: light-dark(var(--grey-500), var(--grey-500));
    position: absolute;
    border-radius: 50%;
    top: 0.3125rem;
    left: 0.3125rem;
    height: var(--20px);
    width: var(--20px);
}
.theme-switch .moon {
    color: #f1c40f;
    transform-origin: center center;
    transition: all 0.5s cubic-bezier(0.76, 0, 0.24, 1);
    transform: rotate(0);
}
.theme-switch .sun {
    color: #ff6b00;
    transform-origin: center center;
    transition: all 0.5s cubic-bezier(0.76, 0, 0.24, 1);
    transform: rotate(0);
}
.theme-switch .ball {
    transform: translatex(0);
}
.dark .theme-switch .ball {
    transform: translatex(3.125rem);
}

/* Inverted navbar */
body:not(.sidebar-desktop-active) .theme-switch {
    justify-content: flex-end;
    padding-left: var(--10px);
    padding-right: var(--10px);
}
body:not(.sidebar-desktop-active) .theme-switch .label {
    width: auto;
    padding-left: 0;
    padding-right: 0;
    background: transparent;
}
body:not(.sidebar-desktop-active) .theme-switch .ball {
    display: none;
}
body:not(.sidebar-desktop-active) .theme-switch .moon {
    display: none;
    width: var(--20px);
    height: var(--20px);
}
body:not(.sidebar-desktop-active) .theme-switch .sun {
    display: block;
    width: var(--20px);
    height: var(--20px);
}
.dark body:not(.sidebar-desktop-active) .theme-switch .moon {
    display: block;
}
.dark body:not(.sidebar-desktop-active) .theme-switch .sun {
    display: none;
}

/* ------------------------------------------------------------ */
/*                                                              */
/*                     !!!!   GRID MODE                         */
/*                                                              */
/* ------------------------------------------------------------ */
/*#region MARK: Grid mode  */

/* !!! ------------------------ GRID VIEW ------------------------- */
.grid {
    overflow-x: auto;
}

.grid .js-actions {
    position: sticky;
    left: 0;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
    padding: var(--4px) var(--8px);
    vertical-align: middle;
    border-top: none;
}

.table-condensed > thead > tr > th,
.table-condensed > tbody > tr > th,
.table-condensed > tfoot > tr > th,
.table-condensed > thead > tr > td,
.table-condensed > tbody > tr > td,
.table-condensed > tfoot > tr > td {
  padding: var(--2px) var(--4px);
}

.table {
    border-collapse: separate;
    border-width: 1px 1px 1px 1px;
    border-style: solid;
    border-color: light-dark(var(--grey-100), transparent);
    border-radius: var(--16px);
    box-shadow: 0 1px var(--4px) 0 rgba(0,0,0, 0.1), 
                0 1px var(--2px) -1px rgba(0,0,0, 0.1);
}

.table {
    margin-bottom: 0px;
}

.table thead {
    background-color: light-dark(var(--grey-050),var(--grey-500));
    position: relative;
    width: 100%;
    border-radius: var(--16px);
}

.table > thead > tr > th {
    border-bottom: var(--2px) solid light-dark(var(--grey-100), transparent);
}

.table thead > tr::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: 100%;
    z-index: -1;
    background-color: light-dark(var(--grey-050),var(--grey-500));
    border-radius: var(--16px) var(--16px) 0px 0px;
}
.table thead th {
    font-weight: 600;
}
.table thead th span {
    font-weight: 600;
}

.table-striped > tbody {
    background-color: light-dark(var(--grey-000), var(--grey-550));
}

.table-striped > tbody > tr {
    box-shadow: inset 0px 1px light-dark(var(--grey-100), transparent);
}
.table-striped > tbody > tr:nth-of-type(odd) {
    background-color: light-dark(var(--grey-000), var(--grey-550));
}
.table-striped > tbody > tr:nth-of-type(even) {
    background-color: light-dark(var(--grey-000),var(--grey-500));
}
.table-striped > tbody > tr:nth-of-type(even)::after {
    background-color: light-dark(var(--grey-000),var(--grey-500)) !important;
}

.table thead th:first-child {
    border-radius: var(--16px) 0px 0px 0px;
}
.table thead th:last-child {
    border-radius: 0px var(--16px) 0px 0px;
}

/* !! --- Pagination */
.pagination > li.pagination-spacer a {
    background-color: transparent !important;
    color: light-dark(var(--grey-600), var(--grey-000));
    border: none;
    cursor: default;
    padding-left: var(--10px);
    padding-right: var(--10px);
}
.pagination > li.pagination-spacer a:hover {
    background-color: transparent;
    color: light-dark(var(--grey-600), var(--grey-000));
}

.pagination > li.caption a {
    color: var(--grey-000);
}
.pagination > li.caption a:hover {
    color: var(--grey-000);
}

.pagination > li > a,
.pagination > li > span {
    position: relative;
    float: left;
    padding: var(--4px) var(--10px);
    text-decoration: none;
    color: var(--grey-000);
    background-color: light-dark(var(--primary-color-300), var(--primary-color-400));
    border: 1px solid light-dark(var(--primary-color-300), var(--primary-color-400));
    margin-left: -1px;
}
.pagination > li > a:hover,
.pagination > li > span:hover,
.pagination > li > a:focus,
.pagination > li > span:focus {
  z-index: 2;
  color: var(--grey-000);
  background-color: light-dark(var(--primary-color-400), var(--primary-color-300));
  border-color: transparent;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  z-index: 3;
  color: var(--grey-000);
  background-color: light-dark(var(--primary-color-200), var(--primary-color-200));
  border-color: light-dark(var(--primary-color-200), var(--primary-color-200));
  cursor: default;
}
.pagination > .disabled > span,
.pagination > .disabled > span:hover,
.pagination > .disabled > span:focus,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus,
.pagination > .disabled > a > span,
.pagination > .disabled > a:hover > span,
.pagination > .disabled > a:focus > span {
  color: light-dark(var(--primary-color-200), var(--primary-color-300));
  background-color: light-dark(var(--primary-color-300), var(--primary-color-400));
  border-color: light-dark(var(--primary-color-300), var(--primary-color-400));
  cursor: not-allowed;
}

/* !! -- Grid table footer */
.grid-table ~ .page_navigator {
    background-color: light-dark(var(--grey-050), var(--grey-500));
    border-radius: 0px 0px var(--16px) var(--16px);
    margin-bottom: var(--16px);
    border: 1px solid light-dark(var(--grey-100), transparent);
    box-shadow: 0 1px var(--4px) 0 rgba(0,0,0, 0.1), 
                0 1px var(--2px) -1px rgba(0,0,0, 0.1);
}

.grid-table ~ .page_navigator .pagination {
    margin: var(--8px) var(--12px) var(--4px) var(--12px);
}

.grid-table ~ .page_navigator .pagination > li.pagination-spacer a {
    background-color: light-dark(var(--grey-050),var(--grey-500));
    cursor: default;
    border: none;
    padding-left: var(--10px);
    padding-right: var(--10px);
}
.grid-table ~ .page_navigator .pagination > li.pagination-spacer a:hover {
    color: light-dark(var(--grey-600), var(--grey-000));
}

.grid-table ~ .page_navigator .pagination > li.caption a {
    color: light-dark(var(--grey-600), var(--grey-000));
}
.grid-table ~ .page_navigator .pagination > li.caption a:hover {
    color: light-dark(var(--grey-600), var(--grey-000));
}

.grid-table ~ .page_navigator .pagination > li > a,
.grid-table ~ .page_navigator .pagination > li > span {
    position: relative;
    float: left;
    padding: var(--4px) var(--10px);
    text-decoration: none;
    color: light-dark(var(--grey-600), var(--grey-000));
    background-color: light-dark(var(--grey-050), var(--grey-450));
    border: 1px solid var(--grey-300);
    margin-left: -1px;
}
.grid-table ~ .page_navigator .pagination > li > a:hover,
.grid-table ~ .page_navigator .pagination > li > span:hover,
.grid-table ~ .page_navigator .pagination > li > a:focus,
.grid-table ~ .page_navigator .pagination > li > span:focus {
  z-index: 2;
  color: var(--grey-000);
  background-color: var(--primary-color-300);
  border-color: transparent;
}
.grid-table ~ .page_navigator .pagination > .active > a,
.grid-table ~ .page_navigator .pagination > .active > span,
.grid-table ~ .page_navigator .pagination > .active > a:hover,
.grid-table ~ .page_navigator .pagination > .active > span:hover,
.grid-table ~ .page_navigator .pagination > .active > a:focus,
.grid-table ~ .page_navigator .pagination > .active > span:focus {
  z-index: 3;
  color: var(--grey-000);
  background-color: light-dark(var(--primary-color-300), var(--primary-color-200));
  border-color: light-dark(var(--primary-color-300), var(--primary-color-200));
  cursor: default;
}
.grid-table ~ .page_navigator .pagination > .disabled > span,
.grid-table ~ .page_navigator .pagination > .disabled > span:hover,
.grid-table ~ .page_navigator .pagination > .disabled > span:focus,
.grid-table ~ .page_navigator .pagination > .disabled > a,
.grid-table ~ .page_navigator .pagination > .disabled > a:hover,
.grid-table ~ .page_navigator .pagination > .disabled > a:focus,
.grid-table ~ .page_navigator .pagination > .disabled > a > span,
.grid-table ~ .page_navigator .pagination > .disabled > a:hover > span,
.grid-table ~ .page_navigator .pagination > .disabled > a:focus > span {
  color: var(--grey-300);
  background-color: light-dark(var(--grey-050), var(--grey-450));
  border-color: light-dark(var(--grey-250), var(--grey-300));
  cursor: not-allowed;
}
/* --- END pagination */

/* !! --- Checkboxes */
.table .row-selection input[type="checkbox"] {
    padding: 0;
    height: var(--16px);
    width: var(--16px);
    border: 1px solid light-dark(var(--grey-250), var(--grey-350));
    appearance: none;
    background-color: transparent;
    outline: none;
    transition: outline 0.1s;
    transition: background-color 0.1s;
    border-radius: var(--4px);
    margin-left: var(--4px);
    margin-bottom: 1px;
}
.table .row-selection input[type="checkbox"]:checked {
    background-origin: content-box;
    background-repeat: no-repeat;
    background-size: cover;
    padding: var(--2px);
}
.table .row-selection input[type="checkbox"]:not(:disabled):checked {
    border-color: transparent;
    background-color: var(--primary-color-300);
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" height="20" viewBox="0 0 32 32" xml:space="preserve"><path style="fill: %23FFFFFF" d="M11.941,28.877l-11.941-11.942l5.695-5.696l6.246,6.246l14.364-14.364L32,8.818"/></svg>');
}
.table .row-selection input[type="checkbox"]:disabled {
    border-color: light-dark(var(--grey-200), var(--grey-400));
}
input[type="checkbox"]:disabled:checked {
    border-color: transparent;
    background-color: light-dark(var(--primary-color-200), var(--primary-color-400));
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="20" height="20" viewBox="0 0 32 32" xml:space="preserve"><path style="fill: %23FFFFFF" d="M11.941,28.877l-11.941-11.942l5.695-5.696l6.246,6.246l14.364-14.364L32,8.818"/></svg>');
}
.table tr:has(td .row-selection input[type="checkbox"]:checked),
.table tr:has(th.row-selection input[type="checkbox"]:checked) {
    box-shadow: inset var(--2px) 0 0 var(--primary-color-300),
                inset 0px 1px light-dark(var(--grey-100), transparent);
}
/* --- END checkboxes */

/* !! --- Expand / details button (het plusje) */
.pg-row-list .operation-column .link-icon,
.pg-row-list .details .link-icon {
  padding: 0.3em;
  display: inline-block;
  font-size: var(--18px);
  position: relative;
  top: 0;
}

.pg-row-list .details {
  padding: var(--4px) 0px;
}

thead .details .link-icon {
    padding: 0 0.3em;
    display: inline-block;
    font-size: var(--18px);
    position: relative;
    top: 0;
  }
.icon-detail-plus:before {
    content: "\e62f";
    color: light-dark(var(--grey-350), var(--grey-150));
}
.icon-detail-plus:hover:before {
    content: "\e62f";
    color: var(--primary-color-300);
}
.icon-detail-additional:before {
    content: "\e62d";
    color: light-dark(var(--grey-350), var(--grey-150));
}
.icon-detail-minus:before {
    content: "\e632";
    color: light-dark(var(--grey-350), var(--grey-150));
}

.details .dropdown-menu
/* --- END expand / details button */

/* !! --- Action Buttons */
/* Single button */
.pg-row-list .operation-column a.actions-button ,
.pg-row-list .details a.actions-button  {
    padding: var(--4px) var(--8px);
    color: light-dark(var(--grey-350), var(--grey-150));
    font-weight: 600;
    border-radius: var(--4px);
    border: 1px solid light-dark(var(--grey-350), var(--grey-150));
    text-decoration: none;
    display: inline-block;
    font-size: var(--12px);
    box-shadow: 0 1px var(--2px) 0 rgba(0,0,0,0.25)
}

.pg-row-list .operation-column a.actions-button:hover ,
.pg-row-list .details a.actions-button:hover  {
    background-color: light-dark(rgba(0,0,0, 0.05), rgba(255,255,255, 0.05));
}

.pg-row-list .operation-column a.actions-button i,
.pg-row-list .details a.actions-button i {
    font-size: var(--14px);
    margin-right: var(--4px);
}

/* Multiple buttons */
.actions-button-wrapper {
    border-radius: var(--4px);
    display: inline-flex;
    box-shadow: 0 1px var(--2px) 0 rgba(0,0,0,0.05);
    border: 1px solid light-dark(var(--grey-350), var(--grey-150));
}

.pg-row-list .operation-column a.actions-button-single ,
.pg-row-list .details a.actions-button-single {
    line-height: var(--18px);
    font-size: var(--12px);
    align-items: center;
    padding: var(--4px) var(--12px) var(--4px) var(--8px);
    color: light-dark(var(--grey-350), var(--grey-150));
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    position: relative;
    border-radius: 0px var(--4px) var(--4px) 0px;
}

.pg-row-list .operation-column a.actions-button-single:hover ,
.pg-row-list .details a.actions-button-single:hover {
    background-color: light-dark(rgba(0,0,0, 0.05), rgba(255,255,255, 0.05));
}

.pg-row-list .operation-column a.actions-button-single i,
.pg-row-list .details a.actions-button-single i {
    font-size: var(--14px);
    line-height: var(--16px);
    margin-right: var(--4px);
    padding-bottom: var(--2px);
}

.actions-button-caret-box {
    display: block;
    position: relative;
    border-radius: var(--4px) 0px 0px var(--4px);
}

.actions-button-caret-box:hover {
    background-color: light-dark(rgba(0,0,0, 0.05), rgba(255,255,255, 0.05));
}

.actions-button-caret {
    padding: var(--4px);
    display: inline-flex;
    border-left: 1px solid light-dark(var(--grey-350), var(--grey-150));
    border-top-right-radius: var(--4px);
    border-bottom-right-radius: var(--4px);
    align-items: center;
}

.actions-button-caret i::before {
    color: light-dark(var(--grey-350), var(--grey-150));
    font-weight: 600;
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    text-align: center;
    width: var(--18px);
    height: var(--18px);
}

/* dropdown box */
.actions-button-dropdown-box {
    opacity: 0;
    transform: scale(0);
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: var(--animation-duration-fast);
    background-color: light-dark(var(--grey-000), var(--grey-550));
    border: 1px solid light-dark(var(--grey-200), var(--grey-350));
    border-radius: var(--4px);
    transform-origin: top right;
    margin-top: var(--4px);
    z-index: 10;
    right: 0px;
    position: absolute;
    padding: var(--4px) 0px;
}

.actions-button-wrapper.active .actions-button-dropdown-box {
    display: block;
    opacity: 1;
    transform:scale(1);
}

.actions-button-wrapper.active .actions-button-caret i {
    transform: rotate(-180deg);
}

.actions-button-dropdown-single {
    font-size: 12px;
    color: light-dark(var(--grey-350), var(--grey-150));
    font-weight: 600;
    line-height: var(--18px);
    padding: var(--8px) var(--16px);
    display: block;
    text-decoration: none !important;
}

.actions-button-dropdown-single:hover {
    background-color: light-dark(rgba(0,0,0, 0.05), rgba(255,255,255, 0.05));
    color: light-dark(var(--grey-350), var(--grey-150));
}

.actions-button-dropdown-single i {
    font-size: var(--14px);
    display: inline-flex;
    justify-content: center;
    width: var(--14px);
    height: var(--14px);
    margin-right: var(--2px);
}

.pgui-cell-edit-button {
    color: var(--primary-color-300);
}
/* --- END Action Buttons*/

/* --- Modal window*/
.modal-content {
    background-color: light-dark(var(--grey-050), var(--grey-500));    
}
.modal-content .table {
    border-radius: 0;
    border: 1px solid light-dark(var(--grey-200),var(--grey-350));
}
.modal-header {
    border-bottom: 1px solid light-dark(var(--grey-200),var(--grey-350));
}
.modal-content .table-condensed > tbody > tr > td,
.modal-content .table-bordered > tbody > tr > th {
    border: 1px solid light-dark(var(--grey-200),var(--grey-350));
}
.modal-footer {
    border-top: 1px solid light-dark(var(--grey-200),var(--grey-350));
}
.modal-content .close {
    opacity: 1;
    color: transparent;
}
.modal-content .close span {
    color: light-dark(var(--grey-550), var(--grey-000));
}

/* !! --- Time period picker */
.time-period-container {
    position: relative;
}

.time-period-button {
    padding: var(--4px) var(--8px);
    font-size: var(--12px);
    color: light-dark(var(--grey-300), var(--grey-200));
    background-color: light-dark(var(--grey-100), var(--grey-450));
    border: 1px solid light-dark(var(--grey-200), var(--grey-350));
    border-radius: var(--4px);
    cursor: pointer;
    box-shadow: var(--small-shadow);
}

.time-period-button:hover {
    background-color: light-dark(
        color-mix(in srgb, var(--grey-100) 33%, var(--grey-150)),
        color-mix(in srgb, var(--grey-500) 33%, var(--grey-450))
    );
    border: 1px solid light-dark(var(--grey-250), var(--grey-350));
    color: light-dark(var(--grey-400), var(--grey-200));
}

.time-period-button:disabled {
    background-color: light-dark(var(--grey-050), var(--grey-500));
    border: 1px solid light-dark(var(--grey-150), var(--grey-350));
    color: light-dark(var(--grey-150), var(--grey-300));
    cursor: not-allowed;
    box-shadow: none;
}

#picker-from-date, 
#picker-to-date {
    font-weight: 600;
    padding: 0px var(--4px);
}

.time-period-popover {
    position: absolute;
    top: 100%;
    left: var(--36px);
    background: light-dark(var(--grey-100), var(--grey-450));
    border: 1px solid light-dark(var(--grey-200), var(--grey-350));
    border-radius: var(--4px);
    padding: var(--12px);
    margin-top: var(--6px);
    z-index: 999;
    box-shadow: var(--large-shadow);
}

.quick-selects {
    display: flex;
    gap: var(--4px);
    margin-bottom: var(--12px);
}

.quick-button {
    background-color: light-dark(var(--grey-150), var(--grey-400));
    border: 1px solid light-dark(var(--grey-250), var(--grey-300));
    border-radius: var(--4px);
    padding: var(--8px) var(--16px);
    color: light-dark(var(--grey-450) ,var(--grey-150));
    cursor: pointer;
    font-size: var(--12px);
    line-height: var(--12px);
    font-weight: 600;
    box-shadow: var(--small-shadow);
}
.quick-button:hover {
    background-color: light-dark(var(--grey-200), var(--grey-450));
}

/* Datepicker adjustments */
.bootstrap-datetimepicker-widget table td.day, 
.bootstrap-datetimepicker-widget table td.hour, 
.bootstrap-datetimepicker-widget table td.minute, 
.bootstrap-datetimepicker-widget table td.second, 
.bootstrap-datetimepicker-widget table thead th,
.bootstrap-datetimepicker-widget table td span {
    font-weight: 600;
}

.bootstrap-datetimepicker-widget table td.disabled {
    color: light-dark(var(--grey-150), var(--grey-350));
}

.bootstrap-datetimepicker-widget table td.day.old:not(.disabled),
.bootstrap-datetimepicker-widget table td.day.new:not(.disabled) {
    color: light-dark(var(--grey-350), var(--grey-200));
}

.bootstrap-datetimepicker-widget table td.day:hover, 
.bootstrap-datetimepicker-widget table td.hour:hover, 
.bootstrap-datetimepicker-widget table td.minute:hover, 
.bootstrap-datetimepicker-widget table td.second:hover, 
.bootstrap-datetimepicker-widget table thead tr:first-child th:hover,
.bootstrap-datetimepicker-widget table td span:hover {
    background: light-dark(var(--grey-150), var(--grey-350));
}

.bootstrap-datetimepicker-widget table td.today:before {
    border-bottom-color: light-dark(var(--primary-color-300), var(--primary-color-200));
}

.bootstrap-datetimepicker-widget table td.active, 
.bootstrap-datetimepicker-widget table td.active:hover {
    background-color: light-dark(var(--primary-color-300), var(--primary-color-200));
}


/* !! --- Location picker */
.location-picker {
    padding: var(--4px) var(--12px);
    font-size: var(--12px);
    color: light-dark(var(--grey-050), var(--grey-550));
    background-color: light-dark(var(--grey-500), var(--grey-050));
    border: 1px solid light-dark(var(--grey-500), var(--grey-050));
    border-radius: 99px;
    height: var(--30px);
    box-shadow: var(--small-shadow);
    margin-left: auto;
}

.location-picker-container {
    display: flex;
    position: relative;
    flex-grow: 1;
    order: 2;
}

.location-picker:hover {
    background-color: light-dark(var(--grey-450), var(--grey-100));
}

#location-name {
    font-size: var(--12px);
    font-weight: 600;
    padding: 0 0 0 var(--4px);
}

#location-name::before {
    content: "Locatie: "
}

.location-popover {
    position: absolute;
    right: 0;
    top: 2.125rem;
    background: light-dark(var(--grey-500), var(--grey-050));
    border: 1px solid light-dark(var(--grey-500), var(--grey-050));
    padding: var(--8px);
    z-index: 1000;
    min-width: 12.5rem;
    border-radius: var(--8px);
    box-shadow: var(--large-shadow);
}

.location-popover-item {
    cursor: pointer;
    border-radius: var(--4px);
    padding: var(--4px) var(--8px);
    color: light-dark(var(--grey-050), var(--grey-550));
    font-size: var(--12px);
    line-height: var(--12px);
    font-weight: 600;

}

.location-popover-item::before {
    content: "\f30b";
    font-weight: 900;
    font-family: "Font Awesome 6 Pro";
    -webkit-font-smoothing: antialiased;
    font-variant: normal;
    text-rendering: auto;
    font-style: normal;
    font-size: var(--12px);
    line-height: var(--14px);
    vertical-align: baseline;
    padding: 0px var(--8px) 0px 0px;
}

.location-popover-item:hover {
    background: light-dark(var(--grey-450), var(--grey-100));
}

.time-period-picker, .location-picker {
    line-height: var(--12px);
    box-sizing: border-box;
}

/* ------------------------------------------------------------ */
/*                                                              */
/*                     !!!! MEDIA QUERIES                       */
/*                                                              */
/* ------------------------------------------------------------ */
/*#region MARK: Media Queries */


@media only screen and (max-width: 350px) {

}

@media only screen and (max-width: 480px) {

}

@media only screen and (max-width: 767px) {
    /* Nav menu & generic layout*/
    .sidebar {
        width: 100%;
        left: 0;
        z-index: 10;
    }
    .sidebar-desktop-active .toggle-sidebar {
        left: 11.75rem;
    }
    body:not(.sidebar-desktop-active) .sidebar {
        left: -100%;
    }
    .sidebar > .content > .navbar-nav > li > a {
        max-width: 100%;
    }
    .sidebar > .content > .navbar-nav > li > a > .caret {
        margin-left: var(--10px);
    }
    .sidebar > .content > .navbar-nav > li > ul  {
        max-width: 100%;
    }
    .toggle-sidebar .icon-toggle-sidebar {
        transform: rotate(180deg);
    }
    #logo-big {
        width: 9.375rem;
    }
    .navbar-brand-container > span:nth-of-type(1) {
        padding-top: var(--4px);
    }
    body:not(.sidebar-desktop-active) .nav.navbar-nav > li > a {
        margin-left: 8.5rem;
    }
    .sidebar-owner {
        padding-left: 0;
    }
    .sidebar-desktop-active .sidebar-owner {
        padding-left: 12.75rem;
    }
    .nav .dropdown-menu > li > a {
        padding: var(--4px) var(--10px);
    }
    .navbar-brand-container > span:nth-of-type(1) {
        font-size: var(--font-size-text);
    }
    .navbar-brand {
        padding-top: 0;
    }
    .navbar-brand-container.collapsed {
        padding-top: var(--8px);
    }
    .nav.navbar-nav > li.dropdown.open > ul.dropdown-menu#products {
        background-color: light-dark(var(--grey-450), var(--grey-450));
    }
    .navbar-brand-container.collapsed {
        display: none;
    }
    body:not(.sidebar-desktop-active) .navbar-brand:after {
        display: none;
    }

    /* Horizontal navbar */
    body {
        padding-top: 0;
    }
    #navbar {
        position: fixed;
        display: block;
        background: transparent;
        border: none;
        background-color: light-dark(var(--grey-500), var(--grey-500));
        z-index: 999;
    }
    #nav-hamburger-icon {
        transform: scale(0.75);
        margin: var(--6px) var(--10px) !important;
    }
    .toggle-sidebar {
        display: none;
    }
    .navbar-brand > .navbar-brand-container #multiple-products a {
        justify-content: start;
        padding: var(--4px) var(--16px) var(--4px) var(--10px);
        font-size: var(--font-size-text-small);
    }
    .navbar-brand-container .caret {
        margin-left: var(--10px);
    }
    .sidebar .navbar-toggle {
        display: none;
    }
    body:not(.sidebar-desktop-active) .navbar-brand-container:not(.collapsed) {
        display: flex;
    }
    body:not(.sidebar-desktop-active) .horizontal-navbar .nav.navbar-nav > li > a {
        margin-left: 0;
    }
    body:not(.sidebar-desktop-active) .horizontal-navbar .navbar-brand {
        padding: 0;
    }
    #navbar {
        padding: var(--10px);
        border-bottom: solid 1px var(--grey-400);
    }
    .navbar-brand {
        padding: 0;
        border: none;
    }
    .navbar-toggle {
        margin: 0 !important;
    }
    .navbar-nav .dropdown-menu > li > a {
        padding: var(--4px) var(--16px) var(--4px) var(--24px);
        line-height: var(--16px);
    }
    .navbar-brand > .navbar-brand-container #multiple-products .dropdown-menu {
        width: 100%;
        left: 0;
    }
    #multiple-products > li {
        padding: var(--10px) var(--10px) 0 var(--10px);
    }
    body.sidebar-desktop-active #multiple-products > li {
        padding-bottom: var(--4px);
    }
    .navbar-brand-container > span:nth-of-type(1) {
        padding: 0 0 0 var(--10px);
    }
    .sidebar > .content > .navbar-brand {
        display: none;;
    }
    .sidebar > .content .nav.navbar-nav:first-of-type {
        margin-top: 4.75rem;
    }
    .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: var(--grey-050);
    }    

    .content-container {
        margin-top: 3.5625rem;
    }

    .outer-container {
        height: calc(100vh - 4.325rem);
        padding: 0;
    }

    .nav .dropdown-menu:not(#products) >li >a {
        padding: 0;
    }
    .nav:not(.user-menu) .dropdown-menu:not(#products) > li {
        margin-top: var(--4px);
        margin-left: var(--30px);
        position: relative;
    }

    .nav:not(.user-menu) .dropdown-menu:not(#products) > li > a::before {
        top: 0;
    }

    .location-picker {
        order: 2;
        height: calc(var(--24px));
    }
    .time-period-container {
        display: flex;
        gap: var(--4px);
        order: 3;
        width: 100%;
    }
    .time-period-button.picker-button {
        flex-grow: 1;
    }
}

@media only screen and (max-width: 991px) {
    .sidebar-active .sidebar-backdrop {
        display: none;
    }
}

@media only screen and (max-device-width: 480px) and (orientation: landscape) {

}

@media only screen and (min-width: 576px) {

}

@media only screen and (min-width: 768px) {
    .sidebar-owner {
        padding-left: 4.325rem;
    }

    .outer-container {
        height: 100vh;
        padding: var(--20px);
    }

    .navbar-brand {
        margin-bottom: var(--18px);
    }

    .sidebar .nav.navbar-nav:not(#multiple-products) {
        border-top: solid 1px var(--grey-400);
    }
    .sidebar > .content .nav.navbar-nav:first-of-type:not(#multiple-products) {
        padding-top: var(--30px);
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    /* Nav menu & generic layout*/
    .sidebar {
        width: 11.25rem;
        left: 0;
        margin: var(--20px);
        border-radius: var(--16px);
        height: calc(100% - 2.5rem);
    }
    body:not(.sidebar-desktop-active) .outer-container {
        margin-left: var(--20px);
    }
    .sidebar-desktop-active .toggle-sidebar {
        left: 11.625rem;
    }
    body:not(.sidebar-desktop-active) .sidebar {
        left: 0 !important;
    }
    .toggle-sidebar .icon-toggle-sidebar {
        transform: rotate(180deg);
    }
    #logo-big {
        width: 7.5rem;
    }
    .navbar-brand-container > span:nth-of-type(1) {
        padding-top: 0px;
    }
    body:not(.sidebar-desktop-active) .nav.navbar-nav > li > a {
        /* margin-left: 137px; */
        margin-left: 0;
    }
    .sidebar-owner {
        padding-left: 4.25rem;
    }
    .sidebar-desktop-active .sidebar-owner {
        padding-left: 12.75rem;
    }
    .nav .dropdown-menu > li > a {
        padding: var(--4px) var(--10px);
        font-size: var(--font-size-text-small);   
    }
    .navbar-brand-container > span:nth-of-type(1) {
        font-size: var(--font-size-text);
    }
    .navbar-brand {
        padding-top: 0;
    }
    .navbar-brand-container.collapsed {
        padding-top: var(--8px);
    }
}

@media only screen and (min-width: 992px) {
    /* Move the content based on the width of the sidebar menu */

    .sidebar-desktop-active .sidebar-owner {
        padding-left: 17.5rem;
    }
    .sidebar-owner {
        padding-left: 5.25rem;
    }

    .sidebar-desktop-active .sidebar {
        margin: var(--20px);
        border-radius: var(--16px);
        height: calc(100% - 2.5rem);
    }
}

@media only screen and (min-width: 1200px) {

    .sidebar-desktop-active .toggle-sidebar {
        left: 18rem;
    }

    .sidebar-desktop-active .sidebar-owner {
        padding-left: 18.75rem;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {

    .sidebar-desktop-active {
        padding-left: 4rem;
    }

    .sidebar-desktop-active .sidebar-owner {
        padding-left: 8.5rem;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    /* Nav menu & generic layout*/
    .sidebar {
        width: 13.75rem;
    }

    body:not(.sidebar-desktop-active) .sidebar {
        left: 0;
        width: 4rem;
        margin: var(--20px);
        border-radius: var(--16px);
        height: calc(100% - 2.5rem)
    }

    body:not(.sidebar-desktop-active) .sidebar-owner {
        padding-left: 5.25rem;
    }

    #logo-big {
        width: 9.375rem;
    }

    .navbar-brand-container > span:nth-of-type(1) {
        padding-top: var(--4px);
    }

    body:not(.sidebar-desktop-active) .nav.navbar-nav > li > a {
        margin-left: 0px;
    }

    .nav .dropdown-menu > li > a {
        padding: var(--4px) var(--10px);
        font-size: var(--font-size-text-small);   
    }

    /* Padded sidebar */
    .sidebar-desktop-active .toggle-sidebar {
        left: 14.25rem;
    }

    .sidebar-desktop-active .sidebar-owner {
        padding-left: 15rem;
    }
}

