/* -- custom css -- */
.region-content  h2 {
	font-size: 1.8em;
	margin-bottom: 1em;
}
.region-content  h3 {
	font-size: 1.4em;
	margin-bottom: 1em;
}
.region-content  h4 {
	font-size: 1.2em;
	margin-bottom: 1em;
}

.region-content h2, .region-content h3, .region-content  h4, .region-content  h5, .region-content  h6 {
	font-weight: 600;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 500;
    line-height: 1.2;
}
/* Main menu */
@media (max-width: 767.99px) {
  header .region-banner .site-title h2 {
    font-size: 20px;
  }
}

#block-atssc-wxt-main-menu .navbar-nav>li>a {
  font-size: 14px;
}

@media (min-width: 768px) {

  /* Restore focus visibility for dropdown toggles */
  .navbar-nav .dropdown-toggle:focus {
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
  }

  /* Nested dropdowns (flyouts) */
  .dropdown-menu ul {
    left: 100%;
    top: 0;
  }

  /*site title*/
  header .region-banner .site-title h2 {
    font-size: 28px;
  }
}

@media screen and (max-width: 991px) {

  .gcweb-menu .navbar-nav a[aria-haspopup]:not(button)::before,
  .gcweb-menu .navbar-nav a[aria-haspopup][aria-expanded="true"]:not(button)::before {
    content: none !important;
    display: none !important;
  }
}

/* Menu - align last 2 dropdown to the right on smaller screen */
@media (max-width: 1799px) {
  ul.menu.nav.main.navbar-nav>li.dropdown:nth-last-child(-n+2)>ul.dropdown-menu {
    right: 0;
    left: auto;
  }
}

/* Navbar-fixed top for anonymous users */
.body-container {
  margin-top: 80px;
}

/* Apply to all headings that can be linked via TOC */
h1[id],
h2[id],
h3[id],
h4[id],
h5[id],
h6[id] {
  scroll-margin-top: 80px;
}

@media (min-width: 768px) {
  .body-container {
    margin-top: 120px;
  }

  h1[id],
  h2[id],
  h3[id],
  h4[id],
  h5[id],
  h6[id] {
    scroll-margin-top: 120px;
  }
}

header.navbar {
  position: fixed;
  top: var(--drupal-displace-offset-top, 0);
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Navbar-static for Logged-in users only */
body.user-logged-in header.navbar {
  position: static;
}

body.user-logged-in .body-container {
  margin-top: 0;
}

/* Unset scroll-offset for logged-in users */
body.user-logged-in h1[id],
body.user-logged-in h2[id],
body.user-logged-in h3[id],
body.user-logged-in h4[id],
body.user-logged-in h5[id],
body.user-logged-in h6[id] {
  scroll-margin-top: unset;
}

/* h1 font size not consistent */
.region-header h1 {
    font-size: 32px;
}
/* Restore table overrides */
.table-bordered.border-secondary {
    border:1px solid #6c757d;
}

.table-bordered>tbody>tr>td, .table-bordered>tbody>tr>th, .table-bordered>tfoot>tr>td, .table-bordered>tfoot>tr>th, .table-bordered>thead>tr>td, .table-bordered>thead>tr>th{
  border-color: inherit;
}
/* Remove spacing for last elements from tables from legacy.*/
td > *:last-child, 
th > *:last-child {
    padding: 0;
    margin: 0;
}

/* Fix line returns in breadcrumb. */
.breadcrumb br{display: none;}

/* Fix search box spacing */
#wb-srch, .srchbox{
  padding-top:0;
}