body{
  	overflow: hidden;
}
p{
  	margin-bottom: 5px;
}
.nopadding_bottom{
  	padding-bottom: 0px !important;
}
.imgautowidth img{
  	width: auto;
  	display: table;
  	margin: 0 auto;
}

.header .header-main .header-nav-main > li > a{
    color: #ffffff;
    position: relative;
    font-size: 20px;
}
.header .header-main .header-nav-main > li > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%; /* Đặt ở chính giữa */
    width: 0; /* Ban đầu ẩn bằng cách cho chiều dài bằng 0 */
    height: 2px; /* Độ dày của đường line */
    background-color: #ffffff; /* Màu của đường line */
    transition: width 0.3s ease, left 0.3s ease; /* Tạo hiệu ứng mượt */
}
.header .header-main .header-nav-main > li > a:hover::after,
.header .header-main .header-nav-main > li.active > a::after{
    width: 100%; /* Khi hover sẽ tràn ra toàn bộ chiều rộng */
    left: 0; /* Đồng thời kéo điểm bắt đầu về sát mép trái */
}
.header-nav-main li ul {
    background-color: #fff;
    min-width: 300px;
}
.nav-dropdown-default {
    padding: 0;
    border: none !important;
}
.nav-dropdown-has-arrow.nav-dropdown-has-border li.has-dropdown:before,
.nav-dropdown-has-arrow.nav-dropdown-has-border li.has-dropdown:after{
    display: none;
}

.header-main .header-nav-main li ul li a{
    color: #000000;
    transition: all .5s;
}
.header-main .header-nav-main li ul li a:hover{
    padding-left: 25px !important;
    transition: all .5s;
    color: #a91018 !important;
}
.header-main .header-nav-main > li > ul > li{
    width: 100%;
    position: relative;
    display: table;
}
.header-main .header-nav-main > li ul li.menu-item-has-children a,
.header-main .header-nav-main > li ul li.active a{
    color: #a91018;
}
.header-main .header-nav-main > li ul li.menu-item-has-children a{
    color: #000000;
}
.header-main .header-nav-main > li ul li ul{
    border: 1px solid #ffffff52 !important;
    margin-top: -40px;
    box-shadow: 2px 2px 5px #828282;
    display: none;
    position: absolute;
    left: 100%;
    z-index: 9;
    background-color: #0076be;
    min-width: 300px;
}
.header-main .header-nav-main > li ul li:hover > ul{
    display: block !important;
}
.header-main .header-nav-main > li ul li.active>ul.sub-menu{
    display: none !important;
}
#header .header-main .header-nav-main > li ul li.active:hover > ul.sub-menu{
    display: block !important;
}
.header-nav-main > li > ul li.menu-item-has-children > a:hover:after {
    transform: rotate(45deg);
    transition: all .3s;
}
.header-nav-main > li > ul li.menu-item-has-children > a:after {
    content: "";
    position: absolute;
    top: 15px;
    right: 3px;
    width: 8px;
    height: 8px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(135deg);
    transition: all .3s;
}
h1, h2, h3, h4, h5, h6, .heading-font{
    margin: 0;
}

@media (min-width: 850px){
    header#header .nav-dropdown {
        display: block;
    }
    header#header .nav-dropdown ul.sub-menu {
        position: absolute;
        right: 100%;
        left: inherit;
        top: calc(100% - 2px);
        background: #fff;
        width: 250px;
        padding: 0;
        display: none !important;
        -webkit-box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
        box-shadow: 1px 1px 15px rgb(0 0 0 / 15%);
    }
    header#header .nav-dropdown ul.sub-menu a {
        white-space: normal;
        margin: 0;
        padding: 10px 15px;
        border: 0;
        font-weight: 400;
        white-space: normal;
        margin: 0;
        padding: 10px 15px;
        border: 0;
        border-bottom: 1px solid rgb(236, 236, 236);
    }
    header#header .nav-dropdown li:hover > ul.sub-menu{
        display: block !important;
    }
    header#header .nav-dropdown li {
        border-right: 0;
        white-space: normal;
        width: 100%;
        display: block;
        position: relative;
    }
    header#header .nav-dropdown li a{
    	margin: 0;
    	padding: 10px 15px;
    }
    header#header .nav-dropdown li.menu-item-has-children > a {
        color: #000000;
        text-transform: unset;
        font-size: 16px;
        font-weight: normal;
    }
    header#header .nav-dropdown li.active>a {
        color: #a91018;
    }
}

.nav-spacing-xlarge>li {
    margin: 0 20px;
}
.absolute-footer.dark{
    display: none;
}
.colFirtFooter .col-inner{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
    flex-flow: wrap;
}
#header{
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
body.home #header #wrapper{
    background-image: none !important;
}
.category .blog-wrapper.blog-archive .archive-page-header{
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('../img/bgheaderpahechild.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.category .blog-wrapper.blog-archive .archive-page-header:after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: hsl(0deg 0% 0% / 82%);
    top: 0;
    left: 0;
}
a.button:not(.icon){
    font-family: Oswald, sans-serif;
    font-size: 19px;
    height: 50px;
}
a.button:not(.icon) span{
    position: relative;
}
.pswp__bg, .mfp-bg.mfp-ready {
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
    opacity: 1;
    background-color: rgb(0 0 0 / 15%);
}
.header-nav-main > li > .header-button{
    position: relative;
}
.header-nav-main > li > .header-button a{
    height: 40px;
    min-height: 40px;
    color: #c01414;
    line-height: 35px;
    font-size: 17px;
    font-weight: normal;
    padding-left: 40px;
    padding-right: 18px;
    position: relative;
}
.header-nav-main > li > .header-button a:before{
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url(../img/iconApply.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 9px;
    left: 15px;
}
#header .header-nav-main > li > .header-button a:hover,
#header .header-nav-main > li > .header-button a:hover span{
    box-shadow: none !important;
    color: #70060b !important;
    background-color: #fff !important;
}

.header-nav-main > li > .header-button::before,
.header-nav-main > li > .header-button::after{
    content: ""; /* Bắt buộc phải có thuộc tính này */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 99px; /* Khớp với border-radius của button */
    background-color: #fff;
    z-index: -1; /* Nằm ẩn dưới lớp chữ của button */
    /* Gọi animation tỏa liên tục */
    animation: pulse-effect 1.5s infinite ease-out;
}
.header-nav-main > li > .header-button::after{
    animation: pulse-effect 0.8s infinite ease-out;
}
@keyframes pulse-effect {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1.3, 1.5); /* Tỏa rộng theo chiều ngang và dọc */
        opacity: 0; /* Mờ dần khi lan ra xa */
    }
}
.pll-parent-menu-item a img{
    transform: scale(1.6);
    transform-origin: center;
    border: 1px solid #fff;
}
.pll-parent-menu-item ul li a img{
    border: none;
    transform: scale(1.4);
    box-shadow: rgb(0 0 0 / 64%) 0px 14px 28px, rgb(0 0 0 / 50%) 0px 2px 10px;
}
.header .header-main .header-nav-main > li.pll-parent-menu-item > a::after{
    display: none;
}
.header .header-main .header-nav-main > li.pll-parent-menu-item > ul.sub-menu{
    min-width: 45px;
}
li.pll-parent-menu-item > a i{
    display: none;
}
.header-main .header-nav-main li.pll-parent-menu-item ul li a:hover{
    padding-left: 15px !important;
}
header#header .nav-dropdown li.pll-parent-menu-ite a{
    padding: 6px 12px;
}
.BoxSearchPost{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: wrap;
}
#BlogAjaxSearchInput{
    margin-bottom: 0;
    border: none;
    box-shadow: none;
    min-width: 360px;
    border-bottom: 2px solid #000;
    height: 45px;
    position: relative;
    background-image: url('../img/iconsearchok.png');
    background-position: top 13px right 10px;
    background-repeat: no-repeat;
    background-size: 21px;
}

/*Css Polylang Select*/
.devmd-lang-switcher{
    position:relative;
    display:inline-block;
    min-width:100px;
}

.devmd-current-lang{
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: #fff;
    border-radius: 20px;
    padding: 5px 20px;
    border: 1px solid #eee;
    height: 40px;
}

.devmd-current-lang img{
    width:24px;
    height:auto;
}

.devmd-current-lang span.codelangDevmd{
    font-weight: bold;
    top: 1px;
    position: relative;
}
.devmd-current-lang .devmd-arrow i.icon-angle-down{
    top: 2px;
}

.devmd-arrow{
    margin-left:auto;
}

.devmd-lang-dropdown{
    position:absolute;
    top:100%;
    left:0;
    min-width:100%;
    background:#fff;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
    padding:8px;
    margin-top:8px;

    opacity:0;
    visibility:hidden;
    transform:translateY(10px);

    transition:.25s;
    z-index:9999;
}

.devmd-lang-switcher.active .devmd-lang-dropdown{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.devmd-lang-item{
    display:flex;
    align-items:center;
    gap:10px;
    padding:5px 12px;
    border-radius:10px;
    color:#333;
    text-decoration:none;
}

.devmd-lang-item:hover{
    background:#f5f5f5;
}

.devmd-lang-item img{
    width:24px;
}

.devmd-check{
    margin-left:auto;
    font-weight:700;
}

.devmd-lang-item.active{
    background:#f5f7fa;
}