@font-face {
  font-family: "droid";
  src: url("DroidSans.ttf");
  font-weight: normal;
}

@font-face {
  font-family: "droid";
  src: url("DroidSans-Bold.ttf");
  font-weight: bold;
}

*{
	margin:0;
	padding:0;
	/*transition: opacity .5s;*/
}
/*
body, html {
overflow: hidden;
}
*/
body{
	background-color:#333;
  background-repeat: no-repeat;
	padding: 0;
	font-family: "droid", serif, Helvetica, Arial, sans-serif;
	font-weight: bold;
	user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  cursor: none;
  overflow: hidden;
}

#hand{
  position: absolute;
  z-index: 99999999999;
  width: 656px;
  height: 846px;
  left:-300px;
  background-image: url("ihm/hand.png");
  pointer-events: none;
  background-repeat: no-repeat;
  opacity: .9;
}

#ecran1024{
  position: absolute;
  width: 1024px;
  height: 768px;
  overflow: hidden;
  background-color: red;
}

#touchPosition{
	z-index: 99999999;
	opacity: .7;
	position: absolute;
	width: 40px;
	height: 40px;
	left: -50px;
	top:-50px;
	background-color: yellow;
	border: 5px solid black;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
}

#IHM{
  z-index: 103;
  position: absolute;
  width: 1920px;
  height: 700px;
  background-image: url("ihm/ihm1.png");
}

#IHMecran{
  position: absolute;
  top: 0;
  transition: top 1s;
  width: 1024px;
  height: 700px;
  //background-color: black;
}

#IHMglobal{
  position: relative;
  margin: auto;
  width: 1366px;
  min-height: 768px;
}

#goFS{
	position: absolute;
	z-index: 99999;
	width: 50px;
	height: 50px;
	top : 0;
  right: 0;
}

#ecran, #ecranOverlay{
  position: absolute;
  width: 146px;
  height: 146px;
  left: 593px;
  top:313px;
}

#ecran{
  z-index: 1;
  background-repeat: repeat-x;
  background-color: #333;
}

#gauche, #droite{
  z-index: 3;
  position: absolute;
  height: 146px;
  width:45px;
  top:314px;
  transition: margin .9s;
}

#gauche{
  //background-image: url('ecrans/gauche-moins.png');
  margin-left: -45px;
  left: 593px;
}

#droite{
  //background-image: url('ecrans/droite-plus.png');
  margin-left: 45px;
  left: 694px;
}

#ecranOverlay{
  z-index: 2;
}

.btnIHM{
  position: absolute;
  display: inline-block;
  top: 339px;
  width: 93px;
  height: 93px;
  //background-color: red;
  background-repeat: no-repeat;
  transition: opacity .5s;
}

#menuBoutons{
	right: -70px;
	bottom: 100px;
	width: 70px;
	z-index: 9996;
	position: absolute;
}

#toggleMenuBoutons{
	right: 0;
	bottom: 0;
	z-index: 9997;
	position: absolute;
	width: 70px;
	height: 70px;
	border-radius: 60px 0 0 0;
	background-color: #000;
}

.item{
	margin-top: 15px;
	margin-left: 20px;
	color: #000;
	text-align: center;
	line-height: 75px;
	width: 75px;
	height: 75px;
  background-color: white;
	transition: all .4s;
	border-radius: 75px;
	transition: margin-left .5s;
	transition-timing-function: cubic-bezier(.76,-0.72,.32,1.65);
}

.select{
  border: 5px solid #F00;
}

.btn{
	position: absolute;
	background-repeat: no-repeat;
	background-color: rgba(255,0,0,.3);
}
#btnContainer{
  position: absolute;
}
#power{
  left:-36px;
}

#decongel{
  left: 121px;
}

#marquage{
  left: 255px;
}

#leftArrow{
  left: 458px;
}

#rightArrow{
  left: 784px;
}
#ok{
  left: 940px;
}

#changeIHM{
  z-index: 100;
  width: 50px;
  height: 50px;
  position: absolute;
  right:0;
}

#ecranBottom{
  position: absolute;
  width:146px;
  height:50px;
  background-image: url('ecrans/choix-noms.png');
  top: 20px;
  transition: background-position .3s;
}


#ecranTopLeft{
  position: absolute;
  width:30px;
  height:30px;
  background-image: url('ecrans/icone-decongel.png');
  opacity: 0;
  display: none;
  z-index: 999;
  left: 595px;
  top: 315px;
}

#ecranTopRight{
  position: absolute;
  right: 0;
  width:30px;
  height:30px;
  background-image: url('ecrans/icone-marquage.png');
  opacity: 0;
  display: none;
  z-index: 999;
  left: 707px;
  top: 315px;
}
#overlayGlobal{
  position: absolute;
  z-index: 0;
  height: 1080px;
  width:1920px;
  background-image: url("ihm/plaques.png");
  overflow: hidden;
}

#ouvrir, #fermer{
  position: absolute;
  opacity: .3;
  left: 150px;
  top:50px;
  width: 150px;
  height: 181px;
}

#ouvrir{
  background-image: url("ihm/ouvrir.png");
}

#fermer{
  left:auto;
  left:750px;
  background-image: url("ihm/fermer.png");
}

#menuSlide{
  z-index: 9999;
  position: absolute;
  margin-left: 0px;
  height: 100%;
  transition: all .5s;
	color: #fff;
}

#menuSlide li{
  height: 50px;
  list-style-type: none;
  border-radius: 25px;
  border: 2px solid #fff;
  text-align: center;
  line-height: 50px;
  margin-bottom: 20px;
}

#menuSlide li:hover{background-color: #fff;color: #000;}
#menuSlide h1{margin: 20px 0 20px 0;}
#menuSlide ul{margin-bottom: 50px}

#toggleMenuSlide{
  bottom: 0;
  position: absolute;
  width: 70px;
  height: 70px;
  background-color: #000;
  border-radius: 0 60px 0 0;
}

#menuContent{
  position: absolute;
  padding: 30px;
  margin-left: -400px;
  width: 340px;
  height: calc(100% - 60px);
  background-color: #000;
}

#btnViande{
  z-index: 2;
  position: absolute;
  width: 205px;
  height: 246px;
  opacity: .3;
}

#btnViande.pos1{
  top:250px;
  left:400px;
  background-image: url("ihm/mettre.png");
}
#btnViande.pos2{
  top:250px;
  left:400px;
  background-image: url("ihm/retirer.png");
}

#viande{
  position: absolute;
  background-image: url("ecrans/viande.png");
  width: 774px;
  height: 410px;
  transition: all .2s;
  /*transition: all 5s;*/
}
#viande.pos1{
  transform: rotate(200deg);
  top:650px;
  left:300px;
  transition: all .2s;
  /*transition: all 3s cubic-bezier(.08,1.64,.48,1.53);*/
}

#viande.pos2{
  transform: rotate(180deg);
  top:-50px;
  left:-50px;
}
