:root {
	--primary-background: #222127;
	--primary-radius: 8px;
}

ul.pagination {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.trading {
	margin-bottom: 24px;
}

.trading .product {
	display: flex;
	width: 100%;
	background-color: var(--primary-background);
	border-radius: var(--primary-radius);
	padding: 12px 24px 12px 24px;
	height: 80px;
	align-items: center;
	font-size: 16px;
	margin-bottom: 16px;
}

.trading .product .view img {
	width: 48px;
	height: 48px;
	border-radius: var(--primary-radius);
}

.trading .product .name {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.3em;
	width: 39%;
}

.trading .product .add {
	width: 8%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.trading .product .add button.btn svg.bi.bi-bag-heart-fill {
	width: 24px;
	height: 24px;
	color: gray;
}

.trading .product .add button.btn svg.bi.bi-bag-heart-fill:hover {
	color: #d1e52d;
}

.trading .product .add button.btn {
	background-color: transparent;
	margin-bottom: 0;
}

.trading .product .view {
	width: 8%;
	margin-right: 12px;
}

.trading .product .price,
.trading .product .availability,
.trading .product .market {
	width: 15%;
}


.trading .table {
	display: flex;
	padding: 0 24px 0 24px;
	font-size: 12px;
}

.trading .table svg {
	margin-right: 8px;
}

.trading .table .name,
.trading .table .price,
.trading .table .market,
.trading .table .view,
.trading .table .availability {
	display: flex;
	align-items: center;
}

.trading .table .name {
	width: 39%;
}

.trading .table .add {
	width: 8%;
}

.trading .table .view {
	width: 8%;
	margin-right: 12px;
}

.trading .table .price,
.trading .table .availability,
.trading .table .market {
	width: 15%; 
}

.product:hover {
	box-shadow: 3px 3px #6c97d4, -4px 0 .4em #40787d;
	transition: box-shadow 0.3s ease-in-out;
}

.jconfirm-cell {
	background-color: rgba(0, 0, 0, .40);
}

.jconfirm-box-container {
	color: #484848;
}

#items .card.active {
	border-color: rgba(65, 137, 91, .64);
	background-color: rgba(36, 62, 45, .25);
}

#items .card.active:hover {
	border-color: transparent;
	background-color: var(--primary-background);
}

#items .card {
	cursor: pointer;
	background-color: var(--primary-background);
}

#items .card .card-header {
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

#items .card .card-body {
	height: 150px !important;
	background-size: contain !important;
	background-repeat: no-repeat !important;
	background-position: 50% !important;
	margin: 12px 8px 12px 8px !important;
}

#items .card:hover {
	box-shadow: 3px 3px #6c97d4, -4px 0 .4em #40787d;
	transition: box-shadow 0.3s ease-in-out;
	transition: border-color 0.3s ease-in-out;
}

@media (max-width: 600px) {
	.trading .product {
		padding: 8px;
	}
	
	.trading .product .view img {
		width: 32px;
		height: 32px;
	}
	
	.trading .table .name {
		width: 30%;
	}
	
	.trading .product .name {
		width: 30%;
	}
	
	.trading .table .add {
		width: 17%;
	}
	
	.trading .product .add {
		width: 17%;
	}
}
#green_circle_online {
    display: inline-block;
    background-color: green;
    width: 10px;
    border-radius: 20px;
    height: 10px;
    margin-left: 10px;
    margin-bottom: 1px;
    box-shadow:0 0 15px rgba(255,255,255,.4);
    -webkit-animation: mymove 3s infinite;
    animation: mymove .4s ease-in infinite alternate;
}
@keyframes mymove{
  from{
    transform:scale(1);
  }
  to{
    transform:scale(1.3);
  }
}
.smart-roulette__gift_left {
    left: 15px;
}
.smart-roulette__gift {
    border: none;
    padding: 0;
    margin: 0;
    background: 0 0;
    position: fixed;
    cursor: pointer;
    outline: 0;
    -webkit-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
    bottom: 15px;
    -webkit-animation: 2.2s ease-in-out 0s normal none infinite running shake-animation;
    animation: 2.2s ease-in-out 0s normal none infinite running shake-animation;
    z-index: 999;
}
.smart-roulette__gift {
  
  -moz-animation: cycle 4s linear infinite;            
    -webkit-animation: cycle 4s linear infinite;
  
}
.smart-roulette__gift{
  color:white;
  min-height:30px;
  margin-left:auto;
  margin-right:auto;
  display:block;
}
@-moz-keyframes cycle {
        35% {transform: rotate(0) translate(0, 0);}
        40% {transform: rotate(5deg) translate(0, -2px);}
        45% {transform: rotate(-3deg) translate(0, -2px);}
        50% {transform: rotate(5deg) translate(0, -2px);}
        55% {transform: rotate(-3deg) translate(0, -2px);}
        60% {transform: rotate(5deg) translate(0, -2px);}
        65% {transform: rotate(-3deg) translate(0, -2px);}
        70% {transform: rotate(0) translate(0, 0);}
    }

    @-webkit-keyframes cycle {
        35% {transform: rotate(0) translate(0, 0);}
        40% {transform: rotate(5deg) translate(0, -2px);}
        45% {transform: rotate(-3deg) translate(0, -2px);}
        50% {transform: rotate(5deg) translate(0, -2px);}
        55% {transform: rotate(-3deg) translate(0, -2px);}
        60% {transform: rotate(5deg) translate(0, -2px);}
        65% {transform: rotate(-3deg) translate(0, -2px);}
        70% {transform: rotate(0) translate(0, 0);}
}
#soffline {
    display: inline-block;
    background-color: #d85752;
    width: 8px;
    border-radius: 20px;
    height: 8px;
    margin-left: 10px;
    margin-bottom: 1px;
    margin-right: 6px;
    box-shadow: 0 0 15px #dc3545;
    animation: mymove 0.0s ease-in infinite alternate;
}

#sonline {
    display: inline-block;
    background-color: green;
    width: 10px;
    border-radius: 20px;
    height: 10px;
    margin-left: 10px;
    margin-right: 6px;
    margin-bottom: 1px;
    box-shadow: 0 0 15px rgb(96 151 208 / 62%);
    animation: mymove 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
    filter: none;
}
#sonline:hover {
    display: inline-block;
    background-color: #6c97d4;
    width: 10px;
    border-radius: 20px;
    height: 10px;
    filter: blur(1px);
    cursor: none;
    margin-left: 10px;
    margin-right: 6px;
    margin-bottom: 1px;
    box-shadow: 0 0 15px rgb(96 151 208 / 62%);
    animation: mymove 0.8s;
}
.h-top-link, .h-top-link:hover {
    display: none;
    cursor: pointer;
    width: 38px;
    height: 150px;
    text-align: center;
    background-image: url(../img/up-top.png);
    color: #fff;
    position: fixed;
    right: 30px;
    bottom: 30px;
}