body {
	font-size: 14px;
	font-family: "Ubuntu", sans-serif;
	/*font: 14px 'Open Sans', "Lucida Grande", Helvetica, Arial, sans-serif;*/
}

hr {
	margin: 5px 0 15px 0;
}

img.header-image {
	margin-top: -10px;
	margin-bottom: -5px;
	width: 30px;
	height: 30px;
	margin-right: 10px;
}

code, .text-monospace {
	font-family: "Source Code Pro", monospace !important;
}

strong {
	font-weight: 700 !important;
}

h6, .h6 {
	margin-bottom: 0 !important;
}

.text-small {
	font-size: 80%;
}
.text-smallest {
	font-size: 50%;
}

.text-white {
	color:white !important;
}

.text-black {
	color: black !important;
}

.yellow-200{
	color: #fef08a !important;
}

.popover {
	max-width: 1200px;
}

.border-dotted {
	border-bottom: 1px dotted #aaa;
}

.data-tag {
	color: white;
	border-radius: 0.25rem;
	padding: 3px 6px;
}

.data-tag-secondary {
	color: inherit;
	border: 1px solid;
	border-radius: 0.25rem;
	padding: 3px 6px;
}

.text-bold {
	font-weight: bold;
}

.mt-tiny {
	margin-top: 3px;
}

.mb-tiny {
	margin-bottom: 3px;
}

.mb-huge {
	margin-bottom: 200px;
}

.user-message-markdown p {
	margin-bottom: 0 !important;
}

.nav-tabs .nav-link.active {
	background-color: #252525;
	color: #60a5fa !important;
}

.nav-tabs .nav-link{
	color: grey !important;
}

.nav-tabs .sub-nav-link.active {
	background-color: #1a1a1a;
	color: #60a5fa !important;
}

.nav-tabs .sub-nav-link{
	color: grey !important;
}

/* Pagination & list controls: compact on small screens, roomier on desktop (see @media min-width 992px) */
.pagination .page-link,
.list-controls .btn {
	padding: 0.25rem 0.5rem;
	font-size: 0.875rem;
	line-height: 1.5;
}

/* Inline pagination drops to its own full-width row below the lg breakpoint */
.list-controls-pagination {
	width: 100%;
}
.list-controls-pagination .pagination {
	margin-bottom: 0;
}

pre {
	white-space: pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	word-wrap: break-word;
	margin-bottom: 0;
}

dd {
	margin-bottom: 1rem;
}

.word-wrap {
	word-wrap: break-word;
	word-break: break-all;
}

#subheader a {
	margin-right: 20px;
}

.table th {
	border-top: none;
}

.dropdown-item:focus, .dropdown-item:hover {
	background-color: #e3e3e3;
}

#sub-menu a:hover {
	text-decoration: underline;
}

strong {
	font-weight: 500;
}



.xindex-summary table tbody th, .xindex-summary table tbody td {
	padding: 0;
	padding-top: 0.3rem;
	padding-bottom: 0.3rem;
}

.index-summary .summary-icon {
	width: 20px;
}



.summary-table-label, .summary-table-content, .summary-split-table-label, .summary-split-table-content {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-right: 5px;
	padding-left: 15px;
	margin-bottom: 5px;
}

.tx-io-label, .tx-io-content, .tx-io-desc, .tx-io-value {
	position: relative;
	width: 100%;
	min-height: 1px;
	padding-right: 0px;
	padding-left: 0px;
	margin-bottom: 2px;
	float: left;
}

.summary-table-label, .summary-split-table-label {
	font-weight: bold;
}

.summary-table-content, .summary-split-table-content {
	margin-bottom: 20px;
}


@media (min-width: 576px) {
	.search-main-hidden {
		display:none;
	}
	.table-hidden {
		display:none;
	}

	.summary-table-label {
		max-width: 100%;
		text-align: left;
	}
	.summary-table-content {
		max-width: 100%;
		margin-bottom: 20px;
	}

	.summary-split-table-label {
		max-width: 100%;
		text-align: left;
	}
	.summary-split-table-content {
		max-width: 100%;
		margin-bottom: 20px;
	}

	.tx-io-label { max-width: 100%; }
	.tx-io-content { max-width: 100%; }
	.tx-io-desc { max-width: 100%; }
	.tx-io-value { max-width: 100%; }

}
@media (min-width: 768px) {
	.search-main-hidden {
		display:none;
	}
	.table-hidden {
		display:none;
	}
	.summary-table-label {
		max-width: 18%;
		text-align: right;
	}
	.summary-table-content {
		max-width: 82%;
		margin-bottom: 5px;
	}

	.summary-split-table-label {
		max-width: 36%;
		text-align: right;
	}
	.summary-split-table-content {
		max-width: 64%;
		margin-bottom: 5px;
	}

	.tx-io-label { max-width: 8%; }
	.tx-io-content { max-width: 92%; }
	.tx-io-desc { max-width: 65%; }
	.tx-io-value { max-width: 35%; text-align: right; }
}
@media(max-width: 991.98px) {
	.search-main-hidden {
		display:none;
	}
	.table-hidden {
		display:none;
	}

	body.mobile-search-open #mobileNavDefault {
		display: none !important;
	}
	body.mobile-search-open #mobileSearchPanel {
		display: flex !important;
	}

	.navbar-collapse .dropdown-menu {
		display: block !important;
		position: static !important;
		background: transparent !important;
		border: 0 !important;
		box-shadow: none !important;
		padding: 0 !important;
		margin: 0 !important;
		float: none !important;
	}
	.navbar-collapse .nav-link.dropdown-toggle::after {
		display: none !important;
	}
	.navbar-collapse .nav-link.dropdown-toggle {
		text-transform: uppercase;
		font-size: 0.75rem;
		letter-spacing: 0.05em;
		opacity: 0.6;
		pointer-events: none;
		padding-bottom: 0.25rem;
	}
	.navbar-collapse .dropdown-item {
		color: #fef08a !important;
		white-space: normal;
	}
	.navbar-collapse .dropdown-item:hover,
	.navbar-collapse .dropdown-item:focus {
		background-color: rgba(255, 255, 255, 0.05) !important;
	}

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

	/* Clear the fixed-top navbar (~56px) plus a small visual gap.
	   The outer .main-layout already adds its own pt-3 (16px), so keep this
	   tight to avoid stacking too much breathing room above the page title. */
	.main-layout .container {
		padding-top: 3rem !important;
	}

	.nav-tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.nav-tabs::-webkit-scrollbar { display: none; }
	.nav-tabs .nav-item { flex: 0 0 auto; }
	.nav-tabs .nav-link { white-space: nowrap; padding: 8px 12px; }

	.mobile-stat-card .card-body { padding: 0.75rem; }
	.mobile-stat-card h5.card-title { font-size: 0.7rem; margin-bottom: 0.25rem; }
	.mobile-stat-card .h2 { font-size: 1.25rem; }
	.mobile-stat-card .icon { width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; }

}

#nft.card-body {
	background-color: transparent !important;
	padding: 0 !important;
}
@media (min-width: 992px) {

	.pagination .page-link,
	.list-controls .btn {
		padding: 0.5rem 1rem;
		font-size: 1.125rem;
	}

	/* Pagination sits inline, centered between the sort toggle and page-size selector */
	.list-controls-pagination {
		width: auto;
		order: 1;
	}
	.list-controls-pagesize {
		order: 2;
	}

	.summary-table-label {
		max-width: 15%;
		text-align: right;
	}
	.summary-table-content {
		max-width: 85%;
		margin-bottom: 5px;
	}

	.summary-split-table-label {
		max-width: 30%;
		text-align: right;
	}
	.summary-split-table-content {
		max-width: 70%;
		margin-bottom: 5px;
	}

	.tx-io-label { max-width: 11%; }
	.tx-io-content { max-width: 89%; }
	.tx-io-desc { max-width: 60%; }
	.tx-io-value { max-width: 40%; text-align: right; }
}

@media (min-width: 1200px) {
	.list-hidden {
		display: none;
	}
	.search-mobile-hidden {
		display:none;
	}
	.table-hidden {
		display:revert;
	}
	.search-main-hidden {
		display:block;
	}
	.container {
		max-width: 1400px;
	}

	.summary-table-label {
		max-width: 13%;
		text-align: right;
	}
	.summary-table-content {
		max-width: 87%;
		margin-bottom: 5px;
	}

	.summary-split-table-label {
		max-width: 24%;
		text-align: right;
	}
	.summary-split-table-content {
		max-width: 76%;
		margin-bottom: 5px;
	}

	.tx-io-label { max-width: 11%; }
	.tx-io-content { max-width: 89%; }
	.tx-io-desc { max-width: 69%; }
	.tx-io-value { max-width: 31%; text-align: right; }
}

@media (min-width: 1920px) {
	.nft-container {
		margin-left: 1rem;
	}

	.container {
		max-width: 1800px;
	}

	.summary-table-label {
		max-width: 8%;
		text-align: right;
	}
	.summary-table-content {
		max-width: 92%;
		margin-bottom: 5px;
	}

	.summary-split-table-label {
		max-width: 16%;
		text-align: right;
	}
	.summary-split-table-content {
		max-width: 84%;
		margin-bottom: 5px;
	}

	.tx-io-label { max-width: 7%; }
	.tx-io-content { max-width: 93%; }
	.tx-io-desc { max-width: 70%; }
	.tx-io-value { max-width: 30%; text-align: right; }
}

footer a {
	color: #ddd;
	text-decoration: underline;
}

footer a:hover {
	color: white;
}

.table-striped>tbody>tr:nth-child(odd)>td,
.table-striped>tbody>tr:nth-child(odd)>th {
	/*background-color: #fbfbfb;*/
}

.hljs-type, .hljs-string, .hljs-number, .hljs-selector-id, .hljs-selector-class, .hljs-quote, .hljs-template-tag, .hljs-deletion {
	color: #3aa54f;
}

.opcode {
    color:#0a6c80;
    font-weight: bold;
}

.green-300{
	color: #86efac !important;
}

.primary-button-gradient{
	background: rgb(19,94,137) !important;
	background: linear-gradient(90deg, rgba(19,94,137,1) 0%, rgba(139,92,246,1) 100%) !important;
	color: white !important;
	font-weight: bold !important;
}
.btn-outline-gradient {
	background: rgb(19,94,137) !important;
	background: linear-gradient(90deg, rgba(19,94,137,1) 0%, rgba(139,92,246,1) 100%)!important;
	color: linear-gradient(90deg, rgba(19,94,137,1) 0%, rgba(139,92,246,1) 100%) !important;
	font-weight: bold !important;
}

.gradient-box {
	position: relative;
	border: 3px ;
	color: #FFF;
	background: #000;
	background-clip: padding-box; /* !importanté */
	border: solid 3px transparent; /* !importanté */
	border-radius: .5em;

	&:before {
	  content: '';
	  position: absolute;
	  top: 0; right: 0; bottom: 0; left: 0;
	  z-index: -1;
	  margin: -3px; /* !importanté */
	  border-radius: inherit; /* !importanté */
	  background: linear-gradient(90deg, rgba(19,94,137,1) 0%, rgba(139,92,246,1) 100%);
	}
  }


@media (min-width: 350px) {
	.card-nft {
		max-width: 100% !important;
		width: 100% !important;
	}
	#nft img {
		object-fit: cover;
		height: 22rem !important;
		width: 100% !important;
		transition: transform 0.2s;
	}

	#nft img:hover {
		transform: scale(1.1);
	}

	#nft video {
		object-fit: cover;
		height: 22rem !important;
		width: 100% !important;
		transition: transform 0.2s;
	}

	#nft video:hover {
		transform: scale(1.1);
	}

	#nft audio {
		object-fit: cover;
		height: 15rem !important;
		width: 100% !important;
		padding-bottom: 90px;
		transition: transform 0.2s;
	}

	#nft audio:hover {
		transform: scale(1.1);
	}

	#nft .carousel {
		object-fit: cover;
		height: 22rem !important;
		width: 100% !important;
		transition: transform 0.2s;
	}
}


@media (min-width: 768px) {

}


@media (min-width: 992px) {
	.card-nft {
		max-width:15rem !important;
		max-height:20rem !important;
	}
	#nft img {
		object-fit: cover;
		height    : 15rem !important;
		width    : 15rem !important;
		transition: transform 0.2s;
	}

	#nft img:hover {
		transform: scale(1.1);
	}

	#nft video {
		object-fit: cover;
		height    : 15rem !important;
		width    : 15rem !important;
		transition: transform 0.2s;
	}

	#nft video:hover {
		transform: scale(1.1);
	}

	#nft audio {
		object-fit: cover;
		height    : 15rem !important;
		width    : 12rem !important;
		padding-bottom: 90px;
		transition: transform 0.2s;
	}
	#nft .carousel {
		object-fit: cover;
		height    : 15rem !important;
		width    : 15rem !important;
		transition: transform 0.2s;
	}

	#nft audio:hover {
		transform: scale(1.1);
	}
}

.body-text {
	color:#e9ecef !important;
}


@media (min-width: 1920px) {


}
.carousel-item {
	text-align: center;
}


.nsfw-wrapper {
	max-width: 100%;
	width: 100%;
	height: auto;
	display: inline-block;
	overflow: hidden;
	position: relative;
	cursor: pointer;
}
.nsfw-image {
	filter: blur(20px);
	transition: filter 0.3s ease;
	width: 100%;
	height: auto;
	display: block;
}
.nsfw-wrapper.revealed .nsfw-image {
	filter: none;
}
.nsfw-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	color: white;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1.5rem;
	transition: opacity 0.3s ease;
}
.nsfw-wrapper.revealed .nsfw-overlay {
	opacity: 0;
	pointer-events: none;
}

.max-width-100 {
	max-width: 100%;
}

/* Stat-card icon circle — .icon/.icon-shape have no global rule outside the
   mobile media query, so size them explicitly on the hodl page. */
.hodl-vaults-page .card-stats .icon {
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
}

/* Peers page mobile responsiveness */
@media (max-width: 767px) {
	#map {
		height: 350px !important;
	}

	.peers-page .peers-charts-container canvas,
	.peers-page .tab-pane canvas {
		height: 250px !important;
	}

	.peers-page .card.borderless-card .card-body {
		padding: 0.75rem;
	}

	.peers-page h3.text-bold {
		font-size: 1.3rem;
	}

	.peers-page h5.text-bold {
		font-size: 1rem;
	}

	.peers-page .tab-content {
		padding: 0;
		background-color: transparent !important;
		border: none !important;
	}

	.peers-page .table-responsive {
		-webkit-overflow-scrolling: touch;
	}

	.peers-page pre {
		font-size: 10px;
		max-height: 300px;
		overflow-y: auto;
	}

	/* Mining summary page mobile */
	.mining-summary .btn-group {
		flex-wrap: wrap;
	}

	.mining-summary .block-count-btn {
		font-size: 0.8rem;
		padding: 0.25rem 0.5rem;
	}

	.mining-summary .input-group input.form-control {
		width: 100% !important;
	}

	.mining-summary .table-responsive {
		-webkit-overflow-scrolling: touch;
	}

	/* HODL Vaults page mobile */
	/* Stat cards wrap into 2 rows on mobile (.col-6 × 4). h-100 on each card
	   matches heights within a row; min-height keeps both wrapped rows equal. */
	.hodl-vaults-page .mobile-stat-card {
		min-height: 7rem;
	}

	.hodl-vaults-page #lockedRedeemableChart,
	.hodl-vaults-page #unlocksOverTimeChart {
		height: 220px !important;
	}

	.hodl-vaults-page h5.card-title {
		font-size: 1rem;
	}

	.hodl-vaults-page .dropdown-menu {
		font-size: 0.875rem;
	}

	.hodl-vaults-page .btn-group .btn-sm {
		font-size: 0.75rem;
	}
}

.mining-summary .summary-hidden {
	display: none !important;
}

/* Mobile tx I/O tabs — dark-touchups strips border/color from .nav-link,
   so the selected pill loses its contrast. Force a readable active state. */
.nav-pills .nav-link.active {
	background-color: #007bff !important;
	color: #fff !important;
}

/* Mobile tx I/O — highlighted i/o (address page).
   3px primary accent on the left edge + subtle tint to draw the eye. */
.tx-io-highlight {
	border-left: 3px solid #007bff !important;
	background-color: rgba(0, 123, 255, 0.06);
}

/* Mobile tx I/O totals card — pin a neutral background that reads on both
   light and dark themes; bg-light alone is too bright on dark. */
.tx-io-mobile-totals {
	background-color: rgba(127, 127, 127, 0.08);
}
/*
 * Testnet theme — applied via body.chain-testnet for any chain other than
 * "nexa" so the operator can tell at a glance they're not on mainnet.
 * The class is set in layout.pug from activeBlockchain (RPC chain), so the
 * theme follows the node, not the domain.
 */
.chain-testnet .yellow-200 {
	color: #86efac !important;
}
/* Gradient buttons + all primary buttons (search, See more, Star/Fork,
   Support Project, ...) share the same green gradient as the search button.
   The `background` shorthand with !important overrides btn-primary's flat
   colour in every state (hover/focus/active), which background-color can't. */
.chain-testnet .primary-button-gradient,
.chain-testnet .btn-outline-gradient,
.chain-testnet .btn-primary {
	background: rgb(22, 101, 52) !important;
	background: linear-gradient(90deg, rgba(22, 101, 52, 1) 0%, rgba(34, 197, 94, 1) 100%) !important;
}
/* btn-primary's border is light blue in the base theme; recolour it light
   green (all states, via !important) to match the green gradient. */
.chain-testnet .btn-primary {
	border-color: #86efac !important;
}
.chain-testnet .gradient-box:before {
	background: linear-gradient(90deg, rgba(22, 101, 52, 1) 0%, rgba(34, 197, 94, 1) 100%);
}
.chain-testnet .nav-tabs .nav-link.active,
.chain-testnet .nav-tabs .sub-nav-link.active {
	color: #86efac !important;
}
/* Mobile tx I/O active pill + highlighted i/o accent (bootstrap primary). */
.chain-testnet .nav-pills .nav-link.active {
	background-color: rgb(34, 197, 94) !important;
}
.chain-testnet .tx-io-highlight {
	border-left-color: rgb(34, 197, 94) !important;
	background-color: rgba(34, 197, 94, 0.06);
}
/* Tool-list icons (green-300) flip to blue so they stand out against the
   otherwise-green testnet theme instead of blending into it. */
.chain-testnet .green-300 {
	color: #60a5fa !important;
}
