*,
*::before,
*::after {
  position: relative;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body,
button,
div.top,
div.popup {
  font-family: sans-serif;
  font-size: 1.25rem;
}

html {
  height: 100%;
}

body {
  position: absolute;
  color: rgba(255, 255, 255, 0.95);
  width: 100%;
  min-height: 100%;
}

body.flat {
  background-color: #217dc3;
}

a {
  font-weight: bolder;
  text-decoration: none;
}

a,
a:visited {
  color: #093475;
}

a:hover,
a:focus {
  color: #3374da;
}

a:active {
  color: #f00;
}

.nowrap {
  word-break: keep-all;
}

.nowrap wbr::before {
  content: "\200b";
}


p.back {
  padding: 1em 0em;
  font-size: 1em;
  text-align: center;
}


div.base {
  display: block;
}

div.top {
  margin: 0.25rem;
  padding: 0.5em;
  background-color: #fcfcfc;
  color: #333;
}

div#base.popup-open {
  display: none;
}

div.top div.ppko-title {
  margin: 1em 0;
  padding: 0 0.5em;
  background: #fcfcfc;
}

div.top h3.heading {
  margin: 0;
  padding: 0;
  font-size: 1.1em;
  text-align: center;
}

img.pack-logotype {
  max-width: 100%;
}

div.top h3.heading img.pack-logotype {
  display: inline-block;
  width: auto;
  height: 1.5em;
  vertical-align: middle;
}

p.ppko-subtitle {
  margin-top: 0.25em;
  font-size: 10px;
  text-align: center;
}

p.ppko-subtitle span.application {
  padding: 1px;
  border: 1px solid #e03;
  border-right: none;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  color: #e03;
}

p.ppko-subtitle span.needed {
  padding: 1px;
  border: 1px solid #e03;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
  background-color: #e03;
  color: #fcfcfc;
}

p.ppko-subtitle span.free {
  font-size: 11px; font-weight: bold; vertical-align: middle;
}

p.contact-link {
  margin: 1.5em 0 1em;
  line-height: 1;
  font-size: 16px;
  text-align: center;
}

div.popup {
  position: absolute;
  top: 0;
  display: none;
  width: 100%;
  min-height: 100%;
  background-color: #fcfcfc;
  color: #333;
  z-index: 1000;
}

div.popup.popup-open {
  display: block;
}

div.popup h3.heading {
  padding: 0.5em 0;
  border-bottom: solid 1px #217dc3;
  font-size: 100%;
  text-align: center;
}

div.popup .contents {
  padding: 1em;
}

div.popup .contents:not(button) {
  font-size: 85%;
}

div.popup p.back {
  font-weight: bold;

}

div.contact p.settings-link {
  text-align: center;
}

div.contact p.button {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
  text-align: center;
}

button.phone {
  height: 3em;
  background-image: url(../img/icon-call@2x.png);
  background-repeat: no-repeat;
  background-position: 8% 50%;
  background-size: 10%;
  padding-left: 18%;
  line-height: 1;
  text-align: left;
}

span.ui {
  font-weight: bold;
}

span.ui.settings-item {
  font-weight: 700;
  color: #666;
}

span.ui.toggle.on {
  color: #0c3;
}

span.ui.toggle.off {
  color: #666;
}

span.ui.button {
  display: inline-block;
  white-space: nowrap;
  padding: 0 0.25em;
  border-radius: 0.125em;
}

button {
  border: none;
  min-width: 14em;
  min-height: 3em;
  padding: 0.5em auto;
  border-radius: 0.25em;
  line-height: 1.1;
  font-size: large;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.25);
}

button span.sub {
  font-size: 75%;
  opacity: 0.7;
}

button,
span.ui.button {
  color: #fff;
  font-weight: normal;
}

body.flat button,
body.flat span.ui.button {
  background-color: #3486d0;
}

body.flat .top button,
body.flat .top span.ui.button {
  background-color: #217dc3;
}

body.metered button,
body.metered span.ui.button {
  background-color: #bd1413;
}

button:active {
  background-color: #4597e1;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.25);
}

.obsolete-domain-pane {
  display: block;
}

div.top-information {
  display:none;
}

div.top-information {
  margin: 0.5em 0;
  top: 0;
  width: 100%;
}

div.top-information div.contents {
  padding: 0.5em;
  font-size: 14px;
}

div.top-information p.button {
  margin-top: 0.8em;
  margin-bottom: 0.8em;
  text-align: center;
}

div.top-information div.redirect-link {
  padding: 0.5em;
  font-size: 16px;
  text-align: center;
}

div.redirect-link p.annotation {
  font-size: 14px;
}

div.top-information p.annotation {
  text-align: center;
}
