body, html {
  height: 100%;
}
body
{
 top: 0px;
 left: 0px;
 margin: 0px;
 background-color: white;
}
.f-right { float: right }
.f-left { float: left }
.opa-50 { opacity:0.5 }

#TopHead {
    display: table;
    clear: both;
    position: relative;
    width: 100%;
    background-color: Gainsboro;
}
   #TopHead H1 {
     float: left;
     margin: 0px;
     font-family: Impact, Charcoal, "Courier New", Courier, monospace, sans-serif;
     font-size: 20px;
     color: DimGrey;
     padding-left: 5px;
     padding-top: 5px;
     margin-bottom: 5px;
   }
  #littletitle {
    float: left;
    margin-top: 30px;
    font-size: 10px;
    color: red;
  }

#TopMenu {
   clear: both;
   width: 100%;
   display: table;
   text-align: center;
   font-family: Arial, Charcoal, "Courier New", Courier, monospace, sans-serif;
   background-color: #4d4d4d;
   margin: 0px;
}

  #leftMenu, #rightMenu  {
     margin: 0;
     padding: 0;
     font-size: 100%;
  }
     #lefMenu  {
       float: left;
       width: 60%;
       text-align: left;
     }
    #rightMenu  {
      display: none;
      float: right;
      width: 40%;
      text-align: right;
    }
    #leftMenu  a { float: left; }
    #rightMenu  a { float: right; }
   #leftMenu  a, #rightMenu a {
     display: block;
     margin-left: 5px;
     color: white;
     text-align: center;
     padding: 9px 11px;
     text-decoration: none;
   }
   #leftMenu a:hover, #rightMenu a:hover {
     background-color: white;
     color: DimGrey;
     border-radius: 15px;
   }

#iotaForm  {
  width: 100%;
  overflow: hidden;
  margin: 0;
  padding-top: 10px;
  padding-bottom: 10px;
  float: left;
  font-size: 3vw;
  background-color: #e6e6e6;
}
#iotaForm  input, #iotaForm  button {
  float: left;
  font-size: 8vw;
  vertical-align: middle;
  margin-top: 20px;
  margin-bottom: 20px;
  overflow: hidden;
}

#iotaForm  input {
  width: 70%;
  background: white url("https://www.iotafree.com/pc/css/icon/key.gif") no-repeat  center left;
  background-size: 8% 50%;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
  padding-left: 5%;
}
#iotaForm  button  {
  width: 20%;
  text-align: center;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
  background-color: orange;
}


#centerbody {
width: 100%;
margin: 0px;
background-color: white;
overflow: hidden
}
/**********************
logo messenger in menu */
#menuMessenger {
  z-index: 10;
  position:fixed;
  bottom: 35px;
  margin-left: 6px;
  width: 130px;
  height: 65px;
  background:  url('https://www.iotafree.com/pc/css/icon/mail_contact_menu_big.png') no-repeat;
  background-size: 100% 100%;

}
#menuNotification {
    float: right;
    margin-top: -7px;
    margin-right: -6px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 8px;
    font-size: 20px;
  }

/******************/
/* BLOQUE DE JEU */
#space {
  z-index: 0;
  float: left;
  position: relative;
  margin-left: 0px;
  margin-right: 0px;
  width: 300px;
  margin-top: 10px;
}
   #space p {
     overflow: hidden;
     margin-top: 0px;
     font-size: 5vw;
     text-align: center;
   }
#fleche {
  z-index: 2;
  position: relative;
  top: 127px;
  left: 3px;
  background: url("https://www.iotafree.com/pc/css/icon/Arrow.gif") no-repeat  left;
  background-size: 290px 44px;
  width: 290px;
  height: 44px;
  transform: rotate(0deg)
}


#BlockInput {
  float: left;
  width: 290px;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 15px;
  margin-left: 3px;
  margin-right: 3px;
}
  #BlockInput input {
   margin-top: 10px;
   width: 90%;
   font-size: 7vw;
  }
#BlockRed, #BlockRed2, #BlockBlue, #BlockBlue2 {
z-index: 1;
position: static;
margin: 0px;
padding: 0px;
width: 148px;
height: 148px;
border-radius: 15%;
}
#BlockRed, #BlockRed2 {
  background-color: red;
  border: 1px solid IndianRed;
}
#BlockBlue, #BlockBlue2 {
  background-color: blue;
  border: 1px solid DarkCyan;
}
#BlockRed, #BlockBlue2 { float: left; }
#BlockRed2, #BlockBlue { float: right; }

/***************/
/* les BOUTONS */

#redBet, #blueBet {
 display: inline-block;
 padding: 10% 15%;
 font-size: 6vw;
 cursor: pointer;
 text-align: center;
 text-decoration: none;
 color: #fff;
 background-color: #4CAF50;
 border: none;
 border-radius: 15px;
 box-shadow: 0 20px #999;
 margin-top: 5px;
 margin-bottom: 17px;
 margin-right: 0 auto;
}
#redBet { background-color: red; }
#redBet:hover { background-color: #e30168; }
#blueBet { background-color: blue; }
#blueBet:hover { background-color: #0000e3; }
#redBet:active, #blueBet:active {
 box-shadow: 0 6px #666;
 transform: translateY(14px);
}

audio { display: none; }



#room, #chat {
   width: 99%;
}

#withdraw {
  width: 99%;
  position: relative;
  float: left;
  font-size: 6vw;
  background-color: #f0f0f5;
  border: 1px solid #e6e6e6;
  border-radius: 15px;
  margin-left: 5px;
  margin-top: 20px;
}
    #withdraw h1, #withdraw p {
        text-align: left;
        margin-top: 10px;
    }
    #withdraw h1 {  margin-left: 15px; }
    #withdraw p { margin-left: 35px; }
    #withdraw a  {
        position: relative;
        display: inline-block;
        font-size: 6vw;
        padding: 15px 25px;
        color: black;
        text-align: center;
        text-decoration: none;
        background-color: #79d2a6;
        border-radius: 15%;
        margin-bottom: 15px;
        margin-left: 10%;
        margin-right: 10%;
    }
   #withdraw a:hover   { background-color: #66ffb5; }
   #withdraw a:active  { background-color: #6de20d; }


#room {
  position: relative;
  float: left;
  text-align: center;
  padding: 4px;
  font-size: 8vw;
  background-color: #f0f0f5;
  border: 1px solid #e6e6e6;
  border-radius: 15px;
  margin-left: 5px;
  margin-bottom: 20px;
  margin-top: 20px;
}
   #room h1.left { float: left; }
   #room h1.right { float: right; }
   #room h1.left, #room h1.right {
     width: 45%;
     font-size: 5vw;
     margin-top: 10px;
     margin-left: auto;
     margin-right: auto;
   }
   #room  #back_white a  {
     clear: both;
     text-align: center;
     text-decoration: none;
     display: inline-block;
     margin-top: 15px;
     margin-bottom: 15px;
     width: 90%;
     padding: 15px 25px;
     color: black
   }
   #room #back_white a:hover {
      border-radius: 15px;
      padding: 15px 25px;
      background-color: white;
   }

.threeIotaCoin {
  position: static;
  width: 50%;
  height: 100%;
  padding-right: 15%;
  background: right 95% / 15% 90% no-repeat url("triiota.gif");
}
.roomIcon {
  position: relative;
  width: 50%;
  height: 100%;
  padding-left: 10%;
  background: left 25% / 10% 65% no-repeat url("4cubes.gif");
}

#whatIsIota {
  overflow: hidden;
  margin-top: 20px;
  width: 95%;
}
  #whatIsIota h1 {
   font-size: 5vw;
   margin-top: 10px;
   text-align: left;
   margin-left: 25px;
  }

#chat, #whatIsIota {
  position: relative;
  float: left;
  padding: 0px;
  padding-left: 10px;
  font-size: 2vw;
  background-color: #f0f0f5;
  border: 1px solid #e6e6e6;
  border-radius: 15px;
  margin-left: 2px;
  margin-bottom: 10px;
}

/*****BONUS*****
****************/
#bonus {
  position: relative;
  float: left;
  width: 99%;
  padding: 2px;
   background-color: #f0f0f5;
   background-color: #f0f0f5;
   border: 1px solid #e6e6e6;
   border-radius: 15px;
   margin-top: 20px;
   margin-left: 0.5%;
   margin-bottom: 10px;
}

#bonus table {
  width: 100%;
  padding: 1px
}
#bonus th, td { font-size: 20px; text-align: center }

#bonus .left {
  text-align: left;
  margin: 0px
}

.btn { padding: 3px }

.btn-unactived {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: lightgrey;
  border: 1px solid grey;
  border-radius: 3px;
  text-decoration: none;
  color: black
}
.btn-success {
  background-color: lightgreen;
  border: 1px solid lightgreen;
  border-radius: 3px;
  text-decoration: none;
  color: white
}
 #bonus a:hover .btn-success {
  background-color: #4fe34f;
  border: 1px solid #4fe34f
}
#bonus a { text-decoration:none; }
#bonus .btn-unactived, #bonus a { font-size: 12px }
.ProgressContainer {
  width: 100%;
  height: 30px;
  background-color: lightgrey
}
.ProgressBar {
  z-index: 1;
  width: 0%;
  height: 100%;
  background-color: lightgreen
}
.ProgressBarText {
  z-index:2;
  height: 100%;
  margin-top: -27px;
  color: white;
  text-align: center
}

.bonus-top { margin-top:20px }


  .AnimationJauge { animation: FxjaugeO 2s 0s forwards }
  @keyFrames FxjaugeO {
    0% { width: 0px; }
    100% { width: 0%; }
  }
  @keyFrames FxjaugeTen {
    0% { width: 0px; }
    100% { width: 10%; }
  }
  @keyFrames FxjaugeTwenty {
    0% { width: 0px; }
    100% { width: 20%; }
  }
  @keyFrames FxjaugeThirty {
    0% { width: 0px; }
    100% { width: 30%; }
  }
  @keyFrames FxjaugeFourty {
    0% { width: 0px; }
    100% { width: 40%; }
  }
  @keyFrames FxjaugeFifty {
    0% { width: 0px; }
    100% { width: 50%; }
  }
  @keyFrames FxjaugeSixty {
    0% { width: 0px; }
    100% { width: 60%; }
  }
  @keyFrames FxjaugeSeventy {
    0% { width: 0px; }
    100% { width: 70%; }
  }
  @keyFrames FxjaugeHeighty {
    0% { width: 0px; }
    100% { width: 80%; }
  }
  @keyFrames FxjaugeNinety {
    0% { width: 0px; }
    100% { width: 90%; }
  }
  @keyFrames FxjaugeHundred {
    0% { width: 100%; }
    100% { width: 100%; }
  }
  /*****END BONUS*****
  ****************/


/****************************/
/* REFRESH BUTTON **********/
#refreshButton {
  position: relative;
  display: inline-block;
  padding: 15px 25px;
  font-size: 7vw;
  cursor: not-allowed;
  text-align: center;
  text-decoration: none;
  color: black;
  background-color: #e7e7e7;
  border-radius: 5px;
  margin-bottom: 15px;

}
#refreshButtonOk {
  position: relative;
  display: none;
  padding: 15px 25px;
  font-size: 7vw;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  background-color: #79d2a6;
  border-radius: 15%;
   color: black;
   margin-bottom: 15px;
}
a:hover #refreshButtonOk {
padding: 15px 25px;
background-color: #66ffb5;
 }
a:active #refreshButtonOk  { background-color: #6de20d; }

/****************************/
/* FIN REFRESH BUTTON *******/




#cookieBox {
float: left;
width: 35%;
font-size: 2vw;
background-color: #f0f0f5;
border: 1px solid #e6e6e6;
border-radius: 15px;
margin-left: 0.5%;
margin-bottom: 10px;
}

#cookie {
float: left;
width: 500px;
height: 140px;
background:  url("Cookies.png") no-repeat left;

}
#ball {
width: 40px;
height: 40px;
background-color:  red;
border-radius: 50%;
}



#bottom {
clear: both;
margin-top: 15px;
padding: 5px;
height: 100%;
background-color: Gainsboro;
font-size: 2.5vw;
}
#copy {
    float: left;
    position: relative;
    width: 98%;
}
    #copy a {
        text-decoration: none;
        color: black;
        font-size: 4.5vw;
    }
    #copy a:hover {
         text-decoration: underline;
         color: red;
    }
#iotaLogo {
  float: left;
  position: relative;
  margin-right: 10px;
  width: 60px;
  height: 60px;
  background:  url("https://www.iotafree.com/pc/css/icon/iota_mini.gif") no-repeat center;
  background-size: 90% 90%;
  border: 5px solid black;
  border-radius: 20px;
}
#twitter,   #facebook {
  float: right;
  position: relative;
  width: 4em;
  height: 5em;
  margin-left: 5%;
  border-radius: 10px;
  border: 2px solid white;
}
#twitter {
    background: lightblue url("https://www.iotafree.com/pc/css/icon/twitter.gif") no-repeat center;
    background-size: 4em 4em;
  }
#facebook {
    background: blue url("https://www.iotafree.com/pc/css/icon/facebook.gif") no-repeat center bottom;
    background-size: 2em 4em;
  }
#donationBlock, #donateIota {
 font-size: 3vw;
}
#donationBlock {
float: left;
width: 100%;
}
#donateIota {
  width: 85%;
  background-color: white;
  padding: 0px;
  margin-left: 2%;
  margin-right: 2%;
  border-radius: 5px;
}
/***********************************/
/*****WIN LOOSE POPUP **************/

#win,  #lost{
   display: none;
   opacity: 0;
   position: absolute;
   z-index: 15;
   width: 290px;
   height: 650px;
   margin-left: 1%;
   margin-right: 1%;
   margin-top: auto;
   background-color: white;
   border: 9px solid white;
   border-radius: 15px;
}
#winBand, #lostBand {
  z-index: 16;
  margin: 0px;
  padding-top: 10px;
  padding-left: 0px;
  top: 0px;
  height: 30%;
  color: white;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}
#winBand { background-color: #6ed19a; }
#lostBand { background-color: #ef9781; }
   #winBand h1, #lostBand h1 {
     float: left;
     text-align: center;
     width: 300px;
     text-align: center;
    }
    #winBand h1 {
      color: white;
      font-size: 40px;
     }
     #lostBand h1 {
       color: #443430;
       font-size: 30px;
     }

#winBottom {
   padding: 0px;
   margin: 0px;
   height: 65%;
   color: white;
   background-color: #ccc;
}
#winValue, #lostValue {
    float: left;
    width: 100%;
    margin-right: 0px;
    margin-top: 0px;
}
#winValue { background-color: #ebf4e8; }
#lostValue { background-color: #fce6e5; }
  #winValue h1 {
    font-size: 30px;
    color: green;
  }
  #lostValue h1 {
    font-size: 25px;
    color: red;
  }

#cup,  #brokecup {
 float: left;
 width: 256px;
 height: 256px;
}
#cup { background: url("https://www.iotafree.com/pc/css/icon/cup.gif") no-repeat; }
#brokecup {  background: url("https://www.iotafree.com/pc/css/icon/break_cup.gif") no-repeat; }




/* BOUTONN WINLOST */
#winBottom a {
  display: table;
  position: absolute;
  bottom: 25px;
  margin-left: 15%;
  margin-right: 15%;
  padding: 15px 20px;
  font-size: 1.5em;
  text-align: center;
  text-decoration: none;
  background-color: #79d2a6;
  border-radius: 8px;
  color: black;
  }
  #winBottom a:hover {
  padding: 15px 20px;
  background-color: #66ffb5;
  }
  #winBottom a:active  { background-color: #6de20d; }

  /***********************************/
  /***** MESSAGE ERREUR,VALID, INFO */

   .success, .error, .info {
    margin: 15px;
    clear:both;
    padding: 15px;
    border-radius: 15px;
    font-size: 3vw;
  }
  .success {
    color: #4F8A10;
    background-color: #DFF2BF;
  }
    .success h1 {
      padding-left: 10%;
      background: url("https://www.iotafree.com/pc/css/icon/success_icon.gif") no-repeat left;
      background-size: 9% 100%;
    }

  .error {
    color: #D8000C;
    background-color: #FFD2D2;
  }
    .error h1 {
      padding-left: 10%;
      background: url("https://www.iotafree.com/pc/css/icon/error_icon.gif") no-repeat left;
      background-size: 9% 100%;
    }
  .info {
    color: #00529B;
    background-color: #BDE5F8;
  }
    .info h1 {
      padding-left: 10%;
      background: url("https://www.iotafree.com/pc/css/icon/info_icon.gif") no-repeat left;
      background-size: 9% 100%;
    }
  .success a, .error a, .info a {
    text-decoration: none;
    padding: 15px 20px;
    background-color:  #79d2a6;
    border-radius: 15px;
    font-size: 3vw;
  }
           .success a:hover, .error a:hover, .info a:hover {
               background-color: #66ffb5;
           }
           .success a:active, .error a:active, .info a:active {
               background-color: #6de20d;
           }
