body>html>body>parsererror {
  display: none!important;
}

footer {
  bottom: 0;
  width: 100%;
}

.main-content {
  margin-top: 1rem;
}

#recipe-picture {
  height: 75vh;
  overflow-y: hidden;
}

img {
  max-width: 100%;
}

.icon_img_container {
  overflow: hidden;
  height: 100px;
  width: 100px;
  &
  img {
  height: 100px;
  width: 100px;
  object-fit: cover;
  }
}
.favicon_container {
  overflow: hidden;
  height: 32px;
  width: 32px;
  margin: 0 50px;
  &
  img {
  height: 32px;
  width: auto;
  }
}
.favicon_container_small > img {
  height: 12px;
}
header {
  margin-bottom: 1rem;
}

.tab-pane {
  padding: 1rem;
}

a.card {
  text-decoration: none;
}

.card-body {
  position: relative;
}

.card-body > img {
  display: block;
  height: 200px;
  width: 100%;
}

.index-card .card-body:after {
  content: attr(data-content);
  padding: 2rem;
  position: absolute;
  width: 100%; height:100%;
  border-radius: 0.375rem;
  top:0; left:0;
  background:rgba(255, 255, 255, 0.8);
  background:rgba(var(--bs-tertiary-bg-rgb),0.8);
  transition: all 1s;
  -webkit-transition: all 1s;
}

.index-card .card-body:hover:after {
  background:rgba(246, 246, 246, 1);
  background:rgba(var(--bs-tertiary-bg-rgb),1);
}

.form-label {
  display: block;
}

.logout-button {
  text-decoration: none;
  text-transform: none;
  text-align: left;
  padding: 0;
}

.dropdown-item i[class^=fa] {
  width: 2rem;
}


table:has(a.recipe_link_in_table) {
  width: 100%;
}
td:has(.recipe_link_in_table) {
  padding: 0;
  width: 50%;
  max-width: 0;
  overflow: hidden;
  -moz-overflow: hidden;
  text-overflow: ellipsis;
  -moz-text-overflow: ellipsis;
  white-space: nowrap;
}
.recipe_link_in_table {
  display: block;
  width: 100%;
  height: 80px;
  line-height: 80px;
  text-decoration: none;
  font-size: 1.5rem;
}

@media only screen and (max-width: 800px) {
    .recipe_link_in_table {
        font-size: 1rem;
    }
}

table:has(a.recipe_link_in_search_table) {
  width: 100%;
}
td:has(.recipe_link_in_search_table) {
  padding: 0;
  width: 50%;
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.recipe_link_in_search_table {
  display: block;
  width: 100%;
  height: 32px;
  line-height: 32px;
}

div.ingredient-form > div {
  display: inline-block;
  margin-right: 5px;
}

.fa-minus.button {
  color: red;
}
.fa-plus.button {
  color: green;
}
.button:hover {
  cursor: pointer;
  background-color: lightgray;
  border-radius: 50%;
}

.tags-container {
  overflow-x: auto;
}
/* width */
.tags-container::-webkit-scrollbar {
  height: 5px;
}

/* Track */
.tags-container::-webkit-scrollbar-track {
  background: lightgray;
}

/* Handle */
.tags-container::-webkit-scrollbar-thumb {
  background: gray;
}

/* Handle on hover */
.tags-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.tags-form-set .mb-3 {
  margin-bottom: 0!important;
  margin-left: 2rem!important;
}

.tag_button {
    position:relative;
    margin: 2px;
}
.tag_remove {
    color: red;
    position:absolute;
    opacity: 0.5;
    top: 0;
    right: 0;
}
.tag_remove:hover {
    background-color: red;
    color: lightgray;
    border-radius: 50%;
}

.note-button-container.movable {
  position: fixed;
}
.note-button {
  width: fit-content;
  height: fit-content;
  display: inline-block;
  margin: .25rem .25rem 0 .25rem;
}

.note-widget {
  float: right;
  display: inline-block;
  width: fit-content;
  height: fit-content;
  text-align: center;
  border-radius: 0.5rem;
  z-index: 10;
  background-color: #f7e859;
}

.hidden {
  display: none;
}

textarea#id_content {
  min-height: 50vh;
}

.google_button {
    color: var(--bs-secondary-text-emphasis);
    background-color: var(--bs-secondary-bg-subtle);
  text-decoration: none;
  display: block;
  flex-grow: 1;
  font-weight: 500;
  width: 100%;
  border: 1px solid;
  border-color: rgb(218, 220, 224);
  border-radius: 4px;
  padding: 8px;
  text-align: center;
}
.google_button > .google_button_text {
  font-family: "Google Sans", arial, sans-serif;
  color: gray;
  box-sizing: border-box;
  margin: 0 0 0 8px;
  width: auto;
}

#ingredients {
    border: lightgray solid 1px;
    border-radius: 5px;
    padding: 0 5px;
    background-color: #f5f5f5;
}

.partially_hidden {
    height: 4rem;
    overflow-y: hidden;
    margin-bottom: 2rem;
    border-bottom: 1px solid lightgray;
    border-left: 1px solid lightgray;
    border-right: 1px solid lightgray;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
    transition: all 1s;
    -webkit-transition: all 1s;
}
.partially_hidden:hover {
    height: 10rem;
}
.about-image-container {
    position: relative;
    width: 100%;
    height: 100%;
}
.about-image-container:after {
    transition: all 1s;
    -webkit-transition: all 1s;
    display: inline-block;
    content: '\A';
    position: relative;
    width: 100%; height: 100%;
    top: -100%; left: 0;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.8);
    opacity: 1;
}
.partially_hidden:hover .about-image-container:after {
    opacity: .4;
}

.language-menu {
    min-width: 15px!important;
}

.language-flag {
    width: 16px!important;
    height: 16px!important;
    max-width: 16px!important;
    border-radius: 8px;
    border: 1px solid lightgray;
}
.dropdown-toggle .language-flag {
    margin-bottom: 4px;
}