/*
Theme Name: JX2 Custom Theme
Theme URI: https://tuyenquangonline.com
Author: vl2thiendia
Author URI: https://tuyenquangonline.com
Description: This is theme for game JX2.
Version: 1.0
License: Tuyenquangonline
License URI: https://tuyenquangonline.com
Tags: jx2.
*/
:root{

}

.anchor {
    width: 180px;
    position: fixed;
    right: -180px;
    z-index: 99;
    top: 50%;
    transform: translateY(-50%);
    transition: all .5s
}

.anchor.open {
    right: 0
}

.anchor.open .i-txt {
    transform: rotate(180deg)
}

.anchor .btn-tai-dk {
    margin-left: 0
}

.anchor .btn-tai-dk .btn-tai-game {
    width: 180px;
    height: 63px;
    background: url(btn-tai-game.jpeg);
    background-size: 100% 100%
}

.anchor .btn-tai-dk .btn-tai-game:hover {
    background: url(btn-tai-game-hover.jpeg);
    background-size: 100% 100%
}
@media only screen and (max-width:600px) {
	.anchor {
	  display:none
	}
}

.link-group {
    width: 180px;
    height: 178px;
    background: url(btn-tai-game-hover.jpeg) no-repeat
}

.link-group a {
    width: 50%;
    height: 50%;
    float: left;
    text-align: center;
    padding-top: 58px;
    color: #fff
}

.link-group a:hover {
    background: url(btn-tai-game-hover.jpeg) no-repeat;
    background-size: contain
}

.link-group a:nth-child(3),
.link-group a:nth-child(4) {
    padding-top: 50px
}

.box-giftcode {
    width: 180px;
    height: 217px;
    background: url(bg-giftcode-anchor.jpeg);
    margin-top: 4px
}

.box-giftcode .tit-bgc {
    line-height: 1.2;
    margin-left: 62px;
    padding-top: 17px
}

.go-top {
    cursor: pointer;
    width: 49px;
    height: 129px;
    background: url(bg-go-top.png);
    margin: 5px auto 0
}

.i-control {
    cursor: pointer;
    position: absolute;
    top: 63px;
    left: -27px;
    height: 90px;
    width: 27px;
    background: url(bg-control.png) 50%/100% 100% no-repeat
}

.i-control .i-txt {
    margin-top: 19px;
    margin-left: 3px;
    height: 54px;
    width: 21px;
    background: url(icon-close-nav-right.png) 50%/100% 100% no-repeat;
    display: block;
    transform: rotate(0deg)
}

.i-control.i-control-open .i-txt {
    transform: rotate(180deg)
}

.no-content {
    padding: 10.525rem 1rem;
    text-align: center;
    font-size: 1.25rem;
    color: #343a40
}

.download-btn,.game-payment {
    display: none
}
.game-payment{
    display: none
}
.btn-image{
    display: none;
}
.wrapper {
    width: 100%;
    margin: 0 auto;
    position: relative
}

footer {
    /*margin-top: 5rem;*/
    height: 5rem;
    background-color: #01121a;
    color: #555;
    border-top: 1px solid #052d40;
}

footer .container {
    position: relative;
    height: 100%
}

footer .footer-content .text-muted {
    color: #888;
    font-size: .75rem
}

#homepage-header {
    margin-bottom: 1rem;

}

#homepage-header .container {
    
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
}

#homepage-header .logo .navbar-brand {
    margin: 0
}

#homepage-header .navbar .navbar-brand {
    font-size: 1.5rem;
    color: #fbcda0;
    margin: 0 auto
}

#homepage-header .navbar li a {
    font-weight: 500;
    font-size: .875rem
}

#homepage-header .navbar li a:hover {
    color: #063354;
}

.home-content {
    position: relative
}

.home-content__left {
    height: 100%
}

.home-content__left .account {
    margin: .5rem 1px
}

.home-content__left .account__loggedin {
    background-color: #2d233e;
    color: #ccc;
    padding: 1rem;
    border-radius: .25rem
}

.home-content__left .account .btn {
    background: linear-gradient(180deg, rgba(19, 52, 61, 1) 0%, rgba(43, 84, 104, 1) 100%);
    border-radius: 0;
    color: #fff;
    padding: 1rem;
    text-decoration: none;
    border: none;
    font-size: .875rem
}

.home-content__left .account .btn:hover {
    filter: brightness(1.3);
    background: linear-gradient(180deg, rgba(19, 52, 61, 1) 0%, rgba(43, 84, 104, 1) 100%);
    transition: background-color .3s ease-in-out;
}

.home-content__left .game-payment{
/*    width: 259px;*/
    /*height: 59px;*/
/*    display: block;*/
    overflow: hidden;
    /*margin-bottom: 5px;*/
}

.home-content__left .game-payment:hover {
    opacity: .8
}

.home-content__left .fanpage {
    background: #fff
}
.main-feature{
    box-shadow: 0px 0px 3px 3px rgb(147 152 153 / 80%);
}
.home-content__left .main-feature {
    margin: 1rem 0;
    background: #fafafa
}

.home-content__left .main-feature__header {
    padding: 1rem;
    background: linear-gradient(270deg, #004881, #00364d);
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0
}

.home-content__left .main-feature.post-toc {
    padding: 1rem;
    background: linear-gradient(270deg, #d3302b, #851414);
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0
}

.home-content__left .main-feature li {
    border: 1px solid #e9e9e9;

    width: 50%;
    font-weight: 500;
    text-align: center;
    padding: 1rem .5rem
}

.home-content__left .main-feature li.post-section {
    width: 100%;
    font-weight: 400
}

.home-content__left .main-feature li.post-section.active {
    font-weight: 500
}

.home-content__left .main-feature li.post-section.active a {
    color: #d4152f
}

.home-content__left .main-feature li>a {
    color: #343a40
}

.home-content__left .main-feature li>a:hover {
    color: #063354;
    font-weight: 700;
    transition: .3s ease-out
}

.home-content .banner img {
    border-radius: .25rem .25rem 0 0
}

.home-content .articles {
    border-radius: 0 0 .25rem .25rem;
    padding: .25rem;
    background-color: #fff
}
.articles{
    box-shadow: 0px 0px 3px 3px rgb(147 152 153 / 80%);
}

.home-content .articles nav {
    font-size: .75rem;
    position: relative
}

.home-content .articles nav .btn-view-more {
    position: absolute;
    right: 1rem;
    top: .5rem;
    font-size: .875rem
}

.home-content .articles li {
    border-color: #eee;
    border-style: dashed;
    padding-left: .5rem;
    font-size: .75rem;
    transition: all .3s linear 0s
}

.home-content .articles li.sticky a {
    margin: 0 auto;
    padding: 1rem;
    font-size: 1.25rem;
    text-transform: uppercase;
    font-weight: 600
}

.home-content .articles__link {
    max-width: 88%;
    color: #333;
    text-decoration: none;
    font-size: 1.025rem;
    opacity: 1;
}

.home-content .articles__link.hot {
    font-weight: 500;
    color: #d4152f
}

.home-content .articles__link .tag {
    min-width: 4.25rem;
    border: 1px solid;
    padding: .25rem;
    margin-right: .5rem;
    background-color: #c7e7fb;
}

.home-content .articles__link:hover {
    opacity: 1;
    color:#063354;
    font-weight: 700;
}

.home-content .articles .published-time {
    color: #888;
    font-size: .75rem
}

.home-content .articles .published-time:hover{
    color:#063354;
}


.home-content .articles .nav-tabs .nav-item {
    background-color: transparent;
    color: #000;
    border: none;
    font-weight: 500
}

.home-content .articles .nav-tabs .nav-item.active {
    color: #063354;
    border-bottom: 2px solid #063354;
}

.home-content .articles .nav-tabs .nav-item:hover{
        color: #063354;
    border-bottom: 2px solid #063354;
}

.home-content .factions .carousel-indicators {
    position: relative;
    margin: 0
}

.carousel-inner{
    background: url(../img/bg-lineend-content.png) no-repeat 100% 100% transparent;
    padding-bottom: 50px;
}

.home-content .factions .carousel-indicators li {
    flex: 0 0 20%;
    max-width: 20%;
    width: auto;
    height: auto;
    background: 0 0;
    text-indent: unset;
    margin: 0;
    padding: 0;
    color: #000;
    opacity: .9;
    border: 1px solid #eaeaec
}

.home-content .factions .carousel-indicators li.active {
    color: #063354;
    font-weight: 700;
    opacity: 1
}

.home-content .factions .carousel-indicators li.active div {
    font-weight: 700
}

.home-content .factions .carousel-indicators li.active:after {
    background-color: #063354;
    width: 56px;
    height: 3px;
    left: 15%;
    bottom: -2px;
    position: absolute;
    content: ""
}

.home-content .factions .carousel-indicators li:hover{
    color: #063354;
    font-weight: 700;
    border-bottom: 2px solid #063354;
}

.home-content .factions .carousel-indicators li div {
    font-size: .75rem;
    text-align: center;
    padding: 1rem .5rem
}

.home-content .factions .faction-name {
    position: absolute;
    background: url(name-bg.png)
}

.home-content .factions__desc {
    background-size: 20%;
    padding: 1rem;
    min-height: 200px;
   /* background-image: url(./img/bg-body.png);*/
}

.home-content .factions__desc .faction-title {
    font-weight: 500;
    font-size: 1.25rem;
    color: #333
}

.home-content .factions__desc .faction-summary {
    font-size: .75rem
}

.article-detail {
    background-size: contain;
    background: #fdfdfd repeat-y;
    border-radius: .25rem
}

.article-detail .btn-download-game {
    width: 360px;
    color: #fff;
    text-indent: 2rem;
    background: url(images/article-download.png) no-repeat 32px 22px #cb942d;
    text-decoration: none
}

.article-detail .btn-download-game:hover {
    background-color: #f7b63d
}

.article-detail .breadcrumb {
    background: linear-gradient(270deg, #bd132a, #8e0e20)
}

.article-detail .breadcrumb .breadcrumb-item {
    font-weight: 500
}

.article-detail .breadcrumb .breadcrumb-item.active {
    color: #fff;
    opacity: .9;
    font-weight: 400
}

.article-detail .breadcrumb a {
    color: #fff
}

.article-detail .breadcrumb a:hover {
    opacity: .8
}

.article-detail h1 {
    font-size: 1.5rem;
    color: #a25d39
}

.article-detail time {
    font-size: .875rem;
    font-weight: 400
}

.article-detail .list-group-item {
    border-color: #eee;
    border-style: dashed
}

.article-detail .list-group-item:hover:not(.text-muted),
.article-detail .list-group-item:hover:not(.text-muted) .published-time {
    font-weight: 500
}

.article-detail .detail-content {
    font-size: .875rem
}

.article-detail .detail-content .main-content img {
    max-width: 100%;
    height: auto
}

.article-detail .detail-content .main-content h5 {
    color: #dc6b28;
    font-weight: 600
}

.article-detail .detail-content .main-content s {
    color: #999;
    font-weight: 200
}

.article-detail .detail-content .main-content em {
    color: #777
}

.article-detail .detail-content nav {
    background: #fefefe;
    margin-bottom: 1rem
}

.article-detail .detail-content nav .nav-item {
    border-radius: 0;
    border-color: #eee;
    font-weight: 500;
    color: #212529
}

.article-detail .detail-content nav .nav-item:nth-child(2n) {
    border-left: 0
}

.article-detail .detail-content nav .nav-item.active {
    color: #d4152f
}

.article-detail .detail-content ul {
    padding-left: 1rem;
    margin-top: .25rem;
    margin-bottom: 1rem
}

.article-detail .detail-content ul li {
    background: url(icon-li.gif) left 7px no-repeat;
    padding-left: 1rem;
    list-style-type: none
}

.article-detail .detail-content ul li li {
    background: url(icon-sub-li.gif) left 8px no-repeat;
    padding-left: 1rem;
    list-style-type: none
}

.article-detail .detail-content h3 {
    background: url(icon-h3.png) no-repeat 0 4px;
    clear: both;
    text-indent: 1.5rem;
    color: #d4152f;
    margin-bottom: 1rem;
    font-weight: 600;
    margin-left: -.5rem
}

.article-detail .detail-content h4 {
    text-indent: 1.25rem;
    background: url(icon-h4.png) no-repeat 0 5px;
    font-size: 1rem;
    color: #343a40;
    font-weight: 600
}

.article-detail .detail-content table {
	width: 80%;
    margin-bottom: 1rem!important;
    color: #212529;
    background: #fff;
    border-collapse: collapse;
    margin: auto
}

.article-detail .detail-content table tbody tr:nth-child(odd) {
    background: #fffcf6
}

.article-detail .detail-content table tbody tr:nth-child(2n) {
    background: #fff
}

.article-detail .detail-content table thead th {
    color: #fff;
    background-color: maroon;
    border-color: #c3a783;
    vertical-align: middle;
    text-align: center;
    border-bottom: 2px solid #c3a783
}

.article-detail .detail-content table td,
.article-detail .detail-content table th {
    padding: .3rem;
    border: 1px solid #c3a783;
    vertical-align: middle
}

.article-detail .detail-content table ul {
    margin-bottom: .5rem
}

.article-detail .detail-content table a {
    color: #008dff
}

.article-detail .detail-content table a:hover {
    text-decoration: underline
}

.article-detail article {
    position: relative
}

#goTop {
    position: fixed;
    width: 2rem;
    height: 2rem;
    background: #004881;
    box-shadow: 0 2px 5px #212529;
    right: 1rem;
    bottom: 30%;
    text-align: center;
    border-radius: 55%;
    color: #fff;
    opacity: .8
}

#goTop:hover {
    opacity: 1
}

#goTop i {
    top: .25rem;
    position: relative
}

@media(min-width:576px) {
    body {
        background: url(../img/bg1.jpg) no-repeat top
    }

    .navbar-brand>img {
        width: 128px;
        height: auto
    }

    .navbar-brand>img.small {
        width: 96px
    }

    .download-btn,
    .game-payment {
        display: block
    }

    .navbar-brand>img {
        width: 200px
    }

    .navbar-brand>img.small {
        width: 128px
    }

    .home-content .articles nav {
        font-size: 1rem
    }

    .home-content .articles__link,
    .home-content .articles li {
        font-size: 1.025rem
    }

}
@media screen and (min-width:480px) {
    body {
        background: url(../img/bg1.jpg) no-repeat top
    }

    .navbar-brand>img {
        width: 128px;
        height: auto
    }

    .navbar-brand>img.small {
        width: 96px
    }

    .download-btn,
    .game-payment {
        display: block
    }

    .navbar-brand>img {
        width: 200px
    }

    .navbar-brand>img.small {
        width: 128px
    }

    .home-content .articles nav {
        font-size: 1rem
    }

    .home-content .articles__link,
    .home-content .articles li {
        font-size: 1.025rem
    }

}
@media(min-width:768px) {
    #homepage-header {
        margin-bottom: 30rem
    }
}

@media(min-width:1200px) {
    .home-content .factions .carousel-indicators li {
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%
    }

    #homepage-header .navbar-dark {
        margin-top: .25rem
    }

    #homepage-header .navbar li a {
        text-transform: uppercase;
        font-size: 1rem
    }

    .wrapper__inner {
        background-size: auto
    }

}

@media(max-width:767.98px) {
    .article-detail .detail-content table {
        display: block;
        overflow-x: auto
    }
}
.wp-pagenavi {
    display: inline-flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    text-align: center;
}
span.current {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #fff;
    background-color: #d4152f;
    border-color: #d4152f
}
.page, .nextpostslink, .previouspostslink {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #d4152f;
    background-color: #fff;
    border: 1px solid #dee2e6;
}


.wrapper{
    
}
.aside-right a {
    display: block;
}
.aside-right {
    background: url(../img/floating-bg.png) 0 0 no-repeat;
    width: 250px;
    height: 493px;
    position: fixed;
    top: 150px;
    right: 0;
    z-index: 100;
    transform-origin: right top;
    transition: .3s ease-in-out;
    background-position: center;
}
.aside-right .list-button {
    display: block;
    text-align: center;
    width: 100%;
    margin-left: -11px;
    padding-top: 166px;
    overflow: hidden;
    list-style: none;
}
.aside-right .close-side {
    position: absolute;
    background-position: 0 -630px;
    height: 70px;
    width: 26px;
    top: 85px;
    left: 14px;
}
.aside-right .list-button li .btn-napthe {
    margin-top: 4px;
     
    font-size: 23px;
    margin-right: -15px;
    color: #f2e19f;
    font-weight: 700;
}

.aside-right .list-button li .btn-register {
    margin-top: 17px;
    font-size: 20px;
     
    color: #f2e19f;
    margin-right: -13px;
}
.aside-right .list-button li .btn-news {
    margin-top: 11px;
    font-size: 20px;
     
    color: #f2e19f;
    margin-right: -14px;
}
.aside-right .list-button li .btn-fb {
    margin-top: 9px;
    font-size: 20px;
     
    color: #f2e19f;
    margin-right: -16px;
}
.aside-right .list-button li .btn-congdong {
    margin-top: 12px;
    color: #f2e19f;
     
    font-size: 20px;
    margin-right: -9px;
}
.aside-right a:hover {
    filter: brightness(1.3);

}

.p-3{
    background-image: url(../img/monphai-tittle.png);
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
    height: 60px;
}



nav a:hover{

}
#homepage-header .navbar li a:before {
  content: '';
  border-bottom: solid 1px #063354;
  position: absolute;
  bottom: 0; left: 30%;

  width: 0;
  -webkit-transform: scale(0);
     -moz-transform: scale(0);
      -ms-transform: scale(0);
       -o-transform: scale(0);
          transform: scale(0); 
}

#homepage-header .navbar li a:hover:before {

  border-bottom: solid  #063354;
  width: 40%;
  -webkit-animation: heartbeat-x 1.7s infinite ease-in;
          animation: heartbeat-x 1.7s infinite ease-in;
}

#homepage-header .navbar li a:hover {
  -webkit-animation: heartbeat 1.7s infinite ease-in;
          animation: heartbeat 1.7s infinite ease-in;
}

@-webkit-keyframes heartbeat {
  0% { -webkit-transform: scale(1); }
  10% { -webkit-transform: scale(1.1); }
  20% { -webkit-transform: scale(1); }
  30% { -webkit-transform: scale(1.1); }
  40% { -webkit-transform: scale(1); }
}

@-webkit-keyframes heartbeat-x {
  0% { -webkit-transform: scaleX(0); }
  10% { -webkit-transform: scaleX(1); }
  20% { -webkit-transform: scaleX(0); }
  30% { -webkit-transform: scaleX(1); }
  40% { -webkit-transform: scaleX(0); }
}

@keyframes heartbeat {
  0% { transform: scale(1); }
  10% { transform: scale(1.1); }
  20% { transform: scale(1); }
  30% { transform: scale(1.1); }
  40% { transform: scale(1); }
}

@keyframes heartbeat-x {
  0% { transform: scaleX(0); }
  10% { transform: scaleX(1); }
  20% { transform: scaleX(0); }
  30% { transform: scaleX(1); }
  40% { transform: scaleX(0); }
}

#bttop {

  background: url("../img/toppage.png") no-repeat;
  text-align:center;
  padding:5px;
  position:fixed;
  bottom:80px;
  right:10px;
  cursor:pointer;
  display:block;
  color:#fff;
  font-size:11px;
  font-weight:900;
  height: 95px;
  width: 141px;
}
    
#bttop:hover {
  background: url("../img/toppage.png") no-repeat;
  background-position: 0 -95px;
}