@media (max-width: 768px) {
    

    .metrics, #ambassador-tab .card.card-body.charts.charts-small {
        margin-bottom: 20px!important;
        margin-left: 10px!important;
        height: 80px;
        min-height: 80px;
        padding: 10px 10px;
        flex-basis: 45%;
        flex: 45%;
        position: relative;
        left: -5px;
    }

    #metrics, #v2_metrics, #ambassador-tab .flexbox {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        flex-wrap: wrap;
        margin: 0!important;
        padding: 0!important;
        width: 100%!important;
        position: relative;
    }

    .datepicker-line {
        margin-top: 1rem!important;
    }

    .impressions {
        margin-bottom: 30px;
        position: absolute;
        bottom: 0;
        width: 80%;
    }

    .metric-numbers {
        margin: 0 0 0 10px;
        font-size: 28px;
        line-height: 39px;
    }

    .mt-3, .my-3 {
        margin-top: 0rem!important;
    }

    h1.f-24.font-weight-bold {
        position: absolute;
        z-index: 10;
        top: 15px;
        width: 100%;
        text-align: center;
        left: 2px;
    }

    .main-tabs.d-flex.flex-row.list-group {
        width: 100%;
    }

    .watch-again, .archiveRecord, .unarchiveRecord, #removeFromWishlist {
        display: none;
    }

    #learning-tab .course-percentage,
    #membership-tab .course-percentage {
        margin: auto 0px auto 10px!important;
    }

    .dashboard-main-tab-switcher {
        padding-top: 3.8rem!important;
        padding-bottom: 0!important;
    }

    #learning-tab .course-action,
    #membership-tab .course-action {
        width: 110px!important;
        margin-left: 10px;
    }

    #learning-tab .course-title,
    #membership-tab .course-title {
        width: 55%!important;
        padding-right: 10px!important;
    }

    #membership-tab .membership-title-link:not(:first-child) {
        margin-top: 3rem !important;
    }

    #teaching-menu {
        padding: 0.5rem!important;
        margin: 1rem 0 2rem 0!important;
        overflow-x: scroll;
        -webkit-box-shadow: inset -7px 0 9px -7px rgba(0,0,0,0.7);
        -moz-box-shadow: inset -7px 0 9px -7px rgba(0,0,0,0.7);
        box-shadow: inset -7px 0 9px -7px rgba(0,0,0,0.7);
    }

    .table-responsive.border {
        -webkit-box-shadow: inset -7px 0 9px -7px rgba(0,0,0,0.7);
        -moz-box-shadow: inset -7px 0 9px -7px rgba(0,0,0,0.7);
        box-shadow: inset -7px 0 9px -7px rgba(0,0,0,0.7);
    }

    .teaching-tab-item {
        background: #fff0 !important;
    }

    .sales-filtering-tab {
        border-top: 1px solid silver;
    }

    #get-sales, .lds-dual-ring.dark-blue, #ambassador-get-sales {
        display: block;
        margin-left: auto!important;
        margin: auto;
        margin-top: 1.5rem;
        position: relative;
        left: 0px;
    }

    .card.card-body.charts.charts-small {
        margin-right: 0!important;
    }

    .lds-dual-ring.dark-blue {
        padding-left: 40px!important;
    }

    #teaching-tab label.f-12.font-weight-bold {
        margin-left: auto!important;
        margin: auto;
        display: block;
        position: relative;
        left: 0px;
        margin-bottom: 1rem!important;
    }

    #teaching-tab label.f-12.font-weight-bold span,
    #teaching-tab label.f-12.font-weight-bold input {
        margin: 0!important;
    }

    .mb-3.d-flex.justify-content-between {
        border-top: 1px solid #c7c7c7;
        margin-top: 1.2rem!important;
        padding-top: 1.2rem!important;
    }

    .coaching-course p.btn {
        white-space: initial;
        line-height: 21px;
        text-align: left;
    }

    .booking-line h4.course-title {
        min-width: 25%;
        max-width: 25%;
        width: 25%;
        text-align: left;
        overflow: hidden;
        white-space: initial;
        text-overflow: ellipsis;
        display: block;
    }

    .booking-line .progress.course-progress {
        max-width: 15%!important;
    }

    .booking-line .course-percentage {
        margin-left: 0px!important;
    }

    #analytics-tab #bookings-table td,
    #quizzes-table td {
        padding: 12px 0!important;
    }

    #bookings-table .coaching-course h5, 
    #quizzes-table .quiz-heading h5 {
        width: 85%!important;
    }

    #bookings-table .coaching-course,
    #quizzes-table .quiz-heading {
        position: relative;
    }

    #bookings-table .badge.badge-primary.badge-pill,
    #bookings-table .lds-dual-ring.light-gray.num-place {
        position: absolute;
        right: 0.5rem!important;
    }

    #quizzes-table .badge.badge-primary.badge-pill {
        position: absolute;
        right: 1rem!important;
    }

    #quizzes-table .description-wrapper li.card-body {
        padding: 0!important;
    }

    #quizzes-table div.quiz-actions-wrap {
        text-align: center;
    }

    #quizzes-table div.quiz-actions-wrap .accept {
        margin-right: 0.5rem;
        font-size: 1.1rem!important;
    }

    #quizzes-table div.quiz-actions-wrap .decline {
        margin-left: 0.5rem;
        font-size: 1.1rem!important;
    }

    #quizzes-table h3.white-text {
        white-space: initial!important;
    }

    #bookings-table .booking-line p.course-title.created {
        min-width: auto;
        max-width: auto;
        width: 25%;
        text-align: left;
        white-space: initial;
        font-size: 12px!important;
        margin-right: 5px!important;
    }

    #bookings-table .booking-line .course-title a {
        font-size: 12px!important;
        margin-left: 5px!important;
    }

    #ambassador-tab .table-responsive td,
    #courses-tab .table-responsive td,
    #coupons-tab .table-responsive td {
        width: 100%!important;
        max-width: 100%!important;
        overflow-x: none!important;
        text-overflow: none!important;
        white-space: initial!important;
    }

    #ambassador-tab .table-responsive td h5 {
        font-size: 14px;
    }

    #ambassador-tab .table-responsive.border,
    #reviews-tab .table-responsive.border {
        -webkit-box-shadow: none!important;
        -moz-box-shadow: none!important;
        box-shadow: none!important;
    }
}