/**
 SASS files that don't get compiled into CSS. Do not put element selectors in here.
 Every file not starting with '_' should import this file if you want to use functions and mixins.
 */
/**
 * SASS variables
 *
 These are only used in the properties and abstract SASS files.
 */
/**
 Breakpoints and columns
 */
/**
 Text
 */
/**
Fill in the header styles, only write the properties you want to override.
 */
/**
  Buttons
 */
/**
 Breakpoints

 @param {Keyword} $breakpoint - The breakpoint name of the minimum width. Can be any of the names in the $breakpoint variable
 */
/**
  Custom column size.
  Especially handy inside other columns.

  @param {Number|string} $size - the size in columns or 'expand'/'shrink'.
  @param {number} $total - the total size in columns. Ignored when size is 'expand'/'shrink'
 */
/**
  Custom offset size.
  Especially handy inside other columns.

  @param {Number|string} $size - the size of the offset.
  @param {number} $total - the total size in columns.
  @param {string} - the side from the offset.
 */
:root {
  --header-padding-x: 32px;
  --header-margin-bottom: 30px;
}
@media (min-width: 1200px) {
  :root {
    --header-padding-x: 34px;
  }
}

.region-header {
  padding-block: 20px;
  margin-bottom: var(--header-margin-bottom);
}
.region-header .system-branding-block {
  order: 2;
}
@media (min-width: 1200px) {
  .region-header .system-branding-block {
    grid-row: 2;
    order: unset;
  }
}
@media (min-width: 1200px) {
  .region-header .system-menu-block {
    grid-row: 2;
  }
}
@media (min-width: 1200px) {
  .region-header .menu--secondary {
    grid-row: 2;
  }
}
.region-header #block-elaba-off-canvas-right-toggle {
  order: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 1200px) {
  .region-header #block-elaba-off-canvas-right-toggle {
    order: unset;
  }
}

.region-header:not(.menu--secondary) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  row-gap: 0px;
}
@media (min-width: 1200px) {
  .region-header:not(.menu--secondary) {
    display: grid;
    grid-template-columns: 1fr minmax(var(--site-logo-width), auto) 1fr;
    align-items: end;
  }
}

.region-header:has(.menu--secondary) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  row-gap: 0px;
}
@media (min-width: 1200px) {
  .region-header:has(.menu--secondary) {
    display: grid;
    grid-template-columns: 1fr minmax(var(--site-logo-width), auto) 1fr;
    align-items: center;
  }
}
@media (min-width: 1200px) {
  .region-header:has(.menu--secondary) .site-logo img {
    margin-left: 0;
  }
}
.region-header:has(.menu--secondary) .menu {
  padding-bottom: 12px;
}
@media (min-width: 1200px) {
  .region-header:has(.menu--secondary) .menu {
    grid-row: 2;
  }
}
.region-header:has(.menu--secondary) .system-branding-block {
  flex: 1 0 auto;
}
@media (min-width: 1200px) {
  .region-header:has(.menu--secondary) .system-branding-block {
    grid-row: 2;
  }
}
.region-header:has(.menu--secondary) ul.menu {
  padding-bottom: 0px;
}
.region-header:has(.menu--secondary) #block-elaba-off-canvas-right-toggle {
  margin-left: auto;
}
@media (min-width: 1200px) {
  .region-header:has(.menu--secondary) #block-elaba-off-canvas-right-toggle {
    grid-row: 2;
  }
}
.region-header:has(.menu--secondary) #block-elaba-off-canvas-right-toggle #dialog-open-off-canvas-right {
  width: 48px;
  height: 48px;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background-color: transparent;
  row-gap: 7px;
}
.region-header:has(.menu--secondary) #block-elaba-off-canvas-right-toggle #dialog-open-off-canvas-right:before, .region-header:has(.menu--secondary) #block-elaba-off-canvas-right-toggle #dialog-open-off-canvas-right:after {
  content: "";
  height: 2px;
  width: 24px;
  background-color: var(--text-color);
}
@media (min-width: 1200px) {
  .region-header:has(.menu--secondary) #block-elaba-secondary-menu {
    justify-self: end;
  }
}

.language-switcher-language-url {
  grid-row: 1;
  grid-column: 1/4;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  order: 1;
  width: 100%;
}
@media (min-width: 1200px) {
  .language-switcher-language-url {
    margin-bottom: -12px;
    justify-content: center;
    order: unset;
  }
}

.language-switcher-language-url ul.links {
  padding: 5px 12px;
  list-style-type: none;
  display: flex;
  padding-top: 8px;
  gap: 0px;
  background-color: var(--secondary-dark-color);
  border-radius: 100px;
  height: -moz-fit-content;
  height: fit-content;
}
.language-switcher-language-url ul.links li a {
  transition: var(--transition);
  transform: translateY(0px);
  display: inline-block;
  color: var(--white);
}
.language-switcher-language-url ul.links li a:hover {
  text-decoration: underline;
  transform: translateY(2px);
}
.language-switcher-language-url ul.links li:not(:last-of-type)::after {
  content: "/";
  margin: 0px 5px;
  color: var(--white);
}

html, body {
  scroll-behavior: smooth;
}
