/* FAQ */
.search-result .full-link-btn {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
}
.faq,
.tabs {
    position: relative;
    width: 100%;
}

.faq__search input {
    padding-left: 20px;
    padding-right: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: none;
    color: rgba(255, 255, 255, 0.2);
    font-size: 17px;
    line-height: 18px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.faq__search,
.tabs__search {
    position: relative;
    width: 100%;
    background-color: transparent;
    margin-bottom: 33px;
}

.faq__search input,
.tabs__search input {
    position: inherit;
    width: inherit;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.2);
    padding-top: 13px;
    padding-bottom: 9px;
    padding-left: 10px;
    padding-right: 10px;
}
.faq__search input::placeholder,
.tabs__search input::placeholder {
    color: rgba(255, 255, 255, 0.2);
    font-size: 17px;
    line-height: 18px;
}
.faq__search__list,
.tabs__search__list {
    position: absolute;
    padding: 0;
    list-style: none;
    width: 100%;
    z-index: 1;
}
.faq__search__list li p,
.tabs__search__list li p {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}
.faq__content,
.tabs__content {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding-top: 0px;
}

.faq__content h5{
    color: var(--clr-green);
    text-align: left;
    transform: translateX(-50px) rotate(-2deg);
    margin-bottom: 15px;
    display: inline-block;
}
.faq__content h1{
    margin-bottom: 40px;
}
.faq__content__tabs,
.tabs__content__tabs {
    position: relative;
    width: 250px;
    height: 100%;
}
.faq__content__tabs .tab__item,
.tabs__content__tabs .tab__item {
    position: relative !important;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
}
.faq__content__tabs .tab__item__index,
.tabs__content__tabs .tab__item__index {
    position: relative;
    margin-right: 15px;
}

.faq__content__questions,
.tabs__content__questions {
    position: relative !important;
    width: calc(100% - 250px);
    padding-left: 180px;
}
.faq__content__questions__wrapper,
.tabs__content__questions__wrapper {
    position: relative;
}
.faq__content__questions__wrapper .anchor,
.tabs__content__questions__wrapper .anchor {
    display: block;
    margin-top: 60px;
    padding-bottom: 10px;
}
.faq__content__questions__wrapper .anchor span,
.tabs__content__questions__wrapper .anchor span {
    margin-right: 20px;
}
.faq__content__questions__wrapper .anchor.first,
.tabs__content__questions__wrapper .anchor.first {
    margin-top: 0;
}
.faq__content__questions .question__item,
.tabs__content__questions .question__item {
    position: relative;
    padding-top: 10px;
    padding-bottom: 10px;
}

.faq .question__item.question__item__first {
    border-top: none;
}

.faq__content__questions .question__item__question,
.tabs__content__questions .question__item__question {
    position: relative;
    margin-bottom: 0px;
    cursor: pointer;
}

.faq__content__questions .question__item__answer div{
    padding-top: 20px;
}

.faq__content__questions .question__item__answer p{
    font-size: 17px;
    line-height: 27px;
}

.faq__content__questions .question__item__answer p:nth-last-child(1){
    margin-bottom: 0;
}

.faq__content__questions .question__item__question p{
    margin-bottom: 0;
}

.question__item__question.active p{
    font-weight: 600;
}

.faq__search:after{
    content: url('/theme/assets/images/arrow.svg');
    position: absolute;
    right: 13px;
    top: 13px;
    opacity: .2;
}

.question__item .question__item__question::after{
    content: url('/theme/assets/images/select.svg');
    position: absolute;
    right: 20px;
    top: 12px;
    opacity: 1;
    line-height: 0;
    transition: all .6s ease-in-out;
    transform-origin: center;
}

.question__item .question__item__question.active::after{
    transform: rotateX(180deg);
}
.faq__content__questions__wrapper{
    margin-bottom: 30px;
}
.faq__content__questions .question__item__question h4,
.tabs__content__questions .question__item__question h4 {
    margin-bottom: 0;
}
.faq__content__questions .question__item__answer,
.tabs__content__questions .question__item__answer {
    position: relative;
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease-in-out;
}

.faq__content__questions .question__item__answer p,
.tabs__content__questions .question__item__answer p,
.faq__content__questions .question__item__answer li,
.tabs__content__questions .question__item__answer li,
.faq__content__questions .question__item__answer ul,
.tabs__content__questions .question__item__answer ul {
    margin-bottom: 1em;
}

.faq__content__questions .question__item__answer ul,
.tabs__content__questions .question__item__answer ul {
    padding-left: 15px;
}

#faq-search-results {
    position: absolute;
    top: 40px;
    z-index: 40;
    width: 100%;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.5s ease, visibility 0.2s ease;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    background-color: white;
}
#faq-search-results p {
    color: black;
    font-size: 14px;
    line-height: 18px;
    min-width: 120px;
    background-color: transparent;
    padding: 0 20px;
    margin-top: 0;
}

#faq-search-results.search-active {
    visibility: visible;
    opacity: 1;
}
#faq-search-results::before {
    content: "";
    position: absolute;
    height: 100%;
    bottom: -100px;
    width: 120%;
    left: -10%;
    filter: blur(50px);
    background-color: white;
}
.search-result-wrapper {
    position: relative;
    z-index: 1;
}
.search-result-wrapper .search-result-inner {
    max-height: 190px;
    overflow-y: scroll;
    scroll-behavior: smooth;
    padding-top: 0px;
    padding-bottom: 0px;
    background-color: white;
}

.search-result {
    position: relative;
    border-top: 1px solid var(--bdr-clr-1);
}
.search-result__question h6 {
    color: var(--pri-clr-1);
    font-size: 14px;
    line-height: 18px;
    min-width: 120px;
    background-color: transparent;
    padding: 0 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.search-result__question h6 span {
    font-size: 14px;
    line-height: 18px;
}
.search-result__question .active {
    color: var(--clr-green);
}

.search-result__answer p {
    color: inherit;
}

.faq .question__item,
.tabs .tab__item {
    border-top: 1px solid rgba(0,0,0,0.14);
}
.faq .tab__item.first,
.faq .question__item.first,
.tabs .tab__item.first {
    border-top: none;
    padding-top: 0;
}
.tabs__content {
    padding-top: 0 !important;
}

.tabs__content__text {
    transition: height 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}
.tabs__content__text__wrapper {
    position: absolute;
    opacity: 0;
    transform: translateY(100%) translateZ(0);
    transition: opacity 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) 0.4s;
}
.tabs__content__text__wrapper .anchor {
    padding: 0;
}

.tab__item__link {
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 4;
    position: absolute;
}
body .faq__content__questions__wrapper .anchor,
.faq .tab__item p {
    margin-bottom: 0;
    margin-top: 0;
}

.faq .tab__item.first:after{
    top: 12px;
}
.faq .tab__item{
    position: relative;
    padding-left: 0;
    transition: padding .3s ease-in-out;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 20px;
    padding-right: 20px;
}

.faq .tab__item:after{
    content: url('/theme/assets/images/select.svg');
    position: absolute;
    left: 20px;
    top: 21px;
    opacity: 1;
    line-height: 0;
    transition: all .3s ease-in-out;
    filter: invert(1);
    transform: translateY(-50%) rotate(-90deg) scale(0);
}

.faq .tab__item.active:after{
    transform: translateY(-50%) rotate(-90deg) scale(0.7);
}


.faq .tab__item.active{
    padding-left: 52px;
}

.faq .tab__item p {
    color: white;
    margin-bottom: 0;
    font-size: 17px;
}


.faq__content__tabs {
    position: sticky;
    top: 0px;
    margin-bottom: 40px;
}

.faq__content__tabs .faq__content__tabs__inner{
    padding: 20px;
    background-color: var(--clr-green);
}

.tabs__content__text__wrapper .tabs__content__item p {
    font-size: 2rem;
    line-height: 2.625rem;
    letter-spacing: -0.62px;
}
.tabs__content__text__wrapper.active {
    transform: translateZ(0);
    opacity: 1;
    transition-delay: 0.4s;
}

@media only screen and (max-width: 1024px) {
    .faq__content__questions, .tabs__content__questions{
        width: 100%;
        padding-left: 0px;
    }

    .faq__content__tabs, .tabs__content__tabs{
        width: 100%;
    }

    .faq__content__tabs{
        position: relative;
    }
}

@media only screen and (max-width: 600px) {
    .faq__content h1{
        text-align: center;
    }

    .faq__content h5{
        transform: translateX(0px) rotate(-2deg);
        margin-bottom: 3px;
        display: block;
    }
}
