.page-node-type-product h1.page-header {
  display: none;
}

.page-node-type-product .container-image {
  display: flex;
  flex-direction: column;
  min-height: 430px;
  max-height: 530px;
  border-radius: 0px 13px 13px 0px;
  padding: 0;
  overflow: hidden;
}

.page-node-type-product .product-images {
  width: 100%;
  position: relative;
  height: calc( 100% - 30px );
}

.page-node-type-product .product-images div {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  position: relative;
}
.page-node-type-product .product-images div.active {
  opacity: 1;
  position: absolute;
  top: 0;
  z-index: 999;
}

.product-thumb-images {
  position: relative;
  display: flex;
}

.product-thumb-images div {
  width: 50px;
  cursor: pointer;
  height: 50px;
  background-size: cover;
  position: relative;
  box-shadow: 0px 0px 0px 0px #fff inset;
  background-position: center;
}

.product-thumb-images div:hover:after {
  opacity: 0;
  transition: 0.2s ease;
}

.product-thumb-images div.active{
  box-shadow: 0px 0px 0px 2px #fff inset;
}

.product-thumb-images div:hover{
  box-shadow: 0px 0px 0px 2px #fff inset;
}

.product-thumb-images div:after {
  background: #000;
  position: absolute;
  transition: 0.2s ease;
  top: 0;
  content: "";
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.2;
}

.product-thumb-images div.active:after {
  background: #000;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
}


.page-node-type-product .title-stand {
  display: none;
}

.page-node-type-product .main-container,
.page-node-type-product{
  background-color: #DDE6EF;
}

.box-container .row>div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-node-type-product .box-container {
  background-color: #fff;
  background-image: url(./../src/images/pattern-triangles-light-blue.png);
  background-position: top right;
  background-size: contain;
  background-size: 830px;
  background-repeat: no-repeat;
}

.page-node-type-product .box-container>.row {
  margin: 0;
}

body.page-node-type-product .box-container .main-metadata {
  padding: 1rem  3rem;
}

.box-container .field--name-field-common-name{
  margin: 2rem 0rem 3rem 0rem;
}

.box-container .field--name-field-common-bio {
  margin-bottom: 1rem;
}

.box-container .slideshow  {
  display: flex;
  justify-content: flex-end;
}

.box-container .slideshow > div div {
  height: 100%;
}

/* .box-container .col-lg-6.col-md-12:not(.slideshow) {
  margin: 0rem ;
  padding: 0;
} */

.box-container .slideshow > div {
  width: 415px;
  height: 415px;
  border-radius: 0px 14px 14px 0px;
}

.box-container .slideshow > div:empty {
  background-color: #f1f1f1 !important;
}

.box-container .field--name-field-common-image{
  display: flex;
  justify-content: center;
  align-items: center;
}

.box-container .slideshow img {
  height: auto;
  width: 100%;
  max-width: none;
  max-height: 480px;
}

.box-container .slideshow .field--item:before  {
  display: none;
}

.back-to-ex{
  display: inline-block;
  margin: 0px auto;
}

a.back-to-ex,
.view-product-detail-back-button a{
  display: inline-block;
  margin: 0px auto;
  color: #fff;
  padding: 1rem 2.5rem;
}

.view-product-detail-back-button .views-field-nothing span{
  display: flex;
}

.view-product-detail-back-button a:hover {
  color: #fff;
}

/*
RESET FORM BACK
*/
.toolbar-tray-open .field--name-field-common-image {
  display: block;
}

@media (max-width:992px) {
  .box-container .slideshow {
    justify-content: center;
  }

  .page-node-type-product .container-image {
    height: 430px;
  }
}

@media (max-width:768px){
  .box-container .slideshow > div {
    width: 200px;
    height: 200px;
    border-radius: 415px;
    overflow: hidden;
    max-height: 200px;
  }
}

@media (max-width:576px){
  body.page-node-type-product .box-container .main-metadata{
    padding: 1rem 1rem;
  }
}