.field--name-field-section-1 > p,
.field--name-field-section-2 > p,
.field--name-field-section-3 > p, 
.field--name-field-section-4 > p,
.field--name-field-section-4-after-tab-text > p,
.field--name-field-section-5 > p,
.field--name-field-section-1 > ul,
.field--name-field-section-2 > ul,
.field--name-field-section-3 > ul,
.field--name-field-section-4 > ul,
.field--name-field-section-4-after-tab-text > ul,
.field--name-field-section-5 > ul {
  width: 75%;
  margin-left: 15%;
}

.field--name-field-section-2 table,
.field--name-field-section-3 table,
.field--name-field-section-4 table,
.field--name-field-section-5 table {
  width: 75%;
  margin-left: 15%;
  table-layout: fixed;
  color: #6c757d !important;
  font-size: 1.25rem;
}

.field--name-field-section-2 tr,
.field--name-field-section-3 tr,
.field--name-field-section-4 tr,
.field--name-field-section-5 tr {
  background: none;
  border: none;
}

.field--name-field-section-2 td,
.field--name-field-section-3 td,
.field--name-field-section-4 td,
.field--name-field-section-5 td {
  background: none;
  border: none;
}

.field--name-field-section-2 td {
  width: 15%;
}

.field--name-field-section-2 figure {
  display: inline-block;
}

.field--name-field-section-2 figure.caption > figcaption {
  display: block;
  text-align: center;
}

.field--name-field-section-2 img {
  max-height: 400px;
  max-width: 700px;
}

.field--name-field-section-2 figure.caption-img-large img {
  max-width: 1000px;
}

.field--name-field-section-2 > img {
  max-width: 500px;
  margin-left: 15rem;
  margin-top: 1rem;
}

.field--name-field-section-3 td img {
  max-height: 500px;
  max-width: 500px;
}

.field--name-field-section-2 a {
  text-decoration: none;
  color: #8e8e8e;
}

.field--name-field-section-1 > h4,
.field--name-field-section-2 > h4,
.field--name-field-section-3 > h4, 
.field--name-field-section-4 > h4,
.field--name-field-section-5 > h4,
.field--name-field-section-1 > h3,
.field--name-field-section-2 > h3,
.field--name-field-section-3 > h3, 
.field--name-field-section-4 > h3,
.field--name-field-section-5 > h3 {
  text-align: center;
}

.field--name-field-section-4 td img {
  max-height: 500px;
}

.field--name-field-section-4 td h4,
.field--name-field-section-5 td h4,
.field--name-field-section-4 td h3,
.field--name-field-section-5 td h3 {
  color: white;
}

.py-5 {
  background: rgb(250, 250, 250);
}

.py-5 .container {
  width: 75%;
}

.field--name-field-section-1,
.field--name-field-section-2,
.field--name-field-section-3, 
.field--name-field-section-4,
.field--name-field-section-5,
.field--name-field-section-4-after-tab-text,
.tabcontent-workflow,
.tablinks-workflow,
.section-4-tab-2,
.section-5-tab-2 {
  color: #6c757d !important;
  font-size: 1.25rem;
}

.site-footer {
  background-color: #8e8e8e !important;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  margin-right: calc(var(--bs-gutter-x) * .5);
  margin-left: calc(var(--bs-gutter-x) * .5);
}

.site-footer__bottom {
  border-top: 0;
  margin-top: 0;
}

.site-footer__bottom .content {
  justify-items: center;
}

.site-footer__bottom h4 {
  color: white;
}

.site-footer__bottom p {
  color: #cdcdcd !important;
  font-size: 1rem;
}

.site-footer__bottom a {
  text-decoration: none;
}

#navbar-main,
#navbar-main nav {
  display: block;
}

.menu--die-attach ul,
.menu--wire-bonding ul,
.menu--encapsulation ul,
.menu--quality ul {
  background-color: #b0b0b0 !important;
  padding: 1rem;
}

.menu--die-attach ul li .nav-link,
.menu--wire-bonding ul li .nav-link,
.menu--encapsulation ul li .nav-link,
.menu--quality ul li .nav-link {
  color: rgba(0, 0, 0, 0.5);
}

.menu--die-attach ul li .nav-link.is-active,
.menu--wire-bonding ul li .nav-link.is-active,
.menu--encapsulation ul li .nav-link.is-active,
.menu--quality ul li .nav-link.is-active {
  color: rgba(0, 0, 0, 0.9);
}

.section_4_tab_title {
  text-align: center;
}

.py-1,
.py-2,
.py-3,
.py-4,
.py-5,
.py-6 {
  min-height: 250px;
  align-content: space-around;
}

.py-6 {
  background-color: #cdcdcd !important;
}

.cover-image {
  background-position: bottom, center;
  background-size: 100%;
  background-repeat: no-repeat;
}

article[data-history-node-id="2"] .cover-image,
article[data-history-node-id="7"] .cover-image,
article[data-history-node-id="9"] .cover-image,
article[data-history-node-id="12"] .cover-image,
article[data-history-node-id="14"] .cover-image,
article[data-history-node-id="18"] .cover-image,
article[data-history-node-id="17"] .cover-image,
article[data-history-node-id="20"] .cover-image {
  background-position: center, bottom;
}

.section-2-row {
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  flex-wrap: wrap;
  text-align: center;
}

.btn-info-packaging,
.btn-info-packaging:active,
.btn-info-packaging:focus,
.btn-info-packaging:hover,
.btn-info-packaging:not(.disabled):hover {
  background-image: none;
  color: #fff;
  background-color: #8e8e8e;
  border-color: #8e8e8e;
}

.field--name-field-section-3 table tbody tr td:nth-child(2) {
  display: flex;
  justify-content: center;
}

.field--name-field-section-5 > p {
  text-align: justify;
}

p.video {
  text-align: center;
}

.field--name-field-section-5 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.field--name-field-section-5 h4 {
  color: white;
}

@media (max-width: 1200px) {
  .navbar-expand-xl .navbar-nav {
    flex-direction: row;
  }

  tr { display: block; }
  td { display: inline-block; word-break: break-all; }

  .cover-image {
    height: 25vh;
  }

  .field--name-field-section-2 img {
    max-height: 400px;
    max-width: 100%;
  }
  .field--name-field-section-3 td img {
    max-height: 500px;
    max-width: 100%;
  }
  .field--name-field-section-2 figure.caption-img-large img {
    max-width: 100%;
  }
  .field--name-field-section-5 td:nth-child(2) {
    width: 100%;
  }
  .section-5-tab-2 img {
    max-width: 100%;
  }
  .field--name-field-section-2 > img {
    max-width: 100%;
    margin-left: 0rem;
  }
  .py-5 .container {
    width: 100%;
  }
}

.field--name-field-section-4 iframe,
.field--name-field-section-5 iframe,
.tabcontent-workflow iframe {
  width: 100%;
}
