.item-grid {
    display: flex;
    flex-wrap: wrap;
}

.item-list {
    display: flex;
    flex-wrap: wrap;
}

.item {
    margin-bottom: 30px;
    border: 1px solid #ededed;
    padding: 15px;
    position: relative;
}

.item .header {
    display: flex;
}

.item-grid .item .header {
    display: block;
}

.item .footer {
    margin-left: 210px;
}

.item-grid .item .img {
    margin-bottom: 15px;
}

.item .img-inner {
    width: 180px;
    height: 160px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    position: relative;
}

.item-grid .item .img-inner {
    width: 100%;
    max-height: 180px;
    height: 180px;
}

.item-grid .item .img-inner img {
    max-height: 100%;
    max-width: 100%;
}

.item-grid.parts .item .img-inner {
    height: 160px;
}

.item .img svg {
    max-width: 100%;
    max-height: 100%;
}

.item .content {
    flex: 1;
    padding-left: 30px;
    position: relative;
}

.item-grid .item .content {
    padding-left: 0;
}

.item-grid .item {
    width: 25%;
    margin-bottom: 30px;
    border: 1px solid #ededed;
    padding: 15px;
    position: relative;
    overflow: hidden;
    border-left: 0;
}

.item-grid.titles .item {
    width: 25%;
    margin-bottom: 30px;
    border: 1px solid #ededed;
    padding: 16px 15px 0px;
}

.titles .item {
    padding: 16px 15px 0px;
}

.item-grid .item:nth-child(1), .item-grid .item:nth-child(4n+1) {
    border-left: 1px solid #ededed;
}

.item-list .item .header {
    display: flex;
}

.item-list .item .img-inner {
    width: 180px;
    height: 160px;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    position: relative;
}

.item .title {
    font-size: 16px;
    font-weight: bold;
}

.item .title.quality {
    color: #ffc107;
}

.img-inner {
    text-align: center;
}

.img-inner .no-img {
    background: url(../img/icons/no-photo.svg) no-repeat center;
    width: 128px;
    height: 128px;
    margin: 0 auto;
    opacity: 1;
}

.item-list.lootboxes .item .img-inner {
    width: 220px;
    height: 200px;
}

.heals .img-inner .no-img {
    background: url(../img/shop/health-no-img.svg) no-repeat center;
}

.food .img-inner .no-img {
    background: url(../img/shop/egg-food-no-img.svg) no-repeat center;
}

.boosts .img-inner .no-img {
    background: url(../img/shop/boost-no-img.svg) no-repeat center;
}

.lootboxes .img-inner .no-img {
    background: url(../img/shop/box-no-img.svg) no-repeat center;
}

.coupons .img-inner .no-img {
    background: url(../img/shop/coupon-no-img.svg) no-repeat center;
}

.services .img-inner .no-img {
    background: url(../img/shop/service-no-img.svg) no-repeat center;
}

.labels .img-inner .no-img {
    background: url(../img/shop/label-no-img.svg) no-repeat center;
}

.polls .img-inner .no-img {
    background: url(../img/shop/poll-no-img.svg) no-repeat center;
}

.no-img-buy {
    background: url(../img/icons/plus.svg) no-repeat center;
    width: 128px;
    height: 128px;
    margin: 0 auto;
    opacity: 1;
}

.item-grid .item .footer {
    display: flex;
    margin-top: 25px;
    height: 34px;
}

.item .price {
    display: flex;
    flex: 1;
    font-size: 18px;
    align-items: center;
}

.item-list .item .price {
    margin: 5px 0;
    font-size: 16px;
}

.item .img {
    margin-bottom: 20px;
}

.price-old {
    font-weight: normal;
    margin-left: 15px;
    text-decoration: line-through;
    color: #8e8e8edd;
}

.item .detail {
    position: relative;
    margin-bottom: 45px;
}

.item .detail .props {
    font-size: 12px;
}

.item .detail .props span {
    display: block;
    line-height: 20px;
}

.item .buttons {
    display: none;
    position: absolute;
    bottom: 0;
}

.item-list .item .buttons {
    display: block;
}

.item:hover .buttons {
    display: block;
}

.item .buttons a {
    background: #FF9800;
    color: #fff;
    padding: 5px 15px;
    display: inline-block;
    border-radius: 4px;
}

.buttons .btn {
    margin-bottom: 0;
    margin-right: 10px;
}

.item .label {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    color: #fff;
    padding: 0px 10px;
    font-size: 12px;
}

.item .label.green {
    background: #4CAF50;
}

.item .label.gray {
    background: #9e9e9e;
}

.item .label.orange {
    background: #ff9800;
}

.item-buy {
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.5s;
}

.item-buy:hover {
    opacity: 0.8;
}

.item-buy .title {
    font-weight: normal;
    text-align: center;
}

.category-list a .cnt {
    margin-left: 5px;
    font-weight: 600;
}

.hint {
    visibility: hidden;
    position: absolute;
    bottom: -10px;
    background: #fff;
    left: 0;
    width: 100%;
    padding: 15px;
    font-size: 13px;
    line-height: normal;
    transition: bottom 0.3s;
    border-top: 1px solid #f7f7f7;
    box-shadow: 0px -2rem 1.5rem rgba(18,38,63,.03);
}

.item:hover .hint {
    visibility: visible;
    bottom: 0px;
    z-index: 3;
}

.hint-text {
    margin-bottom: 10px;
    color: #676767;
}

.hint-props {
    font-size: 12px;
    color: #676767;
}

.hint-title {
    display: block;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 3px;
    color: #3a405b;
}

.subitem-grid {
    list-style: none;
    display: flex;
    margin: 5px 0 10px;
    flex-wrap: wrap;
    /* justify-content: space-between; */
}

.subitem-list {
    list-style: none;
    margin: 5px 0 25px;
    overflow-y: auto;
}

.subitem-grid li {
    margin: 0 5px 25px 5px;
    width: calc(20% - 10px);
}

.subitem-list li {
    margin-bottom: 5px;    
    display: flex;
}

.subheader {
    font-size: 16px;
    margin-top: 15px;
}

.subtitle {
    color: #9E9E9E;
    margin-bottom: 5px;
    margin-top: 8px;
    display: block;
    font-weight: bold;
}

.subitem-grid .subtitle {
    width: 100%;
    color: #9E9E9E;
    margin-top: 8px;
    display: block;
    border-bottom: 1px solid #ededed;
    padding-left: 0;
    margin-bottom: 15px;
    font-weight: normal;
}

.award-img {
    width: 30px;
    height: 25px;  
    text-align: center;
}

.subitem-grid .award-img {
    height: 100px;
    width: 100%;
    border: 1px solid #ededed;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    display: flex;
}

.award-img .a-img-inner {
    width: 25px;
    height: 25px;
    margin: 0 auto;
}

.award-type-2 .a-img-inner {background: url(../img/dinos/dino_any.png) no-repeat center; background-size: contain;}
.award-type-3 .a-img-inner {background: url(../img/shop/health-no-img.svg) no-repeat center;}
.award-type-4 .a-img-inner {background: url(../img/shop/egg-no-img-flex.svg) no-repeat center;}
.award-type-5 .a-img-inner {background: url(../img/shop/egg-food-no-img.svg) no-repeat center;}
.award-type-6 .a-img-inner {background: url(../img/icons/tc_flex.svg) no-repeat center;}
.award-type-7 .a-img-inner {background: url(../img/subscriptions/no-img.svg) no-repeat center;}
.award-type-8 .a-img-inner {background: url(../img/icons/award-no-img.svg) no-repeat center;}
.award-type-11 .a-img-inner {background: url(../img/icons/premium_flex.svg) no-repeat center;}
.award-type-12 .a-img-inner {background: url(../img/shop/boost-no-img.svg) no-repeat center;}
.award-type-30 .a-img-inner {background: url() no-repeat center;}
.award-type-31 .a-img-inner {background: url(../img/shop/add-slot.svg) no-repeat center;}
.award-type-32 .a-img-inner {background: url(../img/shop/coupon-no-img.svg) no-repeat center;} 
.award-type-33 .a-img-inner {background: url(../img/shop/service-no-img.svg) no-repeat center;} 
.award-type-34 .a-img-inner {background: url(../img/shop/box-no-img.svg) no-repeat center;}
.award-type-35 .a-img-inner {background: url(../img/shop/border-no-img.svg) no-repeat center;}
.award-type-36 .a-img-inner {background: url(../img/shop/background-no-img.svg) no-repeat center;}
.award-type-37 .a-img-inner {background: url(../img/shop/style-no-img.svg) no-repeat center;}
.award-type-38 .a-img-inner {background: url(../img/shop/style-no-img.svg) no-repeat center;}
.award-type-39 .a-img-inner {background: url(../img/icons/inv-fragment.png) no-repeat center;}
.award-type-41 .a-img-inner {background: url(../img/icons/inv-part.svg) no-repeat center;}
.award-type-43 .a-img-inner {background: url(../img/shop/style-no-img.svg) no-repeat center;}
.award-type-45 .a-img-inner {background: url(../img/shop/style-no-img.svg) no-repeat center;}
.award-type-48 .a-img-inner {background: url(../img/shop/style-no-img.svg) no-repeat center;}

.lootbox-keys {
    width: 16px;
    height: 16px;
    background: url(../img/icons/inv-lootbox-key.svg) no-repeat center left;
    margin-left: 30px;
    padding-left: 30px;
    font-size: 18px;
}

.award-name {
    padding-left: 10px;
    flex: 1;
    align-items: center;
    display: flex;
}

.subitem-grid .award-name {
    justify-content: center;
    padding: 0;
    text-align: center;
    font-size: 12px;
    line-height: normal;
    margin-top: 10px;
}

.subitem-grid .award-img .a-img-inner {
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    display: flex;
    justify-content: center;
    align-items: center;
}

.lootbox-content {
    text-align: center;
    position: relative;
}

.lootbox-content-name {
    margin-top: 30px;
    font-size: 20px;
    margin-bottom: 10px;
}

.lootbox-content img {
    min-width: 256px;
    min-height: 256px;
    top: 0;
    position: relative;
    transition: top 0.3s;
}

.lootbox-content.prepare img {
    top: -25px;
}

.lootbox-content.opened img {
    opacity: 0.7;
}

.lootbox-content-award {
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    transition: all 0.3s;
    transform: scale(0.75);
    visibility: hidden;
}

.lootbox-content-award span {
    background: #8BC34A;
    padding: 7px 20px;
    border-radius: 4px;
    color: #fff;
    box-shadow: 0 0.75rem 1.5rem rgb(215 230 197);
    display: inline-block;
}

.lootbox-content.opened .lootbox-content-award {
    top: 70px;
    visibility: visible;
    transform: scale(1.00);
}

.lootbox-content-award span.wow {
    background: #d42596;
    font-size: 18px;
}

#dlgBuyLootbox .dlg-content-amount {
    text-align: center;
}

#dlgBuyLootbox .dlg-content-amount .ctrl-amount {
    margin: 0 auto;
}

.lootboxes .item  {
    overflow: unset;
    margin-bottom: 30px;
    position: relative;
}  

.lootboxes .item .hint {
    max-height: 202px;
    overflow: auto;
} 

.lootboxes .hint-props {
    max-height: 172px;
}   

.item .open-box, .item .buy-boxkey {
    position: absolute;
    z-index: 6;
    padding: 5px 20px;
    left: 0;
    top: 100%;
    width: 100%;
    text-align: center;
    background: #8BC34A;
    color: #fff;
    display: none;
}

.item .buy-boxkey {
    background: #f3bf14;
}

.item:hover .open-box, .item:hover .buy-boxkey {
    display: block;
}

.item .open-box:hover {
    background: #a1d269;
}

.item .buy-boxkey:hover {
    background: #dfae10;
}

.quote {
    margin-top: 30px;
}

.lootbox-history {
    margin-top: 20px;
}

.lootbox-history .h-item {
    display: flex;
}

.lootbox-history .h-item .h-item-date {
    color: #9E9E9E;
}

.lootbox-history .h-item .h-player {
    margin-left: 10px;
}

.lootbox-history .h-item .h-content {
    margin-left: 10px;
}

#dlgBuyLootboxAsGift {
    width: 500px;
}

#dlgBuyLootboxAsGift .dlg-yes {
    left: calc(50% - 80px);
}

.buy-boxes {
    display: none;
    float: left;
    color: #888888;
    border: 1px solid #edededed;
    padding: 5px 15px;
    border-radius: 4px;
}

.item-actions {
    margin-top: 15px;
    margin-bottom: -20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.item-actions div {
    width: calc(50% - 3px);
    text-align: center;
}

.fragment-give {
    font-weight: bold;
}

div.act-fragments {
    width: 100%;
} 

.header-bar {
    display: flex;
    margin-bottom: 30px;
}

.header-bar-items {
    display: flex;
    height: 50px;
    margin-top: 5px
}

.header-bar-item {
    display: flex;
    padding: 4px 10px 4px 4px;
    border-bottom: 2px solid transparent;
    position: relative;
}

.header-bar-item::after {
    display: block;
    content: '';
    width: 1px;
    height: 24px;
    border-right: 1px solid #ededed;
    position: absolute;
    right: 0;
    top: calc(50% - 12px);
}

.header-bar-item .item-icon {
    width: 32px;
    height: 32px;
    margin-right: 5px;
}

.header-bar-item .item-text {
    flex: 1;
    color: #3a405b;
    padding-right: 8px;
}

.header-bar-item .item-text b {
    display: block;
    font-size: 16px;
    line-height: normal;
}

.header-bar-item .item-text span {
    display: block;
    text-transform: uppercase;
    color: #9e9e9e;
    font-size: 10px;
    line-height: normal;
}

.header-bar-item:hover {
    background: #99a8ff0d;
    border-bottom: 2px solid #3b55e62e;
}

.header-bar-item:last-child::after, .header-bar-item.fragments::after {
    display: none;
} 

.header-bar-fr-balance {
    display: flex;
    background: #fbeeceb3;
    border-radius: 4px;
    padding: 6px 12px 8px 12px;
    margin-right: 15px;
    border: 2px dashed #eead08b3;
}

.header-bar-fr-balance:hover {
    background: #fbeeceb3;
    border-bottom: 2px dashed #eead08b3;
}

.header-bar-fr-balance .item-text b {
    font-size: 20px;
} 

.item-icon.fragment {background: url(../img/icons/inv-fragment.png) no-repeat center;    margin-top: 6px;}
.item-icon.heal {background: url(../img/icons/inv-heal.svg) no-repeat center;}
.item-icon.food {background: url(../img/icons/inv-food.svg) no-repeat center;}
.item-icon.boost {background: url(../img/icons/inv-boost.svg) no-repeat center;}
.item-icon.lootbox {background: url(../img/icons/inv-lootbox.svg) no-repeat center;}
.item-icon.coupon {background: url(../img/icons/inv-coupon.svg) no-repeat center;}
.item-icon.service {background: url(../img/icons/inv-service.svg) no-repeat center;}
.item-icon.label {background: url(../img/icons/inv-label.svg) no-repeat center;}
.item-icon.part {background: url(../img/icons/inv-part.svg) no-repeat center;}

@media screen and (max-width: 640px) {
    .item-grid .item {
        width: 100%;
    }
}