/* added from uc raadaa learn -------- */
.d-flex {
    display: flex;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

@media  screen and (max-width: 765px) {
    .flex {
        align-content: center;
        justify-content: center;
    }

    .sm-hide {
        display: none;
    }

    .custom-preview-bg {
        background: #fff !important;
        padding: 0 !important;
    }

    .custom-card-container {}

}
.custom-content {
    border: 1px solid #f1f1f1;
    width: 100%;
    position: relative;
    margin: 10px 0;
}
.course-card{
    display: none;
}

@media (max-width: 769px) {
    .course-card {
        display: block;
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 12rem;
        width: 100%;
        height: auto;
        z-index: 999;
        background-color: #fff;
        box-shadow: 2px 2px 14px rgba(0, 0, 0, .25);
        border-radius: 6px;
        border: 1px solid rgba(0, 0, 0, .25);
    }
    /*.custom-content:hover .course-card {*/
    /*    visibility: visible;*/
    /*    opacity: 1;*/
    /*}*/
    .container-1 {
        padding-top: 1.5rem;
    }
    .container-2 {
        color: #555555;
    }
}
@media (min-width:769px){

    .custom-content {
        width: 23%;
    }
    .course-card {
        display: block;
        /*display: none;*/
        visibility: hidden;
        opacity: 0;
        position: absolute;
        top: 0;
        width: 22rem;
        height: auto;
        z-index: 999;
        background-color: #fff;
        box-shadow: 2px 2px 14px rgba(0, 0, 0, .25);
        border-radius: 6px;
        border: 1px solid rgba(0, 0, 0, .25);
    }
    /*.custom-content:nth-child(odd):hover .course-card {*/
    /*    !*display: block;*!*/
    /*    right: -18rem;*/
    /*    visibility: visible;*/
    /*    opacity: 1;*/
    /*    transition: opacity .6s;*/
    /*}*/
    /*.custom-content:nth-child(even):hover .course-card {*/
    /*    display: block;*/
    /*    left: -18rem;*/
    /*    visibility: visible;*/
    /*    opacity: 1;*/
    /*    transition: opacity .6s;*/
    /*}*/
    /*.custom-content:nth-child(2):hover .course-card {*/
    /*    display: block;*/
    /*    left: -18rem;*/
    /*    visibility: visible;*/
    /*    opacity: 1;*/
    /*    transition: opacity .6s;*/
    /*}*/
}

.course-card-header {
    background-color: #f7f7f7;
    border-bottom: 1px solid #ebebeb;
    padding: 10px;
}

.course-preview-price {
    color: #2A303B;
    font-weight: 600;
}

.course-preview-text {
    color: #2A303B;
    font-size: 15px;
}
.button {
    padding: 2px 5px;
    border-radius: 4px;
    margin-right: 3px;
    font-size: 80%;
}
.custom-icon {
    font-size: 3rem;
    margin-right: 1rem;
}
.best-title {
    margin-bottom: .9rem;
    padding: 8px 10px !important;
}
.custom-content:not(:last-child) {
    /*margin-right: 1.1rem;*/
}

.custom-preview-bg {
    background: #2A303B;
    height: 60vh;
    padding: 0rem 10rem;
}

.custom-margin-top {
    margin-top: 10rem;
}

.custom-padding {
    padding: 15px;
}

.custom-margin-right {
    margin-right: 2rem;
}

.mr {
    margin-right: 1rem;
}

.custom-primary-heading {
    font-size: 36px;
    color: #fff;
    font-weight: 600 !important;
    margin: 0;
}

.custom-secondary-heading {
    font-size: 21px;
    color: #fff;
}

.custom-text {
    font-size: 15px;
    color: #fff;
}

.relative {
    position: relative;
}

.custom-card-container {
    /*position: absolute;*/
    /*top:0;*/
    /*left:0;*/
}

.custom-card {
    padding: 15px;
    background-color: #fff;
    height: auto;
    border-radius: 10px;
}

.custom-height {
    padding: 8px;
    height: auto;
}

.custom-icon {
    background-color: #fff764;
    display: inline;
    padding: 5px;
    font-size: 10px;
    margin-right: 0;
}
.btn {
    padding: 2px 4px;
    font-size: 80%;
}
/*---------- course show -------- */
.course-show-card {
    /* Add shadows to create the "card" effect */
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
}

/*------ course unit show --------------*/

.course-container {
    padding-top: 3rem;
    background-color: #0b2e13;
    color: #e5e5e5;
    z-index: -800;
}
.container-1 span {
    color: #00ad9c;
}
.container-3.container{
    padding: 10px 15px;
}
.course-detail-content{
    border-bottom: 1px solid #0a0c0d;
    padding-bottom: 0 !important;
    padding-top: 10px;
}
.course-detail-title {
    font-size: 15px;
    font-weight: bold;
    padding-top: 6px;
    padding-bottom: 5px;
}
.img-container img {
    height: 100% !important;
    width: 80% !important;
}
.container-2 li {
    margin: 10px 0;
}

@media (min-width:769px) {
    .container-1 {
        position:relative;
        top: 110px;
        left: 30px;
        width:100%;
        height: 28rem;
        padding-bottom: 3rem;
    }
    .img-container {
        position: relative;
        top: -25px;
        z-index: 80 !important;
        overflow: visible !important;
    }
    .container-2 {
        box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
        margin-left: -120px;
        background: #F4F7FC;
        position: absolute;
        bottom: -5rem;
        border: 1px solid #0b1d1c;
        right: 80px;
        width: 32.5% !important;
        overflow: visible;
        z-index: 100;
        color: #232323;
    }
    .container-3 {
        /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);*/
        position: relative;
        top: -3.5rem;
        width: 90.7%;
        height: auto;
        left: 40px;
    }
}
.create-course {
    margin: 10px 0;
}
.create-course div {
    margin: 10px 0;
}
.price {
    font-size: 13px;
}
.price-box {
    flex-grow: inherit;
}
.price-box span {
    font-size: 13px;
}
