/**
 * Course cards (Tutor course list, Elementor course widgets): add-to-cart button on the card.
 * The button colour comes from the theme colour (--theme-color), set per site in the theme options.
 */

.course-box, .course-box2 {
    .course-img {
        margin: 0px;
    }
    .course-content {
        position: relative;
    }
    .add-to-cart {
        position: absolute;
        right: 10px;
        top: -25px;
        a {
            background: var(--theme-color);
            display: block;
            width: 50px;
            height: 50px;
            text-align: center;
            line-height: 52px;
            border-radius: 100%;
        }
        a:hover {
            filter: brightness(0.9);
        }
        i {
            color: white;
        }
    }
}
.course-box2 {
    .course-author {
        margin: 0px !important;
    }
    .course-content {
        padding: 25px 40px 0 40px !important;
    }
}
