.Content {
  width: 100%;
}

/*
 * 1 - when menu is open some part's of content is shifted to right so
 *     we need to hide overflow to not cause horisontal scroll
 */

.Content--main {
  overflow: hidden;
  /* [1] */
}

.Content-inner {
  backface-visibility: hidden;
  max-width: 112.5em;
  margin-left: auto;
  margin-right: auto;
  display: -ms-flexbox;
  display: flex;
}

.Content-section {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  position: relative;
  min-width: 0;
  -ms-flex: 0 0 auto;
      flex: 0 0 auto;
}

.Content-section--aside-end {
  width: 3.125em;
}

.Content-section--content {
  width: calc(100% - 6.25em);
}

.Content-section--aside-start {
  width: 3.125em;
}

.Content-cell {
  -ms-flex: 1 1 auto;
      flex: 1 1 auto;
}

.Content-cell--header {
  -ms-flex: 0 0 auto;
      flex: 0 0 auto;
  position: relative;
  min-height: 3.54167em;
  height: 9.44444vw;
  max-height: 10.625em;
}

.Content--headerMode-onTop .Content-section--content .Content-cell--header {
  position: absolute;
  width: 100%;
  z-index: 10;
}

.Content-section--content .Content-cell--header {
  overflow: hidden;
}

.Content-cell--bgOutEnd, .Content-cell--bgOutStart {
  position: relative;
}

.Content-cell--bgOutEnd:after, .Content-cell--bgOutStart:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  width: calc((100vw - 112.5em) / 2);
  background: inherit;
}

.Content-cell--bgOutStart:after {
  right: 100%;
}

.Content-cell--bgOutEnd:after {
  left: 100%;
}

.Content-cell--bgOutStart:before {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100vw;
  max-width: 112.5em;
  background: inherit;
}

.Content-contentHeaderImage {
  position: absolute;
  height: calc(100% + 2px);
  width: calc(100% + 2px);
  bottom: -2px;
  right: -2px;
  top: 0;
  left: 0;
  font-size: 3.54167em;
}

.Content-leftShifter {
  margin-left: calc(-1 * 25em);
}

.Content-leftPusher {
  margin-left: calc(1 * 25em);
}

.Content-headerSizer {
  min-height: 3.54167em;
  height: 9.44444vw;
  max-height: 10.625em;
}

.Content-scrollTop {
  width: 4rem;
  height: 4rem;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
}

.Content-scrollTop:after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: currentColor;
  opacity: 0.05;
}

.Content--theme-lightStart.Content--headerMode-hidden .Content__t-asideStartHeader {
  background: #f2f2f2;
  color: #1a1a1a;
}

.Content--theme-lightStart:not(.Content--headerMode-hidden) .Content__t-asideStartHeader {
  background: white;
  color: #1a1a1a;
}

.Content--theme-lightStart .Content__t-asideStartBody {
  background: #f2f2f2;
  color: #1a1a1a;
}

.Content--theme-lightStart.Content--headerMode-hidden .Content__t-asideEndHeader {
  background: white;
  color: #1a1a1a;
}

.Content--theme-lightStart:not(.Content--headerMode-hidden) .Content__t-asideEndHeader {
  background: white;
  color: #1a1a1a;
}

.Content--theme-lightStart .Content__t-asideEndBody {
  background: white;
  color: #1a1a1a;
}

.Content--theme-lightStart .Content__t-contentBody {
  background: #f2f2f2;
  color: #1a1a1a;
}

.Content--theme-lightStart:not(.Content--headerMode-onTop) .Content__t-contentHeader {
  background: #1a1a1a;
}

.Content--theme-lightStart .Content__t-contentHeader {
  color: white;
}

.Content--theme-lightEnd.Content--headerMode-hidden .Content__t-asideStartHeader {
  background: white;
  color: #1a1a1a;
}

.Content--theme-lightEnd:not(.Content--headerMode-hidden) .Content__t-asideStartHeader {
  background: white;
  color: #1a1a1a;
}

.Content--theme-lightEnd .Content__t-asideStartBody {
  background: white;
  color: #1a1a1a;
}

.Content--theme-lightEnd.Content--headerMode-hidden .Content__t-asideEndHeader {
  background: #f2f2f2;
  color: #1a1a1a;
}

.Content--theme-lightEnd:not(.Content--headerMode-hidden) .Content__t-asideEndHeader {
  background: white;
  color: #1a1a1a;
}

.Content--theme-lightEnd .Content__t-asideEndBody {
  background: #f2f2f2;
  color: #1a1a1a;
}

.Content--theme-lightEnd .Content__t-contentBody {
  background: #f2f2f2;
  color: #1a1a1a;
}

.Content--theme-lightEnd:not(.Content--headerMode-onTop) .Content__t-contentHeader {
  background: #1a1a1a;
}

.Content--theme-lightEnd .Content__t-contentHeader {
  color: white;
}

.Content--theme-dark.Content--headerMode-hidden .Content__t-asideStartHeader {
  background: #1a1a1a;
  color: white;
}

.Content--theme-dark:not(.Content--headerMode-hidden) .Content__t-asideStartHeader {
  background: #1a1a1a;
  color: white;
}

.Content--theme-dark .Content__t-asideStartBody {
  background: #1a1a1a;
  color: white;
}

.Content--theme-dark.Content--headerMode-hidden .Content__t-asideEndHeader {
  background: #1a1a1a;
  color: white;
}

.Content--theme-dark:not(.Content--headerMode-hidden) .Content__t-asideEndHeader {
  background: #1a1a1a;
  color: white;
}

.Content--theme-dark .Content__t-asideEndBody {
  background: #1a1a1a;
  color: white;
}

.Content--theme-dark .Content__t-contentBody {
  background: #1a1a1a;
  color: white;
}

.Content--theme-dark:not(.Content--headerMode-onTop) .Content__t-contentHeader {
  background: white;
}

.Content--theme-dark .Content__t-contentHeader {
  color: #1a1a1a;
}

.Content--theme-darkEnd.Content--headerMode-hidden .Content__t-asideStartHeader {
  background: white;
  color: #1a1a1a;
}

.Content--theme-darkEnd:not(.Content--headerMode-hidden) .Content__t-asideStartHeader {
  background: white;
  color: #1a1a1a;
}

.Content--theme-darkEnd .Content__t-asideStartBody {
  background: white;
  color: #1a1a1a;
}

.Content--theme-darkEnd.Content--headerMode-hidden .Content__t-asideEndHeader {
  background: #1a1a1a;
  color: white;
}

.Content--theme-darkEnd:not(.Content--headerMode-hidden) .Content__t-asideEndHeader {
  background: white;
  color: #1a1a1a;
}

.Content--theme-darkEnd .Content__t-asideEndBody {
  background: #1a1a1a;
  color: white;
}

.Content--theme-darkEnd .Content__t-contentBody {
  background: #1a1a1a;
  color: white;
}

.Content--theme-darkEnd:not(.Content--headerMode-onTop) .Content__t-contentHeader {
  background: #1a1a1a;
}

.Content--theme-darkEnd .Content__t-contentHeader {
  color: white;
}

.Content--theme-darkStart.Content--headerMode-hidden .Content__t-asideStartHeader {
  background: #1a1a1a;
  color: white;
}

.Content--theme-darkStart:not(.Content--headerMode-hidden) .Content__t-asideStartHeader {
  background: white;
  color: #1a1a1a;
}

.Content--theme-darkStart .Content__t-asideStartBody {
  background: #1a1a1a;
  color: white;
}

.Content--theme-darkStart.Content--headerMode-hidden .Content__t-asideEndHeader {
  background: white;
  color: #1a1a1a;
}

.Content--theme-darkStart:not(.Content--headerMode-hidden) .Content__t-asideEndHeader {
  background: white;
  color: #1a1a1a;
}

.Content--theme-darkStart .Content__t-asideEndBody {
  background: white;
  color: #1a1a1a;
}

.Content--theme-darkStart .Content__t-contentBody {
  background: #1a1a1a;
  color: white;
}

.Content--theme-darkStart:not(.Content--headerMode-onTop) .Content__t-contentHeader {
  background: #1a1a1a;
}

.Content--theme-darkStart .Content__t-contentHeader {
  color: white;
}

@media (min-width: 30em) {
  .Content-contentHeaderImage {
    font-size: 9vw;
  }
}

@media (min-width: 45em) {
  .Content-section--content {
    width: calc(80% - 2.5em);
  }

  .Content-section--aside-start {
    width: calc(20% - 0.625em);
  }

  .Content-leftShifter {
    margin-left: calc(-1 * (100vw * 3 / 15 - 0.625em + 21.875em));
  }

  .Content-leftPusher {
    margin-left: calc(1 * (100vw * 3 / 15 - 0.625em + 21.875em));
  }
}

@media (min-width: 80em) {
  .Content-section--aside-end {
    width: 16.66667%;
  }

  .Content-section--content {
    width: 66.66667%;
  }

  .Content-section--aside-start {
    width: 16.66667%;
  }

  .Content-contentHeaderImage {
    font-size: 8.5em;
  }

  .Content-leftShifter {
    margin-left: calc(-1 * (100vw * 3/18 + 21.875em));
  }

  .Content-leftPusher {
    margin-left: calc(1 * (100vw * 3/18 + 21.875em));
  }
}

@media (min-width: 112.5em) {
  .Content-leftShifter {
    margin-left: calc(-1 * (112.5em * 3/18 + (100vw - 112.5em) / 2 + 21.875em));
  }

  .Content-leftPusher {
    margin-left: calc(1 * (112.5em * 3/18 + (100vw - 112.5em) / 2 + 21.875em));
  }
}
