/*== Course Category addon ==*/

.tpc-course-category-style-1 .cat-single-item {
    box-sizing: border-box;
    border-radius: 50px;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    background-color: #f7efff;
}
.tpc-course-category-style-1 a.cat-single-item h3.title {
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
    margin-bottom: 0;
    color: var(--upstudy-heading-color);
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.tpc-course-category-style-1 .cat-single-item .content-wrap .total-course {
    margin-bottom: 0;
    line-height: 1;
    margin-top: 10px;
}
.tpc-course-category-style-1:hover a.cat-single-item h3.title {
    color: var(--upstudy-primary-color);
}
.tpc-course-category-style-1:hover a.cat-single-item {
    color: var(--upstudy-heading-color);
}
.tpc-course-category-style-1 a.cat-single-item:hover .content-wrap .total-course, .tpc-course-category-style-1 a.cat-single-item:focus .content-wrap .total-course {
    color: var(--upstudy-heading-color);
}
.tpc-course-category-style-1 a.cat-single-item .image-icon-wrap {
    margin-right: 10px;
    height: 70px;
    width: 70px;
    line-height: 70px;
    background: #ffffff;
    border-radius: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    overflow: hidden;
    justify-content: center;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.icon-row-reverse .tpc-course-category-style-1 .cat-single-item .image-icon-wrap {
    margin-right: 0;
    margin-left: 10px;
}
.tpc-course-category-style-1 a.cat-single-item .image-icon-wrap svg {
    width: 36px;
    height: 36px;
    line-height: 1;
    fill: #6d13d7;
}
.tpc-course-category-style-1 a.cat-single-item .image-icon-wrap i {
    color: #6d13d7;
    font-size: 36px;
    line-height: 1;
    display: flex;
}
/********************** ##Course Category Style 2 ************************/

.upstudy-course-category.cat-hover-effect-2 .single-items .items-cont a .course-cat:hover {
    color: inherit;
}
.upstudy-course-category.cat-hover-effect-2 .single-items .items-cont>a {
    transition: inherit;
}
.upstudy-course-category.cat-hover-effect-2 .single-items .items-cont>a:hover {
    color: #ffffff;
}
.upstudy-course-category.cat-hover-effect-2 .single-items .items-cont a .course-cat::before {
    content: '';
    width: 0;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s linear;
    position: absolute;
    bottom: -2px;
}
.upstudy-course-category.cat-hover-effect-2 .single-items .items-cont a .course-cat:hover:before {
    width: 100%;
}
/********************** ##Course Category Style 2 ************************/

.upstudy-course-category.style-2 .single-items {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
}
.upstudy-course-category.style-2.cat-hover-effect-1 .single-items:hover {
    -webkit-transition: all 0.3s linear;
    -o-transition: all 0.3s linear;
    transition: all 0.3s linear;
    -webkit-transform: translateY(-5px) translate3d(0, -5px, 0);
    transform: translateY(-5px) translate3d(0, -5px, 0);
}
.upstudy-course-category.style-2 .single-items .items-image {
    position: relative;
}
.upstudy-course-category.style-2 .single-items .items-image img {
    width: 100%;
    object-fit: cover;
}
.upstudy-course-category.style-2 .single-items .items-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}
.upstudy-course-category.style-2 .single-items .items-cont {
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
}
.upstudy-course-category.style-2 .single-items .items-cont .course-cat {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    -webkit-transition: all 0.4s linear;
    transition: all 0.4s linear;
    position: relative;
    display: inline-block;
}
.upstudy-course-category.style-2 .single-items .items-cont .course-cat:hover {
    color: var(--upstudy-primary-color);
}
.upstudy-course-category.style-2 .single-items .items-cont .total-course {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    -webkit-transition: all 0.4s linear;
    transition: all 0.4s linear;
}
@media only screen and (max-width:575px) {
    .upstudy-course-category.style-2 .single-items .items-image {
        display: inline-block;
        overflow: hidden;
        border-radius: 10px;
    }
}
/********************** ##Course Category Style 3 ************************/

.upstudy-course-category.style-3 .single-items .items-image {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}
.upstudy-course-category.style-3 .single-items .items-image:before {
    content: '';
    position: absolute;
    border: 1px dashed var(--upstudy-primary-color);
    width: 110%;
    height: 110%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: auto;
    border-radius: 50%;
}
.upstudy-course-category.style-3 .single-items .items-image .img-wrap {
    border-radius: 50%;
    overflow: hidden;
}
.upstudy-course-category.style-3 .single-items .items-image img {
    transition: .5s;
}
.upstudy-course-category.style-3 .single-items:hover .items-image img {
    transform: scale(1.1);
}
.upstudy-course-category.style-3 .single-items .items-cont .course-cat-title {
    margin-bottom: 0;
    transition: .5s;
}
.upstudy-course-category.style-3 .single-items:hover .items-cont .course-cat-title {
    color: var(--upstudy-primary-color);
}