rewards{
	display: flex;
	flex-direction: column;
}

rewards>.header{
	height: 40px;
	background-color: #203040;
}

rewards>.content{
	flex: 1 1 80%;
	overflow-y: auto;
}

rewards .rewards{
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

rewards .reward{
	position: relative;
	height: 150px;
	width: 150px;
	margin: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	border: 2px solid #304050;
}

rewards .reward>*{
	z-index: 2;
}

rewards .reward>.completion{
	z-index: 0;
}

rewards .reward>.image{
	z-index: 1;
}

rewards .reward>.details{
	height: 40px;
	position: absolute;
	top: 0px;
	width: 100%;
	left: 0px;
	height: 40px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	background: rgba(0, 0, 0, 0.3);
}

rewards .reward .name{
	height: 40px;
	background: rgba(0, 0, 0, 0.3);
	position: absolute;
	bottom: 0px;
	left: 0px;
	width: 100%;
}

rewards .reward .name .vaulted{
	font-style: bold;
	background-color: #FF5555;
	height: 20px;
	width: 20px;
	display: inline-block;
	text-align: center;
	color: #000000;
}

rewards .reward div.ducats{
	flex: 0 0 26px;
	display: inline-flex;
	flex-direction: row;
	align-items: center;
}

rewards .reward div.ducats>.image{
	display: inline-block;
	background-image: url("/images/ducat.png");
	height: 26px;
	width: 26px;
}

rewards .reward>.image{
	background-size: contain, 100% 100%;
	background-repeat: no-repeat, no-repeat;
	background-position: center center, center center;
	flex: 1 1 80%;
	width: 100%;
}

rewards .reward>.details>button{
	width: 30px;
}

rewards .rarity0>.reward{
	color: #BB5500;
}

rewards .rarity1>.reward{
	color: #FFFFFF;
}

rewards .rarity2>.reward{
	color: #AAAA22;
}