/* ==========================================================================
   Rows.
   ========================================================================== */
.row {
  position: relative;
  width: 100%;
  max-width: var(--screen-m);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter-m);
  padding-right: var(--gutter-m);
  box-sizing: border-box;
}

.row--tiny {
  max-width: var(--screen-m);
}
.row--small {
  max-width: 1440px;
}
.row--full {
  max-width: 1920px;
}
.row--fluid {
  max-width: 1140px;

  body.l-wide-page & {
    max-width: 1920px;
  }
  body.l-print.l-print--portrait & {
    max-width: var(--print-page-width);
  }
  body.l-print.l-print--landscape & {
    max-width: var(--print-page-height);
  }
}
.row--print {
  margin-left: 0;
}

/* ==========================================================================
   Layouts.
   ========================================================================== */
.l-wrapper {
  display: flex;
  flex-flow: row wrap;
  align-content: flex-start;
  margin-left: calc(var(--gutter-xs) * -1);
  margin-right: calc(var(--gutter-xs) * -1);
}
.l-half,
.l-twothird,
.l-third,
.l-quarter,
.l-full {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  min-height: 1px;
  max-width: 100%;
  box-sizing: border-box;
  padding-left: var(--gutter-xs);
  padding-right: var(--gutter-xs);
  margin-bottom: var(--space-l);
}
@media screen and (min-width: 48em) {
  .l-half,
  .l-third,
  .l-quarter {
    width: 50%;
  }
}
@media screen and (min-width: 80em) {
  .l-third {
    width: 33.33%;
  }
  .l-twothird {
    width: 66.66%;
  }
  .l-quarter {
    width: 25%;
  }
}
.l-full {
  width: 100%;
}


/* ==========================================================================
   Page.
   ========================================================================== */
.page {
  position: relative;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: hidden;

  .l-sticky-event & {
    padding-top: var(--sticky-event-height);
  }
}

/* ==========================================================================
   Page site unpublished.
   ========================================================================== */
.route--datagone-site-unpublished {
  text-align: center;

  .content {
    .l-breadcrumb-fixed:not(.is-front) & {
      padding-top: 0;
    }
  }
  header {
    margin: var(--space-l) 0;
  }

  .logo {
    margin-bottom: var(--space-l);
    text-align: center;

    a {
      display: inline-block;
    }
  }

  h1 {
    margin-bottom: var(--space-l);
  }

  .form {
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);

    &:before {
      content: "";
      display: block;
      width: 100px;
      height: 2px;
      background: var(--color-fg-primary);
      transform: translate(100px, -36px);
    }

    label {
      text-align: left;
    }
  }
}

/* ==========================================================================
   Views.
   ========================================================================== */
.view-empty {
  margin: var(--space-l) 0;
  padding-bottom: var(--space-xs);
  text-align: center;
  font-style: italic;
}

/* ==========================================================================
   Utils.
   ========================================================================== */
/*
 * Only display content to screen readers
 */
.is-visually-hidden,
.views-exposed-form[data-bef-auto-submit-full-form] .form-actions,
.form--search-global .form-group-title,
.form--search-global .form-submit,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
  border: 0;
}

/*
 * Use in conjunction with .sr-only to only display content when it's focused.
 */
.sr-only-focusable {
  &:active,
  &:focus {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    clip-path: none;
  }
}

/*
 * Clearfix.
 */
.clearfix {
  &::after {
    display: block;
    clear: both;
    content: "";
  }
}
