Your IP : 216.73.216.95


Current Path : /var/www/mainsite/wp-content/themes/maxcoach/assets/scss/learnpress/
Upload File :
Current File : /var/www/mainsite/wp-content/themes/maxcoach/assets/scss/learnpress/_archive.scss

.maxcoach-main-post {
    .course-wrapper {
        @extend %NormalTransition;
        background: #fff;
        border-radius: 5px;
        overflow: hidden;

        &:hover {
            box-shadow: 0 14px 59px rgba(0, 0, 0, .12);
        }
    }

    .course-info {
        padding: 30px 30px 38px;
    }

    .course-title {
        font-size: 20px;
        line-height: 1.6;
        font-weight: 700;
        margin: 0;

        a {
            color: inherit;
        }
    }

    .course-thumbnail {
        img {
            width: 100%;
        }
    }

    .course-price {
        font-size: 24px;
        line-height: 1;
        font-weight: 800;
        margin: 0 0 12px;

        .decimals-separator {
            font-size: 18px;
        }

        .origin-price {
            position: relative;
            color: #ababab;

            &:before {
                content: '';
                position: absolute;
                top: 50%;
                left: 0;
                width: 100%;
                height: 1px;
                background: currentColor;
                transform: translateY(-2px);
            }
        }
    }

    .course-meta {
        font-size: 14px;
        margin: 30px 0 0;

        > div {
            margin-right: 28px;
            display: inline-block;
        }

        .meta-icon {
            margin-right: 6px;
        }
    }
}

.lp-archive-courses {
    ul.learn-press-courses {
        .course-wrapper {
            @extend %NormalTransition;
            background: #fff;
            border-radius: 5px;
            overflow: hidden;

            &:hover {
                box-shadow: 0 14px 59px rgba(0, 0, 0, .12);
            }
        }

        .course-info {
            padding: 30px 30px 38px;
        }

        .course-price-badge {
            position: absolute;
            top: 0;
            right: 0;
            background: #ee7455;
            color: #fff;
            font-size: 18px;
            line-height: 1;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 2.4px;
            padding: 11px 10px;

            &:before,
            &:after {
                content: '';
                position: absolute;
                left: 0;
                transform: translateX(-50%);
                border-left: 12px solid transparent;
                border-right: 12px solid transparent;
            }

            &:before {
                top: 0;
                border-top: 19px solid #ee7455;
            }

            &:after {
                bottom: 0;
                border-bottom: 19px solid #ee7455;
            }
        }

        .course-title {
            font-size: 20px;
            line-height: 1.6;
            margin: 0;

            a {
                display: block;
                color: inherit;

                &:hover {
                    color: $primary-color;
                }
            }
        }

        .course-thumbnail {
            img {
                width: 100%;
                border-radius: 5px 5px 0 0;
            }
        }

        .course-info {
            .course-price {
                .origin-price {
                    display: none;
                }
            }
        }

        .course-price {
            font-size: 24px;
            line-height: 1;
            font-weight: 800;
            margin: 0 0 12px;
            color: $primary-color;

            .decimals-separator {
                font-size: 18px;
            }

            .origin-price {
                position: relative;
                color: #ababab;

                &:before {
                    content: '';
                    position: absolute;
                    top: 50%;
                    left: 0;
                    width: 100%;
                    height: 1px;
                    background: currentColor;
                    transform: translateY(-2px);
                }
            }
        }

        .course-meta {
            font-size: 14px;
            margin: 30px 0 0;

            > div {
                margin-right: 28px;
                display: inline-block;
            }

            .meta-icon {
                margin-right: 6px;
            }
        }
    }

    .course-form-filtering {
        .maxcoach-fake-select-current {
            .label {
                &:before {
                    @extend %FontAwesomeRegular;
                    content: '\f036';
                    vertical-align: middle;
                    font-size: 16px;
                }
            }
        }
    }
}

.learn-press-pagination.learn-press-pagination {
    margin: 0;
}

.lp-archive-courses {
    .learn-press-courses {
        &[data-layout="grid"] {
            &.has-col {
                &-lg-1 {
                    .course {
                        width: 100%;
                    }
                }

                &-lg-2 {
                    .course {
                        width: 50%;
                    }
                }

                &-lg-3 {
                    .course {
                        width: calc(100% / 3);
                    }
                }

                &-lg-4 {
                    .course {
                        width: 25%;
                    }
                }

                &-lg-5 {
                    .course {
                        width: 20%;
                    }
                }

                &-lg-6 {
                    .course {
                        width: calc(100% / 6);
                    }
                }

                @include media-breakpoint-down(md) {
                    &-md-1 {
                        .course {
                            width: 100%;
                        }
                    }

                    &-md-2 {
                        .course {
                            width: 50%;
                        }
                    }

                    &-md-3 {
                        .course {
                            width: calc(100% / 3);
                        }
                    }

                    &-md-4 {
                        .course {
                            width: 25%;
                        }
                    }

                    &-md-5 {
                        .course {
                            width: 20%;
                        }
                    }

                    &-md-6 {
                        .course {
                            width: calc(100% / 6);
                        }
                    }
                }

                @include media-breakpoint-down(sm) {
                    &-sm-1 {
                        .course {
                            width: 100%;
                        }
                    }

                    &-sm-2 {
                        .course {
                            width: 50%;
                        }
                    }

                    &-sm-3 {
                        .course {
                            width: calc(100% / 3);
                        }
                    }

                    &-sm-4 {
                        .course {
                            width: 25%;
                        }
                    }

                    &-sm-5 {
                        .course {
                            width: 20%;
                        }
                    }

                    &-sm-6 {
                        .course {
                            width: calc(100% / 6);
                        }
                    }
                }
            }

            .course-excerpt {
                display: none;
            }

            .course-meta {
                > div {
                    margin-right: 20px;
                }

                .meta-icon {
                    margin-right: 4px;
                }
            }
        }

        &[data-layout="list"] {
            .course-wrapper {
                display: flex;
                width: 100%;
            }

            .course {
                padding: 0;
                border: 1px solid #f5f5f5;
                box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
            }

            .course-thumbnail {
                flex-shrink: 0;
                max-width: 50%;
            }

            .course-info {
                flex-grow: 1;
            }

            .course-excerpt {
                margin-top: 20px;
            }
        }

        .learn-press-message {
            margin: 0 15px 20px !important;
        }
    }

    .course-meta {
        .meta-icon {
            display: inline-block;
        }
    }
}

.lp-courses-bar {
    .search-courses {
        input[type="text"] {
            padding: 3px 20px;
            font-size: 15px;
            font-style: normal;
            min-height: 50px;
            border-color: #f5f5f5;
        }
    }

    .switch-layout {
        height: 50px;

        .switch-btn {
            width: 50px;
            height: 50px;
            line-height: 50px;
            text-align: center;

            &:before {
                margin: 0;
                line-height: 50px;
                font-size: 16px;
            }
        }
    }
}

@include media-breakpoint-down(sm) {
    .lp-archive-courses {
        .learn-press-courses {


            &[data-layout="list"] {
                .course-wrapper {
                    display: block;
                }

                .course-thumbnail {
                    max-width: 100%;
                }
            }
        }
    }
}