@font-face {
	font-family: "Casino"; 
	src: url("../../fonts/Casino-Flat-Regular.ttf.eot"); 
	src: url("../../fonts/Casino-Flat-Regular.ttf.eot?#iefix") format("embedded-opentype"),
		url("../../fonts/Casino-Flat-Regular.ttf.woff") format("woff"),
		url("../../fonts/Casino-Flat-Regular.ttf.svg#CasinoFlat-Regular") format("svg");
	font-display:swap;
}
#jun-banner,
#july-banner,
.popup-coupon{
	display: none !important;
}
#blackjack{
	height: 100vh;
	position: relative;
}
#blackjack #game,
#blackjack #game *{
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}


#blackjack #popups img{
	align-self: center;
	max-width: 100%;
	height: auto;
}
#blackjack #popups .flex,
#blackjack #popups.flex{
    display: flex;		
}
#blackjack #popups .inline-flex{
    display: inline-flex;		
}
#blackjack #popups .flex.wrap,
#blackjack #popups .inline-flex.wrap{
	flex-wrap: wrap;
}
#blackjack #popups .column{
	flex-direction: column;
}
#blackjack #popups .flex > .half{
	flex-basis: 50%;
	flex: 1;
}
#blackjack #popups .flex > .full{
	flex-basis: 100%;
}
#blackjack #popups .clickable{
	display: inline-block;
	cursor: pointer;
}
#blackjack #popups .uppercase{
	text-transform: uppercase;
}
#blackjack #popups .gotham-book{
	font-family: 'Gotham-Book';	
}
#blackjack #popups .gotham-medium{
	font-family: 'Gotham-Medium';	
}
#blackjack #popups .gotham-bold{
	font-family: 'Gotham-Bold';	
}
#blackjack #popups .gotham-black{
	font-family: 'Gotham-Black';	
}
#blackjack #popups .gotham-ultra{
	font-family: 'Gotham-Ultra';	
}
#blackjack #popups .lato{
	font-family: 'Lato', sans-serif;
}
#blackjack #popups .casino{
	font-family: "Casino" !important;
}
#blackjack #popups .button{
	font-family: "Casino"; 
	display: inline-block;
	text-transform: uppercase;
	color: #fff;
	font-size: 25px;
	letter-spacing: 0.01em;
	background-color: #7e0000;
	text-decoration: none;
	border: 3px solid #fff;
	max-width: 100%;
	text-align: center;
	width: 268px;
	height: 55px;
	line-height: 49px;
	transition: all .3s;
	opacity: 1;
}
#blackjack #popups .button.disabled{
	opacity: 0;
}

#popups{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 1;
	justify-content: center;
	align-items: center;
}
#popups .popup-overlay{
	background-color: rgba(0,0,0,0.4);
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
#popups .popup-content{
	height: 485px;
	width: 835px;
	padding-top: 41px;
	max-width: calc(100% - 30px);
	position: relative;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-image: url(../../images/blackjack/popup-back.jpg);
	background-image: -webkit-image-set(url("../../images/blackjack/popup-back.jpg") 1x, url("../../images/blackjack/popup-back@2x.jpg") 2x);
	background-image: image-set( url("../../images/blackjack/popup-back.jpg") 1x, url("../../images/blackjack/popup-back@2x.jpg") 2x);	
}
#popups .popup-content .pc-close{
	padding: 20px 18px;
	position: absolute;
	top: 0;
	right: 0;
	color: #000;
	font-size: 16px;
}
.pc-inner.winner:before,
.pc-inner.winner:after,
.pc-inner.thanks:after{
	content: '';
	display: block;
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	bottom: 0;
	max-width: 25%;
	z-index: 0;
}
.pc-inner.winner:before{
	width: 150px;
	height: 132px;
	left: 0;
	background-position: bottom left;
	background-image: url(../../images/blackjack/cards-left.png);
	background-image: -webkit-image-set(url("../../images/blackjack/cards-left.png") 1x, url("../../images/blackjack/cards-left@2x.png") 2x);
	background-image: image-set( url("../../images/blackjack/cards-left.png") 1x, url("../../images/blackjack/cards-left@2x.png") 2x);	
}
.pc-inner.winner:after{
	width: 152px;
	height: 131px;
	right: 0;
	background-position: bottom right;
	background-image: url(../../images/blackjack/cards-right.png);
	background-image: -webkit-image-set(url("../../images/blackjack/cards-right.png") 1x, url("../../images/blackjack/cards-right@2x.png") 2x);
	background-image: image-set( url("../../images/blackjack/cards-right.png") 1x, url("../../images/blackjack/cards-right@2x.png") 2x);	
}
.pc-inner.thanks:after{
    width: 383px;
    margin-right: -50px;
	height: 269px;
	background-position: bottom center;
	background-image: url(../../images/blackjack/king.png);
	background-image: -webkit-image-set(url("../../images/blackjack/king.png") 1x, url("../../images/blackjack/king@2x.png") 2x);
	background-image: image-set( url("../../images/blackjack/king.png") 1x, url("../../images/blackjack/king@2x.png") 2x);	
	max-width: 50%;
}
.pc-inner{
    padding: 0 50px;
    position: static;
    z-index: 1;
}
.pc-inner.winner form{
    position: relative;
    z-index: 1;
}
.pc-inner .pc-top{
	margin-bottom: 33px;
}
.pc-inner .form-fields{
	width: 513px;
	max-width: calc(100% - 30px);
	margin: 0 auto;
}
.pc-inner .form-row.flex{
	justify-content: space-between;
	margin-bottom: 25px;
}
.pc-inner .half + .half{
	margin-left: 21.5px;
}
.pc-inner ::placeholder,
.pc-inner select{
	font-size: 14px;
	line-height: 1;
	color: #000000;
	font-family: 'Lato', sans-serif;
	letter-spacing: 0.01em;
}
.pc-inner input,
.pc-inner select{
	background-color: #fff;
	border: none;
	border-radius: 5px;
	width: 100%;
	outline: none;
	height: 38px;
	text-indent: 13px;
	font-family: 'Lato', sans-serif;
	letter-spacing: 0.01em;
	font-size: 14px;
}
.pc-inner select{
	opacity: 1;
	-webkit-appearance:none;
	appearance:none;
	background-repeat: no-repeat;
	background-size: 12px 8px;
	background-position: calc(100% - 15px) center;
	background-image: url(../../images/blackjack/down-arrow.png);
}
.pc-inner ::placeholder,
.pc-inner select:not(.selected){
	color:#cacaca;	
}
.pc-inner.thanks{
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    padding-bottom: 41px;	
	padding-top: 22px;
}
.pc-inner.thanks p{
	font-weight: 800;
	color: #000;
	font-size: 22px;
	margin-top: 16px;
	margin-bottom: 46px;
}
.pc-inner.thanks .buttons {
	justify-content: space-between;
}
#blackjack #popups .thanks .button{
	width: 233px;
	height: 48px;
	line-height: 46px;
	font-size: 22px;
}
@media screen and (max-width: 767px){
	.pc-inner.thanks:after{
		height: 190px;
	}
	.pc-inner.thanks > div{
		max-width: 100%;
	}
	.pc-inner.thanks p{
		margin-bottom: 30px;
	}
	#blackjack #popups .thanks .button{
		max-width: calc(50% - 15px);
		font-size: 18px;
	}
}
@media screen and (max-width: 480px){
	.pc-inner{
		padding: 0 30px;
	}
	#popups .popup-content .pc-close{
		padding: 15px;
	}
	.pc-inner .pc-top{
		margin-bottom: 20px;
	}
	.pc-inner .form-row.flex{
		flex-direction: column;
		margin-bottom: 13px;
	}
	.pc-inner .half + .half{
		margin-left: 0;
		margin-top: 13px;
	}
	.pc-inner input, 
	.pc-inner select{
		height: 36px;
	}
	.pc-inner select{
	    background-size: 10px 6px;		
	}
	#blackjack #popups .button{
		height: 45px;
		line-height: 44px;
	}
	.pc-inner.thanks{
		padding-bottom: 60px;
	}
	.pc-inner.thanks p{
		font-size: 16px;
	}
	.pc-inner.thanks .buttons{
		flex-direction: column;
		align-items: center;		
	}
	#blackjack #popups .thanks .button {
		max-width: 100%;
		margin-bottom: 15px;
	}
	.pc-inner.thanks:after{
		max-width: inherit;
		margin-right: -10%;
	}
}