/* reset a link */
#AdLayer1 a, #AdLayer2 a, #ad_middle_2, #ad_right_1 a, #PC_LEFT1 a  {
    display: block;
    line-height: 0px;
}

#AdLayer1 a, #AdLayer2 a, .lrdiv, #ad_middle_2, #ad_right_1 a, #PC_LEFT1{
    margin-bottom: 12px;
}

#ad_middle_2 {
    display: flex;
    justify-content: space-between;
}

#bottomFly{
    position: fixed !important;
    top: initial !important;
    bottom: 0 !important;
    margin-left: -10px;
}

.topnhacai {
    margin-bottom: 12px;
}

.slide_btn_container_mobile {
    display: none;
}
.slide_btn_container_desktop {
    display: block;
}

.slide_btn_content {
    max-width: 710px;
    width: 100%;
}

.btn_content_slider_swiper {
    width: 100%;
}

@media (max-width: 767px) {
    .slide_btn_container_mobile {
        display: block;
    }
    .slide_btn_container_desktop {
        display: none;
    }

    .topnhacai_container {
        width: 100%;
        max-width: 100vw;
    }

    .slide_btn_container_mobile {
        padding: 0 8px;
    }

    #div_ad_float {
        display: none;
    }
}

    
#slide_btn_container {
    /* display: none;; */
    padding: 0 8px;
}

.slide_btn_container {
    padding: 10px;
    border-radius: 4px;
    background-color: #fff;
    margin-bottom: 5px;
}

.slide_btn_container .slide_title {
    font-weight: bold;
    line-height: 16px;
    font-size: 12px;
}

.slide_btn_header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    margin-bottom: 10px;
}
    
.slide_btn_arrows {
    display: flex;
    gap: 8px;
}
    
.swiper-button-prev,
.swiper-button-next {
    width: 20px;
    height: 20px;
    background-color: #eee;
    border-radius: 4px; 
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
    

.swiper-button-prev::after {
    content: '\f104'; /* chevron-left */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: black;
}
.swiper-button-next::after {
    content: '\f105'; /* chevron-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: black;
}
    

#topAdDivNew1 {
    padding: 0px 8px 8px 8px;
    margin: 0 !important;
}

#topAdDivNew {
    position: absolute;
    z-index: 10;
    right: 10px;
    top: 40px;
    display: none;
}

#bottomFlyMobile {
    z-index: 2 !important;
    width: 100% !important;
}

#bottomFlyMobile a {
    display: block;
    padding: 0 8px;
    text-align: right;
}


#bottomFlyMobile a:last-child {
    text-align: center;
}

#topAdDivNew1 {
    display: none;
}


@media (max-width: 1199px) {
    #AdLayer1, #AdLayer2, #left_float_ad{
        display: none !important;
    }

    #topAdDivNew1 {
        display: block;
    }
}

@media (max-width: 1024px) {
    #returnTop {
        display: none;
    }

    .center {
        width: 100%;
    }
}

#btn_gift img {
    width: 100%;
}
.shake {
    animation: shake-rotate 0.7s infinite;
}

@keyframes shake-rotate {
    0%   { transform: rotate(0deg);}
    10%  { transform: rotate(-10deg);}
    20%  { transform: rotate(10deg);}
    30%  { transform: rotate(-10deg);}
    40%  { transform: rotate(10deg);}
    50%  { transform: rotate(-8deg);}
    60%  { transform: rotate(8deg);}
    70%  { transform: rotate(-4deg);}
    80%  { transform: rotate(4deg);}
    90%  { transform: rotate(0deg);}
    100% { transform: rotate(0deg);}
}

#main #right .adclass {
    margin-bottom: 5px;
}