/**********************************/
/*   Default variables override   */
/**********************************/

/* Custom font import -> https://fonts.google.com */
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");

:root {
  /* WIP Fonts */
  /* You can overwrite just the font or the whole family */
  /*--header-font: "Noto Serif";*/
  /*--primary-font: "Noto Serif";*/
  /*--font-family-header: var(--header-font), "Georgia", "Times New Roman", serif;*/
  /*--font-family: var(--primary-font), "Georgia", "Times New Roman", serif;*/

  /* Navbar */
  --navbar-bg-color: var(--primary);
  /*--navbar-text-color: rgba(0, 0, 0, 1);*/
  /*--navbar-active-border-color: var(--navbar-text-color);*/
  /*--navbar-hover-color: rgba(255, 255, 255, 0.2);*/
  /*--navbar-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12);*/
  /*--navbar-logo-height: 30px;*/
  /*--navbar-logo-mini-height: var(--navbar-logo-height);*/

  /* Footer */
  /*--footer-bg-color: var(--not-black);*/
  /*--footer-text-color: white;*/
  /*--footer-title-color: var(--footer-text-color);*/
  /*--footer-link-color: var(--footer-text-color);*/
  /*--footer-fixed-bg-color: var(--not-black);*/
  /*--footer-fixed-text-color: var(--footer-text-color);*/
}

/******************************/
/*   Client's custom styles   */
/******************************/

/* Hide navbar logo */
.navbar .MuiGrid-container div:has(.navbar__brand) {
  visibility: hidden;
}

/* Custom left side navigation */

.sgmj__navbar {
  top: 0;
  left: 12px;
  height: 64px;
  display: flex;
  z-index: 1101;
  position: fixed;
  align-items: center;
  background-color: var(--primary);
}

@media (max-width: 900px) {
  .sgmj__navbar {
    height: 56px;
    left: 16px;
  }
}

.sgmj__navbar .sgmj__navbar-item--active,
.sgmj__navbar .sgmj__navbar-item {
  color: white;
  font-size: 0.875rem;
  padding: 6px 8px;
  margin: 0 4px;
  line-height: 1.75;
}

.sgmj__navbar .sgmj__navbar-item--active {
  pointer-events: none;
  border: solid thin white;
}

.sgmj__navbar a:hover {
  background-color: var(--navbar-hover-color);
  text-decoration: none;
  border-radius: 4px;
}

/* navbar overrides */
.navbar-items a {
  text-transform: capitalize;
  font-weight: normal;
}

.navbar-items a[data-cy="|-navbar-item"] {
  pointer-events: none;
  display: unset;
}

.navbar-items a[data-cy="|-navbar-item"] > span {
  width: fit-content;
}

.navbar-items a#about {
  margin-left: 18px;
}

.navbar-items a#about:before {
  content: "";
  position: absolute;
  left: -12px;
  width: 1px;
  height: 30px;
  background: white;
}

/* prevent image carousel to stretch more than it shoud */
.image__carousel {
  height: calc(100vh - 160px - var(--navbar-height));
}

/* override simple search styles */
.simple-search {
  width: 100%;
}

.simple-search > div > .MuiGrid-item {
  padding: 0;
}

/* remove radius from the search */
.simple-search > div > .MuiGrid-item:nth-child(2) > div > div {
  border-radius: 0;
}

/* override */
.simple-search > .MuiGrid-container {
  margin-left: 0;
  width: auto;
}

.simple-search button {
  box-shadow: none;
  border-radius: 0;
  height: 40px;
}

/* recent documents */
.documents__card .documents__image {
  height: 200px;
}


/*breadcrumb styles for custom pages */
.nav--breadcrumb-custom {
  margin: 0px;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0.00938em;
  color: rgba(0, 0, 0, 0.6);
  padding-bottom: 0!important;
}

.nav--breadcrumb-custom__ol {
  flex-wrap: wrap;
  -moz-box-align: center;
  align-items: center;
  padding: 0px;
  margin: 0px!important;
  list-style: none;
  display: flex;
}

.nav--breadcrumb-custom__ol__div {
  box-sizing: border-box;
  display: flex;
  flex-flow: wrap;
  flex-wrap: wrap;
  width: 100%;
  background-color: var(--primary);
  color: white;
}

.nav--breadcrumb-custom__ol .breadcrumbs__root a {
  background-color: var(--primary);
  color: white;
}

.nav--breadcrumb-custom__li {
  display: flex;
  user-select: none;
  margin-left: 8px;
  margin-right: 8px;
}

.nav--breadcrumb-custom__li__svg {
  user-select: none;
  width: 1em;
  height: 1em;
  display: inline-block;
  fill: currentcolor;
  flex-shrink: 0;
  transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.25rem;
}

.static-content .dynamic__html .nav--breadcrumb-custom p:last-of-type {
    margin-bottom: var(--gap1);
}


/*********************/
/*   ORGANISM PAGE   */
/*********************/

section[class*="static-content--"]:not(section[class*="fondsguide"]) > div:first-child {
    display: none;
}


/* 
.static-content:not(.static-content--fondsguide) table tr td,
.static-content:not(.static-content--fondsguide) table tr,
.static-content:not(.static-content--fondsguide) table {
    border: solid thin var(--medium-grey);
}
*/


/* ON UPGRADE:
Remove the rules below if the previous commented code
is already present in StaticContentContainer.css */

.static-content:not(.static-content--fondsguide) table,
.static-content:not(.static-content--fondsguide) table tr,
.static-content:not(.static-content--fondsguide) table tr td {
    border: inherit !important;
}

.static-content:not(.static-content--fondsguide) table tr,
.static-content:not(.static-content--fondsguide) table tr td {
    border: none !important;
}

.static-content:not(.static-content--fondsguide) table tr:not(.static-content:not(.static-content--fondsguide) table tr:last-child) {
    border-bottom: thin solid var(--medium-grey) !important;
}