/* 2 GAMES */

/* fullscreen */
.fullscreen-icon {
	position: absolute;
	right: 5px;
	top: 5px;
	width: 40px;
    height: 40px;
	background-color: rgba(0, 0, 0, 0.8);
	background-image: url(../images/icon-fullscreen.svg?v3);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 16px 16px;
	cursor: pointer;
	
	-webkit-border-radius: 50%;
	border-radius: 50%;

	z-index: 1000000;
}
/* fullscreen */

/* reload */
.reload-icon {
	display: block;
	position: absolute;
	right: 5px;
	top: 5px;
	width: 40px;
    height: 40px;
	background-color: rgba(0, 0, 0, 0.8);
	background-image: url(../images/icon-reload.svg?v3);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 16px 16px;
	cursor: pointer;
	
	-webkit-border-radius: 50%;
	border-radius: 50%;

	z-index: 1000000;
}

.reload-icon[is-onTop="yes"] {
	z-index: 1000000001;
}
/* reload */

/* exit */
.exit-icon {
	position: absolute;
	left: 5px;
	top: 5px;
	width: 40px;
    height: 40px;
	background-color: rgba(0, 0, 0, 0.8);
	background-image: url(../images/icon-exit.svg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 16px 16px;
	cursor: pointer;
	
	-webkit-border-radius: 50%;
	border-radius: 50%;

	z-index: 1000000;
}
/* exit */

/* trump info */
.trump-info {
	width: 40px;
	height: 34px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 4px;
	margin-bottom: 4px;
	background-size: 20px 20px;
	background-image: url(../images/three-dots.svg);
}
/* trump info */

/* coin offer */
.coin-offer {
	position: absolute;
    right: 5px;
    top: 50%;
	margin-top: -154px;
    width: 46px;
    height: 46px;
    line-height: 46px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.6);
	background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5)), url(../images/coin.png);
    background-size: 100%;
	background-repeat: no-repeat;
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    overflow: hidden;
    cursor: pointer;
	z-index: +1;

	-webkit-transition: all .2s ease-in-out;
	transition: all .2s ease-in-out;
	
    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.coin-offer[item-scale="1"] {
	-webkit-transform: scale(1.5);
	transform: scale(1.5);
}

.game-area[item-align-chat="bottom"] .coin-offer {
	top: 74px;
    margin-top: auto;
}
/* coin offer */

/* messages */
.messages {
	position: absolute;
    right: 5px;
    top: 50%;
    margin-top: -54px;
	width: 46px;
	height: 46px;
	background-color: rgba(0, 0, 0, 0.7);
	overflow: hidden;
	cursor: pointer;

	-webkit-border-radius: 50%;
	border-radius: 50%;
}

.messages:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

.game-area[item-align-chat="bottom"] .messages {
    top: auto;
	bottom: 20px;
	margin-top: auto;
	margin-bottom: 60px;
}

.game-area[item-align-chat="4game"] .messages {
    top: 50%;
	margin-top: 136px;
}

.messages[item-loading="yes"] {
	background-image: url(../images/preloader.svg);
	background-repeat: no-repeat;
	background-size: 32px 32px;
	background-position: center center;
}

.messages[item-loading="yes"] .messages-slider {
	opacity: 0.2;
}

.messages-slider {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	white-space: nowrap;
}

.messages-popup {
	display: none;
    position: absolute;
    right: 72px;
    top: 50%;
    width: 200px;
	height: 250px;
	padding: 5px;
	background-color: rgba(0, 0, 0, 0.6);
	margin-top: -30px;
	z-index: +1;

	-webkit-border-radius: 16px;
	border-radius: 16px;

	transform: translate(0%, -50%);
	-webkit-transform: translate(0%, -50%);
}

@media screen and (min-width: 1024px) {
	.messages-popup {
		width: 250px;
	}
}

@media screen and (min-height: 768px) {
	.messages-popup {
		height: 300px;
	}
}

.messages-popup::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0px;
	margin-top: -12px;
	margin-right: -24px;
    border-width: 12px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.6);
}

.game-area[item-align-chat="4game"] .messages-popup {
	z-index: 1000001;
	margin-top: 64px;
}

.game-area[item-align-chat="4game"] .messages-popup::after {
	top: auto;
	bottom: 24px;
}

@media screen and (min-height: 768px) {
	.game-area[item-align-chat="4game"] .messages-popup::after {
		top: auto;
		bottom: 48px;
	}
}

.messages-popup .message-smile {
	font-size: 24px;
	width: 50px;
	height: 50px;
	vertical-align: top;
	cursor: pointer;
}

.messages-popup .message-smile:hover {
	background-color: rgba(0, 0, 0, 0.2);
	
	-webkit-border-radius: 50%;
    border-radius: 50%;
}

.messages-popup-inner {
	width: 100%;
	height: 100%;
	padding-bottom: 30px;
	text-align: left;
	overflow-y: scroll;
	scroll-behavior: smooth;

	-webkit-mask-image: linear-gradient(to top, transparent 0%, black 25%);
	mask-image: linear-gradient(to top, transparent 0%, black 25%);
	
	-ms-overflow-style: none;  /* IE and Edge */
	scrollbar-width: none;  /* Firefox */
}

.messages-popup-inner::-webkit-scrollbar {
	display: none;
}

.messages-tooltip {
    position: absolute;
    left: 50%;
	padding: 5px;
	z-index: 1000001;
}

.messages-tooltip[item-style="message"] {
	min-width: 60px;
	font-size: 17px;
	text-align: center;
	cursor: pointer;
}

.messages-tooltip[item-style="message"][item-location="opponent"] {
	padding: 10px;
	top: 80px;
	background-color: rgba(0, 0, 0, 0.85);
	color: #ffffff;

	-webkit-border-radius: 10px;
	border-radius: 10px;

	transform: translate(-50, 0%);
	-webkit-transform: translate(-50%, 0%);
}

.messages-tooltip[item-style="message"][item-location="opponent"]::after {
	content: "";
    position: absolute;
	left: 50%;
	top: 0%;
	margin-top: -24px;
    margin-left: -12px;
    border-width: 12px;
	border-style: solid;
	border-color: transparent transparent rgba(0, 0, 0, 0.85) transparent;
}

@keyframes blinker_frames {
	50% {
		opacity: 0.1;
	}
}

@-webkit-keyframes blinker_frames {
	50% {
		opacity: 0.1;
	}
}

.messages-tooltip[item-style="message"][item-location="player"] {
	bottom: 2px;
	left: 50%;
	padding: 8px;
	padding-left: 14px;
	padding-right: 14px;
	background-color: rgba(0, 0, 0, 0.8);
    color: #ffffff;
	font-weight: bold;
	
	-webkit-border-radius: 18px;
	border-radius: 18px;

	transform: translate(-50, 0%);
	-webkit-transform: translate(-50%, 0%);
}

.messages-tooltip[item-style="message"][item-location="player"] img {
	animation: blinker_frames 1s linear infinite;
	-webkit-animation: blinker_frames 1s linear infinite;
}

/*
.messages-tooltip[item-style="message"][item-location="player"]::after {
	content: "";
    position: absolute;
	left: 0%;
	top: 50%;
	margin-top: -12px;
    margin-left: -24px;
    border-width: 12px;
	border-style: solid;
	border-color: transparent #ff0063 transparent transparent;
}
*/

.messages-tooltip[item-style="smile"] {
	top: 74px;
    width: 70px;
    height: 50px;
    line-height: 50px;
	text-align: center;
	background-color:rgba(0, 0, 0, 0.7);
	cursor: pointer;

	transform: translate(-50, 0%);
	-webkit-transform: translate(-50%, 0%);

	-webkit-border-radius: 18px;
	border-radius: 18px;
}

.messages-tooltip[item-style="smile"] .message-smile {
	font-size: 28px;
	vertical-align: middle;
}

.messages-tooltip[item-style="smile"]::after {
	content: "";
    position: absolute;
    top: 0%;
    left: 50%;
    margin-top: -24px;
    margin-left: -12px;
    border-width: 12px;
    border-style: solid;
    border-color: transparent transparent rgba(0, 0, 0, 0.7) transparent;
}
/* messages */

/* 4messages */
.messages4-tooltip[item-style="smile"] {
	position: absolute;
	padding: 5px;
	top: 100%;
    width: 70px;
    height: 50px;
    line-height: 50px;
	text-align: center;
	background-color:rgba(0, 0, 0, 0.7);
	cursor: pointer;
	z-index: 1000001;
}

.messages4-tooltip[item-style="smile"] .message-smile {
	font-size: 28px;
	vertical-align: middle;
}

.messages4-tooltip[item-style="template"] {
	position: absolute;
	top: 100%;
    min-width: 70px;
    height: 50px;
    line-height: 50px;
	padding: 5px;
	padding-left: 10px;
	padding-right: 10px;
	text-align: center;
	white-space: nowrap;
	background-color:rgba(0, 0, 0, 0.7);
	font-size: 15px;
	color: #ffffff;
	cursor: pointer;
	z-index: 1000001;
}

.user-info[user-type="opponents"][user-i="1"] .messages4-tooltip {
	left: 0px;
	margin-left: 62px;
	margin-top: -24px;

	-webkit-border-radius: 18px;
	-webkit-border-top-left-radius: 0;
	-moz-border-radius: 18px;
	-moz-border-radius-topleft: 0;
	border-radius: 18px;
	border-top-left-radius: 0;
}

.user-info[user-type="opponents"][user-i="2"] .messages4-tooltip {
	left: 50%;

	-webkit-border-radius: 18px;
	border-radius: 18px;

	transform: translate(-50, 0%);
	-webkit-transform: translate(-50%, 0%);
}

.user-info[user-type="opponents"][user-i="3"] .messages4-tooltip {
	left: 0px;
	margin-top: -24px;
	margin-left: 8px;
	
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);

	-webkit-border-radius: 18px;
	-webkit-border-top-right-radius: 0;
	-moz-border-radius: 18px;
	-moz-border-radius-topright: 0;
	border-radius: 18px;
	border-top-right-radius: 0;
}
/* 4messages */

/* message smiles */
.message-smile {
	display: inline-block;
	width: 46px;
	height: 46px;
	text-align: center;
	line-height: 46px;
	font-size: 20px;
}
/* message smiles */

/* user info */
.user-info {
	position: absolute;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	cursor: pointer;
	z-index: 1000000;

	-webkit-box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.12);
	box-shadow: 0 2px 4px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.12);
	
	-webkit-border-radius: 50%;
	border-radius: 50%;
}

.user-info[user-type="opponent"] {
	width: 72px;
	height: 72px;
	top: -8px;
	left: 50%;
	margin-left: -36px;
}

.user-info[user-type="opponent"] div[user-content="score"] {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	margin-top: 24px;
    margin-left: 52px;
	background-color: rgba(0, 0, 0, 0.8);
	color: #ffffff;
	font-size: 18px;
	text-align: center;
	z-index: +1;

	-webkit-border-radius: 50%;
	border-radius: 50%;
}

.user-info[user-type="opponent"] div[user-content="progress"] {
	display: none;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}

.user-info[user-type="player"] {
	bottom: -26px;
	left: 50%;
	width: 72px;
	height: 72px;
	margin-left: -36px;
}

.user-info[user-type="player"] div[user-content="score"] {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 30px;
	height: 30px;
	line-height: 30px;
	margin-left: 54px;
    margin-top: 12px;
	background-color: rgba(0, 0, 0, 0.8);
	color: #ffffff;
	font-size: 18px;
	text-align: center;
	z-index: +1;

	-webkit-border-radius: 50%;
	border-radius: 50%;
}

.user-info[user-type="player"] div[user-content="progress"] {
	display: none;
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
}
/* user info */

/* game info */
.game-info {
	position: absolute;
	top: 50%;
	left: 0px;
	width: 80px;
	height: 80px;
	line-height: 80px;
	margin-left: -40px;
	margin-top: -40px;
	background-color: rgba(0, 0, 0, 0.9);
	color: #ffffff;
	font-size: 18px;
	cursor: pointer;
	text-align: center;
	z-index: 1000000;
	
	-webkit-border-radius: 50%;
	border-radius: 50%;
}
/* game info */

/* suit icon */
.suit-icon {
	background-repeat: no-repeat;
	background-position: center center;
}

.suit-icon[suit-id="c"] {
	background-image: url(../images/suits/c.svg);
}
.suit-icon[suit-style="outline"][suit-id="c"] {
	background-image: url(../images/suits/outline/c.svg?v2);
}

.suit-icon[suit-id="d"] {
	background-image: url(../images/suits/d.svg);
}
.suit-icon[suit-style="outline"][suit-id="d"] {
	background-image: url(../images/suits/outline/d.svg?v2);
}

.suit-icon[suit-id="h"] {
	background-image: url(../images/suits/h.svg);
}
.suit-icon[suit-style="outline"][suit-id="h"] {
	background-image: url(../images/suits/outline/h.svg?v2);
}

.suit-icon[suit-id="s"] {
	background-image: url(../images/suits/s.svg);
}
.suit-icon[suit-style="outline"][suit-id="s"] {
	background-image: url(../images/suits/outline/s.svg?v2);
}

.suit-icon[suit-id="n"] {
	background-image: url(../images/suits/n.svg?v7);
}
/* suit item */

/* tournament */
.tournament-play {
	background-color: #5c22c3 !important;
}
/* tournament */

/* switch games */
.switch-games {
	position: absolute;
    top: 10px;
    left: 50%;
	margin-left: -85px;
    width: 170px;
    white-space: nowrap;
    overflow: hidden;
	cursor: pointer;

	-webkit-mask-box-image: -webkit-linear-gradient(left,transparent, transparent 0%, white 50%, white 50%, transparent 100%);
	mask-box-image: linear-gradient(left,transparent, transparent 4%, white 50%, white 50%, transparent 96%);
}

.switch-game {
	display: inline-block;
	width: 80px;
	vertical-align: middle;

	-webkit-transition: all 2s ease-in-out;
	transition: all 2s ease-in-out;
}

.switch-game[item-selected="yes"] .switch-game-logo {
	background-size: 40px;
	width: 40px;
	height: 40px;
	border: 6px solid #1a3b5b;
}

.switch-game-logo {
	height: 32px;
	width: 32px;
	margin-left: auto;
	margin-right: auto;
	border: 5px solid #103d68;
	background-repeat: no-repeat;
    background-size: 32px;
    background-position: center center;

	-webkit-border-radius: 10px;
	border-radius: 10px;
}

.switch-game-title {
	font-size: 16px;
    color: #e5c236;
	font-weight: bold;
	margin-top: 5px;
	text-align: center;
}

.switch-game-button {
	position: relative;
	padding-left: 48px;
}

.switch-game-button img {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 48px;
	height: 48px;
	margin-top: -4px;

	-webkit-border-radius: 20px;
	border-radius: 20px;
}

.switch-game-new {
	position: absolute;
    right: 8px;
    top: 4px;
    width: 32px;
    height: 32px;
    background-image: url(../images/icon-new.svg);
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: center center;

	animation: blinker_frames 1s linear infinite;
	-webkit-animation: blinker_frames 1s linear infinite;
}
/* switch game */

/* likes */
.game-user-likes {
    font-size: 16px;
    width: 260px;
	padding-bottom: 16px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.game-user-likes-title {
	font-size: 16px;
	padding-top: 16px;
	padding-bottom: 16px;
	text-align: center;
	border-top: 1px solid rgba(0, 0, 0, 0.07);
}

.game-user-likes-item {
	display: inline-block;
	background-color: rgba(0, 0, 0, 0.1);
	width: 64px;
	height: 64px;
	cursor: pointer;
	border: 2px solid transparent;

	-webkit-border-radius: 50%;
	border-radius: 50%;
}

.game-user-likes-item:hover {
	background-color: rgba(0, 0, 0, 0.15);
	border: 2px solid rgba(0, 0, 0, 0.2);
}

.game-user-likes img {
	margin-top: 8px;
	height: 32px;
	vertical-align: middle;
}

.game-user-likes span {
	margin-left: 4px;
}

.game-user-likes table {
	width: 100%;
	border-spacing: 0;
	border-collapse: collapse;
}

.game-user-likes table td {
	width: 50%;
	text-align: center;
}

/* likes */

/* play float */
.game-play-float {
    position: fixed;
    left: 10px;
    bottom: 10px;
    width: 56px;
    height: 56px;
    background-size: 24px 24px;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: url(../images/icon-play-link.svg);
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
    
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.game-play-float:hover {
    background-color: rgba(0, 0, 0, 0.6);
}


/* 4 GAMES */
.table4-item {
	margin-bottom: 8px;
	padding: 10px;
	overflow: hidden;
	border: 5px solid #dae1fccc;

	-webkit-transition: all 0.3s linear;
	transition: all 0.3s linear;

	-webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.table4-item[item-active="no"] {
	opacity: 0.4;

	-webkit-filter: grayscale(1);
	filter: grayscale(1);
}

.table4-item[item-style="dark"] {
	padding-top: 20px;
	padding-bottom: 20px;
	border: none;
	background-color: rgba(0, 0, 0, 0.7);

	-webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
}

.table4-item-title {
	font-size: 16px;
	text-align: center;
}

.table4-item[item-style="dark"] .table4-item-title {
	color: #ffffff;
}

.table4-item-users {
	margin-top: 8px;
}

.table4-item-coins {
    background-color: #dae1fccc;
    color: #252525;
    padding: 4px;
    padding-left: 10px;
    padding-right: 10px;

	-webkit-border-radius: 15px;
    border-radius: 15px;
}

.table4-item[item-style="dark"] .table4-item-coins {
	background-color: #6e8cffcc;
}

.table4-item-users img {
	width: 40px;
	height: 40px;
	vertical-align: middle;

	-webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.table4-item-empty {
	display: inline-block;
	width: 32px;
	height: 32px;
	vertical-align: middle;
	background-color: rgba(0, 0, 0, 0.6);

	background-image: url(../images/preloader.svg);
	background-repeat: no-repeat;
	background-size: 24px 24px;
	background-position: center center;

	-webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.table4-item-1-4 {
	display: inline-block;
	vertical-align: middle;
	width: 25%;
	text-align: center;
}