/*
Theme Name: pccc-theme
Template: flatsome
Version: 1.0
Author: Bui Tuan Huy
Description: Child theme for Flatsome
*/
/*header*/
.header .follow-icons .icon {
    background-color: #de0303 !important;
    color: #fff !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Hover hiệu ứng chuyển nền nhẹ */
.header .follow-icons .icon:hover {
    color: #fff !important;
}

.header-search i,
.header-search svg {
    color: #de0303!important
}
/*footer*/
.footer-title {
    position: relative;
    display: block;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #666;
}
.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 60px;
    height: 3px;
    background-color: red;
}
.footer-social-icons .social-box {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #3b5998;
    color: #fff;
    border-radius: 2px;
    text-decoration: none;
    transition: 0.3s ease;
}
.footer-social-icons .social-box:hover {
    background-color: #1e3c72;
}
.social-box.tw { background-color: #1da1f2; }
.social-box.mail { background-color: #00aaff; }
.social-box.in { background-color: #0077b5; }

.social-box.tw:hover { background-color: #117ab8; }
.social-box.mail:hover { background-color: #008fcc; }
.social-box.in:hover { background-color: #005983; }


/*Home page*/
.has-underline-red {
    display: inline-block;
    position: relative;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
}

.has-underline-red::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: red;
    margin: 10px auto 0;
    border-radius: 2px;
}


.blog-post {
    color: #d60000 !important;
}

.blog-post .post-excerpt {
    color: #111111 !important;
}

/*breadcrumb*/
.breadcrumbs {
    color: #ffffff !important;
    background-color: #de0303;
    padding: 10px 20px !important;
    font-weight: bold;
    text-transform: uppercase;
}

.breadcrumbs a:first-of-type {
    margin-left: 200px !important;
}

.breadcrumbs a {
    color: white !important;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* ✅ Ghi đè margin-left trên mobile */
@media screen and (max-width: 768px) {
    .breadcrumbs a:first-of-type {
        margin-left: 0 !important;
    }
}

.term-may-bom-pccc .breadcrumbs {
    background-color: transparent !important; /* hoặc inherit */
}



.social-float {
    position: fixed;
    bottom: 5%;
    left: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-btn {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Icon */
.social-btn img {
    width: 30px;
    height: 30px;
    position: relative;
    z-index: 3;
    animation: shake 2s infinite;
}

/* Viền trong */
.inner-border {
    position: absolute;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    z-index: 2;
}

/* Viền ngoài */
.outer-border {
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    z-index: 1;
    animation: pulse 2s infinite;
}

/* Mỗi nền riêng */
.fb .outer-border {
    background-color: rgba(59, 89, 152, 0.2); /* Facebook */
}
.zalo .outer-border {
    background-color: rgba(0, 153, 255, 0.2);  /* Zalo */
}
.phone .outer-border {
    background-color: rgba(255, 0, 0, 0.2);    /* Phone */
}

/* Viền trong có thể chỉnh nếu cần */
.fb .inner-border {
    background-color: #3b5998;
}
.zalo .inner-border {
    background-color: #0099ff;
}
.phone .inner-border {
    background-color: #de0303;
}

/* Lắc icon */
@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    20% { transform: rotate(12deg); }
    50% { transform: rotate(-12deg); }
    80% { transform: rotate(12deg); }
}

.social-btn img {
    animation: shake 0.5s infinite; /* ← thời gian lặp ngắn hơn (0.5s) */
}


/* Pulse ngoài */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}


/* Nút scroll to top */
.scroll-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #c40000;
    color: white;
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    border-radius: 5px;
    font-size: 18px;
    display: none;
    z-index: 9999;
}
.scroll-to-top:hover {
    background: #a10000;
    color: #fff;
}
@media (max-width: 849px) {
    .medium-flex-wrap .flex-col {
        flex-grow: 1 !important;
    }
    .page-wrapper{
        padding-top:10px !important;
    }
    .column_duan1{
        padding-left:0px !important;
        padding-right:0px !important;
    }
    .blog_duan1{
        margin-left:0px !important;
    }
}