.shop_container{
   position: relative;
}

.update_market_container{
    background-color: rgb(45, 45, 65, 0.9);
    border-radius: 4px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.update_market_container span{
    font-family: 'Anybody', cursive;
    text-shadow: 1px 1px 1px #121212;
    display: block;
}

.update_market_container i{
    text-shadow: 1px 1px 1px #121212;
    display: block;
    text-align: center;
}

@media (min-width: 1920px){ 
    .update_market_container span{
        font-size: 48px;
    }
    .update_market_container i{
        font-size: 72px;
    }
    .empty_shop span{
        font-size: 24px;
    }
    .empty_shop i{
        font-size: 72px;
    }
}

@media (min-width: 800px) and (max-width: 1919px){ 
    .update_market_container span{
        font-size: 32px;
    }
    .update_market_container i{
        font-size: 64px;
    }
    .empty_shop span{
        font-size: 20px;
    }
    .empty_shop i{
        font-size: 64px;
    }
}

@media (max-width: 799px){ 
    .update_market_container span{
        font-size: 24px;
    }
    .update_market_container i{
        font-size: 56px;
    }
    .empty_shop span{
        font-size: 16px;
    }
    .empty_shop i{
        font-size: 48px;
    }
}

.empty_shop{
    padding: 8px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 320px;
}

.empty_shop span{
    font-family: 'Anybody', cursive;
    text-shadow: 1px 1px 1px #121212;
    color: cadetblue;
    display: block;
}

.empty_shop i{
    text-shadow: 1px 1px 1px #121212;
    display: block;
    margin-bottom: 10px;
}

.items_container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
	justify-content: center;
    padding-left: 10px;
    padding-right: 10px;
    max-width: 100%;
}

.item{
    width: 240px;
    height: 300px;
    margin: 4px;
    border-radius: 4px;
    background-color: rgb(45, 45, 65);
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    text-shadow: 1px 1px 1px #121212;
    transition: 0.3s;
    text-align: center;
    position: relative;
    font-family: 'Anybody', cursive;
    overflow: hidden;
    /*filter: saturate(10%);*/
}

.item_checked{
    position: absolute;
    top: 50px;
    left: 85px;
    background-color: #4db4dabb;
    padding: 6px 18px;
    font-size: 40px;
    border-radius: 20px;
    display: none;
}

.item_image{
    position: absolute;
    top: 0px;
    left: 30px;
    width: 180px;
    transition: 0.3s;
}

.item_image_hover{
    width: 200px;
}

.item:hover{
    background-color: rgb(55, 55, 80);
}

.item_price{
    width: 100%;
    position: absolute;
    top: 150px;
    font-size: 20px;
    left: 0;
    color: gold;
    cursor: default;
}

.item_name{
    width: 100%;
    position: absolute;
    top: 180px;
    font-size: 14px;
    left: 0;
    display: -webkit-box;
    display: -moz-box;
    display: box;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    max-height: 40px;
    padding-left: 4px;
    padding-right: 4px;
    cursor: default;
}

.item_button{
    position: absolute;
    bottom: 10px;
    left: 10px;
    border-radius: 4px;
    padding: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    width: 220px;
    text-shadow: 1px 1px 1px #12121238;
    letter-spacing: 2px;
}

#not_tradable{
    background-color: #223;
}

#add_to_cart{
    background-color: #4db5da;
}

#add_to_cart:hover{
    background-color: #359abe;
}

#inspect_item{
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 22px;
    color: #ccd;
    text-shadow: 1px 1px 1px #121212;
    cursor: pointer;
    transition: 0.3s;
}

#inspect_item a{
    color: #ccd;
    text-shadow: 1px 1px 1px #121212;
    transition: 0.3s;
}

#inspect_item a:hover{
    color: #99c;
}

#remove_from_cart{
    background-color: rgb(253, 110, 100);
}

#remove_from_cart:hover{
    background-color: rgb(240, 81, 70);
}

.wear_value{
    position: absolute;
    left: 12px;
    top: 228px;
    font-size: 14px;
    font-family: 'Source Sans Pro', sans-serif;
    cursor: default;
}

.wear_bar {
    width: 180px;
    height: 8px;
    position: absolute;
    background-color: #e05a59;
    top: 235px;
    left: 50px;
    display: flex;
}

.wear_bar_section{
    height: 100%;
    display: inline-block;
    flex-grow: 1;
}

#factory_new {
    width: 7%;
    background-color: #58af42;
}

#minimal_wear {
    width: 8%;
    background-color: #74ce4d;
}

#field_tested {
    width: 23%;
    background-color: #e6e34b;
}

#well_worn {
    width: 7%;
    background-color: #e29d4e;
}

#battle_scarred {
    width: 55%;
    background-color: #e25353;
}

.wear_marker {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
}

.wear_marker::before,
.wear_marker::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.wear_marker::before {
    border-width: 11px 6px 0;
    border-color: #112 transparent transparent transparent;
}

.wear_marker::after {
    border-width: 11px 6px 0;
    border-color: #ffffff transparent transparent transparent;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.pagination li {
    margin: 0 5px;
}

.pagination button{
    padding: 6px 12px;
    font-family: 'Anybody', cursive;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 3px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px #121212;
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    transition: 0.2s;
}

.pagination_jump_page button{
    background-color: #334;
}

.pagination_jump_page button:hover{
    background-color: #445;
}

.pagination_page button{
    background-color: #556;
}

.pagination_page button:hover{
    background-color: #667;
}

.pagination_page_current button{
    background-color: #557;
}

.options_container{
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}

@media (min-width: 600px){ 
    .options_container{
        width: 80%;
    }
}

@media (max-width: 599px){ 
    .options_container{
        width: 90%;
    }
}

.container_box{
    flex: 1;
    margin-top: 0px;
    min-width: 260px;
    padding: 6px 20px;
    background-color: rgb(45, 45, 65);
    border-radius: 4px;
    text-align: center;
    text-shadow: 1px 1px 1px #121212;
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    min-height: 200px;
}

@media (min-width: 480px){ 
    .container_box{
        margin: 10px;
        margin-bottom: 20px;
    }
}

@media (max-width: 479px){ 
    .container_box{
        margin: 0px;
        margin-bottom: 10px;
    }
}

.options_box{
    width: 100%;
}

/* Search bar */

@media (min-width: 120px){ 
    .search_input{
        padding: 10px;
        width: -moz-calc(100% - 130px);
        width: -webkit-calc(100% - 130px);
        width: -o-calc(100% - 130px);
        width: calc(100% - 130px);
        font-size: 12px;
    }

    .search_button{
        max-width: 130px;
        font-size: 16px;
        padding: 8px 12px;
        margin-left: 12px;
    }
}

@media (max-width: 1199px){ 
    .search_input{
        padding: 6px;
        width: -moz-calc(100% - 100px);
        width: -webkit-calc(100% - 100px);
        width: -o-calc(100% - 100px);
        width: calc(100% - 100px);
        font-size: 11px;
    }

    .search_button{
        max-width: 100px;
        font-size: 12px;
        padding: 4px 8px;
        margin-left: 8px;
    }
}

.search_container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.search_input {
    border: 2px solid #668;
    color: #dde;
    border-radius: 4px;
    background-color: transparent;
    font-family: 'Anybody', cursive;
    letter-spacing: 1px;
    outline: none;
    transition: 0.3s;
}

.search_input:focus{
    border: 2px solid #aac;
}

.search_input::placeholder{
    color: #ccd;
}

.search_button{
    background-color: #446;
    border-radius: 4px;
    outline: none;
    border: none;
    font-family: 'Anybody', cursive;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px #121212;
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    transition: 0.3s;
}

.search_button:hover{
    background-color: #335;
}

/* Filters */

.filters_container{
    display: flex;
    clear: both;
    text-align: center;
}

.filters_container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    font-family: 'Anybody', cursive;
    letter-spacing: 1px;
}

.filter_box{
    margin-bottom: 12px;
    min-width: 220px;
}

#filter_order_by{
    flex: 1;
}

#filter_tradable{
    flex: 1;
}

#filter_price{
    flex: 1.5;
}

/* Dual Slider */

.dual-slider{
    width: 90%;
    margin: auto;
}

#slider_values{
    width: 96%;
    margin: auto;
    margin-top: 10px;
}

#slider_values::after {
    content: "";
    display: table;
    clear: both;
}

.filters_title{
    font-size: 18px;
    display: block;
}

.price_input{
    color: white;
    width: 50px;
    height: 22px;
    padding: 0;
    outline: none;
    border: none;
    text-align: center;
    box-shadow: none;
    background-color: #446;
    font-family: Arial;
    border: 1px solid #557;
    border-radius: 2px;
    transition: 0.3s;
}

.price_input:focus{
    border: 1px solid #779;
    background-color: rgb(81, 81, 124);
}

.input_coins{
    background-color: #335;
    width: 26px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    text-align: center;
    border: 1px solid #668;
    border-right: none;
    border-radius: 2px;
}

.price_input_container{
    display: flex;
    align-items: center;
}

#price_min{
    float: left;
}

#price_max{
    float: right;
}

/* Checkbox */

.tradable_only_checkbox {
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: center; /* Center horizontally */
}

.tradable_only_checkbox input[type="checkbox"] {
    visibility: hidden;
    display: none;
}

.tradable_only_checkbox .toggle {
    position: relative;
    display: block;
    width: 40px;
    height: 20px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transform: translate3d(0, 0, 0);
}

.tradable_only_checkbox .toggle:before {
    content: "";
    position: relative;
    top: 3px;
    left: 3px;
    width: 34px;
    height: 14px;
    display: block;
    background: #556;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.tradable_only_checkbox .toggle span {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    display: block;
    background: #eef;
    border-radius: 10px;
    box-shadow: 0 3px 8px #779;
    transition: all 0.2s ease;
}

.tradable_only_checkbox .toggle span:before {
    content: "";
    position: absolute;
    display: block;
    margin: -18px;
    width: 56px;
    height: 56px;
    background: #77a;
    border-radius: 50%;
    transform: scale(0);
    opacity: 1;
    pointer-events: none;
}

.tradable_only_checkbox #tradable_checkbox:checked+.toggle:before {
    background: #99b;
}

.tradable_only_checkbox #tradable_checkbox:checked+.toggle span {
    background: #558;
    transform: translateX(20px);
    transition: all 0.2s cubic-bezier(0.8, 0.4, 0.3, 1.25), background 0.15s ease;
    box-shadow: 0 3px 8px rgba(79, 46, 220, 0.2);
}

.tradable_only_checkbox #tradable_checkbox:checked+.toggle span:before {
    transform: scale(1);
    opacity: 0;
    transition: all 0.4s ease;
}

/* List */

.order_by_dropdown {
    position: relative;
    display: inline-block;
    font-family: 'Anybody', cursive;
}

.order_by_dropdown_content {
    display: none;
    position: absolute;
    background-color: #446;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    left: 0;
    border-radius: 4px;
}

.order_by_dropdown_content a {
    color: white;
    padding: 5px;
    font-size: 12px;
    text-decoration: none;
    display: block;
    text-align: left;
    width: 180px;
    border-radius: 4px;
    text-align: center;
}

.order_by_dropdown a:hover {
    background-color: #557;
    cursor: pointer;
}

.show_dropdown {
    display: block;
}

.dropdown_button{
    background-color: #446;
    border: 1px solid #aac;
    border-radius: 4px;
    width: 180px;
    padding: 4px;
    font-family: 'Anybody', cursive;
    text-shadow: 1px 1px 1px #121212;
}

.dropdown_button i{
    position: absolute;
    top: 1px;
    right: 10px;
    font-size: 18px;
}

/* Active filters */

.active_filters{
    margin-bottom: 8px;
}

.active_filter_span{
    font-size: 10px;
    background-color: #359abe;
    padding: 2px 4px;
    letter-spacing: 1px;
    border-radius: 4px;
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 1px 1px;
    white-space: nowrap;
}

/* Withdraw */

.withdraw_container{
    height: 100%;
    position: relative;
}

.withdraw_box{
    position: absolute;
    bottom: 0;
    left: -moz-calc(50% - 115px);
    left: -webkit-calc(50% - 115px);
    left: -o-calc(50% - 115px);
    left: calc(50% - 115px);
    display: flex;
}

.total_price{
    font-family: 'Anybody', cursive;
    background-color: #224;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    width: 80px;
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    border-radius: 2px;
}

.total_price i{
    font-size: 14px;
    margin-right: 4px;
    margin-top: -2px;
}

.withdraw_button{
    background-color: #446;
    outline: none;
    border: none;
    font-family: 'Anybody', cursive;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px #121212;
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    border-radius: 4px;
    font-size: 16px;
    padding: 6px 10px;
    width: 150px;
    transition: 0.3s;
}

.withdraw_button:hover{
    background-color: #335;
}

.cart_container{
    position: absolute;
    width: 100%;
    height: -moz-calc(100% - 45px);
    height: -webkit-calc(100% - 45px);
    height: -o-calc(100% - 45px);
    height: calc(100% - 45px);
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
}

.empty_cart{
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty_cart_i{
    display: block;
    font-size: 36px;
}

.empty_cart_span{
    display: block;
    font-size: 18px;
    color: cadetblue;
}

.cart_item{
    background-color: #446;
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    height: 80px;
    width: 80px;
    margin: 4px;
    border-radius: 4px;
    position: relative;
    transition: 0.3s;
}

.cart_item:hover{
    background-color: #557;
}

.cart_item img{
    width: 64px;
    height: 48px;
    position: absolute;
    top: 8px;
    left: 8px;
}

.cart_item_price{
    width: 100%;
    position: absolute;
    bottom: 2px;
    margin: auto;
    font-family: 'Anybody', cursive;
    color: gold;
}

.cart_item_remove{
    font-family: 'Anybody', cursive;
    position: absolute;
    font-size: 16px;
    top: 4px;
    right: 6px;
    color: #bbd;
    cursor: pointer;
    transition: 0.3s;
}

.cart_item_remove:hover{
    color: #ddf;
}

/* Pending withdrawals */
.pending_withdrawals{
    width: 90%;
    min-width: 260px;
    max-width: 400px;
    margin: auto;
    margin-top: -10px;
    margin-bottom: 10px;
    text-align: center;
    background-color: #4db5da;
    color: white;
    padding: 6px 12px;
    font-family: 'Anybody', cursive;
    text-shadow: 1px 1px 1px #12121238;
    box-shadow: rgba(5, 5, 5, 0.3) 0px 1px 2px 0px, rgba(5, 5, 5, 0.15) 0px 1px 3px 1px;
    letter-spacing: 1px;
    border-radius: 4px;
    display: none;
    cursor: pointer;
    animation: pendingWithdrawalsFade 0.8s infinite alternate;
}

@media (min-width: 600px){ 
    .pending_withdrawals{
        font-size: 14px;
    }
}

@media (max-width: 599px){ 
    .pending_withdrawals{
        font-size: 12px;
    }
}

@keyframes pendingWithdrawalsFade {
    0% {
      background-color: #4db5da;
    }
    100% {
      background-color: #1588ca;
    }
  }