/* Cogwheel: plain, the way sites looked around 2013. Helvetica, grey bars, blue links, boxes and striped tables. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.42857; color: #333; background: #fff; }
a { color: #337ab7; text-decoration: none; }
a:hover, a:focus { color: #23527c; text-decoration: underline; }
img { vertical-align: middle; border: 0; }
h1, h2, h3, h4 { font-family: inherit; font-weight: 500; line-height: 1.1; color: inherit; margin: 20px 0 10px; }
h1 { font-size: 36px; } h2 { font-size: 30px; } h3 { font-size: 24px; } h4 { font-size: 18px; }
p { margin: 0 0 10px; }
small, .small { font-size: 85%; }
hr { margin: 20px 0; border: 0; border-top: 1px solid #eee; }
code, .mono { font-family: Menlo, Monaco, Consolas, "Courier New", monospace; }
code { padding: 2px 4px; font-size: 90%; color: #c7254e; background: #f9f2f4; border-radius: 4px; word-break: break-all; }
.text-muted { color: #777; }
.text-success { color: #3c763d; }
.text-danger { color: #a94442; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.lead { font-size: 18px; font-weight: 300; line-height: 1.4; margin-bottom: 20px; }

.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.main { padding-top: 20px; padding-bottom: 30px; min-height: 60vh; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.row > [class^="col-"] { padding: 0 15px; }
.col-3 { width: 25%; } .col-4 { width: 33.3333%; } .col-6 { width: 50%; } .col-8 { width: 66.6667%; } .col-12 { width: 100%; }


/* navbar */
.navbar { background: #f8f8f8; border-bottom: 1px solid #e7e7e7; min-height: 50px; }
.navbar .container { display: flex; align-items: center; flex-wrap: wrap; }
.navbar-brand { font-size: 18px; line-height: 20px; padding: 15px 15px 15px 0; color: #333; font-weight: bold; }
.navbar-brand:hover { color: #000; text-decoration: none; }
.navbar-brand img { margin: -3px 4px 0 0; }
.nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.nav li a { display: block; padding: 15px; line-height: 20px; color: #777; }
.nav li a:hover { color: #333; text-decoration: none; }
.nav li.active a { color: #555; background: #e7e7e7; }
.nav-right { margin-left: auto; color: #777; padding: 15px 0; }

/* jumbotron */
.jumbotron { background: #eee; border-radius: 6px; padding: 40px 48px; margin-bottom: 30px; }
.jumbotron h1 { font-size: 52px; margin-top: 0; }
.jumbotron h2.tagline { font-size: 28px; margin: -4px 0 20px; color: #555; }
.jumbotron p { font-size: 20px; font-weight: 200; margin-bottom: 15px; }
.jumbotron p.small { font-size: 14px; font-weight: normal; }

/* buttons */
.btn { display: inline-block; padding: 6px 12px; margin-bottom: 0; font-size: 14px; font-weight: normal; line-height: 1.42857; text-align: center; white-space: nowrap; vertical-align: middle; cursor: pointer; border: 1px solid #ccc; border-radius: 4px; user-select: none; background: #fff; color: #333; font-family: inherit; }
.btn:hover, .btn:focus { background: #e6e6e6; border-color: #adadad; text-decoration: none; color: #333; }
.btn-primary { color: #fff; background: #337ab7; border-color: #2e6da4; }
.btn-primary:hover, .btn-primary:focus { color: #fff; background: #286090; border-color: #204d74; }
.btn-success { color: #fff; background: #5cb85c; border-color: #4cae4c; }
.btn-success:hover, .btn-success:focus { color: #fff; background: #449d44; border-color: #398439; }
.btn-danger { color: #fff; background: #d9534f; border-color: #d43f3a; }
.btn-danger:hover { color: #fff; background: #c9302c; border-color: #ac2925; }
.btn-lg { padding: 10px 16px; font-size: 18px; line-height: 1.33; border-radius: 6px; }
.btn-sm { padding: 5px 10px; font-size: 12px; line-height: 1.5; border-radius: 3px; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { cursor: not-allowed; opacity: .65; }

/* panels */
.panel { margin-bottom: 20px; background: #fff; border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 1px 1px rgba(0, 0, 0, .05); }
.panel-heading { padding: 10px 15px; border-bottom: 1px solid #ddd; background: #f5f5f5; color: #333; border-radius: 3px 3px 0 0; }
.panel-title { margin: 0; font-size: 16px; }
.panel-body { padding: 15px; }
.panel-body > p:last-child { margin-bottom: 0; }
.panel-footer { padding: 10px 15px; background: #f5f5f5; border-top: 1px solid #ddd; border-radius: 0 0 3px 3px; }
.panel-primary { border-color: #337ab7; } .panel-primary > .panel-heading { color: #fff; background: #337ab7; border-color: #337ab7; }
.panel-success { border-color: #d6e9c6; } .panel-success > .panel-heading { color: #3c763d; background: #dff0d8; border-color: #d6e9c6; }
.panel-danger { border-color: #ebccd1; } .panel-danger > .panel-heading { color: #a94442; background: #f2dede; border-color: #ebccd1; }
.panel-warning { border-color: #faebcc; } .panel-warning > .panel-heading { color: #8a6d3b; background: #fcf8e3; border-color: #faebcc; }
.panel > .table { margin-bottom: 0; }
.panel > .table tr:first-child th, .panel > .table tr:first-child td { border-top: 0; }

/* the big numbers */
.big { font-size: 30px; font-weight: bold; line-height: 1.2; }
.stat-label { color: #777; font-size: 13px; }

/* tables */
.table { width: 100%; max-width: 100%; margin-bottom: 20px; border-collapse: collapse; border-spacing: 0; }
.table th, .table td { padding: 8px; line-height: 1.42857; vertical-align: top; border-top: 1px solid #ddd; text-align: left; }
.table thead th { vertical-align: bottom; border-bottom: 2px solid #ddd; border-top: 0; }
.table-striped tbody tr:nth-of-type(odd) { background: #f9f9f9; }
.table-hover tbody tr:hover { background: #f5f5f5; }
.table-condensed th, .table-condensed td { padding: 5px; }
.table .num { text-align: right; white-space: nowrap; }
.table-responsive { overflow-x: auto; }
.token-img { width: 24px; height: 24px; border-radius: 3px; margin-right: 6px; border: 1px solid #ddd; object-fit: cover; background: #f5f5f5; }
.token-img-lg { width: 96px; height: 96px; border-radius: 6px; border: 1px solid #ddd; object-fit: cover; background: #f5f5f5; }

/* labels */
.label { display: inline; padding: .2em .6em .3em; font-size: 75%; font-weight: bold; line-height: 1; color: #fff; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: .25em; }
.label-default { background: #777; } .label-primary { background: #337ab7; } .label-success { background: #5cb85c; }
.label-info { background: #5bc0de; } .label-warning { background: #f0ad4e; } .label-danger { background: #d9534f; }

/* alerts, wells */
.alert { padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px; }
.alert-success { color: #3c763d; background: #dff0d8; border-color: #d6e9c6; }
.alert-info { color: #31708f; background: #d9edf7; border-color: #bce8f1; }
.alert-warning { color: #8a6d3b; background: #fcf8e3; border-color: #faebcc; }
.alert-danger { color: #a94442; background: #f2dede; border-color: #ebccd1; }
.well { min-height: 20px; padding: 19px; margin-bottom: 20px; background: #f5f5f5; border: 1px solid #e3e3e3; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05); }

/* progress */
.progress { height: 20px; margin-bottom: 0; overflow: hidden; background: #f5f5f5; border-radius: 4px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); display: flex; }
.progress-bar { height: 100%; font-size: 12px; line-height: 20px; color: #fff; text-align: center; background: #337ab7; white-space: nowrap; overflow: hidden; }
.progress-bar-danger { background: #d9534f; } .progress-bar-success { background: #5cb85c; } .progress-bar-warning { background: #f0ad4e; } .progress-bar-default { background: #999; }

/* forms */
.form-group { margin-bottom: 15px; }
label { display: inline-block; max-width: 100%; margin-bottom: 5px; font-weight: bold; }
.form-control { display: block; width: 100%; height: 34px; padding: 6px 12px; font-size: 14px; line-height: 1.42857; color: #555; background: #fff; border: 1px solid #ccc; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; font-family: inherit; }
.form-control:focus { border-color: #66afe9; outline: 0; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6); }
textarea.form-control { height: auto; }
.help-block { display: block; margin-top: 5px; margin-bottom: 10px; color: #737373; font-weight: normal; font-size: 13px; }
.input-group { display: flex; }
.input-group .form-control { border-radius: 0 4px 4px 0; }
.input-group-addon { padding: 6px 12px; font-size: 14px; color: #555; background: #eee; border: 1px solid #ccc; border-right: 0; border-radius: 4px 0 0 4px; white-space: nowrap; }
.input-group.right .form-control { border-radius: 4px 0 0 4px; }
.input-group.right .input-group-addon { border-right: 1px solid #ccc; border-left: 0; border-radius: 0 4px 4px 0; }
.preview-img { width: 64px; height: 64px; border: 1px solid #ddd; border-radius: 4px; object-fit: cover; display: none; margin-top: 8px; }

/* steps while launching */
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { padding: 6px 0; color: #999; }
.steps li.on { color: #337ab7; font-weight: bold; }
.steps li.done { color: #3c763d; }
.steps li.fail { color: #a94442; font-weight: bold; }
.steps li::before { content: '\25CB  '; }
.steps li.on::before { content: '\25B6  '; }
.steps li.done::before { content: '\2714  '; }
.steps li.fail::before { content: '\2716  '; }

.footer { border-top: 1px solid #e5e5e5; padding: 25px 0 15px; color: #777; background: #f5f5f5; margin-top: 30px; }
.footer p { margin-bottom: 6px; }
.dl-horizontal { margin: 0; }
.dl-horizontal dt { float: left; width: 170px; clear: left; text-align: right; font-weight: bold; padding: 4px 0; }
.dl-horizontal dd { margin-left: 190px; padding: 4px 0; word-break: break-all; }
.dl-horizontal::after { content: ''; display: table; clear: both; }

@media (max-width: 767px) {
  .row > [class^="col-"] { width: 100%; }
  .jumbotron { padding: 25px 20px; }
  .jumbotron h1 { font-size: 34px; }
  .jumbotron h2.tagline { font-size: 22px; }
  .jumbotron p { font-size: 17px; }
  .nav li a { padding: 10px 10px; }
  .nav-right { display: none; }
  .dl-horizontal dt { float: none; width: auto; text-align: left; padding-bottom: 0; }
  .dl-horizontal dd { margin-left: 0; }
  .big { font-size: 24px; }
}
.panel > .table td:first-child { width: 64px; white-space: nowrap; }
input[type="file"] { display: block; }
#burns td:first-child { width: 80px; }
.btn-group { display: inline-flex; }
.btn-group .btn + .btn { margin-left: -1px; }
.btn-group .btn:not(:first-child) { border-top-left-radius: 0; border-bottom-left-radius: 0; }
.btn-group .btn:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.table-bordered { border: 1px solid #ddd; }
.table-bordered th, .table-bordered td { border: 1px solid #ddd; }
.col-8 h2 { scroll-margin-top: 10px; }
.col-5th { width: 20%; padding: 0 15px; }
@media (max-width: 767px) { .col-5th { width: 50%; } }
h1 small, h2 small, h3 small, h4 small { font-size: 65%; font-weight: normal; color: #777; }
/* live: what changed lights up yellow for a moment (the classic yellow fade) */
@keyframes flash { 0% { background-color: #fff3a8; } 100% { background-color: transparent; } }
.flash { animation: flash 1.8s ease-out; border-radius: 3px; }
tr.flash > td, tr.flash-new > td { animation: flash 2.4s ease-out; }
.live { margin-left: auto; color: #3c763d; font-size: 12px; padding: 15px 0; white-space: nowrap; }
.live + .nav-right { margin-left: 15px; }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #5cb85c; margin-right: 4px; vertical-align: 0; animation: blink 2s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@media (max-width: 767px) { .live { display: none; } }
.fee-pick { flex-wrap: wrap; }
.fee-pick .btn { min-width: 74px; }
.fee-pick .btn small { opacity: .75; }
/* token launches open after $COGWHEEL migrates: the body class says which; common.js flips it live */
.launches-open .launch-closed-only { display: none !important; }
.launches-closed .launch-only, .launches-closed .launch-only a, .launches-closed .nav li.launch-only a { color: #bbb !important; cursor: not-allowed; text-decoration: none !important; }
.launches-closed .nav li.launch-only a:hover { background: none; }
.launches-closed .btn.launch-only { background: #eee !important; border-color: #ddd !important; color: #aaa !important; box-shadow: none; }
/* before $COGWHEEL migrates, the paired-tokens panel is greyed out */
.launches-closed .pairs-panel { border-color: #ddd; }
.launches-closed .pairs-panel > .panel-heading { background: #f5f5f5; color: #999; border-color: #ddd; }
.launches-closed .pairs-panel td { color: #999; }
.launches-closed .pairs-panel .label { background: #bbb; }
