/*			Content				*/
#row-wrap-content {
    margin-top: 5px;
}

.hide {
    display: none;
}

#row-wrap-content section {
    background: none repeat scroll 0 0 #FFFFFF;
}

.full-content h1,
.full-content h2,
.full-content h3,
.full-content p,
.full-content span {
    line-height: normal;
    margin: 0;
}

.full-content p,
.full-content span {
    font-size: 14px;
    margin: 5px 0;
    line-height: 22px;
}

.full-content h1 {
    margin-bottom: 10px;
}

.full-content h2 {
    font-size: 14px;
    font-weight: bold;
    margin: 10px 0;
}

.full-content h3 {
    font-size: 15px;
    font-weight: bold;
    margin-top: 10px;
}

entry-content img,
.comment-content img,
.widget img,
img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.title-page {
    margin-bottom: 20px;
}

h1.title_home {
    font-size: 16px;
}

.products1 .star-rating {
    display: none !important;
}

.alignleft {
    float: left;
}

.alignright {
    float: right;
}

.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    max-width: 100%;
    padding: 4px;
}

.wp-caption .wp-caption-text,
.gallery-caption,
.entry-caption {
    font-style: italic;
    font-size: 12px;
    font-size: 0.857142857rem;
    color: #757575;
}

iframe[id^="oauth2relay"] {
    display: block;
}

div.pp_woocommerce .pp_content_container {
    padding: 8px 0;
}

.pp_content_container .pp_left {
    padding-left: 8px;
}

.pp_content_container .pp_right {
    padding-right: 8px;
}

/*			Post				*/
.full-content {
    float: left;
    width: 100%;
}

.content-box {
    float: left;
    width: 100%;
}

.content-box-1 {
    box-sizing: border-box;

}

.search .product,
.search .page {
    float: left;
    width: 100%;
}

.entry-tag {
    margin-top: 10px;
}

.tags li {
    float: left;
}

.tags a {
    background: #cccccc none repeat scroll 0 0;
    border-radius: 3px 0 0 3px;
    color: #fff;
    display: inline-block;
    height: 26px;
    line-height: 26px;
    padding: 0 20px 0 23px;
    position: relative;
    margin: 0 10px 10px 0;
    text-decoration: none;
}

.tags a:before {
    background: #fff;
    border-radius: 10px;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
    content: '';
    height: 6px;
    left: 10px;
    position: absolute;
    width: 6px;
    top: 10px;
}

.tags a:after {
    background: #fff;
    border-bottom: 13px solid transparent;
    border-left: 10px solid #cccccc;
    border-top: 13px solid transparent;
    content: '';
    position: absolute;
    right: 0;
    top: 0;
}









/*gioi thiệu*/
.sub-FAQ {
    width: 100%;
    float: left;
}

.title-sub-faq-gt {
    padding: 5px;
    text-align: center;
    font-size: 25px;
    text-transform: uppercase;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
}

.sub-field {
    border: 1px solid #DDDDDD;
    border-radius: 5px;
    margin-bottom: 15px;
    overflow: hidden;
}

.sub-field .sub-hoi,
.sub-field .sub-tra-loi {
    padding: 10px;
}

.sub-FAQ>div:nth-child(2n-1)::before {
    content: "\f067";
    font-family: 'Fontawesome';
    color: #fff;
    background: #00458A;
    font-size: 14px;
    position: absolute;
    top: -1px;
    left: 0;
    height: 37px;
    width: 37px;
    line-height: 37px;
    text-align: center;
    border-radius: 3px;
}

.sub-FAQ>div.ui-accordion-header-active::before {
    content: "\f068";
}

.ui-accordion .ui-accordion-icons {
    padding-left: 3.2em !important;
}



















/*			Category				*/
.entry-content .attachment-full {
    float: left;
    max-width: 140px;
    height: auto;
    margin-right: 10px;
}

#content .type-post {
    border-bottom: 1px solid #CCCCCC;
    float: left;
    padding-bottom: 15px;
    width: 100%;
}

.category .full-content h1.page-title {
    border-bottom: 2px solid #4F4F4F;
    padding-bottom: 5px;
    width: 100%;
}

.type-post ul.post-meta li {
    display: inline-block;
    font-size: 13px;
}

.type-post ul.post-meta li:nth-child(2) {
    background: rgba(0, 0, 0, 0) url("images/date-icon.png") no-repeat scroll 0 50%;
    padding: 0 5px 0 20px;
}

.type-post ul.post-meta li:nth-child(1) {
    background: rgba(0, 0, 0, 0) url("images/author-icon.png") no-repeat scroll 0 50%;
    padding: 0 5px 0 20px;
}

.type-post ul.post-meta li:nth-child(3) {
    background: rgba(0, 0, 0, 0) url("images/comment-icon.png") no-repeat scroll 0 50%;
    padding: 0 5px 0 20px;
}

.wp-pagenavi {
    margin: 20px 0;
    text-align: center;
    width: 100%;
    float: left;
}

.wp-pagenavi a,
.wp-pagenavi span {
    border: 1px solid #bfbfbf;
    margin: 2px;
    padding: 3px 5px;
    text-decoration: none;
}

/* page video*/
.page-video {
    width: 100%;
    float: left;
}

.page-video>li {
    float: left;
    margin-bottom: 30px;
    width: 48%;
}

.page-video>li:nth-child(2n) {
    margin-left: 2%;
}

.page-video h4 {
    font-size: 20px;
    margin: 0;
    text-align: center;
    width: 100%;
}

/* ----------------- Comments ------------------------ */
.comments-area article {
    margin: 24px 0;
    border-bottom: 4px double #ededed;
    overflow-wrap: break-word;
    hyphens: auto;
}

.comments-area article header {
    margin: 0 0 15px;
    overflow: hidden;
    position: relative;
}

.comments-area article header img {
    float: left;
    padding: 0;
    line-height: 0;
}

.comments-area article header cite,
.comments-area article header time {
    display: block;
    margin-left: 70px;
}

.comments-area article header cite {
    font-style: normal;
    font-size: 15px;
    line-height: 1.4;
}

.comments-area cite b {
    font-weight: normal;
}

.comments-area article header time {
    line-height: 1.7;
    text-decoration: none;
    font-size: 12px;
    color: #5e5e5e;
}

.comments-area article header a {
    text-decoration: none;
    color: #5e5e5e;
}

.comments-area article header a:hover {
    color: #21759b;
}

.comments-area article header cite a {
    color: #444;
}

.comments-area article header cite a:hover {
    text-decoration: underline;
}

.comments-area article header h4 {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: normal;
    color: #fff;
    background-color: #0088d0;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #009cee, #0088d0);
    background-image: -ms-linear-gradient(top, #009cee, #0088d0);
    background-image: -webkit-linear-gradient(top, #009cee, #0088d0);
    background-image: -o-linear-gradient(top, #009cee, #0088d0);
    background-image: linear-gradient(top, #009cee, #0088d0);
    border-radius: 3px;
    border: 1px solid #007cbd;
}

#comments .comment-content p {
    font-size: 14px;
    line-height: 1.5em;
    margin: 0;
}

.comments-area .bypostauthor cite span {
    position: absolute;
    margin-left: 5px;
    padding: 0 5px;
    font-size: 10px;
}

a.comment-reply-link,
a.comment-edit-link {
    color: #686868;
    font-size: 13px;
    line-height: 1.8;
}

a.comment-reply-link:hover,
a.comment-edit-link:hover {
    color: #21759b;
}

.commentlist .pingback {
    line-height: 1.7;
    margin-bottom: 24px;
}

.commentlist .children {
    margin-left: 48px;
}

#respond h3#reply-title {
    font-size: 16px;
    line-height: 1.5;
}

#respond h3#reply-title #cancel-comment-reply-link {
    margin-left: 10px;
    font-weight: normal;
    font-size: 12px;
}

#respond form {
    margin: 15px 0;
}

#respond form p.logged-in-as {
    margin-bottom: 10px;
}

#respond form label {
    display: block;
    line-height: 1.7;
    font-size: 14px;
}

#respond form input[type="text"],
#respond form textarea {
    box-sizing: border-box;
    font-size: 12px;
    line-height: 1.3;
    padding: 5px;
    width: 100%;
    float: none;
    border: 1px solid #ccc;
}

#respond form input[type=submit],
.bypostauthor cite span {
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: normal;
    color: #7c7c7c;
    background-color: #e6e6e6;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #f4f4f4, #e6e6e6);
    background-image: -ms-linear-gradient(top, #f4f4f4, #e6e6e6);
    background-image: -webkit-linear-gradient(top, #f4f4f4, #e6e6e6);
    background-image: -o-linear-gradient(top, #f4f4f4, #e6e6e6);
    background-image: linear-gradient(top, #f4f4f4, #e6e6e6);
    border: 1px solid rgb(169, 169, 169);
    box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1);
    cursor: pointer;
}

#respond form input[type=submit]:hover {
    color: #5e5e5e;
    background-color: #ebebeb;
    background-repeat: repeat-x;
    background-image: -moz-linear-gradient(top, #f9f9f9, #ebebeb);
    background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb);
    background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb);
    background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb);
    background-image: linear-gradient(top, #f9f9f9, #ebebeb);
}

#respond form p.form-allowed-tags {
    margin: 0;
    font-size: 12px;
    line-height: 2;
    color: #5e5e5e;
}

.required {
    color: red;
}

#commentform .form-allowed-tags,
#commentform .form-submit {
    clear: both;
    float: left;
    margin-top: 10px;
}

#comments.comments-area {
    border-top: 1px solid #CCCCCC;
    float: left;
    width: 100%;
    margin-top: 15px;
}

#commentform p {
    clear: both;
}

/* ------------- Realted post ----------------- */
.related-post {
    width: 100%;
    float: left;
    margin-bottom: 20px;
}

.related-post h3 {
    border-bottom: 1px solid #3e3e3e;
    margin: 0;
    padding: 10px 0;
    color: #3e3e3e;
}

.related-post ul {
    padding-left: 20px;
}

.related-post ul li {
    float: left;
    width: 100%;
    list-style-type: square;
    margin-top: 10px;
    color: #cccccc;
}

/*			Myaccount				*/
.box-myaccount {
    background: none repeat scroll 0 0 rgba(255, 255, 255, 0.5);
    left: 35%;
    padding: 5px;
    position: absolute;
    top: 10%;
    z-index: 9999;
}

.box-myaccount .woocommerce {
    background: none repeat scroll 0 0 #FFFFFF;
    float: left;
    padding: 10px;
}

.box-myaccount #customer_login.col2-set .col-1,
.box-myaccount #customer_login.col2-set .col-2 {
    float: left;
    width: 100%;
}

.box-myaccount .login,
.box-myaccount .register {
    display: none;
    margin: 10px 0 !important;
    padding: 10px !important;
}

.box-myaccount.show-login .login {
    display: block;
    float: left;
}

.box-myaccount.show-register .register {
    display: block;
}

.box-myaccount.show-login .form-row {
    float: left;
    margin: 0;
    width: 100%;
}

.wrap-for-myaccount {
    background: none repeat scroll 0 0 #000000;
    height: 100%;
    left: 0;
    opacity: 0.5;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.box-myaccount h2 {
    font-size: 18px;
    text-transform: uppercase;
}

.box-myaccount label {
    color: #181818;
    font-size: 13px;
    margin-bottom: 5px;
}

.box-myaccount input[type="email"],
.box-myaccount input[type="password"] {
    box-shadow: none;
    height: 24px;
}

.box-myaccount .lost_password {
    float: right;
    font-size: 12px;
}

.login label[for=rememberme] {
    clear: both;
    float: left;
}

/* add newu */
.sub-FAQ>div:nth-child(2n-1)::before {
    top: 1px !important;
    left: 1px !important;
}

/**** Responsive settings ******/
@media only screen and (min-width: 800px) {}

@media only screen and (min-width: 800px) and (max-width: 939px) {}

@media only screen and (min-width: 768px) and (max-width: 799px) {
    .box-myaccount {
        left: 10%;
    }
}

@media only screen and (max-width: 767px) {
    .content-box-1 {
        width: 100%;
    }

    .box-myaccount {
        left: 0;
        margin: 0 10px;
    }

    .page-video>li {
        width: 100%;
    }

    .woocommerce #content div.product div.images,
    .woocommerce #content div.product div.summary,
    .woocommerce div.product div.images,
    .woocommerce div.product div.summary,
    .woocommerce-page #content div.product div.images,
    .woocommerce-page #content div.product div.summary,
    .woocommerce-page div.product div.images,
    .woocommerce-page div.product div.summary {
        width: 100% !important;
    }

    .woocommerce .cart-collaterals .cart_totals,
    .woocommerce-page .cart-collaterals .cart_totals {
        width: 100% !important;
    }

    .woocommerce .col2-set .col-1,
    .woocommerce .col2-set .col-2,
    .woocommerce-page .col2-set .col-1,
    .woocommerce-page .col2-set .col-2 {
        width: 100% !important;
    }
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
    .box-myaccount {
        left: 10%;
    }
}

@media screen and (min-width: 600px) {
    #respond form input[type="text"] {
        width: 45%;
    }

    #respond form textarea {
        width: 80%;
    }
}

@media only screen and (min-width:480px) and (max-width: 599px) {}

@media only screen and (min-width:320px) and (max-width: 479px) {
    .entry-content .attachment-full {
        max-width: 100%;
        margin: 0;
    }

    #content .type-post .entry-content h2 {
        float: left;
        width: 100%;
    }
}

@media only screen and (max-width:320px) {}

.inner-grid-content {
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    /* Điều chỉnh lại tỷ lệ chuẩn: Trái 20%, Giữa 60%, Phải 20% */
    gap: 20px;
    align-items: start;
}

/* Fix lỗi Grid Blowout do Owl Carousel phá vỡ kích thước cột */
.inner-grid-content>* {
    min-width: 0;
}

.inner-grid-content-2 {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    align-items: start;
}

.inner-grid-content-2>* {
    min-width: 0;
}

@media only screen and (max-width: 900px) {

    .inner-grid-content,
    .inner-grid-content-2 {
        grid-template-columns: 1fr;
    }
}

/* Fix WooCommerce notice icons and layout */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 15px 15px 15px 50px !important;
    position: relative !important;
    background-color: #f7f6f7 !important;
    color: #515151 !important;
    border-top: 1px solid transparent !important;
    list-style: none outside !important;
    width: auto !important;
    word-wrap: break-word !important;
    display: flex !important;
    align-items: center !important;
    min-height: 50px !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
    font-family: "FontAwesome" !important;
    position: absolute !important;
    left: 20px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 16px !important;
    display: inline-block !important;
}

.woocommerce-info::before {
    content: "\f05a" !important;
    color: #1e85be !important;
}

.woocommerce-message::before {
    content: "\f00c" !important;
    color: #8fae1b !important;
}

.woocommerce-error::before {
    content: "\f071" !important;
    color: #b81c23 !important;
}