html,
body {
    min-height: 100vh;
    position: relative;
}


/* Style optimization */

.mt-1r {
    margin: 1rem 0;
}

#invalid-input,
#spinner,
#no-clusters-msg,
.all-pagination {
    margin: 10px 0px;
}

.query-info,
.tcash-overall,
.tornado-info,
.specific-result,
.linked-address,
.specific-result:focus,
.result-entry.selected,
.dropdown-toggle,
.detail-page,
.selected-result>.my-accordion-header>button,
.my-accordion-body{
    background-color: var(--fadedgrey);
}

.specific-result,
.specific-result:focus,
.page-button,
.select-page,
.dropdown-accordion>button,
.my-accordion-header>button {
    border: transparent;
}

.specific-result,
.specific-result:focus,
.panel-sub,
.fa-question-circle,
#instructions,
.instructions,
.instructions div,
.page-button,
.copied-badge {
    color: var(--lightgrey);
}

.ta-c,
.results-pagination {
    text-align: center;
    white-space: nowrap;
}

.button-group,
.link-input,
.results-pagination {
    margin: 0.5rem 0;
}

.query-info,
.tcash-overall,
.tornado-info, 
.default-accordion-class,
.linked-address {
    border-radius: 5px;
    padding: 15px;
    height: 100%;
}

.specific-result,
.specific-result:focus {
    font-size: 0.8rem;
}

.dropdown-accordion>*,
.dropdown-accordion>a.dropdown-item,
.dropdown-accordion.accordion-header>button>* {
    color: var(--almostwhite);
    font-family: "PT Sans", sans-serif;
}

.dropdown-accordion > a.dropdown-item:hover,
.dropdown-accordion > a.dropdown-item:hover {
  color: #16181b;
}

#detail-table,
.detail-table {
    border-collapse: separate;
    border-spacing: 5px 5px;
    border-color: transparent;
    margin: 0;
}


/* Body styles */

.footer-react {
    padding: 0 1rem;
    position: absolute;
    bottom: 0;
    left: 0;
}

.panel-title,
.panel-title .title-text {
    color: var(--tcashgreen);
    font-weight: 700 !important;
    border-radius: 5px;
    margin: 10px 0;
}

.panel-sub {
    font-size: 0.8rem;
}

.halved-bar>*.right-side {
    display: none;
}

.center-inside {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tooltip>.tooltip-inner {
    text-align: left;
}

.squashed-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-badge {
    font-size: 0.9em;
    background-color: var(--tcashgreen);
    color: var(--dark);
    padding: 5px 10px 5px 5px;
    border-radius: 0 20px 20px 0;
    -webkit-border-radius: 0 20px 20px 0;
    -moz-border-radius: 0 20px 20px 0;
    -ms-border-radius: 0 20px 20px 0;
    -o-border-radius: 0 20px 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
    left:-1rem;
}


/**
TOP
*/

.halved-bar {
    padding: 90px 10px;
}

.anon-score-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-size: 1rem;
}

#instructions {
    padding: 40px 0 30px 0;
}

#instructions,
.instructions {
  font-size: 1.1rem;
  text-align: center;
}

#no-clusters-msg {
    display: none;
}

#spinner {
    padding: 30px;
}

#anonymous-none-found {
    flex-direction: column;
}

tbody tr:last-of-type>td:last-of-type {
    word-break: break-word;
}

.tornado-row{
    height: 100%;
}

/**
RESULTS
*/
.fa-question-circle{
    padding-right: 1.5rem;
}
.accordion-collapse{
    width: 100%;
}

/**
/* pagination ---------------------- */

.page-button {
    font-size: 1.5em;
    background-color: transparent;
}

.all-pagination {
    font-size: 0.8rem;
}

.pagination-container {
    justify-content: space-between;
}

.shown {
    display: flex !important;
    visibility: visible !important;
}

.select-page {
    margin: 0px 10px;
    background-color: transparent;
    color: white;
}


/* query info ---------------- */


/* tornado info ------------------ */

.two-tables {
    display: flex;
    margin-top: 10px;
}

.table-title {
    font-size: 0.9em;
    color: var(--tcashgreen);
}

.two-tables>* {
    flex: 1;
}

#tornado-data-cluster {
    display: none;
}

input.form-control.rounded {
    font-size: 1rem;
}


/* results list ------------------ */

.address-row {
  position: relative;
  align-items: center;
}
.row-address{
    align-items:baseline;
}
.address-copy{
    justify-content:space-evenly;
    align-items: center;
}

.list-group {
    padding-left: 15px !important;
}

.list-group-item {
    background-color:transparent !important;
    margin: 0.25rem 0 !important;
    padding-top:1.2rem;
    border-radius: 0 !important;
    -webkit-border-radius: 0 !;
    -moz-border-radius: 0 !;
    -ms-border-radius: 0 !;
    -o-border-radius: 0 !;
    border-right: none !important;
    border-left: none !important;
    border-bottom: none !important;
    border-top: 4px double var(--fadedgrey) !important;
}

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

.list-text{
    text-align: center;
    word-break: break-all;
    margin:1rem 0;
}

.list-copy {
    position: absolute;
    text-align: center;
}

.list-badge{
    padding:0.2rem;
    text-align: center;
    background-color: var(--tcashgreen);
    color: var(--dark);
    border-radius:5px;
    -webkit-border-radius:5px;
    -moz-border-radius:5px;
    -ms-border-radius:5px;
    -o-border-radius:5px;
}

.list-copy{
    top: 0.5rem;
    right: 0;
}

.expand-symbol {
  position: absolute;
  top: 0;
  right: 1rem;
}

.results-section {
    display: flex;
    margin-top: 30px;
    margin-bottom: 32px;
    gap: 30px 0;
}

.tornado-results-section {
    display: flex;
    margin-top: 20px;
    margin-bottom: 30px;
}

.first-part-accordion-header {
    word-wrap: break-word;
}

.etherscan-link {
    display: flex;
    width: 100%;
    justify-content: end;
    padding-right: 10px;
}

.accordion-button:focus {
    outline: 1px solid rgb(173, 118, 0) !important;
}

.copied-badge {
  background-color: transparent;
  border: transparent;
  box-shadow: none;
  text-align: center;
  word-wrap: initial;
  position: absolute;
  top: -20px;
  left: -1rem;
  right: 0;
}

.copy {
    position: relative;
}

.fa-copy {
    text-align: right;
}

.results.loading {
    display: flex;
    justify-content: center;
    padding: 0px;
}

#results-table {
    width: 100%;
}

.result-entry {
    padding: 10px;
    border-width: 0px 0px 1px 0px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    background-color: transparent;
}

.result-entry.selected {
    outline: none;
}

.entry-address {
    white-space: nowrap;
    overflow: hidden;
    display: block;
    text-overflow: ellipsis;
    min-width: 0;
    max-width: 500px;
    margin-right: 20px;
}

.all-input-search {
  margin-right: -15px;
  gap: 1.5rem 0;
}

.entry-entity {
    border-radius: 5px;
    background-color: var(--fadedgreen);
    padding: 5px;
    font-size: 0.8em;
}


/* search options ----------------- */

.accordion-button[aria-expanded="true"] .fa-angle-down {
    transform: rotate(90deg);
    transition: all ease 0.5s;
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
}

.accordion-button .fa-angle-down {
    transition: all ease 0.5s;
}

.dropdown-lever {
    padding-top: 5px;
    border-top: dashed 1px darkgrey;
}

.dropdown-toggle {
    color: white;
    padding: 0.375rem 0.75rem;
    width: 100%;
    border: transparent;
}

.investigate .dropdown-toggle{
    min-height: 100%;
    white-space:normal;
}

.selected-dropdown {
    background-color: var(--tcashgreen);
}

ul.dropdown-menu {
    padding: 10px;
    background-color: #5a5a5a;
    color: white;
    font-size: 0.9em;
}

.dropdown-accordion>button {
    background-color: transparent;
    font-size: 12pt;
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.dropdown .dropdown-menu {
  background-color: #1d2124;
  color: var(--almostwhite);
  overflow-x: hidden;
  padding: 0.5rem 1rem 1rem;
}

.dropdown-menu > .dropdown-item:hover,
.dropdown-menu > .dropdown-item:focus {
  color: #16181b;
}

.dropdown-accordion.accordion-header {
    margin-top: 10px;
}

.dropdown-accordion.accordion-item {
    border-bottom: solid var(--fadedgrey) 1px;
}

.my-input>.input-group-text {
    border-radius: 0;
}

.dropdown-accordion>.my-input>.invalid-feedback {
    margin-left: 10px;
}

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

#filter-dropdown>* {
    margin-bottom: 5px;
}

.clear-filters {
    display: flex;
    justify-content: end;
}

.clear-filters>button.btn {
    font-size: small;
    background-color: transparent;
    color: var(--almostwhite);
}


/* detail page -------------------*/

.detail-page {
    border-radius: 5px;
    width: 100%;
    margin-left: 30px;
    flex: 1;
    padding: 15px;
}

.my-accordion-header {
    font-size: 1rem;
}

.my-accordion-header > button {
  width: 100%;
  padding: 10px;
  background-color: #505050;
}

.my-accordion-body {
    padding: 20px;
}

.drop-info {
    margin-bottom: 1rem;
}

.result-identifier {
    display: none;
}

.detail-row>td {
    color: white;
    border-top: transparent;
}

.col-12 > table > tbody > tr{
    justify-content:flex-start;
}

.col-12 > table > tbody > tr:first-of-type > td:last-of-type{
    word-break: break-all;
    padding: 0 1rem;
}

.col-12 > table > tbody > tr > td:last-of-type{
    margin:0 auto;
}

.col-12 > table > tbody > tr> td:first-of-type{
    padding: 0.5rem 1rem;
}


.col-12 > table > tbody > tr:not(:first-of-type) > td:first-of-type{
    width: 100%;
    display: block;
    padding-top: 0.5rem;
}

tr{
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin-top: 0.2rem;
    background-color: var(--fadedgrey);
}

.tornado-row table > tbody > tr{
    justify-content: space-between;
}

.my-accordion-body .col-12 > table > tbody > tr > td:first-of-type{
    max-width: 140px;
}

.my-accordion-body .col-12 > table > tbody > tr > td:last-of-type{
    margin: 0;
    padding:0 1rem;
}