/* Ravenspoint responsive layer. Loaded after the original Saratoga template CSS. */

*, *:before, *:after {
  box-sizing: border-box;
}

img, video, canvas {
  max-width: 100%;
  height: auto;
}

.mobileMenuButton {
  display: none;
}

.mobileTidePanel {
  display: none;
}

.windFocus {
  margin: 0 0 1.5rem;
  padding: 1.25rem;
  color: #102637;
  background: linear-gradient(145deg, #eef8fb 0%, #f8fbfc 55%, #e7f2f6 100%);
  border: 1px solid #c7dde6;
  border-radius: 12px;
  text-align: left;
}

.landingWindFirst {
  padding: .5rem 1rem 0;
}

.windFocusIntro h2 {
  margin: 0 0 .3rem;
  color: #123d58;
  font-size: 1.8rem;
  line-height: 1.15;
}

.windFocusIntro p {
  margin: 0;
}

.windFocusEyebrow {
  color: #1c6478;
  font-size: .78rem;
  font-weight: bold;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.windNow {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 1rem;
  align-items: stretch;
  margin-top: 1rem;
}

.windCompass {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 145px;
  background: #fff;
  border: 2px solid #6ca4b8;
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px #e8f4f7;
}

.windCompassNorth {
  position: absolute;
  top: 9px;
  color: #54717e;
  font-size: .72rem;
  font-weight: bold;
}

.windCompassArrow {
  position: absolute;
  color: #df522d;
  font-size: 4.5rem;
  line-height: 1;
  transform-origin: 50% 52%;
}

.windCompass strong,
.windCompass small {
  position: relative;
  z-index: 1;
  padding: 0 .2rem;
  background: rgba(255,255,255,.85);
}

.windCompass strong {
  margin-top: 2.5rem;
  font-size: 1.2rem;
}

.windMetrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .6rem;
}

.windMetric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: .8rem;
  background: #fff;
  border: 1px solid #d7e4e9;
  border-radius: 9px;
}

.windMetric > span {
  min-height: 2.2em;
  color: #496772;
  font-size: .78rem;
  line-height: 1.15;
}

.windMetric strong {
  color: #123d58;
  font-size: 1.9rem;
  line-height: 1.1;
}

.windMetricDetail {
  display: block;
  margin-top: .35rem;
  padding-top: .35rem;
  border-top: 1px solid #d7e4e9;
  color: #496772;
  font-size: .68rem;
  line-height: 1.2;
}

.windMetricPrimary {
  color: #fff;
  background: #145a72;
  border-color: #145a72;
}

.windMetricPrimary > span,
.windMetricPrimary strong {
  color: #fff;
}

.windComparison {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .65rem;
  margin-top: 1rem;
}

.windTrend {
  margin-top: 1rem;
  padding: .7rem 1rem;
  background: rgba(255,255,255,.78);
  border-left: 5px solid #28758b;
  border-radius: 8px;
}

.windTrendLine {
  margin: 0;
  color: #123d58;
  font-size: 16px !important;
  line-height: 20px !important;
  white-space: nowrap;
}

.windTrendLine span,
.windTrendLine strong {
  display: inline;
}

.windTrendRate {
  color: #496772;
  font-weight: normal;
}

.windSailingWarning {
  margin: .65rem 0 0;
  padding: .65rem .75rem;
  color: #6c2d00;
  font-weight: bold;
  background: #fff0d8;
  border: 1px solid #e4b36e;
  border-radius: 6px;
}

.windSailingWarning.is-hidden {
  display: none;
}

.windComparison h3 {
  grid-column: 1 / -1;
  margin: 0;
  color: #123d58;
  font-size: 1rem;
}

.windComparison div {
  padding: .7rem;
  background: rgba(255,255,255,.72);
  border-radius: 7px;
}

.windComparison span,
.windComparison strong {
  display: block;
}

.windComparison span {
  color: #496772;
  font-size: .75rem;
}

.windComparison strong {
  margin-top: .2rem;
  font-size: .9rem;
}

.windCharts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  margin-top: 1rem;
}

.windChart {
  margin: 0;
  padding: .5rem;
  background: #fff;
  border: 1px solid #d7e4e9;
  border-radius: 8px;
  text-align: center;
}

.windCharts img {
  display: block;
  width: 100%;
  border-radius: 4px;
}

.windChartCaption {
  padding: .45rem .2rem .1rem;
  color: #496772;
  font-size: .8rem;
}

.windFocusAction {
  margin: 1rem 0 0;
  text-align: right;
}

.windFocusAction a {
  display: inline-block;
  padding: .65rem .9rem;
  color: #fff !important;
  background: #145a72;
  border-radius: 7px;
  font-weight: bold;
  text-decoration: none !important;
}

@media screen and (max-width: 760px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
  }

  body,
  html > body {
    color: #15232c;
    background: #fff;
    font-size: 16px;
    line-height: 1.45;
  }

  #page {
    width: 100%;
    margin: 0;
    border: 0;
  }

  #header {
    position: relative;
    overflow: hidden;
    background: #145a72;
  }

  .headerTitle {
    padding: .8rem 1rem .2rem;
  }

  .headerTitle a,
  .headerTitle > a {
    font-size: 1.25rem;
    font-style: normal;
    line-height: 1.15;
  }

  .headerTemp {
    float: none;
    margin: 0;
    padding: 0 1rem .5rem;
    font-size: 2rem;
  }

  .subHeader,
  .subHeaderRight {
    float: none;
    clear: both;
    padding: .55rem 1rem;
    font-size: .82rem;
    text-align: left;
  }

  .subHeaderRight {
    display: none;
  }

  .mobileMenuButton {
    display: block;
    width: calc(100% - 2rem);
    min-height: 44px;
    margin: .65rem 1rem;
    padding: .55rem .75rem;
    color: #123d58;
    background: #fff;
    border: 0;
    border-radius: 6px;
    font: bold .95rem Verdana, Arial, sans-serif;
    text-align: left;
    cursor: pointer;
  }

  .rp-js #siteNavigation {
    display: none;
  }

  .rp-js body.mobile-nav-open #siteNavigation {
    display: block;
  }

  .mobileTidePanel {
    display: block;
    margin: .75rem .75rem 0;
    padding: 1rem;
    color: #fff;
    background: #123d58;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(17, 52, 72, .2);
  }

  .mobileTidePanel h2 {
    margin: 0 0 .75rem;
    color: #fff;
    font-size: 1.45rem;
    line-height: 1.15;
  }

  .mobileTideEyebrow {
    margin: 0 0 .15rem;
    color: #9fd7e6;
    font-size: .72rem;
    font-weight: bold;
    letter-spacing: .09em;
    text-transform: uppercase;
  }

  #mobileTideWidget {
    width: 100% !important;
    min-height: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
  }

  #mobileTideWidget table {
    width: 100% !important;
    table-layout: fixed;
  }

  #mobileTideWidget th {
    padding: 0 0 .65rem !important;
    color: #fff !important;
    font: bold 1rem Verdana, Arial, sans-serif !important;
    text-align: left !important;
  }

  #mobileTideWidget th span {
    display: block;
    margin-top: .2rem;
    color: #c8e6ee;
    font: normal .82rem Verdana, Arial, sans-serif !important;
  }

  #mobileTideWidget td {
    padding: .4rem .2rem !important;
    color: #fff !important;
    font: normal .92rem Verdana, Arial, sans-serif !important;
  }

  #mobileTideWidget td:nth-child(2) {
    font-size: 1.3rem !important;
    font-weight: bold !important;
    text-align: center !important;
  }

  #mobileTideWidget td:nth-child(3) {
    font-weight: bold !important;
  }

  #mobileTideWidget hr {
    margin: 0 !important;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.2);
  }

  #mobileTideWidget a,
  #mobileTideWidget a:visited {
    color: #b9e8f4 !important;
  }

  .leftSideBar {
    float: none;
    clear: both;
    width: 100%;
    padding: 0 1rem 1rem;
    background: #f0f6f8;
  }

  .leftSideBar .sideBarTitle {
    margin: 0 -1rem .35rem;
    padding: .65rem 1rem;
    background: #3173b1;
  }

  .flyoutmenu,
  .flyoutmenu ul,
  .flyoutmenu li,
  .flyoutmenu li ul {
    position: static !important;
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
  }

  .flyoutmenu li ul {
    padding-left: .8rem !important;
  }

  .flyoutmenu a,
  .flyoutmenu a:visited,
  .leftSideBar a {
    width: auto !important;
    min-height: 42px;
    padding: .7rem .65rem !important;
    border-bottom: 1px solid #d2e1e7;
    font-size: .92rem !important;
    line-height: 1.3 !important;
  }

  .flyoutmenu li.sub > a {
    color: #123d58 !important;
    background: #dfeef3 !important;
    font-weight: bold;
  }

  #main-copy,
  #main-copy-dark {
    width: 100%;
    margin: 0;
    padding: .75rem;
    border: 0;
    text-align: left;
  }

  #main-copy h1,
  #main-copy h2,
  #main-copy h3 {
    line-height: 1.25;
  }

  #main-copy iframe {
    display: block;
    width: 100% !important;
    max-width: 100%;
    border: 0;
  }

  .column-dark {
    overflow: hidden;
  }

  .column-dark > img[alt="spacer"] {
    display: none;
  }

  .ajaxDashboard {
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .ajaxDashboard > table {
    min-width: 620px;
  }

  .windFocus {
    margin: 0 0 1rem;
    padding: 1rem;
    border-radius: 10px;
  }

  .windFocusIntro h2 {
    font-size: 1.55rem;
  }

  .windNow {
    grid-template-columns: 116px 1fr;
    gap: .65rem;
  }

  .windCompass {
    min-height: 116px;
  }

  .windCompassArrow {
    font-size: 3.8rem;
  }

  .windMetrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .45rem;
  }

  .windMetric {
    padding: .55rem;
  }

  .windMetric > span {
    min-height: 0;
    font-size: .67rem;
  }

  .windMetric strong {
    font-size: 1.45rem;
  }

  .windMetric small {
    font-size: .65rem;
  }

  .windComparison {
    grid-template-columns: 1fr;
  }

  .windCharts {
    grid-template-columns: 1fr;
  }

  .windFocusAction {
    text-align: left;
  }

  .windFocusAction a {
    display: block;
    min-height: 44px;
    text-align: center;
  }

  #footer {
    padding: 1rem;
    font-size: .75rem;
  }
}

@media screen and (max-width: 390px) {
  .windNow {
    grid-template-columns: 1fr;
  }

  .windCompass {
    width: 116px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
