/*
  ##Device = Desktops
  ##Screen = 1281px to higher resolution desktops
*/

.header-inner div:nth-child(3) .header-nav-main {
    flex-wrap: nowrap;
    justify-content: center;
}

/*
  ##Device = Laptops, Desktops
  ##Screen = B/w 1025px to 1280px
*/

@media (max-width: 1520px) {
    .custom-sidebar-chatngay {
        transform: translateY(-50%) scale(0.9);
        left: 0px;
    }

    .row.row-collapse,
    .container-width, .full-width .ubermenu-nav, .container, .row {
        max-width: 1000px !important;
    }

    .header-inner div:nth-child(3) .header-nav-main .nav-top-link {
        white-space: nowrap;
        flex-wrap: nowrap;
    }

    .custom-h3 .section-title span {
        font-size: 1.6rem;
    }

    .scroll-y-posts {
        height: 210px;
    }

    .row.custom-h3 {
        max-width: 930px;
    }
   
    .custom-pill-tab .nav-pills,
    .custom-square-tab .nav-pills {
        flex-wrap: nowrap;
        overflow: auto;
        justify-content: start;
    }

    .logo-left .logo {
        margin-right: 0;
    }

    #logo {
        max-width: 160px;
    }
}

@media (min-width: 1280px) and (max-width: 1440px) {
    .container-width, .full-width .ubermenu-nav, .container, .row {
        max-width: 900px !important;
    }
}

@media (max-width: 1280px) {
    .container-width, .full-width .ubermenu-nav, .container, .row {
        max-width: 780px !important;
    }
}

/*
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (max-width: 1024px) {
	/* #playonweb{display:none!important;} /**/
    .kho-game-post .from_the_blog_excerpt{
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
        -webkit-line-clamp: 6;
    }
    .tintuc-posts .button {
        min-height: unset;
        line-height: unset;
    }

    .tintuc-posts .post-title {
        margin-bottom: unset;
    }

    .tintuc-posts .col .from_the_blog_excerpt {
        max-width: 200px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
    }

    .tintuc-xemthem {
        position: relative;
    }

    .c2-tab ul.nav {
        margin-top: unset;
    }

    .cb-timlink-wrap .home_html {
        margin: 0 !important;
    }
    

    .cbtl-model {
        left: 10%;
    }

    .timlink-web-wrapper {
        transform: scale(0.8);
    }

    .custom-sidebar-chatngay, .c-sidebar {
        display: none;
    }

    .custom-pill-tab .nav-pills,
    .custom-square-tab .nav-pills {
        flex-wrap: wrap;
    }

    .bg-shade-brown .custom-pill-tab .nav-pills > li > a {
        white-space: nowrap;
    }

    .bg-shade-brown .custom-pill-tab .nav-pills {
        flex-wrap: nowrap;
    }

    .custom-square-tab .nav-pills > li {
        width: 50%;
    }

    .page-id-1927 .custom-pill-tab .nav > li,
    .c-kho-game .custom-pill-tab .nav > li {
        width: 32.7%;
    }

    .page-id-1927 .custom-pill-tab .nav > li a,
    .c-kho-game .custom-pill-tab .nav > li a {
        width: 100%;
    }

    .page-id-1927 .custom-pill-tab .nav-pills > li:last-child,
    .c-kho-game .custom-pill-tab .nav-pills > li:last-child {
        width: 100%;
    }

    .page-id-1927 .custom-pill-tab .nav-pills > li:last-child a,
    .c-kho-game .custom-pill-tab .nav-pills > li:last-child a {
        margin: auto;
        width: 33%;
    }
}
@media (max-width: 1200px) {
    .c-page-404 .medium-12{
        max-width: 80% !important;
        flex-basis: 80% !important;
    }
    .c-404-heading{
        text-align: center !important;
    }
}
@media only screen and (max-width : 992px) and (orientation: landscape) {
    .header-main{
        height: 49px!important;
    }
    #logo {
        width: 70px!important;
    }
    .c-dangky-form{
        padding-top:1rem;
    }
    .c-dangky .custom-h3{
        padding: 5px;
        transform: scale(0.6);
        transform-origin: top;
    }
    .c-dangky .playonweb,
    .c-dangky .col-inner > .stack > .img:nth-child(1){
        display: none;
    }
    .c-dangky .section-content > .row{
        transform: scale(0.6);
        transform-origin: top;
        margin-top: -2.5rem;
    }
    .c-dang-ky-mbf{
        display: none;
    }
}
@media (min-width: 768px) and (max-width: 1024px) {
    .row.custom-h3 {
        max-width: 85% !important;
    }
}

/*
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (max-width: 768px) {
    .cb-numb3 .col-inner {
        padding-left: 30px;
    }
    .c-dangky-form{
        padding-top: 2rem;
    }
    .c_feature_post,
    .tintuc-posts {
        padding: 0 !important;
    }

    .cpc-gamebai .image-cover {
        padding-top: 100% !important;
    }

    .tintuc-posts .post-item .box-image,
    .cpc-gamebai .post-item .box-image {
        width: 32% !important;
    }

    .cb-timlink-wrap .home_html {
        padding-top: 0;
    }
	
    .cb-timlink-wrap .register {
    	margin-left: -15px;
        margin-right: -15px;
    }
    
    .cbtl-model {
        display: none;
    }

    .cb-timlink {
        transform-origin: top center;
        margin-top: 1.5rem;
        transform: scale(0.8);
        width: unset;
    }

    .game-noi-bat .col-inner .stack {
        max-width: 140px;
        margin-left: 1rem;
        height: unset;
        top: 10px;
    }

    .game-noi-bat .col-inner .img:last-child img {
        height: 140px;
    }

    .game-noi-bat .section-content .row:nth-child(2) .col-inner {
        height: 140px !important;
    }

    #logo img {
        max-height: 60px !important;
    }

    .category .custom-pill-tab .nav-pills {
        flex-wrap: nowrap;
    }

    .category .custom-pill-tab .nav-pills > li > a {
        font-size: 0.8rem;
    }

    .c-hotro .accordion-inner {
        padding: 0;
    }

    .g-recaptcha {
        position: relative;
        height: 70px;
    }

    .g-recaptcha > div {
        transform: scale(0.9) translateX(-50%);
        left: 50%;
        position: absolute;
        transform-origin: left;
    }

    .c-dangky-form-wrap {
        width: 100%;
        height: unset;
    }

    .c-dangky-form-wrap .gap-element:nth-child(1) {
        padding-top: 10px !important;
    }

    .c-dangky-form-wrap .gap-element:nth-child(3) {
        padding-top: 0px !important;
    }

    .c-dangky-form-wrap > .img:nth-child(2) {
        max-width: 157px;
    }

    .c-dangky-form {
        width: 80%;
        padding-bottom: 1.5rem;
    }

    .c-dangky-form-wrap [type="submit"] {
        width: 198px;
    }

    .header-button a.button {
        width: 100px;
        height: 44px;
        line-height: 44px;
        background-size: 100% 100%;
    }

    .tintuc-breadcrumb a.single {
        max-width: 200px;
    }

    .panel.active .kho-game-post .col:first-child .col-inner {
        padding-right: 0;
    }

    .panel.active .kho-game-post .col:first-child .col-inner .image-cover {
        margin-top: 0 !important;
    }

    .single-post #secondary {
        margin: 0;
    }

    .single-post .entry-title,
    .single-post .entry-content {
        padding: 0 15px !important;
    }

    .single-post #content .row > .large-9 {
        padding: 0;
    }

    .single-post .entry-title {
        padding-bottom: 1rem !important;
    }

    .row.custom-h3 {
        max-width: 75% !important;
    }

    .cbtl-model {
        left: -10%;
    }

    .k-section-footer > .bg {
        background: none !important;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .kho-game-post .from_the_blog_excerpt {
        -webkit-line-clamp: 6;
    }
}

/*
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (max-width: 550px) {
    .c-page-404 .button.success span {
        font-size: 12px;
    }
    .c-page-404 .medium-12{
        max-width: 100% !important;
        flex-basis: 100% !important;
    }
    .tintuc-posts .box-vertical .box-text {
        padding-left: 10px;
    }

    .tintuc-posts .box-vertical .box-image,
    .tintuc-posts .box-vertical .box-text {
        direction: ltr;
        display: table-cell;
        vertical-align: middle;
    }

    .c-hotro {
        padding: 0;
    }

    .cbtl-model {
        left: -10%;
        max-width: 250px;
    }

    .category-3 .cbtl-model {
        left: -29%;
        max-width: 250px;
    }
    
    .cb-list .text-red-white {
        font-size: 22px;
    }
}

@media (max-width: 480px) {

    .tintuc-breadcrumb a.single {
        max-width: 130px;
    }

    .custom-square-tab .panel {
        background-position: 0px, 0px;
    }

    .custom-pill-tab .col-inner {
        text-align: center;
    }

    .row.custom-h3 {
        display: none;
    }

    #caothutaixiu {
        margin-top: 1rem;
    }

    .custom-h3 .section-title span {
        -webkit-line-clamp: unset;
        font-size: 1.5rem;
    }

    .sm\:pl {
        padding-left: 30px;
    }

}