/* T-7A JBSA Recapitalization EIS - static copy of the "txrecap" ConcreteCMS theme.
   Layout grid: bootstrap-grid.min.css (Bootstrap 5). Base rules below reproduce the
   Bootstrap 3.3.4 defaults the original theme was built on. */

/* ---------- Bootstrap 3 base ---------- */
*,
*::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: 14px;
  line-height: 1.42857143;
  font-weight: 200;
  color: #444;
  background-color: #B3D7E3;
}

/* Text size chosen with the header text resizer (class on <html>) */
.size-small body {
  font-size: 15.3px;
}

.size-medium body {
  font-size: 16px;
  line-height: 22px;
}

.size-large body {
  font-size: 20px;
  line-height: 26px;
}

p {
  margin: 0 0 10px;
}

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

b,
strong {
  font-weight: 700;
}

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

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

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

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

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td,
th {
  padding: 0;
}

button {
  font: inherit;
  color: inherit;
  margin: 0;
}

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

/* ---------- Headings ---------- */
h1, h2, h3, h4, h5, h6,
.h1 {
  font-family: inherit;
  line-height: 1;
  margin-top: 0;
  text-rendering: optimizeLegibility;
  color: #347389;
}

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

h2 {
  font-size: 24px;
  line-height: 30px;
  font-weight: normal;
  margin-bottom: 11.1375px;
}

h3 {
  font-size: 18px;
  line-height: 24px;
  font-weight: normal;
  margin-bottom: 14.85px;
}

.h3 {
  font-size: 18px;
  line-height: 24px;
  margin-bottom: 14.85px;
}

h4 {
  font-size: 16px;
  margin-bottom: 22.275px;
  font-weight: bold;
}

:where(.size-medium) h1,
:where(.size-medium) .h1 {
  font-size: 34px;
  line-height: 40px;
}

:where(.size-large) h1,
:where(.size-large) .h1 {
  font-size: 38px;
  line-height: 44px;
}

:where(.size-medium) h2 {
  font-size: 28px;
  line-height: 34px;
}

:where(.size-large) h2 {
  font-size: 32px;
  line-height: 38px;
}

:where(.size-medium) h3,
:where(.size-medium) .h3 {
  font-size: 22px;
  line-height: 28px;
}

:where(.size-large) h3,
:where(.size-large) .h3 {
  font-size: 26px;
  line-height: 32px;
}

/* Underlined bold sub-headings on the Documents page (look like body text) */
.doc-subhead {
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
  color: inherit;
  text-decoration: underline;
  margin: 0 0 10px;
}

/* ---------- Utilities ---------- */
.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;
  left: 8px;
  top: -100px;
  z-index: 3000;
  padding: 8px 16px;
  background: #1f1f1f;
  color: #fff;
  font-weight: 700;
}

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

:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #fff;
}

#main:focus {
  outline: none;
}

/* Replace empty spacer paragraphs/headings of the original */
.spacer {
  display: block;
  margin: 0;
  padding: 0;
  width: 100%;
  clear: both;
}

.h-10 { height: 10px; }
.h-15 { height: 15px; }
.h-30 { height: 30px; }
.h-40 { height: 40px; }

/* One empty line of body text (a "<br>" at the start of a paragraph) */
.spacer-line {
  height: 22px;
  height: 1lh;
}

/* An empty paragraph ("<p><br></p>") */
.spacer-p {
  height: 22px;
  height: 1lh;
  margin-bottom: 10px;
}

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

.lineDivisionThin {
  border-bottom: 2px solid #fff;
  width: 100%;
}

.mobileshow {
  display: none;
}

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

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

/* Underline links inside body text so they are not identified by color alone */
#welcomePanel a:not(.btn-blue) {
  text-decoration: underline;
}

/* ---------- Header ---------- */
#headerTop {
  background-color: #55585B;
  height: 42px;
}

.text-resizer {
  float: right;
  margin: 6px;
  padding: 0 6px;
  list-style: none;
  border: 1px solid rgb(111, 141, 166);
}

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

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

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

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

.text-resizer button {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  line-height: inherit;
  font-weight: inherit;
  color: rgb(197, 209, 219);
}

.text-resizer button[aria-pressed="true"] {
  color: rgb(203, 218, 225);
  text-decoration: underline;
}

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

#headerBanner {
  height: 150px;
  width: 100%;
}

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

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

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

#headerBanner img {
  width: auto;
}

#hb-left img {
  float: right;
  padding-top: 30px;
  max-height: 160px;
}

#hb-right img {
  max-height: 150px;
  padding-top: 5px;
}

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

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

#headerBottom p:last-child {
  margin-bottom: 0;
}

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

.menu-toggle {
  display: none;
}

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

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

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

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

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

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

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

#welcomeSection {
  background-color: #D9D9D8;
  box-shadow: inset 0 6px 8px -5px #322A2A;
  padding-top: 25px;
  padding-bottom: 35px;
}

#welcomePanel {
  width: 100%;
  overflow-x: auto;
  padding: 30px 60px 60px 60px;
  background-color: #fff;
  box-shadow: 0 0 5px 2px rgb(127, 129, 126);
}

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

.blue-content {
  font-weight: bold;
  color: #347389;
}

/* Darkened just enough for 4.5:1 on the gray box */
.gray-box .blue-content {
  color: #316D82;
}

/* Small print at the bottom of the home page */
.fine-print p,
.fine-print .fp-text {
  font-size: x-small;
}

.fine-print p.fp-lead {
  font-size: inherit;
}

/* ---------- FAQ accordion ---------- */
.simple-accordion {
  margin-bottom: 1.2em;
}

.simple-accordion details {
  margin-bottom: 1em;
}

.simple-accordion summary {
  display: block;
  overflow: auto;
  padding: 3px 15px;
  background: #eee;
  cursor: pointer;
  list-style: none;
}

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

.acc-title {
  display: block;
  margin: 0 0 11.1375px;
  padding-top: 8px;
  color: #347389;
  font-size: 15px;
  line-height: 23px;
}

:where(.size-medium) .acc-title {
  font-size: 22px;
  line-height: 34px;
}

:where(.size-large) .acc-title {
  font-size: 28px;
  line-height: 38px;
}

.acc-title::before {
  display: inline-block;
  width: 0.476em;
  margin-right: 8px;
  font-size: 0.75em;
  line-height: 0;
  vertical-align: 0.05em;
  transform: scaleX(0.6);
  transform-origin: 0 50%;
  content: "\25BA";
  content: "\25BA" / "";
}

details[open] > summary .acc-title::before {
  width: 0.762em;
  transform: scaleY(0.6);
  content: "\25BC";
  content: "\25BC" / "";
}

.acc-body {
  padding: 20px;
  background: #fefefe;
}

/* ---------- Public meeting table (Get Involved) ---------- */
.pm-outer {
  min-height: 500px;
  padding: 20px;
  background-color: #E5E5E5;
  text-align: center;
}

.pm-table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
}

.pm-table th {
  width: 33.33%;
  padding-bottom: 20px;
  vertical-align: top;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #347389;
}

.pm-table th svg {
  height: 1em;
  vertical-align: -0.1em;
  fill: currentColor;
}

.pm-table td {
  height: 130px;
  padding: 20px;
  vertical-align: top;
  background-color: #fff;
  font-size: 0.9em;
  line-height: 1.3em;
}

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

#copyright {
  display: inline-block;
  float: left;
  padding-left: 50px;
  padding-top: 34px;
  color: rgb(216, 216, 216);
  font-weight: lighter;
}

/* ---------- Media queries (theme breakpoints) ---------- */
@media (min-width: 1410px) {
  #hb-left img {
    max-height: 130px;
  }
}

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

/* Desktop: the menu sits below the "Joint Base San Antonio" bar. Normal flow is kept so the
   banner floats push the following content exactly as in the original theme. */
@media (min-width: 992px) {
  .site-header {
    position: relative;
    padding-bottom: 45px;
  }

  #siteNavigation {
    position: absolute;
    left: 0;
    bottom: 0;
  }
}

/* Equal 20px-padded columns are too narrow for whole words here */
@media (max-width: 1199px) {
  .pm-table {
    table-layout: auto;
  }

  .pm-table th {
    width: auto;
  }

  .pm-table td {
    padding: 20px 8px;
  }
}

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

  .mobilehide {
    display: none;
  }

  .mobileshow {
    display: block;
  }

  #hb-right img {
    padding-top: 40px;
  }

  #siteNavigation {
    height: auto;
    padding: 5px 0 0 5%;
    background-color: transparent;
  }

  .js .menu-toggle {
    display: flex;
    clear: both;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 35px;
    padding: 0;
    color: #333;
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 5px;
    cursor: pointer;
  }

  .menu-toggle[aria-expanded="true"] {
    border-color: #1A86AC;
    background-color: #ddecef;
  }

  .menu-toggle svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
  }

  #siteNavigation ul {
    clear: both;
    width: 95%;
    height: auto;
    text-align: left;
    background-color: #fff;
    border: 1px solid #999;
    border-radius: 5px;
  }

  .js #siteNavigation ul {
    display: none;
    margin-top: 4px;
  }

  .js #siteNavigation.is-open ul {
    display: block;
  }

  #siteNavigation li {
    display: block;
    padding: 0;
    line-height: 22px;
    font-size: 16px;
    font-weight: inherit;
  }

  #siteNavigation li a {
    display: block;
    padding: 8px 12px;
    color: #444;
  }

  #siteNavigation li a[aria-current="page"] {
    font-weight: 700;
  }

  #siteNavigation li + li a {
    border-top: 1px solid #eee;
  }
}

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

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

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

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

  #welcomePanel ul li {
    padding: 0 2%;
    font-size: 15px;
  }

  .text-resizer li {
    padding: 0 2%;
  }

  .text-resizer li.ts-medium,
  .text-resizer li.ts-large {
    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: 492px) {
  #headerBanner p {
    font-size: 12px;
  }
}

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

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

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

  .mobileshow,
  #siteNavigation {
    margin-bottom: 8px;
  }

  #welcomePanel {
    padding: 14px 24px;
  }

  #welcomePanel > div.row {
    margin: 0;
  }

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

  #footer > div {
    float: none;
    font-size: 0.8em;
    padding: 8px;
    text-align: center;
  }
}

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

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

  #welcomePanel h2:not(.h1):not(.h3) {
    font-size: 1.6em;
  }

  /* Heading drops below large-text size here; darkened just enough for 4.5:1 on gray */
  .gray-box h2 {
    color: #316D82;
  }

  /* Keep the home row inside the 14px panel padding so the panel never scrolls sideways */
  .body-content-box > .row {
    margin-left: -14px;
    margin-right: -14px;
  }

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

  .acc-title {
    margin: 0;
    padding: 0;
    font-size: 1.3em !important;
    line-height: 24px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
