/*!
 * Copyright 2026 MiniCamClips
 */

html {
  min-width: 360px;
}

body {
  display: flex;
  flex-flow: column;
  min-height: 100vh;
  padding-top: 55px;
  letter-spacing: .1px;
  -webkit-font-smoothing: antialiased;
}

.navbar {
  padding: 0;
}

.navbar.fixed-top {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.navbar-brand {
  padding: 0;
}

.navbar-brand .logo {
  display: inline-block;
  background-image: url("logo.webp");
  background-size: cover;
  width: 36px;
  height: 36px;
  text-indent: -9999em;
}

.navbar-header {
  display: flex;
  align-items: center;
  padding: 0.575rem 0;
  width: calc(100% - 60px);
  max-width: 320px;
}

.nav-item.active {
  border-bottom: 3px solid var(--bs-primary-text-emphasis);
}

.nav-link {
  --bs-nav-link-padding-y: .8rem;
}
.nav-link:hover {
  text-decoration: none;
}

input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 14px;
  width: 14px;
  display: block;
  background-repeat: no-repeat;
  background-size: 14px;
}

input[type="search"]::-webkit-search-cancel-button {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAAt0lEQVR4AWJwL/ABtFsHGgzDUABFv3kogUBgDOzDkm/aGsyD9GZuULR4QO87lEhOmfPhG26tvWqtT7u4t9Qfovt8+iAO6Kwfoe9fZPBAuR+FJaI5jmi0ieFYkA8WFI8iLHCBBuxxQrelc0y4RQOWOKMeZlyjAAOe1lEHF4CLhyVq8HVU4hbtwLZPsrhG4xuHE5pn6Aru0f/xDLBABW7u4wejjPedDI9xRhnnXw14oAIP9H5XXxH+Ank7t83jCoRpAAAAAElFTkSuQmCC");
}

.flex-content {
  flex: 1 0 auto;
}

.content {
  margin: 3em 0 15em;
}

a {
  color: var(--bs-link-color);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}


/* --------------------------------------------------------------------------------------------- */

.cam-thumb,
.capture-thumb {
  transition: filter .3s ease-in-out, opacity .3s ease-in-out;
  display: block;
  width: 100%;
  height: 0;
  padding-top: 56.2%;
  position: relative;
}

.cam-thumb:hover,
.capture-thumb:hover {
  filter: brightness(1.1);
}

.cam-thumb img,
.capture-thumb img {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.capture-thumb img.active {
  box-shadow: 0 0 5px 2px rgba(66, 133, 244, 1);
}

.cam-thumb-caption,
.capture-thumb-caption {
  text-align: center;
  font-size: .75rem;
}

.cam-thumb-caption span:not(:last-of-type):after,
.capture-thumb-caption span:not(:last-of-type):after {
  content: "•";
  margin: 0 4px;
}


/* --------------------------------------------------------------------------------------------- */

.capture-header {}

.capture-container {
  position: relative;
  padding: 30px 0;
  box-shadow: 0 0 3px rgba(0, 0, 0, .5), 0 0 30px rgba(0, 0, 0, .3);
}

.capture-controls {
  margin-left: auto;
  margin-right: auto;
  width: 1200px;
  max-width: 80%;
}

.capture {
  position: relative;
  padding-top: 56.2%;
}

.capture picture,
.capture video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 0 3px rgba(150, 150, 150, .5), 0 0 30px rgba(150, 150, 150, .3);
}

.capture-details span:not(:last-of-type):after {
  content: "•";
  margin: 0 4px;
}

.capture-tags span {
  white-space: nowrap;
}

.image-control-prev,
.image-control-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10%;
  color: #fff;
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

.image-control-prev:hover,
.image-control-prev:focus,
.image-control-next:hover,
.image-control-next:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  opacity: 0.9;
}

.image-control-prev {
  left: 0;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.001));
}

.image-control-next {
  right: 0;
  background-image: linear-gradient(270deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, 0.001));
}

.image-control-prev-icon,
.image-control-next-icon {
  display: inline-block;
  width: 30px;
  height: 30px;
  background: no-repeat 50% / 100% 100%;
}

.image-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='%23fff'%20width='8'%20height='8'%20viewBox='0%200%208%208'%3e%3cpath%20d='M5.25%200l-4%204%204%204%201.5-1.5L4.25%204l2.5-2.5L5.25%200z'/%3e%3c/svg%3e");
}

.image-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20fill='%23fff'%20width='8'%20height='8'%20viewBox='0%200%208%208'%3e%3cpath%20d='M2.75%200l-1.5%201.5L3.75%204l-2.5%202.5L2.75%208l4-4-4-4z'/%3e%3c/svg%3e");
}


/* --------------------------------------------------------------------------------------------- */

.cam-profile {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(36, 37, 38, 1) 50%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cam-profile img {
  width: 854px;
  opacity: 1;
  transition: 1s;
}

.cam-profile img.error {
  width: 427px;
  opacity: .1;
}

.cam-profile .caption {
  text-align: center;
}

.cam-profile .caption span:not(:last-of-type):after {
  content: "•";
  margin: 0 4px;
}


/* --------------------------------------------------------------------------------------------- */

.toast {
  width: 400px;
  background-color: rgba(36, 37, 38, .85);
  color: #e4e6eb;
}

.toast-body {
  width: 100%;
}

.toast a:not(.btn) {
  color: inherit;
  text-decoration: underline;
}

/* hack to nicely align the the close button in the top in snacks */
.toast .align-self-start button {
  margin-top: 0.75rem;
}


/* --------------------------------------------------------------------------------------------- */

.autocomplete-selected {
  background-color: var(--bs-primary);
  /*color: #fff;*/
}

.autocomplete-selected b,
.autocomplete-selected strong {
  color: #77ddff !important;
}

.autocomplete-suggestion {
  padding: 3px 15px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.autocomplete-suggestions {
  background-color: #242526;
  border: 1px solid rgba(0,0,0, .15);
  border-radius: 8px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  overflow: auto;
}

.autocomplete-suggestions b,
.autocomplete-suggestions strong {
  font-weight: normal; color: #4488dd;
}
.autocomplete-group {
  padding: 2px 5px;
}
.autocomplete-group b,
.autocomplete-group strong {
  display: block; border-bottom: 1px solid #000;
}


/* --------------------------------------------------------------------------------------------- */

aside {
  max-width: 200px;
}

@media (max-width: 600px) {
  aside {
    max-width: 150px;
    font-size: .7rem;
  }
}

footer {
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.broadcaster:hover {
  text-decoration: none!important;
  border-bottom: 1px solid currentColor;
}
.broadcaster.public {
  font-weight: 400;
}

#noscript-warning {
  font-family: sans-serif;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5050;
  text-align: center;
  font-weight: bold;
  font-size: 13px;
  line-height: 15px;
  height: 40px;
  color: #fff;
  background-color: #e51c23;
  padding: 5px 20px;
}

#noscript-warning a {
  color: #ccc;
}
