:root {
  --page-blue: #3d6f9f;
  --panel-blue: #3d6f9f;
  --panel-border: #c0c7cf;
  --purpose-gray: #ababab;
  --white: #ffffff;
  --link: #ffffff;
  --shadow-dark: rgba(0, 0, 0, .8);
  --shadow-soft: rgba(0, 0, 0, .45);
  --border: #c8c8c8;
  --muted: #e9edf2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #336699;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);
}

a {
  color: var(--link);
  text-decoration: underline;
}

#PageContent {
  width: 940px;
  margin: 0 auto;
  padding: 10px 10px 16px;
}

#Content {
  width: 100%;
  margin: 0 auto;
}

/* shared header */
#PageHeader {
  display: grid;
  grid-template-columns: 165px 1fr 96px;
  align-items: center;
  column-gap: 4px;
  margin-bottom: 10px;
}

.header-logo {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.header-logo img {
  display: block;
  width: 168px;
  height: auto;
}

.header-center {
  padding-top: 0;
  text-align: center;
  line-height: 1.08;
}

.header-title {
  margin: 0;
  color: #f2f5f8;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1px;
  text-transform: uppercase;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .15);
  white-space: nowrap;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.4);
}

.header-subtitle {
  margin: 4px 0 0;
  font-size: 20px;
  color: #f5f5f5;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .35);
  white-space: nowrap;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.4);
}

.header-tagline {
  margin: 4px 0 0;
  font-size: 14px;
  font-style: italic;
  color: #f0f0f0;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .35);
  white-space: nowrap;
}

.header-years {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-top: 0;
}

.header-years img {
  width: 98px;
  height: auto;
  display: block;
}

/* homepage */
#purpose {
  background: var(--purpose-gray);
  border: 2px solid rgba(255, 255, 255, .45);
  margin-bottom: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
}

.purpose-icons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: end;
  justify-items: center;
  margin-bottom: 5px;
}

.purpose-icons img {
  max-width: 100%;
  max-height: 95px;
  width: auto;
  height: auto;
  display: block;
  filter: drop-shadow(4px 5px 3px rgba(0, 0, 0, .3));
}

.purpose-text {
  /*text-align: center;*/
  font-weight: 720;
  /*color: #f7f7f7;*/
  text-shadow: 0 1px 0 rgba(255, 255, 255, .15), 3px 3px 4px rgba(0, 0, 0, .78);
  letter-spacing: .8px;
  margin-bottom: 3px;
  margin-left: 7px;
}

#ContentDivisions {
  display: grid;
  grid-template-columns: 540px 1fr;
  gap: 36px;
  align-items: start;
}

#DataQueries {
  width: 100%;
}

.toolArea {
  border: 2px solid rgba(255, 255, 255, .5);
  border-bottom: none;
  background: transparent;
}

.toolArea:last-child {
  border-bottom: 2px solid rgba(255, 255, 255, .5);
}

.marginedItem {
  padding: 6px 8px 10px;
}

.section-title {
  color: #f0f0f0;
  font-size: 21px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .2px;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .15),
    3px 3px 4px rgba(0, 0, 0, .78);
  margin-top: 0;
  margin-bottom: 8px;
}

.query-pages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
}

.query-pages.single-col {
  grid-template-columns: 1fr;
}

.query-pages a,
.query-pages div {
  display: block;
  color: #ffffff;
  font-size: 11pt;
  line-height: 1.15;
  text-decoration: none;
  padding: 0 6px;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .25);
}

.query-pages a:hover {
  text-decoration: underline;
}

.query-pages div a {
  padding: 0;
  margin: 0 0 2px;
  margin-top: 5px;
}

#UpdatesInfo {
  padding-top: 6px;
}

.oasis-link,
.side-heading {
  display: inline-block;
  color: #f5f5f5;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, .12),
    3px 3px 4px rgba(0, 0, 0, .78);
  margin: 0 0 10px;
}

#latestUpdatesPreview {
  margin: 2px 0 22px 0;
}

.update-scrollbox {
  max-height: 6.6rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
}

.latest-updates-list {
  margin: 0;
  padding-left: 20px;
  color: #ffffff;
  font-size: 9pt;
  line-height: 1.45;
}

.latest-updates-list li {
  margin-bottom: 2px;
  padding-left: 2px;
}

.update-info,
.update-date {
  color: #ffffff;
}

#howtoUseOASIS,
#factoidContent,
#wcodfu,
#reportsandresources,
#externalLinks {
  margin-bottom: 12px;
}

#slideshow {
  width: 320px;
  max-width: 100%;
  height: 300px;
  background: rgba(98, 132, 182, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*opacity: .72;*/
}

/* shared footer */
#PageFooter {
  margin-top: 34px;
  border-top: 2px solid rgba(255, 255, 255, .55);
  border-bottom: 2px solid rgba(255, 255, 255, .55);
  padding: 12px 0 6px;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: start;
  gap: 12px;
}

.footer-logo img {
  /*width: 115px;
  height: auto;*/
  display: block;
}

p.footer,
.footer-text {
  margin: 2px 0 0;
  color: #ffffff;
  font-size: 10pt;
  line-height: 1.18;
  margin-left: 10px;
}

p.footer a,
.footer-text a {
  color: #ffffff;
}

/* referer page */
.title-bar {
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0 20px;
  color: #ffffff;
  text-shadow: 0 2px 3px rgba(0, 0, 0, .35);
  margin-top: 30px;
}

.tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tool-card {
  border: 2px solid var(--border);
  min-height: 126px;
  padding: 10px 10px 8px;
  display: grid;
  grid-template-columns: 112px 1fr;
  column-gap: 12px;
  align-items: start;
  background: rgba(255, 255, 255, .02);
}

.tool-image {
  text-align: center;
}

/*.tool-image img {
  width: 95px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 8px;
}*/

.tool-link {
  display: inline-block;
  color: #fff;
  line-height: 1.1;
  text-decoration: underline;
}

.tool-desc {
  line-height: 1.22;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  padding-top: 2px;
}

.status {
  font-size: 14px;
  font-weight: 700;
  margin: 30px 0;
  text-shadow: 0 2px 3px rgba(0, 0, 0, .35);
}

/* responsive */
@media (max-width: 960px) {
  #PageContent {
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
  }

  #PageHeader {
    grid-template-columns: 1fr;
    row-gap: 12px;
    text-align: center;
  }

  .header-logo,
  .header-years {
    justify-content: center;
    text-align: center;
  }

  .header-title,
  .header-subtitle,
  .header-tagline {
    white-space: normal;
  }

  #ContentDivisions {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tools {
    grid-template-columns: 1fr;
  }

  .tool-card {
    grid-template-columns: 95px 1fr;
  }

  .tool-image img {
    width: 85px;
  }

  .purpose-icons {
    grid-template-columns: 1fr;
  }

  #slideshow {
    width: 100%;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .query-pages {
    grid-template-columns: 1fr 1fr;
  }

  .header-title {
    font-size: 22px;
  }

  .header-subtitle {
    font-size: 18px;
  }

  .header-tagline {
    font-size: 15px;
  }

  .section-title,
  .oasis-link,
  .side-heading,
  .title-bar {
    font-size: 20px;
  }

  .query-pages a,
  .query-pages div,
  .latest-updates-list,
  p.footer,
  .footer-text,
  .tool-link,
  .tool-desc {
    font-size: 16px;
  }
}
.auto-style-7 { padding: 5px; text-align: left; padding-left: 50px;}
update-scrollbox {
  max-height: 6.6rem;
  overflow-y: auto;
  padding: 8px;
  border: solid 2px #c0c0c0;
  width: 22.6rem;
  border: solid 1px #c0c0c0;
  font-family: Tahoma, Verdana, Arial;
  font-size: 9pt !important;
}
.tool-link {
  display: inline-block;
  text-decoration: underline;
  color: #fff;
  text-align: center;
}

.tool-link img {
  display: block;
  margin: 0 auto 6px;
}

.tool-link-text {
  display: block;
}

.tool-link-text {
  display: block;
}

.tool-desc-link {
  display: block;
  color: #ffffff;
  text-decoration: underline;
  margin: 0 0 8px;
}

.tool-desc-link:last-child {
  margin-bottom: 0;
}
.page-announcement-wrap {
  margin-top: 18px;
}

.page-announcement {
  background: #d9e2ef;
  color: #084298;
  border-radius: 14px;
  padding: 22px 30px;
  /*font-size: 21px;*/
  line-height: 1.3;
  font-style: italic;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55);
}
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.popup-overlay.hidden {
  display: none;
}

.popup-dialog {
  width: 640px;
  max-width: 90vw;
  background: #e9e9e9;
  border-radius: 18px;
  padding: 30px 34px;
  box-shadow: 0 8px 22px rgba(0,0,0,.35);
  text-align: center;
}

.popup-message {
  color: #333;
  font-size: 20px;
  line-height: 1.35;
  margin-bottom: 26px;
}

.popup-actions {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.popup-btn {
  min-width: 140px;
  border: none;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 18px;
  line-height: 1;
  color: #ffffff;
  cursor: pointer;
}

.popup-btn-continue {
  background: #3b84cd;
}

.popup-btn-cancel {
  background: #ff4336;
}

.popup-btn:hover {
  opacity: .95;
}

body.popup-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  .popup-dialog {
    padding: 22px 18px;
  }

  .popup-message {
    font-size: 18px;
  }

  .popup-btn {
    font-size: 16px;
    padding: 10px 14px;
  }
}

#UpdatesInfo a:hover {
  text-decoration: underline;
}
.updateDate{
	font-size: 8pt;
    font-weight: bold;
    color: #FFFF99;
    margin-left: 8px;
    margin-bottom: 5px;
}
h2, h1, h3, h4, h5, h6 {
    margin-top: 0;
    /*margin-bottom: 0;*/
    margin-left: auto;
    margin-right: auto;
}
.latest-update-item{
	margin: 0px 0px 10px 0px;
}
h3 {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}
.miniP {
  margin: 2px 0px 15px 0px;
}
p, #PageFooter a
{
    font-size: 10pt;
}
h4 {
  font-size: .85em;
    font-family: Tahoma, Verdana, Arial;
    color: #FFFFFF;
}
.pageTitle{
	font-size: 18pt;
	font-weight: bold;
	font-family: Tahoma, Verdana, Arial;
	margin-bottom: 20px;
}
.h2class{
	
}
.h3class{
  display: block;
  margin-block-start: 1em;
  margin-block-end: 1em;
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  font-weight: bold;
  unicode-bidi: isolate;
  font-size: 18pt;
}
.h4class {
  font-size: .85em;
  font-family: Tahoma, Verdana, Arial;
  color: #FFFFFF;
  font-weight: bold;
}
.h5class {
  font-size: .85em;
  font-family: Tahoma, Verdana, Arial;
  color: #FFFFFF;
  font-weight: bold;
}
.bkg {
  background: white;
  padding: 10px 10px 20px 10px;
}
.linkFont {
  font-family: Arial,Helvetica,sans-serif;
}
.lPadding {
  padding-left: 40px;
}
.BRFSSbkg {
  background: white;
  padding: 10px 10px 20px 10px;
  color: black;
}
.BRFSSbkg a{
	color: blue;
	text-decoration: underline;
}
