.hs-customer-tabs__item {
  display: none;
}

.hs-customer-tabs__item--active {
  display: block;
}

.hs-customer-tabs__nav {
  list-style-type: none;
  margin: 0px;
  margin: 0px;
}

.hs-customer-tabs__navitem {
  background-color: #F9F9FB;
  border-radius: 10px;
  text-decoration: none;
  display: block;
}

.customer-stories-tab-label--wrapper>img {
  object-fit: contain;
  max-width: 56px;
  max-height: 56px;
  border-radius: 100px;
}



.hs-customer-tabs__navitem * {
  pointer-events: none;
}

.customer-stories-tabs--parent__layout {
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
}

.customer-stories-tab-item-label--container__background {
  background-color: #EEEEF2;
  padding: 24px 40px;
}

.customer-stories-tab-item {
  background: #ffffff;
  border-radius: 15px;
  width: 100%;
}

.customer-stories--section-title__styles {
  font-size: 24px;
  line-height: 36px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--indigo-blue);
  font-family: var(--fieldwork-font-stack);
  text-align: center;
  margin-bottom: 40px;
}

/*
.customer-stories-tab-item--main-copy__styles p {
  font-size: 48px;
  line-height: 56px;
  letter-spacing: -1.2px;
  font-weight: 700;
  font-family: var(--fieldwork-font-stack);
  color: var(--indigo-blue);
  margin-bottom: 0px;
  z-index: 1;
}
*/
/*
a.tab-content--cta-link__styles {
  color: #76788A;
  /* line-height: 24px; * /
  line-height: 18px;
  font-family: var(--fieldwork-font-stack);
}

.tab-content--cta-link__styles {
  border: 2px solid #E8E8ED;
  padding: 12px 24px;
  border-radius: 30px;
  width: fit-content;
  max-width: 320px;

  margin-top: 56px;
}
*/
.tab-content--cta-link__styles::after {
  content: "";
  display: inline-block;
  height: 16px;
  width: 16px;
  margin-left: 4px;
  background-size: 7px;
  background-position: bottom;
  background-image: url(https://www.medianet.com.au/hubfs/MDN_HD_Website_2021/UI-Icons/chevron-point-to-right.svg);
  --link-filter: grayscale(0.9) brightness(0.5) opacity(0.6);
  filter: var(--link-filter);
  background-repeat: no-repeat;
}

.customer-stories-tab-label__layout {
  width: 33%;
}

.hs-customer-tabs__navitem--active {

  background-color: #EEEEF2;
}

.customer-stories--section__style {
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
  justify-content: center;

  /* margin: 72px 0px 140px 0px; */
  padding: 0px;
  margin-top: 0px;
  margin-bottom: 96px;
}

.customer-stories--cta-to-action--wrapper {
  padding: 72px 0px 48px 0px;
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
  align-items: center;
}

.hs-customer-tabs__item {
  display: none;
}

.hs-customer-tabs__item--active {
  display: block;
}

.hs-customer-tabs__nav {
  list-style: none;
  margin: 0px;
  margin: 0px;
}

/*
.hs-customer-tabs__nav li {
  display: inline-block;
  max-width: 400px;
  margin: 0 auto;
}
*/
.hs-customer-tabs__navitem {
  text-decoration: none;
  display: block;
}

.hs-customer-tabs__navitem * {
  pointer-events: none;
}

.customer-stories-tabs--parent__layout {
  display: flex;
  flex-direction: column-reverse;
}

.customer-stories-tabs--tab-item__layout {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 32px;
  left: 0px;
  padding: 0;
  margin-top: 48px;
  flex: 1 1 0px
}


.tab-content--text-content-wrapper__layout {
  margin-left: auto;
  align-self: flex-end;
}


.tab-label--text-content-wrapper__layout {
  align-self: center;
}

.tab-label--text-content-wrapper__layout p {
  margin-bottom: 0;
  font-size: 16px;
}


.tab-content-text--main-text {
  display: flex;
  justify-content: flex-start;
}

.tab-content-text--main-text__styles {
  line-height: 0;
}

.tab-content-text--main-text__styles p {
  font-family: var(--fieldwork-font-stack);
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #121733;
  margin-bottom: 10px;
}



.tab-label-text--main-text {
  display: flex;
  justify-content: flex-start;
}

.tab-label-text--main-text p {
  margin-bottom: 0;
}

/*
.tab-label-text--main-text__styles {
  line-height: 0;
}
.tab-label-text--main-text__styles p{
  font-family: var(--fieldwork-font-stack);
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  color: #121733;
  margin-bottom: 10px;
}
*/
.tab-label-text--secondary-text__styles {
  font-family: var(--fieldwork-font-stack);
  font-size: 18px;
  line-height: 24px;
  color: #76788A;
}

/*
.tab-label--text-content-wrapper__layout>p {
  margin-bottom: 0px;
}
*/
/*
.customer-stories-tabs--tab-item__layout>*+* {
  margin-left: 24px;
}
*/
/*
.tab-item--customer-stories-image__layout {
  width: 100%;
  max-width: 640px;
  max-height: 640px;
  min-height: 240px;
  min-width: 240px;
  width: 33vw;
  height: 33vw;
  width: clamp(240px, 33vw, 640px);
  height: clamp(240px, 33vw, 640px);
  object-fit: cover;
  border-radius: 25px;
}
*/
.customer-stories-tab-item {
  background: #ffffff;
  border-radius: 15px;
  width: 100%;
}

.customer-stories-tab-item--content__layout {
  display: flex;
  flex-direction: row;
  column-gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
}

/*
.tab-item--customer-stories-image__layout {
  position: relative;
  z-index: 0;
}

.tab-item--customer-stories-image__layout::after {
  position: absolute;
  height: 36px;
  width: 36px;
  border-radius: 100px;
  content: '';
  right: 4px;
  top: 4px;
  background-color: var(--main-red);
}
*/
.deco-dot__styles {
  position: relative;
}

.deco-dot__styles::after {
  position: absolute;
  border-radius: 100px;
  content: '';
  height: 72px;
  width: 72px;
  height: clamp(16px, 3.4vw, 72px);
  width: clamp(16px, 3.4vw, 72px);
  right: -36px;
  top: -36px;
  right: clamp(-24px, -1.5vw, 48px);
  top: clamp(-24px, -1.5vw, 48px);
  background-color: var(--coral-red);
}

.customer-stories--tab-content-image {
  width: 30%;
}

/*
.customer-stories--tab-content-image--deco-dot__styles {
  position: relative;
}

.customer-stories--tab-content-image--deco-dot__styles::after {
  position: absolute;
  border-radius: 100px;
  content: '';

  height: 72px;
  width: 72px;
  height: clamp(16px, 3.4vw, 72px);
  width: clamp(16px, 3.4vw, 72px);

  right: -36px;
  top: -36px;
  right: clamp(-24px, -1.5vw, 48px);
  top: clamp(-24px, -1.5vw, 48px);
  background-color: var(--coral-red);
}
*/
/*
.tab-item--main-content__layout {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
}
*/
/*
.tab-item--main-content__layout {
  display: flex;
  flex-direction: column;
}
*/

/*
.tab-item--main-content__layout>*+* {
  margin-top: 16px;
}
.tab-item--main-content__layout>*+*:last-child {
  margin-top: 56px;
}
*/
.tab-content--customer-logo__layout {
  object-fit: contain;
  object-position: left center;
  max-width: 240px;
  width: auto;
  max-height: 80px;
  height: auto;
}

.customer-stories-tab-item--copy__layout {
  /* min-height: 224px;
  height: auto;*/
  display: flex;
  flex-direction: column;
  align-self: center;
  justify-content: flex-start;
  position: relative;
  width: 70%;
}

.customer-stories--text-content-wrapper__layout {
  position: relative;
  background-image: url(https://www.medianet.com.au/hubfs/MDN_HD_Website_2021/icons/icon-quote-end-grey.svg);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size:100px auto;

}




.customer-stories-tab-label--style {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 24px;
  padding: 24px 40px;
  position: relative;

}

/*
.customer-stories-tab-label--style>img {
  margin-bottom: 12px;
}

.tab-item-label--image__layout {
  margin-right: 16px;
}

.customer-stories-section-title__layout {
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
  align-items: center;
  padding-bottom: 48px;
}

@media screen and (min-width: 1160px) {
  /*
  .customer-stories--section-title-mobile__responsive {
    display: normal;
  }
  .customer-stories--section-title-desktop__responsive {
    display: none;
  }
}
*/

@media (max-width: 1160px) {

  /*
  .customer-stories--section-title__styles {
    font-size: 24px;
    line-height: 36px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--indigo-blue);
    color: var(--main-red);
  }
*/
  .customer-stories-tabs--parent__layout {
    flex-direction: column;
  }

  /*
  .customer-stories-tab-item--content__layout {
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
  }
*/
  .customer-stories-section-title__layout {
    display: flex;
    display: -ms-flexbox;
    flex-direction: column;
    align-items: center;

    /* padding-bottom: 32px;*?
  }


  .customer-stories-section-title__layout {
    text-align: center;
  }
/*
  .tab-item--customer-stories-image__layout {
    width: 100%;
    height: 100%;
  }
*/
    .customer-stories-tab-item--content__layout {
      border-radius: 25px;
      padding: 24px 16px;
    }

    /* .customer-stories-tabs--tab-item__layout, */
    /*
  .customer-stories--multiple-tab-items__layout {
    /* JTC: We removed this grid declaration for medium sized screens as the client wants the possibity of only 1 tab. This makes things work more smoothly * /
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
*/
    .customer-stories-tabs--tab-item__layout {
      flex-wrap: wrap;
      grid-gap: 16px;
      gap: 16px;
    }

    /*
  .tab-item--customer-stories-image__layout,
  .tab-item--main-content__layout {
    width: clamp(240px, 100%, 520px);
    height: clamp(240px, 100%, 520px);
  }
  .customer-stories-tab-label--wrapper>img {
    object-fit: contain;
    max-width: 48px;
    max-height: 48px;
    border-radius: 100px;
  }
  */

    .tab-label-text--main-text__styles {
      font-size: 18px;
      line-height: 24px;
    }

    .tab-label-text--secondary-text__styles {
      font-size: 16px;
      line-height: 20px;
    }

    /*
  .customer-stories-tabs--tab-item__layout>*+* {
    margin-left: 0px;
  }
*/


    /*
  .tab-label--text-content-wrapper__layout>p+* {
    margin-top: 4px;
  }
*/

    .customer-stories-tabs--tab-item__layout {
      margin-top: 0px;
      margin-bottom: 32px;
    }

    /*
  .tab-item--main-content__layout {
    padding: 24px 16px 0px 16px;
  }
*/
    /*
  .customer-stories-tab-item--copy__layout {
    height: fit-content;
    */
    /*
    height: auto;
    min-height: 80px;
    */
  }


  /*
  border-radius {
    font-size: 32px;
    line-height: 40px;
    letter-spacing: -0.8px;
    font-weight: 700;
    font-family: var(--fieldwork-font-stack);
    color: var(--indigo-blue);
    z-index: 1;
  }
  */

  .customer-stories--section__style {
    margin-bottom: 32px;
  }

  .customer-stories--tab-content-image--deco-dot__styles {
    width: clamp(240px, 100%, 520px)
  }

  .customer-stories--tab-content-image--deco-dot__styles::after {
    position: absolute;
    border-radius: 100px;
    content: '';

    height: 48px;
    width: 48px;

    right: -16px;
    top: -16px;
    background-color: var(--coral-red);
  }

  /*
  .customer-stories--section-title-desktop__responsive {
    display: normal;
  }

  .customer-stories--section-title-mobile__responsive {
    display: none;
  }
  .customer-stories--text-content-wrapper__layout::before {
    right: 4px;
    bottom: -32px;
  }
  */
}

@media screen and (max-width: 620px) {
  .customer-stories-tab-label--style {
    justify-content: space-evenly;
  }

  /*
  .customer-stories-tab-label--style>img {
    margin-right: 12px;
  }
*/
  .customer-stories-tab-item--content__layout {
    padding: 0px 0px 0px 0px;
  }

  /*
  .tab-item--main-content__layout {
    padding: 16px 16px 32px 16px;
  }
*/
  .tab-content--customer-logo__layout {
 /*   max-width: 96px;
    height: auto; */
    margin: 0 auto;
  }

  /*
  border-radius {
    font-size: 22px;
    line-height: 28px;
    letter-spacing: -0.6px;
    font-weight: 700;
    font-family: var(--fieldwork-font-stack);
    color: var(--indigo-blue);
  }
*/
  .customer-stories--cta-to-action--wrapper {
    padding: 24px 0px 24px 0px;
  }

  .customer-stories--tab-content-image--deco-dot__styles::after {
    position: absolute;
    border-radius: 100px;
    content: '';
    height: 32px;
    width: 32px;
    right: -8px;
    top: -8px;
    background-color: var(--coral-red);
  }

  /*
  .customer-stories-tab-item--main-copy__styles::before {
    left: -32px;
  }
  */
}

@media screen and (max-width: 420px) {
  .customer-stories-tab-label--style {
    flex-direction: row;
    justify-content: space-evenly;
  }
}


@media screen and (max-width: 1159px) {

  .mobile-only-customer {
    display: block;

  }

  .desktop-only-customer {
    display: none;
  }

  .customer-stories-tab-label__layout {
    width: 100%;
  }
  .customer-stories--tab-content-image {
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .customer-stories-tab-label__layout{
    margin-top:24px;
  }

  .customer-stories-tab-label--style:after{
    content: '';
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right:20px;
    background-image: url(https://www.medianet.com.au/hubfs/MDN_HD_Website_2021/icons/icon-nav-chevron-main-navy.svg);
    background-repeat: no-repeat;
    display: block;
    height: 20px;
    transition: transform 0.4s;
    width: 20px;
  }
  .customer-stories-tab-label--style.hs-customer-tabs__navitem--active:after{
    transform-origin: center;
    transform: rotate(180deg);
  }
  
}

@media screen and (min-width: 1160px) {

  .mobile-only-customer {
    display: none;
  }

  .desktop-only-customer {
    display: flex;
  }
}

@media screen and (max-width: 750px) {

  .customer-stories-tab-item--content__layout {
    flex-direction: column
  }

  .customer-stories--tab-content-image {
    width: 100%;
    max-width: 240px;
    margin: 20px auto 10px;
  }

  .customer-stories-tab-item--copy__layout {
    width: 100%
  }

}

@media screen and (max-width: 750px) {

  .customer-stories-tab-item--copy__layout {
    text-align: center;
  }

  .tab-content-text--main-text {
    flex-direction: column;
  }

  .tab-content--text-content-wrapper__layout {
    margin: 10px auto;

  }

}