@import url("font/inconsolata/index.css");
@import url("light-theme_style.css");

@font-face {
  font-family: Inter;
  src: url("font/Inter-VariableFont_opsz,wght.ttf") format("opentype");
}

@font-face {
  font-family: "Chakra Petch";
  src: url("font/ChakraPetch-Bold.ttf") format("opentype");
}

.hide {
  display: none !important;
}

body {
  direction: ltr;
  text-align: left;
  font-family: "Inter", sans-serif;
  /* Changed text color to dark DigiByte blue, background to white: */
  color: #002352;
  background-color: #ffffff;
}

body.theme-dark {
  background-color: #fff;
}

body[lang=he] {
  font-family: "Open Sans Hebrew","Helvetica Neue",Helvetica,Arial,sans-serif;
}

/* Make .text-gray a lighter gray so it’s readable on dark backgrounds: */
.text-gray { color: #b5bdc2 !important; }

/* If you ever need a dark-gray text (on white BG) use a different class.
   This ensures "text-gray" remains visible on the block/tx dark boxes. */

.text-dark-gray { color: #55585A; }

.font-h1 {
  font-size: 48px;
  font-weight: 700;
  font-family: "Chakra Petch", sans-serif;
  line-height: normal;
  letter-spacing: normal;
  font-style: normal;
}

.font-h2 {
  font-size: 40px;
  font-weight: 700;
  font-family: "Chakra Petch", sans-serif;
  line-height: normal;
  letter-spacing: normal;
  font-style: normal;
}

.font-h3 {
  font-size: 28px;
  font-weight: 700;
  font-family: "Chakra Petch", sans-serif;
  line-height: normal;
  letter-spacing: normal;
  font-style: normal;
}

.font-h4 {
  font-size: 20px;
  font-weight: 700;
  font-family: "Chakra Petch", sans-serif;
  line-height: normal;
  letter-spacing: normal;
  font-style: normal;
}

.font-h5 {
  font-size: 16px;
  font-weight: 700;
  font-family: "Chakra Petch", sans-serif;
  line-height: normal;
  letter-spacing: normal;
  font-style: normal;
}

.font-h6 {
  font-size: 14px;
  font-weight: 700;
  font-family: "Chakra Petch", sans-serif;
  line-height: normal;
  letter-spacing: normal;
  font-style: normal;
}

.font-p1 {
  font-size: 18px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  line-height: 25px;
  letter-spacing: normal;
  font-style: normal;
}

.font-p2 {
  font-size: 16px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  line-height: 25px;
  letter-spacing: normal;
  font-style: normal;
  color:#fff;
}

.font-p3 {
  font-size: 14px;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  line-height: 25px;
  letter-spacing: normal;
  font-style: normal;
  color:#fff;
}

.font-p4 {
  font-size: 14px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
  line-height: 25px;
  letter-spacing: normal;
  font-style: normal;
  color:#fff;
}

.font-p5 {
  font-size: 12x;
  font-weight: 400;
  font-family: "Inter", sans-serif;
  line-height: 20px;
  letter-spacing: normal;
  font-style: normal;
  color:#fff;
}

.font-btn-1 { font-size: 18px; }

.font-btn-2 { font-size: 16px; }

.font-link-semibold {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 28.8px;
  letter-spacing: normal;
}

.font-link-regular {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 28.8px;
  letter-spacing: normal;
}

.font-disclaimer-text {
  color: #B5BDC2;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: normal;
  letter-spacing: normal;
}

/* utility classes... unchanged */
.m-0 { margin: 0; }
.m-1 { margin: 2.5px; }
.m-2 { margin: 5px; }
.m-3 { margin: 10px; }
.m-4 { margin: 15px; }
.m-5 { margin: 30px; }
.m-6 { margin: 60px; }
.m-7 { margin: 100px; }
.m-8 { margin: 150px; }
.m-auto { margin: auto; }

.mx-0 { margin-right: 0; margin-left: 0; }
.mx-1 { margin-right: 2.5px; margin-left: 2.5px; }
.mx-2 { margin-right: 5px; margin-left: 5px; }
.mx-3 { margin-right: 10px; margin-left: 10px; }
.mx-4 { margin-right: 15px; margin-left: 15px; }
.mx-5 { margin-right: 30px; margin-left: 30px; }
.mx-6 { margin-right: 60px; margin-left: 60px; }
.mx-7 { margin-right: 100px; margin-left: 100px; }
.mx-8 { margin-right: 150px; margin-left: 150px; }
.mx-auto { margin-right: auto; margin-left: auto; }

.my-0 { margin-top: 0; margin-bottom: 0; }
.my-1 { margin-top: 2.5px; margin-bottom: 2.5px; }
.my-2 { margin-top: 5px; margin-bottom: 5px; }
.my-3 { margin-top: 10px; margin-bottom: 10px; }
.my-4 { margin-top: 15px; margin-bottom: 15px; }
.my-5 { margin-top: 30px; margin-bottom: 30px; }
.my-6 { margin-top: 60px; margin-bottom: 60px; }
.my-7 { margin-top: 100px; margin-bottom: 100px; }
.my-8 { margin-top: 150px; margin-bottom: 150px; }
.my-auto { margin-top: auto; margin-bottom: auto; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 2.5px; }
.mt-2 { margin-top: 5px; }
.mt-3 { margin-top: 10px; }
.mt-4 { margin-top: 15px; }
.mt-5 { margin-top: 30px; }
.mt-6 { margin-top: 60px; }
.mt-7 { margin-top: 100px; }
.mt-8 { margin-top: 150px; }
.mt-auto { margin-top: auto; }

.mr-0 { margin-right: 0; }
.mr-1 { margin-right: 2.5px; }
.mr-2 { margin-right: 5px; }
.mr-3 { margin-right: 10px; }
.mr-4 { margin-right: 15px; }
.mr-5 { margin-right: 30px; }
.mr-6 { margin-right: 60px; }
.mr-7 { margin-right: 100px; }
.mr-8 { margin-right: 150px; }
.mr-auto { margin-right: auto; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 2.5px; }
.mb-2 { margin-bottom: 5px; }
.mb-3 { margin-bottom: 10px; }
.mb-4 { margin-bottom: 15px; }
.mb-5 { margin-bottom: 30px; }
.mb-6 { margin-bottom: 60px; }
.mb-7 { margin-bottom: 100px; }
.mb-8 { margin-bottom: 150px; }
.mb-auto { margin-bottom: auto; }

.ml-0 { margin-left: 0; }
.ml-1 { margin-left: 2.5px; }
.ml-2 { margin-left: 5px; }
.ml-3 { margin-left: 10px; }
.ml-4 { margin-left: 15px; }
.ml-5 { margin-left: 30px; }
.ml-6 { margin-left: 60px; }
.ml-7 { margin-left: 100px; }
.ml-8 { margin-left: 150px; }
.ml-auto { margin-left: auto; }

.p-0 { padding: 0; }
.p-1 { padding: 2.5px; }
.p-2 { padding: 5px; }
.p-3 { padding: 10px; }
.p-4 { padding: 15px; }
.p-5 { padding: 30px; }
.p-6 { padding: 60px; }
.p-7 { padding: 100px; }

.px-0 { padding-right: 0; padding-left: 0; }
.px-1 { padding-right: 2.5px; padding-left: 2.5px; }
.px-2 { padding-right: 5px; padding-left: 5px; }
.px-3 { padding-right: 10px; padding-left: 10px; }
.px-4 { padding-right: 15px; padding-left: 15px; }
.px-5 { padding-right: 30px; padding-left: 30px; }
.px-6 { padding-right: 60px; padding-left: 60px; }
.px-7 { padding-right: 100px; padding-left: 100px; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 2.5px; padding-bottom: 2.5px; }
.py-2 { padding-top: 5px; padding-bottom: 5px; }
.py-3 { padding-top: 10px; padding-bottom: 10px; }
.py-4 { padding-top: 15px; padding-bottom: 15px; }
.py-5 { padding-top: 30px; padding-bottom: 30px; }
.py-6 { padding-top: 60px; padding-bottom: 60px; }
.py-7 { padding-top: 100px; padding-bottom: 100px; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 2.5px; }
.pt-2 { padding-top: 5px; }
.pt-3 { padding-top: 10px; }
.pt-4 { padding-top: 15px; }
.pt-5 { padding-top: 30px; }
.pt-6 { padding-top: 60px; }
.pt-7 { padding-top: 100px; }

.pr-0 { padding-right: 0; }
.pr-1 { padding-right: 2.5px; }
.pr-2 { padding-right: 5px; }
.pr-3 { padding-right: 10px; }
.pr-4 { padding-right: 15px; }
.pr-5 { padding-right: 30px; }
.pr-6 { padding-right: 60px; }
.pr-7 { padding-right: 100px; }

.pb-0 { padding-bottom: 0; }
.pb-1 { padding-bottom: 2.5px; }
.pb-2 { padding-bottom: 5px; }
.pb-3 { padding-bottom: 10px; }
.pb-4 { padding-bottom: 15px; }
.pb-5 { padding-bottom: 30px; }
.pb-6 { padding-bottom: 60px; }
.pb-7 { padding-bottom: 100px; }

.pl-0 { padding-left: 0; }
.pl-1 { padding-left: 2.5px; }
.pl-2 { padding-left: 5px; }
.pl-3 { padding-left: 10px; }
.pl-4 { padding-left: 15px; }
.pl-5 { padding-left: 30px; }
.pl-6 { padding-left: 60px; }
.pl-7 { padding-left: 100px; }

.g-btn {
  font-family: "Chakra Petch", sans-serif;
  font-style: normal;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: normal;
  cursor: pointer;
  width: 100%;
  max-width: max-content;
  padding: 10px 30px;
  display: inline-block;
  outline: none;
  transition: 0.3s ease-out;
  text-decoration: none;
  text-align: center;
  border: none;
  background: none;
}

.g-btn:hover, .g-btn:active {
  box-shadow: 149 157 165/20% 0px 8px 24px;
  transition: 0.3s ease-out;
  text-decoration: none;
}

.primary-btn {
  background: #1187c1;
  border: 1px solid #1187c1;
  color: #0C0C0F;
}

.primary-btn:hover, .primary-btn:active {
  transition: 0.2s ease-out;
  background: #00c3ff;
  border: 1px solid #00c3ff;
  color: #fff;
  text-decoration: none;
}

.secondary-btn {
  background-color: transparent;
  border: 1px solid #00c3ff;
  color: #00c3ff;
}

.secondary-btn:hover, .secondary-btn:active {
  color: #0C0C0F;
  border: 1px solid #00c3ff;
  background-color: #00c3ff;
}

.tertiary-btn {
  color: #00c3ff;
  border-bottom: 2px solid #00c3ff;
  width: auto;
  padding: 10px 0 0 0;
  max-width: max-content;
}

.tertiary-btn:hover, .tertiary-btn:active {
  color: #0C0C0F;
  border-color: #0C0C0F;
}

/* Make links bright DGB blue (#00c3ff) so they're visible on dark backgrounds */
a, a:link, a:visited, a:hover, a:focus {
  color: #0066cc;
  text-decoration: none;
}

.content-wrap {
  min-height: calc(100vh - 60px - 24px);
  margin-bottom: 24px;
}

.table { color: inherit }

/*New Design CSS Flexbox */
/* Main Navigation */

.container {
  width: 100%;
  max-width: 1200px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.main-nav-container {
  position: relative;
  display: flex;
  align-items: center;
}

.main-nav {
  margin: 0;
  padding: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.main-nav li {
  text-decoration: none;
  list-style: none;
  margin-right: 30px;
}

.main-nav li a {
  display: flex;
  color: #0066cc;
  align-items: center;
  justify-content: center;
}

.main-nav li.active a {
  border: 1px solid #00c3ff;
}

.main-nav .menu-logo {
  height: 30px;
  margin-right: 8px;
  margin-bottom: 2px;
}

#BitcoinTestnet, #LiquidTestnet {
  display: none;
}


/* Menu Toggle Icon -- Toggle Style and Animation*/

.toggle-container {
  position: relative;
  display: flex;
  padding: 30px 0 30px 30px;
}

.toggle-container .burger-icon {
  position: relative;
  height: 20px;
  width: 30px;
  margin: 0;
  z-index: 5;
}

.toggle-container .burger-icon span {
  position: absolute;
  width: 100%;
  height: 2px;
  top: 50%;
  left: 0;
  display: block;
  background: #78838e;
  transition: .5s;
}

.toggle-container .burger-icon span:first-child {
  top: 3px;
}

.toggle-container .burger-icon span:last-child {
  top: 17px;
}

.toggle-container .burger-icon:hover {
  cursor: pointer;
}

.toggle-container .toggle-menu {
  font-size: 14px;
  width: 700px;
  height: 0;
  visibility: hidden;
  position: absolute;
  top: 70px;
  right: 0;
  z-index: 10;
  transition: .1s;
  border-radius: 8px;
  box-shadow: 0 20px 40px black;
  background-color: #002352;
}

/** Loading **/
.spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  visibility: hidden;
  animation: 0.3s showDelayed;
  animation-fill-mode: forwards;
}

.spinner .ring {
  border: 4px solid #f3f3f3;
  border-radius: 50%;
  border-top: 4px solid #0066cc;
  width: 50px;
  height: 50px;
  animation: spin .5s linear infinite;
}

.spinner .small {
  width: 25px;
  height: 25px;
}

.spinner .loading {
  font-size: 16px;
  color: white;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/** New Design Ends **/

.navbar-brand {
  font-size: 0px;
  margin-right: 0;
}
.navbar-brand::before {
  width: 54px;
  height: 54px;
  background: url(img/icons/menu-logo.svg);
  background-size: 54px 54px;
  display: inline-block;
  vertical-align: top;
  content: ' ';
}

/* buttons */
.btn-primary {
  background: #21272d;
  color: #fff;
  border-radius: 5px;
  border: 0;
}
.btn-primary:hover {
  background: #292e35;
}
.btn-xl {
  padding: 1rem 2rem;
  font-size: 1.5rem;
}

/* tables */
table th, table td {
  border-color: #22242c !important;
}

table th {
  border-top: none !important;
  color: #78838e;
  text-transform: uppercase;
}

.block-header-title::before {
  content: "";
  background-image: url("img/block.png");
  background-size: 48px 48px;
  width: 48px;
  height: 48px;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: -8px;
}

.transaction-header-title::before {
  content: "";
  background-image: url("img/transaction.png");
  background-size: 41px 48px;
  width: 41px;
  height: 48px;
  display: inline-block;
  margin-right: 5px;
  margin-bottom: -8px;
}

.search-bar .search-bar-submit {
  cursor: pointer !important;
  background-color: transparent;
  width: 50px;
  height: 50px;
  outline: none;
  border: none;
  float: right;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: #002352;
  background-image: url(img/icons/search.png);
  background-repeat: no-repeat;
  background-position: center;
}

.search-bar input.search-bar-submit:hover {
  cursor: pointer;
}

.search-bar .qrcode-link {
  margin-right: 20px;
}

.page-search-bar {
  margin: 5px auto 30px auto;
}

/* HEADER START */

.block-page .block-hash, .transaction-page .block-hash {
  margin: 0px 0px 50px 0;
}

.code-button {
  display: inline-block;
  margin-left: 12px;
  cursor: pointer;
  position: relative;
  vertical-align: text-bottom;
}

.code-button .code-button-btn {
  height: 23px;
  width: 30px;
  background: url(img/icons/copy.png) no-repeat;
}

.code-button .code-button-btn img {
  width: 30px;
  vertical-align: top;
}

.code-button .overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2;
}

.code-button .code-button-text {
  position: absolute;
  left: -435px;
  top: 44px;
  background-color: #107070;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  width: 870px;
  padding: 40px 60px;
  cursor: default;
  border-radius: 10px;
  z-index: 3 !important;
}

.code-button .code-button-text:before {
  content: '';
  position: absolute;
  display: block;
  top: -5px;
  right: 418px;
  transform: rotate(45deg);
  width: 9px;
  height: 9px;
  background-color: #107070;
}

.code-button .code-button-text:after {
  content: '';
  position: absolute;
  display: block;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
  background: transparent;
}

.code-button .code-button-text:not(.active) {
  display: none;
  z-index: -1;
  opacity: 0;
}

.code-button .code-button-text.active {
  z-index: 1;
  opacity: 1;
}

.code-button .code-button-text h4 {
  margin-bottom: 40px;
  font-size: 20px;
}

.code-button .code-button-text > pre {
  color: #fff;
  margin-bottom: 40px;
  font-size: 16px;
  font-family: Inconsolata;
  white-space: pre-wrap;
  overflow-wrap: break-word;
}

.code-button .code-button-text .close-button-top {
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  user-select: none;
  cursor: pointer;
  position: absolute;
  right: 60px;
  height: 45px;
  width: 45px;
}

.code-button .code-button-text .close-button {
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  user-select: none;
  cursor: pointer;
  float: right;
  width: 140px !important;
  height: 40px;
  border: 1px solid #fff;
  border-radius: 5px;
}

.code-button .code-button-text .close-button {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.code-button .code-button-text .close-button > * {
  display: table-cell;
  vertical-align: middle;
}

.code-button .code-button-text .close-button > div:nth-child(1) {
  text-transform: uppercase;
  text-align: center;
}

.code-button .code-button-text .close-button > div:nth-child(2) {
  width: 30px;
}

.code-button .code-button-text .close-button > div:nth-child(2) img {
  width: 30px;
}

.code-button .code-button-text a,
.code-button .code-button-text a:link,
.code-button .code-button-text a:visited,
.code-button .code-button-text a:hover,
.code-button .code-button-text a:focus {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.block-dropdowns {
  display: flex;
  flex-direction: row;
}

.block-dropdowns > div {
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  user-select: none;
  cursor: pointer;
  height: 40px;
  background-color: #22242c;
  border-radius: 2px;
  border: 1px solid #28948f;
}

.block-dropdowns > div {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.block-dropdowns > div > * {
  display: table-cell;
  vertical-align: middle;
}

.block-dropdowns > div.date-dropdown {
  width: 220px;
}

.block-dropdowns > div.time-dropdown {
  width: 184px;
  margin-left: 12px;
}

.block-dropdowns > div > div:nth-child(1) {
  width: 42px;
  padding-right: 12px;
}

.block-dropdowns > div > div:nth-child(1) > img {
  width: 30px;
}

.block-dropdowns > div > div:nth-child(2) {
  font-size: 14px;
  font-weight: 600;
}

.block-dropdowns > div > div:nth-child(3) {
  width: 42px;
  padding-left: 12px;
}

.block-dropdowns > div > div:nth-child(3) > img {
  width: 30px;
}

.block-page, .transaction-page, .asset-page, .addr-page, .mempool-page {
  margin: 50px 0;
}

/* Make text in the dark block/transaction sections white by default: */
.block-page, .block-page * {
  color: #002352 !important;
}
.block-page, .block-page .font-h5  {
  color: #fff !important;
}
.transaction-page, .transaction-page * {
  color: #002352 !important;
}
/* If you do not want absolutely everything forced white, remove “*”
   and selectively style. But user specifically wants all block/tx details visible.*/

.prev-next-blocks-btns {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.prev-next-blocks-btns > * {
  display: table-cell;
  vertical-align: middle;
}

.prev-next-blocks-btns > div > div:nth-child(1) {
  width: 142px;
}

.block-page .prev-next-blocks-btns > div a,
.block-page .prev-next-blocks-btns > div a:link,
.block-page .prev-next-blocks-btns > div a:visited,
.block-page .prev-next-blocks-btns > div a:hover,
.block-page .prev-next-blocks-btns > div a:focus {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  width: 140px;
}

.prev-next-blocks-btns > div a > div:hover {
  background-color: #39434e;
}

.prev-next-blocks-btns > div a > div {
  width: 140px !important;
  height: 40px;
  border-radius: 5px;
  background-color: rgba(33, 39, 45, 1);
}

.prev-next-blocks-btns > div a > div {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.prev-next-blocks-btns > div a > div > * {
  display: table-cell;
  vertical-align: middle;
}

.prev-next-blocks-btns > div:nth-child(1) a > div > div:nth-child(1) {
  width: 30px;
}

.prev-next-blocks-btns > div:nth-child(1) a > div > div:nth-child(1) div {
  width: 30px;
  height: 31px;
}

.prev-next-blocks-btns > div:nth-child(1) a > div > div:nth-child(2) {
  text-align: center;
}

.prev-next-blocks-btns > div:nth-child(2) a > div {
  float: right;
}

.prev-next-blocks-btns > div:nth-child(2) a > div > div:nth-child(1) {
  text-align: center;
}

.prev-next-blocks-btns > div:nth-child(2) a > div > div:nth-child(2) {
  width: 30px;
}

.prev-next-blocks-btns > div:nth-child(2) a > div > div:nth-child(2) div {
  width: 30px;
  height: 31px;
}

/* HEADER END */

body > .container, .navbar > .container, > .container, .content-wrap > div > .container, footer > .container {
  max-width: 1000px;
}

.loading-page, .not-found-page {
  margin-top: 100px;
}

.loading-page {
  text-align: center;
}

/* recent table */
.blocks-table .blocks-table-row {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.blocks-table .blocks-table-row > * {
  display: table-cell;
  vertical-align: middle;
  color: #fff;
}

.blocks-table .blocks-table-row.header,
.blocks-table .blocks-table-row.block-data {
  height: 52px;
}

.blocks-table .blocks-table-row.header > * {
  color: #fff;
}

.blocks-table .blocks-table-row.block-data {
  border-top: 1px #2d2f39 solid;
}

.blocks-table .blocks-table-row.block-data:not(.loading):hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.blocks-table .blocks-table-row.loading img {
  display: block;
  margin: auto;
  height: 45px;
  width: 45px;
  padding: 3px 0;
}

.blocks-table .blocks-table-row > div:nth-child(1) {
  width: 150px;
  padding-left: 12px;
}

.blocks-table .blocks-table-row > div:nth-child(2) {
  width: 350px;
}

.blocks-table-row {
  color: #FFF !important;
}

/* transactions table */
.transactions-table .transactions-table-row {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.transactions-table .transactions-table-row > * {
  display: table-cell;
  vertical-align: middle;
}

.transactions-table .transactions-table-row.header,
.transactions-table .transactions-table-row.transaction-data {
  height: 52px;
}

.transactions-table .transactions-table-row.transaction-data > * {
  font-size: 16px;
  color: #fff;
}

.transactions-table .transactions-table-row.header > * {
  color: #fff;
}

.transactions-table .transactions-table-row.header > .font-h4 {
  font-size: 20px;
}

.transactions-table .transactions-table-row.transaction-data {
  border-top: 1px #2d2f39 solid;
}

.transactions-table .transactions-table-row.transaction-data:not(.loading):hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.transactions-table .transactions-table-row.transaction-data > * {
  font-size: 16px;
}

.transactions-table .transactions-table-row.loading img {
  display: block;
  margin: auto;
  height: 45px;
  width: 45px;
  padding: 3px 0;
}

.transactions-table .transactions-table-row > div:nth-child(1) {
  width: 590px;
  padding-left: 12px;
  font-size: 15px;
}

.transactions-table .transactions-table-row > div:nth-child(2) {
  width: 170px;
}

.transactions-table .transactions-table-row > div:nth-child(3) {
  width: 100px;
}

.transactions-table-row {
  color: #FFF !important;
}

.highlighted-text {
  color: #0066cc !important;
}

.newer-older-blocks-btns {
  margin-top: 24px;
}

.newer-older-blocks-btns {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.newer-older-blocks-btns > * {
  display: table-cell;
  vertical-align: middle;
}

.newer-older-blocks-btns div > .blocks-btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  user-select: none;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
  width: 140px !important;
  height: 40px;
  border: 1px solid #0066cc;
  border-radius: 5px;
  background-color: #22242c;
}

.newer-older-blocks-btns div > .blocks-btn {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.newer-older-blocks-btns div > .blocks-btn > * {
  display: table-cell;
  vertical-align: middle;
}

.newer-older-blocks-btns div > .blocks-btn.newer-btn > div:nth-child(1) {
  width: 30px;
}

.newer-older-blocks-btns div > .blocks-btn.newer-btn > div:nth-child(1) img {
  width: 30px;
}

.newer-older-blocks-btns div > .blocks-btn.newer-btn > *:nth-child(2) {
  text-align: center;
}

.newer-older-blocks-btns div > .blocks-btn.older-btn {
  float: right;
}

.newer-older-blocks-btns div > .blocks-btn.older-btn > *:nth-child(1) {
  text-align: center;
}

.newer-older-blocks-btns div > .blocks-btn.older-btn > div:nth-child(2) {
  width: 30px;
}

.newer-older-blocks-btns div > .blocks-btn.older-btn > div:nth-child(2) img {
  width: 30px;
}

.stats-table > div {
  height: 52px;
  border-top: 1px solid #2d2f39;
  fo
  /* font-size: 16px; */
}

.stats-table > div {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.stats-table > div > * {
  display: table-cell;
  vertical-align: middle;
}

.stats-table > div:last-child {
  border-bottom: 1px solid #2d2f39;
}

.stats-table > div > div:nth-child(1) {
  text-transform: uppercase;
  color: #fff;
  width: auto;
}

.stats-table > div > div:nth-child(2) {
  text-align: right;
  word-break: break-word;
}

.stats-table ul, .stats-table ul > li:last-child {
  margin-bottom: 0;
}

.jumbotron .stats-table > div:first-child {
  border-top: 0;
}
.jumbotron .stats-table > div:last-child {
  border-bottom: 0;
}

.transactions {
  margin-top: 84px;
}

.transactions > h3, .transactions > img {
  display: inline-block;
}

.transactions > img {
  width: 33px;
  height: 33px;
  margin-left: 12px;
  vertical-align: top;
}

.transaction-box:not(:first-of-type) {
  margin-top: 24px;
}

/* Force transaction boxes on dark background to have white text: */
.transaction-box,
.transaction-box * {
  color: #ffffff !important;
}

.transaction-box {
  background-color: #15181C;
  padding: 0 24px;
  border-radius: 5px;
}

.transaction-box.loading-transaction {
  padding: 12px;
}

.transaction-box.loading-transaction img {
  display: block;
  margin: auto;
  height: 75px;
  width: 75px;
}

.transaction-box > .header {
  height: 88px;
}

.transaction-box > .header {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.transaction-box > .header > * {
  display: table-cell;
  vertical-align: middle;
}

.transaction-box > .header a {
  font-size: 16px;
  font-weight: 600;
}

.details-btn {
  width: 200px;
  margin: 20px 30px;
}

/* remove old "yellow" highlight; use #00c3ff with white text */
.details-btn > div {
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  user-select: none;
  cursor: pointer;
  max-width: 140px;
  width: 100%;
  height: 50px;
  background-color: #00c3ff;
  color: #002352;
}

.details-btn > div {
  display: table;
  table-layout: fixed;
  width: 80%;
  float: right;
}

.details-btn > div > * {
  display: table-cell;
  vertical-align: middle;
}

.details-btn > div:focus {
  outline: none;
}

.details-btn > div > div:nth-child(1) {
  text-align: center;
}

.details-btn > div > div:nth-child(2) {
  width: 30px;
}

.details-btn .plus:before, .details-btn .minus:before {
  content: '';
  width: 11px;
  height: 11px;
  display: block;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.details-btn .plus:before {
  background-image: url(img/icons/plus.png);
}
.details-btn .minus:before {
  background-image: url(img/icons/minus.png);
}

/* Make the "Details" button text #002352 */
.details-btn > div > div:nth-child(1) {
  color: #002352 !important;
}

/* Make the "Previous"/"Next" button text white */
.prev-next-blocks-btns a div span {
  color: #fff !important;
}


.transaction-box > .ins-and-outs {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.transaction-box > .ins-and-outs > * {
  display: table-cell;
  vertical-align: middle;
}

.transaction-box > .ins-and-outs > div {
  vertical-align: top;
}

.transaction-box > .ins-and-outs > .vins > .vin-loading img,
.transaction-box > .ins-and-outs .vouts > .vin-loading img {
  display: block;
  margin: auto;
  height: 46px;
  width: 46px;
}

.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading),
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) {
  background-color: #21272D;
  border-radius: 5px;
  border: 1px solid #21272D;
  min-height: 46px;
  line-height: 20px;
  font-size: 14px;
  word-break: break-all;
}

.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading):not(:first-child),
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading):not(:first-child) {
  margin-top: 12px;
}

.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading).active,
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading).active {
  height: auto;
}

.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading).peg-out,
.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading).peg-in,
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading).peg-out,
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading).peg-in {
  border-color: #0066cc;
}

.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) > .vin-header,
.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) .vout-header,
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) > .vin-header,
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) .vout-header {
  padding: 12px 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 46px;
}

.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) > .vin-header > div,
.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) .vout-header > div,
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) > .vin-header > div,
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) .vout-header > div {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-end;
}

.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) > .vin-header > div > *:nth-child(1),
.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) .vout-header > div > *:nth-child(1),
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) > .vin-header > div > *:nth-child(1),
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) .vout-header > div > *:nth-child(1) {
  flex: 1;
}

.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) > .vin-header > div > *:nth-child(2),
.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) .vout-header > div > *:nth-child(2),
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) > .vin-header > div > *:nth-child(2),
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) .vout-header > div > *:nth-child(2) {
  text-align: right;
  min-width: 100px;
  margin-left: 3px;
  word-break: break-all;
  font-weight: 600;
}

.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) > .vin-body,
.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) .vout-body,
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) > .vin-body,
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) .vout-body {
  word-wrap: break-word;
  background-color: #15191e;
  padding: 30px 24px;
  border-radius: 0 0 5px 5px;
}

.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) > .vin-body > div,
.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) .vout-body > div,
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) > .vin-body > div,
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) .vout-body > div {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) > .vin-body > div > *,
.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) .vout-body > div > *,
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) > .vin-body > div > *,
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) .vout-body > div > * {
  display: table-cell;
  vertical-align: middle;
}

.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) > .vin-body > div:not(:last-child),
.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) .vout-body > div:not(:last-child),
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) > .vin-body > div:not(:last-child),
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) .vout-body > div:not(:last-child) {
  margin-bottom: 12px;
}

.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) > .vin-body > div > div,
.transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) .vout-body > div > div,
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) > .vin-body > div > div,
.transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) .vout-body > div > div {
  vertical-align: text-top;
}

.transaction-box > .ins-and-outs > div:nth-child(2) {
  padding: 0 12px;
}

.transaction-box > .ins-and-outs > div:nth-child(2) > div {
  height: 46px;
}

.transaction-box > .ins-and-outs > div:nth-child(2) > div > .helper {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.transaction-box > .ins-and-outs > div:nth-child(2) > div img {
  vertical-align: middle;
  width: auto;
}

.vin.active, .vout.active {
  background: #3B4147 !important;
}
.theme-light .vin.active, .theme-light .vout.active {
  background: #FFFDD4 !important;
}

.transaction-box > .footer {
  height: 64px;
}

.transaction-box > .footer {
  display: table;
  table-layout: fixed;
  width: 100%;
}

.transaction-box > .footer > * {
  display: table-cell;
  vertical-align: middle;
}

.transaction-box > .footer > div:nth-child(1) > span:nth-child(1) {
  color: #fff;
  text-transform: uppercase;
  margin-right: 36px;
}

.transaction-box > .footer > div:nth-child(2) {
  width: 74px;
}

/* remove old highlight: use #00c3ff: */
.transaction-box > .footer > div:nth-child(3) {
  text-align: right;
  text-transform: uppercase;
  color: #00c3ff;
}
.transaction-box > .footer > div:nth-child(3) > span:nth-child(2) {
  margin-left: 24px;
  text-transform: none;
}

.address-qr-code {
  width: 182px;
}

/* START FOOTER */
/* entire footer #0066cc: */
.explorer-container > .footer {
  width: 100%;
  height: 216px;
  line-height: 1.5;
  margin-top: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0066cc;
  /* remove dark border line */
  border-top: none;
}

.explorer-container > .footer > .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer-logo {
  min-width: 215px;
  margin-right: 15px;
}

.footer-links {
  text-align: center;
  margin-top: -29px;
}

.language-selector, .language-submit {
  color: #FFF;
  background-color: #111316;
  border: 1px solid #22242c;
  border-radius: 4px;
}
.language-selector {
  padding: 3px 0 3px 5px;
}
.language-submit {
  padding: 4px 10px 3px;
  line-height: normal;
}

.footer_container_content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  background-color: #0066cc;
}

.footer_container_content .language {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-bottom: 30px;
}

.footer_container_content .language form {
  width: auto;
}

.footer_container_content_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.footer_container_content_row_social-media_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.footer_container_content_row_social-media_item {
  display: block;
  width: 20px;
}

.footer_container_content_row_social-media_link {
  cursor: pointer;
  width: 30px;
  height: 30px;
  border: 1px solid #4e4e4e;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.footer_container_content_row_onion_container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.footer_container_content_row_onion_icon {
  background-image: url("img/onion.png");
  background-repeat: no-repeat;
  height: 32px;
  width: 26px;
}

.footer_container_content_row_onion_link {
  display: block;
  font-size: 12px;
  padding: 3px 3px 3px 10px;
  color: #fff !important;
  cursor: pointer;
}

.footer_container_content_onion-links {
  border: 1px solid rgba(169, 177, 182, 1);
  border-radius: 4px;
  padding: 2px 20px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

img.footer_container_content_onion-links_icon {
  width: auto !important;
  height: 40px !important;
}

.footer_container_content_onion-links_row {
  padding: 5px;
  line-height: 1.5;
  width: 100px;
}

.footer_container_content_onion-links_link {
  color: rgba(0, 195, 255, 1) !important;
}

.footer_container_content_copyright {
  color: rgba(169, 177, 182, 1);
  font-size: 14px;
  width: 100%;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}

/* END FOOTER */

.load-more-container {
  margin-top: 24px;
  text-align: center;
  display: flex;
  justify-content: center;
}

.load-more {
  display: flex;
  gap: 10px;
}

.load-more > * {
  display: table-cell;
  vertical-align: middle;
}

.block-hash span, .stats-table a, .transaction-box .header a {
  word-wrap: break-word;
}

.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.mono {
  font-family: Inconsolata;
  line-height: 1.4 !important;
}

/* preload images. */
body::after {
  position: absolute; width: 0; height: 0; overflow: hidden; z-index: -1;
  content: url(img/icons/plus.png) url(img/icons/arrow_right_blu.png) url(img/icons/arrow_left_blu.png) url(img/icons/copy.png)
           url(img/icons/menu-logo.svg) url(img/Loading.gif) url(img/icons/search.png);
}

/* only show loading animation after 0.5s to avoid flicker */
.loading-delay {
  animation: 0.3s showDelayed;
  animation-fill-mode: forwards;
  visibility: hidden;
  display: block;
  margin: 0 auto;
}

.loading-delay img {
  width: 60px;
}
@keyframes showDelayed {
  99% {
    visibility: hidden;
  }
  100% {
    visibility: visible;
  }
}

/* these remain left-to-right, even in rtl languages */
.mono, .amount, .footer_container_content_copyright {
  direction: ltr
}

/* title bar for recent blocks */

.title-bar-container {
  width: 100%;
  max-width: 1000px;
  height: 70px;
  margin: 0 auto;
  padding-left: 27px;
}

.title-bar-recent {
  display: inline-block;
  height: 50px;
  width: auto;
  margin: 0 auto;
  height: 42px;
}

.title-bar-recent h1 {
  font-size: 24px;
  font-weight: bold;
}

.title-bar-recent h1 a {
  color: #a9b1b6;
  margin-right: 25px;
  cursor: pointer;
}

.title-bar-recent h1 .active {
  border-bottom: solid 2px #00c3ff;
  color: #ffffff;
}

/* arrows */
.arrow-prev {
  background: url(img/icons/arrow_left_blu.png);
}

.arrow-next {
  background: url(img/icons/arrow_right_blu.png);
}

.direction-arrow {
  background: url(img/icons/arrow.png);
  background-position: center;
  background-repeat: no-repeat;
}

/* flip arrow on RTL */
[dir=rtl] .direction-arrow { transform: rotate(180deg) }

.transaction-box .ins-and-outs .direction-arrow {
  display: block;
  justify-self: center;
  width: 32px;
  height: 33px;
}

.ins-and-outs {
  position: relative !important;
}

.ins-and-outs_spacer {
  width: 55px;
}

.direction-arrow-container {
  display: flex;
  width: auto;
  position: absolute;
  height: 100% !important;
  flex-direction: column ;
  justify-content: center ;
  align-items: center ;
  margin: 0;
  padding: 0;
}

/* navbar changes */
#navbar-menu {
  position: relative;
}
.navbar-nav {
  margin-left: 32px;
  width: 330px;
  display: flex;
  justify-content: space-between;
  margin-right: auto;
}

.nav-link {
  color: #fff;
}

.nav-link:hover {
  color: #00c3ff !important;
}

.navbar-dark .navbar-nav .active>.nav-link,
.navbar-dark .navbar-nav .nav-link.active,
.navbar-dark .navbar-nav .nav-link.show,
.navbar-dark .navbar-nav .show>.nav-link {
  color: #00c3ff !important;
}

.nav-toggler {
  position: absolute; 
  right: 0;
  top: 4px;
}

.nav-bar_moon_icon {
  background-image: url("img/icons/moon_dark.png");
  background-repeat: no-repeat;
  width: 25px;
  height: 27px;
  cursor: pointer;
  display: block;
}

.navbar-dark .navbar-nav .nav-link {
  color: #fff;
}

.vout-body-row > div:first-child,
.vin-body-row > div:first-child {
  word-break: break-word !important;
}

/* input/output counter */
.vouts, .vins {
  counter-reset: txcnt -1;
}
.vout-header-container > span:first-child:before, .vin-header-container > span:first-child:before {
  counter-increment: txcnt;
  content: "#" counter(txcnt);
  padding-right: 5px;
  font-size: 0.9em;
  color: #475562;
  margin-left: -19px;
}
.theme-light .vout-header-container > span:first-child:before, .theme-light .vin-header-container > span:first-child:before {
  color: #c3cbd3;
}

.unblinded .vout-header, .unblinded .vin-header {
  background: #04240d;
}
.theme-light .unblinded .vout-header, .theme-light .unblinded .vin-header {
  background: #e0ffe9;
}

.contract-json {
  text-align: left !important;
  word-break: break-all !important;
  white-space: pre-wrap;
}

@media (max-width: 767.98px) {
  .small-sm {
    font-size: 80%;
    font-weight: 400;
  }
}

@media only screen and (max-width: 1000px) {
  .blocks-table .blocks-table-row > div:nth-child(2) {
    width: 250px;
  }
}

@media only screen and (max-width: 995px) {
  /* transactions table: responsive */
  div.transactions-table-row.header {
    display:none !important;
  }
  .transactions-table-row {
    margin: 0 0 1rem 0;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    padding: 20px;
  }
  .transactions-table-link-row {
    margin-bottom: 20px;
  }
  .transactions-table-link-row:nth-child(odd) {
    background: #22242c;
  }
  .transactions-table .transactions-table-row.block-data > * {
    border: none;
    position: relative;
    padding-left: 0 !important;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100% !important;
    text-align: right;
  }
  .transactions-table-row {
    display: block;
  }
  div.transactions-table-cell {
    display: flex !important;
    justify-content: space-between;
    width: 100% !important;
    padding: 10px 0;
    word-break: break-all;
    text-align: right;
  }
  .transactions-table .transactions-table-row > div:nth-child(1) {
    padding-left: 0px;
  }
  div.transactions-table-cell:before {
    width: 45%;
    padding-right: 10px;
    font-weight: 600;
    color: #78838e;
    margin-right: 50px;
    word-break: keep-all;
  }
  div.transactions-table-cell:before {
    content: attr(data-label);
    text-align: left;
    width: auto;
  }
}

@media only screen and (max-width: 990px) {
  .page-search-bar {
    margin: 5px auto 30px auto;
  }
  .nav-toggler {
    position: initial;
  }
  .nav-bar_moon_icon {
    margin-top: 5px;
  }
}

@media only screen and (max-width: 850px) {
  /* blocks table */
  div.blocks-table-row.header {
    display:none;
  }
  .blocks-table-row {
    margin: 0 0 1rem 0;
    display: flex;
    flex-direction: column;
    height: auto !important;
    padding: 20px;
  }
  .blocks-table-link-row {
    margin-bottom: 20px;
  }
  .blocks-table-link-row:nth-child(odd) {
    background: #22242c;
  }
  .blocks-table .blocks-table-row.block-data > * {
    border: none;
    position: relative;
    padding-left: 0 !important;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100% !important;
    text-align: right;
  }
  .blocks-table-row {
    display: block;
  }
  div.blocks-table-cell:before {
    width: 45%;
    padding-right: 10px;
    font-weight: 600;
    color: #78838e;
  }
  div.blocks-table-cell:before {
    content: attr(data-label);
    text-align: left;
    width: auto;
  }
}

/* TRANSACTION*/
@media only screen and (max-width: 850px) {
  .transaction-box .header {
    display: flex;
    flex-direction: column-reverse;
    height: 150px;
    justify-content: space-evenly;
  }
  .transaction-box .ins-and-outs {
    display: flex;
    flex-direction: column;
  }
  .transaction-box .ins-and-outs .direction-arrow-container {
    width: 100% !important;
  }
  .transaction-box .ins-and-outs .direction-arrow {
    transform: rotate(90deg);
  }
  .transaction-box .ins-and-outs > *  {
    padding:  20px 0;
  }
  .transaction-box > .footer > * {
    display: block;
    width: 100%;
  }
  .transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) > .vin-body > div > div:nth-child(1),
  .transaction-box > .ins-and-outs > .vins > div:not(.vin-loading) .vout-body > div > div:nth-child(1),
  .transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) > .vin-body > div > div:nth-child(1),
  .transaction-box > .ins-and-outs .vouts > div:not(.vin-loading) .vout-body > div > div:nth-child(1) {
    text-transform: lowercase;
  }
  .footer_container_content_copyright {
    font-size: 14px;
  }
  .transaction-box > .ins-and-outs > div:nth-child(2) {
    padding: 0 !important;
  }
  .transaction-box .ins-and-outs .direction-arrow {
    display: flex;
    justify-self: center;
  }
  .ins-and-outs {
    position: relative !important;
  }
  .ins-and-outs_spacer {
    height: 20px;
    width: 10px;
  }
  .direction-arrow-container {
    width: 100%;
    height: auto !important;
    margin: 0;
    padding: 0;
  }
}

@media only screen and (max-width: 825px) {
  .explorer-container > .footer {
    height: 330px;
  }
  .explorer-container > .footer > .container {
    flex-direction: column;
  }
  .footer_container_content {
    margin-top: 35px;
    padding-bottom: 50px;
  }
  .footer_container_content_onion-links {
    margin: 15px auto 0 auto;
  }
}

@media only screen and (max-width: 575.98px) {
  .jumbotron-fluid {
    height: auto;
  }
  .address-qr-code {
    display: block;
    margin: 0 auto;
  }
}

@media only screen and (max-width: 550px) {
  .page-search-bar {
    margin: 5px auto 30px auto;
  }
  .explorer-title-container h1 {
    font-size: 30px;
  }
  .vin-body-row {
    display: flex !important;
    flex-direction: column !important;
    margin: 5px 0;
  }
  .vin-body-row > .mono {
    margin-top: 5px;
  }
  .vout-body-row {
    display: flex !important;
    flex-direction: column !important;
    margin: 5px 0;
  }
  .vout-body-row > .mono {
    margin-top: 5px;
  }
  .vout-header-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    align-items: flex-start;
  }
  .vout-header-container > * {
    text-align: left !important;
    margin: 0 !important;
    padding: 3px 0;
  }
  .vin-header-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    align-items: flex-start;
  }
  .vin-header-container > * {
    text-align: left !important;
    margin: 0 !important;
    padding: 3px 0;
  }
  .title-bar-recent h1 {
    font-size: 18px;
  }
  .title-bar-recent h1 a {
    margin-right: 20px;
  }
}

@media only screen and (max-width: 450px) {
  .explorer-title-container h1 {
    font-size: 25px;
  }
  .explorer-title-container_logo {
    height: 35px;
    width: auto;
    margin-right: 15px;
  }
}

@media only screen and (max-width: 500px) {
  .footer {
    height: auto !important;
  }
  .footer_container_content_row_onion_container {
    margin-top: 10px;
  }
  .footer_container_content_onion-links {
    flex-direction: column;
    margin-top: 25px;
  }
  .footer_container_content_onion-links_row {
    text-align: center;
  }
}

/* Copied! tooltip for click-to-copy buttons */
.code-button-btn {
  position: relative;
}
.code-button-btn:before,
.code-button-btn:after {
  display: block;
  opacity: 0;
  pointer-events: none;
  position: absolute;
}
.code-button-btn:after {
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(0,0,0,.75);
  border-left: 6px solid transparent;
  content: '';
  height: 0;
  top: 20px;
  left: 20px;
  width: 0;
}
.code-button-btn:before {
  background: rgba(0,0,0,.75);
  border-radius: 2px;
  color: #fff;
  content: 'Copied!';
  font-size: 14px;
  padding: 6px 10px;
  top: 26px;
  white-space: nowrap;
}
.code-button-btn:before {
  transform: scale3d(.2,.2,1);
  transition: all .2s ease-in-out;
}
.code-button-btn:after {
  transform: translate3d(0,6px,0);
  transition: all .1s ease-in-out;
}
.code-button-btn.show-tooltip:before,
.code-button-btn.show-tooltip:after {
  opacity: 1;
  transform: scale3d(1,1,1);
}
.code-button-btn.tooltip:after {
  transition: all .2s .1s ease-in-out;
}

/* QR scanner */
video.qr-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: none;
}
body.qr-scanning {
  overflow: hidden;
}
body.qr-scanning .footer {
  display: none;
}
body.qr-scanning video.qr-video {
  display: block;
}
.qr-scanner {
  display: none;
}
.qr-scanner .btns {
  position: absolute;
  width: 100%;
  text-align: center;
  bottom: 20px;
  color: #fff;
}
.qr-scanner .indicator {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  margin-left: -100px;
  margin-top: -100px;
}
body.qr-scanning .qr-scanner {
  display: block;
}
@media screen and (max-height: 540px) {
  body.qr-scanning .qr-scanner .indicator {
    display: none;
  }
}
.qr-scanner .indicator:before {
  content: "";
  width: 100%;
  background-color: #ff6347;
  height: 1px;
  position: absolute;
  top: 50%;
  margin-top: -100px;
  box-shadow: 0 0 4px #f00;
  animation: scanning 2s infinite, beam 0.01s infinite;
}
.qr-scanner .indicator .bordertop:before,
.qr-scanner .indicator .bordertop:after,
.qr-scanner .indicator .borderbottom:before,
.qr-scanner .indicator .borderbottom:after {
  content: '';
  position: absolute;
  width: 25%;
  height: 25%;
  border-color: #fff;
  border-width: 2px;
}
.qr-scanner .indicator .bordertop:before {
  border-style: solid none none solid;
  top: 0;
  left: 0;
}
.qr-scanner .indicator .bordertop:after {
  border-style: solid solid none none;
  top: 0;
  right: 0;
}
.qr-scanner .indicator .borderbottom:before {
  border-style: none none solid solid;
  bottom: 0;
  left: 0;
}
.qr-scanner .indicator .borderbottom:after {
  border-style: none solid solid none;
  bottom: 0;
  right: 0;
}
.qr-scanner .buttons-wrap {
  position: absolute;
  width: 100vw;
  left: calc(-1 * (100vw - 100%) / 2);
  bottom: 0;
  text-align: center;
}
@media screen and (max-height: 510px) {
  .qr-scanner .buttons-wrap {
    background: transparent !important;
  }
}
@-moz-keyframes beam {
  50% {
    opacity: 0;
  }
}
@-webkit-keyframes beam {
  50% {
    opacity: 0;
  }
}
@-o-keyframes beam {
  50% {
    opacity: 0;
  }
}
@keyframes beam {
  50% {
    opacity: 0;
  }
}
@-moz-keyframes scanning {
  50% {
    transform: translateY(200px);
  }
}
@-webkit-keyframes scanning {
  50% {
    transform: translateY(200px);
  }
}
@-o-keyframes scanning {
  50% {
    transform: translateY(200px);
  }
}
@keyframes scanning {
  50% {
    transform: translateY(200px);
  }
}

/* Mempool histogram */
dl.mempool-histogram {
  display: flex;
  flex-direction: column;
  position: relative;
}
dl.mempool-histogram .text {
  font-weight: 600;
  display: flex;
  align-items: center;
  height: 40px;
  width: 65px;
  position: absolute;
  left: 0;
  justify-content: flex-end;
  text-align: right;
}
dl.mempool-histogram dd {
  font-size: .8em;
  line-height: 1;
  width: 100%;
  height: 40px;
  padding-left: 65px;
  margin-bottom: 0.25rem;
}
dl.mempool-histogram .label {
  margin-left: 3px;
  font-size: .8em;
  font-weight: normal;
}
dl.mempool-histogram .bar {
  display: block;
  background-color: #3d9970;
  width: 50px;
  margin-bottom: 10px;
  height: 90%;
  position: relative;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  transition: background-color .3s ease;
  cursor: pointer;
  white-space: nowrap;
  line-height: 36px;
  transition: width 0.5s;
}
dl.mempool-histogram dd:hover .bar, dl.mempool-histogram dd:focus .bar {
  background-color: #aaa;
}
dl.mempool-histogram .bar:before {
  content: '';
  width: 7px;
  display: inline-block;
}
/* Fee estimates */
.fee-estimates {
  font-size: 0.9em;
}
.fee-estimates th, .fee-estimates td {
  padding: 0.6rem 0.2rem;
}

/**** 
  * Burger Menu Hover on big screens 
*****/
@media only screen and (min-width: 500px) {
  .toggle-container:hover .toggle-menu {
    height: auto;
    padding: 20px 0;
    visibility: visible;
  }
  .toggle-container:hover .burger-icon span {
    opacity: 0;
    top: 50%;
  }
  .toggle-container:hover .burger-icon span:first-child {
    opacity: 1;
    transform: rotate(45deg);
  }
  .toggle-container:hover .burger-icon span:last-child {
    opacity: 1;
    transform: rotate(-45deg);
  }
}

.toggle-menu .toggle-menu-header {
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid #4e555d;
  padding: 10px 30px 30px 20px;
}

.toggle-menu h4.menu-title {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size:15px;
  font-weight: bold;
}

.toggle-menu .toggle-menu-header .switch-theme-icon {
  width: 25px;
  height: 25px;
  cursor: pointer;
  background: url(img/icons/switch-icon.png);
  background-size: cover;
}

.toggle-menu .toggle-menu-header .language {
  margin-left: 50px;
}

.toggle-menu .section1 .wallets-link {
  display: flex;
  margin-bottom: 10px;
}

.toggle-menu .section1 .wallets-link .wallets-logo {
  display: flex;
  margin-top: 4px;
  width: 40%;
}

.toggle-menu .section1 .wallets-link .wallets-logo .lightmode {
  display: none;
}

.toggle-menu .section1 .wallets-link .wallets-logo img {
  height: 28px;
}

.toggle-menu .section1 .wallets-link .wallets-logo a:hover img {
  filter: brightness(0) invert(1);
}

.toggle-menu .section1 .wallets-link .wallets-logo a:nth-child(2) {
  border-left: 1px solid #78838e;
  margin-left: 20px;
  height: 30px;
}

.toggle-menu .section1 .wallets-link .wallets-logo .green-logo {
  display: block;
  margin: 0 20px;
  height: 30px;
}

.toggle-menu .section1 .wallets-link .store-icons {
  display: flex;
  flex-flow: wrap;
  width: 60%;
}

.toggle-menu .section1 .wallets-link p {
  margin: 0;
  display: block;
  width: 40%;
  opacity: 0.7;
}

.toggle-menu .section1 .wallets-link .store-icons a {
  display: flex;
  font-size: 12px;
  justify-content: center;
  align-items:center;
  color: #fff;
  border: 1px solid #4e555d;
  padding: 5px 10px;
  border-radius: 5px;
  margin-right: 5px;
  margin-top: 5px;
}

.toggle-menu .section1 .wallets-link .store-icons a img {
  width: 12px;
  height: 12px;
  margin-right: 5px;
}

.toggle-menu .section1 .wallets-link .store-icons a img.lightmode {
  display:none;
}

.toggle-menu .section1,
.toggle-menu .section2 {
  padding: 0 40px;
}

.toggle-menu .section2 {
  display: flex;
  justify-content: space-between;
  flex-flow: wrap;
}

.toggle-menu .section2 ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toggle-menu .section2 li {
  margin-bottom: 15px;
}

.toggle-menu .section2 a {
  color: #c3cdd3;
  opacity: 0.7;
}

.toggle-menu .section2 a:hover {
  color: #0066cc;
}

.sub-navbar {
  width: 100%;
  background-color: #0066cc;
  display: flex;
  margin-bottom: 40px;
}

.sub-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 79px;
  gap: 20px; /* Add gap between nav and search */
}

.sub-nav {
  display: flex;
  flex-shrink: 0; /* Prevent nav from shrinking */
  gap: 50px; /* Use gap instead of margins for spacing */
}

/* Remove the old margin-right from sub-nav links */
.sub-nav a {
  color: #ffffff;
  padding-bottom: 10px;
}

/* Make search container take remaining space */
.search {
  flex: 1;
  min-width: 300px; /* Ensure minimum searchbar width */
}

.search-bar {
  width: 100%;
  display: flex;
  align-items: center;
}

.sub-nav a sup.highlight {
  height: 10px;
  width: 10px;
  background: #46beae;
  display: inline-block;
  border-radius: 100%;
}

.form {
  width: 100%;
}

.search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  border-radius: 4px;
  background-color: #002352;
  border: 1px solid #78838e;
}

.search-bar-input {
  width: 100%;
  color: #fff;
  background-color: transparent;
  border: none;
  height: 50px;
  font-size: 16px;
}

.search-bar-input::placeholder {
  color: #55585A;
}

.search-bar-input:focus {
  background-color: transparent;
  border: none;
  box-shadow: none;
  color: #fff;
}

a.back-link {
  display: inline-block;
  margin-bottom: 30px;
}

a.back-link img {
  width: 12px;
  margin-right: 8px;
  margin-bottom: 2px;
}

.blocks-table, .transactions-table, .stats-table, .assets-table {
  padding: 30px 0;
  border-radius: 8px;
  box-shadow: 0 20px 32px 0 rgba(0, 0, 0, 0.08);
  background: #002352;
}

.blocks-table .blocks-table-row, .transactions-table .transactions-table-row {
  padding:20px 30px; 
}

.assets-table .assets-table-row {
  padding:20px 40px; 
}

.stats-table {
  padding: 30px;
}

h3.table-title {
  margin: 10px 40px 30px;
  color: #fff;
}

.dash-container .tx-container {
  margin-top: 50px;
}

.dash-container .view-more {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

.dash-container .view-more img {
  margin-left: 5px;
  width: 25px;
}

@media only screen and (max-width: 990px) {
  .nav-link {
    padding: 0.4rem;
  }
  .toggle-container {
    z-index: 100;
  }
  .toggle-menu .section2 .link-list {
    margin-right: 20px;
  }
  .toggle-menu .section1,
  .toggle-menu .section2 {
    padding: 0 20px;
  }
  .toggle-container .toggle-menu {
    width: 95vw;
    position: absolute;
    top: 0px;
    right: -15px;
    z-index: 1;
    transition: none;
  }
  .toggle-container.open-menu .toggle-menu {
    visibility: visible;
    height: auto;
    padding: 20px 0;
  }
  .toggle-container.open-menu .burger-icon span {
    opacity: 0;
    top: 50%;
  }
  .toggle-container.open-menu .burger-icon span:first-child {
    opacity: 1;
    transform: rotate(45deg);
  }
  .toggle-container.open-menu .burger-icon span:last-child {
    opacity: 1;
    transform: rotate(-45deg);
  }
  .toggle-container .toggle-menu .toggle-menu-header {
    justify-content: flex-start;
  }
  .toggle-menu .section1 .wallets-link {
    flex-direction: column;
  }
  .toggle-menu .section1 .wallets-link .wallets-logo {
    width: auto;
  }
  .toggle-menu .section1 .wallets-link .store-icons {
    width: 100%;
    margin-top: 30px;
  }
  .navbar-brand {
    margin-right: 0;
  }
  .main-nav li {
    margin-right: 15px;
  }
  .sub-nav-container {
    height: auto;
    flex-direction: column-reverse;
    padding: 30px 10px 10px 10px;
  }
  .sub-nav {
    margin-top: 30px;
    justify-content: space-between;
    padding-left: 5px;
    padding-right: 5px;
  }
  .sub-nav a {
    margin-right: 0;
  }
  .search-bar {
    margin: 0;
    max-width: 100%;
  }
  .blocks-table .blocks-table-row, .transactions-table .transactions-table-row {
    padding:20px;
  }
  .assets-table .assets-table-row {
    padding:20px;
  }
  .stats-table {
    padding: 20px;
  }
  h3.table-title {
    margin: 10px 20px 30px;
  }
}

@media only screen and (max-width: 475px) {
  .main-nav li a, .sub-nav a {
    font-size: 16px;
  }
}

@media only screen and (max-width: 345px) {
  .toggle-container {
    padding: 30px 0 30px 10px;
  }

  .nav-link {
    padding: 0.4rem 0.2rem;
  }

  .sub-nav {
    flex-wrap: wrap;
  }

  .sub-nav a {
    margin-right: 20px;
  }
}

/* Make "DigiExplorer" stand out in the nav bar: */
.site-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-right: auto;
  text-align: left;
  padding-left: 30px;
}

.site-title h1 {
  color: #0066cc; /* White text over the #0066cc nav */
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

.site-title h2 {
  color: #0066cc;
  font-size: 1rem;
  margin: 0;
  opacity: 0.8;
}
