:host {
  /**
   * @prop --background: Background of the Content
   * @prop --color: Color of the Content
   * @prop --padding-top: Padding top of the Content
   * @prop --padding-bottom: Padding bottom of the Content
   * @prop --padding-start: Padding start of the Content
   * @prop --padding-end: Padding end of the Content
   * @prop --keyboard-offset: Keyboard offset of the Content
   * @prop --offset-top: Offset top of the Content
   * @prop --offset-bottom: Offset bottom of the Content
   *
   * @prop --hr-height: Height of the hr in the Content
   * @prop --hr-background: Background of the hr in the Content
   */
  --background: var(--ion-background-color, #fff);
  --color: var(--ion-text-color, #000);
  --padding-top: 0px;
  --padding-bottom: 0px;
  --padding-start: 0px;
  --padding-end: 0px;
  --keyboard-offset: 0px;
  --offset-top: 0px;
  --offset-bottom: 0px;
  display: block;
  position: relative;
  flex: 1;
  /* stylelint-disable */
  padding: 0 !important;
  margin: 0 !important;
  /* stylelint-enable */
  background: var(--background);
  color: var(--color);
  contain: layout size style; }

:host(.ion-color) {
  --hr-background: var(--ion-color-shade);
  background: var(--ion-color-base);
  color: var(--ion-color-contrast); }

:host(.outer-content) {
  --background: var(--ion-background-color-step-50, #f2f2f2);
  --hr-background: var(--ion-background-color-step-150, #d9d9d9); }

.inner-scroll {
  left: 0;
  right: 0;
  top: calc(var(--offset-top) * -1);
  bottom: calc(var(--offset-bottom) * -1);
  padding: calc(var(--padding-top) + var(--offset-top)) var(--padding-end) calc(var(--padding-bottom) + var(--keyboard-offset) + var(--offset-bottom)) var(--padding-start);
  position: absolute;
  box-sizing: border-box;
  overflow: hidden; }

.scroll-y,
.scroll-x {
  -webkit-overflow-scrolling: touch;
  will-change: scroll-position;
  overscroll-behavior: contain; }

.scroll-y {
  overflow-y: auto; }

.scroll-x {
  overflow-x: auto; }

.overscroll::before,
.overscroll::after {
  position: absolute;
  width: 1px;
  height: 1px;
  content: ""; }

.overscroll::before {
  bottom: -1px; }

.overscroll::after {
  top: -1px; }

::slotted(hr) {
  height: var(--hr-height);
  background: var(--hr-background); }

:host {
  --hr-height: 0.55px;
  --hr-background: rgba(var(--ion-text-color-rgb, 0, 0, 0), 0.12);
  font-family: var(--ion-font-family, inherit); }
