/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.faqs_wrapper {
    /* display: block;
  margin: 50px auto;
  max-width: 1400px;
  padding: 0 30px;
  width: 100%;
  gap: 30px; */
    background: url("../img/faqs-lines.svg") left bottom no-repeat, var(--main_color);
    background-size: contain;
    /* padding: 70px 35px 60px 35px; */
    padding: 70px 5px 60px 5px;
    border-radius: 0px 0px 263px 0px;
}

.faqs_container {
    margin: auto;
    max-width: 1500px;
    /*1440px;*/
    padding: 0px 30px;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 40px;
}

.faqs_title {
    font-weight: 700;
    font-size: 30px;
    line-height: 37px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.faqs_button {
    padding: 11px 25px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.faqs_question {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.faqs_question p,
.faqs_question span {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #ffffff;
    cursor: pointer;
}

.faqs_question span {
    padding: 0 10px 5px 20px;
}

.faqs_item {
    margin: 60px auto;
    padding-bottom: 35px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.faqs_line {
    width: 100%;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
    margin-top: 15px;
}

.faqs_answer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    max-height: 0px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    visibility: hidden;
    overflow: hidden;
    -webkit-transition: 0.5s ease-in-out;
    -o-transition: 0.5s ease-in-out;
    transition: 0.5s ease-in-out;
    padding-top: 0px;
    color: #ffffff;
}

.active>.faqs_answer {
    padding-top: 20px;
    visibility: visible;
    max-height: 1000px;
}

.active img {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
}

.faqs_answer * {
    color: #ffffff;
}


/* mobile */

@media (max-width: 768px) {
    .faqs_wrapper {
        background: url("../img/avi_lines.svg") left bottom no-repeat, var(--main_color);
    }
    .faqs_title {
        font-size: 24px;
        line-height: 29px;
        margin-bottom: 30px;
        /* padding: 0 30px; */
    }
}

@media screen and (max-width: 420px) {
    .faqs_wrapper {
        /* padding: 40px 15px; */
        padding: 40px 0px;
        border-radius: 0px 0px 60px 0px;
    }
    .faqs_item {
        margin: 25px 0;
        padding-bottom: 25px;
    }
    .faqs_question p {
        font-size: 16px;
        line-height: 1.2;
    }
    .faqs_answer {
        font-size: 13px;
    }
}