.accordion-button {
    padding: 1rem 1rem !important;
}

#about {
    overflow: hidden;
    position: relative;
}

#about p {
    font-size: 1rem;
    line-height: 1.8rem;
}

.about-bg {
    opacity: 0.2;
    position: fixed;
    left: 0;
    bottom: 1rem;
    width: 100%;
    height: 100%;
}

.position-container {
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(5, 210px);
    grid-auto-flow: row;
}

.about--img_box>img {
    width: 100%;
    height: 100%;
}

@media screen and (max-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(3, 210px);
    }
    .accordion-button {
    font-size: 16px;
    }
}

@media(max-width:576px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about--img_box {
        width: 100%;
        height: auto;
    }
}



/* GLOSSARY */
.glossary-tabs .nav-link {
    white-space: nowrap;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-link {
    color: #000000;
}

.nav-link:hover {
    color: #1DB24C;
}


/*about us*/

@media screen and (min-width: 992px) {

    /*.finance__cards.owl-carousel.owl-drag .owl-item {
    width: unset !important;
    margin-right: 0px !important;
}
.finance__cards .owl-stage {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    width: 100% !important;
}*/
    .about-img-grid .about--img_box {
        max-height: 200px;
    }

    /*.about-content.mx-auto.w-75 p {
    margin-bottom: 0px;
}*/
    .loan-type .loan-type__icon .card {
        height: 8.4rem;
    }

    .loan-type .card-body,
    .loan-type .card-footer,
    .loan-type .card-header {
        padding: 0.5rem 0.1rem;
    }

    .finance__card .card-body,
    .finance__card .card-footer,
    .finance__card .card-header {
        padding: 1rem;
        flex: unset;
    }

    .finance__card img.img-fluid {
        height: 120px;
        width: 200px;
    }
}


.finance-member .flip-box {
    background-color: transparent;
    /*  width: 300px;
  height: 200px;*/
    perspective: 1000px;
}

.flip-box__layer__overlay.card-body {
    height: 80%;
    width: 80%;
}

.flip-box-front.card.shadow {
    margin: 0 !important;
}

.flip-box-back.card.shadow {
    margin: 0 !important;
}

.flip-box-back.card.shadow {
    /*height: 220px !important;*/
    z-index: 99;
}

.flip-box-front.card.shadow {
    /*height: 230px !important;*/
    z-index: 99;
}

.finance-member .flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.finance-member .flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

.finance-member .flip-box-front,
.flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.finance-member .flip-box-front {
    background-color: #fff;
    color: black;
}

.finance-member .flip-box-back {
    background-color: #000;
    color: white;
    transform: rotateY(180deg);
}

.finance-member .flip-box {
    margin: 0 auto;
}

button.btn.load-more {
    cursor: pointer;
    -ms-flex-item-align: center;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    border: 2px solid #fff;
    background: transparent;
    font-size: 12px;      /* smaller font */
    padding: 2px 10px;    /* less padding */
    line-height: 1.2;     /* tighter line height */
    min-width: unset;     /* remove min width if any */
}

.flip-box__layer__overlay {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    text-align: center;
    padding: 35px;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translateZ(0.1px);
    transform: translateZ(0.1px);
}

@media only screen and (max-width: 991px) and (min-width: 768px) {
    .loan-type__icon .card {
        height: 10rem;
    }

}

@media screen and (min-width: 992px) {
    .loan-type__icon .card p {
        font-weight: 600;
        font-size: 12px;
    }
}