faq.css
1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
.section-question {
padding-top: 74px;
padding-bottom: 64px;
}
.faq__items {
margin-top: 39px;
}
.faq__item {
cursor: pointer;
margin-top: 6px;
background: #f6f6f6;
border-radius: 4px;
padding: 21px 67px 21px 25px;
position: relative;
}
.faq__item_close {
position: absolute;
width: 40px;
height: 40px;
border-radius: 100%;
right: 12px;
top: 12px;
cursor: pointer;
transition: 0.2s;
}
.faq__item_close:before, .faq__item_close:after {
content: "";
position: absolute;
background: #8e8f90;
top: 50%;
left: 50%;
}
.faq__item_close:before {
width: 24px;
height: 2px;
margin-left: -12px;
margin-top: -1px;
}
.faq__item_close:after {
width: 2px;
height: 24px;
margin-left: -1px;
margin-top: -12px;
}
.faq__item_title {
font-size: 18px;
line-height: 22px;
font-weight: 700;
}
.faq__item_text {
font-size: 15px;
line-height: 23px;
height: 0;
overflow: hidden;
}
.faq__item_text p {
margin-top: 10px;
}
.faq__item_text p:last-child {
margin-bottom: 4px;
}
.faq__item.active {
cursor: default;
}
.faq__item.active .faq__item_close {
background: #ffffff;
transform: rotate(45deg);
}
.faq__item.active .faq__item_text {
height: auto;
}
@media (max-width: 991px) {
.section-question {
padding-top: 29px;
padding-bottom: 32px;
}
.faq__items {
margin-top: 26px;
}
}
@media (max-width: 767px) {
.faq__items {
margin-top: 12px;
}
.faq__item {
padding: 21px 47px 20px 15px;
}
.faq__item_title {
font-size: 15px;
line-height: 19px;
}
.faq__item_close {
right: 10px;
}
.section-question {
padding-top: 29px;
padding-bottom: 32px;
}
}
/*# sourceMappingURL=faq.css.map */