@import url('https://fonts.googleapis.com/css?family=Sedgwick+Ave&display=swap');

HTML,
BODY {
    font-family: "Open Sans", sans-serif !important;
    font-size: 14px;
    line-height: 1.3 !important;
    width: 100%;
    overflow-x: hidden !important;
}

.fm-background-home {
    background: #e8e6e7 url(images/bg-9d-pts.jpg) no-repeat top center;
    background-size: 100% auto;
}

.fm-background-news {
    background: #fff url(images/bg-news.jpg) no-repeat top center;
    background-size: 100% auto;
}

.fm-background-user {
    background: #fff url(images/bg-big.jpg) no-repeat top center;
    background-size: 100% auto;
}

.fm-background-download-game {
    background: #e6e6e6 url(images/bg-download-game.jpg) no-repeat top center;
    background-size: 100% auto;
}

.fm-background-top-detail {
    background: #f8f6f7 url(images/bg-9d-top.jpg) no-repeat top center;
    background-size: 100% auto;
}

a {
    text-decoration: none !important;
}

.home-wrapper {
    width: 100%;
    height: auto;
}

.fm-logo-18 {
    position: absolute;
    top: 80px;
    z-index: 1;
}

.menu {
    background: url(images/bg-none-menu-home.png) no-repeat center top;
    width: 100%;
    height: 100px;
    margin-bottom: 250px;
}

.fm-menu-qtv {
    margin-bottom: 100px !important;
}

.menu > .menu-wrapper {
    display: block;
    width: 960px;
    margin: 0 auto;
    position: relative;
}

.menu-wrapper .fm-logo {
    position: absolute;
    top: -6px;
    left: 373px;
    width: 220px;
}

.menu-wrapper .list-menu {
    display: block;
    list-style: none;
    margin: 0px -1px;
    padding: 0px;
}

    .menu-wrapper .list-menu li {
        float: left;
        position: relative;
        width: 160px;
        height: 73px;
        text-align: center !important;
    }

        .menu-wrapper .list-menu li:nth-child(3) {
            margin-left: 320px;
        }

        .menu-wrapper .list-menu li a {
            position: absolute;
            padding-top: 20px;
            left: 0px;
            width: 100%;
            height: 100%;
            color: #fff !important;
            font-family: 'Sedgwick Ave' !important;
            letter-spacing: 3px;
            font-weight: bold;
            font-size: 1.3rem;
        }

        .menu-wrapper .list-menu li:nth-child(1):hover,
        .menu-wrapper .list-menu li.active:nth-child(1) {
            background: url(images/bg-none-menu-item-1.png) top left no-repeat;
        }

        .menu-wrapper .list-menu li:nth-child(2):hover,
        .menu-wrapper .list-menu li.active:nth-child(2) {
            background: url(images/bg-none-menu-item-2.png) top left no-repeat;
        }

        .menu-wrapper .list-menu li:nth-child(3):hover,
        .menu-wrapper .list-menu li.active:nth-child(3) {
            background: url(images/bg-none-menu-item-3.png) top left no-repeat;
        }

        .menu-wrapper .list-menu li:nth-child(4):hover,
        .menu-wrapper .list-menu li.active:nth-child(4) {
            background: url(images/bg-none-menu-item-4.png) top left no-repeat;
        }

.download-area {
    position: relative;
    top: -37px;
}

    .download-area .fm-img-download {
        width: 100% !important;
    }

@media screen and (max-width: 980px) {
    .page > .container {
        width: 100%!important;
        padding-right: 20px!important;
        padding-left: 20px!important;
        margin-right: auto!important;
        margin-left: auto!important;
        max-width: unset!important;
    }
    .fm-carousel-inner > .carousel-item {
        height: 300px !important;
    }

    .fm-background-news .menu {
        margin-bottom: 183px !important;
    }

    .menu {
        margin-bottom: 140px !important;
    }

    .download-area {
        top: -22px !important;
    }

    .button-area {
        padding-top: 11px !important;
        background-size: 100% 140px !important;
        height: 140px !important;
    }

        .button-area .block-button {
            position: relative !important;
            left: -7px !important;
            top: 0 !important;
        }

    .social a {
        width: 110px !important;
        height: 36px !important;
        background-position: 0 -63px !important;
    }

    .social .fb-page {
        top: 0px !important;
        left: 0px !important;
    }

    .fm-bg-size-rank {
        padding-top: 60px !important;
    }

    .fm-input-quick-login {
        width: 85% !important;
    }

    .fm-btn-quick-login {
        position: relative !important;
        right: 36px !important;
    }

    .fm-nav-tabs {
        padding-left: 55px !important;
    }

    /*.tab-footer {*/
    /*    height: 50px !important;*/
    /*}*/

    .fm-rank-news .col-rank-1, .fm-rank-news .col-rank-2 {
        width: 10px !important;
    }

    .mw-container-news {
        max-width: 850px !important;
    }

        .mw-container-news .social {
            height: 536px !important;
        }

    .fm-detail-news .fm-content-detail-news .fm-img-content img {
        max-width: 515px !important;
    }

    .text-background {
        top: 100px!important;
        left: 180px!important;
    }

    .text-background p.fm-title-text-bg {
        font-size: 3rem!important;
    }

    .text-background p.fm-content-text-bg {
        font-size: 2.3rem!important;
    }
}

.fm-rank-news table {
    width: 95% !important;
    margin-left: 15px;
}

.button-area {
    background: url(images/bg-block-download.jpg) no-repeat center bottom;
    background-size: 100% 100%;
    height: 110px;
}

    .button-area .block-button {
        width: 100%;
        height: 60px;
        position: absolute;
        top: 170px;
        left: -10px;
        z-index: 9;
    }

        .button-area .block-button li {
            float: left;
            list-style: none !important;
        }

            .button-area .block-button li a {
                background: url(images/block-button-2.jpg) no-repeat;
                display: block;
                width: 145px;
                color: transparent;
            }

                .button-area .block-button li a:hover {
                    background: url(images/block-button-hov-2.jpg) no-repeat;
                }

                .button-area .block-button li a.btn-1 {
                    background-position: 0 0;
                    height: 58px;
                }

                .button-area .block-button li a.btn-2 {
                    background-position: -145px 0;
                    height: 58px;
                }

                .button-area .block-button li a.btn-3 {
                    background-position: 0 -58px;
                    height: 55px;
                }

                .button-area .block-button li a.btn-4 {
                    background-position: -145px -58px;
                    height: 55px;
                }

.fm-carousel-inner > .carousel-item {
    height: 370px;
}

.footer {
    background: url(images/bg-footer.jpg) no-repeat bottom center;
    width: 100%;
    height: 100px;
    color: #fff !important;
    padding: 2.2rem 0;
}

.social {
    background: url(images/bg-social.jpg) no-repeat;
    background-size: 100% 100%;
    height: 570px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

    .social a {
        display: block;
        width: 121px;
        height: 56px;
        background: url(images/btn-social.jpg) no-repeat;
        background-position: 0 -53px;
        color: transparent !important;
    }

    .social .fb-page {
        position: relative;
        top: 8px;
        left: 5px;
    }

.fb-page span,
.fb-page span iframe {
    height: 500px !important;
}

.fm-nav-tabs {
    background: transparent url(images/content-top.jpg) no-repeat center center;
    padding-left: 80px;
    background-size: 100% auto;
}

.fm-tab-content {
    background: url(images/content-loop.jpg) repeat-y left top;
    background-size: 100% auto;
}

    .fm-tab-content .tab-pane {
        padding: 11px 23px;
        color: #000 !important;
        min-height: 100px;
        height: auto;
        max-height: 350px;
        overflow-y: auto;
    }

        .fm-tab-content .tab-pane .media {
            border-bottom: 1px dashed red !important;
        }

.tab-footer {
    background: url(images/bg-sub-bot.png) no-repeat;
    height: 90px;
    background-size: 100% 100%;
    position: relative;
    top: -2px;
}

.quick-login-area {
    padding: 11px;
    background: url(images/bg-tabcontent.jpg) no-repeat center top, url(images/bg-form-dangnhap.gif) no-repeat center center;
    background-size: 100% 43px, cover;
    height: 150px;
    text-align: center;
}

.fm-detail-news {
    background: url(images/bg-tabcontent.jpg) no-repeat center top, url(images/content-loop.jpg) no-repeat center center;
    background-size: 100% 43px, cover;
    min-height: 250px;
    max-height: 800px;
    overflow-x: hidden;
    overflow-y: auto;
}

.fm-relation-news {
    background: url(images/bg-tabcontent.jpg) no-repeat center top, url(images/content-loop.jpg) no-repeat center center;
    background-size: 100% 43px, cover;
    min-height: 150px;
    max-height: 300px;
}

    .fm-detail-news .fm-title-detail-news, .fm-relation-news .fm-title-relation-news {
        position: sticky;
        top: 10px;
    }

        .fm-detail-news .fm-title-detail-news label, .fm-relation-news .fm-title-relation-news label {
            color: #fff;
            font-weight: 600;
            font-size: 1.15rem !important;
        }

    .fm-detail-news .fm-content-detail-news, .fm-relation-news .fm-content-relation-news {
        margin-top: 25px;
        padding-left: 15px;
        padding-right: 15px;
        padding-bottom: 11px;
    }

.fm-img-content img {
    max-width: 700px !important;
}

.nav-tabs .nav-link {
    color: #fff !important;
    font-weight: bold !important;
}

    .nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
        border-color: transparent !important;
    }

    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        color: #bc0b26 !important;
        background: url(images/active-nav.gif) no-repeat left center, url(images/content-loop.jpg) repeat-y center center;
        background-size: 40px auto, auto auto;
        border-color: #dee2e6 #dee2e6 #fff;
        font-style: italic !important;
        padding-left: 35px !important;
    }

.button-download-news-area, .button-download-signup-area {
    width: 489px;
    height: 100px;
    background: url(images/bg-download.png) no-repeat center center;
    background-size: 100% 100%;
    position: relative;
    top: -100px;
}

    .button-download-news-area a.download-game, .button-download-signup-area a.download-game {
        background: url(images/caidat-sub.png) no-repeat;
        background-size: 100% 100%;
        position: absolute;
        top: -18px;
        left: 4px;
        width: 199px;
        height: 114px;
        z-index: 3;
        display: block;
    }

    .button-download-news-area a.quick-register {
        background: url(images/block-button-sub-s2.jpg) 0 0 no-repeat;
        position: absolute;
        top: 32px;
        left: 210px;
        width: 100px;
        height: 59px;
        z-index: 3;
        display: block;
    }

        .button-download-news-area a.quick-register:hover {
            background-position: 0 -59px;
        }

    .button-download-news-area a.nap-the {
        background: url(images/block-button-sub-s2.jpg) -100px 0 no-repeat;
        position: absolute;
        top: 32px;
        left: 310px;
        width: 100px;
        height: 59px;
        z-index: 3;
        display: block;
    }

        .button-download-news-area a.nap-the:hover {
            background-position: -100px -59px;
        }

    .button-download-signup-area a.nap-the {
        background: url(images/block-button-sub-2-s2.jpg) 0 0 no-repeat;
        position: absolute;
        top: 32px;
        left: 210px;
        width: 100px;
        height: 59px;
        z-index: 3;
        display: block;
    }

        .button-download-signup-area a.nap-the:hover {
            background-position: 0px -59px;
        }

    .button-download-signup-area a.fanpage {
        background: url(images/block-button-sub-2-s2.jpg) -100px 0 no-repeat;
        position: absolute;
        top: 32px;
        left: 310px;
        width: 100px;
        height: 59px;
        z-index: 3;
        display: block;
    }

        .button-download-signup-area a.fanpage:hover {
            background-position: -100px -59px;
        }

.fm-footer-qtv {
    position: absolute;
    bottom: 0 !important;
}

.fm-asterisk-required {
    font-size: 8px;
    position: relative;
    top: -7px;
    color: red !important;
}

.text-background {
    position: absolute;
    top: 130px;
    left: 200px;
}

    .text-background p {
        font-family: 'Sedgwick Ave' !important;
        letter-spacing: 3px;
        text-shadow: 0 0 11px #fff !important;
    }

        .text-background p.fm-title-text-bg {
            font-size: 4rem;
            color: #bc0b26 !important;
        }

        .text-background p.fm-content-text-bg {
            font-size: 3rem;
            padding-left: 30px;
        }

.download-game-guide {
    background: url(../images/btn-download.gif) no-repeat;
    background-size: 100% 100%;
    position: absolute;
    top: -28px;
    left: -16px;
    width: 244px;
    height: 139px;
    z-index: 3;
    display: block;
}

.table td, .table th {
    vertical-align: middle!important;
}

ul.pagination
{
    -ms-flex-pack: center!important;
    justify-content: center!important;
    display: -ms-flexbox;
    display: flex;
    padding: 0;
    margin: 0;
}

ul.pagination li
{
    display: inline;
}

ul.pagination li a
{
    color: black;
    float: left;
    padding: 8px 16px;
    text-decoration: none;
    transition: all .3s;
}

ul.pagination li.active
{
    background-color: #bc0b26;
}

ul.pagination li.active a {
    color: white!important;
    font-weight: bold;
}

ul.pagination li a:hover:not(.active)
{
    background-color: #ddd;
    color: black!important;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background-color: transparent !important;
}

::-webkit-scrollbar-track-piece {
    background-color: transparent !important;
}

::-webkit-scrollbar-thumb {
    height: 50px;
    background-color: #bc0b26 !important;
    opacity: 0.5;
}
