.p-50 {
    padding: 0 43px;
}

.color-blog {
    color: rgb(33, 59, 85) !important;
}

#footer {
    margin-top: 24px;
}

.bg-post {
    /* padding: 0px 10px; */
    background-color: #fafbfc;
}

.bg-white {
    padding: 20px 30px;
    background: #d7d7d7;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

/* css chính cho nội dung bài viết  */

.post__asfy {
    color: rgb(17, 24, 39);
}

.post__asfy h1 {
    color: rgb(17, 24, 39);
    font-size: 30px;
    line-height: 45px;
    font-weight: 700;
    font-style: normal;
    text-align: justify;
    position: relative;
}

.rotate-magnet {
    display: inline-block;
    transform: rotateY(180deg);
    font-size: 10px;
    position: absolute;
    left: -16px;
    top: 2px;
}

.post_content__asfy {
    margin-top: 20px;
}

.post__asfy img {
    width: 100%;
}

.asfy__comment #comments img {
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.post__asfy .wp-block-image {
    text-align: center;
}

.author__and__date .date img {
    width: 18px;
    padding-bottom: 3px;
}


.logo_now {
    text-decoration: none;
    background-color: #50dcaa;
    box-sizing: border-box;
    box-shadow: none;
    border: none;
    margin-bottom: 10px;
    border-radius: 0.25rem;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: bold;
    line-height: 2rem;
    color: rgb(33, 59, 85);
    padding: 3px 14px;
    pointer-events: auto;
    transition: text 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


#message {
    resize: none;
}


.custom-border:hover,
.custom-border:focus {
    border-color: #f4b400; /* Màu vàng theo ý bạn */
    box-shadow: 0 0 0 0.2rem rgba(244, 180, 0, 0.25); /* Hiệu ứng shadow nhẹ */
    outline: none; /* Bỏ viền outline mặc định */
}




.table-responsive {
    margin-bottom: 20px;
}

.author {
    text-transform: uppercase;
}

.author__and__date {
    display: flex;
    justify-content: space-between;
}

.post_content__asfy {
    text-align: justify !important;
    margin-bottom: 50px;
}


.action__share {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.action__share h5 {
    font-weight: 500;
    padding-top: 8px;
    line-height: 1.45;
    font-size: 18px;
    margin-right: 32px;
    color: #3A4F66 !important;
}

.action__share a {
    text-decoration: none;
}

.action__share svg {
    width: 34px;
    height: 34px;
}

.permalink {
    margin-top: 20px;
    text-align: center;
}

.permalink input {
    width: 300px;
    border-radius: 5px 0 0 5px;
    text-align: center;
    border: none;
    outline: none;
    background-color: rgb(222, 222, 222);
    padding: 4px 20px;
    font-size: 16px;
    font-weight: bold;
    background: linear-gradient(90deg, #f4b400, #db4437, #0f9d58);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
    border: 1px solid;

}

.permalink span {
    padding: 6px 35px;
    background: #f4b400;
    border-radius: 0 5px 5px 0;
    margin-left: -5px;
    transform: scale(0.5);
}


.permalink span svg {
    width: 18px;
    padding-bottom: 5px;
}

.permalink span:hover {
    cursor: pointer;
}

@media (max-width: 576px) {
    /* css cho comment và chia sẻ  */

    .permalink input {
        width: 246px;
    }

}

@media (max-width: 430px) {
    /* css cho comment và chia sẻ  */

    .permalink input {
        width: 200px;
    }

}

@media (max-width: 390px) {
    /* css cho comment và chia sẻ  */

    .permalink input {
        width: 183px;
    }

}

/* css cho form comment  */

@media (min-width: 576px) {
    .d-sm-comment {
        display: flex !important;
        flex-direction: row;
        align-items: center;
    }
}


.asfy__comment {
    margin-top: 50px;
    background-color: #fafbfc;
    border-radius: 10px;
    padding: 10px 20px;
}

.asfy__comment h4 {
    font-size: 1.2rem;
    font-weight: 500;
}

.asfy__comment form .form-control {
    font-size: 0.875rem;
    padding: 8px 12px;
}

.asfy__comment .media img {
    max-width: 40px;
    /* Kích thước nhỏ cho ảnh đại diện */
}

.asfy__comment .media-body {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
    margin-top: 15px;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.asfy__comment .media-body::before {
    content: "";
    position: absolute;
    top: -35px;
    /* Di chuyển lên để viền nằm ngoài mũi nhọn */
    left: -1px;
    /* Điều chỉnh vị trí cho phù hợp */
    border-width: 22px 32px;
    /* Kích thước lớn hơn một chút để làm viền */
    border-style: solid;
    border-color: transparent transparent #fefbfb transparent;
    /* Màu viền */
    z-index: 1;
    /* Đưa viền ra phía sau */
}

.asfy__comment .media-body::after {
    content: "";
    position: absolute;
    top: -31px;
    left: 0;
    border-width: 20px 30px;
    border-style: solid;
    border-color: transparent transparent #f8f8f8 transparent;
    /* Màu nền của phần nhọn */
    z-index: 2;
    /* Đưa phần nội dung ra phía trước */
}

.asfy__comment .media-body h6 {
    font-size: 1rem;
    font-weight: 600;
}

.asfy__comment .media-body p {
    font-size: 0.875rem;
    margin-bottom: 5px;
}

.asfy__comment .media-body ul {
    font-size: 0.75rem;
}

.asfy__comment .media-body ul.list-inline li {
    padding-right: 10px;
}

.asfy__comment button.btn {
    font-size: 0.875rem;
    padding: 5px 10px;
}

.asfy__comment .media-body .list-inline a {
    font-size: 0.75rem;
}


.icon-schedule {
    font-size: 14px;
}

.icon-schedule img {
    width: 16px;
    padding-bottom: 2px;
}

.icon-schedule svg {
    width: 20px;
    height: 20px;
    padding-bottom: 3px;
}


.action-comment a {
    text-decoration: none;
    color: rgb(17, 24, 39);
}

.action-comment svg {
    width: 16px;
    margin-bottom: 2px;
}


/* css cho trang liên hệ  */

.bg-contact {
    padding: 0px 10px;
    /* background-color: #0078c8; */
    /* background-color: #6fefc1; */
}

.asfy__contact {
    margin-top: -20px;
    /* background-color: #6fefc1; */
    border-radius: 20px 20px 0 0;
    padding: 10px 20px;
}


.asfy__contact .asfy__form__contact h2 {
    font-size: 2.5rem;
    font-family: "AffirmPosition", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 35px;
    line-height: 55px;
}



.asfy__contact .asfy__form__contact h2 span {
    font-size: 2.5rem;
    /* Kích thước chữ */
    font-weight: bold;
}

.asfy__form__contact .contact__text {
    text-align: center;
}

.asfy__form__contact {
    padding: 50px 20px;
}

.asfy__form__contact .contact__text .contact__text__item {
    text-align: justify;
    font-size: 0.875rem;
}

.asfy__form__contact .contact__text .contact__text__item svg {
    width: 18px;
    padding-bottom: 2px;
}

.div__contact p {
    margin-bottom: 3px;
}

.b-right {
    border-right: 1px solid rgb(17, 24, 39);
}

.b-left {
    border-left: 2px solid transparent;
}

@media screen and (max-width: 768px) {

    .b-left {
        border-left: 2px solid rgb(246, 145, 52);
        margin-left: 15px;
        max-width: 90%;
        margin-bottom: 10px;
    }

    .b-right {
        border-right: 1px solid transparent;
    }

    .bg-contact {
        background: none;
    }


    .info__post li.info__update {
        padding-left: 0 !important;
    }

}



.list__method__contact {
    text-align: justify;
}

.list__method__contact img {
    width: 39px;
    margin-right: 30px;
}

.list__method__contact span {
    display: inline-block;
    width: 5px;
    height: 5px;

    border-radius: 50%;
    position: absolute;
    left: -12px;
    top: 30%;
}

.spanZalo span {
    background-color: #f69134;
}

.spanPhone span {
    background-color: #2686ec;
}

.spanSocial span {
    background-color: #f5349d;
}

.spanZalo,
.spanPhone,
.spanSocial {
    font-weight: 500;
}

.asfy__zalo,
.asfy__telephone,
.asfy__social {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
}

.list__method__contact h3 {
    font-size: 18px;
    margin-left: 19px;

}

.asfy__telephone h3 {
    line-height: 26px;
}

.list__method__contact a {
    text-decoration: none;
    color: #FFFFFF;
}

.asfy__zalo {
    width: 100%;
    height: 96px;
    border-radius: 15px;
    background-color: #f69134;
}

.asfy__telephone {
    width: 100%;
    height: 96px;
    border-radius: 15px;
    background-color: #2686ec;
}


.asfy__social {
    width: 100%;
    height: 96px;
    border-radius: 15px;
    background-color: #f5349d;
}


.p-relative {
    position: relative;
}

.form-control-plaintext,
.form-call {
    color: #333;
    border-bottom: 1px solid #ecf0f1;
}

.box__form__main {
    border-radius: 15px;
    background-color: #FFFFFF;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
}

.box__form__main form {
    padding: 30px 30px;
}

.form-call {
    padding-bottom: 10px;
}

.form-call label#lable-call {
    color: #a7a7a7;
}

.form-call #lable-call {
    padding-bottom: 10px;
}

.buttonBox {
    padding: 20px 0;
}

.buttonBox button {
    width: 100%;
    border-radius: 5px;
    padding: 15px 10px;
    font-weight: 700;
    /* background: linear-gradient(to right, #f69134, #f6b334); */
    background-color: #50dcaa;
    color: #fff;
    /* Đặt màu chữ để hiển thị rõ */
    border: none;
    /* Nếu muốn xóa viền mặc định của button */
}

.box__form__main h3 {
    font-size: 23px;
    /* Kích thước chữ */
    font-weight: bold;
}

@media screen and (max-width: 756px) {
    .asfy__form__contact {
        padding: unset;
    }

    .asfy__contact {
        padding: 20px 9px;
    }
}


.asfy__zalo,
.asfy__telephone,
.asfy__social {
    position: relative;
    transform: translateY(0);
    transition: transform 0.5s ease;
    /* Thêm transition để mượt mà khi trở lại */
}

.asfy__zalo:hover {
    transform: translateY(-10px);
    /* Sử dụng transform thay vì animation */
}


.asfy__telephone:hover {
    transform: translateY(-10px);
}

.asfy__social:hover {
    transform: translateY(-10px);
}

.asfy__zalo img {
    transition: transform 0.5s ease;
}

.asfy__telephone img {
    transition: transform 0.5s ease;
}


.asfy__social img {
    transition: transform 0.5s ease;
}



.asfy__telephone img {
    transition: transform 0.5s ease;
}

.asfy__social img {
    transition: transform 0.5s ease;
}

.asfy__zalo:hover img {
    transform: scale(1.5);
}

.asfy__telephone:hover img {
    transform: scale(1.5);
}

.asfy__social:hover img {
    transform: scale(1.5);
}

/* // css thêm cho chi tiết bài viết  */


.post__detail__title h1 {
    color: #FFFFFF;
    font-size: 43px;
    line-height: 57px;
    font-weight: 700;
    font-style: normal;
    text-align: center;
    position: relative;
}


@media screen and (max-width: 768px) {

    .post__detail__title h1 {
        font-size: 24px;
        line-height: 36px;
    }

    .bg-post__head ul.info__post {
        display: flex !important;
        flex-direction: column;
        margin: 0;
        padding: 0;
    }

    .bg-post__head ul.info__post li{
        border-left: 1px solid #FFFFFF;
        padding-left: 8px !important;
        border-right: unset !important;
    }

    .post__detail__title h1 {
        text-align: justify;
    }

    .bg-post__head ul.info__post li{
        margin: 8px 0;
    }

    .bg-post__head ul.info__post li:not(li:last-child, li:first-child) {
        border-right: none !important;
    }

    .bg-post__head ul.info__post li:not(li:first-child, li:last-child) {
        /* padding-left: 30px !important; */
        /* padding-right: unset !important; */
    }

    .bg-post__head ul.info__post li:last-child {
        /* padding-left: unset !important; */
        /* margin-top: 10px; */

    }

    .bg-post__head ul.info__post li:first-child {
        margin-right: 15px;
    }
}

@media screen and (max-width: 412px) {

    .post__detail__title h1 {
        font-size: 18px;
        line-height: 36px;
    }

    .bg-post__head ul.info__post li:not(li:first-child, li:last-child) {
        /* padding-left: unset !important; */
        padding-right: 30px !important;
    }


    /* .bg-post__head ul.info__post li:not(li:last-child, li:first-child) {
        border-right: 1px solid #FFFFFF !important;
    } */

    .bg-post__head ul.info__post li:last-child {
        padding-left: 10px !important;
    }

}

.bg-post__head ul.info__post {
    display: block;
    width: 100%;
    /* border-bottom: 2px solid #FFFFFF; */
    /* padding-left: 0; */
}

.bg-post__head ul.info__post li {
    list-style: none;
    display: inline-block;
    color: #FFFFFF;
}

.bg-post__head ul.info__post li:first-child {
    padding-right: 30px;
}

.bg-post__head ul.info__post li:first-child span {
    text-transform: uppercase;
}

.bg-post__head ul.info__post li:last-child {
    padding-left: 30px;
}

.bg-post__head ul.info__post li:not(li:first-child, li:last-child) {
    padding: 0 30px;
}

.bg-post__head ul.info__post li:not(li:last-child) {
    border-right: 1px solid #FFFFFF;

}

@media screen and (min-width: 769px) {
    .bg-post__head ul.info__post{
        text-align: center;
    }
}


.bg-post__head .row-breadcum {
    padding-top: 20px;
}

.bg-post__head ul.info__post {
    padding-bottom: 30px;
}

.action__share .svg_share {
    width: 28px;
    height: 28px;
}

.content-item .box_center {
    padding: 10px 0;
    justify-content: center;
}

.push_comment {
    background-color: #50dcaa;
    box-sizing: border-box;
    box-shadow: none;
    border: none;
    margin-bottom: 10px;
    border-radius: 0.25rem;
    font-family: inherit;
    font-size: 14px !important;
    font-weight: bold;
    line-height: 2rem;
    color: rgb(33, 59, 85);
    padding: 3px 14px;
    pointer-events: auto;
    transition: text 0.05s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}


.box_op_cmm {
    width: 200px;
    height: 100px;
    background: #f4b400;
    opacity: 1;
    transition: opacity 1s ease; /* Hiệu ứng chuyển đổi độ mờ */
}

.fade-out {
    opacity: 0; /* Thiết lập độ mờ về 0 */
}

.post_content__asfy h1 { font-size: 26px; }
.post_content__asfy h2 { font-size: 23px; }
.post_content__asfy h3 { font-size: 20px; }
.post_content__asfy h4 { font-size: 18px; }
.post_content__asfy h5 { font-size: 16px; }
.post_content__asfy h6 { font-size: 15px; }
