
.main-title {
    margin-bottom: 0.5rem;
    text-align: center;
  font-family: port;
  font-size: 1.32rem;
  color: #2e8074;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px 0px 45px ;
  font-weight: bold;
}

.main-title:before,
.main-title:after {
    content: '';
    display: block;
    margin: 0 3.2rem;
    flex: 1;
    border-bottom: 1px solid #2e8074;
}

.wrapper {
    margin: auto;
}

input[type='radio'] {
    display: none;
}

.item {
    display: block;
    margin-bottom: 1.1rem;
    margin-right: 20px;
}

.title {
    padding: 11px 1.3rem;
    border-radius: 1.3rem;
    color: #2e8074;
    border: 1px solid;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title:after {
    content: '\25bc';
    display: inline-block;
    font-size: 12px;
}

.contents {

    margin: 0 -50px 0px 7px;
    line-height: 1.9;
    color: #2e8074;
    border: 1px solid;
    border-width: 0 1px;
    height: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
}

input[type='radio']:checked + .item .title {
    color: #fff;
    border-color: #2e8074;
    background-color: #2e8074;
}

input[type='radio']:checked + .item .title:after {
    transform: rotate(180deg);
}

input[type='radio']:checked + .item .contents {
    margin-top: 1.3rem;
    margin-bottom: 0.3rem;
    height: auto;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s, opacity 0.7s;
    font-size: 10px;
}
.accordion {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0px 40px;
}
/* .contents1{
    margin: 1.3rem 7px 0px -87px !important;
} */
/* .contents2 {
    margin: 0 -41px 0px -42px;

} */
@media (max-width: 768px) {
        .wrapper {
        width: auto;
        padding: 0 0.3rem;
    }
    .accordion {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 0px 0px;
    overflow-y: scroll;
    height: 200px;
    scrollbar-width: auto;

}
.contents{
margin: 0px !important;
}
/* .contents{
    margin: 0 -153px 0px 3px !important;
} */
input[type="radio"]:checked + .item .contents {
    font-size: 10px !important;

}
.item {
  margin-right: 17px !important;
}
/* .contents2{
    margin: 0 -3px 0px -163px !important;
} */
.title{
    font-size: 0.7rem !important;
}
.item {
    margin-right: 2px ;
}
.main-title:before,
.main-title:after {
    content: '';
    display: block;
    margin: 0 0.2rem;
    flex: 1;
    border-bottom: 1px solid #2e8074;
}
.productservices{
    font-size: 20px !important;
}
.productservices::before,
.productservices::after{
    margin: 20px 0.2rem !important;
}

}
/* .product_carousel{
    height: 339px;
} */
.productservices {
    justify-content: center;
      color: #fff !important;
      font-weight: bold;
      font-family: initial;
      font-size: 29px;
      display: flex;
      background-color: #156449;
    }
    .productcolor {
      color: #156449;
    }
    .productservices:before,
    .productservices:after {
        content: '';
        display: block;
        margin:20px 3.2rem;
        flex: 1;
        border-bottom: 1px solid red;
    }

.accordion.educourse{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 0px 40px;
}

.accordion.educourse .title{
    font-size: 11px;
}

.d-block.w-100.product_carousel.productimgleft.Courses_page {
    margin-top: 104px;
  }

  .Couresesbox {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
@media (max-width: 768px) {
    .accordion.educourse{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 0px 0px;
    overflow-y: scroll;
    height: 200px;
    scrollbar-width: auto;
    }
}