.hidden
{
    visibility: hidden;
}

.weapon
{
    float:left;
    width:80px;
    height:76px;
    border:solid rgba(0,0,0,0.25) 1px;
    margin:2px;
    position:relative;
    border-radius:8px;
    box-shadow: rgba(0, 0, 0, 0.6) 0px 0px 30px 5px inset;
    -webkit-transition: all 0.5s;
	-o-transition: all 0.5s;
	-moz-transition: all 0.5s;
    transition: all 0.5s;
}

.weapon.selected {
    background-color: rgb(120,235,120);
}

.weapon:hover
{
    box-shadow: rgba(0, 0, 0, 1) 0px 0px 30px 5px inset;
    border:solid rgba(0,0,0,0.5) 1px;
}


.stattrakbox {
    position:absolute;
    z-index:4;
    left:-1px;
    top:-1px;
    color: black;
    font-size: 10px;
    background-color: #cf6a32;
    width: 15px;
    border-radius:6px 1px 7px 1px;
}

.knifebox {
    position:absolute;
    z-index:4;
    left:-1px;
    top:-1px;
    color: black;
    font-size: 10px;
    background-color: #eb4b4b;
    width: 15px;
    border-radius:6px 1px 7px 1px;
}

.souvenirbox {
    position:absolute;
    z-index:4;
    left:-1px;
    top:-1px;
    color: black;
    font-size: 10px;
    background-color: #ffd700;
    width: 15px;
    border-radius:6px 1px 7px 1px;
}

.allowedbox {
    position:absolute;
    z-index:4;
    right:-1px;
    top:-1px;
    color: black;
    font-size: 10px;
    padding-left: 2px;
    background-color: green;
    width: 15px;
    border-radius:1px 7px 1px 6px;
    overflow:hidden;
    max-height: 0;
    -webkit-transition: max-height 0.3s;
	-moz-transition: max-height 0.3s;
	transition: max-height 0.3s;
}

.disallowedbox {
    position:absolute;
    z-index:4;
    right:-1px;
    top:-1px;
    color: black;
    font-size: 10px;
    background-color: red;
    padding-left: 2px;
    width: 15px;
    border-radius:1px 7px 1px 6px;
    overflow:hidden;
    max-height: 0;
    -webkit-transition: max-height 0.3s;
	-o-transition: max-height 0.3s;
	-moz-transition: max-height 0.3s;
	transition: max-height 0.3s;
    
}

.infoweapon {
    text-align: center;
    max-height: 0;
    background-color: rgba(0,0,0,0.8);
    width:250px;
    position:absolute;
    border-radius: 8px;
    color: lightgrey;
    top: 79px;
    left: -85px;
    overflow:hidden;
    z-index: 1500;
    -webkit-transition: max-height 0.3s;
	-moz-transition: max-height 0.3s;
	-o-transition: max-height 0.3s;
	transition: max-height 0.3s;
    box-shadow: rgba(0, 0, 0, 0.6) 0 0 30px 5px inset;
}

.weapon:hover .infoweapon {
    max-height: 150px;
}

.weapon:hover .disallowedbox, .weapon:hover .allowedbox {
    max-height: 30px;
}

.weapon:hover .arrow {
    border-bottom:5px solid rgba(0,0,0,0.9);   
    transition: border-bottom 0s ease 0;
}

.weapon:hover .value {
    bottom : 20px;
}

.arrow
{
    width:0; 
    height:0;
    border:5px solid transparent;
    border-top:none;
    border-bottom:none;
    position:absolute;
    top:75px;
    left:35px;
    transition: border-bottom 0s ease 100s;
    -moz-transition: border-bottom 0s ease 100s;
    -o-transition: border-bottom 0s ease 100s;
    -webkit-transition: border-bottom 0s ease 100s;
}

.base, .consumer
{
    color: rgba(175,175,175);
}

.industrial
{
    color: rgb(100,150,225);
}

.mil-spec, .high
{
    color: rgb(75,105,205);
}

.restricted, .remarkable
{
    color: rgb(136,71,255);
}

.classified, .exotic
{
    color: rgb(211,44,230);
}

.extraordinary, .covert
{
    color: rgb(235,75,75);
}

.discontinued
{
    color: rgb(136,106,8);
}

.bgbase, .bgconsumer
{
    background-color: rgba(175,175,175, 0.7);
}

.bgindustrial
{
    background-color: rgba(100,150,225, 0.7);
}

.bgmil-spec, .bghigh
{
    background-color: rgba(75,105,205, 0.7);
}

.bgrestricted, .bgremarkable
{
    background-color: rgba(136,71,255, 0.7);
}

.bgclassified, .bgexotic
{
    background-color: rgba(211,44,230, 0.7);
}

.bgextraordinary, .bgcovert
{
    background-color: rgba(235,75,75, 0.7);
}

.bgdiscontinued
{
    background-color: rgba(136,106,8, 0.7);
}

.stattrak™ {
    border-color:#cf6a32;
    color:#cf6a32;
}

.souvenir {
    border-color: #ffd700;
    color: #ffd700;
}

.value-box {
    text-align: center;
    font-size:1em;
    background-color: rgba(211, 211, 211, 0.35);
    color:black;
    top: 55px;
    left:-1px;
    max-height:20px;
    overflow: hidden;
    position: absolute;
    width: 79px;
    border-radius:0 0 6px 6px;
}

.value
{
    bottom:0;
    position: relative;
    -webkit-transition: bottom 0.2s;
	-o-transition: bottom 0.2s;
	-moz-transition: bottom 0.2s;
	transition: bottom 0.2s;
}