.container {
	background: #6A0000;
}

div.neopies-nc-container {
	width: 100%;
	height: 639px; /* for 1080 */
	background: url(y23/images/raffle_bg.png) no-repeat center;
	background-size: cover;
	box-sizing: border-box;
	margin: 0 auto;
	position: relative;
}

div.neopies-nc-actors {
	max-width: 1000px;
	width: 100%;
	margin: auto;
	display: flex;
	justify-content: center;
	align-content: center;
	align-items: center;
	margin-top: 79px;
	flex-wrap: wrap;
}

div.has-messages{
	background-position: 0 -600px;
}




div.neopies-nc-container div.info-box {
	display: block;
	position: absolute;
	width: 350px;
	height: 240px;
	right: 30px;
	z-index: 2;
}

div.neopies-nc-container div.info-box div.message{
	position: absolute;
	top: 70px;
	margin: 0 30px;
}

div.neopies-nc-container div.info-box div.header-openers-remaining{
	position: absolute;
	top: 53%;
	left: 39%;
	background-image: url(../ncmall/2018/neopies/nc/headers/openers_remaining.png);
	width: 200px;
	height: 25px;
}

div.neopies-nc-container div.number{ position: absolute; left: 74%; margin-top: 6%; width: 52px; height: 38px; }
div.neopies-nc-container div.number.two-digits{ left: 150px; }
div.neopies-nc-container div.number div{ background-image: url(../ncmall/2018/neopies/nc/numbers.png); width: 26px; height: 38px; float: left; }
div.neopies-nc-container div.number div.int-0{ background-position: 0 0; }
div.neopies-nc-container div.number div.int-1{ background-position: -26px 0; }
div.neopies-nc-container div.number div.int-2{ background-position: -52px 0; }
div.neopies-nc-container div.number div.int-3{ background-position: -78px 0; }
div.neopies-nc-container div.number div.int-4{ background-position: -104px 0; }
div.neopies-nc-container div.number div.int-5{ background-position: -130px 0; }
div.neopies-nc-container div.number div.int-6{ background-position: -156px 0; }
div.neopies-nc-container div.number div.int-7{ background-position: -182px 0; }
div.neopies-nc-container div.number div.int-8{ background-position: -208px 0; }
div.neopies-nc-container div.number div.int-9{ background-position: -234px 0; }


div.neopies-nc-container div.info-box div.button-large{
	position: absolute;
	top: 170px;
	left: 43%;
}

div.button-large{
	background-image: url(../ncmall/2018/neopies/nc/buttons/bg.png);
	width: 220px;
	height: 40px;
	background-position: -140px 0;
	cursor: pointer;
}

div.button-large:hover{
	background-position: -140px -40px;
}

div.neopies-nc-container div.info-box div.button-sml{
	position: absolute;
	margin-top: -15%;
    left: 32%;
}

div.button-sml{
	background-image: url(../ncmall/2018/neopies/nc/buttons/bg.png);
	width: 220px;
	height: 40px;
	background-position: -140px 0;
	cursor: pointer;
}

div.button-sml:hover{
	background-position: -140px -40px;
}

div.button{
	float: left;
	background-image: url(../ncmall/2018/neopies/nc/buttons/bg.png);
	width: 140px;
	height: 40px;
	cursor: pointer;
}

div.button:hover{
	background-position: 0 -40px;
}

div.neopies-nc-container div.gftbox{
    display: block;
    position: absolute;
    left: -2px;
    bottom: 30px;
    width: 975px;
    height: 350px;
}

div.neopies-nc-container div.gftbox div.app-message{
	margin: 50px;
}

div.neopies-nc-container div.gftbox div.list{
	position: absolute;
	margin-left: 65px;
	bottom: 10px;
}

div.letter-opened{
	background-position: 0 -80px !important;
}

div.letter-disabled{
	background-position: 0 -160px !important;
	cursor: default !important;
}

div.overlay{
	position: fixed;
	width: 100%;
	height: 100%;
	opacity: 0.5;
	top: 0;
	background-color: black;
}

div.neopiesnc-popup{
	background: url(../ncmall/2018/neopies/nc/popup_bg.png);
	position: fixed;
	width: 510px;
	height: 280px;
	top: 50%;
	left: 50%;
	margin-left: -255px;
	margin-top: -140px;
	z-index: 1000000000;
}

div.neopiesnc-popup-large{
	background: url(../ncmall/2018/neopies/nc/popup_lrg_bg.png);
	height: 510px;
	margin-top: -255px;
}

div.neopiesnc-popup div.close{
	background: url(../ncmall/2018/neopies/nc/buttons/close_x.png);
	width: 34px;
	height: 34px;
	position: absolute;
	right: 25px;
	top: 5px;
	z-index: 100000000;
}

div.neopiesnc-popup div.close:hover{
	background-position: 0 -34px;
}

div.neopiesnc-popup div.content{
	position: relative;
	text-align: center;
	height: 270px;
	padding: 0;
	top: -10px;
}

div.neopiesnc-popup div.content h2{ padding: 6px 0 20px; }
div.neopiesnc-popup div.content h3{ margin: 5px 0 10px; }
div.neopiesnc-popup div.content p{ margin: 0 33px; }
div.neopiesnc-popup div.content .h2-smaller{ font-size: 16px; padding-top: 10px; }

div.neopiesnc-popup div.button-wrapper{ margin-top: 20px; }
div.neopiesnc-popup div.button-wrapper div.button-one{ margin-left: 100px; }
div.neopiesnc-popup div.button-wrapper div.button-two{ margin-left: 30px; }
div.neopiesnc-popup div.button-wrapper div.button-single{ margin-left: 180px; }
div.neopiesnc-popup div.button-wrapper div.button-large-one{ float: left; margin-left: 30px; }
div.neopiesnc-popup div.button-wrapper div.button-large-two{ float: left; margin-left: 8px; }
div.neopiesnc-popup div.button-wrapper div.button-large-single{ margin-left: 140px; }

div.neopiesnc-popup div.content div.item-awarded{ margin: 10px 0; }
div.neopiesnc-popup div.content div.item-awarded .itemImage,
div.neopiesnc-popup div.content div.item-awarded img.bonus-item{ border: 1px solid black; display: block; margin: 0 auto; width: 80px; height: 80px; }
div.neopiesnc-popup div.content div.item-awarded .itemName,
div.neopiesnc-popup div.content div.item-awarded span.bonus-item{ font-weight: bold; }

#templateLoginPopup{ z-index: 2000000001 !important; }

.item-awarded {
	width: 180px;
}

.gift {
	width: 80px;
	height: 94px;
	cursor: pointer;
}

.gift-1 {
	background: url(../ncmall/2018/neopies/nc/giftbox_bg1.png);
}

.gift-2 {
	background: url(../ncmall/2018/neopies/nc/giftbox_bg2.png);
}


.gift-3 {
	background: url(../ncmall/2018/neopies/nc/giftbox_bg3.png);
}


.gift-4{
	background: url(../ncmall/2018/neopies/nc/giftbox_bg4.png);
}

.gift-5 {
	background: url(y23/nc/giftbox_bg5.png);
}

.gift-6 {
	background: url(../ncmall/2018/neopies/nc/giftbox_bg6.png);
}

.gift-7 {
	background: url(y23/nc/giftbox_bg7.png);
}

.gift-8 {
	background: url(../ncmall/2018/neopies/nc/giftbox_bg1.png);
}

.gift-9 {
	background: url(../ncmall/2018/neopies/nc/giftbox_bg2.png);
}

.gift-10 {
	background: url(../ncmall/2018/neopies/nc/giftbox_bg3.png);
}

.gift-11 {
	background: url(../ncmall/2018/neopies/nc/giftbox_bg4.png);
}

.gift-12 {
	background: url(y23/nc/giftbox_bg5.png);
}

.gift-13 {
	background: url(../ncmall/2018/neopies/nc/giftbox_bg6.png);
}

.gift-14 {
	background: url(y23/nc/giftbox_bg7.png);
}

.gift-available {
	background-position: -81px 0px;
}

.gift-available:hover{
	background-position: -81px -94px;
}

.gift-opened{
	background-position: -162px 0px;
}

.gift-opened:hover{
	background-position: -162px 94px;
}

.gift-locked {
	background-position: 0px 0px;
}

.gift-locked:hover {
	background-position: -243px 94px;
}

.neopies-nc-host {

    background-image: url(y23/images/raffle_ellsworth.png);
    width: 352px;
    min-width: 352px;
    height: 362px;
    -webkit-animation: neopies-hostIdle 3s infinite;
    animation: neopies-hostIdle 3s infinite;
    -webkit-transform-origin: bottom center;
    -ms-transform-origin: bottom center;
    transform-origin: bottom center;

    z-index: 3;


	pointer-events: none;
}

.neopies-nc-awardstand {
	width: 632px;
	height: 284px;
    background: url(y23/images/vip_table_blue.png) no-repeat;
	background-size: 100% 287px;
    z-index: 4;
	margin-top: 81px;
}

.bag-container {
	display: grid;
	grid-template-columns: 75px 75px 75px 75px 75px 75px;
	grid-template-rows: auto;
	margin-top: -73px;
	row-gap: 25px;
	align-content: center;
	align-items: center;
	justify-content: center;
	justify-items: center;
}

.gift-available-1, .gift-opened-1 {
	grid-row: 1;
	xgrid-column: 3 / 5;
}
.gift-available-2, .gift-opened-2 {
	grid-row: 1;
	xgrid-column:  5 / 7;
}
.gift-available-3, .gift-opened-3 {
	grid-row: 1;
	xgrid-column:  7 / 9;
}
.gift-available-4, .gift-opened-4 {
	grid-row: 1;
	xgrid-column: 2 / 4;
}
.gift-available-5, .gift-opened-5 {
	grid-row: 1;
	xgrid-column:  4 / 6;
}
.gift-available-6, .gift-opened-6 {
	grid-row: 1;
	xgrid-column:  6 / 8;
}
.gift-available-7, .gift-opened-7 {
	grid-row: 1;
	xgrid-column:  8 / 9;
}

.gift-available-8, .gift-opened-8 {
	grid-row: 2;
	xgrid-column:  8 / 9;
}

.gift-available-9, .gift-opened-9 {
	grid-row: 2;
	xgrid-column:  8 / 9;
}

.gift-available-10, .gift-opened-10 {
	grid-row: 2;
	xgrid-column:  8 / 9;
}

.gift-available-11, .gift-opened-11 {
	grid-row: 2;
	xgrid-column:  8 / 9;
}

.gift-available-12, .gift-opened-12 {
	grid-row: 2;
	xgrid-column:  8 / 9;
}

.gift-available-13, .gift-opened-13 {
	grid-row: 2;
	xgrid-column:  8 / 9;
}

.gift-available-14, .gift-opened-14 {
	grid-row: 2;
	xgrid-column:  8 / 9;
}

.info-image {
	background: url(y23/nc/raffle_backing.png) no-repeat;
    position: absolute;
    width: 218px;
    height: 69px;
    right: 16px;
    top: -47%;
}

/* Animations */

@-webkit-keyframes neopies-hostIdle {
    0% { transform:scaleY(1);}
    50% { transform:scaleY(0.99);}
    100% { transform:scaleY(1);}
}
@keyframes neopies-hostIdle {
    0% { transform:scaleY(1);}
    50% { transform:scaleY(0.99);}
    100% { transform:scaleY(1);}
}

#backdrop_separator {
	position: absolute;
	background: url(//images50.neopets.com/neopies/y23/images/raffle_bg.png) no-repeat top;
	width: 100%;
	height: 150px;
	margin-top: -80px;
	transform: scaleY(-1);
}

.flavor-text .text-body {
    background: #fff;
    width: 80%;
    margin: auto;
}




@media screen and (max-width: 1000px) {
	div.neopies-nc-actors {
		display: flex;
		justify-content: center;
	}
	.neopies-nc-awardstand {
		bottom: -297px;
		left: auto;
		right: auto;
	}
	.neopies-nc-host {
		left: auto;
		right: auto;
	}
	.flavor-text {
		position: unset;
		margin-top: 375px;
	}

	div.neopies-nc-container div.info-box {
		right: 12px;
		top: 217px;
	}
}

@media screen and (max-width: 790px) {
	div.neopies-nc-container div.info-box {
		top: 350px;
	}

}

@media screen and (max-width: 600px) {
	div.neopies-nc-actors {
		top: 350px;
	}

	div.neopies-nc-container div.info-box {
		top: 185px;
	}

	div.neopies-nc-container div.info-box {
		right: unset;
		left: unset;
		position: relative;
		margin: auto;
	}

	.flavor-text {
		margin-top: 615px;
	}

}


@media screen and (max-width: 550px) {
	.bag-container {
		grid-template-columns: 75px 75px 75px 75px 75px;
		/*margin-top: -50px;*/
	}

	.neopies-nc-awardstand {
		/*background: unset;*/
		/*background-size: unset;*/
	}

	.flavor-text {
		margin-top: 625px;
	}
}

@media screen and (max-width: 500px) {
	.neopies-nc-host {
		bottom: 46px;
	}

}

@media screen and (max-width: 400px) {
	.bag-container {
		grid-template-columns: 75px 75px 75px 75px;
	}
	.flavor-text {
		margin-top: 715px;
	}

}





.neopies-nc-title {
	background-image: url(y23/images/viprafflelogo.png);
    margin: auto auto -20px;
    background-repeat: no-repeat;
    background-position: center;
    width: 400px;
    height: 200px;
    position: relative;
    z-index: 2;
	top: 61px;
}

@media screen and (max-width: 500px) {
	.neopies-nc-title {
		width: 300px;
		height: 172px;
		top: 11px;
	}
}
.info-text {
	position: absolute;
    top: 23px;
    left: 22px;
    color: white;
    font-family: "Comic Sans MS", "Comic Sans", cursive;
    font-weight: 500;
}

/* Purchase Popups */
#neopiesPurchasePopup .neopies-nc-openers {
	margin-top: 1em;
	display: flex;
	flex-direction: row;
	gap: 1em;
	width: 90%;
	margin: auto;
	margin-top: 20px;
}

#neopiesPurchasePopup .neopies-nc-openers .neopies-nc-opener {
	padding: .5em;
	/*background-color: #bb1515;*/
	border-radius: 25px;
	cursor: pointer;
	border-radius: 9px;
	padding-bottom: 15px;
	box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
}

/*#neopiesPurchasePopup .neopies-nc-openers .neopies-nc-opener:hover, #neopiesPurchasePopup .neopies-nc-openers .neopies-nc-opener.selected {*/
/*	background-color: #bf5757;*/
/*}*/

#neopiesPurchasePopup .neopies-nc-openers .neopies-nc-opener.selected {
	border: 2px solid #4f2606;;
	filter: drop-shadow(0 0 4px #FFF);
}

#neopiesPurchasePopup .neopies-nc-openers .neopies-nc-opener .opener-img {
	border-radius: 15px;
}

#neopiesPurchasePopup .neopies-nc-openers .neopies-nc-opener .opener-price {
	font-weight: bold;
}

#neopiesPurchasePopup .neopies-nc-purchase-buy {
	display: flex;
	flex-direction: row;
	align-items: baseline;
	justify-content: center;
	gap: .5em;
	margin: 15px;
}

#neopiesPurchasePopup .neopies-nc-purchase-buy .neopies-nc-purchase-button {
	max-width: max-content;
	padding: 5px 1em 10px;
}

#neopiesPurchasePopup .neopies-nc-purchase-buy .neopies-nc-purchase-error, #FTFPurchaseConfirmPopup .neopies-nc-purchase-error {
	width: max-content;
	height: max-content;
	margin: auto;
	color: #ff9a9a;
	text-shadow: 0 0 1px #000;
	border-bottom: 1px solid red;
	font-weight: bold;
	box-sizing: border-box;
}

#neopiesPurchasePopup .neopies-nc-purchase-buy .neopies-nc-purchase-form {
	width: 60%;
	margin: 1em auto;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 2px;
	flex-wrap: wrap;
}

#neopiesPurchasePopup .neopies-nc-purchase-buy .neopies-nc-purchase-form p {
	margin: 1em auto;
}

#neopiesPurchasePopup .neopies-nc-purchase-buy .neopies-nc-purchase-form button {
	max-width: 100px;
}



.disabledBtn {
	opacity: 0.3;
	pointer-events: none;
}

#FTFPurchaseConfirmPopup .neopies-nc-purchase-error, #FTFCompletePurchasePopup .neopies-nc-complete {
	margin-top: 1em;
}

#FTFCompletePurchasePopup .neopies-nc-complete img {
	border-radius: 15px;
}

#FTFCompletePurchasePopup .neopies-nc-complete span {
	margin-top: 1em;
	display: inline-block;
}

@media screen and (max-width: 600px) {
	#neopiesPurchasePopup .neopies-nc-openers {
		display: grid;
		grid-template: auto / auto auto;
	}
}


/* Popups */
.neopies-nc-popup {
	border-image: url(images/ff-nchub-popup-border.png) calc(250 / 3 + 10) calc(400 / 3 + 60) fill / 60px 100px;
	color: #fff;
	max-width: 800px;
	padding: 3em;
	box-shadow: none;
	box-sizing: border-box;
}

.neopies-popup .popup-header__2020, .neopies-popup .popup-body__2020, .neopies-popup .popup-footer__2020 {
	border-bottom: none;
}

.neopies-nc-popup .popup-header__2020 h3 {
	color: #fff;
}

.neopies-nc-popup .popup-exit {
	top: calc(-3em + 5px);
	right: calc(-3em + 5px);
}

.neopies-nc-popup .neopies-nc-item-img {
	border-radius: 15px;
}

.neopies-nc-popup p > a, .neopies-nc-popup p > a:visited {
	color: #bc70d4 !important;
}

.neopies-nc-popup p > a:hover, .neopies-nc-popup p > a:focus {
	color: #d996ee !important;
}

/*#neopiesPurchasePopup .popup-body__2020, #neopiesPurchaseConfirmPopup .popup-body__2020, #neopiesPurchaseCompletePopup .popup-body__2020, #templateRequireOpeners .popup-body__2020, #templateConfirm .popup-body__2020, #templateSinglePrize .popup-body__2020, #templateActivateOpeners .popup-body__2020 {*/
/*	box-shadow: none;*/
/*	border: none;*/
/*	border-radius: unset;*/
/*}*/

#neopiesPurchaseConfirmPopup .popup-footer__2020, #neopiesPurchaseCompletePopup .popup-footer__2020, #templateRequireOpeners .popup-footer__2020 {
	width: 90%;
	margin: auto;
	margin-bottom: 10px;
}

#templateRequireOpeners .popup-body__2020 a {
	color: #053977;
	font-weight: bold;

}

#templateRequireOpeners .popup-body__2020 a:hover {
	color: #352A0E;

}

/*.neopies-popup .popup-body__2020 {*/
/*	box-shadow: none;*/
/*	border: none;*/
/*	border-radius: unset;*/
/*}*/

#prizePopup .togglePremiumPrizes, #templatePrizeView .togglePremiumPrizes, #premiumUpsellPopup .togglePremiumPrizes {
	font-family: "MuseoSansRounded500", 'Arial', sans-serif;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	margin: auto;
	text-align: center;
	gap: 10px;
}

.switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 23px;
}

.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.slider:before {
	position: absolute;
	content: "";
	height: 15px;
	width: 15px;
	left: 5px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .slider {
	background-color: #2196F3;
}

input:focus + .slider {
	box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 34px;
}

.slider.round:before {
	border-radius: 50%;
}

.nonPremiumPrizeContainer {
	margin-bottom: 10px;
}

.premiumContainer {
	/*border: 2px solid #4f2606;*/
	/*border-radius: 9px;*/
	/*padding-bottom: 15px;*/

	/*box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;*/

	/*width: 90%;*/
	/*margin: auto;*/
}

.nonBonusContainer, .bonusContainer, .prizesContainer {
	display: flex;
	justify-content: center;
	align-content: center;
	flex-wrap: wrap;
}

.premiumUpsellText a {
	color: black;
	font-weight: bold;
}

#prizePopup p a {
	color: #3232ee;
	font-weight: bold;
}

#prizePopup p a:hover {
	color: #614cf9;
}

/* Loader */
.neopies-saving {
	position: fixed;
	width: 100%;
	height: auto;
	padding: 4em 0;
	background: #000;
	opacity: 0.5;
	z-index: 5;
	top: 50%;
	font-family: "Cafeteria", "Arial Bold", sans-serif;
	pointer-events: none;
	max-width: 1080px;
}

.neopies-saving .neopies-loader {
	position: relative;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: max-content;
	padding: 4em 2em;
	margin: auto;
	color: #fff;
	font-size: 14pt;
	font-weight: bold;
	text-align: center;
	box-sizing: border-box;
}

#neopiesSaving.neopies-saving.hide {
	display: none;
}

#templateActivateOpeners .ticketPacksCount {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#premiumUpsellPopup .item-awarded {
	display: flex;
	flex-direction: column;
	margin: auto;
	align-items: center;
}

.checkbox-container {
	margin: 10px auto;
}

.imagePremium {
	position: absolute;
	top: 6px;
	right: 6px;
	z-index: 2;

}

#neopiesPurchaseError {
	color: red;
	margin-top: 20px;
}

#premiumUpsellPopup a, #templateActivateOpeners a {
	text-decoration: none;
	color: black;
}

#premiumUpsellPopup a:hover {
	color: black;
}