@import url('https://fonts.googleapis.com/css?family=Kanit:300,400,700&display=swap');

body,html{
	height: 100%;
}
body{
    font-family: 'Kanit',sans-serif;
    height: 100%; 
	color: #000;
	background: url('../img/bg-normal.jpg') no-repeat fixed top center;
    background-size: cover;
}
  
/* The side navigation menu */
.sidenav {
	height: 100%; /* 100% Full-height */
	width: 0; /* 0 width - change this with JavaScript */
	position: fixed; /* Stay in place */
	z-index: 11; /* Stay on top */
	top: 0; /* Stay at the top */
	left: 0;
	background-color: #313794; /* Black*/
	overflow-x: hidden; /* Disable horizontal scroll */
	/* transition: 0.5s; */
	padding-top: 60px; /* Place content 60px from the top */
  }

/* The navigation menu links */
.sidenav a {
  padding: 16px 16px 8px 16px;
  text-decoration: none;
  font-size: 19px;
  color: #fff;
  display: block;
  /* transition: 0.3s; */
  /* border-bottom: 1px solid rgba(221, 221, 221, 0.3); */
}
.btn-menu{
	background: transparent;
	border: none;
	color: #313794;
	padding: 15px;
	position: absolute;
	z-index: 10;
	font-size: 24px;
}
.ic_menu{
	width: 24px;
	margin-right: 15px;
}


/* When you mouse over the navigation links, change their color */
.sidenav a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
  border: none;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .sidenav {padding-top: 15px;}
  .sidenav a {font-size: 18px;}
}

.homepage{
	background: url('../img/bg.jpg') no-repeat fixed top center;
    background-size: cover;
}
h1,h2,h3,h4{
    font-family: 'Kanit',sans-serif;
    color: #323795;
	font-weight: 800;
}
h2{
	font-size: 27px;
}
h3{
	font-size: 21px;
}
.divider{
	margin: 30px 0;
	border-top: 5px dotted #323795;
}
img{
	width: 100%;
}
a, a:hover{
    color: #000;
}
.text-red{
	color: #cf112d;
}
.text-bold{
	font-weight: 700;
}
.text-small{
	font-size: 12px;
}
.text-link{
	text-decoration: underline;
}
.btn_rule img,
.btn_fb img,
.btn_dashboard img{
	margin-top: 20px;
	max-width: 270px;
}
#myBtn {
	display: none; /* Hidden by default */
	position: fixed; /* Fixed/sticky position */
	bottom: 20px; /* Place the button at the bottom of the page */
	right: 30px; /* Place the button 30px from the right */
	z-index: 99; /* Make sure it does not overlap */
	border: none; /* Remove borders */
	outline: none; /* Remove outline */
	background-color: #fff; /* Set a background color */
	color: #323795; /* Text color */
	cursor: pointer; /* Add a mouse pointer on hover */
	padding: 15px; /* Some padding */
	border-radius: 10px; /* Rounded corners */
	font-size: 18px; /* Increase font size */
  }
  
  #myBtn:hover {
	background-color: #555; /* Add a dark-grey background on hover */
  }
.homepage .header_logo{
	max-width: 540px;
}
.modal-content{
	/* background: #231f20; */
	border-radius: 15px;
	border: 2px solid #323795;
}
.modal-content .close{
	color: #323795;
	font-size: 36px;
	text-shadow: none;
}
.modal-content .modal-header{
	border-bottom: none;
}
.modal-rule {
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}
.card-container{
	padding: 15px;
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.137);
}
.grey-border{
	border: 2px solid #bbbbbb;
	padding: 15px;
	border-radius: 15px;
}
.first-time-form input{
	text-align: center;
	background: transparent;
	border: 1px solid #babcbe;
	color: #000;
	margin-bottom: 20px;
}
.first-time-form input:focus{
	background: transparent;
	color: #000;
}
.first-time-form ::placeholder {
	color: #888;
  }
.profile-container{
	border: 2px solid #313794;
}
.profile-pic{
	position: absolute;
	right: 10px;
	top: 10px;
	border-radius: 100px;
	width: 60px;
	border: 2px solid #fff;
	z-index: 99;
}
.img-header-dashboard{
	margin-top: 50px;
	max-width: 360px;
}
.top-tab-menu .btn{
	border-radius: 20px 20px 0 0;
	font-size: 24px;
	line-height: 1.7;
}
.profile-container .profile-title{
	margin-bottom: 0;
}
.profile-container .col-xs-12,
.profile-container .col-xs-6{
	padding-left: 4px;
	padding-right: 4px;
}

.profile-container .col-xs-12{
	margin-bottom: 20px;
}
.profile-container .col-xs-12 .notice{
	font-size: 13px;
	color: #000;
}
.myranking-container{
	background: url('../img/banner_status/Cpsausage_Hokkaido_Mobile-03_1_1_text.png') no-repeat;
	background-size: 510px 136px;
	width: 510px;
	height: 136px;
}
/* Banner Dashboard */
.myranking-container.top1to10{
	background: url('../img/banner_status/Cpsausage_Hokkaido_Mobile-03_1_2_text.png') no-repeat;
	background-size: 510px 136px;
}
.myranking-container.top11to100{
	background: url('../img/banner_status/Cpsausage_Hokkaido_Mobile-03_1_3_text.png') no-repeat;
	background-size: 510px 136px;
}
.myranking-container.top101to500{
	background: url('../img/banner_status/Cpsausage_Hokkaido_Mobile-03_1_4_text.png') no-repeat;
	background-size: 510px 136px;
}
.myranking-container.top501{
	background: url('../img/banner_status/Cpsausage_Hokkaido_Mobile-03_1_5_text.png') no-repeat;
	background-size: 510px 136px;
}
.myranking-container.week1{
	background: url('../img/banner_status/Cpsausage_Hokkaido_Mobile-03_2_1_text.png') no-repeat;
	background-size: 510px 136px;
}
.myranking-container.week2{
	background: url('../img/banner_status/Cpsausage_Hokkaido_Mobile-03_2_2_text.png') no-repeat;
	background-size: 510px 136px;
}
/* Banner Reward */
.myranking-container.reward1{
	background: url('../img/banner_status/Cpsausage_Hokkaido_Mobile-03_1_1.png') no-repeat;
	background-size: 510px 136px;
}
.myranking-container.reward1to10{
	background: url('../img/banner_status/Cpsausage_Hokkaido_Mobile-03_1_2.png') no-repeat;
	background-size: 510px 136px;
}
.myranking-container.reward11to100{
	background: url('../img/banner_status/Cpsausage_Hokkaido_Mobile-03_1_3.png') no-repeat;
	background-size: 510px 136px;
}
.myranking-container.reward101to500{
	background: url('../img/banner_status/Cpsausage_Hokkaido_Mobile-03_1_4.png') no-repeat;
	background-size: 510px 136px;
}
.myranking-container.reward501{
	background: url('../img/banner_status/Cpsausage_Hokkaido_Mobile-03_1_5.png') no-repeat;
	background-size: 510px 136px;
}
.myranking-container.rewardweek1{
	background: url('../img/banner_status/Cpsausage_Hokkaido_Mobile-12_1.png') no-repeat;
	background-size: 510px 136px;
}
.myranking-container.rewardweek2{
	background: url('../img/banner_status/Cpsausage_Hokkaido_Mobile-12_2.png') no-repeat;
	background-size: 510px 136px;
}

.myranking-container h4{
	padding-top: 35px;
	padding-left: 170px;
}
.myranking-container.three-line h4{
	padding-top: 25px;
}
.myranking-container.top501 h4,
.myranking-container.week2 h4{
	padding-top: 55px;
}
.myranking-container.top501.three-line h4,
.myranking-container.week1 h4{
	padding-top: 42px;
}
.myranking-container.week2.three-line h4{
	padding-top: 30px;
}
.myranking-container h2{
	padding-left: 155px;
	font-size: 24px;
}
.myranking-container.week1 h2,
.myranking-container.week2 h2{
	font-size: 16px;
}
.myranking-container p{
	padding-left: 170px;
	font-size: 16px;
	margin-top: -5px;
}
.myranking-container .rank-type{
	font-size: 14px;
	font-weight: 500;
}

.price-container{
	border-radius: 10px;
	padding: 20px 0 5px 0;
}
.price-container h4{
	margin-top: 0;
	margin-bottom: 0;
	font-size: 21px;
}
.price-container h2{
	margin-top: 0;
	font-size: 16px;
}
.price-container h2 span{
	font-weight: 700;
	font-size: 42px;
}
.confirm-container{
	background: #313794;
	margin-right: 5px;
}
.confirm-container h2,
.confirm-container h4{
	color: #fff;
}
.luckydraw-container{
	background: #d4d4d4;
	margin-left: 5px;
}
.luckydraw-container h4{
	color: #141414;
}
.btn{
	background: #606161;
	color: #fff;
	font-weight: 700;
	font-size: 18px;
}
.btn-active,
.btn:hover{
	background: #313794;
	color: #fff;
}
.btn-red{
	background: linear-gradient(#c8122b,#a01427);
	color: #fff;
}
.btn-upload{
	border-radius: 100px;
	background: #eb1f27;
	color: #fff;
	min-width: 200px;
}
.btn-upload:hover{
	background: #eb1f27;
}

.btn-delete-receipt{
	font-size: 13px;
}
.table-container{
	height: 540px;
	overflow-y: scroll;
}
.table-container .table{
	color: #000;
	font-size: 18px;
}
.table td{
	vertical-align: middle;
}
.table td, .table th{
	border-top: none;
}
.announce-container{
	text-align: center;
	padding-top: 5px;
}
.announce-container h2{
	margin-bottom: 0;
}
.announce-container h3{
	margin-top: 0;
}
.table .profile-pic{
	width: 20px;
	margin-top: 0;
	border: none;
}
.table .rank-name{
	text-align: left;
}
.table .rank-price{
	text-align: center;
	width: 120px;
}
.table.vipranking .rank-name{
	padding-left: 60px;
}
.table.vipranking .ic_topvvip{
	max-width: 40px;
	margin-left: -50px;
	margin-right: 10px;
}
.upload-list{
	margin-top: 30px;
}
.upload-list input{
	background: transparent;
	color: #000;
	text-align: center;
}
.upload-list input:focus{
	background: transparent;
	color: #000;
	border: 2px solid #313794;
	box-shadow: 0 0 15px #31379450;
}
.upload-list .btn-browse{
	width: 100%;
	max-width: 130px;
}
.img-receipt{
	width: 50px;
	height: 50px;
}
.redeem-container{
	padding: 20px;
	background: #c3c0bf;
}
.redeem-container h2{
	color: #000;
}
.img_vip_multi{
	margin: -100px 0;
}
.la-ball-circus{
	display: none;
	margin: auto;
	margin-top: 20px;
}
.rule-container{
	color: #000;
	text-align: left;
}
.modal-noheader .modal-body{
margin-top: -30px;	
}

.modal-content.modal-image{
	background-color: transparent;
	border:none;
}

@media only screen and (max-width: 1366px) {
	.homepage h2{
		font-size: 24px;
	}
	.homepage .header_logo{
		max-width: 400px;
	}
}

@media only screen and (max-width: 1199px) {
	.homepage{
		background: url('../img/bg_mobile.jpg') no-repeat fixed top center;
		background-size: cover;
	}

	.homepage.howtoplay-bg{
		background: url('../img/bg_mobile_howtoplay.jpg') no-repeat fixed top center;
		background-size: cover;
	}
	.myranking-container,
	.myranking-container.top1to10,
	.myranking-container.top11to100,
	.myranking-container.top101to500,
	.myranking-container.top501,
	.myranking-container.week1,
	.myranking-container.week2,
	.myranking-container.reward1,
	.myranking-container.reward1to10,
	.myranking-container.reward11to100,
	.myranking-container.reward101to500,
	.myranking-container.reward501,
	.myranking-container.rewardweek1,
	.myranking-container.rewardweek2{
		background-size: 416px 111px;
		width: 416px;
		height: 111px;
	}
	.myranking-container h4,
	.myranking-container.week1 h4{
		padding-top: 35px;
		padding-left: 170px;
		/* font-size: 21px; */
	}
	.myranking-container h2{
		padding-left: 145px;
		font-size: 18px;
	}
	.myranking-container .ranking_no{
		font-size: 24px;
	}
	.myranking-container p{
		padding-left: 170px;
		font-size: 13px;
	}
	.price-container h4{
		font-size: 19px;
	}
	
}
@media only screen and (max-width: 992px) {

	.myranking-container,
	.myranking-container.top1to10,
	.myranking-container.top11to100,
	.myranking-container.top101to500,
	.myranking-container.top501,
	.myranking-container.week1,
	.myranking-container.week2,
	.myranking-container.reward1,
	.myranking-container.reward1to10,
	.myranking-container.reward11to100,
	.myranking-container.reward101to500,
	.myranking-container.reward501,
	.myranking-container.rewardweek1,
	.myranking-container.rewardweek2{
		background-size: 656px 175px;
		width: 656px;
		height: 175px;
	}
}
/* iPad */
@media only screen and (max-width: 768px) {
	
	.homepage .container-fluid{
		padding-left: 0;
		padding-right: 0;
		margin-bottom: -600px;
	}
	.myranking-container,
	.myranking-container.top1to10,
	.myranking-container.top11to100,
	.myranking-container.top101to500,
	.myranking-container.top501,
	.myranking-container.week1,
	.myranking-container.week2,
	.myranking-container.reward1,
	.myranking-container.reward1to10,
	.myranking-container.reward11to100,
	.myranking-container.reward101to500,
	.myranking-container.reward501,
	.myranking-container.rewardweek1,
	.myranking-container.rewardweek2{
		background-size: 476px 127px;
		width: 476px;
		height: 127px;
	}
	.myranking-container h4{
		padding-top: 35px;
		padding-left: 170px;
	}
	.myranking-container h2{
		padding-left: 170px;
	}
	.myranking-container .ranking_no{
		font-size: 24px;
	}
	.myranking-container p{
		padding-left: 170px;
	}
}
	@media only screen and (max-width: 428px) {
		.img-header-dashboard{
			max-width: 240px;
		}
		.homepage .container-fluid{
			margin-bottom: -300px;
		}
	.homepage h1{
		font-size: 30px;
	}
	.homepage h2{
		font-size: 13px;
	}
	.homepage h3{
		font-size: 10px;
	}
	.homepage .header_logo{
		max-width: 280px;
	}
	.btn_rule img,
	.btn_fb img{
		margin-top: 0;
		max-width: 200px;
	}
	.first-time-form p{
		font-size: 12px;
	}
	.top-tab-menu .btn{
		font-size: 17px;
	}
	.myranking-container,
	.myranking-container.top1to10,
	.myranking-container.top11to100,
	.myranking-container.top101to500,
	.myranking-container.top501,
	.myranking-container.week1,
	.myranking-container.week2,
	.myranking-container.reward1,
	.myranking-container.reward1to10,
	.myranking-container.reward11to100,
	.myranking-container.reward101to500,
	.myranking-container.reward501,
	.myranking-container.rewardweek1,
	.myranking-container.rewardweek2{
		background-size: 360px 96px;
		width: 360px;
		height: 96px;
	}
	.myranking-container h4{
		padding-top: 23px;
		padding-left: 110px;
		font-size: 19px;
	}
	.myranking-container.three-line h4{
		padding-top: 15px;
		font-size: 17px;
	}
	.myranking-container.reward1to10 h4,
	.myranking-container.reward11to100 h4,
	.myranking-container.reward101to500 h4,
	.myranking-container.reward501 h4,
	.myranking-container.rewardweek1 h4,
	.myranking-container.rewardweek2 h4{
		padding-top: 25px;
		font-size: 17px;
	}
	.myranking-container.reward1 h4{
		padding-top: 30px;
		font-size: 15px;
		padding-left: 100px;
	}
	.myranking-container h2{
		padding-left: 105px;
		font-size: 21px;
		margin-top: -5px;
	}
	.myranking-container.top1 h2,
	.myranking-container.reward1 h2{
		font-size: 15px;
	}
	.myranking-container.week1 h2, .myranking-container.week2 h2{
		font-size: 12px;
	}
	.myranking-container .ranking_no{
		font-size: 24px;
	}
	.myranking-container p{
		padding-left: 95px;
		font-size: 10px;
	}
	.myranking-container.top501.three-line h4,
	.myranking-container.week1 h4{
		padding-top: 25px;
		padding-left: 100px;
	}
	.myranking-container.reward501 h4,
	.myranking-container.top501 h4,
	.myranking-container.week2 h4{
		padding-top: 30px;
	}
	.myranking-container.week2.three-line h4{
		padding-top: 20px;
	}
	.myranking-container .rank-type{
		font-size: 10px;
	}
	.price-container h4{
		font-size: 14px;
	}
	.price-container h2 span{
		font-size: 30px;
	}
	.table-container{
		height: 300px;
	}
	.table-container .table{
		font-size: 15px;
	}
	.table-container th{
		font-size: 18px;
	}
	.table.vipranking{
		font-size: 15px;
	}
	.table.vipranking .rank-name{
		padding-left: 35px;
	}
	.table.vipranking .ic_topvvip{
		max-width: 20px;
		margin-left: -30px;
		margin-right: 10px;
	}
	.table.vipranking td{
		padding: 0.25rem;
		width: 65px;
	}
	.upload-list input{
		font-size: 10px;
	}
	.upload-list .btn-browse{
		margin-top: 6px;
	}
	.img_vip_multi{
		margin: -50px 0;
	}
	.modal-noheader .modal-body{
	margin-top: -70px;	
	}
}
@media only screen and (max-width: 375px) {
	.myranking-container,
	.myranking-container.top1to10,
	.myranking-container.top11to100,
	.myranking-container.top101to500,
	.myranking-container.top501,
	.myranking-container.week1,
	.myranking-container.week2,
	.myranking-container.reward1,
	.myranking-container.reward1to10,
	.myranking-container.reward11to100,
	.myranking-container.reward101to500,
	.myranking-container.reward501,
	.myranking-container.rewardweek1,
	.myranking-container.rewardweek2{
		background-size: 315px 80px;
		width: 315px;
		height: 80px;
	}
	.price-container h4{
		font-size: 12px;
	}
	.myranking-container h4{
		padding-top: 14px;
		padding-left: 95px;
		font-size: 16px;
	}
	.myranking-container h2{
		margin-top: -8px;
		padding-left: 95px;
	}
	.myranking-container.top1 h4{
		padding-top: 22px;
	}
	.myranking-container.top1 h2{
		font-size: 15px;
	}
	.myranking-container p{
		padding-left: 95px;
		font-size: 10px;
	}
}

/* Animation Timers
---------------------------------*/
.delay-02s { 
	animation-delay: 0.2s; 
	-webkit-animation-delay: 0.2s; 
}
.delay-03s { 
	animation-delay: 0.3s; 
	-webkit-animation-delay: 0.3s; 
}
.delay-04s { 
	animation-delay: 0.4s; 
	-webkit-animation-delay: 0.4s; 
}

.delay-05s { 
	animation-delay: 0.5s; 
	-webkit-animation-delay: 0.5s; 
}
.delay-06s { 
	animation-delay: 0.6s; 
	-webkit-animation-delay: 0.6s; 
}

.delay-07s { 
	animation-delay: 0.7s; 
	-webkit-animation-delay: 0.7s; 
}
.delay-08s { 
	animation-delay: 0.8s; 
	-webkit-animation-delay: 0.8s; 
}

.delay-09s { 
	animation-delay: 0.9s; 
	-webkit-animation-delay: 0.9s; 
}
.delay-1s { 
	animation-delay: 1s; 
	-webkit-animation-delay: 1s; 
}
.delay-12s { 
	animation-delay: 1.2s; 
	-webkit-animation-delay: 1.2s; 
}