/* ==========================================================================
   David H. Paul, Inc. - Training Services page styles
   Recreated from the Ionic page component SCSS files.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Shared page frame
   -------------------------------------------------------------------------- */
.training-page {
  text-align: center;
  font-family: var(--font-main);
  font-size: 17px;
  line-height: 1.5;
  color: #000;
  padding: 8px 16px 96px;
}

.training-page p {
  margin: 14px auto;
  max-width: 1100px;
}

.page-title {
  color: var(--ion-color-primary);
  font-size: 30px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.2;
  margin: 4px 0 12px;
}

.text-blue {
  color: var(--dhp-blue);
}

.text-danger {
  color: var(--ion-color-danger);
}

.training-page a {
  color: var(--dhp-blue);
}

.training-page a:hover {
  color: var(--ion-color-primary);
}

.training-page ul {
  list-style-type: disc;
  padding-left: 22px;
  margin-left: 22px;
}

.training-page li {
  margin-bottom: 5px;
}

.training-page strong {
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.training-card {
  width: 100%;
  max-width: 1100px;
  margin: 16px auto;
  padding: 16px;
  text-align: left;
  background: rgba(255, 255, 255, 0.534);
  border-radius: 4px;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  font-size: 17px;
}

.training-card.centered-text {
  text-align: center;
}

.training-card .card-subheader {
  display: block;
  margin: 0 0 14px;
  padding: 10px 14px;
  background: rgba(184, 184, 184, 0.397);
  color: var(--dhp-blue);
  font-size: 20px;
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
}

.training-card .card-subheader.red-note {
  padding-bottom: 4px;
}

.training-card .card-subheader .red-note-text {
  display: block;
  margin-top: 2px;
  color: var(--ion-color-danger);
  font-size: 15px;
}

.training-card .example-header {
  margin: 18px 0 6px;
  color: var(--dhp-blue);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.training-card .example-header:first-of-type {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   Contact call-to-action button (blue3dbox.png)
   -------------------------------------------------------------------------- */
.contactbutton {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 350px;
  min-height: 80px;
  margin: 16px auto;
  padding: 6px 16px;
  border: none;
  background-color: transparent;
  background-image: url("../assets/images/blue3dbox.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  text-transform: none;
  cursor: pointer;
}

.contactbutton:hover {
  color: #eeff00;
  text-shadow: 0 0 10px #eeff00;
}

.training-page a.contactbutton {
  color: #fff;
  text-decoration: none;
}

.training-page a.contactbutton:hover {
  color: #eeff00;
  text-shadow: 0 0 10px #eeff00;
}

/* --------------------------------------------------------------------------
   Generic page buttons
   -------------------------------------------------------------------------- */
.btn-page {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease, background-color 0.15s ease;
}

.btn-page:hover {
  filter: brightness(1.08);
}

.btn-page[hidden] {
  display: none;
}

.btn-page.btn-details {
  background: var(--ion-color-primary);
  color: #fff;
}

.btn-page.btn-quote {
  background: #fff;
  color: #000;
  border-color: #9a9a9a;
}

.btn-page.btn-register {
  background: rgb(113, 255, 47);
  color: #000;
}

.btn-page.btn-info {
  background: transparent;
  color: blue;
  padding: 4px 6px;
  text-decoration: underline;
}

.btn-page.btn-success {
  background: var(--ion-color-success);
  color: #fff;
}

.btn-page.btn-primary {
  background: var(--ion-color-primary);
  color: #fff;
}

.btn-page.btn-small {
  padding: 6px 9px;
  font-size: 11px;
}

/* --------------------------------------------------------------------------
   Tables (courses, TCEQ, certification matrix)
   -------------------------------------------------------------------------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.data-table td,
.data-table th {
  border: 1px solid #000;
  padding: 6px 8px;
  text-align: center;
  vertical-align: middle;
}

.data-table tr.myTableHeaderRow td,
.data-table td.myTableHeader {
  font-weight: bold;
  text-align: center;
  background: rgba(255, 255, 255, 0.35);
}

.data-table td.mySection {
  background: gray;
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 8px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

/* --------------------------------------------------------------------------
   Images used across the pages
   -------------------------------------------------------------------------- */
.img-right {
  float: right;
  max-width: 42%;
  height: auto;
  margin: 0 0 12px 18px;
  border: 1px solid #000;
}

.image2 {
  width: 300px;
  max-width: 42%;
  height: auto;
  border: 1px solid #000;
}

.fourpics {
  display: inline-block;
  width: 200px;
  max-width: 44%;
  height: auto;
  margin: 8px;
  border: 1px solid #000;
}

.rocert {
  width: 330px;
  max-width: 100%;
  height: auto;
  border: 1px solid #000;
}

.hat {
  float: right;
  width: 200px;
  max-width: 42%;
  height: auto;
  margin: 0 0 12px 18px;
}

.corp-pic {
  width: 100%;
  max-width: 420px;
  height: auto;
  border: 1px solid #000;
}

.tceq-logo {
  max-width: 100%;
  height: auto;
}

/* --------------------------------------------------------------------------
   Training Services overview (image buttons)
   -------------------------------------------------------------------------- */
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin: 18px auto 0;
  padding: 5px;
}

.training-tile {
  display: block;
  text-decoration: none;
}

.training-tile img {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
}

.training-tile:hover img {
  filter: brightness(1.06);
}

.training-tile.tile-center {
  grid-column: 2;
}

/* --------------------------------------------------------------------------
   Scheduled Seminars
   -------------------------------------------------------------------------- */
.seminar-intro {
  max-width: 900px;
  margin: 0 auto 6px;
  font-weight: bold;
}

.testimonials {
  width: 100%;
  max-width: 685px;
  min-height: 150px;
  margin: 0 auto;
  padding: 10px;
  text-align: left;
}

.testimonials .they-say {
  color: #2c7ac4;
}

.testimonials .the-testimonial {
  margin-top: 5px;
  font-style: italic;
}

.testimonials .person,
.testimonials .company,
.testimonials .attended {
  text-align: right;
}

.testimonials .person {
  margin-top: 5px;
}

.testimonials .attended {
  font-weight: bold;
}

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 1100px;
  margin: 10px auto 16px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.534);
  border-radius: 4px;
}

.filter-bar label {
  font-size: 14px;
  font-weight: bold;
}

.filter-bar select,
.filter-bar input {
  padding: 8px 10px;
  border: 1px solid #9a9a9a;
  border-radius: 4px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: #000;
}

.filter-bar select {
  min-width: 200px;
}

.filter-bar input {
  min-width: 260px;
}

.filter-bar .filter-or {
  font-size: 14px;
  font-weight: bold;
}

.seminar-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.seminar-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 12px;
}

.seminar-table td {
  border: 1px solid #000;
  padding: 5px;
  text-align: center;
  vertical-align: middle;
}

.seminar-table tr.seminar-head td {
  background: rgb(233, 233, 233);
  font-weight: bold;
}

.seminar-table .host-name {
  display: inline-block;
  color: var(--ion-color-primary);
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
}

.host-logo {
  width: 90px;
  max-width: 100%;
  height: auto;
}

.seats-left {
  display: block;
  margin-top: 3px;
  color: var(--ion-color-danger);
  font-size: 11px;
}

.video-link {
  display: inline-block;
  margin-top: 4px;
  color: var(--ion-color-primary);
  font-size: 18px;
  text-decoration: none;
}

.empty-results {
  margin: 20px auto;
  font-style: italic;
  font-weight: bold;
}

/* Mobile seminar cards */
.mobile-seminar-list {
  display: none;
  max-width: 720px;
  margin: 0 auto;
  padding: 12px;
  background: gray;
  border-radius: 4px;
}

.mobile-seminar-card {
  margin: 0 0 12px;
  padding: 14px;
  background: #fff;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mobile-seminar-card:last-child {
  margin-bottom: 0;
}

.mobile-seminar-card .ms-name {
  font-size: 15px;
  font-weight: bold;
}

.mobile-seminar-card .ms-meta {
  font-size: 14px;
  line-height: 1.45;
}

.mobile-seminar-card .ms-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 10px 0;
}

.mobile-seminar-card .ms-actions .btn-page {
  min-width: 110px;
}

.mobile-seminar-card .ms-register {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Seminar details modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 12px;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.5);
}

.modal-overlay.open {
  display: flex;
}

.seminar-modal {
  width: 100%;
  max-width: 640px;
  background: #e4e4e4;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.modal-blue-head {
  position: relative;
  padding: 10px 14px 14px;
  background: #0071bc;
  color: #fff;
  text-align: center;
}

.modal-blue-head .modal-close {
  position: absolute;
  top: 4px;
  right: 6px;
  padding: 2px 8px;
  border: none;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}

.modal-blue-head .modal-series {
  display: block;
  padding: 0 30px;
  font-size: 17px;
  font-weight: bold;
}

.modal-blue-head .modal-place {
  display: block;
  margin-top: 2px;
  color: #ffff00;
  font-size: 15px;
}

.modal-body {
  padding: 14px 18px 18px;
  text-align: left;
}

.modal-section {
  margin-bottom: 14px;
}

.modal-title {
  display: block;
  font-size: 20px;
  font-weight: bold;
}

.modal-subtitle {
  display: block;
  font-size: 15px;
  font-weight: bold;
}

.modal-info {
  display: block;
  font-size: 14px;
  line-height: 1.5;
}

.modal-info a {
  color: var(--dhp-blue);
  word-break: break-word;
}

.modal-host-logo {
  max-width: 180px;
  max-height: 90px;
  margin: 4px 0;
}

.modal-video-link {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--ion-color-primary);
  font-size: 22px;
  text-decoration: none;
}

.modal-enterprise {
  display: block;
  width: 220px;
  max-width: 100%;
  margin: 6px auto 14px;
  color: #000;
  text-decoration: none;
  text-align: center;
}

.modal-enterprise img {
  display: block;
  width: 200px;
  max-width: 100%;
  margin: 4px auto 0;
}

.modal-close-bottom {
  display: block;
  margin: 0 auto;
  padding: 9px 22px;
  border: none;
  border-radius: 4px;
  background: var(--ion-color-primary);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

/* --------------------------------------------------------------------------
   Registration frame modal (opens the registration page in an iframe)
   -------------------------------------------------------------------------- */
.registration-modal {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 900px;
  height: min(85vh, 760px);
  background: #e4e4e4;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.registration-modal .modal-blue-head {
  flex: 0 0 auto;
}

.registration-frame-wrap {
  flex: 1 1 auto;
  min-height: 0;
  background: #fff;
}

.registration-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  background: #fff;
}

.registration-foot {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
}

.registration-new-window {
  color: var(--dhp-blue);
  font-size: 13px;
  text-decoration: underline;
}

.registration-foot .modal-close-bottom {
  margin: 0;
}

@media (max-width: 700px) {
  .registration-modal {
    height: min(90vh, 760px);
  }

  .registration-foot {
    flex-wrap: wrap;
    justify-content: center;
  }
}


/* --------------------------------------------------------------------------
   Online Training / TCEQ course tables
   -------------------------------------------------------------------------- */
.course-table td {
  padding: 8px;
  font-size: 14px;
}

.course-table .course-name {
  text-align: left;
}

.course-cards {
  display: none;
}

.course-card {
  margin: 0 0 12px;
  padding: 12px;
  background: #fff;
  border: 1px solid #9a9a9a;
  border-radius: 4px;
  text-align: left;
}

.course-card .cc-name {
  font-size: 15px;
  font-weight: bold;
}

.course-card .cc-meta {
  margin: 4px 0 8px;
  font-size: 14px;
}

.course-card .cc-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.course-group-card {
  margin: 0 0 14px;
  padding: 0;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 4px;
  overflow: hidden;
}

.course-group-card .cg-head {
  padding: 8px;
  background: gray;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

.course-group-card .cg-body {
  padding: 10px;
}

/* --------------------------------------------------------------------------
   Webinars
   -------------------------------------------------------------------------- */
.webinar-frame {
  display: block;
  width: 100%;
  max-width: 700px;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 0 auto;
  border: 0;
  background: #000;
}

.webinar-list-card {
  width: 100%;
  max-width: 700px;
  margin: 16px auto;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.534);
  border-radius: 4px;
  text-align: left;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.webinar-list-card .webinar-list-title {
  margin-bottom: 6px;
  color: var(--dhp-blue);
  font-size: 19px;
  font-weight: bold;
  text-align: center;
}

.webinar-option {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 2px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 15px;
  line-height: 1.35;
  cursor: pointer;
}

.webinar-option:last-child {
  border-bottom: none;
}

.webinar-option input {
  flex: 0 0 auto;
  margin-top: 3px;
}

.webinar-option.checked {
  font-weight: bold;
  color: var(--ion-color-primary);
}

/* --------------------------------------------------------------------------
   Navigation active state
   -------------------------------------------------------------------------- */
.main-nav .nav-link.active {
  background: rgba(23, 87, 146, 0.18);
}

.submenu a.active {
  background: var(--ion-color-primary-shade);
}

.submenu a:first-child.active {
  background: var(--ion-color-primary-shade);
}

.submenu-item.active {
  background: #6f7177;
}

/* --------------------------------------------------------------------------
   Technical Services pages
   -------------------------------------------------------------------------- */
.tech-intro {
  max-width: 900px;
  margin: 0 auto 10px;
  font-size: 17px;
  font-weight: bold;
}

.tech-price-link {
  display: inline-block;
  margin: 4px 0 10px;
  color: var(--dhp-blue);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin: 18px auto 0;
  padding: 5px;
}

.tech-tile {
  display: block;
  text-decoration: none;
}

.tech-tile img {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
}

.tech-tile:hover img {
  filter: brightness(1.06);
}

.tech-page-text {
  max-width: 1000px;
  margin: 0 auto;
}

.tech-page-text.left {
  text-align: left;
}

.tech-pic {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px auto;
  border: 1px solid #000;
}

.tech-pic.inline {
  display: inline-block;
  vertical-align: top;
}

.tech-pic.report {
  max-width: 420px;
  cursor: pointer;
}

.tech-split {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 10px auto;
}

.tech-split > .tech-split-text {
  flex: 1 1 320px;
  min-width: 0;
  text-align: left;
}

.tech-split > .tech-split-media {
  flex: 0 1 360px;
  min-width: 0;
  text-align: center;
}

.tech-split img {
  max-width: 100%;
  height: auto;
  border: 1px solid #000;
}

.tech-list {
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
}

.tech-list ul {
  margin: 6px 0;
}

.tech-indent {
  margin-left: 46px;
}

.tech-bold {
  font-weight: bold;
}

.tech-blue {
  color: var(--dhp-blue);
  font-weight: bold;
}

.tech-muted-red {
  color: var(--ion-color-danger);
  font-weight: bold;
  text-align: center;
}

/* Image pair tables (autopsy defect photos, cleaning before/after) */
.tech-image-table {
  width: 100%;
  max-width: 1000px;
  margin: 12px auto;
  border-collapse: collapse;
}

.tech-image-table td {
  width: 50%;
  padding: 8px;
  border: none;
  vertical-align: top;
  text-align: center;
}

.tech-image-table img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #000;
}

.tech-image-table .defect-title {
  display: block;
  color: var(--ion-color-danger);
  font-weight: bold;
  margin-bottom: 4px;
}

.tech-compat-img {
  max-width: 356px;
  max-height: 200px;
  width: 100%;
  height: auto;
  border: 1px solid #000;
}

.tech-ce-img {
  max-width: 201px;
  max-height: 200px;
  width: 100%;
  height: auto;
  border: 1px solid #000;
}

.tech-performance {
  width: 250px;
  max-width: 44%;
  height: auto;
  margin: 6px;
  border: 1px solid #000;
}

.tech-before-after {
  text-align: center;
  margin-top: 8px;
}

.tech-before-after img {
  max-width: 100%;
  height: auto;
  border: 1px solid #000;
}

/* Tabbed example sections (Cost Reduction Audits, Expert Witness) */
.tech-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 1000px;
  margin: 16px auto 14px;
}

.tech-tab-btn {
  padding: 8px 12px;
  border: 1px solid #9a9a9a;
  border-radius: 4px;
  background: #fff;
  color: #000;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.tech-tab-btn:hover {
  filter: brightness(0.96);
}

.tech-tab-btn.active {
  background: var(--ion-color-primary);
  border-color: var(--ion-color-primary);
  color: #fff;
}

.tech-example-box {
  display: none;
  max-width: 1000px;
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid #000;
  background: rgb(179, 179, 179);
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
}

.tech-example-box.active {
  display: block;
}

.tech-example-header {
  margin: -14px -14px 12px;
  padding: 8px 10px;
  background: rgb(0, 89, 255);
  color: #fff;
  font-weight: 900;
  text-align: center;
}

.tech-example-title {
  display: block;
  margin-bottom: 6px;
  color: blue;
  font-weight: bold;
  text-align: center;
}

/* --------------------------------------------------------------------------
   About Us, Contact and Resources pages
   -------------------------------------------------------------------------- */
.about-intro {
  max-width: 1000px;
  margin: 0 auto 10px;
  font-weight: bold;
}

a.about-cta {
  display: inline-block;
  margin: 6px 0 14px;
  padding: 8px 20px;
  border-radius: 4px;
  background: var(--ion-color-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

a.about-cta:hover {
  background: var(--ion-color-primary-shade);
  color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-width: 850px;
  margin: 0 auto;
  padding: 5px;
}

.about-tile {
  display: block;
}

.about-tile img {
  display: block;
  width: 100%;
  height: auto;
  cursor: pointer;
}

.about-tile:hover img {
  filter: brightness(1.06);
}

.about-tile-empty {
  visibility: hidden;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.about-content > p {
  margin: 14px 0;
  max-width: none;
}

.about-section-label {
  margin: 16px 0 8px;
  color: var(--dhp-blue);
  font-size: 17px;
  font-weight: bold;
}

.building-pic {
  display: block;
  width: 400px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 12px;
  border: 2px solid #000;
}

.founder-split {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.founder-text {
  flex: 1 1 320px;
  min-width: 0;
}

.founder-text p {
  margin: 0 0 14px;
}

.founder-photo {
  flex: 0 0 200px;
  text-align: center;
  font-size: 14px;
}

.founder-photo img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 4px;
  border: 1px solid #000;
}

.employee-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 16px 0;
  padding: 16px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.534);
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.employee-text {
  flex: 1 1 auto;
  min-width: 0;
}

.employee-photo {
  flex: 0 0 150px;
  text-align: center;
  font-size: 12px;
}

.employee-photo img {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
  margin: 0 auto 4px;
}

.employee-contact {
  display: inline-block;
  margin: 10px 0 0;
  padding: 3px 14px;
  border-radius: 4px;
  background: var(--ion-color-primary);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.employee-contact:hover {
  background: var(--ion-color-primary-shade);
  color: #fff !important;
}

/* --------------------------------------------------------------------------
   Become a Partner - integration options
   -------------------------------------------------------------------------- */
.integration-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 1000px;
  margin: 10px auto;
}

.integration-card {
  display: block;
  padding: 16px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.534);
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  text-align: left;
}

.integration-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--ion-color-primary);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
}

.integration-title {
  color: var(--dhp-blue);
  font-size: 16px;
  font-weight: bold;
  vertical-align: middle;
}

.integration-card p {
  margin: 10px 0 0;
}

.prod-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin: 14px 0;
}

.prod-col {
  flex: 1 1 320px;
  min-width: 0;
}

.prod-pic {
  flex: 0 1 320px;
  text-align: center;
}

.prod-pic img {
  max-width: 100%;
  height: auto;
}

.cellphone-promo {
  display: block;
  width: 400px;
  max-width: 100%;
  margin: 16px auto;
  color: var(--dhp-blue);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}

.cellphone-promo img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 8px auto 0;
}

.method-split {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.method-split > ul {
  flex: 1 1 320px;
  min-width: 0;
}

.method-pic {
  flex: 0 1 320px;
  text-align: center;
}

.method-pic img {
  max-width: 100%;
  height: auto;
}

.method-bold {
  font-weight: bold;
}

.partner-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 760px;
  margin: 12px auto 0;
}

.partner-logo {
  display: block;
  width: 231px;
  max-width: 45%;
}

.partner-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.tech-intro-block {
  max-width: 900px;
  margin: 0 auto 16px;
  font-size: 17px;
  font-weight: bold;
}

.tech-cat-card {
  max-width: 1000px;
  margin: 16px auto;
  padding: 0 14px 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.466);
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
  text-align: left;
}

.tech-cat-header {
  margin: 0 -14px 12px;
  padding: 10px 14px;
  border-radius: 4px 4px 0 0;
  background: rgba(184, 184, 184, 0.397);
  color: var(--dhp-blue);
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.tech-cat-body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.tech-cat-list {
  flex: 1 1 320px;
  min-width: 0;
  margin: 0;
  padding-left: 22px;
}

.tech-cat-list li {
  margin: 6px 0;
}

.tech-cat-logos {
  flex: 0 0 170px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.tech-cat-logos img {
  max-width: 160px;
  max-height: 80px;
  width: auto;
  height: auto;
}

.contact-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
}

.contact-form-card {
  flex: 1 1 600px;
  min-width: 0;
  padding: 18px;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

.contact-form-title {
  margin: 0 0 8px;
  color: var(--dhp-blue);
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

.contact-form-note {
  margin: 0 0 14px;
  max-width: none;
  font-size: 14px;
  text-align: center;
}

.contact-form-note a {
  color: var(--dhp-blue);
}

.contact-form-row {
  display: flex;
  gap: 12px;
}

.contact-form-row .contact-field {
  flex: 1 1 0;
  min-width: 0;
}

.contact-field {
  display: block;
  margin: 0 0 12px;
}

.contact-field > span {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: bold;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  display: block;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid #a8a8a8;
  border-radius: 3px;
  background: #fff;
  font: inherit;
  font-size: 15px;
  color: #000;
}

.contact-field textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: 2px solid var(--dhp-blue);
  outline-offset: 1px;
}

.contact-submit {
  display: block;
  width: 100%;
  margin: 4px 0 0;
  padding: 11px 16px;
  border: 0;
  border-radius: 4px;
  background: var(--ion-color-primary);
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.contact-submit:hover {
  background: var(--ion-color-primary-shade);
}

.contact-form-error {
  max-width: none;
  margin: 0 0 10px;
  color: #a00000;
  font-size: 14px;
  font-weight: bold;
}

.contact-form-success {
  max-width: none;
  margin: 12px 0 0;
  padding: 10px;
  border: 1px solid var(--dhp-blue);
  border-radius: 3px;
  background: #eff6ff;
  font-size: 14px;
}

.contact-form-success a {
  color: var(--dhp-blue);
  font-weight: bold;
}

.contact-side {
  flex: 0 1 360px;
  min-width: 0;
}

.contact-info-card {
  padding: 16px;
  border-radius: 4px;
  background: var(--ion-color-primary);
  color: #fff;
  text-align: center;
}

.contact-info-title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.contact-info-label {
  margin-top: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

.contact-info-card a {
  color: #fff;
  text-decoration: underline;
}

.contact-map-card {
  margin-top: 16px;
  padding: 4px;
  border-radius: 4px;
  background: #fff;
}

.contact-map-card iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 850px;
  margin: 10px auto 0;
  padding: 5px;
}

.resources-tile img {
  display: block;
  width: 100%;
  height: auto;
}

.neptune-overview {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.neptune-overview > ul {
  flex: 1 1 320px;
  min-width: 0;
  margin: 0;
}

.neptune-phone {
  flex: 0 0 230px;
  text-align: center;
}

.neptune-phone img {
  max-width: 100%;
  height: auto;
}

.neptune-login-box {
  max-width: 520px;
  margin: 16px auto;
  padding: 12px;
  border: 1px solid #000;
  font-weight: bold;
  text-align: center;
}

.neptune-login-note {
  color: var(--ion-color-danger);
  font-size: 12px;
}

.neptune-login-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 20px;
  border-radius: 4px;
  background: var(--ion-color-primary);
  color: #fff;
  text-decoration: none;
}

.neptune-login-btn:hover {
  background: var(--ion-color-primary-shade);
  color: #fff;
}

.neptune-step {
  font-weight: bold;
}

.neptune-logo {
  margin: 16px 0;
  text-align: center;
}

.neptune-logo img {
  max-width: 500px;
  width: 100%;
  height: auto;
}

.news-intro {
  max-width: 1000px;
  margin: 0 auto 14px;
  font-size: 17px;
  font-weight: bold;
}

.news-table-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.news-table {
  width: 100%;
  border-collapse: collapse;
}

.news-table th,
.news-table td {
  padding: 5px 6px;
  border: 1px solid #000;
  font-size: 15px;
  text-align: left;
}

.news-table th {
  color: #0000ff;
  font-weight: bold;
  text-align: center;
}

.news-table .news-date {
  width: 110px;
  white-space: nowrap;
}

.news-table .news-link {
  width: 90px;
  text-align: center;
}

.news-cards {
  display: none;
  max-width: 900px;
  margin: 0 auto;
}

.news-card {
  margin: 0 0 10px;
  padding: 8px;
  border: 1px solid #000;
  font-size: 15px;
  text-align: left;
}

.news-card p {
  margin: 2px 0;
  max-width: none;
}

.cert-page {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.cert-instructions {
  font-size: 18px;
  font-weight: bold;
}

.cert-note {
  color: var(--ion-color-danger);
  font-size: 13px;
}

.cert-form {
  max-width: 480px;
  margin: 12px auto 0;
  text-align: left;
}

.cert-form h3 {
  margin: 0 0 10px;
  font-size: 20px;
  text-align: center;
}

.cert-field {
  display: block;
  margin: 8px 0;
}

.cert-field input {
  width: 100%;
  padding: 10px;
  border: 1px solid #999;
  border-radius: 4px;
  font: inherit;
}

.cert-submit {
  display: block;
  width: 100%;
  margin: 12px 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 4px;
  background: var(--ion-color-primary);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.cert-submit:hover {
  background: var(--ion-color-primary-shade);
}

.cert-submit:disabled {
  opacity: 0.65;
  cursor: default;
}

.cert-try-again {
  max-width: 280px;
  margin: 14px auto;
}

.cert-status {
  font-size: 18px;
  font-weight: bold;
}

.cert-error {
  color: #a00000;
}

.cert-section {
  margin: 18px auto;
}

.certHeader {
  padding: 6px 10px;
  border: 1px solid #000;
  background: rgb(179, 178, 178);
  color: #000;
  font-size: 18px;
  font-weight: bold;
  text-align: left;
}

.cert-table {
  width: 100%;
  border-collapse: collapse;
}

.cert-table .certSubHeader {
  padding: 6px 10px;
  border: 1px solid #000;
  background: rgb(255, 242, 166);
  color: #000;
  font-size: 15px;
  font-weight: bold;
  text-align: left;
}

.cert-table .certBody {
  padding: 6px 10px;
  border: 1px solid #000;
  background: #fff;
  color: #000;
  font-size: 15px;
  text-align: left;
  vertical-align: top;
}

.cert-link {
  padding: 4px 10px;
  border: 0;
  border-radius: 3px;
  background: var(--ion-color-primary);
  color: #fff;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.cert-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Responsive behavior
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .course-cards {
    display: block;
  }

  .course-table {
    display: none;
  }

  .contact-layout {
    flex-wrap: wrap;
  }

  .contact-side {
    flex: 1 1 320px;
  }

  .news-table-wrap {
    display: none;
  }

  .news-cards {
    display: block;
  }
}

@media (max-width: 1100px) {
  .seminar-table {
    display: none;
  }

  .mobile-seminar-list {
    display: block;
  }

  .filter-bar label {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 935px) {
  .training-page {
    font-size: 16px;
    padding: 6px 10px 60px;
  }

  .page-title {
    font-size: 25px;
  }

  .training-card {
    padding: 12px;
    font-size: 16px;
  }

  .training-card .card-subheader {
    font-size: 18px;
    padding: 8px 10px;
  }

  .contactbutton {
    min-height: 74px;
    max-width: 330px;
    font-size: 13px;
  }

  .filter-bar select,
  .filter-bar input {
    min-width: 0;
    width: 100%;
  }

  .founder-split,
  .employee-card,
  .prod-row,
  .method-split,
  .neptune-overview {
    display: block;
  }

  .founder-photo,
  .employee-photo,
  .method-pic,
  .neptune-phone {
    margin-top: 12px;
  }

  .employee-photo img {
    margin: 0 auto 4px;
  }

  .tech-cat-header {
    font-size: 18px;
  }
}

@media (max-width: 723px) {
  .page-title {
    font-size: 22px;
  }

  .integration-grid {
    grid-template-columns: 1fr;
  }

  .training-grid {
    gap: 8px;
  }

  .tech-split {
    display: block;
  }

  .tech-split > .tech-split-media {
    margin-top: 10px;
  }

  .tech-image-table,
  .tech-image-table tbody,
  .tech-image-table tr,
  .tech-image-table td {
    display: block;
    width: 100%;
  }

  .tech-performance {
    width: 100%;
    max-width: 100%;
    margin: 6px 0;
  }

  .tech-tab-btn {
    font-size: 11px;
    padding: 7px 9px;
  }

  .about-grid {
    gap: 5px;
    padding: 2px;
  }

  .partner-logo {
    max-width: 44%;
  }

  .tech-cat-logos {
    flex: 1 1 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
  }

  .contact-form-row {
    display: block;
  }

  .contact-map-card iframe {
    height: 320px;
  }

  .cert-table,
  .cert-table thead,
  .cert-table tbody,
  .cert-table tr,
  .cert-table th,
  .cert-table td {
    display: block;
    width: 100%;
  }

  .cert-table tr {
    margin-bottom: 10px;
  }

  .news-intro {
    font-size: 15px;
  }

  .img-right,
  .image2,
  .hat {
    float: none;
    display: block;
    max-width: 100%;
    width: auto;
    margin: 10px auto;
  }

  .image2 {
    width: 300px;
    max-width: 100%;
  }

  .fourpics {
    max-width: 46%;
  }

  .training-card {
    font-size: 15px;
  }

  .training-page {
    font-size: 15px;
  }

  .modal-body {
    padding: 12px;
  }

  .modal-title {
    font-size: 18px;
  }
}

@media (max-width: 420px) {
  .training-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-tile.tile-center {
    grid-column: auto;
  }
}
