#search::placeholder {
  text-align: center;
}

#search {
  text-align: center;
}

.portion-size .btn-xl {
  display: flex;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

#impressum {
  text-align: center;
}

#impressum a {
  text-decoration: unset;
}

.hidden {
  display: none !important;
}

.div-card {
  user-select: none;
}

.card.mb-4 {
  width: 100%;
}

.buttons-share button {
  margin-bottom: 3px;
}

.no-img {
  text-align: center;
  padding: 9px;
  background-color: #eee;
  min-height: 300px;
}

.div-info .text-muted {
  margin-bottom: 0;
}

.card.mb-4 .card-body {
  /* subtract 8px for the pills which have bottom margin */
  padding-bottom: 8px;
}

.mm-inspired {
  background-color: white;
  opacity: 0.81;
  text-align: center;
  padding: 6px;
  font-size: 16px;
}

#btn-toggle-ingredients i {
  vertical-align: text-top;
}

.lni-eye {
  align-self: center;
  margin: 0 auto;
}

#btn-toggle-ingredients {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 90px;
  height: 90px;
  display: flex;
  font-size: 45px;
  z-index: 100;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 10px 0 #666;
}

.modal {
  overscroll-behavior: contain;
  padding: 0;
}

.lni.aligned {
  font: normal normal normal 18px "lineicons";
  vertical-align: text-top;
}

#visible-recipes {
  margin-left: 21px;
}

.recipe-sources a {
  display: block;
}

.linked .rounded-pill:hover {
  background-color: #ddd !important;
}

#title {
  margin-left: auto;
  margin-right: auto;
  padding-left: 9px;
  padding-right: 120px;
}

.card-title {
  hyphens: auto;
}

.card .badges {
  justify-content: space-around;
  gap: 4px;
}

.modal-dialog .badges {
  justify-content: end;
}

.modal-dialog .badges .badge {
  margin-left: 1rem;
}

.btn-xl {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  font-size: 1.75rem;
}

.portion-size button {
  background-color: #00a13d !important;
  color: white !important;
  border: 1px solid white;
}

.portion-size button:hover,
.portion-size button:focus,
.portion-size button:active {
  border: 1px solid white;
}

#button-menu {
  background-color: white;
}

.ingredients {
  padding-left: 15px;
}

ul.ingredients a,
.list-group-item a {
  color: unset !important;
  font-weight: bold;
}

input.input-serving {
  text-align: center;
  max-width: 60px;
}

.input-group-text {
  background-color: #00a13d !important;
  color: white !important;
}

span.badge.text-warning {
  border-color: #ff6000 !important;
  color: #ff6000 !important;
}

span.filler:hover {
  background-color: #333 !important;
  border: 1px solid #333 !important;
}

.div-info {
  display: flex;
  justify-content: space-around;
}

span.remark {
  color: green;
}

.lni-star-fill {
  color: orange;
}

span.badge.text-warning {
  cursor: pointer;
}

.pl-5 {
  padding-left: 30px !important;
}

.pr-5 {
  padding-right: 30px !important;
}

.text-warning {
  color: #ff6000 !important;
}

/* same as .text-success */
.text-highlight {
  color: #2662ff;
}

.modal-body li.fs-5.fw-bold.mt-3 {
  list-style: none;
}

.btn-close {
  align-self: baseline;
}

.btn-close-text {
  width: 100%;
}

span.rounded-pill {
  border: 1px solid #008f55;
  background-color: unset !important;
  font-weight: normal;
}

.modal-title .col-6 {
  font-weight: normal;
}

.modal-title img {
  width: 100%;
}

/* fix fullsize modal padding so it stretches the entire screen */
.modal.show {
  padding: 0;
}

.modal-body .image {
  width: 100%;
  height: fit-content;
}

#row-cards .card:hover {
  background-color: #fafafa;
  cursor: pointer;
}

/* unset so the hover affects the background color of the entire card */
.card .list-group-item {
  background-color: unset;
}

.list-group-item.black {
  color: #000;
}

.list-group-item.fs-5.fw-bold.mt-3 {
  border-bottom: 0;
}

.card .card-img-top {
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
}

.list-group-item.optional,
li.optional {
  text-decoration: underline;
	text-decoration-style: dashed;
	text-underline-offset: 4px;
}

#modal-help, #modal-filler {
  background: rgba(0, 0, 0, 0.5);
}
