/*--- Start FAQ design ---*/
body.cms-page-view.cms-frequently-asked-questions .page-title {
  padding: 25px 0 0 0;
}
body.cms-page-view .page-title {
  position: relative;
  display: block;
}

.moto-faq-page{
  display: inline-block;
  width: 100%;
}
.moto-faq-page .accordion ul{
  padding: 0;
}
body.cms-page-view .page-title h1 {
  display: inline-block;
  color: var(--dark-color);
  font-style: normal;
  text-transform: capitalize;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.4px;
  background-color: var(--white-color);
  position: relative;
  z-index: 1;
  padding-right: 30px;
}
body.cms-page-view .page-title:after {
  position: absolute;
  content: "";
  border: 1px dashed var(--grey-color-tone-six);
  width: 100%;
  right: 0;
  bottom: 20px;
}
.moto-faq-page .sub-ttl{
  position: relative;
  display: block;
  margin: 20px 0 35px 0;
  border-left: 5px solid var(--primary-color);
  padding-left: 20px;
}

.moto-faq-page .sub-ttl > span{
  color: var(--primary-color);
  display: block;
  font-size: 27px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.27px;
}
.moto-faq-page .accordion ul li {
  margin-bottom: 20px;
    border-radius: 23px;
    background: var(--white-color);
    box-shadow: 0px 0px 11.36px 0px rgba(0, 0, 0, 0.12);
}
.moto-faq-page .accordion ul li h5 {
    position: relative;
    display: block;
    color: var(--dark-color);
    letter-spacing: 0.2px;
    font-weight: 400;
    line-height: 1.2;
    cursor: pointer;
    padding-right: 35px;
}
.moto-faq-page .accordion ul li h5:after{
    content: "";
    position: absolute;
    right: 10px;
    transition: all 0.2s ease-in-out;
    display: block;
    width: 10px;
    height: 10px;
    border-top: solid 3px var(--dark-color);
    border-right: solid 3px var(--dark-color);
    transform: translateY(-50%) rotate(-45deg);
    top: calc(50% - -5px);
}
.moto-faq-page .accordion ul li h5.plus:after{
    transform: rotate(135deg);
    border-color: var(--primary-color);
    top: calc(50% - 5px);
}
.moto-faq-page .accordion ul li .inner {
    position: relative;
    border-radius: 17px;
    background: var(--faq-bg-light);
    font-size: 15px;
    line-height: 1.3;
    color: var(--dark-color);
    letter-spacing: 0.15px;
    font-weight: 400;
     margin-top: 16px;
    margin-bottom: 15px;
}
.moto-faq-page .accordion ul li .inner a{
  text-decoration: underline;
  color: var(--link-cms-color);
}
.moto-faq-page .accordion ul li .inner a:hover{
  color: var(--primary-color);
}
.moto-faq-page .accordion p:last-of-type{
  margin: 0;
}

.moto-faq-page h2{
  color: var(--dark-color);
  letter-spacing: 0.38px;
  font-weight: 600;
}
.faq-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.faq-section {
  width:48%;
}
.sub-ttl {
  font-size: 1.5em;
    margin: 35px 0 35px 0 !important;
}
.accordion ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
.accordion li {
  margin-bottom: 10px;
}
.accordion li h5 {
  cursor: pointer;
  margin: 0;
  font-weight: bold;
}
.accordion .inner {
  display: none;
  padding: 10px;
  background-color: #f9f9f9;
}

/**/
.search-container {
  border-radius: 9px;
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.1);
  background-color: var(--white-color);
  width: 100%;
  padding: 15px 20px;
  margin: 20px 0px 10px;
}
.search-container .cform-group {
  padding-bottom: 8px;
}
.no-results {
  padding: 10px;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  margin-top: 20px;
  text-align: center;
  position: absolute;
  width: 100%;
}
.faq-container{
  position: relative;
}
.highlight {
  background-color: yellow;
  font-weight: bold;
}
/**/
/* start media query */
@media screen and (min-width: 768px) {
  .moto-faq-page{
    margin-bottom: 86px;
  }
  .moto-faq-page h2{
    font-size: 38px;
    margin-bottom: 25px;
    line-height: 48px;
  }
  .moto-faq-page .accordion ul li {
    padding: 20px;
  }
  .moto-faq-page .accordion ul li h5{
    font-size: 18px;
  }

.moto-faq-page .accordion ul li .inner {
  padding: 20px;
}
}
@media screen and (max-width: 768px){
  .faq-section{
    width: 100% !important;
  }
  .faq-container{
    flex-wrap: wrap;
  }
}
@media screen and (max-width: 1350px) {
  .moto-faq-page .main-ttl > h1{
    font-size: 35px;
  }
  .moto-faq-page .main-ttl:after{
    width: 300px;
  }
  .moto-faq-page .sub-ttl > span{
    font-size: 22px;
  }
}
@media screen and (max-width: 1023px) {
  body.cms-frequently-asked-questions .main-container .main{
      padding: 0 20px;
   }
  .moto-faq-page .main-ttl:after{
    width: 200px;
    bottom: 0;
  }
  .moto-faq-page .main-ttl > h1{
    font-size: 28px;
  }
  .moto-faq-page .sub-ttl > span{
    font-size: 20px;
  }
}
@media screen and (max-width: 767px) {
  .moto-faq-page .main-ttl:after{
    bottom: -20px;
    right: auto;
  }
  .moto-faq-page .sub-ttl{
    padding-left: 12px;
  }
  .moto-faq-page .sub-ttl > span{
    font-size: 20px;
  }

  .moto-faq-page{
    margin-bottom: 0;
  }
  .moto-faq-page h2{
    font-size: 24px;
    line-height: 38px;
    margin-bottom: 30px;
  }
    .moto-faq-page .accordion ul li {
      padding: 28px 14px 25px 20px;
  }
  .moto-faq-page .accordion ul li h5{
    padding-right: 50px;
    font-size: 18px;
  }
  .moto-faq-page .accordion ul li .inner{
    padding: 15px;
  }
  body.cms-page-view .page-title:after {
    bottom: 0;
  }
  .moto-faq-page .accordion p{
    font-size: 15px;
    line-height: 18px;
  }
}
@media screen and (max-width: 425px){
  .moto-faq-page .accordion ul li h5{
    padding-right: 50px;
    font-size: 16px;
  }
  .moto-faq-page .accordion p{
    font-size: 13px;
    line-height: 18px;
  }
}
/* end media query */
