body {
    display: flex;
    flex-direction: column;
}

.ui.text.container {
    margin-top: 7em;
}

.main.container {
    margin-top: 7em;
    flex-grow: 1;
}

.ui.footer.segment {
    margin: 5em 0em 0em;
    padding: 5em 0em;
}

.blockid {
    display: table-cell;
    margin: auto;
}

.block-table {
    margin-top: 1em;
}

div.block-table div.spacer-row:last-child {
    display: none;
}

table.evtable {
    width: 100% !important;
    }

tr.evtable td {
    border-top: 1px solid rgba(34,36,38,0.1) !important;
    }
tr.evtable:first-child td {
    border-top: unset !important;
    }
td.evtable {
    background: none !important;
    font-weight: normal !important;
    padding: unset !important;

    }

td {
    vertical-align: middle;
}

.leaf-cell-td {
    max-width: 200px;
}
.leaf-cell-div {
    overflow-x: auto;
}

div.header-row {
    border-top: 1px solid rgba(34, 36, 38, 0.1);
    border-bottom: 1px solid rgba(34, 36, 38, 0.1);
    border-left: 1px solid rgba(34, 36, 38, 0.1);
    border-right: 1px solid rgba(34, 36, 38, 0.1);
    display: flex;
}

div.block-row {
    border-top: 1px solid rgba(34, 36, 38, 0.1);
    border-bottom: 1px solid rgba(34, 36, 38, 0.1);
    border-left: 1px solid rgba(34, 36, 38, 0.1);
    border-right: 1px solid rgba(34, 36, 38, 0.1);
    display: flex;
    animation-name: row-slide-in;
    animation-duration: 2s;
    overflow-y: hidden;
}

@keyframes row-slide-in {
    0% { max-height: 0; }
    100% { max-height: 200px; }
}

div.block-row:last-child {
    border-bottom: 1px solid rgba(34, 36, 38, 0.1);
}

.block-height {
    flex: 0 0 80px;
}

span.block-height {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;

    padding: 5px;
    background: rgba(0,0,0,.03);
    font-weight: bold;
    border-left: 0!important;
}

span.table-header {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;

    width: 104px;
    border-left: 1px solid rgba(34, 36, 38, 0.1);
    padding: 5px;
    font-weight: bold;
    text-align: center;
}

span.summary-details {
    display: flex;
    justify-content: center;
    align-content: center;
    flex-direction: column;

    width: 104px;
    border-left: 1px solid rgba(34, 36, 38, 0.1);
    padding: 0;
    margin: 0;
}

span.hovered-block {
    background-color: rgba(0,0,0,0.05);
}

div.summary-inner {
    padding: 5px;
    animation-name: my-block-fade-in;
    animation-duration: 1.5s;
    animation-timing-function: ease-in-out;
}

@keyframes my-block-fade-in {
    0% { background-color:  #ffffe0; }
    100% { background-color: white; }
}

.blockshape {
    background: #e0e1e2 none;
    padding: 5px;
}

.custombreak {
    white-space: pre-wrap;       /* Since CSS 2.1 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

.search__dropdown {
    border-top-right-radius: 0!important;
    border-bottom-right-radius: 0!important;
    -moz-border-top-right-radius: 0!important;
    -moz-border-bottom-right-radius: 0!important;
    -webkit-border-top-right-radius: 0!important;
    -webkit-border-bottom-right-radius: 0!important;

    border-right: none!important;
    box-shadow: none!important;
    -webkit-box-shadow: none!important;
}

.pagination .item {
    cursor: pointer;
}

.pagination .disabled.item {
    cursor: auto;
}

.selectable-row:hover {
    background: rgba(0,0,0,.05)!important;
    color: rgba(0,0,0,.95)!important;
}
.cut-text {
    text-overflow: ellipsis;
    overflow: hidden;
    padding: 7px;
    white-space: nowrap;
}

.bubble-tag {
  display: inline-block;
  max-width: 100%;
  border-radius: 20px;
  background-color: #ccc;
  padding: 0px 5px;
  margin-right: 5px;
  background-image: linear-gradient(to bottom, #fff 0%, #e9e9e9 100%);
  box-shadow: 0px 2px 3px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out,
              box-shadow 0.2s ease-in-out;
  font-weight: bold;
}

.bubble-tag:hover {
    transform: translateY(-3px);
    box-shadow: 0px 5px 10px rgba(0,0,0,0.3);
}

.token-amount-incoming {
    color: #1a8d35;
}

.token-amount-outgoing {
    color: #911c1c;
}

.token-amount-unknown {
    color: #afafaf;
}

.token-amount {
    font-weight: bold;
    font-family: monospace;
    width: 0px;
}

.token-amount-decimal {
    vertical-align: baseline;
    font-size: 0.8em;
    line-height: 0.8em;
}
