.ibc-contacts {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
  column-gap: 1em;
  row-gap: 1em;
  width: var(--site_width) !important;
  justify-self: center;
  margin-bottom: var(--p400);
}

.ibc-contacts h2 {
  width: 100% !important;
}

.ibc-contacts h4 {
  color: var(--awb-color3);
}

.ibc-contact {
  padding: 1em;
  border-top-right-radius: 4rem;
  border-left: 1px solid var(--awb-custom_color_2);
  width: 32%;
  box-sizing: border-box;
  align-self: stretch;
}

.ibc-contact h4,
.ibc-contact h5 {
  margin-top: 0;
  margin-bottom: 0.2em;
}

.ibc-contact h5  {
  font-size: var(--awb-custom_typography_4-font-size);
  font-weight: var(--awb-custom_typography_4-font-weight);
  line-height: 1.5;
  letter-spacing: var(--awb-custom_typography_4-letter-spacing);
  text-transform: var(--awb-custom_typography_4-text-transform);
  font-family: var(--awb-custom_typography_4-font-family);
}
.ibc-contacts-filter-wrap {
  position: sticky;
  left: 20vw;
  width: 86vw;
  top: 166px;
  margin-bottom: 1em;
  padding: 0.5em 1em 0.5em 5em;
  border-radius: 0 0 0 var(--radius200);
  background: var(--gradient-lightgray);
}
.ibc-filter {
  margin-top: 1em;
  margin-bottom: 1em;
  background-repeat: no-repeat;
  background-position: top right;
}

.ibc-filter form {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  column-gap: 1em;
  row-gap: 1em;
  justify-content: flex-start;
  align-items: center;
}

.ibc-filter-submit,
.ibc-filter-reset {
  color: var(--awb-color2);
  /* text-transform: uppercase; */
  padding: 10px 35px;
  font-size: 1rem;
  /* border: none !important; */
  border-radius: 8px;
  font-weight: 700;
  height: 100%;
  background: rgba(255, 255, 255, 0.52) !important;
  cursor: pointer !important;
  border:1px solid rgba(255, 255, 255, 0.6);
}

.ibc-filter-submit:hover,
.ibc-filter-reset:hover {
  background: linear-gradient(to right top, rgba(150, 169, 179, 1) 0%, rgba(223, 233, 240, 1) 40%, rgba(238, 243, 247, 1) 95%) !important;
  border: 1px solid rgba(180, 180, 180, 0.75);
}

.ibc-filter-reset:hover a {
  text-decoration: none !important;
}


.ibc-filter select {
  color: var(--awb-color2);
  font-size: 0.9rem;
  cursor: pointer;
  width: 30%;
  border: 1px solid var(--awb-color8);
  padding: 10px !important;
  background-color: var(--awb-color1);
  position: relative;
  height: fit-content;
}

.locations {
  margin: 0;
  padding: 0;
}

/*----------------- Media Queries */

@media screen and (max-width: 1400px) {
.ibc-contacts {
      padding-left: var(--hundredp_padding-fallback_to_zero);
    padding-right: var(--hundredp_padding-fallback_to_zero);

}

.ibc-contacts-filter-wrap {
  width: calc(100% - var(--hundredp_padding-fallback_to_zero));
}
}

@media screen and (max-width: 992px) {
  .ibc-contact {
    width: 48%;
  }

  .ibc-contacts-filter-wrap {
    width: 100%;
    margin-left: 2rem;
    margin-right: 2rem;
    padding-left: 2rem;
    padding-right: 2rem;

  }

  .ibc-filter select {
    width: auto;
  }

  .ibc-contacts-filter-wrap {
    position: unset;
  }
}

@media screen and (max-width: 600px) {
  .ibc-contact {
    width: auto;
  }
  .ibc-contacts-filter-wrap {
    padding-left: 1.5rem;
  }

  .ibc-filter select {
    width: 100%;
  }
}
