.grid-container-description-galleryproduct.container-fluid {
  padding: 60px 0;
}

.galleryproduct .cbp-nav-controls {
  position: relative;
}

.galleryproduct p.item_title {
  margin: auto;
  color: #3f4b55 !important;
  text-shadow: none;
  font-size: 18px !important;
}
.galleryproduct p.item_description {
  font-size: 20px !important;
  text-shadow: none !important;
  margin: auto;
  font-weight: bold !important;
  color: #3f4b55 !important;
}

.galleryproduct h5.product-family {
  color: #0076be;
  font-size: 16px;
  font-weight: bold;
  margin-top: 1rem;
}

.galleryproduct a.primary_button {
  margin: auto;
  margin-top: 20px;
}

#grid-container-galleryproduct {
  max-width: 1200px;
}

#grid-container-galleryproduct .Rtable {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 3em 0;
  padding: 0;
}

#grid-container-galleryproduct .Rtable-cell {
  border: none;
  box-sizing: border-box;
  flex-grow: 1;
  list-style: none;
  overflow: hidden;
  padding: 0;
  text-align: center;
  width: 100%;
}

#grid-container-galleryproduct .Rtable-cell h3 {
  margin-top: 10px;
}

#grid-container-galleryproduct .product-title {
  font-size: 30px !important;
  font-weight: bold !important;
  color: #0076be !important;
}

#grid-container-galleryproduct .Rtable-cell p {
  font-weight: normal;
  margin-top: 5px;
}

.cbp img {
  max-width: 600px;
  max-height: 600px;
  margin: 0 auto;
}

.cbp-nav-pagination {
  bottom: -60px;
}

#grid-container-galleryproduct .cbp-nav-controls {
  position: relative;
}

#grid-container-galleryproduct .cbp-nav-controls .cbp-nav-prev {
  display: block;
  position: absolute;
  z-index: 2;
  left: -60px;
  bottom: 250px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  background: none;
  opacity: 0.6;
  box-shadow: none;
  border: solid 2px black;
}

#grid-container-galleryproduct .cbp-nav-controls .cbp-nav-next {
  display: block;
  position: absolute;
  z-index: 2;
  right: -60px;
  bottom: 250px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  background: none;
  opacity: 0.6;
  box-shadow: none;
  border: solid 2px black;
}

.cbp-nav-next:active,
.cbp-nav-prev:active {
  opacity: 1;
}

.cbp-nav-next:hover,
.cbp-nav-prev:hover {
  opacity: 1;
}

.cbp-nav-prev:after {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  left: 5px;
  padding: 5px;
  transform: rotate(135deg);
  -webkit-transform: rotate(135deg);
}

.galleryproduct .cbp-nav-next:after {
  border: solid black;
  border-width: 0 3px 3px 0;
  display: inline-block;
  right: 5px;
  padding: 5px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}

.galleryproduct .cbp-nav-next:after,
.cbp-nav-prev:after {
  background: none;
}

.galleryproduct .gallery-title {
  margin: 20px 20px 0 20px;
}

.galleryproduct .gallery-description {
  margin: 0px 20px 0 20px;
}

.galleryproduct .gallery-description {
  display: flex;
  flex-direction: column;
}

.galleryproduct #grid-container-galleryproduct .Rtable-cell:first-child {
  margin-top: 0 !important;
}

#grid-container-galleryproduct .Rtable-cell {
  margin: 15px 0;
}

/* ======== Media Query ======== */

@media only screen and (max-width: 900px) {
  .galleryproduct .cbp-nav {
    display: block !important;
  }

  .galleryproduct .cbp-nav-prev {
    left: 0 !important;
  }
  .galleryproduct .cbp-nav-next {
    right: 0 !important;
  }

  .cbp-nav-prev,
  .cbp-nav-next {
    width: 30px;
    height: 30px;
  }

  .galleryproduct .cbp-nav-next:after {
    right: 3.5px;
    padding: 3.5px;
  }

  .galleryproduct .cbp-nav-prev:after {
    left: 3.5px;
    padding: 3.5px;
  }

  .galleryproduct .cbp-nav-controls .cbp-nav-next,
  .galleryproduct .cbp-nav-controls .cbp-nav-prev,
  .galleryproduct .cbp-nav-pagination {
    display: block;
  }
}

@media all and (max-width: 767px) {
  #grid-container-galleryproduct .Rtable-cell {
    width: 100% !important;
  }
  #grid-container-galleryproduct .Rtable-cell--foot {
    margin-bottom: 1em;
  }
  .grid-container-description-galleryproduct.container-fluid {
    padding: 0;
    padding-top: 30px;
  }
}
