.ui-page, .ui-overlay-a { 
  background: #555;
}

.ui-btn {
  padding: 3px;
}

body {
    font-family: Arial, Helvetica, sans-serif;   
    padding:0px;
    margin:0px;
    min-height:100%;
    background-color: #555;
    text-align:center;
}

.header {
    text-align:center;
    position:fixed;
    height:30px;
    left:0px;
    right:0px;
    background:#FFF;
    padding:10px 0px 5px 0px;
/*    border-bottom:2px solid #CCC; */
    font-size:20px;
    font-weight:bold;
}

.content {  
    top:0px;
    bottom:0px;
    left:0px;
    right:0px;
/*    overflow: scroll;
    -webkit-overflow-scrolling:touch;*/
/*    margin-bottom:60px;  */
    text-align:center;
    background-color: #555;
    color: #e7e7e7
    overflow-y: hidden;
    overflow-x: hidden;
    margin: 0 auto;
    /* Makes sure div spans 100% of screen height */
    /*position:fixed !important;*/
    /*position:absolute;*/
    max-width: 1500;
}

/* weather.html is delivered with its cards already present through SSI. Keep
 * town-dependent cards out of the initial/error view until the town lookup
 * succeeds; loadContent removes this class before enhancing the document. */
#content.ssi-content #weathercards {
  display: none;
}

/* Fixed-town sister sites also need their bootstrap layout hints before
 * exposing town-dependent cards. Keep the header available as an early LCP
 * element in the single-column layout. */
#content.sister-bootstrap-pending .card:not(#cwheadercard) {
  display: none;
}

/* jQuery Mobile hides the whole body until its document-ready enhancement.
 * The complete, fixed-size header needs no town data to render, so allow this
 * LCP element to paint while the remainder of the page stays hidden. */
.ui-mobile-rendering #headercard,
.ui-mobile-rendering #cwheadercard {
  visibility: visible;
}

/* Sister sites establish their desktop Packery columns in the first ready
 * callback. Do not expose the header's temporary normal-flow position on a
 * multi-column viewport; single-column/mobile LCP still paints immediately. */
@media (min-width: 890px) {
  /* mozforecast must wait for its asynchronous town/layout bootstrap before
   * Packery can place the cards. Do not paint the header in its temporary
   * centred normal-flow position while the other cards remain hidden. */
  #content.ssi-content #headercard,
  .ui-mobile-rendering .sistersitepage #cwheadercard {
    visibility: hidden;
  }

  /* Packery can calculate against the real scaffold sizes while hidden, then
   * the bootstrap callback reveals the completed multi-column layout. */
  #content.sister-bootstrap-pending {
    visibility: hidden;
  }
}

/*.footer {
    position:fixed;
    height:50px;
    left:0px;
    right:0px;
    bottom:0px;
    background:#FFF;
    color:888;
    text-align:center;
    padding:5px 0px 0px 0px;
    border-top:2px solid #CCC;
    font-size:12px;
}*/

#footer {
  text-align: center;
  background-color: #555;
  border: none;
}

/*.multi-column {
    columns:300px 3;
    -webkit-columns:300px 3;
}*/

.card {
    background: #1C1C1C;
    border: none;
    border-radius: 5px;
    padding:0px;
    margin: 3px 3px 5px 5px;
    overflow:hidden;
    max-width: 468px;
    width: 97%;
    color: #DDD;
    text-shadow: none !important;
}

.card h1 {
  margin:0px;
  padding:5px;
  padding-top: 15px;
  font-size: 16px;
  color: white;
  background-color: #555;
  width: 100%;
  text-align: left;

}

#indexcard .index-tagline {
  text-align: center;
}

.location-unavailable #mylocationblock {
  display: none;
}

.location-unavailable #searchblock {
  width: 100%;
}

.location-unavailable #weatherlocationblock {
  display: none;
}

.location-unavailable #refreshblock,
.location-unavailable #weathersearchblock {
  width: 50%;
}

.card p {
    margin:0px;
    padding:10px;
}

#installcard .install-card-body {
    display:flex;
    align-items:center;
    padding:10px;
}

#installcard .install-card-icon {
    display:block;
    flex:0 0 auto;
    width:72px;
    height:72px;
    margin-right:10px;
}

#installcard .install-card-body p {
    padding:0px;
}

a:link {
  color: #6161c8;
}

a:visited {
  color: #6161c8;
}

/*.rightColumn,
.leftColumn {
    display:inline-block;
    width:49%;
    vertical-align:top;
}

.column {
    display:inline-block;
    vertical-align:top;
}*/

.radardiv {
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  overflow: hidden;
}

.radardiv img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#radardiv {
  position: relative;
  height: 486px;
}

#adsense1card, #adsense2card, #adsense3card {
  background-color: #555;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

#cwheadercard, #ephemcard, #linkscard, #misccard {
  background-color: #555;
}

#tidescontainer {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  height: 200px;
  max-width: 460px;
  margin: 0 auto;
}

#tidescontainer .tidesloading {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  color: #888;
  font-size: 12px;
  transform: translateY(-50%);
}

#tidestitle h1 {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#tidesdisclaimer {
  min-height: 15px;
  padding-top: 1px;
  padding-bottom: 5px;
}

#rainmodelscontainer.rainmodelsscaffold {
  box-sizing: border-box;
  padding: 6px;
}

#rainmodelscredits.rainmodelscredits {
  min-height: 2.4em;
  padding: 0 6px 6px;
  font-size: 0.8em;
}

#nowcastcontainer {
  text-align: left;
  padding: 10px;
}

#nowcastupdatedline {
  display: block;
  padding: 0 10px 8px;
  font-size: 0.8em;
  text-align: center;
}

#actesacontainer {
  text-align: left;
  padding: 10px;
}

#actesacontainer a {
  color: white;
}

.adfdscaffold #adfdcontainer {
  width: 100%;
  padding-top: 6px;
  box-sizing: border-box;
}

#forecasttable {
  width: 96%;
}

.adfdscaffold #forecasttable {
  margin-left: auto;
  margin-right: auto;
  table-layout: fixed;
}

.adfdscaffold #adfddetails {
  width: 96%;
  margin-left: auto;
  margin-right: auto;
}

.adfddetailsbody {
  display: flex;
  align-items: center;
  min-height: 5em;
}

.adfdscaffold #adfddetails #detailsinfo {
  flex: 2 1 0;
  min-width: 0;
}

.adfdscaffold #adfddetails #detailsdata {
  flex: 1 0 5.5em;
}

.adfdscaffold .forecastdaylabel {
  box-sizing: border-box;
}

.adfdscaffold .adfdforecasticon {
  display: block;
  width: 28px;
  height: 28px;
  margin: 4px auto 0 auto;
  object-fit: contain;
}

.adfdscaffold .adfdplaceholdericon {
  opacity: 0.25;
}

.adfdscaffold .adfdmaxtemp {
  display: block;
  font-size: 20px;
}

.adfdscaffold .adfdmintemp {
  display: block;
  font-size: 18px;
}

.adfdscaffold .adfddayrain {
  display: block;
  font-size: 16px;
}

.adfdscaffold .adfdrainunit {
  display: block;
  font-size: 0.8em;
}

.adfdscaffold .adfddetailtemp {
  font-size: 26px;
}

.adfdscaffold .adfddetailrain {
  font-size: 22px;
}

.adfdscaffold .adfdselectable {
  cursor: pointer;
}

.adfdscaffold #meteoheader.adfdmeteogramheading {
  display: block;
  width: 96%;
  margin-top: 0.75em;
  margin-left: auto;
  margin-right: auto;
}

.adfdscaffold #meteolink {
  display: block;
}

.adfdmeteogramframe {
  width: 100%;
  max-width: 460px;
  height: 280px;
  margin-left: auto;
  margin-right: auto;
}

.adfdmeteogramframe #container {
  width: 100%;
  height: 280px;
}

.forecastgraphplaceholder {
  box-sizing: border-box;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 12px;
}

.adfdfooter {
  padding-bottom: 5px;
}

.adfdfooter .furtherdetails {
  display: block;
}

#adfdcard .adfdfooter .adfdmeteogrambutton {
  display: inline-block;
  margin: 3px 0;
  padding: 3px 9px;
  border: 1px solid #1598c4;
  border-radius: 5px;
  background-color: #006d9b;
  color: white;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
}

#adfdcard .adfdfooter .adfdmeteogrambutton:hover,
#adfdcard .adfdfooter .adfdmeteogrambutton:focus {
  background-color: #1598c4;
  color: white;
}

.adfdfooter .adfdcredit {
  font-size: 0.8em;
}

#extendedcontainer {
  width: 100%;
  max-width: 450px;
  height: 220px;
  margin: 2px auto 0;
}

#rainoutlookcontainer {
  width: 100%;
  max-width: 450px;
  height: 240px;
  margin: 2px auto 0;
}

.rainoutlookfooter {
  padding-bottom: 5px;
}

.rainoutlookfooter .rainoutlookcredit {
  display: block;
  min-height: 1.2em;
  padding: 0 6px;
  font-size: 0.8em;
}

.extendedfooter {
  padding-bottom: 5px;
}

.extendedfooter .extendedcredit {
  display: block;
  min-height: 1.2em;
  font-size: 0.8em;
}

#ephemtable {
  width: 100%;
  padding-top: 5;
}

#ephemtable td {
  width: 50%;
  text-align: center;
  font-size: 18px;
  background: #1C1C1C;
  color: white;
  border: 2px solid transparent;
  border-radius: 8px;
}

#firedangertable td {
  text-align: center;
  font-size: 16px;
  color: white;
}

#linktable {
  width: 100%;
  padding-top: 5;
}

#linktable td {
  width: 50%;
  text-align: left;
  font-size: 16px;
  background: #1C1C1C;
  color: white;
  border: 2px solid transparent;
  border-radius: 8px;
  vertical-align: center;
}

.linkicon {
  padding-right: 8px;
  padding-left: 10px;
  vertical-align: center;
}

.adfddaytd {
  text-align: center;
  vertical-align: top;
  padding: 2px;
  height: 100%;
}

#detailsinfo {
  text-align: center;
  font-size: 18px;
  color: white;
}

#detailsdata {
  text-align: center;
  border: 2px solid transparent;
  border-radius: 8px;
}

.forecastday {
  font-size: 18px;
  background: #333;
  color: white;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-radius: 8px;
}

.forecastdaylabel {
  text-align: center;
  font-size: 18px;
  color: white;
  width: 100%;
  background-color: #006d9b;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight:bold;
}

#misccard {
  height: 50px;
}

#adsense1card {
  vertical-align: center;
  text-align: center;
}

#adsense2card {
  vertical-align: center;
  text-align: center;
}

#misccard img {
  margin: 5px;
}

.furtherdetails {
  color: #AAA;
}

#awsobscontainer {
  position: relative;
  margin: 5px;
}

.nowscaffold #nowcontainer {
  padding: 6px;
}

.nowscaffold .nowprimaryvalue {
  text-align: center;
  vertical-align: middle;
}

.nowscaffold .nowtemp {
  display: block;
  font-size: 42px;
}

.nowscaffold .nowapparent {
  display: block;
  font-size: 0.9em;
}

.nowscaffold .nowextreme {
  display: block;
  font-size: 24px;
}

.nowscaffold .nowextremetime {
  display: block;
  font-size: 0.8em;
}

.nowscaffold .nowsummarytable {
  margin-top: 6px;
}

.nowscaffold .nowsummaryvalue {
  display: block;
}

.nowscaffold .nowattribution {
  min-height: 2.4em;
  padding-top: 5px;
  text-align: center;
  font-size: 0.8em;
}

.nowscaffold .nowattributionline {
  display: block;
  min-height: 1.2em;
}

#awssumcontainer {
  position: relative;
  margin: 5px;
}

.awsobs {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.awsobs td {
  text-align: center;
  padding: 5px;
  color: white;
}

#awsdetails .awsobs td {
  padding: 4px;
}

.awsobsrowodd {
  border: 1px solid transparent;
  border-radius: 8px;
  background: #443;
}

.awsobsroweven {
  border: 1px solid transparent;
  border-radius: 8px;
  background: #333;
}

.awsobs th {
  text-align: center;
  padding: 3px;
  background-color: #006d9b;
  font-size: 18px;
  color: white;
  border: 1px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.awssummary {
  font-size: 18px;
  background: #333;
  color: white;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
}

.awslabel {
  text-align: left;
  font-size: 18px;
  color: white;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.awssitetimecolumn {
  width: 50%;
}

.awssitetime {
  display: flex;
  align-items: center;
  min-width: 0;
  flex-wrap: nowrap;
}

.awssitetime .awslabel {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.awsstationbutton {
  display: inline-block;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-skip-ink: none;
  text-underline-offset: 2px;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}

.awsstationbutton:hover,
.awsstationbutton:focus {
  color: white;
  text-decoration-thickness: 2px;
}

.awsstationbutton:focus-visible {
  outline: 2px solid white;
  outline-offset: 1px;
}

.awsstationbutton[aria-pressed="true"] {
  padding: 0 3px;
  border-radius: 4px;
  background-color: #006d9b;
  font-style: italic;
  font-weight: bold;
  text-decoration: none;
}

#awsobstable tr[onclick] {
  cursor: pointer;
}

.awstime {
  flex: 0 0 auto;
  margin-left: auto;
  padding-left: 6px;
  white-space: nowrap;
}

.awslabeltext {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.awssumdata {
  width: 100%;
}

.awssumdata td {
  text-align: center;
  width: 33%;
  color: white;
  font-size: 16;
}

.awsdetaillabel {
  text-align: center;
  font-size: 18px;
  color: white;
  width: 100%;
  margin: 8px 0 6px;
  background-color: #98b53e;
  border: 1px solid transparent;
  border-radius: 8px;
}

.awsdetailslink {
  display: block;
  min-height: 1.2em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#awsdetails .awsdetailslink a.awsdetailsbutton,
#awsdetails .awsdetailslink a.awsdetailsbutton:link,
#awsdetails .awsdetailslink a.awsdetailsbutton:visited {
  display: inline-block;
  margin: 0 0 3px;
  padding: 3px 9px;
  border: 1px solid #1598c4;
  border-radius: 5px;
  background-color: #006d9b;
  color: white;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
  text-shadow: none;
  opacity: 1;
  cursor: pointer;
}

.awsdetailslink a.awsdetailsbutton:hover,
.awsdetailslink a.awsdetailsbutton:focus {
  background-color: #1598c4;
  color: white;
}

.awsdetailsdistance {
  font-size: 0.8em;
  white-space: nowrap;
}

.awsdetaillabel_rain {
  text-align: center;
  font-size: 18px;
  color: white;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: #98b590;
}

.awsdetaillabel_humid {
  text-align: center;
  font-size: 18px;
  color: white;
  width: 100%;
  background-color: #abb58d;
  border: 1px solid transparent;
  border-radius: 8px;
}

.awsdetaillabel_wind {
  text-align: center;
  font-size: 18px;
  color: white;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: #98b53e;
}

.awsdetaillabel_temp {
  text-align: center;
  font-size: 18px;
  color: white;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  background-color: #98b53e;
}

.awsdetaillabel a:link {
  color: white;
}

.awsdetaillabel a:visited {
  color: white;
}

.valwarning {
  color: orange !important;
}

.valalert {
  color: red !important;
}

.rainspan {
  color: #DDD;
}

.maxtempspan {
  color: #ff4545;
}

.mintempspan {
  color: #7278ba;
}

#webcamlabel {
  text-align: center;
  color: #777;
}

#webcamcredit {
  display: none;
  padding: 2px 5px 0;
}

#webcamcredit .webcamcreditline {
  display: block;
  height: 1.2em;
  overflow: hidden;
  font-size: 0.8em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#webcamcredit.webcamcreditreserved {
  visibility: hidden;
}

#webcamdiv .webcamtiny {
  vertical-align: top;
  max-width: 49%;
  height: auto;
}

#webcamdiv .webcamthumb {
  vertical-align: top;
  max-width: 98%;
  height: auto;
}

#webcamdiv .webcamplaceholder {
  display: inline-block;
  background: #222;
}

#webcamdiv .webcamplaceholder.webcamtiny {
  width: 185px;
  aspect-ratio: 185 / 138;
}

#webcamdiv .webcamplaceholder.webcamthumb {
  width: 372px;
  aspect-ratio: 372 / 280;
}

#headerdiv {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 16px;
}

#headersearch {
  width: 100%;
  max-width: 450px;
  margin-right: auto;
  margin-left: auto;
}

#indexcard {
  height: 100vh;
  margin: 5px;
  background-color: white;
  color: black;
  max-width: 95%;
}

#errorcard, #ratelimitcard {
  display: none;
}

#ratelimitcard {
  box-sizing: border-box;
  padding: 12px 8px;
}

#selecttowncard {
  text-align: left;
  display: none;
}

#searchform {
  margin-top: 30px;
}

#indexlogo {
  margin-top: 10px;
}

#desktoplink .desktopweatherbutton {
  display: inline-block;
  margin-top: 3px;
  padding: 3px 9px;
  border: 1px solid #1598c4;
  border-radius: 5px;
  background-color: #006d9b;
  color: white;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  text-decoration: none;
}

#desktoplink .desktopweatherbutton:hover,
#desktoplink .desktopweatherbutton:focus {
  background-color: #1598c4;
  color: white;
}


/* highlight results */
.ui-autocomplete span.hl_results {
    background-color: #ffff66;
}
 
/* loading - the AJAX indicator */
.ui-autocomplete-loading {
    background: white url('../img/ui-anim_basic_16x16.gif') right center no-repeat;
}
 
/* scroll results */
.ui-autocomplete {
    max-height: 250px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    /* overflow-x: hidden; */
    /* add padding for vertical scrollbar */
    padding-right: 5px;
}
 
.ui-autocomplete li {
    font-size: 16px;
}
 
/* IE 6 doesn't support max-height
* we use height instead, but this forces the menu to always be this tall
*/
* html .ui-autocomplete {
    height: 250px;
}

#meteolink {
  display: none
}

#meteoheader {
  display: none
}

.imgcenterparent {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.imgcenter {
  flex: none;
}

#nowcastcontainer .nowcast-normal {
    font-style: normal;
}

#nowcastcontainer .nowcast-emphasis {
    font-style: italic;
    font-weight: 600;
}
