.flex #overall-page-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  display: -webkit-box;
  display: -moz-box;
  display: box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -moz-box-orient: vertical;
  box-orient: vertical;
  -webkit-box-direction: normal;
  -moz-box-direction: normal;
  box-direction: normal;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  flex-direction: column;
  -ms-flex-direction: column;
  min-height: 100%;
}
.flex .page {
  position: relative;
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  box-flex: 1;
  -webkit-flex: 1;
  -moz-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  cursor: default !important;
  -webkit-overflow-scrolling: touch;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  vertical-align: top;
  padding-left: 0px;
  padding-right: 0px;
  height: 100%;
  outline: none;
  margin: 0px auto;
}
.flex footer,
.flex header {
  min-height: 5%;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
  position: relative;
  width: 100%;
  -webkit-box-flex: 0;
  -moz-box-flex: 0;
  box-flex: 0;
  -webkit-flex: 0 0 auto;
  -moz-flex: 0 0 auto;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
}
.mobile.no-flex #overall-page-content {
  min-height: 935px !important;
}
.no-flex #overall-page-content {
  min-height: 80%;
}
.no-flex .page {
  min-height: 86.733% !important;
}
.no-flex .chrome .page {
  min-height: 92.733%;
}
.no-flex header,
#header {
  margin-bottom: 0px;
  color: #000;
}
.no-flex header {
  top: 0px !important;
  width: 100% !important;
  height: 65px;
  z-index: 1000;
}
.mobile .no-flex header {
  height: 55px;
}
.no-flex header.fixed-off {
  position: absolute !important;
}
.no-flex footer {
  height: 40px !important;
  color: #fff;
  width: 100%;
  min-height: 40px !important;
  height: 3%;
  position: fixed !important;
  bottom: 0px;
  z-index: 2;
}
