@import url('https://fonts.googleapis.com/css?family=Mitr:200,300,400,500&subset=latin-ext,thai,vietnamese');

@font-face {
    font-family: NotoserifThai;
    font-display: swap;
    src: url(../static/font/Notoserif/NotoSerifThai-Regular.eot);
    src: url(../static/font/Notoserif/NotoSerifThai-Regular.woff2) format("woff2"), url(../static/font/Notoserif/NotoSerifThai-Regular.woff) format("woff"), url(../static/font/Notoserif/NotoSerifThai-Regular.ttf) format("truetype"), url(../static/font/Notoserif/NotoSerifThai-Regular.svg#NotoSerifThai-Regular) format("svg");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: NotoserifThai-bold;
    font-display: swap;
    src: url(../static/font/Notoserif/NotoSerifThai-Bold.eot);
    src: url(../static/font/Notoserif/NotoSerifThai-Bold.woff2) format("woff2"), url(../static/font/Notoserif/NotoSerifThai-Bold.woff) format("woff"), url(../static/font/Notoserif/NotoSerifThai-Bold.ttf) format("truetype"), url(../static/font/Notoserif/NotoSerifThai-Bold.svg#NotoSerifThai-Bold) format("svg");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: NotosansThai;
    font-display: swap;
    src: url(../static/font/Notosans/NotoSansThai-Regular.eot);
    src: url(../static/font/Notosans/NotoSansThai-Regular.woff2) format("woff2"), url(../static/font/Notosans/NotoSansThai-Regular.woff) format("woff"), url(../static/font/Notosans/NotoSansThai-Regular.ttf) format("truetype"), url(../static/font/Notosans/NotoSansThai-Regular.svg#NotoSansThai-Regular) format("svg");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: NotosansThai-Medium;
    font-display: swap;
    src: url(../static/font/Notosans/NotoSansThai-Medium.eot);
    src: url(../static/font/Notosans/NotoSansThai-Medium.woff2) format("woff2"), url(../static/font/Notosans/NotoSansThai-Medium.woff) format("woff"), url(../static/font/Notosans/NotoSansThai-Medium.ttf) format("truetype"), url(../static/font/Notosans/NotoSansThai-Medium.svg#NotoSansThai-Medium) format("svg");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: NotosansThai-bold;
    font-display: swap;
    src: url(../static/font/Notosans/NotoSansThai-Bold.eot);
    src: url(../static/font/Notosans/NotoSansThai-Bold.woff2) format("woff2"), url(../static/font/Notosans/NotoSansThai-Bold.woff) format("woff"), url(../static/font/Notosans/NotoSansThai-Bold.ttf) format("truetype"), url(../static/font/Notosans/NotoSansThai-Bold.svg#NotoSansThai-Bold) format("svg");
    font-weight: 700;
    font-style: normal;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
    position: relative;

}

html,
body {
    font-family: 'NotosansThai', sans-serif;
    letter-spacing: 1;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;

}

.fixed-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
    top: 0;
    left: 0;
    /* background: url(../images/bg-black.jpg) no-repeat top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/bg-black.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/bg-black.jpg', sizingMethod='scale')"; */
    background: white;
}

@media screen and (max-width:768px) {
    .fixed-bg {
        width: 100vw;
    }
}
.midmain{
    background: url(../images/bg-black.jpg) top center no-repeat fixed;
    /* background: url(../images/transfers/red1.jpg) top center no-repeat fixed; */
    background-size: cover;
    /* background-size: cover; */
    /* background: #b90504; */
    width: 100%;
    min-height: 100px;
    height: auto;
    float: left;
}
.topbar{
    /* background: #282828; */
    /* background: transparent; */
    background: url(../images/transfers/red1.jpg) top center no-repeat fixed;
    background-size: cover;
    /* background: #b90504; */
    width: 100%;
    width:100%;
    height: auto;
    color: #fff;
    padding: 10px 0px;
    position: fixed;
    top: 0;
    left: 0;
}
.topbar a i{
    color: #fff;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
}
.topbar a:hover i, .topbar a:active i, .topbar a:hover, .topbar a:active{
    /* color: maroon; */
    color: #1d2124;
    text-shadow: rgba(255,255,255,0.15) 1px 1px 0;
}
.topbar .right-icon i{
    margin-left: 5px;
    margin-right: 0px;
}
.left-icon a{
    color: white; 
    text-decoration: none;
}

.midlogo{
    font-size: 13px;
    line-height: 11px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top:3px;
    color: #fff;
}
a.midlogo{
    text-decoration: none;
    color: white;
}
a:hover .midlogo, a:active .midlogo{
    text-decoration: none;
}
.midlogo small{
    color: #ccc;
}
.midmoney{
    width: 180px;
    height: 180px;
    border-radius: 100px;
    border: 2px solid #fff;
    margin: auto;
    margin-top: 55px;
    margin-bottom: 20px;
    text-align: center;
    color: #fff;
    padding-top: 60px;
    font-size: 25px;
    /* background: #343a40; */
    /* background: rgba(121, 0, 0, 0.6); */
    background: url(../images/bg-lottovip-large.png) center center no-repeat;
    background-size: cover;
    text-shadow: maroon 1px 1px 3px;
}
.inmoney>.txtuser{
    text-transform: uppercase;
    font-size: 14px;
    line-height: 10px;
}
.inmoney>.subtxt{
    font-size: 12px;
    line-height: 14px;
}
.inmoney{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.bt-refresh{
    position: relative;
    top: 20px;
    left: 50px;
    color: maroon;
    background: #fff;
    border-radius: 50px;
    padding: 2px 5px;
    font-size: 12px;
    display: inline-block;
    text-shadow: none;
}
.bt-menu{
    color: white;
    font-size:13px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-shadow: rgba(0, 0, 0, 0.2) 1px 1px 0;
}
.bt-menu i{
    font-size: 20px;
}
a.bt-menu{
    text-decoration: none;
}
a:hover.bt-menu, a:active.bt-menu{
    /* color: lightgoldenrodyellow; */
    color: #1d2124;
    text-shadow: rgba(255,255,255,0.15) 1px 1px 0;
}
.boxgames{
    float:left;
    position:relative;
    margin-top:-30px;
    background: white;
    border-radius: 10px;
    width: 100%;
    height: auto;
    min-height:100px;
    box-shadow: #ccc 0 0 3px;
    padding: 5px 10px;
    margin-bottom: 10px;
}
.boxgames small{
    /* color: maroon; */
}
.boxgames .collapse small{
    color: #fff;
}
.inboxgames{
    width: 100%;
    float: left;
    border-top: #ccc 1px dashed;
    height: auto;
    padding-top: 10px;
    padding-bottom: 5px;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    text-align: center;
}
.inboxgames::-webkit-scrollbar{
    display: none;
}
.cardgame{
    border-radius: 10px;
    border: #ccc 1px solid;
    padding: 5px;
    display: inline-block;
    margin-right: 10px;
    text-align:center;
    width: 150px;
    line-height: 16px;
    background: #fafafa;
}
.cardgame img{
    max-width: 80px;
    max-height: 80px;
}
.cardgame .head{
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}
.cardgame .money{
    font-size: 14px;
    color: #888;
}
.cardgame .btn{
    font-size: 12px;
    margin: 3px 0;
}

.listgame{
    border-radius: 10px;
    border: #ccc 1px solid;
    padding: 5px 10px;
    display: inline-block;
    margin-right: 10px;
    text-align:center;
    width: 100%;
    line-height: 16px;
    background: #fafafa;
    vertical-align: middle;
    display: flex;
    flex-direction: row;
    justify-content:space-between;
    align-items: center;
    margin-bottom: 5px;
    text-transform: uppercase;
}
.listgame img{
    max-width: 60px;
    max-height: 60px;
}
.listgame .head{
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}
.listgame .money{
    font-size: 14px;
    color: #888;
}
.listgame .btn{
    font-size: 12px;
    margin: 3px 0;
}


.tfhead{
    font-size: 20px;
    text-align: center;
    color: white;
    margin-bottom: 10px;
    margin-top: 60px;
    margin-bottom: 20px;
}
.boxtf1,.boxtf2,.boxtf11,.boxtf22{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    height: auto;
    min-height: 150px;
    color: #888;
    line-height: 14px;
}
.boxtf1::after{
    content: "\f061";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    top: 50%;
    right: -15px;
    z-index: 10;
    color: white;
    background:#090;
    padding: 1px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 1;
    font-weight: bold;
    font-size: 16px;
    border: #090 2px solid;
    text-align: center;
}
.boxtf11::after{
    content: "\f060";
    font-family: "Font Awesome 5 Free";
    position: absolute;
    display: inline-flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    top: 50%;
    right: -15px;
    z-index: 10;
    color: white;
    background:#090;
    padding: 1px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    line-height: 1;
    font-weight: bold;
    font-size: 16px;
    border: #090 2px solid;
    text-align: center;
}
.boxtf1 img,.boxtf2 img,.boxtf11 img,.boxtf22 img{
    border-radius: 5px;
    border: #dee2e6 1px solid;
    max-width: 70px;
    max-height: 70px;
    padding: 10px;
}
.pfimg img{
    /* border-radius: 5px;
    border: #dee2e6 1px solid; */
    max-width: 70px;
    max-height: 70px;
    padding: 10px;
}
.boxtf2 .txt,.boxtf22 .txt{
    margin-top: 17px;
}
.boxtf2 .txt small,.boxtf22 .txt small{
    text-transform: uppercase;
}
.bottombox{
    margin-left:-10px !important; 
    margin-right:-10px !important; 
    margin-bottom: -5px !important;
}
.btslide-left{
    margin-left: -36px;
    margin-top: 50px;
    padding: 10px 13px;
    border-radius: 50px;
}
.btslide-right{
    margin-right: -35px;
    margin-top: 50px;
    padding: 10px 13px;
    border-radius: 50px;
}
.bttab{
    border-radius: 20px !important;
    border: #fff 2px solid !important;
    color: white;
}
a.bttab:hover{
    color: #fff;
}
.nav-tabs .bttab.nav-link.active{
    color: maroon !important;
}
.boxgames .badge{
    text-shadow: none;
}
.boxprofile{
    font-size: 12px;
}
/**************** search live ****************/

.searchlive input {
	outline: none;
}
.searchlive input[type=search] {
	-webkit-appearance: textfield;
	-webkit-box-sizing: content-box;
	font-family: inherit;
	font-size: 100%;
}
.searchlive input::-webkit-search-decoration,
.searchlive input::-webkit-search-cancel-button {
	display: none; 
}


.searchlive input[type=search] {
	background: #ededed url(https://static.tumblr.com/ftv85bp/MIXmud4tx/search-icon.png) no-repeat 9px center;
	border: solid 1px #ccc;
	padding: 5px 10px 9px 32px;
	width: 55px;
	
	-webkit-border-radius: 10em;
	-moz-border-radius: 10em;
	border-radius: 10em;
	
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
}
.searchlive input[type=search]:focus {
	width: 130px;
	background-color: #fff;
	border-color: #66CC75;
	
	-webkit-box-shadow: 0 0 5px rgba(109,207,246,.5);
	-moz-box-shadow: 0 0 5px rgba(109,207,246,.5);
	box-shadow: 0 0 5px rgba(109,207,246,.5);
}


.searchlive input:-moz-placeholder {
	color: #999;
}
.searchlive input::-webkit-input-placeholder {
	color: #999;
}

/* Demo 2 */
#searchhuay input[type=search] {
	width: 15px;
	padding-left: 10px;
	color: transparent;
	cursor: pointer;
}
#searchhuay input[type=search]:hover {
	background-color: #fff;
}
#searchhuay input[type=search]:focus {
	width: 130px;
	padding-left: 32px;
	color: #000;
	background-color: #fff;
	cursor: auto;
}
#searchhuay input:-moz-placeholder {
	color: transparent;
}
#searchhuay input::-webkit-input-placeholder {
	color: transparent;
}

.search01{
    display:none;
}

.navbar-dark .navbar-toggler {
    color: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 0.8);
}
#listmenulive .dropdown-item {
    border-bottom: 1px dashed #ccc;
}
.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

@media screen and (max-width:989px){
    .search02{
        display:none;
    }
    .search01{
        display: inline-block;
    }
    .navbar-dark .navbar-nav .nav-link {
        border-bottom: rgba(0, 0, 0, 0.1) 1px solid;
    }
}

a.bt-share{
    color: white;
    text-decoration: none;
    display: inline-block;
    padding: 0px 8px;
}
a:hover.bt-share{
    color: var(--t-text-light);
    text-decoration: none;
}
#pills-tab01{
    width: 100%;
    border-bottom: #C0392B 1px solid;
}
#pills-tab01 li.nav-item{
    border-right: rgba(0, 0, 0, 0.1) 1px solid;
    text-align:center;
}
#pills-tab01 .nav-link.active, #pills-tab01 .nav-pills .show > .nav-link {
    color: #fff;
    background-color:#E74C3C;
    border-radius: 0px;
    border-bottom: #C0392B 5px solid;
}
.list-live{
    width: 100%;
    border-bottom: #eee 1px solid;
    padding: 8px 10px;
}
a.list-alive{
    color: #1d2124;
    text-decoration: none;
}
a.list-alive:hover{
    color: #C0392B;
    text-decoration: none;
}
#pills-huay ,#pills-result{
    min-height: 400px;
    height: 400px;
    overflow-y: scroll;
    overflow-x: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    text-align: center;
}
.bt-back{
    display:none;
}
@media screen and (max-width:989px){
    #pills-result{
        height: auto;
        min-height: 100px;
    }
    .bt-back{
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-right: 10px;
        padding-left: 5px;
        margin-right: 0px;
        font-size: 12px;
        line-height: 0.5;
    }
    .bt-back i{
        font-size: 25px;
        margin-top: 5px;
    }

}

/**********************************/

.livebtn {
    display: block;
    text-align: center;
    font-size: 1em;
    margin: 0px auto;
    padding: 5px;
    width: 100%;
    color: #fff !important;
    text-shadow: 0px 0px 5px black;
    border-radius: 5px;
    text-decoration: none;
    border:1px #555 solid;
    height: auto;
    background-color: #E74C3C;
    position: relative;
    -webkit-animation-name: examplez; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 1s; /* Safari 4.0 - 8.0 */
    -webkit-animation-iteration-count: infinite; /* Safari 4.0 - 8.0 */
    animation-name: examplez;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    line-height: 1;
    text-decoration: none;
}
.livebtn small{
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--t-text-light);
}
.livebtn i{
    font-size: 0.9em;
    vertical-align: top;
}
.livebtn span{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: var(--t-text-light);
}
.livebtn:hover{
    border-color: crimson;
    text-decoration: none !important;
}
a:hover .livebtn{
    text-decoration: none !important;
}
/* Safari 4.0 - 8.0 */
@-webkit-keyframes examplez {
    0%   {background-color:#C0392B; }
    50%  {background-color:#641E16; }
    100% {background-color:#C0392B; }
}

/* Standard syntax */
@keyframes examplez {
    0%   {background-color:#C0392B; }
    50%  {background-color:#641E16; }
    100% {background-color:#C0392B; }
}

.livebtnlist{
    width: 74px;
}

.offlinebtn{
    display: block;
    text-align: center;
    font-size: 1em;
    margin: 0px auto;
    padding: 5px;
    width: 100%;
    color: #fff !important;
    text-shadow: 0px 0px 5px black;
    border-radius: 5px;
    text-decoration: none;
    border:1px #555 solid;
    height: auto;
    background-color: rgb(95, 95, 95);
    position: relative;
    line-height: 1;
    text-decoration: none;
}