/* Petition: plain, the way sites looked around 2011. Helvetica, a grey navbar, boxes, striped tables, blue links. */
* { 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: #0168fc; text-decoration: none; }
a:hover, a:focus { color: #0049ad; 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; }
h1 small, h2 small, h3 small { font-size: 65%; font-weight: normal; color: #777; }
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-center { text-align: center; }
.pull-right { float: right; }
[hidden] { display: none !important; }

.container { max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.main { padding-top: 10px; 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-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 6px 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; }
.live { margin-left: auto; color: #3c763d; font-size: 12px; padding: 15px 0; white-space: nowrap; }
.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; } }

/* title */
.page-header { padding-bottom: 9px; margin: 20px 0 20px; border-bottom: 1px solid #eee; }
.page-header h1 { margin: 0 0 8px; }
.page-header h1 img { margin: -6px 10px 0 0; }
.meta { color: #777; margin: 0; }

/* 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: #0168fc; border-color: #015ee3; }
.btn-primary:hover, .btn-primary:focus { color: #fff; background: #0157d1; border-color: #0049ad; }
.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; }
.btn.active { background: #e6e6e6; border-color: #adadad; box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); }
.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; }
.btn-x { color: #fff; background: #222; border-color: #111; }
.btn-x:hover, .btn-x:focus { color: #fff; background: #000; border-color: #000; }

/* 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: #0168fc; } .panel-primary > .panel-heading { color: #fff; background: #0168fc; border-color: #0168fc; }
.panel > .table { margin-bottom: 0; }
.panel > .table tr:first-child td { border-top: 0; }

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

/* progress */
.progress { height: 20px; margin: 8px 0 4px; 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: #0168fc; white-space: nowrap; overflow: hidden; transition: width .6s ease; min-width: 2px; }
.progress-bar-striped { background-image: linear-gradient(45deg, rgba(255, 255, 255, .15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .15) 50%, rgba(255, 255, 255, .15) 75%, transparent 75%, transparent); background-size: 40px 40px; }

/* 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: middle; 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-condensed th, .table-condensed td { padding: 5px 8px; }
.table .num { text-align: right; white-space: nowrap; }
.table-responsive { overflow-x: auto; }

/* 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: #999; } .label-primary { background: #0168fc; } .label-success { background: #5cb85c; }
a.label:hover { color: #fff; text-decoration: none; opacity: .9; }

/* alerts */
.alert { padding: 12px 15px; margin-bottom: 15px; 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; }
.alert a { font-weight: bold; }
.alert-success a { color: #2b542c; } .alert-info a { color: #245269; } .alert-danger a { color: #843534; }

/* forms */
.form-group { margin-bottom: 15px; }
label { display: block; max-width: 100%; margin-bottom: 5px; font-weight: bold; }
label a { font-weight: normal; }
.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); }
.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; }
.help-block { display: block; margin-top: 5px; margin-bottom: 10px; color: #737373; font-weight: normal; font-size: 13px; }

/* the petition text */
.petition { font-family: Georgia, "Times New Roman", serif; font-size: 16px; line-height: 1.6; color: #222; }
.petition p { margin-bottom: 14px; }
.petition ol, .petition ul { margin: 0 0 14px; padding-left: 26px; }
.petition li { margin-bottom: 6px; }
.petition h4 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: bold; font-size: 16px; margin: 22px 0 8px; }
.petition .ask { background: #f5f8fc; border-left: 4px solid #0168fc; padding: 12px 16px 2px; margin: 0 0 16px; }
.petition-to { color: #555; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; }

/* the signature pad */
.pad { position: relative; border: 1px solid #ccc; border-radius: 4px; background: #fffef8; box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); }
.pad canvas { display: block; width: 100%; aspect-ratio: 3 / 1; touch-action: none; cursor: crosshair; }
.pad-line { position: absolute; left: 8%; right: 8%; bottom: 24%; border-top: 1px solid #c8c8c8; pointer-events: none; }
.pad-x { position: absolute; left: 3%; bottom: 23%; color: #aaa; font-size: 18px; pointer-events: none; }
.pad-hint { position: absolute; left: 0; right: 0; top: 30%; text-align: center; color: #bbb; font-family: Georgia, serif; font-style: italic; font-size: 16px; pointer-events: none; }
.pad.inked .pad-hint { display: none; }

/* after signing */
.doc-img { display: block; width: 100%; height: auto; border: 1px solid #ddd; border-radius: 4px; margin: 6px 0 12px; background: #f5f5f5; aspect-ratio: 1200 / 630; }
.signed-links { margin: 10px 0 12px; text-align: center; font-size: 13px; }

/* the list of signatures */
.tabs-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.tabs-line .count { color: #777; margin-left: auto; }
.av { width: 24px; height: 24px; border-radius: 50%; border: 1px solid #ddd; margin-right: 6px; background: #eee; object-fit: cover; }
.signer b { color: #333; }
.signer .h { color: #777; }
.sig-thumb { height: 34px; max-width: 150px; object-fit: contain; }
.pager { display: flex; justify-content: space-between; align-items: center; }
.big-doc { display: block; width: 100%; height: auto; max-width: 900px; border: 1px solid #ddd; border-radius: 4px; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }

/* coin */
.dl-horizontal { margin: 0; }
.dl-horizontal dt { float: left; width: 90px; clear: left; font-weight: bold; padding: 4px 0; color: #555; }
.dl-horizontal dd { margin-left: 100px; padding: 4px 0; word-break: break-all; }
.dl-horizontal::after { content: ''; display: table; clear: both; }

.footer { border-top: 1px solid #e5e5e5; padding: 25px 0 15px; color: #777; background: #f5f5f5; margin-top: 30px; font-size: 13px; }
.footer p { margin-bottom: 6px; }

/* live: what changed lights up yellow for a moment */
@keyframes flash { 0% { background-color: #fff3a8; } 100% { background-color: transparent; } }
.flash { animation: flash 1.8s ease-out; border-radius: 3px; }
tr.flash-new > td { animation: flash 2.4s ease-out; }

@media (max-width: 991px) {
  .col-3 { width: 50%; }
}
@media (max-width: 767px) {
  .row > [class^="col-"] { width: 100%; }
  .row > .col-3 { width: 50%; }
  h1 { font-size: 26px; }
  .page-header h1 img { width: 30px; height: 30px; }
  .nav li a { padding: 10px 10px; }
  .live { display: none; }
  .big { font-size: 22px; }
  .stat .panel-body { min-height: 0; }
  .hide-xs { display: none; }
}

/* login in the navbar */
.nav-login { margin-left: 15px; padding: 10px 0; white-space: nowrap; font-size: 13px; color: #555; }
.nav-login .av { width: 22px; height: 22px; }
.navbar .live { margin-left: auto; }
.col-6 { width: 50%; }

/* signing steps */
.signing-as { margin-bottom: 12px; padding: 8px 10px; background: #f5f5f5; border: 1px solid #e3e3e3; border-radius: 4px; }
.signing-as .av { width: 28px; height: 28px; }
.step { border-top: 1px solid #eee; }
.howto { padding-left: 20px; margin: 0 0 10px; }
.howto li { margin-bottom: 6px; }

@media (max-width: 767px) {
  .nav-login { margin-left: auto; padding: 8px 0; }
  .navbar .nav { order: 3; width: 100%; }
}
.input-group .link-btn { border-radius: 0 4px 4px 0; margin-left: -1px; }
#link-form .input-group .form-control { border-radius: 4px 0 0 4px; }
.nav-x { margin-left: 15px; padding: 15px 0; color: #333; font-weight: bold; }
.nav-x:hover { color: #000; text-decoration: none; }
@media (max-width: 767px) { .nav-x { margin-left: auto; padding: 8px 0; } .nav-x + .nav-login { margin-left: 12px; } }
