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%;
    height: 50px;
    margin: 0px;
    background-color: Gainsboro;
    }
#TopHead H1 {
 float: left;
 margin: 0px;
 font-family: Impact, Charcoal, "Courier New", Courier, monospace, sans-serif;
 font-size: 180%;
 color: DimGrey;
 padding-left: 5px;
 padding-top: 5px;
}
  #littletitle {
    float: left;
    margin-top: 30px;
    font-size: 17px;
    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: 6vw;
  }

     #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: 15px;
  border-bottom-left-radius: 15px;
  padding-left: 5%;
}
#iotaForm  button  {
  width: 23%;
  text-align: center;
  border-top-right-radius: 15px;
  border-bottom-right-radius: 15px;
  background-color: orange;
}



#centerbody {
width: 100%;
margin: 0px;
background-color: white;
overflow: hidden
}

/**********************
logo messenger in menu */
#menuMessenger {
  z-index: 10;
  position:fixed;
  bottom: 55px;
  margin-left: 6px;
  width: 180px;
  height: 92px;
  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: -6px;
    margin-right: -6px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 8px;
    font-size: 25px;
  }



/******************/
/* BLOQUE DE JEU */
@media screen and (max-width:385px) {
#space {
  z-index: 0;
  float: left;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  left: 0px;
  right: 0px;
  width: 350px;
  margin-top: 10px;
}
   #space p {
     margin-top: 0px;
     font-size: 5vw;
     text-align: center;
   }
#fleche {
z-index: 2;
position: relative;
 top: 150px;
left: 5px;
background: url("https://www.iotafree.com/pc/css/icon/Arrow.gif") no-repeat  left;
background-size: 340px 44px;
    width: 340px;
    height: 44px;
    transform: rotate(0deg)
}
#BlockRed, #BlockRed2, #BlockBlue, #BlockBlue2 {
z-index: 1;
position: static;
margin: 0px;
padding: 0px;
width: 173px;
height: 173px;
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; }
}

@media screen and (min-width:385px) {
#space {
  z-index: 0;
  float: left;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  left: 0px;
  right: 0px;
  width: 400px;
  margin-top: 10px;
}
   #space p {
     margin-top: 0px;
     font-size: 5vw;
     text-align: center;
   }
#fleche {
z-index: 2;
position: relative;
 top: 174px;
left: 15px;
background: url("https://www.iotafree.com/pc/css/icon/Arrow.gif") no-repeat  left;
background-size: 370px 55px;
    width: 370px;
    height: 55px;
    transform: rotate(0deg)
}
#BlockRed, #BlockRed2, #BlockBlue, #BlockBlue2 {
z-index: 1;
position: static;
margin: 0px;
padding: 0px;
width: 198px;
height: 198px;
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;
  }
}


@media screen and (min-width:600px) {
#space {
  z-index: 0;
  float: left;
  position: relative;
  margin-left: 5px;
  margin-right: 5px;
  width: 600px;
  margin-top: 10px;
}
   #space p {
     margin-top: 0px;
     font-size: 5vw;
     text-align: center;
   }
#fleche {
z-index: 2;
position: relative;
 top: 262px;
left: 18px;
background: url("https://www.iotafree.com/pc/css/icon/Arrow.gif") no-repeat  left;
background-size: 550px 77px;
    width: 550px;
    height: 77px;
    transform: rotate(0deg)
}
#BlockRed, #BlockRed2, #BlockBlue, #BlockBlue2 {
z-index: 1;
position: static;
margin: 0px;
padding: 0px;
width: 298px;
height: 298px;
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;
  }
}


@media screen and (min-width:950px) {
#BlockInput {
  float: left;
  width: 300px;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 15px;
  margin-left: 3px;

}
#BlockInput input {
  margin-top: 20px;
  font-size: 7vw;
  width: 100%;
}
}
@media screen and (max-width:950px) {
#BlockInput {
  float: left;
  width: 90%;
  text-align: center;
  margin-top: 5px;
  margin-bottom: 15px;
  margin-left: 3px;
  margin-right: 3px;
}
#BlockInput input {
  margin-top: 20px;
  width: 100%;
  height: 100px;
  font-size: 9vw;
}
}




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

#redBet, #blueBet {

 display: inline-block;
margin: 10px auto 0px auto;
 padding: 10% 15%;
 font-size: 5vw;
 cursor: pointer;
 text-align: center;
 text-decoration: none;
 color: #fff;
 background-color: #4CAF50;
 border: none;
 border-radius: 15%;
 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;
}
/* page" */


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

#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("https://www.iotafree.com/pc/css/icon/triiota.gif");

}
.roomIcon {
  position: relative;
  width: 50%;
  height: 100%;
  padding-left: 10%;
  background: left 25% / 10% 65% no-repeat url("https://www.iotafree.com/pc/css/icon/4cubes.gif");

}

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

#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: 0.5%;
 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 h1 { font-size: 35px }
#bonus table {
  width: 100%;
  padding: 5px
}
#bonus th, td { font-size: 30px; text-align: center }

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

.btn { padding: 5px }

.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 }

.ProgressContainer {
  width: 100%;
  height: 60px;
  background-color: lightgrey
}
.ProgressBar {
  z-index: 1;
  width: 0%;
  height: 100%;
  background-color: lightgreen
}
.ProgressBarText {
  z-index:2;
  height: 100%;
  margin-top: -47px;
  color: white;
  text-align: center
}

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


  .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, #refreshButtonOk {
  position: relative;
  padding: 20px 35px;
  margin-bottom: 15px;
  font-size: 7.5vw;
  text-align: center;
  text-decoration: none;
  color: black;
  border-radius: 5px;
}
#refreshButton {
  display: inline-block;
  cursor: not-allowed;
  background-color: #e7e7e7;
}
#refreshButtonOk {
  display: none;
  cursor: pointer;
  background: #79d2a6 url("https://www.iotafree.com/pc/css/icon/refresh_icon.gif") no-repeat center left;
  padding-left: 11%;
  background-size: 15% 70%;
}
a:hover #refreshButtonOk {
  background-color: #66ffb5;
 }
a:active #refreshButtonOk  {
  background: #6de20d url("https://www.iotafree.com/pc/css/icon/refresh_iconHover.gif") no-repeat center left;
  padding-left: 11%;
  background-size: 15% 70%;
 }

/****************************/
/* 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: 4vw;
    }
    #copy a:hover {
         text-decoration: underline;
         color: red;
    }



  #iotaLogo {
    float: left;
    position: relative;
    margin-right: 10px;

    width: 12em;
    height: 12em;

    background:  url("https://www.iotafree.com/pc/css/icon/iota_mini.gif") no-repeat center;
    background-size: 90% 90%;

    border: 10px solid black;
    border-radius: 20px;
  }
  #twitter,   #facebook {
    float: right;
    position: relative;
    width: 4em;
    height: 5em;
    margin-left: 2%;
    border-radius: 10px;
    border: 5px 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 **************/
@media screen and (max-width:640px) {
  #win,  #lost{
     display: none;
     opacity: 0;
     position: absolute;
     z-index: 15;
     width: 290px;
     height: 650px;
     margin-left: auto;
     margin-right: auto;
     right: 0px;
     left: 0px;
     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;
      }
      #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: grey;
  }
  #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; }

}


@media screen and (min-width:641px) {
#win, #lost {
   position: absolute;
   display: none;
   opacity: 0;
   right: 0px;
   left: 0px;
   z-index: 15;
   width: 600px;
   height: 500px;
   margin-left: auto;
   margin-right: auto;
   margin-top: 2%;
   background-color: white;
   border: 15px solid white;
   border-radius: 15px;
}
#winBand, #lostBand {
  z-index: 16;
  margin: 0px;
  color: white;
  padding-top: 10px;
  padding-left: 10px;
  top: 0px;
  height: 30%;
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}
#winBand {  background-color: #6ed19a; }
#lostBand { background-color: #ef9781; }

    #winBand h1, #lostBand h1 {
      float: right;
      text-align: center;
      width: 320px;
     }
     #winBand h1 {
       color: white;
       font-size: 40px;
      }
      #lostBand h1 {
         color: #443430;
         font-size: 30px;
      }
#winBottom {
   padding: 5px;
   margin: 0px;
   height: 65%;
   color: white;
   background-color: #ddd;
}
#winValue {  margin-top: 8px; }
#lostValue {  margin-top: 35px; }
   #winValue, #lostValue {
     float: right;
     margin-right: 0px;
     background-color: white;
     border-top-left-radius: 15px;
     border-bottom-left-radius: 15px;
   }
   #winValue h1, #lostValue h1 { font-size: 30px; }
   #winValue h1 { color: green; }
   #lostValue h1 {  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 {
  top: 45%;
  margin-left: auto;
  margin-right: auto;
  clear: both;
  display: table;
  position: relative;
  vertical-align: bottom;
  text-align: center;
  text-decoration: none;
  padding: 15px 25px;
  font-size: 40px;
  background-color: #79d2a6;
  border-radius: 8px;
  color: black;
  }
  #winBottom a:hover {
  padding: 15px 25px;
  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;
         }
