#stockSelectSection {
  position: relative;
  top: 0vw;
  width: 100%;
  background-color: #f7f7f7;
  flex-direction: row;
  margin-top: 5vw;
  margin-bottom: 2vw;
  align-items: flex-start;
}

#galleryTreeStock {
  position: -webkit-sticky;
  position: -moz-sticky;
  position: -o-sticky;
  position: -ms-sticky;
  position: sticky;
  top: 0;
  left: 0;
  margin: 0vw 0.5vw 0vw 0vw;
  width: 22vw;
  height: auto;
  text-align: left;
  margin-bottom: auto;
}

#stockTreeDiv {
  justify-content: flex-start;
  flex-direction: column;
  padding: 0.5vw;
  border-style: solid;
  border-width: 1px;
  border-color: #bedaf9;
  margin-bottom: 1vw;
}

#stockTreeDiv h5 {
  font-size: 1.6vw;
  margin-bottom: 0.5vw;
}

/* ============= Category Tree ============== */

#treeDiv {
  justify-content: flex-start;
  flex-direction: column;
  padding: 0.5vw;
  margin-top: 1vw;
  margin-bottom: 1vw;
}

#treeDiv p {
  font-size: 1.8vw;
  margin-bottom: 0.5vw;
}

ul,
#myUL {
  list-style-type: none;
}

ul {
  margin-inline-start: 0px;
  margin-inline-end: 0px;
  padding-inline-start: 15px;
}

#myUL {
  margin: 0;
  padding: 0;
  width: 100%;
}

.caret {
  cursor: pointer;
  -webkit-user-select: none;
  /* Safari 3.1+ */
  -moz-user-select: none;
  /* Firefox 2+ */
  -ms-user-select: none;
  /* IE 10+ */
  user-select: none;
}

.caret::before {
  content: "\25B6";
  color: black;
  display: inline-block;
  margin-right: 5px;
}

.caret-down::before {
  -ms-transform: rotate(90deg);
  /* IE 9 */
  -webkit-transform: rotate(90deg);
  /* Safari */
  transform: rotate(90deg);
}

.nested {
  display: none;
}

.active {
  display: block;
}

li span {
  font-size: 1vw;
}

li a span {
  font-size: 1vw;
}

/* ====================================================== */

#paypalPanel {
  width: 80%;
}

#paypal {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/*  ============= Stock Item Display Area =============== */

#speciesListTitle {
  padding-top: 3vw;
  font-size: 1.6vw;
}

.stockPic {
  width: auto;
  height: 7.5vw;
  margin: 0 0.5vw 0.5vw 0.5vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0.5vw;
  border-style: solid;
  border-width: 1px;
  border-color: #bedaf9;
}

#stockBoxDiv,
#lightboxDiv {
  position: relative;
  right: 0;
  flex-direction: row;
  padding: 0 1vw 1vw 1vw;
  box-sizing: border-box;
  border-style: solid;
  border-width: 1px;
  border-color: #bedaf9;
}

#stockBoxDiv {
  padding-bottom: 5vw;
  top: 0;
}

#lightboxDiv {
  min-height: 20vw;
  margin-top: 5vw;
  flex-direction: column;
  top: 0;
  justify-content: flex-start;
}

.trashIconLB {
  width: 1.2vw;
  height: auto;
  margin: 0 0 0.25vw 0.75vw;
}

#cartDisplay {
  justify-content: space-between;
  align-items: flex-start;
  flex-direction: row;
  position: relative;
}

#stockBox,
#stockBoxLB,
#stockBoxCart {
  justify-content: flex-start;
  flex-direction: row;
  flex-wrap: wrap;
  position: relative;
  margin-top: 1vw;
  box-sizing: border-box;
}

#stockBox {
  justify-content: space-evenly;
  align-items: flex-start;
  padding-bottom: 2vw;
  margin-top: 1.3vw;
}

#imgTotalDiv {
  display: flex;
  position: absolute;
  top: 0;
}

#imgTotal {
  font-size: 1vw;
}

#stockBoxCart {
  width: 40%;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 0vw;
  top: 0;
  left: 0;
  padding: 0.5vw 1.2vw 1.2vw 1.2vw;
}

#lightboxWarningDiv {
  width: 100%;
  height: auto;
  padding: 1vw;
  display: none;
  font-size: 2vw;
}

#lightboxWarningDiv p {
  font-size: 2vw;
}

.cartItemDiv {
  width: auto;
  height: auto;
  display: flex;
  flex-direction: row;
  padding: 0.5vw;
  margin-bottom: 1.5vw;
}

.selectArea {
  width: 25vw;
  height: 20vw;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  background-color: #e5f0fb;
  /* #fdf1dc; */
  padding: 1vw 1.5vw;
}

.useItem {
  position: relative;
  justify-content: flex-start;
  height: 25%;
  padding: 0.5vw 1vw 0.5vw 0;
  margin: 0.5vw 0vw;
  font-size: 1.2vw;
}

.stockItem,
.stockItemLBox,
.stockItemCBox {
  display: flex;
  position: relative;
  flex-direction: column;
  width: 24.5vw;
  max-width: 24%;
  height: 23vw;
  border-style: solid;
  border-width: 1px;
  border-color: #bedaf9;
  padding: 0.5vw;
  margin: 0.5vw;
  box-sizing: border-box;
  cursor: zoom-in;
}

.stockItem {
  box-sizing: border-box;
  justify-content: flex-start;
  align-items: center;
  cursor: default;
  width: 25%;
  margin: 0 0 1vw 0;
}

.noseeum {
  opacity: 0;
}

.fade-in {
  opacity: 1;
  transition: 0.75s all ease-in-out;
}

.stockItem img {
  cursor: zoom-in;
}

.stockItem .iconDiv .tooltip img {
  cursor: copy;
}

.stockItemCBox,
.stockItemLBox {
  width: 40vw;
  height: auto;
  min-height: 20vw;
  cursor: default;
  margin: 0 1vw 0 0;
}

.stockItemLBox {
  width: 20vw;
  margin: 1vw;
  min-height: 22vw;
  justify-content: flex-start;
}

/* Styles for the search field */

#searchBtn {
  float: left;
  width: 5vw;
  height: 2.3vw;
  padding: 10px;
  background: #bedaf9;
  color: white;
  font-size: 17px;
  cursor: pointer;
  border: 1px solid #acc6e4;
  border-left: none;
}

#searchBtn:hover {
  background: #acc6e4;
}

#searchBarDivOuter {
  position: relative;
  margin-top: 2vw;
}

#searchBarDiv {
  flex-direction: column;
  position: absolute;
  top: -2vw;
  left: 0vw;
  width: 30vw;
}

#simpleSearchTxt {
  justify-content: flex-start;
  margin-bottom: 0.25vw;
  padding-left: 0.5vw;
  font-size: 1.5vw;
}

.descTxt,
.descTxt2,
#descTxtStockCart {
  font-size: 0.9vw;
  text-align: center;
  margin-top: 0.2vw;
}

.descTxt2 {
  font-size: 1vw;
}

#descTxtStockCart {
  font-size: 2vw;
  color: white;
  background-color: rgb(151, 151, 151);
  padding: 1vw;
  margin-top: 0.2vw;
}

#cartWarning {
  position: absolute;
  top: 4vw;
  display: none;
}

#numImagesCart {
  position: absolute;
  left: 1vw;
  top: 0.5vw;
  justify-content: flex-start;
  display: none;
}

#cartNumber {
  position: absolute;
  top: 0.27vw;
  margin-left: 0.4vw;
  font-size: 1.4vw;
}

.iconDiv,
.iconDivLB,
.iconDivCart {
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.iconDiv {
  z-index: 5;
}

.iconDivLB {
  height: auto;
  right: 0.25vw;
  justify-content: space-between;
}

.iconDivCart {
  position: relative;
  width: auto;
  margin-right: 1vw;
}

.addLightbox {
  position: relative;
  cursor: pointer;
  width: 2vw;
  height: 2vw;
  padding: 0.5vw 0.2vw 0vw 0.5vw;
  z-index: 5;
}

.priceDiv {
  position: absolute;
  right: 1vw;
}

.showInfo {
  display: block;
  position: relative;
}

.checkoutInfoIcon {
  width: 1.3vw;
  height: 1.3vw;
  position: relative;
  top: 0.1vw;
  margin-left: 1vw;
  cursor: help;
}

.catagoryTxt {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 11vw;
  height: auto;
  position: relative;
}

#clearBtnDiv {
  width: 100%;
  position: absolute;
  bottom: 0;
}

#clearStock {
  z-index: 3;
  padding: 0.2vw;
}

#clearAll {
  right: 0.25vw;
}

/*  ================= Summary Table ================== */

#stockSummary {
  position: relative;
  top: 0vw;
  right: 0vw;
  display: none;
  width: 40%;
  margin-bottom: 2vw;
}

#tableStockSummery {
  position: relative;
  right: 0;
  top: 1vw;
  flex-direction: column;
  padding: 0.5vw 1.2vw 1.2vw 1.2vw;
  border-style: solid;
  border-width: 1px;
  border-color: #bedaf9;
  box-sizing: border-box;
}

#stockTable {
  width: 100%;
  margin-top: 0.5vw;
}

#stockTable tbody tr td,
#stockTable tbody tr th {
  font-size: 0.8vw;
  padding: 0.5vw;
}

#stockTable tbody tr th {
  font-size: 1.1vw;
}

#advert {
  flex-direction: column;
}

#orderOutput {
  font-size: 0.8vw;
}

#paypalNotice {
  display: none;
  flex-direction: column;
}

#paypalAlert {
  flex-direction: column;
}

#sendBtnStock {
  width: 10vw;
  cursor: pointer;
}

#resetBtnStock {
  width: 5vw;
  height: 1.8vw;
  cursor: pointer;
  font-size: 1vw;
}

#formBtnStock {
  display: flex;
  justify-content: center;
  align-items: center;
}

#nextDiv {
  display: none;
  margin-top: 2vw;
  font-size: 2.3vw;
  width: 20vw;
}

#nextDiv:hover {
  cursor: pointer;
}

#paypalSection,
#paypalSection2 {
  position: relative;
  padding: 1.2vw;
  display: none;
  flex-direction: column;
}

#paypalSection2 {
  width: 65%;
  margin-top: 1vw;
}

#stockContact {
  flex-direction: column;
  margin-top: 2vw;
}

#stockContactTxt {
  width: 80%;
}

#notesStock {
  position: absolute;
  bottom: -100vw;
  right: -100vw;
  margin-top: 1vw;
  font-size: 1vw;
  margin-bottom: 1vw;
  flex-direction: column;
}

/* ================= Custom Checkbox ================= */

/* The container */

.containerLB {
  display: block;
  position: relative;
  padding-left: 1.7vw;
  margin-bottom: 1.7vw;
  cursor: pointer;
  /* font-size: 1.2vw; */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */

.containerLB input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 1.3vw;
  width: 1.3vw;
  background-color: lightgreen;
  border-style: solid;
  border-width: 1px;
  border-color: #bedaf9;
}

/* On mouse-over, add a grey background color */

.containerLB:hover input~.checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */

.containerLB input:checked~.checkmark {
  background-color: #2196f3;
}

/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */

.containerLB input:checked~.checkmark:after {
  display: block;
}

/* Style the tick checkmark/indicator */

.containerLB .checkmark:after {
  left: 0.5vw;
  top: 0.15vw;
  width: 0.3vw;
  height: 0.6vw;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

#goCheckoutBtn {
  margin-top: 2vw;
}

/* =============================================================== */

.hidden {
  display: none;
}

#pagination-container {
  width: auto;
  height: auto;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  position: absolute;
  bottom: 0;
  padding: 0.5vw;
}

#pagination-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  width: 100%;
  height: auto;
}

.pagination-number,
.pagination-button {
  font-size: 1.2vw;
  background-color: transparent;
  border: none;
  margin: 0.25rem 0.25rem;
  cursor: pointer;
  height: 1.5vw;
  width: 1.5vw;
}

.pagination-number:hover,
.pagination-button:not(.disabled):hover {
  background: #e7e7e7;
}

.pagination-number.active {
  border-bottom: 2px solid #6186ff;
}

#prev-button {
  visibility: hidden;
}

#next-button {
  visibility: visible;
}

#stockLightbox {
  display: none;
  margin-top: 0;
  padding-bottom: 1vw;
  height: auto;
}

#searchDiv {
  width: 30vw;
}

#searchTitle {
  font-size: 1.5vw;
}

#searchIcon {
  width: 1.6vw;
  height: auto;
  margin-top: 0.25vw;
  margin-left: 2vw;
  padding-right: 1vw;
  opacity: 0.5;
}

/* ======= Text Section On Page Load - Orders & Families ======== */

.generaDiv {
  justify-content: flex-start;
  align-items: flex-start;
}

.generaContent {
  justify-content: flex-start;
  align-items: flex-start;
}

.generaContentInner {
  margin-left: 0.5vw;
}

.generaContent p {
  margin-left: 0.5vw;
}

.generaHeading {
  font-weight: bolder;
  font-size: 1.5vw;
  margin-top: 0.25vw;
  margin-bottom: 0.25vw
}

#AIdiv {
  position: absolute;
  top: -1.5vw;
}

#AItext {
  font-size: 1vw;
}

.margTop {
  margin-top: 0;
}

/* ============================================================= */
/* ====================== MEDIA QUERIES ======================== */
/* Mobile */
@media screen and (min-width: 320px) and (max-width: 480px) {
  .stockPic {
    height: auto;
    justify-content: space-between;
  }

  #collectedPicsStock {
    height: auto;
    padding-bottom: 5vw;
  }

  #stockLightbox {
    padding: 2vw 0 4vw 0;
    margin-top: 2vw;
  }

  #clearBtnDiv {
    bottom: 4vw;
  }

  .clearBtn {
    right: 1vw;
  }

  .orderBtn {
    width: 24vw;
    font-size: 3.5vw;
  }

  #stockSelectSection {
    width: 100%;
    margin-top: 3vw;
    align-items: flex-start;
  }

  #lightboxBtnDiv {
    margin: 2vw 0 8vw 0;
  }

  #searchBarDivOuter {
    justify-content: flex-start;
  }

  #searchBarDiv {
    position: relative;
    width: 100%;
    align-items: flex-start;
    padding-left: 1vw;
    top: 0;
  }

  #simpleSearchTxt {
    position: relative;
    padding-left: 0;
    top: -1.5vw;
  }

  #searchDiv {
    justify-content: flex-start;
    width: 80vw;
    position: relative;
    padding-left: 0;
    top: -1.5vw;
  }

  #searchTitle {
    font-size: 4vw;
  }

  #searchBtn {
    width: 8vw;
    height: 8vw;
  }

  #contactDiv {
    width: 100%;
  }

  input[type="text"],
  input[type="email"] {
    line-height: 3vw;
    font-size: 3vw;
  }

  #searchIcon {
    width: 4vw;
  }

  .tooltip {
    right: 0.75vw;
    bottom: 0.2vw;
  }

  .stockItem {
    height: 100%;
    width: auto;
    max-width: none;
    margin-bottom: 2vw;
  }

  .descTxt {
    font-size: 3.5vw;
    margin-top: 1vw;
  }

  .descTxt2 {
    font-size: 3vw;
    margin-bottom: 6vw;
  }

  .addLightbox {
    width: 6vw;
    height: 6vw;
    padding: 1vw 1vw 0vw 0.5vw;
  }

  #galleryTreeStock {
    width: 45%;
    position: relative;
  }

  #stockTreeDiv h5 {
    font-size: 4vw;
  }

  #stockBoxDiv {
    width: 55%;
  }

  #stockBox {
    justify-content: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    box-sizing: content-box;
    margin-top: 3.5vw;
  }

  #imgTotal {
    font-size: 2.5vw;
  }

  .pagination-number,
  .pagination-button {
    font-size: 3.5vw;
    height: 4vw;
    width: 4vw;
  }

  #subHeader {
    font-size: 3vw;
  }

  .stockItemLBox {
    height: 45vw;
    width: 30vw;
    max-width: none;
    min-height: 0;
  }

  .stockItemLBox span,
  .stockItemLBox .descTxt2 {
    font-size: 2vw;
  }

  .iconDivLB img {
    height: auto;
    width: 3vw;
  }

  .trashIconLB {
    width: 3.5vw;
    margin: 0 0 0.25vw 2vw;
  }

  .iconDivLB .tooltip {
    right: 0;
    bottom: 0;
  }

  .iconDivLB {
    right: 0;
    margin-bottom: 1vw;
  }

  .containerLB .checkmark {
    top: 0;
    right: 0;
    height: 4.5vw;
    width: 4.5vw;
  }

  .containerLB input,
  .containerLB {
    bottom: 2vw;
    right: 4vw;
  }

  .stockItemCBox {
    margin-right: 3vw;
    width: 40vw;
  }

  .stockItemCBox span,
  .stockItemCBox .descTxt2 {
    font-size: 2vw;
  }

  .selectArea {
    width: 25vw;
    height: 30vw;
  }

  .selectArea .useItem .iconDivCart .containerLB {
    right: 0;
    margin-right: 0;
  }

  .useItem .catagoryTxt {
    left: 5vw;
  }

  .useItem .catagoryTxt {
    font-size: 2vw;
  }

  .useItem .tooltip {
    right: 0;
    bottom: 0;
    left: 3vw;
  }

  .checkoutInfoIcon {
    width: 3vw;
    height: 3vw;
  }

  /* =========== */

  #clearAll {
    right: 1vw;
    top: 0.5vw;
  }

  #greyOverlay {
    height: calc(innerHeight * 1.2);
    width: calc(innerWidth * 1.2);
  }

  #warningDiv3 {
    top: 30%;
    bottom: 70%;
    width: 80vw;
    height: 28vw;
  }

  #warningTxt {
    font-size: 3vw;
  }

  #warningBtnDiv {
    bottom: 3vw;
  }

  #warningBtnDiv .basicDiv {
    width: 15vw;
    height: 4vw;
  }

  #shoppingCartPic {
    width: 6vw;
  }

  #cartNumber {
    font-size: 2.5vw;
    top: 0vw;
  }

  .useItem .iconDivCart .containerLB .checkmark {
    width: 3vw;
    height: 3vw;
  }

  .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 4vw;
    width: 4vw;
    background-color: lightgreen;
    border-style: solid;
    border-width: 1px;
    border-color: #bedaf9;
  }

  .containerLB .checkmark:after {
    width: 2vw;
    height: 2vw;
  }

  #stockSummary {
    width: 46%;
  }

  #stockContact span {
    width: 100%;
    height: auto;
    font-size: 2.8vw;
  }

  #contactDiv label {
    font-size: 2vw;
  }

  #stockContactTxt {
    width: 100%;
  }

  #resetBtnStock {
    font-size: 2vw;
    width: 10vw;
    height: 4vw;
  }

  #tableStockSummery {
    padding: 0.5vw 1.2vw 1.2vw 0;
  }

  #AIdiv {
    top: -4vw;
  }

  #AItext {
    font-size: 2.3vw;
  }

  .generaDiv p {
    font-size: 1vw;
  }

  #speciesListTitle {
    padding-top: 10vw;
  }

  li {
    padding: 1vw 0 1vw 0;
  }

  li a span {
    font-size: 3vw;
  }

  li span {
    font-size: 3vw;
  }

  .margTop {
    margin-top: 1vw;
  }

  .active {
    margin-top: 1vw;
  }
}