/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

.ct-back-to-top.ct-hidden-sm.ct-show {
    border: 1px solid #043161;
    outline: 1px solid #043161;
    outline-offset: 3px;
}
/*----- css hinh anh wordpress ----*/
.entry-content img,
.wp-block-image img {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

/*----- css chi tiet bai viet ----*/
.card-blog .image-blog .elementor-widget-container::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid #fff;
    outline: 1px solid #fff;
    outline-offset: 5px;
    width: 94%;
    height: 90%;
    transform: translate(-50%, -50%);
}

.card-blog .image-blog .elementor-widget-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.card-blog .image-blog .elementor-widget-container {
    position: relative;
    overflow: hidden;
    transition: 0.6s;
}

.card-blog .image-blog .elementor-widget-container img {
    transition: transform 1s cubic-bezier(.33,.02,0,.93);
}

.card-blog:hover .image-blog .elementor-widget-container img {
    transform: scale(1.3) translateX(10px);
    transition: 0.6s;
}

/*---- css page home ----*/
.course-service .elementor-cta__description {
    text-align: justify;
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    visibility: visible;
    text-overflow: ellipsis;
    overflow:hidden;
    -webkit-box-orient: vertical;
}

.share-knowledge .desc {
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    visibility: visible;
    text-overflow: ellipsis;
    overflow:hidden;
    -webkit-box-orient: vertical;
}

.slider-home .elementor-swiper-button {
    background-color: #fff;
    padding: 5px;
    box-shadow: 1px 5px 8px #fff;
}
/*--- css page course -----*/
.single-product .elementor-button-wrapper a.added_to_cart.wc-forward {
    background-color: transparent;
    color: #000;
    text-decoration: underline;
}

.wrapper-course .page-numbers.current {
    background-color: #d4a339;
}

.wrapper-course .page-numbers {
    background-color: #162542;
    padding: 4px 10px;
    color: #fff;
}

.box-course-02 .image-course {
    position: relative;
    transition: 0.6s;
}

.box-course-02:hover .image-course {
    transform: scale(1.3);
    transition: 0.6s;
}

.box-course-02 .image-course {
    position: relative;
}

.box-course-02 .e-con-inner {
    overflow: hidden;
    border-radius: 5px;
}

.box-course-02 .desc .elementor-widget-container {
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    visibility: visible;
    text-overflow: ellipsis;
    overflow:hidden;
    -webkit-box-orient: vertical;
}

.box-course .image-course {
    position: relative;
    overflow: hidden;
}

.box-course .image-course img {
    transition: 0.6s;
}

.box-course:hover .image-course img {
    transform: scale(1.5);
    transition: 0.6s;
}

.elementor-element.sidebar-info {
    height: 100%;
}
/* -------css pag share -------*/
.card-blog .elementor-element.desc-blog .elementor-widget-container {
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    visibility: visible;
    text-overflow: ellipsis;
    overflow:hidden;
    -webkit-box-orient: vertical;
}

.card-blog .elementor-widget-container img {

}
/*------ css page about -------*/
.box-count .elementor-widget-container {
    border: 1px solid #043161;
}

.image-about .elementor-widget-container img {
    position: relative;
    outline: 1px solid #fff;
    outline-offset: -16px;
}
/*----- css page contact -----*/
.box-info .elementor-image-box-wrapper {
    display: flex;
    text-align: left;
    gap: 15px;
}

.title-contact .elementor-heading-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: -21px;
    width: 4px;
    height: 50px;
    background-color: #e6a330;
}

.title-contact .elementor-heading-title {
    position: relative;
}
/*------ css page home ----*/
.course-related .elementor-element.heading-course {
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    visibility: visible;
    text-overflow: ellipsis;
    overflow:hidden;
    -webkit-box-orient: vertical;
}

.site-header.bg-custom-sticky.sticky-header .width-logo a {
    width: 100px !important;
}

.ct-contact-info .contact-info {
    gap: 10px;
    flex-direction: row;
}

.contact-home {
    position: relative;
}

.contact-home::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 36%;
    height: 100%;
    background-color: #fff;
}

.elementor-element.wrapper-feedback {
    position: relative;
}

.elementor-element.wrapper-feedback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 40%;
    transform: translateX(-50%);
    height: 100%;
    background-color: #80808014;
}
/*-------------------*/

/*------ Tablet -----*/
@media (min-width: 768px) and (max-width: 1024px) {
    .course-service .elementor-cta__description {
        display: block;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        visibility: visible;
        text-overflow: ellipsis;
        overflow: hidden;
        -webkit-box-orient: vertical;
    }
}
/*---------- Mobile --------------*/
@media (max-width: 767px) {
    .slider-home .elementor-swiper-button {
        padding: 4px;
    }

    .elementor-element.wrapper-feedback::before {
        width: 100%;
    }
}