html {
  background-color: #FFEBFF;
  font-family: sans-serif;
}

main {
  padding-left: 20px;
}

.hidden {
  display: none;
}

.white-background {
  background-color: white;
}

.feedback {
  color: #DE0000;
  margin: 2px;
}

.required-field {
  color: #DE0000;
}

.dark-blue {
  color: #0000A9;
}

.gray {
  color: #6E6E6E;
}

div.header {
  height: 100px;
  width: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}

a.header {
  text-decoration: none;
  flex: 1 1 auto;
}

div.header img.background {
  filter: brightness(.75);
}

img.background {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0px;
  object-fit: cover;
  z-index: -1;
}

div.header-title-nav {
  display: flex;
  align-items: flex-end;
  width: 100%;
  height: 100%;
}

div.header div.button-like-div {
  margin: 0px;
}

h1.site-title {
  color: white;
  margin: 0px;
  padding: 20px;
  padding-top: 57.5px;
  padding-bottom: 10px;
  font-weight: lighter;
}

nav {
  flex: 0 0 auto;
  display: flex;
  justify-content: flex-end;
}

div.catalog {
  display: flex;
}

aside.filters {
  padding: 20px;
  padding-left: 0px;
  padding-top: 4px;
  flex: 0 0 auto;
}

div.checkbox {
  padding-bottom: 5px;
}

aside.filters div.checkbox {
  padding-left: 20px;
}

.filter-menu {
  padding: 0px 20px 0px 20px;
  background-color: #D19BD4;
  border: 1px solid black;
  display: none;
  justify-content: space-between;
}

.filter-menu h3 {
  font-size: 1.5em;
}

.filter-menu:hover {
  filter: brightness(.8);
  cursor: pointer;
}

aside.filters.unhide-filters {
  display: block;
}

div.plants {
  flex: 1 1 auto;
  border-left: 1px solid black;
  display: flex;
  flex-flow: row wrap;
}

div.tile {
  flex: 0 0 250px;
  height: 250px;
  margin: 20px;
  position: relative;
  top: 0px;
}

div.tile-image:hover {
  cursor: pointer;
  filter: brightness(.75);
  height: 100%;
  width: 100%;
}

a.tile-link {
  height: 250px;
  width: 250px;
  display: block;
}

img.tile-background {
  position: absolute;
  top: 0px;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h3.tile-header{
  position: absolute;
  bottom: 0px;
  padding: 10px;
  background-color: #A649AB;
  color: white;
  font-weight: lighter;
}

h2.tile-header{
  position: absolute;
  margin: 0px;
  padding-left: 10px;
  padding-right: 10px;
  bottom: 2.72px;
  font-size: .97em;
  background-color: #D19BD4;
  color: black;
  font-weight: lighter;
}

div.action-buttons {
  display: flex;
  justify-content: flex-end;
}

a.action-button {
  flex: 0 0 auto;
  text-decoration: none;
}

p.action-button {
  z-index: 1;
  display: block;
  line-height: 50px;
  height: 45px;
  width: 45px;
  vertical-align: middle;
  text-align: center;
  background-color: white;
  font-size: 2em;
  margin: 4px;
  color: black;
  border: 1px solid black;
  border-radius: 5px;
}

p.action-button:hover {
  filter: brightness(.7);
}

a.no-decoration {
  text-decoration: none;
  color: black;
}

p.large-centered {
  font-size: 5em;
  text-align: center;
  margin: 0px;
  padding-top: 80px;
  padding-bottom: 90px;
}

p.citation {
  flex: 1 1 auto;
  align-self: flex-start;
  position: relative;
  left: 0px;
  padding: 5px;
  margin-top: 4px;
  background-color: white;
  color: black;
}

div.details-page {
  display: flex;
}

div.left-details-page {
  flex: 0 0 50%;
}

div.right-details-page {
  flex: 0 0 50%;
  position: relative;
}

div.right-details-page img {
  width: 100%;
  object-fit: contain;
}

div.edit-form{
  display: flex;
  flex-flow: column nowrap;
  width: max-content;
}

div.edit-form-element{
  flex: 0 0 auto;
  display: flex;
  margin-bottom: 15px;
}

div.edit-form-label{
  flex: 0 0 223px;
  display: flex;
  flex-flow: row-reverse nowrap;
  align-items: center;
  margin-right: 6px;
}

div.edit-form-label.label-header{
  align-self: flex-start;
}

div.edit-form-input{
  flex: 1 0 auto;
  display: flex;
  flex-flow: column;
}

div.dropdown {
  display: flex;
  flex-flow: column;
}

footer {
  width: 100%;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #83A130;
  margin-top: 10px;
}

div.banner {
  background-color: #B0B884;
  padding: 1px;
  padding-left: 20px;
  margin-bottom: 10px;
}

div.button-like-div {
  background-color: #D19BD4;
  width: fit-content;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid black;
  display: inline-block;
  margin: 10px;
  margin-top: 0px;
  margin-left: 0px;
  padding-top: 13px;
  color: black;
}

div.button-like-div:hover {
  filter: brightness(.75);
}

div.button-like-div.default {
  background-color: #A649AB;
  color: white;
}

a.button-for-a-elem {
  text-decoration: none;
  color: white;
  margin: 10px;
  margin-left: 0px;
}

div.pad-in {
  padding-left: 10px;
}

li.feedback {
  list-style: none;
}

form.login {
  width: fit-content;
}

div.group_label_input {
  display: flex;
  justify-content: flex-end;
}

div.align-right {
  display: flex;
  justify-content: flex-end;
}

.button {
  background-color: #D19BD4;
  padding: 10px;
  border: 1px solid black;
  border-radius: 5px;
  color: black;
  font-size: 1.01em;
  height: fit-content;
}

.button:hover {
  cursor: pointer;
  filter: brightness(.75);
}

.button.default {
  background-color: #A649AB;
  color: white;
}

.button.default.edit-page {
  margin-top: 10px;
  margin-bottom: 10px;
}

span.scientific-name {
  color: gray;
}

li.plant-type {
  list-style-position: inside;
  padding-left: 25px;
}

p.absolute {
  position: absolute;
}

div.print-gardening-care {
  display: none;
}

a.flex-align-left {
  flex: 1 1 auto;
  align-self: flex-start;
}

div.subheading {
  width: 100%;
  margin-left: 20px;
}

@media print {
  .filters {
    display: none !important;
  }

  .plants {
    border: none !important;
  }

  .button {
    display: none !important;
  }

  div.tile.add-plant {
    display: none;
  }

  div.tile {
    display: flex;
    flex: 0 0 100%;
  }

  div.print-gardening-care {
    display: block;
    margin-left: 20px;
  }

  img.tile-background {
    width: 250px;
  }

  div.tile-image {
    flex: 0 0 250px;
  }

  div.button-like-div {
    display: none !important;
  }

  a.action-button > * {
    display: none !important;
  }

  footer {
    display: none;
  }

  .tile-image:hover {
    cursor: default !important;
    filter: none !important;
  }

  h3.tile-header {
    max-width: 250px;
  }
}

@media (max-width: 895px) {

  div.catalog {
    flex-flow: column;
  }

  div.plants {
    border: none;
    margin-left: -20px;
  }

  aside.filters {
    display: none;
    width: calc(100% - 2px);
    border: 1px solid black;
    background-color: #D19BD4;
    margin-left: -20px;
    padding-left: 20px;
    padding-right: 0px;
  }

  aside.filters div.button-like-div {
    background-color: #A649AB;
    color: white;
  }

  .filter-menu {
    display: flex;
  }

  div.details-page {
    flex-flow: column;
  }

}
