﻿/* Layout */
/* Content */
/* Footer */
/* Header */
/* Main Menu */
/* Ellipsis -> Apps Icon */
/* Hide item images */
/* Change Ellipsis image Apps Icon */
/* Show item images */
/* Right area menu */
/* Account */
/* Left Panel */
/* Right Panel */
/* Toolbar */
html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  position: relative;
  padding-top: 1px;
  margin-top: -1px;
  min-height: calc(100vh - 52px);
  box-sizing: border-box;
}

.form {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  padding-bottom: 46px;
  height: 100%;
}

.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;
  overflow-x: hidden;
}

.footer-wrapper {
  height: 46px;
  position: absolute;
  bottom: 0;
  width: 100%;
}

.footer {
  font-size: 10.5px;
  color: #999999;
}

.footer-link {
  color: #999999;
  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;
  padding: 16px 24px;
}

.footer-right {
  float: right;
  padding: 16px 24px;
}

.app-header {
  padding: 0 !important;
  box-shadow: 0px 2px 5px 0 rgba(0, 0, 0, 0.2);
  border-bottom-width: 0 !important;
}
.app-header .left-block {
  float: left;
}
.app-header .left-block .header-menu .image-item > .dxm-content {
  padding: 0 8px 0 8px;
}
.app-header .left-block .header-menu .item.toggle-item > .dxm-content {
  padding: 0 14px 0 14px;
}
.app-header .right-block {
  float: right;
}
.app-header .right-block .header-menu .image-item > .dxm-content {
  padding: 0 7px 0 7px;
}
.app-header .right-block .header-menu .item.toggle-item > .dxm-content {
  padding: 0 14px 0 14px;
}
.app-header .menu-container {
  overflow: hidden;
}
.app-header .menu-container > div {
  float: right;
}
.app-header .header-menu .item.selected {
  color: inherit;
  box-sizing: border-box;
  border-bottom: solid 2px #007BF7;
  background-color: rgba(0, 0, 0, 0.05);
}
.app-header .header-menu .item.selected .dxm-content {
  margin-bottom: -2px;
  color: inherit;
}
.app-header .header-menu .item.hovered {
  background-color: rgba(0, 0, 0, 0.05);
}
.app-header .header-menu .item.hovered .dxm-content {
  color: inherit;
}

.header-logo {
  background: url("/Content/viwo.svg") no-repeat center;
  height: 26px;
  width: 150px;
  background-size: 140px;
}

.header-menu {
  background-color: white !important;
  border-style: none !important;
  height: 3.13rem;
}
.header-menu .adaptive-image {
  background: url("Images/adaptive-menu.svg") no-repeat center;
  width: 16px;
  height: 16px;
  padding: 0 8px;
}
.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;
}
.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.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%;
}

.header-sub-menu {
  width: 100% !important;
}
.header-sub-menu .item {
  padding: 12px 7px !important;
}

.header-menu.application-menu .item .dxm-content > img {
  display: none !important;
}

.user-info .avatar img {
  float: left;
  height: 43px;
  border-radius: 50%;
}
.user-info .text-container {
  height: 3.13rem;
  margin-left: 60px;
}
.user-info .text-container .user-name {
  color: #444444;
  font-size: 1.14em;
}
.user-info .text-container .email {
  display: block;
  color: #666666;
  font-size: 0.86em;
}

.myaccount-item {
  background-color: #e4e4e4;
}

.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;
  border-top: solid 1px #f0f0f0;
  border-bottom: solid 1px #f0f0f0;
  color: #494949;
  font-weight: 600;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 24px;
}

.left-panel.expand-bar {
  border: 0;
}

.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 {
  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;
}

.page-toolbar-wrapper {
  position: fixed;
  background-color: white;
  left: 0;
  right: 0;
  z-index: 1;
}

.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 {
  color: #494949;
  font-weight: 600;
  font-style: normal;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 24px;
  font-size: 1.46em;
  margin: 0;
  padding: 0 17px;
}
.page-toolbar .item .dxm-disabled .dxm-image {
  opacity: 0.3;
}

@media (max-width: 599px) {
  .footer-left {
    padding: 16px 4px;
  }

  .footer-right {
    padding: 16px 4px;
  }

  .menu-container .dxm-ltr > div:not(.header-menu) {
    width: 100% !important;
  }

  .page-toolbar .item > h1 {
    max-width: 150px;
  }
}
@media (max-width: 359px) {
  .header-logo {
    background: url("/Content/viwo.svg") no-repeat center;
    width: 26px;
  }
}
@media (max-width: 720px) {
  .app-header .menu-container > div {
    width: 47px;
  }

  .header-menu .adaptive-image {
    background: url("Images/application.svg") no-repeat center;
  }

  .header-menu.application-menu .item .dxm-content > img {
    display: inline-block;
  }
}
.nav-badge {
  display: inline-block;
  min-width: 1em;
  min-height: 1em;
  font-size: 11px;
  line-height: 0.99;
  border-radius: 2em;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 3px 5px 2px;
  text-align: center;
}

.dxeHLC, .dxeHC, .dxeHFC {
  display: none;
}

.list-item {
  border-bottom: 1px solid #ebebeb;
  display: flex;
  flex-direction: row;
}
.list-item .prod-info {
  font-size: 0.9em;
  font-weight: 700;
  font-family: "Consolas";
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  width: 100%;
}
.list-item .prod-info span.prod-code {
  color: #2196F3;
}
.list-item .prod-info span.prod-id {
  margin-left: 10px;
  background: #ebebeb;
  font-size: 0.9em;
  padding: 2px 7px;
  border-radius: 2px;
}
.list-item .prod-details {
  display: flex;
  width: calc(100% - 150px);
  flex-direction: column;
}
.list-item .prod-quantity {
  width: 150px;
  display: flex;
  flex-direction: column;
  text-align: right;
}
.list-item .prod-quantity span.prod-amount {
  width: 100%;
  text-align: right;
  display: block;
  font-weight: 700;
  font-family: Consolas;
}
.list-item .prod-quantity span.prod-amount.out-of-stock {
  color: #E91E63;
  font-weight: normal;
}
.list-item .prod-quantity span.package-count {
  width: 100%;
  text-align: right;
  display: block;
  font-size: 0.9em;
  color: #607D8B;
  font-family: "Consolas";
  font-style: italic;
}

.dxgvEditFormDisplayRow_Office365 td.dxgv, .dxgvDetailCell_Office365 td.dxgv, .dxgvDataRow_Office365 td.dxgv, .dxgvDetailRow_Office365.dxgvADR td.dxgvAIC {
  border-bottom: 1px solid #ebebeb !important;
  border-right: none;
}
