.bdb {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #DFE7EB;
}
.pay-tab {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: #FFFFFF;
    border-radius: 5px;
    padding: 15px 0;
}
.pay-tab > .nav-link {
    flex: 1 1 auto;
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    margin-bottom: 0;
    transition: .2s;
    color: #707070;
    max-width: 180px;
}
.pay-tab > .nav-link:hover {
    color: #3e9da5;
}
.pay-tab > .nav-link:not(:last-child) {
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.bg-imgs {
    background: #F3F3F3;
    padding: 20px;
}
.bg-imgs img {
    display: block;
    max-width: 100%;
    width: 100%;
}
.pay-dropdown img {
    max-width: 100%;
    width: 100%;
}
.pay-dropdown {
    padding: 20px;
    background:#F3F3F3;
}
.pay-dropdown a {
    display: block;
    margin: -20px -20px 0;
    padding: 30px 20px 15px;
    color: #000;
    background: transparent;
    border: none;
    text-align: left;
}
.pay-dropdown a::after {
    content: "\f107";
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    float: right;
    position: relative;
    top: 4px;
}
.pay-dropdown a:active,
.pay-dropdown a:hover,
.pay-dropdown a:focus {
    outline: none !important;
    border: none !important;
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
}
.pay-tab-list {
    display: flex;
}
.pay-tab-list a {
    min-width: 170px;
    padding: 14px;
    background: #D8E0E4;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    font-size: 17px;
    color: #000;
    position: relative;
    margin-bottom: 15px;
}


.pay-tab-list a.active {
    background: #F7D62B;
    color: #000000;
}


.pay-tab-wrap {
    padding-top: 40px;
    padding-bottom: 20px;
}
.pay-tab-wrap__title {
    color: #444549;
    font-weight: bold;
    font-size: 21px;
    margin-bottom: 20px;
}
.pay-tab-wrap__list {
    padding: 20px;
    background: #F9F9F9;
    border-radius: 8px;
    margin-bottom: 30px;
    margin-top: 20px;
}
.pay-accordion__card {
    margin-bottom: 20px;
    border: 1px solid #D9E0E6;
    box-sizing: border-box;
    border-radius: 7px;
    background: transparent;
    overflow: hidden;
}
.pay-accordion__card button {
    color: #424451;
    display: flex;
    align-items: baseline;
    width: 100%;
    text-align-last: left;
    font-weight: 500;
    padding: 11px 15px 13px 65px;
    position: relative;
    border-radius: 0;
}
.pay-accordion__card button::before {
    content: "";
    display: block;
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    padding: 0 5px;
    border-right: 1px solid #D9E0E6;
    background: #D9E0E6;

}
.pay-accordion__card button[aria-expanded="true"] {
    border-bottom: 1px solid #D9E0E6;
}

.pay-accordion__card button:hover {
    background: #F9F9F9;
    color: #424451;
    text-decoration: none;
    box-shadow: none;
}
.pay-tab-wrap__banks {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
    justify-content: center;
}
.pay-tab-wrap__banks div {
    flex: 0 0 calc(50% - 20px);
    margin: 10px;
    background: #F3F3F3;
    border-radius: 5px;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pay-tab-wrap__title-sm {
    font-weight: bold;
    font-size: 18px;
    color: #000;
    margin-bottom: 15px;
}
div.pay-tab-wrap__list-bg {
    background: #EC7986;
    color: #fff;
    padding-bottom: 35px;
}
.pay-tab-wrap__list-bg b a {
    color: #fff;
}
.pay-tab-wrap__list-bg--bd {
    border: 5px solid #EB6161;
}
.pay-tab-wrap__title--dark {
    color: #fff;
}

.img-ban {
    position: absolute;
    right: 0;
    bottom: -35px;
}
.pay-tab-list a.active.nav-link {
    color: #fff ;
    background-color: #7cc3c7 ;
}
@media (min-width: 768px) {
    .pay-tab-list {
        margin: 0 -20px;
        padding-right: 20px !important;
        padding-left: 20px !important;
        border-bottom: 2px solid #52D0D7;
    }
    .pay-tab-list a.nav-link {
        margin-bottom: -2px;
        border-radius: 2px 2px 0 0;
    }
    .pay-tab-list a.active.nav-link {
        border: 2px solid #52D0D7;
        border-bottom: none;
        background: #fff;
        color: #000000;
    }
    .pay-tab-list a.nav-link {
        background: transparent;
        color: #A5B2BA;
    }
    .pay-tab-wrap__list {
        padding: 25px 40px 60px;
    }
    .pay-tab-wrap__banks div {
        flex: 0 0 calc(25% - 20px);

        padding: 15px 10px;
    }
}
@media (min-width: 992px) {
    .pay-tab-list {
        margin: 0 -40px;
        padding-right: 40px !important;
        padding-left: 40px !important;
    }
}

@media (min-width: 1200px) {
    .pay-tab-wrap__list {
        padding: 25px 60px 60px;
    }
    .pay-tab-wrap__banks div {
        flex: 0 0 calc(20% - 20px);
        max-width: calc(20% - 20px);
        font-size: 13px;
    }
}
@media (max-width: 767px) {
    .pay-tab {
        flex-direction: column;
        padding: 0;
        background: transparent;
        border-bottom: none;
    }
    .pay-tab > .nav-link:not(:last-child) {
        border-right: none;
        margin-bottom: 15px;
    }
    .pay-tab > .nav-link {
        width: 100%;
        font-size: 16px;
        background: #fff;
        border-radius: 4px;
        padding-left: 40px;
        justify-content: flex-start;
        text-align: left;
    }
    .nav-link.active {
        background-image: linear-gradient(90deg, #7cc3c7 6px, transparent 6px);
        background-repeat: no-repeat;
        background-position: left center;
        color: #7cc3c7;
    }
}