/* Sheppard AFB T-7A NEPA Documents - static site styles.
   Base layer recreates the Bootstrap 3.3.4 defaults the original theme relied on;
   the theme layer reproduces the computed styles of the original "txrecap" theme. */

/* ==========================================================================
   Base (Bootstrap 3 defaults used by the theme)
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font: normal 112.5%/1.65 serif;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 22px;
  font-weight: 200;
  color: #444;
  background-color: #b3d7e3;
}

[data-text-size="small"] body {
  font-size: 14px;
  line-height: 1.42857143;
}

[data-text-size="large"] body {
  font-size: 20px;
  line-height: 26px;
}

p {
  margin: 0 0 10px;
}

ul {
  margin-top: 0;
  margin-bottom: 10px;
}

ul ul {
  margin-bottom: 0;
}

b,
strong {
  font-weight: 700;
}

sup,
sub,
.photo-credit small {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sup {
  top: -.5em;
}

.photo-credit small {
  bottom: -.25em;
}

img {
  border: 0;
  vertical-align: middle;
}

hr {
  height: 0;
  margin: 20px 0;
  border: 0;
  border-top: 1px solid #eee;
}

a {
  color: #337ab7;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #23527c;
  text-decoration: underline;
}

button {
  margin: 0;
  font: inherit;
  color: inherit;
  text-transform: none;
  cursor: pointer;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: inherit;
  font-weight: normal;
  color: #5a7495;
  text-rendering: optimizeLegibility;
}

table {
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

/* ==========================================================================
   Accessibility helpers
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 3000;
  padding: 10px 16px;
  font-weight: 700;
  color: #fff;
  background: #202c39;
  border: 2px solid #fff;
}

.skip-link:focus {
  top: 8px;
  color: #fff;
}

:focus-visible {
  outline: 3px solid #0b5ed7;
  outline-offset: 2px;
}

#headerTop :focus-visible,
#footer :focus-visible,
.skip-link:focus-visible {
  outline-color: #fff;
}

.btn-blue:focus-visible {
  outline-color: #202c39;
}

main:focus {
  outline: none;
}

.spacer {
  display: block;
}

.spacer-32 {
  height: 32px;
  height: calc(1lh + 10px);
}

.spacer-44 {
  height: 44px;
  height: 2lh;
}

/* In-text links get an underline: link blue on #444 text is below 3:1. */
#welcomePanel p a,
#welcomePanel li a {
  text-decoration: underline;
}

/* ==========================================================================
   Header
   ========================================================================== */
.lineDivisionThick {
  width: 100%;
  border-bottom: 6px solid #fff;
}

.mobileshow {
  display: none;
}

#headerTop {
  height: 42px;
  background-color: #202c39;
}

.text-resizer {
  display: none;
  float: right;
  margin: 6px;
  padding: 0 6px;
  list-style: none;
  border: 1px solid #6f8da6;
}

.js .text-resizer {
  display: block;
}

.text-resizer li {
  float: left;
  margin-right: 5px;
  line-height: 26px;
}

.text-resizer li.ts-l {
  margin-right: 0;
}

.text-resizer .ts-s {
  font-size: 12px;
}

.text-resizer .ts-m {
  font-size: 16px;
}

.text-resizer .ts-l {
  font-size: 20px;
}

.text-resizer button {
  display: inline;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
  color: #7995ac;
  background: none;
  border: 0;
}

.text-resizer button[aria-pressed="true"] {
  color: #cbdae1;
}

#headerBanner {
  width: 100%;
  height: 150px;
  background-color: #760000;
}

#headerBanner::after {
  display: table;
  clear: both;
  content: "";
}

#hb-left,
#hb-middle,
#hb-right {
  float: left;
}

#hb-left,
#hb-right {
  width: 25%;
}

#hb-middle {
  width: 50%;
  padding-top: 40px;
}

#hb-left img,
#hb-right img {
  width: auto;
  height: 160px;
  padding-top: 30px;
}

#hb-left img {
  float: right;
}

#hb-right img {
  float: left;
}

#headerBanner p {
  margin-bottom: 18px;
  font-size: 1.6em;
  font-weight: bold;
  line-height: 1.7em;
  color: #fff;
  text-align: center;
  letter-spacing: 4px;
}

#headerBottom {
  padding: 10px;
  font-weight: bold;
  color: #fff;
  text-align: center;
  letter-spacing: 4px;
  background-color: #202c39;
}

#headerBottom p {
  margin-bottom: 0;
}

/* ==========================================================================
   Navigation (one menu for desktop and mobile)
   ========================================================================== */
#siteNavigation {
  position: relative;
  z-index: 20;
  width: 100%;
  height: 45px;
  background-color: #fff;
}

.nav-toggle {
  display: none;
}

#siteNavigation ul {
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 0;
  text-align: center;
  list-style: none;
}

#siteNavigation li {
  display: inline;
  position: relative;
  padding: 0 3%;
  font-size: 17px;
  font-weight: bold;
  line-height: 45px;
  vertical-align: middle;
}

#siteNavigation a {
  position: relative;
  display: inline;
  padding: 13px 15px;
  color: #000;
}

#siteNavigation a:hover,
#siteNavigation a:focus {
  color: #000;
  text-decoration: none;
  background-color: #eee;
}

#siteNavigation a[aria-current="page"] {
  color: #5a7495;
}

/* ==========================================================================
   Main content
   ========================================================================== */
#welcomeSection {
  padding-top: 25px;
  padding-bottom: 35px;
  background-color: #d9d9d8;
  box-shadow: inset 0 6px 8px -5px #322a2a;
}

#welcomeSection > .container {
  width: 80%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  padding: 0 15px;
}

#welcomePanel {
  width: 100%;
  overflow-x: auto;
  padding: 30px 60px 60px 60px;
  background-color: #fff;
  box-shadow: 0 0 5px 2px #7f817e;
}

#welcomePanel .row {
  --bs-gutter-x: 30px;
  --bs-gutter-y: 0;
}

#welcomePanel h1,
#welcomePanel .h1-look {
  margin-bottom: 18px;
  padding-bottom: 12px;
  font-size: 34px;
  line-height: 40px;
  border-bottom: 1px solid gray;
}

#welcomePanel h2 {
  margin-bottom: 11.1375px;
  font-size: 28px;
  line-height: 34px;
}

#welcomePanel h3,
#welcomePanel .h3-look {
  margin-bottom: 14.85px;
  font-size: 22px;
  line-height: 28px;
}

[data-text-size="small"] #welcomePanel h1,
[data-text-size="small"] #welcomePanel .h1-look {
  font-size: 26px;
  line-height: 32px;
}

[data-text-size="small"] #welcomePanel h2 {
  font-size: 24px;
  line-height: 30px;
}

[data-text-size="small"] #welcomePanel h3,
[data-text-size="small"] #welcomePanel .h3-look {
  font-size: 18px;
  line-height: 24px;
}

[data-text-size="large"] #welcomePanel h1,
[data-text-size="large"] #welcomePanel .h1-look {
  font-size: 38px;
  line-height: 44px;
}

[data-text-size="large"] #welcomePanel h2 {
  font-size: 32px;
  line-height: 38px;
}

[data-text-size="large"] #welcomePanel h3,
[data-text-size="large"] #welcomePanel .h3-look {
  font-size: 26px;
  line-height: 32px;
}

/* Bold, underlined run-in label that the original set as p > strong > u. */
#welcomePanel h3.subhead {
  margin: 0 0 10px;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
  color: inherit;
  text-decoration: underline;
}

.heading-block {
  padding-bottom: 52px;
}

.hero-image {
  margin: 0 0 10px;
}

.hero-image img,
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

.indent {
  margin-left: 40px;
}

.btn-blue {
  display: block;
  max-width: 300px;
  margin-bottom: 20px;
  padding: 15px 20px;
  color: #fff;
  text-align: center;
  background-color: #5a7495;
  box-shadow: 0 1.89764px 3.79528px rgba(0, 0, 0, .25);
}

.btn-blue:hover,
.btn-blue:focus {
  color: #fff;
  text-decoration: none;
  background-color: #225465;
}

#welcomePanel a.btn-blue {
  text-decoration: none;
}

.gray-box {
  margin-top: 40px;
  padding: 40px;
  background-color: #e5e5e5;
}

/* ==========================================================================
   FAQ accordion (native details/summary)
   ========================================================================== */
.accordion {
  margin: 0 0 11.1375px;
}

.accordion-item:last-child:not([open]) > .accordion-button {
  margin-bottom: 0;
}

.accordion:has(> .accordion-item:last-child[open]) {
  margin-bottom: 0;
}

.accordion-item {
  color: #212529;
  background-color: #fff;
}

.accordion-item:first-of-type {
  border-top-left-radius: 6.75px;
  border-top-right-radius: 6.75px;
}

.accordion-item:last-of-type {
  border-bottom-right-radius: 6.75px;
  border-bottom-left-radius: 6.75px;
}

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 11.1375px;
  padding: 18px 22.5px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 34px;
  color: #212529;
  text-align: left;
  list-style: none;
  cursor: pointer;
  background-color: #e5e5e5;
  transition: color .15s ease-in-out, background-color .15s ease-in-out;
}

[data-text-size="small"] .accordion-button {
  line-height: 30px;
}

[data-text-size="large"] .accordion-button {
  line-height: 38px;
}

.accordion-button::-webkit-details-marker {
  display: none;
}

.accordion-button::marker {
  content: "";
}

.accordion-item:first-of-type .accordion-button {
  border-top-left-radius: 5.75px;
  border-top-right-radius: 5.75px;
}

.accordion-item:last-of-type:not([open]) .accordion-button {
  border-bottom-right-radius: 5.75px;
  border-bottom-left-radius: 5.75px;
}

.accordion-button::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "" / "";
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform .2s ease-in-out;
}

.accordion-item[open] > .accordion-button {
  color: #0b5ed7;
}

.accordion-item[open] > .accordion-button::after {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230b5ed7'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  transform: rotate(-180deg);
}

.accordion-button:hover {
  z-index: 2;
}

.accordion-body {
  padding: 18px 22.5px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
#footer {
  height: 100px;
  background-color: #55585b;
}

#copyright {
  display: inline-block;
  float: left;
  padding-top: 34px;
  padding-left: 50px;
  font-weight: lighter;
  color: #d8d8d8;
}

/* ==========================================================================
   Media queries (same breakpoints as the original theme)
   ========================================================================== */
@media (min-width: 1410px) {
  #hb-left img,
  #hb-right img {
    height: 130px;
  }
}

@media (max-width: 1410px) {
  #headerBanner {
    height: 180px;
  }
}

@media (max-width: 1240px) {
  #welcomePanel .hero-image img {
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 991px) {
  #headerBanner {
    height: 170px;
  }

  .mobileshow {
    display: block;
  }

  #siteNavigation {
    height: auto;
    min-height: 45px;
  }

  .js .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin-left: auto;
    padding: 0;
    color: #202c39;
    background: none;
    border: 0;
  }

  .nav-toggle svg {
    display: block;
    width: 28px;
    height: 28px;
  }

  #siteNavigation ul {
    height: auto;
    text-align: left;
  }

  .js #siteNavigation .nav-toggle[aria-expanded="false"] + ul {
    display: none;
  }

  #siteNavigation li {
    display: block;
    padding: 0;
    line-height: 22px;
    border-top: 1px solid #ddd;
  }

  #siteNavigation a {
    display: block;
    padding: 11px 20px;
  }
}

@media (max-width: 768px) {
  #headerBanner {
    height: 150px;
  }

  /* Unlike the original, keep the logos undistorted and inside the banner. */
  #hb-left img,
  #hb-right img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 150px;
    margin-bottom: 8px;
  }

  .mobileshow {
    margin-bottom: 8px;
  }

  #welcomePanel {
    padding: 14px 24px;
  }

  #welcomePanel > .row {
    margin: 0;
  }

  #welcomePanel .row > [class*="col-"] {
    margin-bottom: 20px;
    padding: 0;
  }

  #copyright {
    float: none;
    padding: 34px 8px 8px 50px;
    font-size: .8em;
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  /* Bootstrap 3 columns were plain blocks here, so child margins collapsed. */
  #welcomePanel .row {
    display: block;
  }

  #welcomePanel .row::before,
  #welcomePanel .row::after {
    display: table;
    content: "";
  }

  #welcomePanel .row::after {
    clear: both;
  }

  #welcomePanel .row > [class*="col-"] {
    min-height: 1px;
  }
}

@media (max-width: 706px) {
  #headerBanner {
    height: 150px;
  }

  .text-resizer .ts-m,
  .text-resizer .ts-l {
    font-size: 15px;
  }

  #welcomePanel ul li,
  .text-resizer li {
    padding: 0 2%;
  }

  #welcomePanel ul li {
    font-size: 15px;
  }
}

@media (max-width: 634px) {
  #headerBanner p {
    font-size: 16px;
  }
}

@media (max-width: 560px) {
  #headerBanner {
    margin-top: 10px;
  }

  #welcomePanel ul li,
  .text-resizer li {
    padding: 0 5px;
  }
}

@media (max-width: 500px) {
  #welcomePanel {
    padding: 14px;
  }

  #welcomePanel h2,
  #welcomePanel .row > [class*="col-"] h2 {
    font-size: 1.6em;
  }

  #welcomePanel .row > [class*="col-"] {
    font-size: .8em;
    line-height: 16px;
  }

  #welcomePanel .row > [class*="col-"] > div {
    margin: 0 !important;
  }
}

@media (max-width: 492px) {
  #headerBanner p {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
