.wmc_inner_header h2 {
    margin-top: 10px !important;
    padding-bottom: 10px;
    padding-top: 12px;
    font-size: 28px;
    margin-bottom: 1px !important;
    color: #000;
    font-weight: 500;
    width: 100%;
}
.wmc_conditions {
    border: 1px solid;
    border-color: #a9a6a9;
    padding: 0 16px 0 16px !important;
    font-size: 16px !important;
    border-radius: 12px !important;
    background-color: #fff;
    height: 48px !important;
    padding-left: 16px !important;
}
.wmc_inner_header:after {
    border: 1px solid;
    content: "";
    color: #000;
    display: block;
}
section.wmc_calc_header {
    padding: 1px 15px 15px 15px;
    margin: 0 auto 0 auto;
}
.wmc_calc_col .wmc_field_name {
    color: #000;
}
label.wmc_field_name {
    font-size: 20px;
    font-weight: 600;
}
.wmc_calc_div1 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.wmc_calc_div2 {
    padding-top: 10px;
}
.wmc_heading h3 {
    margin-bottom: 8px;
}
.wmc_heading:after {
    border-bottom: 1px solid;
    display: block;
    content: "";
    width: 30%;
    margin-left: 35%;
    margin-bottom: 5%;
}
.wmc_containers_rows {
    padding: 8px 8px 20px 8px;
    margin-top: 20px;
    max-width: 100%;
}
.wmc_calc_filed .wmc_conditions:hover {
    background-color: #e8e7e7;
}
.form-group .wmc_calc_monthley {
    font-size: 18px;
    font-weight: 600;
    color: #151515;
    padding: 0.375rem 0.75rem;
}
.form-group {
    margin-bottom: 12px;
}
span.input-group-text {
    padding: 0.375rem 0.75rem;
    font-size: 18px;
    line-height: 1.5;
}
.wmc_main_div {
    background-clip: border-box;
    box-shadow: 0 4px 8px 0 rgb(0 0 0 / 10%), 0 0px 10px 0 rgb(0 0 0 / 19%);
}
.wmc_title {
    text-align: center;
}
.wmc_result_div {
    padding: 12px;
}
.wmc_heading h3 {
    text-align: center;
    font-size: 30px;
    color: #000;
    font-weight: 500;
    margin-top: 0px !important;
}
.wmc_schedule_content {
    margin-top: 40px;
}
.wmc_calc_filed {
    display: flex;
    flex-direction: column;
}

.wmc_summery {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.form-group {
    margin-bottom: 12px;
}
/*..............*/
li.nav-tab {
    padding: 10px 20px;
    background-color: #1d3557;
    margin: 0 5px 0 0;
    color: #f0f0f0;
    text-transform: uppercase;
    width: auto;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}
li.nav-tab.nav-tab-active {
    padding: 10px 20px;
    background-color: #2a9d8f;
    margin: 0 5px 0 0;
    color: #f0f0f0;
    width: auto;
}
.wmc_schedule_content .tab-content {
    display: none;
    padding: 15px 0;
}
.wmc_schedule_content .tab-content.current {
    display: inherit;
    text-align: center;
}
.wmc_display_table ul.nav-tab-wrapper.woo-nav-tab-wrapper {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
table.mortgage_monthley_schedule, table.mortgage_annual_schedule {
    width: 100%;
    text-align: center;
    border-collapse: collapse;
    border: 0;
}
.mortgage_annual_schedule th, .mortgage_annual_schedule td {
    border-bottom: 1px solid #b1b7c5;
    border-top: 0px;
    border-right: 0px;
    border-left: 0px;
}
.mortgage_monthley_schedule th, .mortgage_monthley_schedule td {
    border-bottom: 1px solid #b1b7c5;
    border-top: 0px;
    border-right: 0px;
    border-left: 0px;
}
li#wmc_display_annual:before, li#wmc_display_month:before {
    content: none;
}
table.mortgage_annual_schedule, table.mortgage_monthley_schedule {
    margin: 0;
}


@media only screen and (max-width: 768px) {
    /*.wmc_main_div {
        max-width: 100% !important;
    }*/
    .wmc_calc_div1 {
        flex-direction: column;
        gap: 0px;
    }
    .wmc_calc_div2 {
         padding-top: 0; 
    }
    .wmc_inner_header h2 {
        font-size: 20px !important;
    }
    label.wmc_field_name {
        font-size: 18px;
    }
    .wmc_calc_filed {
        padding-top: 5px;
    }
    .wmc_display_table li.nav-tab {
        padding: 10px 15px;
        font-size: 12px;
    }
    #wmc_display_annual {
        margin: 0 5px 0 0;
    }
    #wmc_display_month {
        margin: 0 0px 0 0;
    }
    .mortgage_annual_schedule th, .mortgage_annual_schedule td {
        font-size: 12px;
    }
    .mortgage_monthley_schedule th, .mortgage_monthley_schedule td {
        font-size: 12px;
    }
    .wmc_result_div .wmc_summery {
        justify-content: center;
        flex-wrap: wrap;
    }
}