/**********************************************************************
 * Base
 **********************************************************************/
/* Bootstrap 5 tweak: do not underline links unless hovered over */
a:not([class*="btn"]) {
  text-decoration: none;
}
a:not([class*="btn"]):hover {
  text-decoration: underline;
}
.jumbotron {
  padding: 2rem 1rem;
  margin-bottom: 2rem;
  background-color: #e9ecef;
  border-radius: 0.3rem;
}
@media (min-width: 576px) {
  .jumbotron {
    padding: 4rem 2rem;
  }
}
html {
  position: relative;
  min-height: 100%;
}
body {
  padding-top: 50px;
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
}
.footer hr {
  margin-bottom: 2px;
}
.footer p {
  text-align: right;
}
main {
  padding-bottom: 1rem;
}
.hidden {
  display: none;
}
#recaptcha {
  visibility: hidden;
}
.nav-pills .nav-link.active {
  cursor: pointer;
  cursor: hand;
}
span.pointer {
  cursor: pointer;
  cursor: hand;
}
/**********************************************************************
 * Style Fixes between Bootstrap 4.0.0-alpha6 and 4.5.0
 **********************************************************************/
body {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
code {
  padding: 0.2rem 0.4rem;
  background-color: #f7f7f9;
  border-radius: 0.25rem;
}
.bg-dark {
  background-color: #292b2c !important;
}
.btn {
  white-space: nowrap;
}
/**********************************************************************
 * Signin Form
 **********************************************************************/
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.form-signin.small {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
/**********************************************************************
 * Headers
 **********************************************************************/
h1 {
  margin-bottom: 20px;
  padding-bottom: 9px;
  border-bottom: 1px solid #eee;
}
h1 small.subtitle {
  color: #636c72;
  font-size: 60%;
  margin-left: 50px;
}
/**********************************************************************
 * Sidebar
 **********************************************************************/
.sidebar {
  position: fixed;
  top: 51px;
  bottom: 0;
  left: 0;
  z-index: 1000;
  padding: 20px;
  overflow-x: hidden;
  /* Scrollable contents if viewport is shorter than content. */
  overflow-y: auto;
  border-right: 1px solid #eee;
  padding-left: 0;
  padding-right: 0;
}
.sidebar .nav {
  margin-bottom: 20px;
}
.sidebar .nav-item {
  width: 100%;
}
.sidebar .nav-item + .nav-item {
  margin-left: 0;
}
.sidebar .nav-link {
  border-radius: 0;
  white-space: nowrap;
}
/**********************************************************************
 * Avatars
 **********************************************************************/
.avatar {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  display: inline-block;
  margin-right: 5px;
  border: 1px solid #aaa;
}
.avatar img {
  opacity: 0;
}
.miniavatar {
  width: 22px;
  height: 22px;
}
/**********************************************************************
 * Tables
 **********************************************************************/
table tr.deleted td {
  /* background-color: #f2dede; */
  background-color: #eee;
  color: #ccc;
  text-decoration: line-through;
}
table tr.deleted td.actions {
  text-decoration: none;
}
/**********************************************************************
 * Domain Tables
 **********************************************************************/
span.badge.verificationstate {
  background-color: #20C9EE;
}
span.badge.verificationstate.state-valid {
  background-color: #1E8755;
}
span.badge.verificationstate.state-invalid {
  background-color: #DB3A4A;
}
span.badge.verificationstate.state-unknown {
  background-color: #6C757D;
}
table#domainlist th.access, table#domainlist td.access {
  width: 200px;
}
table#domainlist th.owner, table#domainlist td.owner {
  width: 400px;
}
table#domainlist th.actions, table#domainlist td.actions {
  width: 200px;
}
table#accessinfo th.access, table#accessinfo td.access {
  width: 400px;
}
table#accessinfo th.actions, table#accessinfo td.actions {
  width: 200px;
}
table#domainhooks th.password, table#domainhooks td.password {
  width: 400px;
}
table#domainhooks th.disabled, table#domainhooks td.disabled, table#domainhooks th.actions, table#domainhooks td.actions {
  width: 200px;
}
table#domainlist td.domain small.subtitle {
  color: #636c72;
  margin-left: 50px;
}
.breakable {
  word-wrap: break-word;
  word-break: break-all;
}
.mono {
  font-family: Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.mono.pre {
  white-space: pre;
}
table#soainfo th, table#profileinfo th {
  width: 20%;
}
table#records {
  max-width: 100%;
}
table#records td {
  word-break: break-all;
  word-wrap: break-word;
}
table#records th.name, table#records td.name {
  width: 20%;
}
table#records th.type, table#records td.type {
  width: 200px;
}
table#records th.priority, table#records td.priority {
  width: 100px;
}
table#records th.ttl, table#records td.ttl {
  width: 100px;
}
table#records th.state, table#records td.state {
  width: 50px;
}
table#records th.actions {
  width: 200px;
}
table#records td.actions {
  width: 200px;
}
table#records td > input, table#records td > select {
  width: 100%;
}
table#records tr.new td {
  background-color: #def2f2;
}
table#records tr.error td {
  background-color: #f2dede;
}
table#records tr td.warning {
  background-color: #fcf8e3;
}
div#actionbuttonsfiller {
  height: 120px;
}
div#actionbuttons {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 200px;
  background: #f7f7f7;
  border-top: 1px solid #eeeeee;
  z-index: 1;
}
/**********************************************************************
 * User Tables
 **********************************************************************/
table#apikeys th.key, table#apikeys td.key {
  width: 375px;
}
table#apikeys tr.odd {
  background-color: rgba(0, 0, 0, 0.05);
}
table#apikeys th.domains_read, table#apikeys td.domains_read, table#apikeys th.domains_write, table#apikeys td.domains_write, table#apikeys th.user_read, table#apikeys td.user_read, table#apikeys th.user_write, table#apikeys td.user_write {
  width: 150px;
}
table#apikeys th.actions, table#apikeys td.actions {
  width: 200px;
}
table#twofactorkeys th.key {
  width: 460px;
}
table#twofactorkeys td.key {
  width: 460px;
}
table#twofactorkeys td.key div.inactive {
  display: flex;
}
table#twofactorkeys td.key div.key, table#twofactorkeys td.key div.verifykey {
  width: 225px;
  display: block;
}
table#twofactorkeys th.lastused, table#twofactorkeys td.lastused {
  width: 300px;
}
table#twofactorkeys th.actions, table#twofactorkeys td.actions {
  width: 200px;
}
/**********************************************************************
 * User
 **********************************************************************/
table#userlist th.id, table#userlist td.id {
  width: 50px;
}
table#userlist th.email, table#userlist td.email {
  width: 400px;
}
table#userlist th.permissions, table#userlist td.permissions {
  width: 325px;
}
table#userlist th.state, table#userlist td.state {
  width: 150px;
}
table#userlist th.actions, table#userlist td.actions {
  width: 300px;
}
table#userlist td.permissions table {
  background: none;
  margin: 0;
  padding: 0;
}
table#userlist td.permissions table tr {
  background: none;
}
table#userlist td.permissions table td {
  background: none;
  border: none;
}
table#userlist td.permissions table td.name {
  width: 180px;
}
table#userlist td.permissions table td.value {
  width: 40px;
}
table#userlist td.permissions table td.actions {
  width: 60px;
}
.tooltip-inner {
  max-width: 500px !important;
}
/**********************************************************************
 * Jobs
 **********************************************************************/
table#joblogs th.timestamp, table#joblogs td.timestamp {
  width: 300px;
}
table#jobinfo th {
  width: 100px;
}
table#joblist th.id, table#joblist td.id {
  width: 100px;
}
table#joblist th.times, table#joblist td.times {
  width: 350px;
}
table#joblist th.state, table#joblist td.state, table#joblist th.result, table#joblist td.result, table#joblist th.actions, table#joblist td.actions {
  width: 100px;
}
table#joblist tr.state-created {
  background-color: #cce5ff;
}
table#jobinfo tr.state-created {
  background-color: #cce5ff;
}
table#joblist tr.state-started, table#jobinfo tr.state-started {
  background-color: #fff3cd;
}
table#joblist tr.state-error, table#jobinfo tr.state-error {
  background-color: #f8d7da;
}
/**********************************************************************
 * Services
 **********************************************************************/
table#servicelogs th.timestamp, table#servicelogs td.timestamp {
  width: 240px;
}
table#servicelogs th.stream, table#servicelogs td.stream {
  width: 300px;
}
table#serviceinfo th {
  width: 100px;
}
table#servicelist th.service, table#servicelist td.service, table#servicelist th.actions, table#servicelist td.actions {
  width: 100px;
}
