html, body
{
  height: 100%;
  margin: 0;
  padding: 0;
  max-width: 1900px;
  margin: auto;
  background-color: #e5ebeb !important;
}

img, div.body-text a img
{
  width: 100%;
  max-width: 500px;
}

dd img, dt img, a img, font > img, .frupdates > div > center > img, .frnewtables > div > center > img
{
  width: unset;
}

header.grid-container
{
  /* background-image: url("/beta/resources/images/pd-hero-WaipunaAtWaipao-100-1400x500.jpg"); */
  /* background-image: url("/beta/resources/images/pd-hero-KH7A9548-1400x500.jpg"); */
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                    url('/beta/resources/images/hero_rowing-1400.webp');
  display: flex;
  justify-content: space-between;
  color: white;
  width: 100%;
}

header.banner {
  background-size: cover;
  background-position: 50% 16%;;
  background-repeat: no-repeat;
  border-top: 0.8rem solid #609F2C;
  height: 25%;
}

header.homepage
{
  height: 45%;
}


div.pd-logo
{
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 1.5rem;
}

div.pd-logo h1
{
  font-family: "Playfair Display", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  font-size: 4.5rem;
  letter-spacing: 0.4rem;
  padding-bottom: 0.5rem;
}

div.pd-logo div.divider
{
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-size: 1.2rem;
  letter-spacing: 0.1rem;
}

div.milestone
{
  font-family: "Cormorant Garamond", serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: italic;
  font-size: 1.7rem;
}

div.pd-oha-logo
{
  flex-basis: 186px;
}

div.pd-oha-logo img
{
  width: 100%;
}

.divider {
  display: flex;
  align-items: center;
  text-align: center;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid white;
}

.divider:not(:empty)::before {
  margin-right: 10px;
}

.divider:not(:empty)::after {
  margin-left: 10px;
}

nav.navbar
{
  border: none;
}

div.container-fluid
{
  background-color: #0e4169;
}

div#navbar-collapsed
{
  list-style: none;
  background-color: #0e4169;
  margin: 0;
  align-items: center;
  font-size: 1.8rem;
}

div#navbar-collapsed ul li
{
  height: 54px;
  padding-right: 1rem;
  padding-left: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

div#navbar-collapsed ul li a
{
  color: white;
  text-decoration: none !important;
  text-align: center;
  font-family: "Lucida Grande", "Lucida Sans Unicode", "Arial Unicode MS", Arial, Helvetica, sans-serif;
  width: 100%;
}

div#navbar-collapsed ul li:hover
{
  background-color: #004A6A;
  border-bottom: 0.2rem solid #609F2C;
  padding-top: 0.2rem;
}

div#navbar-collapsed ul li a:hover
{
  background-color: transparent;
}

button.navbar-toggle
{
  border-color: white;
  float: none;
  margin-left: 15px;
  background-color: transparent !important;
}

button.navbar-toggle:hover
{
  background-color: #7899B6 !important;
}

span.icon-bar
{
  background-color: white !important;
}


/* Main Content START */

div.body-text > br
{
  display: none;
}

body > table.main > tbody
{
  display: flex;
  justify-content: center;
  padding: 0.5rem;
}

body > table.main > tbody > tr
{
  display: flex;
  max-width: 1200px;
}

td.mainleft
{
  flex: 5;
  background-color: #e5ebeb;
  margin-right: 1rem;
}

.spacer
{
  width: 200px;
}

td.mainright
{
  width: 200px;
}

table#mainright-small-screen
{
  display: none;
}

table.side-table
{
  border-top: 6px solid #36a70e;
  background-color: #e5ebeb;
  padding: 0.5rem;
  border-collapse: initial;
}

table.side-table .grey-heading
{
  font-size: 1.8rem;
  line-height: 2.2rem;
  padding-bottom: 1rem;
}

table.side-table tr td
{
  font-size: 16px;
}

a#wnhd div, a#nhi div, a#nhdb2015 div
{
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/beta/resources/images/basket-300.webp');
}

a#nhdb div, a#nhhs div, a#nhdb2013 div
{
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/beta/resources/images/model_boat-300.webp');
}
a#usc2020 div, a#usc div, a#nhdb2011 div
{
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/beta/resources/images/feather_flowers-300.webp');
}
a#acs div, a#nhdb2021 div
{
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/beta/resources/images/pot-300.webp');
}
a#usec div, a#nhdb2019 div
{
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/beta/resources/images/wooden_bowl-300.webp');
}

a#odr div, a#nhdb2017 div
{
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/beta/resources/images/wooden_item-300.webp');
}

div.gallery-image
{
  width: 250px;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.3s ease;
  background-size: cover;
  background-position: 50% 50%;
}

div.gallery-image:hover
{
  filter: brightness(1.5);
}

div.gallery-image span
{
  color: white;
  font-size: 32px;
  padding: 10px;
}

a.gallery-image-link
{
  text-decoration: none !important;
}

div.galleryimagecontainer
{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.5rem;
  gap: 1.5rem;
}

/* Main Content END */


/* fr_updates.23.html START */
div.frupdates a, div.frnewtables a
{
  color: white;
}
/* fr_updates.23.html END */

div#content
{
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

div#content > div
{
  padding: 1rem;
  width: 100%;
}

th, td
{
  padding: 8px !important;
}

dd
{
  margin-left: 40px !important;
}

dd, dt
{
  font-size: 16px;
}

dd a, dt a
{
  color: #003366 !important;
}

a
{
  color: #003366;
  text-decoration: underline !important;
}

a:has(a)
{
  color: black;
  text-decoration: none !important;
}

a:has(a):hover
{
  color: black;
}

hr
{
  height: 3px !important;
}

@media (max-width: 1100px)
{
  div#navbar-collapsed ul li
  {
    padding-left: 0px;
    padding-right: 0px;
    font-size: 1.6rem;
  }
  div#navbar-collapsed ul li a
  {
    padding-left: 5px;
  }
  body > table.main > tbody > tr.spacer
  {
    display: none;
  }
  body > table.main > tbody > tr
  {
    flex-direction: column;
  }
  td.mainright
  {
    width: 100%;
  }
  table#mainright-small-screen
  {
    display: block;
    max-width: 450px
  }
  td#mainright-large-screen
  {
    display: none;
  }
  td.mainright
  {
    padding: 0px !important;
    width: 450px;
  }
  .side-table
  {
    margin-bottom: 1em;
  }
  #side-table-bottom
  {
    margin-bottom: 2em;
  }
}

@media (max-width: 767px)
{
  .pd-oha-logo
  {
    display: none;
  }
  header.grid-container
  {
    justify-content: center;
  }
  div#navbar-collapsed ul li
  {
    padding-left: 0px;
  }
  div#navbar-collapsed ul li a
  {
    padding-right: 0px;
    padding-left: 5px;
    text-align: left;
  }
  div.pd-logo h1
  {
    font-size: 4rem;
  }
}
