body {
    background: #fff;
    color: #333;
    font-family: 'Play', sans-serif;
    font-size: 16px;
}
@media screen and (max-width: 720px) {
    body {
        font-size: 15px;
    }
}

.container {
    padding: 0 15px;
    margin-bottom: 20px;
}

@media screen and (max-width: 640px) {
    .row {
        margin-left: 0;
        margin-right: 0;
    }
    .col-xs-3,
    .col-xs-9,
    .col-md-2,
    .col-md-3,
    .col-md-4,
    .col-md-6,
    .col-md-7,
    .col-md-8,
    .col-md-9,
    .col-md-10,
    .col-md-12 {
        padding-left: 0;
        padding-right: 0;
    }
}

h1, h2, h3, h4 {
    font-family: 'Play', sans-serif;
    padding: 0;
    margin: 0;
    text-transform: uppercase;
}
h1 {
    font-size: 2.2em;
}
h2 {
    font-size: 2em;
}
h3, h4 {
    font-size: 1.2em;
    font-weight: bold;
}

.tos h1, .privacy h1 {
    font-size: 2em;
}
.tos h2, .privacy h2 {
    font-size: 1.8em;
}
.tos h3, .privacy h3 {
    font-size: 1.4em;
    font-weight: normal;
}

h3.node-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
    h3.node-header a {
        overflow-wrap: anywhere;
    }

p {
    line-height: 1.5em;
}
p.header {
    line-height: normal;
    margin-bottom: 0;
}
p.location {
    margin-top: 10px;
}
    img.flag {
        height: 17px;
        vertical-align: text-bottom;
    }
p.long {
    overflow-wrap: break-word;
}
p a.donate {
    font-weight: bold;
}

div.user-info {
    text-align: right;
    margin-top: 10px;
}
form#logout {
    display: inline-block;
}
form#logout button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    text-decoration: none;
    color: #26597b;
    cursor: pointer;
}
form#logout button:hover {
    text-decoration: underline;
}

#header-ads, #footer-ads {
    background: #f9f9f9;
}
#header-ads {
    min-height: 280px;
    margin-bottom: 20px;
}
#footer-ads {
    display: none;
    min-height: 280px;
    margin-top: 10px;
    margin-bottom: 20px;
}
@media screen and (max-width: 1024px) {
    #footer-ads {
        display: block;
    }
}
@media screen and (max-width: 480px) {
    #header-ads, #footer-ads {
        min-height: 353px;
    }
}

.logo {
    background: url(/static/img/bitnodes.png) no-repeat;
    background-size: contain;
    width: 195px;
    height: 22px;
    display: block;
    text-indent: -9999px;
    margin-top: 40px;
    margin-bottom: 3px;
    overflow: hidden;
}
@media screen and (max-width: 800px) {
    .logo {
        margin-top: 30px;
    }
}

a {
    color: #26597b;
    text-decoration: none;
}
h3 a, ul.nav-tabs a {
    color: #2c3e50;
}

a.node-address, a.tx {
    word-break: break-all;
}
a.lg-node-address {
    display: inline-block;
    overflow-wrap: break-word;
    max-width: 250px;
}

span.node-user-agent {
    display: inline-block;
    overflow-wrap: break-word;
    max-width: 250px;
}

pre {
    overflow: auto;
    word-wrap: normal;
    white-space: pre;
    font-size: 1em;
    line-height: 1.6em;
    color: #111;
    background: #fff;
}
pre.last {
    margin-bottom: 20px;
}
pre.api-key {
    margin: 10px 0;
}

code {
    background: none;
    color: #333;
}

form ul {
    list-style-type: none;
    margin-block-start: 0;
    padding-inline-start: 0;
    text-align: center;
}

.form-control {
    font-size: 1em;
}

.help-block {
    display: block;
    margin: 0;
}

.help-block ul {
    text-align: left;
}

.btn {
    text-shadow: 0 0 5px #999;
    background: #3c4e70;
    border: 1px solid #2c3e50;
    font-weight: bold;
}
.btn:hover {
    border: 1px solid #2c3e50;
}
.btn:focus,
.btn:active,
.btn:active:focus {
    background: #2c3e50;
    border: 1px solid #2c3e50;
    outline: none;
}
.btn[disabled],
.btn[disabled]:hover {
    text-shadow: none;
    background: #fff;
    border: 1px solid #ddd;
    color: #999;
    opacity: 1;
}
.input-group-btn:last-child > .btn {
    margin-left: 0;
}
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
    border-right: 0;
}
.btn-group > .btn:hover,
.btn-group > .btn:active,
.btn-group > .btn:focus,
.btn-group > .btn:active:focus {
    z-index: 0;
}
.btn-group.pull-right {
    margin-left: 5px;
}

.btn, .btn-sm {
    font-size: 1em;
}

.input-group-btn .btn-sm {
    font-size: 14px;
}

.alert {
    border-color: #eee;
}
#check-node-status {
    display: none;
}
#check-node-status.alert-success a {
    color: #3c763d;
}

.chart {
    position: relative;
}
.annotated-chart {
    padding-top: 2.4em;
}
.annotation {
    position: absolute;
    top: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: .3em;
    padding: .3em .5em;
}
    @media screen and (min-width: 640px) {
        .asn-data .annotation {
            right: 15px;
        }
    }
.value {
    color: #333;
    margin-right: .5em;
}
.value:last-child {
    margin-right: 0;
}

.asn-data p {
    width: 70%;
}

.pulse {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 5px;
    border-radius: 50%;
}
.no-pulse-danger {
    background: #de4460;
}
.pulse-danger {
    background: #de4460;
    animation: pulse-danger .8s ease-out;
    animation-iteration-count: infinite;
}
@keyframes pulse-danger {
    0% {box-shadow: #de446a 0 0 0 0;} 60% {box-shadow: #de446a00 0 0 0 10px;}
}
.no-pulse-warning {
    background: #4964ff;
}
.pulse-warning {
    background: #4964ff;
    animation: pulse-warning .8s ease-out;
    animation-delay: .2s;
    animation-iteration-count: infinite;
}
@keyframes pulse-warning {
    0% {box-shadow: #4964ff 0 0 0 0;} 40% {box-shadow: #4964ff00 0 0 0 10px;}
}

@media screen and (max-width: 640px) {
    img.bgp-hijack {
        width: 100%;
    }
}

.field {
    color: #555;
    font-size: .9em;
    text-transform: uppercase;
}
#latency-series > a {
    font-weight: bold;
    text-decoration: none;
}
    #latency-series > a.active {
        color: #333;
    }

#nodes-chart, #availability-chart, #user-agents-chart, #asns-chart, #countries-chart, #heights-chart, #services-chart, #versions-chart, #transactions-chart, #blocks-chart, #speed-chart, #cities-chart, #ports-chart {
    max-width: 1280px;
    height: 420px;
}
#latency-chart {
    height: 180px;
}
#tps-chart {
    height: 60px;
}
#mempool-chart {
    height: 140px;
}
.asn-chart {
    max-width: 1280px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#addr-monitor {
    position: relative;
    width: 100%;
    min-height: 210px;
    border: 1px solid #ddd;
    border-radius: .3em;
    margin-bottom: 10px;
    padding-top: 10px;
}
    #addr-monitor .annotation {
        border: 0;
    }
.addr-monitor-ticks {
    text-align: left;
    line-height: 0;
    font-size: .7em;
}
    .addr-monitor-ticks:last-child {
        margin-bottom: 10px;
    }
.addr-monitor-ticks .tick {
    display: inline-block;
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    width: 8.33%;
    text-align: center;
}
    .tick.active {
        color: #2c3e50;
    }
    .tick.inactive {
        color: #a94442;
    }
    .tick > .time {
        margin-left: 3px;
    }
    @media screen and (max-width: 1024px) {
        .tick > .time {
            display: none;
        }
    }

#tps {
    cursor: pointer;
}

#mempool-txs {
    margin-bottom: 20px;
}
    #mempool-txs a {
        display: inline-block;
        position: relative;
        padding-top: 10px;
        padding-bottom: 10px;
        border-left: 1px solid #5c5c5c;
        width: 6.25%;
        text-align: center;
        text-decoration: none;
    }
        #mempool-txs code {
            color: #333;
            font-family: 'Play', sans-serif;
            font-size: .9em;
        }
        #mempool-txs a:hover {
            color: #333;
            text-decoration: underline;
        }
        #mempool-txs a .bytes {
            display: block;
            position: absolute;
            bottom: 0;
            left: 0;
            background: #333;
            height: 2px;
        }
@media screen and (max-width: 1440px) {
    #mempool-txs a {
        width: 10%;
    }
}
@media screen and (max-width: 768px) {
    #mempool-txs a {
        width: 12.5%;
    }
}
@media screen and (max-width: 640px) {
    #mempool-txs a {
        width: 20%;
    }
}
@media screen and (max-width: 480px) {
    #mempool-txs a {
        width: 25%;
    }
}

#blocks {
    margin-bottom: 20px;
}
.block {
    width: 50%;
    display: inline-block;
    background: #e2ecf6;
    text-align: center;
    border: 1px dashed #cad4de;
    padding: 15px;
}
    .block .row {
        margin: 0;
    }
    .block code {
        display: block;
        border-top: 1px solid #cad4de;
        border-radius: 0;
        font-size: .8em;
        padding: 5px 0 0;
        margin-top: 5px;
    }
        .block code:last-child {
            border-top: 0;
            padding-top: 2px;
            margin-top: 0;
        }
    .block p.field {
        margin-bottom: 0;
    }
@media screen and (max-width: 1200px) {
    .block {
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    #blocks {
        margin-bottom: 0;
    }
    .block {
        width: 100%;
        background: none;
        border: 0;
    }
}

span.label {
    font-size: 1.2em;
    font-weight: bold;
}
span.label .fa {
    color: #333;
}
span.text-muted .fa {
    color: #eee;
}
span.label-default {
    color: #fff;
    background: #333;
}

pre span.label {
    font-family: 'Play', sans-serif;
    font-size: 1em;
}

.table-striped > tbody > tr:nth-child(odd) > td, .table-striped > tbody > tr:nth-child(odd) > th {
    background: #f9fbfc;
}
.table-hover > tbody > tr:hover > td {
    background: #f0f4f6;
}
td {
    vertical-align: top;
}
.table > tbody > tr > td.disclaimer {
    border-top: 0;
    padding-bottom: 0;
}
table.status-messages > tbody > tr > td {
    padding-left: 0;
}

.paginator {
    font-family: 'Play', sans-serif;
    font-size: 1em;
    text-align: center;
}
.paginator a {
    font-weight: bold;
    text-transform: uppercase;
}
p.paginator:nth-child(1) {
    margin-bottom: 20px;
}

span.zero {
    color: #aaa;
}

#map-canvas {
    border: 1px solid #ddd;
    box-sizing: border-box;
    min-width: 240px;
    height: 480px;
    margin-bottom: 5px;
}

.container-fluid {
    line-height: 1.8em;
}

ul {
    margin: 0;
}

.big.row {
    padding-top: 10px;
}
.big h3 {
    color: #333;
    font-size: 1.6em;
    font-weight: normal;
    text-transform: none;
    overflow-wrap: break-word;
}
.big h3 a {
    color: #26597b;
}
.big h4 {
    color: #333;
    font-size: 1.2em;
    text-transform: none;
    margin-top: .5em;
}
.big h4:nth-child(1) {
    margin-top: 0;
}

.close {
    margin-top: -3px;
}
.close:active {
    outline: none;
}

.social-buttons a {
    margin-right: .65em;
    transition: all .2s ease-in;
}
.social-buttons a:last-child {
    margin-right: 0;
}

.divider {
    border-left: 1px solid #eee;
    width: 1px;
    height: 4em;
    margin: 0 2.4em;
}
td.big .divider {
    height: 3em;
}
@media screen and (max-width: 480px) {
    .divider {
        margin: 0 1.2em;
    }
    @media screen and (max-width: 320px) {
        .divider {
            border: 0;
            margin: 0 1em;
        }
    }
}

.delimiter {
    margin: 0 .4em;
}

.installer {
    text-align: center;
    background: #f8f8f8;
    border: 1px solid #efefee;
    border-radius: 4px;
    padding: 30px;
    margin-bottom: 20px;
}
    .installer p {
        margin: 0 0 5px;
    }
    .installer code {
        font-size: 1em;
        font-weight: bold;
    }

.progress {
    height: 5px;
    border-radius: 0;
    margin-top: 5px;
    margin-bottom: 0;
    background: #f8f8f8;
}
.progress-bar {
    background: #2c3e50;
    opacity: .2;
}
.progress-bar.fill {
    background: #2c3e50;
    opacity: .6;
}

.json-viewer {
    color: #333;
    padding-left: 20px;
}

.json-viewer ul {
    list-style-type: none;
    margin: 0 0 0 1px;
    border-left: 1px dotted #ccc;
    padding-left: 2em;
}

.json-viewer .hide {
    display: none;
}

.json-viewer .type-string {
    color: #0b7500;
}

.json-viewer .type-date {
    color: #cb7500;
}

.json-viewer .type-boolean {
    color: #1a01cc;
    font-weight: bold;
}

.json-viewer .type-number {
    color: #1a01cc;
}

.json-viewer .type-null, .json-viewer .type-undefined {
    color: #90a;
}

.json-viewer a.list-link {
    cursor: pointer;
    color: #333;
    text-decoration: none;
    position: relative;
}

.json-viewer a.list-link:before {
    color: #666;
    content: "\25BC";
    position: absolute;
    display: inline-block;
    width: 1em;
    left: -1em;
}

.json-viewer a.list-link.collapsed:before {
    content: "\25B6";
}

.json-viewer a.list-link.empty:before {
    content: "";
}

.json-viewer .items-ph {
    color: #26597b;
    padding: 0 1em;
}

.json-viewer .items-ph:hover {
    text-decoration: underline;
}

.qrcode {
    display: inline-block;
    background: #fff;
    border: 1px solid #000;
    padding: 3px;
    width: 136px;
    height: 136px;
}
.qrcode-footer {
    width: 100%;
    overflow-wrap: break-word;
    line-height: 1em;
}

.theme-setting {
    opacity: .9;
}

.theme-setting label, .theme-setting label:hover, .theme-setting label:active {
    color: #333;
    font-size: .7em;
    text-transform: uppercase;
    background-color: #fff;
    border: 1px solid #ccc;
    text-shadow: none;
    box-shadow: none;
}

.theme-setting label:hover {
    color: #26597b;
}

.theme-setting label.active {
    box-shadow: none;
}

.theme-setting i {
    color: #333;
}

.theme-setting label:hover i {
    color: #26597b;
}

.table-condensed.total-nodes {
    margin-bottom: 10px;
}
.table-condensed.total-nodes>tbody>tr>td {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}
@media screen and (max-width: 300px) {
    .table-condensed.total-nodes>tbody>tr>td:last-child {
        display: none;
    }
}

/* mobile nav override */

#nav-toggle span {
    background: #333;
}
#nav-toggle input:checked ~ span {
    background: #2c3e50;
}
#nav-links {
    border: 1px solid #ddd;
    background: #f9f9f9;
}
