/* ------------------------------------------------------------ container setup ------------------------------------------------------------ */

/* the body affects all elements inside of it */
body {
	display: flex;
	justify-content: center;
	align-items: center;
	background-size:cover;
	background-repeat:no-repeat;
	font-family: 'montserrat',"Open Sans", Arial, Helvetica, sans-serif;
	text-align: center;
	overflow: hidden;
	background-image: url("/spinner/assets/pirate-fortune-spin/img/Game-Background.jpg");
}


/* contains all game elements */
#game-container {
	width: 1200px;
	height: 785px;

	position: relative;
}


#iziigame-link a {
    color: #fff;
    text-decoration: none;
    background-image: url("img/iziigame-logo.png");
    background-size: contain;
    background-repeat: no-repeat;
    height: 70px;
    width: 100px;
    display: block;
}

#game-loader-wrapper .game-loader-background {
  background-image: url("img/Game-Background.jpg");
  background-size: cover;
}
#game-loader-title {
  background-image: url("img/vibe-gamification.png");
}

#game-loader,
#game-loader::before,
#game-loader::after  {
	border-top-color: #191919;
}


/* sound and restart */
#toggle-sound svg,
#restart-button svg {
	fill: #fff;
}


/* the title of the game */
#title {
	width: 900px;
	height: 225px;
	margin: auto auto auto auto;
	font-size: 5em;
	font-weight: bold;
	position: relative;
	color: white;
	background-image: url("/spinner/assets/pirate-fortune-spin/img/title.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin-bottom: -115px;;
	margin-top:50px;
}

.language-code-FR #title {
	width: 900px;
	height: 225px;
	margin: auto auto auto auto;
	font-size: 5em;
	font-weight: bold;
	position: relative;
	color: white;
	background-image: url("/spinner/assets/pirate-fortune-spin/img/FR/title.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin-bottom: -115px;
	margin-top:50px;
}

#title2 {
    height: 225px;
    background-image: url("/spinner/assets/pirate-fortune-spin/img/title-2.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.language-code-FR #title2 {
    height: 225px;
    background-image: url("/spinner/assets/pirate-fortune-spin/img/FR/title-2.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.language-code-EN #intro-prize-list {
       height: 150px;
     background-image: url(/spinner/assets/pirate-fortune-spin/img/prizes-en.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-top: 10px;
}

.language-code-EN #intro-prize-list2 {
       height: 150px;
     background-image: url(/spinner/assets/pirate-fortune-spin/img/prizes-en.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    margin-top: 10px;
}

/* the intro container */
#intro-container {
	width: 1100px;
    height: 530px;
    margin: auto 50px auto 50px;
    position: relative;
    padding: 50px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}
#intro-description {
    font-size: 30px;
    color: white;
    line-height: 1.5em;
	margin-top: 90px;
}

/* Iphone 5 and older */
@media only screen 
  and (min-device-width: 320px) 
  and (max-device-width: 568px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
  #intro-description {
    font-size: 45px;
  }
}

/* Iphone 6,7,8 */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
  #intro-description {
    font-size: 45px;
  }
}

/* iPhone 6+, 7+ and 8+ */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) {
  #intro-description {
    font-size: 45px;
  }
}

/* Iphone X */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
  #intro-description {
    font-size: 45px;
  }
}

/* Iphone XS Max, 11 Pro Max */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 3) {
  #intro-description {
    font-size: 45px;
  }
}

/* Iphone XR,11 */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 2) {
  #intro-description {
    font-size: 45px;
  }
}

/* Galaxy S4, S5 and Note 3 */
@media screen 
  and (device-width: 320px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 3) 
  and (orientation: landscape) {
#intro-description {
    font-size: 45px;
  }
}


/* Galaxy S6 */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: landscape) {
	   #intro-description {
    font-size: 45px;
  }
}

/* Galaxy Note 8, 9+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
#intro-description {
    font-size: 45px;
  }
}

/* Galaxy S8, S8+, S9, S9+, S10, S10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
#intro-description {
    font-size: 45px;
  }
}

/* Samsung Galaxy Note 10, 10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 718px)
  and (-webkit-min-device-pixel-ratio: 2) {
#intro-description {
    font-size: 45px;
  }
}


#intro-description b {
	font-size: 1.3em;
	color: #22ccf2;
}
#intro-button {
    font-size: 3vh;
    padding: .5em;
    width: 30%;
	cursor: pointer;
	border-radius: 10px;
	background-color: #d27b14;
	box-shadow: 0px 1px 6px #37393b;
	color: white;
	z-index: -1;
	margin: auto;
	margin-top: 1em;
}

/* Iphone 6,7,8 */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
  #intro-button {
    font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* iPhone 6+, 7+ and 8+ */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) {
  #intro-button {
    font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* iPhone X */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
  #intro-button {
    font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* Iphone XS Max, 11 Pro Max */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 3) {
  #intro-button {
    font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* Iphone XR,11 */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 2) {
  #intro-button {
    font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}


/* Samsung S4, S5, Note 3 */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 640px)
  and (-webkit-min-device-pixel-ratio: 3) {
  #intro-button {
    font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}


/* Galaxy S6*/
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: landscape) {
  #intro-button {
    font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* Galaxy Note 8, 9+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
  #intro-button {
    font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* Galaxy S8, S8+, S9, S9+, S10, S10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
  #intro-button {
    font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* Samsung Galaxy Note 10, 10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 718px)
  and (-webkit-min-device-pixel-ratio: 2) {
  #intro-button {
    font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* the board container */
#board-container {
	width: 1000px;
	height: 700px;
	margin: 20px 50px auto 20px;
	position: relative;
	animation-name: showGame;
	animation-duration: 1s;
	animation-timing-function: ease-in;
}

#required-info {
    margin: 50px auto;
    width: 1130px;
    height: 500px;
}



/* .screen-board-container #title {
    visibility: hidden;
	margin-top:0px;
} */

#title {
    visibility: hidden;
    margin-top: 0px !important;
}

.screen-intro-container.loaded #title {
    visibility: visible;
}

.screen-required-info.game-finished #title {
    visibility: visible;
}
/*.screen-intro-container #title,
.screen-required-info.game-finished #title {
	visibility: visible;
}
*/

/* the prize container */
#prize-container {
    display: none;
    position: absolute;
    font-size: 28px;
    padding: 0 3.5em 0em 3.5em;
    left: 655px;
    width: 40%;
    height: 355px;
    color: white;
    z-index: 5;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
	background-image: url("/spinner/assets/pirate-fortune-spin/img/prize-box.png");
	    margin-top: 120px;
}
.prize-header {
	font-size: 1.2em;
	font-weight: bold;
	color: #381a0a;
	
  
}

.prize-name {
  font-size: 35px;
	color: #381a0a;
	font-weight: 600;
}
.prize-code-pYouWin .prize-name,
.prize-code-pWinner .prize-name {
  margin-top: 0;
}
.prize-code-pYouWin .prize-header,
.prize-code-pWinner .prize-header {
  margin-top: 170px;
}

.prize-code-pYouWin #prize-container,
.prize-code-pWinner #prize-container {
  padding: 0;
}

.prize-code-p0 .prize-name {
  margin-top: 200px;
  font-size: 35px;
}

.prize-name-tail,
.prize-name-value {
  display: block;
  font-size: 35px;
	color: #381a0a;
	font-weight: 600;
}

.prize-name-value {
  
  font-size: 50px;
}

/* Iphone 6,7,8 */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
  .prize-header {
   margin-top: 200px;
  }
}

/* iPhone 6+, 7+ and 8+ */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) {
.prize-header {
   margin-top: 200px;
  }
}

/* iPhone X */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
  .prize-header {
   margin-top: 200px;
  }
}

/* Iphone XS Max, 11 Pro Max */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 3) {
  .prize-header {
   margin-top: 200px;
  }
}

/* Iphone XR,11 */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 2) {
  .prize-header {
   margin-top: 200px;
  }
}

/* Galaxy S6*/
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: landscape) {
.prize-header {
   margin-top: 200px;
  }
}

/* Samsung S4, S5, Note 3 */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 640px)
  and (-webkit-min-device-pixel-ratio: 3) {
.prize-header {
   margin-top: 200px;
  }
}

/* Galaxy Note 8, 9+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
.prize-header {
   margin-top: 200px;
  }
}

/* Galaxy S8, S8+, S9, S9+, S10, S10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
.prize-header {
   margin-top: 200px;
  }
}

/* Samsung Galaxy Note 10, 10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 718px)
  and (-webkit-min-device-pixel-ratio: 2) {
.prize-header {
   margin-top: 200px;
  }
}


.game-finished.game-over-lose .prize-header {
	font-size: 45px;
	font-weight: bold;
	color: white;
	
	text-transform: none;

}

.language-code-FR.game-finished.game-over-lose .prize-header {
	font-size: 42px;
	font-weight: bold;
	color: white;
	
	text-transform: none;
}

.game-finished.game-over-lose.prize-code-p0 .prize-header {
  display: none;
}


.prize-name-head {
	font-weight: bold;
	font-size: 35px;
	color: white;
	display:block;
	
}
.prize-points-description{
	font-size: 35px;
	color: #f270d5;
	margin-top:18px;
  font-weight: 600;
  display: none;
}

/* Iphone 6,7,8 */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
  .prize-points-description {
    font-size: 40px;
	margin-top: 0px;
  }
}

/* iPhone 6+, 7+ and 8+ */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) {
  .prize-points-description {
    font-size: 40px;
  }
}

/* iPhone X */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
  .prize-points-description {
    font-size: 40px;
	 margin-top: 0px;
  }
}

/* Iphone XS Max, 11 Pro Max */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 3) {
  .prize-points-description {
    font-size: 40px;
	 margin-top: 0px;
  }
}

/* Iphone XR,11 */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 2) {
  .prize-points-description {
    font-size: 40px;
	 margin-top: 0px;
  }
}

/* Samsung S4, S5, Note 3 */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 640px)
  and (-webkit-min-device-pixel-ratio: 3) {
  .prize-points-description {
    font-size: 40px;
	 margin-top: 0px;
  }
}

/* Galaxy S6*/
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: landscape) {
  .prize-points-description {
    font-size: 40px;
	margin-top: 0px;
  }
}

/* Galaxy Note 8, 9+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
  .prize-points-description {
    font-size: 40px;
	margin-top: 0px;
  }
}

/* Galaxy S8, S8+, S9, S9+, S10, S10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
  .prize-points-description {
    font-size: 40px;
	margin-top: 0px;
  }
}

/* Samsung Galaxy Note 10, 10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 718px)
  and (-webkit-min-device-pixel-ratio: 2) {
  .prize-points-description {
    font-size: 40px;
	margin-top: 0px;
  }
}

.game-finished.game-over-lose .prize-points-description {
	font-size:35px;
	margin-top:15px;
}



#take-me-there {
    font-size: 20px;
    padding: .5em;
    border: 2px solid #ffffff;
    cursor: pointer;
    border-radius: 10px;
    background-color: #22ccf2;
    box-shadow: 0px 1px 6px #37393b;
    color: white;
    z-index: -1;
    margin: auto;
    margin-top: 30px;
	display:none;
}

/* Iphone 6,7,8 */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
  #take-me-there {
    font-size: 30px;	  
  }
}

/* iPhone 6+, 7+ and 8+ */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) {
  #take-me-there {
    font-size: 30px;	  
  }
}

/* Iphone X */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
  #take-me-there {
    font-size: 30px;	  
  }
}

/* Iphone XS Max, 11 Pro Max */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 3) {
  #take-me-there {
    font-size: 30px;	  
  }
}

/* Iphone XR,11 */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 2) {
  #take-me-there {
    font-size: 30px;	  
  }
}

/* Samsung S4, S5, Note 3 */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 640px)
  and (-webkit-min-device-pixel-ratio: 3) {
  #take-me-there {
    font-size: 30px;	  
  }
}

/* Galaxy 6S */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: landscape) {
  #take-me-there {
    font-size: 30px;	  
  }
}

/* Galaxy Note 8, 9+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
  #take-me-there {
    font-size: 30px;	  
  }
}

/* Galaxy S8, S8+, S9, S9+, S10, S10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
  #take-me-there {
    font-size: 30px;	  
  }
}

/* Samsung Galaxy Note 10, 10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 718px)
  and (-webkit-min-device-pixel-ratio: 2) {
  #take-me-there {
    font-size: 30px;	  
  }
}

/* reveals the prize container at the end */
.game-finished #instructions {
   display: none;
}
.game-finished #board-container {
	display: block !important;
}
.screen-required-info.game-finished #board-container {
	display: none !important;
}

.game-over-lose.prize-code-p0 #take-me-there {
    display: none;
}

#final-win-message-txt,
#final-win-message-txt-real-prize {
  top: 20px;
  margin: 0 auto;
  font-size: 34px;
  color: white;
  display: none;
}
#final-win-message-txt b,
#final-win-message-txt-real-prize b {
  font-size: 55px;
	color: #f270d5;
}

.game-finished.prize.game-over-win #final-win-message-txt {
  display: block;
}
.game-finished.prize.game-over-lose #final-win-message-txt-real-prize {
  display: block;
}
.screen-required-info-submitted #required-info {
    height: 240px;
}


.game-finished #prize-container {
	animation-name: showLastScreen;
	animation-duration: 2S;
	animation-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.850);
	animation-fill-mode: forwards;

	display: block !important;
}

.game-finished #prize-container {
    animation-name: showLastScreen;
    animation-duration: 2S;
    animation-timing-function: cubic-bezier(0.680, -0.550, 0.265, 1.850);
    animation-fill-mode: forwards;
    display: flex !important;
    justify-content: center;
    align-content: center;
    flex-direction: column-reverse;
}

.screen-post-win-1 #board-container {
    display: none !important;
}

.screen-required-info #post-win-1-button {
    display: none;
}

.screen-required-info-submitted.screen-required-info #post-win-1-button {
    display: block;
}

.screen-post-win-1 #required-info {
    display: none !important;
}

.screen-required-info-submitted #required-info {
    display: flex !important;
    justify-content: center;
    flex-direction: column-reverse;
}

.screen-required-info.game-finished #title {
	width: 900px;
	height: 180px;
	margin: auto auto auto auto;
	font-size: 5em;
	font-weight: bold;
	position: relative;
	color: white;
	background-image: url("/spinner/assets/pirate-fortune-spin/img/title3.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin-bottom: -45px;
}

.language-code-FR.screen-required-info.game-finished #title {
	width: 900px;
	height: 250px;
	margin: auto auto auto auto;
	font-size: 5em;
	font-weight: bold;
	position: relative;
	color: white;
	background-image: url("/spinner/assets/pirate-fortune-spin/img/FR/title3.png");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	margin-bottom: -45px;
}

/* Iphone 6,7,8 */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
 .screen-required-info.game-finished #title {
	background-image: url("/spinner/assets/Neon-Wheel/img/title3.png");
	 width: 900px;
	height: 250px;
  }
}

/* iPhone 6+, 7+ and 8+ */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) {
 .screen-required-info.game-finished #title {
	background-image: url("/spinner/assets/Neon-Wheel/img/title3.png");
	 width: 900px;
	height: 250px;
  }
}

/* Iphone X */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
 .screen-required-info.game-finished #title {
	background-image: url("/spinner/assets/Neon-Wheel/img/title3.png");
	 width: 900px;
	height: 250px;
  }
}

/* Iphone XS Max, 11 Pro Max */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 3) {
 .screen-required-info.game-finished #title {
	background-image: url("/spinner/assets/Neon-Wheel/img/title3.png");
	 width: 900px;
	height: 250px;
  }
}

/* Iphone XR,11 */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 2) {
 .screen-required-info.game-finished #title {
	background-image: url("/spinner/assets/Neon-Wheel/img/title3.png");
	 width: 900px;
	height: 250px;
  }
}

/* Galaxy S6*/
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: landscape) {
 .screen-required-info.game-finished #title {
	background-image: url("/spinner/assets/Neon-Wheel/img/title3.png");
	 width: 900px;
	height: 250px;
  }
}

/* Samsung S4, S5, Note 3 */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 640px)
  and (-webkit-min-device-pixel-ratio: 3) {
 .screen-required-info.game-finished #title {
	background-image: url("/spinner/assets/Neon-Wheel/img/title3.png");
	 width: 900px;
	height: 250px;
  }
}

/* Galaxy Note 8, 9+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
 .screen-required-info.game-finished #title {
	background-image: url("/spinner/assets/Neon-Wheel/img/title3.png");
	 width: 900px;
	height: 250px;
  }
}

/* Galaxy S8, S8+, S9, S9+, S10, S10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
 .screen-required-info.game-finished #title {
	background-image: url("/spinner/assets/Neon-Wheel/img/title3.png");
	 width: 900px;
	height: 250px;
  }
}

/* Samsung Galaxy Note 10, 10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 718px)
  and (-webkit-min-device-pixel-ratio: 2) {
 .screen-required-info.game-finished #title {
	background-image: url("/spinner/assets/Neon-Wheel/img/title3.png");
	 width: 900px;
	height: 250px;
  }
}

#info-required-header {
	font-size:30px;
	color:white;
	margin-bottom:30px;
}

/* Iphone 6,7,8 */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
 #info-required-header {
	font-size:35px;
  }
}

/* Iphone 6+,7+,8+ */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) {
 #info-required-header {
	font-size:35px;
  }
}

/* Iphone X */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
 #info-required-header {
	font-size:35px;
  }
}

/* Iphone XS Max, 11 Pro Max */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 3) {
 #info-required-header {
	font-size:35px;
  }
}

/* Iphone XR,11 */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 2) {
 #info-required-header {
	font-size:35px;
  }
}

/* Samsung S4, S5, Note 3 */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 640px)
  and (-webkit-min-device-pixel-ratio: 3) {
 #info-required-header {
	font-size:35px;
  }
}


/* Galaxy S6 */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: landscape) {
 #info-required-header {
	font-size:35px;
  }
}

/* Galaxy Note 8, 9+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
 #info-required-header {
	font-size:35px;
  }
}

/* Galaxy S8, S8+, S9, S9+, S10, S10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
 #info-required-header {
	font-size:35px;
  }
}

/* Samsung Galaxy Note 10, 10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 718px)
  and (-webkit-min-device-pixel-ratio: 2) {
 #info-required-header {
	font-size:35px;
  }
}



#required-info {
    margin-top: 50px;
}

#info-required-button {
	font-size: 1em;
    padding: .5em;
    border: 2px solid #ffffff;
	width:20%;
    cursor: pointer;
    border-radius: 10px;
    background-color: #22ccf2;
    box-shadow: 0px 1px 6px #37393b;
    color: white;
    z-index: -1;
    margin: auto;
    margin-top: 1em;
}

/* Iphone 6,7,8 */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
  #info-required-button {
	font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/*  iPhone 6+, 7+ and 8+ */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) {
#info-required-button {
	font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* Iphone X, XS, 11 Pro */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
  #info-required-button {
	font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* Iphone XS Max, 11 Pro Max */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 3) {
  #info-required-button {
	font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* Iphone XR,11 */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 2) {
  #info-required-button {
	font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* Samsung S4, S5, Note 3 */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 640px)
  and (-webkit-min-device-pixel-ratio: 3) {
  #info-required-button {
	font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* Samsung S6, S7, S7 Edge */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: landscape) {
 #info-required-button {
	font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* Galaxy Note 8, 9+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
  #info-required-button {
	font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* Galaxy S8, S8+, S9, S9+, S10, S10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
 #info-required-button {
	font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}

/* Samsung Galaxy Note 10, 10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 718px)
  and (-webkit-min-device-pixel-ratio: 2) {
#info-required-button {
	font-size: 30px;
	  padding:15px;
	  border: 2px solid #ffffff;
	  width:310px;
	  cursor: pointer;
	border-radius: 10px;
	background-color: #22ccf2;
	box-shadow: 0px 1px 6px #37393b;
  }
}


p#instructions {
    font-size: 40px;
margin-top:0px;
}

.language-code-FR p#instructions {
    font-size: 35px;
margin-top:0px;
}

/* Iphone 6,7,8 */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 667px) 
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: landscape) {
 .language-code-FR p#instructions {
    font-size: 45px;
  }
}

/*  iPhone 6+, 7+ and 8+ */
@media only screen 
  and (min-device-width: 414px) 
  and (max-device-width: 736px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) {
.language-code-FR p#instructions {
    font-size: 45px;
  }
}

/* Iphone X, XS, 11 Pro */
@media only screen 
  and (min-device-width: 375px) 
  and (max-device-width: 812px) 
  and (-webkit-min-device-pixel-ratio: 3)
  and (orientation: landscape) { 
.language-code-FR p#instructions {
    font-size: 45px;
  }
}

/* Iphone XS Max, 11 Pro Max */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 3) {
.language-code-FR p#instructions {
    font-size: 45px;
  }
}

/* Iphone XR,11 */
@media only screen
  and (min-device-width: 414px)
  and (max-device-width: 896px)
  and (-webkit-min-device-pixel-ratio: 2) {
.language-code-FR p#instructions {
    font-size: 45px;
  }
}

/* Samsung S4, S5, Note 3 */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 640px)
  and (-webkit-min-device-pixel-ratio: 3) {
 .language-code-FR p#instructions {
    font-size: 45px;
  }
}

/* Samsung S6, S7, S7 Edge */
@media screen 
  and (device-width: 360px) 
  and (device-height: 640px) 
  and (-webkit-device-pixel-ratio: 4) 
  and (orientation: landscape) {
.language-code-FR p#instructions {
    font-size: 45px;
  }
}

/* Galaxy Note 8, 9+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
.language-code-FR p#instructions {
    font-size: 45px;
  }
}

/* Galaxy S8, S8+, S9, S9+, S10, S10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 740px)
  and (-webkit-min-device-pixel-ratio: 4) {
.language-code-FR p#instructions {
    font-size: 45px;
  }
}

/* Samsung Galaxy Note 10, 10+ */
@media only screen
  and (min-device-width: 360px)
  and (max-device-width: 718px)
  and (-webkit-min-device-pixel-ratio: 2) {
.language-code-FR p#instructions {
    font-size: 45px;
  }
}




	

#info-required-before-prize {
width: 80%;
margin: 0 auto;
}

input {
width: 270px;
padding: 13px;
border-radius: 20px;
margin: 5px;
border: 1px solid #ea14ea;
font-size:20px;
}

input:focus {
color:black;
border: 1px solid #ea14ea;

}

#info-required-select-country, #info-required-select-province {
padding: 13px;
border-radius: 20px;
margin: 5px;
border: 1px solid #ea14ea;
-webkit-appearance: none;
	background-color:white;
	font-size:17px;
}

#prize-info-success-text {
	font-size:65px;
	color:white;
	text-transform: uppercase;
	font-weight:bold;
}

#prize-info-success-text b {
	font-size: 45px;
	color: #f170d4;
	text-transform: none;
	font-weight: 500;
}


/* on screen instructions */
#instruction-container {
    position: absolute;
    font-size: 28px;
    top: 18px;
    left: 600px;
    width: 50%;
    height: 355px;
    color: #f8e3aa;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -92px;
}

#instruction-container.remove {
	animation-name: hideInstructions;
	animation-duration: 1s;
	animation-fill-mode: forwards;
}
/* ------------------------------------------------------------ end of container setup ------------------------------------------------------------ */









/* ------------------------------------------------------------ shared item info ------------------------------------------------------------ */



/* ------------------------------------------------------------ end of shared item info ------------------------------------------------------------ */









/* ------------------------------------------------------------ specific item info ------------------------------------------------------------ */



/* prize wheel */
#prize-wheel {
	position: absolute;
	top: -46px;
	left: -10px;
	width: 600px;
	height: 560px;

	z-index: 1;

	/* needed for the rotation in javascript */
	/* sets the starting rotation */
	transform: rotate(0deg);
	/* sets the time for the transition */
	transition: all;

	/* sets the animation frame timing function */
	transition: cubic-bezier(0.9, -0.145, 0.005, 1.00) 9s;
	/* transition: linear 9s; */


	background-image: url("/spinner/assets/pirate-fortune-spin/img/wheel.png");
	background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.language-code-FR #prize-wheel {
	position: absolute;
	top: -46px;
	left: -10px;
	width: 600px;
	height: 560px;

	z-index: 1;

	/* needed for the rotation in javascript */
	/* sets the starting rotation */
	transform: rotate(0deg);
	/* sets the time for the transition */
	transition: all;

	/* sets the animation frame timing function */
	transition: cubic-bezier(0.9, -0.145, 0.005, 1.00) 9s;
	/* transition: linear 9s; */


	background-image: url("/spinner/assets/pirate-fortune-spin/img/FR/wheel.png");
	background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#wheel-frame {
	position: absolute;
	top: -68px;
	left: -10px;
	width: 600px;
	height: 700px;
	z-index: 2;
	background-image: url("/spinner/assets/pirate-fortune-spin/img/wheel-frame.png");
	background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#spin-button {
	position: absolute;
	top: 158px;
	left: 205px;
	width: 170px;
	height: 170px;

	z-index: 3;

	cursor: pointer;

	background-image: url("/spinner/assets/pirate-fortune-spin/img/spin-button.png");
	background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
#spin-button-click {
	position: absolute;
	top: 158px;
	left: 205px;
	width: 170px;
	height: 170px;

	z-index: 3;

	pointer-events: none;

	background-color: white;

	border-radius: 50%;
	
	display: block;
	opacity: 0;
}

#wheel-stopper {
	position: absolute;
	top: -71px;
	left: 267px;
	width: 55px;
	height: 75px;

	z-index: 3;

	background-image: url("/spinner/assets/pirate-fortune-spin/img/stopper.png");
	background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#wheel-stopper.spinStopper {
	animation-name: spinTheStopper;
	animation-duration: 9s;
	animation-fill-mode: both;
	animation-timing-function:  ease-in-out;
}

#glow {
	position: absolute;
	top: 45px;
	left: 35px;
	width: 500px;
	height: 500px;

	z-index: 0;

	border-radius: 50%;

	box-shadow: 0px 0px 90px 100px #E0A73D;

	display: none;
}

#glow.playEffect {
	display: block;
	animation-name: pulsate;
	animation-fill-mode: both;
	animation-duration: 2s;
	animation-iteration-count: infinite;
	animation-timing-function: ease-in-out;
}


/* ------------------------------------------------------------ animations ------------------------------------------------------------ */

/* ------------- event listeners ------------- */

/* ------- on click events ------- */
.startSpinning {
	animation: spinWheel 1s ease-in 1 forwards;
}
.constSpinning {
	animation: spinWheel 1s linear 5 forwards;
}



/* if an item is clicked */
.clicked {
	animation-name: clickedItem;
	animation-fill-mode: forwards;
	animation-duration: 0.5s;
	animation-timing-function: linear;
	
	pointer-events: none;
}

.buttonClicked {
	animation-name: buttonEffect;
	animation-fill-mode: both;
	animation-duration: 0.5s;
	animation-timing-function: linear;
}


.prize-code-p0 .prize-points-description {
  display: block;
  color: #fff;
}
.game-finished.game-over-lose.prize-code-p0 .prize-points-description {
  font-size: 25px;
}

/* .stopperEffect {
	animation-name: stopperEffect;
	animation-fill-mode: forwards;
	animation-duration: 1s;
	animation-timing-function: cubic-bezier(0.57, -0.95, 0.445, 1.0);
} */

/* keyframes */

/* move screen elements */
/* shows the game */

@keyframes spinWheel {
	from{
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}

@keyframes showGame {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}
/* hides the instructions */
@keyframes hideInstructions {
	from {
		opacity: 1;
	}
	to {
		opacity: 0;
	}
}


/* basic moving the items on screen */
@keyframes clickedItem {
	0% {
		transform: scale(1, 1);
	  }
	50% {
		transform: scale(0.95, 0.95);
	}
	100% {
		transform: scale(1, 1);
	}
}

@keyframes buttonEffect {
	0% {
		opacity: 0;
		transform: scale(1, 1);
	}
	50% {
		opacity: 0.2;
		transform: scale(0.95, 0.95);
	}
	100% {
		opacity: 0;
		transform: scale(1, 1);
	}
}

@keyframes stopperEffect {
	0% {
		transform: scale(2, 2);
		top: -30px;
	}
	50% {
		transform: scale(2, 2);
	}
	100% {
		transform: scale(2, 2);
		top: 13px;
	}
}

@keyframes pulsate {
	0% {
		transform: scale(0.8, 0.8);
	}
	50% {
		transform: scale(0.88, 0.88);
	}
	100% {
		transform: scale(0.8, 0.8);
	}
}

@keyframes bounce {
	0% {
		top: -30px;
		transform: scale(1.2);
	}
	25% {
		transform: scale(1);
	}
	50% {
		top: 0px;
		transform: scale(1.2);
	}
	75% {
		transform: scale(1);
	}
	100% {
		top: -30px;
		transform: scale(1.2);
	}
}

@keyframes spinTheStopper {
	0% {	
		transform: rotate(0deg);
	}
	13% {		
		transform: rotate(40deg);
	}
	30% {
		transform: rotate(-40deg);
	}
	35% {
		transform: rotate(-35deg);
	}
	40% {
		transform: rotate(-40deg);
	}
	45% {
		transform: rotate(-40deg);
	}
	50% {
		transform: rotate(-35deg);
	}
	55% {
		transform: rotate(-40deg);
	}
	60% {
		transform: rotate(-35deg);
	}
	65% {
		transform: rotate(-40deg);
	}
	70% {
		transform: rotate(-35deg);
	}
	75% {	
		transform: rotate(-40deg);
	}
	80% {
		transform: rotate(-35deg);
	}
	85% {
		transform: rotate(-40deg);
	}
	100% {	
		transform: rotate(-0deg);
	}
}



/* shows the last screen */
@keyframes showLastScreen{
	from {
		opacity: 0;
		transform: scale(0.95, 0.95);
	}
	to {
		opacity: 1;
		transform: scale(1.2, 1.2);
	}
}


/* ------------------------------------------------------------ end of animations ------------------------------------------------------------ */