@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.dot {
  opacity: 1;
  animation: fadeIn 100ms forwards;
}

.hidden {
  opacity: 0;
}

#faq h3,
#description h3{
  font-size: 20px;
  display: block;
  color: black;
  font-weight: 600;
  margin: 20px auto 20px;
  text-align: left;
}
#product-page-anchor {
  width: 90vw;
  max-width: 1500px;
  margin: 20px auto 50px;
  text-align: center;
  background-color: white;
}
.backlinks{
  color: #363636;
}
.backlinks a{
  color: #363636;
}
.product-page-title {
  font-size: 28px;
  display: block;
  color: black;
  font-weight: 600;
  margin: 0 auto 20px;
  text-align: center;
}

#product-img-div {
  display: inline-block;
  background-color: white;
  width: 38%;
  min-width: 300px;
  max-width: 700px;
  height: auto;
  vertical-align: top;
  text-align: center;
  padding: 35px;
  margin:2%;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.bms-floating-logo {
  position: absolute;
  z-index: 2;
  width: 80px;
}

#product-main-img {
  max-width: 100%;
  width: auto;
  min-height: 300px;
  border-radius: 8px;
 box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
 margin: 0 auto;
}

#product-all-img-div {
  
  display: block;
  text-align: center;
  height: auto;
  margin: 3px auto;
}

.product-alt-img {
  display: inline-block;
  width: 15%;
  margin: 0;
  border: solid 2px transparent;
  border-radius: 8px;
}

.product-alt-img.active {
  border-color: #444444;
}

#product-info-div {
  display: inline-block;
  background-color: white;
  position: relative;
  justify-content: space-between;
  width: 40%;
  max-width: 600px;
  min-width: 300px;
  height: 100%;
  padding: 10px;
  text-align: left;
  vertical-align: middle;
  overflow-y: visible;
  padding: 30px;
  margin:2%;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
}

.product-image {
  width: 100%;
}

#product-description {
  display: block;
  width: 100%;
  min-height: 30vh;
  line-height: 1.1em;
  text-align: justify;
}

#component-img{
  width: auto;
  height: 50px;


}
.product-addToCart {
  text-align: center;
  display: inline-block;
  width: 40%;
  background-color: #363636;
  color: white;
  padding: 5px 0;
}

.product-buyNow {
  text-align: center;
  display: inline-block;
  width: 40%;
  background-color: #363636;
  color: white;
  padding: 5px 0;
}

.product-addToCart:hover {
  background-color: #444444;
  cursor: pointer;
}

.product-buyNow:hover {
  background-color: #363636;
  cursor: pointer;
}

#product-info-bottom-div {
  width: 100%;
  display: block;
}

.price {
  color: black;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
}

.price::before,
#pre-discount-price::before {
  content: "$";
}

#pre-discount-price {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  text-decoration: line-through;
  line-height: 0.8em;
}

.qty-div {
  width: 80%;
  height: auto;
  display: flex;
  justify-content: center;
  align-content: center;
  margin: 10px auto;
  text-align: center;
}

.qty-div button {
  display: inline-block;
  height: 40px;
  width: 40px;
  border: none;
  padding: 0;
  font-size: 20px;
  font-weight: 400;
  color: white;
  cursor: pointer;
  vertical-align: middle;
  background-color: #363636;
  transform-origin: center;
}

.qty-div input {
  width: 80px;
  margin: 0 5px;
  font-size: 18px;
  text-align: center;
  vertical-align: middle;
  border: solid 2px transparent;
}

.qty-div input:active,
.qty-div input:focus {
  border-bottom-color: #363636;
}


.add-to-cart-btn {
  text-align: center;
  display: inline-block;
  width: 40%;
  background-color: #363636;
  border-radius: 3px;
  color: white;
  padding: 5px 0;
  margin-bottom: 10px;
}

.add-to-cart-btn:hover {
  background-color: #444444;
  cursor: pointer;
}

.add-to-cart-btn:active,
.buy-now-btn:active,
.qty-div button:active {
  transform: scale(0.9);
}

#warranty-select {
  display: block;
  width: 85%;
  min-width: 50%;
  margin: 0 auto;
  padding: 10px 5px;
  border-radius: 3px;
  border: none;
  border-bottom: solid 2px black;
}

#warranty-select:focus,
#warranty-select:active {
  outline: none;
  border: none;
  border-bottom: solid 2px black;
}

#warranty-select:hover {
  cursor: pointer;
}

#warranty-select option {
  padding: 10px;
}

.buy-now-btn {
  text-align: center;
  display: inline-block;
  width: 40%;
  background-color: #363636;
  color: white;
  padding: 5px 0;
  margin-bottom: 10px;
}

.buy-now-btn:hover {
  background-color: #444444;
  cursor: pointer;
}

.build-btn {
  text-align: center;
  background-color: #363636;
  border-radius: 3px;
  padding: 5px 10px;
  color: white;
  display: block;
}

.build-btn:hover {
  cursor: pointer;
  background-color: #444444;
}

#other-products {
  text-align: center;
}

#related-products-anchor {
  display: block;
  width: 100%;
  max-width: 1300px;
  margin: auto;
  margin-bottom: 20px;
  text-align: center;
}

.related-product-div {
  width: 200px;
  display: inline-block;
  padding: 5px;
  margin: 5px 0;
  -webkit-transition: transform 0.1s ease-in-out;
  -moz-transition: transform 0.1s ease-in-out;
  -ms-transition: transform 0.1s ease-in-out;
  transition: transform 0.1s ease-in-out;
}

.related-product-div:hover {
  transform-origin: center;
  transform: scale(1.05);
}

.related-product-img {
  width: 150px;
  height: 150px;
  margin: 0 auto;
}

.related-product-title {
  color: black;
  font-size: 12px;
  line-height: 1em;
  max-height: 3em;
  overflow: hidden;
}

#related-products-anchor .slick-prev:before {
  content: url("../images/left-arrow-black-50.png");
}

#related-products-anchor [dir="rtl"] .slick-prev:before {
  content: url("../images/left-arrow-black-50.png");
}

#related-products-anchor .slick-next:before {
  content: url("../images/right-arrow-black-50.png");
}

[dir="rtl"] #related-products-anchor .slick-next:before {
  content: url("../images/right-arrow-black-50.png");
}

#related-products-carousel button.slick-prev,
#related-products-carousel button.slick-next {
  opacity: 0.5;
}

#related-products-carousel button.slick-prev:hover {
  opacity: 1;
}

#related-products-carousel button.slick-next:hover {
  opacity: 1;
}

#related-products-anchor .slick-list {
  text-align: center;
  margin: 0 auto;
  max-width: 1100px;
}

#related-products-anchor .slick-prev:before,
#related-products-anchor .slick-next:before {
  opacity: 1;
}

.related-product-price {
  font-weight: 600;
}

#restock-input-div {
  line-height: 60px;
  width: 70%;
  min-width: 320px;
  background-color: #cccccc;
  margin: 10px auto;
  padding: 20px 10px;
  border-radius: 3px;
}

#restock-div * {
  text-align: center;
  line-height: 1em;
}

#restock-input-div input {
  border: none;
  display: block;
  font-size: 14px;
  width: calc(90%);
  margin: 10px auto;
  background-color: #cccccc;
  border-bottom: solid 2px #363636;
}

#restock-input-div input:focus,
#restock-input-div button:focus {
  outline: none;
}

#restock-input-div button {
  display: inline-block;
  background-color: #363636;
  color: white;
  font-size: 16px;
  border: none;
  padding: 0 15px;
  margin: 10px 0 0;
  height: 40px;
  width: 70%;
  -webkit-transition: background-color 0.2s ease-in-out;
  -moz-transition: background-color 0.2s ease-in-out;
  -o-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
}

#restock-input-div button:hover {
  cursor: pointer;
  background-color: #444444;
}

.discount-banner {
  display: block;
  text-align: center;
  background-color: #444444;
  color: white;
  margin: 0 auto 5px;
}

.filter-li *{
  vertical-align: top;
}
#detail-anchor {
    position: relative;
    height: 1200px;
    text-align: left;
    margin: 0; 
    padding: 0; 
  
}
.description {
  width: 50%;
}
#specs-container {
  width: 100%;
  height: max-content;
  padding: 35px;
  margin: 2% auto;
  padding-top: 5%;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
  display: flex; /* Add display: flex to make child elements sit next to each other */
  justify-content: space-between; /* Distribute space evenly between child elements */
  align-items: center; /* Vertically center-align the child elements */
}





.comparison {
  text-align: right;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
#gbPDContiner, #powerContainer, .factContainer {
background-color: #cccccc;
box-shadow:  0 2px 4px rgba(0, 0, 0, 0.1);
padding: 8px;
border-radius: 8px;
margin: 20px;
}

.factContainer {
  display: flex;
  flex-direction: column;
  align-items: baseline;
  text-align: left;
  width: 50%;
  min-width: 200px;
  max-width: 400px;
  flex: 0 0 auto; 

}
.small{
  width: 10%;
}
.medium{
  width: 25%;
}
.large{
  width: 33%;
}
.bits:hover{
  transition: 0.1s;
  transform: scale(1.01);
}
.scale{
  background: rgb(205,234,0);
  background: -moz-linear-gradient(90deg, rgba(205,234,0,1) 0%, rgba(235,255,95,1) 100%);
  background: -webkit-linear-gradient(90deg, rgba(205,234,0,1) 0%, rgba(235,255,95,1) 100%);
  background: linear-gradient(90deg, rgba(205,234,0,1) 0%, rgba(235,255,95,1) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#cdea00",endColorstr="#ebff5f",GradientType=1);
  margin:1px; 
  border-radius:7px;
  transition: 1s;
}
#proc{
  width: 48px;
  height: auto;
}
#gbPDContiner, #powerContainer {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  width: fit-content;
  min-width: 200px;
  max-width: 400px;
}

#gbPD, #power {
  width: 100px;
  height: 100px;
  margin-right: 15px;
}

#gbpdText, #powerText {
  display: inline-block;
  vertical-align: middle;
  text-align: left;
}

#TopBayContainer{
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
}
#BottomBayContainer{
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
}
#BayContainer{
  width: 100%;
  border: #363636 solid 0.25px;
  border-radius: 8px;
}
.Drive{
  margin-left:2px;
  margin-top: 14px;
  width: 30px;
  height: 7px;
  border: #363636 solid 0.25px;
  border-radius: 8px;
  background-color: #e0e0e0;
}

#DIMMContainer{
  display: flex;
  flex-direction: row;
  width: 100%;
}

.DIMM{
  margin-left:2px;
  margin-top: 14px;
  width: 7px;
  height: 30px;
  border: #363636 solid 0.25px;
  border-radius: 8px;
  background-color: #e0e0e0;
}
.leftDIMMContainer{
  display: flex;
  flex-direction: row;
  margin-left: 0;
  margin-right: auto;
}
.rightDIMMContainer{
  display: flex;
  flex-direction: row;
  margin-left: auto;
  margin-right: 0;
}

#specs,
#support,
#description,
#faq {
  width: 100%;
  height: max-content;
  padding: 35px;
  margin: 2% auto;
  padding-top: 5%;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s ease;
  position: absolute;
  top: 0;
  left: 0;
}
#specs{
  height:945px;
}
#select-specs,
#select-support,
#select-description,
#select-faq {
  text-align: center;
  width: 25%;
  margin-top: 2%;
  position: relative;
  z-index: 3;
  display: inline-block; /* Display elements next to each other */
  border: 1px solid #ccc; 
  border-bottom: none;
  padding: 10px 20px; /* Adjust padding for the tabs */
  cursor: pointer; /* Change cursor to pointer to indicate interactivity */
  border-radius: 8px 0px 0 0; /* Add rounded corners to the top */
}

#select-specs,
#select-faq {
  border-radius: 0px 0px 0 0; /* Add rounded corners to the top */
}

#select-support{
  border-radius: 0px 8px 0 0;  
}

#description{
  z-index:1;
  background-color: #e0e0e0;

}
#faq{
  z-index: 0;
  background-color: #e0e0e0;
  opacity: 0;
}
#specs{
  z-index: 0;
  background-color: #e0e0e0;
  opacity: 0;
}
#support{
  z-index: 0;
  background-color: #e0e0e0;
  opacity: 0 ;
}

#superscript{
  display: inline;
  font-size: small;
  vertical-align: top;
}


input {
  --c: #cdea00; 
  --g: 1px; 
  --l: 5px; 
  --s: 20px; 
  
  height: 35px; /* needed for Firefox*/
  -webkit-appearance :none;
  -moz-appearance :none;
  appearance :none;
  background: none;
  cursor: pointer;
  overflow: hidden;
}

/* chromium */
input[type="range" i]::-webkit-slider-thumb{
  height: var(--s);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 var(--l) inset var(--c);
  border-image: linear-gradient(90deg,var(--c) 50%,#ababab 0) 1/0 100vw/0 calc(100vw + var(--g));
  clip-path:
    polygon(
       0     calc(50% + var(--l)/2),
      -100vw calc(50% + var(--l)/2),
      -100vw calc(50% - var(--l)/2),
       0     calc(50% - var(--l)/2),
       0 0,100% 0,
       100%  calc(50% - var(--l)/2),
       100vw calc(50% - var(--l)/2),
       100vw calc(50% + var(--l)/2),
       100%  calc(50% + var(--l)/2),
       100% 100%,0 100%);
  -webkit-appearance: none;
  appearance: none;
}
/* Firefox */
input[type="range"]::-moz-range-thumb {
  width: var(--s);
  background: none;
  border-radius: 50%;
  box-shadow: 0 0 0 var(--l) inset var(--c);
  border-image: linear-gradient(90deg,var(--c) 50%,#ababab 0) 1/0 100vw/0 calc(100vw + var(--g));
  clip-path:
    polygon(
       0     calc(50% + var(--l)/2),
      -100vw calc(50% + var(--l)/2),
      -100vw calc(50% - var(--l)/2),
       0     calc(50% - var(--l)/2),
       0 0,100% 0,
       100%  calc(50% - var(--l)/2),
       100vw calc(50% - var(--l)/2),
       100vw calc(50% + var(--l)/2),
       100%  calc(50% + var(--l)/2),
       100% 100%,0 100%);
  -moz-appearance: none;
  appearance: none;
}






@media screen and (max-width: 1200px) {
  #description{
    padding-top: 65px;
  }
  #related-products-anchor .slick-list {
    margin: 0 65px;
  }
}

@media screen and (max-width: 1300px) {
  #product-page-anchor {
    width: 90vw;
  }

  #product-img-div {
    width: 35%;
  }

  #product-info-div {
    width: 45%;
    padding: 2%;
    border-radius: 8px;
  }
}

@media screen and (max-width: 900px) {
  #description{
    padding-top: 65px;
  }
  #product-img-div {
    width: 100%;
    margin: 0;
    text-align: center;
  
  }

  #product-info-div {
    width: 100%;
    height: auto !important;
    display: block;
    margin: 10px auto;
    padding: 2%;
    border-radius: 8px;
  }

  #product-info-bottom-div {
    position: relative;
  }

  #product-page-anchor {
    margin: 10px auto;
  }

  .product-page-title {
    font-size: 18px;
  }

  #product-description {
    min-height: 0;
    margin-bottom: 0;
    margin-top: 20px;
  }

  #product-main-img {
    max-width: 300px;
    margin: 0 auto;
  }
  #faq,
  #specs,
  #support,
  #description{
    width: 100%;
    height: max-content;
    padding-top: 55px;
    padding-bottom: 25px;
    margin: 2% auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
  }
  #select-specs,
  #select-support,
  #select-description,
  #select-faq{
    padding:0;
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media screen and (max-width: 500px) {

  #related-products-anchor .slick-prev:before {
    content: url("../images/left-arrow-black-30.png");
  }

  #related-products-anchor [dir="rtl"] .slick-prev:before {
    content: url("../images/left-arrow-black-30.png");
  }

  #related-products-anchor .slick-next:before {
    content: url("../images/right-arrow-black-30.png");
  }

  [dir="rtl"] #related-products-anchor .slick-next:before {
    content: url("../images/right-arrow-black-30.png");
  }

  .qty-div span {
    font-size: 16px;
  }
  #faq,
  #support,
  #description{
    width: 100%;
    height: max-content;
    padding: 35px;
    padding-top: 65px;
    margin: 2% auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
  }

  #select-specs,
  #select-support,
  #select-description,
  #select-faq{
    padding:0;
    padding-top: 10px;
    padding-bottom: 10px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media screen and (max-width: 768px) {
  #specs-container {
    padding: 20px; 
    margin: 15% auto; 
    flex-direction: column;
    width: 100%;
  }
  #specs{
    height: 1000px;
  }
  .description{
    width: 100%;
  }
  .comparison {
    width: 100%;
    text-align: center; 
  }

  #gbPDContiner, #powerContainer, #factContainer {
    flex-direction: column; 
    align-items: start; 
  }

  #gbPD, #power {
    width: 80px; 
    height: 80px; 
    margin-right: auto; 
    margin-left: auto;
    text-align: center;
  }


}

