.di_single-course-page {
    margin-top: 30px;
}
.di_course-page {
    width: -webkit-fill-available;
}

.course-list-table {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.course-list-table .di_row-col {
    max-width: calc(100% / 3 - 20px);
    flex: 0 0 calc(100% / 3 - 20px);
    margin: 10px;
}
.course-list-table .di_row-col .inner-course-content {
    padding: 10px;
    -webkit-box-shadow: 0 0 7px 0 rgba(224, 224, 224, 0.5);
    box-shadow: 0 0 7px 0 rgba(224, 224, 224, 0.5);
    background-color: #ffffff;
    height: 100%;
}
.course-list-table .di_row-col .inner-course-content h2 {
    font-size: 20px;
    margin: 0 0 15px;
}
.course-list-table .di_row-col h3 {
    margin: 0 auto;
    font-size: 24px !important;
}

.course-list-table .di_row-col h4 {
    font-size: 18px;
    margin: 0 auto;
}

.course-list-table .di_row-col a.btn.btn-default {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    text-decoration: none;
}

.inner-course-content p {
    margin-bottom: 5px;
}
.inner-course-content p:last-child {
    margin-top: 15px;
}

/* ------------ single course page hero section ------------ */

section.di_hero {
    margin-bottom: 10px;
}

.di_hero.di_image-background {
    background-color: #fff;
    position: relative;
}

.di_image-background .hero-img {
    position: relative;
    overflow: hidden;
    padding-top: 45%;
}
.di_image-background .hero-img .di_hero__media {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
    filter: brightness(70%)
}

.di_image-background .di_hero__content {
    width: 100%;
    top: 50%;
    padding: 3rem;
    position: absolute;
    transform: translateY(-50%);
    text-align: left;
}

.di_image-background .di_hero__content h1 {
    color: #fff;
    font-weight: 600;
    font-size: 42px;
}

.di_image-background .di_hero__content p {
    color: #ffffff;
    width: 60%;
}

.di_hero.di_image-background:before {
    content: '';
    background-color: rgba(0, 0, 0, 0.3);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}


/* -------------- Layout 2 ----------------- */

.di_hero.di_image-content .di_inner-hero {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.di_hero.di_image-content .hero-img {
    max-width: 40%;
    flex: 0 0 40%;
}

.di_hero.di_image-content .di_hero__content {
    max-width: 60%;
    flex: 0 0 60%;
    padding-left: 20px;
}


/* ---------- single course page content ----------- */

.di_single-content {
    width: auto;
    display: block;
}

.di_tab-layout .di_tab button {
	flex: 1;
    min-width: 150px;
    background-color: #d5d5d5;
    color: black;
}

.di_tab {
    overflow: auto !important;
}

.di_tab {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
}


/* ---------- Tab Layout -----------  */

.di_tab-layout .di_tab {
    overflow: hidden;
    border: 1px solid #e5e5e5;
    background-color: #f1f1f1;
    border-bottom: none;
}

.di_tab-layout .di_tab button {
    float: left;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 15px;
    font-size: 16px;
    border-radius: 0;
}

.di_tab-layout .di_tab button:hover {
	background-color: #ccc;
}

.di_tab-layout .di_tab button.active {
    background-color: #fff;
    border-bottom: none;
}

.di_tab-layout .di_tabcontent {
    display: none;
    padding: 5px 15px 5px 15px;
    border: 1px solid #e5e5e5;
    border-top: none;
}


/* -------- Accordion layout ------------ */

.di_accordion-layout .di_acc__card {
    margin: 10px 0px;
    position: relative;
}

.di_accordion-layout .di_acc__title {
    background: grey;
    color: #fff;
    cursor: pointer;
    display: block;
    padding: 1em 1.5em;
    position: relative;
    text-align: left;
}

.di_accordion-layout .di_acc__title.active::after {
    transform: rotate(45deg);
    transition: all 0.2s ease-in-out;
	top: 37%;
}

.di_accordion-layout .di_acc__title::after {
    width: 10px;
    height: 10px;
    border-right: 3px solid #f7f8f9;
    border-bottom: 3px solid #f7f8f9;
    position: absolute;
    right: 30px;
    content: " ";
    top: 40%;
    transform: rotate(-45deg);
    transition: all 0.2s ease-in-out;
}

.di_accordion-layout .di_acc__panel {
    background: #fff;
    color: #212121;
    display: none;
    margin: 0;
    padding: 2em;
    text-align: left;
    border: 2px solid grey;
}


/* ----------------- Section Layout --------------- */

.di_setion-layout .di_section-content {
	margin-bottom: 20px;
    border-bottom: 1px solid rgba(0 0 0 / 8%);
    padding: 5px 0 15px;
}

.di_setion-layout .di_section-content h4 {
    margin-bottom: 10px;
    font-weight: 600;
}
.di_table-layout {
    margin-top: 30px;
}
.course-list-table .table-responsive {
    padding: 0 10px;
    overflow: auto;
    width: 100%;
}
.course-list-table table tr th, .course-list-table table tr td {
    padding: 15px 20px;
    border: 1px solid #f1e4e4;
    vertical-align: middle;
}
.course-list-table table tr td .flex {
    display: flex;
    align-items: center;
	justify-content: space-between;
}

.di_tab-layout .di_tab button:not(:last-child) {border-right: 1px solid #FFF;}

/* ---------------- Media Query ----------------- */

@media( max-width: 991px) {
    .course-list-table .di_row-col {
        max-width: calc(100% / 2 - 20px);
        flex: 0 0 calc(100% / 2 - 20px);
    }
}

@media( max-width: 767px) {
    .di_hero.di_image-content .hero-img {
        max-width: 100%;
        flex: 0 0 100%;
    }
    .di_hero.di_image-content .di_hero__content {
        max-width: 100%;
        flex: 0 0 100%;
        padding-left: 0;
    }
    .di_tab-layout .di_tab button {
        flex: 0 0 30%;
        max-width: 30%;
        background-color: #aaaaaa;
        color: black;
    }
    .di_tab {
        overflow: scroll !important;
    }

    .di_image-background .di_hero__content {
        padding: 10px 30px;
    }
    .di_image-background .di_hero__content h1 {
        font-size: 26px;
    }

    /* Table Responsive CSS Start */
    .course-list-table {
        margin: 0;
    }
    .course-list-table .table-responsive {
        overflow: hidden;
        padding: 0;
    }
    .course-list-table .table-responsive table {
        border-collapse: separate;
        border-spacing: 0 5px;
    }
    .course-list-table table tr th {
        display: none;
    }
    .course-list-table table tr td {
        width: 100%;
        display: block;
        text-align: right;
        padding: 15px !important;
        position: relative;
        min-height: 50px;
    }
    .course-list-table table tr td:not(:last-child) {
        border-bottom: 0;
    }
    .course-list-table table tr td:before {
        content: attr(data-header);
        font-size: 14px;
        float: left;
        font-weight: 500;
        width: 105px;
        text-align: left;
    }
    .course-list-table table tr td .flex {
        width: 100px;
        margin-left: auto;
    }
/*     .di_tooltip.di_inner-info-dates .di_tooltiptext {
        margin-left: 0;
        left: auto;
        right: -10px;
    } */
    .di_tooltiptext:before {
        left: auto;
        right: 12px;
    }
    /* Table Responsive CSS End */
}

@media( max-width: 480px) {
    .course-list-table .di_row-col {
        max-width: 100%;
        flex: 0 0 100%;
    }
	.course-list-table{
		justify-content: center;
	}
}