/* Tabs CSS with mobile icon centering + consistent blue filter fix */

.cmp-tabs__tablist {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  list-style: none;
}
.cmp-tabs__tab {
  box-sizing: border-box;
  border-bottom: 1px solid transparent;
  padding: .5rem 1rem;
  cursor: pointer;
}
.cmp-tabs__tab--active {
  border-color: inherit;
}
.cmp-tabs__tabpanel {
  display: none;
}
.cmp-tabs__tabpanel--active {
  display: block;
}

.c-tabs--tabs-with-img .cmp-tabs__icons {
  background: #ffffff;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tab {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  padding: 1pc 10px 0;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tablist.l-container {
  width: auto;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__image {
  width: 100%;
  display: block;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tab.cmp-tabs__tab--active .cmp-tabs__text,
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tab:hover .cmp-tabs__text {
  font-weight: 500;
  color: #0F71F0;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tab.cmp-tabs__tab--active {
  border-bottom: 4px solid #0F71F0;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tab.cmp-tabs__tab--active .cmp-tabs__item-icon-img,
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tab:hover .cmp-tabs__item-icon-img {
  -webkit-filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(4558%) hue-rotate(209deg) brightness(106%) contrast(88%);
  filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(4558%) hue-rotate(209deg) brightness(106%) contrast(88%);
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__text-container {
  min-height: unset;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tabpanel {
  margin: auto;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__content-container {
  display: block;
  padding-bottom: 50px;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__text-content {
  color: #ffffff;
  letter-spacing: -.3px;
  margin: 0;
  background: #ffffff;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  padding: 40px 30px;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__text-content p {
  margin: 0;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__text-content p strong {
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  margin-bottom: 1pc;
  display: block;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tablist {
  min-height: unset;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__container {
  margin-bottom: 50px;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tab {
  border-bottom: 1px solid #242424;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__text {
  color: #242424;
  letter-spacing: -.3px;
  margin-top: 8px;
  padding-top: 0;
  margin-bottom: 9pt;
}
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__item-icon-img {
  bottom: unset;
}
.cmp-tabs__icons .cmp-tabs__content-container {
  display: none;
}
.cmp-tabs__icons .cmp-tabs__container {
  margin-bottom: 5px;
}
.cmp-tabs__icons .cmp-tabs__tablist {
  padding: 0;
  min-height: 113px;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  overflow-x: auto;
}
.cmp-tabs__icons .cmp-tabs__tab {
  position: relative;
  border-bottom: 1px solid #ffffff;
  text-align: center;
  max-width: 100%;
  line-height: 2px;
  padding-bottom: 0;
  margin: 0;
}
.cmp-tabs__icons .cmp-tabs__item-icon-img {
  position: relative;
  bottom: -20px;
}
.cmp-tabs__icons .cmp-tabs__text-container {
  min-height: 40px;
}
.cmp-tabs__icons .cmp-tabs__text {
  font-size: 14px;
  padding-top: 5px;
  font-weight: 500;
  line-height: 22px;
  margin-bottom: 21px;
  color: #ffffff;
}
.cmp-tabs__icons .cmp-tabs__tab--active {
  border-bottom: 5px solid #0F71F0;
}
.cmp-tabs__icons .cmp-tabs__tab--active .cmp-tabs__item-icon-img {
  -webkit-filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(4558%) hue-rotate(209deg) brightness(106%) contrast(88%);
  filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(4558%) hue-rotate(209deg) brightness(106%) contrast(88%);
}
.cmp-tabs__icons .cmp-tabs__tab--active .cmp-tabs__text {
  color: #0F71F0;
  font-weight: 700;
}
.cmp-tabs__icons .cmp-tabs__tab:focus .cmp-tabs__item-icon-img {
  -webkit-filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(4558%) hue-rotate(209deg) brightness(106%) contrast(88%);
  filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(4558%) hue-rotate(209deg) brightness(106%) contrast(88%);
}
.cmp-tabs__icons .cmp-tabs__tab:focus .cmp-tabs__text {
  color: #0F71F0;
  font-weight: 700;
}
.cmp-tabs__icons .cmp-tabs__tab:hover .cmp-tabs__item-icon-img {
  -webkit-filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(4558%) hue-rotate(209deg) brightness(106%) contrast(88%);
  filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(4558%) hue-rotate(209deg) brightness(106%) contrast(88%);
}
.cmp-tabs__icons .cmp-tabs__tab:hover .cmp-tabs__text {
  color: #0F71F0;
  font-weight: 700;
}
@media only screen and (max-width: 767px) {
  .cmp-tabs__icons .cmp-tabs__item-icon-img {
    max-height: 30px;
    max-width: 30px;
  }
}
@media only screen and (min-width: 768px) {
  .cmp-tabs__icons .cmp-tabs__item-icon-img {
    max-height: 50px;
    max-width: 50px;
  }
}
.cmp-tabs__tabpanel {
  margin: 0;
}
.cmp-tab--text-only .cmp-tabs__tablist {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 135px 10px 135px 1fr;
  grid-template-columns: 1fr 135px 10px 135px 1fr;
  grid-template-areas: ". firstTab . secondTab .";
  text-align: center;
}
.cmp-tab--text-only .cmp-tabs__tab {
  max-height: 70px;
  margin: 0;
  border-top: 6px solid #dddbd9;
  border-bottom: 6px solid transparent;
  color: #ffffff;
  background: #ffffff;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.cmp-tab--text-only .cmp-tabs__tab .cmp-tabs__text {
  font: 700 14px/22px Inter, SourceSansPro, Tahoma, Verdana, sans-serif;
  letter-spacing: 0;
}
.cmp-tab--text-only .cmp-tabs__tab:first-of-type {
  grid-area: firstTab;
  margin-right: 10px;
  -ms-grid-row: 1;
  -ms-grid-column: 2;
}
.cmp-tab--text-only .cmp-tabs__tab:nth-of-type(2) {
  grid-area: secondTab;
  -ms-grid-row: 1;
  -ms-grid-column: 4;
}
.cmp-tab--text-only .cmp-tabs__tab--active {
  color: #ffffff;
  background: #ffffff;
  border-top-color: #0F71F0;
}
@media only screen and (min-width: 768px) {
  .cmp-tabs__icons .cmp-tabs__text {
    font-size: 1pc;
    line-height: 24px;
  }
  .cmp-tab--text-only .cmp-tabs__tablist {
    -ms-grid-columns: 1fr 360px 10px 360px 1fr;
    grid-template-columns: 1fr 360px 10px 360px 1fr;
  }
  .cmp-tab--text-only .cmp-tabs__tab .cmp-tabs__text {
    font-size: 18px;
    line-height: 26px;
  }
}
@media only screen and (min-width: 768px) and (max-width: 999px) {
  .c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tablist {
    margin-left: -20px;
    margin-right: -20px;
  }
}
@media only screen and (min-width: 1000px) {
  .cmp-tabs__icons .cmp-tabs__text {
    margin-bottom: 0;
  }
  .cmp-tabs__icons .cmp-tabs__text-container {
    margin-bottom: 7px;
  }
  .cmp-tab--text-only .cmp-tabs__tablist {
    -ms-grid-columns: 1fr 450px 10px 450px 1fr;
    grid-template-columns: 1fr 450px 10px 450px 1fr;
  }
  .c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__content-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  .c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__text-content {
    padding: 0 0 0 114px;
    background: #ffffff;
    border-bottom-left-radius: unset;
    border-bottom-right-radius: unset;
  }
  .c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__image {
    border-radius: 20px;
  }
}
@media only screen and (max-width: 767px) {
  .cmp-tabs__icons .cmp-tabs__tab--active .cmp-tabs__text,
  .cmp-tabs__icons .cmp-tabs__tab:focus .cmp-tabs__text,
  .cmp-tabs__icons .cmp-tabs__tab:hover .cmp-tabs__text {
    font-weight: 500;
    margin-bottom: 9pt;
  }
  .cmp-tab--text-only .cmp-tabs__tab {
    height: 119px;
    max-height: none;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
  .cmp-tab--text-only .cmp-tabs__tablist {
    grid-template-columns: 1fr 145px 0 135px 1fr;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .cmp-tab--text-only .cmp-tabs__tablist:after,
  .cmp-tab--text-only .cmp-tabs__tablist:before {
    display: none;
  }

  /* Updated: use a stable 30px size and center icons on mobile. */
  .c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__item-icon-img {
    height: 30px;
    width: 30px;
    max-height: 30px;
    max-width: 30px;
    min-width: 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__container {
    margin-bottom: 30px;
  }
  .c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__content-container {
    padding-bottom: 30px;
  }
  .c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__text {
    font-size: 9pt;
    line-height: 1pc;
    margin-top: 4px;
    margin-bottom: 8px;
  }
  .c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tab.cmp-tabs__tab--active {
    border-bottom: 2px solid #0F71F0;
  }
  .c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__text-content p,
  .c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__text-content p strong {
    font-size: 18px;
    line-height: 26px;
  }
  .c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__text-content p strong {
    margin-bottom: 8px;
  }
  .c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tablist {
    margin-left: -20px;
    margin-right: -20px;
  }
  .c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__text-content {
    padding: 20px 15px;
  }
  .c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tab {
    padding: 0 5px;
  }
}

/* Updated: placed at the end so the same blue overlay wins everywhere. */
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tab.cmp-tabs__tab--active .cmp-tabs__item-icon-img,
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tab:hover .cmp-tabs__item-icon-img,
.c-tabs--tabs-with-img .cmp-tabs__icons .cmp-tabs__tab:focus .cmp-tabs__item-icon-img,
.cmp-tabs__icons .cmp-tabs__tab--active .cmp-tabs__item-icon-img,
.cmp-tabs__icons .cmp-tabs__tab:hover .cmp-tabs__item-icon-img,
.cmp-tabs__icons .cmp-tabs__tab:focus .cmp-tabs__item-icon-img {
  -webkit-filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(4558%) hue-rotate(209deg) brightness(106%) contrast(88%) !important;
  filter: brightness(0) saturate(100%) invert(30%) sepia(100%) saturate(4558%) hue-rotate(209deg) brightness(106%) contrast(88%) !important;
}

.cmp-tabs__tablist.l-container {
  padding: 0;
}
.cmp-tabs.cmp-tab--text-only .l-container--fullwidth {
  margin-right: 0;
  margin-left: 0;
}
