#divAppGamePopup
{
    background-color:rgba(0, 0, 0, 0.75);
    display:none;
    height:100%;
    left:0%;
    opacity:0;
    will-change: opacity;
    position:fixed;
    top:0%;
    width:100%;
    z-index:15;
}

#divAppGamePopup.show
{
	animation-duration:0.25s;
	animation-name:showGamePopup;
	display:block;
	opacity:1;
}

#divAppGamePopup #divGamePopup
{
    background-color:#1b1c20;
    border-radius:10px;
	box-shadow:inset 0 20px 10px -20px rgba(255, 255, 255, 0.75), inset 0 -20px 10px -20px rgba(0, 0, 0, 0.75), 0 0 50px #000000;
	height:660px;
    left:50%;
    opacity:0;
    will-change: opacity;
	overflow:hidden;
	position:absolute;
	top:50%;
	transform:translate(-50%, -50%);
	width:1080px;
}

#divAppGamePopup.show #divGamePopup
{
    animation-duration:0.25s;
	animation-name:showGamePopup;
	opacity:1;
}

#divAppGamePopup.fullscreen #divGamePopup
{
    border:none;
    border-radius:0px;
    left:0px;
    height:100% !important;
    top:0px;
    transform:translate(0, 0);
    width:100%;
}

#divAppGamePopup #divGameName
{
    color:#cffdff;
    font-size:18px;
    left:20px;
    overflow:hidden;
    position:absolute;
    right:380px;
    text-overflow:ellipsis;
    text-shadow:0px 0 5px #01eff9;
    top:15px;
    transition:left 0.25s;
    white-space:nowrap;
}

#divAppGamePopup #divGameProvider
{
    color:#ffffff;
    font-size:14px;
    left:20px;
    overflow:hidden;
    position:absolute;
    right:380px;
    text-overflow:ellipsis;
    text-shadow:0px 0 5px #e600ff;
    top:38px;
    white-space:nowrap;
}

#divAppGamePopup #btnActiveChallenge
{
	animation:pulsateChallenge 2s linear 0s infinite;
	background-color:#292a2f;
	background-image:url('../images/icons/tournaments.svg');
	background-position:center;
	background-repeat:no-repeat;
	background-size:65%;
	border:1px solid #ffffff;
	border-radius:50%;
	color:#ffb94c;
	cursor:pointer;
	display:none;
	font-size:10px;
	font-weight:600;
	height:28px;
	line-height:28px;
	position:absolute;
	right:350px;
	text-align:center;
	text-shadow:0px 0px 4px #000000, 0px 0px 3px #000000, 0px 0px 2px #000000;
	top:15px;
	width:28px;
}

#divAppGamePopup #btnActiveChallenge.show
{
	display:block;
}

#divAppGamePopup #btnActiveChallenge.completed
{
	animation:none;
	background-color:#10ff00;
	border:1px solid #000000;
	box-shadow:inset 0px 0px 5px 0px #00ff00, 0px 0px 5px 0px #00ff00;
	color:#cb9033;
	filter:invert(1) hue-rotate(180deg);
}

#divAppGamePopup #btnActiveChallenge.expired
{
	animation:none;
	box-shadow:inset 0px 0px 5px 0px #ff0000, 0px 0px 5px 0px #ff0000;
}

#divAppGamePopup #btnFestiveChest
{
	background-color:#292a2f;
    background-image:url('../images/other/chest.webp');
	background-position:center;
	background-repeat:no-repeat;
	background-size:86%;
    border:1px solid #3f4656;
	border-radius:50%;
	color:#ffffff;
    cursor:pointer;
    font-size:9px;
	height:28px;
    line-height:35px;
	position:absolute;
	right:310px;
    text-align:center;
    text-shadow:0px 0px 2px #000000;
	top:15px;
	width:28px;
}

#divAppGamePopup #btnFestiveChest.hasGifts
{
	animation:pulsateFestiveGifts 2s linear 0s infinite;
    border:1px solid #ffffff;
}

#divAppGamePopup .ifrGamePopup
{
    height:calc(100% - 90px);
    left:20px;
    position:absolute;
    top:70px;
    transition:height 0.25s, left 0.25s, top 0.25s, width 0.25s;
    width:calc(100% - 40px);
}

#divAppGamePopup .divGamePopupLoyaltyBar
{
    background-color:#292a2f;
    border-radius:10px;
	display:none;
    height:20px;
	overflow:hidden;
    position:absolute;
    right:100px;
    top:20px;
    width:200px;
}

#divAppGamePopup.loyaltyMode .divGamePopupLoyaltyBar
{
	display:block;
}

#divAppGamePopup #divGamePopupBonusBar
{
    background-color:#292a2f;
    border-radius:10px;
	display:none;
    height:20px;
	overflow:hidden;
    position:absolute;
    right:100px;
    top:20px;
    transition:box-shadow 0.75s, transform 0.75s;
    width:200px;
}

#divAppGamePopup.bonusMode  #divGamePopupBonusBar
{
    display:block;
}

#divAppGamePopup #divGamePopupBonusBar.completed
{
    box-shadow:0px 0 5px 3px #e600ff;
    transform:scale(1.25);
}

#divAppGamePopup #divGamePopupLoyaltyProgress
{
    background:#6b42de;
	background:linear-gradient(270deg, #01eff9 0%, #e600ff 100%);
    border-radius:10px;
    height:100%;
    left:0px;
    position:absolute;
    top:0px;
    transition:width 0.25s;
    width:0px;
}

#divAppGamePopup #divGamePopupBonusProgress
{
    background:#6b42de;
    background:linear-gradient(270deg, #e600ff 0%, #01eff9 100%);
    border-radius:10px;
    height:100%;
    left:0px;
    position:absolute;
    top:0px;
    transition:width 0.25s;
    width:0px;
}

#divAppGamePopup #divGamePopupLoyaltyPercentage, #divAppGamePopup #divGamePopupBonusPercentage
{
    color:#ffffff;
    font-size:12px;
    height:20px;
    line-height:20px;
    left:0px;
    position:absolute;
    right:0px;
    text-align:center;
    top:0px;
}

#divAppGamePopup #btnFullScreen
{
    border:2px solid #3f4656;
    border-radius:3px;
    cursor:pointer;
	height:16px;
	margin:10px;
    position:absolute;
	right:50px;
	top:10px;
    transition:border 0.25s, box-shadow 0.25s;
	width:16px;
}

#divAppGamePopup #btnFullScreen:hover, #divAppGamePopup #btnFullScreen:focus
{
    border:2px solid #cffdff;
    box-shadow:inset 0 0 5px #01eff9, 0 0 5px #01eff9;
}

#divAppGamePopup #btnClosePopup
{
	cursor:pointer;
	height:40px;
	position:absolute;
	right:10px;
	top:10px;
    transition:right 0.25s, top 0.25s;
	width:40px;
}

#divAppGamePopup #btnClosePopup:before
{
	background-color:#3f4656;
	content:"";
	height:2px;
	left:8px;
	position:absolute;
	top:20px;
	transform:rotate(45deg);
    transition:background-color 0.25s, box-shadow 0.25s;
	width:24px;
}

#divAppGamePopup #btnClosePopup:after
{
	background-color:#3f4656;
	content:"";
	height:2px;
	left:8px;
	position:absolute;
	top:20px;
	transform:rotate(-45deg);
    transition:background-color 0.25s, box-shadow 0.25s;
	width:24px;
}

#divAppGamePopup #btnClosePopup:hover:before, #divAppGamePopup #btnClosePopup:focus:before, #divAppGamePopup #btnClosePopup:hover:after, #divAppGamePopup #btnClosePopup:focus:after
{
    background-color:#fbd3ff;
    box-shadow:0px 0 5px #e600ff;
}

#divAppGamePopup .divGamePopupBackground
{
    background-color:#000000;
    bottom:20px;
    left:20px;
    position:absolute;
    right:20px;
    top:70px;
    transition:bottom 0.25s, left 0.25s, right 0.25s, top 0.25s;
}

#divAppGamePopup .imgLoaderLogo
{
	animation:rotateLoader 2.5s linear infinite;
	left:calc(50% - 60px);
	height:120px;
	position:absolute;
	top:calc(50% - 90px);
	width:120px;
}

#divAppGamePopup .divLoading
{
	color:#cffdff;
	font-size:20px;
	left:50%;
	position:absolute;
	text-shadow:0px 0 5px #01eff9;
	top:calc(50% + 35px);
	transform:translateX(-50%);
}

#divAppGamePopup #divGamePopupTournamentDetails
{
    display: none;
}

#divAppGamePopup.activeTournament #divGamePopupTournamentDetails
{
    display: block;
    height: 30px;
    bottom: 20px;
    position: absolute;
    width: calc(100% - 40px);
    left:20px;
    right: 20px;
    line-height: 22px;
}

#divAppGamePopup.activeTournament #divGamePopup
{
    height: 650px;
}

#divAppGamePopup.activeTournament .ifrGamePopup
{
    height: calc(100% - 150px);
}

#divAppGamePopup.activeTournament .divGamePopupBackground
{
    bottom: 80px;
}

#divAppGamePopup #divGamePopupTournamentInfo
{
    float:left;
    overflow:hidden;
    text-overflow:ellipsis;
    width:70%;
}

#divAppGamePopup #divGamePopupTournamentActions
{
    float:right;
    overflow:hidden;
    text-align: right;
    width:30%;
}

#divAppGamePopup #btnViewTournamentLeaderboard
{
    float: right;
}

#divGamePopup #divGamePopupTournamentPosition, #divGamePopup #divGamePopupTournamentMinBet
{
    color: #FFF;
    text-shadow: 0 0 5px #e600ff;
}

#divAppGamePopup #divGameProvider.loyaltyMode{
    animation: menuNeonTextPink 5s linear 0s infinite;
    color: #ffffff;
}

/* ANIMATION KEY FRAMES */
@keyframes menuNeonTextPink
{
    0%   {text-shadow:0 0 1px #000000;}
    1%   {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
    5%   {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
    6%   {text-shadow:0 0 1px #000000;}
    9%   {text-shadow:0 0 1px #000000;}
    10%  {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
    16%  {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
    17%  {text-shadow:0 0 1px #000000;}
    20%  {text-shadow:0 0 1px #000000;}
    21%  {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
    59%  {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
    60%  {text-shadow:0 0 1px #000000;}
    64%  {text-shadow:0 0 1px #000000;}
    65%  {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
    100% {text-shadow:0 0 1px #000000, 0 0 5px #e600ff, 0 0 5px #e600ff, 0 0 10px #e600ff;}
}

@keyframes pulsateChallenge
{
	0%   {box-shadow:inset 0px 0px 5px 0px #01eff9, 0px 0px 5px 0px #01eff9;}
    50%  {box-shadow:inset 0px 0px 5px 0px #01eff9, 0px 0px 5px 3px #01eff9;}
	100% {box-shadow:inset 0px 0px 5px 0px #01eff9, 0px 0px 5px 0px #01eff9;}
}

@keyframes pulsateFestiveGifts
{
	0%   {box-shadow:inset 0px 0px 5px 0px #e600ff, 0px 0px 5px 0px #e600ff;}
    50%  {box-shadow:inset 0px 0px 5px 3px #e600ff, 0px 0px 8px 3px #e600ff;}
	100% {box-shadow:inset 0px 0px 5px 0px #e600ff, 0px 0px 5px 0px #e600ff;}
}

@keyframes rotateLoader
{
	from {transform:rotate(0deg);}
	to   {transform:rotate(360deg);}
}

@keyframes showGamePopup
{
	0%   {opacity:0;}
	1%   {opacity:0;}
	100% {opacity:1;}
}

/* MEDIA QUERIES */
@media (max-width: 1600px)
{
    #divAppGamePopup #divGamePopup
    {
        height:550px;
        width:900px;
    }
}

@media (max-width: 1000px)
{
	#divAppGamePopup #divGamePopup, #divAppGamePopup.activeTournament #divGamePopup
	{
        border-radius:0px;
        left:0px;
        height:100%;
		top:0px;
		transform:translate(0, 0);
        width:100%;
	}

    #divAppGamePopup #divGameName, #divAppGamePopup #divGameProvider
    {
        right:335px;
    }

	#divAppGamePopup #btnActiveChallenge
	{
		right:305px;
	}

    #divAppGamePopup #btnFestiveChest
    {
        right:265px;
    }

    #divAppGamePopup .divGamePopupLoyaltyBar, #divAppGamePopup #divGamePopupBonusBar
    {
        right:55px;
    }

    #divAppGamePopup #btnFullScreen
    {
        display:none;
    }
}

@media (max-width: 600px)
{
    #divAppGamePopup #divGameName
    {
        font-size:16px;
		left:15px;
        right:325px;
    }

    #divAppGamePopup #divGameProvider
    {
        display:none;
    }

	#divAppGamePopup #btnActiveChallenge
	{
		right:295px;
		top:10px;
	}

    #divAppGamePopup #btnFestiveChest
    {
        right:255px;
        top:10px;
    }

    #divAppGamePopup .ifrGamePopup
    {
        left: 0;
        height:calc(100% - 50px);        
        top:50px;
        width:100%;
    }

    #divAppGamePopup.activeTournament .ifrGamePopup
	{
        height: calc(100% - 120px);
    }

    #divAppGamePopup.activeTournament #divGamePopupTournamentInfo
	{
        line-height: 22px;
    }

    #divAppGamePopup .divGamePopupLoyaltyBar, #divAppGamePopup #divGamePopupBonusBar
    {
        right:45px;
        top:15px;
    }

    #divAppGamePopup #btnClosePopup
    {
        right:5px;
        top:5px;
    }

    #divAppGamePopup #btnClosePopup:before, #divAppGamePopup #btnClosePopup:after
    {
        background-color:#fbd3ff;
        box-shadow:0px 0 5px #e600ff;
    }

    #divAppGamePopup .divGamePopupBackground
    {
        bottom:15px;
        left:15px;
        right:15px;
        top:50px;
    }
}

@media (max-width: 430px)
{
    #divAppGamePopup #btnViewTournamentLeaderboard
    {
        zoom: 0.8;
    }

    #divAppGamePopup #divGamePopupTournamentActions
	{
        padding-top: 7px;
    }

    #divAppGamePopup #divGameName
    {
        font-size:14px;
		left:10px;
        right:240px;
    }

	#divAppGamePopup #btnActiveChallenge
	{
		font-size:9px;
		height:23px;
		line-height:23px;
		right:210px;
		top:12px;
		width:23px;
	}

    #divAppGamePopup #btnFestiveChest
    {
        height:23px;
        right:180px;
        top:12px;
		width:23px;
    }
    #divAppGamePopup .divGamePopupLoyaltyBar, #divAppGamePopup #divGamePopupBonusBar
    {
        right:40px;
		width:130px;
    }

    #divAppGamePopup #btnClosePopup
    {
        right:0px;
    }

    #divAppGamePopup .divGamePopupBackground
    {
        bottom:10px;
        left:10px;
        right:10px;
    }
}
