/* Faithful static prototype for the J.D. Haas Joomla migration. */

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  color: #000000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12pt;
  margin: 0;
  min-height: 100%;
}

.bg {
  background: #044a86 repeat-x top center url("/images/bg_repeatx.jpg");
}

a:link,
a:visited,
a:active {
  color: #0068a7;
}

a:hover {
  color: #659fde;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #fe0000;
  outline-offset: 2px;
}

img {
  border: 0 none;
  height: auto;
  max-width: 100%;
}

h1,
h2 {
  color: #fe0000;
  font-size: 16pt;
  font-weight: 900;
  line-height: 0.9em;
  margin: 0;
  padding: 1.2rem 5px !important;
  text-transform: uppercase;
}

h3 {
  color: #0000ff;
  font-size: 15pt;
  font-weight: 900;
  line-height: 0.9em;
}

p {
  margin-top: 0;
}

.skip-link {
  background: #ffffff;
  color: #000000;
  left: 12px;
  padding: 6px 9px;
  position: absolute;
  top: 12px;
  transform: translateY(-150%);
  z-index: 20;
}

.skip-link:focus {
  transform: translateY(0);
}

#outerWrapper2,
#outerWrapper {
  margin: 0 auto;
  max-width: 970px;
  width: 100%;
}

#outerWrapper {
  clear: both;
  position: relative;
}

#header {
  background: no-repeat top center url("/images/header.png");
  clear: both;
  min-height: 158px;
  width: 100%;
}

#header a {
  display: block;
}

.header-image {
  display: block;
  max-height: 158px;
  object-fit: contain;
  object-position: top center;
  width: 100%;
}

#wrapper {
  border-left: solid 4px #163261;
  border-right: solid 4px #163261;
  clear: both;
  width: 100%;
}

#nav {
  background: #dfd9cb;
  border-bottom: #a5a3a6 solid 2px;
  border-top: #a5a3a6 solid 2px;
  min-height: 40px;
  width: 100%;
}

.nav-toggle {
  background: #dfd9cb;
  border: 0;
  color: #fe0000;
  display: none;
  font: 700 16pt Arial, Helvetica, sans-serif;
  min-height: 40px;
  padding: 0 15px;
  text-transform: uppercase;
  width: 100%;
}

ul.mod-menu {
  display: block;
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
}

.mod-menu li {
  display: inline;
}

.mod-menu a {
  color: #fe0000;
  display: inline-block;
  font-size: 16pt;
  font-weight: 700;
  margin: 0 8px;
  padding: 0 7px;
  text-decoration: none;
  text-transform: uppercase;
}

.mod-menu a:hover,
.mod-menu .active a,
.mod-menu a[aria-current="page"] {
  background: #6f6f6f;
  color: #ffffff;
}

#contentRow {
  align-items: stretch;
  display: flex;
  width: 100%;
}

#main_side {
  background: #e5e5e5;
  flex: 1 1 auto;
  min-height: 450px;
  min-width: 0;
  padding: 0 0 0 10px;
  width: calc(100% - 330px);
}

#main_side p,
#main_side h1,
#main_side h2 {
  padding-left: 5px;
  padding-right: 5px;
}

.com-content-article__body {
  overflow-wrap: break-word;
}

.com-content-article__body img {
  display: block;
  margin: 0 auto;
}

.all-american {
  margin: 1rem 0;
  text-align: center;
}

#sidebar {
  background: #7790a6 repeat-y url("/images/sidebar_bg.jpg");
  flex: 0 0 330px;
  margin: 0;
  min-width: 0;
  padding: 0 0 0 5px;
}

.anniversary-art,
.emblem-art {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 1.5rem 0;
}

.link-module {
  background: #e0e8ee;
  border: solid 1px #000000;
  margin: 10px 0 0;
}

#mod-custom98 h3,
#mod-custom123 h3 {
  background: linear-gradient(180deg, rgba(85, 126, 170, 1) 0%, rgba(14, 42, 94, 1) 50%);
  color: #ffffff;
  margin: 0;
  padding: 0.5rem;
}

ul.latestnews_upcoming {
  color: #000000;
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: normal;
  list-style: none;
  margin: 2px 0 0;
  padding: 0;
}

ul.latestnews_upcoming li {
  margin: 10px 0;
}

.latestnews_upcoming a {
  color: #fe0000;
  display: inline-block;
  font-size: 12pt;
  font-weight: 700;
  margin: 5px;
  padding: 0 7px;
  text-decoration: none;
  text-transform: uppercase;
}

.latestnews_upcoming a:hover {
  background: #6f6f6f;
  color: #ffffff;
}

#trip {
  text-align: center;
  padding: 1rem 0;
}

.title {
  color: mediumBlue;
  font-size: 36pt;
  font-weight: bold;
  line-height: 1;
  margin: 0 0 18px;
}

.city {
  color: red;
  font-size: 36pt;
  font-weight: bold;
  line-height: 1;
  margin: 18px 0 2px;
}

.day {
  color: red;
  font-size: 16pt;
  font-weight: bold;
  line-height: 1.2;
  margin: 2px 0;
}

.day2 {
  color: red;
  font-size: 12pt;
  font-weight: bold;
  line-height: 1.2;
  margin: 0;
}

.dream {
  color: mediumBlue;
  font-size: 24pt;
  font-weight: bold;
  line-height: 1.1;
  margin: 20px 0 0;
}

#support {
  font-size: 14pt;
  margin: 0 5px;
}

#support p {
  margin: 0 0 1rem;
}

.groundpackage {
  color: red;
  font-size: 16pt;
  font-weight: bold;
}

.disclaimer {
  color: mediumBlue;
  font-size: 12pt;
}

.mission-love {
  color: #ff0000;
  font-size: 24pt;
  font-weight: bold;
}

.mission-copy {
  font-size: 14pt;
}

.photo-gallery {
  padding: 0 5px 1rem 0;
}

.photo-gallery .page-header h1 {
  padding-left: 5px !important;
}

.photo-gallery__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 5px 1rem;
}

.photo-gallery__item {
  align-items: center;
  background: #ffffff;
  border: 1px solid #a5a3a6;
  display: flex;
  justify-content: center;
  min-height: 116px;
  overflow: hidden;
  padding: 4px;
  text-decoration: none;
}

.photo-gallery__item:hover,
.photo-gallery__item:focus-visible {
  border-color: #fe0000;
}

.photo-gallery__item img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
  width: 100%;
}

.photo-lightbox {
  align-items: center;
  background: #000000;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 0;
  position: fixed;
  z-index: 50;
}

.photo-lightbox[hidden] {
  display: none;
}

.photo-lightbox__dialog {
  align-items: center;
  color: #d7d7d7;
  display: flex;
  height: 100%;
  justify-content: center;
  max-height: 100vh;
  max-width: 100vw;
  overflow: hidden;
  padding: 52px 72px 34px;
  position: relative;
  width: 100%;
}

.photo-lightbox__position {
  color: #d7d7d7;
  font-size: 10pt;
  font-weight: 400;
  left: 14px;
  line-height: 1;
  position: absolute;
  top: 15px;
  z-index: 2;
}

.photo-lightbox__button {
  align-items: center;
  background: transparent;
  border: 0;
  color: #eeeeee;
  cursor: pointer;
  display: flex;
  font: 400 26pt Arial, Helvetica, sans-serif;
  height: 54px;
  justify-content: center;
  line-height: 1;
  min-width: 54px;
  opacity: 0.92;
  padding: 0;
  position: absolute;
  z-index: 2;
}

.photo-lightbox__button:hover,
.photo-lightbox__button:focus-visible {
  color: #ffffff;
  opacity: 1;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.photo-lightbox__button--previous {
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.photo-lightbox__button--next {
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.photo-lightbox__button--close {
  font-size: 18pt;
  right: 14px;
  top: 12px;
}

.photo-lightbox__figure {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  max-height: 100%;
  max-width: min(100%, 1040px);
  width: auto;
}

.photo-lightbox__image {
  display: block;
  height: auto;
  margin: 0;
  max-height: calc(100vh - 130px);
  max-width: 100%;
  object-fit: contain;
}

.photo-lightbox__caption {
  color: #d7d7d7;
  font-size: 10.5pt;
  line-height: 1.35;
  margin: 8px auto 0;
  max-width: 100%;
  overflow-wrap: break-word;
  text-align: center;
}

body.photo-lightbox-open {
  overflow: hidden;
}

.visually-hidden {
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

#footer {
  background: #1c1c1c;
  color: #ffffff;
  font-size: 0.8em;
  margin: 10px 0 0;
  padding: 12px;
  text-align: center;
}

#footer p {
  margin: 0;
}

#footer a {
  color: #ffffff;
}

@media (max-width: 860px) {
  #contentRow {
    display: block;
  }

  #main_side,
  #sidebar {
    width: 100%;
  }

  #main_side {
    padding: 0 10px;
  }

  #sidebar {
    padding: 0 10px 12px;
  }
}

@media (max-width: 700px) {
  #header {
    min-height: 0;
  }

  .nav-toggle {
    display: block;
  }

  ul.mod-menu {
    display: none;
    margin-top: 0;
  }

  #nav.nav-open ul.mod-menu {
    display: block;
  }

  .mod-menu li {
    display: block;
  }

  .mod-menu a {
    display: block;
    margin: 0;
    padding: 8px 12px;
  }

  .title,
  .city {
    font-size: 32pt;
  }

  .dream {
    font-size: 22pt;
  }

  .photo-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 430px) {
  #wrapper {
    border-left-width: 2px;
    border-right-width: 2px;
  }

  body {
    font-size: 12pt;
  }

  h1,
  h2,
  .day,
  .groundpackage {
    line-height: 1.15;
  }

  .title,
  .city {
    font-size: 28pt;
  }

  .dream,
  .mission-love {
    font-size: 20pt;
  }

  #support,
  .mission-copy {
    font-size: 13pt;
  }

  .photo-gallery__grid {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-left: 0;
    padding-right: 0;
  }

  .photo-lightbox {
    padding: 0;
  }

  .photo-lightbox__dialog {
    max-height: 100vh;
    max-width: 100vw;
    padding: 48px 46px 30px;
  }

  .photo-lightbox__button {
    font-size: 22pt;
    height: 44px;
    min-width: 44px;
  }

  .photo-lightbox__image {
    max-height: calc(100vh - 128px);
  }

  .photo-lightbox__caption {
    font-size: 9.5pt;
    margin-top: 7px;
  }

  .photo-lightbox__button--previous {
    left: 2px;
  }

  .photo-lightbox__button--next,
  .photo-lightbox__button--close {
    right: 2px;
  }

  .photo-lightbox__position {
    left: 8px;
    top: 12px;
  }
}
