.single_wrap {
    padding: 30px 20px 0 20px;
    background: #fff;
}

.single_top {
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    background: #F3F3F3;
    align-items: center;
}

.single_top .box_author {
    display: flex;
    align-items: center;
    margin: 0;
}

.single_top .box_author .avater img {
    width: 40px;
    height: 40px;
    border-radius: 40px;
    object-fit: cover;
    margin-right: 8px;
}

.single_top .box_author .box_name {
    font-size: 14px;
    line-height: 16px;
    color: #000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.single_top .box_author .box_name span:first-child {
    font-weight: 700;
}

.single_top .box_review {
    margin: 0;
    text-align: left;
}

.single_top .box_review .title_r {
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 4px;
}

.single_top .box_review .kksr-icon {
    width: 14px !important;
    height: 14px !important;
}

.kksr-legend {
    display: none;
}

.single_top .box_review span.kksr-muted {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #000;
    opacity: 1;
}

div#mota {
    padding: 6px 6px 6px 26px;
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
    /* or 172% */
    text-align: justify;
    color: #5A5A5A;
    background: rgba(51, 51, 51, 0.1);
    margin-bottom: 20px;
    border-left: 2px solid #F39D1D;
}

.date_post {
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    line-height: 24px;
    /* or 100% */
    text-transform: capitalize;
    padding-top: 8px;
    border-top: 1px solid #C4C4C4;
    margin-bottom: 24px;
}

.single_top .box_left {
    display: flex;
    gap: 30px;
}

.news-rate p {
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 4px;
}

.news-rate .social-icons.share-icons a {
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.news-rate .social-icons.share-icons a i {
    font-size: 14px;
}

h1.post_title {
    font-size: 20px;
    margin-bottom: 20px;
}

.single_content {
    margin: 20px 0;
}

.post_siderbar .sider_title {
    font-size: 20px;
    margin-bottom: 20px;
    border-left: 4px solid;
    padding-left: 20px;
    color: var(--primary-color);
    line-height: 1;
    text-transform: uppercase;
    font-weight: bold;
}

.news_post {
    display: flex;
    flex-flow: column;
    gap: 10px;
}

.news_post .item_post {
    padding: 0;
}

.news_post .item_post a {
    display: flex;
    gap: 15px;
}

.news_post .item_post .box_image {
    min-width: 100px;
    width: 100px;
    height: 70px;
}

.news_post .item_post .box_text p {
    font-size: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.news_post .item_post .box_text .post_categori {
    line-height: 1;
    margin-top: 4px;
    color: var(--primary-color);
}

.news_post .item_post .box_image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
    border-radius: 5px;
}

.news_post .item_post:not(:last-child) {
    border-bottom: 1px dashed #ccc;
    border-radius: inherit;
    padding-bottom: 10px;
}


/* .post_siderbar {
    position: sticky;
    top: 160px;
} */

.single_content ul,
.single_content ol {
    padding-left: 18px;
}

.date-post {
    padding-top: 15px;
    border-top: 1px solid #ccc;
    margin-bottom: 30px;
    font-style: italic;
    font-size: 14px;
}

.single_top.bottom .box_name {
    flex-flow: column;
    align-items: baseline;
}

.single_top.bottom .box_author .avater img {
    min-width: 80px;
    height: 80px;
}

.single_top.bottom .box_name span:last-child {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.item_post {
    padding: 10px;
    background: #f8f8f8;
    border-radius: 5px;
}

.item_post .box {
    display: flex;
    gap: 20px;
}

.item_post .box .box-image {
    min-width: 230px;
    border-radius: 5px;
}

.item_post .box .box-text {
    padding: 0;
}

.item_post .box .box-text p {
    font-size: 16px;
    line-height: 24px;
    height: 48px;
    /*font-weight: bold;*/
}

.height_2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item_post .box .box-text .post_categori {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 5px;
}

.row_archive {
    margin-bottom: 20px;
}

.item_post .box:hover .box-text h4 {
    color: var(--primary-color) !important;
}

.post_related {
    margin-top: 20px;
}

.post_related_title {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.row_related {
    display: flex;
    flex-flow: column;
    gap: 15px;
}


/* Du an */

table.portfolio-single_detail {
    width: 100%;
    border-spacing: 0;
    margin-bottom: 30px;
}

.portfolio-single_detail td {
    width: 50%;
    margin-right: 10px;
    padding: 0 10px !important;
}

.portfolio-single_detail td,
.portfolio-single_detail tr,
.portfolio-single_detail {
    border: 1px solid #a0a0a0;
    border-collapse: collapse;
}

.portfolio-single_detail .title {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 5px;
    font-weight: bold;
    color: #000;
}


/* Single product */

.image-tools.absolute.bottom.left.z-3 {
    display: none;
}

.product-images a,
.product-thumbnails img {
    aspect-ratio: 1/1;
    object-fit: cover;
    position: relative;
    display: block;
}

.product-images img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.product_info h1.product-title {
    font-size: 20px;
}

.product_des .info {
    font-size: 14px;
    font-weight: 600;
}

.product_des .info span {
    color: var(--primary-color);
}

.product_price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.product_price .sale_price {
    font-size: 20px;
    font-weight: 700;
    line-height: 32px;
    /* 160% */
    letter-spacing: 0.1px;
}

.product_price .regular_price span,
.default-price-wrapper .regular_price {
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    /* 142.857% */
    text-decoration: line-through;
    color: #666;
}

.product_price .percentage_discount {
    border-radius: 4px;
    background: red;
    height: 22px;
    width: 40px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
}

.woocommerce-variation.single_variation {
    height: 0px;
    overflow: hidden;
}

.product-short-description {
    font-size: 14px;
}

.product-short-description li,
.product-short-description p {
    margin-bottom: 0;
}

.product_info .quantity.buttons_added input {
    height: 36px;
    background: none;
    border: none;
    box-shadow: none;
    font-size: 16px;
    color: #000;
    font-weight: bold;
    max-height: 36px;
    min-height: 36px;
    display: inline-flex;
    line-height: 36px;
}

.product_info .quantity.buttons_added {
    border-radius: 5px;
    border: 1px solid #000;
}

.product_info button.single_add_to_cart_button,
button.button.buy_now_button {
    text-transform: initial;
    font-size: 14px;
    height: 38px;
    border: none;
    border-radius: 5px;
    background-color: var(--primary-color) !important;
}

div#reviews.woocommerce-Reviews,
.devvn_prod_cmt {
    max-width: 100% !important;
}

.product-section-title.container-width.product-section-title-related,
.product_line h3 {
    font-size: 18px;
    padding: 0;
    border-left: 4px solid;
    padding-left: 20px;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.camket .icon-box-text {
    font-size: 14px;
    display: flex;
    align-items: center;
}

.product-section {
    border-top: none !important;
}

.single-product div#tab-description {
    overflow: hidden;
    position: relative;
    padding-bottom: 25px;
}

.fix_height {
    max-height: 800px;
    overflow: hidden;
    position: relative;
}

.single-product .tab-panels div#tab-description.panel:not(.active) {
    height: 0 !important;
}

.devvn_readmore_flatsome {
    text-align: center;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    bottom: 0;
    width: 100%;
    background: #fff;
}

.devvn_readmore_flatsome:before {
    height: 55px;
    margin-top: -45px;
    content: "";
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff00', endColorstr='#ffffff', GradientType=0);
    display: block;
}

.devvn_readmore_flatsome a {
    color: #318A00;
    display: block;
}

.devvn_readmore_flatsome a:after {
    content: '';
    width: 0;
    right: 0;
    border-top: 6px solid #318A00;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    display: inline-block;
    vertical-align: middle;
    margin: -2px 0 0 5px;
}

.devvn_readmore_flatsome_less a:after {
    border-top: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #318A00;
}

.devvn_readmore_flatsome_less:before {
    display: none;
}

.product-tabs a:before {
    display: none;
}

.product-tabs {
    background: var(--primary-color);
    padding: 5px 10px !important;
}

.product-tabs li a {
    padding: 0 !important;
    color: #fff !important;
    text-transform: initial !important;
}

div#ez-toc-container {
    width: 250px;
    float: right;
}

.product_gift ul {
    font-size: 14px;
    margin: 0;
}

.product_gift ul li {
    margin-bottom: 0;
}

.product_archive .product_item a p {
    font-size: 13px;
    margin: 0;
    font-weight: bold;
}

.product_archive {
    margin-top: 10px;
}

.product_archive .product_item a {
    display: flex;
    gap: 10px;
}

.product_archive .product_item a .image {
    min-width: 60px;
    width: 60px;
    aspect-ratio: 1/1;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    height: 60px;
}

.product_archive .product_item a img {
    height: 100%;
    object-fit: cover;
}

.product_archive .product_item a span.woocommerce-Price-amount.amount {
    font-size: 13px;
    color: var(--primary-color);
}

.product_archive .product_item:not(:last-child) {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px dashed;
}

span.widget-title.shop-sidebar {
    font-size: 15px;
    margin-bottom: 10px;
    border-left: 4px solid;
    padding-left: 20px;
    color: var(--primary-color);
    line-height: 1.2;
}

.recruitment-desc .item p {
    margin: 0;
    flex: 1;
}

.recruitment-desc .item {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    font-size: 14px;
}

.recruitment-desc .item span {
    font-weight: bold;
}

.recruitment-desc {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 2px solid #c13341;
    display: block;
}

.recruitment_form p>label {
    position: relative;
    font-size: 14px;
}

.recruitment_form p>label:after {
    content: " (*)";
    color: red;
}

.recruitment_form input.wpcf7-form-control.wpcf7-text {
    border: 1px solid #ccc;
    border-radius: 5px;
}

.recruitment_form span.wpcf7-form-control.wpcf7-radio {
    display: flex;
    gap: 10px;
}

.recruitment_form span.wpcf7-form-control.wpcf7-radio span.wpcf7-list-item {
    margin: 0;
    font-size: 14px;
}

.recruitment_form input.wpcf7-form-control.wpcf7-date {
    border: 1px solid #ccc;
    border-radius: 5px;
}

.recruitment_form input.wpcf7-form-control.wpcf7-submit {
    margin: 0;
    margin-top: 20px;
    border-radius: 5px;
    text-transform: inherit;
    font-size: 14px;
}

.form_flile {
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    padding: 30px;
    text-align: center;
}

.form_flile span.wpcf7-form-control-wrap {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    height: 38px;
    margin-bottom: 5px;
    background: #ccc;
    display: flex;
    align-items: center;
    line-height: 38px;
}

.form_flile p.rf-notification.form-upload-noti.text-center {
    color: red;
    font-size: 14px;
}

.form_flile span.wpcf7-form-control-wrap:after {
    position: absolute;
    top: 1px;
    bottom: 0px;
    display: flex;
    height: 36px;
    line-height: 1.5;
    content: "Chọn tệp:";
    background-color: rgb(204 204 204);
    align-items: center;
    z-index: 1;
    width: 75px;
    padding: 0px 0px 0px 10px;
    color: #fff;
    font-size: 14px;
}

.form_flile span.wpcf7-form-control-wrap input.wpcf7-form-control.wpcf7-file {
    line-height: 38px;
    margin: 0;
    font-size: 14px;
    color: #fff;
    width: 100%;
    z-index: 1;
}

.form_flile span.wpcf7-form-control-wrap:before {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    display: block;
    height: 38px;
    line-height: 38px;
    color: #fff;
    content: "Browse";
    background-color: rgb(193 51 65);
    padding: 0px 0.75rem;
    border-left: 1px solid rgb(206, 212, 218);
    font-size: 14px;
}


/* Pc      --------------------------------------------- */

@media(min-width: 766px) {}

@media (width: 1024px) {}

@media (max-width: 1024px) {}

@media (min-width: 990px) and (max-width: 1100px) {}


/*************** ------------------------PC và Tablet  --------------------------  ***************/

@media (min-width: 740px) {}


/*************** ------------------------Tablet  --------------------------  ***************/

@media (min-width: 740px) and (max-width: 1023px) {
    .product_info button.single_add_to_cart_button,
    button.button.buy_now_button {
        margin-top: 10px;
    }
}

@media (max-width:990px) {}


/*************** ------------------------Mobile và Tablet --------------------------  ***************/

@media (max-width: 1023px) {}


/*************** ------------------------ Mobile   --------------------------  ***************/

@media screen and (max-width: 549px) {
    .single_wrap {
        padding: 20px 15px 0 15px;
    }
    .single_top {
        flex-flow: column;
        align-items: start;
        padding: 10px;
        gap: 15px;
    }
    .item_post .box .box-image {
        min-width: 111px;
    }
    .item_post .box .box-image .image-zoom.image-cover {
        padding-top: 110% !important;
    }
    div#ez-toc-container {
        float: initial;
        width: 100%;
    }
    .form_flile {
        padding: 10px;
    }
}