.main-board.quiz-board>.container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.made-quiz-btn_wrap {
    width: 100%;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.add_project_plus {
    margin-right: 8px;
}

.quiz-board .quizes-scroll-box {
    height: calc(100% - 60px);
    width: 100%;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
}
.quizes-scroll-box.scroll-x-shadow::before {
    display: block;
    width: 100%;
    content: '';
    height: 5px;
    position: absolute;
    top: -1px;
    left: 0;
    background-image: url(../img/gradient_f5f5f5_up-to-down.png);
    background-position: top center;
    background-size: 100% 3px;
    background-repeat: repeat no-repeat;
    z-index: 10;
}
.quizes-scroll-box.scroll-x-shadow::after {
    display: block;
    width: 100%;
    content: '';
    height: 5px;
    position: absolute;
    bottom: -1px;
    left: 0;
    background-image: url(../img/gradient_f5f5f5_down-to-up.png);
    background-position: bottom center;
    background-size: 100% 3px;
    background-repeat: repeat no-repeat;
    z-index: 10;
}

.quizes-box {
    display: flex;
    flex-wrap: wrap;
    gap: 25px 20px;
    margin: 10px 0px;
    padding: 10px 10px 10px 0;
}
.qb_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.qb_header_quiz_name {
    display: flex;
    align-items: flex-start;
}

/* 
.qb_header h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    height: 36px;
    -webkit-box-orient: vertical;
    overflow: hidden;
} */

.qb_header label.quiz_name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight: 700;
    padding-left: 7px;
    padding-top: 5px;
    font-size: 14px;
    min-height: 42px;
}

.editable_title_togler_checkbox {
    display: none;
}

.editable_title_pencil {
    display: block;
    opacity: 0;
    color: hsl(204, 11%, 45%);
    background: transparent;
    background-image: url(../img/icons/edit.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    padding: 14px 6px;
    margin-right: 10px;
    margin-left: 10px;
    transition: all 0.1s ease;
    transition-delay: 0s;
}

.qb_header:hover .editable_title_pencil {
    opacity:1;
    transition: all 0.1s ease;
    transition-delay: 0s;
}

.editable_title_togler_checkbox:checked~.quiz_name,
.editable_title_togler_checkbox:checked~.editable_title_pencil {
    display: none;
}
.editable_quiz_title {
    display: none;
}
.editable_title_togler_checkbox:checked~.editable_quiz_title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.editable_quiz_title .quiz_name_input {
    width: calc(100% - 75px);
    font-size: 14px;
    margin: 0;
    padding: 5px 7px;
    height: 30px;
    background: #FFF;
    border: 1px solid #66757F;
    border-radius: 5px;
    font-weight: 700;
}

.editable_quiz_title input[type=button] {
    display: block;
    width: 30px;
    height: 30px;
    border: 1px solid #66757f;
    border-radius: 5px;
    margin-left: 5px;
    background-color: #FFF;
    background-repeat: no-repeat;
    background-size: 60%;
    background-position: center;
}
.editable_quiz_title input[type=button]+input[type=button] {
    margin-right: 5px;
}

.editable_quiz_title input.save_quiz_name {
    background-image: url(../img/icons/mark_save_quiz_name.svg);
}

.editable_quiz_title input.cancel_quiz_name {
    background-image: url(../img/icons/mark_cancel_quiz_name.svg);
}

.constructor-body_nav_container .pagination-container {
    border-radius: 8px;
    padding: 4px 0;
    align-items: center;
    height: 40px;
    margin: 0;
}

.pagination-container .paginate-buttons {
  border: none;
  display: flex;
  border-radius: 8px;
  padding: 6px 16px;
}

.pagination-container .paginate-buttons.back-button,
.pagination-container .paginate-buttons.next-button {
    padding: 7px;
    margin: 0 4px;
}


.qb_body {
    display: flex;
    justify-content: space-between;
    margin-top: 0;
}

.qb_body_main-actions {
    display: flex;
}

.qb_edit-quiz-button {
    font-size: 13px;
    border: 1px solid #66757F;
    border-radius: 10px;
    color: #66757F;
    background: #fff;
    background-image: url("../img/icons/edit.svg");
    background-repeat: no-repeat;
    background-position: 8px center;
    background-size: 12px;
    padding: 9px 10px 9px 26px;
    margin-right: 10px;
}

.qb_application-button {
    font-size: 13px;
    border: 1px solid #66757F;
    border-radius: 10px;
    color: #66757F;
    background: #fff;
    padding: 9px 10px;
}

.qb_application-button.no_send_leads {
    background: #324ac7;
    border: 2px solid #324ac7;
    color: #fff;
}

.leads_not_provided {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
}

.leads_not_provided p {
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: var(--color-main-dark-gray);
}
.leads_not_provided span {
    font-weight: 700;
    color: var(--color-main-black);
}

.qb_stats-button {
    border: 1px solid #66757F;
    border-radius: 10px;
    color: #66757F;
    background: #fff;
    background-image: url("../img/icons/chart.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 18px;
    padding: 9px 20px;
    display: none!important;
}

.qb_more-action-button {
    border: none;
    background: rgba(255,255,255, 0);
    background-image: url("../img/icons/more.svg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 5px 18px;
    padding: 6px 8px;
}

.qb_more-action-button:hover {
    /* background-size: 7px 22px; */
    box-shadow: none!important;
}

.answers-quizes-modal {
    padding-top: 16px;
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
}

.answers-quizes-modal_wrap {
    background: #FAFAFA;
    padding: 20px;
    border:1px solid #FAFAFA;
    border-radius: 5px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.16);
    margin: 0 auto;
}

.a-q-m_header {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 16px;
}

.a-q-m_header-head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.a-q-m_header h2 {
    font-size: 20px;
    width: calc(50% - 70px);
    max-width: 50%;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

.a-q-m_header-quiz-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.a-q-m_header-answers {
    /* width: 200px; */
    display: flex;
    align-items: center;
}

.a-q-m_header-answers span {
    padding-left: 7px;
}

.download_csv {
    display: flex;
    align-items: center;
    height: 24px;
    cursor: pointer;
    border: none;
    padding: 0;
    font-weight: 600;
    background: transparent;
    color: var(--color-main-blue);
}

.download_csv svg {
    width: 24px;
    height: 24px;
    margin-left: 4px;
    object-fit: contain;
    object-position: center;
    fill: var(--color-main-blue);
}
.block_close{
    cursor: pointer;
    min-width: 20px;
    min-height: 20px;
    border: none;
    background: rgba(255, 255, 255, 0);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../img/icons/close-modal.svg);
}

.a-q-m_close,
.payment_popup_close {
    cursor: pointer;
    margin-left: 20%;
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(255, 255, 255, 0);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../img/icons/close-modal.svg);
}
.cross-absolute .a-q-m_close,
.cross-absolute.payment_popup_close {
    position: absolute;
    margin-left: 0;
    top: 16px;
    right: 16px;
    width: 16px;
    height: 16px;
}

.download_csv_modal .cross-absolute .a-q-m_close {
    top: 10px;
    right: 12px;
    width: 13px;
    height: 13px;
}
.a-q-m_table-header {
    display: flex;
    background-color: var(--color-main-dark-gray);
    border-radius: 8px 8px 0 0;
}
.a-q-m_table-header>div {
    padding: 8px 16px;
    color: #fff;
}

.a-q-m_th p {
    color: #fff;
}

.a-q-m_th_number {
    width: 40px;
}

.a-q-m_th_date {
    display: flex;
    width: calc((100% - 4px - 172px - 20px) / 3);
}

.a-q-m_th_email {
    display: flex;
    align-items: center;
    gap: 2px;
    width: calc((100% - 4px - 172px - 20px) / 3);
}

.a-q-m_th_phone {
    width: calc((100% - 4px - 172px - 20px) / 3);
}

.a-q-m_th_actions {
    width: 172px;
}

.a-q-m_th_date input {
    margin-left: 10px;
    border: none;
    background: rgba(255, 255, 255, 0);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../img/icons/sorts-arows.svg);
}

.a-q-m_table_body {
    position: relative;
    min-height: 100px;
    max-height: calc(100vh - 340px);
	overflow-x: auto;
	margin-top: 0px;
	margin-bottom: 10px;
}
.leads_not_provided+.a-q-m_body .a-q-m_table_body {
    height: calc(100vh - 370px);
}
.a-q-m_table_body .ps {
    /* padding: 20px 0; */
}
.a-q-m_table_body.scroll-fafafa::before {
    display: block;
    width: 100%;
    content: '';
    height: 20px;
    position: sticky;
    top: 0;
    left: 0;
    background-image: url(../img/gradient_fafafa_up-to-down.png);
    background-position: top center;
    background-size: 100% 15px;
    background-repeat: repeat no-repeat;
    z-index: 10;
}
.a-q-m_table_body.scroll-fafafa::after {
    display: block;
    width: 100%;
    content: '';
    height: 10px;
    position: sticky;
    bottom: 0;
    left: 0;
    background-image: url(../img/gradient_fafafa_down-to-up.png);
    background-position: bottom center;
    background-size: 100% 15px;
    background-repeat: repeat no-repeat;
    z-index: 10;
}

.a-q-m_application {
    display: flex;
    width: 100%;
    /* padding: 20px 20px 20px 14px; */
    /* border-radius: 10px; */
    /* border: 1px solid #F5F5F5; */
    /* margin-bottom: 10px; */
}

.a-q-m_application:nth-child(odd) {
    background-color: var(--color-main-white);
    border-color: var(--color-main-white);
}
.a-q-m_application:nth-child(even) {
    background-color: var(--color-main-light-gray);
    border-color: var(--color-main-light-gray);
}

.a-q-m_application.close {
    /* background: #F5F5F5; */
}

.a-q-m_application.open {
    /* background: #E7F3FF; */
}

.a-q-m_td_app-info {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.a-q-m_body {
    border: 1px solid var(--color-main-gray);
    border-radius: 10px;
}

.aqmai_header {
    display: flex;
    align-items: center;
}

.aqmai_header>div {
    padding: 12px 16px;
}

.a-q-m_limits_notification {
    background: #ecc2c2;
    border-radius: 10px;
    padding: 15px 25px;

}

.workboard_leads_limit_instruction a {
    display: inline;
    color: #000;
    font-weight: 700;
}

.workboard_leads_limit_instruction a:hover {
    text-decoration: underline;
}

.aqmai_header p {
    font-weight: 700;
    transition: all 0s ease;
}

.aqmai_number {
    width: 40px;
}

.aqmai_number span {
    /* width: 30px; */
    padding: 4px 8px;
    text-align: center;
    /* background: #E6E6E6; */
    color: #000;
    /* font-weight: 700; */
    /* border: 1px solid #E6E6E6; */
    border-radius: 10px;
}

.aqmai_date {
    width: calc((100% - 4px - 172px) / 3);
}

.aqmai_mail {
    width: calc((100% - 4px - 172px) / 3);
}

.aqmai_mail p {
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: copy;
}

.aqmai_contacts {
    width: calc((100% - 4px - 172px) / 3);
    display: flex;
    flex-direction: column;
}

.aqmai_contacts p {
    cursor: copy;
}

.aqmai_actions {
    display: flex;
    width: 172px;
    align-items: center;
    justify-content: end;
    gap: 16px;
}

.aqmai_show-more button {
    display: flex;
    cursor: pointer;
    height: 32px;
    width: 92px;
    justify-content: center;
    align-items: center;
    text-align: center;
    text-align: center;
    padding: 8px;
    border: 1px solid var(--color-main-gray);
    border-radius: 8px;
    background-color: var(--color-main-white);
    color: var(--color-main-blue);
    font-weight: 700;
}

.aqmai_show-more.open button {
    /* background-image: url(../img/icons/eye-show-more.svg); */
}

.aqmai_delete {
    margin-left: auto;
}

.aqmai_delete button {
    cursor: pointer;
    width: 32px;
    height: 32px;
    padding: 4px;
    border: 1px solid var(--color-main-gray);
    border-radius: 8px;
    background-color: var(--color-main-white);
    transition: all 0.1s ease;
}

.aqmai_delete button svg {
    width: 100%;
    height: 100%;
    transition: all 0.1s ease;
}

.aqmai_delete button:hover {
    fill: #000;
    transition: all 0.1s ease;
}

.a-q-m_application.open .aqmai_hidden {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.a-q-m_application.close .aqmai_hidden {
    display: none;
}

.aqmai_body {
    padding-left: 40px;
    padding-right: 156px;
    width: 100%;
    margin-top: 20px;
}

.aqmai_qwestions {
    display: flex;
    flex-wrap: wrap;
}

.aqmai_q {
    width: 33%;
    padding: 12px 16px;
}

.aqmai_q_q {
    font-weight: 300;
    /* display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden; */
}

.aqmai_q_a {
    font-weight: 700;
    padding-top: 3px;
}

.aqmai_q_a_skipped {
    color: rgb(62, 1, 1);
}

.aqmai_footer {
    padding-left: 60px;
    padding-right: 150px;
}

.aqmai_utm {
    padding-top: 10px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-left: none;
    border-right: none;
    border-bottom: none;
}

.aqmai_utm>div {
    width: 33%;
    margin-bottom: 15px;
}

.utm-title {
    font-weight: 300;
}

.utm-value {
    font-weight: 700;
    padding-top: 3px;
}
.aqmai_ip {
    padding: 10px 0;
}

.none-of-application {
    text-align: center;
    margin-top: 40px;
}


.delete-quiz-modal_wrap {
    width: 400px;
    height: 160px;
    margin: 0 auto;
    margin-top: calc(40vh - 150px);
    background: var(--color-main-white);
    border-radius: 10px;
    box-shadow: 4px 4px 10px 1px rgba(0, 0, 0, 0.2);
}

.delete-quiz-modal_wrap_xl {
    width: 100%;
    height: 70vh;
    margin: 0 auto;
    margin-top: calc(25vh - 150px);
    background: var(--color-main-white);
    border-radius: 10px;
    box-shadow: 4px 4px 10px 1px rgba(0, 0, 0, 0.2);
}

.add-quiz-modal_wrap {
    width: fit-content;
    /* height: 290px; */
    margin: 0 auto;
    margin-top: calc(40vh - 150px);
    background: var(--color-main-white);
    border-radius: 10px;
    box-shadow: 4px 4px 10px 1px rgba(0, 0, 0, 0.2);
}

.add-q-m_body {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px 20px;
}
.add-q-m_body .header {
    font-size: 24px;
    margin-bottom: 8px;
    color: #66757F;
}
.add-q-m_body .description {
    align-items: flex-start;
    text-align: left;
    width: 100%;
    max-width: 310px;
    color: #66757F;
    font-weight: 300;
    font-size: 16px;
    margin-bottom: 32px;
}

.add-q-m_inputs {
    display: flex;
    justify-content: space-between;
    margin-top: 24px;
}

.add-q-m input[type=text] {
    margin-right: 10px;
    height: 50px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #66757F;
    background: transparent;
    padding: 15px 20px;
}
/* .add-q-m_inputs input[type=button] {
} */
.add-q-m_inputs input[type=button]:first-child {
    margin-right: 24px;
    border: 1px solid #182D48;
}

.del-q-m_body {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px 20px;
}

.del-q-m_body .header {
    align-items: center;
    text-align: center;
    color: #313131;
    font-weight: 300;
    font-size: 16px;
}

.del-q-m_inputs {
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

/* .del-q-m_inputs input[type=button] {
    margin-left: 10px;
    height: 50px;
    width: 100%;
    border-radius: 10px;
    border: 1px solid #000;
    background: #000;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.del-q-m_inputs input:first-child {
    background: #FFF;
    color: #000;
} */

.add-q-a_body {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 25px 20px;
}


.add-q-a_body .header {
    align-items: center;
    text-align: center;
    color: #313131;
    font-weight: 300;
    font-size: 16px;
}

.add-q-a_inputs input[type=button] {
    margin-left: 10px;
    height: 50px;
    width: 100px;
    border-radius: 10px;
    /* border: 1px solid #324AC7;
    background: #324AC7; */
    border: 1px solid #000;
    background: transparent;
    color: #000;
    font-size: 16px;
    font-weight: 400;
}


@media screen and (max-width: 800px) {
    
    .aqmai_body {
        padding-left: 20px;
        padding-right: 20px;
    }
.aqmai_footer {
    padding-left: 36px;
    padding-right: 36px;
}
}
@media screen and (max-width: 620px) {
    .aqmai_header {
        flex-wrap: wrap;
    }
    .aqmai_date, .aqmai_mail, .aqmai_contacts {
        width: calc((100% - 40px) / 3);
    }
    .a-q-m_application.open .aqmai_date p {
        display: block!important;
    }
    .aqmai_actions {
        justify-content: space-between;
    }
    .aqmai_body {
        padding-left: 18px;
        padding-right: 18px;
    }
    .aqmai_questions {
        justify-content: space-between;
    }
    .aqmai_q {
        width: 100%;
        padding: 0;
        margin-bottom: 12px;
    }
    .aqmai_utm {
        flex-direction: column;
    }
}
@media screen and (max-width: 460px) {
    .quiz-board .quizes-scroll-box {
        height: 100%;
    }
    .made-quiz-btn_wrap {
        flex-direction: column;
    }
}