/*faq*/

.faqpage {

}

.faq__tabswrap {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 80px;
}

.faq__tab {
    transition: .3s;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border: 1px solid #9D97A7;
    width: 357px;
    height: 100px;
}

.faq__tab:hover {
    border-color: #210E2D;
}

.faq__tab span {
    display: block;
    flex-shrink: 0;
    transition: .3s;
    width: 173px;
    font-family: Gilroy;
    font-weight: bold;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.02em;
    color: #736E7A;
    user-select: none;
}

.faq__tab:hover span {
    color: #210E2D;
}

.faq__tab:hover svg path {
    fill: #210E2D;
}

.faq__tab.active {
    border-color: #F4AF46;
    background: #F4AF46;
    pointer-events: none;
}

.faq__tab.active span {
    color: #210E2D;
}

.faq__tab.active svg path {
    fill: #210E2D;
}

.faq__tab svg {
    margin-right: 28px;
}

.faq__contentwrap {
    margin-bottom: 130px;
}

.faq__content {
    display: none;
}

.faq__content.active {
    display: block;
}

.faq__title {
    font-family: Gilroy;
    font-weight: bold;
    font-size: 50px;
    line-height: 62px;
    letter-spacing: 0.03em;
    color: #210E2D;
    margin-bottom: 80px;
}

.faq__item {
    width: 100%;
}

.faq__item:not(:last-child) {
    margin-bottom: 30px;
}

.faq__item-head {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    transition: .3s;
    background: #FAFAFA;
    cursor: pointer;
    padding: 35px 50px;
}

.faq__item-head span {
    display: flex;
    flex-shrink: 0;
    width: 966px;
    font-family: Gilroy;
    font-weight: bold;
    font-size: 26px;
    line-height: 38px;
    letter-spacing: 0.03em;
    color: #210E2D;
    transition: .3s;
}

.faq__item-head:hover,
.faq__item-head.active {
    background: #210E2D;
}

.faq__item-head:hover span,
.faq__item-head.active span {
    color: #FFFFFF;
}

.faq__item-head i {
    display: inline-block;
    width: 16px;
    height: 16px;
    position: relative;
}

.faq__item-head i:after {
    content: '';
    position: absolute;
    background: #736E7A;
    width: 2px;
    height: 16px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    transition: .3s;
    opacity: 1;
}

.faq__item-head i:before {
    content: '';
    position: absolute;
    background: #736E7A;
    width: 16px;
    height: 2px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    transition: .3s;
}

.faq__item-head.active i:before,
.faq__item-head.active i:after {
    background: #FFFFFF;
}

.faq__item-head.active i:after {
    transform: translate(-50%,-50%) rotate(90deg);
    opacity: 0;
}

.faq__item-body {
    display: none;
    background: #FAFAFA;
    padding: 60px 50px;
}

.faq__item-body p {
    font-size: 18px;
    line-height: 30px;
    letter-spacing: 0.02em;
    color: #210E2D;
}

.faq__item-body p:not(:last-child) {
    margin-bottom: 30px;
}

@media only screen and (max-width: 1919px) {

}

@media only screen and (max-width: 1279px) {
    .faq__tab {
        width: 288px;
    }
    .faq__tab span {
        width: 144px;
    }
    .faq__contentwrap {
        margin-bottom: 100px;
    }
    .faq__item-head span {
        width: 760px;
    }
}

@media only screen and (max-width: 1023px) {
    .faq__tab {
        width: 210px;
        cursor: default;
    }
    .faq__tab svg {
        margin-right: 14px;
    }
    .faq__tab span {
        width: 120px;
        font-size: 16px;
        line-height: 22px;
    }
    .faq__title {
        font-size: 40px;
        line-height: 52px;
        margin-bottom: 60px;
    }
    .faq__item-head {
        padding: 35px 30px;
        cursor: default;
    }
    .faq__item-head span {
        width: 544px;
    }
    .faq__item-body {
        padding: 40px 30px;
    }
}

@media only screen and (max-width: 767px) {
    .faq__tabswrap {
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        margin-bottom: 60px;
    }
    .faq__tab {
        width: 100%;
        height: 60px;
    }
    .faq__tab:not(:last-child) {
        margin-bottom: 10px;
    }
    .faq__tab svg {
        margin-right: 20px;
        width: 30px;
        height: 30px;
    }
    .faq__tab span {
        width: 310px;
    }
    .faq__title {
        font-size: 32px;
        line-height: 44px;
        margin-bottom: 50px;
    }
    .faq__contentwrap {
        margin-bottom: 80px;
    }
    .faq__item-head {
        padding: 35px 20px;
    }
    .faq__item-head span {
        width: 336px;
        font-size: 20px;
        line-height: 28px;
    }
    .faq__item-body {
        padding: 30px 20px;
    }
}

@media only screen and (max-width: 479px) {
    .faq__tabswrap {
        margin-bottom: 50px;
    }
    .faq__tab svg {
        margin-right: 11px;
        width: 24px;
        height: 24px;
    }
    .faq__tab span {
        width: 205px;
        font-size: 15px;
        line-height: 22px;
    }
    .faq__title {
        font-size: 28px;
        line-height: 40px;
    }
    .faq__item:not(:last-child) {
        margin-bottom: 20px;
    }
    .faq__item-head span {
        width: 200px;
    }
}