/* ABC 2.x main theme styles.
 * Drupal 11.4+ / 12.
 * Dr. Florian Radut, M.D. (florian@radut.net)
 */


html {
  line-height: 1.3;
}
body {
  margin: 0;
  padding: 0;
  color: #333;
  background: #fff;
}
[dir="rtl"] body,
[dir="rtl"] th {
  text-align: right;
}
[dir="rtl"] ul,
[dir="rtl"] ol {
  direction: rtl;
}

/* Font size */
.fs0 {
  font-size: 1rem;
}
.fs1 {
  font-size: 1.125rem;
}
.fs2 {
  font-size: 1.25rem;
}

/* Utility clearing for ABC's float-based layout areas. */
.clearfix::after {
  display: table;
  clear: both;
  content: "";
}


/*** MAIN LAYOUT ***/

#pgwp {
  position: relative;
}
.sizer0 {
  margin: 0 auto;
}
#top_left,
#top_right,
#section1 {
  padding: 5px 10px 0;
}
#section2 {
  padding: 0 10px 20px;
}
#middlecontainer,
#sidebar-left,
#sidebar-right,
#main {
  margin: 10px;
}
.region-topreg {
  position: relative;
  z-index: 9;
  text-align: end;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .25rem .5rem;
}
.region-highlighted {
  margin-top: 10px;
  padding: 20px 20px 0;
  font-weight: normal;
  font-size: .95em;
}
#bottom_bg {
  box-sizing: content-box;
  min-height: 3em;
  padding-bottom: 2em;
}
#footer {
  padding: .5em 0;
  text-align: center;
  font-size: .95em;
  min-height: 3em;
}
.footer-below {
  width: 100%;
}


/*** GRAPHICS CSS ***/

h1 {
  font-size: 1.6em;
}
h2,
h3.block-title,
.block-title {
  font-size: 1.4em;
  font-weight: bold;
}
h3 {
  font-size: 1.2em;
}
h4 {
  font-size: 1.1em;
}
h5,
h6 {
  font-size: 1em;
}
p {
  overflow-wrap: break-word;
}
a,
a.link {
  text-decoration: none;
  border-bottom: 1px dotted;
}
a:hover,
a:focus,
.link:hover,
.link:focus {
  text-decoration: none;
  border-bottom: 1px solid;
}
h1 a,
h2 a,
a.site-logo,
a.abc-maintenance__logo,
#name-and-slogan a,
#menu .pure-menu-link,
#submenu a,
#menu2 a,
.toolbar-menu a {
  border-bottom: none;
}
#name-and-slogan {
  padding: 30px 20px;
}
.site-slogan {
  font-style: italic;
}
#site-name {
  margin: 0;
  padding: 0;
  font-size: 100%; /* reset */
}
p#site-name a,
p#site-name a:hover,
h1#site-name a,
h1#site-name a:hover {
  font-weight: normal;
  text-decoration: none;
  line-height: normal;
  font-size: 2.4em;
}
#main h2.title a { /* front, node */
  font-size: 120%;
  line-height: normal;
  font-weight: normal;
  text-transform: none;
}
#main h1.title {    /* node */
  font-size: 160%;
  padding: 10px 0;
  font-weight: normal;
  text-transform: none;
}
.logoimg {
  float: left; /* LTR */
  padding: 15px 20px 0;
}
[dir="rtl"] .logoimg {
  float: right;
}
fieldset {
  border: 1px solid #ccc;
}
pre {
  background: #eee;
  padding: .75em 1.5em;
  border: 1px solid #ddd;
}
.sticky-header {
  display: block;
}
table {
  width: 100%;
}
table:not(.pure-table) th,
table:not(.pure-table) td {
  padding: .3em;
}
table:not(.pure-table) tr {
  border-bottom: 1px solid #ccc;
  background: rgba(0, 0, 0, 0.063);
}
table:not(.pure-table) thead > tr {
  border-bottom: 1px solid #000;
}
table:not(.pure-table) tr.odd {
  background: rgba(0, 0, 0, 0.105);
}
table tr th {
  border-bottom-style: none;
  background: rgba(0, 0, 0, 0.51);
}
table tr th,
table tr th a,
table tr th a:link,
table tr th a:hover,
table tr th a:focus {
  color: #fff;
  font-weight: bold;
}
table tbody tr th {
  vertical-align: top;
}
table.sticky-enabled thead,
table.sticky-header thead {
  position: sticky;
  z-index: 500;
  top: var(--drupal-displace-offset-top, 0);
}
.divider {
  height: 100%;
  border-left: 1px dashed #ccc; /* LTR */
}
[dir="rtl"] .divider {
  border-left: none !important;
  border-right: 1px dashed #ccc;
}
.signature p {
  font-size: .95em;
  margin: 7px 0;
}
blockquote {
  padding: 0 0 0 .5em; /* LTR */
  border-left: 4px solid #ddd; /* LTR */
  font-style: italic;
  clear: both;
}
[dir="rtl"] blockquote {
  padding: 0 .5em 0 0;
  border-left: none;
  border-right: 4px solid #ddd;
}
.by {
  position: absolute;
  bottom: 0;
  right: 0; /* LTR */
  text-align: right;
  clear: both;
  font-size: .8em;
  margin: 0 1em;
}
[dir="rtl"] .by {
  left: 0;
  text-align: left;
}
.by,
.by a,
.by a:hover {
  text-decoration: none;
  border-bottom: none;
  color: #777 !important;
}
.maintenance-page .layout-container {
  max-width: 50em;
  margin: 1em auto;
  font-family: sans-serif;
  border: 1px dashed #ccc;
}
.maintenance-page #main {
  margin: 1.2em;
}
a.icon-help,
a.feed-icon {
  border-bottom: none;
}
.node--view-mode-teaser {
  border-bottom: 1px dashed #ccc;
  padding: 0 0 .5em 0;
}
.field--name-user-picture img {
  float: right; /* LTR */
  margin: 0 0 0 10px; /* LTR */
}
[dir="rtl"] .field--name-user-picture img {
  float: left;
  margin: 0 10px 0 0;
}
.block-entity-viewuser .field--name-user-picture img {
  float: none;
  margin: 0 auto;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.node__submitted,
p.comment__submitted,
.submitted {
  font-size: .9em;
  margin: 0;
}
.comment {
  border: 1px solid #d3d3d3;
  padding: .5em;
  margin-bottom: 1em;
}
.comment-title {
  background: transparent url(../images/icon-comment.png) left center no-repeat; /* LTR */
  padding: .1em 1em;
}
[dir="rtl"] .comment-title {
  background: transparent url(../images/icon-comment_rtl.png) right center no-repeat !important;
}
.forum td.container {
  background: #cdcdcd;
  color: #000;
}
.forum td.container,
.forum td.container .name a {
  background-image: url(../images/forum-container.jpg);
  background-position: right top; /* LTR */
  background-repeat: no-repeat;
}
[dir="rtl"] .forum td.container,
[dir="rtl"] .forum td.container .name a {
  background-position: left top;
}
.taxonomy-term {
  background-color: rgba(238, 238, 238, 0.5);
  border: 1px solid #ddd;
  padding: .2em 1em;
  margin-bottom: 4em;
}


/* ABC field additions beyond css/components/field.css. */
[dir="rtl"] .field--label-inline .field__label,
[dir="rtl"] .field--label-inline .field__items {
  float: right;
}
.field--type-entity-reference.field__items {
  margin: 0.5em 0;
}
.node__links {
  margin: 0.5em -0.5em;
  clear: both;
}
.field--type-entity-reference.is-term .field__item,
.node__links li {
  display: inline;
  padding: 0 0.5em;
  border-right: 1px solid #d3d3d3; /* LTR */
}
[dir="rtl"] .field--type-entity-reference.is-term .field__item,
[dir="rtl"] .node__links li {
  border-right: none;
  border-left: 1px solid #d3d3d3;
}
.field--type-entity-reference .field__item:last-of-type,
.node__links li:last-of-type {
  border-right: none;
}
[dir="rtl"] .field--type-entity-reference .field__item:last-of-type,
[dir="rtl"] .node__links li:last-of-type {
  border-left: none;
}
form .field--name-field-image .form-text {
  width: 100%;
}
.node__content .field--name-body {
  margin: 1em 0;
}


.vertical-tabs__menu {
  padding: 0 !important;
}


/* blocks */

.block-title {
  margin-top: 0;
}
/* Block padding supplies the menu indentation, including nested menus. */
.block-wrapper > .block ul.menu {
  margin-inline: 0;
}
.block-wrapper > .block ul {
  padding: 0 0 0 1em; /* LTR */
}
[dir="rtl"] .block-wrapper > .block ul {
  padding: 0 1em 0 0;
}
.node__content ul {
  padding: 0 0 0 2em;
}
[dir="rtl"] .node__content ul {
  padding: 0 2em 0 0;
}
#header .block-wrapper > .block ul {
  padding: 0;
}
.region-topreg .block {
  margin: 0;
}
.region-header .block,
.region-header .content {
  margin: 0;
  padding: 0;
}
.sections .block {
  margin: 10px;
}
#middlecontainer .block {
  margin: 0 0 20px 0;
}
#footer .block {
  margin: 5px;
}
#sidebar-left .block,
#sidebar-right .block,
.sections .block {
  padding: 5px;
}
.themed-block {
  border: 1px solid #ddd;
  padding: 10px;
}
.user .field,
.people.create .form-wrapper {
  padding: .3em 0;
}
label {
  font-weight: bold;
}


/*** PURE FORMS ***/

.pure-button,
.button {
  background-color: #e6e6e6;
  border: 1px solid #ccc;
}
.pure-button,
.button:first-child,
.image-button:first-child {
  margin: .2em;
}
.pure-form input,
.pure-form select,
.pure-form textarea {
  max-width: 100%;
}
#sidebar-left input.form-text,
#sidebar-right input.form-text,
.block-search input {
  box-sizing: border-box;
  width: 100%;
}
/* keep search borders neutral, including the automatically focused field. */
.block-search .pure-form input[type="search"]:focus,
.block-search .pure-form input[type="text"]:focus {
  border-color: #ccc;
  outline: none;
}
.block-search input[type="text"] {
  float: left; /* LTR */
}
[dir="rtl"] .block-search input[type="text"] {
  float: right;
}
.block-search .abc-search-icon {
  width: 2.25em;
  min-width: 2.25em;
  height: 2.25em;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ccc;
  background: #e6e6e6 url(../images/search.svg) center / 1.25em no-repeat;
  color: transparent;
  text-indent: -9999px;
  white-space: nowrap;
}
.block-search .abc-search-icon:focus,
.block-search .abc-search-icon:hover {
  background-color: #ddd;
}
#header .form-text,
#header .pure-button {
  display: inline-block;
}
#header .form-text {
  margin: .3em 0;
}
/* PureCSS supplies form-action button dimensions and interaction states. */
.form-actions .pure-button {
  color: #222;
  background-color: #e6e6e6;
  border: 0;
  margin: .2em;
  text-decoration: none;
}
.form-actions .pure-button.abc-button-preview {
  background-color: #d3eda3;
}
.form-actions .pure-button.abc-button-danger,
.form-actions .pure-button.button--danger {
  background-color: #f5ab9e;
}
.form-actions .pure-button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.js .dropbutton-multiple .dropbutton-widget {
  background: #fff;
}


/*** PAGER ***/

/* PureCSS styles the links; the list only controls layout. */
.pure-paginator {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5em 0;
  padding: 0;
  list-style: none;
}
.block ul.pure-paginator {
  padding: 0;
}
.pager__item {
  margin: 0;
  padding: 0;
}
.pager__item > .pure-button {
  margin: 0;
  border: 0;
  border-radius: 0;
  text-decoration: none;
}
.pager__item--ellipsis {
  padding: .5em 1em;
}
.pager__item.is-active > .pure-button {
  font-weight: bold;
}
.pager__item > .pure-button:focus-visible {
  position: relative;
  outline: 2px solid currentColor;
  outline-offset: 2px;
  z-index: 1;
}


/*** MENU & link STYLES ***/

.ml .pure-menu-horizontal,
.ml #submenu ul {
  text-align: left;
}
.mc .pure-menu-horizontal,
.mc #submenu ul {
  text-align: center;
}
.mr .pure-menu-horizontal,
.mr #submenu ul {
  text-align: right;
}
#submenu {
  margin: 0 20px 5px;
}
#submenu ul,
.region-footer-left ul,
.region-footer ul,
.region-footer-right ul {
  padding: 5px 0;
}
#submenu ul,
.region-topreg ul,
.region-footer-left ul,
.region-footer ul,
.region-footer-right ul {
  margin: 0;
}
#submenu li,
#menu2 li,
.region-topreg li,
.region-footer-left li,
.region-footer li,
.region-footer-right li {
  display: inline;
  white-space: nowrap;
}
#submenu li a {
  padding: 3px 7px;
  margin: 0;
  border: 1px solid #ddd;
  background: #eee;
}
#submenu li a:hover {
  background: #dbdbdb;
}
#menu2 ul.menu {
  margin: 0;
  padding: 0;
  text-align: center;
}
#menu2 li,
.region-topreg li,
.region-footer-left li,
.region-footer li,
.region-footer-right li {
  padding: 0 0.4em;
  border-right: 1px solid #bbb; /* LTR */
}
[dir="rtl"] #menu2 li,
[dir="rtl"] .region-topreg li,
[dir="rtl"] .region-footer-left li,
[dir="rtl"] .region-footer li,
[dir="rtl"] .region-footer-right li {
  border-right: none;
  border-left: 1px solid #bbb;
}
#menu2 li:last-of-type,
.region-topreg li:last-of-type,
.region-footer-left li:last-of-type,
.region-footer li:last-of-type,
.region-footer-right li:last-of-type {
  border-right: none;
}
[dir="rtl"] #menu2 li:last-of-type,
[dir="rtl"] .region-topreg li:last-of-type,
[dir="rtl"] .region-footer-left li:last-of-type,
[dir="rtl"] .region-footer li:last-of-type,
[dir="rtl"] .region-footer-right li:last-of-type {
  border-left: none;
}


/*** DROPDOWN ***/

#menu {
  margin: 0 20px;
}
.pure-menu ul {
  margin: 0;
}
.menu-toggle {
  float: right; /* LTR */
  margin: 0 10px 0 0; /* LTR */
  display: none;
  background: #eee;
  border: 1px solid #ccc;
  border-bottom: none !important;
  position: relative;
  box-sizing: border-box;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  cursor: pointer;
}
[dir="rtl"] .menu-toggle {
  float: left;
  margin: 0 0 0 10px;
}

.menu-toggle .bars {
  position: absolute;
  display: block;
  width: 1.4rem;
  height: 2px;
  left: 50%;
  top: 50%;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .15s, opacity .15s;
}
.menu-toggle .bars:nth-child(1) {
  transform: translate(-50%, calc(-50% - 6px));
}
.menu-toggle .bars:nth-child(3) {
  transform: translate(-50%, calc(-50% + 6px));
}
.menu-toggle.x .bars:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}
.menu-toggle.x .bars:nth-child(2) {
  opacity: 0;
}
.menu-toggle.x .bars:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.menu-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.open .menu-transform {
  clear: both;
}
.pure-menu-horizontal {
  white-space: normal;
}
.pure-menu-list {
  padding: 0 18px;
}
.pure-menu-list li {
  list-style: none;
}
.pure-menu-link,
.pure-menu-disabled {
  padding: .4em 1.5em; /* Menu item dimensions. */
}
.pure-menu-link {
  text-decoration: none !important;
  font-weight: 500;
  text-align: left; /* LTR */
}
[dir="rtl"] .pure-menu-link {
  text-align: right;
}
.primary-nav__menu-link--level-1 {
  margin: 3px 0 0 0;
}
.pure-menu-children {
  background-color: transparent;
  padding-top: 2px;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease-in;
}
.pure-menu-children .pure-menu-link {
  margin: 0;
}
.pure-menu-children .pure-menu-children {
  left: 100%; /* LTR */
  top: 0;
}
[dir="rtl"] .pure-menu-children .pure-menu-children {
  left: auto;
  right: 100%;
}

.pure-menu-item.abc-touch-open > .pure-menu-children {
  opacity: 1;
  visibility: visible;
}

/* Dropdown arrows use CSS triangles and inherit the menu text color. */
.pure-menu-has-children:not(.abc-submenu-ready) > .pure-menu-link::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  padding: 0;
  margin-inline-start: .5em;
  vertical-align: middle;
  border-inline: .25em solid transparent;
  border-top: .35em solid currentColor;
}

/* Optional developer link. */
.byy {
  display: none;
}


/*** PREVIEW ***/

.node-preview-container {
  position: fixed;
  z-index: 499;
  width: 100%;
  padding: 30px 0 10px;
  background: #efefef;
  text-align: center;
}
.node-preview-backlink {
  display: inline-block;
  margin: 5px 10px;
  padding: .5em 1em;
  background-color: #d3eda3;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
}
.node-preview-backlink:focus,
.node-preview-backlink:hover {
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.05) 40%, rgba(0, 0, 0, 0.10));
}
.node-preview-container .form-item-view-mode {
  display: inline-block;
  margin: 5px;
}


/*** MODULE SPECIFIC STYLES ***/
.book-navigation ul.book-pager,
[dir="rtl"] .book-navigation ul.book-pager {
  margin: 1em 0;
  padding: .5em 0;
  border-top: 1px dashed #ccc;
  border-bottom: 1px dashed #ccc;
}
.themed-block .crypto-widget-body {
  padding: .3em;
  background: #282828;
}
.block-addtoany-block .block-content {
  text-align: center;
}
.block-node-syndicate-block .feed-icon {
  margin: auto;
}
a.tabledrag-handle,
a.tabledrag-handle:hover {
  border: none;
}
.views-displays .tabs.secondary li a {
  background-color: #dedede;
  border: 1px solid #555;
  padding: .2em 1em;
}
.views-displays .tabs li a:hover,
.views-displays .tabs li.is-active a,
.views-displays .tabs li.is-active a.is-active {
  background-color: #bbb !important;
  color: #000;
  padding: .2em 1em;
}
.poll .form-radio,
.poll label.option {
  display: inline;
}
.addtoany_list a:hover {
  border-bottom: none;
}
.region-title[data-drupal-selector^="edit-blocks-region"] {
  background: rgba(68, 68, 68, 0.3);
}
.photoswipe-gallery .field__item {
  display: inline-block;
}


/*** ROUNDED CORNERS ***/

.rnd .themed-block .crypto-widget-body,
.rnd pre,
.rnd .region-highlighted,
.rnd .themed-block,
.rnd .taxonomy-term,
.rnd #middlecontainer .block,
.rnd .sections .block,
.rnd .form-actions .pure-button,
.rnd .pure-form input,
.rnd .abc-header-search > form,
.rnd #submenu a,
.rnd .comment,
.rnd .field--name-user-picture img,
.rnd blockquote {
  border-radius: 5px;
}
.rnd .pure-menu-link {
  border-radius: 5px;
}
.rnd .tabs a,
.rnd .menu-toggle {
  border-radius: 5px 5px 0 0;
}
.rnd .pager__item:first-of-type > .pure-button {
  border-radius: 6px 0px 0px 6px; /* LTR */
}
[dir="rtl"] .rnd .pager__item:first-of-type > .pure-button {
  border-radius: 0px 6px 6px 0px;
}
.rnd .pager__item:last-of-type > .pure-button {
  border-radius: 0px 6px 6px 0px; /* LTR */
}
[dir="rtl"] .rnd .pager__item:last-of-type > .pure-button {
  border-radius: 6px 0px 0px 6px;
}

/* Apply Drupal toolbar displacement once, including an expanded tray. */
body.toolbar-fixed {
  padding-top: var(--drupal-displace-offset-top, 39px) !important;
}
body.toolbar-fixed.toolbar-horizontal.toolbar-tray-open {
  padding-top: var(--drupal-displace-offset-top, 79px) !important;
}

/* Social icons are not text-menu items, wherever the block is placed. */
.region-topreg .social-media-menu__item,
#footer .social-media-menu__item,
[dir="rtl"] .region-topreg .social-media-menu__item,
[dir="rtl"] #footer .social-media-menu__item {
  display: inline-block;
  padding: 0;
  border: 0;
}
/* Keep generic link styling from changing active local-task dimensions. */
ul.tabs > li > a,
ul.tabs > li > a.is-active,
ul.tabs > li.is-active > a,
ul.tabs > li > a:hover,
ul.tabs > li > a:focus {
  box-sizing: border-box;
  display: block;
  padding: .2em 1em;
  line-height: 1.5;
  border: 1px solid #ccc;
  text-decoration: none;
}
ul.tabs > li.is-active > a,
ul.tabs > li > a.is-active {
  background: #eee;
}
/* Header search keeps its normal form when JavaScript is unavailable. */
.abc-header-search {
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.abc-search-toggle {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 0;
  background: transparent url(../images/search.svg) center / 1.4rem no-repeat;
  cursor: pointer;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  vertical-align: middle;
}
.abc-search-toggle:focus-visible {
  outline: 2px solid var(--abc-primary);
}
.abc-header-search > form:not([hidden]) {
  position: absolute;
  inset-inline-end: 0;
  top: 100%;
  z-index: 10;
  box-sizing: border-box;
  width: min(20rem, calc(100vw - 2rem));
  padding: .75rem;
  background: #fff;
  border: 1px solid #ccc;
  box-shadow: 0 .2rem .5rem #0002;
}
.abc-header-search > form[hidden] {
  display: none !important;
}
.abc-header-search input[type="search"],
.abc-header-search input[type="text"] {
  max-width: 100%;
}
/* Header regions wrap independently of the PureCSS content grid. */
#header {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
}
#header > .region-header {
  order: 1;
  flex: 1 1 20rem;
  min-width: 0;
}
#header > .region-topreg {
  order: 2;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
#header > #menu {
  order: 3;
  flex: 1 0 calc(100% - 40px);
  min-width: 0;
}
/* Later blocks span the region without setting the search column width. */
.region-topreg::after {
  display: none;
}
.region-topreg > .block-wrapper {
  order: 2;
  flex: 0 0 100%;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.region-topreg > .block-wrapper:nth-child(1 of .block-wrapper:not(:has(.block-search))) {
  order: 0;
  flex: 0 1 auto;
}
.region-topreg > .block-wrapper:has(.block-search) {
  order: 1;
  flex: 0 0 auto;
}
/* override the generic menu alignment inside full-width top blocks. */
#header .region-topreg ul.menu {
  text-align: end;
}
.region-topreg .block-search .block-content {
  line-height: 1;
}

/* PureCSS supplies the menu structure; these controls add disclosure behaviour. */
.pure-menu-has-children {
  position: relative;
}
.abc-submenu-ready > .pure-menu-link {
  padding-inline-end: 2.75em;
}
.abc-submenu-toggle {
  position: absolute;
  inset-inline-end: 0;
  top: 0;
  width: 2.5em;
  height: 2.1em;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--abc-menu-color);
  cursor: pointer;
}
.abc-submenu-toggle:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -3px;
}
.abc-submenu-toggle > span[aria-hidden] {
  display: inline-block;
  width: 0;
  height: 0;
  vertical-align: middle;
  border-inline: .25em solid transparent;
  border-top: .35em solid currentColor;
}
.abc-submenu-toggle[aria-expanded="true"] > span[aria-hidden] {
  transform: rotate(180deg);
}
.abc-submenu-ready > .pure-menu-link::after {
  content: none !important;
}

/*** MEDIA SCREENS (35.5, 48 & 64em) ***/

@media (width > 64em) {
  .pure-menu-children .pure-menu-has-children:not(.abc-submenu-ready) > .pure-menu-link::after {
    transform: rotate(-90deg);
  }
  [dir="rtl"] .pure-menu-children .pure-menu-has-children:not(.abc-submenu-ready) > .pure-menu-link::after {
    transform: rotate(90deg);
  }

  /* Size desktop Top-region rows from their content, not flex percentages. */
  #header > .region-topreg {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    width: max-content;
    justify-content: end;
  }
  .region-topreg > .block-wrapper {
    grid-column: 1 / -1;
  }
  .region-topreg:has(.block-search) > .block-wrapper:nth-child(1 of .block-wrapper:not(:has(.block-search))) {
    grid-column: 1;
    grid-row: 1;
  }
  .region-topreg > .block-wrapper:has(.block-search) {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .pure-menu-children .abc-submenu-toggle > span[aria-hidden] {
    transform: rotate(-90deg);
  }
  [dir="rtl"] .pure-menu-children .abc-submenu-toggle > span[aria-hidden] {
    transform: rotate(90deg);
  }

  #menu:not(.abc-menu-ready) .pure-menu-item:hover > .pure-menu-children,
  #menu:not(.abc-menu-ready) .pure-menu-item:focus-within > .pure-menu-children {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 64em) {
  @media screen {
    #top_right,
    #body_right,
    #sidebar-left,
    #sidebar-right,
    #section1,
    #section2,
    #main {
      padding: 0;
      margin: 0;
    }
    #top_left,
    #top_right,
    #top_bg,
    #body_left,
    #body_right,
    #middlecontainer {
      background: none !important;
      border: none;
    }
    .himg #headimg,
    #headimg {
      border: none;
    }
    .logoimg {
      margin: 0;
      padding: 0;
      height: 2.5em;
    }
    #name-and-slogan {
      padding: 0 .5em;
    }
    p#site-name a,
    p#site-name a:hover,
    h1#site-name a,
    h1#site-name a:hover {
      font-size: 1.4em;
      line-height: 1.2;
    }
    #menu {
      margin: 0;
    }
    #submenu {
      padding: 2px;
    }
    .sections .block,
    .sections .themed-block {
      margin: 10px;
    }
    .region-topreg {
      padding: 10px;
    }
    .breadcrumb {
      padding: 5px 10px;
    }
    .divider {
      border: none !important;
    }
    .ml #submenu,
    .mr #submenu {
      text-align: center;
    }
    .nb1 #section1,
    .nb2 #section2,
    .nbl #sidebar-left,
    .nbr #sidebar-right,
    .by,
    #menu.abc-menu-ready .pure-menu-horizontal,
    .site-slogan {
      display: none;
    }
    .menuband,
    .primary-nav__menu--level-1 {
      border-bottom: 1px solid #ddd;
    }
    .primary-nav__menu--level-1 {
      position: relative;
      width: 100%;
      z-index: 3;
    }
    .pure-menu-allow-hover:hover > .pure-menu-children,
    .pure-menu-has-children.abc-touch-open > .pure-menu-children {
      display: block;
      position: relative;
      left: 0; /* LTR */
      padding: 0 0 0 1em !important; /* LTR */
    }
    [dir="rtl"] .pure-menu-allow-hover:hover > .pure-menu-children {
      right: 0;
      padding: 0 1em 0 0 !important;
    }
    .pure-menu-children {
      box-shadow: none !important;
    }
    .pure-menu-heading,
    #menu.abc-menu-ready .menu-toggle {
      display: block;
    }
    .pure-menu-list {
      padding: 0 10px;
      background: #fff;
    }
    .pure-menu-link {
      margin: 0;
      border-top: 1px solid #eee !important;
    }
    .rnd .pure-menu-link {
      border-radius: 0;
    }
    .taxonomy-term {
      padding: 0 .7em;
    }
  }

  #header > .region-topreg {
    order: 0;
    flex-basis: 100%;
    margin-inline-start: auto;
  }
  #header > .region-header {
    flex-basis: 100%;
    box-sizing: border-box;
    min-height: 2.75rem;
  }
  /* Reserve the toggle's space only when an enhanced menu is present. */
  #header:has(> #menu.abc-menu-ready) > .region-header {
    padding-inline-end: 3.5rem;
  }
  #header .block-system-branding-block > .block-content {
    display: flex;
    align-items: center;
    min-width: 0;
  }
  #header .site-logo {
    flex: 0 0 auto;
  }
  #header .logoimg {
    display: block;
    float: none;
  }
  #header #name-and-slogan {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  #header > #menu {
    position: relative;
    flex-basis: 100%;
  }
  #header:has(> .region-header) > #menu.abc-menu-ready .menu-toggle {
    position: absolute;
    inset-inline-end: 10px;
    top: -2.75rem;
    margin: 0;
    float: none;
  }
  #menu .menu-transform {
    clear: both;
  }

  #menu .pure-menu-children {
    display: none;
  }
  #menu .abc-touch-open > .pure-menu-children {
    display: block;
    position: static;
    padding-inline-start: 1em;
  }
  #menu:not(.abc-menu-ready) .pure-menu-children {
    display: block;
    position: static;
    opacity: 1;
    visibility: visible;
  }
  .abc-submenu-toggle {
    color: var(--abc-mobile-link);
  }
}
