:root {
  --ingame: #66c0f4;
  --online: #7bc57b;
}

.DOH--webcams-container {
  margin: auto;
  min-height: 600px;
  text-align: center;
  width: 994px;
}

legend {
  color: #888;
  padding: 0 14px;
  text-align: center;
}

fieldset {
  border: 5px solid #369;
  border-radius: 10px;
  display: inline-block;
  font:
    bold 24px calibri,
    sans-serif;
  margin: 10px 6px;
  max-width: 324px;
  padding: 6px 12px;
  position: relative;
}

fieldset div {
  font:
    normal 14px calibri,
    sans-serif;
  text-align: center;
}

fieldset,
fieldset img {
  box-shadow: 3px 3px 3px #888;
}

fieldset img {
  border: 2px solid #369;
  border-radius: 4px;
}

fieldset img.webcam {
  border-radius: 4px;
  height: 240px;
  width: 320px;
}

fieldset img.icon,
fieldset .caption {
  margin-top: 6px;
}

fieldset img.icon {
  height: 60px;
  width: 60px;
}

fieldset .caption {
  padding-left: 8px;
  text-align: left;
}

fieldset .thumb {
  position: absolute;
  right: 0;
}

fieldset .online {
  border-color: var(--online);
  color: var(--online);
  font-weight: bold;
}

.grid-100 {
  width: 100%;
}

.grid-80 {
  float: left;
  width: 80%;
}
.grid-20 {
  float: left;
  width: 20%;
}

.doh--webcam-image {
  align-items: center;
  /* background-image: url(https://dohnetwork.com/cdn/webcam/404.jpg); */
  border: #ccc 4px solid;
  border-radius: 4px;
  display: block;
  height: 240px;
  justify-content: center;
  margin: 0;
  width: 320px;

  img {
    border-radius: 2px;
  }
}

.doh--webcam-image i {
  color: #eee;
  display: block;
  font-size: 200px;
  left: 25%;
  opacity: 0;
  position: absolute;
  top: 8%;
  transition: all 0.125s ease-in-out;
}

.doh--webcam-image:hover i {
  opacity: 0.75;
}

.doh--webcam-image .webcam {
  height: 240px;
  width: 320px;
}

.doh--webcam-content {
  margin: auto;
  text-align: center;
  width: 994px;
}

.doh--webcam-widget {
  display: inline-block;
  margin: 30px 4px 0 4px;
  position: relative;
  text-align: left;
  width: 320px;
}

.doh-webcam-bio {
  margin-top: 2px;
}

.doh--webcam-icon-container {
  border: #bbb 3px solid;
  border-radius: 4px;
  float: left;
  height: 60px;
  margin-right: 10px;
  overflow: hidden;
  width: 60px;

  img {
    border-radius: 2px;
  }
}

.doh--webcam-name {
  font-weight: bold;
}

.doh--webcam-caption {
  background-color: oklab(0 0 0 / 0.125);
  border-radius: 4px;
  font-size: small;
  margin-left: 75px;
  padding: 5px 10px;
  position: absolute;
  top: 272px;
}

.doh--webcam-icon-online {
  .doh--webcam-icon-container {
    border-color: var(--online);
  }
  .doh--webcam-caption {
    background-color: var(--online);
  }
}

.doh--webcam-icon-ingame {
  .doh--webcam-icon-container {
    border-color: var(--ingame);
  }
  .doh--webcam-caption {
    background-color: var(--ingame);
  }
}
