/* .btn-play-video{
    opacity: 0;
    pointer-events: none;
} */
.logo-ttc{
    width: 60%;
    max-width: 250px;
}
.logo-ttc-2{
    width: 90%;
    max-width: 220px;
}
.bg-video-custom {
    position: absolute;
    top: 0;
    left: 0;
    width: 102%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    display: none;
}

.sub-text{
    font-size: .8em;
}

.s-main .container-box {
    padding-top: 27%;
    padding-bottom: 30px
}
/* s-news */
.s-tournament.bracket {
    background: url(../images/s-tournament/thailand-championship/s-bracket-bg.jpg)bottom no-repeat;
    background-size: cover;
    overflow-x: hidden;
    position: relative;
    /* padding: 3% 0 6% 0; */
    height: 858px;
}
.s-tournament {background-image: url(../images/s-tournament/thailand-championship/main-bg.jpg?v=2.3);background-repeat: no-repeat;background-position: center;height: 858px;}
@media (max-width: 1024px) {
    .s-tournament {background-image: url(../images/s-tournament/thailand-championship/main-bg.jpg?v=2.3);background-size: cover;background-repeat: no-repeat;background-position: center;height: 878px;}
    .s-tournament.bracket{height: 858px}
}
@media (max-width: 992px) {
    .s-tournament {background-image: url(../images/s-tournament/thailand-championship/mian-bg-sm.jpg?v=2.3);background-size: contain;background-repeat: no-repeat;background-position: top center;height:720px;}
    .s-tournament.bracket{height: 944px}
}
@media (max-width: 768px) {
    .s-tournament {background-image: url(../images/s-tournament/thailand-championship/mian-bg-sm.jpg?v=2.3);background-size: 570px;background-repeat: no-repeat;background-position: top center;height: 676px;}
    .s-tournament.bracket{height: 920px}
    
}
@media (max-width: 470px) {
    .s-tournament {background-image: url(../images/s-tournament/thailand-championship/mian-bg-sm.jpg?v=2.3);background-size: contain;background-repeat: no-repeat;background-position: top center;height: auto;min-height: 468px;}
    .s-tournament.bracket{height: 1060px}
}

.s-tournament::before {
    position: absolute;
    width: 100%;
    height: 40%;
    top: 0;
    left: 0;
    content: "";
    background: rgb(0, 0, 0);
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.s-tournament::after {
    position: absolute;
    width: 100%;
    height: 40%;
    bottom: 0;
    left: 0;
    content: "";
    background: rgb(0, 0, 0);
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

.s-tournament .nav-pills {
    border-bottom: 1px solid #61616185;
}

.s-tournament .nav-link {
    background: none;
    border-bottom: transparent;
    transition: .3s;
    border-radius: 0;
    text-align: center;
    color: transparent !important;
    padding: 0;
    background-color: transparent !important;
}
.s-tournament .bracket-lg .nav-link {
    background: none;
    border-bottom: transparent;
    transition: .3s;
    border-radius: 0;
    text-align: center;
    color: #fff !important;
    padding: 0;
    background-color: transparent !important;
}
.btn-tournament-wacth{
    max-width: 532px;
}
.btn-pl-5{
    padding-left: 5px;
}
.btn-pr-5{
    padding-right: 5px;
}
.nav-tabs .nav-link {
    border: transparent;
}
/* Force tab images to be the same size for active/inactive */
#systemTab .nav-link img {
    width: 300px;
    height: 64px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.s-tournament.bracket .nav-tabs {
    --bs-nav-tabs-border-color: transparent !important;
}
.s-tournament .nav-link.bracket-aq-2 {
    margin-left: auto;
    margin-right: 0px;
    background: linear-gradient(0deg, rgba(59,0,0,1) 0%, rgba(59,0,0,0) 100%);
    width: 100%;
}
.s-tournament .nav-link.bracket-del-2 {
    margin-left: 0px;
    margin-right: 0px;
    background: linear-gradient(0deg, rgba(59,0,0,1) 0%, rgba(59,0,0,0) 100%);
    width: 100%;
}
.s-tournament .nav-link.bracket-aq {
    margin-left: 0px;
    margin-right: 0px;
    background: linear-gradient(0deg, #340d40 0%, #1f0825 100%);
    width: 100%;
}
.s-tournament .nav-link.bracket-del {
    margin-left: 0px;
    margin-right: auto;
    background: linear-gradient(0deg, rgba(0,38,96,1) 0%, rgba(0,38,96,0) 100%);
    width: 100%;
}
.s-tournament .nav-pills .nav-link.bracket-2.active,
.s-tournament .nav-pills .show>.nav-link.bracket-2 {
    background: linear-gradient(0deg, rgb(190, 0, 0) 0%, rgba(59,0,0,0) 100%);
    border-bottom: 4px solid #ff0000;
}
.s-tournament .nav-pills .nav-link.active,
.s-tournament .nav-pills .show>.nav-link {
    background: linear-gradient(0deg, #b637e3 0%, #330046 100%);
    border-bottom: 4px solid #bb00ff;
}

.s-tournament .news-comming,
.s-tournament .news-container {
    min-height: 550px;
}

.s-tournament .box-banner {
    padding: 27px 30px 0 21px;
    position: relative;
    z-index: 100;
}
.name-tour-bracket {
    line-height: 40px;
}
/* .s-tournament .box-banner::before {
    position: absolute;
    background: url(../images/s-news-frame-banner.webp?v=2.48)center top no-repeat;
    background-size: 100%;
    content: " ";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 100;
    pointer-events: none;

} */
.tournament-image .owl-carousel .owl-item img {
    transform: scale(1);
}
.detail-other a {
    color: #ffd786;
    background-color: #633e00;
    border-radius: 3px;
    font-weight: 400;
    padding: 2px 10px;
    font-size: 0.4em;
}
.detail-other{
    position: absolute;
    z-index: 999;
    bottom: 9px;
    left: auto;
    text-align: center;
    width: 100%;
    color: #ffeeb8;
}
.detail-other:hover a{
    color: #281900;
    background-color: #d6a239;
    font-weight: 400;
}
.s-tournament .owl-stage  {
    padding-left:0px !important;
}
.eff-bright {
    -webkit-animation-name: effbright;
    -webkit-animation-duration: 1.5s;
    -webkit-animation-iteration-count: infinite;
}
@-webkit-keyframes effbright {
    0% {
      transform: scale(0.98);
      -webkit-transform: scale(0.98);
      filter: brightness(1); }
    50% {
      transform: scale(1);
      -webkit-transform: scale(1);
      filter: brightness(1.2); }
    100% {
      transform: scale(0.98);
      -webkit-transform: scale(0.98);
      filter: brightness(1); } }
.s-tournament-scrollbar img{
    max-width: 1100px;
}

.s-tournament-scrollbar::-webkit-scrollbar {
    height: 3px;
    
}
.s-tournament-scrollbar::-webkit-scrollbar-track {
    background: #474747; 
}
.s-tournament-scrollbar::-webkit-scrollbar-thumb {
    background: #e0e0e0; 
    border-radius: 50px;
}
.s-tournament-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #ffffff; 
}


.btn-bracket-1 {
    display: block;
    background: url(../images/s-tournament/thailand-championship/nav-tour-disable_01.png?v=2.49)top center no-repeat;
}

.btn-bracket-1:focus,
.btn-bracket-1.active {
    background: url(../images/s-tournament/thailand-championship/nav-tour-active_01.png?v=2.49) top center no-repeat;
}

.btn-bracket-2 {
    display: block;
    background: url(../images/s-tournament/thailand-championship/nav-tour-disable_02.png?v=2.49)top center no-repeat;
}

.btn-bracket-2:focus,
.btn-bracket-2.active {
    background: url(../images/s-tournament/thailand-championship/nav-tour-active_02.png?v=2.49) top center no-repeat;
}

.btn-bracket-3 {
    display: block;
    background: url(../images/s-tournament/thailand-championship/nav-tour-disable_03.png?v=2.49)top center no-repeat;
}

.btn-bracket-3:focus,
.btn-bracket-3.active {
    background: url(../images/s-tournament/thailand-championship/nav-tour-active_03.png?v=2.49) top center no-repeat;
}

.btn-bracket-4 {
    background: url(../images/s-tournament/thailand-championship/nav-tour-disable_04.png?v=2.49)top center no-repeat;
    width: 259px !important;
    height: 45px !important;
}

.btn-bracket-4:focus,
.btn-bracket-4.active {
    background: url(../images/s-tournament/thailand-championship/nav-tour-active_04.png?v=2.49) top center no-repeat;
}
/* Horizontal nav-pills for mobile bracket tabs */
.nav-horizontal {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    white-space: nowrap;
    gap: 0px;
    width: 100%;
    padding-bottom: 4px;
}
.nav-horizontal .nav-item {
    flex: 0 0 auto;
}
.nav-horizontal .nav-link {
    min-width: 120px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 5px 5px !important;
    border-radius: 2rem;
    background: rgba(255,255,255,0.10);
    color: #fff !important;
    border: transparent;
    margin: 0 0.25rem;
    transition: background 0.2s, color 0.2s, border 0.2s;
    opacity: 1;
    box-shadow: 0 1px 4px 0 rgba(0,0,0,0.08);
    filter: none;
}
.nav-horizontal .nav-link.active {
    color: #fff !important;
    box-shadow: 0 2px 8px 0 rgba(231,177,76,0.18);
    opacity: 1;
    filter: none;
}
.nav-horizontal .nav-link:focus {
    outline:transparent !important;
}
/* Force horizontal nav for tournament bracket */
.nav-horizontal {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
}
.s-main.bg3{
    background: url(../images/s-tournament/header-s-tournament-sm-bg.webp)top no-repeat !important; 
    background-size: 100% !important
} 

.bracket-aq.disable, .bracket-aq-2.disable{
    filter: grayscale(.6) brightness(.4);
    pointer-events: none;
    color: #ccc !important;
}
.obt-btn_menumain-top.disabled{
    pointer-events: none;
}
.obt-btn_menumain-top.disabled img{
    filter: grayscale(1);
    
}
.bracket-lg{
    margin-bottom: auto;
    margin-top: auto;
}
.bracket-pc{
    position: absolute;
    top: -20px;
    width: 300px;

}
.subhead1{
    font-family: HouseofcardsW03-Bold;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal; 
    filter: drop-shadow(1px 1px 2px #8F7745);
    background: linear-gradient(180deg, #FFF3A3 20%, #D5A44F 70.53%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subhead2{
    font-family: HouseofcardsW03-Bold;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    filter: drop-shadow(1px 1px 2px #8F7745);
    background: linear-gradient(180deg, #FFF3A3 20%, #D5A44F 70.53%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subhead3{
    color: #FFF;
    font-family: "Noto Sans Thai";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.presented-by{
    color: #FFF;
    font-family: "Noto Sans Thai";
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
/* Presented by AMD logo width fix */
.presented-by-logo img[alt="AMD"] {
    width: 140px;
    max-width: 100%;
    height: auto;
}
 .container.presented{
            margin-top: 10px;
    margin-bottom: 40px;
    }

@media (min-width: 350px) {
    
    .s-tournament .nav-link.bracket-aq-2 {
        width: 150px;
    }
    .s-tournament .nav-link.bracket-del-2 {
        width: 150px;
    }
    .s-tournament .nav-link.bracket-aq {
        width: 150px;
    }
    .s-tournament .nav-link.bracket-del {
        width: 150px;
    }
        .subhead1 {
    font-size: 40px;
    }
    .subhead2 {
    font-size: 40px;
    }
    .subhead3 {
    font-size: 16px;
    }
    
}
@media (min-width: 420px) {
    .detail-other{
        bottom: 14px;
    }
    .detail-other a {
        color: #ffd786;
        background-color: #633e00;
        border-radius: 3px;
        font-weight: 400;
        padding: 2px 21px 0px 21px;
        font-size: 0.5em;
    }
}
@media (min-width: 468px) {
    .detail-other{
        bottom: 14px;
    }
    .detail-other a {
        color: #ffd786;
        background-color: #633e00;
        border-radius: 3px;
        font-weight: 400;
        padding: 2px 21px 0px 21px;
        font-size: 0.7em;
    }
    .s-tournament .nav-link.bracket-aq-2 {
        width: 100%;
    }
    .s-tournament .nav-link.bracket-del-2 {
        width: 100%;
    }
    .s-tournament .nav-link.bracket-aq {
        width: 100%;
    }
    .s-tournament .nav-link.bracket-del {
        width: 100%;
    }
    .subhead1 {
    font-size: 40px;
    }
    .subhead2 {
    font-size: 40px;
    }
    .subhead3 {
    font-size: 16px;
    }
    .container.presented {
    margin-top: 140px;
    margin-bottom: 40px;
    }
}

@media (min-width: 576px) {
    .detail-other{
        bottom: 17px;
    }
    .detail-other a {
        color: #ffd786;
        background-color: #633e00;
        border-radius: 5px;
        font-weight: 400;
        padding: 2px 21px 0px 21px;
        font-size: 0.7em;
    }
    .subhead1 {
    font-size: 53.883px;
}
.container.presented {
    margin-top: 0px;
    margin-bottom: 40px;
    }
    

}
@media (min-width: 768px) {
    .detail-other{
        bottom: 35px;
    }
    .detail-other a {
        color: #ffd786;
        background-color: #633e00;
        border-radius: 5px;
        font-weight: 400;
        padding: 2px 21px 0px 21px;
        font-size: 0.7em;
    }
    .obt-btn_menumain-top{
        max-width: 250px
    }
    .s-main .container-box {
        padding-top: 40%;
        padding-bottom: 30px
    }
}

@media (min-width: 992px) {  
    .s-main .container-box {
        padding-top: 0;
        padding-bottom: 0;
        display: flex;
        justify-content: center;
        flex-direction: column !important
    }
    .modal-lg, .modal-xl {
        --bs-modal-width: 991px;
    }  
    .mt-space-lg{
        margin-top: 40px;
    }
    .s-tournament-scrollbar img{
        width: 100%;
        max-width: 100%;
    }

    .s-tournament::before {
        position: absolute;
        width: 100%;
        height: 30%;
        top: 0;
        left: 0;
        content: "";
        background: rgb(0, 0, 0);
        background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .s-tournament .news-comming,
    .s-tournament .news-container {
        min-height: 490px;
    }

    .s-tournament .container {
        z-index: 100;
    }

    /* .s-tournament {
        padding: 0 0;
    } */

    .s-tournament .owl-carousel .owl-nav button.owl-next,
    .s-tournament .owl-carousel .owl-nav button.owl-prev {
        top: 45% !important
    }

    .s-tournament::after {
        display: block;
        height: 50%;
    }
    .s-tournament .owl-carousel .owl-nav button.owl-prev {
        left: -4px;
    }
    .s-tournament .owl-carousel .owl-nav button.owl-next{
        right: -4%;
    }
    .detail-other a {
        color: #ffd786;
        background-color: #633e00;
        border-radius: 5px;
        font-weight: 400;
        padding: 3px 26px;
        font-size: 0.9em;
    }
    .detail-other{
        bottom: 50px;
    }
    .subhead1{
    font-family: HouseofcardsW03-Bold;
    font-size: 62.883px;
    font-style: normal;
    font-weight: 700;
    line-height: normal; 
    filter: drop-shadow(1px 1px 2px #8F7745);
    background: linear-gradient(180deg, #FFF3A3 20%, #D5A44F 70.53%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subhead2{
    font-family: HouseofcardsW03-Bold;
    font-size: 62.883px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    filter: drop-shadow(1px 1px 2px #8F7745);
    background: linear-gradient(180deg, #FFF3A3 20%, #D5A44F 70.53%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.subhead3{
    color: #FFF;
    font-family: "Noto Sans Thai";
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.presented-by{
    color: #FFF;
    font-family: "Noto Sans Thai";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.bg-video-custom {
    width: 103%;
    height: 100%;
    display: block;
}
.logo-ttc{
    width: 60%;
    max-width: 250px;
    margin-bottom: 35px;
    margin-top: 45px !important;
}
}
@media (min-width: 1200px) {
    /* .s-tournament {
        padding: 4rem 0 7% 0;
    } */


    .s-tournament .box-banner {
        width: 500px;
    }
    .owl-tournament {
        /* width: 1344px; */
        margin-left: auto;
        margin-right: auto;
    }
    .detail-other a {
        color: #ffd786;
        background-color: #633e00;
        border-radius: 5px;
        font-weight: 400;
        padding: 3px 26px;
        font-size: 0.9em;
    }
    .detail-other{
        position: absolute;
        z-index: 999;
        bottom: 32px;
        left: auto;
        text-align: center;
        width: 100%;
        color: #ffeeb8;
    }
    .obt-btn_menumain-top{
        max-width: 370px
    }
    
}
@media (min-width: 1400px) {
    .s-main .container-box {
        width: 60%
    }
    .s-main .box-btn {
        width: 80%;
        margin: 1.2em auto 0 auto !important;
    }
    .s-tournament {
        padding: 0 0 0 0;
    }

    .s-tournament .box-banner {
        width: 600px;
        padding: 32px 38px 0 28px;
    }
    .detail-other a {
        color: #ffd786;
        background-color: #633e00;
        border-radius: 5px;
        font-weight: 400;
        padding: 3px 26px;
        font-size: 0.9em;
    }
    .detail-other{
        position: absolute;
        z-index: 999;
        bottom: 38px;
        left: auto;
        text-align: center;
        width: 100%;
        color: #ffeeb8;
    }
}
@media (min-width: 1600px) {
.s-main .container-box {
        width: 60%
    }
.bg-video-custom {
    position: absolute;
    top: 0;
    left: 0;
    width: 102%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
}
@media (min-width: 1920px) {
    .s-main.bg3{
        width: 1920px;
        margin: 0 auto;
    }
    .s-tournament {
        width: 1920px;
        margin: 0 auto;
    }

    .s-tournament::after {
        width: 1920px;
        left: 0;
    }
    .owl-tournament {
        /* width: 1344px; */
        margin-left: auto;
        margin-right: auto;
    }
    
}