.contest-container,
.roulette-container {
	padding-top: 0rem;
}
.contest-container .bg-white{
	min-height: calc(100vh - 450px);
}
.contest-navbar.navbar,
.roulette-navbar.navbar {
	padding: 0 15px;
}

.top-space {
	height: 2.4rem;
	background-color: transparent;
	transition: all .5s ease-out;
}
header .shrink-header.contest-navbar.fixed-top{
	background-color: #343A40 !important;
	transition: all .3s ease-out;
}

header .shrink-header.roulette-navbar.fixed-top {
  background-color: #ffffff !important;
  border-bottom: 1px solid #f0f0f0;
  transition: all .3s ease-out;
}

header .shrink-header.contest-navbar .header-container,
header .shrink-header.roulette-navbar .header-container{
	height: 70px!important;
	transition: all .5s ease-out;
}

header .contest-navbar,
header .roulette-navbar{
    background-color: transparent!important;
    transition: all .7s linear;
}
header .contest-navbar .header-container,
header .roulette-navbar .header-container{
    height: 80px!important;
    transition: all .5s ease-out;
}

.contest-navbar .dropdown:hover .dropdown-menu,
.roulette-navbar .dropdown:hover .dropdown-menu {
	display: block;
	margin-top: 0;
}

.bg-contest {
	background-image: url(/img/contest/winner_red_curtains-2dae6a97f2c905a439b03a381c43b28b.png);
	background-size: cover;
	background-attachment: fixed;
	background-repeat: space;
}

.bg-fun-wavy {
    background-image: url(/img/contest/fun-wavy-bg-125a36c3361cbc80ab24c389e02c08fa.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-repeat: space;
    background-position:top;
}
.bg-wblack {
    background-color: #343A40 !important;
}

@media ( max-width : 767px) {
  .bg-fun-wavy {
    background-size:auto;
  }
}

ul.qbc-contest-tabs {
	overflow-x: auto;
	flex-wrap: nowrap;
	margin: 0rem -0.7rem;
	padding: 0.9rem;
	overflow-x: auto;
	border: 0;
}

ul.qbc-contest-tabs li {
	min-width: 150px;
	margin: 0 0.7rem;
	border: 1px solid #dee2e6;
	border-radius: 1rem;
	color: #fff !important;
}

ul.qbc-contest-tabs li a {
	display: -webkit-box !important;
	display: -ms-flexbox !important;
	display: flex !important;
	-webkit-box-align: center !important;
	-ms-flex-align: center !important;
	align-items: center !important;
	-webkit-box-orient: vertical !important;
	-webkit-box-direction: normal !important;
	-ms-flex-direction: column !important;
	flex-direction: column !important;
	padding: 0 0.5rem;
	width: 100%;
	height: 100%;
}

.qbc-contest-tabs a:hover, .qbc-contest-tabs a:active, .qbc-contest-tabs a:focus,
	.qbc-contest-tabs .active, .qbc-contest-tabs .show {
	color: #fff !important;
	background-color: #000;
}
.contest-tab.white-tab li{
	min-width:150px;
	max-width:250px;
	
}

.contest-tab.white-tab a:hover, contest-tab.white-tab a:active, contest-tab.white-tab a:focus,
    .contest-tab.white-tab .active, .contest-tab.white-tab .show {
border-bottom:2px solid #000;
}

.btn-outline-qbc.btn-outline-black, .btn-outline-qbc.btn-outline-black:hover,
	.btn-outline-qbc.btn-outline-black:focus, .btn-outline-qbc.btn-outline-black:active,
	.btn-outline-qbc.btn-outline-black:active:focus, .btn-outline-qbc.btn-outline-black.active
	{
	border: 1px solid #bfbfbf !important;
}

.contest-title {
	position: relative;
	padding: 0.56rem 2.0rem;
	font-weight: 600;
	font-size: 1.8rem;
	font-size: 18px;
	border-bottom: 1px solid #939699b8 !important;
}
.contest-title.no-border {
    border-bottom: 0 !important;
}

.contest-title:before {
	content: '';
	display: inline-block;
	position: absolute;
	top: 0;
	left: 0;
	width: 10px;
	height: 100%;
	background: #000;
}
/* table area*/
.table.table-contest tr td:first-child {
	background-color: #ffe082;
	font-weight: 500;
	font-size: 1.6rem;
	font-size: 16px;
}

.table.table-contest tr:last-child td:first-child {
	border-bottom-left-radius: 1rem;
}

.table.table-contest tr:last-child td:last-child {
	border-bottom-right-radius: 1rem;
}

.table.table-contest tr td ul {
	padding-left: 1.6rem !important;
	margin-bottom: 0;
}

.table.contestrslt-table tr th {
	border: 0;
}

.header-item {
	padding: 0.8rem 1.6rem;
	background-color: #fafafa !important;
	border: 1px solid #a5a3a3 !important;
	border-radius: 80rem !important;
	display: inline-block;
	min-width: 85%;
	text-align:center;
}

table .header-item{
	font-weight: 600 !important;
}

.header-item.sm{
    padding: 0.4rem 1.6rem;
    font-weight: 300 !important;
}

.table.contestrslt-table tr td {
	border-top: 1px dashed #dee2e6;
	border-bottom: 1px dashed #dee2e6;
	min-width:200px;
}

.table.contestrslt-table.table-hover tr td {
	cursor:pointer;
}

.table.contestrslt-table tr.self td {
	background: #f3e1c3;
}

.table.contestrslt-table.customer-rank tr td {
	border-top: 2px dashed #c5c5c5;
	border-bottom: 2px dashed #c5c5c5;
}

.contestrslt-table tr td{
	font-size: 1.6rem;
	padding-top: 0.96rem;
    padding-bottom: 0.96rem;
}

.table.contestrslt-table tr td div.rate{
	max-width:85%;
}

.contestrslt-table.customer-rank tr td{
	font-weight: 600;
	background-color: #F3E1C3 !important;
}

table.table-simple tr td {
	border:0!important;
}

table.table-simple tr:not(:first-of-type) td {
	border-top: 1px solid #dee2e6!important;
}

/* end of table area*/
.card.contest-card .view {
	cursor:pointer;
	border-bottom-right-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
	border-top-right-radius: 1rem !important;
	border-top-left-radius: 1rem !important;
}
.contest-card:hover {
	-webkit-box-shadow: 0 8px 17px 0 rgb(0 0 0/ 20%), 0 6px 20px 0
		rgb(0 0 0/ 19%) !important;
	box-shadow: 0 8px 17px 0 rgb(0 0 0/ 20%), 0 6px 20px 0 rgb(0 0 0/ 19%)
		!important;
}

.card.contest-card {
	position: relative;
}

.card.contest-card.selected {
	-webkit-box-shadow: 0 8px 17px 0 rgb(0 0 0/ 20%), 0 6px 20px 0
		rgb(0 0 0/ 19%) !important;
	box-shadow: 0 8px 17px 0 rgb(0 0 0/ 20%), 0 6px 20px 0 rgb(0 0 0/ 19%)
		!important;
}

.card.contest-card.selected p.black-text {
	font-size: 1.8rem;
	font-size: 18px;
	color: #0091ea !important;
}

.btn-floating.btn-contest {
	position: absolute;
	right: -0.9rem;
}

.avatar {
	position: relative;
    cursor: default;
}

.avatar.avatar-item.selected {
	border: 0!important;
    -webkit-box-shadow: 0px 0px 8px 0 rgb(0 0 0 / 16%), 0px 1px 8px 0 rgb(0 0 0 / 12%)!important;
    box-shadow: 0px 0px 8px 0 rgb(0 0 0 / 16%), 0px 1px 8px 0 rgb(0 0 0 / 12%)!important;
	position:relative;
}
.avatar.avatar-item.selected:after {
	font-family: qbc-icons;
	content: "\e93a";
	-ms-flex-negative: 0;
	flex-shrink: 0;
	position: absolute;
	bottom: 0rem;
	right: -0.3rem;
	color: #009688;
	font-size: 1.6rem;
	text-shadow: none;
	background: #fff;
	border-radius: 10rem;
	margin: auto;
	padding: 0rem 0.3rem;
}

.avatar.lg {
	height: 9rem;
	width: 9rem;
}

.avatar .avatar-ctry{
	position: absolute;
	bottom: -0.3rem;
	right: -0.5rem;
	color: #009688;
	font-size: 1.6rem;
	text-shadow: none;
	border-radius: 1.2rem;
	margin: auto;
	padding: 0rem 0.3rem;
	width: 30px;
    height: 30px;
}

.avatar.xsm .avatar-ctry{
	width: 25px;
    height: 25px;
}

.avatar .avatar-channel{
    position: absolute;
    bottom: -1rem;
    right: -0.7rem;
    color: #009688;
    font-size: 1.6rem;
    text-shadow: none;
    margin: auto;
    padding: 0rem;
    width: 30px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #dee2e6 !important;
}

.label-required.lg:before {
	font-size: 1.7rem !important;
}

.contest-container .head-title{
	margin: 0.6rem;
	background-color:#fff;
	font-size:2.2rem;
	font-size:22px;
	border:0;
	border-radius: 10em;
	font-weight:600;
	padding:1.2rem 3.4rem;
	display:inline-block;
	margin:4.5rem 0rem;
	min-width:250px;
	
}
.qbc-form.sm input, .qbc-form.sm .qbc-select .btn.dropdown-toggle{
    min-height: 40px;
    height: 40px !important;
}

.switch label input[type="checkbox"]:checked + .lever.primary:after {
    background-color: #2196f3;
}

.switch label input[type="checkbox"]:checked + .lever.primary {
    background-color: #bbdefb;
}

.switch label .lever.disabled:after {
  background-color: #6fa5cf !important;
}

.switch label .lever.disabled {
  background-color: #bbdefb!;
  opacity: 0.6;
}

@media ( max-width : 767px) {
	.contest-navbar.navbar {
		padding: 0 0;
	}
	
	header .roulette-navbar .header-container {
        height: 60px !important;
    }
    
  .card .info-item {
		padding: 0.3rem 0 0 0 !important;
		font-size: 13px!important;
	}
	.card .info-header {
		border-bottom: 1px solid #dee2e6 !important;
	}
	
	.avatar.lg {
		height: 10rem;
		width: 10rem;
	}
}


#rewardRankingTab .card.block-card{
	border:0!important;
}

#rewardRankingTab .has-border .card.block-card{
	border:1px solid #dee2e6!important;
}

.ranking-title{
	display: inline-block !important;
	font-size: 1.8rem;
	font-weight: 600;
	border-radius: 1rem;
	background:#fff;
}

.text-wall,
.btn-wall {
	color: #0091ea;
	font-weight: 600;
	text-align: left;
	box-shadow: none;
	margin: 0;
	padding-left: 2rem;
	padding-right: 2rem;
	border-radius: .4rem;
	min-width: 550px;
}

.badge-orange {
	color: #fff !important;
    background-color: #f55a00!important;
}

@media (max-width: 992px){
	.text-wall,
	.btn-wall{
		width:100%;
		min-width: auto;
	}
}



.single-menu {
    background-color: #fff;
    box-shadow: 0px 10px 30px 0px rgba(182, 136, 52, 0.2);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 30px;
	height: -webkit-fill-available; /* Safari / Chrome */
	height: -moz-available; /* Firefox */
	height: fill-available; /* 未来标准 */
}

.single-menu .title-div {
	font-weight: 600;
    padding-bottom: 1.6rem;
}

.single-menu img {
	width:9rem;
}

.single-menu .unit {
    color: #b68834;
    padding-top:1.6rem;
    font-size: 18px;
    font-weight: 600;
    text-align:center;
}

