.cmal-live-weather-feed-parent-container canvas {
  max-width: 100%;
}
.cmal-wind-chart, .cmal-temp-chart, .cmal-baro-chart {
  width: 100%;
}
.accessibility-hide {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; /* added line */
    border: 0;
}

@media screen and (min-width: 1200px) {
  .cmal-tidal-switch-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin: 0 0 7px 0;
  }
  .cmal-live-weather-feed-parent-container p {
    text-align: left;
  }
}
@media screen and (max-width: 1199px) {
  .cmal-tidal-switch-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    padding: 12px 0 8px 0;
    background-color: #eee;
  }
  .cmal-live-weather-feed-parent-container p {
    text-align: center;
  }
}

.cmal-tidal-switch-container .cmal-tidal-switch-label {
  padding: 0 7px 5px 7px;
}


.cmal-switch {
  position: relative;
  display: inline-block;
  width: 28px;
  height: 16px;
}

.cmal-switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

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

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

input:checked + .cmal-slider {
  background-color: #0F62A1;
}

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

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

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

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

/* Predictive data unavailable message */
.cmal-tidal-data-nopredictivedata {
  text-align: center;
  padding: 25px 5px 25px 5px;
}


@media screen and (min-width: 1200px) {
  .cmal-weather-container {
      display: flex;
      justify-content: flex-start;
      align-items: stretch;
  }
  .cmal-tidal-chart {
    width: 67%;
    margin: auto;
  }
  .cmal-tidal-data {
    width: 33%;
    margin: auto;
    padding: 0 0 0 20px;
  }
}
@media screen and (max-width: 1199px) {
  .cmal-weather-container {
    display: block;
  }
  .cmal-tidal-chart {
    width: 100%;
    margin: auto;
  }
  .cmal-tidal-data {
    width: 100%;
    margin: auto;
    padding: 0;
  }
}

    .cmal-tidal-chart-displayed-for {
      text-align: center;
      padding: 10px 0 0 0;
    }
    .cmal-tidal-data-2col {
      width: 100%;
    }
    .cmal-tidal-data-2col th {
      text-align: center;
    }
      .cmal-tidal-data-observed {
        background-color: #3d7aaf !important;
        border: 1px solid #3d7aaf !important;
        color: #fff !important;;
        text-align: center;
        padding: 2px 0;
      }
      .cmal-tidal-data-predicted {
        background-color: #fff !important;
        border: 1px solid #333 !important;;
        color: #333;
        text-align: center;
        padding: 7px 0;
      }
      .cmal-tidal-data-height {
        font-size: 1.4em;
      }
    .cmal-tidal-data-3col {
      width: 100%;
    }
      .cmal-tidal-data-3col tr {
        border-bottom: 1px solid #eee;
      }
      .cmal-tidal-data-3col td {
        background-color: #fff !important;
        padding: 10px 10px;
      }
      .cmal-tidal-data-3col-height {
        text-align: right;
      }
      .cmal-tidal-data-3col-time {
        text-align: right;
        color: #3d7aaf;
      }
      .cmal-tidal-data-lastupdated {
        padding: 10px 10px;
        text-align: right;
      }



/* Gauges styles */
#cmalGaugesContainer svg {
  z-index: 0;
  position: relative;
}
.cmal-weather-gauges-error,
.cmal-weather-gauges-dataerror {
  z-index: 1;
  background-color: rgba(255,255,255,0.8);
  position: absolute;
  margin-left: 10px;
  margin-right: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  border: 1px solid #ddd;
  color: #839f32;
}
/* Temp */
#cmalTempGauge {
    float: left;
}
#cmalTempGauge .temperature-indicator {

}
/* Wind Speed */
#cmalWindSpeed {
    float:left;
}
#cmalWindSpeed .cmal-windneedle {
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 1s linear;
}

/* Wind Speed Max */
#cmalWindSpeedMax {
    float:left;
}
#cmalWindSpeedMax .cmal-windneedle {
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 1s linear;
}

/* Compass Rose */
#cmalCompassRose {
    float:left;
}
#cmalCompassRose .cmal-directionneedle {
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform 1s linear;
  transition-timing-function: ease-out;
}

#cmalCompassRose .cmal-directionneedle {
  transform: rotate(0deg);
}

#cmalWindSpeed .cmal-windneedle,
#cmalWindSpeedMax .cmal-windneedle,
#cmalCompassRose .cmal-directionneedle {
  transform-origin: center;
  transition: transform 2s linear;
  transition-timing-function: ease-out;
}
#cmalTempGauge .cmal-tempgauge-indicator {
  transition: y 2s linear;
  transition-timing-function: ease-out;
}

@media screen and (min-width: 1200px) {
  .cmal-weather-gauges-error,
  .cmal-weather-gauges-dataerror {
    margin-top: 94px;
    padding: 10px 0;
  }
}
@media screen  and (min-width: 600px)and (max-width: 1199px) {
  .cmal-weather-gauges-error,
  .cmal-weather-gauges-dataerror {
    margin-top: 60px;
    padding: 10px 0;
  }
}
@media screen  and (max-width: 600px) {
  .cmal-weather-gauges-error,
  .cmal-weather-gauges-dataerror {
    margin-top: 200px;
    padding: 10px 0;
  }
}

@media screen and (min-width: 600px) {
  #cmalTempGauge {
    width: 12%;
    margin: 20px 3% 0 0;
  }
  #cmalWindSpeed {
    width: 26%;
    margin: 20px 0 0 0;
  }
  #cmalWindSpeedMax {
    width: 26%;
    margin: 20px 0 0 0;
  }
  #cmalCompassRose {
    width: 32%;
    margin: 0 0 0 0;
  }
}

@media screen and (max-width: 599px) {
  #cmalTempGauge {
    width: 20%;
    margin: 20px 3% 0 0;
  }
  #cmalWindSpeed {
    width: 38%;
    margin: 20px 0 0 0;
  }
  #cmalWindSpeedMax {
    width: 38%;
    margin: 20px 0 0 0;
  }
  #cmalCompassRose {
    width: 80%;
    margin: 0 10%;
  }
}

/* Greyscale gauges in case of error */

/* Temperature */
.cmal-gauge-data-error .cmal-tempgauge-2 {
    fill: #ddd !important;
}

.cmal-gauge-data-error .cmal-tempgauge-3 {
    fill: #ddd !important;
}

.cmal-gauge-data-error .cmal-tempgauge-5,
.cmal-gauge-data-error .cmal-tempgauge-6 {
    fill: #ddd !important;
}

.cmal-gauge-data-error .cmal-tempgauge-6 {
    fill: #bbb !important;
}

/* Wind Speed */

.cmal-gauge-data-error .cmal-windspeed-2 {
    fill: #ddd !important;
}


.cmal-gauge-data-error .cmal-windspeed-5,
.cmal-gauge-data-error .cmal-windspeed-6 {
    fill: #ddd !important;
}

.cmal-gauge-data-error .cmal-windspeed-6 {
    fill: #bbb !important;
}
.cmal-gauge-data-error .cmal-windspeed-7 {
    fill: #bbb !important;
}

/* Wind Speed Max */

.cmal-gauge-data-error .cmal-windspeedmax-6 {
    fill: #bbb !important;
}
.cmal-gauge-data-error .cmal-windspeed-7 {
    fill: #bbb !important;
}

/* Compass Rose */
.cmal-gauge-data-error .cmal-compass-rose-3 {
    fill: #ddd !important;
}

.cmal-gauge-data-error .cmal-compass-rose-4,
.cmal-gauge-data-error .cmal-compass-rose-6 {
    fill: #bbb !important;
}

.cmal-gauge-data-error .cmal-compass-rose-5 {
    fill: #ccc !important;
}



/* iframe styles (for video) */
iframe.cmal-twitch {
  width: 100%;
}
@media screen  and (min-width: 1200px) {
  iframe.cmal-twitch {
  	height: 422px;
  }
}
@media screen  and (min-width: 600px)and (max-width: 1199px) {
  iframe.cmal-twitch {
    height: 347px;
  }
}
@media screen  and (min-width: 451px)and(max-width: 600px) {
  iframe.cmal-twitch {
    height: 311px;
  }
}
@media screen  and (max-width: 450px) {
  iframe.cmal-twitch {
    height: 238px;
  }
}
