/* Base variables */
:root {
  --primary-color: #0071bb;
  --secondary-color: #030414;
  --highlight-color: #d2b88c;
  --text-color: #161616;
  --off-white: #f7f3ec;
  --white: #fff;
}

/* Amphenol grid styles */
.amphenol-grid {
  margin-top: 1.6em;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-gap: 1em;
  grid-template-rows: auto;
}

@media (max-width: 1200px) {
  .amphenol-grid {
    grid-template-columns: 1fr 1fr 1fr !important;
  }
}

@media (max-width: 992px) {
  .amphenol-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 768px) {
  .amphenol-grid {
    grid-template-columns: 1fr !important;
  }
}

.amphenol-grid__container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

.amphenol-grid__item {
  display: flex;
  position: relative;
  flex-grow: 1;
}

.amphenol-grid__above {
  width: 100%;
  max-width: 1000px;
  margin: auto;
}

.amphenol-grid__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
}

.amphenol-grid__pagination .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.6em;
  font-size: .9em;
}

.amphenol-grid__pagination .pagination button {
  border: none;
  border-radius: 100em;
  width: 2em;
  height: 2em;
  padding: .2em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: .2em;
  line-height: 1em;
}

.amphenol-grid__pagination .pagination button:hover {
  background: var(--secondary-color) !important;
  color: white !important;
}

.amphenol-grid__pagination .pagination .active-pag {
  background: var(--primary-color) !important;
  color: white !important;
}

/* Product post card styles */
.amphenol-grid .product_post-card {
  display: flex;
  flex-direction: column;
  border-radius: .6em;
  border: 2px solid var(--off-white);
  overflow: hidden;
  transition: .3s ease-in;
  width: 100%;
}

.amphenol-grid .product_post-card:hover {
  transform: scale(1.05);
}

.amphenol-grid .product_post-card:hover .product_post-card__content--title {
  color: var(--primary-color) !important;
}

.amphenol-grid .product_post-card__image {
  width: 100%;
  height: 9em;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--off-white);
}

.amphenol-grid .product_post-card__content {
  padding: 1em;
}

.amphenol-grid .product_post-card__content--title {
  font-size: 1.3rem;
  line-height: 1em;
  margin-bottom: 0.65rem;
  transition: .3s ease-in;
}

.amphenol-grid .product_post-card__content--text,
.amphenol-grid .product_post-card__content p {
  font-size: .9em;
  line-height: 1.4em !important;
  color: var(--text-color) !important;
  margin-bottom: 0px !important;
}

/* Business post card styles */
.amphenol-grid .business_post-card {
  display: flex;
  flex-direction: column;
  border-radius: .6em;
  border: 2px solid var(--off-white);
  overflow: hidden;
  transition: .3s ease-in;
  width: 100%;
}

.amphenol-grid .business_post-card:hover {
  transform: scale(1.05);
}

.amphenol-grid .business_post-card:hover .business_post-card__content--title {
  color: var(--primary-color) !important;
}

.amphenol-grid .business_post-card__image {
  width: 100%;
  height: 10em;
  background-size: contain;
  background-position: center;
  border: 1.5em var(--off-white) solid;
  background-color: var(--off-white);
  background-repeat: no-repeat;
}

.amphenol-grid .business_post-card__content {
  padding: 1em;
}

.amphenol-grid .business_post-card__content--title {
  font-size: 1.3rem;
  line-height: 1em;
  margin-bottom: 0.65rem;
  transition: .3s ease-in;
}

.amphenol-grid .business_post-card__content--text {
  font-size: .9em;
  line-height: 1.4em;
  color: var(--text-color);
  margin-bottom: 0px !important;
}

/* Market post card styles */
.amphenol-grid .market_post-card {
  border: 2px solid var(--off-white);
  border-radius: .6em;
  overflow: hidden;
  transition: .3s ease-in;
  width: 100%;
}

.amphenol-grid .market_post-card:hover {
  transform: scale(1.05);
}

.amphenol-grid .market_post-card:hover .market_post-card__content--title {
  color: var(--primary-color) !important;
}

.amphenol-grid .market_post-card__image {
  width: 100%;
  height: 9em;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.amphenol-grid .market_post-card__content {
  padding: 1em;
  text-align: left;
}

.amphenol-grid .market_post-card__content--title {
  font-size: 1.3em;
  line-height: 1em;
  margin-bottom: 0.65rem;
  transition: .3s ease-in;
}

.amphenol-grid .market_post-card__content--text {
  font-size: .9em;
  line-height: 1.4em;
  margin-bottom: 0px;
  color: var(--text-color);
}

.amphenol-grid .market_post-card--capability {
  display: flex;
  padding: .6em .8em;
  border-top: 2px solid var(--off-white);
}

.amphenol-grid .market_post-card-capability {
  font-size: .7em;
  padding: .5em 1em;
  border-radius: 100em;
  background: var(--off-white);
  line-height: 1em;
  color: var(--text-color);
  margin: .2em;
}

/* Filter styles */
.amphenol-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}

.amphenol-filter button {
  margin-left: auto;
  border-radius: 100em !important;
  padding: .5em 1.5em !important;
  border: 0px !important;
  background-color: var(--primary-color) !important;
  background-image: linear-gradient(90deg, #002748 0%, var(--primary-color) 100%) !important;
  color: white !important;
  text-transform: uppercase !important;
  letter-spacing: .02em !important;
  font-weight: 400 !important;
  transition: .3s ease-in !important;
  font-size: 1em !important;
}

.amphenol-filter button:hover, 
.amphenol-filter button:active, 
.amphenol-filter button:focus {
  background: var(--secondary-color) !important;
}

@media (max-width: 1200px) {
  .amphenol-filter button {
    margin-top: .4em;
  }
}

@media (max-width: 992px) {
  .amphenol-filter button {
    width: 100% !important;
    margin-left: 0px !important;
  }
}

.amphenol-filter input {
  font-size: 1em !important;
  border-radius: 0.5em !important;
  margin-right: .4em !important;
  border: 2px solid var(--off-white) !important;
  width: 48% !important;
  max-width: 16em !important;
  margin-bottom: 0px !important;
  color: var(--text-color) !important;
}

@media (max-width: 1200px) {
  .amphenol-filter input {
    margin-bottom: .4em;
  }
}

@media (max-width: 992px) {
  .amphenol-filter input {
    max-width: none !important;
    margin-bottom: .4em !important;
  }
}

@media (max-width: 768px) {
  .amphenol-filter input {
    width: 100% !important;
    margin-right: 0px !important;
  }
}

.amphenol-filter input:active,
.amphenol-filter input:focus {
  border-color: var(--secondary-color) !important;
}

.amphenol-filter input:hover {
  border-color: var(--primary-color) !important;
}

.amphenol-filter select {
  font-size: 1em !important;
  margin-right: .4em !important;
  border-radius: .5em !important;
  border: 2px solid var(--off-white) !important;
  width: 48% !important;
  max-width: 14em !important;
  padding: .5em !important;
  margin-bottom: 0px !important;
}

@media (max-width: 1200px) {
  .amphenol-filter select {
    margin-bottom: .4em;
  }
}

@media (max-width: 992px) {
  .amphenol-filter select {
    max-width: none !important;
    margin-bottom: .4em !important;
  }
}

@media (max-width: 768px) {
  .amphenol-filter select {
    width: 100% !important;
    margin-right: 0px !important;
  }
}

.amphenol-filter select:active,
.amphenol-filter select:focus {
  border-color: var(--secondary-color) !important;
}

.amphenol-filter select:hover {
  border-color: var(--primary-color) !important;
}

/* Member grid styles */
.amphenol-grid--member .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.6em;
  font-size: .9em;
}

.amphenol-grid--member .pagination button {
  border: none;
  border-radius: 100em;
  width: 2em;
  height: 2em;
  padding: .2em;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: .2em;
  line-height: 1em;
}

.amphenol-grid--member .pagination button:hover {
  background: var(--secondary-color) !important;
  color: white !important;
}

.amphenol-grid--member .pagination .active-pag {
  background: var(--primary-color) !important;
  color: white !important;
}

.no-image {
  background-image: url("/source/2ca8c43b0e697672a4ea2ab6a73aac20/Logo.png") !important;
  background-size: 80% !important;
}

.amphenol-member-grid {
  margin-top: 1.6em;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 1em;
  grid-template-rows: auto;
}

@media (max-width: 1200px) {
  .amphenol-member-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 992px) {
  .amphenol-member-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .amphenol-member-grid {
    grid-template-columns: 1fr !important;
  }
}

.amphenol-member-grid__container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

.amphenol-member-grid__item {
  display: flex;
  position: relative;
  flex-grow: 1;
}

.amphenol-member-grid__pagination {
  margin-top: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.amphenol-member-grid .member {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  border-radius: .6em;
  border: 2px solid var(--off-white);
  width: 100%;
}

.amphenol-member-grid .member--contact a {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: .7em 1em;
  transition: .3s ease-in;
}

.amphenol-member-grid .member--contact a:hover {
  background: var(--off-white) !important;
}

.amphenol-member-grid .member--contact a img {
  width: 32px;
}

.amphenol-member-grid .member--contact a h4 {
  font-size: 1em;
  margin-bottom: 0px;
  line-height: 1.2em;
  font-weight: 400;
}

.amphenol-member-grid .member--info {
  padding: 1.3em 1em;
  border-top: 2px solid var(--off-white);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.amphenol-member-grid .member--info .member-name {
  font-size: 1.4em;
  line-height: 1em;
  margin-bottom: .6rem;
}

.amphenol-member-grid .member--info .member-market,
.amphenol-member-grid .member--info .member-jobtitle,
.amphenol-member-grid .member--info .member-phone,
.amphenol-member-grid .member--info .member-email {
  font-size: 1em;
  font-weight: 300;
  color: var(--text-color);
  line-height: 1.4em;
}

.amphenol-member-grid .member--info .member-phone {
  margin-top: .7em;
}

.amphenol-member-grid .member--location {
  display: flex;
  flex-wrap: wrap;
  padding: .6em 1em;
  margin-top: auto;
  border-top: 2px solid var(--off-white);
}

.amphenol-member-grid .member--location .member-location {
  border-radius: 100em;
  padding: .4em .8em;
  background: var(--off-white);
  line-height: 1.1em;
  font-size: .75em;
  margin: 0 .3em .3em 0;
}

/* Location grid styles */
.amphenol-grid__locations {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.6em;
  margin-top: 1.5em;
}

.amphenol-grid--location {
  padding: .6em 1.2em;
  font-size: .9em;
  background: var(--off-white);
  border-radius: 100em;
  line-height: 1.1em;
  margin-right: .3em;
  margin-bottom: .3em;
  transition: .3s ease-in;
}

.amphenol-grid--location:hover,
.amphenol-grid--location:focus {
  background-color: var(--primary-color) !important;
  color: white !important;
}

.amphenol-grid--location:active {
  background-color: var(--secondary-color) !important;
  color: white !important;
}

/* Taxonomy team location styles */
.tax-team-location .imp-sticky-tooltips .imp-tooltip {
  box-shadow: 0 0 10px rgba(0, 0, 0, .3) !important;
  font-size: 0.9em !important;
  line-height: 1.4em !important;
}

.tax-team-location .imp-sticky-tooltips .imp-tooltip .member-name {
  font-size: 1.3em !important;
  line-height: 1em !important;
  color: var(--secondary-color) !important;
}

.tax-team-location .imp-sticky-tooltips .imp-tooltip .team-member {
  margin-bottom: .65em !important;
}