html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 180px;
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.42857;
  color: var(--bs-body-color);
}

.footer {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 130px;
  max-height: 130px;
  padding-top: 20px;
  font-size: 13px;
  font-weight: 300;
  color: #FFFFFF;
}

.footer ul {
  list-style-type: none;
  padding-left: 0px;
}

.footer a {
  color: #FFFFFF
}

.red {
  color: var(--bs-danger);
}

.green {
  color: var(--bs-success);
}

.orange {
  color: var(--bs-warning);
}

.light {
  opacity: 0.65;
}

.halflight {
  opacity: 0.5;
  filter: grayscale(100%);
}

.halfgray {
  filter: grayscale(50%);
}

.halflight:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.inactive {
  opacity: 0.5;
  filter: grayscale(100%);
}

.disabled {
  pointer-events: none;
}

.btn-disabled-cursor {
  cursor: not-allowed;
  pointer-events: auto;
}

ol.condensed {
  padding-left: 20px;
  margin-bottom: 2px;
}
ol.condensed li {
  margin: 1px 0px 0px 0px;
}

ul {
  list-style: none;
  padding-left: 5px;
}

ul:not(.none):not(.nav):not(.navbar-nav):not(.dropdown-menu) li {
  padding-left: 10px;
  margin-left: 2px;
}
ul:not(.none):not(.nav):not(.navbar-nav):not(.dropdown-menu) li::before {
  content: "▪";
  color: var(--bs-secondary-color);
  margin-left: -10px;
  margin-right: 5px;
}

.dropdown-menu > form {
  display: block;
  padding: 1px 10px;
  clear: both;
  font-weight: 400;
  line-height: 1.42857143;
  color: var(--bs-body-color);
  white-space: nowrap;
}

ul.none {
  list-style: none;
  list-style-type: none;
  padding-left: 0px;
}

.status-5 {
  color: var(--bs-danger);
}

.status-4 {
  color: var(--bs-danger);
}

.affix-top {
  display: inline;
  position: absolute;
  left: 20px;
  float: left;
}

.affix {
  right: 20px;
  display: inline;
}

tr.request {
  border-top: 1px solid var(--bs-border-color);
  padding-top: 2px;
}

div.request-details {
  word-break: break-all;
  border: 1px solid var(--bs-border-color);
  border-radius: 5px;
  padding: 5px 5px 0px 5px;
  margin: 0px 2px 0px 2px;
  background-color: var(--bs-tertiary-bg);
}

tr.console-message {
  border-top: 1px solid var(--bs-border-color);
  padding-top: 2px;
}

.break-all {
  overflow-wrap: anywhere;
  word-break: break-all;
  white-space: normal;
  max-width: 100%;
}

tr.summary {
  border-top: 1px solid var(--bs-border-color);
}

img.screenshot {
  border: 1px solid var(--bs-gray-500);
  border-radius: 5px;
  box-shadow: 5px 5px 5px var(--bs-tertiary-bg);
  max-width: 100%;
  max-height: 100%;
}

img.screenshot-small {
  border: 1px solid var(--bs-gray-500);
  border-radius: 5px;
  box-shadow: 5px 5px 5px var(--bs-tertiary-bg);
  width: 100%;
  max-height: 250px;
  object-fit: cover;
  object-position: top;
  display: block;
  overflow: hidden;
  transition: max-height 1s, height 1s;
}

img.screenshot-small:hover {
  max-height: 100%;
  transition: max-height 1s, height 1s;
}

div.screenshot {
  border: 1px solid var(--bs-gray-500);
  border-radius: 5px;
  box-shadow: 5px 5px 5px var(--bs-tertiary-bg);
  max-width: 100%;
  max-height: 100%;
  padding: 2px 5px 2px 5px;
  margin-top: 4px;
}

div.screenshot:hover {
  border: 1px solid var(--bs-gray-700);
}

table a:not(.btn), .table a:not(.btn) {
  text-decoration: none;
}

table a:not(.btn):hover, .table a:not(.btn):hover {
  text-decoration: underline;
}

/* Navbar links shouldn't underline on hover. */
.navbar a:hover, .navbar a:focus {
  text-decoration: none;
}

img.grayscale, div#map {
  filter: grayscale(70%) contrast(100%);
  transition: 0.5s filter linear;
}

div:hover > img, img.grayscale:hover, div#map:hover {
  filter: none;
}

th.align-right {
  text-align: right;
}

th.align-left {
  text-align: left;
}

code {
  font-family: var(--bs-font-monospace);
  font-size: 13px;
  -webkit-font-smoothing:antialiased;
  font-weight: 400;
}

/* BS3/Flatly <pre> styling — BS4 dropped it.
   --bs-emphasis-color + --bs-secondary-bg gives high-contrast code blocks in
   both themes (Flatly: #000 on #ecf0f1, Darkly: #fff on #303030). Border uses
   --bs-border-color-translucent (rgba black .175 / white .15) so it's always
   one tone darker/lighter than the secondary-bg fill. */
pre {
  display: block;
  padding: 10px;
  margin: 0 0 10.5px;
  font-size: 14px;
  line-height: 1.42857143;
  color: var(--bs-emphasis-color);
  word-break: break-all;
  word-wrap: break-word;
  background-color: var(--bs-secondary-bg);
  border: 1px solid var(--bs-border-color-translucent);
  border-radius: 4px;
}

pre.code {
  padding: 0px;
  font-size: 13px;
  margin: 5px;
  -webkit-font-smoothing:antialiased;
  font-weight: 400;
}

pre.json {
  margin: 5px; padding: 20px;
  color: #bbb; background-color: #222;
  white-space: pre; text-shadow: 0 1px 0 #000;
  border-radius: 15px; border-bottom: 1px solid #555;
  box-shadow: 0 1px 5px rgba(0,0,0,0.4) inset, 0 0 20px rgba(0,0,0,0.2) inset;
  /*font: 16px/24px 'Courier New', Courier, 'Lucida Sans Typewriter', 'Lucida Typewriter', monospace;*/
}

@media (max-width: 860px) {
  .container-fluid, .row {
    padding:0px;
  }

  .navbar {
    margin:0px;
  }

  .navbar .container {
    padding-left: 5px;
    padding-right: 5px;
  }

  .nav li a {
    padding-right: 0px;
    padding-left: 0px;
  }
}

@media (max-width: 910px) {
  .nav li a {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (max-width: 1300px) {
  .container {
    width: auto;
    margin-left: 10px;
    margin-right: 10px;
  }
}

@media (max-width: 480px) {
  .nav > li > a {
    padding: 5px;
  }
  div#fullmap {
    border: 1px solid var(--bs-border-color);
    border-radius: 5px;
    height: 300px;
    box-shadow: 5px 5px 5px var(--bs-tertiary-bg);
  }
}

input:checked + label {
  font-weight: bold;
  filter: opacity(1) grayscale(0);
  opacity: 1;
}

.form-control:invalid {
  border: 2px solid var(--bs-danger);
}

.collapsing {
  -webkit-transition: none;
  transition: none;
}

h3.top, h2.top, h1.top.small {
  margin-top: 2px;
}

h1.top {
  margin-top: 1vw;
}

h4.top {
  margin-top: 1vh;
}

h4.none {
  margin-top: 0px;
}

h4.space {
  margin-top: 20px;
}

span.sc-text {
  font-size: 12px;
}

img.page-logo {
  width: 78px;
  height: 78px;
  border: 2px solid var(--bs-secondary-color);
  border-radius:50%;
  overflow:hidden;
  float: left;
  margin-right: 8px;
  margin-bottom: 5px;
}

div.abbrev {
  width: 5em;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

div.abbrev:hover {
  width: auto;
  overflow: visible;
}

/* BS3/Flatly hr — BS5 Reboot sets opacity:.25 which makes it barely visible. */
hr {
  border-top: 1px solid var(--bs-border-color);
  opacity: 1;
}

/* BS4's .row uses flex, so a bare <hr> child collapses to width:0. Make it span the row. */
.row > hr {
  flex: 0 0 100%;
  width: 100%;
}

hr.tight {
  margin: 2px 0px 2px 0px;
}

hr.medium {
  margin: 15px 0px 15px 0px;
}
hr.small {
  margin: 10px 0px 10px 0px;
}

form input {
  border: 0px;
}

span.label-muted {
  opacity: 0.6;
  filter: grayscale(50%);
  margin-right: 5px;
}

.label-simple {
  background-color: var(--bs-body-bg);
  border: 2px solid var(--bs-border-color);
  padding-top: 2px;
  padding-bottom: 2px;
}

div.summary_background {
  /*filter: sepia(100%) invert(100%) contrast(50%);*/
  filter: grayscale(100%);
  background-size: 100%;
  background-position: center;
  padding: 0.8vw 0px 0.8vw 0px;
  min-height: 40px;
  color: white;
  display: block;
  width: 100vw;
  position: relative;
  margin-left: -50vw;
  margin-bottom: 20px;
  margin-top: -21px;
  left: 50%;
  /*
  background-color: rgba(200,0,0,.5);
  background-blend-mode: darken, luminosity;
  */
}

h1.summary_headline {
 font-size: 4.5vh;
 /*text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;*/
 margin: 1.5vh 0px 1vh 0px;
}

h1.small {
  font-size: 32px;
}


div.background_tint {
    z-index: 1;
    height: 100%;
    width: 100%;
    position: fixed;
    overflow: auto;
    top: 0px;
    left: 0px;
    background: rgba(0, 0, 0, 0.7); /*can be anything, of course*/
}

.simpletag {
  border: 2px solid var(--bs-border-color);
  border-radius: 5px;
  padding: 4px 5px 4px 5px;
  margin-bottom: 2px;
  margin-top: 5px;
  white-space: nowrap;
  line-height: 1.2;
  display: inline-block;
}

.simpletag-medium {
  border: 2px solid var(--bs-border-color);
  border-radius: 5px;
  padding: 2px 5px 2px 5px;
  margin-bottom: 2px;
  margin-top: 0px;
  line-height: 1;
  display: inline;
}
.simpletag-small {
  border: 2px solid var(--bs-border-color);
  border-radius: 5px;
  padding: 1px 5px 1px 5px;
  margin-bottom: 0px;
  margin-top: 0px;
  white-space: nowrap;
  line-height: 1;
  display: inline;
}

.checktag {
  cursor: pointer;
  display: block;
}

.pointer {
  cursor: pointer;
}

.searchtag {
  font-family: "Lucida Console", Monaco, monospace;
  color: var(--bs-body-color);
  border: 2px solid var(--bs-border-color);
  border-radius: 5px;
  padding: 1px 3px 1px 3px;
  margin-bottom: 0px;
  margin-top: 0px;
  white-space: nowrap;
  line-height: 1.5;
  display: inline;
}

pre.wrap {
  white-space: pre-wrap;
}

.pre {
  white-space: pre-wrap;
}

.pre-line {
  white-space: pre-line;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.new-result {
  -webkit-animation: fadein 2s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 2s; /* Firefox < 16 */
  -ms-animation: fadein 2s; /* Internet Explorer */
  -o-animation: fadein 2s; /* Opera < 12.1 */
  animation: fadein 2s;
}

.fadein {
  -webkit-animation: fadein 1s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 1s; /* Firefox < 16 */
  -ms-animation: fadein 1s; /* Internet Explorer */
  -o-animation: fadein 1s; /* Opera < 12.1 */
  animation: fadein 1s;
}

dl.narrow dt {
  width: 80px;
}

dl.narrow dd {
  margin-left: 100px;
}
img.inline {
  height: 1.1em;
}
.left10 {
  margin-left: 10px;
}
.right5 {
  margin-right: 5px;
}
.right10 {
  margin-right: 10px;
}
.left5 {
  margin-left: 5px;
}
.indexname {
  margin-bottom: 0px;
  font-size: 4em;
  margin-top: 0px;
}
.bottom5 {
  margin-bottom: 5px;
}
.bottom10 {
  margin-bottom: 10px;
}

.bottom20 {
  margin-bottom: 20px;
}
.top5 {
  margin-top: 5px;
}
.top10 {
  margin-top: 10px;
}
.top20 {
  margin-top: 20px;
}
.grecaptcha-badge {
  display: none;
}
.main-pane {
  display: none;
}
.main-pane.active {
  display: block;
}
.btn-tabs {
  margin-bottom: 3px;
}

div.sectr {
  position: absolute;
  top: 6px;
  right: 0px;
  padding: 0px 5px 5px 5px !important;
  height: 50px;
  margin: 0px;
}

@media (max-width: 768px) {
  div.sectr {
    position: relative;
  }
}

div.sectr img {
  height: 52px;
  width: auto;
  margin-top: -1px;
}

a.loggedin  {
  max-width: 145px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

@media (min-width: 992px) {
  @media (max-width: 1030px) {
    div.sectr {
      top: 12px;
    }

    div.sectr img {
      height: 40px;
    }
  }
}

@media (min-width: 1050px) {
  a.loggedin {
    max-width: 165px;
  }
}

@media (min-width: 1110px) {
  a.loggedin {
    max-width: 220px;
  }
}

@media (max-width: 950px) {
  @media (min-width: 768px) {
    div.sectr {
      top: 12px;
    }

    div.sectr img {
      height: 40px;
    }
  }
}

@media (max-width: 850px) {
  div.sectr {
    display: none;
  }
}

/* SecurityTrails sponsor badge shown in the collapsed navbar's top bar, next to the
   toggler (below lg). Mirrors the BS3 visible-xs badge; div.sectr is hidden below lg
   so this fills that gap. ms-auto (in the markup) pushes it right against the toggler. */
.sectr-mobile {
  display: flex;
  align-items: center;
}
.sectr-mobile img {
  height: 40px;
  width: auto;
}

.procolor {
  color: #5cb85c;
}

.display-none {
  display: none;
}

.redacted {
  filter: blur(4px) grayscale(0.7);
  transition: 1s;
}
.redacted:hover {
  filter: blur(0px) grayscale(0);
  transition: 1s;
}

div.nsfw {
  filter: blur(6px);
}

div.nsfw:hover {
  filter: blur(0px);
}

.usermenu {
  border-width: 1px;
  border-right-style: solid;
  border-right-color: var(--bs-border-color);
  padding-right: 10px;
}
.userrow {
  margin-top: 20px;
}
div.pricing-table {
  margin: 0px 2px 10px 2px;
  padding: 5px 0px 0px 0px;
  border: 1px solid var(--bs-border-color);
  border-radius: 5px;
  box-shadow: 1px 1px 0px 0px var(--bs-tertiary-bg);
}

div.product-table {
  margin: 10px;
  padding: 10px;
}

h1.product-logo {
  font-size: 300%;
  font-weight: 200;
}

table.pricing-table thead tr th {
  padding-top: 15px;
  border-bottom: 3px solid var(--bs-border-color);
  font-size: 120%;
}

table.pricing-table h3 {
  margin-bottom: 2px;
}

table.pricing-table h4 {
  margin-bottom: 2px;
}

.dark-red {
  color: #af1b05;
}
.dark-green {
  color: #056b05;
}
.live-tile {
  padding-right:1px;
  padding-left:1px;
  text-overflow: clip;
}
.pad5 {
  padding: 5px;
}

.pad10 {
  padding: 10px;
}

.btn-group .btn {
  border: 1px solid #555;
}

div.panel-body-condensed {
  padding: 5px 15px 5px 15px;
}

.securitytrails-logo {
  height: 50px;
  /*filter: opacity(0.7) grayscale(0.7);*/
  transition: 1s;
  margin: 5px 20px 5px 20px;
}

.tines-logo {
  height: 54px;
  /*filter: opacity(0.7) grayscale(0.7);*/
  transition: 1s;
  margin: 5px 20px 5px 20px;
}

.joesecurity-logo {
  height: 50px;
  /*filter: opacity(0.7) grayscale(0.7);*/
  transition: 1s;
  margin: 5px 20px 5px 20px;
}

.hatching-logo {
  height: 42px;
  /*filter: opacity(0.7) grayscale(0.7);*/
  transition: 1s;
  margin: 5px 20px 5px 10px;
  padding-top: 0px;
}

.pentesttools-logo {
  height: 62px;
  /*filter: opacity(0.7) grayscale(0.7);*/
  transition: 1s;
  margin: 5px 20px 5px 20px;
  padding-top: 0px;
}

.intezer-logo {
  height: 55px;
  /*filter: opacity(0.7) grayscale(0.7);*/
  transition: 1s;
  margin: 0px 0px 5px 20px;
  padding-top: 0px;
}
.ctm360-logo {
  height: 68px;
  /*filter: opacity(0.7) grayscale(0.7);*/
  transition: 1s;
  margin: 0px 0px 0px 30px;
  padding-top: 0px;
}
.socradar-logo {
  height: 84px;
  /*filter: opacity(0.7) grayscale(0.7);*/
  transition: 1s;
  margin: -8px 10px 0px 30px;
  padding-top: 0px;
}

div.csp {
  margin-top: 40px;
}
div.csp a {
  text-decoration: none;
}
div.csp a:hover {
  text-decoration: none;
}

div.csp a:hover img {
  filter: opacity(1) grayscale(0);
  transition: 1s;
}

.ctooltip {
  position: relative;
  display: inline-block;
  opacity: 1;
  border-bottom: 1px dotted var(--bs-border-color); /* If you want dots under the hoverable text */
}

/* Tooltip text */
.ctooltip .tooltiptext {
  visibility: hidden;
  width: 240px;
  background-color: #555;
  color: #fff;
  text-align: center;
  padding: 10px 8px;
  border-radius: 6px;

  /* Position the tooltip text */
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;

  opacity: 0;
  transition: opacity 0.3s;
}

/* Tooltip arrow */
.ctooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
.ctooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}
.capitalize {
  text-transform: capitalize;
}

.extralineheight {
  line-height: 1.8em;
}

img.avatar {
  width: 55px;
  height: 55px;
  border-radius: 50px;
  margin-top: -5px;
  margin-left: 10px;
}
img.avatar-big {
  width: 150px;
  height: 150px;
  border-radius: 5px;
  border: 1px solid var(--bs-gray-500);
}

.center-cropped {
  object-fit: cover;
  object-position: center;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  margin: 1px 1px 1px 0;
  filter: saturate(50%) brightness(115%);
}

img.vendorlogo {
  max-width: 100%;
  border: 2px solid var(--bs-gray-500);
  border-radius: 15px;
  padding: 15px;
  object-fit: contain;
  width: 200px;
  min-width: 200px;
  height: 110px;
  margin: 5px;
  flex-shrink: 0;
}

img.vendorlogo:hover {
  border: 2px solid var(--bs-gray-700);
}

.zoom {
  transition: transform .2s; /* Animation */
  margin: 0 auto;
  position: relative;
}

.zoom:hover {
  transform: scale(5.5); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
  margin-left: -3px;
  margin-top: -3px;
  transform-origin: top left;
  z-index: 1000;
  border-radius: 5px;
  border: 1px solid var(--bs-border-color);
  box-shadow: 10px 10px 21px -2px rgba(0,0,0,0.75);
}

.navbar .glyphicon {
  margin-right: 3px;
  font-size: 110%;
 }

.bg-navbar {
  background-color: var(--bs-primary);
}
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.active:hover,
.navbar-dark .navbar-nav .nav-link.active:focus,
.navbar-dark .navbar-nav .nav-item.active .nav-link {
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.25);
}
.navbar.bg-navbar {
  padding: 0;
  min-height: 60px;
  margin-bottom: 21px;
  border: 1px solid transparent;
}
/* BS3 default — BS4 changed this to baseline. */
img { vertical-align: middle; }
/* BS4 makes navbar's .container a flex item that shrinks to its content.
   BS3 had it expand to the full container width — restore that. */
.navbar > .container,
.navbar > .container-sm,
.navbar > .container-md,
.navbar > .container-lg,
.navbar > .container-xl {
  width: 100%;
}
/* Keep the BS3 fixed-height, single-row layout only while the navbar is
   expanded (≥lg). Below lg the toggler is active and the collapsed menu must
   be allowed to wrap onto its own line and grow the navbar's height — a fixed
   height or flex-wrap: nowrap would clip it and break the layout. */
@media (min-width: 992px) {
  .navbar.bg-navbar {
    height: 60px;
  }
  .navbar > .container,
  .navbar > .container-sm,
  .navbar > .container-md,
  .navbar > .container-lg,
  .navbar > .container-xl {
    flex-wrap: nowrap;
  }
}

/* BS3 / Flatly heading sizes, weights & margins — BS4 defaults differ. */
h1, .h1 { font-size: 39px; }
h2, .h2 { font-size: 32px; }
h3, .h3 { font-size: 26px; }
h4, .h4 { font-size: 19px; }
h5, .h5 { font-size: 15px; }
h6, .h6 { font-size: 13px; }
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-weight: 400;
  line-height: 1.1;
}
h1, .h1, h2, .h2, h3, .h3 {
  margin-top: 21px;
  margin-bottom: 10.5px;
}
h4, .h4, h5, .h5, h6, .h6 {
  margin-top: 10.5px;
  margin-bottom: 10.5px;
}

/* BS3 heading <small> — smaller (65%) and light gray. */
h1 small, h1 .small, .h1 small, .h1 .small,
h2 small, h2 .small, .h2 small, .h2 .small,
h3 small, h3 .small, .h3 small, .h3 .small {
  font-size: 65%;
  color: var(--bs-secondary-color);
  font-weight: 400;
  line-height: 1;
}
h4 small, h4 .small, .h4 small, .h4 .small,
h5 small, h5 .small, .h5 small, .h5 .small,
h6 small, h6 .small, .h6 small, .h6 .small {
  font-size: 75%;
  color: var(--bs-secondary-color);
  font-weight: 400;
  line-height: 1;
}

/* BS3 nav-link padding — beat BS4's @media (min-width:992px) .navbar-expand-lg .navbar-nav .nav-link override. */
.navbar.bg-navbar .navbar-nav .nav-link {
  padding: 19.5px 15px !important;
  line-height: 21px;
}
/* BS3 reduced collapsed-menu link padding on small screens (.nav > li > a { padding: 5px }).
   Restore that so the mobile menu items aren't excessively tall. */
@media (max-width: 480px) {
  .navbar.bg-navbar .navbar-nav .nav-link {
    padding: 5px !important;
  }
}
/* Center the nav items vertically in the expanded (≥lg) horizontal row — without this,
   .nav-item (display: list-item) inside a flex navbar-nav stretches to add baseline leading
   and the link sits a few px above center. Scope to ≥lg so the collapsed (vertical) menu keeps
   the default align-items: stretch and renders full-width, left-aligned items like BS3. */
@media (min-width: 992px) {
  .navbar.bg-navbar .navbar-nav {
    align-items: center;
  }
}

/* BS3 form-control sizing — taller and more padding than BS4 default.
   BS5 split <select> off into .form-select; mirror the sizing so inputs and
   selects line up when they share a .row. Selects keep extra right padding
   to clear the dropdown chevron (positioned 12px from the right edge). */
.form-control,
.form-select {
  font-size: 15px;
  border-width: 2px;
}
.form-control { padding: 10px 15px; }
.form-select  { padding: 10px 36px 10px 15px; }
.form-control-sm { padding: 5px 10px; font-size: 12px; height: 30px; }
.form-select-sm  { padding: 5px 30px 5px 10px; font-size: 12px; height: 30px; }
.form-control-lg { padding: 14px 24px; font-size: 19px; height: 66px; }
.form-select-lg  { padding: 14px 42px 14px 24px; font-size: 19px; height: 66px; }
/* Let textareas grow to fit their rows attribute (BS3 default was auto for textarea). */
textarea.form-control,
textarea.form-control-sm,
textarea.form-control-lg { height: auto; }

/* BS3/Flatly placeholder. Both themes keep .form-control on a white background
   (Darkly's choice), so the placeholder must contrast with white in both modes
   — use --bs-gray-500 which is a fixed light grey in each Bootswatch bundle
   rather than --bs-secondary-color, which inverts to light grey on dark. */
.form-control::placeholder {
  color: var(--bs-gray-500);
}

/* BS5's .table paints each cell with var(--bs-table-bg) = var(--bs-body-bg),
   which hides any row-level background (e.g. .table-striped row colour, or
   the card body underneath when the table sits inside a card). BS3/Flatly
   cells were transparent — restore that. */
.table {
  --bs-table-bg: transparent;
}
/* BS3 .table cell padding (BS4 default is 0.75rem = 12px, BS3 was 8px) + no borders (Flatly stripped them). */
.table > thead > tr > th,
.table > thead > tr > td,
.table > tbody > tr > th,
.table > tbody > tr > td,
.table > tfoot > tr > th,
.table > tfoot > tr > td {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border: 0;
}
/* BS3 had thead th vertical-align: bottom so column titles align at the bottom of variable-height headers. */
.table > thead > tr > th {
  vertical-align: bottom;
}
/* BS3/Flatly .table-bordered — light outline that the BS5 default replaced with a heavier border. */
.table-bordered {
  border: 1px solid var(--bs-border-color);
}
.table-bordered > thead > tr > th,
.table-bordered > thead > tr > td,
.table-bordered > tbody > tr > th,
.table-bordered > tbody > tr > td,
.table-bordered > tfoot > tr > th,
.table-bordered > tfoot > tr > td {
  border: 1px solid var(--bs-border-color);
}
/* BS3/Flatly .table-striped — Bootstrap's native cell-level box-shadow handles
   the stripe colour; Flatly ships rgba(black,.05), Darkly we override to a
   solid #3d3d3d in bootstrap-dark.scss for readability. */

/* .table-sm (BS4 = BS3 .table-condensed) tightens it further. */
.table-sm > thead > tr > th,
.table-sm > thead > tr > td,
.table-sm > tbody > tr > th,
.table-sm > tbody > tr > td,
.table-sm > tfoot > tr > th,
.table-sm > tfoot > tr > td {
  padding: 5px;
}

/* BS3 .container max-widths (BS4 introduced a 540px cap at 576+ which BS3 did not have). */
@media (min-width: 576px) and (max-width: 767.98px) {
  .container, .container-sm, .container-md, .container-lg, .container-xl { max-width: 100%; }
}
@media (min-width: 768px) {
  .container, .container-sm, .container-md { max-width: 750px; }
}
@media (min-width: 992px) {
  .container, .container-sm, .container-md, .container-lg { max-width: 970px; }
}
@media (min-width: 1200px) {
  .container, .container-sm, .container-md, .container-lg, .container-xl { max-width: 1170px; }
}
.navbar.bg-navbar .navbar-brand {
  padding: 19.5px 5px;
  margin-right: 0;
  height: 60px;
  line-height: 19px;
  overflow: visible;
  color: #fff;
}
.navbar.bg-navbar .navbar-brand:hover,
.navbar.bg-navbar .navbar-brand:focus {
  color: var(--bs-success);
}

/* BS3-style spacing between the brand and the nav links once the navbar is expanded. */
@media (min-width: 768px) {
  .navbar.bg-navbar .navbar-collapse {
    margin-left: 15px;
  }
}

/* BS3 nav links were full white. BS4's navbar-dark dims them to rgba(255,255,255,.5). */
.navbar.bg-navbar .navbar-nav .nav-link {
  color: #fff;
}
.navbar.bg-navbar .navbar-nav .nav-link:hover,
.navbar.bg-navbar .navbar-nav .nav-link:focus {
  color: var(--bs-success);
}

/* Bootstrap/Bootswatch supplies .text-*, .bg-*, .btn-*, .alert-*, .border-*, .badge,
   .text-bg-*, .progress-bar.bg-* utilities via theme CSS variables — no manual palette
   override needed. Flatly already matches the urlscan.io brand colors. */

.badge:empty { display: none !important; }

/* BS4-style .badge-{color} aliases — BS5 only supplies .text-bg-{color},
   but our templates still use the BS4 markup. Mirror the BS5 utility colors. */
.badge-primary   { background-color: var(--bs-primary)   !important; color: #fff !important; }
.badge-secondary { background-color: var(--bs-secondary) !important; color: #fff !important; }
.badge-success   { background-color: var(--bs-success)   !important; color: #fff !important; }
.badge-info      { background-color: var(--bs-info)      !important; color: #fff !important; }
.badge-warning   { background-color: var(--bs-warning)   !important; color: #fff !important; }
.badge-danger    { background-color: var(--bs-danger)    !important; color: #fff !important; }

/* Flatly default link color = success; underline only on hover (BS5 Reboot underlines by default) */
a { color: var(--bs-success); text-decoration: none; }
a:hover, a:focus { color: var(--bs-link-hover-color); text-decoration: underline; }
/* In dark mode, keep the link color unchanged on hover (only the underline changes). */
[data-bs-theme="dark"] a:hover, [data-bs-theme="dark"] a:focus { color: var(--bs-success); }
a.btn { text-decoration: none };
/* Navbar overrides — keep navbar links clean (no underline) regardless of state. */
.navbar a, .navbar a:hover, .navbar a:focus { text-decoration: none; }

/* BS3/Flatly <label> defaulted to bold; BS5 dropped it. */
label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: 700;
}

/* BS3 .dl-horizontal — removed in BS4. */
@media (min-width: 768px) {
  .dl-horizontal dt {
    float: left;
    width: 160px;
    overflow: hidden;
    clear: left;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .dl-horizontal dd {
    margin-left: 180px;
  }
}

/* BS3-style .nav>li>a:hover/focus — the old vendored Darkly shipped this
   selector; Bootswatch BS5 only styles .nav-link:hover, so bare <li><a> nav
   items lost their hover affordance. Restore with a theme-aware fill. */
.nav > li > a:hover,
.nav > li > a:focus {
  text-decoration: none;
  background-color: var(--bs-secondary-bg);
}

/* BS3-style .nav-pills active state (BS4 only styles .nav-link.active, but our menus use <li class="active"><a>). */
.nav-pills > li > a {
  border-radius: 4px;
  padding: 10px 15px;
  display: block;
}
/* BS3-style <li><a> nav links: Bootswatch Darkly (BS5) no longer styles bare <a> inside
   .nav-tabs/.nav-pills, so .text-primary makes them invisible on the dark body. Force white. */
[data-bs-theme="dark"] .nav-pills > li > a,
[data-bs-theme="dark"] .nav-tabs > li > a {
  color: #fff !important;
}
.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus {
  background-color: var(--bs-primary);
  color: #fff;
}
.nav-pills > li.active > a .text-primary,
.nav-pills > li.active > a.text-primary { color: #fff !important; }

/* BS3-style .nav-tabs — our markup uses <li><a> not <li class="nav-item"><a class="nav-link">. */
.nav-tabs {
  border-bottom: 1px solid var(--bs-border-color);
}
.nav-tabs > li {
  margin-bottom: -1px;
}
.nav-tabs > li > a {
  display: block;
  padding: 10px 15px;
  margin-right: 2px;
  line-height: 1.42857143;
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
  color: var(--bs-link-color);
}
.nav-tabs > li > a:hover {
  border-color: var(--bs-tertiary-bg) var(--bs-tertiary-bg) var(--bs-border-color);
  text-decoration: none;
}
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.nav-tabs > li > a.active,
.nav-tabs > li > a.active:hover,
.nav-tabs > li > a.active:focus {
  color: var(--bs-body-color);
  cursor: default;
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-bottom-color: transparent;
}

/* Flatly button sizing — 2px border, 10/15px padding, 15px font on default .btn. */
.btn {
  padding: 10px 15px;
  font-size: 15px;
  line-height: 1.42857143;
  border-radius: 4px;
  border-width: 2px;
}
.btn-lg, .btn-group-lg > .btn {
  padding: 14px 24px;
  font-size: 19px;
  line-height: 1.3333333;
  border-radius: 6px;
}
.btn-sm, .btn-group-sm > .btn {
  padding: 6px 9px;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 3px;
}
/* BS4 dropped .btn-xs (BS3 was 1px 5px). Restore it for in-text buttons. */
.btn-xs, .btn-group-xs > .btn {
  padding: 1px 5px;
  font-size: 13px;
  line-height: 1.5;
  border-radius: 3px;
}

/* BS3 .btn-group: collapse line-height so it sizes to the button inside, not the parent's
   line-height. BS3 floated its child .btn so the wrap sized to the (block-level) button. */
.btn-group, .btn-group-vertical {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}
.btn-group > .btn {
  position: relative;
  float: left;
}
.btn-group > .btn:hover,
.btn-group > .btn:focus,
.btn-group > .btn:active {
  z-index: 2;
}

a:focus { outline: thin dotted; }


table.table-overflow {
  table-layout: fixed;
}

table.table-overflow td {
  overflow: hidden;
}

tr.htmx-swapping td {
  opacity: 0;
  transition: opacity 1s ease-out;
}

.displayinlineblockwidth93px { display: inline-block; width: 93px }
.fontsize4emmargintop0px { font-size: 4em; margin-top: 0px }
.height09em { height: 0.9em }
.height100pxmargintop15px { height: 100px; margin-top: -15px }
.height11em { height: 1.1em }
.height15em { height: 1.5em }
.wappa-icon { width: 16px; height: 16px; object-fit: contain }
.height1em { height: 1em }
.height50pxmargintop15px { height: 50px; margin-top: -15px }
.height50pxmargintop15pxpadding0px0px0px0px { height: 50px; margin-top: -15px; padding: 0px 0px 0px 0px }
.height80px { height: 80px }
.lineheight40pxmargintop0px { line-height: 40px; margin-top: 0px }
.marginbottom20px { margin-bottom: 20px }
.margintop15px { margin-top: 15px }
.margintop20px { margin-top: 20px }
.margintop30px { margin-top: 30px }
.margintop3px { margin-top: -3px }
.margintop3px { margin-top: 3px }
.margintop50px { margin-top: 50px }
.margintop5px { margin-top: 5px }
.margintop6px { margin-top: -6px }
.minheight19525px { min-height: 195.25px }
.minheight74pxwidth100pxmargin0px { min-height: 74px; width: 100px; margin: 0px }
.paddingleft2pxpaddingright2px { padding-left: 2px; padding-right: 2px }
.paddingleft5pxpaddingright5px { padding-left: 5px; padding-right: 5px }
.width100px { width: 100px }
.width180pxmarginbottom8px { width: 180px; margin-bottom: 8px }
.width20 { width: 20% }
.willchangecontents { will-change: contents }
.wordbreakbreakall { word-break: break-all }

.omnibox-dropzone {
  border-style: dashed;
  border-width: 2px;
  padding: 30px;
}
.omnibox-dropzone-icon {
  font-size: 48px;
  opacity: 0.6;
}

#omnibox {
  --bs-nav-link-font-size: 14px;
}
#omnibox .nav-underline {
  gap: 0;
  max-width: 600px;
  margin-inline: auto;
}
#omnibox .nav-link {
  padding: 1rem 2rem;
  border-bottom: 2px solid var(--bs-border-color);
}
#omnibox .nav-link.active {
  background-color: transparent;
  border-bottom: 4px solid var(--bs-nav-link-color);
}

.background-ha {
  background-color: var(--bs-secondary);
}

/* BS3/Flatly .dropdown-menu > li > a — BS5 .dropdown-item default is taller and uses different color. */
.dropdown-item {
  padding: 3px 20px;
  font-weight: 400;
  line-height: 1.42857143;
  color: var(--bs-body-color);
}
.dropdown-header {
  padding: 3px 20px;
  font-size: 12px;
}

div.card-header h4 {
  margin: 0px 0px 0px 0px;
}

/* BS3 .panel-default parity for BS5 .card — margin-bottom, soft shadow.
   Use theme variables so Flatly and Darkly each supply their own colors. */
.card {
  margin-bottom: 21px;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.card-header {
  background-color: var(--bs-card-cap-bg);
  border-bottom: 1px solid var(--bs-border-color);
  padding: 10px 15px;
}
.card-footer {
  background-color: var(--bs-card-cap-bg);
  border-top: 0;
  padding: 10px 15px;
}
/* BS3 .panel-title shrunk h* font + zeroed margins so card headers are compact. */
.card-title {
  margin: 0;
  font-size: 17px;
  line-height: 1.1;
}

/* BS3 panel-{color} parity for BS5 .card.bg-{color} — color the border + header,
   keep the body theme-default. BS5's bg-* otherwise paints the whole card. */
.card.bg-warning,
.card.bg-danger,
.card.bg-info,
.card.bg-success,
.card.bg-primary {
  background-color: var(--bs-card-bg) !important;
}
.card.bg-warning { border-color: var(--bs-warning); }
.card.bg-danger  { border-color: var(--bs-danger); }
.card.bg-info    { border-color: var(--bs-info); }
.card.bg-success { border-color: var(--bs-success); }
.card.bg-primary { border-color: var(--bs-primary); }
.card.bg-warning > .card-header { color: #fff; background-color: var(--bs-warning); border-bottom-color: var(--bs-warning); }
.card.bg-danger  > .card-header { color: #fff; background-color: var(--bs-danger); border-bottom-color: var(--bs-danger); }
.card.bg-info    > .card-header { color: #fff; background-color: var(--bs-info); border-bottom-color: var(--bs-info); }
.card.bg-success > .card-header { color: #fff; background-color: var(--bs-success); border-bottom-color: var(--bs-success); }
.card.bg-primary > .card-header { color: #fff; background-color: var(--bs-primary); border-bottom-color: var(--bs-primary); }

div.qrcode svg {
  width: 80%;
  height: 80%;
  max-width: 400px;
  max-height: 400px;
}

.text-strikethrough {
    text-decoration: line-through;
}

.htmx-indicator{
    display:none;
}
.htmx-request .htmx-indicator{
    display:inline;
}
.htmx-request.htmx-indicator{
    display:inline;
}

.select-all {
  user-select: all;
  -webkit-user-select: all; /* Safari */
  -moz-user-select: all;    /* Firefox */
}

/* Feature Flags Admin Table */

.feature-flag-cell-vertical-middle {
  vertical-align: middle !important;
}

.feature-flag-date {
  min-width: 100px;
}

.feature-flag-progress {
  min-width: 100px;
  margin: 0 !important;
}

.feature-flag-input-group {
  width: 120px;
}

/* Dark mode overrides — only for rules that can't be expressed by inheriting
   a Bootstrap token. .dark-red / .dark-green are pre-darkened brand colors that
   become invisible against a dark body, so they swap to the regular palette. */
[data-bs-theme="dark"] .dark-red {
  color: var(--bs-danger);
}

[data-bs-theme="dark"] .dark-green {
  color: var(--bs-success);
}

/* Search Assistant */
#search-assistant-wrapper {
  position: relative;
}

.search-assistant {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1000;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid var(--bs-border-color);
  border-radius: 4px;
  background-color: var(--bs-body-bg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.search-assistant-option {
  padding: 6px 12px;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.search-assistant-option:hover,
.search-assistant-option.active {
  background-color: var(--bs-success-bg-subtle);
}

.search-assistant-option-name {
  font-weight: 500;
  white-space: nowrap;
}

.search-assistant-option-info {
  color: var(--bs-secondary-color);
  font-size: 12px;
}

.search-assistant-option-info .badge {
  margin-right: 4px;
  font-size: 10px;
}

@media (min-width: 768px) {
    .navbar>.container .navbar-brand-img,.navbar>.container-fluid .navbar-brand-img {
        margin-left:-15px
    }
}

img#file-preview-image {
  max-height: 400px;
}
