﻿/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.text-M-700, .text-M-800 {
  font-family: Arial, sans-serif;
  font-weight: 700;
}
.text-M-800 { font-weight: 800; }

.card-title {
  font-size: 16px;
  color: #48525b;
  font-weight: bold;
}

.h1-adjusted { font-size: 2.5em; }

p, ul, blockquote, pre, td, th, label {
  margin-top: 0;
  color: #4d4d4d;
}

li { margin-bottom: 0.3rem; }

/* =========================================================
   CARDS (base)
   ========================================================= */
.card {
  border: 1px solid #ccc;
  border-radius: 0;
  /* let cards breathe by default; accordion spacing handled below */
  margin-bottom: 1rem;
}

.card-img-top {
  border-bottom: 1px solid #979797;
  border-radius: 0;
}

/* =========================================================
   ACCORDION
   ========================================================= */
.accordion {
  margin-bottom: 1.25rem !important; /* space below the whole accordion */
}

/* Each panel (card) in the accordion */
.accordion .card {
  margin-bottom: 16px !important; /* vertical rhythm between panels */
  border-radius: 12px;            /* modern rounded look */
  box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 6px 18px rgba(0,0,0,.06);
  border: none;                   /* rely on shadow instead of border */
  overflow: hidden;
  background: #fff;
}

/* Header shell */
.accordion .card-header {
  margin-bottom: 0;
  padding: .25rem !important; /* like Bootstrap p-1 */
  background: #EAF8FB;        /* your bg-eblue */
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* Header button */
.accordion .card-header > button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem 1rem 2.25rem !important; /* room for chevron */
  font-family: Arial, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  color: #061C60 !important;    /* .text-blue */
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
}

/* Chevron (▶) that rotates on open */
.accordion .card-header > button::before {
  content: "\25B6";
  position: absolute;
  left: .95rem;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  font-size: 1rem;
  opacity: .85;
  transition: transform .18s ease;
}
.accordion .card-header > button:not(.collapsed)::before {
  transform: translateY(-50%) rotate(90deg);
}

/* Hover/Focus states */
.accordion .card-header > button:hover {
  background: #E2F9FE !important;
  text-decoration: none !important;
}
.accordion .card-header > button:focus {
  outline: 3px solid rgba(0,100,143,.25);
  outline-offset: 2px;
}
.accordion .card-header > button:active {
  background: #d7f2fb !important;
}

/* Panel body */
.accordion .card-body {
  padding: 1rem 1.25rem 1.25rem 1.25rem !important;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: #4d4d4d;
}

/* Lists inside accordion bodies */
.accordion .card-body ul,
.accordion .card-body ul ul {
  padding-left: 1.25rem;
  margin: 0 0 .75rem 0;
  list-style-position: outside;
}
.accordion .card-body ul ul {
  padding-left: 1.5rem;
  list-style-type: disc;
}
.accordion .card-body li {
  margin: 0 0 .5rem 0 !important;
  padding: 0 !important;
  line-height: 1.5 !important;
}

/* Optional: center images inside accordion bodies */
.accordion .card-body img {
  display: block;
  margin: 1rem auto;
}

/* High-contrast support */
@media (prefers-contrast: more){
  .accordion .card {
    box-shadow: none;
    border: 2px solid #061C60 !important;
  }
  .accordion .card-header {
    border-bottom: 2px solid #061C60;
  }
  .accordion .card-header > button:focus {
    outline: 2px solid #061C60;
  }
}

/* =========================================================
   TABLES (especially inside accordions)
   ========================================================= */
.resources-table {
  margin-bottom: 0;
}
.resources-table th,
.resources-table td,
.accordion table th,
.accordion table td {
  padding-top: .45rem !important;
  padding-bottom: .45rem !important;
  vertical-align: top;
}

/* =========================================================
   BUTTONS & LEGACY COLLAPSE ICON HOOKS (if still used somewhere)
   ========================================================= */
button .collapseSection::before,
button.collapsed .collapseSection::before,
button .collapseSection-Arrow::before,
button.collapsed .collapseSection-Arrow::before,
a .collapseVaccineMenu::before,
a.collapsed .collapseVaccineMenu::before {
  font-family: 'FontAwesome';
}
button .collapseSection::before { content: "\f068"; }
button.collapsed .collapseSection::before { content: "\f067"; }
button .collapseSection-Arrow::before { content: "\f062"; }
button.collapsed .collapseSection-Arrow::before { content: "\f063"; }
a .collapseVaccineMenu::before { content: "\f068"; }
a.collapsed .collapseVaccineMenu::before { content: "\f067"; }

/* =========================================================
   UTILITIES
   ========================================================= */
.center { text-align: center; }
.right { text-align: right; }
.justify { text-align: justify; }
.center-mobile { text-align: center; }
.ul-right { text-align: right; direction: rtl; }
.cursor { cursor: pointer; }

.video-100 {
  width: 100%;
  height: 130%;
  padding-bottom: 20%;
}
.w-100-img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}
.fixed-footer {
  position: fixed;
  width: 100%;
  height: 40px;
  bottom: 0;
  z-index: 1;
}

/* =========================================================
   COLORS
   ========================================================= */
.text-black { color: #000; }
.text-blue  { color: #061C60; }
.text-gray1 { color: #313030; }
.text-white { color: #fff; }

.bg-blue   { background-color: #061C60; }
.bg-lblue  { background-color: #2d68a8; }
.bg-ablue  { background-color: #4F81BD; }
.bg-bblue  { background-color: #31859C; }
.bg-cblue  { background-color: #17375E; }
.bg-dblue  { background-color: #00648F; }
.bg-eblue  { background-color: #E1EDEF; }
.bg-aqua   { background-color: #CBFFF5; }
.bg-yellow { background-color: #FDE89A; }

/* =========================================================
   BANNERS
   ========================================================= */
.jumbotron-flu {
  background-image: url("../../images/photo-flu-banner.jpg");
  background-size: cover;
  background-position: center center;
  border-radius: 0;
  height: 280px;
}
.banner-rectangle {
  height: 8px;
  width: 130px;
  background-color: #4dbcb5;
}
.banner-horiz-gradient {
  height: 24px;
  background-image: linear-gradient(
    to right,
    rgba(120,149,205,1),
    rgba(141,213,235,1),
    rgba(0,127,172,1)
  );
}
.banner-vert-gradient {
  background-image: linear-gradient(
    to bottom,
    rgba(120,149,205,1),
    rgba(141,213,235,1),
    rgba(0,127,172,1)
  );
}
.social-icons { width: 75px; height: 75px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media only screen and (min-width: 768px) {
  .jumbotron-flu { height: 330px; }
  .video-100 { width: 690px; height: 388px; padding-bottom: 0; }
  .desktop-infographic { display: block; }
  .mobile-infographic  { display: none; }
  .social-icons { width: 50px; height: 50px; }
}

@media only screen and (min-width: 945px) {
  .w-100-img { margin-bottom: 0; }
}

@media only screen and (min-width: 1024px) {
  .colAtoZ1, .colAtoZ2, .colGrey3 { display: block; }
  .colGrey4 { float: right; width: 300px; padding-top: 10px; }
  .globalNavGreyMedia a:link,
  .globalNavGreyMedia a:visited { font-size: 18px; }
  .column3alt {
    font-size: 11px;
    font-family: Arial, Helvetica, sans-serif;
    width: 70%;
    margin-left: 15%;
    margin-right: 15%;
  }
  .column3alt-1 {
    padding-left: 2%;
    width: 30%;
    display: inline-block;
  }
  .column3alt-2 {
    width: 66%;
    display: inline-block;
    vertical-align: top;
  }
  .media-nav-div, .dph-width {
    width: 1003px;
    margin: 0 auto;
    float: none;
  }
  .social-icons { width: 32px; height: 32px; }
}

/* =========================================================
   FINAL OVERRIDES (specific guarantees)
   ========================================================= */
/* Programs accordion headers must always use your brand blue */
#programs .accordion .card-header > button,
#programs .accordion .card-header > button:hover,
#programs .accordion .card-header > button:focus,
#programs .accordion .card-header > button:active,
#programs .accordion .card-header > button.collapsed {
  color: #061C60 !important;
}

/* Optional: subtle hover on any accordion header area */
.accordion .card-header:hover {
  background-color: #E2F9FE !important;
  transition: background-color .2s ease;
}/* Contact card tweaks */
#ContactCard .card-body { line-height: 1.55; }
.contact-email-btn {
  background: #00648F;       /* match .bg-dblue brand */
  border-color: #00648F;
  font-weight: 700;
}
.contact-email-btn:hover,
.contact-email-btn:focus {
  background: #055a80;
  border-color: #055a80;
  text-decoration: none;
}
/* Force solid primary button on the Contact card */
#ContactCard .btn-primary {
  background-color: #00648F !important;  /* match your .bg-dblue */
  border-color: #00648F !important;
  color: #fff !important;
}

#ContactCard .btn-primary:hover,
#ContactCard .btn-primary:focus {
  background-color: #055a80 !important;
  border-color: #055a80 !important;
  color: #fff !important;
}

/* In case a global rule made all .btn backgrounds transparent */
#ContactCard .btn {
  background-image: none !important; /* kills gradient overrides */
}
/* =========================================================
   LISTS – GLOBAL (accordions) + OPTIONAL COMPACT MODE
   Place at the very end of your CSS so it wins the cascade
   ========================================================= */

/* Default, polished spacing & clear nesting for ALL accordion lists */
.accordion .card-body ul {
  list-style-type: disc !important;
  list-style-position: outside;
  padding-left: 1.25rem !important;
  margin: 0 0 .6rem 0 !important;
}

.accordion .card-body ul ul {
  list-style-type: circle !important;
  padding-left: 1.25rem !important;  /* consistent indent for second level */
  margin-top: .25rem !important;
}

.accordion .card-body ul ul ul {
  list-style-type: square !important;
}

/* Slightly snug baseline for list items */
.accordion .card-body li {
  margin: 0 0 .45rem 0 !important;
  line-height: 1.45 !important;
  padding: 0 !important;
}

/* =========================
   OPTIONAL: Compact bullets
   Add .bullets-tight to any wrapper (.accordion, a specific .card-body, etc.)
   Example: <div class="accordion bullets-tight" id="OutpatientAccordion">
   ========================= */
.bullets-tight ul {
  margin-bottom: .4rem !important;
}

.bullets-tight li {
  margin-bottom: .18rem !important;
  line-height: 1.35 !important;
}

/* Slightly tighter indent for nested lists in compact mode */
.bullets-tight ul ul {
  padding-left: 1rem !important;
}



