//
// Grid system
// --------------------------------------------------
// Container widths
//
// Set the container width, and override it for fixed navbars in media queries.
.container {
  .container-fixed();
  @media (min-width: @screen-xxxs-min) {
    width: 90%;
  }
  @media (min-width: @screen-xxs-min) {
    width: 90%;
  }
  @media (min-width: @screen-xs-min) {
    width: 90%;
  }
  @media (min-width: @screen-sm-min) {
    width: 90%;
  }
  @media (min-width: @screen-md-min) {
    width: 90%;
  }
  @media (min-width: @screen-lg-min) {
    width: @container-lg;
  }
}

// Fluid container
//
// Utilizes the mixin meant for fixed width containers, but without any defined
// width for fluid, full width layouts.
.container-fluid {
  .container-fixed();
}

// Row
//
// Rows contain and clear the floats of your columns.
.row {
  .make-row();
}

// Columns
//
// Common styles for small and large grid columns
.make-grid-columns();
@md: ~"@{grid-prefix}-md";
@xxxs: ~"@{grid-prefix}-xxxs";
@xxs: ~"@{grid-prefix}-xxs";
@xs: ~"@{grid-prefix}-xs";
@sm: ~"@{grid-prefix}-sm";
@lg: ~"@{grid-prefix}-lg";
@media (min-width: @screen-xxxs-min) and (max-width: @screen-lg-max) {
  .make-grid(@md);
}

@media (min-width: @screen-xxxs-min) and (max-width: @screen-xxxs-max) {
  .make-grid(@xxxs);
}

@media (min-width: @screen-xxs-min)  and (max-width: @screen-xxs-max) {
  .make-grid(@xxs);
}

@media (min-width: @screen-xs-min)  and (max-width: @screen-xs-max) {
  .make-grid(@xs);
}

@media (min-width: @screen-sm-min)  and (max-width: @screen-sm-max) {
  .make-grid(@sm);
}

// Columns, offsets, pushes, and pulls for the large desktop device range.
@media (min-width: @screen-md-min)  and (max-width: @screen-md-max) {
  .make-grid(@md);
}

@media (min-width: @screen-lg-min) and (max-width: @screen-lg-max) {
  .make-grid(@lg);
}

/*====================================
=            BREAK POINTS            =
====================================*/
@wide-screen-down: ~'(min-width: 1200px)';
@desktop-down: ~'(min-width: 992px) and (max-width: 1200px)';
@tablet-down: ~'(min-width: 768px) and (max-width: 992px)';
@phone-down: ~'(min-width: 576px) and (max-width: 768px)';
@small-phone-down: ~'(max-width: 576px)';
