
@import url(../../css/base/variables.css);

.page-node-type-product .main-container,
.page-node-type-product,
.page-node-type-product .box-container,
.page-node-type-product .main-container {
  background-color: var(--darkblue);
}

/* TITLES */

/* main title */
.page-node-type-product h1 {
  font-size: 38px;
  color: #fff;
  font-weight: 600;
  line-height: 1em;
  text-align: center;
  margin-top: 4rem;
  padding: 0 1rem;
  /* word-break: break-all; */
}
.page-node-type-product h1 span { color: var(--blue); }

/* sectiont titles */
.section-title { 
  margin-top: 2rem;
  line-height: 1em;
  font-size: 45px;
  max-width: 70%;
  color: #fff;
}  
.section-title span { color: var(--blue); }

.view-stand-blocks-exhibitor-products .section-title {
  margin-top: 2.5rem;
}

.resources .section-title {
  text-align: left;
  margin: 5rem 0 1rem 0;
  color: #fff;
}


@media(min-width: 576px) {
  .page-node-type-product h1 { word-break: normal; }
}


@media (min-width: 1200px) {
  .page-node-type-product h1,
  .section-title { max-width: none; }

  .page-node-type-product h1 { 
    font-size: 90px; 
    margin-top: 5rem;
  }

  .section-title { 
    font-size: 80px; 
    line-height: 1em;
    margin-bottom: 1rem;
    font-weight: 400;
  }

  .view-stand-blocks-exhibitor-products .section-title {
    font-size: 60px;
  }

  .resources .section-title {
    font-size: 50px;
  }
}


@media (min-width: 1400px) {
  .page-node-type-product h1 span,
  .page-node-type-product h1 {
    font-size: 90px;
    line-height: 1em;
    font-weight: 400;
    margin: 0 0 3rem 0;
  }

  .page-node-type-product h1 { margin-top: 6rem; }

  .box-container .logo { margin-top: 0rem; }
}




/* SECTIONS TYPOGRAPHY */

/* resources paragraphs */
.resources .field--name-field-common-bio,
.resources .field--name-field-common-long-description {
  text-align: left;
  font-size: 14px;
  line-height: 1.7em;
  font-weight: 400;
  color: #fff;
  width: fit-content; /* ?? bug larghezza anche con text align ?? */
}

/* bigger style */
.resources .field--name-field-common-bio {
  font-size: 16px;
  line-height: 1.7em;
}

@media( min-width: 768px) {
  .resources .field--name-field-common-bio,
  .resources .field--name-field-common-long-description {
    font-size: 16px;
  }
  .resources .field--name-field-common-bio {
    font-size: 20px;
  }
}

body.page-node-type-product .box-container,
body.page-node-type-product .box-container .main-metadata { padding: 0; }


.page-node-type-product .box-container .row {
  display: flex;
  flex-direction: column;
  max-width: 100%;
  margin: 2rem auto;
}


.page-node-type-product .view-product-detail-back-button a {
  border: none;
  margin: 3rem auto;
  background-color: var(--blue);
  color: #fff;
  border-radius: 0;
  font-size: 16px;
}

.page-node-type-product .view-product-detail-back-button a:hover {
  background-color: #fff;
  text-decoration: none;
  border: none;
  color: var(--darkblue);
}


.page-node-type-product .container-image {
  border-radius: 0px;
  max-height: unset;
  min-height: unset;
}

.page-node-type-product .product-images {
  height: 80vh;
  max-height: 700px;
  margin: 1rem 0;
}

.page-node-type-product .product-images div.active { z-index: 8; }


@media (min-width: 1024px) {
  .page-node-type-product .box-container { margin: 5rem auto 1.5rem auto; }
  .page-node-type-product .box-container .row { max-width: 992px; }
}


@media (min-width:1200px){
  .page-node-type-product .box-container .row { max-width: 1040px; }
}