﻿#course-detail-intro {
    margin-bottom: 20px;
}
/*****************************************
* Course Detail
*****************************************/
#course-detail {
    padding: 100px 0px;
    position: relative;
}

    #course-detail .bg-left-bottom {
        width: 80%;
        max-width: none;
        position: absolute;
        inset: auto auto 15% 0%;
        z-index: 1;
    }

    #course-detail .bg-right-top {
        width: 323.003px;
        position: absolute;
        inset: 0% 0% auto auto;
        z-index: 1;
    }

    #course-detail .course-hero {
        width: 100%;
        margin: 0px auto 20px auto;
        position: relative;
        z-index: 2;
    }


.course-detail {
    position: relative;
    color: #ffffff;
    font-size: 20px;
    z-index: 2;
    width: 100%;
    margin: 0px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

    .course-detail .course-banner {
        width: 50%;
    }

    .course-detail .course-info {
        padding: 0px 20px;
        width: 45%;
    }

        .course-detail .course-info .course-info-name {
            font-size: 36px;
            line-height: 40px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .course-detail .course-info .course-info-description {
            font-size: 16px;
            line-height: 20px;
            text-decoration: none;
            margin-bottom: 20px;
        }

        .course-detail .course-info .course-info-detail {
            color: #ffffff;
            font-size: 16px;
            line-height: 24px;
            background: #0e0e0e;
            padding: 20px;
            margin-bottom: 40px;
        }

        .course-detail .course-info .buy-course {
            text-align: left;
        }

            .course-detail .course-info .buy-course .button-buy-course {
                font-size: 16px;
                color: rgb(255, 255, 255);
                text-transform: uppercase;
                letter-spacing: 0px;
                cursor: pointer;
                position: relative;
                display: inline-block;
                margin-right: 10px;
                background: linear-gradient(#0056fe, #061a5f);
                padding: 12px 40px;
                border-radius: 30px;
                overflow: hidden;
                transition: 0.1s;
            }

                .course-detail .course-info .buy-course .button-buy-course:hover {
                    text-decoration: none;
                    transform: translateY(-2px);
                }


/*.course-detail .course-info .youtube-block {
        margin: 60px auto;
    }

    .course-detail .course-info {
        margin: 30px auto;
        color: #ffffff;
        font-size: 20px;
    }

        .course-detail .course-info .course-info-title {
            font-size: 40px;
            font-weight: bold;
            margin-bottom: 10px;
        }*/
.course-lessons {
    margin: 60px auto;
    color: #ffffff;
    font-size: 20px;
}

    .course-lessons .lessons-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.6);
    }

        .course-lessons .lessons-title .lessons-title-text {
            font-size: 40px;
            font-weight: bold;
        }

        .course-lessons .lessons-title .lessons-title-info {
            font-size: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

            .course-lessons .lessons-title .lessons-title-info .img-icon {
                width: auto;
                height: 36px;
                margin: 0px 10px;
            }

    .course-lessons .lesson-item {
        color: #ffffff;
        padding: 20px 0px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.6);
        cursor: pointer;
    }

        .course-lessons .lesson-item .lesson-item-topic {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 10px 0px;
        }

            .course-lessons .lesson-item .lesson-item-topic .topic-title {
                width: calc(100% - 200px);
                font-size: 24px;
            }

            .course-lessons .lesson-item .lesson-item-topic .video-length {
                width: 150px;
                font-size: 20px;
                text-align: center;
            }

            .course-lessons .lesson-item .lesson-item-topic .collapse-action {
                width: 50px;
                font-size: 20px;
            }

        .course-lessons .lesson-item .lesson-item-panel {
            display: none;
            padding: 20px 0px;
        }


    .course-lessons .course-price {
        border: 5px solid #e74e25;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        padding: 20px;
        margin: 60px 0px;
        border-radius: 20px;
    }

        .course-lessons .course-price .price-title {
            width: 350px;
            font-size: 40px;
            font-weight: bold;
        }

        .course-lessons .course-price .price-rate {
            width: calc(100% - 550px);
            font-size: 60px;
            font-weight: bold;
            color: #e74e25;
            padding: 0px 40px;
            text-align: right;
        }

/*.course-lessons .course-price .buy-course {
            width: 200px;
            text-align: right;
        }

            .course-lessons .course-price .buy-course .button-buy-course,
            .course-lessons .course-price .buy-course .button-buy-course:hover {
                background: #e74e25;
                color: #ffffff;
                border-radius: 25px;
                padding: 10px 25px;
                text-align: center;
                display: block;
                text-decoration: none;
            }
*/




/*****************************************
* Course Purchase
*****************************************/
#course-purchase {
    padding: 100px 0px;
    position: relative;
}

    #course-purchase .bg-left-bottom {
        width: 80%;
        max-width: none;
        position: absolute;
        inset: auto auto 15% 0%;
        z-index: 1;
    }

    #course-purchase .bg-right-top {
        width: 323.003px;
        position: absolute;
        inset: 0% 0% auto auto;
        z-index: 1;
    }

    #course-purchase .remark-text {
        font-size: 16px;
        padding: 10px 15px;
        color: #ffffff;
        border-radius: 10px;
        border: 1px solid #626262;
        margin-top: 20px;
    }



.course-purchase {
    position: relative;
    color: #ffffff;
    font-size: 20px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

    .course-purchase .disable-course-lists {
        pointer-events: none;
        opacity: 0.2;
    }

    .course-purchase .form-title {
        color: #167ac6;
        border-bottom: 1px solid #167ac6;
        font-weight: 600;
    }

    .course-purchase .course-purchase-detail {
        width: 60%;
        padding: 0px 20px;
        font-size: 14px;
    }

        .course-purchase .course-purchase-detail .course-photo {
            width: 100%;
            margin-bottom: 40px;
            text-align: center;
        }

        .course-purchase .course-purchase-detail .course-name {
            font-size: 24px;
            line-height: 26px;
            font-weight: 600;
            text-decoration: none;
            margin-bottom: 20px;
        }

        .course-purchase .course-purchase-detail .form-wrapper {
            padding: 0px;
            border-radius: 10px;
            margin-bottom: 20px;
            border: none;
        }

        .course-purchase .course-purchase-detail .form-group input {
            background-clip: padding-box;
            box-shadow: none;
            transition: border .3s cubic-bezier(.39,.575,.565,1);
            padding: 5px 20px;
            box-sizing: border-box;
            height: 40px;
            font-size: 16px;
            color: #ffffff;
            line-height: 3rem;
            width: 100%;
            border-radius: 20px;
            outline: none;
            border: 1px solid #626262;
            background: #253337;
        }




    .course-purchase .course-purchase-payment {
        width: 40%;
        font-size: 14px;
        padding: 30px;
        border-radius: 10px;
        margin-bottom: 20px;
        border: 1px solid #213340;
        box-shadow: 0px 10px 30px rgba(22, 122, 198, 0.2);
    }

        .course-purchase .course-purchase-payment .customer-purchase {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            margin-bottom: 10px;
        }

            .course-purchase .course-purchase-payment .customer-purchase.last-child {
                margin-bottom: 40px;
            }

            .course-purchase .course-purchase-payment .customer-purchase .customer-purchase-label {
                width: 30%;
            }

            .course-purchase .course-purchase-payment .customer-purchase .customer-purchase-value {
                width: 70%;
            }


        .course-purchase .course-purchase-payment table {
            width: 100%;
            margin-bottom: 20px;
        }

            .course-purchase .course-purchase-payment table thead tr th {
            }

                .course-purchase .course-purchase-payment table thead tr th:nth-child(2),
                .course-purchase .course-purchase-payment table tbody tr td:nth-child(2) {
                    /*width: 30%;*/
                    text-align: right;
                }

            .course-purchase .course-purchase-payment table tbody tr td {
                color: #ffffff;
                vertical-align: top;
                font-size: 16px;
                line-height: 24px;
                padding-bottom: 15px;
            }


                .course-purchase .course-purchase-payment table tbody tr td.summary {
                    color: #167ac6;
                    font-size: 24px;
                    font-weight: bold;
                    padding-top: 40px;
                }


        .course-purchase .course-purchase-payment .payment-button {
            margin: 40px 0px 30px 0px;
            text-align: center;
        }

            .course-purchase .course-purchase-payment .payment-button .btn-primary {
                width: auto;
            }




/*****************************************
* transaction
*****************************************/
#transaction {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 150px 0px 100px 0px;
    color: #ffffff;
}

    #transaction .title {
        color: #167ac6;
        font-size: 45px;
        line-height: 50px;
        font-weight: 600;
        text-transform: uppercase;
        text-align: center;
        margin-bottom: 15px;
    }

    #transaction .subtitle {
        color: #ffffff;
        font-size: 24px;
        line-height: 30px;
        font-weight: 600;
        text-transform: uppercase;
        text-align: center;
    }

    #transaction .order-box {
        margin: 40px 0px 60px 0px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

        #transaction .order-box .order-no {
            padding: 12px 40px;
            font-size: 24px;
            line-height: 30px;
            border-radius: 50px;
            border: 1px solid #213340;
            box-shadow: 0px 10px 30px rgba(22, 122, 198, 0.2);
            color: #167ac6;
            font-weight: 600;
        }



.transaction {
    position: relative;
    color: #ffffff;
    font-size: 20px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

    .transaction .form-title {
        font-size: 18px;
        line-height: 24px;
        color: #167ac6;
        border-bottom: 1px solid #167ac6;
        font-weight: 600;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .transaction .transaction-detail {
        width: 60%;
        padding: 0px 20px;
        font-size: 14px;
    }

        .transaction .transaction-detail .course-photo {
            width: 100%;
            margin-bottom: 40px;
            text-align: center;
        }

        .transaction .transaction-detail .course-name {
            font-size: 24px;
            line-height: 26px;
            font-weight: 600;
            text-decoration: none;
            margin-bottom: 10px;
        }

        .transaction .transaction-detail .detail {
            color: #ffffff;
            font-size: 16px;
            line-height: 24px;
            background: #0e0e0e;
            padding: 20px;
            margin-bottom: 40px;
        }

        .transaction .transaction-detail .form-wrapper {
            padding: 0px;
            border-radius: 10px;
            margin-bottom: 20px;
            border: none;
        }

        .transaction .transaction-detail .form-group input {
            background-clip: padding-box;
            box-shadow: none;
            transition: border .3s cubic-bezier(.39,.575,.565,1);
            padding: 5px 20px;
            box-sizing: border-box;
            height: 40px;
            font-size: 16px;
            color: #ffffff;
            line-height: 3rem;
            width: 100%;
            border-radius: 20px;
            outline: none;
            border: 1px solid #626262;
            background: #253337;
        }




    .transaction .transaction-payment {
        width: 40%;
        font-size: 14px;
        padding: 30px;
        border-radius: 10px;
        margin-bottom: 20px;
        border: 1px solid #213340;
        box-shadow: 0px 10px 30px rgba(22, 122, 198, 0.2);
    }

        .transaction .transaction-payment .customer-purchase {
            display: flex;
            justify-content: flex-start;
            align-items: center;
            margin-bottom: 10px;
        }

            .transaction .transaction-payment .customer-purchase.last-child {
                margin-bottom: 40px;
            }

            .transaction .transaction-payment .customer-purchase .customer-purchase-label {
                width: 30%;
            }

            .transaction .transaction-payment .customer-purchase .customer-purchase-value {
                width: 70%;
            }


        .transaction .transaction-payment table {
            width: 100%;
            margin-bottom: 20px;
        }

            .transaction .transaction-payment table thead tr th {
            }

                .transaction .transaction-payment table thead tr th:nth-child(2),
                .transaction .transaction-payment table tbody tr td:nth-child(2) {
                    width: 30%;
                    text-align: right;
                }

            .transaction .transaction-payment table tbody tr td {
                color: #ffffff;
                vertical-align: top;
                font-size: 16px;
                line-height: 24px;
                padding-bottom: 15px;
            }


                .transaction .transaction-payment table tbody tr td.summary {
                    color: #167ac6;
                    font-size: 24px;
                    font-weight: bold;
                    padding-top: 40px;
                }


        .transaction .transaction-payment .payment-button {
            margin: 40px 0px 30px 0px;
            text-align: center;
        }

            .transaction .transaction-payment .payment-button .payment-text {
                font-size: 16px;
                line-height: 20px;
                font-weight: 300;
                margin-bottom: 10px;
            }

            .transaction .transaction-payment .payment-button .btn-primary {
                width: auto;
                height: 42px;
            }

            .transaction .transaction-payment .payment-button .btn-secondary {
                width: auto;
                height: 42px;
            }




/*****************************************
* Lesson
*****************************************/
#lesson {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 100px 0px 100px 0px;
    color: #ffffff;
}

    #lesson .title {
        font-size: 36px;
        line-height: 44px;
        font-weight: 600;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    #lesson .subtitle {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 20px;
    }

    #lesson .video-lesson-wrapper {
        position: relative;
    }

        #lesson .video-lesson-wrapper .video-overlay-title {
            position: absolute;
            top: 12px;
            left: 16px;
            background: rgba(255, 255, 255, 0.6);
            padding: 6px 10px;
            border-radius: 6px;
            color: #000000;
            font-size: 14px;
            font-weight: 600;
            z-index: 2;
        }


@media(max-width:460px) {
    #lesson {
        padding: 50px 0px 50px 0px;
    }

        #lesson .title {
            font-size: 26px;
            line-height: 34px;
            margin: 0px auto 50px auto;
        }
}

/*
.lesson-video {
    position: relative;
    display: flex;
    width: 100%;
    height: inherit;
    justify-content: center;
    align-items: center;
    margin: 20px 0px;
    border-radius: 20px;
    pointer-events: none;
}

    .lesson-video #video {
        width: 100%;
        height: 100%;
        border-radius: 20px;
    }*/

/*
.lesson-action-control {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 20px;
    border: 4px solid #e74e25;
}

    .lesson-action-control .video-controls {
        width: calc(100% - 200px);
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

        .lesson-action-control .video-controls .video-action {
            width: 40px;
            margin: 0px 10px;
            transition: 0.3s ease all;
            transform: scale(1);
            cursor: pointer;
        }

            .lesson-action-control .video-controls .video-action.disabled-action {
                pointer-events: none;
                opacity: 0.4;
            }

            .lesson-action-control .video-controls .video-action :hover {
                text-decoration: none;
                transform: scale(1.2);
            }

            .lesson-action-control .video-controls .video-action img {
                width: 100%;
            }

    .lesson-action-control .next-control {
        width: 200px;
    }

        .lesson-action-control .next-control .button-next,
        .lesson-action-control .next-control .button-next:hover {
            background: #e74e25;
            color: #ffffff;
            border-radius: 25px;
            padding: 15px 25px;
            text-align: center;
            text-decoration: none;
            display: none;
        }

            .lesson-action-control .next-control .button-next.show-button {
                display: block;
            }*/


.lesson-playlists {
    margin: 60px auto;
    color: #ffffff;
    font-size: 20px;
}

    .lesson-playlists .playlists-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0px;
        margin-bottom: 20px;
        /*border-bottom: 1px solid rgba(255, 255, 255, 0.6);*/
    }

        .lesson-playlists .playlists-title .playlists-title-text {
            font-size: 26px;
            line-height: 30px;
            font-weight: 600;
        }

        .lesson-playlists .playlists-title .playlists-title-info {
            font-size: 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

            .lesson-playlists .playlists-title .playlists-title-info .img-icon {
                width: auto;
                height: 26px;
                margin: 0px 10px;
            }

    .lesson-playlists .playlists-item {
        color: #ffffff;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.6);
        cursor: pointer;
    }

        .lesson-playlists .playlists-item:hover {
            background-color: #111;
            cursor: pointer;
        }

        .lesson-playlists .playlists-item.active {
            background-color: #0a0a0a;
            border-left: 4px solid #0056fe;
        }

        .lesson-playlists .playlists-item.disabled-playlists {
            pointer-events: none;
            opacity: 0.5;
        }

        .lesson-playlists .playlists-item .playlists-item-topic {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0px;
            font-size: 16px;
        }

            .lesson-playlists .playlists-item .playlists-item-topic .topic-title {
                width: calc(100% - 200px);
            }

            .lesson-playlists .playlists-item .playlists-item-topic .video-length {
                width: 150px;
                text-align: center;
                font-size: 14px;
                line-height: 20px;
            }

                .lesson-playlists .playlists-item .playlists-item-topic .video-length span {
                    margin-right: 5px;
                    letter-spacing: 1px;
                }

            .lesson-playlists .playlists-item .playlists-item-topic .collapse-action {
                width: 24px;
                font-size: 20px;
            }

        .lesson-playlists .playlists-item .playlists-item-panel {
            display: none;
            padding: 20px 0px;
        }
