// Do not edit this file. Create a custom theme instead.

.unit(@units:1) {
  width: (@unitStandardWidth + ((@units - 1) * (@unitStandardWidth + @gridUnitGutter)));
}

.max-unit(@units:1) {
  max-width: (@unitStandardWidth + ((@units - 1) * (@unitStandardWidth + @gridUnitGutter)));
}

.block-region-topbar,
.block-region-navigation,
.block-region-billboard,
.block-region-placard,
.block-region-supplement,
.block-region-appendix,
.block-region-rider,
.block-region-footer {
  .unit(@gridTotalUnits);
}

.node-article .field-name-field-image img {
  body.two-sidebars #main & {
    .max-unit(@gridTwoSidebarsMain - @gridNodeAside);
  }
  body.sidebar-first #main  & {
    .max-unit(@gridSidebarFirstMain - @gridNodeAside);
  }
  body.sidebar-second #main  & {
    .max-unit(@gridSidebarSecondMain - @gridNodeAside);
  }
}
