
/*  
    --primary-color:#225998;
    --secondary-color: #000000;

*/



/* 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%;
}

form {
    height: calc(100vh - 3.50rem); /* 3.50 Header size */
}

.content-wrapper {
    position: relative;
    padding-bottom: 0px; /* Footer Height */
    min-height: calc(100vh - 3.50rem)
}

html {
    height: 100%;
}

/* 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;
}

/* Footer */
.footer-wrapper {
    height: 22px; /* Footer Height */
    position: absolute;
    bottom: 0px;
    width: 100%;
    overflow: hidden;
}

.footer {
    margin-top: 2px;
    padding: 2px 10px;
    height: 20px;
    width: auto;
    float: right;
    margin-right: 30px;
    border-radius: 10px 10px 0 0;
}

    .footer div {
        height: 16px;
        padding: 0;
        width: min-content;
        float: right;
    }

    .footer a {
        font-size: 12px !important;
        color: #000000 !important;
    }

/* Header */
.app-header {
    padding: 0 !important;
    box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.2);
    border-bottom-width: 0 !important;
    background-color: #225998 !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;
            width: 100%
        }


.header-logo {
    background: url('images/logo.png') no-repeat left !important;
    background-size: 200px !important;
    height: 40px;
    width: 200px;
}

.logo_login {
    max-width: 100%;
    max-height: 40px
}

@media (max-width: 380px) {
    .header-logo {
        background: url('images/logo_small.png') no-repeat center !important;
        background-size: 60px !important;
        height: 30px;
        width: 60px !important;
    }

    .app-header .left-block .header-menu {
        max-width: 100px !important;
        min-width: 100px !important;
    }
}

.app-header .left-block .header-menu .image-item > .dxm-content {
    padding: 0 8px 0 8px;
}

.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#225998;
}

.app-header .header-menu .item.selected,
.app-header .header-menu .item.hovered {
    background-color: rgba(0, 0, 0, 0.05);
}

    .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: #225998 !important;
    border-style: none !important;
    height: 3.50rem;
}


.header-sub-menu .item, .item_left {
    padding: 12px 7px !important;
    min-width: 250px;
}

/* Ellipsis -> Apps Icon */
.header-menu .adaptive-image {
    background: url('images/app.svg') no-repeat center;
    background-size: 20px;
    width: 60px;
    padding-right: 10px;
}
/* Hide item images */
.header-menu .application-menu .item .dxm-content > img {
    _display: none !important;
}



@media (max-width: 760px) /* Change Ellipsis image Apps Icon */ {
    .app-header .menu-container > div {
        width: 50px;
    }


    /* 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;
}

.header-menu .toggle-item.checked .image {
    background: url('images/double-close.svg') no-repeat center;
}

.header-menu .image-item {
    vertical-align: middle !important;
}

.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);
}

    .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_white.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: 10%;
    }

.user-info {
    padding: 10px;
}

    .user-info .avatar img {
        float: left;
        height: 43px;
        border-radius: 50%;
    }

    .user-info .text-container {
        height: 3.13rem;
        margin-left: 60px;
        margin-top: 6px;
    }

        .user-info .text-container .user-name {
            font-size: 1.14em;
            font-weight: bold;
        }

        .user-info .text-container .user-group {
            display: block;
            font-size: 0.86em;
        }

.myaccount-item {
    background-color: #e4e4e4 !important;
}

/* Left Panel */
.left-panel {
    border: none;
    box-shadow: 2px 2px 2px 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 {
    padding-top: 3px;
}

/* Right Panel */
.right-panel {
    border-left: 1px solid #f0f0f0;
}


/* Toolbar */
.page-toolbar-wrapper {
    position: fixed;
    background-color: white;
    top:56px;
    left: 272px;
    right: 0;
    z-index: 2;
    transition: top .12s ease-in;
}

.no_page-toolbar-wrapper {
    top: -4em; 
}

@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;
    }
}
