.text-align-center {
  text-align: center;
}

.logo {
  border-bottom: 2px solid #a0cd54;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.logo .logo-img-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.logo .logo-img-container .logo-img {
  margin: auto;
  max-width: 12.5em;
}

.img-box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: calc(50% + 100px);
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
}

.tabs-container {
  width: 100%;
  display: table;
  background-color: #224091;
  color: white;
  min-height: 7em;
  text-align: center;
  cursor: pointer;
}

.banner-header {
  /* width: 20%; */
  width: calc(100% / 6);
  display: table-cell;
  vertical-align: middle;
  font-size: 11px;
  border: solid 0.5px white;
}

.fmDerived {
  background-color: #f41c54;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.active {
  background-color: white;
  border-top: 5px solid #a0cd54;
  border-bottom: 5px solid white;
  color: #224091;
  /* width: 20%; */
  width: calc(100% / 6);
  display: table-cell;
  vertical-align: middle;
  font-size: 11px;
}

.product-title {
  display: table;
  width: 100%;
}

.product-img-div {
  display: table-cell;
  width: 50%;
  text-align: center;
  vertical-align: middle;
  padding: 10px;
}

.product-img {
  cursor: pointer;
  max-width: 100%;
  height: auto;
  max-height: 130px;
}

.enlarge-img {
  cursor: pointer;
}

.header-logo-container {
  display: flex;
}

.bioeng-img-container.header-img-container {
  width: 125px;
  height: 125px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bioeng-img {
  width: 90px;
}

.bioeng-img.header-img {
  cursor: pointer;
}

.product-header {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.2;
}

.product-info {
  display: table-cell;
  width: 50%;
  padding: 25px;
  vertical-align: middle;
}

.subheader {
  font-size: 14px;
  line-height: 1.4;
}

/* Try to fix the margin top in back button to be automatic, only logo-img or back button seems to center vertically */
.back-button {
  display: none;
  color: #224091;
  float: left;
  position: absolute;
  z-index: 200;
  margin-top: 25px;
  margin-left: 25px;
  font-size: 26px;
  cursor: pointer;
}

.big-img-div {
  display: none;
  padding-top: 20px;
  text-align: center;
  height: 35em;
}

.big-img-div .big-img {
  max-height: 100%;
  max-width: 50%;
}

/* THIS IS DEALING WITH THE MODAL ON LEAVE */
.modal {
  font-family: "Trebuchet MS" !important;
}

.btn-primary {
  color: #fff;
  background-color: #224091;
  border-color: #224091;
}

.btn-secondary {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

/* THIS IS FOR ANY DROP DOWN THAT MIGHT BE NEEDED LIKE FOR VARIETY PACKS */
#product-select {
  display: none;
  background: #224091;
  color: white;
  border-radius: 1px;
  border: 1px solid #224091;
  padding: 0 10px;
  width: 100%;
  max-width: 340px;
  height: 35px;
  margin-top: 20px;
  margin-left: 20px;
}

#panel-select option {
  padding: 10px;
}

/* Hide the images by default */
.big-img-container {
  display: none;
  align-items: center;
  justify-content: center;
}

.img-navigation-container {
  padding-top: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.small-imgs-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  width: 50%;
  cursor: pointer;
}

.small-img-container {
  margin: 0 0.2em;
  padding: 0.2em;
  border: 2px solid lightgrey;
  display: flex;
  align-items: center;
  justify-content: center;
}

.small-img-container.active-img {
  border: 2px solid #224091;
}

.small-img-container .small-img {
  width: 100%;
  max-height: 8em;
}

.image-slides-container, .big-img-container {
  height: 100%;
}

@media (max-width: 768px) {
  .big-img-div {
    height: 30em;
  }
}

@media (max-width: 500px) {
  #panel-select {
    margin: 20px auto 0;
    display: block;
    height: 40px;
  }
}

@media (max-width: 425px) {
  .banner-header {
    padding: 0 5px;
  }
  .big-img-div {
    height: 15em;
  }
}
