

body {
  font-family: 'Calibri', 'Helvetica', 'Arial', sans-serif;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
  margin-right: 0px;
}

.main-column-div  {
  display: flex; 
  flex-direction: column;
  align-items: center;
}

.main-column-div {
  width: 100%;
  margin: auto;
}

.stuff-to-hide-for-now-div, .hide-this {
  display: none !important;
}

.bold-text {
  font-weight: bold;
}

.light-gray-border {
  border-bottom: 1px solid #b3b2b2;
  border-top: 0px;
  width: 100%;
}

.underlined {
  text-decoration: underline;
}

.italic {
  font-style: italic;
}



.website-header {
  height: 60px;
  background-color: #343434;
  display: flex;
  justify-content: space-between;
}

.website-header   a   {
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  font-family: 'Montserrat';
}

.user-account-link {
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  font-family: 'Montserrat';
  text-decoration: underline;
  cursor: pointer;
}

.header-div-left {
  display: flex;
  align-items: center;
  margin-left: 20px;
  gap: 10px;
}

.header-div-right {
  display: flex;
  align-items: center;
  margin-right: 40px;
  gap: 32px;
}

.website-header-logo-image {
  height: 80px;
}

.website-header-company-name {
  color: white;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: 'Montserrat';
}

.clickable-header-item-left {
  text-decoration: none;
  color: inherit;
}

.boldest-text {
  font-weight: 900;
}



.website-footer {
  /* height: 60px; */
  background-color: #343434;
  display: flex;
  flex-direction: column;
  /* padding-left: 24px;
  padding-right: 24px; */
  padding-top: 18px;
}

.website-footer   a   {
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 12px;
  font-family: 'Montserrat';
}

.footer-section-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border-bottom: 1px solid gray;
  padding-bottom: 20px;
}

.footer-section-left {
  display: flex;
  flex-direction: column;
  width: 33.33%;
}

.footer-text-1 {
  color: white;
  margin-left: 30px;
  font-size: 16px;
}

.footer-section-right {
  display: flex;
  justify-content: flex-end;
  margin-right: 30px;
  gap: 32px;
  width: 66.66%;
}

.footer-section-bottom {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 36px;
  margin-bottom: 50px;
}

.footer-section-bottom-3 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.left-section-div-for-layout {
  display: flex;
  flex-direction: row;
  width: 25%;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  margin-left: 30px;
}

.right-section-div-for-layout {
  display: flex;
  justify-content: center;
  width: 75%;
}

.footer-section-bottom-2 {
  display: flex;
  flex-direction: row;
  border-top: 1px solid gray;
  padding-top: 20px;
  padding-bottom: 20px;
  justify-content: center;
}

.footer-product-summary-div {
  display: flex;
  justify-content: center;
  width: 75%;
}

.footer-product-summary {
  /* margin-top: 36px; */
  /* margin-bottom: 36px; */
  margin-top: 0px;
  margin-bottom: 0px;
  margin-right: 64px;
  margin-left: 30px;
  color: #e3e3e3;
  text-align: justify;
  font-size: 16px;
}

.footer-product-summary-2 {
  margin-top: 32px;
  margin-bottom: 40px;
  margin-right: 64px;
  margin-left: 30px;
  color: #e3e3e3;
  text-align: justify;
  font-weight: 400;
}

.footer-website-logo-div {
  display: flex;
  flex-direction: row;
  width: 25%;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  margin-left: 30px;
}





/* v1 RESPONSIVE CSS ADJUSTMENTS */

/* Anything LARGER than the below items use the default CSS styling, specified above */

/* NOTE: My personal main computer is a 1920x1080 resolution, BUT has 120% custom scaling applied at the level of Windows.
This effectively means that the ACTUAL CSS viewport dimensions, as per Chrome Dev tools, are right around 1603 x 813px.
Thus, when I test on my screen resolution at this scaling, I'm basically testing at what a 1600px laptop at 100% scaling would see at 100% browser zoom. */


.location-summary-div {
  max-width: 80%;
}

.page-intro-description-div {
  max-width: 66%;
}




/* Larger laptops/desktops */
@media (max-width: 1600px) { /* My de-facto browser CSS resolution width is 1603px, so this is the cutoff for anything JUST smaller than my settings */

  .website-header-logo-image {
    height: 78px;
  }

  .website-header-company-name {
    font-size: 18px;
  }

  .website-header a, .website-footer a, .user-account-link {
    font-size: 11.5px;
  }
  
  .footer-text-1 {
    font-size: 15.5px;
  }

  .footer-product-summary {
    font-size: 15.5px;
  }

  .footer-section-resources  a {
    font-size: 14px;
  }

}




/* Normal laptops */
@media (max-width: 1440px) {

  .website-header-logo-image {
    height: 76px;
  }

  .website-header-company-name {
    font-size: 17px;
  }

  .website-header a, .website-footer a, .user-account-link {
    font-size: 11.0px;
  }
  
  .footer-text-1 {
    font-size: 15.0px;
  }

  .footer-product-summary {
    font-size: 15.0px;
  }

  .footer-section-resources  a {
    font-size: 13.5px;
  }

}




/* Smaller laptops / large tablets */
@media (max-width: 1280px) { 

  .website-header-logo-image {
    height: 74px;
  }

  .website-header-company-name {
    font-size: 16px;
  }

  .website-header a, .website-footer a, .user-account-link {
    font-size: 10.5px;
  }
  
  .footer-text-1 {
    font-size: 14.0px;
  }

  .footer-product-summary {
    font-size: 14.0px;
  }

  .footer-section-resources  a {
    font-size: 13.5px;
  }

}




/* Tablets portrait and smaller */
@media (max-width: 1024px) {

}

/* Mobile screens? */
@media (max-width: 768px) { 

}




.hamburger-button {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  color: #ececec;
  font-weight: 700;
  padding-left: 0px;
  padding-right: 0px;
}

/* Mobile menu (hidden by default) */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 60px;
  right: 0;
  background-color: #343434;
  border: 1px solid #000000;
  width: 200px;
  z-index: 1000;
}

.mobile-menu a, .mobile-menu span {
  padding: 12px;
  text-decoration: none;
  color: rgb(255, 255, 255);
  border-bottom: 1px solid #000000;
}

/* ===== NEW: mobile combined image defaults (hidden on desktop) ===== */
.mobile-company-image-link {
  display: none; /* shown only on mobile */
  min-width: 0;
  text-decoration: none;
}

.company-logo-and-name-image {
  display: block;
  width: 100%;      /* fill available width */
  height: auto;     /* keep aspect ratio */
  max-height: 44px; /* prevents it from getting huge; adjust */
  object-fit: contain;
}

.footer-company-name-mobile {
  display: none;
}

.company-logo-and-name-image-footer {
  display: none;
  width: auto;
  padding-left: 16px;
  padding-right: 16px;
  max-height: 44px;
  object-fit: contain;
  margin-bottom: 30px;
}

/* Ensure dropdown anchors correctly to header */
.website-header {
  position: relative; /* IMPORTANT because .mobile-menu is position:absolute */
}





@media (max-width: 900px) {


}




/* ===== MOBILE STYLES ===== */
@media (max-width: 600px) {

  /* Hide desktop elements */
  .desktop-nav {
    display: none;
  }

  .header-div-left {
    display: none;
  }

  /* Turn header into 2-column row: image takes leftover space, hamburger fixed */
  .website-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 0px;
    padding-left: 10px;
  }

  /* Show the mobile image + hamburger */
  .mobile-company-image-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
  }

  .company-logo-and-name-image {
    width: auto;
  }

  .hamburger-button {
    display: block;
  }

  /* Optional: make the hamburger easier to tap */
  .hamburger-button {
    padding-right: 10px;
    padding-left: 10px;
  }

  /* Keep dropdown aligned with hamburger area */
  .mobile-menu {
    top: 100%;   /* directly below header */
  }

  .footer-company-name-mobile {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }

  .company-logo-and-name-image-footer {
    display: none;
    width: auto;
    padding-left: 0px;
    padding-right: 0px;
    max-height: 44px;
    object-fit: contain;
    margin-bottom: 0px;
}




  .footer-section-top {
    flex-direction: column;
  }

  .footer-section-left {
    text-align: center;
    width: 100%;
  }

  .footer-section-right {
    margin-right: 0px;
    margin-top: 30px;
    gap: 4px;
    width: 100%;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }

  .footer-text-1 {
    margin-left: 0px;
    margin-top: 20px;
  }

  .footer-section-bottom {
    flex-direction: column;
  }

  .footer-website-logo-div {
    width: 100%;
    margin-left: 0px;
  }

  .footer-product-summary-div {
    width: 100%;
  }
  
  .footer-product-summary {
    margin-right: 30px;
    margin-left: 30px;
  }

  .footer-website-logo-div {
    display: none;
  }

  .company-logo-and-name-image-footer {
    display: block;
  }

  .footer-company-name-mobile {
    display: flex;
  }

}



.interactive-map-div {
    width: 100%;
    height: 650px;
    border-radius: 0px;
    overflow: hidden;
    background: #e5e7eb;
}



.alert-category-filter-widget {
    position: relative;
    width: auto;
    max-width: 100%;
    font-family: Arial, sans-serif;
}

.alert-category-dropdown-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border: 1px solid #999;
    border-radius: 4px;
    background: #ffffff;
    cursor: pointer;
    font-size: 14px;
    text-align: left;
}

.alert-category-dropdown-chevron {
    font-size: 13px;
    flex-shrink: 0;
}

.alert-category-dropdown-menu {
    position: absolute;
    z-index: 20;
    width: 100%;
    max-height: 340px;
    overflow-y: auto;
    margin-top: 4px;
    border: 1px solid #999;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.alert-category-option-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.alert-category-option-row:hover {
    background: #f1f1f1;
}

.alert-category-option-row input {
    flex-shrink: 0;
    pointer-events: none;
}

.alert-category-select-all-row {
    font-weight: 700;
    border-bottom: 1px solid #d0d0d0;
    background: #fafafa;
}




/* popup width, specified here, appears to get ignored and overriden by the "new maplibregl.Popup({" Javascript and its default behavior when popups are created that way */
/* to specify the width, it apparently must be hardcoded in that section */
.weather-alert-hover-popup {
  width: 40% !important;
  max-width: 40% !important; 
}

.weather-alert-hover-popup .maplibregl-popup-content {
  font-family: Arial, sans-serif;
  font-size: 11px;
  line-height: 1.4;
}

.weather-alert-event-name-title {
  font-weight: 900;
}

.weather-alert-description-title {
  font-weight: 600;
}

.weather-alert-instructions-title {
  font-weight: 600;
}

.weather-alert-event-name-div {
  border-bottom: 1px solid #989898;
  margin-bottom: 8px;
  padding-bottom: 3px;
  flex-grow: 1;
}

.weather-alert-description-div {
  margin-bottom: 8px;
}

.popup-heading-divider-span {
  margin-left: 2px;
  margin-right: 2px;
}



.weather-alert-stack-list-div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 8px;
}

.weather-alert-stack-option-button {
  cursor: pointer;
  text-align: left;
  padding: 6px 8px;
}

.weather-alert-stack-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.weather-alert-stack-option-time {
  font-size: 13px;
  white-space: nowrap;
}


.weather-alert-popup-header-div {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.weather-alert-popup-close-button {
    cursor: pointer;
    border: none;
    background: none;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    padding: 0;
}


.map-data-update-status-row {
  display: flex;
  gap: 4px;
  align-items: center;
}

.map-data-update-status-label {
  font-weight: 700;
}

.map-data-update-status-time {
  font-weight: 700;
  color: #000000;
}

.closest-severe-weather-threats-table-scroll-div {
  max-height: 500px;
  overflow-y: auto;
}


.view-weather-alert-on-map-button {
  cursor: pointer;
  text-decoration: underline;
}




.location-search-wrapper-div {
    position: relative;
    width: 360px;
    max-width: 90%;
    margin: 0 auto 12px auto;
    margin-bottom: 40px;
}

.location-search-input-wrapper-div {
    position: relative;
}

#location-search-input {
    width: 100%;
    box-sizing: border-box;
    cursor: text;
    padding-right: 32px;
    height: 40px;
    padding-left: 8px;
}

.location-search-icon-span {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

#location-search-results-div {
    display: none;
    position: absolute;
    z-index: 9999;
    width: 100%;
    max-height: 420px;
    overflow-y: auto;
    background: white;
    border: 1px solid #999;
    box-sizing: border-box;
}

.location-search-result-div {
    cursor: pointer;
    padding: 6px;
}

.location-search-result-div:hover {
    text-decoration: underline;
}



.policy-document-section {
  max-width: 90%;
  margin: auto;
}






.homepage-location-routing-section {
    text-align: center;
    padding: 32px 12px;
}

.homepage-location-routing-section h1 {
    margin-bottom: 8px;
}

.homepage-location-routing-section h2 {
    max-width: 760px;
    margin: 0 auto 24px auto;
    font-size: 1.1rem;
    font-weight: 500;
}

.homepage-location-search-wrapper-div {
    position: relative;
    width: 420px;
    max-width: 90%;
    margin: 0 auto 12px auto;
}

.location-search-input-wrapper-div {
    position: relative;
}

#homepage-location-search-input {
    width: 100%;
    box-sizing: border-box;
    cursor: text;
    padding-right: 32px;
}

.location-search-icon-span {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

#homepage-location-search-results-div {
    display: none;
    position: absolute;
    z-index: 9999;
    width: 100%;
    max-height: 420px;
    overflow-y: auto;
    background: white;
    border: 1px solid #999;
    box-sizing: border-box;
    text-align: left;
}

.homepage-location-search-result-div {
    cursor: pointer;
    padding: 6px;
}

.homepage-location-search-result-div:hover {
    text-decoration: underline;
}

.selected-homepage-location-div {
    margin: 10px auto 18px auto;
    font-weight: 600;
}

.homepage-weather-routing-buttons-div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.homepage-weather-routing-button {
    cursor: pointer;
}

#homepage-routing-error-div {
    margin-top: 12px;
    color: #b00020;
    font-weight: 600;
}



#map-data-update-status-container {
  display: flex;
  flex-direction: row;
  gap: 4px;
  margin-bottom: 4px;
  width: 100%;
  justify-content: flex-end;
}

.main-webpage-title {
  margin-top: 74px;
  margin-bottom: 8px;
}

.interactive-map-outer-holder-div {
  max-width: 90%;
  width: 90%;
}



.underneath-map-controls-div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-top: 14px;
}

.radar-opacity-div {
  display: flex;
  align-items: flex-start;
}

#radar-opacity-value {
  margin-left: 4px;
  margin-right: 2px;
}

.radar-opacity-label-text {
  font-weight: bold;
}


.severe-weather-filters-outer-div {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.severe-weather-filters-span-text {
  font-weight: bold;
  margin-right: 6px;
}

.severe-weather-filters-label-div {
  display: none;
}

/*
#alert-category-dropdown-button-text {
  font-weight: bold;
}
*/

.closest-severe-weather-threats-to-location-div {
  width: 90%;
  max-width: 90%;
  margin-top: 40px;
}

.closest-severe-weather-threats-table {
  border-collapse: collapse;
}

.closest-severe-weather-threats-table th,
.closest-severe-weather-threats-table td {
  padding: 8px;
  vertical-align: top;
  overflow-wrap: break-word;
  text-align: left;
  border-bottom: 1px solid #ababab;
}

/* Distance */
.closest-severe-weather-threats-table th:nth-child(1),
.closest-severe-weather-threats-table td:nth-child(1) {
  min-width: 60px;
  max-width: 120px;
}

/* Event */
.closest-severe-weather-threats-table th:nth-child(2),
.closest-severe-weather-threats-table td:nth-child(2) {
  min-width: 90px;
  max-width: 180px;
}

/* Impacted Areas */
.closest-severe-weather-threats-table th:nth-child(3),
.closest-severe-weather-threats-table td:nth-child(3) {
  min-width: 90px;
  max-width: 180px;
}

/* Description */
.closest-severe-weather-threats-table th:nth-child(4),
.closest-severe-weather-threats-table td:nth-child(4) {
  min-width: 300px;
  max-width: 500px;
}

/* Instructions */
.closest-severe-weather-threats-table th:nth-child(5),
.closest-severe-weather-threats-table td:nth-child(5) {
  min-width: 200px;
  max-width: 350px;
}

/* Start Time */
.closest-severe-weather-threats-table th:nth-child(6),
.closest-severe-weather-threats-table td:nth-child(6) {
  min-width: 60px;
  max-width: 120px;
}

/* Expires At */
.closest-severe-weather-threats-table th:nth-child(7),
.closest-severe-weather-threats-table td:nth-child(7) {
  min-width: 60px;
  max-width: 120px;
}

/* Quick View */
.closest-severe-weather-threats-table th:nth-child(8),
.closest-severe-weather-threats-table td:nth-child(8) {
  min-width: 90px;
  max-width: 180px;
}



.show-more-severe-weather-threats-div {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.show-more-severe-weather-threats-button {
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  border-width: 1px;
}


.set-up-custom-alarms-div {
  margin-top: 50px;
  width: 66%;
  max-width: 66%;
}


.category-specific-FAQ-section {
  margin-top: 40px;
  width: 66%;
  max-width: 66%;
}


.custom-alarm-status-disabled {
  color: #ff0000;
  font-weight: 900;
}

.custom-alarm-status-enabled {
  color: #00aa00;
  font-weight: 900;
}



.toggle-custom-alarm-button {
  padding: 8px 12px;
  border-radius: 4px;
  border-width: 1px;
  cursor: pointer;
}

.show-alarm-settings-button {
  padding: 8px 12px;
  border-radius: 4px;
  border-width: 1px;
  cursor: pointer;
  margin-left: 6px;
}

.alarm-rules-span-label-text {
  font-weight: bold;
}


.location-specific-information-section {
  margin-top: 40px;
  width: 66%;
  max-width: 66%;
  border-top: 1px solid gray;
  padding-top: 20px;
}

.weather-data-sources-section {
  margin-top: 40px;
  width: 66%;
  max-width: 66%;
  margin-bottom: 40px;
}


.location-geographic-data-grid-div p {
  margin: 4px 0;
}



/* Tablets portrait and smaller */
@media (max-width: 1024px) {

  .location-summary-div {
    width: 90%;
    max-width: 90%;
  }

  .page-intro-description-div {
    width: 90%;
    max-width: 90%;
  }

  .set-up-custom-alarms-div {
    width: 90%;
    max-width: 90%;
  }

  .location-specific-information-section {
    width: 90%;
    max-width: 90%;
  }

  .weather-data-sources-section {
    width: 90%;
    max-width: 90%;
  }
  
  .category-specific-FAQ-section {
    width: 90%;
    max-width: 90%;
  }

  #map-data-update-status-container {
    flex-direction: column;
    align-items: center;
  }

  .datetime-update-separator {
    display: none;
  }

  .underneath-map-controls-div {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  /* popup width, specified here, appears to get ignored and overriden by the "new maplibregl.Popup({" Javascript and its default behavior when popups are created that way */
  /* to specify the width, it apparently must be hardcoded in that section */
  .weather-alert-hover-popup {
    width: 80% !important;
    max-width: 80% !important;
  }

}



.weather-alert-event-table-badge {
  display: inline-block;
  font-weight: bold;
  color: white;
  padding-top: 2px;
  padding-bottom: 4px;
  padding-left: 7px;
  padding-right: 7px;
  background-color: var(--weather-alert-table-color);
}