.md-overlayer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998; }

.md-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 370px;
  z-index: 1;
  background-color: #eee;
  box-shadow: 0 -5px 8px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(370px);
  transition: transform .25s ease;
  z-index: 999; }
  .md-wrap.md-active {
    transform: translateY(0); }

.md-head {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  padding: 8px 10px;
  box-sizing: border-box;
  border-bottom: 1px solid #ccc; }
  .md-head .md-btn {
    font-size: 18px;
    color: #007aff;
    padding: 5px 25px;
    box-sizing: border-box;
    border: 1px solid currentcolor;
    border-radius: 4px; }
  .md-head .md-cancel {
    float: left;
    color: #999; }
  .md-head .md-sure {
    float: right; }

.md-col {
  position: relative;
  float: left;
  width: 100%;
  height: 100%;
  overflow: hidden; }

.md-col-1 {
  width: 100%; }

.md-col-2 {
  width: 50%; }

.md-col-3 {
  width: 33.33333333333%; }

.md-col-4 {
  width: 25%; }

.md-col-5 {
  width: 20%; }

.md-body {
  position: absolute;
  top: 80px;
  left: 0;
  width: 100%;
  height: 280px;
  padding: 0 10px;
  box-sizing: border-box; }
  .md-body .md-col-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.98), rgba(0, 0, 0, 0.0666667)), linear-gradient(to top, rgba(255, 255, 255, 0.98), rgba(0, 0, 0, 0.0666667));
    background-position: top, bottom;
    background-size: 100% 120px;
    background-repeat: no-repeat; }
  .md-body .md-col-indicator {
    position: absolute;
    top: 120px;
    left: 0;
    width: 100%;
    height: 40px;
    line-height: 40px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box; }
  .md-body .md-col-items {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    color: #000; }
    .md-body .md-col-items .md-item {
      float: left;
      height: 40px;
      width: 100%;
      text-align: center;
      line-height: 40px; }

.md-unit {
  position: absolute;
  top: 50px;
  left: 0px;
  width: 100%;
  height: 30px;
  padding: 0 10px;
  box-sizing: border-box; }
  .md-unit .md-col-unit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: #999;
    z-index: 4;
    text-align: center;
    line-height: 30px;
    font-size: 16px; }
