/* my-custom-variant */
:root {
  --SECONDARY-color: rgba(72, 106, 201, 1); /* brand secondary color */
  --ACCENT-color: #67117e; /* brand accent color, used for search highlights */
  --MAIN-LINK-HOVER-color: rgba(
    32,
    40,
    145,
    1
  ); /* hoverd link color of content */
  --MAIN-TEXT-color: #222; /* text color of content and h1 titles */
  --MAIN-TITLES-TEXT-color: rgba(
    16,
    16,
    16,
    1
  ); /* text color of h2-h6 titles and transparent box titles */
  --MAIN-TITLES-H2-color: #333; /* text color of h2-h6 titles */
  --MAIN-TITLES-H3-color: #444; /* text color of h3-h6 titles */
  --CODE-theme: relearn-light; /* name of the chroma stylesheet file */
  --CODE-BLOCK-color: rgba(
    39,
    40,
    34,
    1
  ); /* fallback text color of block code; should be adjusted to your selected chroma style */
  --CODE-BLOCK-BG-color: rgba(
    250,
    250,
    250,
    1
  ); /* fallback background color of block code; should be adjusted to your selected chroma style */
  --CODE-BLOCK-BORDER-color: rgba(
    216,
    216,
    216,
    1
  ); /* border color of block code */
  --CODE-INLINE-color: rgba(94, 94, 94, 1); /* text color of inline code */
  --CODE-INLINE-BG-color: rgba(
    255,
    250,
    233,
    1
  ); /* background color of inline code */
  --CODE-INLINE-BORDER-color: rgba(
    248,
    232,
    200,
    1
  ); /* border color of inline code */
  --BROWSER-theme: light; /* name of the theme for browser scrollbars of the main section */
  --MERMAID-theme: default; /* name of the default Mermaid theme for this variant, can be overridden in hugo.toml */
  --OPENAPI-theme: light; /* name of the default OpenAPI theme for this variant, can be overridden in hugo.toml */
  --OPENAPI-CODE-theme: idea; /* name of the default OpenAPI code theme for this variant, can be overridden in hugo.toml */
  --MENU-TOPBAR-BORDER-color: #67117e; /* border color of vertical line between menu and topbar */
  --MENU-HEADER-BG-color: #67117e; /* background color of menu header */
  --MENU-HEADER-BORDER-color: #67117e; /* border color between menu header and menu */
  --MENU-HOME-LINK-color: #ffffff; /* home button color if configured */
  --MENU-HOME-LINK-HOVER-color: rgba(
    0,
    0,
    0,
    1
  ); /* hoverd home button color if configured */
  --MENU-SEARCH-color: #ffffff; /* text and icon color of search box */
  --MENU-SEARCH-BG-color: rgba(
    50,
    50,
    50,
    1
  ); /* background color of search box */
  --MENU-SEARCH-BORDER-color: #ffffff; /* border color of search box */
  --MENU-SECTIONS-BG-color: #322a38; /* background of the menu; this is NOT just a color value but can be a complete CSS background definition including gradients, etc. */
  --MENU-SECTIONS-ACTIVE-BG-color: rgba(
    0,
    0,
    0,
    0.166
  ); /* background color of the active menu section */
  --MENU-SECTIONS-LINK-color: #fff; /* link color of menu topics */
  --MENU-SECTIONS-LINK-HOVER-color: rgba(
    255,
    255,
    255,
    1
  ); /* hoverd link color of menu topics */
  --MENU-SECTION-ACTIVE-CATEGORY-color: rgba(
    68,
    68,
    68,
    1
  ); /* text color of the displayed menu topic */
  --MENU-SECTION-SEPARATOR-color: rgba(
    96,
    96,
    96,
    1
  ); /* separator color between menu sections and menu footer */
  --MENU-VISITED-color: #f5e4e4; /* icon color of visited menu topics if configured */
  --BOX-CAPTION-color: rgba(
    255,
    255,
    255,
    1
  ); /* text color of colored box titles */
  --BOX-BG-color: rgba(
    255,
    255,
    255,
    0.833
  ); /* background color of colored boxes */
  --BOX-TEXT-color: rgba(16, 16, 16, 1); /* text color of colored box content */
}

#R-header-wrapper {
  border-bottom-width: 4px;
  padding: 0rem;
}

#R-body-inner {
  display: flex;
  flex: auto;
  flex-direction: column;
  overflow-y: auto;
  padding: 0 3.25rem 4rem 3.25rem;
  position: relative; /* PS */
}

#R-body .flex-block-wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: calc( var(--INTERNAL-MAIN-WIDTH-MAX) - var(--INTERNAL-MENU-WIDTH-L) - 2 * 3.25rem );
  width: 100%;
  position: relative;
  height: 100%;
}
body:not(.print) #R-body .narrow .flex-block-wrapper {
  max-width: calc( var(--INTERNAL-MAIN-WIDTH-MAX) - var(--INTERNAL-MENU-WIDTH-L) - 2 * 9.75rem );
  position: relative;
}
/* we limit width if we have large screens */
body.main-width-max #R-body .flex-block-wrapper {
  width: calc( var(--INTERNAL-MAIN-WIDTH-MAX) - var(--INTERNAL-MENU-WIDTH-L) - 2 * 3.25rem );
  position: relative;
}
body.main-width-max:not(.print) #R-body .narrow .flex-block-wrapper {
  width: calc( var(--INTERNAL-MAIN-WIDTH-MAX) - var(--INTERNAL-MENU-WIDTH-L) - 2 * 9.75rem );
  position: relative;
}
article {
  flex-direction: column;
  min-height: 100%;
}

.children {
  flex-grow: 1;
}
footer {
  flex-shrink: 0;
  padding-bottom: .5rem;
}
