.faq-page-wrapper {
width: 100%;
max-width: 1024px;
margin: 0 auto !important;
padding-bottom: 100px;
}
@media (max-width: 1100px) {
.faq-page-wrapper {
padding: 42px;
}
}
@media (max-width: 572px) {
.faq-page-wrapper {
padding: 24px;
}
}
@media (max-width: 420px) {
.faq-page-wrapper {
padding: 16px;
}
}
.faq-page-wrapper h1 {
width: 65%;
font-family: Lato;
font-weight: 700;
font-size: 42px;
text-transform: uppercase;
color: rgb(0, 0, 0);
margin-top: 62px;
margin-bottom: 31px;
line-height: 100%;
}
@media (max-width: 1024px) {
.faq-page-wrapper h1 {
width: 100%;
}
}
@media (max-width: 650px) {
.faq-page-wrapper h1 {
font-size: 32px;
}
}
.faq-page-wrapper .faq-item {
border-bottom: 1px solid rgb(98, 187, 70);
position: relative;
padding-bottom: 21px;
padding-left: 0;
}
.faq-page-wrapper .faq-item.active .faq-question {
color: rgb(98, 187, 70);
}
.faq-page-wrapper .faq-item.active .faq-preview {
display: none;
}
.faq-page-wrapper .faq-item.active .arrow-btn:after {
position: absolute;
content: "";
width: 30px;
height: 30px;
display: block;
background-image: url(//dev.pro/wp-content/themes/dev.pro-website/assets/dist/img/arrow-top.svg);
background-repeat: no-repeat;
background-size: cover;
right: 0;
bottom: 0;
}
.faq-page-wrapper .faq-item .arrow-btn {
cursor: pointer;
width: 40px;
height: 30px;
position: absolute;
right: 0;
bottom: 6px;
}
.faq-page-wrapper .faq-item .arrow-btn:after {
position: absolute;
content: "";
width: 30px;
height: 30px;
display: block;
background-image: url(//dev.pro/wp-content/themes/dev.pro-website/assets/dist/img/arrow-bottom.svg);
background-repeat: no-repeat;
background-size: cover;
right: 0;
bottom: 0;
}
.faq-page-wrapper .faq-item .faq-question {
line-height: 100%;
font-family: Lato;
font-weight: 700;
font-size: 18px;
color: rgb(0, 0, 0);
cursor: pointer;
padding: 21px 15px 0 0;
}
.faq-page-wrapper .faq-item .faq-answer {
font-size: 16px;
line-height: 1.5;
max-height: 0;
overflow: hidden;
-webkit-transition: max-height 0.7s ease-in;
-o-transition: max-height 0.7s ease-in;
transition: max-height 0.7s ease-in;
padding-left: 0;
max-width: 95%;
margin-top: 12px;
}
.faq-page-wrapper .faq-item .faq-answer.open {
max-height: 500px;
margin-top: 12px;
max-width: 95%;
}
.faq-page-wrapper .faq-item .faq-answer p {
margin: 0;
color: rgb(18, 18, 18);
line-height: 26px;
}
@media (max-width: 572px) {
.faq-page-wrapper .faq-item .faq-answer p {
padding-right: 20px;
}
}
.faq-page-wrapper .faq-item .faq-answer ul {
margin-left: 26px;
margin-top: 12px;
line-height: 24px;
margin-bottom: 0;
}
.faq-page-wrapper .faq-item .faq-answer ul li {
color: rgb(18, 18, 18);
}
.faq-page-wrapper .faq-item .faq-answer ul li:before {
margin-right: 15px;
font-size: 16px;
line-height: 100%;
color: rgb(0, 0, 0);
margin-top: 5px;
}
.faq-page-wrapper .faq-item .faq-preview {
padding: 0 12px 0 0;
color: rgb(18, 18, 18);
z-index: 1;
background: none;
pointer-events: none;
font-family: Lato;
font-weight: 400;
font-size: 16px;
line-height: 26px;
max-width: 95%;
}
@media (max-width: 480px) {
.faq-page-wrapper .faq-item .faq-preview {
padding: 0 30px 0 0;
}
}