@media (max-width: 767px) {
    .header_bottom .wrap-content {
        justify-content: center !important;
        flex-wrap: wrap;
    }
    .btn-frame,.owl-nav {
        display: none;
    }
    .box-title-chung-nhan-content span {
        color: white;
        font-family: iciel;
        font-size: 20px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }
    
    .box-one-home {
        background: url(../images/TempImages/bg-header_01.png) no-repeat center / cover;
        padding: 10px 7px;
        gap: 10px;
        margin-top: 10px;
    }
    .box-one-home .info .title span:first-child,
    .box-one-home .info .title span:last-child {
        font-size: 19px;
    }
    .box-one-home .info .slogan span:first-child,
    .box-one-home .info .slogan span:last-child {
        font-size: 14px;
        color: white;
    }
    .box-one-home .logo-home {
        flex-shrink: 0;
        max-width: 80px;
    }
    .box-one-home .slogan{
        display: flex ;
        flex-direction: column;
        justify-content: center;
    }
    .wrap-news-nb {
        margin-bottom: 20px;
    }
    .box-header-info {
        margin-right: 0;
    }
    .box-header-login{
        margin-bottom: 0;
    }
    .box-right-header{
        display: none;
    }
    .dk-header a {
        color: #fff;
        /* font-family: Inter; */
        font-size: 13px;
        font-style: normal;
        font-weight: 700;
        line-height: 27px;
        letter-spacing: -0.28px;
        text-transform: uppercase;
        margin: 0 10px;
    }
    .box-header-login {
        background: unset;
        padding: 0 5px;
    }
    a.logo-header {
        flex-shrink: 0;
        order: 1;
        zoom: 0.6;
    }

    .header-email {
        display: none;
    }

    .menu {
        display: none;
    }

    .title-main-2 {
        margin-bottom: 0px;
    }

    .menu-bar-res {
        padding: 10px 15px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        background: #a00000;
        justify-content: space-between;
    }

    .wrap-main,
    .wrap-content {
        width: auto;
        max-width: 1200px;
        margin: 30px auto;
    }

    .w-100 {
        max-width: 100% !important;
    }

    .box-header-login {
        justify-content: center;
    }
    .title_ft {
        margin-bottom: 10px;
        color: var(--TRNG, #fff);
        font-family: hk;
        font-size: 30wpx;
        font-style: normal;
        font-weight: 700;
        background: var(--main-2, linear-gradient(180deg, #e9a51f 0%, #f9cb53 55.73%, #ecb831 100%));
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        margin-top: -26px;
    }
    .slogan-main {
        text-align: center;
        font-size: 10px;
        font-weight: 800;
       
    }

    .input-header {
        /* max-height: 25px; */
        border-radius: 3px;
        border: 1px solid #b1b1b1;
        background: #f5f5f5;
        text-indent: 14px;
        margin-right: 0px;
        height: 100%;
    }

    .tabthongkexoso {
        display: flex;
        /* width: 100%; */
        /* float: left; */
        text-align: center;
        flex-wrap: wrap;
        padding: 0;
    }

    .padding-main {
        padding: 20px 0;
    }

  
    form#frm_thongkekqxsmn tr {
        display: flex;
        flex-wrap: wrap;
    }

    .hotline,
    .show_order {
        display: none;
    }

    #main_left,
    #main_right {
        width: 100%;
        position: sticky;
        top: 60px;
    }

    .content_phongthuy ul li {
        min-height: 115px;
        width: calc(100% / 3);
        /* float: left; */
        display: flex;
        flex-direction: column;
        display: flex;
        flex-direction: column;
        /* float: left; */
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 0px;
    }

    .content_phongthuy ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        padding: 0;
        margin-bottom: 0;
    }

    /* Mmenu */

    .header_bottom {
        position: relative;
        z-index: 10;
        padding: 0px 0;
        text-align: center;
    }

    .wrap-main,
    .wrap-content {
        width: auto;
        max-width: 1200px;
        margin: 0px auto;
        padding: 0 15px;
    }

    .wrap-main {
        width: 1300px;
        /* background: url(../images/bg_main.png); */
        padding: 0px 0;
        margin: 0 auto;
        position: relative;
        z-index: 0;
    }

    .menu-res {
        z-index: 100;
        background: #a00000;
        position: relative;
    }

    .header-under-banner span {
        padding: 4px 20px;
        border-radius: 10px;
        background: rgb(231, 148, 23);
        background: linear-gradient(
            357deg,
            rgba(231, 148, 23, 1) 0%,
            rgba(248, 201, 81, 1) 54%,
            rgba(231, 148, 23, 1) 100%
        );
    }

    .menu-bar-res {
        padding: 10px 15px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        background: #a00000;
        justify-content: space-between;
    }

    .header_bottom .wrap-content {
        justify-content: center !important;
        flex-direction: column-reverse;
    }
    .tab_phongthuy ul {
        list-style: none;
        /* margin: 0 15%; */
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    #menu {
        display: none;
    }

    #hamburger {
        display: block;
        width: 45px;
        height: 23px;
        position: relative;
    }

    #hamburger:before,
    #hamburger:after,
    #hamburger span {
        background: #ffffff;
        content: "";
        display: block;
        width: 100%;
        height: 3px;
        position: absolute;
        left: 0px;
    }

    #hamburger:before {
        top: 0px;
    }

    #hamburger span {
        top: 10px;
    }

    #hamburger:after {
        top: 20px;
    }

    #hamburger:before,
    #hamburger:after,
    #hamburger span {
        -webkit-transition: none 0.5s ease 0.5s;
        transition: none 0.5s ease 0.5s;
        -webkit-transition-property: transform, top, bottom, left, opacity;
        -webkit-transition-property:
            top,
            bottom,
            left,
            opacity,
            -webkit-transform;
        transition-property:
            top,
            bottom,
            left,
            opacity,
            -webkit-transform;
        transition-property: transform, top, bottom, left, opacity;
        transition-property:
            transform,
            top,
            bottom,
            left,
            opacity,
            -webkit-transform;
    }

    .mm-wrapper_opening #hamburger:before,
    .mm-wrapper_opening #hamburger:after {
        top: 10px;
    }

    .mm-wrapper_opening #hamburger span {
        left: -50px;
        opacity: 0;
    }

    .mm-wrapper_opening #hamburger:before {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .mm-wrapper_opening #hamburger:after {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .mm-menu_opened {
        display: block !important;
    }

    .mm-slideout {
        z-index: unset;
    }

    .advertise1 {
        width: 0;
        /* background: url(../images/bg_main.png); */
        padding: 0px 0;
    }

    .row_loto1 {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }

    .tab_phongthuy li {
        width: 30%;
        /* float: left; */
        /* margin-right: 2%; */
        text-align: center;
        font-size: 12px;
        /* font-family: 'RobotoBold'; */
        margin: 0 00px;
    }

    .radio_result {
        margin-bottom: 2px;
        flex-wrap: wrap;
    }

    .tab_phongthuy li a,
    .wm-cn a {
        font-size: 13px;
        display: block;
        padding: 10px 0px;
        color: #fff;
        text-transform: uppercase;
        background-color: #a00000;
        border: 1px solid #a00000;
        font-weight: 600;
        border-radius: 5px;
    }

    td.tb-td {
        display: flex;
        flex-wrap: wrap;
    }

    .wrap-main {
        width: auto;
        /* background: url(../images/bg_main.png); */
        padding: 0px 0;
        margin: 0 auto;
        position: relative;
        z-index: 0;
    }

    .footer {
        background-size: cover;
        padding: 15px;
        text-align: center;
    }

    .wrap-feedback {
        background-size: cover;
        padding: 20px 0;
        background-color: #f7f7f7;
    }

    .box-nhabao {
        width: 60%;
        margin: 10px auto;
    }

    .feedback-image {
        text-align: center;
        background: white;
        padding: 10px 10px 50px 10px;
        border-radius: 15px;
        box-shadow: 0px 6px 9px #ccc;
    }

    .bangkqxs_link a {
        display: inline-block;
        padding: 0px 10px 0px 0px;
        margin: 5px 0px 0px 0px;
        border-radius: 5px;
        color: #fff;
        position: relative;
        height: 34px;
        line-height: 34px;
        font-size: 13px;
    }

    .tabthongkexoso li {
        width: 100%;
        margin: 5px;
        display: inline-block;
        font-weight: 700;
        text-transform: uppercase;
    }

    .kqxs_content table {
        border-top: 1px solid #ebebeb;
        border-left: 1px solid #ebebeb;
        margin: 0px 0px 0px 0px;
        text-align: center;
        width: auto !important;
        /* min-width: 400px; */
        overflow: hidden;
    }

    .about-us-info {
        margin-bottom: 25px;
    }

    .box-right-chungnhan {
        display: none;
    }

    .box-title-chung-nhan-content p {
        color: var(--NHN, #c90000);
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin: 0;
        font-variant: JIS04;
        font-variant: JIS04;
    }

    .box-slide-chungnhan {
        width: 100%;
    }

    #main_left,
    .header-time-open,
    .header-banenr {
        display: none;
    }

    .header_top .wrap-content {
        /* border-bottom: 1px solid #DBDBDB; */
        padding: 0px 0;
        justify-content: center !important;
    }

    .pagenav_1 li {
        position: relative;
        flex-grow: 2;
        padding: 2px 2px;
        list-style: none;
    }

    .about-us-sub-name {
        color: var(--NHN, #c90000);
        font-size: 21px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .title-main-box-2 .title-main-2 {
        text-align: center;
        font-size: 21px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        margin-bottom: 15px;
    }

    .box-title-chung-nhan {
        align-items: end;
        /* width: 70%; */
        flex-wrap: wrap;
        margin-bottom: 20px;
        justify-content: center;
        text-align: center;
    }

    .title-main-2 {
        text-transform: uppercase;
        text-align: center;
        font-size: 22px;
        font-style: normal;

      
        font-weight: 700;
    }

    
    .newsnb-box {
        margin: 10px;
        box-shadow: 0px 0px 6px gray;
        flex-wrap: wrap;
    }

    .footer-article .wrap-content {
        padding: 20px 0;
    }

    .logo-chung-nhan {
        margin: 10px 0 !important;
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0px 0px 6px #727272;
    }

    .box_partner {
        padding: 20px 10px;
        background: white;
        border-radius: 15px;
        box-shadow: 0px 0px 6px #ccc;
    }

    .footer-news {
        margin-bottom: 20px;
    }

    .newsnb-box {
        margin: 10px;
        box-shadow: 0px 0px 6px gray;
        flex-wrap: wrap;
        justify-content: center;
    }

    .newsnb-info {
        order: 3 !important;
        padding: 10px !important;
    }

    .wrap-danhmuc {
        padding: 20px 0;
        background: url(../images/bg_main.png);
    }

    .footer-line {
        width: 31px;
        height: 2px;
        flex-shrink: 0;
        background: var(--TRNG, #fff);
        margin-bottom: 20px;
        margin: 8px auto;
    }

    .newsnb-image {
        position: relative;
        order: 1 !important;
        /* border-radius: 10px; */
        overflow: hidden;
        flex-shrink: 0;
    }

    #main_mid {
        width: 100%;
    }

    .hotline span:nth-child(1) {
        font-size: 15px;
    }

    .hotline span:nth-child(2) {
        font-size: 22px;
    }
}

@media (max-width: 675px) {
    .tab-xoso a {
        padding: 10px;
    }

    ul.tab_thu {
        justify-content: center;
    }

    ul.tab_thu li a span {
        font-size: 12px;
        padding: 3px 8px;
    }
}

@media (max-width: 575px) {
    .box_ketqua .capmg {
        width: 50px;
        height: 50px;
        font-size: 25px;
        line-height: 50px;
        margin-bottom: 10px;
    }

    .table-mega {
        min-width: 400px;
    }

    .tab-xoso a {
        font-size: 12px;
        padding: 5px;
    }

    ul.tab_thu {
        flex-wrap: wrap;
    }

    ul.tab_thu li {
        width: calc(25% - 2px);
    }

    .title-main1 span,
    .text_red {
        font-size: 18px;
    }

    .hotline,
    .radio_result span {
        display: none;
    }

    .title_xoso h1,
    .title_xoso h2,
    .title_mega645 h3 {
        font-size: 14px;
        background: no-repeat;
        padding: 0;
    }

    .kqxs_content table tr .giai_datbiet .dayso,
    .kqxs_content .giai_tam .dayso {
        font-size: 25px;
    }

    .box_thongkexosoext .list_khongxuathienlaunhat {
        width: 33%;
    }

    .box_thongkexosoext .list_ralientiep {
        width: 50%;
    }

    .header::after {
        display: none;
    }
}

@media (max-width: 440px) {
    .box_ketqua {
        flex-wrap: wrap;
    }

    .box_ketqua .capmg {
        margin-bottom: 10px;
    }

    .giatri_jackpot .gtblive p {
        font-size: 20px;
    }

    .header_top a {
        line-height: 20px;
        padding: 10px 0;
    }

    .kqxs_content table tr .giai_datbiet .dayso,
    .kqxs_content .giai_tam .dayso {
        font-size: 23px;
    }
}

@media (max-width: 400px) {
    .box_thongkexosoext .list_khongxuathienlaunhat {
        width: 50%;
    }
}

.phone_mobi {
    background: var(--main-color);
    width: 100%;
    position: fixed;
    left: 0;
    bottom: 0;
    height: 45px;
    line-height: 45px;
    color: #fff;
    z-index: 50;
    height: 50px;
}

.phone_mobi ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    height: 100%;
}

.phone_mobi ul li {
    flex: 0 0 25%;
    max-width: 25%;
    width: 100%;
}

.phone_mobi ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    letter-spacing: 1px;
    line-height: 2;
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 3px;
}

.phone_mobi ul li a i {
    font-size: 19px;
}

.phone_mobi img {
    display: block;
    margin: 0 auto;
    height: 19px !important;
    max-width: 100%;
}

.blink_me {
    -webkit-animation-name: blinker;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    -moz-animation-name: blinker;
    -moz-animation-duration: 1s;
    -moz-animation-timing-function: linear;
    -moz-animation-iteration-count: infinite;
    animation-name: blinker;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes blinker {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.btn-chiduong {
    bottom: 400px;
}

.goidienthoai .content {
    box-sizing: border-box;
    width: 100%;
    max-width: 200px;
    position: absolute;
    bottom: -500px;
    left: 0;
    background-color: var(--main-color);
    border: 3px solid var(--main-color);
    border-bottom: none;
    z-index: 999;
    text-align: left;
    line-height: normal;
}

.goidienthoai .content a {
    display: block;
    padding: 10px 15px;
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    background: none;
    text-align: center;
}

.goidienthoai .content.active {
    bottom: 100%;
}
