html,
body {
  height: 100%;
  margin: 0 auto;
  overflow: hidden;

}

/* ==================================================================================== */
#MainLayout {
  display: flex;
  flex-direction: column;
  width: inherit;
  height: inherit;
  overflow: hidden;
}

/* ==================================================================================== */
#LayoutHeader {
  justify-self: flex-start;
  text-align: center;
  align-content: center;
  padding: 0 8px 0 0;
}

/* ==================================================================================== */
#LayoutContent {
  justify-self: stretch;
  flex: 1 1 auto;
  overflow: hidden;
}

#LayoutContent .ContainsSidebar {
  padding: 0 3px 0 3px;
  /* background-color: rgba(100, 100, 100, 0.1); */
}

/* ==================================================================================== */
#LayoutFooter {
  justify-self: flex-end;
  text-align: center;
  padding: 0 8px 0 8px;
  border-top-style: inset;
}


/* ==================================================================================== */
#MainPage {
  display: flex;
  flex-direction: column;
  width: inherit;
  height: inherit;
  overflow: hidden;
  color: inherit;
}

/* ==================================================================================== */
#PageToolbar {
  justify-self: flex-start;
  text-align: center;
  vertical-align: middle;
  padding: 0 8px 0 8px;
}

#PageToolbar>* .Page-Title {
  font-size: 0.9rem;
  font-weight: bold;
  text-align: left;
}

#PageToolbar>* .items-before,
#LayoutHeader>* .items-before {
  border-right-style: outset;
  margin: 0 10px 0 10px;
}

#PageToolbar>* .items-after,
#LayoutHeader>* .items-after {
  border-left-style: inset;
  margin: 0 10px 0 10px;
}

/* ==================================================================================== */
#PageContains {
  flex: 1 0 auto;
  height: 0;
  overflow: hidden;
  background-color: transparent;
}

/* ==================================================================================== */
.toolbar-separator {
  height: 48px;
  margin: 0 5px;
  border-left-style: inset;
}

.toolbar-menu-separator {
  height: 1px;
  border-bottom: 1px solid #ddd;
}

.toolbar-background-color {
  /* background-color: rgba(0, 0, 0, 0.3); */
}

/* ==================================================================================== */
@media only screen and (max-width: 1280px) {
  .pageButton {
    margin: 0.5%;
    width: 19%;
  }
}

@media only screen and (max-width: 960px) {
  #LayoutContent .ContainsSidebar {
    padding: 0 3px 0 3px;
    background-color: rgb(100, 100, 100);
  }

  .pageButton {
    margin: 1%;
    width: 23%;
  }

}

@media only screen and (max-width: 600px) {
  .pageButton {
    margin: 1.5%;
    width: 30.33%;
  }

  .dx-actionsheet-container>* .dx-button-content {
    justify-content: center;
  }

}

@media only screen and (max-width: 480px) {
  .pageButton {
    margin: 0.9%;
    width: 48.2%;
  }

}

@media only screen and (max-width: 368px) {
  .pageButton {
    margin: auto;
    margin-bottom: 10px;
    width: 100%;
  }
}