html,
body {
  height: 100%;
}

body {
  display: flex;
  background-color: #f5f5f5;
}

body header.mb-4 {
  margin-bottom: 0 !important;
}
body header.py-3 {
  padding-bottom: 0 !important;
}

img.no-bottom {
  margin-bottom: 0 !important;
}

/* footer */
footer#dt {
  padding-top: 35px !important;
  margin-top: 18px;
  padding-bottom: 20px !important;
}
div.stores div {
  display: inline-block;
  vertical-align: bottom;
  margin-right: 16px;
}
div.stores a {
  font-size: 0.8rem;
  text-decoration: none;
  color: #6c757d!important;
  vertical-align: bottom;
}
div.stores div img {
  margin: -30px 6px 0 0;
  height: 45px
}
div.stores div span {
  margin: 0 6px 0 0;
}
div.copyright {
  margin-top: -14px;
}

div.copyright p {
  font-size: 0.8rem;
  text-align: right;
  margin-bottom: 0;
}

/* nav header */
header .nav button {
  margin-left: 35px;
}

/* Make placeholder text clearly lighter than real input */
::placeholder {
  color: #bbb !important;
  opacity: 1;
  font-style: italic;
}

header div.twolines {
  display: flex;
  flex-direction: column;
  align-items: center;
}
header ul {
  list-style: none;
  display: flex;
  padding: 0;
  width:fit-content;
  margin: 0;
}
header div.twolines ul li a {
  padding-bottom: 0;
}
header div.centerlines ul li a {
  padding-top: 7px;
}
header div.centerlines ul li form {
  padding-left: 16px;
}



/* login form */
.form-login {
  width: 100%;
  max-width: 330px;
  padding: 15px;
  margin: auto;
}

.form-login .checkbox {
  font-weight: 400;
}

.form-login .form-floating:focus-within {
  z-index: 2;
}

.form-login input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-login input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.form-login a {
  margin: 20px;
  display: inline-block;
}


/* User edit form */
.form-extra-label {
  padding-left: 0
}
.form-extra-label .first-label {
  float: left
}
.form-extra-label input.form-check-input {
  margin-left: 1.5em
}
form.normal label.form-check-label {
  font-weight: normal
}
.form-extra-label label.form-check-label {
  margin-left: 7px;
}
.form-no-extra-label label.form-check-label {
  margin-left: 0;
}


.form-payment {
  margin-top: 2em
}

h2.subselect {
  width: 100%;
}
h2.subselect a {
  float: right;
  font-size: 24px;
}



/* copy field in project form */
input#code {
  width: 250px;
  font-size: 9px;
  overflow: hidden;
  display: inline-block;
}
button#copy, button#share {
  font-size: .65em;
  margin-top: 6px;
}
img#qr {
  width: 250px
}
input#proof {
  width: 250px;
  font-size: 9px;
  overflow: hidden;
  display: inline-block;
}
button#copy-proof {
  font-size: .65em;
  margin-top: 6px;
}
small.example {
  font-size: .65em;
  display: block;
  overflow: hidden
} 



button#delete {
  margin-right: 5px;
}

fieldset.backups b {
  width: 128px;
  display: inline-block;
}
fieldset.backups a {
  margin-right: 8px;
  vertical-align: top;
}
fieldset.backups a img {
    margin-top: 2px;
}
fieldset.backups span {
  width: 275px;
  display: inline-block;
}

/* General form stuff */
form.normal label {
  font-weight: bold;
}


fieldset {
  padding: 8px 8px 2px 8px;
  margin: 50px 0 10px 0;
  border: solid darkgrey 1px;
}

legend {
  font-size: 1.5rem;
  margin: -46px 0 0 -8px;
}

div.img-col {
  text-align: center;
  padding-top: 32px;
}

h2 a.btn-sm {
  padding: 0 7px 2px 7px;
  margin-left: 12px;
}

.table-striped tbody td {
  font-size: 14px;
}

.table-striped tbody th {
  background-color: #f8f8f8;
  border-top: 2px solid black
}
.table-striped tbody tr.separ {
  border-bottom-width: 25px;
  border-bottom-color: rgb(248, 248, 248);
}

.table-striped .ar {
  text-align: right;
}
.table-striped .ac {
  text-align: center;
}

header img.mb-4 {
  width: 60px;
  height: 60px;
  margin-bottom: 14px !important;
}

.text-OK {
  color: green;
}
.text-ERR {
  color: red;
}
.text-NOK {
  color: red;
}
p.hidden {
  display: none;
}
p#notification {
  margin-top: 1rem;
}

#text dt {
  margin-top: 25px;
}
#text dt:before {
  content:"Q: "
}
#text dd:before {
  content:"A: "
}

h1 {
  margin-top: 20px
}
h2 {
  margin-top: 20px
}

input#q {
  margin-right: 8px;
  margin-top: 2px;
  width: 235px;
}

.user-row {
  cursor: pointer;
}
.collapsed-row {
  display: none;
}
