/*
 * CSS for tokenscan explorer
 */

html {
  position: relative;
  min-height: 100%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
  background-color: #eeeeee;
}


.center {
    text-align: center;
}

.red {
    color: #990000;
}
.green {
    color: #009900;
}
.orange {
  color: orange;
}
.bold {
    font-weight: bold;
}
.nowrap {
    white-space: nowrap;
}
.text-left {
    text-align: left !important;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}
.text-justify {
    text-align: justify;
}

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

.alert-notice {
    color: #ffffff;
    background-color: #2980b9;    
}

.navbar-brand {
    padding-left: 15px;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom:0px;
}

/* Tweak Panel headers to be a bit more compact*/
.panel-heading {
    font-size: 1.0em;
    font-weight: bold;
    padding: 5px 10px 5px 10px !important;
}

/* CSS for sticky footer (also requires html/)*/
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 50px;
  color: #fff;
  background-color: #222;
  border-color: #080808;  
  border-top: 1px solid #080808;
}
.footer a,
.footer a:visited {
    color: #888;
}
.footer a:hover {
    color: #fff;
    text-decoration: none;
}

/* CSS for icons in main menu */
.counterparty-sm {
  background-image: url('../img/icons/counterparty-coin-20.png');
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  position: relative;
  top: 4px;  
}
.dogeparty-sm {
  background-image: url('../img/icons/dogeparty-coin-20.png');
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  position: relative;
  top: 4px;  
}
.dropzone-sm {
  background-image: url('../img/icons/dropzone-coin-20.png');
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  position: relative;
  top: 4px;  
}
.fa-counterparty {
  background-image: url('../img/counterparty-icon-20.png');
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  position: relative;
  top: 2px;  
}
.fa-dogeparty {
  background-image: url('../img/dogeparty-icon-20.png');
  background-repeat: no-repeat;
  width: 20px;
  height: 22px;
  position: relative;
  top: 0px;  
}
.fa-coindaddy {
  background-image: url('../img/coindaddy-icon-20.png');
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  position: relative;
  top: -4px;  
}
.fa-tokenscan {
  background-image: url('../img/tokenscan-icon-20.png');
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  position: relative;
  top: -4px;  
}
.fa-freewallet {
  background-image: url('../img/freewallet-icon-20.png');
  background-repeat: no-repeat;
  width: 20px;
  height: 20px;
  position: relative;
}
.fa-btns {
    background-image: url('../img/btns-icon-black-20.png');
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    position: relative;
    top: 3px;  
}
.fa-btns-yellow {
    background-image: url('../img/btns-icon-yellow-20.png');
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    position: relative;
    top: 3px;  
}


#map {
  width: 100%;
  height: 250px;
}

/* CSS Used to force heights of certain fields */
th.record,
th.block,
th.transfer,
th.lock,
th.locked,
th.reset,
th.rating {
    width: 75px;
}
th.time {
    width: 150px;
}
th.record-type,
th.price,
th.amount {
    width: 100px;
}
th.quantity {
    width: 250px;
}
th.quantity-small {
    width: 100px;
}
th.fee,
th.type {
    width: 120px;
}
th.view {
    width: 50px;
}
th.transactions {
    width: 120px;
}
th.address {
    width: 320px;
}
 {
  width: 75px;  
}


ul.dropdown-menu .fa {
    width: 20px;
}
.dropdown-menu>li>a {
    padding: 5px 15px;
}

.qrcode {
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 20px;
}


/* CSS for datatables */
.search-results-footer {
    color: #fff;
    background-color: #428bca;
    border-color: #428bca;
}

.dataTables_wrapper th, .dataTables_wrapper td {
  max-width: 200px;
  min-width: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dataTables_wrapper .search-results-footer .dataTables_length {
    color: #fff;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current, 
.dataTables_wrapper .dataTables_paginate .paginate_button.current:hover, 
.dataTables_wrapper .dataTables_paginate .paginate_button.current:active {
    color: #333 !important;
}

.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .dataTables_paginate .paginate_button, 
.dataTables_wrapper .dataTables_paginate .paginate_button:hover, 
.dataTables_wrapper .dataTables_paginate .paginate_button:active,
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled, 
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, 
.dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active {
    color: #fff !important;
}

table.dataTable tbody td {
  padding: 5px 5px;
}

table.dataTable thead th, 
table.dataTable thead td {
    padding: 5px 5px;
    border-bottom: 1px solid #ddd;
}
table.dataTable.no-footer {
    border-bottom: 1px solid transparent !important;
    border-radius: 0px 0px 4px 4px;
}
.search-results-footer .dataTables_length {
    margin-top:10px;
    margin-left:10px
}

form.form-header-searchbox {
    position:relative;
    top: -5px;
}
.form-header-searchbox {
    line-height:1.0em;
}

.panel-heading.panel-search-results {
    padding-bottom:0px;
    padding-right: 5px;
}

.primary-middle {
  color: #fff;
  font-weight: bold;
  background: #428bca;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.white {
    color: #fff !important;
}

.nav-tabs {
    /*border-bottom: 1px solid #428bca;*/
    border-bottom: 0px;
}

.nav-tabs > li > a:hover {
    /*border-bottom: 1px solid #428bca;*/
    border-bottom: 0px;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus {
    color: #fff;
    background-color: #428bca;
    /*border: 1px solid #428bca;*/
    /*border-bottom-color: transparent;*/
}

.nav-tabs>li>a {
    position: relative;
    display: block;
    padding: 10px 10px;
}

/* CSS to support dropdown submenus since bootstrap dropped support */
.dropdown-menu {
  background-color: #cdcdcd;
  padding: 0px 0px 0px 0px;
}
.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: 0px;
    margin-left: -1px;
    -webkit-border-radius:0 6px 6px 6px;
    -moz-border-radius:0 6px 6px 6px;
    border-radius:0 6px 6px 6px;
}
.dropdown-submenu:hover>.dropdown-menu {
    display:block;
}
.dropdown-submenu>a:after {
    display:block;
    content:" ";
    float:right;
    width:0;
    height:0;
    border-color:transparent;
    border-style:solid;
    border-width:5px 0 5px 5px;
    border-left-color:#333;
    margin-top:5px;
    margin-right:-10px;
}
.dropdown-submenu:hover>a:after {
    border-left-color:#333;
}
.dropdown-submenu.pull-left {
    float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left:-100%;
    margin-left:10px;
    -webkit-border-radius:6px 0 6px 6px;
    -moz-border-radius:6px 0 6px 6px;
    border-radius:6px 0 6px 6px;
}

/* CSS used in terms of use */
.upper-alpha {
    list-style-type:upper-alpha;
}
.terms-of-use li {
    margin-bottom: 10px;
}

/* Force twitter widget to 500 pixels high... it is not respecting the height value it says it is*/
#twitter-widget-0 {
  height: 500px !important;
}

/* Force text color on dropdown.. showing up as white text in some browsers */
.dataTables_wrapper select {
  color: #000;
  font-weight:normal;
}
.centered-icons .fa-lg {
  text-align: center;
  width: 20px;
}
/* Tweak top navbar spacing a bit to make things fit */
.topnav .navbar-nav>li>a {
  padding: 15px 10px 15px 10px;
}

.no-bottom-margin {
  margin-bottom: 0px !important;
}
.no-bottom-padding {
  padding-bottom: 0px !important;
}
.no-bottom-border {
  border-bottom-width: 0px !important;
}
.no-top-margin {
  margin-top: 0px;
}
.no-top-padding {
  padding-top: 0px;
}
.no-top-border {
  border-top-width: 0px;
}
.margin-top-5 {
  margin-top: 5px;
}


.table-bordered.no-bottom-border>tbody>tr>td {
  border-bottom: 0px;
}
.table-bordered.top-border>thead:first-child>tr:first-child>th,
.table-bordered.top-border>tbody:first-child>tr:first-child>th,
.table-bordered.top-border>tbody:first-child>tr:first-child>td {
  border-top: 1px solid #ddd !important;
}
.table-bordered>thead>tr>th {
  border-bottom-width: 1px;
}
#assetIcon,
#broadcastIcon {
  width: 48px;
  height: 48px;
}
ul.asset-view-options {
  color: #333;
  width: 150px;
}
ul.asset-view-options>li>a {
  color: #333 !important;
}
ul.asset-view-options a:after {
    content: '';    
}
.dropdown-menu-header {
  background-color: #222;
  padding-top: 5px;
  padding-left: 10px;
  padding-right: 0px;
  padding-bottom: 5px;
  color: #fff;
  width: 100%;
  font-weight: bold;
}
.dropdown-menu {
  min-width: 120px !important;
}
.asset-icon-sm {
  width: 20px;
  height: 20px;
  margin-right: 5px;
}
/* CSS to force asset names to not be truncated or wrapped */
th.asset-name,
td.asset-name {
  max-width: 200px !important;
  min-width: 200px !important;
}
th.broadcast-message,
td.broadcast-message {
  overflow: hidden;
}

/*a.view-btn {
  margin-left: 10px;
}*/


#currencyInfo th.info {
  width: 90px;
}
#networkInfo th.info {
  width: 95px;
}
#counterpartyInfo th.info {
  width: 90px;
}

.search-options {
  color: #fff;
  background: #428bca;
  padding: 5px;
}

.search-options label {
  margin-bottom: 0px;
}

.dataTables_wrapper .dataTables_length, 
.dataTables_wrapper .dataTables_filter, 
.dataTables_wrapper .dataTables_info, 
.dataTables_wrapper .dataTables_processing, 
.dataTables_wrapper .dataTables_paginate {
    padding: 0px;
    color: #fff;
}

.dataTables_wrapper .dataTables_paginate {
  display: inline-block;
  float: none;
  margin-left: auto;
  margin-right: auto;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 0em 0.5em;
}

.clear,
.clear-both {
  clear:both;
}

/* Do not put border on 2nd from last field next to status field */
table.dataTable.cell-border tbody tr td:nth-last-child(2){
    border-right: 0px;
}

/* Override status field noborder option if has .normal-borders class on table */
table.dataTable.cell-border.normal-borders tbody tr td:nth-last-child(2){
    border-right: 1px solid #ddd;
}

.highlight-search-term {
  background-color: yellow;
  font-weight: bold;  
}


.list-group.panel > .list-group-item {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px
}

.list-group-submenu .list-group-item {
  padding-left: 30px;
}

.clickable { 
  cursor: pointer; 
}

.nav-tabs.tabs-small>li>a {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.icon-20 {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

.tokenscan-sponsored-link {
    display: block !important;
    padding: 5px;
}
.tokenscan-sponsored-link a.text-link {
    color: #000;
    font-weight: bold;
    font-style: italic;
    text-decoration: underline;
}

.auto-width {
    width: auto !important;
}




/*
 * Market CSS (market.html)
 */
.tx-fee .input-group-btn {
    width: 120px;
}
#market-sidemenu-container {
    height: calc(100vh - 100px);
}

.section-title {
    font-size: 1.3em;
    font-weight: bold;
}
.market-header {
    padding-left: 5px;
}
.market-header .market-fullname {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
    line-height: 1.0em;
}
.market-header .market-pair {
}
.market-stats-header {
    font-style: italic;
}
.market-header .market-icon {
    float: left;
    width: 48px;
    height: 48px;
    margin-right: 5px;
}
a#market-swap-button:hover {
    text-decoration: none;
}
table.tinytable {
    font-size: 12px;
    /*border: 1px solid #ccc;*/
}
table.tinytable tbody td {
    padding: 3px;
}

table.tinytable thead th {
    padding: 5px 10px;
    border-bottom: 1px solid #ccc;
}
table.tinytable tbody tr td:first-child {
    border-left: 0px !important;
}
table.tinytable tbody tr td:last-child {
    border-right: 0px !important;
}
table.tinytable tbody tr:last-child td {
    border-bottom: 1px solid #ddd !important;
}
#market-container {
    display: flex;
    height: 100%;
    flex-direction: row;
    overflow: hidden;
    padding: 0px !important;
    /* avoid browser level touch actions */
    xtouch-action: none;
}
#market {
    flex: 1 1 auto;
    padding: 0px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;    
    display: block;
    position: relative;
}
#market-sidemenu {
    padding-left: 0px;
}
#market-sidemenu .panel table.table {
    border-bottom: 1px solid #ccc;
}
#market-sidemenu .panel-heading {
    padding-left: 5px !important;
    padding-right: 5px !important;
}

#tools-buy  .input-group[class*=col-],
#tools-sell .input-group[class*=col-] {
    padding-right: 15px;
}
#tools-buy  .panel,
#tools-sell .panel {
    border: 1px solid #ccc;
    border-radius: 0px;
    padding-top: 15px;
}
#tools-buy  .input-group-addon,
#tools-sell .input-group-addon {
    width: 120px;
    max-width: 120px;
}

.text-ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#orderbook-sells .dataTables_wrapper,
#orderbook-buys  .dataTables_wrapper,
#trade-history   .dataTables_wrapper,
#open-orders     .dataTables_wrapper {
    background-color: #eee;
    border: 1px solid #ccc;
    margin-bottom: 20px;
}

#orderbook-sells .dataTables_scrollBody,
#orderbook-buys  .dataTables_scrollBody,
#trade-history   .dataTables_scrollBody,
#open-orders     .dataTables_scrollBody {
    border-bottom: 0px !important;
}

#trade-history .btn {
    padding: 0px 5px;
}

#trade-history td {
    vertical-align: middle;
}

form .asset-name {
    max-width: 100px;

}

#market-chart {
    height: 400px; 
    width: 100%;
    margin-bottom: 15px;
    clear: both;
    top: -15px;
}
#chart-list {
    top: 36px;
    left: 5px;
    width: 20px;
    z-index: 9;
}
#chart-list .fa-lg {
    width: auto !important;
}
#chart-options {
    top: 27px;
    left: 20px;
    width: 20px;
    z-index: 9;
}
#chart-options .fa-lg {
    width: auto !important;
}

.chart-options {
    width: 250px;
    height: 250px;
}
#market-depth-chart {
    height: 200px; 
    width: 100%;
    clear: both;
}
.highcharts-tooltip-table tr.first td {
    border-top: 1px solid #ccc;
}
.highcharts-tooltip-table td.separator {
    padding-right: 5px;
    padding-left: 2px;
}
.highcharts-tooltip-table td:first-child {
    font-weight: bold;
}
.highcharts-tooltip-table td:last-child {
    font-weight: bold;
    padding-left: 5px;
}
.highcharts-menu hr {
    margin-top: 0px;
    margin-bottom: 0px;
    border-top: 1px solid #ccc;
}
td div.tooltip-header {
    left: -20px;
}

.highcharts-point {
    stroke: #000000;
}
.highcharts-candlestick-series .highcharts-point-up {
    fill: green !important;
}
.highcharts-candlestick-series .highcharts-point-down {
    fill: red !important;
}
/* MACD indicator */
.highcharts-macd-series .highcharts-negative {
    fill: red !important;
}
.highcharts-macd-series .highcharts-color-2 {
    fill: green;
}
.auto-width {
    width: auto !important;
}
a.red:hover {
    color: red;
}

.ellipsis {
    overflow: hidden;
    text-overflow: ellipsis;
}

#markets-tabs-content .panel {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}
#markets-tabs {
    padding-top: 5px;
}
#markets-filter {
    font-size: 11px;
    padding: 3px 6px;
}
.dropdown-checkboxes {
    color: #000;
}

.dropdown-menu-header {
    font-weight: bold;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 5px;
}
.dropdown-menu>.active>a, 
.dropdown-menu>.active>a:hover, 
.dropdown-menu>.active>a:focus {
    color: #000;
    background-color: #ddd;
    padding-left: 5px;
    border-left: 5px solid #428bca;
    border-bottom: 0px;
    padding-bottom: 5px;
}
.dropdown-menu>li>a {
    padding: 5px 10px;
}
.dataTables_wrapper.no-footer {
    margin-bottom: 0px !important;
}

table.orderbook td:first-child {
  border-left: 0px !important;
}
table.orderbook td:last-child {
  border-right: 0px !important;
}

table.normal.dataTable.cell-border tbody tr td:nth-last-child(2){
  border-right: 1px solid #ddd;
}


table.text-center th, 
table.text-center td {
  text-align: center;
}

table.market-stats {
  border-right: 0px;
  border-bottom: 0px;
}

table.market-stats th:last-child,
table.market-stats td:last-child {
    border-right: 0px;
}

/* CSS for embedded videos */
.video-wrapper-youtube {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.embedded-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.audio-wrapper-soundcloud {
    position: relative;
    width: 100%;
    height: 175px;
}
.soundcloud-audio {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 175px;
}
.bg-red,
.bg-red td  {
    background-color: #EFC9CA !important;
}
.bg-green,
.bg-green td {
    background-color: #E0F2DF !important;
}
.bg-yellow,
.bg-yellow td {
    background-color: #FFFAA0 !important;
}
.label-100 {
    font-size:  100% !important;
}

/* Bitcoin Stamps Display code (STAMP: prefix) */
.bitcoin-stamp-pixelated {
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
    image-rendering: pixelated;
    width:400px;
}