.container {
    margin-top: 90px;
}

/* Show hand when hovered on tab links */
.nav-link, a.dropdown-item, #propvote-yes, #propvote-no, .propvote-avail {
    cursor: pointer;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: #28a745;
}

/* Custom color of switch */
.custom-control-input:focus ~ 
.custom-control-label::before {
    border-color: #28a745;
    box-shadow: 0 0 0 0rem rgba(0, 0, 0, 0) !important;
}

.custom-control-input:checked ~ 
.custom-control-label::before {
    border-color: #28a745;
    background-color: #28a745;
}

.custom-control-input:active ~ 
.custom-control-label::before {
    background-color: #28a745;
    border-color: #28a745;
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #28a745;
}

a.nav-link {
    color: #28a745;
}

.dblocks-navbar-icon {
    transform: translate(0px, -1.5px);
}

.dblocks-table-inner {
    margin-bottom: 0;
}

.dblocks-acc-det-table {
    margin-bottom: 1.5rem;
}

.card-header {
    padding: 0px 10px;
}

.dblocks-card {
    padding: 5px 15px;
    margin: 10px 0px;
}

.dblocks-card-content {
    margin: 0;
    word-break: break-word;
}

/* .table-supply tr td {
    float: right;
} */

#testnet-heading-badge { display: none; }

#dblocks-props-tbl {
    table-layout: fixed;
}

#dblocks-props-tbl tr td {
    word-wrap: break-word;
}

#nexthf th {
    width: 150px;
}

#acc-notfound, #acc-error, #acc-container, #acc-profile-hive, #acc-leader, #acc-auths-section {
    display: none;
}

#acc-container [id^=acc-profile] img, 
.dblocks-accprice-createaccbtn img,
#content-dtube img {
    float: left;
    width: 25px;
    height: 25px;
}

#acc-profile-dtube,
.dblocks-accprice-createaccbtn,
#content-dtube {
    border-color: #223154;
    background-color: #223154;
}

#acc-profile-hive {
    border-color: #E31337;
    background-color: #E31337;
}

#acc-profile-json { width: 100%; }
#acc-profile-json table { font-size: 12px;}
#acc-meta-master,
#acc-leader-key,
#acc-leader-ws,
#acc-profile-json table tr td,
#blk-container table tr td,
#txn-container table tr td {
    word-break: break-word;
}

#acc-leader table tr th {
    min-width: 100px;
}

#acc-customkey p,
#acc-auth p {
    margin-block-end: 0.5em;
}

table tr th {
    word-break: normal;
}

/* Block details */
#blk-notfound, #blk-error, #blk-container { display: none; }
.blk-head { width: 100%; margin-bottom: 10px; }
.blk-btn-prevnext { float: right; }

/* Txn details */
#txn-notfound, #txn-error, #txn-container { display: none; }
#includedInBlock { margin-bottom: 0; }

/* Contents */
#content-error, #content-notfound, #content-container,
.content-parent, #content-comments { display: none; }
#content-comments table,
#content-votes thead,
#content-votes tbody tr td:nth-child(2),
#content-votes tbody tr td:nth-child(5),
#content-votes tbody tr td:nth-child(6),
#content-votes tbody tr td:nth-child(7),
#content-votes tbody tr td:nth-child(8) { text-align: center; }
#content-votes tbody tr td:nth-child(3),
#content-votes tbody tr td:nth-child(4) { text-align: right; }

/* Playlists */
#playlist-error, #playlist-notfound, #playlist-container,
.playlist-parent, #playlist-comments { display: none; }

/* Proposals */
#prop-notfound, #prop-error, #prop-container { display: none; }
#prop-chain-update table { font-size: 12px; }
.prop-card {
    padding: 15px 20px;
    border-radius: 10px;
}
.prop-card .progress { margin-top: 40px; }
.prop-card-content { margin: 0px; }

/* Leaders */
#leader-error, #leader-container { display: none; }
#leader-table thead { text-align: center; }
#leader-table tbody tr th { text-align: center; }
#leader-table tbody tr td:nth-child(n+3) { text-align: right; }

/* Account Pricing */
.dblocks-accprice { max-width: 700px; }
.dblocks-accprice thead,
.dblocks-accprice tbody tr th { text-align: center; }
.dblocks-accprice tbody tr td { text-align: right; }

/* Richlist */
#richlist-error, #richlist-container { display: none; }
#richlist-table thead,
#richlist-table tbody tr th { text-align: center; }
#richlist-table tbody tr td:nth-child(n+3) { text-align: right; }
#distribution-table thead { text-align: center; }
#distribution-table tbody tr td:nth-child(n+2) { text-align: right; }

/* Live sub count */
.dblocks-live-alert { display: none; }
.dblocks-counter { 
    width: 100%;
    text-align: center;
}
.odometer.odometer-auto-theme, .odometer.odometer-theme-car { zoom: 7; }

.form-inline {
    padding-right: 15px;
}

/* Governance */
#gov-type-dropdown, #gov-status-row {
    display: inline-block;
}

#gov-status-row {
    margin: 0px 15px;
}

#gov-status-row .badge,
#masterdao-status-row .badge {
    margin: 0px 2px;
    cursor: pointer;
}

.gov-card {
    padding: 15px 20px;
    border-radius: 10px;
    width: 550px;
    cursor: pointer;
    text-decoration: none!important;
}

#gov-proposals {
    margin-top: 20px;
    gap: 25px;
}
#gov-proposals .gov-card {
    margin-left: auto;
    margin-right: auto;
}
.gov-card-content { margin: 0px; }
.gov-card-summary { margin: 5px; }
.gov-card-id {
    display: inline-block;
    margin: 0px 10px 0px 0px
}
.gov-card-title {
    margin-block-start: 0.5em;
    margin-bottom: 0em;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.gov-card-threshold-text {
    font-size: 10px;
    word-wrap: normal;
    margin-bottom: 0.25em;
    width: 90px;
    height: 30px;
    line-height: 12px;
    text-align: center;
    position: absolute;
    transform: translate(-40px, -30px);
}
.progress-bar-marker {
    background-color: #212529;
    width: 1px;
    transform: translate(0px, 0px);
}
.gov-card-timetext,
.prop-timetext {
    margin-bottom: 0.25em;
}
[data-theme=dark] .gov-card .progress,
[data-theme=dark] .prop-card .progress {
    background-color: #2b2b2b;
}
[data-theme=dark] .progress-bar-marker { 
    background-color: #ffffff;
}
.newgov-card {
    border-radius: 10px;
    margin: 10px 0px;
}
.newgov-card-body {
    height: 200px;
    margin: 0px;
}
.newgov-card-btn {
    align-self: flex-end;
}
#mdop-notfound, #mdop-error, #mdop-container { display: none; }

/* Key Utils */
.dblocks-authority-names { max-width: 350px; }
.dblocks-authority-names thead,
.dblocks-authority-names tbody tr th { text-align: center; }

/* Memos */
#memo-proceed { display: none; }
#memo-result { word-wrap: break-word; }

/* Toasts */
.dblocks-toaster-error .toast-header {
    background-color: #ff3333;
    color: white;
}
.dblocks-toaster-success .toast-header {
    background-color: #28a745;
    color: white;
}
.dblocks-toaster-success .toast-header .close,
.dblocks-toaster-error .toast-header .close { color: white; }
.toast .toast-body { color: black; }

/* MOBILE DEVICES */
@media screen and (max-width: 1200px) {
    .gov-card { width: 460px; }
}
@media screen and (max-width: 991px) {
    .gov-card { width: 100%; }
}
@media screen and (max-width: 768px) {
    .odometer.odometer-auto-theme, .odometer.odometer-theme-car { zoom: 6; }
}

@media screen and (max-width: 500px) {
    .odometer.odometer-auto-theme, .odometer.odometer-theme-car { zoom: 5; }
}

@media screen and (max-width: 420px) {
    .odometer.odometer-auto-theme, .odometer.odometer-theme-car { zoom: 4; }
}

@media screen and (max-width: 350px) {
    .odometer.odometer-auto-theme, .odometer.odometer-theme-car { zoom: 3; }
}