/*
CSS file for Belchertown weather website.
This website was originally created in WordPress on Genesis WP.
A lot of this CSS here is from the Genesis WP Child Theme.
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ## Baseline Normalize
--------------------------------------------- */
/* normalize.css v3.0.1 | MIT License | git.io/normalize */

html {
  font-family: sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

audio,
canvas,
progress,
video {
  display: inline-block;
  vertical-align: baseline;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

[hidden],
template {
  display: none;
}

a {
  background: 0 0;
}

a:active,
a:hover {
  outline: 0;
}

abbr[title] {
  border-bottom: 1px dotted;
}

b,
strong {
  font-weight: 700;
}

dfn {
  font-style: italic;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

mark {
  background: #ff0;
  color: #333;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

img {
  border: 0;
}

svg:not(:root) {
  overflow: hidden;
}

figure {
  margin: 1em 40px;
}

hr {
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  height: 0;
}

pre {
  overflow: auto;
}

code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
  margin: 0;
}

button {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
  cursor: pointer;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

input {
  line-height: normal;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

input[type="search"] {
  appearance: button;
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: 700;
}

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

td,
th {
  padding: 0;
}

/* ## Box Sizing
--------------------------------------------- */

*,
input[type="search"] {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* ## Float Clearing
--------------------------------------------- */

.author-box:before,
.clearfix:before,
.entry:before,
.entry-content:before,
.nav-primary:before,
.nav-secondary:before,
.pagination:before,
.site-container:before,
.site-footer:before,
.site-header:before,
.site-inner:before,
.wrap:before {
  content: " ";
  display: table;
}

.author-box:after,
.clearfix:after,
.entry:after,
.entry-content:after,
.nav-primary:after,
.nav-secondary:after,
.pagination:after,
.site-container:after,
.site-footer:after,
.site-header:after,
.site-inner:after,
.wrap:after {
  clear: both;
  content: " ";
  display: table;
}

/* # Defaults
---------------------------------------------------------------------------------------------------- */

/* ## Text Elements
--------------------------------------------- */

body {
  /* background-color: #f5f5f5; */
  /* Removed in favor for dark mode dynamic switching */
  /* background-color: #fff; */
  /* color: #333; */
  font-family: Roboto, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.625;
  margin: 0;
}

a,
button,
input:focus,
input[type="button"],
input[type="reset"],
input[type="submit"],
textarea:focus,
.button {
  -webkit-transition: all 0.1s ease-in-out;
  -moz-transition: all 0.1s ease-in-out;
  -ms-transition: all 0.1s ease-in-out;
  -o-transition: all 0.1s ease-in-out;
  transition: all 0.1s ease-in-out;
}

::-moz-selection {
  background-color: #333;
  color: #fff;
}

::selection {
  background-color: #333;
  color: #fff;
}

a {
  color: #e5554e;
  text-decoration: none;
}

a:hover {
  /* color: #333; */
  /* Removed in favor for dark mode dynamic switching */
  color: #e5554e;
}

p {
  margin: 0 0 28px;
  padding: 0;
}

ol,
ul {
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
}

b,
strong {
  font-weight: 700;
}

blockquote,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 40px;
}

blockquote::before {
  content: "\201C";
  display: block;
  font-size: 30px;
  height: 0;
  left: -20px;
  position: relative;
  top: -10px;
}

/* ## Headings
--------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  /* Removed in favor for dark mode dynamic switching */
  /* color: #333; */
  font-family: Roboto, sans-serif;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 10px;
}

h1 {
  font-size: 36px;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 20px;
}

h5 {
  font-size: 18px;
}

h6 {
  font-size: 16px;
}

/* ## Objects
--------------------------------------------- */

embed,
iframe,
img,
object,
video {
  max-width: 100%;
}

img {
  height: auto;
}

/* ## Forms
--------------------------------------------- */

input,
select,
textarea {
  border: 1px solid #ddd;
  /* Removed in favor for dark mode dynamic switching */
  /* color: #333; */
  font-size: 18px;
  font-weight: 300;
  padding: 16px;
  width: 100%;
}

input:focus,
textarea:focus {
  border: 1px solid #999;
  outline: none;
}

input[type="checkbox"],
input[type="image"],
input[type="radio"] {
  width: auto;
}

::-moz-placeholder {
  /* Removed in favor for dark mode dynamic switching */
  /* color: #333; */
  font-weight: 300;
  opacity: 1;
}

::-webkit-input-placeholder {
  /* Removed in favor for dark mode dynamic switching */
  /* color: #333; */
  font-weight: 300;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
  /* Removed in favor for dark mode dynamic switching */
  /* background-color: #333; */
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 300;
  padding: 16px 24px;
  text-transform: uppercase;
  width: auto;
}

button:hover,
input:hover[type="button"],
input:hover[type="reset"],
input:hover[type="submit"],
.button {
  display: inline-block;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button {
  display: none;
}

/* ## Tables
--------------------------------------------- */

table {
  border-collapse: collapse;
  border-spacing: 0;
  line-height: 2;
  margin-bottom: 40px;
  width: 100%;
}

tbody {
  border-bottom: 1px solid #ddd;
}

td,
th {
  text-align: left;
}

td {
  border-top: 1px solid #ddd;
  padding: 6px 0;
}

th {
  font-weight: 400;
}

/* # Structure and Layout
---------------------------------------------------------------------------------------------------- */

/* ## Site Containers
--------------------------------------------- */

.site-inner,
.wrap {
  margin: 0 auto;
  max-width: 1200px;
}

.site-inner {
  clear: both;
  /* POB */
  /* padding-top: 10px; */
  /* padding-top: 40px; */
  margin-bottom: 25px;
}

/* ## Column Widths and Positions
--------------------------------------------- */

/* ### Wrapping div for .content and .sidebar-primary */

.content-sidebar-sidebar .content-sidebar-wrap,
.sidebar-content-sidebar .content-sidebar-wrap,
.sidebar-sidebar-content .content-sidebar-wrap {
  width: 980px;
}

.content-sidebar-sidebar .content-sidebar-wrap {
  float: left;
}

.sidebar-content-sidebar .content-sidebar-wrap,
.sidebar-sidebar-content .content-sidebar-wrap {
  float: right;
}

/* ### Content */

.content {
  /*float: right;*/
  width: 800px;
}

.content-sidebar .content,
.content-sidebar-sidebar .content,
.sidebar-content-sidebar .content {
  float: left;
}

.content-sidebar-sidebar .content,
.sidebar-content-sidebar .content,
.sidebar-sidebar-content .content {
  width: 580px;
}

.full-width-content .content {
  width: 100%;
}

/* ### Primary Sidebar */

.sidebar-primary {
  float: right;
  width: 360px;
}

.sidebar-content .sidebar-primary,
.sidebar-sidebar-content .sidebar-primary {
  float: left;
}

/* ### Secondary Sidebar */

.sidebar-secondary {
  float: left;
  width: 180px;
}

.content-sidebar-sidebar .sidebar-secondary {
  float: right;
}

/* ## Column Classes
--------------------------------------------- */
/* Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css */

.five-sixths,
.four-sixths,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fourths,
.three-sixths,
.two-fourths,
.two-sixths,
.two-thirds {
  float: left;
  margin-left: 2.564102564102564%;
}

.one-half,
.three-sixths,
.two-fourths {
  width: 48.717948717948715%;
}

.one-third,
.two-sixths {
  width: 31.623931623931625%;
}

.four-sixths,
.two-thirds {
  width: 65.81196581196582%;
}

.one-fourth {
  width: 23.076923076923077%;
}

.three-fourths {
  width: 74.35897435897436%;
}

.one-sixth {
  width: 14.52991452991453%;
}

.five-sixths {
  width: 82.90598290598291%;
}

.first {
  clear: both;
  margin-left: 0;
}

/* # Common Classes
---------------------------------------------------------------------------------------------------- */

/* ## Titles
--------------------------------------------- */

.archive-title {
  font-size: 20px;
}

.entry-title {
  font-size: 36px;
}

.entry-title a:hover {
  color: #e5554e;
}

/* ## WordPress
--------------------------------------------- */

a.aligncenter img {
  display: block;
  margin: 0 auto;
}

a.alignnone {
  display: inline-block;
}

.alignleft {
  float: left;
  text-align: left;
}

.alignright {
  float: right;
  text-align: right;
}

a.alignleft,
a.alignnone,
a.alignright {
  max-width: 100%;
}

img.centered,
.aligncenter {
  display: block;
  margin: 0 auto 24px;
}

img.alignnone,
.alignnone {
  margin-bottom: 12px;
}

a.alignleft,
img.alignleft {
  margin: 0 24px 24px 0;
}

a.alignright,
img.alignright {
  margin: 0 0 24px 24px;
}

/* # Site Header
---------------------------------------------------------------------------------------------------- */

.site-header {
  min-height: 75px;
}

.site-header .wrap {
  /* padding: 40px 0; */
  padding: 5px 0px;
}

/* ## Title Area
--------------------------------------------- */

.title-area {
  float: left;
  /* padding: 10px 0; */
  width: 330px;
}

.header-full-width .title-area {
  width: 100%;
}

.site-title {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}

.header-image .site-title>a {
  /* background: url('') no-repeat left; */
  float: left;
  min-height: 80px;
  width: 100%;
}

.site-description {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.site-description,
.site-title {
  margin-bottom: 0;
}

.header-image .site-description,
.header-image .site-title {
  display: block;
  text-indent: -9999px;
}

/* ## Widget Area
--------------------------------------------- */

.site-header .widget-area {
  float: right;
  text-align: right;
  width: 800px;
}

/* # Site Navigation
---------------------------------------------------------------------------------------------------- */

.genesis-nav-menu {
  clear: both;
  font-size: 16px;
  line-height: 1;
  width: 100%;
}

.genesis-nav-menu .menu-item {
  display: inline-block;
  text-align: left;
}

.genesis-nav-menu a {
  color: #333;
  display: block;
  padding: 30px 24px;
}

.genesis-nav-menu a:hover,
.genesis-nav-menu .current-menu-item>a,
.genesis-nav-menu .sub-menu .current-menu-item>a:hover {
  color: #e5554e;
}

.genesis-nav-menu .sub-menu {
  left: -9999px;
  opacity: 0;
  position: absolute;
  -webkit-transition: opacity 0.4s ease-in-out;
  -moz-transition: opacity 0.4s ease-in-out;
  -ms-transition: opacity 0.4s ease-in-out;
  -o-transition: opacity 0.4s ease-in-out;
  transition: opacity 0.4s ease-in-out;
  width: 200px;
  z-index: 99;
}

.genesis-nav-menu .sub-menu a {
  border: 1px solid #eee;
  border-top: none;
  font-size: 14px;
  padding: 20px;
  position: relative;
  width: 200px;
}

.genesis-nav-menu .sub-menu .sub-menu {
  margin: -55px 0 0 199px;
}

.genesis-nav-menu .menu-item:hover {
  position: static;
}

.genesis-nav-menu .menu-item:hover>.sub-menu {
  left: auto;
  opacity: 1;
}

.genesis-nav-menu>.first>a {
  padding-left: 0;
}

.genesis-nav-menu>.last>a {
  padding-right: 0;
}

.genesis-nav-menu>.right {
  color: #fff;
  float: right;
  list-style-type: none;
  padding: 30px 0;
}

.genesis-nav-menu>.right>a {
  display: inline;
  padding: 0;
}

.genesis-nav-menu>.rss>a {
  margin-left: 48px;
}

.genesis-nav-menu>.search {
  padding: 10px 0 0;
}

/* ## Site Header Navigation
--------------------------------------------- */

.site-header .sub-menu {
  border-top: 1px solid #eee;
}

.site-header .sub-menu .sub-menu {
  margin-top: -56px;
}

.site-header .genesis-nav-menu li li {
  margin-left: 0;
}

/* ## Primary Navigation
--------------------------------------------- */

.nav-primary .genesis-nav-menu a {
  color: #fff;
}

.nav-primary .genesis-nav-menu a:hover,
.nav-primary .genesis-nav-menu .current-menu-item>a,
.nav-primary .genesis-nav-menu .sub-menu .current-menu-item>a:hover {
  color: #e5554e;
}

/* ## Secondary Navigation
--------------------------------------------- */

/* # Content Area
---------------------------------------------------------------------------------------------------- */

/* ## Entries
--------------------------------------------- */

.entry {
  margin-bottom: 40px;
  /* padding: 50px 60px; */
  padding: 10px;
}

.entry-content ol,
.entry-content ul {
  margin-bottom: 28px;
  margin-left: 40px;
}

.entry-content ol>li {
  list-style-type: decimal;
}

.entry-content ul>li {
  list-style-type: disc;
}

.entry-content ol ol,
.entry-content ul ul {
  margin-bottom: 0;
}

/* ## Entry Meta
--------------------------------------------- */

p.entry-meta {
  font-size: 16px;
  margin-bottom: 0;
}

.entry-header .entry-meta {
  margin-bottom: 24px;
}

.entry-footer .entry-meta {
  border-top: 2px solid #f5f5f5;
  padding-top: 24px;
}

.entry-categories,
.entry-tags {
  display: block;
}

.entry-comments-link::before {
  content: "\2014";
  margin: 0 6px 0 2px;
}

/* # Site Footer
---------------------------------------------------------------------------------------------------- */

.site-footer {
  background-color: #333;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  padding: 20px 0;
  /* text-align: center; */
}

.site-footer p {
  margin-bottom: 0;
}

.site-footer a:hover {
  color: #e5554e;
}

/* # Global items which we may override based on screen width

   - To minimize trauma, we are starting off with the weather icon/temperature/unit row
---------------------------------------------------------------------------------------------------- */

/* Observation and Temperature group: [ Current observation ] [ Temperature ][Unit] */
.temp-observation {
  padding-top: 10px;
}

/* Current observation container of the icon */
.current_obs_top {
  padding-top: 4px;
}

/* Current observation icon */
#wxicon {
  margin-left: 15px;
  cursor: pointer;
}

/* Current temperature */
.current_temp .outtemp_outer {
  padding-top: 16px;
  font-size: 65px;
}

/* Temperature unit */
.outtempunitlabelsuper {
  top: -1em;
  font-size: 50%;
  margin-left: -0.5em;
}

.forecast-title {
  text-align: left;
  font-size: 25px;
  margin-bottom: 5px;
  padding-right: 0 !important;
}

.forecast-subtitle {
  font-size: 14px;
}

.current-conditions-title {
  display: flex;
  align-items: flex-end;
  /* vertical alignment */
  justify-content: center;
  /* horizontal aligment */
  height: 40px;
  font-size: 14px;
  padding-bottom: 5px;
  padding-left: 0;
}

.current-conditions-subtitle {
  font-size: 14px;
}

.forecast-menu {
  display: inline-block;
  position: relative;
  height: 40px;
  padding-left: 0px;
  text-align: right;
  font-size: 14px;
}

.forecast-button {
  box-sizing: border-box;
  display: inline-block;
  margin: 10px 5px 0px;
  border-style: hidden;
  border-color: #d7d7d7;
  border-radius: 5px;
  border-width: 2px;
  padding: 0px 10px;
}

.forecast-button:hover {
  cursor: pointer;
}

.forecast-conditions {
  min-height: 160px;
  word-wrap: break-word;
}

.forecast-image {
  height: 50px;
}

.forecast-conditions-1hour {
  min-height: 144px;
  word-wrap: break-word;
}

.forecast-high,
.forecast-low {
  font-size: 20px;
  font-weight: 500;
}

.forecast-temp-chart {
  font-size: 20px;
  font-weight: 250;
  height: 178px;
  /* 178 critical to align 1, 3 & 24hr forecasts */
}

.forecast-precip,
.forecast-wind {
  font-size: 15px;
}

.forecast-day.pirateweather-forecast .forecast-conditions {
  line-height: 1;
}

.forecast-day.pirateweather-forecast .forecast-conditions .forecast-condition-text {
  font-size: 14px;
  display: block;
  white-space: normal;
  line-height: 1;
  margin-top: 10px;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.snow-precip,
.rain-precip {
  color: #42b5e7;
}

.rain-no-precip {
  color: #808080;
}

/* # Media Queries
---------------------------------------------------------------------------------------------------- */

@media only screen and (max-width: 1196px) {

  .site-inner,
  .wrap {
    max-width: 960px;
  }

  .content-sidebar-sidebar .content-sidebar-wrap,
  .sidebar-content-sidebar .content-sidebar-wrap,
  .sidebar-sidebar-content .content-sidebar-wrap {
    width: 740px;
  }

  .content,
  .site-header .widget-area {
    width: 620px;
  }

  .sidebar-content-sidebar .content,
  .sidebar-sidebar-content .content,
  .content-sidebar-sidebar .content {
    width: 400px;
  }

  .obs-wind-divider {
    display: none;
  }
}

/* iPad Landscape */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  .wx-stn-info {
    display: none;
  }

  .wx-stn-info-container .col-sm-5 {
    width: 75%;
  }

  .wx-stn-info-container .col-sm-1 {
    width: 10%;
  }

  .temperature-row .toprow-height,
  .temperature-row .weather-obs-top {
    min-height: initial !important;
  }

  .temperature-row .obs-row {
    float: left;
  }

  .windrow {
    float: left;
    padding: 20px;
  }

  .temperature-row .station-observations td {
    min-width: 138px;
    max-width: 142px;
  }

  .station-observations,
  .weather-obs-bottom {
    float: left;
  }

  .radar-map {
    float: right;
  }

  .forecasts .forecast-day {
    width: 165px;
  }

  .onehr_forecasts .forecast-1hour {
    width: 72px;
  }

  .threehr_forecasts .forecast-3hour {
    width: 144px;
  }

  .day_forecasts .forecast-24hour {
    width: 165px;
  }

  .clear {
    clear: both;
  }

  .eq-stats-row .col-sm-9 {
    width: 100%;
  }

  .eq-stats-row .earthquake-container {
    width: 50%;
    margin-left: 24%;
    border-left: none !important;
  }

  .site-container .site-footer {
    text-align: center;
  }
}

/* Phones */
@media only screen and (max-width: 960px) {

  .site-inner,
  .wrap {
    max-width: 800px;
  }

  .content,
  .content-sidebar-sidebar .content,
  .content-sidebar-sidebar .content-sidebar-wrap,
  .sidebar-content-sidebar .content,
  .sidebar-content-sidebar .content-sidebar-wrap,
  .sidebar-primary,
  .sidebar-secondary,
  .sidebar-sidebar-content .content,
  .sidebar-sidebar-content .content-sidebar-wrap,
  .site-header .widget-area,
  .title-area {
    width: 100%;
  }

  .site-header .wrap {
    padding: 20px 5%;
  }

  .header-image .title-area {
    background-position: center top;
  }

  .genesis-nav-menu li,
  .site-header ul.genesis-nav-menu,
  .site-header .search-form {
    float: none;
  }

  .genesis-nav-menu,
  .site-description,
  .site-header .title-area,
  .site-header .search-form,
  .site-title {
    text-align: center;
  }

  .genesis-nav-menu a,
  .genesis-nav-menu>.first>a,
  .genesis-nav-menu>.last>a {
    padding: 20px 16px;
  }

  .site-header .search-form {
    margin: 16px auto;
  }

  .genesis-nav-menu li.right {
    display: none;
  }
}

@media only screen and (max-width: 800px) {
  /* POB Styles */

  /* Global */

  body,
  html {
    overflow-x: hidden;
  }

  body {
    padding: 5px;
    font-size: 16px;
  }

  .site-header .wrap {
    padding: 0px;
  }

  .title-area {
    float: none;
    width: auto;
  }

  .header-image .site-title>a {
    width: 100% !important;
  }

  .site-header .widget-area {
    float: none;
  }

  .menu-toggle {
    margin-top: -7px;
  }

  .site-inner,
  .wrap {
    /* padding-top:20px; */
    padding-left: 5%;
    padding-right: 5%;
  }

  .archive-description,
  .author-box,
  .comment-respond,
  .entry,
  .entry-comments,
  .entry-pings,
  .sidebar .widget,
  .site-header {
    padding: 0;
  }

  .archive-pagination li a {
    margin-bottom: 4px;
  }

  .five-sixths,
  .four-sixths,
  .one-fourth,
  .one-half,
  .one-sixth,
  .one-third,
  .three-fourths,
  .three-sixths,
  .two-fourths,
  .two-sixths,
  .two-thirds {
    margin: 0;
    width: 100%;
  }

  .search {
    display: none;
  }

  .author-box-content {
    width: 100%;
  }

  .about-author {
    height: initial !important;
    padding: 5px !important;
  }

  .social,
  .social-right {
    float: none !important;
    margin: 0 auto !important;
    text-align: center;
    width: 100%;
    padding: 20px 0px;
  }

  .social i {
    width: 60px !important;
    height: 60px !important;
    font-size: 40px !important;
    padding-top: 15px !important;
    padding-right: 1px !important;
  }

  .current_obs_top img {
    float: left;
    width: 30%;
    height: auto;
  }

  .current_temp {
    padding-top: 0px;
  }

  .current_temp .outtemp_outer {
    font-size: 55px;
  }
}

/* # POB Custom Styles
---------------------------------------------------------------------------------------------------- */

/* Responsive Menu
--------------------------------------------- */
.responsive-menu-icon {
  cursor: pointer;
  display: none;
}

.responsive-menu-icon::before {
  content: "\f0c9";
  display: block;
  font: normal 30px/1 "FontAwesome";
  margin: 0 auto;
  padding: 10px;
  text-align: center;
  color: #000;
}

/* # Media Queries
---------------------------------------------------------------------------------------------------- */
@media only screen and (max-width: 768px) {

  .genesis-nav-menu.responsive-menu>.menu-item>.sub-menu,
  .genesis-nav-menu.responsive-menu {
    display: none;
  }

  .genesis-nav-menu.responsive-menu .menu-item,
  .responsive-menu-icon {
    display: block;
    /* background: #231f20;*/
    color: white;
    text-align: center;
  }

  .genesis-nav-menu.responsive-menu .menu-item:hover {
    position: static;
  }

  .genesis-nav-menu.responsive-menu .sub-menu .current-menu-item>a:hover,
  .genesis-nav-menu.responsive-menu li a,
  .genesis-nav-menu.responsive-menu li a:hover,
  .genesis-nav-menu.responsive-menu li.current-menu-item>a {
    display: block;
    line-height: 1;
    padding: 12px 0;
  }

  .genesis-nav-menu.responsive-menu .menu-item-has-children {
    cursor: pointer;
  }

  .genesis-nav-menu.responsive-menu .menu-item-has-children>a {
    margin-right: 60px;
  }

  .genesis-nav-menu.responsive-menu>.menu-item-has-children:before {
    content: "\f347";
    float: right;
    font: normal 16px/1 "dashicons";
    height: 16px;
    padding: 11px 20px;
    right: 0;
    text-align: right;
    z-index: 9999;
    /* color: #fff; */
  }

  .genesis-nav-menu.responsive-menu .menu-open.menu-item-has-children:before {
    content: "\f343";
    /* color: pink; */
  }

  .genesis-nav-menu.responsive-menu .sub-menu {
    left: auto;
    opacity: 1;
    position: relative;
    -moz-transition: opacity 0.4s ease-in-out;
    -ms-transition: opacity 0.4s ease-in-out;
    -o-transition: opacity 0.4s ease-in-out;
    -webkit-transition: opacity 0.4s ease-in-out;
    transition: opacity 0.4s ease-in-out;
    width: 100%;
    z-index: 99;
  }

  .genesis-nav-menu.responsive-menu .sub-menu .sub-menu {
    padding-left: 20px;
    margin: 0;
  }

  .genesis-nav-menu.responsive-menu .sub-menu li a,
  .genesis-nav-menu.responsive-menu .sub-menu li a:hover {
    border: none;
    box-shadow: none;
    padding: 12px 0;
    position: relative;
    width: 100%;
  }

  .nav-primary .genesis-nav-menu.responsive-menu li a {
    padding-left: 10px;
    /* background: #231f20; */
    color: white;
  }

  .nav-primary .genesis-nav-menu.responsive-menu li a:hover {
    color: red;
  }
}

/* Make the icon smaller on small screens (mobile) so it matches degrees */
@media (max-width: 600px) {
  #wxicon {
    width: 85.13px;
  }

  .current_temp .outtemp_outer {
    padding-top: 0px;
  }

  .current-conditions-title {
    justify-content: flex-start;
    /* Align left */
    padding-left: 10px;
  }

  .forecast-menu {
    padding-left: 0px !important;
  }
}

/* Main */

.clear {
  clear: both;
}

.row {
  margin-left: 0px;
  margin-right: 0px;
}

.center {
  text-align: center;
  margin: 0 auto;
}

.footerCenter {
  text-align: center;
}

.footerRight {
  text-align: right;
}

/* Custom wx page */

.weewx table {
  margin-bottom: 0px;
  line-height: inherit;
}

.weewx tbody,
.weewx td {
  border: none;
  padding: 0;
}

.wx-content {
  width: 100%;
}

.toprow-height {
  min-height: 375px !important;
}

.border-top {
  border-top: 1px solid #d7d7d7 !important;
}

.border-bottom {
  border-bottom: 1px solid #d7d7d7 !important;
}

.border-left {
  border-left: 1px solid #d7d7d7 !important;
}

.border-right {
  border-right: 1px solid #d7d7d7 !important;
}

.weather-obs-top {
  /* min-height:205px !important; */
  min-height: 234px !important;
  font-size: 17px;
}

.updated-wrapper {
  float: left;
}

.updated {
  display: inline-block;
  margin-bottom: 5px;
}

.onlineMarkerOuter {
  /* width: 30px; */
  /* height: 30px; */
  /* text-align: center; */
  padding: 6px 0 0 15px;
  /* display:inline-block; */
  float: left;
}

.loadingMarker:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  margin: 4px 0 0 -13px;
  background: #ffbe00;
  border-color: #ffbe00;
  border-radius: 50%;
}

.offlineMarker:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  margin: 4px 0 0 -13px;
  background: #ff0000;
  border-color: #ff0000;
  border-radius: 50%;
}

.onlineMarker:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  margin: 4px 0 0 -13px;
  background: #00bb00;
  border-color: #00bb00;
  border-radius: 50%;
}

.onlineMarker:after {
  content: "";
  position: absolute;
  width: 32px;
  height: 32px;
  margin: -8px 0 0 -25px;
  border: 1px solid #00bb00;
  border-radius: 50%;
  box-shadow: 0 0 4px #00bb00, inset 0 0 4px rgb(56, 111, 169);
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-animation: online 2.5s ease-in-out infinite;
  animation: online 2.5s ease-in-out infinite;
}

@-webkit-keyframes online {
  0% {
    -webkit-transform: scale(0.1);
    opacity: 1;
  }

  70% {
    -webkit-transform: scale(2.5);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes online {
  0% {
    transform: scale(0.1);
    opacity: 1;
  }

  70% {
    transform: scale(2.5);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.wx-header-temperature {
  float: left;
  width: 90px;
  text-align: center;
  margin: 0 auto;
}

.wx-header-temperature img {
  height: 50px;
}

.wx-stn-info-container {
  width: 100%;
  border-bottom: 1px solid #d7d7d7;
  padding-bottom: 10px;
}

.wx-stn-info-current-obs {
  text-align: center;
}

.obs-header-icon,
.obs-header-outtemp,
.wx-stn-info,
.wx-stn-info-social {
  display: block;
}

.wx-stn-name {
  float: left;
}

.wx-stn-name h1 {
  font-size: 32px;
}

.wx-stn-share,
.wx-stn-info {
  float: right;
  margin-right: 10px;
}

.wx-stn-share iframe {
  max-width: initial !important;
}

.wx-stn-alert {
  display: none;
  width: 100%;
}

.wx-stn-alert i {
  color: red;
}

.wx-fb,
.wx-share-sep,
.wx-twitter {
  display: inline-block;
}

.wx-share-sep {
  margin: 0px 5px;
}

/* Custom styling for the share buttons */
.fb_iframe_widget span,
.twitter-share-button {
  vertical-align: middle !important;
}

.temperature-row,
.forecastrow,
.eq-stats-row {
  border-bottom: 1px solid #d7d7d7;
}

.station-observations-label {
  min-width: 113px;
}

.station-observations {
  border-collapse: separate;
  border-spacing: 0;
}

.current_temp,
.current_wind {
  text-align: center;
  line-height: 1;
  font-size: 14px;
  padding: 0px !important;
}

.current_temp,
.current-obs-container,
.homepage-temperature-sidebar {
  text-align: center;
}

.current_temp {
  padding-top: 20px;
}

.current_temp h1 {
  font-size: 40px;
}

.feelslike {
  text-align: center;
  font-size: 18px;
}

.stn-high-low {
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 15px;
  line-height: 1.3;
}

.stn-high-low-table td {
  text-align: center;
  width: 50%;
}

.obs-wind-divider {
  height: 1px;
  width: 386px;
  background-color: #d7d7d7;
}

.windrow {
  /* margin-top: 25px; */
  /* box-sizing: border-box; */
  border-top: 1px solid #d7d7d7;
  padding-top: 10px;
  /* padding-right: 15px; */
  /* margin: 0 -15px 0 -15px; */
  margin: -1px 0 0 0;
  /* width: 105%;	*/
}

.curwind {
  margin-top: -10px;
  line-height: initial;
}

.current_wind {
  /* padding:20px 0px 0px 0px !important; */
  padding: 10px 0px 0px 0px !important;
}

.windspeedtable {
  padding-top: 10px;
}

.wind-arrow-container {
  margin-top: -8px;
  margin-bottom: 5px;
}

.wind-arrow {
  font-size: 50px !important;
  padding: 3px 18px 0px 15px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  color: #808080;
  border: 3px solid #808080;
  behavior: url(PIE.htc);
  /* remove if you don't care about IE8 */
  transition: -webkit-transform 1s ease-in;
}

/* https://codepen.io/xixao/pen/OPovyN */
.compass {
  display: block;
  width: 100px;
  height: 100px;
  border-radius: 100%;
  position: relative;
  color: #555;
  border: solid #808080 5px;
  margin-left: 60px;
  /* margin-top: -10px; */
  margin: 0 auto;
}

.compass:before {
  font-weight: bold;
  position: absolute;
  text-align: center;
  width: 100%;
  font-size: 14px;
  top: -2px;
}

.direction {
  height: 100%;
  width: 100%;
  display: block;
  /* background: #f2f6f5; */
  /* background: -moz-linear-gradient(top, #f2f6f5 0%, #cbd5d6 100%); */
  /* background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f2f6f5), color-stop(100%, #cbd5d6)); */
  /* background: -webkit-linear-gradient(top, #f2f6f5 0%, #cbd5d6 100%); */
  /* background: -o-linear-gradient(top, #f2f6f5 0%, #cbd5d6 100%); */
  border-radius: 100%;
}

.direction .curwinddir {
  font-size: 25px;
  padding-top: 22px;
  display: block;
}

.direction .curwinddeg {
  font-size: 21px;
}

.arrow {
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  transition: -webkit-transform 1s ease-in;
}

.arrow.windbarb-marker {
  display: block;
}

.arrow.windbarb-marker:after {
  display: none;
}

.arrow .windbarb-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  transform: translate(-50%, -120%);
}

/* CSS-only adjustment when Beaufort row is present */
.windrow:has(.wind-table .beaufort) .arrow .windbarb-svg,
.wind_col:has(.wind-table .beaufort) .arrow .windbarb-svg {
  transform: translate(-50%, -114%);
}

.arrow:after {
  content: "";
  width: 0;
  height: 0;
  /* border-left: 5px solid transparent; */
  /* border-right: 5px solid transparent; */
  /* border-bottom: 10px solid red; */
  /* top: -6px; */
  /* left: 50%; */
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  /* border-bottom: 21px solid red; */
  /* border-top: 21px solid red; */
  border-top: 21px solid #c50a1d;
  position: absolute;
  top: -10px;
  left: 38px;
  /* margin-left: -5px; */
  z-index: 99;
}

.wind-table td {
  text-align: center !important;
  width: 50%;
}

.windtext {
  font-size: 20px;
}

.curwindspeed,
.curwindgust {
  font-size: 30px;
}

.wind-table td.mph {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1;
  height: auto;
  font-size: 18px !important;
}

.wind-table td.beaufort {
  padding-top: 0;
  padding-bottom: 0;
  line-height: 1;
  height: auto;
  font-size: 16px;
}

.wx-pressure-trend {
  color: #808080;
  font-size: 20px;
  line-height: 1;
  padding-left: 5px;
}

.barometer-up {
  transform: rotate(45deg);
}

.barometer-down {
  transform: rotate(315deg);
}

.small-almanac {
  /* padding-top:5px; */
  border-top: 1px solid #d7d7d7;
  /* padding:15px; */
  padding: 0px 15px 0px;
  margin: 0 -15px 0 -15px;
}

.sun,
.moon {
  padding: 0px !important;
}

.sunrise-set-image {
  width: 20px;
  margin-right: 5px;
}

.sunrise-set-image--rise {
  margin-right: 0;
  margin-left: 5px;
}

.sun-moon-title {
  font-size: 25px;
  text-align: left;
  padding-bottom: 5px;
}

.sun-moon-modal {
  display: inline-block;
  font-size: 20px;
}

.daylight-change {
  width: 100%;
  text-align: center;
  font-size: 15px;
  display: block;
}

.almanac-diagram {
  margin: 0 auto 12px;
}

.almanac-diagram-svg {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 80px;
  margin: 0 auto;
  overflow: visible;
}

.almanac-diagram-track {
  fill: none;
  stroke: rgba(245, 158, 11, 0.5);
  stroke-width: 2.9;
  stroke-linecap: round;
}

.almanac-diagram-track--sun {
  stroke: rgba(251, 191, 36, 0.9);
  stroke-width: 3.05;
  stroke-dasharray: none;
}

.almanac-diagram-track--moon {
  stroke: rgba(188, 202, 231, 0.9);
  stroke-width: 3.3;
  stroke-linejoin: round;
  stroke-dasharray: none;
}

.dark .almanac-diagram-track {
  stroke: rgba(251, 191, 36, 0.55);
}

.dark .almanac-diagram-track--sun {
  stroke: rgba(252, 211, 77, 0.92);
}

.dark .almanac-diagram-track--moon {
  stroke: rgba(226, 232, 245, 0.95);
}

.almanac-diagram-horizon {
  fill: none;
  stroke: rgba(15, 23, 42, 0.18);
  stroke-width: 1.9;
  stroke-linecap: round;
}

.dark .almanac-diagram-horizon {
  stroke: rgba(255, 255, 255, 0.28);
}

.almanac-diagram-object {
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.almanac-diagram-object.is-below-horizon {
  opacity: 0.5;
}

.almanac-diagram-object--sun .almanac-diagram-object-core {
  fill: #fbbf24;
}

.almanac-diagram-object--moon .almanac-diagram-object-core {
  fill: #d7e0f2;
}

.dark .almanac-diagram-object--moon .almanac-diagram-object-core {
  fill: #c5d0e6;
}

.almanac-diagram-object-symbol {
  font-size: 15px;
  pointer-events: none;
}

.page .sun-moon-modal a {
  text-decoration: none;
}

/* Flip the weather icons for southern hemisphere */
.southern-hemisphere {
  -moz-transform: scale(-1, 1);
  -webkit-transform: scale(-1, 1);
  -o-transform: scale(-1, 1);
  -ms-transform: scale(-1, 1);
  transform: scale(-1, 1);
}

.light .label {
  color: #333 !important;
}

.celestial_body {
  display: inline-block;
  margin-right: 22px;
}

table.celestial td.label {
  min-width: 140px !important;
  display: inline-block;
  text-align: left;
  font-size: initial;
}

/* Scroll issue in dark mode https://stackoverflow.com/a/54196631/1177153 */
.modal {
  overflow-y: auto !important;
}

.moon-container {
  font-size: 15px;
  color: #808080;
}

.moon {
  text-align: right;
}

.moon-icon {
  font-size: 20px;
}

.radar-map {
  padding: 5px 5px 0px 5px !important;
}

.forecastrow {
  text-align: center;
}

.row-no-padding {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.earthquake-container {
  font-size: 18px;
  text-align: center;
  min-height: 180px;
}

.earthquake-container .earthquake-distance-outer {
  min-height: 64px;
}

.snapshot-records-text,
.eq-title {
  font-size: 24px;
  text-align: center;
  margin: 10px 0px;
}

.stats-title {
  font-size: 20px;
}

.eq-source {
  font-size: 12px;
}

.wx-chart-front {
  font-size: 24px;
  padding-top: 30px;
  /* font-size:25px; */
  /* padding-top:10px; */
  padding-bottom: 10px;
  text-align: center;
}

.chart-outer {
  width: 100%;
  margin: 0 auto;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.chart-outer .homepage-chart-panel {
  min-width: 0;
}

.frontpage .chart-outer {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.frontpage .homepage-layout {
  --homepage-card-surface: #fafbfd;
  --homepage-card-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
  --homepage-card-border: rgba(15, 23, 42, 0.12);
  --homepage-info-card-min-height: 250px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 24px;
}

.dark .frontpage .homepage-layout {
  --homepage-card-surface: #313131;
  --homepage-card-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  --homepage-card-border: rgba(255, 255, 255, 0.16);
}

.frontpage .homepage-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(320px, 1fr);
  gap: 24px;
  align-items: stretch;
}

.frontpage .homepage-primary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.frontpage .homepage-secondary-row {
  display: grid;
  gap: 24px;
  align-items: stretch;
}

.frontpage .homepage-secondary-row--with-earthquake {
  grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr);
  align-items: stretch;
}

.frontpage .homepage-secondary-row--single {
  grid-template-columns: 1fr;
}

.frontpage .homepage-card {
  border-radius: 18px;
  padding: 24px;
  background-color: var(--homepage-card-surface) !important;
  border: 1px solid var(--homepage-card-border);
  box-shadow: var(--homepage-card-shadow);
  overflow: hidden;
}

.frontpage .homepage-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.frontpage .homepage-card--records .homepage-card-header,
.frontpage .homepage-card--earthquake .homepage-card-header,
.frontpage .homepage-card--charts .homepage-card-header {
  position: relative;
  justify-content: center;
}

.frontpage .homepage-card--records .homepage-card-header,
.frontpage .homepage-card--charts .homepage-card-header {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  text-align: center;
}

.frontpage .homepage-card--records .homepage-card-header h2,
.frontpage .homepage-card--earthquake .homepage-card-header h2,
.frontpage .homepage-card--charts .homepage-card-header h2 {
  width: 100%;
  text-align: center;
}

.frontpage .homepage-card--records .homepage-card-header h2,
.frontpage .homepage-card--charts .homepage-card-header h2 {
  width: auto;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35em;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  background: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  line-height: 1.25;
  flex-wrap: wrap;
  text-align: center;
}

.frontpage .homepage-card--records .homepage-card-header .homepage-card-link-inline,
.frontpage .homepage-card--charts .homepage-card-header .homepage-card-link-inline {
  display: inline;
  margin-left: 0;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  background: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 0 !important;
}

.frontpage .homepage-card--records .homepage-card-header .homepage-card-link-inline:hover,
.frontpage .homepage-card--records .homepage-card-header .homepage-card-link-inline:focus,
.frontpage .homepage-card--records .homepage-card-header .homepage-card-link-inline:active,
.frontpage .homepage-card--charts .homepage-card-header .homepage-card-link-inline:hover,
.frontpage .homepage-card--charts .homepage-card-header .homepage-card-link-inline:focus,
.frontpage .homepage-card--charts .homepage-card-header .homepage-card-link-inline:active {
  background: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.frontpage .homepage-card--records .homepage-card-header .homepage-card-link-inline,
.frontpage .homepage-card--charts .homepage-card-header .homepage-card-link-inline {
  font-size: 0.92em;
}

.frontpage .homepage-card-header h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.frontpage .homepage-card-body,
.frontpage .homepage-card-body table {
  width: 100%;
}

.frontpage .homepage-card .row {
  margin-left: 0;
  margin-right: 0;
}

.frontpage .homepage-card--temperature .homepage-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  height: 100%;
}

.frontpage .homepage-card--temperature,
.frontpage .homepage-card--observations {
  padding-top: 16px;
  padding-bottom: 16px;
}

.frontpage .homepage-card--temperature .current_temp .outtemp_outer {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0;
  font-size: 56px;
  line-height: 1;
}

.frontpage .homepage-card--temperature .outtempunitlabelsuper {
  top: -0.18em;
  margin-left: 0.06em;
  font-size: 48%;
  line-height: 1;
}

.frontpage .homepage-card--temperature .stn-high-low {
  width: 100%;
  padding-top: 4px;
  padding-bottom: 0;
}

.frontpage .homepage-card--observations td {
  padding-top: 3px;
  padding-bottom: 3px;
  line-height: 1.2;
}

.frontpage .homepage-card--observations .station-observations {
  width: 100%;
}

.frontpage .homepage-card--observations .station-observations tbody {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--homepage-observation-tile-min)), 1fr));
  grid-auto-rows: 1fr;
  flex: 1 1 auto;
  height: 100%;
  gap: 4px;
  border: 0;
  width: 100%;
  align-items: stretch;
  align-content: stretch;
}

.frontpage .homepage-card--observations .station-observations tbody tr {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 100%;
  min-height: 0;
  padding: 7px 7px;
  border: 1px solid var(--homepage-card-border);
  border-radius: 12px;
  background-color: var(--homepage-card-surface) !important;
  text-align: center;
  box-shadow: var(--homepage-card-shadow);
}

.dark .frontpage .homepage-card--observations .station-observations tbody tr {
  border-color: var(--homepage-card-border);
  background: var(--homepage-card-surface) !important;
  box-shadow: var(--homepage-card-shadow);
}

.frontpage .homepage-card--observations .station-observations tbody tr td {
  padding: 0;
  line-height: 1.2;
  width: 100%;
}

.frontpage .homepage-card--observations .station-observations tbody tr td:first-child {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: none;
  text-align: center;
  color: #6b7280;
}

.dark .frontpage .homepage-card--observations .station-observations tbody tr td:first-child {
  color: #cbd5e1;
}

.frontpage .homepage-card--observations .station-observations tbody tr td:last-child {
  text-align: center;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.15;
  word-break: break-word;
}

.frontpage .homepage-card--temperature .current_obs_top,
.frontpage .homepage-card--temperature .current_temp,
.frontpage .homepage-card--temperature .homepage-temperature-sidebar {
  text-align: center;
}

.frontpage .homepage-card--temperature .homepage-temperature-sidebar {
  padding-left: 0;
  padding-right: 0;
}

.frontpage .homepage-card--temperature .temp-observation {
  display: flex;
  flex-wrap: nowrap;
  padding-top: 0;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.frontpage .homepage-card--temperature .temp-observation > [class*="col-"] {
  float: none;
  display: flex;
  flex: 1 1 50%;
  width: 50%;
  max-width: 50%;
  align-items: center;
  justify-content: center;
  padding-left: 0;
  padding-right: 0;
}

.frontpage .homepage-card--temperature .current_obs_top {
  min-height: 96px;
}

.frontpage .homepage-card--temperature #wxicon {
  display: block;
  margin: 0 auto;
  max-width: min(100%, 108px);
}

.frontpage .homepage-card--temperature .current_temp,
.frontpage .homepage-card--temperature .current-obs-container,
.frontpage .homepage-card--temperature .homepage-temperature-sidebar {
  text-align: center;
}

.frontpage .homepage-card--temperature .homepage-temperature-details {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  padding: 0;
  background: transparent !important;
  background-color: transparent !important;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.frontpage .homepage-card--temperature .homepage-temperature-details > [class*="col-"] {
  float: none;
  display: flex;
  flex: 1 1 50%;
  width: 50%;
  max-width: 50%;
  min-width: 0;
  padding-left: 0;
  padding-right: 0;
}

.frontpage .homepage-card--temperature .current-obs-container,
.frontpage .homepage-card--temperature .homepage-temperature-sidebar {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.frontpage .homepage-card--temperature .current-obs-text,
.frontpage .homepage-card--temperature .aqi_outer,
.frontpage .homepage-card--temperature .feelslike {
  width: 100%;
  margin: 0;
}

.frontpage .homepage-card--temperature .current-obs-text {
  line-height: 1.25;
}

.frontpage .homepage-card--temperature .aqi_outer {
  line-height: 1.3;
}

.frontpage .homepage-card--temperature .feelslike {
  line-height: 1.25;
  white-space: nowrap;
}

.frontpage .homepage-card--temperature .stn-high-low-table {
  width: 100%;
}

.frontpage .homepage-card--temperature .stn-high-low-table td {
  width: 50%;
  vertical-align: top;
}

.frontpage .homepage-card--temperature .stn-high-low-table-title {
  line-height: 1.2;
}

.frontpage .homepage-card--almanac {
  padding-top: 4px;
  padding-bottom: 4px;
  align-self: stretch;
}

.frontpage .homepage-card--almanac .homepage-card-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.frontpage .homepage-card--almanac .almanac-main {
  --almanac-diagram-width: 228px;
  --almanac-moon-size: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: 4px;
  width: 100%;
}

.frontpage .homepage-card--almanac .small-almanac {
  border-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0;
  margin: 4px 0 8px;
}

.frontpage .homepage-card--almanac .almanac-diagram {
  margin-bottom: 0;
  flex: 0 0 auto;
}

.frontpage .homepage-card--almanac .almanac-sun-time {
  display: inline-flex;
  align-items: flex-end;
  white-space: nowrap;
  font-size: 14px;
  line-height: 1;
  flex: 0 0 auto;
  min-width: 0;
}

.frontpage .homepage-card--almanac .almanac-sun-time > span:last-child {
  display: inline-block;
  line-height: 1;
}

.frontpage .homepage-card--almanac .almanac-sun-stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  max-width: 132px;
  width: max-content;
  align-self: center;
}

.frontpage .homepage-card--almanac .almanac-sun-stack--rise {
  justify-self: end;
}

.frontpage .homepage-card--almanac .almanac-sun-stack--set {
  justify-self: start;
}

.frontpage .homepage-card--almanac .almanac-sun-stack--rise .almanac-sun-time {
  justify-content: flex-end;
}

.frontpage .homepage-card--almanac .almanac-sun-stack--set .almanac-sun-time {
  justify-content: flex-start;
}

.frontpage .homepage-card--almanac .almanac-diagram-svg {
  max-width: var(--almanac-diagram-width);
  height: 90px;
}

.frontpage .homepage-card--almanac .sun,
.frontpage .homepage-card--almanac .moon {
  font-size: 14px;
  line-height: 1.1;
}

.frontpage .homepage-card--almanac .sun {
  text-align: left;
}

.frontpage .homepage-card--almanac .almanac-meta-block {
  min-width: 0;
}

.frontpage .homepage-card--almanac .almanac-time-row {
  display: flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.frontpage .homepage-card--almanac .almanac-time-row + .almanac-time-row {
  margin-top: 1px;
}

.frontpage .homepage-card--almanac .sun .almanac-time-row + .almanac-time-row {
  margin-top: 0;
}

.frontpage .homepage-card--almanac .sunrise-set-image {
  width: 15px;
  margin-right: 2px;
  display: inline-flex;
  align-items: flex-end;
}

.frontpage .homepage-card--almanac .sunrise-set-image--rise {
  margin: 0;
}

.frontpage .homepage-card--almanac .sunrise-set-image img {
  display: block;
}

.frontpage .homepage-card--almanac .moonrise-set-image {
  width: 15px;
  height: 8px;
  margin-right: 2px;
  border: 2px solid #9ca3af;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  display: inline-block;
  opacity: 0.95;
}

.frontpage .homepage-card--almanac .moonrise-set-image--set {
  border-top: 0;
  border-bottom: 2px solid #9ca3af;
  border-radius: 0 0 10px 10px;
}

.dark .frontpage .homepage-card--almanac .moonrise-set-image {
  border-color: #cbd5e1;
}

.frontpage .homepage-card--almanac .moonrise-set-image--rise {
  margin: 0;
}

.frontpage .homepage-card--almanac .moon-container {
  font-size: 14px;
  line-height: 1.1;
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 8px;
  row-gap: 2px;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin: 0 auto;
}

.frontpage .homepage-card--almanac .moon-container > .moon-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--almanac-moon-size);
  height: var(--almanac-moon-size);
  grid-column: 1;
  grid-row: 1 / span 2;
}

.frontpage .homepage-card--almanac .moon-container > .moon-icon .moon-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--almanac-moon-size);
  height: var(--almanac-moon-size);
  font-size: var(--almanac-moon-size);
  line-height: 1;
}

.frontpage .homepage-card--almanac .moon-container > .moon-icon .moon-phase-svg {
  display: block;
  width: var(--almanac-moon-size);
  height: var(--almanac-moon-size);
  max-width: 100%;
}

.frontpage .homepage-card--almanac .moon-container > strong,
.frontpage .homepage-card--almanac .moon-container > .moon-visible {
  grid-column: 2;
  text-align: left;
  white-space: nowrap;
}

.frontpage .homepage-card--almanac .moon {
  text-align: left;
}

.frontpage .homepage-card--almanac .moon-icon {
  font-size: 22px;
}

.frontpage .homepage-card--almanac .daylight-change {
  width: 100%;
  display: block;
  font-size: 16px;
  line-height: 1.15;
  margin-top: -3px;
  margin-bottom: 2px;
  text-align: center;
}

.frontpage .homepage-card--almanac .almanac-details-link {
  width: 100%;
  margin-top: 1px;
  margin-bottom: 6px;
  text-align: center;
  font-size: 14px;
  line-height: 1.15;
}

.frontpage .homepage-card--almanac .almanac-details-link--inline {
  width: auto;
  margin: 0;
  text-align: left;
  white-space: nowrap;
}

.frontpage .homepage-card--wind .homepage-card-body {
  display: flex;
  flex: 1;
  min-height: 0;
  align-items: center;
  justify-content: center;
}

.frontpage .homepage-card--wind {
  display: flex;
  flex-direction: column;
}

.frontpage .homepage-card--wind .windrow {
  border-top: 0;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  padding-top: 0;
}

.frontpage .homepage-card--wind .current_wind {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding-top: 0 !important;
}

.frontpage .homepage-card--wind .current_wind > [class*="col-"] {
  float: none;
  display: flex;
  justify-content: center;
  flex: 0 0 50%;
  width: 50%;
  max-width: 50%;
  padding-left: 0;
  padding-right: 0;
}

.frontpage .homepage-card--wind .compass {
  margin: 0 auto;
}

.frontpage .homepage-card--wind .windspeedtable {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0;
}

.frontpage .homepage-card--wind .wind-table {
  margin: 0 auto;
}

.frontpage .homepage-card--radar {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.frontpage .homepage-card--forecast {
  padding-left: 16px;
  padding-right: 16px;
  container-type: inline-size;
  container-name: forecast-card;
}

.frontpage .homepage-card--forecast .homepage-card-header {
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  text-align: left;
  margin-bottom: 10px;
}

.frontpage .homepage-card--forecast .forecast-header-text {
  flex: 1 1 auto;
  min-width: 0;
}

.frontpage .homepage-card--forecast .homepage-card-header h2 {
  width: 100%;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  justify-content: flex-start;
  text-align: left;
  margin: 0;
  white-space: nowrap;
  --forecast-meta-size: 0.62em;
}

.frontpage .homepage-card--forecast .forecast-subtitle {
  font-size: var(--forecast-meta-size);
}

.frontpage .homepage-card--forecast .forecast-current-conditions-inline {
  display: inline;
  font-size: var(--forecast-meta-size);
  font-weight: 400;
  white-space: nowrap;
}

.frontpage .homepage-card--forecast .forecast-current-conditions-inline .current-conditions-subtitle {
  font-size: 1em;
}

.frontpage .homepage-card--forecast .forecast-menu {
  display: inline-flex;
  width: auto;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  height: auto;
  text-align: right;
  padding-left: 0;
  white-space: nowrap;
}

/* Mode 2: title row one-line; interval centered beneath */
@container forecast-card (max-width: 980px) {
  .frontpage .homepage-card--forecast .forecast-menu {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Mode 3: forecast line centered, updated/observed centered below, interval centered beneath */
@container forecast-card (max-width: 760px) {
  .frontpage .homepage-card--forecast .forecast-header-text {
    flex-basis: 100%;
  }

  .frontpage .homepage-card--forecast .homepage-card-header h2 {
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .frontpage .homepage-card--forecast .forecast-subtitle::before {
    content: "";
    display: block;
  }

  .frontpage .homepage-card--forecast .forecast-current-conditions-inline {
    white-space: normal;
  }
}

.frontpage .homepage-card--forecast .forecast-menu .forecast-button {
  margin: 0 4px;
}

.frontpage .homepage-card--forecast .forecast-24hour {
  flex: 0 1 165px;
  min-width: 120px;
  width: 165px;
  max-width: none;
  padding-left: 8px;
  padding-right: 8px;
  box-sizing: border-box;
}

.frontpage .homepage-card--records,
.frontpage .homepage-card--earthquake {
  padding-top: 8px;
  padding-bottom: 8px;
}

.frontpage .homepage-card--earthquake {
  padding-bottom: 16px;
}

.frontpage .homepage-card--records {
  align-self: stretch;
  height: auto;
}

.frontpage .homepage-card--observations {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: var(--homepage-info-card-min-height);
  --homepage-observation-tile-min: 132px;
  padding: 0;
  background: transparent !important;
  background-color: transparent !important;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.frontpage .homepage-card--observations .homepage-card-body,
.frontpage .homepage-card--observations .homepage-card-body table {
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 0;
  margin: 0;
  background: transparent !important;
  background-color: transparent !important;
}

.frontpage .homepage-card--observations .homepage-card-body {
  display: flex;
  flex: 1 1 auto;
  align-items: stretch;
}

.frontpage .homepage-card--observations .station-observations,
.frontpage .homepage-card--observations .homepage-card-body table {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
}

.frontpage .homepage-card--earthquake {
  align-self: stretch;
  height: auto;
  min-height: var(--homepage-info-card-min-height);
  display: flex;
  flex-direction: column;
}

.frontpage .homepage-card--earthquake .homepage-card-body.eq-region {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.frontpage .homepage-card--records .homepage-card-header,
.frontpage .homepage-card--earthquake .homepage-card-header,
.frontpage .homepage-card--charts .homepage-card-header {
  margin-bottom: 8px;
}

.frontpage .homepage-card--records .homepage-card-body>.row {
  margin-left: -4px;
  margin-right: -4px;
}

.frontpage .homepage-card--records .stn-quick-stats {
  padding-left: 4px;
  padding-right: 4px;
}

.frontpage .homepage-card--records .snapshot-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3px;
  margin-top: 2px;
}

.frontpage .homepage-card--records .snapshot-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  padding: 7px 7px;
  border: 0;
  border-radius: 12px;
  background-color: var(--homepage-card-surface) !important;
  text-align: center;
  min-height: 58px;
  box-shadow: none;
}

.dark .frontpage .homepage-card--records .snapshot-metric {
  border-color: transparent;
  background: var(--homepage-card-surface) !important;
}

.frontpage .homepage-card--records .snapshot-metric-label {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-transform: none;
  text-align: center;
  color: #6b7280;
}

.dark .frontpage .homepage-card--records .snapshot-metric-label {
  color: #cbd5e1;
}

.frontpage .homepage-card--records .snapshot-metric-value {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.15;
  text-align: center;
}

.frontpage .homepage-card--records .stats-title {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 2px;
}

.frontpage .homepage-card--records .snapshot-period-select {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
}

.frontpage .homepage-card--records .stn-quick-stats td:nth-child(1),
.frontpage .homepage-card--records .stn-quick-stats td:nth-child(3) {
  font-size: 16px;
  line-height: 1.3;
  white-space: nowrap;
  padding: 2px 12px 2px 0;
}

.frontpage .homepage-card--records .stn-quick-stats td:nth-child(2),
.frontpage .homepage-card--records .stn-quick-stats td:nth-child(4) {
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  white-space: nowrap;
  padding: 2px 20px 2px 0;
}

.frontpage .homepage-card--records .stn-quick-stats table {
  table-layout: auto;
  border-collapse: separate;
  border-spacing: 0;
}

.frontpage .homepage-card--earthquake {
  min-height: 0;
  font-size: 16px;
}

.frontpage .homepage-card--earthquake.earthquake-container {
  min-height: 0 !important;
}

.frontpage .homepage-card--earthquake .earthquake-distance-outer {
  min-height: 0;
}

.frontpage .homepage-card--earthquake .earthquake-container .earthquake-distance-outer,
.frontpage .homepage-card--earthquake .earthquake-distance-outer {
  min-height: 0 !important;
}

.frontpage .homepage-card--earthquake .earthquake-info {
  margin-top: 0;
  margin-bottom: 0;
}

.frontpage .homepage-card--earthquake .earthquake-subcard {
  background: transparent;
  background-color: transparent;
  background-image: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin: 0;
}

.frontpage .homepage-card--earthquake .earthquake-subcard--summary {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
}

.frontpage .homepage-card--earthquake .earthquake-subcard--stats {
  display: flex;
  justify-content: center;
}

.frontpage .homepage-card--earthquake .earthquake-subcard--map {
  display: block;
  flex: 0 0 auto;
  min-height: 0;
  position: relative;
  width: 100%;
}

.frontpage .homepage-card--earthquake .earthquake-map-wrap {
  display: flex;
  align-items: stretch;
  position: relative;
  margin-top: 0;
  margin-bottom: 6px;
  padding-top: 0;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  align-self: stretch;
  background: #e5e7eb;
}

.frontpage .homepage-card--earthquake .earthquake-map {
  display: block;
  position: relative;
  width: 100%;
  height: clamp(160px, 26vw, 190px);
  min-height: 160px;
  object-fit: cover;
  margin-top: 0;
  margin-bottom: 0;
  opacity: 1;
  visibility: visible;
  border: 0;
}

.frontpage .homepage-card--earthquake .earthquake-map-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-left: -8px;
  margin-top: -8px;
  border-radius: 50%;
  background: #74d247;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 4px rgba(116, 210, 71, 0.35), 0 2px 6px rgba(0, 0, 0, 0.45);
  z-index: 2;
  pointer-events: none;
}

.dark .frontpage .homepage-card--earthquake .earthquake-map-marker {
  border-color: #0f172a;
  box-shadow: 0 0 0 4px rgba(116, 210, 71, 0.4), 0 2px 8px rgba(0, 0, 0, 0.6);
}

.dark .frontpage .homepage-card--earthquake .earthquake-map-wrap {
  background: #1f2937;
}

.dark .frontpage .homepage-card--earthquake .earthquake-map {
  filter: brightness(0.78) contrast(1.12) saturate(0.9) hue-rotate(180deg) invert(0.94);
}

.frontpage .homepage-card--earthquake .eq-region {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  justify-content: flex-start;
  text-align: center;
}

.frontpage .homepage-card--earthquake .earthquake-info {
  align-items: flex-end;
}

.frontpage .homepage-card--earthquake .homepage-card-header {
  margin-bottom: 4px;
}

.frontpage .homepage-card--earthquake .earthquake-place,
.frontpage .homepage-card--earthquake .earthquake-time {
  margin-bottom: 0;
}

.frontpage .homepage-card--earthquake .earthquake-subcard--summary .earthquake-time {
  margin-bottom: 2px;
}

.frontpage .homepage-card--earthquake .earthquake-subcard--stats {
  margin-top: 0;
  margin-bottom: 0;
}

.frontpage .homepage-card--earthquake .earthquake-subcard--map {
  margin-top: 2px;
}

.frontpage .homepage-card--earthquake .earthquake-time {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  margin: 0;
}

.frontpage .homepage-card--earthquake .earthquake-place {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  width: 100%;
  line-height: 1.2;
  margin: 0;
}

.frontpage .homepage-card--earthquake .earthquake-place i {
  font-size: 18px;
  line-height: 1;
}

.frontpage .homepage-card--earthquake .earthquake-place a {
  display: inline-block;
  max-width: 100%;
}

.frontpage .homepage-card--earthquake .earthquake-info {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  justify-content: center;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.frontpage .homepage-card--earthquake .earthquake-info > [class*="col-"] {
  float: none;
  width: auto;
  padding: 0;
}

.frontpage .homepage-card--earthquake .earthquake-stat {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 3px;
  line-height: 1.15;
  white-space: nowrap;
  min-width: 0;
}

.frontpage .homepage-card--earthquake .earthquake-stat .earthquake-stat-label {
  font-weight: 400;
}

.frontpage .homepage-card--earthquake .earthquake-stat .magnitude,
.frontpage .homepage-card--earthquake .earthquake-distance {
  font-weight: 500;
}

.frontpage .homepage-card--earthquake .earthquake-info-link,
.frontpage .homepage-card--earthquake .earthquake-info-link:hover,
.frontpage .homepage-card--earthquake .earthquake-info-link:focus,
.frontpage .homepage-card--earthquake .earthquake-info-link:active {
  color: #e5554e;
  text-decoration: none;
}

.frontpage .homepage-card--earthquake .earthquake-info-link {
  display: block;
  width: 100%;
}

.frontpage .homepage-card--earthquake .earthquake-stat--distance {
  justify-content: center;
}

.frontpage .homepage-radar-content {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: 0;
  height: 100%;
  aspect-ratio: auto;
}

.frontpage .homepage-card--radar {
  align-self: stretch;
  min-height: 0;
}

.frontpage .homepage-card--radar .homepage-card-body {
  height: 100%;
}

.frontpage .homepage-card--radar #tabs-container,
.frontpage .homepage-card--radar .radar_image,
.frontpage .homepage-card--radar iframe,
.frontpage .homepage-card--radar img {
  width: 100%;
}

.frontpage .homepage-card--radar .radar_image,
.frontpage .homepage-card--radar iframe,
.frontpage .homepage-card--radar img {
  height: 100%;
  min-height: 100%;
}

.frontpage .homepage-card--radar iframe,
.frontpage .homepage-card--radar img {
  display: block;
  object-fit: cover;
}

.frontpage .homepage-snapshot-column--secondary {
  position: relative;
  padding-left: 14px;
}

.frontpage .homepage-snapshot-column--secondary:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0, 0, 0, 0.12);
}

.dark .frontpage .homepage-snapshot-column--secondary:before {
  background: rgba(255, 255, 255, 0.14);
}

.frontpage .homepage-card .border-top,
.frontpage .homepage-card .border-bottom,
.frontpage .homepage-card .border-left,
.frontpage .homepage-card .border-right,
.frontpage .homepage-card .windrow,
.frontpage .homepage-card .forecastrow,
.frontpage .homepage-card .earthquake-container,
.frontpage .homepage-card .stn-quick-stats,
.frontpage .homepage-card .earthquake-distance-outer,
.frontpage .homepage-card .stn-high-low-table td,
.frontpage .homepage-card .wind-table td {
  border: 0 !important;
}

.frontpage .homepage-hook {
  width: 100%;
}

/* Homepage responsive breakpoint map
  - <=1366 and >=801: medium desktop/tablet landscape
  - <=960: charts collapse to single column
  - <=800: stacked single-card-column layout
  - <=600: smallest phones */

/* <=1366 and >=801 ------------------------------------------------------- */
@media only screen and (max-width: 1366px) and (min-width: 801px) {
  .frontpage .homepage-hero {
    grid-template-areas:
      "temperature wind"
      "observations radar"
      "almanac radar";
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    align-items: stretch;
  }

  .frontpage .homepage-primary-grid {
    display: contents;
  }

  .frontpage .homepage-card--temperature {
    grid-area: temperature;
  }

  .frontpage .homepage-card--wind {
    grid-area: wind;
  }

  .frontpage .homepage-card--observations {
    grid-area: observations;
    min-height: 0;
    height: auto;
    align-self: start;
    padding-top: 0;
    padding-bottom: 0;
    --homepage-observation-tile-min: 126px;
  }

  .frontpage .homepage-card--observations .homepage-card-body {
    padding-left: 0;
    padding-right: 0;
  }

  .frontpage .homepage-card--observations .station-observations tbody {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--homepage-observation-tile-min)), 1fr));
    gap: 4px;
  }

  .frontpage .homepage-card--observations .station-observations tbody tr {
    min-height: 56px;
    padding: 7px 7px;
  }

  .frontpage .homepage-card--almanac {
    grid-area: almanac;
    min-height: 0;
    height: auto;
    align-self: start;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .frontpage .homepage-card--radar {
    grid-area: radar;
  }

  .frontpage .homepage-card--wind .current_wind {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
  }

  .frontpage .homepage-card--wind .current_wind > [class*="col-"] {
    width: 50%;
    max-width: 50%;
  }

  .frontpage .homepage-card--wind .windspeedtable,
  .frontpage .homepage-card--wind .compass {
    margin-left: auto;
    margin-right: auto;
  }

  .frontpage .homepage-card--radar .homepage-radar-content {
    min-height: 100%;
    height: 100%;
    aspect-ratio: auto;
  }

}

/* <=960 ------------------------------------------------------------------ */
@media only screen and (max-width: 960px) {
  .frontpage .chart-outer {
    grid-template-columns: 1fr;
  }
}

/* <=800 ------------------------------------------------------------------ */
@media only screen and (max-width: 800px) {
  .frontpage .homepage-layout {
    gap: 20px;
  }

  .frontpage .homepage-hero {
    grid-template-columns: 1fr;
  }

  .frontpage .homepage-primary-grid,
  .frontpage .homepage-secondary-row--with-earthquake {
    grid-template-columns: 1fr;
  }

  .frontpage .homepage-primary-grid,
  .frontpage .homepage-secondary-row,
  .frontpage .homepage-secondary-row--with-earthquake,
  .frontpage .homepage-secondary-row--single {
    align-items: start;
  }

  .frontpage .homepage-primary-grid > .homepage-card,
  .frontpage .homepage-secondary-row > .homepage-card,
  .frontpage .homepage-secondary-row--with-earthquake > .homepage-card,
  .frontpage .homepage-secondary-row--single > .homepage-card {
    height: auto;
    min-height: 0;
    align-self: start;
  }

  .frontpage .homepage-primary-grid .homepage-card--temperature {
    order: 1;
  }

  .frontpage .homepage-primary-grid .homepage-card--wind {
    order: 2;
  }

  .frontpage .homepage-primary-grid .homepage-card--observations {
    order: 3;
  }

  .frontpage .homepage-primary-grid .homepage-card--almanac {
    order: 4;
  }

  .frontpage .homepage-card--almanac {
    display: block;
    height: auto;
    min-height: 0;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .frontpage .homepage-card--almanac .homepage-card-body {
    flex: none;
    justify-content: flex-start;
  }

  .frontpage .homepage-card--almanac .almanac-main {
    align-items: stretch;
  }

  .frontpage .homepage-card {
    padding: 20px;
    border-radius: 16px;
  }

  .frontpage .homepage-card--earthquake {
    padding-bottom: 14px;
  }

  .frontpage .homepage-card--observations {
    padding: 0;
    border-radius: 0;
    background: transparent !important;
    background-color: transparent !important;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .frontpage .homepage-card--records .homepage-card-body>.row {
    margin-left: 0;
    margin-right: 0;
  }

  .frontpage .homepage-card--records .stn-quick-stats {
    width: 50%;
    float: none;
    padding-left: 0;
    padding-right: 0;
  }

  .frontpage .homepage-card--records .snapshot-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
  }

  .frontpage .homepage-card--records .homepage-card-body > .row {
    display: flex;
    flex-wrap: nowrap;
  }

  .frontpage .homepage-card--records .homepage-snapshot-column--secondary {
    padding-left: 0;
    margin-left: 0;
  }

  .frontpage .homepage-card--records .homepage-snapshot-column--secondary:before {
    display: none;
  }

  .frontpage .homepage-card--observations td {
    font-size: 15px;
  }

  .frontpage .homepage-card--observations .station-observations tbody {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .frontpage .homepage-card--observations {
    min-height: 0;
    height: auto;
    align-self: start;
  }

  .frontpage .homepage-card--observations .homepage-card-body,
  .frontpage .homepage-card--observations .homepage-card-body table,
  .frontpage .homepage-card--observations .station-observations,
  .frontpage .homepage-card--observations .station-observations tbody {
    height: auto;
    min-height: 0;
    flex: none;
  }

  .frontpage .homepage-card--radar {
    padding: 0;
  }

  .frontpage .homepage-card--radar .homepage-radar-content {
    aspect-ratio: 16 / 10;
    min-height: 260px;
  }

  .frontpage .homepage-card--earthquake .earthquake-map-wrap {
    margin-bottom: 8px;
  }

  .frontpage .homepage-card--earthquake .earthquake-map {
    height: 160px;
    min-height: 160px;
  }

  .chart-outer {
    grid-template-columns: 1fr;
  }
}

/* <=600 ------------------------------------------------------------------ */
@media only screen and (max-width: 600px) {
  .frontpage .homepage-card--temperature .homepage-card-body {
    gap: 8px;
  }

  .frontpage .homepage-card--temperature .temp-observation,
  .frontpage .homepage-card--temperature .homepage-temperature-details {
    gap: 8px;
  }

  .frontpage .homepage-card--temperature .current_obs_top {
    min-height: 82px;
  }

  .frontpage .homepage-card--temperature #wxicon {
    max-width: min(100%, 88px);
  }

  .frontpage .homepage-card--temperature .current_temp .outtemp_outer {
    font-size: 48px;
  }

  .frontpage .homepage-card--temperature .outtempunitlabelsuper {
    top: -0.14em;
    font-size: 46%;
  }

  .frontpage .homepage-card--temperature .current-obs-text,
  .frontpage .homepage-card--temperature .aqi_outer,
  .frontpage .homepage-card--temperature .feelslike,
  .frontpage .homepage-card--temperature .stn-high-low-table td {
    font-size: 14px;
  }

  .frontpage .homepage-card--observations td {
    font-size: 14px;
  }

  .frontpage .homepage-card--observations {
    --homepage-observation-tile-min: 108px;
  }

  .frontpage .homepage-card--observations .station-observations tbody {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--homepage-observation-tile-min)), 1fr));
  }

  .frontpage .homepage-card--observations .station-observations tbody tr {
    min-height: 54px;
    padding: 7px 7px;
    gap: 3px;
  }

  .frontpage .homepage-card--observations .station-observations tbody tr td:last-child {
    font-size: 14px;
  }

  .frontpage .homepage-card--forecast .homepage-card-header h2 {
    font-size: 20px;
    justify-content: center;
    text-align: center;
  }

  .frontpage .homepage-card--forecast .forecast-menu {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-top: 2px;
  }

  .frontpage .homepage-card--records .homepage-card-body > .row {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .frontpage .homepage-card--records .stn-quick-stats {
    width: 50%;
    flex: 1 1 0;
    float: none;
    padding-left: 0;
    padding-right: 0;
  }

  .frontpage .homepage-card--records .snapshot-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
  }

  .frontpage .homepage-card--records .stats-title {
    font-size: 18px;
  }

  .frontpage .homepage-card--records .snapshot-period-select {
    font-size: 15px;
    padding: 10px 12px;
  }

  .frontpage .homepage-card--records .snapshot-metric {
    padding: 6px 6px;
    min-height: 54px;
    gap: 3px;
  }

  .frontpage .homepage-card--records .snapshot-metric-label {
    font-size: 12px;
  }

  .frontpage .homepage-card--records .snapshot-metric-value {
    font-size: 15px;
  }

  .frontpage .homepage-card--almanac .almanac-main {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 4px;
  }

  .frontpage .homepage-card--almanac .almanac-sun-stack {
    max-width: none;
    min-width: 0;
    width: max-content;
    align-items: flex-start;
  }

  .frontpage .homepage-card--almanac .almanac-sun-time,
  .frontpage .homepage-card--almanac .almanac-sun-stack--rise .almanac-sun-time,
  .frontpage .homepage-card--almanac .almanac-sun-stack--set .almanac-sun-time {
    justify-content: flex-start;
  }

  .frontpage .homepage-card--almanac .small-almanac {
    gap: 8px;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
  }

  .frontpage .homepage-card--almanac .moon-container {
    width: 100%;
    justify-content: center;
    justify-items: center;
    text-align: center;
  }

  .frontpage .homepage-card--almanac .moon-container > strong,
  .frontpage .homepage-card--almanac .moon-container > .moon-visible,
  .frontpage .homepage-card--almanac .moon {
    text-align: center;
  }

  .frontpage .homepage-card--radar .homepage-radar-content {
    aspect-ratio: 16 / 11;
    min-height: 220px;
  }

}

span.highcharts-title {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    text-align: center !important;
}

.wx-buttons {
  margin: 0 auto;
  text-align: center;
  margin-top: 20px;
  line-height: 40px;
}

.wx-buttons-description {
  font-size: 30px;
  font-weight: 400;
  text-align: center;
  padding: 10px 0px;
}

.charts .wx-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 0;
  margin-bottom: 18px;
  line-height: normal;
}

.charts .wx-buttons a {
  display: inline-flex;
  text-decoration: none;
}

.charts .wx-buttons button,
.charts .wx-buttons .btn,
.charts .wx-buttons a[class*="wx-btn"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.88) !important;
  color: inherit;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: none;
}

.dark .charts .wx-buttons button,
.dark .charts .wx-buttons .btn,
.dark .charts .wx-buttons a[class*="wx-btn"] {
  background: rgba(15, 23, 42, 0.72) !important;
  border-color: rgba(255, 255, 255, 0.16);
  color: #f8fafc;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.16);
}

.charts .wx-buttons button:hover,
.charts .wx-buttons button:focus,
.charts .wx-buttons .btn:hover,
.charts .wx-buttons .btn:focus,
.charts .wx-buttons a[class*="wx-btn"]:hover,
.charts .wx-buttons a[class*="wx-btn"]:focus {
  transform: translateY(-1px);
  border-color: rgba(229, 85, 78, 0.35);
}

.charts .wx-buttons-description {
  padding: 0;
  margin-bottom: 10px;
}

.charts .chartpage-title {
  display: block;
  margin: 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
}

.charts .chartpage-title a {
  color: inherit;
  text-decoration: none;
}

.charts .chartpage-content {
  float: none;
  width: 100%;
  margin: 0 0 24px;
  padding: 18px 22px;
  border-radius: 16px;
  background-color: var(--homepage-card-surface) !important;
  border: 1px solid var(--homepage-card-border);
  box-shadow: var(--homepage-card-shadow);
  text-align: center;
}

.charts .chartpage-content:empty {
  display: none;
}

.charts .chart-outer,
.charts .chart-outer-all {
  display: grid;
  gap: 24px;
}

.charts .chart-outer > [class*="col-"],
.charts .chart-outer-all > .row {
  float: none;
  width: 100%;
  margin: 0 !important;
  padding: 24px;
  border-radius: 18px;
  background-color: var(--homepage-card-surface) !important;
  border: 1px solid var(--homepage-card-border);
  box-shadow: var(--homepage-card-shadow);
  clear: none !important;
}

.charts .chart-outer-all > .row {
  display: block;
}

.charts .chart-outer-all > .row + .row {
  border-top: 1px solid var(--homepage-card-border) !important;
}

.charts .chart-outer > [class*="col-"] > div[id],
.charts .chart-outer-all > .row .col-sm-6 {
  margin-top: 0 !important;
}

.charts .chart-outer-all > .row .col-sm-6 {
  width: 100%;
  float: none;
  padding: 0;
}

.charts .chart-outer-all > .row .col-sm-6 + .col-sm-6 {
  margin-top: 20px;
}

.charts .chart-outer-all > .row .chartpage-title {
  margin-bottom: 12px;
}

.charts .chart-outer-all > .row .chartpage-content {
  margin-bottom: 18px;
}

.charts .wx-stn-info-container,
.records .wx-stn-info-container,
.about .wx-stn-info-container,
.reports .wx-stn-info-container {
  text-align: center;
  border-bottom: 0;
  margin-bottom: 24px;
  padding: 14px 18px;
  border-radius: 18px;
  background-color: var(--homepage-card-surface) !important;
  border: 1px solid var(--homepage-card-border);
  box-shadow: var(--homepage-card-shadow);
}


.charts .wx-stn-info-container > .row,
.records .wx-stn-info-container > .row,
.about .wx-stn-info-container > .row,
.reports .wx-stn-info-container > .row {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  align-items: center;
  margin: 0;
}

.charts .wx-stn-info-container > .row > [class*="col-"],
.records .wx-stn-info-container > .row > [class*="col-"],
.about .wx-stn-info-container > .row > [class*="col-"],
.reports .wx-stn-info-container > .row > [class*="col-"] {
  float: none;
  width: auto;
  flex: 0 0 auto;
  padding: 0;
}

.charts .wx-stn-info-container > .row > div.col-sm-5:not([style]),
.records .wx-stn-info-container > .row > div.col-sm-5:not([style]),
.about .wx-stn-info-container > .row > div.col-sm-5:not([style]),
.reports .wx-stn-info-container > .row > div.col-sm-5:not([style]) {
  order: 2;
  flex: 1 1 auto;
  min-width: 0;
}

.charts .wx-stn-info-current-obs,
.records .wx-stn-info-current-obs,
.about .wx-stn-info-current-obs,
.reports .wx-stn-info-current-obs {
  order: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.charts .obs-header-icon img,
.records .obs-header-icon img,
.about .obs-header-icon img,
.reports .obs-header-icon img {
  max-height: 56px;
  width: auto;
  margin: 0;
}

.charts .obs-header-outtemp,
.records .obs-header-outtemp,
.about .obs-header-outtemp,
.reports .obs-header-outtemp {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.1;
}

.charts .wx-stn-name,
.records .wx-stn-name,
.about .wx-stn-name,
.reports .wx-stn-name {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.charts .wx-stn-name h1,
.records .wx-stn-name h1,
.about .wx-stn-name h1,
.reports .wx-stn-name h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
}

.charts .wx-stn-info-container > .row > div.col-sm-5[style],
.records .wx-stn-info-container > .row > div.col-sm-5[style],
.about .wx-stn-info-container > .row > div.col-sm-5[style],
.reports .wx-stn-info-container > .row > div.col-sm-5[style] {
  order: 3;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}

.charts .wx-stn-info,
.records .wx-stn-info,
.about .wx-stn-info,
.reports .wx-stn-info {
  margin: 0;
  font-size: 14px;
  line-height: 1.3;
  text-align: right;
}

.charts .wx-stn-info-social,
.records .wx-stn-info-social,
.about .wx-stn-info-social,
.reports .wx-stn-info-social {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.charts .wx-stn-name,
.records .wx-stn-name,
.about .wx-stn-name,
.reports .wx-stn-name,
.charts .wx-stn-info,
.records .wx-stn-info,
.about .wx-stn-info,
.reports .wx-stn-info,
.charts .wx-stn-info-social,
.records .wx-stn-info-social,
.about .wx-stn-info-social,
.reports .wx-stn-info-social {
  float: none;
  margin-right: 0;
}

.charts .wx-stn-info-container>.row>div.col-sm-5[style],
.records .wx-stn-info-container>.row>div.col-sm-5[style],
.about .wx-stn-info-container>.row>div.col-sm-5[style],
.reports .wx-stn-info-container>.row>div.col-sm-5[style],
.charts .wx-stn-info-social[style],
.records .wx-stn-info-social[style],
.about .wx-stn-info-social[style],
.reports .wx-stn-info-social[style] {
  float: none !important;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.wx-records-description {
  margin: 25px 0px;
}

.records .wx-records-description {
  margin: 0 0 24px;
  padding: 0 12px;
  text-align: center;
}

.records .wx-records-description > *:last-child {
  margin-bottom: 0;
}

.about .about-page-card,
.reports .noaa_reports {
  border-radius: 18px;
  padding: 24px;
  background-color: var(--homepage-card-surface) !important;
  border: 1px solid var(--homepage-card-border);
  box-shadow: var(--homepage-card-shadow);
}

.reports .noaa_reports {
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.reports .noaa_reports .row {
  margin-left: 0;
  margin-right: 0;
}

.about .about-page-card {
  margin-bottom: 24px;
}

.about .about-page-card .about-outer,
.about .about-page-card .entry-content {
  margin: 0;
  padding: 0;
}

.about .about-page-card h2:first-child,
.about .about-page-card h3:first-child {
  margin-top: 0;
}

.reports .noaa_reports {
  margin-top: 0;
}

.reports .noaa_reports h1 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.2;
  text-align: center;
}

.reports .wx-year-row {
  margin-bottom: 18px;
}

.reports .noaa_direct_link {
  display: inline-block;
  margin-bottom: 10px;
  font-weight: 500;
}

.reports .noaa_report_container {
  margin: 18px auto 0;
  max-width: 100%;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  text-align: left;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
}

.dark .reports .noaa_report_container {
  background: transparent;
  border-color: transparent;
}

.reports #noaa_contents {
  display: block;
  width: max-content;
  min-width: max-content;
  max-width: none;
  margin: 0;
  padding: 0;
  color: #1f2937;
  background: transparent;
  border: 0;
  overflow-x: visible;
  white-space: pre;
  overflow-wrap: normal;
  word-wrap: normal;
  word-break: normal;
  text-align: left;
}

.dark .reports #noaa_contents {
  color: #e5e7eb;
}

.records .records-sections {
  display: grid;
  gap: 24px;
  margin: 0 0 24px;
}

.records .records-section-card {
  border-radius: 18px;
  padding: 24px;
  background: transparent !important;
  background-color: transparent !important;
  border: 0;
  box-shadow: none;
}

.records .records-section-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 18px;
  padding: 0;
  text-align: center;
}

.records .records-section-card__title {
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  font-size: 30px;
  line-height: 1.25;
  flex-wrap: wrap;
  text-align: center;
}

.records .records-section-card__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.records .records-record-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  border-radius: 16px;
  background: transparent !important;
  background-color: transparent !important;
  border: 0;
  box-shadow: none;
}

.dark .records .records-record-card {
  background: transparent !important;
  background-color: transparent !important;
  border: 0;
  box-shadow: none;
}

.records .records-record-card__header {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.records .records-record-card__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
  text-align: center;
}

.records .records-record-card__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.records .records-record-period {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding: 14px;
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--homepage-card-border);
  text-align: center;
}

.records .records-record-period--alltime {
  border-color: #e5554e;
}

.dark .records .records-record-period {
  background-color: rgba(255, 255, 255, 0.04);
  border-color: var(--homepage-card-border);
}

.dark .records .records-record-period--alltime {
  border-color: #e5554e;
}

.records .records-record-period__label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #6b7280;
}

.dark .records .records-record-period__label {
  color: #cbd5e1;
}

.records .records-record-period__value {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  word-break: break-word;
}

.records .records-record-period__date {
  font-size: 14px;
  line-height: 1.35;
  color: #6b7280;
  word-break: break-word;
}

.dark .records .records-record-period__date {
  color: #cbd5e1;
}

.records .records-table.records-table--enhanced {
  display: none;
}

.records table {
  border: 1px solid #d7d7d7;
}

.records td {
  padding: 0px 10px;
}

.records .leftborder {
  border-left: 1px solid #d7d7d7;
}

.records-header {
  text-align: center;
  background: #d7d7d7;
  color: #000;
  font-weight: 400;
}

.records-header-year {
  text-align: center;
  background: #3da5f4;
  color: #fff;
  font-weight: 400;
}

.records-header-alltime {
  text-align: center;
  background: #375a7f;
  color: #fff;
  font-weight: 400;
}

.charts,
.records,
.about,
.reports {
  --homepage-card-surface: #fafbfd;
  --homepage-card-shadow: 0 3px 10px rgba(15, 23, 42, 0.05);
  --homepage-card-border: rgba(15, 23, 42, 0.12);
  --secondary-page-gap: 24px;
  --secondary-page-card-radius: 18px;
  --secondary-page-card-padding: 24px;
  --secondary-page-title-size: 30px;
  --secondary-page-hero-title-size: 34px;
}

.dark .charts,
.dark .records,
.dark .about,
.dark .reports {
  --homepage-card-surface: #313131;
  --homepage-card-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  --homepage-card-border: rgba(255, 255, 255, 0.16);
}

.charts .wx-stn-info-container,
.records .wx-stn-info-container,
.about .wx-stn-info-container,
.reports .wx-stn-info-container,
.charts .chart-outer > [class*="col-"],
.charts .chart-outer-all > .row,
.about .about-page-card,
.reports .noaa_reports {
  margin-bottom: var(--secondary-page-gap);
  padding: var(--secondary-page-card-padding);
  border-radius: var(--secondary-page-card-radius);
}

.charts .wx-stn-info-container > .row,
.records .wx-stn-info-container > .row,
.about .wx-stn-info-container > .row,
.reports .wx-stn-info-container > .row,
.charts .chart-outer,
.charts .chart-outer-all,
.records .records-sections {
  gap: var(--secondary-page-gap);
}

.charts .wx-stn-name h1,
.records .wx-stn-name h1,
.about .wx-stn-name h1,
.reports .wx-stn-name h1 {
  font-size: var(--secondary-page-hero-title-size);
}

.charts .chartpage-title,
.records .records-section-card__title,
.reports .noaa_reports h1 {
  font-size: var(--secondary-page-title-size);
  line-height: 1.25;
}

.records .records-section-card__header,
.charts .wx-buttons-description,
.reports .wx-year-row {
  margin-bottom: 18px;
}

@media only screen and (max-width: 800px) {
  .charts,
  .records,
  .about,
  .reports {
    --secondary-page-gap: 20px;
    --secondary-page-card-radius: 16px;
    --secondary-page-card-padding: 20px;
    --secondary-page-title-size: 28px;
    --secondary-page-hero-title-size: 30px;
  }

  .charts .wx-stn-info-container > .row,
  .records .wx-stn-info-container > .row,
  .about .wx-stn-info-container > .row,
  .reports .wx-stn-info-container > .row {
    flex-wrap: wrap;
    gap: 16px;
  }

  .charts .wx-stn-info-container > .row > div.col-sm-5[style],
  .records .wx-stn-info-container > .row > div.col-sm-5[style],
  .about .wx-stn-info-container > .row > div.col-sm-5[style],
  .reports .wx-stn-info-container > .row > div.col-sm-5[style] {
    align-items: center;
    margin-left: 0;
  }

  .charts .wx-stn-info,
  .records .wx-stn-info,
  .about .wx-stn-info,
  .reports .wx-stn-info {
    text-align: center;
  }

  .reports .noaa_report_container,
  .charts .chartpage-content,
  .charts .chart-outer > [class*="col-"],
  .charts .chart-outer-all > .row {
    padding: 20px;
    border-radius: 16px;
  }

  .charts .wx-buttons {
    gap: 8px;
    margin-bottom: 16px;
  }

  .charts .wx-buttons button,
  .charts .wx-buttons .btn,
  .charts .wx-buttons a[class*="wx-btn"] {
    width: 100%;
  }

  .records .records-record-card__body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 500px) {
  .records .records-sections {
    gap: 16px;
    margin-bottom: 16px;
  }

  .records .records-section-card {
    padding: 16px;
  }

  .records .records-section-card__header {
    margin-bottom: 14px;
  }

  .records .records-section-card__title {
    font-size: 24px;
  }

  .records .records-section-card__body {
    gap: 12px;
  }

  .records .records-record-card__body {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .records .records-record-card {
    padding: 14px;
    gap: 12px;
  }

  .records .records-record-card__header {
    min-height: 44px;
    padding-bottom: 8px;
  }

  .records .records-record-card__title {
    font-size: 16px;
    line-height: 1.25;
    text-wrap: balance;
  }

  .records .records-record-period {
    padding: 12px 10px;
  }

  .records .records-record-period__label {
    font-size: 12px;
  }

  .records .records-record-period__value {
    font-size: 18px;
  }

  .records .records-record-period__date {
    font-size: 13px;
  }
}

.wx-year-row {
  text-align: center;
  margin-bottom: 25px;
}

.noaa_reports {
  margin-top: 40px;
  /* padding-top:30px; */
}

#noaa_contents {
  width: max-content;
  min-width: max-content;
  max-width: none;
  margin: 0;
  white-space: pre;
  overflow-wrap: normal;
  word-wrap: normal;
}

/* .col-sm-1-5 { */
.forecast-day {
  position: relative;
  /* min-height: 250px; DarkSky */
  min-height: 225px;
  padding-left: 10px;
  padding-right: 10px;
  /* width: 10%; */
  /* float:left; */
  display: inline-block;
  width: 165px;
}

.forecast-1hour {
  position: relative;
  min-height: 270px;
  padding-left: 5px;
  padding-right: 5px;
  display: inline-block;
  width: 72px;
  font-size: 75%;
}

.forecast-3hour {
  position: relative;
  min-height: 270px;
  padding-left: 10px;
  padding-right: 10px;
  display: inline-block;
  width: 144px;
  font-size: 100%;
}

.forecast-24hour {
  position: relative;
  min-height: 270px;
  padding-left: 10px;
  padding-right: 10px;
  display: inline-block;
  width: 165px;
}

.forecasts,
.onehr_forecasts,
.threehr_forecasts,
.day_forecasts {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.forecasts .forecast-day,
.onehr_forecasts .forecast-1hour,
.threehr_forecasts .forecast-3hour,
.day_forecasts .forecast-24hour {
  box-sizing: border-box;
  flex-shrink: 1;
  max-width: none;
}

.forecasts .forecast-day {
  flex: 0 1 165px;
  min-width: 120px;
  width: 165px;
}

.onehr_forecasts .forecast-1hour {
  flex: 0 1 72px;
  min-width: 56px;
  width: 72px;
}

.threehr_forecasts .forecast-3hour {
  flex: 0 1 144px;
  min-width: 108px;
  width: 144px;
}

.day_forecasts .forecast-24hour {
  flex: 0 1 165px;
  min-width: 120px;
  width: 165px;
}

/* Dark Mode Switch */

.themeSwitchLabel {
  position: relative;
  display: inline-block;
  width: 35px;
  height: 19px;
}

.themeSwitchLabel input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 11px;
  width: 11px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked+.slider {
  background-color: #375a7f;
}

input:focus+.slider {
  box-shadow: 0 0 1px #375a7f;
}

input:checked+.slider:before {
  -webkit-transform: translateX(16px);
  -ms-transform: translateX(16px);
  transform: translateX(16px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* End Dark Mode Switch */

/* Dark mode: windbarb series — restore stroke-width zeroed out by .dark .highcharts-point rule */
.dark .highcharts-windbarb-series .highcharts-point {
  stroke-width: 2px;
}

/* Dark mode: snapshot period drop-down selects */
.dark .snapshot-period-select {
  background-color: #375a7f;
  color: #fff;
  border: 1px solid #aaa;
}

.dark .snapshot-period-select option {
  background-color: #222;
  color: #fff;
}

@media only screen and (max-width: 800px) {
  .snapshot-period-select {
    font-size: 14px;
    width: 100%;
    max-width: 220px;
  }

  .stats-title {
    font-size: 14px;
  }

  .themeSwitchLabel {
    margin-top: 10px;
  }

  .header-image .site-title>a {
    background-position-x: center;
    background-position-y: center;
    margin-bottom: 20px;
  }

  .site-footer {
    text-align: center !important;
  }

  .footerLeft {
    padding-bottom: 10px;
  }

  .footerRight {
    text-align: center;
    padding-top: 10px;
  }

  .windrow {
    padding-top: 0px;
  }

  .weewx h1 {
    font-size: 27px;
  }

  .breadcrumb {
    display: none;
  }

  .border-left {
    border-left: 0px !important;
  }

  .border-right {
    border-right: 0px !important;
  }

  .wx-stn-info-container {
    text-align: center;
  }

  .obs-header-icon,
  .obs-header-outtemp {
    display: inline-block;
  }

  .obs-header-icon {
    width: 25%;
  }

  .wx-stn-name {
    float: none;
  }

  .wx-stn-share,
  .wx-stn-info {
    display: none;
    float: none !important;
    text-align: center;
  }

  .updated-wrapper {
    float: none;
    margin-bottom: 5px;
  }

  .updated {
    display: initial;
  }

  .current_obs {
    padding: 10px 0px !important;
  }

  .windrow {
    border-bottom: 1px solid #d7d7d7;
    /* padding-bottom:10px; */
    padding: 20px 0px;
  }

  .wind-table td {
    padding: 0 5px;
  }

  .windspeedtable {
    /* float:left; */
    float: right;
  }

  .current_wind {
    /* padding: 10px 0px 0px 0px !important; */
    padding: 0px !important;
  }

  .compass {
    margin-left: 0px;
    margin-top: 0px;
    /* margin: 0 auto; */
    float: right;
    /* margin-right: auto; */
    /* margin-left: auto; */
    margin: 0 35px;
  }

  /* Frontpage stacked layout: keep wind card centered with side-by-side compass + info */
  .frontpage .homepage-card--wind .windrow {
    border-bottom: 0 !important;
    padding: 0 !important;
    margin: 0 auto;
  }

  .frontpage .homepage-card--wind .current_wind {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 !important;
  }

  .frontpage .homepage-card--wind .current_wind > [class*="col-"] {
    width: 50%;
    max-width: 50%;
    justify-content: center;
  }

  .frontpage .homepage-card--wind .windspeedtable,
  .frontpage .homepage-card--wind .compass {
    float: none !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* End custom wx page */

/* Custom Raspberry Pi Kiosk Page */
body.pi {
  /* font-family:initial; */
  font-weight: normal;
  padding: 0px;
  overflow: hidden;
  overflow: -moz-scrollbars-none;
  -ms-overflow-style: none;
}

body.pi::-webkit-scrollbar {
  width: 0 !important;
}

/* bold kiosk display font if chosen in skin.conf or weewx.conf */
.pi .site-inner-bold {
  font-weight: bold;
}

.pi .wx-stn-info-container {
  padding-bottom: 0px;
}

.pi .updated-wrapper {
  padding-left: 25px;
  margin-bottom: 5px;
  float: none;
}

.pi .onlineMarkerOuter {
  padding: 7px 0 0 25px;
}

.pi .site-inner,
.pi .wrap {
  padding-left: 0;
  padding-right: 0;
  padding-top: 0px;
}

.pi .entry {
  margin-bottom: 0px;
}

.pi .col-xs-6 {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.pi .col-md-3 {
  padding: 0px !important;
}

.pi .wx-content {
  padding-top: 0px;
}

.pi #wxicon {
  display: initial;
  margin: initial;
}

.pi .updated {
  padding-top: 0px;
  padding-left: 5px;
  margin-bottom: 0px;
  font-size: 16px;
  float: left;
}

.pi .obs-group {
  line-height: 25px;
  margin-top: 17px;
  /* text-align: center; */
}

.pi .outtemp_outer {
  font-size: 40px;
  font-weight: bold;
  float: right;
  margin-top: 11px;
  margin-right: 0px;
}

.pi .current-obs-text {
  font-size: 25px;
  text-align: center;
}

.pi .temp-observation {
  padding-top: 0px;
}

.pi .temp-observation img {
  width: 70px;
  height: auto;
}

.pi .weather-obs-top {
  min-height: initial !important;
}

.pi .current_temp,
.pi .current_wind,
.pi .current-obs-container,
.pi .feelslike,
.pi .stn-high-low-table td {
  text-align: initial;
}

.pi .current_temp {
  padding-top: 0px !important;
}

.pi .tempstats {
  /*font-size:16px;
        line-height:20px;*/
  font-size: 18px;
  line-height: 20px;
  margin-top: 10px;
}

.pi .feelslike {
  font-size: 18px;
  text-align: center;
  padding-bottom: 0px;
}

.pi .highlow {
  /*display:inline;*/
  text-align: center;
  padding-bottom: 6px;
  /*margin: 0 auto;*/
}

.pi .wind_col {
  text-align: center;
  padding-top: 5px;
}

.pi .wind_data {
  margin-bottom: 8px;
}

.pi td {
  display: initial;
}

.pi .windtext {
  font-size: initial;
  display: inline-block;
  line-height: 20px;
  padding-left: 15px;
}

.pi .wind-table {
  margin-top: 0px !important;
}

.pi .wind-table td {
  display: table-cell;
}

.pi .compass {
  margin-left: 62px;
  margin-top: 5px;
  margin-bottom: 5px;
}

.pi .direction .curwinddir {
  padding-top: 11px;
}

.pi .border-left {
  border-left: 1px solid #d7d7d7 !important;
}

.pi .temperature-row {
  border-bottom: 0px;
}

.pi .station-observations {
  font-size: 18px;
  line-height: 20px;
  margin-top: 20px;
}

.pi .small-almanac {
  border-top: 0px;
  line-height: 20px;
  padding: 5px 0px 0px 0px;
}

.pi .maxgustouter {
  font-size: 18px;
  margin: 0px;
}

.pi .sunrise-set-image {
  width: 24px;
  margin-right: 6px;
}

.pi .moon-container {
  font-size: 16px;
  margin-top: 5px;
  line-height: 18px;
}

.pi .moon,
.pi .sun {
  float: none;
  text-align: center;
}

.pi .forecastrow .col-lg-12 {
  padding: 0;
}

.pi .forecast .weekday {
  padding-bottom: 10px;
}

.pi .forecast-conditions img {
  width: 70%;
  height: auto;
}

.pi .forecast .forecast-day {
  width: 24% !important;
  height: 100%;
  border-bottom: 0px;
  padding: 20px 0px 15px;
}

.pi .forecast-condition-text {
  height: 70px;
}

.pi .forecastrow {
  border-bottom: 0px;
}

/* Back to top button */
#btn-back-to-top {
  position: fixed;
  transform: scale(0);
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  z-index: 99;
}

#btn-back-to-top:focus,
#btn-back-to-top:hover {
  outline: none;
}

#btn-back-to-top:hover .fa-arrow-up {
  animation: jump 800ms infinite;
  animation-iteration-count: 3;
}

@keyframes jump {
  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}