.container {
  position: relative;
  max-width: @container-width;

  &--centered {
    margin: 0 auto;
  }
}

.demo-box {
  height: 50px;
  background: @gray-3;
  text-align: center;
  color: @gray-8;
  margin-bottom: 20px;
  .border-radius(3px);
  line-height: 50px;
  font-family: @font-monospace;
  font-size: @font-size-small;
}

.mt-row {
  .display(flex);
  .align-items(stretch);
  padding: 0;
  width: 100%;
  .flex-direction(row);
  margin-left: -10px;
  .calc(width, ~'100% + 20px');

  &.row--no-padding {
    padding: 0;

    &> .mt-column {
      padding: 0;
    }
  }

  &.mt-row--wrap {
    .flex-wrap(wrap);
  }

  &.mt-row--top {
    .align-items(flex-start);
  }

  &.mt-row--bottom {
    .align-items(flex-end);
  }

  &.mt-row--center {
    .align-items(center);
  }

  &.mt-row--stretch {
    .align-items(stretch);
  }

  &.mt-row--baseline {
    .align-items(baseline);
  }

  .mt-column {
    display: block;
    .flex(1 1 auto);
    margin-left: 0;
    max-width: 100%;
    width: 100%;
    margin-bottom: inherit;
    padding: 0 10px;

    .mt-column--auto {
      .align-self(auto);
    }

    .mt-column--top {
      .align-self(flex-start);
    }

    .mt-column--bottom {
      .align-self(flex-end);
    }

    .mt-column--center {
      .align-self(center);
    }

    &.mt-column--offset-10   { margin-left: 10%; }
    &.mt-column--offset-125  { margin-left: 12.5%; }
    &.mt-column--offset-20   { margin-left: 20%; }
    &.mt-column--offset-25   { margin-left: 25%; }
    &.mt-column--offset-30   { margin-left: 30%; }
    &.mt-column--offset-33   { margin-left: 33.3333%; }
    &.mt-column--offset-40   { margin-left: 40%; }
    &.mt-column--offset-50   { margin-left: 50%; }
    &.mt-column--offset-60   { margin-left: 60%; }
    &.mt-column--offset-67   { margin-left: 66.6666%; }
    &.mt-column--offset-70   { margin-left: 70%; }
    &.mt-column--offset-75   { margin-left: 75%; }
    &.mt-column--offset-80   { margin-left: 80%; }
    &.mt-column--offset-90   { margin-left: 90%; }

    &.mt-column--10 {
      .flex(0 0 10%);
      max-width: 10%;
    }

    &.mt-column--20 {
      .flex(0 0 20%);
      max-width: 20%;
    }

    &.mt-column--25 {
      .flex(0 0 25%);
      max-width: 25%;
    }

    &.mt-column--30 {
      .flex(0 0 30%);
      max-width: 30%;
    }

    &.mt-column--33 {
      .flex(0 0 33.3333%);
      max-width: 33.3333%;
    }

    &.mt-column--40 {
      .flex(0 0 40%);
      max-width: 40%;
    }

    &.mt-column--50 {
      .flex(0 0 50%);
      max-width: 50%;
    }

    &.mt-column--60 {
      .flex(0 0 60%);
      max-width: 60%;
    }

    &.mt-column--67 {
      .flex(0 0 66.6666%);
      max-width: 66.6666%;
    }

    &.mt-column--70 {
      .flex(0 0 70%);
      max-width: 70%;
    }

    &.mt-column--75 {
      .flex(0 0 75%);
      max-width: 75%;
    }

    &.mt-column--80 {
      .flex(0 0 80%);
      max-width: 80%;
    }

    &.mt-column--90 {
      .flex(0 0 90%);
      max-width: 90%;
    }
  }
}