@font-face {
    font-family: 'Prompt';
    src: url("../fonts/Prompt/Prompt-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.page .section .section-title, .page .section .section-action, .page .section article .card-title, .demo-footer .top-footer h5, .demo-footer .top-footer h6, .course-title, .course-main-view .card .card-header h1, .course-main-view .card .card-body .card-title, article .course-price, .app.login #modal-profile-user h4, .app.login #modal-profile-user h5, .course-main-view .course-section-detail h5, .course-main-view .course-section-detail .course-section-title, .app-sidebar .btn, .app-sidebar a, .app.login #modal-profile-user .side-menu__item, .course-main-view .course-section-detail .course-chapter-detail span.text-price, .course-main-view .course-section-detail .course-chapter-detail a, .course-main-view .card .course-teacher-detail h5, .course-main-view .card .course-teacher-detail h4, .course-main-view .course-price, .course-main-view .btn-buy-course, .course-main-view .entry-tags .tags-header, .payment-form .card-title, .payment-form .payment-qrcode-title, .booking-view .card-title, .cart-view .card-title, .login .user-profile, .login .change-password, .swal2-container, .expanel .expanel-heading, .page .section button, .user-adress-add, .customer-address-list .btn, .user-adress-edit, #btn-address-change, #btn-booking-save-payment, .course-main-view .course-document h5, .tab-menu-heading .panel-tabs a, .cart-booking-summary h4, .cart-booking-summary h5, .cart-booking-summary h6 , .cart-booking-summary .card-payment, .cart-booking-summary .card-product-title, .modal .modal-title, #modal-booking-transfer h5, #modal-booking-transfer table th, #modal-booking-transfer .btn {
    font-family: 'Prompt';
}

.landing-page {
    background-color: #f8f9fb;
    /* background-color: rgb(250, 250, 250); */
}
.landing-page .top.sticky {
    z-index: 99;
}
.card .card-body {
    padding: 15px;
}
.font-bold {
    font-weight: bold;
}

.horizontal .sub-slide.is-expanded .sub-angle {
    transform: none;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.app-sidebar .btn, #btn-address-change {
    font-size: 14px;
}
.app-sidebar .nav-link.icon .header-badge {
    position: absolute;
    top: -3px;
    right: 0px;
    display: block !important;
    padding: 3px 5px !important;
    font-size: 10px;
    border-radius: 50px;
    line-height: 1.1;
}

.app.login .hor-header.header {
    padding: 7px 0;
}

.app.login .profile-user-img {
    border: 3px solid #adb5bd;
    margin: 0 auto;
    padding: 3px;
    width: 100px;
}

.app.login #modal-profile-user .side-menu {
    display: block;
}
.app.login #modal-profile-user .side-menu__item {
    padding: 10px 0px!important;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    /* padding: 10px 20px; */
    font-size: 15px;
    font-weight: 400;
    -webkit-transition: border-left-color 0.3s ease, background-color 0.3s ease;
    -o-transition: border-left-color 0.3s ease, background-color 0.3s ease;
    transition: border-left-color 0.3s ease, background-color 0.3s ease;
    color: #282f53;
    margin: 2px 0px;
    white-space: nowrap;
}

.expanel .expanel-heading {
    font-size: 1rem;
}
.page .section .section-action .btn, .page .section button {
    font-size: .9rem;
}

.select2-container {
    width: 100% !important;
    padding: 0;
}

@media(max-width:480px) {
    .horizontal.app.login .app-sidebar {
        top: 76px!important;
    }

    .header .header-right-icons .nav-link.icon.cart-icon {
        margin-right: -18px;
    }

    .header .header-right-icons .nav-link .user-icon {
        margin-right: -10px;
    }
}

.landing-top-header {
    position: static;
    margin: auto;
    background: white;
    background-color: #fff;
    color: rgba(0, 0, 0, 0.87);
    -webkit-transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
    box-shadow: rgb(0 0 0 / 16%) 0px 3px 6px 0px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    -webkit-flex-shrink: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    color: #fff;
}

.landing-top-header, .landing-top-header::before {
    background-image: none;
}

.card-primary.card-outline {
    border-top: 3px solid #007bff!important;
}

/* banner slide */
.carousel-caption {
    position: absolute;
    right: 15%;
    top: 76%;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
}
/* banner slide */

.owl-nav button {
    z-index: 6!important;
}

.slide-item, .slide-menu li .slide-item:before {
    font-size: 15px;
    color: #282f53;
}

/* footer */
.demo-footer {
    color: #000;
    background-color: #fff;
    padding-top: 35px;
}
.demo-footer .card {
    background-color: #fff;
}
.demo-footer .main-footer {
    background-color: #fff;
}
.demo-footer .top-footer h5 {
    font-size: 1.2rem;
}
.demo-footer .top-footer p:hover {
    color: #76839a;
}
.demo-footer .top-footer h6::before {
    display: none;
}
.demo-footer .top-footer .list-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.spacing-on-top {
    margin-bottom: 50px;
}

main > .container {
    padding: 70px 15px 20px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

.form-label, strong, b {
    font-weight: 700;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

@media (max-width: 991px) {
    .horizontal.app .app-sidebar {
        top: 64px;
    }
    .spacing-on-top {
        margin-bottom: 100px;
    }
}

.page .section {
    padding-bottom: 0;
}
.page .section:first-child {
    padding-top: 0;
}
.page .section:last-child {
    padding-bottom: 70px;
}

.section .section-title {
    font-size: 2rem;
}
@media (max-width: 600px) {
    .section .section-title {
        font-size: 1.5rem;
    }
}

article.card .card-title {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}
article.card .card-body {
    padding: 15px;
}
article.card .card-text {
    /* word-wrap: break-word;
    overflow: hidden;
    height: 100px; */
    color: #a7a9ac;
    margin-top: 5px;
    margin-bottom: 7px; 
    overflow: hidden; 
    word-break: break-word; 
    display: -webkit-box; 
    -webkit-box-orient: vertical; 
    -webkit-line-clamp: 2; 
    height: 49px;
    line-height: 1.5rem;
    font-size: .9rem;
}
article.card .card-item-icon, .card.entry .card-item-icon {
    display: flex;
}
article.card .card-item-icon p, .card.entry .card-item-icon p {
    margin-right: 10px;
}
article.card .card-item-icon p:last-child, .card.entry .card-item-icon p:last-child {
    margin-right: 0;
}

article.card {
    border: 1px solid rgba(0,0,0,.125)!important;
    box-shadow: rgb(0 0 0 / 5%) 0px 5px 10px!important;
}
article a {
    border: 0!important;
}
article .course-price {
    font-size: 1rem;
}
article .course-price del {
    font-size: 12px;
}

.course-main-view .card .card-header {
    background: none;
    padding: 15px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 0;
    background-color: transparent;
    border-bottom: none;
    letter-spacing: 0.2px;
}

.course-main-view .card .card-header h1 {
    margin-bottom: 0;
}
.course-main-view .course-detail .card .card-title .course-price del {
    font-size: 1.2rem;
}
.course-main-view .entry {
    background-color: rgb(255, 255, 255);
    position: relative;
    box-shadow: rgb(0 0 0 / 15%) 4px 4px 10px;
    border-radius: 8px;
}
.course-main-view .entry-content {
    font-size: 16px;
}
.course-main-view .entry-content {
    padding: 15px;
}
.course-main-view .entry-by {
    display: flex;
}
.course-main-view .entry-tags {
    display: flex;
}
.course-main-view .entry-tags .tags-header {
    font-size: 16px;
    padding-right: 15px;
    margin-bottom: 10px;
    font-weight: bold;
}
.course-main-view .entry-tags .tags-list a {
    display: inline-block;
    margin-right: 10px;
    user-select: none;
    /* color: #282f53; */
    background-color: #f3f3f3;
    border-radius: 3px;
    padding: 3px 10px;
    margin-bottom: 10px;
}

.course-main-view .course-sidebar .card {
    margin-bottom: 1.5rem;
}
.course-main-view .course-sidebar .card:last-child {
    margin-bottom: 3rem;
}
.course-main-view .course-sidebar article.card .course-price {
    font-size: 1rem;
}
.course-main-view .course-sidebar article.card .course-price del {
    font-size: .9rem;
}

.course-main-view .course-section-detail h5 {
    font-size: 1.1rem;
    font-weight: 600;
}

.course-main-view .course-section-detail .course-section-title {
    font-size: .9rem;
    background-color: #ededed;
    border-color: #e1e1e1;
}

.course-main-view .course-section-detail .course-chapter-title {
    padding-right: 185px;
}
.course-main-view .course-section-detail .course-chapter-detail {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    padding-left: 8px;
}
.course-main-view .course-section-detail .course-chapter-detail .text-title {
    display: none;
}
.course-main-view .course-section-detail .course-chapter-detail span {
    padding-right: 5px;
}
.course-main-view .course-section-detail .course-chapter-detail span.text-pdf-icon {
    font-size: 20px;
}
.course-main-view .course-section-detail .course-chapter-detail span.text-video-icon {
    font-size: 25px;
}
.course-main-view .course-section-detail .course-chapter-detail span.text-dutation {
    width: 70px;
}
.course-main-view .course-section-detail .course-chapter-detail span.text-dutation {
    width: 70px;
}
.course-main-view .course-section-detail .course-chapter-detail span.text-price {
    right: 0;padding-right: 120px;
}
.course-main-view .course-section-detail .course-chapter-detail a {
    font-size: 14px;
    padding: 3px 13px;
    margin-right: 5px;
}

.course-main-view .post-sidebar article.card .card-text {
    max-height: 50px;
    height: 100%;
}
.course-main-view .card .course-teacher-detail h4 {
    font-size: .9rem;
}
.course-main-view .card .course-teacher-detail ul {
    list-style-type: disc;
}
.course-main-view .course-price {
    font-size: 1.5rem;
}
.course-main-view del.course-price {
    font-size: 1.2rem;
}
.course-main-view .btn-buy-course {
    font-size: 1.2rem;
}

@media (max-width: 600px) {
    .course-main-view .entry-tags {
        display: block;
    }
}
@media(max-width:991px) {
    .container {
        max-width: 100%!important;
    }
    .card .card-body, .card .card-header, .course-main-view .entry-content, article.card .card-body {
        padding: 10px;
    }
    .course-main-view .course-section-detail .course-chapter-detail span.text-price {
        padding-right: 10px;
    }
    .course-main-view .course-section-detail .course-chapter-title {
        padding-right: 0;
    }
}

.modal {
    z-index: 1041;
}

/* model left and right */
.modal.left .modal-dialog,
.modal.right .modal-dialog {
    position: fixed;
    margin: auto;
    width: 320px;
    height: 100%;
    -webkit-transform: translate3d(0%, 0, 0);
        -ms-transform: translate3d(0%, 0, 0);
            -o-transform: translate3d(0%, 0, 0);
            transform: translate3d(0%, 0, 0);
}

.modal.left .modal-content,
.modal.right .modal-content {
    height: 100%;
    overflow-y: auto;
}

.modal.left .modal-body,
.modal.right .modal-body {
    padding: 15px 15px 80px;
}

/*Left*/
.modal.left.fade .modal-dialog{
    left: -320px;
    -webkit-transition: opacity 0.3s linear, left 0.3s ease-out;
        -moz-transition: opacity 0.3s linear, left 0.3s ease-out;
            -o-transition: opacity 0.3s linear, left 0.3s ease-out;
            transition: opacity 0.3s linear, left 0.3s ease-out;
}

.modal.left.fade.show .modal-dialog{
    left: 0;
}
        
/*Right*/
.modal.right.fade .modal-dialog {
    right: -320px;
    -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
        -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
            -o-transition: opacity 0.3s linear, right 0.3s ease-out;
            transition: opacity 0.3s linear, right 0.3s ease-out;
}

.modal.right.fade.show .modal-dialog {
    right: 0;
}

/* ----- MODAL STYLE ----- */
.modal-content {
    border-radius: 0;
    border: none;
}

.modal-header {
    border-bottom-color: #EEEEEE;
    background-color: #FAFAFA;
}

/* cart */
.payment-form .card-title, .payment-form .payment-qrcode-title, .booking-view .card-title, .cart-view .card-title {
    font-size: 1.1rem;
    font-weight: bold;
}

#modal-view-cart .btn {
    font-size: .9rem;
}

.table-responsive>.table-bordered {
    border: 1px solid #e9edf4;
}

.favorite {
    font-size: 25px;
    cursor: pointer;
    position: absolute;
    top: 5px;
    right: 10px;
    z-index: 99;
}

.favorite .fav-active {
    color: #ff4646;
}

.favorite .fav-unactive {
    color: #ccc;
}

/* new booking */
.cart-booking-summary .card-product .card-body {
    width: 200px;
    padding-top: 5px;
    padding-bottom: 5px;
}
.cart-booking-summary .card-product img {
    width: 150px;
}
.cart-booking-summary .card-product .card-product-title {
    font-size: 14px!important;
}
.cart-booking-summary .card-product .card-product-title {
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    display: block;
}
.cart-booking-summary .form-group.row .col-sm-6 {
    width: 50%;
}
.cart-booking-summary .form-group.row div.col-sm-6 {
    text-align: right;
}
.cart-booking-summary .pay-logo {
    display: flex;
}
.cart-booking-summary .pay-logo img {
    height: 30px;
}
.cart-booking-summary .card-payment {
    font-size: 1.1rem!important;
    cursor: pointer;
}

.cart-booking-summary .card-product, .cart-booking-summary .card-payment, .modal .card.color-card-radius {
    /* box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12); */
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.10), 0 2px 10px 0 rgba(0,0,0,0.10);
}
.cart-booking-summary .card-payment:hover {
    background: #a5d6a7;
}
.cart-booking-summary hr {
    border-top: 1px solid #cccccc;
    opacity: 0.5;
}
#modal-booking-transfer select {
    border-radius: 3px;
    padding: 5px;
    border: 1px solid #e9edf4;
}
@media(max-width:767px) {
    .cart-booking-summary h4 {
        font-size: 1rem;
    }
    .cart-booking-summary .card-payment .card-body, #modal-booking-transfer .card.color-card-radius .card-body {
        font-size: 14px!important;
    }
}
@media(max-width:500px) {
    .cart-booking-summary .card-product img {
        width: 100%;
    }
    .cart-booking-summary .card-product .card-body {
        width: 100%;
        padding: 15px;
    }
    .course-main-view .course-section-detail .course-chapter-detail {
        position: inherit;
        display: block;
        padding-left: 0;
        margin-top: 2px;
    }
    .course-main-view .course-section-detail .course-chapter-detail a {
        right: 0;
        position: absolute;
        text-align: right;
        font-size: 13px;
        padding: 1px 13px;
    }
    .course-main-view .course-section-detail .course-chapter-detail .text-title {
        display: inline-block;
    }
}
@media(max-width:396px) {
    .cart-booking-summary .form-group.row .col-sm-6 {
        width: 100%;
    }
    .cart-booking-summary .form-group.row div.col-sm-6 {
        text-align: left;
    }
}
@media(max-width:300px) {
    .course-main-view .course-section-detail .course-chapter-detail a {
        display: block;
        position: inherit;
        text-align: center;
        margin-top: 8px;
    }
}

/* SweetAlert2 */
.swal2-title {
    font-size: 1.1rem!important;
}
.swal2-html-container {
    font-size: 1rem!important;
}