.aqb-points-dropdown-menu-main{
    position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.aqb-points-dropdown-menu-main .aqb-points-close-history{
	line-height: 1.5rem;
	margin: 0 0 0 1rem;
}

#aqb-points-history{
	scrollbar-width: none;
	z-index: 10001;
	max-height: 100vh;
	width: 100%;
}

.aqb-points-dropdown-menu-history-item-header,
.aqb-points-dropdown-menu-history-item {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.aqb-points-dropdown-menu-history-item-header span,
.aqb-points-dropdown-menu-history-item span
{
	vertical-align: middle;
	text-align: center;
	grid-gap: 0.4rem;
}

.aqb-points-dropdown-menu-history-item-header span:nth-child(2),
.aqb-points-dropdown-menu-history-item span:nth-child(2){
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.aqb-points-dropdown-menu-history-item span:nth-child(4){
	text-overflow: ellipsis;
	white-space: nowrap;
	overflow: hidden;
}

.aqb-points-dropdown-menu-history-item-header{
	font-weight: bold;
}

.aqb-points-dropdown-menu-bottom{
	font-weight: bold;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.aqb-points-dropdown-menu{
	display: grid;
        width:100%;
	max-width: 100%;
	grid-gap: 1rem;
}

#present-points .bx-form-input-wrapper.bx-form-input-wrapper-input_set,
#buy_points .bx-form-input-wrapper.bx-form-input-wrapper-input_set{
	display: flex;
	justify-content: space-between;
}

#aqb-points-calculate{
	font-weight: bolder;
}

.aqb-points-level-menu{
	display: flex;
	justify-content: stretch;
	align-items: center;
	margin: 0;
}

.aqb-points-level-menu span{
	margin-left:0.5rem;
	display: flex;
	align-items: center;
}

.aqb-points-dropdown-menu-bottom.buttons{
    margin-top: 1rem;
}

.aqb-points-dropdown-menu-bottom.buttons a{
	display: flex;
	align-items: center;
}

#aqb-menu-loader{
	width:100%;
	height: 30%;
	display: flex;
	align-items: center;
	justify-content: center;
}
.aqb-points-level .progress{
	width:100%;
	background-color: rgba(0,0,0,0.04);
	border-radius: 0.3rem;
	position: relative;
}
.aqb-points-level .progress .bar{
	height: 1.2rem;
	border-radius: 0.3rem;
	background-color: #75b800;
}

.aqb-points-level .aqb-points-levels{
	display: flex;
	align-items: center;
	justify-content: stretch;
}

.aqb-points-level .aqb-points-levels > div{
	margin:0.3rem;
}

.aqb-points-level .aqb-points-level-next{
	position: absolute;
	float: right;
	top: 0;
	right: 1rem;
	margin: 0.1rem;
	font-size: 0.8rem;
	line-height: 1rem;
}

.aqb-points-level p.points{
	display: flex;
	justify-content: space-between;
}

.aqb-points-leaders-item {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: end;
}

.aqb-points-leaders-item img.avatar{
	/*padding: 1.2rem;*/
	border: 0;
}

.aqb-points-leaders-item div.wreath{
	position: relative;
	display:flex;
	flex-direction: column;
}

.aqb-points-leaders-main .bx-base-pofile-unit-online{
	right: 0.5rem;
	width: .8rem;
	height: .8rem;
	border-radius: 0.8rem;
}

.aqb-points-leaders-main-avatar {
	max-width: 5.5rem;
	max-height: 5.5rem;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}

.aqb-points-leaders-main-avatar p.bx-base-pofile-unit-thumb{
	display: flex;
	align-items: center;
	justify-content: center;
}

.aqb-points-leaders-main-avatar .bx-def-ava-size{
	width: 5.5rem;
	height: 5.5rem;
	border-radius: 5.5rem;
}

.aqb-points-leaders-main {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
	align-items: center;
	justify-items: center;
	grid-auto-flow: row;
	grid-gap: 1.5rem;
	overflow: hidden;
	margin-top: 1rem;
	padding: 0 1rem 1rem 1rem
}

.aqb-points-leaders-main span.username{
	overflow: hidden;
	text-overflow: ellipsis;
	width: 100%;
	text-align: center;
}

.aqb-points-leaders-main span.username a:first-child{
	white-space: nowrap;
}

.aqb-points-leaders-item div.wreath .coins,
.aqb-points-leaders-main .coins {
	display: flex;
	align-items: center;
	justify-content: center;
}

.aqb-points-leaders-item div.wreath .coins img,
.aqb-points-leaders-item div.wreath .coins i,
.aqb-points-leaders-main .coins img{
	max-width: 1.5rem;
	height: 1.2rem;
	font-weight: normal;
	font-size: 1.5rem;
}

.aqb-points-leaders-main .coins svg,
.aqb-points-leaders-top .leader-coins svg{
	width: 1rem;
	margin-right: 0.3rem;
}

.aqb-points-leaders-main .coins path.a{
	fill: rgba(255, 190, 28);
}

.aqb-points-leaders-main .coins path.b{
	fill: rgba(255, 197, 22);
}

.aqb-points-leaders-main .coins path.c{
	fill: rgba(255, 217, 73);
}

.leader-coins {
	margin-top: 0.5rem;
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.leader-coins path.a{
	fill:#F4BF1A;
}

.leader-coins path.b{
	fill:#DCA815;
}

.leader-coins path.c{
	fill:#FFD949;
}

.leader-coins span{
	font-weight: 700;
}

.aqb-points-leaders {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(6.25rem, 1fr));
	grid-gap: 1rem;
	margin-top: 1rem;
	width: 100%;
	padding-left: 1rem;
	padding-right: 1rem;
	margin-bottom: 1rem;
}

.aqb-points-leaders div.wreath > .main{
	z-index: 0;
	position: relative;
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.aqb-points-leaders-main svg:hover path.coins{
	fill: #ffcb3e;
}

.aqb-points-leaders-top{
	display: flex;
	justify-content: space-between;
}

.aqb-points-leaders-main > div {
	display: grid;
	align-items: center;
	justify-items: center;
	grid-auto-flow: row;
	grid-row-gap: 0.3rem;
	position: relative;
}

.aqb-points-leaders-item div.wreath span:last-child,
.aqb-points-leaders-main > div span:last-child {
	text-transform: lowercase;
	text-align: center;
	margin-left: 0.5rem;
	font-size: 0.9rem;
	display: flex;
	justify-content: center;
}

.aqb-points-leaders-item div.wreath span:last-child{
	font-weight: 700;
	margin-top: 0.3rem;
}

.aqb-points-leaders-bottom{
	overflow: hidden;
	margin-bottom: 0.5rem;
	margin-right: 0.5rem;
}

.aqb-points-leaders-bottom .bx-paginate{
    float:right;
}

div.aqb-points-buy-points-popup{
	display: flex;
	flex-direction: column;
}

div.aqb-points-buy-points-popup > span:first-child{
	margin-bottom: 1.5rem;
}

span.aqb-points-levels-close-area{
	display: flex;
	align-items: center;
}

.aqb-points-leaders-block .sys-cpf-header.bx-db-header{
	padding: 0;
	border-style: none;
}

.aqb-points-leaders-block .bx-db-header.dropdown .bx-db-menu{
	display: flex;
	max-width: min-content;
}

.aqb-points-leaders-block .bx-db-header .bx-db-title{
	display: flex;
	align-items: center;
}

div.aqb-points-leaders-block{
	overflow: hidden;
	position: relative;
}

div.aqb-points-leaderboard-filter{
	position: relative;
	top: 0;
	left: 0;
	width: max-content;
}

div.aqb-points-leaderboard-filter select{
	border: 0;
	width: 100%;
	outline: none;
	background: rgba(0,0,0,0);
}

div.aqb-points-leaders-block .bx-def-padding-sec-topbottom{
	padding-top: 0;
	padding-bottom: 0;
}

div.aqb-points-leaders-block .bx-db-divider{
	margin-left: 1rem;
	margin-right: 1rem;
	border-top: 1px solid rgba(0,0,0,0.08);
}

table.aqb-points-history-table tr.aqb-points-history-table-titles{
	background-color: rgba(0, 0, 0, 0.09);
}

table.aqb-points-history-table td:first-child{
	text-transform: capitalize;
}

table.aqb-points-history-table td:first-child{
	text-transform: capitalize;
}

table.aqb-points-history-table tr.aqb-points-history-table-info td{
	text-transform: none;
	font-weight: 500;
	padding: 0 0 1rem;
}

.aqb-points-info-buttons {
	display: flex;
}

.aqb-points-info-buttons a{
	margin-right: 0.5rem;
}

.aqb-points-info-buttons a:last-child{
	margin-right: 0;
}

.aqb-points-leaders-desc-online-status .bx-base-pofile-unit-online{
	right: 0.8rem;
	width: .9rem;
	height: .9rem;
	border-radius: 0.8rem;
}

.aqb-points-leaders-desc-online-status {
	width: 100%;
	position: absolute;
	overflow: hidden;
	bottom: 1.9rem;
	height: 1.2rem;
}

.aqb-points-leaders-block div.sys-cpf-submenu-cnt{
	display: flex;
	justify-content: flex-end;
}

.aqb-points-leaders-block div.sys-cpf-submenu-cnt ul{
	display: flex;
	align-items: center;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
}

.aqb-points-packages{
	max-height: 20rem;
	overflow: hidden;
	overflow-y: auto;
	display: flex;
	flex-direction: column;
}

.aqb-points-packages .aqb-points-packages-item:nth-child(even){
	background-color: rgba(0,0,0,0.04);
}

.aqb-points-packages .aqb-points-packages-item{
	padding: 0.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.aqb-points-packages .aqb-points-packages-item button{
	min-width: 100px;
}

@media screen and (max-width: 340px) {
    .aqb-points-dropdown-menu-bottom.buttons span a span{
        display: none;
    }

	#aqb-points-history{
		padding: 0.5rem;
	}
}

@media screen and (max-width: 720px) {
	.aqb-points-dropdown-menu{
		height: 100%;
		overflow-y: auto;
		scrollbar-width: none;
	}
}

/*#aqb-points-history{
	width: 100%;
}

.aqb-points-leaders-main .bx-base-pofile-unit-online{
	right: 0.3rem;
	width: 0.8rem;
	height: 0.8rem;
	border-radius: 0.8rem;
	bottom: 0.4rem;
}*/