/* Course SCSS */
.course-content {
    .course-section .course-section-header {
        background-color: $hythemecolor-obs-3;
        padding: 15px;
        border-radius: 5px;
    }
    h3 {
        font-weight: 500;
    }
}
.category .info h3 a, h4 a {
    color: $hythemecolor;
}
.page-header-wrapper {
    position: relative;
    height: 360px;
    margin-bottom: 30px;
}
.course-header-bg {
    position: absolute;
    padding: 0 15px 15px;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}
.course-header-txt {
    position: absolute;
    display: inline-block;
    top: 10%;
    padding: 10px;
    margin-left: 2%;
    margin-right: 2%;
    background-color: cornsilk;
    border-radius: 5px;
}
.course-header-image {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}
.course_category_tree {
    .category.with_children.collapsed > .info > .categoryname::after {
        color: $hythemecolor;
        content: "\f055";
    }
    .category.with_children > .info > .categoryname::after {
        color: $hythemecolor;
        content: "\f056";
    }
    .category > .info > .categoryname::after {
        color: $hythemecolor;
        content: "\f056";
        position: absolute;
        right: 10px;
        font-family: "FontAwesome";
        font-size: inherit;
    }
    .category:first-child > .info > .categoryname {
        border: none;
    }
    .category > .info > .categoryname {
        margin: 0;
        padding: 8px 25px;
        position: relative;
        border-top: 1px solid #e9ecef;
        background: none !important;
        background-repeat: no-repeat;
        color: $hythemecolor;
        font-size: 1.12rem;
        font-weight: 500;
        line-height: 1.3;
        background-position: center left;
    }
    a {
        text-decoration: none;
    }
    h6 {
        font-weight: 500; 
    }
}
.collapsible-actions .collapseexpand, .collapsible-actions a {
    background-color: #fff;
    border: 1px solid #e4e8f0;
    box-shadow: 0 2px 1px 0 rgba(0,0,0,.05);
    margin: 1rem 0;
    padding: .5rem 1rem .5rem 1.8rem;
    display: inline-flex;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    color: #424242;
    transition: all 350ms ease;
    position: relative;
}
.coursebox {
    padding: 0.9rem;
    overflow: hidden;
    .info {
        display: initial;
    }
    .moreinfo .icon {
        text-decoration: none;
        margin-right: 0;
    }
    .content {
        .summary {
            float: left; 
            width: 90%;
            padding: 5px;
            margin-bottom: 30px;
        }
        .courseimage {
            img {
                max-width: 100%;
                max-height: $course-category-img-height;
                border-radius: 4px;
            }
        }

        .teachers {
            position: absolute;
            margin-top: -220px !important;
            width: 90%;
            font-weight: 500;
            z-index: 999;
        }
        
    }
    .moreinfo, .enrolmenticons {
        padding: 3px 0;
        float: right;
    }
    &.even {
        background-color: rgba(0,0,0,.05);
    }
}
/* Teacher name and circle image */
.chip {
    display: inline-block;
    padding: 0 12px;
    margin: 0 0 -5px 10px;
    height: 25px;
    line-height: 25px;
    border-radius: 25px 8px 8px 25px;
    background-color: #f1f1f1;
    img {
        float: left;
        margin: -10px 10px 0 -15px;
        height: 35px;
        width: 35px;
        border-radius: 50%;
        background-color: white;
    }
}

.coursebox > .info > .coursename {
    float: left;
    padding-bottom: 10px;
    font-weight: 500;
    a {
        background-image: url([[pix:moodle|i/next]]) !important;
        background-repeat: no-repeat;
        padding-left: 21px;
        background-position: left 0.2em;
    }
}
.single-course {
    height: $course-category-img-height;
    display: table;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-color: #ccc;
    position: relative;
}
/* Single course page activity icon settings */
img.activityicon {
    height: 40px;
    width: 40px;
    vertical-align: middle;
    padding: 5px;
    border: 1px solid rgba( $hythemecolor, 1);
    border-radius: 3px;
    background-color: $hythemecolor-obs-3;
}

.frontpage-course-list-all h6{
    font-weight: 500;
}
/* Small tablets and large phones font-size settings */
/* Media max-width: 768px */
@include media-breakpoint-down(sm) {
    .course_category_tree .category > .info > .categoryname {
        font-weight: 500;
        font-size: 0.9rem;
    }
    .block.card {
        border-radius: 0px;
    }
}

/* Theme edu365 course topic accordion. */
.accordioneducard {
    background-color: $hythemecolor-obs-3;
    color: #444;
    cursor: pointer;
    margin-bottom: 4px;
    padding: 15px;
    padding-left: 30px;
    width: 100%;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    border-radius: 5px;
}
.paneleducard {
    padding: 0 18px;
    display: none;
    background-color: white;
    h3 {
        margin-bottom: 0.5rem;
        font-weight: 600;
        line-height: 1.2;
        font-size: 18px;
    }
    a {
        text-decoration: none;
    }
}
.educardactive, .accordioneducard:hover {
    background-color: $hythemecolor-obs-5;
}
.accordioneducard {
    &:after {
        font-family: "FontAwesome";  
        content: '\f0fe';
        color: $hythemecolor-obs-8;
        font-weight: bold;
        float: right;
        margin-left: 5px;
    }
    a {
        text-decoration: none;
    }
}
.educardactive:after {
    font-family: "FontAwesome";
    content: "\f146";
}

.course-summary .card {
    margin-bottom: 4px;
    .card-header {
        font-size: 18px;
        font-weight: 600;
        padding-left: 30px;
        background-color: $hythemecolor-obs-3;
    }
}
/*  Theme left side bar course sections */
.coursetopnav {
    background-color: $hythemecolor-obs-3;
    color: $hythemecolor;
    font-weight: 500;
    cursor: pointer;
    &:hover {
        background-color: $hythemecolor-obs-5;
    }
}
.coursetopnavicon:after {
    font-family: "FontAwesome";
    content: '\f0fe';
    color: $hythemecolor;
    font-weight: bold;
    float:left;
    margin-left: 5px;
}
.coursetopnavactive:after{
    font-family: "FontAwesome";
    content: "\f146";
}
.coursetopnavicon1:after {
    font-family: "FontAwesome";
    content: '\f0fe';
    color: $hythemecolor;
    font-weight: bold;
    float:left;
    margin-left: 5px;
}
.coursetopnavactive1:after{
    font-family: "FontAwesome";
    content: "\f146";
}
.mycourse20 {
    display: none;
}
.coursesection30 {
    display: none;
}

/* Dashboard course category combo box */
.categorypicker label {
    display: none;
}

/* Frontpage course block currency */
.enrol {
    display: inline-block;
    position: absolute;
    margin-top: 10px;
    padding: 0 12px;
    right: 10px;
    font-weight: 500;
    height: 25px;
    font-size: 14px;
    line-height: 25px;
    border-radius: 25px;
    background-color: $hythemecolor;
    color: white;
}
