/* Layout */
html, body, .form
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body
{
    min-height: 100%;
    padding-top: 1px;
    margin-top: -1px;
}

html {
    height: 100%;
    /*width: fit-content;*/
}

/* Content */
.content
{
    width: 100%;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    min-height: 100%;
    height: 100%;
    -webkit-overflow-scrolling: touch;
}

.content-wrapper {
    position: relative;
    padding-bottom: 36px; /* Footer Height */
    min-height: calc(95vh - 3.13rem ); /* 3.13rem is the Header size   3.13rem = 50px */
    /*min-height: calc(100vh - 3.13rem - 50px);*/ /* 3.13rem is the Header size */
    height: 95%;
}


/* Footer */
/*.footer-wrapper {
    height: 16px;*/ /* Footer Height */
/*    position: absolute;
    bottom: 0;
    width: 100%;
    color: black;*/
/*}*/

.footer {
    font-size: 10.5px;
    /*color: #ffffff;*/
}

.footer-link {
    /*color: #ffffff;*/
    border-right: 1px solid #bbbbbb;
    margin-right: 7px;
    padding-right: 10px;
    white-space: nowrap;
}

.footer-link:last-child
{
    border: none;
    margin: 0;
    padding: 0;
}

.footer-left
{
    float: left;
}

.footer-right
{
    float: right;
}

.footer-left
{
    padding: 12px 0 16px 24px;
}

.footer-right {
    padding: 12px 56px 16px 0;
}


@media (max-width: 599px)
{
    .footer-left,
    .footer-right
    {
        padding: 16px 4px;
    }
}

/* Header */
.app-header {
    padding: 0 !important;
    box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.2);
    border-bottom-width: 0 !important;
    min-height: 50px !important;
}

.app-header .left-block
{
    float: left;
}

.app-header .right-block
{
    float: right;
}

.app-header .menu-container
{
    overflow: hidden;
}

.app-header .menu-container > div
{
    float: right;
}

.header-logo {
    /*background: url('Images/Quantum-small.png') no-repeat center;*/
    background: url('Images/ELMLogo.png') no-repeat center;
    /*background: url('Images/Quantum-App-Logo.png') no-repeat center;*/
    height: 48px;
    width: 160px;
    background-size: contain !important;
}

@media (max-width: 359px)
{
    .header-logo {
        /*background: url('Images/Quantum-small.png') no-repeat center;*/
        background: url('Images/ELMLogo.png') no-repeat center;
        /*background: url('Images/Quantum-App-Logo.png') no-repeat center;*/
        width: 26px;
    }
}

.header-logo:hover{
    cursor: pointer;
}

.app-header .left-block .header-menu .image-item > .dxm-content
{
    /*padding: 0 8px 0 8px;*/
    padding: 0px;
}

.app-header .right-block .header-menu .image-item > .dxm-content
{
    padding: 0 7px 0 7px;
}

.app-header .left-block .header-menu .item.toggle-item > .dxm-content
{
    padding: 0 14px 0 14px;
}

.app-header .right-block .header-menu .item.toggle-item > .dxm-content
{
    padding: 0 14px 0 14px;
}

.app-header .header-menu .item.selected {
    color: inherit;
    box-sizing: border-box;
    /* DXCOMMENT: Duplicates color from the web.config (devexpress->themes->baseColor) */
    border-bottom: solid 2px #3385ad;
}
.app-header .header-menu .item.selected,
.app-header .header-menu .item.hovered {
    background-color: rgba(0, 0, 0, 0.05);
    /*background-color: #5dc9ff !important;*/
}

    .app-header .header-menu .item.selected .dxm-content
    {
        margin-bottom: -2px;
    }
    .app-header .header-menu .item.selected .dxm-content,
    .app-header .header-menu .item.hovered .dxm-content
    {
        color: inherit;
    }

/* Main Menu */
.header-menu {
    background-color: #3385ad !important; /*white !important;*/
    border-style: none !important;
    /*height: 3.13rem;*/
}

@media (max-width: 599px)
{
    .menu-container .dxm-ltr > div:not(.header-menu)
    {
        width: 100% !important;
    }
    .header-sub-menu
    {
        width: 100% !important;
    }
}

.header-sub-menu .item
{
    padding: 12px 7px !important;
}

/* Ellipsis -> Apps Icon */
.header-menu .adaptive-image
{
    background: url('Images/adaptive-menu.svg') no-repeat center;
    width: 16px;
    height: 16px;
    padding: 0 8px;
}
/* Hide item images */
/*.header-menu.application-menu .item .dxm-content > img
{
    display: none !important;
}*/

@media (max-width: 720px) /* Change Ellipsis image Apps Icon */
{
    .app-header .menu-container > div
    {
        width: 47px;
    }

    .header-menu .adaptive-image
    {
        background: url('Images/application.svg') no-repeat center;
    }

    /* Show item images */
    .header-menu.application-menu .item .dxm-content > img
    {
        display: inline-block;
    }
}

/* Right area menu */
.header-menu .toggle-item .image {
    /*background: url('Images/double.svg') no-repeat center;*/
    background: url('Images/menu-white.svg') no-repeat center;
}

.header-menu .toggle-item.checked .image {
    background: url('Images/menu-white.svg') no-repeat center;

    /*background: url('Images/double-close.svg') no-repeat center;*/
    /*    background: url('Images/menu-collapse-white.svg') no-repeat center;*/
    /*    background-size: 32px 32px;*/
}

.header-menu .image-item {
    vertical-align: middle !important;
    width: 50px;
    text-align: -webkit-center;
    padding-left: 10px;
}

.header-menu .vertically-aligned
{
    font-size: 0;
}

/* Account */
.header-menu .account-background {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.1);
    margin-top: 8px;
    margin-bottom: 10px;
}

.header-menu .account-background div
{
    border-radius: 50%;
}

    .header-menu .account-background .empty-image {
        width: 16px;
        height: 16px;
        margin: 8px;
        display: inline-block;
        background: url('Images/user.svg');
    }

    .header-menu .account-background .account-image {
        width: 32px;
        height: 32px;
        font-size: 0.8em;
        font-weight: 600;
        line-height: 32px;
        text-align: center;
        margin: 0 auto;
        display: table;
        background-size: 100%;
        background-color: white;
    }

.user-info .avatar img {
    float: left;
    height: 43px;
    border-radius: 50%;
    margin-top: 10px !important;
}

.application-menu {
    border-color: #3385ad !important;
    background-color: #3385ad !important;
}

    .application-menu li.navbar-item .dxm-content {
        background-color: rgba(0, 0, 0, 0.3);
        color: #FFF;
    }

.text-container {
    padding-top: 0;
    margin-top: -10px !important;
}

.user-info .text-container {
    /*height: 3.13rem;*/
    margin-left: 60px;
}

    .user-info .text-container .user-name {
        color: #444444;
        /*font-size: 1.14em;*/
        font-size: 1.5em;
    }

    .user-info .text-container .email {
        display: block;
        color: #666666;
        /*font-size: 0.86em;*/
        font-size: 1.06em;
    }

.myaccount-item
{
    background-color: #e4e4e4;
}

/* Left Panel */
.left-panel
{
    border: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch;
}

.leftpanel-section
{
    border: none !important;
    background-color: rgba(0, 0, 0, 0.1);
}

.section-caption
{
    height: 2.69rem;
    line-height: 2.69rem;
    vertical-align: middle;
    margin: 0;
}

.section-caption
{
    border-top: solid 1px #f0f0f0;
    border-bottom: solid 1px #f0f0f0;
}

.left-panel.expand-bar,
.right-panel.expand-bar
{
    border: 0;
}

a.tree-view-node
{
    color: #666666;
    padding-top: 7px !important;
    padding-bottom: 8px !important;
    padding-right: 8px !important;
    border: none !important;
}

a.tree-view-node.hovered
{
    text-decoration: none;
}

.tree-view-elbow {

}

/* Right Panel */
.right-panel
{
    border-left: 1px solid #f0f0f0;
}

.settings-content
{
    padding: 24px 20px;
}

.settings-content h2
{
    color: #494949;
    font-size: 1.3em;
    font-weight: 600;
}

.settings-content p
{
    color: #999999;
}

/* Toolbar */
.page-toolbar-wrapper
{
    position: fixed;
    background-color: white;
    left: 272px;
    right: 0;
    z-index: 1;
}

@media(max-width: 959px) {
    .page-toolbar-wrapper {
        left: 0;
    }
}

.page-toolbar
{
    background-color: rgba(0, 0, 0, 0.1) !important;
    border: none !important;
    font-size: 0.93em !important;
    height: 2.69rem;
}

.page-toolbar .item > h1,
.section-caption
{
    color: #494949;
    font-weight: 600;
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 24px;
}

.page-toolbar .item > h1
{
    font-size: 1.46em;
}

.page-toolbar .item > h1
{
    margin: 0;
    padding: 0 17px;
}

.page-toolbar .item .dxm-disabled .dxm-image
{
    opacity: 0.3;
}

@media (max-width: 599px)
{
    .page-toolbar .item > h1
    {
        max-width: 150px;
    }
}

/*Bong added for breadcrumbs in layout page*/
.top-panel {
    box-sizing: border-box;
    height: 44px;
    display: none;
}


@media (min-width: 1200px) {
    .top-panel {
        display: block;
    }
}


.top-panel.top-panel-dark {
    border-bottom: 1px #E8E8E8 solid;
    background-color: #e6e6e6;
}


.top-panel ul.breadcrumbs {
    float: left;
    margin: 0;
    padding: 0;
    padding-left: 8px;
    list-style-type: none;
}


@media (min-width: 1200px) {
    .top-panel ul.breadcrumbs {
        padding-left: 8px;
    }
}


.top-panel ul.breadcrumbs li {
    float: left;
    margin-top: 12px;
    margin-right: 12px;
    line-height: 20px;
}


    .top-panel ul.breadcrumbs li a, .top-panel ul.breadcrumbs li span.last-breadcrumbs-item {
        font: 14px "Segoe UI", "Helvetica Neue", Helvetica, "Droid Sans", Tahoma, Geneva, sans-serif;
    }


    .top-panel ul.breadcrumbs li a {
        color: #666;
        text-decoration: none;
    }


        .top-panel ul.breadcrumbs li a:hover {
            text-decoration: underline;
        }


    .top-panel ul.breadcrumbs li span.last-breadcrumbs-item {
        color: rgba(102,102,102,0.5);
    }


    .top-panel ul.breadcrumbs li .icon.angle-right {
        margin-left: 12px;
    }


        .top-panel ul.breadcrumbs li .icon.angle-right:before {
            padding: 2px 0;
            font-size: 0.8em;
        }


    .top-panel ul.breadcrumbs li:last-child .icon.angle-right {
        display: none;
    }


.top-panel .theme-settings-menu-button {
    float: right;
    height: 64px;
    width: 60px !important;
    padding: 0;
    border-width: 0;
    font: 14px "Segoe UI", "Helvetica Neue", Helvetica, "Droid Sans", Tahoma, Geneva, sans-serif;
    color: #666;
}


    .top-panel .theme-settings-menu-button.adaptive {
        display: none;
    }


    .top-panel .theme-settings-menu-button img.icon,
    .top-panel .theme-settings-menu-button span.icon.dx-acc-s {
        height: 12px;
        margin-top: 2px;
        padding-right: 32px !important;
    }


    .top-panel .theme-settings-menu-button .dxb {
        padding: 24px 0 23px 0;
    }


    .top-panel .theme-settings-menu-button span {
        display: none !important;
        padding-right: 30px;
    }


@media (min-width: 1200px) {
    .top-panel .theme-settings-menu-button {
        width: auto !important;
        background: #e6e6e6;
    }


        .top-panel .theme-settings-menu-button.adaptive {
            display: inline-block;
        }


        .top-panel .theme-settings-menu-button span {
            display: inline !important;
        }


            .top-panel .theme-settings-menu-button img,
            .top-panel .theme-settings-menu-button span.dx-acc-s {
                display: inline-block !important;
            }
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
/*End insert breadcrumbs in layout*/

/*.header-sub-menu .dxm-item.dxm-selected {
    background-color: lightskyblue !important;
}*/

.displayNone {
    display: none !important;
}

.header-userhelp {
    background: url('Images/technical-support-icon.png') no-repeat center;
    height: 24px;
    width: 24px;
    background-size: contain !important;
}


.quantumBackGroundResizer {
    padding-top: 12px;
    padding-bottom: 12px;
}

.subheadertitle {
    font-size: 18px;
    vertical-align: middle !important;
    padding-left: 16px;
    font-weight: 600;
}

.subheadercaption1 {
    font-size: 14px;
    vertical-align: middle !important;
}
