.dx-dropdownbutton-popup-wrapper.dx-popup-wrapper .dx-overlay-content {
    min-width: 150px;
}

/* Allow DevExtreme validation message to grow beyond container */
.dx-invalid-message-content {
    max-width: none !important;
    white-space: nowrap !important;
}

.modal-block-info {
    padding: 8px;
}

.divider {
    border: 1px solid #e5e7eb;
    margin-block-end: 8px;
    margin-block-start: 8px;
}

.info-bar {
    display: flex;
    justify-content: space-between;
}

.dx-item-content.dx-list-item-content > .dx-dropdownbutton {
    width: 100%;
}

.dx-context-menu .dx-menu-item .dx-submenu {
    width: auto;
}

.hidden-row {
    display: none !important;
}

.invoice-total {
    padding: 5px !important;
    margin-top: 5px;
    border-radius: 6px;
    width: fit-content;
}

.invoice-total-title {
    font-size: 16px;
    padding: 2px 8px;
    color: #212529;
}

[aria-roledescription="Editable"] {
    /* Your custom styles here */
    cursor: pointer;
}

[aria-roledescription="Editable"]:hover {
    /* Your custom styles here */
    background: #d0e0d92e !important;
}

.dx-overlay-content.dx-inner-overlay.dx-context-menu.dx-menu-base .dx-scrollable-container {
    overflow: visible !important;
}

.bar-settings-button {
    margin-bottom: 10px;
}

/* context Menu */

.dx-item-content.dx-menu-item-content > .dx-icon {
    color: #777;
}

.ui-pnotify {
    z-index: 20000;
}

.modal-block-medium {
    max-width: 400px;
}

.dashboard-svg {
    fill: white;
    width: 50px;
    height: 50px;
}

.dx-scrollbar-vertical.dx-scrollbar-hoverable.dx-state-hover, .dx-scrollbar-vertical.dx-scrollbar-hoverable.dx-scrollable-scrollbar-active {
    z-index: 3;
}

.planning-menu-svg {
    margin-right: 5px;
    width: 15px;
    height: 15px;
    fill: #777;
}

.bar-settings-svg {
    margin-right: 1px;
    width: 27px;
    height: 28px;
    fill: white;
}

.bar-settings-btn {
    border-radius: 5px;
    margin-left: 8px !important;
}

.left-sidebar-nav-active > .main-menu-svg {
    fill: green;
    width: 32px;
    height: 32px;
}

.mfp-figure:after {
    background: white !important;
}

.plan-field {
    font-size: 11px;
    color: #846d1a;
}

/* Master detail css*/
.master-detail-caption {
    font-weight: 500;
    font-size: 12px;
    padding: 5px;
}

.dx-row .dx-header-row, .dx-scrollable-wrapper {
    background: #fdfdfd; /* fix voor achtergrond master detail */
}

.dx-command-edit .dx-icon-trash {
    color: #ff5a5a;
}

.dx-command-edit .dx-state-disabled, .dx-icon-trash .dx-state-disabled {
    color: gray;
}

html body .tabs .nav-tabs .nav-link:hover {
    color: #47a447;
}

.left-sidebar-nav-active, .left-sidebar-nav-active:hover {
    background: white !important;
    border-radius: 4px !important;
    margin-left: 6px !important;
    margin-right: 1px !important;
    padding-left: 17px !important;
}

.left-sidebar-nav-active i, .left-sidebar-nav-active:hover i {
    color: green !important;
    margin-left: -5px;
}

.left-sidebar-nav-active span, .left-sidebar-nav-active:hover span {
    color: black !important;
}

#sidebar-left {
    transition: width 0.15s ease;
    box-shadow: 5px 0px 10px rgba(0, 0, 0, 0.2);
}

.top-row {
    padding-top: 0px !important;
}

.dropdown-item:active {
    background-color: #006061 !important;
}

.right {
    margin-left: auto;
}

.detail-edit-pen {
    font-size: 1.2rem;
    margin: 5px;
}

.detail-edit-bar {
    padding-left: 15px;
    flex-shrink: 0;
}

.dx-icon-spindown {
    font-size: 18px !important;
}

.clear-text {
    font-size: 15px;
    color: #444;
    margin: 5px 0px;
}

.white-space {
    white-space: pre-wrap;
}

.max-3-sentences {
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.square-image-100:hover {
    -ms-transform: scale(3); /* IE 9 */
    -webkit-transform: scale(3); /* Safari 3-8 */
    transform: scale(3);
    z-index: 100000;
}

.ReviewSummary {
    font-size: 16px;
    margin-top: 15px;
    margin-right: 50px;
}

.chartSelection {
    width: 270px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.space {
    padding-right: 4px !important;
}

.space-l {
    padding-right: 8px !important;
}

.margin-space {
    margin-right: 4px !important;
}

.dx-toolbar .dx-toolbar-label {
    font-size: 14px;
}

.tm-items {
    max-width: 1200px;
}

/* Flex pre sets */
.space-between {
    justify-content: space-between;
}

.direction-columns {
    flex-direction: column;
}

/* KPI and dashboard */
.Realized {
    color: #3cbab2;
}

.ForeCast {
    color: #8ed962;
}

.Budget {
    color: #5b9d95;
}

.PreviousRealized {
    color: #efcc7c;
}

.kpi-header {
    border-bottom: 1px solid #eee;
    color: black;
    margin-bottom: 5px;
    padding-bottom: 5px;
    padding-left: 3px;
    font-size: 18px;
}

.kpi-main {
    font-size: 28px;
    padding: 5px;
    margin-top: 5px;
    color: #212529;
}

.kpi-main-percentage {
    margin-top: auto;
}

.kpi-container {
    justify-content: space-between;
    margin-top: 15px;
    padding-left: 3px;
}

.kpi-main-container {
    margin-top: 5px;
}

.kpi-right {
    color: black;
    font-size: 17px;
}

.kpi-wrapper {
    flex: 0 0 300px;
    margin-right: 20px;
}

.chart-wrapper {
    width: 100%;
}

.filter-bar {
    flex: 0 0 200px;
    margin-right: 20px;
}

.dashboard-main {
    width: 100%;
    margin-bottom: 15px;
}

.filter-fixed {
    position: fixed;
    width: 200px;
}

/* Flex */

.flex {
    display: flex;
}

.flex-end {
    align-items: flex-end;
}

.flex-grow {
    flex-grow: 1;
}

.flex-right {
    display: flex;
    justify-content: right;
}

.cover {
    object-fit: cover;
}

.contain {
    object-fit: contain;
}

html {
    overflow-y: auto !important
}

html, body {
    background-color: #d0e0d9;
}

.margin-space-left {
    margin-left: 8px;
}

.beige {
    background: #eee !important;
}

@media only screen and (max-width: 767px) {
    .content-body {
        margin-top: 0px !important;
    }
}

.content-body {
    margin-top: 15px;
    padding-bottom: 0px !important;
}

.content-body:not(.card-margin) > .row + .row {
    padding-top: 20px;
}

.logo img.login {
    width: 300px;
}

.grid-image {
    max-height: 75px;
    max-width: 75px;
    min-width: 75px;
    object-fit: cover;
    border-radius: 5px;
}

.square-image-200 {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.square-image-100 {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.nav-link {
    color: #006061;
}

.nav-link:hover, .nav-link:focus {
    color: #006061
}

.inner-wrapper {
    padding-top: 15px !important;
}


.image-grid {
    float: left;
    max-height: 170px;
    max-width: 170px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 4px;
}

.dashboard-title {
    font-size: 26px;
    margin: 5px;
    margin-left: 0px;
    font-weight: bold;
    color: #212529;
}

.list {
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #dee1e3;
}

.upper-list {
    box-sizing: border-box;
    margin: 0px 0px 4px;
    min-width: 0px;
    display: flex;
    flex: 1 1 0%;
    -webkit-box-pack: justify;
    justify-content: space-between;
    color: rgb(30, 35, 41);
}

.lower-list {
    box-sizing: border-box;
    margin: 0px;
    min-width: 0px;
    display: flex;
    flex: 1 1 0%;
    -webkit-box-pack: justify;
    justify-content: space-between;
    font-size: 12px;
    color: rgb(112, 122, 138);
}

.context-menu {
    background-color: #1d2127;
    color: #abb4be;
    z-index: 9999 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border-radius: 4px;
    font-size: 14px;
    min-width: 180px;
}

.context-menu ul {
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.context-menu li {
    cursor: pointer;
    white-space: nowrap;
}

.context-menu li:hover {
    color: #006061;
}
