



.portal-body-container {
  width: 100%;
  display: flex;
  padding: 0;
  margin: 0;
}

.portal-body-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.portal-publications {
  width: 80vw;
}

.portal-contents {
  width: 100%;
  background-color: #E8F4FF;
  display: flex;
  justify-content: center;
  margin: 0;
}

.portal-contents>.inner {
  width: 80vw;
  padding-block: 50px;
}

.show-all-categories {
    display:none;
}

.featured-content-label {
  padding-top: 50px;
  width: 100%;
  background-color: #E8F4FF;
  margin: 0;
  margin-top: 30px;
  text-align: center;
}

.portal-header h1 {
  color: #000000;
}

.portal-header h1 {
  font-family: "Denim WD", sans-serif;
}

.portal-header::before {
  background-color: #FFFFFF;
}

.theme2 .portal-header::before {
  background-color: #FFFFFF;
}



.portal-header::after {
  background: none;
}

.portal-header {
  padding: 30px 50px;
  height: 350px;
}

.bg-primary,
.btn-primary,
.publications-condensed .portal-single-publication a,
.toolbar,
.tool-search-form .search-field,
.pager li>a:hover,
.pager li>span:hover,
.colored-top .site-sidebar-header {
  background-color: #0041F5;
}

.portal-single-publication h3 {
  font-size: 16px;
  font-weight: normal;
}

.publication-contents h4 a,
.titlepage h1.title,
.titlepage h2.title,
.titlepage h3.title,
.titlepage h4.title,
.titlepage h5.title,
.titlepage h6.title {
  color: #000000;
}

.portal-footer {
  background: #F7F7F7;
  color: #F7F7F7;
}

body {
  background-color: #F7F7F7;
  color: #FFFFFF;
}

a,
.text-primary,
.btn-primary .badge,
.btn-link,
.pagination>li>a,
.pagination>li>span,
.nav-site-sidebar .active>a,
.portal-single-publication .publication-icon i,
.portal-single-publication .publication-icon .fa,
.publication-contents a:hover {
  color: #0041F5;
}

a {
  color: #0041F5;
  text-decoration: none;
}

html li,
body li {
  font-family: "Work Sans", serif,;
  color: #000000;
  font-size: medium;
  line-height: 150%;
  margin-bottom: 1em;
  padding-bottom: 0;
}

html p, body p {
    font-family: "Work Sans", serif,;
    color: #000000;
    font-size: small;
    line-height: 150%;
    margin-bottom: 1em;
    padding-bottom: 0;
}

h3,
h4,
h5,
.sidebar-title {
  font-family: "Work Sans", serif,;
  color: #000000;
  line-height: 150%;
  margin-bottom: 1em;
  padding-bottom: 0;
  font-weight: bold;
}

.theme2 .section-nav.nav>li.active>a:before {
  content: '';
  border-radius: 50%;
  left: -3px;
  top: 12px;
  background: #0041F5;
  position: absolute;
  width: 6px;
  height: 6px;
}

.theme2 .section-nav.nav li.active>a {
  color: #000000;
}

.section-nav.nav>li.active>a {
  color: #0041F5;
}

.section {
  padding: 5px 0;
}

/* h5, .h5 {
      text-transform: none;
  } */
.sm-simple>li>a,
.sm-simple>li>a:hover,
.sm-simple>li>a:focus,
.sm-simple>li>a:active,
.sm-simple>li>a.highlighted {
  /* padding-right: 30px !important; */
  color: #F7F7F7;
  background: transparent !important;
}

h5, .h5 {
    text-transform: none;
}


.warning h3, .note h3, .important h3, .caution h3, .tip h3 {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    padding: 10px 30px 0px 0px;
    background-color: transparent;
    color: #000000;
    font-size: 1.2em;
}

.toolbar li {
  color: #fff;
}

.portal-header .search-page-link a {
    color: #000;
    font-weight: bold;
}

.aa-dropdown-menu {
    max-height: 400px; /* Set the maximum height of the dropdown */
    overflow-y: auto;  /* Add vertical scrolling when content overflows */
}

.titlepage h1 {
    font-size: 33px;
    font-weight: bold;
}

.titlepage h2 {
    font-size: 28px;
    font-weight: bold;
}

.titlepage h3 {
    font-size: 23px;
    font-weight: bold;
}


.titlepage h4, .titlepage h5, .titlepage h6 {
    font-size: 18px;
    font-weight: bold;
}

.theme2 .portal-footer {
    color: #000;
}

div.copyright, span.date-modified-text, span.formatted-date {
    color: #000;
}

.search-page .filters-panel {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 50px;
}

h4.refinement-title {
    display:none;
}

div#content-refinement {
    display: none;
}

.section {
    padding: 0px 0;
}

li.next, li.previous {
    display:none;
}
	
span.hljs-attr, .hljs-built_in, .hljs-doctag, .hljs-params, .hljs-title, .hljs-type {
    color: #0041F5;
}

.portal-header .portal-search button {
    margin-left: 10px;
    background-color: #7e57c2;
    border-radius: 50%;
    border: 0;
    width: 50px;
    display: none;
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    padding: 0;
    text-align: center;
    color: #fff;
    -webkit-box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.12), 0 7px 10px -5px rgba(0, 0, 0, 0.15);
}

.section-toc.section-toc-after {
    display:none;
}

/* === Portal icon tiles: make all 8 icons same size and align text === */

/* Make each publication tile behave like a full-height card */
.portal-publications .portal-single-publication {
  height: 100%;
}

/* Layout the link content vertically: icon on top, text under it */
.portal-publications .portal-single-publication a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;  /* icon at top, text at bottom */
  text-align: center;
  padding: 20px 16px;
}

/* The icon square itself */
.portal-publications .portal-single-publication .portal-logo {
  width: 80%;               /* take up most of the card width */
  max-width: 140px;         /* keep it reasonable on large screens */
  aspect-ratio: 1 / 1;      /* force a square */
  object-fit: contain;      /* keep the image nicely inside the square */
  display: block;
  margin: 0 auto 12px;
  flex: 0 0 auto;
}

/* Make sure the text is aligned consistently under the icon */
.portal-publications .portal-single-publication h3,
.portal-publications .portal-single-publication .publication-contents {
  text-align: center;
  width: 100%;
}

/* Optional: give every tile the same min-height so rows line up nicely */
.portal-publications .portal-single-publication {
  min-height: 220px;  /* tweak this value to taste */
}

/* Make all portal titles occupy the same vertical space */
.portal-publications .portal-single-publication h3 {
  min-height: 3.2em;          /* enough room for ~2 lines of text */
  display: flex;
  align-items: center;        /* vertically center the text within that space */
  justify-content: center;
  text-align: center;
  margin-top: 0.75rem;        /* tweak spacing from icon if needed */
}








