/* Vance AFB T-7A NEPA Documents - static port of the "txrecap" ConcreteCMS theme (Bootstrap 3.3.4 base). */

/* ==========================================================================
   Bootstrap 3 base defaults the theme relies on
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* 18px root: the theme's rem-based heading margins depend on it */
  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;
}

p {
  margin: 0 0 10px;
}

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

ul ul,
ol ul {
  margin-bottom: 0;
}

b,
strong {
  font-weight: bold;
}

sup {
  position: relative;
  top: -0.5em;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

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

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

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

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

button {
  font: inherit;
  color: inherit;
}

figure {
  margin: 0;
}

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

/* ==========================================================================
   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: 8px 16px;
  background: #fff;
  color: #202c39;
  font-weight: bold;
}

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

:focus-visible {
  outline: 3px solid #1a5fb4;
  outline-offset: 2px;
}

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

main:focus {
  outline: none;
}

/* Empty paragraphs on the original were used as vertical spacers; one unit = one empty line + p margin */
.spacer {
  --lines: 1;
  height: calc(var(--lines) * 32px - 10px);
  height: calc(var(--lines) * (1lh + 10px) - 10px);
  margin: 0 0 10px;
}

/* Content links: underline so they are not identified by color alone (WCAG 1.4.1) */
.welcome-panel p a:not(.btn-blue),
.welcome-panel li a {
  text-decoration: underline;
}

/* ==========================================================================
   Typography (theme)
   ========================================================================== */
h1, h2, h3, h4, h5, h6,
.h1-look, .h3-look {
  margin-top: 0;
  font-family: inherit;
  line-height: 1;
  color: #5a7495;
  text-rendering: optimizeLegibility;
}

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

h2 {
  font-size: 28px;
  line-height: 34px;
  font-weight: normal;
  margin-bottom: 0.61875rem;
}

h3, .h3-look {
  font-size: 22px;
  line-height: 28px;
  font-weight: normal;
  margin-bottom: 0.825rem;
}

/* Underlined bold run-in labels on the Documents page, now real sub-headings */
.doc-subhead {
  margin: 0 0 10px;
  font-size: inherit;
  line-height: inherit;
  font-weight: bold;
  color: inherit;
  text-decoration: underline;
}

/* Text resizer sizes (medium is the default above) */
[data-text-size="small"] body {
  font-size: 14px;
  line-height: 1.42857143;
}

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

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

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

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

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

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

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

.doc-subhead,
[data-text-size] .doc-subhead {
  font-size: inherit;
  line-height: inherit;
}

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

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

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

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

.indent {
  padding-left: 3.89em;
}

.indent.video-link {
  margin-left: 40px;
  padding-left: 1.39em;
}

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

.mobileshow {
  display: none;
}

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

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

html:not(.js) .text-resizer {
  visibility: hidden;
}

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

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

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

.text-resizer .size-large {
  font-size: 20px;
  margin-right: 0;
}

.text-resizer button {
  display: block;
  padding: 0;
  border: 0;
  background: none;
  line-height: inherit;
  font-weight: inherit;
  /* lightened from rgb(111,141,166) to reach 4.5:1 on #202c39 */
  color: #7995ac;
  cursor: pointer;
}

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

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

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

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

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

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

#headerBanner img {
  width: auto;
  max-height: 160px;
  padding-top: 30px;
  object-fit: contain;
}

.hb-left img {
  float: right;
}

.hb-right img {
  float: left;
}

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

#headerBottom p {
  margin-bottom: 0;
}

/* ==========================================================================
   Navigation (one nav for desktop and mobile)
   ========================================================================== */
.site-nav {
  position: relative;
  z-index: 2000;
  width: 100%;
  background-color: #fff;
}

.site-nav ul {
  height: 45px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  font-size: 0;
}

.site-nav li {
  display: inline;
  padding: 0 3%;
  font-size: 17px;
  line-height: 45px;
  font-weight: bold;
  vertical-align: middle;
}

.site-nav a {
  padding: 13px 15px;
  color: #000;
}

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

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

.nav-toggle {
  display: none;
}

/* ==========================================================================
   Body
   ========================================================================== */
.container {
  width: 80%;
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 15px;
}

.row {
  --bs-gutter-x: 30px;
}

.welcome-section {
  display: block;
  padding-top: 25px;
  padding-bottom: 35px;
  background-color: #d9d9d8;
  box-shadow: inset 0 6px 8px -5px #322a2a;
}

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

.welcome-panel table {
  max-width: 100%;
}

/* ==========================================================================
   FAQ accordion (native details/summary, styled like the Bootstrap 5 accordion)
   ========================================================================== */
.accordion-item {
  background-color: #fff;
  color: #212529;
}

.accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 0.61875rem;
  padding: 18px 22.5px;
  background-color: #e5e5e5;
  color: #212529;
  font-size: 1rem;
  line-height: 34px;
  font-weight: normal;
  text-align: left;
  list-style: none;
  cursor: pointer;
  transition: color 0.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::after {
  content: "";
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  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 0.2s ease-in-out;
}

.accordion-item[open] > .accordion-button {
  /* darkened from #0c63e4 to reach 4.5:1 on #e5e5e5 */
  color: #0c5fdb;
}

.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='%230c5fdb'%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-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 .accordion-title {
  margin: 0;
  font: inherit;
  color: inherit;
}

.accordion-body {
  padding: 1rem 1.25rem;
}

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

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

/* ==========================================================================
   Media queries (ported in theme order)
   ========================================================================== */
@media (max-width: 1410px) {
  #headerBanner {
    height: 180px;
  }
}

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

@media (max-width: 1240px) {
  .welcome-panel p img {
    display: block;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto;
  }
}

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

  .mobileshow {
    display: block;
  }

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

  html:not(.js) .nav-toggle {
    display: none;
  }

  .site-nav ul {
    height: auto;
    border-top: 1px solid #ddd;
  }

  .js .site-nav ul {
    display: none;
  }

  .js .site-nav.is-open ul {
    display: block;
  }

  .site-nav li {
    display: block;
    padding: 0;
    line-height: 22px;
  }

  .site-nav li + li {
    border-top: 1px solid #ddd;
  }

  .site-nav a {
    display: block;
    padding: 12px 15px;
  }
}

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

  #headerBanner img {
    display: block;
    width: 100%;
    margin-bottom: 8px;
  }

  .mobileshow {
    margin-bottom: 8px;
  }

  .welcome-panel {
    padding: 14px 24px;
  }

  .welcome-panel > .row {
    margin: 0;
  }

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

  .site-footer .copyright {
    font-size: 0.8em;
  }
}

@media (max-width: 706px) {
  .welcome-panel li,
  .text-resizer li {
    padding: 0 2%;
  }

  .welcome-panel li,
  .text-resizer .size-medium,
  .text-resizer .size-large {
    font-size: 15px;
  }
}

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

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

  .welcome-panel li,
  .text-resizer li {
    padding: 0 5px;
  }
}

@media (max-width: 500px) {
  .welcome-panel {
    padding: 14px;
  }

  .welcome-panel h2:not(.h1-look):not(.h3-look) {
    font-size: 1.6em;
  }

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

  .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;
  }
}
