@keyframes shake {
    0% { transform: translate(1px, 1px) rotate(0deg); }
    10% { transform: translate(-1px, -2px) rotate(-1deg); }
    20% { transform: translate(-3px, 0px) rotate(1deg); }
    30% { transform: translate(3px, 2px) rotate(0deg); }
    40% { transform: translate(1px, -1px) rotate(1deg); }
    50% { transform: translate(-1px, 2px) rotate(-1deg); }
    60% { transform: translate(-3px, 1px) rotate(0deg); }
    70% { transform: translate(3px, 1px) rotate(-1deg); }
    80% { transform: translate(-1px, -1px) rotate(1deg); }
    90% { transform: translate(1px, 2px) rotate(0deg); }
    100% { transform: translate(1px, -2px) rotate(-1deg); }
}
.shake {
	animation: shake 0.5s 2;
}
.header-block {
		width: auto;
}
.header-nav-main.nav-line-bottom > li > a:before {
		background-color: #FF7293 !important;
		height: 6px;
		bottom: 6px;
		left: 0;
		transform: skew(-20deg);
}
#main, #wrapper {
		background-color: #EFEFEF;
}
.section.h-section {
    border-radius: 12px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: white;
}
.h-section .flickity-viewport .img {
    padding: 0 6px;
}
.h-section .flickity-viewport .img .img-inner::after {
    content: "";
    display: block;
    background-image: url(../img/datcuoc.svg);
    background-size: 100% 100%;
    width: 100%;
    padding-top: 19.1%;
    margin-top: 4px;
}
.h-section .flickity-prev-next-button {
    top: 10%;
    color: var(--fs-color-primary);
}
.col-inner>.img:not(:last-child), .col>.img:not(:last-child) {
    margin-bottom: 8px;
}
.slider-nav-light .flickity-prev-next-button .arrow, .slider-nav-light .flickity-prev-next-button svg {
	fill: var(--fs-color-primary);
}
.icon-box-img img, .icon-box-img svg {
	padding-top: 0;
}
#footer a {
	color: #fff;
}
#footer .icon-box {
	align-items: center;
	margin-bottom: 8px;
	justify-content: center;
    flex-flow: nowrap;
}
#footer .icon-box * {
	margin-bottom: 0;
    width: fit-content;
}
#footer .icon-box .icon {
    line-height: 1;
}
.absolute-footer {
	display: none;
}
.h-copyright * {
	width: fit-content;
    margin-bottom: 0;
}
.h-nq {
	display: flex;
    padding: 10px 20px !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: inherit !important;
}
.h-nq::before {
    content: "";
    display: block;
    background-image: url(../img/nq.svg);
    background-size: 100% 100%;
    width: 28px;
    padding-top: 28px;
	animation: shake 0.5s infinite;
}
.logo a {
	max-width: 200px;
}
.header-block .gif-banner {
    position: absolute;
    right: 0;
    width: 369px !important;
    display: none;
}
.header-block .gif-banner .x {
    font-size: 0;
    background-image: url(../img/x.svg);
    background-size: 100% 100%;
    width: 24px;
    height: 25px;
    position: absolute;
    top: 12px;
    left: 5px;
}
.h-homeBlog1 {
	padding: 20px !important;
    border-radius: 12px;
    width: auto;
    /* width: 57.5%; /**/
}
.h-homeBlog1 .post-item {
	padding-top: 64px !important;
	padding-bottom: 14px !important;
	margin-bottom: 14px;
    border-bottom: 1px solid #D5D5D5;
}
.h-homeBlog1 .post-item:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
    border-bottom: none;
}
.h-homeBlog1 .post-item .col-inner,
.h-homeBlog1 .post-item .box,
.h-homeBlog1 .post-item .box-text {
	position: static;
}
.h-homeBlog1 .post-item:nth-child(2) .col-inner {
	padding: 0px !important;
}
.h-homeBlog1 .post-item .box-text {
	padding-left: 20px;
    padding-top: 0;
}
.h-homeBlog1 .post-title {
	position: absolute;
    left: 0;
    top: 0;
    font-size: 20px;
}
.h-homeBlog2 {
    /* width: 42.5%; /**/
    overflow-y: auto;
    align-items: flex-start;
    max-height: 670px;
}
.align-equal .h-homeBlog2 {
    position: absolute;
    min-height: 300px;
    max-height: 100%;
}
.h-homeBlog2::-webkit-scrollbar {
    width: 4px;
}
.h-homeBlog2::-webkit-scrollbar-track {
    background: unset;
}
.h-homeBlog2::-webkit-scrollbar-thumb {
    background: #ff6584;
    border-radius: 10px;
}
.h-homeBlog2 .post-item {
	padding-top: 0 !important;
}
.h-homeBlog2 .post-title {
	position: static;
    font-size: 16px;
    overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 2; /* number of lines to show */
   line-height: 22px;        /* fallback */
   max-height: 44px;       /* fallback */
}
.lead shortcode-error {
	display: none !important;
}
.c-footer-cashfish{
    position:fixed;
    bottom:0;
    z-index:9999;
    width: 100%;
}
@media only screen and (max-width: 550px) {
    #content {
        padding-left: 15px;
        padding-right: 15px;
    }
    .h-homeBlog1, .h-homeBlog2 {
        width: 100%;
    }
    .align-equal .h-homeBlog2 {
        position: static;
        max-height: 570px;
    }
    .h-homeBlog1 .box {
        display: table;
        width: 100%;
    }
    .h-homeBlog1 .box .box-image, .h-homeBlog1 .box .box-text {
        direction: ltr;
        display: table-cell;
        vertical-align: middle;
    }
    .h-homeBlog1 .box-image {
        width: 47% !important;
    }
    .h-homeBlog1 .post-title {
        font-size: 18px;
    }
    .h-homeBlog2 .box-image {
        width: 39% !important;
    }
    .h-homeBlog2 .post-title {
        font-size: 16px;
    }
    .absolute-footer {
        display: block;
    }
    .icon-box-left .icon-box-text {
        flex: none;
    }
    #footer .icon-box .icon-box-img {
    	width: 15px !important;
    }
    .icon-box-left .icon-box-img+.icon-box-text {
    	padding-left: 5px;
    }
    .ux-menu-title,
    .ux-menu-link__link {
        min-height: auto;
    }
    .h-nq {
    	padding: 0 !important;
    }
    .h-nq span {
    	display: none;
    }
}

@media(min-width: 850px) {
    .slider-nav-outside .flickity-prev-next-button.next {
        left: 98.5%;
    }

    .slider-nav-outside .flickity-prev-next-button.previous {
        right: 98.5%;
    }
}