.transition {
  -webkit-transition: all 200ms linear;
  -moz-transition: all 200ms linear;
  -ms-transition: all 200ms linear;
  -o-transition: all 200ms linear;
  transition: all 200ms linear;
}
.menu_transition {
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}
#blkCategories {
  display: block;
  margin-top: 1em;
}
#blkCategories > a {
  position: relative;
  display: grid;
  grid-template-columns: 180px 1fr;
  grid-template-rows: auto 1fr;
  align-items: center;
  gap: 0.5em 1em;
  color: #333;
  text-decoration: none;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 1em;
  padding: 5px;
  margin-bottom: 10px;
  -webkit-transition: all 200ms linear;
  -moz-transition: all 200ms linear;
  -ms-transition: all 200ms linear;
  -o-transition: all 200ms linear;
  transition: all 200ms linear;
}
#blkCategories > a:last-child {
  margin-bottom: 0;
}
#blkCategories > a:hover {
  border-color: #0B891A;
}
#blkCategories > a > .image {
  grid-row: 1 / span 2;
}
#blkCategories > a > .image > img {
  width: auto;
  width: 180px;
}
#blkCategories > a > .header {
  justify-self: end;
  font-size: 1.7em;
  color: #004131;
}
#blkCategories > a > .name {
  align-self: self-start;
  font-weight: bold;
  margin-bottom: 2.5em;
}
#blkCategories > a > button.basic {
  position: absolute;
  right: 5px;
  bottom: 5px;
}
#blkItems {
  display: block;
  margin-top: 1em;
}
#blkItems > a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75em;
  color: #333;
  text-decoration: none;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 1em;
  padding: 5px;
  margin-bottom: 10px;
  -webkit-transition: all 200ms linear;
  -moz-transition: all 200ms linear;
  -ms-transition: all 200ms linear;
  -o-transition: all 200ms linear;
  transition: all 200ms linear;
}
#blkItems > a.last-child {
  margin-bottom: 0;
}
#blkItems > a:hover {
  border-color: #0B891A;
}
#blkItems > a > .code {
  font-size: 1.25em;
  color: #004131;
  text-align: left;
  width: 100%;
}
#blkItems > a > .image {
  width: 100%;
  margin-bottom: 2.5em;
}
#blkItems > a > .image > img {
  width: 100%;
}
#blkItems > a > button.basic {
  position: absolute;
  right: 5px;
  bottom: 5px;
}
.jquery-modal {
  z-index: 20;
}
.jquery-modal .modal {
  min-width: 100%;
  z-index: 25;
}
.jquery-modal .modal > img {
  width: 100%;
}
.jquery-modal .modal > div.extinfo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
}
.jquery-modal .modal > p {
  width: 100%;
  text-align: justify;
  text-indent: 0.5em;
}
@media screen and (min-width: 713px) {
  #blkCategories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 10px;
  }
  #blkCategories > a {
    margin-bottom: 0;
  }
  #blkCategories > a > .name {
    margin-bottom: 0;
  }
  #blkCategories > a > button.basic {
    display: none;
  }
  #blkItems {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 10px;
  }
  #blkItems > a {
    margin-bottom: 0;
  }
  #blkItems > a > .image {
    margin-bottom: 0;
  }
  #blkItems > a > button.basic {
    display: none;
  }
}
@media screen and (min-width: 716px) {
  .jquery-modal .modal {
    min-width: 716px;
  }
  .jquery-modal img {
    width: auto;
  }
}
@media screen and (min-width: 1087px) {
  #blkCategories,
  #blkItems {
    grid-template-columns: repeat(3, 1fr);
  }
}
