@font-face {
  font-family: 'OpenSans';
  src: url('../fonts/OpenSans-Bold-webfont.eot');
  src: url('../fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/OpenSans-Bold-webfont.woff') format('woff'), url('../fonts/OpenSans-Bold-webfont.ttf') format('truetype'), url('../fonts/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'OpenSans';
  src: url('../fonts/OpenSans-ExtraBold-webfont.eot');
  src: url('../fonts/OpenSans-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/OpenSans-ExtraBold-webfont.woff') format('woff'), url('../fonts/OpenSans-ExtraBold-webfont.ttf') format('truetype'), url('../fonts/OpenSans-ExtraBold-webfont.svg#open_sansbold') format('svg');
  font-weight: bold;
  font-style: normal;
}
* {
  font-family: 'OpenSans';
}
body.i18n-fr .i18n .fr {
  opacity: 1;
}
body.i18n-fr .i18n .en {
  opacity: 0;
  display: none !important;
}
body.i18n-en .i18n .fr {
  opacity: 0;
  display: none !important;
}
body.i18n-en .i18n .en {
  opacity: 1;
}
.flipping-i18n {
  -webkit-transition: -webkit-transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
  -moz-transition: -moz-transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
  -o-transition: -o-transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
  transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  outline: 0;
}
.flipping-i18n.flip-out {
  backface-visibility: hidden;
  z-index: 2;
  /* for firefox 31 */
  transform: rotateX(90deg);
}
.fading-i18n {
  -webkit-transition: opacity 0.25s ease-in-out;
  -moz-transition: opacity 0.25s ease-in-out;
  -ms-transition: opacity 0.25s ease-in-out;
  -o-transition: opacity 0.25s ease-in-out;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  outline: 0;
  opacity: 1;
}
.fading-i18n.fade-out {
  opacity: 0 !important;
}
* {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html {
  background-color: transparent;
}
html,
body {
  -webkit-font-smoothing: antialiased;
  color: #FFF;
  padding: 0;
  margin: 0;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  outline: 0;
  overflow: hidden;
  overflow-x: hidden;
  overflow-y: hidden;
  -webkit-text-size-adjust: none;
  -webkit-overflow-scrolling: touch;
  width: 1920px;
  height: 1080px;
}
.nw {
  white-space: nowrap;
}
#game {
  background: #000 url("../images/layout_5.jpg") no-repeat center center;
  background-size: cover;
  width: 1920px;
  height: 1080px;
  position: relative;
}
.disable-mouse {
  pointer-events: none;
}
.center {
  text-align: center;
}
.pulse {
  -webkit-animation: pulsate 3s ease-in-out;
  -webkit-animation-iteration-count: infinite;
}
@-webkit-keyframes pulsate {
  0% {
    -webkit-transform: scale(1, 1) rotate(0deg);
  }
  50% {
    -webkit-transform: scale(0.95, 0.95) rotate(1deg);
  }
  100% {
    -webkit-transform: scale(1, 1) rotate(0deg);
  }
}
#screen-wrapper {
  display: inline-block;
  position: absolute;
  width: 1110px;
  height: 760px;
  left: 160px;
  top: 240px;
  font-size: 0;
  line-height: 0;
}
#screen-wrapper .screen {
  display: inline-block;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -moz-transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -ms-transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -o-transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  -webkit-backface-visibility: hidden;
}
#screen-wrapper .screen.active {
  display: inline-block;
  opacity: 1;
  pointer-events: all;
}
#screen-wrapper .screen .title {
  display: inline-block;
  width: 600px;
  margin-top: 140px;
  margin-left: 245px;
  margin-right: 245px;
  margin-bottom: 55px;
  font-size: 37px;
  line-height: normal;
  color: #FFF;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
#screen-wrapper .screen .content {
  display: inline-block;
  width: 600px;
  margin-left: 245px;
  margin-right: 245px;
  line-height: normal;
  font-size: 30px;
  color: #FFF;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
#screen-wrapper .screen .option {
  display: inline-block;
  position: absolute;
  width: 400px;
  color: #FFF;
}
#screen-wrapper .screen .option span {
  display: inline-block;
  text-align: center;
  font-size: 30px;
  line-height: normal;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
#screen-wrapper .screen .option.option-left {
  background: transparent url("../images/button.png") no-repeat 6px 24px;
}
#screen-wrapper .screen .option.option-left span {
  padding: 35px 0px 10px 160px;
}
#screen-wrapper .screen .option.option-left:active {
  background: transparent url("../images/button.png") no-repeat 4px 26px;
}
#screen-wrapper .screen .option.option-left:active span {
  opacity: 0.7;
}
#screen-wrapper .screen .option.option-right {
  background: transparent url("../images/button.png") no-repeat 325px 24px;
  text-align: right;
}
#screen-wrapper .screen .option.option-right span {
  padding: 35px 160px 10px 0px;
}
#screen-wrapper .screen .option.option-right:active {
  background: transparent url("../images/button.png") no-repeat 327px 26px;
}
#screen-wrapper .screen .option.option-right:active span {
  opacity: 0.7;
}
#screen-wrapper .screen .option.all-screen {
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
}
#screen-wrapper .screen .option.option-left-1 {
  top: 374px;
  left: 24px;
}
#screen-wrapper .screen .option.option-left-2 {
  top: 465px;
  left: 24px;
}
#screen-wrapper .screen .option.option-left-3 {
  top: 560px;
  left: 24px;
}
#screen-wrapper .screen .option.option-right-1 {
  top: 375px;
  right: 27px;
}
#screen-wrapper .screen .option.option-right-2 {
  top: 465px;
  right: 27px;
}
#screen-wrapper .screen .option.option-right-3 {
  top: 560px;
  right: 27px;
}
#card {
  background: transparent url("../images/card_2.png") no-repeat 0 0;
  background-size: contain;
  width: 274px;
  height: 415px;
  position: absolute;
  top: 380px;
  left: 1506px;
  -webkit-transform: rotate(-75deg);
  -moz-transform: rotate(-75deg);
  -ms-transform: rotate(-75deg);
  -o-transform: rotate(-75deg);
}
#card-mask {
  background: transparent url("../images/card-mask.png") no-repeat 0 0;
  background-size: contain;
  width: 612px;
  height: 430px;
  position: absolute;
  top: 0px;
  left: 1258px;
  pointer-events: none;
}
#enveloppe {
  background: transparent url("../images/enveloppe.png") no-repeat 0 0;
  background-size: contain;
  width: 363px;
  height: 664px;
  position: absolute;
  top: 1080px;
  left: 1506px;
  pointer-events: none;
}
#enveloppe-mask {
  background: transparent url("../images/enveloppe-mask.png") no-repeat 0 0;
  background-size: contain;
  width: 761px;
  height: 1032px;
  position: absolute;
  top: 0px;
  left: 1140px;
  pointer-events: none;
}
#glowing-deposit {
  width: 372px;
  height: 123px;
  position: absolute;
  top: 754px;
  left: 1403px;
  opacity: 0;
  pointer-events: none;
}
#glowing-deposit .inner {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent url("../images/glowing-deposit.png") no-repeat 0 0;
  background-size: contain;
  -webkit-animation: glow 1s infinite ease;
  -moz-animation: glow 1s infinite ease;
  -ms-animation: glow 1s infinite ease;
}
@keyframes glow {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}
