* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.cardboxs-quesion-wrapper {
    max-width: 1320px;
    padding: 0 20px;
    margin: 0 auto;
    width: 100%;
}

.cardboxs-quesion-main-wrapper {
    background: #F5F4EF;
    padding: 50px 0 150px 0;
    margin-top: 60px;
}

.cardBox__popup {
    display: none;
}

.cardBox-resize-icon {
    display: none;
}

.cardboxs-quesion-main-wrapper .quesion-no {
    color: #323232;
    font-family: Lato;
    font-size: 16px;
    font-weight: 700;
    line-height: 20.8px;
    margin-bottom: 32px;
}

.cardboxs-quesion-main-wrapper .cardboxs-heading {
    color: #202020;
    font-family: BioRhyme;
    font-size: 36px;
    font-weight: 700;
    line-height: 42.19px;
}

.cardboxs-quesion-main-wrapper .cardboxs-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
    justify-content: start;
}

.cardboxs-quesion-main-wrapper .cardbox {
    height: 240px;
    width: 100%;
    max-width: 305px;
    cursor: pointer;
    position: relative;
    transition : 0.2s linear;
}

.cardboxs-quesion-wrapper .cardbox:hover{
    border-radius: 10px;
    border: 1px solid #7345b2;
    padding: 10px;
    background: #FFF;
}

.cardboxs-quesion-main-wrapper .cardbox-image {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.cardboxs-quesion-main-wrapper .back-cardbox {
    border-radius: 30px;
    border: 1px solid #7345B2;
    gap: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    min-height: 47px;
    min-width: 140px;
}

.cardboxs-quesion-main-wrapper .next-cardbox {
    border-radius: 30px;
    background: #7345B2;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: none;
    min-height: 47px;
    min-width: 140px;
    gap: 10px;
}

.back-cardbox.disabled{
    opacity: 0.4;
    pointer-events: none;
}

.next-cardbox.disabled{
    opacity: 0.4;
    pointer-events: none;
}

.cardboxs-quesion-main-wrapper .backarrow-image {
    width: 9px;
    height: 14px;
}

.cardboxs-quesion-main-wrapper .nextarrow-image {
    width: 9px;
    height: 14px;
}

.cardboxs-quesion-main-wrapper .back-text {
    color: #7345B2;
    font-family: Lato;
    font-size: 18px;
    font-weight: 700;
    line-height: 23.4px;
}

.cardboxs-quesion-main-wrapper .next-text {
    color: #ffffff;
    font-family: Lato;
    font-size: 18px;
    font-weight: 700;
    line-height: 23.4px;
}

.cardboxs-quesion-main-wrapper .cardbox-select {
    border-radius: 10px;
    border: 1px solid #7345B2;
    padding: 10px;
    background: #FFF;
}

.cardboxs-quesion-main-wrapper .cardbox.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.cardboxs-quesion-main-wrapper .purpule_icon_with_border {
    display: none;
}

.cardboxs-quesion-main-wrapper .purpule_icon_with_border {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 24px;
    height: 24px;
}

.cardboxs-quesion-main-wrapper .cardbox-select .purpule_icon_with_border {
    display: block;
}

.cardboxs-quesion-main-wrapper .cardbox.cardbox-select .white-cricle-tick-icon {
    display: none;
}

.cardboxs-quesion-main-wrapper .cardbox .white-cricle-tick-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    top: 20px;
    right: 20px;
}

.cardboxs-quesion-wrapper .cardboxsheading-button-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 34px;
}

.cardboxs-quesion-wrapper .cardboxsheading-side {
    max-width: 710px;
    width: 100%;
}

.cardboxs-quesion-wrapper .cardboxsheading-button-wrapper .back-next-wrapper {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}


@media screen and (max-width : 1114.9px) {
    .cardboxs-quesion-main-wrapper .cardboxs-wrapper {
        justify-content: center;
    }
}

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


    .cardboxs-quesion-main-wrapper {
        padding: 32px 0 119px 0;
        position: relative;
    }

    .cardBox__popup {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        z-index: 99999;
        background: #191919d4;
        justify-content: center;
        align-items: center;
        gap: 32px;
    }

    .cardBox__popup__img_wrapper {
        position: relative;
    }

    .cardBox__popup__image {
        max-width: 375px;
        width: 100%;
        height: 293px;
    }

    .cardBox_popup_cross_icon {
        width: 48px;
        height: 48px;
        cursor: pointer;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -80px;

    }

    .cardBox-resize-icon {
        display: block;
        position: absolute;
        width: 24px;
        height: 24px;
        left: 10px;
        bottom: 10px;
    }

    .cardboxs-quesion-wrapper {
        max-width: 375px;
    }

    .cardboxs-quesion-main-wrapper .quesion-no {
        font-size: 14px;
        font-weight: 400;
        line-height: 19.6px;
        margin-bottom: 12px;
    }

    .cardboxs-quesion-main-wrapper .cardboxs-heading {
        font-size: 22px;
        line-height: 30.8px;
    }

    .cardboxs-quesion-main-wrapper .cardboxs-wrapper {
        align-items: center;
    }

    .cardboxs-quesion-main-wrapper .cardbox {
        /* max-width: 157px; */
        max-width: unset;
        width: 46.5%;
        height: 125px;
    }
    .cardboxs-quesion-wrapper .cardbox:hover{
        padding: 5px;
    }
    .cardboxs-quesion-main-wrapper .cardbox-select {
        padding: 5px;
    }

    .cardboxs-quesion-main-wrapper .purpule_icon_with_border {
        top: 10px;
        right: 10px;
        position: absolute;
        width: 16px;
        height: 16px;
        display: none;
    }

    .cardboxs-quesion-main-wrapper .cardbox .white-cricle-tick-icon {
        width: 16px;
        height: 16px;
        top: 10px;
        right: 10px;
    }
    .cardboxs-quesion-wrapper .cardboxsheading-button-wrapper{
        margin-bottom: 32px;
    }

    .cardboxs-quesion-wrapper .cardboxsheading-button-wrapper .back-next-wrapper {
        /* new  */
        /* position: fixed; */
        position: absolute;
        left: 50%;
        bottom: 0;
        transform: translateX(-50%);
        z-index: 15;
        background: #F5F4EF;
        max-width: 336px;
        width: 100%;
        justify-content: center;
        gap: 63px;
        padding: 16px 0;
    }

    .hide_overflow {
        overflow: hidden;
        height: 100vh;
        padding-bottom: unset;
    }
    .cardboxs-quesion-main-wrapper .back-cardbox , .cardboxs-quesion-main-wrapper .next-cardbox{
        min-width: 134px;
    }
}

.dsp-none{
    display: none;
}


/* ---dq_form ---  */

.dq_form{
    background: url('../../../content/dam/asianpaintsbeautifulhomes/design-quiz-phase2-new/dq-landing-desktop-banner.png') no-repeat;
    background-size: 100% 100%;
}

.bh-calculator_container {
    padding: 40px 20px 50px;
}

.bh-calc_form-container {
    padding: 30px 30px 77px;
    border-radius: 8px;
    text-align: center;
    background: #f5f4ef;
    max-width: 954px;
    margin: 0 auto
}

.bh-calc_heading {
    color: #FFF;
    text-align: center;
    font-family: BioRhyme;
    font-size: 36px;
    font-weight: 700;
    line-height: 42.192px;
    margin-bottom: 30px
}

.bh-calc_form-container .btn--primary {
    color: #FFF;
    font-family: Lato;
    font-size: 18px;
    font-weight: 700;
    line-height: 23.4px;
    border-radius: 30px;
    background: #7345b2;
    padding: 12px 39px;
    cursor: pointer;
    outline: 0;
    border: 0
}

.bh-calc_form-container .step1-form-container .btn--primary {
    min-width: 25%
}

.frm__field {
    background-color: transparent;
    border: 0;
    border-bottom: 1px solid #c4c4c4;
    color: #26282b;
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    padding: 8px 40px 8px 8px;
    position: relative;
    width: 100%;
    z-index: 1
}

.frm__label {
    color: #26282b;
    display: block;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 12px
}

.frm__group .error {
    color: #d51123;
    display: inline-block;
    font-size: 14px;
    line-height: 20px;
    margin-top: 5px;
    visibility: hidden
}

.bh-calc_step-txt {
    color: #000;
    font-family: Lato;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 20px
}

.bh-calc_step-txt span {
    font-weight: 300;
    opacity: .6
}

.bh-calc_step-heading {
    color: #000;
    font-family: BioRhyme;
    font-size: 24px;
    font-weight: 700;
    line-height: 28.128px;
    margin-bottom: 8px
}

.bh-calc_step-subheading {
    color: #000;
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
    line-height: 22.4px;
    margin-bottom: 32px
}

.bh-calc_form-container .check-container input:checked~.checkmark {
    border: 1px solid #7345b2
}

.bh-calc_form-container .check-container .checkmark:after {
    left: 5px;
    top: 0
}

.step1-form-container .formcontainer>div {
    display: flex;
    flex-wrap: wrap;
    justify-content: center
}

.step1-form-container .formcontainer .frm__group:nth-child(1) {
    margin-right: 20px
}

.step1-form-container .frm__group {
    position: relative;
    max-width: 305px;
    text-align: left
}

.step1-form-container .error {
    margin-top: 0;
    margin-bottom: 5px
}

.step1-form-container .formcontainer .frm__group:nth-child(3) {
    margin-right: 20px
}

.step1-form-container .frm__field {
    height: 55.3px;
    border: .8px solid #00000040;
    border-radius: 8px;
    color: #000;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    padding: 17px 16px
}

.step1-form-container .formcontainer .frm__group input:focus+.ids-form-label {
    display: block !important
}

.step1-form-container .formcontainer .frm__group label {
    display: block;
    position: absolute;
    color: #000;
    font-family: Poppins;
    font-size: 10px;
    font-weight: 400;
    line-height: 14px;
    top: -6px;
    left: 16px;
    z-index: 9;
    background-color: #f5f4ef;
    padding: 0 4px;
    margin-bottom: 0
}

.step1-form-container .frm__field:focus,.step1-form-container .frm__field:focus-visible {
    border: 1px solid #000;
    color: #000
}

.step1-form-container .form_field_checkbox {
    margin-top: 20px;
    max-width: 630px;
    width: 100%
}

.step1-form-container .check-container {
    color: #000;
    font-family: Lato;
    font-size: 16px;
    font-weight: 400;
    line-height: 20.8px;
    position: relative;
    cursor: pointer;
    max-width: 620px
}

label.check-container:hover input~.checkmark {
    background-color: #f5f4ef
}

.check-container:hover input:checked~.checkmark {
    background-color: #7345b2
}

.step1-form-container .form_button {
    width: 100%;
    margin-top: 45px;
    margin-bottom: 42px
}

.step1-form-container .form_button button {
    width: max-content
}

.step1-form-container .checkmark {
    background-color: #f5f4ef;
    border: 1px solid #a0a0a0
}

.check-container input {
    position: absolute;
    left: -30px;
    top: 0;
    cursor: pointer
}

.step1-form-container .form-checkbox {
    margin-bottom: 0;
    display: flex;
    justify-self: left
}

.bh-calc_step-1-wrapper .icon-chevron-right {
    display: none
}

.step1-form-container .frm__group:nth-child(3)::before {
    position: absolute;
    top: 21px;
    left: 16px;
    content: "";
    background-image: url(../../../content/dam/asianpaintsbeautifulhomes/ap-beautiful-homes/emi--banner/india-flag.png);
    background-position: center;
    background-size: cover;
    width: 18px;
    height: 13px;
    display: block;
    z-index: 9
}

.step1-form-container .frm__group:nth-child(3)::after {
    content: "+91";
    position: absolute;
    color: #000;
    left: 41px;
    top: 18px;
    border-right: 1px solid #00000020;
    height: 20px;
    padding-right: 11px;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    display: block;
    z-index: 9
}

.step1-form-container .frm__group:nth-child(3) input {
    text-indent: 76px
}

.bh-calc_form-container {
    padding: 30px 30px 35px
}

.bh-calc_form-container .back-btn {
    color: #7345b2;
    font-family: Lato;
    font-size: 18px;
    line-height: 29px;
    letter-spacing: -0.198px;
    border: 0;
    background: no-repeat;
    cursor: pointer;
    padding: 0;
    margin-right: 52px;
    text-align: right !important
}

.bhs-cal-mobimg {
    display: none
}

.result-hero-mobImg {
    display: none
}

@media(max-width: 992px) {

    .dq_form {
        background-size: 100% 110px;
    }

    .bh-calculator_container {
        padding: 56px 0 40px;
        position: relative
    }

    .bh-calc_heading {
        font-size: 18px;
        font-weight: 700;
        line-height: 21.096px;
        max-width: 195px;
        margin: 0 auto 24px
    }

    .bh-calc_form-container {
        padding: 12px 20px 30px;
        border-radius: 10px
    }

    .bh-calc_step-txt {
        margin-bottom: 12px
    }

    .bh-calc_step-heading {
        font-size: 20px;
        line-height: 23.44px;
        margin-bottom: 15px
    }

    .bh-calc_step-subheading {
        margin-bottom: 27px
    }

    .step1-form-container div.formcontainer div.frm__group {
        max-width: unset
    }

    .step1-form-container .formcontainer .frm__group:nth-child(1),.step1-form-container .formcontainer .frm__group:nth-child(3) {
        margin-right: 0
    }

    .step1-form-container .form_field_checkbox {
        margin-top: 0;
        text-align: left
    }

    .step1-form-container .check-container {
        font-size: 14px;
        padding-left: 24px
    }

    .step1-form-container .form_button {
        margin-top: 20px;
        margin-bottom: 15px
    }

    .bh-calc_form-container button.btn--primary {
        width: 100%
    }

    .step1-form-container .checkmark {
        width: 16px;
        height: 16px
    }

    .step1-form-container .check-container .checkmark:after {
        left: 4.5px;
        width: 3px;
        height: 9px;
        top: 0
    }

    .bh-calc_form-container .back-btn {
        margin-right: 0;
        text-align: center !important
    }

    .home-redesign-help__form-cta {
        display: flex;
        flex-direction: column-reverse;
        align-items: center
    }

    .step1-form-container .form_button button {
        order: 2;
        margin-top: 20px
    }

    .bhs-cal-mobimg {
        display: block;
        position: absolute;
        height: 146px;
        top: 0;
        z-index: -1
    }
}

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

    .result-hero-mobImg {
        display: block
    }
}
