.homepage {
    margin-top: 15px;

    @media only screen and (max-width: 768px) {
        margin: 15px 15px;
    }

    .homepage-dashboard {
        // padding: 20px;
        padding: 8px;

        @media only screen and (max-width: 768px) {
            padding: 5px 15px 15px 15px
        }
    }

    .top-bar {
        display: flex;

        justify-content: space-between;

        .upcoming-appointments {
            margin: 10px ​20px;
            margin: 10px;
            /* margin-top: -10px; */
            flex-grow: 1;
            height: 210px;
            overflow: scroll;
            overflow: -moz-scrollbars-vertical;
            overflow-y: scroll;

            &::-webkit-scrollbar {
                -webkit-appearance: none;
                width: 7px;
            }

            &::-webkit-scrollbar-thumb {
                border-radius: 4px;
                background-color: whitesmoke;
                -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
            }

            .ant-timeline-item {
                padding-bottom: 4px;
            }

            padding: 0px ​4px;

            .small-card {
                .ant-card-body {
                    padding: 4px ​12px !important;
                }

                h4 {
                    margin-bottom: 0px;
                }

                p {
                    color: #52302a;
                    font-size: 10px;
                }

                .card {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    cursor: pointer;
                    margin: 0px 2px;
                    padding: 1px 16px;
                    border: 1px solid #f3f3f3;
                    border-radius: 2px;
                    box-shadow: 0px 0px 4px 4px #f8f8f8;

                    &:hover {
                        border-color: #dfdfdf;
                        box-shadow: 0px 1px 3px 0px #e5e5e5;
                        border-radius: 4px;

                        .ant-btn {
                            opacity: 1;
                        }
                    }

                    .ant-btn {
                        opacity: 0;
                    }
                }
            }

            .ant-timeline {
                padding: 10px 0px;
            }
        }
    }

    .welcome-section {
        width: 60%;
        display: flex;
        // border: 1px solid #e1e1e1;
        margin: 10px 0px;

        @media only screen and (max-width: 768px) {
            padding: 20px;
        }

        justify-content: space-between;
        position: relative;

        height: 210px;

        @media only screen and (max-width: 768px) {
            width: 100%;

            height: 180px;
        }
    }

    .dashboard-cards {
        // margin: 20px 0px;

        @media only screen and (max-width: 768px) {
            padding: 0px 16px;
        }

        .dashboard-card {
            // padding: 15px;
            // border: 1px solid #e9e9e9;
            // margin-right: 15px;
            margin: 10px;
            // border-radius: 4px;
            // box-shadow: 0px 0px 20px 1px #8080800f;

            .link {
                cursor: pointer;
                color: brown;
                float: right;
                font-weight: bold;
                padding: 8px 8px;
            }

            @media only screen and (max-width: 768px) {
                margin: unset;
                margin: 10px ​0px;
                margin-top: 10px;
                margin-right: 0px;
                padding: 15px;
            }
        }
    }

    .nodata .card h1{

        margin-bottom: 0.5em;
        color: rgba(0, 0, 0, 0.85);
        font-weight: 600;
        font-size: 16px;
        line-height: 1.5;
    }

    .greeting {
        @media only screen and (max-width: 768px) {
            flex-basis: 48%;
        }

        .split {
            display: flex;
            align-items: baseline;

            @media only screen and (max-width: 768px) {
                flex-direction: column;
            }
        }

        p {
            margin-top: 30px;

            @media only screen and (max-width: 768px) {
                margin-top: 10px;
            }

            strong {
                text-transform: capitalize;
                color: #349328;
            }
        }

        h1.ant-typography {
            margin-bottom: 0px;
            font-size: 32px;
            font-weight: 200;
        }

        h4.ant-typography {
            margin: 0px 10px;

            @media only screen and (max-width: 768px) {
                margin: 0px;
            }
        }
    }

    .welcome-image {
        width: 150px;
        position: absolute;
        right: 25px;
        top: 0px;
    }

    // .graph-element {
    //     width: 100px;

    .graph-container {
        // width: 300px;
        height: 400px;
    }

    // }
}