/* 123pp.co - on top of Bootstrap 3.3.7, matching 123passportphoto.com
   (website/css/main.css) so both sites look like one service. */
body {
  padding-bottom: 40px;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #212529;
}
hr { margin-top: 20px; margin-bottom: 10px; border: 0; border-top: 1px solid #eee; }
h2, .h2, h3, .h3 { margin-top: 0; margin-bottom: 20px; }
h1 { margin-top: 10px; margin-bottom: 20px; }
h2 { margin-top: 30px; }

/* navbar: logo on the left as on 123passportphoto.com, plain links on the right */
.pp-logo img { display: block; margin: 0; }
.pp-nav { margin-right: 0; }
@media (max-width: 767px) {
  .navbar-header { float: none; overflow: hidden; }
  .pp-nav { margin: 0 -15px; clear: both; }
  .pp-nav > li { display: inline-block; }
  .pp-nav > li > a { padding: 8px 12px; }
}

.pp-footer { color: #777; }
.pp-footer .pull-right a { color: #337ab7; }
.pp-disclaimer { clear: both; padding-top: 12px; font-size: 13px; color: #888; }
@media (max-width: 767px) {
  .pp-footer .pull-right { float: none !important; margin-top: 8px; }
}

/* home page */
.pp-hero { padding: 10px 0 20px; }
.pp-hero .lead { font-size: 19px; }
.pp-check { max-width: 520px; }
.pp-check .form-control { text-transform: uppercase; font-family: Menlo, Consolas, monospace; letter-spacing: .08em; }
.pp-how .pp-num { margin-bottom: 8px; }
.pp-num {
  display: inline-block; width: 36px; height: 36px; line-height: 36px; border-radius: 50%;
  text-align: center; font-weight: 700; color: #fff; font-size: 18px;
}
h3 .pp-num { margin-right: 8px; vertical-align: middle; }
.pp-num-1 { background: #ff3e00; }
.pp-num-2 { background: #00a300; }
.pp-num-3 { background: #003eff; }
.pp-num-4 { background: #6f42c1; }

/* UK guide */
.pp-parts { max-width: 560px; margin-top: 12px; margin-bottom: 0; }
.pp-parts th { width: 110px; font-weight: 600; }

/* the code as text */
.pp-code-big {
  font-family: Menlo, Consolas, "Courier New", monospace;
  font-size: 30px; font-weight: 700; letter-spacing: .06em; margin: 0 0 8px; word-break: break-all;
}
.pp-code-panel { margin-top: 10px; }
.pp-steps li { margin-bottom: 10px; }

/* GOV.UK's three photo-code boxes: [123pp] . [co] / [CODE] */
.pp-boxes { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 4px; margin: 10px 0 6px; }
.pp-box {
  display: inline-block; border: 3px solid #0b0c0c; background: #fff; color: #0b0c0c;
  font-family: Arial, Helvetica, sans-serif; font-size: 20px; line-height: 26px;
  padding: 6px 14px 6px 8px; white-space: nowrap;
}
.pp-box-name { min-width: 120px; }
.pp-box-tld { min-width: 70px; }
.pp-box-code { min-width: 140px; }
.pp-sep { font: bold 26px/26px Arial, Helvetica, sans-serif; color: #0b0c0c; padding: 0 3px 4px; }
/* a phone keeps all three boxes on one line */
@media (max-width: 480px) {
  .pp-boxes { gap: 2px; }
  .pp-box { font-size: 17px; line-height: 22px; padding: 5px 8px 5px 6px; }
  .pp-box-name { min-width: 70px; }
  .pp-box-tld { min-width: 38px; }
  .pp-box-code { min-width: 0; }
  .pp-sep { font-size: 22px; padding: 0 1px 3px; }
}

/* FAQ headings on /uk/ need air after the previous answer */
p + h3 { margin-top: 28px; margin-bottom: 10px; }
.pp-code-panel { background: #f6fbf4; }
