/**
 * @file
 * Positioning for responsive layout.
 *
 * Define CSS classes to create a table-free, 3-column, 2-column, or single
 * column layout depending on whether blocks are enabled in the left or right
 * columns.
 *
 */
/*
 * Hide .mobile-hide elements for mobile version.
 */
@media all and (max-width: 480px) {
  .mobile-hide {
    display: none;
  }
}
/*
 * Center the page.
 */
#page,
.region-bottom {
  /* For screen sizes larger than 960px, prevent excessively long lines of text
     by setting a max-width. */
  margin-left: auto;
  margin-right: auto;
  max-width: 960px;
}

/*
 * Apply the shared properties of grid items in a single, efficient ruleset.
 */
#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
#footer {
  clear: both;
}

/*
 * Containers for grid items and flow items.
 */
#page,
#brand-bar .wrapper,
#footer .wrapper {
  padding: 0 15px;
}
@media all and (min-width: 990px) {
  #page,
  #brand-bar .wrapper,
  #footer .wrapper {
    padding: 0;
  }
}

@media all and (min-width: 481px) {
  #main {
    *zoom: 1;
    max-width: 100%;
    padding-left: 1.06383%;
    padding-right: 1.06383%;
    margin-left: auto;
    margin-right: auto;
  }
  #main:after {
    content: "";
    display: table;
    clear: both;
  }
}

@media all and (min-width: 481px) {
  #masthead {
    margin-left: -1.06383%;
    margin-right: -1.06383%;
  }
}

@media all and (max-width: 480px) {
  #navigation {
    margin-left: -15px;
    margin-right: -15px;
  }
}

.panel-layout-eca-one-half-one-half-strata .panel-strata-4-first-half {
  width: auto;
  float: none;
}
@media all and (min-width: 481px) {
  .panel-layout-eca-one-half-one-half-strata .panel-strata-4-first-half {
    float: left;
    width: 50.0%;
    margin-right: 1.06383%;
    clear: left;
    margin-left: -1.06383%;
  }
  .lt-ie8 .panel-layout-eca-one-half-one-half-strata .panel-strata-4-first-half {
    margin-right: 0;
  }
  .panel-layout-eca-one-half-one-half-strata .panel-strata-4-first-half > .pane-content {
    overflow: hidden;
    *zoom: 1;
    margin-bottom: 1.33333em;
  }
}
.panel-layout-eca-one-half-one-half-strata .panel-strata-4-second-half {
  width: auto;
  float: none;
}
@media all and (min-width: 481px) {
  .panel-layout-eca-one-half-one-half-strata .panel-strata-4-second-half {
    float: left;
    width: 50.0%;
    margin-left: 1.06383%;
    margin-right: -1.06383%;
  }
  .lt-ie8 .panel-layout-eca-one-half-one-half-strata .panel-strata-4-second-half {
    padding-bottom: 1.33333em;
    float: right;
  }
}

@media all and (min-width: 481px) {
  .panel-eca-two-third-one-third-strata .panel-strata-1 {
    padding-left: 3.19149%;
    width: 96.80851%;
  }
}
.panel-eca-two-third-one-third-strata .center-wrapper > .two-thirds-width {
  width: auto;
  float: none;
}
@media all and (min-width: 481px) {
  .panel-eca-two-third-one-third-strata .center-wrapper > .two-thirds-width {
    float: left;
    width: 67.02128%;
    margin-right: 2.12766%;
    margin-left: -1.06383%;
  }
}
.panel-eca-two-third-one-third-strata .center-wrapper > .third-width {
  width: auto;
  float: none;
}
@media all and (min-width: 481px) {
  .panel-eca-two-third-one-third-strata .center-wrapper > .third-width {
    float: left;
    width: 32.97872%;
    margin-right: -1.06383%;
  }
}

.panel-layout-eca-one-third-two-third-strata .third-width {
  width: auto;
  float: none;
}
@media all and (min-width: 481px) {
  .panel-layout-eca-one-third-two-third-strata .third-width {
    float: left;
    width: 32.97872%;
    margin-right: 2.12766%;
    margin-left: -1.06383%;
  }
}
.panel-layout-eca-one-third-two-third-strata .two-thirds-width {
  width: auto;
  float: none;
}
@media all and (min-width: 481px) {
  .panel-layout-eca-one-third-two-third-strata .two-thirds-width {
    width: 65.95745%;
    float: right;
    margin-right: 0;
    *margin-left: -2.12766%;
  }
}
