.tabbed-content {
  background: #fff;
  margin: 40px auto 0;
}

.tabbed-content .tabs-accordian ul {
  margin: 0;
  font-weight: bold;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
}

.grid-column h5 {
  color: var(--dark-red);
}

.tabbed-content .tabs-accordian ul li a {
  text-transform: uppercase;
  font-size: 18px;
  line-height: 22px;
  font-weight: 600;
  padding: 10px 5px;
  letter-spacing: 1px;
  position: relative;
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 100%;
}

.tabbed-content .tabs-accordian ul li a::after {
  position: absolute;
  content: "";
  height: 6px;
  width: 100%;
  border-radius: 3px;
  background: transparent;
  bottom: -6px;
  left: 0;
  right: 0;
}

.tabbed-content .tabs-accordian ul li a:hover:after,
.tabbed-content .tabs-accordian ul li a.active:after {
  background: var(--red);
}

.tabbed-content .tabs-accordian ul li a.active:after {
  background: var(--red);
}

.tabbed-content .item {
  margin-bottom: 2px;
}

.tabbed-content .item::before {
  cursor: pointer;
  font-weight: bold;
  background: #fff;
  padding: 16px 30px 16px 0;
  display: block;
  content: attr(data-title);
  text-transform: uppercase;
  font-size: 16px;
  line-height: 22px;
}

.tabbed-content .item::before {
  background-image: url(../../images/down-arrow.png);
  background-repeat: no-repeat;
  background-size:20px;
  background-position: 100% 24px;
  transition: all 0.3s;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -ms-transition: all 0.2s;
  -o-transition: all 0.2s;
}

.tabbed-content .item.active::before {
  background-image: url(../../images/up-arrow.png);
}

.tabbed-content .item.active::before {
  border-bottom: 5px solid var(--red);
}

.tabbed-content .item.active .item-content {
  transition: opacity 0.3s ease-in-out;
}

.tabbed-content section {
  padding: 0;
}

.cmn_accordian_tab .tab-icons {
  margin-top: 40px;
  margin-bottom: 40px;
}

.cmn_accordian_tab .tab-icons ul li {
  margin: 0;
  min-width: 100px;
}

.tabbed-content .tabs-accordian {
  display: none;
}

.tabbed-content .item .item-content {
  opacity: 0;
  visibility: hidden;
  height: 0;
}

.tabbed-content .item.active .item-content {
  opacity: 1;
  visibility: visible;
  height: auto;
  margin-top: 20px;
}

.code_img-section {
  position: absolute;
}

section.cmn_accordian_tab .row {
  position: relative;
}

.hex-shape-parent {
  position: relative;
  width: calc(100% + 35px);
  background: var(--dark-red) url(../../images/hex-Shape-9.jpg) no-repeat center left / cover;
  margin-top: 80px;
  background-size: cover;
  height: 300px;
}

.hex-shape-parent img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
}



.first_code_component {
  width: 400px;
  right: -10px;
  top: 90px;
  height: auto;
}

.second_code_component {
  width: 300px;
  right: -5px;
  top: 195px;
  height: auto;
}

.second_code_component span pre {
  padding-bottom: 25px;
  border-color: var(--orange);
}



@media all and (min-width: 768px) {


  .tabbed-content .item .col-6 {
    width: 100%;
  }

  .tabbed-content .item::before {
    font-size: 18px;
  }

  .tabbed-content .item::before {
    background-size: 20px;
    background-position: 98% 28px;
  }


  .hex-shape-parent {
    width: calc(100% + 55px);
    height: 400px;
  }
  .hex-shape-parent img {
    height: 110%;
    top: -40px;
}


  .first_code_component {
    width: 700px;
    right: 95px;
    top: 75px;
    height: 100px;
  }

  .second_code_component {
    width: 450px;
    right: 120px;
    top: 210px;
    min-height: 160px;
  }

  .second_code_component span pre {
    padding-bottom: 25px;
  }

}

@media all and (min-width: 992px) {

  .cmn_accordian_tab .tab-icons ul li {
    margin: 0 5px;
  }

  .cmn_accordian_tab h2 {
    margin-top: 40px;
  }

  .tabbed-content .item.active .item-content {
    margin-top: 80px;
    padding-top: 0;
  }

  .tabbed-content .tabs-side .tabs-accordian li {
    margin-bottom: 2px;
  }

  .tabbed-content .tabs-accordian ul li a {
    /* font-size: 14px;
   line-height: 20px; */
    padding: 10px 5px;
  }


  .tabbed-content .tabs-accordian li {
    display: flex;
    align-items: center;
    max-width: 225px;
    margin-bottom: 20px;
  }

  .tabbed-content .tabs-accordian li a {
    display: block;
  }

  .tabbed-content .item {
    min-height: 0;
  }

  .tabbed-content.tabs-side .tabs-accordian {
    width: 150px;
    float: left;
  }

  .tabbed-content.tabs-side .tabs-accordian li {
    display: block;
  }

  .tabbed-content.tabs-side .item {
    margin-left: 150px;
  }

  .cmn_accordian_tab .tab-icons {
    margin-bottom: 0px;
    margin-top: 120px;
  }

  .tabbed-content .tabs-accordian li {
    max-width: 225px;
  }
}


@media all and (min-width: 1200px) {
  .tabbed-content .item::before {
    display: none;
  }


  .tabbed-content .tabs-accordian {
    display: block;
    text-align: center;
  }

  .tabbed-content .item .col-6 {
    width: 50%;
  }

  .hex-shape-parent {
    width: 200%;
    margin: 0;
    background-size: contain;
    padding-left: 130px;
  }

  .first_code_component {
    width: 600px;
    right: 140px;
    top: 60px;
    height: 100px;
  }

  .second_code_component {
    width: 450px;
    right: 150px;
    top: 200px;
    min-height: 160px;
  }

  .second_code_component span pre {
    padding-bottom: 25px;
  }

  .cmn_accordian_tab h2 {
    margin-top: 0;
  }

  .tabbed-content .tabs-accordian li {
    max-width: 282px;
  }
}

@media all and (min-width: 1400px) {
  .tabbed-content .tabs-accordian li {
    max-width: 302px;
  }

  .tabbed-content .tabs-accordian ul li a {
    padding: 10px 20px;
  }

  .hex-shape-parent {
    width: 1000%;
    margin: 0;

  }

}

@media all and (min-width: 1500px) {
  .second_code_component {
    right: 160px;
    width: 500px;
  }

}

@media all and (min-width: 1600px) {

  .first_code_component {
    width: 700px;
    right: 160px;
  }

  .second_code_component {
    width: 450px;
    right: 205px;
  }


}


@media all and (min-width: 1900px) {

  .first_code_component {
    width: 800px;
    right: 120px;
    top: 75px;
    height: 100px;
  }

  .second_code_component {
    width: 535px;
    right: 160px;
    top: 220px;
  }

}

@media screen and (min-width: 480px) and (max-width: 767px) {

  .first_code_component {
    width: 100%;
    right: 60px;
    top: 50px;
    height: auto;
  }

  .second_code_component {
    width: 400px;
    right: 75px;
    top: 175px;
    min-height: 120px;
  }

}

@media screen and (max-width: 380px) {
  .first_code_component {
    width: 375px;
    right: 0px;
  }
}