  /*LIVE CAMERA STYLES*/
.cameras-wrapper {
  margin-top: 30px;
}
.camera-images-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.camera-image-container {
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    padding: 20px;
    border-radius: 5px;
}

.camera-image-container p {
    font-size: 1em;
    text-align: center;
}

.camera-images-wrapper, .camera-images-wrapper img {
  max-width: 100%;
}

#cameras-section {
  text-align: center;
}

/*MAP STYLES*/
.ad-margin-top {
    margin-top: 30px;
}

@media only screen and (max-width: 865px) {
    .section_header {
        margin-bottom: 0;
    }
}

#map {
  width: 100%;
  height: 500px;
  border: 2px solid #ccc;
  border-radius: 5px;
  margin-top: 30px;
}
.marker {
  background-image: url("/wp-content/themes/bonneville-news-theme/assets/images/marker.svg");
  background-size: cover;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}
.construction {
  background-image: url("/wp-content/themes/bonneville-news-theme/assets/images/construction.svg");
  background-size: cover;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}
.closure {
  background-image: url("/wp-content/themes/bonneville-news-theme/assets/images/roadblock.svg");
  background-size: cover;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}
.incident {
  background-image: url("/wp-content/themes/bonneville-news-theme/assets/images/road-accident.svg");
  background-size: cover;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}
.special {
  background-image: url("/wp-content/themes/bonneville-news-theme/assets/images/star.svg");
  background-size: cover;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
}
.mapboxgl-popup {
  max-width: 200px;
}

.mapboxgl-popup-content {
  text-align: center;
}

.mapboxgl-popup-content h3 {
    margin-top: 10px;
    font-size: 16px;
    padding-bottom: 0;
}

.mapboxgl-popup-close-button {
    font-size: 24px;
}

/*MAP TOGGLE CONTROL STYLES*/
.traffic-toggle-hide {
  display: none;
}
.traffic-toggle-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.traffic-toggle-wrapper {
  margin-bottom: 35px;
  padding: 8px 20px;
  background-color: #fff;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

/* Colors: Default (blue) */
.toggle-switchy {
  color: #fff;
}
.toggle-switchy > input + .toggle:before {
  content: "ON";
}
.toggle-switchy > input + .toggle:after {
  content: "OFF";
}
.toggle-switchy > input + .toggle > .switch {
  background: #fff;
}
.toggle-switchy > input + .toggle + .label {
  color: #000;
}
.toggle-switchy > input:checked + .toggle {
  background: #3498db;
}
.toggle-switchy > input:not(:checked) + .toggle {
  background: #ccc;
}
.toggle-switchy > input:checked + .toggle > .switch {
  border: 3px solid #3498db;
}
.toggle-switchy > input:not(:checked) + .toggle > .switch {
  border: 3px solid #ccc;
}

/* Rounded switch corners */
.toggle-switchy > input + .toggle {
  border-radius: 4px;
}
.toggle-switchy > input + .toggle .switch {
  border-radius: 6px;
}

/* //////////////////////////
CORE STYLES BELOW - NO TOUCHY
////////////////////////// */
.toggle-switchy {
  display: inline-flex;
  align-items: center;
  user-select: none;
  position: relative;
  vertical-align: middle;
  margin-bottom: 0;
}
.toggle-switchy:hover {
  cursor: pointer;
}
.toggle-switchy > input {
  position: absolute;
  opacity: 0;
}
.toggle-switchy > input + .toggle {
  align-items: center;
  position: relative;
}
.toggle-switchy > input + .toggle {
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.toggle-switchy > input[disabled] + .toggle {
  opacity: 0.5;
}
.toggle-switchy > input[disabled] + .toggle:hover {
  cursor: not-allowed;
}
.toggle-switchy > input + .toggle {
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.toggle-switchy > input + .toggle > .switch {
  display: block;
  height: 100%;
  position: absolute;
  right: 0;
  z-index: 3;
  box-sizing: border-box;
}

/* Labels */
.toggle-switchy > input + .toggle:before,
.toggle-switchy > input + .toggle:after {
  display: flex;
  align-items: center;
  position: absolute;
  z-index: 2;
  height: 100%;
}
.toggle-switchy > input + .toggle:before {
  right: 55%;
}
.toggle-switchy > input + .toggle:after {
  left: 50%;
}
.toggle-switchy > input + .toggle + .label {
  margin-left: 10px;
}
.toggle-switchy[data-label="left"] > input + .toggle {
  order: 2;
}
.toggle-switchy[data-label="left"] > input + .toggle + .label {
  order: 1;
  margin-left: 0;
  margin-right: 10px;
}

/* Show / Hide */
.toggle-switchy > input + .toggle:before {
  opacity: 0;
}
.toggle-switchy > input:checked + .toggle:before {
  opacity: 1;
}
.toggle-switchy > input:checked + .toggle:after {
  opacity: 0;
}

/* Transitions */
.toggle-switchy > input + .toggle {
  transition: background 200ms linear, box-shadow 200ms linear;
}
.toggle-switchy > input + .toggle:before,
.toggle-switchy > input + .toggle:after {
  transition: all 200ms linear;
}
.toggle-switchy > input + .toggle > .switch {
  transition: right 200ms linear, border-color 200ms linear;
}
/* //////////////////////////
CORE STYLES ABOVE - NO TOUCHY
////////////////////////// */

/* Size: Small */
.toggle-switchy[data-size="sm"] > input + .toggle {
  width: 55px;
  height: 25px;
}
.toggle-switchy[data-size="sm"] > input + .toggle > .switch {
  width: 25px;
}
.toggle-switchy[data-size="sm"] > input + .toggle:before,
.toggle-switchy[data-size="sm"] > input + .toggle:after {
  font-size: 0.7rem;
}
.toggle-switchy[data-size="sm"] > input:not(:checked) + .toggle > .switch {
  right: calc(100% - 25px);
}
/* Style: Rounded */
.toggle-switchy[data-style="rounded"] > input + .toggle,
.toggle-switchy[data-style="rounded"] > input + .toggle > .switch {
  border-radius: 50px;
}
.toggle-switchy[data-style="rounded"] > input + .toggle:before {
  right: 50%;
}
.toggle-switchy[data-style="rounded"] > input + .toggle:after {
  left: 50%;
}

#menu__toggle {
  opacity: 0;
}
#menu__toggle:checked + .menu__btn > span {
  transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
  top: 0;
  transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  left: 0 !important;
}
.menu__btn {
  position: absolute;
  top: 24px;
  left: 20px;
  width: 22px;
  height: 26px;
  cursor: pointer;
  z-index: 10;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: #000;
  transition-duration: 0.25s;
}
.menu__btn > span::before {
  content: "";
  top: -8px;
}
.menu__btn > span::after {
  content: "";
  top: 8px;
}
.menu__box {
  display: block;
  position: absolute;
  z-index: 3;
  top: 0;
  left: -100%;
  width: 250px;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  background-color: #fff;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
  transition-duration: 0.25s;
}
.menu__item:hover {
  background-color: #cfd8dc;
}

.menu-bg {
  position: absolute;
  height: 36px;
  width: 36px;
  background-color: #fff;
  z-index: 2;
  top: 8px;
  left: 13px;
  box-shadow: 0 0 0 2px rgb(0 0 0 / 10%);
  border-radius: 7px;
}

.menu__box span {
  font-size: 14px;
}
