/*
Theme Name: Courier Services Child Theme
Author: cTurnk
Description: Courier Services Child Theme
Version: 1.
Template: royal-elementor-kit

This is the child theme for Courier Services theme, generated with Generate Child Theme plugin by catchthemes.

*/

/* .header-logo{
    width:260px;
    height:70px;
    display:flex;
    align-items:center;
}

.header-logo img{
    width:100%;
    height:100%;
    object-fit:contain;
} */

.header-logo {
  line-height: 0;
}
.header-logo .wpr-logo-image img {
  max-height: 70px;
}

@media (min-width: 767px) {
  .mobile-item {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .wpr-slider-item-bg {
    background-position: center right -60px !important;
  }
  .header-logo .wpr-logo-image img {
    max-height: 60px;
  }
}

/*Tracking Form CSS Start*/
body.page-id-1661 {
  background-color: #ffffff !important;
}
.prod-info {
  width: 100%;
  margin: auto;
  margin-top: 25px;
}

.prod-info table td,
.prod-info table th {
  padding: 5px;
}

.wpforms-submit {
  border-radius: 30px;
  padding: 8px 40px;
  color: var(--e-global-color-primary);
  border-color: var(--e-global-color-primary);
}

.wpforms-submit:hover {
  color: #fff;
  background-color: var(--e-global-color-primary);
}

.tracking-form {
  text-align: center;
}

.tracking-form .form-group-main {
  display: flex;
  gap: 10px;
}

.tracking-form .form-group:first-child {
  width: 100%;
}

.tracking-form .form-group input {
  height: 54px;
}

.tracking-form .form-group .wpforms-submit:focus {
  outline: none;
  border: 0;
  box-shadow: unset;
}

#results .col-md-7 {
  display: none;
}

#website-url-link {
  color: #f02d17;
}

.d-none {
  display: none !important;
}

.d-norecord img {
  width: 80%;
  margin-top: 22px;
}

.tracking-logs {
  width: 101%;
}

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

.logs-table th,
.logs-table td {
  border: 1px solid #80808080;
  padding: 5px;
  text-align: left;
  background-color: #ffffff;
}

.logs-table th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.logs-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.logs-wrapper {
  max-height: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  border-top: 1px solid #80808080;
}

.tracking-form .form-group .wpforms-submit:focus {
  background-color: var(--e-global-color-primary);
}

.tracking-form .form-group-main {
  align-items: center;
}

.results .prod-info table {
  margin-bottom: 0;
}

.prod-info table th {
  text-align: start;
}

.tracking-logs h4 {
  font-size: 20px;
}

.tracking-form .form-group input {
  height: 42px;
}

.tracking-form .wpforms-submit {
  border-radius: 3px;
}

.logs-table tbody {
  position: relative;
}

.logs-table tbody tr:first-child th {
  position: sticky;
  top: 0;
  background-color: #f2f2f2;
  border-top: none;
}

.mobail-cll {
  margin-top: 0;
}

.prod-info table td a {
  color: #f3441e;
}

.d-norecord p {
  color: #ff0000;
  margin-top: 8px;
  margin-bottom: 0;
  text-align: start;
}

@media screen and (max-width: 767px) {
  .wpforms-submit {
    padding: 7px 40px;
  }

  .tracking-form .form-group input {
    height: 40px;
  }

  .tracking-form .form-group-main {
    gap: 5px;
  }

  .d-norecord p {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  .logs-wrapper {
    overflow-x: auto;
    max-height: 400px;
  }
}

input[type="text"].form-control:focus {
  border-color: #333333;
}
form .form-control:focus {
  background: #ffffff !important;
  color: #000000;
}
form .form-control {
  background-color: #ffffff;
  color: #000000;
}

.track-page .tracking-form .wpforms-submit {
  background-color: var(--e-global-color-primary);
  color: #fff;
  font-weight: 600;
}

.track-page .tracking-form .wpforms-submit:hover {
  background-color: var(--e-global-color-primary);
}

.track-page .logs-table {
  margin-bottom: 0;
}

.track-page .logs-wrapper {
  max-height: 100%;
  overflow-y: hidden;
}
/*Tracking Form CSS End*/

/*Tracking Form CSS Additions Start*/

/* Spacing between the shipment details table and the Tracking History section */
.tracking-logs {
  margin-top: 25px;
}

/* POD thumbnail sizing */
.pod-thumb {
  max-width: 150px;
  max-height: 150px;
  border: 1px solid #ccc;
  padding: 3px;
  background: #fff;
  display: inline-block;
}

/* Make sure the details table scrolls horizontally instead of breaking layout on small screens */
.prod-info {
  overflow-x: auto;
}

.prod-info table {
  min-width: 100%;
}

@media screen and (max-width: 767px) {
  .prod-info table th,
  .prod-info table td {
    white-space: normal;
    word-break: break-word;
  }

  .pod-thumb {
    max-width: 100px;
    max-height: 100px;
  }

  .logs-wrapper {
    overflow-x: auto;
  }

  .logs-table {
    min-width: 500px;
  }
}

@media screen and (max-width: 480px) {
  .prod-info table th,
  .prod-info table td {
    padding: 6px 8px;
    font-size: 13px;
  }
}

/*Tracking Form CSS Additions End*/
