.submenu_tabs {
    justify-content: center;
    background-color: #004475;
    border: 0;
    padding: 0 70px;
}


.submenu_tabs .nav-item .nav-link {
    border: 0px;
    width: 100%;
    border-radius: 0;
    position: relative;
    padding: 18px 25px;
    color: #fff;
    margin: 0;
}

.submenu_tabs .nav-item .nav-link.active {
    background: #2abed5;
}

/* .submenu_tabs .nav-item .nav-link::after {
    
   
} */
.submenu_tabs .nav-item .nav-link.active::after {
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 12px solid rgb(42, 190, 213);
    position: absolute;
    width: 30px;
    height: 20px;
    top: 100%;
    content: '';
    left: calc(50% - 15px);
    transform: rotate(180deg);
    transition: 0.2s;
}

#submenu_tabsContent {
    padding: 30px 0px 0px 0px;
}

#membership-home .latest_news {
    margin-bottom: 30px;
}

.mem_latest_news {
    display: flex;
    align-items: center;
}

.mem_latest_news span {
    background-color: #08b3e7;
    padding: 9px;
    font-weight: 700;
    color: #ffffff;
    width: 10%;
}

.mem_latest_news marquee b {
    background-color: #FF0;
}

.mem_main_quotes {
    background-image: url('../../image/page_image/membg.jpg');
    background-size: cover;
}

.mem_quotes_box h5 {
    font-weight: 700;
}

.mem_quotes_box {
    margin-bottom: 0;
    background: linear-gradient(to right, #039be5 4px, transparent 4px) 0 100%, linear-gradient(to left, #039be5 4px, transparent 4px) 100% 0, linear-gradient(to bottom, #039be5 4px, transparent 4px) 100% 0, linear-gradient(to top, #039be5 4px, transparent 4px) 0 100%;
    background-repeat: no-repeat;
    background-size: 70% 45%;
    padding: 25px;
    position: relative;
    margin-top: 20px;
}

.mem_quotes_box p {
    margin-bottom: 0px;
}

.mem_quotes_box::after {
    content: '\f10e';
    font-family: 'Font Awesome 6 Free';
    color: #039be5;
    bottom: -14px;
    position: absolute;
    right: 28%;
    font-size: 25px;
}

.mem_quotes_box::before {
    content: '\f10d';
    font-family: 'Font Awesome 6 Free';
    color: #039be5;
    top: -14px;
    position: absolute;
    left: 28%;
    font-size: 25px;

}




.mem_main_objective {
    background-image: url('../../image/page_image/objetive.jpg');
}

.mem_onj_pointer {
    border-top: 2px solid #08b3e7;
    padding-top: 15px;
    margin-bottom: 25px;
    margin-top: 15px;
    position: relative;
}

.mem_onj_pointer_count_left {
    color: #fff;
    width: 50px;
    height: 50px;
    background: #08b3e7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -27px;
    left: -25px;
}

.mem_obj_para {
    padding: 15px;
    background: aliceblue;
    border-radius: 15px;
    color: #000000 !important;
    margin-top: 15px;
}

.mem_onj_pointer_count_right {
    color: #fff;
    width: 50px;
    height: 50px;
    background: #08b3e7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -27px;
    right: -25px;
}

.mem_ins_life_item {
    padding: 5px;
}

.mem_ins_life_item img {
    box-shadow: 2px 5px 18px 2px #00447524;
    padding: 8px;
}

.mem_network_item p {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    padding: 20px;
    margin: 0;
    color: #fff;
    font-size: 18px;
    background: linear-gradient(#00447500 10%, #004475 100%);
}

#mem_ins_life_slider .owl-nav .owl-prev,
#mem_ins_life_slider .owl-nav .owl-next {
    top: 28%;
}

.mem_eligibility_box {
    display: flex;
    gap: 20px;
    background-color: antiquewhite;
    padding: 25px;
    margin-bottom: 25px;
}

.mem_eligibility_box img {
    width: 55px;
    height: max-content;
}

/* benefits */
.mem_benifits_card {
    background-color: #004475;
    text-align: center;
    padding: 30px 20px;
    /* height: 365px; */
    margin-bottom: 25px;
}

.mem_benifits_card .mem_benifits_card_img {
    border-radius: 50%;
    border: 2px solid #ffffff;
    width: 80px;
    height: 80px;
    margin-left: auto;
    margin-right: auto;
    /* background-color: #08b3e7; */
    display: flex;
    justify-content: center;
    align-items: center;
}

.mem_benifits_card .mem_benifits_card_img img {
    width: 100%;
    padding: 12px;
}

.mem_benifits_card p {
    color: #ffffff;
    margin-top: 15px;
    margin-bottom: 0px;
    min-height: 111px;
    max-height: 111px;
    overflow-y: auto;
    scrollbar-color: #ddd transparent;
}

.mem_benifits_lm_card {
    text-align: center;
    padding: 20px 20px;
    border: 2px solid #004475;
    height: 350px;
    transition: all ease-in-out 0.2s;
    background: #ffffff;
    border-top: 11px solid #004475;
}

.mem_benifits_lm_card_even {
    border-top: 11px solid #08b3e7;
}

.mem_benifits_lm_card:hover {
    height: 400px;
    padding: 48px 20px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.23);
}

.mem_benifits_row {
    height: 400px;
    display: flex;
    align-items: center;
}

.mem_benifits_lm_card p {
    margin-top: 15px;
    min-height: 155px;
    max-height: 155px;
    overflow-y: auto;
    scrollbar-color: #ddd transparent;
}

.add_mem_benefits_section {
    background: linear-gradient(172deg, rgb(5 113 251) 0%, rgb(1, 0, 130) 60%);
}

.mem_benifits_card:hover {
    background-color: #08b3e7;
}

.hta_fee_mem_image {
    width: 100px;
    height: 100px;
    border: 2px dotted #004475;
    display: flex;
    align-items: center;
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    justify-content: center;
    padding: 18px;
}

.hta_fee_mem_image::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid #004475;
    border-bottom: none;
    border-left: none;
    left: -2px;
    top: -2px;
}

.hta_fee_mem_image .hta_fee_mem_count {
    width: 30px;
    height: 30px;
    position: absolute;
    background: #08b3e7;
    display: flex;
    align-items: center;
    padding: 5px;
    border-radius: 50%;
    left: -15px;
    z-index: 1;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    justify-content: center;
}

.hta_fee_mem_tab {
    padding: 30px 15px;
    text-align: center;
    background-color: antiquewhite;
}

.hta_fee_mem_tab>p {
    margin-top: 15px;
    margin-bottom: 0px;
}

.mem_tab_period {
    background-color: #004475;
    margin-top: 30px;
}

.mem_tab_period_card {
    background: antiquewhite;
    padding: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}

.mem_fee_table thead tr th {
    background: #004475;
    color: #ffffff;
}

.mem_fee_table thead tr th:not(:nth-child(1)) {
    text-align: center;
}

.mem_fee_table tbody tr td:not(:nth-child(1)) {
    text-align: center;
}

#mem_fee_navtab {
    justify-content: center;
    border: 0;
    display: flex;
    gap: 25px;
    flex-direction: row;
    margin-left: auto;
    margin-right: auto;
}

#mem_fee_navtab li {
    background: antiquewhite;
    width: 25%;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
}

#mem_fee_navtab li button img {
    width: 40px;
}

#mem_fee_navtab li button {
    color: #000000;
    font-size: 18px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

#mem_fee_navtab li button.active {
    background-color: #08b3e7;
    color: #ffffff;
}


#mem_fee_navtab li button.active a {
    color: #ffffff;
}

#mem_fee_navtab li button.active+span {
    position: absolute;
    width: 30px;
    height: 20px;
    top: 100%;
    left: calc(50% - 15px);
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 12px solid #08b3e7;
    transition: all 0.2s;
    transform: rotate(180deg);
}


#mem_fee_navtab li.nav-item button.nav-link {
    border: 0px;
    width: 100%;
    border-radius: 0px;
}

#mem_fee_navtab_Content {
    padding: 30px 0;
}

.mem_tab_notesection {
    background-color: #B2D7EA;
}

.mem_tab_code_ofconduct {
    background-color: #004475;
}

.mem_ver_bar {
    height: 280px;
    justify-content: center;
}

.mem_list_navtabs {
    background-color: transparent;
    gap: 20px;
    justify-content: space-between;
    padding-left: 12px;
    padding-right: 12px;
}

.mem_list_navtabs .nav-item .nav-link.active {
    background-color: #004475;
    background: #004475;
}

.mem_list_navtabs .nav-item .nav-link.active::after {
    border-bottom: 12px solid #004475;
}

.mem_list_navtabs .nav-item .nav-link {
    background-color: #08b3e7;
    padding: 10px 25px;
}

.mem_list_header {
    margin-top: 25px;
}

.mem_list_header h4 {
    margin-bottom: 20px;
    width: max-content;
    padding: 10px 30px 10px 10px;
    background: #08b3e7;
    color: #fff;
    font-size: 18px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 50px;
    border-left: 8px solid #004475;
}

.mem_list_card_head h5 {
    width: 100%;
    margin-bottom: 10px;
    padding: 10px;
    background: #004475;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.mem_list_card {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    height: 160px;
    margin-top: 15px;
}

.mem_list_card img {
    box-shadow: 3px 4px 18px 3px #ddd;
    border-radius: 10px;
}

.mem_img_card {
    flex-basis: 25%;
}

.mem_list_card_members {
    border-left: 1px solid #ddd;
    width: 100%;
    flex-basis: 31%;
    padding-left: 15px;
}

.mem_list_card_members:last-child {
    border-right: 0px !important;
}


.mem_list_card_members h5 {
    color: #004475;
    font-weight: 800;
    margin-bottom: 0;
    font-size: 18px;
}

.mem_list_card_membersbox {
    display: flex;
    gap: 20px;
    flex-grow: 1;
    flex-basis: 73%;
    flex-wrap: wrap;
}

.mem_list_card_col {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.mem_list_card_2 {
    border: 2px dotted #ddd;
    padding: 15px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    flex-basis: 32.2%;
    align-items: flex-start;
    position: relative;
    height: 160px;
}

.mem_list_card_2 img {
    width: 90px;
    height: 90px;
    border: 2px solid #004475;
}

.mem_list_card_members2 {
    flex-basis: unset !important;
    border: unset;
}

.mem_list_card_members2 p {
    font-size: 14px;
}

.mem_ind_life_year_tab {
    display: flex;
    justify-content: center;
}

.year_btn {
    border-left: 1px solid #ddd;
    border-radius: 0px;
    font-weight: 800;
    color: #004475;
}

.year_btn:last-child {
    border-right: 1px solid #ddd;
}

.year_btn:active,
.year_btn:focus,
.year_btn:hover {
    outline: unset;
    border-left: 1px solid #ddd;
    outline-color: unset;
    text-decoration: underline;
}

.profile_btn {
    font-size: 12px;
    font-weight: 400;
    position: absolute;
    bottom: 10px;
    right: 10px;
    letter-spacing: 0.4px;
}

.mem_ins_list_card {
    border: 2px dotted #ddd;
    position: relative;
    padding: 15px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mem_ins_list_card img {
    width: auto;
    height: 80px;
}

.mem_ins_list_card h5 {
    text-align: center;
    margin-top: 10px;
    color: #004475;
    font-weight: 800;
    margin-bottom: 0;
    font-size: 18px;
}

.life_mem_float {
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 3px 10px;
    background: #c02425;
    color: #fff;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.mem_ins_list_card_col {
    margin-bottom: 1.5rem;
}

.mem_inslife_list_card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 3px solid #dddddd8c;
    align-items: flex-start;
    padding: 15px;
}

.mem_inslife_list_card .mem_inslife_list_img {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.mem_inslife_list_card .mem_inslife_list_img img {
    width: 150px;
}

.mem_inslife_list_card .mem_inslife_list_content h5 {
    color: #004475;
    font-weight: 800;
}

.mem_inslife_list_card .mem_inslife_list_content p {
    margin-bottom: 0px;
}

.get_member_data_by_yearmonth {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
}

.mem_inslife_list_desc {
    overflow-y: auto;
    max-height: 170px;
    text-align: justify;
    padding-right: 22px;
}

.accordion-question p {
    margin: 0px;
}

.accordion-question {
    background-color: #004475 !important;
    color: #ffffff !important;
    gap: 15px;
}

.accordion-question::after {
    color: #ffffff;
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    background-image: unset !important;
}

#terms_conditions_row {
    padding-bottom: 30px;
    display: none;
}

.terms_conditions_row_hidden {
    display: flex !important;
}

.mem_card_border {
    border: 1px solid #004475;
    padding: 0;
    margin-right: calc(.5 * var(--bs-gutter-x));
    margin-left: calc(.5 * var(--bs-gutter-x));
    margin-bottom: 20px;
}

#life_mem_profile_modal .modal-header,
#ins_life_inst_profile_modal .modal-header {
    background-color: antiquewhite;
}



.mem_modal_header {
    display: flex;
    gap: 20px;
    padding: 0px;
    align-items: flex-start;
}

.mem_modal_header img {
    width: 140px;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 10px 15px -3px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
    border-radius: 5px;
}

.mem_ins_life_year_tab {
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.inst_l_label span {
    background: red;
    color: #ffffff;
    padding: 5px;
    font-size: 13px;
    font-weight: 600;
}

.ins_inst_modal_header {
    align-items: center;
}

/* end */

@media screen and (min-width: 768px) and (max-width:1380px) {

    .submenu_tabs {
        flex-direction: row;
        padding: 0 0px;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        justify-content: flex-start;
        background: transparent;
        padding-bottom: 25px;
    }

    .submenu_tabs .nav-item {
        background-color: #004475;
    }

    .submenu_tabs .nav-item .nav-link {
        width: max-content;
    }

    .mem_latest_news span {
        width: 20%;
    }

    .mem_onj_pointer_count_left {
        left: 12px;
    }

    .mem_onj_pointer_count_right {
        right: 12px;
    }

    .submenu_tabs {
        justify-content: space-evenly;
    }

    .mem_benifits_row {
        height: auto;
    }

    .mem_benifits_lm_card:hover {
        height: 350px;
        padding: 20px;
    }

    .hta_fee_mem_tab {
        height: 100%;
    }

    .mem_contactus_tab_box {
        justify-content: space-between;
    }

    .mem_list_card_2 {
        flex-basis: 48.5%;
    }

    #mem_fee_navtab li {
        width: 33%;
    }

    .mem_ins_life_year_tab {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .mem_ins_list_card h5 {
        font-size: 16px;
    }


}

@media screen and (max-width: 767px) {
    .submenu_tabs {
        flex-direction: row;
        padding: 0 0px;
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        justify-content: flex-start;
        background: transparent;
        padding-bottom: 25px;
    }

    .hta_fee_mem_tab {
        margin-top: 25px;
    }

    .mem_ver_bar {
        height: 15px;
    }

    .mem_ver_bar .vr {
        display: none;
    }

    .mem_onj_pointer_count_right {
        position: relative;
        top: unset;
        right: unset;
        left: 0;
    }

    .mem_onj_pointer_count_left {
        left: 12px;
    }

    .mem_onj_pointer {
        border: 0px;
    }

    .submenu_tabs .nav-item .nav-link {
        text-align: center;
        width: max-content;
    }

    .submenu_tabs .nav-item {
        background-color: #004475;
    }

    .mem_latest_news span {
        width: 32%;
        font-size: 14px;
    }

    #submenu_tabsContent {
        padding-top: 20px;
    }

    .text-center-xs {
        text-align: center;
    }

    .mem_benifits_card .mem_benifits_card_img {
        width: 70px;
        height: 70px;
    }

    .mem_benifits_card p {
        min-height: auto;
        max-height: max-content;
        overflow-y: auto;
    }

    .mem_benifits_row {
        flex-direction: column;
        flex-wrap: nowrap;
        display: flex;
        align-items: flex-start;
        height: auto;
    }

    .mem_benifits_row .pe-0 {
        padding-right: 12px !important;
    }

    .mem_benifits_row .ps-0 {
        padding-left: 12px !important;
    }

    .mem_benifits_lm_card {
        height: auto;
    }

    .mem_contactus_tab_box {
        justify-content: space-between;
    }

    #mem_fee_navtab {
        justify-content: space-between;
        gap: 10px;
    }

    #mem_fee_navtab li {
        width: 48%;
    }

    #mem_fee_navtab li button {
        gap: 5px;
        font-size: 15px;
    }

    .mb-xs-4 {
        margin-bottom: 1.5rem !important;
    }



    .mem_list_card {
        display: flex;
        height: unset;
        flex-direction: column;
        align-content: flex-start;
        align-items: flex-start;
        gap: 25px;
    }

    .mem_list_card_membersbox {
        flex-basis: 100%;
        flex-direction: column;
    }

    .mem_list_card_members:last-child {
        margin-bottom: 15px;
    }

    .mem_list_card_members2 {
        padding-left: 0px;
    }

    .mem_list_card_2 {
        flex-basis: 47%;
        margin-top: 0px;
    }

    .mem_list_header h4 {
        width: 100%;
    }

    .mem_card_border {
        width: 95%;
    }

    .mem_list_card img {
        margin-left: 15px;
    }

    .mem_ind_life_year_tab {
        flex-direction: row;
        justify-content: flex-start;
        gap: 5px;
        flex-wrap: wrap;
    }

    .year_btn {
        width: 56px;
        border-left: 0px;
        border: 1px solid #ddd;
    }

    .fellow_mem_list_card_col .mem_list_card_2 {
        flex-basis: 100%;
        gap: 10px;
    }

    .fellow_mem_list_card_col .mem_list_card_2 img {
        margin-left: 0px !important;
    }

    .mem_ins_life_year_tab {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
    }

    .mem_contactus_tab {
        display: flex !important;
        flex-direction: column;
        gap: 0px !important;
    }

    .mem_contactus_tab p {
        margin-bottom: 0px !important;
    }
}

@media screen and (max-width: 475px) {
    .mem_latest_news {
        flex-direction: column;
        justify-content: center;
    }

    .ins_inst_modal_header {
        align-items: flex-start !important;
        flex-direction: column;
    }

    .mem_latest_news span {
        text-align: center;
    }

    .mem_latest_news marquee {
        margin-top: 20px;
        padding: 5px;
    }

    .mem_latest_news marquee b {
        padding: 8px;
    }

    .mem_eligibility_box {
        gap: 10px;
    }

    .mem_eligibility_box {
        padding: 20px;
    }

    .mem_tab_period_card {
        flex-direction: column;
    }

    .mem_tab_period_card p {
        text-align: center;
    }


}

@media screen and (max-width: 320px) {
    .mem_latest_news span {
        width: 37%;
    }

    #mem_fee_navtab li button {
        font-size: 14px;
    }

    .year_btn {
        width: 64px;
    }

    .mem_eligibility_box {
        flex-direction: column;
    }

    .mem_contactus_tab_box {
        flex-direction: column;
        gap: 1rem !important;
    }

    #mem_fee_navtab li button img {
        width: 25px;
    }

    .get_member_data_by_yearmonth {
        gap: 5px;
    }

    .mem_list_card_members2 p {
        margin-bottom: 0px;
    }

    .mem_list_card_members2 {
        margin-bottom: 0px !important;
    }

    .fellow_mem_list_card_col .mem_list_card_2 {
        gap: 10px;
        padding-bottom: 50px;
    }

    .mem_list_navtabs {
        gap: 5px;
    }

    .mem_modal_header {
        flex-direction: column;
    }

    .mem_modal_header {
        align-items: flex-start !important;
    }


}