
/* for search view template */
.search_category_button {
  border: none;
  background: #999966;
  color: white;
  font-size: 17px;
  font-weight: bold;
  border-radius: 0.25em;
  padding: 0.5em;
  margin: 1em;
}
.search_category_button:hover { opacity: 85%; cursor: hand; }

.search_category_content {
 background: #f5f5f0;
}
.search_category_content a { color: #263300; font-size: 18px; font-weight: bold; text-decoration: none; cursor: hand;}
.search_category_content a:hover { color: green;}

/* ---------------------------------------------------------------------------------------------------------- */
/* for contact_us.html */
.contact_us_container {
  text-align: center;
  min-height: 70vh;
  max-width: 100vw;
  width: 80%;
  margin: auto;
}
.contact_us_container form { overflow-x: auto;}

@media screen and (max-width: 600px) {
  .contact_us_container { width: 95%; }
}

/* ---------------------------------------------------------------------------------------------- */
/* for about_us.html */
.about_us_container {
  text-align: center;
  min-height: 70vh;
  max-width: 100vw;
  width: 80%;
  margin: auto;
  overflow: hidden;
}
/* ---------------------------------------------------------------------------------------------------- */
/* for terms and conditions page */
.terms_conditions_container { text-align: center; padding: 1em;}

.terms_conditions_container li, .terms_conditions_container p {
  text-align: left;
  padding: 1em;
  font-size: 17px;
  list-style-type: decimal;
  }

/* ----------------------------------------------------------------------------------------------------------- */
/* for related product branch template used in product detail template */
.rel-product-div {
  margin: auto;
  overflow-x: auto;
  overflow-y: hidden;
  height: 13em;  /* modified */
  width: 90vw;
  max-height: 13em;  /* modified */
  max-width: 85vw;
  white-space: nowrap;
}

.rel-product-detail {
  overflow: hidden;
  display: inline-block;
  text-align: center;
  padding-right: 0.5em;
  padding-left: 0.5em;
  width: 20%;
  height: 100%;
  max-height: 100%;
  max-width: 20%;
  color: black;
}

.rel-product-detail p {   /* modified */
  margin-top: 0.5em;
  margin-bottom: 0.25em;
}

.related_products_img {  /* added new also added in template */
  width: 100%;
  height: 50%;
  position: relative;
}

.rel-product-div img {  /* modified */
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

@media screen and (max-width: 600px) {
  .rel-product-detail {
    width: 50%;  max-width: 50%;
  }
}
/* -------------------------------------------------------------------------------------------------------------- */