/* ----------  La Base  ------------ */

body {
    background: url(../img/background42x42.png) top left repeat;
    font-family: 'pixelmusketeer';
    color: white;
    font-size: 1em;
    overflow: hidden;
}

#loader-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
    background: #222222;
    z-index: 10000000000000;
}

.loaded #loader-wrapper{
    -webkit-transform: translateY(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
    -ms-transform: translateY(-100%);  /* IE 9 */
    transform: translateY(-100%);  /* Firefox 16+, IE 10+, Opera */

    -webkit-transition: all 0.4s 2s ease-out;
            transition: all 0.4s 2s ease-out;
}

#loader {
    opacity: 0;
    z-index: 10000000000001;
    position: absolute;
    bottom: 3em;
    left: 3em;
    text-align: left;
    line-height: 1.2em;
    font-family: 'bpdotsdiamondlight';
    color: #6cc93b;
    font-size: 1em;
}

.loaded #loader {
    opacity: 100%;
    -webkit-transition: all 0.1s 0.3s ease-out;
            transition: all 0.1s 0.3s ease-out;
}

h1 {
  font-size: 3em;
  font-family: 'pixelmusketeer';
  padding: 1%;
  margin: 3%;
}

.hide{
  display: none;
}

.visible{
  display: block;
}

.alignCenter{
  text-align: center;
}

.draggable{
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  cursor: pointer !important;
}

.secretBtn{
  display: block;
  position: relative;
  background: white;
  opacity: 0;
  cursor: pointer;
}

.fullScreenBack{
  width: 100%;
  height: 100%;
  background-size: cover;
}

/* ----------  Mini Map  ------------ */

.links-to-floor{
  position: absolute;
  top: 30px;
  right: 35px;
  width: 90px;
  height: 70px;
  z-index: 2002;}
ul {list-style: none;}
.links-to-floor li {
  position: absolute;
  width: 14px;
  height: 10px;
  background: #eee;
  margin:2px;
  color: #777;
  line-height: 10px;
  text-align: center;}
.links-to-floor li:hover{cursor:pointer; background:#fbe311;}
.links-to-floor li a{
    width: 100%;
    height: 100%;
    display: block;}
.selected{opacity:1!important;}
.selected a{color:white;background:#b0d7ec;}
.selected a:hover{color:white;background:#fbe311;}
.floor0{top:0;left:20%;}
.floor1{top:20%;left:20%;}
.floor2{top:20%;left:0;}
.floor3{top:20%;left:40%;}
.floor4{top:40%;left:20%;}
.floor5{top:40%;left:0;}
.floor6{top:60%;left:20%;}
.floor7{top:60%;left:40%;}
.floor8{top:60%;left:60%;}
.floor9{top:40%;left:60%;}
.floor10{top:80%;left:60%;}
.floor11{top:80%;left:80%;}
.floor12{top:100%;left:60%;}
.secretFloor{opacity:0.05;}
.normalFloor{opacity:0.7;}
.goldFloor{opacity:0.8;background:#fbe311!important;}
.bossFloor{opacity:0.8;background:#df508a!important;}

/* ----------  Screen and Buttons  ------------ */

a {
    color: white;
    text-decoration: none;
}

a:hover {
    /*color: #d7f464;*/
    color: #fbe311;
}

#TVeffectBG{
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 1;
}

.TVcorner{
    position: fixed;
    height: 168px;
    width: 168px;
    display: block;
}

#HG{
    top: 0;
    left: 0;
    background: url(../img/backgroundTVeffect.png);
}

#HD{
    top: 0;
    right: 0;
    background: url(../img/backgroundTVeffectHD.png);
}

#BD{
    bottom: 0;
    right: 0;
    background: url(../img/backgroundTVeffectBD.png);
}

#BG{
    bottom: 0;
    left: 0;
    background: url(../img/backgroundTVeffectBG.png);
}

#menu{
  z-index: 2000;
  display: block;
  position: fixed;
  bottom: 58px;
  margin: 0 auto;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  height: 0.3em;
  box-shadow: 0 0 5px rgba(255,255,255,0.1);
}

#menu ul{
  list-style-type: none;
  margin: -1.8em auto;
  width: 56.9em;
  padding-left: 50px;
}

@media screen and (max-width:1200px){
  #menu ul{
    scale: 0.7;
  }
}

#menu ul li{
  float: left;
  position: relative;
  height: 2.5em;
  line-height: 2.5em;
}

a.menuBtn{
  margin: 0 15px;
  font-size: 2.5em;
  text-shadow: 4px 2px 2px #000;
  cursor: pointer;
}

.deroulant > ul li{
  line-height: 2em;
}

.sousMenu{
  display:  none;
  position: absolute;
  top: -6em;
  text-align: center;
  width: auto !important;
  padding: 0 !important;
  scale: 1 !important;
}

.sousMenu li{
  width: 100%;
  float: none;
}

.sousMenu li > a:hover{
  color: #6bcfcf;
}

#menu > ul li:hover .sousMenu{
  display: block;
}

#UI{
  z-index: 2001;
  display: block;
  position: fixed;
  top: 30px;
  left: 35px;
}

#dice{
  float: left;
}

#coinSecretBtn{
  width: 14px;
  height: 20px;
  top: 66px;
  left: 4px;
}

#bombSecretBtn{
  width: 14px;
  height: 20px;
  top: 69px;
  left: 4px;
}

#keySecretBtn{
  width: 14px;
  height: 20px;
  top: 72px;
  left: 4px;
}

#helpBtn{
  z-index: 2002;
  display: block;
  position: fixed;
  bottom: 53px;
  left: 40px;
  cursor: pointer;
}

#contactBtn{
  z-index: 2002;
  display: block;
  position: fixed;
  cursor: pointer;
  height: 96px;
  width: 96px;

  animation-name: touchMe;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

@keyframes touchMe {
  0%   {transform: rotate(42deg) scale(0.8); right: 70px; bottom: 40px;}
  25%   {transform: rotate(0deg) scale(1); right: 80px; bottom: 35px;}
  50%  {transform: rotate(-42deg) scale(0.8); right: 84px; bottom: 38px;}
  75%   {transform: rotate(0deg) scale(1); right: 80px; bottom: 35px;}
  100% {transform: rotate(42deg) scale(0.8); right: 70px; bottom: 40px;}
}


/* ----------  Content  ------------ */

#container{
    height: 100%;
    width: 100%;
    display: block;
    position: fixed;
    z-index: 10;
    box-shadow: inset 0px 0px 25px 20px rgba(0,0,0,0.5);
}

#horizontalCenter{
	height: 100%;
	display: table;
	margin: 0 auto;
}

.hC500{
  width: 500px;
}

.hC600{
  width: 600px;
}

#verticalCenterCd{
	height: 250px;
	display: table-cell;
	vertical-align: middle;
}

a#logoImg{
	display: block;
	background: url(../img/malabar2Logo_SwissArmyTom_invert_shadow.png) top left no-repeat;
	width: 500px;
	height: 250px;
  cursor: pointer;
  margin-top: -58px;
  position: relative;
  transition-property: all;
  transition-duration: 1s;
}

a#logoImg::after{
  content: '';
  display: block;
  width: 0;
  height: 250px;
  background: url(../img/DOE.png) top right no-repeat;
  position: absolute;
  top: 0;
  right: -262px;
  transition-property: all;
  transition-duration: 1s;
}

a#logoImg:hover{
  margin-left: -150px;
}

a#logoImg:hover::after{
  width: 336px;
}

#bmoSecret{
  background: url(../img/bmoWallpaper.jpg) center no-repeat;
}

#bmoSecretBtn{
  margin: 0 auto;
  width: 29px;
  height: 40px;
  top: -64px;
  left: -115px;
  cursor: default !important;
}

#latestMODS{
  margin: 0 auto;
  width: 58px;
  height: 55px;
  top: -10px;
  left: -48px;
}

#latestSAVE{
  margin: 0 auto;
  width: 58px;
  height: 55px;
  top: -57px;
  left: -600px;
  cursor: default !important;
}

#goutteDOr{
  margin: 0 auto;
  width: 20px;
  height: 20px;
  top: -307px;
  left: -158px;
  cursor: help !important;
}

#menuSecret{
  margin: 0 auto;
  background: rgba(0, 0, 0, 0.5);
  line-height: 3em;
  width: 100%;
  box-shadow: inset 0 0 20px black, 0 0 10px white;
  text-align: center;
  font-size: 0.8em;
  position: relative;
  z-index: 9000;
}

#keepCalm{
  background: url(../img/keepCalmAndChooseOne.jpg) center no-repeat;
}

#explosionAnimation{
  margin: 0 auto;
  width: 40%;
  height: fit-content;
  position: relative;
  top: -310px;
}

a#keepCalmBtn{
  display: block;
  margin: 0 auto;
  width: 153px;
  height: 62px;
  position: relative;
  top: 149px;
  background: white;
  opacity: 0;
  cursor: none;
}

#konami{
  font-size: 1.2em;
  text-align: center;
}

/* ----------  Bonus  ------------ */

.tits img{
  scale: 1;
  transition-property: all;
  transition-duration: 0.3s;
}

.tits:hover img{
  scale: 0.8;
  transform: rotate(3deg);
}

.battery{
  display: block;
  cursor: help;
  height: 150px;
  width: 113px;
  background: url(../img/battery.png);
  position: absolute;
  scale: 0.3;
}

#battery1{
  top: 45%;
  right: 15%;
}

#battery2{
  top: 45%;
  left: 15%;
}

#battery3{
  bottom: 25%;
  left: 15%;
}