
table, th, td {
  border: none;
}

table {
  width:100%;
  border-collapse: collapse;

}

th {
  color:#005b92;
}
td, th {
  border-left: none;
  border-right: none;
  margin-bottom:2px;
}

thead tr th {
  background-color: #e6eff6;
  padding:14px;
  margin-bottom:4px;
  text-align:left;
}

tbody tr td {
  background-color: #fff;
  padding:16px;
  margin-bottom:4px;
}

.map-select-container tr {
  border-top: 5px solid #f7fafc;
  border: 1px solid #e6eff6;
}


/* Target first and last columns */
.distributor-lookup td:first-child,
.distributor-lookup th:first-child {
  width: 30%;
}

/*
.distributor-lookup td:last-child,
.distributor-lookup th:last-child {
  width: 35%;
}
*/

@media (min-width: 1280px) {
.select-container {
    flex-wrap: nowrap;
  }
}
.select-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-end;
  padding-bottom: 8px;
  margin-bottom: 16px;
  /*border-bottom: 1px solid #7facce;*/
}

.select-container .select {
  margin-right: 32px;
  margin-bottom: 16px;
  display: flex
;
  flex-direction: column;
}

.select-container .select input {
  background-color: #ffffff;
  font-family: "Poppins regular";
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0px;
  color: #000;
  border: 1px solid rgba(0, 91, 158, 0.5);
  border-radius: 6px;
  padding: 10px 8px;
  outline: none;
  max-width: 280px;
}

.select-container .select input.btn-primary {
  font-family: "Poppins semi bold";
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #fff;
  background: #0091c7;
  border-radius: 6px;
  border: 2px solid #0091c7;
  transition: 0.5s;
  min-width:150px;
}

.select-container .select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url(/themes/custom/te_theme/assets/img/arrow_primary.svg);
  background-repeat: no-repeat;
  background-position: right center;
  background-color: #ffffff;
  font-family: "Poppins regular";
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0px;
  color: #000000;
  padding: 11px 24px 11px 8px;
  margin-left: 1px;
  outline: 1px solid rgba(0, 91, 158, 0.5);
  border-radius: 6px;
  border-right: 8px solid #ffffff;
}

.select-container .select label {
  font-family: "Poppins regular";
  font-size: 14px;
  line-height: 18px;
  letter-spacing: 0px;
  color: #58595b;
  margin-bottom: 8px;
  display:block;
}


.map-container.get-started {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  height: 40vh;
  margin-top: 56px;
}

.map-container.get-started .heading-two,
.map-container.get-started .heading-one {
  color: #005b9e;
  margin-bottom: 16px;
}

.map-container.get-started .img-container {
  margin-bottom: 24px;
}


.distributor-lookup .phone,
.distributor-lookup .letter,
.distributor-lookup .planet {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 0px;
}

.distributor-lookup .phone figure,
.distributor-lookup .letter figure,
.distributor-lookup .planet figure {
  min-width: 36px;
  max-width: 36px;
  height: 30px;
  margin-right: 8px;
}

.distributor-lookup .phone figure img,
.distributor-lookup .letter figure img,
.distributor-lookup .planet figure img {
  width: 65%;
  height: 65%;
  object-fit: cover;
  margin-top: 4px;
}

.distributor-lookup a {
  color: #005b9e;
}

.distributor-lookup .link {
  display: inline-block;
  text-decoration: underline;
  font-size: 16px;
  font-family: "Poppins regular";
  line-height: 24px;
}

.pager-buttons {
  margin-top:30px;
  text-align: center;
}
.pager-buttons input {
  background: transparent;
  padding: 10px;
  margin: 10px;
  color: #58595b;
  cursor:pointer;
}

.pager-buttons input.active,
.pager-buttons input:hover {
  background: #cce3ee;
  padding: 10px;
  margin: 10px;
  color: #58595b;
  cursor:pointer;
}

.pager-buttons span.active {
  background: #cce3ee;
  padding: 10px;
  margin: 10px;
  color: #58595b;
  cursor:default;
}

.tab-content {
  margin-top:10px !important;
}
.tab-pane {
  display:none;
}

.tab-pane.show {
  display:block;
}


li.nav-item {
  display: inline-block;
  margin-right: 20px;
  list-style: none;
}

.nav-link.active {
  /*background-color:#f7fafc;
  text-decoration: none;
  font-weight:bold;*/
  cursor: default;
  color: #0a6eb4 !important;

}

.nav-item a:hover {
  color: #0a6eb4;
}

.nav-link {
  margin:10px;
}

ul.nav {

  padding-bottom: 8px;
  margin-bottom: 30px;
}

@media only screen and (min-width: 1440px) {
  #distributor-lookup ul.nav {
    /* Styles */
    border-bottom:1px solid #ccdeec;
  }
}

li.nav-item {
  margin-bottom: 0px;
  padding-bottom:2px;
  margin-top: 20px;
}


a.heading-one {
  font-family: "Poppins regular" !important;
  font-size: 20px  !important;
  line-height: 28px !important;
  letter-spacing: 0px !important;
  color: #58595b !important;
  font-weight: normal !important;
  text-decoration:none !important;
  padding-bottom:8px !important;
  margin-right: 60px !important;
  margin-left:0px;
  text-wrap-mode: nowrap;
}

a.heading-one:hover {
  color: #005b9e !important;
}


a.heading-one.active {
  color: #005b9e !important;
  border-bottom: 3px solid #005b9e;
}


#tabBufferStation .button {
background: transparent;
  text-decoration: underline;
  color: #005b9e;
}

#tabBufferStation .button:hover {
  cursor:pointer;
}



.apply-filter {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  margin-right: 30px;
}

.apply-filter .apply {
  display: flex;
  align-items: center;
  margin-top: 8px;
  margin-right: 10px;
  padding: 8px 10px;
  background-color: #cce3ee;
  border-radius: 18px;
  text-decoration: none;
  color: rgb(88, 89, 91);
  margin-bottom:30px;
}

.apply-filter .apply:hover {
  text-decoration: underline;
}

.apply-filter .apply::after
{
  content: url(/themes/custom/te_theme/assets/img/grey_cross.svg);
  display: block;
  width: 25px;
  height: 22px;
  margin-left: 18px;
}

.distributor-table thead th {
  position: sticky;
  top: 10px;
  background: #e6eff6;   /* important, otherwise content shows through */
  z-index: 2;         /* keep above cells */
  text-transform: uppercase;
}

.col-name    { width: 30%; }
.col-address { width: 30%; }
.col-contact { width: 30%; }
.col-distance { width: 10%; text-align: right; }

.directory a {
  font-size:larger;
  text-decoration:none;
}

.directory a:hover {
  text-decoration: underline;
}

.directory-count {
  vertical-align: super;
  font-size: 12px;
  color: #005b9e;
  background-color: #e6eff6;
  padding: 5px 10px 3px 10px;
  border-radius: 5px;
  margin-left: 5px;
}


.postal_code input {
  width:170px;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;              /* space between items */
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}


.logo-grid-item {
  flex: 1 1 clamp(140px, 22%, 260px); /* min width, preferred %, max width */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border: 1px solid #e5e7eb;         /* subtle border */
  border-radius: 0rem;
  background: #fff;
  box-sizing: border-box;
  box-shadow: 0 4px 10px rgba(0,0,0,.07);
  text-decoration: none;
  flex-direction: column;        /* STACK vertically */
  align-items: center;
  text-align: center;
  min-width: 300px;
}

.logo-grid-item img {
  clear:both;
}

.logo-grid-item:hover {
  box-shadow: 0 4px 10px rgba(0,0,0,.17);
  transform: translateY(-1px);
  transition: box-shadow .2s ease, transform .2s ease;
}
