/* OVERVIEW CSS*/
.sec-r .overview {
    margin-top: 20px;
}

.sec-r .overview .overview-container .overview-item {
    width: calc(100% / 4 - 10px);
    background-color: var(--mid-color-1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding-top: 15px;
    margin-bottom: 15px;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.sec-r .overview .overview-container .overview-item:hover {
    -webkit-box-shadow: 0px 4px 10px -1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 4px 10px -1px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 4px 10px -1px rgba(0, 0, 0, 0.2);
    transition: 0.3s ease-out;
}

.sec-r .overview .overview-container .overview-item:hover>.menu-dots {
    opacity: 1;
}

.sec-r .overview .overview-container .overview-item .menu-dots {
    position: absolute;
    left: 10px;
    top: 10px;
    opacity: 0;
    transition: 0.4s;
}

.sec-r .overview .overview-container .overview-item .overview-item-icon {
    width: 40px;
    height: 40px;
    background-color: var(--mid-color-2);
    border-radius: 50%;
    font-size: 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.sec-r .overview .overview-container .overview-item .overview-item-icon i {
    display: inline-block;
    transform: translateY(2px);
}

.sec-r .overview .overview-container .overview-item .p-big {
    font-size: 2rem;
    font-weight: bold;
    line-height: 0;
}

.sec-r .overview .overview-container .overview-item .p-small {
    font-size: 0.8rem;
    color: var(--dull-black);
}

/* SUMMARY SECTION */

.summary {
    width: 100%;
    background-color: var(--mid-color-1);
    border-radius: 10px;
    margin: 20px 0;
    padding: 10px;
    padding-bottom: 30px;
}

.summary .title {
    font-weight: bold;
}

/* .summary .summary-sec-container {
    margin-bottom: 20px;
} */

.summary-container:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.summary .summary-details {
    width: calc(100% / 4);
    height: 130px;
    position: relative;
    padding: 0 10px;
}

.summary .summary-details:hover {
    background-color: var(--primary-color);
    cursor: pointer;
}

.summary .summary-details:not(:first-child) {
    border-left: 1px solid rgba(0, 0, 0, 0.2);
}

.summary .summary-details .p-big {
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    bottom: 0;
}

.summary .summary-details .p-small {
    color: var(--dull-black);
    font-size: 0.8rem;
}

/* DISBURSEMENT AND COLLECTIONS SECTION */
.disbursements,
.collections {
    width: 100%;
    background-color: var(--mid-color-1);
    border-radius: 10px;
    margin-top: 20px;
    padding: 20px;
    display: none;
}

.content {
    margin: 30px 0;
}

.content .div-l,
.content .div-r {
    width: 50%;
}

.content .div-l a,
.content .div-r a {
    color: black;
}

.div-r {
    border-left: 1px solid rgba(0, 0, 0, 0.2);
    padding-left: 20px;
}

.content .entry {
    margin: 10px 0;
    padding: 0 10px;
    border-radius: 7px;
    width: 80%;
    height: 50px;
    /* background-color: rgb(240, 255, 240); */
    transition: background-color 0.3s;
}

.content .entry:hover {
    background-color: rgb(227, 255, 227);
}

.content .entry .icon {
    width: 40px;
    height: 40px;
    background-color: #a2ff94;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.content .entry .icon i {
    color: #00a412;
}

.content .entry p {
    margin: 0 20px;
}

.content .entry .branch {
    font-size: 0.8rem;
    width: 20%;
}

.content .entry .amount {
    font-weight: 700;
}


/* BALANCES SECTION */
.balances {
    width: 100%;
    margin-top: 20px;
}

.balances .title {
    font-weight: bold;
}

.balances .balance-container .balance-details {
    width: calc(100% / 3 - 10px);
    border-radius: 10px;
    padding: 10px 20px;
}

.balances .balance-container .balance-details:nth-child(1) {
    background: url("/static/images/bg-1.jpg") no-repeat center !important;
}

.balances .balance-container .balance-details:nth-child(2) {
    background: url("/static/images/bg-2.jpg") no-repeat center !important;
}

.balances .balance-container .balance-details:nth-child(3) {
    background: url("/static/images/bg-3.jpg") no-repeat center !important;
}

.balances .balance-container .balance-details .wallet .icon {
    width: 40px;
    height: 40px;
    background-color: var(--mid-color-1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.balances .balance-container .balance-details .wallet .icon i {
    display: inline-block;
    transform: translateY(2px);
}

.balances .balance-container .balance-details .wallet .wallet-desc p {
    font-size: 0.8rem;
    line-height: 0;
}

.balances .balance-container .balance-details .wallet .wallet-desc .amount {
    font-weight: bold;
    color: var(--mid-color-2);
    font-size: 1rem;
    display: inline-block;
    transform: translateY(-10px);
}

.balances .p-big {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 0;
}

.balances .p-small:first-child {
    font-size: 0.8rem;
    color: var(--mid-color-2);
    margin-bottom: -10px;
}

.balances .p-small:last-child {
    font-size: 0.7rem;
    color: var(--dull-black);
}

.balances .p-small {
    font-size: 0.8rem;
    color: var(--dull-black);
}

/* TOP CLIENTS SECTION */

.top-clients {
    background-color: var(--mid-color-1);
    border-radius: 10px;
    margin: 20px 0;
    padding: 10px;
}

.top-clients .title {
    font-weight: bold;
}

.top-clients .top-clients-container .header {
    color: var(--dull-black);
}

.top-clients .top-clients-container .row {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 0 5px;
    font-size: 0.8rem;
    margin-bottom: 5px;
    height: 40px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.top-clients .top-clients-container .row:first-child {
    border: none;
}

.top-clients .top-clients-container .row:not(:first-child) {
    cursor: pointer;
    transition: 0.4s;
}

.top-clients .top-clients-container .row div:not(:first-child) {
    width: calc(100% / 6);
    text-align: center;
}

.top-clients .top-clients-container .row div:first-child {
    width: calc(100% / 6 * 2);
}

.top-clients .top-clients-container .row div .icon {
    width: 30px;
    height: 30px;
    background-color: #C7C7FF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    margin-right: 10px;
    transition: 0.4s;
}

.top-clients .top-clients-container .row div .icon i {
    font-size: 1rem;
    transform: translateY(2px);
    color: black;
}

.top-clients .top-clients-container .row:hover:not(:first-child) {
    background-color: #dcdcdc;
}

/*.top-clients .top-clients-container .row:hover:not(:first-child)>div {*/
/*    color: var(--mid-color-1);*/
/*}*/

.top-clients .top-clients-container .row:hover:not(:first-child)>div .icon {
    background-color: #a6a6ff;
}

/* Overview  section */

.overview {
    width: 100%;
    background-color: var(--mid-color-1);
    border-radius: 10px;
    padding: 10px 0;
}

.overview .overview-details {
    border-right: 1px solid rgba(0, 0, 0, 0.1);
    width: calc(100% / 5);
    height: 150px;
    padding-left: 20px;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.overview-item {
    overflow: hidden;
}

.overview-details:hover>.floating-amount,
.overview-item:hover>.floating-amount {
    transform: translateX(0);
    opacity: 1;
}

.overview .overviews-container:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.overview .overview-details:last-child {
    border-right: none;
}

.overview .overview-details .amount-highlight {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    position: absolute;
    right: 20px;
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.8rem;
    background-color: var(--dull-blue);
}

.overview .p-big {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 40px;
}

.overview .p-small {
    color: var(--dull-black);
    font-size: 0.8rem;
}

.floating-amount {
    position: absolute;
    top: 10px;
    right: 0;
    text-align: right;
    background-color: var(--dull-blue);
    padding: 3px 10px 3px 20px;
    border-radius: 20px 0 0 20px;

    transform: translateX(10px);
    opacity: 0;
    transition: 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
}

.floating-amount p {
    margin: 0;
    font-size: 0.8rem;
}

.floating-amount p:nth-child(1) {
    font-size: 0.7rem;
}
