body {
  background: linear-gradient(45deg, #0a0b1e 1%, #0d0b23 44%, #0f0b2f 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.w3-red {
  color: white;
  background-color: red;
}

.w3-orange {
  color: white;
  background-color: orange;
}

.w3-green {
  color: white;
  background-color: green;
}

.w3-spin {
  animation: w3-spin 2s infinite linear;
}
@keyframes w3-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}

/* Copied from torn.com */
[class$=-item-icon] {
    /*display: inline-block;
    vertical-align: middle;*/
    height: 30px;
    width: 30px;
    background-image: url(https://www.torn.com/images/v2/items/item_icons_n.svg);
    /*background-repeat: no-repeat;*/
}

.melee-weapon-item-icon {
    background-position: -34px -37px
} 
.hover .melee-weapon-item-icon, .active .melee-weapon-item-icon {
    background-position: left -37px;
}

.primary-weapon-item-icon {
    background-position: -34px -71px
} 
.hover .primary-weapon-item-icon, .active .primary-weapon-item-icon {
    background-position: left -71px
}

.secondary-weapon-item-icon {
    background-position: -34px -105px
} 
.hover .secondary-weapon-item-icon, .active .secondary-weapon-item-icon {
    background-position: left -105px
}

.armour-item-icon {
    background-position: -34px -139px
} 
.hover .armour-item-icon, .active .armour-item-icon {
    background-position: left -139px
}

.medical-items-item-icon {
    background-position: -34px -173px
} 
.hover .medical-items-item-icon, .active .medical-items-item-icon {
    background-position: left -173px
}

.temporary-items-item-icon {
    background-position: -34px -207px;
} 
.hover .temporary-items-item-icon, .active .temporary-items-item-icon {
    background-position: left -207px;
}

.energy-drinks-item-icon {
    background-position: -34px -241px;
} 
.hover .energy-drinks-item-icon, .active .energy-drinks-item-icon {
    background-position: left -241px;
}

.candy-item-icon {
    background-position: -34px -275px;
} 
.hover .candy-item-icon, .active .candy-item-icon {
    background-position: left -275px;
}

.drugs-item-icon {
    background-position: -34px -309px;
} 
.hover .drugs-item-icon, .active .drugs-item-icon {
    background-position: left -309px;
}

.enhancers-item-icon {
    background-position: -34px -343px;
} 
.hover .enhancers-item-icon, .active .enhancers-item-icon {
    background-position: left -343px;
}

.alcohol-item-icon {
    background-position: -34px -377px;
} 
.hover .alcohol-item-icon, .active .alcohol-item-icon {
    background-position: left -377px;
}

.other-boosters-item-icon {
    background-position: -34px -411px;
} 
.hover .other-boosters-item-icon, .active .other-boosters-item-icon {
    background-position: left -411px;
}

.electric-items-item-icon {
    background-position: -34px -445px;
} 
.hover .electric-items-item-icon, .active .electric-items-item-icon {
    background-position: left -445px;
}

.jewelry-item-icon {
    background-position: -34px -479px;
} 
.hover .jewelry-item-icon, .active .jewelry-item-icon {
    background-position: left -479px;
}

.viruses-item-icon {
    background-position: -34px -513px;
} 
.hover .viruses-item-icon, .active .viruses-item-icon {
    background-position: left -513px;
}

.flowers-item-icon {
    background-position: -34px -547px;
} 
.hover .flowers-item-icon, .active .flowers-item-icon {
    background-position: left -547px;
}

.supply-packs-item-icon {
    background-position: -34px -581px;
} 
.hover .supply-packs-item-icon, .active .supply-packs-item-icon {
    background-position: left -581px;
}

.collectibles-item-icon {
    background-position: -34px -615px;
} 
.hover .collectibles-item-icon, .active .collectibles-item-icon {
    background-position: left -615px;
}

.clothing-item-icon {
    background-position: -34px -649px;
} 
.hover .clothing-item-icon, .active .clothing-item-icon {
    background-position: left -649px;
}

.cars-item-icon {
    background-position: -34px -683px;
} 
.hover .cars-item-icon, .active .cars-item-icon {
    background-position: left -683px;
}

.artifacts-item-icon {
    background-position: -34px -717px;
} 
.hover .artifacts-item-icon, .active .artifacts-item-icon {
    background-position: left -717px;
}

.plushies-item-icon {
    background-position: -34px -751px;
} 
.hover .plushies-item-icon, .active .plushies-item-icon {
    background-position: left -751px;
}

.special-items-item-icon {
    background-position: -34px -785px;
} 
.hover .special-items-item-icon, .active .special-items-item-icon {
    background-position: left -785px;
}

.miscellaneous-item-icon {
    background-position: -34px -819px;
} 
.hover .miscellaneous-item-icon, .active .miscellaneous-item-icon {
    background-position: left -819px;
}

.tools-items-item-icon {
    background-position: -34px -919px;
} 
.hover .tools-items-item-icon, .active .tools-items-item-icon {
    background-position: left -919px;
}

.materials-items-item-icon {
    background-position: -34px -953px;
} 
.hover .materials-items-item-icon, .active .materials-items-item-icon {
    background-position: left -953px;
}



/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #32043e #ffffff;
}

/* Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 2px;
}

*::-webkit-scrollbar-thumb {
  background-color: #32043e;
  border-radius: 22px;
}

.active, .active-item, input[type="checkbox"]:checked + label {
  opacity: 1;
  color: white;
  border: 1px solid!important;
  background: linear-gradient(0deg, rgb(14 11 39) 0%, rgb(14 11 39) 50%, rgb(19 15 54) 100%);
}

.inactive-item {
  opacity: 0.5;
}
.hover-item {
  opacity: 1;
  background: linear-gradient(0deg, rgb(14 11 39) 0%, rgb(14 11 39) 50%, rgb(19 15 54) 100%);
}

.name {
    scrollbar-width: none;
} 
.name::webkit-scrollbar {
    width: 1px;
}
.fa-plus:before, .fa-xmark:before {
    font-size: 12px;
    cursor:pointer;
}

@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    } to {
        transform: rotate(360deg);
    }
}
.rotate {
    animation: rotate360 1s linear;
}

.input-container {
  position: relative;
  width: 100%;
}

.input-container i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: gray;
}