

/* CRS Calculator CSS */

.c-card {
    background-color: #fff;
    box-shadow: 0px 0px 94px rgba(0, 0, 0, 0.10);
    border-radius: 30px;
    /* overflow: hidden; */
    padding: 30px;
    margin-bottom: 40px;

    &:last-child {
        margin-bottom: 0;
    }
}

.bcpnp_calculator {
    padding: 50px 0 100px;
}

.c-card {

    input {
        margin: 0;
    }

    ul {
        display: flex;
        grid-gap: 20px;
        flex-wrap: wrap;

        li {
            display: flex;
            grid-gap: 20px;
            flex-wrap: wrap;

            .radio_btn {
                background-color: #DFEBF1;
                padding: 14px 20px 14px 54px;
                border-radius: 10px;
                color: #152E53;

                label {
                    display: flex;
                    align-items: flex-start;
                    grid-gap: 12px;
                    padding-bottom: 0;
                    padding-top: 0;
                    font-size: 18px;
                    font-weight: 400;
                }
            }
        }
    }
}

.scalc span {
    width: 56px;
    height: auto;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    border-radius: 50%;
    color: var(--primary);
    font-weight: 600;
    font-size: 20px;
}

.content_title {
    display: flex;
    grid-gap: 65px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;

    h4 {
        font-size: 24px;
        color: #000;
        line-height: 1.5;
        margin-bottom: 0;
        font-weight: 600;
    }

    sup {color: #E91D2C;
        display: inline-block;
        vertical-align: middle;
    }
}




.checkbox,
.radio_btn {
    position: relative;
    float: left;
    cursor: pointer;
}

.form-block .form-group .checkbox label,
.form-block .form-group .radio_btn label {
    padding: 0;
    padding-left: 26px;
    display: block;
    line-height: normal;
}

.checkbox input,
.radio_btn input {
    top: 0;
    left: 0;
    z-index: 1;
    cursor: pointer;
    opacity: 0;
    position: absolute;
}

.checkbox .input-helper,
.radio_btn .input-helper {
    position: absolute;
    left: 20px;
    top: 18px;
    width: 20px;
    height: auto;
    aspect-ratio: 1;
}

.checkbox input:checked+.input-helper:before,
.radio_btn input:checked+.input-helper:before {
    border-color: #152E53;
}

.checkbox input:disabled+.input-helper,
.radio_btn input:disabled+.input-helper,
.checkbox input:disabled~span,
.radio_btn input:disabled~span {
    opacity: 0.45;
}

.checkbox .input-helper:before,
.radio_btn .input-helper:before,
.checkbox .input-helper:after,
.radio_btn .input-helper:after {
    position: absolute;
    content: "";
    transition: all 200ms;
}

.checkbox .input-helper:before,
.radio_btn .input-helper:before {
    left: 0;
    border: 1px solid #152E53;
}

.radio_btn input {
    width: 100%;
    height: 100%;
    margin: 0;
}

.radio_btn input:checked+.input-helper:after {
    transform: scale(1);
}

.radio_btn .input-helper:before {
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.radio_btn .input-helper:after {
    width: calc(100% - 10px);
    height: calc(100% - 10px);
    background: #152E53;
    border-radius: 50%;
    top: 5px;
    left: 5px;
    transform: scale(0);
}

.checkbox .input-helper+span,
.radio_btn .input-helper+span {
    padding-left: 30px;
    color: #CACACA;
    font-weight: 300;
}


.qustion_radio {
    display: grid;
    grid-template-columns: auto 512px;
    grid-gap: 42px;
    align-items: flex-start;
    position: relative;
}


.total_points {
    background-color: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0px 0px 94px rgba(0, 0, 0, 0.10);
    padding: 30px;
    position: sticky;
    top: calc(var(--headerHeight) + 100px);

    h4 {
        font-size: clamp(1.125rem,1.666666666666667vw,2rem);
    }

    h3,
    h2,
    h4,
    h5 {
        display: flex;
        flex-direction: column;
        grid-gap: 24px;

        strong {
            background-color: #F4F4F4;
            color: #152E53;
            padding: 20px 27px;
            border-radius: 15px;
            overflow: hidden;
            /* font-size: clamp(1.5rem,2.604166666666667vw,2.8rem); */

            span {
                line-height: normal;
                font-size: inherit;
                font-weight: 700;
            }
        }
    }

    .aspire_btn:after {
        display: none;
    }
}


#points_regional,
.eligible_points {
    margin-top: 30px;
}

.assessment-section {
    background-color: #F9F9F9;
}

.assessment-row {
    display: grid;
    grid-gap: 42px;
    grid-template-columns: auto 656px;
    align-items: flex-start;
}

.assessment-img {
    figure {
        position: relative;
        padding-top: 98.78%;
        background-color: var(--secondary);
        overflow: hidden;
        border-radius: 30px;

        img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}



.content_sub_title {
    margin-bottom: 30px;

    &:last-child {
        margin-bottom: 0;
    }

    h4 {
        margin-bottom: 20px;
        color: var(--black);
        font-size: 24px;
    }

}

.text_field label {padding: 0;}
.text_field .error-message {margin-top: 15px; color: #E91D2C; font-size: 16px;}

.c-card {

    .custom-select {

        .nice-select {
            background: #DFEBF1 !important;
            border-color: #DFEBF1 !important;
        }

        .list {
            max-height: 300px;
            overflow: hidden;
            overflow-y: auto;
            z-index: 2;

            li {
                width: 100%;
            }
        }

        select {
            background: #DFEBF1;
            border-color: #DFEBF1;
            border-radius: 10px;
            overflow: hidden;
            border: 0;
            padding: 10px 42px 10px 24px;
        }

        &::after {
            z-index: 1;
        }
    }
}

#work_exp_in_canada_card.content_title {flex-direction: column; grid-gap: 0;}
.edu_cmptd, .studied_in_canada, .settle_canada, #work_exp_in_canada_card.content_title, .job_offer_dropdown, .content_sub_title_row {margin-top: 30px;}
.work_exp_in_canada_related h4 {font-size: 24px; color: #000; line-height: 1.5; font-weight: 600;}


.studied_in_canada {
    .content_title {
        margin-bottom: 0;
        flex-direction: column;
        grid-gap: 24px;
    }
}

.no_need {
    display: none;
}

#resetbutton {margin-top: 30px;
    background-color: #E91D2C;
    border-color: #E91D2C;
    color: #fff;
    padding: 14px 40px;
    
    &:hover {
        background-color: transparent;
        color: #E91D2C;
    }
}

/* CRS Calculator CSS */


.innerpage_banner_row  {
    text-align: center;

    .innerpage_banner_info {
        h1,h2 {
            color: #fff;
        }
    }

    .breadcrumbs {
        padding-bottom: 0;

        ul {justify-content: center;}
    }
}

.bg-img {
    position: relative;
    z-index: 1;

    &::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
        z-index: -1;
        pointer-events: none;
    }
}

@media only screen and (max-width: 1499px) {
    .content_title h4 {
        font-size: 20px;
    }

    .scalc span {
        width: 40px;
        font-size: 16px;
    }

    .assessment-row {
        grid-template-columns: auto 460px;
    }

    .c-card  ul li .radio_btn label  {
        font-size: 16px;
    }

}

@media only screen and (max-width: 1299px) {
    .qustion_radio {
        grid-template-columns: auto 350px;
        grid-gap: 30px;
    }

    .c-card  ul li .radio_btn label  {
        font-size: 14px;
    }

    .book-consultation-form .form-block {
        grid-gap: 20px !important;
    }
}

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


    .qustion_radio {
        grid-template-columns: auto 270px;
    }

    .content_title {
        grid-gap: 30px;
    }

    .scalc span {
        width: 30px;
        height: 30px;
    }

    .c-card {
        border-radius: 20px;
    }

    .total_points {
        border-radius: 20px;

        &h3,
        &h2,
        &h4,
        &h5 {
            strong {
                padding: 10px 20px;
            }
        }
    }

    .assessment-img {
        width: 100%;
    }

    .assessment-row {
        display: flex;
        flex-direction: column-reverse;
    }

    .c-card {
        margin-bottom: 30px;

        &:last-child {
            margin-bottom: 0;
        }
    }
}


@media only screen and (max-width: 768px) {
    
    .qustion_radio {
        display: flex;
        flex-direction: column;
    }
    
    
    .qustion_radio .wpb_wrapper {
        width: 100%;
    }

    
    .content_title h4 {
        font-size: 18px;
    }
    
    .c-card {
        padding: 30px 20px;
    }
    
    .content_title h4 {
        font-size: 16px;
    }
    
    .c-card {
        & ul {
            & li {
                grid-gap: 15px;
                
                .radio_btn {
                    padding: 10px 20px 10px 34px;
                    border-radius: 5px;
                }
            }
        }
    }

    .text_field input {border-radius: 5px;}
    
    .scalc span {
        font-size: 14px;
    }
    
    .checkbox .input-helper,
    .radio_btn .input-helper {
        left: 10px;
        width: 16px;
    }
    
    .total_points {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: calc(100% - 40px);
        padding: 10px 20px;
        margin: 0 auto;
        border-radius: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        grid-gap: 20px;
        z-index: 2;
    }
    
    .total_points h4 {
        grid-gap: 14px;
        flex-direction: row;
        align-items: center;
        font-size: 18px;
        width: 100%;
        margin-bottom: 0;
    }
    
    .total_points h4 strong {
        padding: 10px;
        font-size: 24px;
        max-width: 200px;
        width: 100%;
    }
    
    .total_points .btn.red_btn {
        font-size: 14px;
        padding: 14px 65px 14px 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .total_points .btn::before,
    .total_points .btn::after {
        display: none;
    }
    
    .total_points .btn.red_btn {
        font-size: 14px;
        padding: 14px 30px;
        border-radius: 5px;
    }
    
    .c-card {border-radius: 5px;}
    
    .bcpnp_calculator {padding: 50px 0;}
    #resetbutton {margin-top: 0;}
    .total_points{display: none;}
    .total_points.sticky_points{display: flex;}

    .text_field input {font-size: 18px;}
}

@media only screen and (max-width: 575px) {
    .total_points h4{font-size: 18px;}
    .text_field input {font-size: 16px;}
}

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

    .total_points {bottom: 65px;}
    .total_points h4 strong{width: 40%; font-size: 20px;}
    .total_points h4{grid-gap: 10px;}
}