body, html {
    margin: 0;
    min-height: 100%;
    height: 100%;
}

#PageToolbar .dx-tab {
    margin-left: 20px;
}

#app-side-nav-outer-toolbar {
    flex-direction: column;
    display: flex;
    height: 100%;
    width: 100%;
}

.layout-header {
    flex: 0 0 auto;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    position: relative;
    z-index: 1505;
}

.dx-toolbar .dx-toolbar-item.menu-button {
    width: 60px;
    text-align: center;
    padding: 0;
}

.Card-DropShadow {
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    border-radius: 4px;
    background-color: #fff;
}

.dx-card {
    box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.24);
    border-radius: 4px;
    background-color: #fff;
    margin: 2px 2px 3px;
}

    .dx-card.wide-card {
        border-radius: 0;
        margin-left: 0;
        margin-right: 0;
        border-right: 0;
        border-left: 0;
    }

.with-footer > .dx-scrollable-wrapper > .dx-scrollable-container > .dx-scrollable-content {
    height: 100%;
}

    .with-footer > .dx-scrollable-wrapper > .dx-scrollable-container > .dx-scrollable-content > .dx-scrollview-content {
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }

.layout-body {
    background-color: #f2f2f2;
    flex: 1;
    height: 100%;
    min-height: 0;
}

    .layout-body .menu-container {
        height: 100%;
        width: 250px;
        background-color: #fff;
    }

    .layout-body .content {
        flex-grow: 1;
        height: 100%;
        line-height: 1.5;
        margin: 0px;
    }

        .layout-body .content h2 {
            font-size: 32px;
            line-height: 40px;
        }

    .layout-body .content-block {
        margin: 0 0 20px;
    }

    .layout-body .content-footer {
        display: block;
        color: rgba(0,0,0,.609);
        border-top: 1px solid rgba(0,0,0,.1);
        padding-top: 20px;
        padding-bottom: 24px;
        margin: 0 40px;
    }

    .layout-body .responsive-paddings {
        padding: 20px;
    }

.layout-body-hidden {
    visibility: hidden;
}

#layout-drawer.dx-drawer-shrink .dx-drawer-panel-content {
    box-shadow: rgba(0, 0, 0, 0.06) 0px 4px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 2px 0px;
}

@media screen and (max-width: 600px) {
    .layout-body .content {
        margin: 20px;
    }
}

@media screen and (min-width: 1280px) {
    .layout-body .responsive-paddings {
        padding: 40px;
    }
}

.menu-container .dx-widget {
    font-weight: 700;
    font-size: 14px;
    font-family: Roboto,RobotoFallback,Helvetica,Arial,sans-serif;
    line-height: 24px;
}

.menu-container .dx-treeview {
    white-space: nowrap;
}

    .menu-container .dx-treeview .dx-treeview-item {
        padding-left: 0;
        flex-direction: row-reverse;
        border-radius: 0;
        justify-content:flex-end;
    }

        .menu-container .dx-treeview .dx-treeview-item .dx-icon {
            width: 60px !important;
            margin: 0 !important;
        }

    .menu-container .dx-treeview .dx-treeview-node {
        padding: 0 0 !important;
    }

    .menu-container .dx-treeview .dx-treeview-toggle-item-visibility {
        right: 10px;
        left: auto;
    }

    .menu-container .dx-treeview .dx-rtl .dx-treeview-toggle-item-visibility {
        left: 10px;
        right: auto;
    }

    .menu-container .dx-treeview .dx-treeview-node[aria-level="1"] {
        font-weight: bold;
    }

    .menu-container .dx-treeview .dx-treeview-node[aria-level="2"] .dx-treeview-item-content {
        font-weight: normal;
        padding: 0 20px;
    }

    .menu-container .dx-treeview .dx-treeview-node[aria-level="3"] .dx-treeview-item-content {
        font-weight: normal;
        padding: 0 40px;
    }


.GreyDark {
    background: #495057;
    color: #efefef;
}

.RedGradient {
    background: linear-gradient(180deg, rgba(207,82,82,1) 0%, rgba(121,9,9,1) 80%);
    color: #fff;
}

.Red {
    background: #a83b3b;
    color: #fff;
}

.Purple {
    background: #886ab5;
    color: #fff;
}

.Orange {
    background: #ffc241;
    color: #fff;
}

.MediumSeaGreen {
    background-color: #3cb371;
    color: #ededed;
}

.SeaGreen {
    background-color: #2e8b57;
    color: #ededed;
}

.SteelBlue {
    background-color: #4682b4;
    color: #ededed;
}

.LightSkyBlue {
    background-color: #87cefa;
    color: #ededed;
}

.RoyalBlue {
    background-color: #4169e1;
    color: #ededed;
}

.OrangeRed {
    background-color: #ff4500;
    color: #ededed;
}

.Tomato {
    background-color: #ff6347;
    color: #ededed;
}

.Gold {
    background-color: #ffd700;
    color: #ededed;
}

.Indigo {
    background: #5d1049;
    color: #ffffff;
}

.Pink {
    background: #f0cce2;
    color: #ffffff;
}

.White {
    background: #ffffff;
    color: #49454f;
}

.Purple {
    background: #9333ea;
    color: #ffffff;
}

.PalePink {
    background: #f3e8ff;
    color: #49454f7b;
}

Magenta {
    background: #b580a4;
    color: #ffffff;
}


.kpi-card {
    overflow: hidden;
    position: relative;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.75);
    border-radius: 0.3em;
    display: inline-block;
    float: left;
    padding: 1em;
    font-family: sans-serif;
    width: 100%;
    height: 100%;
    margin: 0px;
}

.kpi-icon {
    float: right;
    font-size: 500%;
    position: absolute;
    top: 0rem;
    right: -0.3rem;
    opacity: .16;
}

.card-value {
    display: block;
    font-size: 200%;
    font-weight: bolder;
}

.card-text {
    display: block;
    padding-left: 0.2em;
    font-weight: 600;
}

.dx-tabs-expanded .dx-tab {
    flex-basis: auto;
    flex-grow: 0
}

.ab-tile {
    background: white;
    padding: 0px;
    border-radius: 6px;
    box-shadow: 0 0 5px #807e7e5e;
    display: flex;
    flex-direction: column;
    align-self: auto;
    gap: 6px;
    height: 100%;
    width: 100%;
    position: relative;
}

    .ab-tile img {
        width: 100%;
        object-fit: fill;
        border-radius: 6px;
        height: 100%;
    }

    .ab-tile h2 {
        font-size: 14px !important;
        font-family: sans-serif;
        font-weight: 600;
        position: absolute;
        bottom: 0;
        background: #00000083;
        width: -webkit-fill-available;
        color: white;
        padding: 10px;
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
        min-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        letter-spacing: 0.4px;
        margin: auto;
        text-align: center;
    }

    .ab-tile:hover {
        background: rgba(239, 238, 238, 0.475);
        transform: scale(1.01);
    }


.ab-treeview {


    .ab-treeview h2 {
        background-color: rgb(239,239,239) !important;
        margin: -10px !important;
        margin-bottom: 10px !important;
        padding: 10px !important;
        text-align: center !important;
        font-size: 18px !important;
        font-weight: 500 !important;
    }

}



.image-section .img-thumbnail {
    /* padding: 4px; */
    background-color: #fff;
    /* border: 1px solid #ddd; */
    border-radius: 4px;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    max-width: 100%;
}

.image-section a {
    text-decoration: none;
}

.image-section .btn {
    display: inline-block;
    touch-action: manipulation;
    cursor: pointer;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 20px;
    border-radius: 4px;
    font-weight: 400;
}

.image-section .btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

    .image-section .btn-danger:hover {
        color: #d43f3a;
        background-color: #fff;
        border-color: #d43f3a;
    }

.image-section .btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

    .image-section .btn-primary:hover {
        color: #337ab7;
        background-color: #fff;
        border-color: #337ab7;
    }

.image-div {
    display: inline-block;
    padding: 4px;
    border: 2px solid #ddd;
    border-radius: 4px;
}

.text-danger {
    color: red !important
}