.faq-items {
padding: 36px 48px 24px 48px;
border-radius: 30px;
border: 2px solid rgba(0, 0, 0, 0.10);
}
.faq-items h2 {
font-size: 18px;
font-weight: 400;
line-height: 26px;
letter-spacing: 0.2px;
padding: 24px 0px;
cursor: pointer;
position: relative;
}
.link-faq .faq-question {
border: unset;
padding: 0;
text-align: center;
margin-top: 24px;
}
.faq-question a {
font-weight: 600;
transition: all 0.3s;
}
.faq-question a:hover {
color: #2b00ca;
transition: all 0.3s;
}
.link-faq .faq-question:after {
display: none;
}
.link-faq {
padding: 24px 0px;
}
.faq-answer {
overflow: hidden;
max-height: 0;
transition: 0.4s ease;
border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}
.faq-answer.active {
max-height: 300px;
transition: 0.4s ease;
padding: 12px 0px 40px 0px;
border-bottom: 1px solid rgba(0, 0, 0, 0.10);
}
.faq-question:after {
content: "";
background: url(//tutormundi.com/wp-content/themes/tm-dev-theme/img/chevron-down.svg) no-repeat right center;
width: 20px;
height: 20px;
position: absolute;
right: 0px;
transition: transform 0.4s ease;
top: 35%;
}
.faq-question.open:after {
transform: rotate(180deg);
transition: transform 0.4s ease;
}
.faq-question-arrow {
display: inline-block;
width: 20px;
height: 20px;
background: url(//tutormundi.com/wp-content/themes/tm-dev-theme/img/arrow-up.svg);
margin: -3px 1px;
transition: all 0.2s ease;
}
.faq-question a:hover .faq-question-arrow {
margin: -3px 1px 1px 1px;
transition: all 0.2s ease;
}
@media (max-width: 767px) {
.faq-items {
width: 94%!important;
padding: 35px 32px 24px 32px;
}
.faq-items h2 {
font-size: 16px;
padding: 20px 20px 20px 5px;
line-height: normal;
}
.faq-answer {
font-size: 16px;
}
.link-faq .faq-question {
font-size: 14px;
margin-top: 26px;
}
}