/* ============================ */


/* =========== Font ========== */


/* ========================== */
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sarabun:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
* {
    font-family: 'Sarabun', sans-serif;
}

html {
    position: relative;
    min-height: 100%;
}

html,
body {
    /* position: relative;
    min-height: 100%; */
}

body {
    color: #fff;
    /* overflow-x: visible; */
    background-color: #000;
    background-image: url("../images/background.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    /* background-attachment: fixed; */
    margin-bottom: 150px;
}

.desktop-body {
    margin-bottom: 20px;
}
.fixed-nav {
    position: fixed;
    bottom: 0px;
    z-index: 2;
}
#particles-js {
    position: fixed;
    width: 100%;
    /* height: 100%; */
    /* background-color: #000000;  */
    background-image: url("");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
    z-index: 0;
}

.m-main-body {
    color: #fff;
    /* overflow-x: visible; */
    background-color: #000;
    background-image: url("./images/background-m.jpg");
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    /* margin-top: 60px; */
    background-color: #000;
    padding: 15px;
    height: 81px;
}

.modal-alert-tyle {
    position: absolute;
    bottom: 0;
    z-index: 9999;
}

.navbar-nav {
    margin-left: auto;
    margin-right: 0;
    text-align: right;
}

.navbar {
    font-size: 14px;
    font-weight: 700;
    background-color: #1c1c1c;
    color: #fff;
    padding-top: 0px;
    padding-bottom: 0px;
    border-bottom: 2px solid #070707;
}

.navbar-nav a {
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #1c1c1c;
}

.navbar-expand-md .navbar-nav .nav-link {
    padding-right: 20px;
    padding-left: 20px;
    padding-top: 27px;
    padding-bottom: 27px;
}

.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link:hover {
    color: #1c1c1c !important;
    border: 1px solid rgb(237, 176, 56);
    background-image: -moz-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
    background-image: -webkit-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
    background-image: -ms-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
}

.navbar-light .navbar-nav .active>.nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show>.nav-link {
    color: #1c1c1c !important;
    border: 1px solid rgb(237, 176, 56);
    background-image: -moz-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
    background-image: -webkit-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
    background-image: -ms-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
}

.user-token {
    /* width: 80px; */
    height: 30px;
    border-radius: 30px;
    border: 2px solid #444444;
    background-color: #1c1c1c;
    text-align: left;
    margin-top: 24px;
    margin-right: 50px;
    position: relative;
}

.user-name {
    color: #fae11b;
    height: 30px;
    border-radius: 30px;
    border: 2px solid #444444;
    background-color: #1c1c1c;
    text-align: left;
    margin-top: 24px;
    margin-right: 30px;
    background-image: url(https://cdn.exe.in.th/activities/cabal/assets/cabal-brackets/images/yellow-bullet.png);
    background-position: 10px center;
    background-repeat: no-repeat;
    padding-left: 26px;
    padding-top: 2px;
}

.user-name span {
    border-left: 2px solid #444444;
    height: 26px;
    display: inline-block;
    margin-left: 10px;
    padding-left: 10px;
    padding-right: 20px;
    color: #fff;
}

.user-token img {
    position: relative;
    top: -2px;
}

.user-token span {
    padding-left: 16px;
    text-align: center;
    padding-right: 22px;
}

.user-token img {
    text-align: left;
}


/* Bracket */

.team-flag {
    width: 1900px;
    margin-top: 90px;
}

.brackets-container {
    width: 950px;
    padding-top: 0px;
}

.round-title-contaner {
    margin-top: 30px;
    width: 1900px;
    position: relative;
    z-index: 3;
}


/* 8 Team */

.bracket-section-8 {
    /* width: 1520px; */
    width: 1672px;
    margin: 0 auto;
    top: -67px;
    position: relative;
}

.round-title-contaner-8 {
    margin-top: 30px;
    /* width: 1520px; */
    width: 1672px;
    position: relative;
    z-index: 3;
    margin-left: auto;
    margin-right: auto;
}

.vote-group {
    margin-top: 30px;
    /* width: 1520px; */
    width: 1672px;
    position: relative;
    z-index: 3;
    margin-left: auto;
    margin-right: auto;
    top: -30px;
}

.brackets-container-8 {
    width: 760px;
    padding-top: 0px;
    margin-top: 17px;
}

.bracket-left .round:nth-of-type(2) {
    position: relative;
    top: 20px;
}

.bracket-right .round:nth-of-type(3) {
    position: relative;
    top: 20px;
}

.round-title-contaner-8 .title-semi {
    top: 70px !important;
    left: 77px;
}

.round-title-contaner-8 .title-final {
    left: 77px;
    top: 142px !important;
}

.round-title-contaner-8 .title-final-2 {
    left: 112px;
    top: 142px !important;
}

.round-title-contaner-8 .logo-large {
    top: -250px !important;
}

.round-title-contaner-8 .title-grandfinal {
    top: 215px !important;
    left: 79px;
}

.title-grandfinal small {
    opacity: 0;
}

.title-grandfinal h2 {
    position: relative;
    top: 20px;
}

.round-title-contaner-8 .title-grandfinal h2,
.round-title-contaner-8 .title-grandfinal small {
    text-shadow: 0px 0px 14px rgba(0, 0, 0, .9) !important;
}

.round-title-contaner-8 .title-grandfinal h2,
.round-title-contaner-8 .title-grandfinal small {
    /* background: rgba(24, 24, 24, .5);
    padding-top: 10px;
    padding-bottom: 10px; */
}

.upper-bracket-2 {
    margin-top: -30px;
}


/* 8 Team End */

.round-title {
    width: 190px;
    padding-left: 25px;
}

.round-title h2 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: -6px;
}

.round-title-2 {
    width: 190px;
    padding-left: 25px;
}

.round-title-2 h2 {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: -6px;
}

.round-title-2 small {
    text-transform: uppercase;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
}

.round-title small {
    text-transform: uppercase;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
}

.title-16 {
    position: relative;
    top: -3px;
}

.title-8 {
    position: relative;
    top: 24px;
    left: 79px;
}

.title-8-2 {
    left: 104px;
}

.title-lower-1 {
    position: absolute;
    top: 442px;
    left: 77px;
}

.title-lower-2 {
    position: absolute;
    top: 380px;
    left: 266px;
}

.title-lower-3 {
    position: absolute;
    top: 380px;
    left: 1220px;
}

.title-lower-3-2 {
    left: 1244px;
}

.title-lower-4 {
    position: absolute;
    top: 442px;
    left: 1406px;
}

.title-lower-4-2 {
    left: 1434px;
}

.title-semi {
    position: relative;
    top: 78px;
}

.title-final {
    position: relative;
    top: 185px;
}

.title-grandfinal {
    width: 380px !important;
    position: relative;
    top: 548px;
    padding-right: 25px;
}

.title-grandfinal h2,
.title-grandfinal small {
    text-align: center;
    display: block;
}

.title-grandfinal h2 {
    font-size: 30px;
    font-weight: 800;
}

.title-grandfinal small {
    position: relative;
    padding-top: 4px;
}

.round {
    display: -webkit-box;
    display: flex;
    /* -webkit-box-flex: 1;
          flex-grow: 1; */
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}

.round-title {
    /* top: 0;
    position: absolute; */
}

.round:first-child .match::before {
    display: none;
}

.round:first-child .team-content::before {
    display: none;
}

.round:last-child .match::after {
    display: block;
    border-right-color: transparent;
}

.team-vote {
    left: 0px;
    bottom: -16px;
    position: absolute;
    width: 40px;
    height: 14px;
    /* background-color: #444444; */
    color: #fae11b;
    font-size: 10px;
    text-align: center;
    line-height: 1.2;
    font-weight: 600;
    background-image: url(https://cdn.exe.in.th/activities/cabal/assets/cabal-brackets/images/percent-bg.png);
}

.team-up {
    width: 30px;
}

.team-up img {
    transition: 0.1s;
}

.team-up img:hover {
    transform: scale(0.92);
    filter: brightness(1.3);
}

.vote-disable img {
    opacity: 0.7;
    transform: scale(1);
    /* filter: brightness(1); */
    filter: grayscale(1);
    cursor: not-allowed;
}

.vote-disable img:hover {
    transform: scale(1);
    /* filter: brightness(1); */
    filter: grayscale(1);
    cursor: not-allowed;
}

.team-name {
    /* width: 110px; */
    width: 140px;
    text-align: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    font-size: 10px;
    font-weight: 500;
}

.team-up .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0px solid transparent;
    background-color: transparent;
    position: relative;
    top: -2px;
    left: -2px;
}

.bracket-right .team-up .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0px solid transparent;
    background-color: transparent;
    position: relative;
    top: -2px;
    left: 2px;
}

.bracket-right .team-name {
    text-align: center;
}

.bracket-right .team-vote {
    left: 68px;
}

.match {
    width: 140px;
    /* height: 30px; */
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    -webkit-box-pack: center;
    justify-content: center;
    margin: 0px 25px;
    padding: 30px 0;
    -webkit-box-flex: 1;
    flex-grow: 1;
    position: relative;
}

.match::before {
    content: "";
    display: block;
    height: 30px;
    border-left: 2px solid #8f8f8f;
    position: absolute;
    left: -25px;
    top: 50%;
    margin-top: -15px;
    margin-left: -2px;
}

.match:nth-child(odd)::after {
    content: "";
    display: block;
    border: 2px solid transparent;
    border-top-color: #8f8f8f;
    border-right-color: #8f8f8f;
    height: 50%;
    position: absolute;
    right: -25px;
    width: 25px;
    top: 50%;
}

.match:nth-child(even)::after {
    content: "";
    display: block;
    border: 2px solid transparent;
    border-bottom-color: #8f8f8f;
    border-right-color: #8f8f8f;
    height: 50%;
    position: absolute;
    right: -25px;
    width: 25px;
    bottom: 50%;
}

.team-content {
    border: 2px solid #444444;
    width: 100%;
    height: 30px;
    position: relative;
    background-color: #000;
}

.team-wins {
    border: 2px solid rgb(250, 225, 27) !important;
    color: rgb(250, 225, 27);
}

.team-content::before {
    content: "";
    display: block;
    width: 25px;
    border-bottom: 2px solid #8f8f8f;
    margin-left: -2px;
    position: absolute;
    top: 50%;
    left: -25px;
}

.bracket-right .round:first-child .match::before {
    display: block;
}

.bracket-right .round:first-child .team-content::before {
    display: block;
}

.bracket-right .round:last-child .match::after {
    display: block;
}

.bracket-right .round:last-child .match::before {
    display: none;
}

.bracket-right .round:last-child .team-content::before {
    display: none;
}

.bracket-right .round:first-child .match::after {
    display: block;
}

.bracket-right .match::before {
    content: "";
    display: block;
    height: 30px;
    border-left: 2px solid #8f8f8f;
    position: absolute;
    left: 167px;
    top: 50%;
    margin-top: -15px;
    margin-left: -2px;
}

.bracket-right .match:nth-child(odd)::after {
    content: "";
    display: block;
    border: 2px solid transparent;
    border-top-color: #8f8f8f;
    border-right-color: transparent;
    border-left-color: #8f8f8f;
    height: 50%;
    position: absolute;
    right: 140px;
    width: 25px;
    top: 50%;
}


/* .bracket-right .match:nth-child(even)::after {
    content: "";
    display: block;
    border: 2px solid transparent;
    border-bottom-color: #8f8f8f;
    border-right-color: transparent;
    border-left-color: #8f8f8f;
    height: 50%;
    position: absolute;
    right: 140px;
    width: 25px;
    bottom: 50%;
} */

.bracket-right .match:nth-child(even)::after {
    content: "";
    display: block;
    border: 2px solid transparent;
    border-bottom-color: #8f8f8f;
    border-right-color: transparent;
    border-left-color: #8f8f8f;
    height: 50%;
    position: absolute;
    right: 140px;
    width: 25px;
    bottom: 50%;
}

.bracket-right .team-content::before {
    left: 140px;
}

.bracket-right .round:first-child .match::after {
    display: block;
    border-left-color: transparent;
}

.logo-large {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    top: -390px;
}


/* mobile-brackets-container */
.title-tournament {
    text-align: center;
    color: #fff;
}
.title-tournament h2{
    text-align: center;
    color: #fff;
    font-weight: 700;
}
.team-display-container {
    margin-top: 140px;
    background-color: #000;
    padding: 30px 30px 20px 30px;
}
.team-display-lg {
    /* width: 50%; */
    flex-basis: calc(25% - 20px);
    padding: 10px 10px;
    border-radius: 100px;
    text-align: center;
    /* border: 2px solid rgb(224 84 241); */
    border: 2px solid rgb(93 93 93);
    background-color: rgb(57, 57, 57);

    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}
.team-name-lg {
    font-size: 12px;
    font-weight: 500;
    margin-top: 10px;
    margin-left: 10px;
    text-align: left;
}
.team-rank-lg {
    font-size: 12px;
    font-weight: 500;
    margin-top: 10px;
    margin-left: 10px;
    text-align: left;
}
.team-display-lg img {
    border: 3px solid rgb(84, 84, 84);
    width: 40px;
    border-radius: 100px;
}
.team-display-group {
    
}
.mobile-brackets-container {
    margin-top: 40px;
}
.teams-table {
    margin-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
}
.partner-banner {
    margin-top: 40px;
    margin-bottom: 0px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
}
.partner-title {
    font-family: 'Kanit', sans-serif;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
    font-weight: 500;
    font-size: 24px;
}
.banner-img {
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;
}
.card {
    background-color: #000;
    border: 0px solid rgba(0,0,0,.125);
}

.card-header {
    padding: 10px;
    /* background-color: rgb(34, 34, 34); */
    background-color: rgb(137 44 148);
    translate: 0.2s;
}
.card-header:hover {
    filter: brightness(120%);
}
.card-header h2 button {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    text-align: center !important;
    text-transform: uppercase;
    text-decoration: none;
}

.card-header h2 button small {
    display: block;
    font-size: 14px;
}

.card-header h2 button:hover {
    text-transform: uppercase;
    text-decoration: none;
    color: rgb(255 255 255);
    
}

.card-body {
    padding: 10px 10px 3px 10px;
}


/* Team Mobile */

.m-match {
    padding: 3px 5px;
    background-color: #2f2f2f;
    margin-bottom: 7px;
}

.m-team-up .btn {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0px solid transparent;
    background-color: transparent;
    position: relative;
    top: 0px;
    left: 0px;
}

.m-team-vote {
    color: #fae11b;
    font-size: 10px;
    text-align: center;
    line-height: 2.4;
    font-weight: 600;
    padding-left: 6px;
    padding-right: 6px;
    border: 2px solid #2f2f2f;
    background: #222;
}

.m-team-up {
    width: 30px;
}

.m-team-up img {
    transition: 0.1s;
}

.m-team-up img:hover {
    transform: scale(0.92);
    filter: brightness(1.3);
}

.versus-center {
    font-size: 20px;
    font-weight: 800;
    width: 20%;
    text-align: center;
    padding: 3px;
    /* border: 2px solid #222; */
    text-transform: uppercase;
    color: #fbd31c;
}

.versus-center span {
    text-align: center;
    font-size: 10px;
    font-weight: 500;
    display: block;
    position: relative;
    top: -3px;
    /* background-color: #0f0f0f; */
    border-radius: 20px;
    padding-top: 0px;
    padding-bottom: 2px;
    color: #ffcc0a;
}

.m-left-side {
    padding: 3px;
    border: 2px solid #222;
    width: 40%;
    align-items: center;
    align-self: stretch;
}

.m-right-side {
    padding: 3px;
    border: 2px solid #222;
    width: 40%;
    align-items: center;
    align-self: stretch;
}

.m-team-name {
    padding-left: 5px;
    padding-right: 5px;
    /* padding-top: 5px; */
    font-size: 12px;
    font-weight: 500;
    width: 80%;
    text-align: center;
}
.team-display {
    /* height: 100px; */
    width: 100px;
    border: 2px solid #545454;
}

/* History */

.history-container {
    margin-top: 150px;
}

thead {
    font-size: 14px;
    color: #0f0f0f;
    background-image: -moz-linear-gradient( 90deg, rgba(250, 172, 27, 0.99608) 0%, rgb(250, 225, 27) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgba(250, 172, 27, 0.99608) 0%, rgb(250, 225, 27) 100%);
    background-image: -ms-linear-gradient( 90deg, rgba(250, 172, 27, 0.99608) 0%, rgb(250, 225, 27) 100%);

    /* background-image: -moz-linear-gradient( 90deg, rgba(110 0 173) 0%, rgb(175 35 255) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgba(110 0 173) 0%, rgb(175 35 255) 100%);
    background-image: -ms-linear-gradient( 90deg, rgba(110 0 173) 0%, rgb(175 35 255) 100%); */

    /* background-image: -moz-linear-gradient( 90deg, rgb(117, 4, 173) 0%, rgb(207, 110, 255) 100%);
    background-image: -webkit-linear-gradient( 90deg, rgb(117, 4, 173) 0%, rgb(207, 110, 255) 100%);
    background-image: -ms-linear-gradient( 90deg, rgb(117, 4, 173) 0%, rgb(207, 110, 255) 100%); */
}

.table-dark {
    border: 1px solid rgba(250, 172, 27, 1) !important;
    border-bottom: 4px solid rgba(250, 172, 27, 1) !important;
}

.table thead th {
    vertical-align: middle;
    border-bottom: 2px solid rgba(250, 172, 27, 1) !important;
    border-right: 1px solid rgba(250, 172, 27, 1) !important;
    border-top: 1px solid rgba(250, 172, 27, 1) !important;
    text-align: center;
    color: rgb(0, 0, 0);
}

.table-dark td,
.table-dark th,
.table-dark thead th {
    border-color: transparent;
    text-align: center;
}

.table-dark.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: rgba(15, 15, 15, 1);
}
.table-dark.table-hover tbody tr:hover {
    background-color: rgba(255,255,255,.075) !important;
}
.table td {
    font-size: 14px;
    font-weight: 600;
    text-align: center !important;
    vertical-align: middle;
}


/* Redeem */

.redeem-container {
    margin-top: 70px;
}

.redeem-rare {
    margin-top: 150px;
}

.rare-container {
    padding-left: 15px;
    padding-right: 15px;
}

.table td .btn {
    padding: 0;
    border: 0px solid transparent;
    background-color: transparent;
    position: relative;
    top: 0px;
    left: 0px;
}

.redeem-button .btn {
    padding: 0;
    border: 0px solid transparent;
    background-color: transparent;
    position: relative;
    top: 0px;
    left: 0px;
}

.redeem-button .btn img,
td .btn img {
    transition: 0.1s;
}

.redeem-button .btn img:hover,
td .btn img:hover {
    transform: scale(0.92);
    filter: brightness(1.3);
}

.token-use {
    height: 40px;
    width: 74px;
    border-radius: 30px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: 2px solid #444444;
    border-right: 0px solid transparent;
    background-color: #1c1c1c;
    text-align: left;
    margin-top: 0px;
    margin-right: 0px;
    padding-top: 3px;
    padding-left: 4px;
}

.token-use span {
    padding-left: 5px;
    text-align: center;
    top: 1px;
    position: relative;
    font-size: 14px;
    font-weight: 700;
}

.redeem-button {
    margin-top: 24px;
}

.example-items {
    width: 40px;
    margin-right: 10px;
}
span.items-all-player-name {
    position: relative;
    top: -7px;
}
.redeem-container th {
    font-size: 12px;
}

.redeem-container th:first-child {
    text-align: left;
}

.items-all-player {
    padding-left: 53px;
    font-style: italic;
    color: rgb(251 217 75);
    margin-top: -19px;
}

/* swipe version */

.swipe-version {
    width: 100%;
    position: absolute;
    top: 76px;
    z-index: 4;
    left: 0;
    right: 0;
    margin: auto;
}

.swipe-btn {
    border-radius: 0px;
}

.swipe-btn a.btn {
    margin-left: 1px;
    margin-right: 1px;
    padding-top: 2px;
    padding-bottom: 3px;
    font-size: 12px;
    color: #fff;
    border-radius: 0;
    background-color: #1c1c1c;
    border-bottom: 2px solid #444;
}

.swipe-btn a.btn i {
    padding-right: 5px;
}

.swipe-btn a.btn:hover {
    color: #fae11b !important;
    border-bottom: 2px solid #fae11b !important;
}

.swipe-btn .active {
    color: #fae11b !important;
    border-bottom: 2px solid #fae11b !important;
}


/* Team Disable */

.team-disable {
    border: #1c1c1c;
    width: 100%;
    height: 30px;
    position: relative;
    background-color: #1c1c1c;
    opacity: 0.8;
    cursor: not-allowed;
    filter: brightness(1);
}

.team-disable .team-name {
    color: #393939;
}

.team-disable .team-vote {
    color: #242424;
}


/* Lower Bracket */

.lower-bracket {
    padding-top: 70px;
    /* padding-top: 87px; */
    position: relative;
    top: 20px;
}

.lower-relative-1 {
    position: relative;
    top: 20px;
}

.lower-relative-2 {
    position: relative;
    top: -16px;
}

.upper-relative-3 {
    top: 18px;
}

.lower-relative-3 {
    position: relative;
    top: 20px;
}

.lower-relative-4 {
    position: relative;
    top: 20px;
}

.lower-relative-5 {
    position: relative;
    top: 20px;
}

.lower-relative-6 {
    position: relative;
    top: -16px;
}

.match.lower-relative-3::after {
    content: "";
    display: block;
    border-width: 2px;
    border-style: solid;
    border-color: transparent rgb(143, 143, 143) rgb(143, 143, 143) transparent;
    border-image: initial;
    height: 90%;
    position: absolute;
    right: -25px;
    width: 25px;
    bottom: 50%;
}

.match.lower-relative-1::before {
    content: "";
    display: block;
    height: 0px;
    border-left: 0px solid rgb(143, 143, 143);
    position: absolute;
    left: -25px;
    top: 50%;
    margin-top: -15px;
    margin-left: -2px;
}

.lower-relative-1 .team-content::before {
    content: "";
    display: block;
    width: 0px;
    border-bottom: 0px solid rgb(143, 143, 143);
    margin-left: -2px;
    position: absolute;
    top: 50%;
    left: -25px;
}

.bracket-right .match.lower-relative-4::after {
    content: "";
    display: block;
    border-width: 2px;
    border-style: solid;
    border-color: transparent transparent rgb(143, 143, 143) rgb(143, 143, 143);
    border-image: initial;
    height: 90%;
    position: absolute;
    right: 140px;
    width: 25px;
    bottom: 50%;
}

.bracket-right .match.lower-relative-5::before {
    content: "";
    display: block;
    height: 0px;
    border-left: 0px solid rgb(143, 143, 143);
    position: absolute;
    left: 167px;
    top: 50%;
    margin-top: -15px;
    margin-left: -2px;
}

.bracket-right .match.lower-relative-5 .team-content::before {
    content: "";
    display: block;
    width: 0px;
    border-bottom: 0px solid rgb(143, 143, 143);
    margin-left: -2px;
    position: absolute;
    top: 50%;
    left: -25px;
}

.vote-btn-group .btn {
    height: 40px;
    width: 138px;
    border-radius: 3px;
    font-weight: 700;
    color: #1c1c1c !important;
    border: 1px solid rgb(237, 176, 56);
    background-image: -moz-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
    background-image: -webkit-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
    background-image: -ms-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
}

.m-vote-btn-group .btn {
    margin-top: 3px;
    padding: 3px 10px;
    height: 30px;
    border-radius: 3px;
    font-weight: 700;
    color: #1c1c1c !important;
    border: 1px solid rgb(237, 176, 56);
    background-image: -moz-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
    background-image: -webkit-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
    background-image: -ms-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
}
.move-to-vote {
    text-align: center;
}
.move-to-vote .btn {
    height: 40px;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    
    margin-top: 5px;
    margin-bottom: 10px;
    border-radius: 3px;
    font-weight: 700;
    color: #1c1c1c !important;
    border: 1px solid rgb(237, 176, 56);
    background-image: -moz-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
    background-image: -webkit-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
    background-image: -ms-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
}
.game-count {
    font-size: 12px;
    color: #fff;
    font-weight: 500;
    margin-bottom: 6px;
}
.game-count-size {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    margin-top: -14px;
}
.vote-btn-group .btn:hover {
    filter: brightness(1.1);
}

.vote-btn-group .vote-disable {
    opacity: 0.5;
    transform: scale(1);
    /* filter: brightness(1); */
    filter: grayscale(1);
    cursor: not-allowed;
}

.vote-btn-group .vote-disable:hover {
    transform: scale(1);
    /* filter: brightness(1); */
    filter: grayscale(1);
    cursor: not-allowed;
}

.vote-upper-1 {
    top: 22px;
    position: absolute;
    left: 102px;
}

.vote-upper-2 {
    top: 172px;
    position: absolute;
    left: 102px;
}

.vote-upper-3 {
    top: 83px;
    position: absolute;
    left: 292px;
}

.vote-upper-3 .btn {
    height: 40px;
    width: 138px;
    top: 14px;
    position: relative;
}

.vote-upper-4 {
    top: 83px;
    position: absolute;
    left: 1242px;
}

.vote-upper-4 .btn {
    height: 40px;
    width: 138px;
    top: 14px;
    position: relative;
}

.vote-upper-5 {
    top: 22px;
    position: absolute;
    left: 1432px;
}

.vote-upper-6 {
    top: 172px;
    position: absolute;
    left: 1432px;
}

.vote-lower-1 {
    top: 442px;
    position: absolute;
    left: 102px;
}

.vote-lower-2 {
    top: 389px;
    position: absolute;
    left: 292px;
}

.vote-lower-2 .btn {
    height: 40px;
    width: 138px;
}

.vote-lower-3 {
    top: 389px;
    position: absolute;
    left: 1242px;
}

.vote-lower-3 .btn {
    height: 40px;
    width: 138px;
}

.vote-lower-4 {
    top: 442px;
    position: absolute;
    left: 1432px;
}

.vote-finals {
    top: 223px;
    position: absolute;
    left: 483px;
}

.vote-finals .btn {
    height: 40px;
    width: 138px;
}

.vote-finals-2 {
    top: 201px;
    position: absolute;
    left: 1052px;
}

.vote-finals-2 .btn {
    height: 40px;
    width: 138px;
}

.vote-grandfinals {
    top: 286px;
    position: absolute;
    left: 767px;
}

.vote-grandfinals .btn {
    height: 40px;
    width: 138px;
}

.team-vote {
    display: none;
}

.cabal-date {
    top: 234px;
    position: absolute;
    width: 1672px;
    height: 80px;
    margin: 0 auto;
    left: 0;
    right: 0;
}

.flag-right {
    position: relative;
    top: 8px;
}

.capella-date,
.procyon-date,
.capella-date-2,
.procyon-date-2 {
    font-weight: bold;
    font-size: 22px;
    position: relative;
}

.capella-date {
    left: 102px;
}

.procyon-date {
    right: 102px;
}

.capella-date-2 {
    top: 373px;
    left: 101px;
    font-size: 22px;
    position: absolute;
}

.procyon-date-2 {
    top: 373px;
    left: 1400px;
    font-size: 22px;
    position: absolute;
}

.title-grandfinal small {
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
}

.bracket-section-8 {
    margin-top: -28px;
}

.m-bracket-sub-title {
    text-align: center;
    padding-bottom: 10px;
    padding-top: 5px;
    font-size: 14px;
    background-color: #424242;
    padding-top: 9px;
}

.d-date-vote {
    padding-top: 3px;
    font-size: 10px;
    top: 66px;
    left: 0px;
    right: 0px;
    margin: 0px auto;
    height: 30px;
    width: 170px;
    position: absolute;
    background-color: rgb(250 204 27);
    clip-path: polygon(10% 100%, 90% 100%, 100% 0px, 0px 0px);
    text-align: center;
    color: rgb(0 0 0);
    font-weight: 800;
}

.d-date-vote span {
    padding-left: 4px;
    font-size: 16px;
    color: #facc1b;
    color: rgb(0 0 0);
    font-weight: 800;
}

.matchvote-container {
    margin-top: 150px;
    padding-bottom: 40px;
    width: 700px;
    margin-left: auto;
    margin-right: auto;
    /* padding: 40px; */
    background-color: rgb(0, 0, 0, .8);
    /* border: 3px solid rgb(68, 68, 68); */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.7);
    position: relative;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.d-title-round h2 {
    margin-bottom: 0px;
    text-align: center;
    font-weight: 800;
    background-color: rgb(47, 47, 47);
    color: #fff;
    padding-top: 14px;
    padding-bottom: 14px;
}

.d-event-logo img {
    width: 150px;
}

.d-text-title-center {
    font-size: 120px;
    font-weight: 800;
    text-align: center;
    color: #facc1b;
}

.match-row {
    padding: 40px;
    border: 0px solid rgb(31, 31, 31);
    border-top: 3px solid rgb(250 204 27);
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

.team-left,
.team-right {
    width: 200px;
    /* background: rgb(47, 47, 47); */
    padding: 5px;
    text-align: center;
    border-radius: 9px;
    border: จpx solid rgb(117, 4, 173);
    background-image: -moz-linear-gradient( -90deg, rgb(255, 237, 97) 16%, rgb(250, 169, 27) 100%);
    background-image: -webkit-linear-gradient( -90deg, rgb(255, 237, 97) 16%, rgb(250, 169, 27) 100%);
    background-image: -ms-linear-gradient( -90deg, rgb(255, 237, 97) 16%, rgb(250, 169, 27) 100%);
    /* background-image: -moz-linear-gradient( -90deg, rgb(207, 110, 255) 16%, rgb(117, 4, 173) 100%);
    background-image: -webkit-linear-gradient( -90deg, rgb(207, 110, 255) 16%, rgb(117, 4, 173) 100%);
    background-image: -ms-linear-gradient( -90deg, rgb(207, 110, 255) 16%, rgb(117, 4, 173) 100%); */
}

.d-team-inner {
    padding: 12px 20px 20px 20px;
    border: 2px solid rgb(23, 23, 1);
    border-radius: 6px;
    background: #2f2f2f;
}

.d-team-vote-btn .btn {
    padding: 0;
    border: 0px solid #000;
    /* width: 100%; */
    border-radius: 0;
    text-align: left;
    background-color: transparent;
}

.d-team-vote-btn .btn img {
    width: 88px;
}

.d-team-vote-btn .btn img {
    transition: 0.1s;
}

.d-team-vote-btn .btn img:hover {
    transform: scale(0.92);
    filter: brightness(1.3);
}

.d-team-name {
    margin-top: 7px;
}

.d-team-vote-btn {
    margin-top: 10px;
}

.d-team-vote {
    color: rgb(250, 225, 27);
    font-size: 13px;
    text-align: center;
    line-height: 2.4;
    font-weight: 600;
    padding-left: 10px;
    padding-right: 10px;
    border: 0px solid rgb(47, 47, 47);
    background: rgb(34, 34, 34);
}

.d-team-score-title {
    font-size: 12px;
    text-align: center;
}

.d-team-score-result {
    text-align: center;
    width: 100px;
    background-color: #222;
    margin: 0 auto;
    margin-bottom: 6px;
    border-radius: 33px;
}

.d-team-wins {
    color: #242424;
    font-weight: 700;
    background-color: rgb(250 204 27);
}

.d-team-logo {
    border: 3px solid #464646;
}

.d-team-logo img {
    width: 140px;
}

.btn.refresh-token-btn {
    padding: 0px;
    background-color: rgb(36, 36, 36);
    border-radius: 20px;
    height: 24px;
    width: 24px;
    position: absolute;
    border: 2px solid #444;
    right: -11px;
    top: -12px;
}

.refresh-token-btn img {
    position: relative;
    top: -4px;
    width: 14px;
    transition: 0.8s;
}

.refresh-token-btn:hover img {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
}

.disable-vote-lg {
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.disable-vote-lg img {
    opacity: 0.7;
    transform: scale(1);
    filter: grayscale(1);
    cursor: not-allowed;
}

.disable-vote-lg img:hover {
    transform: scale(1);
    filter: grayscale(1);
    cursor: not-allowed;
}

.backto-btn {
    border-radius: 30px;
    width: 140px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0px;
    color: rgb(250, 225, 27);
    border-color: rgb(250, 225, 27);
    /* border-color: rgb(250, 225, 27);
    /* color: rgb(207 110 255);
    border-color: rgb(207 110 255); */
    border-width: 2px;
    /* border-radius: 0px; */
    background-color: transparent;
    transition: 0.2s;
}

.backto-btn:hover {
    color: #242424;
    border-color:    rgb(250, 225, 27);
    background-color: rgb(207 110 255);
    background-image: -moz-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
    background-image: -webkit-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
    background-image: -ms-linear-gradient( -90deg, rgb(250, 225, 27) 16%, rgb(250, 169, 27) 100%);
}

/* Cabal M */
.cabal-m-bracket-container {
    /* width: 1600px; */
    margin-top: 120px;
}
.cabal-m-bracket-container .nav-link {
    display: block;
    padding: 0;
}
.cabal-m-bracket-container .nav {
    justify-content: center;
}
.cabal-m-bracket-container .nav-tabs .nav-link {
    border: 1px solid transparent;
    border-top-left-radius: 0rem;
    border-top-right-radius: 0rem;
    margin-left: 0px;
    margin-right: 0px;
}
.cabal-m-bracket-container .nav-tabs .nav-item.show .nav-link, 
.cabal-m-bracket-container .nav-tabs .nav-link.active {
    background-color: #892c94;
    filter: brightness(130%);color: #fff;
}
.cabal-m-bracket-container .nav-tabs {
    border-bottom: 1px solid #dee2e600;
    background: #892c94;
}
.cabal-m-bracket-container .nav-link:hover {
    background-color: #892c94;
    filter: brightness(130%);color: #fff;
}
.cabal-m-bracket-title {
    padding: 10px 20px;
    background-color: #892c94;
    font-weight: 700;
    color: #fff;
}
@media (max-width: 1199.98px) {
    .navbar-nav a {
        color: #fff !important;
        font-size: 12px;
        font-weight: 700;
        border: 1px solid #1c1c1c;
    }
    body {
        /* background-position: left 60px; */
    }
    .navbar-expand-md .navbar-nav .nav-link {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .user-token,
    .user-name {
        margin-top: 12px;
    }
    .user-token {
        margin-right: 30px;
    }
    .swipe-version {
        top: 58px;
    }

    /* ตารางคะแนนแข่ง */
    .team-display-lg {
        /* width: 50%; */
        flex-basis: calc(50% - 20px);
    }
}

@media (max-width: 991.98px) {
    .navbar {
        font-size: 10px;
    }
    .navbar-nav a {
        color: #fff !important;
        font-size: 10px;
        font-weight: 700;
        border: 1px solid #1c1c1c;
    }
    .navbar-expand-md .navbar-nav .nav-link {
        padding-right: 10px;
        padding-left: 10px;
    }
    .user-name {
        line-height: 2.3;
        margin-right: 10px;
    }
    .user-name span {
        padding-right: 10px;
    }
    .user-token {
        margin-right: 20px;
    }
    body {
        /* background-position: left 60px; */
    }
    .matchvote-container {
        width: auto;
    }
    .mobile-brackets-container {
        margin-top: 20px;
    }

    /* Vote */
    .vote-btn-group .btn {
        width: 80px;
    }
}

@media (max-width: 767.98px) {
    .navbar-light .navbar-toggler {
        color: rgb(250, 225, 27);
        border-color: rgb(250, 225, 27);
        border-radius: 0;
    }
    .user-name {
        margin-right: 0;
        line-height: 1.7;
    }
    .user-token {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .navbar {
        font-size: 14px;
    }
    .navbar-nav a {
        color: #fff !important;
        font-size: 14px;
        font-weight: 700;
        border: 1px solid #1c1c1c;
    }
    .m-table-history {
        width: 770px;
    }
    .m-title-round h2 {
        padding-left: 15px;
        padding-right: 15px;
        font-size: 20px;
        border-bottom: 3px solid rgb(250 204 27);
    }
    .d-date-vote {
        top: 55px;
    }
    .match-row {
        padding: 40px 20px;
    }
    .d-date-vote {
        position: relative;
        top: 0;
    }
    .match-row {
        padding: 20px 20px 30px 20px;
        border: 0px solid rgb(31, 31, 31);
        border-top: 0px solid rgb(250, 225, 27);
        border-bottom-left-radius: 6px;
        border-bottom-right-radius: 6px;
    }
    .d-text-title-center {
        font-size: 40px;
        padding-bottom: 5px;
    }
    .matchvote-container {
        margin-top: 80px;
    }
    .d-team-logo {
        display: none;
    }
    .d-team-name {
        margin-top: 0;
    }
    .d-team-score-result {
        margin-top: 2px;
    }
    .m-vote-btn-group .btn {
        font-size: 12px;
        padding-top: 1px;
        height: 22px;
    }

    /* Partnaer */
    .partner-banner {
        width: 100%;
    }

    /* ตารางคะแนนแข่ง */
    .title-tournament h2 {
        text-align: center;
        color: rgb(255, 255, 255);
        font-weight: 700;
        font-size: 20px;
    }
    .team-display-container {
        margin-top: 80px;
        background-color: rgb(0, 0, 0);
        padding: 20px 20px 10px;
    }
    .team-display-lg {
        /* width: 50%; */
        flex-basis: calc(50% - 20px);
        padding: 6px;
    }
    .team-name-lg {
        font-size: 10px; 
    }
    .team-rank-lg {
        font-size: 10px; 
    }
}

@media (max-width: 575.98px) {
    .m-team-name {
        padding-left: 3px;
        padding-right: 3px;
        /* padding-top: 5px; */
        font-size: 10px;
        font-weight: 500;
        margin-bottom: 10px;
        margin-top: 10px;
    }
    .team-display {
        width: 50px;
        border: 2px solid rgb(84, 84, 84);
        margin-top: 10px;
    }
    .m-match {
        padding-left: 3px;
        padding-right: 3px;
        margin-bottom: 5px;
    }
    .m-team-vote {
        font-size: 8px;
        padding-left: 5px;
        padding-right: 5px;
    }
    .versus-center {
        font-size: 14px;
        width: auto;
        margin-left: 5px;
        margin-right: 5px;
    }
    .versus-center span {
        text-align: center;
        font-size: 10px;
        font-weight: 500;
        display: block;
        position: relative;
        top: -1px;
        padding-top: 0px;
        padding-bottom: 2px;
    }
    .m-right-side,
    .m-left-side {
        width: 42%;
    }
    .card-body {
        padding: 6px 6px 0px 6px;
    }
    .card-header h2 button{
        font-size: 12px;
    }
    /* Banner */
    .banner-img {
        width: 40%;
    }
    .partner-banner {
        width: 85%;
    }

    .team-display-lg {
        /* width: 50%; */
        flex-basis: calc(100% - 20px);
        padding: 6px;
    }
    .team-name-lg {
        font-size: 10px; 
    }
    .team-rank-lg {
        font-size: 10px; 
    }

    /* navtab */
    .cabal-m-bracket-title {
        padding: 10px 14px;
        font-size: 10px;
        font-weight: 500;
    }
}


/* Sweet Modal */

.swal2-modal {
    background-color: transparent !important;
    box-shadow: 0px 0px 6px rgba(82, 243, 249, 0);
    border-radius: 0;
    padding-bottom: 30px !important;
    border: 0px solid #f52cc1;
}

.swal2-container.swal2-shown {
    background-color: rgba(0, 0, 0, 0.9);
}

.swal2-content {
    /* background-color: #000 !important; */
    /* box-shadow: 0px 0px 6px rgba(82,243,249,0); */
    border-radius: 0;
    padding-bottom: 30px !important;
    /* border: 2px solid #e5c259;
    border-radius: 30px; */
    border: 2px solid 2px solid #bd8314;
    border-radius: 0px;
    background-color: rgb(0, 0, 0);
    box-shadow: 0px 0px 10px rgba(217, 201, 72, 0.92);
}

.action-title,
.reward-title {
    font-size: 28px;
    color: #ffcc0a;
    font-weight: 500;
    padding-top: 20px;
    background-color: #000;
    border-radius: 20px;
}

.reward-title-2 {
    font-size: 32px;
    color: #f52cc1;
    font-weight: 500;
    padding-top: 20px;
}

.swal2-modal .swal2-buttonswrapper {
    margin-top: 10px;
}

.items-name {
    color: #fff;
}

.item-name {
    padding-top: 20px;
    color: #fff;
    font-size: 20px;
    padding-left: 20px;
    padding-right: 20px;
}

.itemx1 {
    padding-top: 30px;
    padding-bottom: 30px;
}

.itemx1 img {
    margin-bottom: 20px;
}

.items-pointx10 {
    padding-top: 10px;
    padding-bottom: 10px;
}

.point-total {
    color: #ffcc0a;
}

.item-remark {
    font-size: 12px;
    color: #373737;
    font-style: italic;
}

.btn-close {
    padding-top: 12px !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    color: #373737 !important;
    font-size: 16px !important;
    background-color: #fad41b !important;
    border-radius: 6px !important;
}

.swal2-icon.swal2-error {
    border-color: #e5c259;
}

.swal2-icon.swal2-error .line {
    background-color: #e5c259;
}

.btn-close-style-2 {
    padding-top: 12px !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    color: #c5f0fe !important;
    font-size: 14px !important;
    background-color: #dd4141 !important;
    border-radius: 30px !important;
}

.freeUser-btn,
.payUser-btn {
    margin-top: 30px;
    margin-left: 15px;
    margin-right: 15px;
    padding-top: 12px !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    border-radius: 30px !important;
    cursor: pointer;
}

.freeUser-btn {
    color: #fff !important;
    font-size: 16px !important;
    background-color: #fd802d !important;
    transition: 0.2
}

.payUser-btn {
    color: #fff !important;
    font-size: 16px !important;
    background-color: #33b052 !important;
    transition: 0.2s;
}

.freeUser-btn:hover {
    color: #e7f7fd !important;
    background-color: #347288 !important;
}

.payUser-btn:hover {
    color: #fff !important;
    background-color: #25ea56 !important;
}

.sweet-items-set {
    width: auto !important;
}

.sweet-items-set .swal2-content {
    background-color: transparent !important;
    box-shadow: 0px 0px 6px rgba(82, 243, 249, 0);
    border-radius: 0;
    padding-bottom: 0px !important;
    border: 0px solid #e5c259;
    border-radius: 30px;
}

.sweet-event-error {
    /* background-color: #000 !important;
    box-shadow: 0px 0px 6px rgba(82,243,249,0);
    border-radius: 0;
    padding-bottom: 30px !important;
    border: 2px solid #f52cc1;
    border-radius: 30px; */
}

.error-detail {
    /* padding-top: 30px; */
    color: #FFF;
    line-height: 34px;
}

.sweet-event-error .swal2-content {
    padding-top: 1px;
    padding-bottom: 30px !important;
    border: 0px solid rgb(255, 232, 104);
    border-radius: 0px;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0px 0px 10px rgb(255, 232, 104);
}

.sweet-event-error .swal2-content .swal2-error {
    margin-top: 40px;
    display: block !important;
}

.confirm-btn {
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 40px;
    padding-right: 40px;
    font-weight: 600;
    font-size: 16px;
    height: 40px;
    background-color: #fad41b;
    margin-bottom: 20px;
}

.cancel-btn {
    margin-left: 20px;
    margin-right: 20px;
    padding-left: 40px;
    padding-right: 40px;
    font-weight: 700;
    font-size: 16px;
    height: 40px;
    background-color: rgb(197, 197, 197);
}

.hide-close-btn .btn-close {
    display: none;
}