/* Match jpgroup.dk Application tab */
.jpg-application,
.woocommerce-Tabs-panel--jpg_application,
.woocommerce-Tabs-panel--additional_information {
  font-family: Helvetica, Arial, sans-serif;
}
.woocommerce-Tabs-panel--jpg_application > h2,
.woocommerce-Tabs-panel--additional_information > h2 {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: #101426;
  line-height: 1.3;
}
.jpg-application h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #101426;
  line-height: 1.3;
  white-space: normal;
  word-spacing: normal;
  letter-spacing: normal;
}
.jpg-application__lead {
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.5;
  color: #364960;
  white-space: normal;
  word-spacing: normal;
  overflow-wrap: break-word;
}
.jpg-application__search-wrap {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 400px;
  margin: 0 0 20px;
}
.jpg-application__search-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.jpg-application__search-icon svg {
  width: 20px;
  height: 20px;
}
.jpg-application__search,
.jpg-application input[type="search"] {
  display: block;
  width: 100%;
  height: 37.5px;
  margin: 0;
  padding: 10px 10px 10px 40px;
  border: 1px solid #e4e9f2;
  border-radius: 3px;
  background: #fff;
  color: #000;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13.333px;
  font-weight: 400;
  line-height: normal;
  box-sizing: border-box;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
}
.jpg-application__search:focus {
  outline: 1px solid #348df7;
  border-color: #e4e9f2;
}
.woocommerce-tabs,
.woocommerce-Tabs-panel--jpg_application,
.jpg-application {
  overflow: visible !important;
  max-width: 100%;
  min-width: 0 !important;
}
.jpg-spec-scroll {
  position: relative;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  max-height: 70vh;
  min-height: 220px;
  overflow-x: scroll !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y;
  overscroll-behavior-x: contain;
  background: #fff;
}
.jpg-spec-table,
.jpg-application .jpg-spec-table,
.jpg-spec-scroll > table.jpg-spec-table {
  display: table !important;
  width: max-content !important;
  min-width: 980px !important;
  max-width: none !important;
  margin: 0;
  border: 0 !important;
  border-collapse: collapse;
  background: #fff;
  font-family: Helvetica, Arial, sans-serif;
  table-layout: auto !important;
}
.jpg-spec-table thead {
  display: table-header-group !important;
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f1f4f8;
}
.jpg-spec-table tbody {
  display: table-row-group !important;
}
.jpg-spec-table tr {
  display: table-row !important;
}
.jpg-spec-table th,
.jpg-spec-table td {
  display: table-cell !important;
  padding: 10px 15px !important;
  border: 0 !important;
  text-align: left;
  vertical-align: middle;
  background: transparent;
}
.jpg-spec-table th {
  color: #000;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  white-space: normal;
}
.jpg-spec-table td {
  color: #364960;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
}
.jpg-spec-table td.jpg-spec-year {
  white-space: nowrap !important;
}
.jpg-catalog__scroll {
  max-height: 50vh;
  min-height: 0;
}
.jpg-catalog__table {
  min-width: 480px !important;
  width: 100% !important;
}
.jpg-backorder {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
}
.jpg-backorder--notice {
  margin: 0 0 12px;
}
.jpg-backorder__badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  background: #1b3f73;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}
.jpg-backorder__text {
  font-size: 14px;
  color: #364960;
}
.jpg-spec-table tbody tr:nth-child(odd) {
  background: transparent;
}
.jpg-spec-table tbody tr:nth-child(even) {
  background: #f1f4f8;
}

.woocommerce-Tabs-panel--additional_information .jpg-spec-scroll {
  max-height: none;
}
.woocommerce-Tabs-panel--additional_information .shop_attributes,
.woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes {
  width: 100%;
  min-width: 0;
  margin: 0;
  border: 0 !important;
  border-collapse: collapse;
  background: transparent;
  font-family: Helvetica, Arial, sans-serif;
}
.woocommerce-Tabs-panel--additional_information .shop_attributes th,
.woocommerce-Tabs-panel--additional_information .shop_attributes td,
.woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes th,
.woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes td {
  padding: 10px 15px !important;
  border: 0 !important;
  text-align: left;
  vertical-align: middle;
  background: transparent;
}
.woocommerce-Tabs-panel--additional_information .shop_attributes th,
.woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes th {
  color: #000;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
}
.woocommerce-Tabs-panel--additional_information .shop_attributes td,
.woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes td {
  color: #364960;
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
}
.woocommerce-Tabs-panel--additional_information .shop_attributes tr:nth-child(even),
.woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes tr:nth-child(even) {
  background: #f1f4f8;
}
.woocommerce-Tabs-panel--additional_information .shop_attributes tr:nth-child(odd),
.woocommerce-Tabs-panel--additional_information .woocommerce-product-attributes tr:nth-child(odd) {
  background: transparent;
}
.jpg-spec-table td:last-child {
  text-align: center;
}
.jpg-app-info {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.jpg-app-info svg {
  width: 20px;
  height: 20px;
  display: block;
}
.jpg-app-info__tip {
  display: none;
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  min-width: 180px;
  max-width: 280px;
  padding: 10px;
  background: #fff;
  border: 1px solid silver;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
  color: #000;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  text-align: left;
  z-index: 20;
  white-space: nowrap;
}
.jpg-app-info:hover .jpg-app-info__tip,
.jpg-app-info:focus-within .jpg-app-info__tip {
  display: block;
}
.jpg-app-info__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
@media (max-width: 782px) {
  .woocommerce-tabs,
  .woocommerce-Tabs-panel--jpg_application,
  .woocommerce-Tabs-panel--jpg_application .jpg-application {
    overflow: visible !important;
    max-width: 100% !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .jpg-spec-scroll {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    max-height: 70vh;
    min-height: 240px;
    overflow-x: scroll !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .jpg-spec-table,
  .jpg-application .jpg-spec-table,
  .jpg-spec-scroll > table.jpg-spec-table {
    display: table !important;
    width: max-content !important;
    min-width: 980px !important;
    max-width: none !important;
  }
  .jpg-spec-table thead {
    display: table-header-group !important;
    position: static !important;
  }
  .jpg-spec-table tbody {
    display: table-row-group !important;
  }
  .jpg-spec-table tr {
    display: table-row !important;
    visibility: visible !important;
  }
  .jpg-spec-table th,
  .jpg-spec-table td {
    display: table-cell !important;
    white-space: nowrap !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
}
