/* Tasman site fixes for the multi-page static build. */

.navbar .navbar-brand {
  flex: 0 0 auto;
  margin-left: 0;
  margin-right: 2rem;
  width: 84px;
}

.navbar .navbar-brand img {
  display: block;
  width: 100%;
  max-height: 64px;
  object-fit: contain;
}

.navbar .container,
.navbar .navbar-nav {
  align-items: center;
}

.navbar .btn-default {
  white-space: nowrap;
}

.navbar .quote-item {
  display: flex;
  align-items: center;
  margin-left: 24px !important;
}

.navbar .quote-item .btn-default {
  margin-top: 8px;
}

.home-hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
}

.home-hero .overlay {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.home-hero .slider-caption {
  top: auto;
  transform: none;
  -webkit-transform: none;
  padding-top: 70px;
}

.home-hero .slider-caption h1 {
  max-width: 820px;
}

.home-hero .slider-caption p {
  max-width: 720px;
}

.home-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 1.5rem;
}

.home-hero .slider-caption .btn-outline {
  margin-top: 0;
}

.product-feature {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.product-feature img,
.product-featur-img img {
  height: 100%;
  object-fit: cover;
}

.product-icon {
  align-items: center;
  display: flex;
  height: 60px;
  justify-content: center;
  width: 60px;
}

.product-icon img {
  max-height: 42px;
  max-width: 42px;
}

.product-icon i {
  color: var(--primary-color);
  font-size: 30px;
  line-height: 1;
}

.site-page-header {
  background-color: var(--primary-heading);
}

.site-page-header .navbar {
  position: relative;
  top: 0;
  background-color: var(--primary-heading);
}

.site-page-header .navbar .container {
  min-height: 88px;
}

.site-page-header + main {
  margin-top: 4rem !important;
}

.pages-hero.clinker-hero {
  background-image: url("../images/commons/tasman-clinker.jpg");
  background-position: center center;
}

.pages-hero.timber-hero {
  background-image: url("../images/commons/tasman-timber.jpg");
  background-position: center 56%;
}

.pages-hero.about-hero {
  background-image: url("../images/commons/tasman-about.jpg");
  background-position: center center;
}

.pages-hero-contact.contact-hero {
  background-image: url("../images/commons/tasman-contact.jpg");
  background-position: center center;
}

main ul,
main ol,
header > .container ul,
header > .container ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

main ul,
header > .container ul {
  list-style: disc;
}

main ol,
header > .container ol {
  list-style: decimal;
}

.navbar ul,
footer ul {
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.why-us-layer > .row,
.contact-bg > .row {
  margin-left: 0;
  margin-right: 0;
}

.tasman-page-copy {
  max-width: 820px;
}

.site-section {
  padding: 70px 0;
}

.site-section.compact-section {
  padding: 50px 0;
}

.tasman-detail-section {
  padding: 70px 0;
}

.tasman-detail-section.bg-wrapper {
  padding: 70px 0;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 30px 0;
}

.spec-card {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 11px 0 rgba(6, 22, 58, .14);
  padding: 24px;
}

.spec-card h4 {
  color: var(--primary-color);
  margin-bottom: 8px;
}

.technical-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  background-color: #fff;
  box-shadow: 0 0 11px 0 rgba(6, 22, 58, .1);
}

.technical-table th,
.technical-table td {
  border: 1px solid #e4e8eb;
  padding: 12px 14px;
  vertical-align: top;
}

.technical-table th {
  background-color: var(--primary-heading);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  text-transform: uppercase;
}

.technical-table td {
  color: var(--paragraph-color);
  font-family: 'Open Sans', sans-serif;
}

.table-scroll {
  overflow-x: auto;
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.catalogue-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.catalogue-card {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 11px 0 rgba(6, 22, 58, .14);
  padding: 28px;
}

.catalogue-card h4 {
  margin-bottom: 10px;
}

.catalogue-card p {
  margin-bottom: 0;
}

.moq-badge {
  display: inline-block;
  background-color: var(--primary-color);
  border-radius: 50rem;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 8px 0 20px;
  padding: 9px 18px;
  text-transform: uppercase;
}

.species-list {
  columns: 2;
  column-gap: 40px;
}

.species-list li {
  break-inside: avoid;
  margin-bottom: 8px;
}

.species-cloud {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 28px 0 18px;
  padding: 0;
}

.species-cloud li {
  background-color: #fff;
  border-left: 3px solid var(--primary-color);
  border-radius: 5px;
  box-shadow: 0 0 9px 0 rgba(6, 22, 58, .1);
  color: var(--paragraph-color);
  font-family: 'Open Sans', sans-serif;
  font-size: 14px;
  line-height: 22px;
  min-height: 58px;
  padding: 10px 14px;
}

.species-cloud strong {
  color: var(--primary-heading);
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
}

.source-note {
  color: #6c757d;
  font-size: 13px;
  line-height: 22px;
}

.timber-intro {
  max-width: 900px;
  margin: 0 auto 35px;
  text-align: center;
}

.timber-intro p {
  font-size: 17px;
  line-height: 30px;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 35px 0;
}

.quality-card {
  background-color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 11px 0 rgba(6, 22, 58, .14);
  padding: 30px;
  text-align: center;
}

.quality-card h4 {
  color: var(--primary-color);
  font-size: 34px;
  margin-bottom: 10px;
}

.commercial-list {
  margin: 25px auto 0;
  max-width: 820px;
}

.commercial-list li {
  margin-bottom: 10px;
}

.timber-services .product-description {
  height: calc(100% - 30px);
  margin: 0 0 30px;
}

.team-layer .team-portrait {
  aspect-ratio: 1;
  background-color: var(--primary-heading);
  border-radius: 0;
  overflow: hidden;
  position: relative;
}

.team-layer .team-portrait > img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.team-layer .tp-caption {
  bottom: 15px;
  left: auto;
  max-width: calc(100% - 30px);
  padding: 25px 20px;
  right: 15px;
  text-align: right;
  width: 250px;
}

.team-layer .team-portrait .tc-social {
  top: 24px;
  left: 0;
  transform: none;
  white-space: nowrap;
}

.team-layer .team-portrait:hover .tc-social {
  left: 20px;
  top: 24px;
}

.team-layer .team-portrait .tc-social li {
  display: inline-block;
}

.team-layer.team-compact .team-portrait {
  margin: 15px 0;
  max-width: none;
}

.team-layer.team-compact .tp-caption {
  padding: 5px 5px 5px;
}

.team-layer.team-compact .tp-caption h4 {
  font-size: 16px;
  line-height: 21px;
}

.team-layer.team-compact .tp-caption p {
  font-size: 12px;
  line-height: 18px;
}

.contact-badge .custom-form {
  margin-bottom: 0;
}

.contact-badge {
  margin-top: 70px;
  overflow: hidden;
}

.contact-badge > .row {
  align-items: stretch;
}

.contact-badge > .row > [class*="col-"] {
  display: flex;
}

.left-contact-badge,
.right-contact-badge {
  width: 100%;
  height: auto;
  min-height: 0;
}

.right-contact-badge {
  min-height: 420px;
}

.contact-badge .col-sm-6,
.contact-badge .col-sm-12,
.contact-form-layer .col-sm-6,
.contact-form-layer .col-sm-12 {
  margin-bottom: 18px;
}

.contact-form-layer {
  background-color: transparent;
  clear: both;
  margin-top: 0 !important;
  max-width: 1140px;
  padding-top: 70px;
}

.contact-form-layer .shadow-box {
  margin: 0 auto !important;
  max-width: 920px;
  padding: 45px;
}

.message-form {
  height: auto !important;
  min-height: 130px;
  padding-top: 16px;
}

.bottom-map {
  clear: both;
}

.right-contact-badge a {
  color: #fff;
}

@media (max-width: 991px) {
  .navbar {
    top: 0;
  }

  .navbar .container {
    padding-left: 0;
    padding-right: 0;
  }

  .navbar .navbar-brand {
    margin-left: 10px;
    margin-right: 0;
    width: 82px;
  }

  .navbar .navbar-collapse {
    flex-basis: 100%;
    width: 100%;
  }

  .navbar .navbar-nav {
    align-items: stretch;
    padding: 20px;
    text-align: center;
    width: 100%;
  }

  .navbar-collapse .navbar-nav .nav-link {
    display: block;
    padding: 10px 0;
    text-align: center;
  }

  .navbar .quote-item {
    display: block;
    margin-left: 0 !important;
    text-align: center;
    width: 100%;
  }

  .navbar .quote-item .btn-default {
    display: inline-block;
    margin: 18px auto 0;
    min-width: 190px;
  }

  .home-hero,
  .home-hero .overlay {
    min-height: 640px;
  }

  .home-hero .slider-caption {
    padding-top: 90px;
  }

  .home-hero .slider-caption h1,
  .home-hero .slider-caption p {
    width: 100%;
  }

  .site-page-header .navbar .container {
    min-height: 80px;
  }

  .spec-grid,
  .catalogue-grid,
  .catalogue-panel,
  .quality-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .species-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 576px) {
  .home-hero,
  .home-hero .overlay {
    min-height: 620px;
  }

  .home-hero .overlay {
    padding: 110px 0 55px !important;
  }

  .home-hero .slider-caption {
    padding-top: 0;
  }

  .home-hero .slider-caption h1 {
    font-size: 34px !important;
    line-height: 1.18 !important;
  }

  .home-hero .slider-caption .btn-outline {
    margin-left: 0 !important;
  }

  #products .col-md-6 + .col-md-6,
  #products .col-lg-6 + .col-lg-6 {
    margin-top: 24px;
  }

  .image-badget {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: 100%;
  }

  .spec-grid,
  .catalogue-grid,
  .catalogue-panel,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .species-list,
  .species-cloud {
    columns: 1;
    grid-template-columns: 1fr;
  }

  .technical-table {
    min-width: 640px;
  }

  .team-layer .team-portrait {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-form-layer .shadow-box {
    padding: 30px 20px;
  }
}
