* {
    -webkit-tap-highlight-color: yellow;
    overflow: hidden
}
html,
body {
    min-height: 100% !important;
    height: 100%;
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
    -webkit-user-select: none;
    height: 100%;
    width: 100%;
    font-size: 100%;
    height: 100%
    padding:0px;
    margin:0px;
    background:#ff6251;
/*    background:#FDD835;*/

/*    background : rgba(0, 31, 63, .8);*/
}

@font-face {
    font-family:'BIG_JOHN';
    src: url('BIG_JOHN.otf');
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family:'cocogoose';
    src: url('cocogoose.ttf');
    font-weight: normal;
    font-style: normal
}

/* @font-face {
    font-family:'bubble';
    src: url('Double_Bubble_shadow.otf');
    font-weight: normal;
    font-style: normal;
} */

@font-face {
    font-family:'skia';
    src: url('skia.ttf');
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family:'digital-7';
    src: url('digital-7-mono.ttf');
    font-weight: normal;
    font-style: normal
}


#homepage{
    width:100%;
    height:100%;
    z-index: 0;
    background-size:cover;
    position:absolute;
}
#homepage .blurred-background,#playground .blurred-background{
    width:108%;
    height:108%;
    /* background:url(../images/icon.png) ; */
    margin:-15px -10px -10px -15px;
    z-index: 0;
    background-size:cover;
    position:absolute;
}

#hp-container{
    position:absolute;
    width:100%;
    height:100%;
/*    top:50%;*/
    z-index:1;
    background:#ff6251;
}


#homepage .top{
    width:100%;
    height:15%;
}

#homepage .mid{
    width:100%;
    height:70%;
}

#homepage .bot{
    width:100%;
    height:15%;
}


#homepage .mid .home-button{
    /*color:#1a237e;*/
    position: absolute;
    width:70%;
    /* height:80%; */
    top: 40%;
    left: 11%;
    color:#ffeb3b;
    text-align:center;
    font-weight:bolder;
    font-size:370%;
    padding:auto !important;
    font-family:'cocogoose';
    border-radius:1.5%;
    margin:auto;
    margin-bottom:2%;
    display:flex;
    align-items: center; /* Vertical center alignment */
    justify-content: center; /* Horizontal center alignment */
    text-shadow: 4px 4px 0 #fff, 4px -4px 0 #fff, -4px 4px 0 #fff, -4px -4px 0 #fff, 4px 0px 0 #fff, 0px 4px 0 #fff, -4px 0px 0 #fff, 0px -4px 0 #fff;
}

#homepage .mid .home-button:active{
/*  background:rgba(255, 220, 0, .5);*/
    color:#009F75 !important;
}

#homepage .home-cockpit{
    font-family:verdana;
    position:absolute;
    top: 53%;
    left: 13%;
    width: 70%;
    text-align: center;
    color:#ff869b;
    font-weight: 700;
    text-shadow: 2px 2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, -2px -2px 0 #fff, 2px 0px 0 #fff, 0px 2px 0 #fff, -2px 0px 0 #fff, 0px -2px 0 #fff;
  }

#playground{
    width:100%;
    height:100%;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 0;
    display:none;
/*    font-family:'BIG_JOHN';*/
}

#pg-container{
    width:100%;
    height:100%;
    position: fixed;
    left: 0;
    right: 0;
    z-index: 0;
    /* background:rgba(0, 0, 0, 0.85); */
    /* background:rgba(33, 150, 243, 0.23);     */
    /*display:none;*/
}

#top{
    width:99.5%;
    height: 11%;
    margin:auto;
    padding-left:2%;
    display:flex;
    align-items: center; /* Vertical center alignment */
    justify-content: center; /* Horizontal center alignment */
}

#top .cockpit{
  float:left;
  width:75%;
  height:97%;
  text-align:l;
  /* border:1px dashed white; */
  display:flex;
  align-items: center; /* Vertical center alignment */
  justify-content: left; /* Horizontal center alignment */

}
#top .countdown-quitsession-box{
    width:34%;
}


#top .quit-session{
  position: absolute;
  right: 0%;
  top: 1%;
  color:orange;
  font-size:100%;
  font-weight:bold;
/*    border:1px solid rgba(0,0,0,.2); */
/*    border:1px solid orange; */
  width:22px;
  height:22px;
  border-radius:50%;
  margin-left:52%;
/*    line-height:20px;*/
  text-shadow: 1px 1px -1px #7FDBFF;
  display:flex;
  align-items: center; /* Vertical center alignment */
  justify-content: center; /* Horizontal center alignment */
  float:left;
}

#top .quit-session:active{background:orange;}


#top .evolution-box{
    /* color:#7FDBFF; */
}

#top .level, #top .steps{
    float:left;
}

#top .level{
  position: absolute;
  top: 10px;
  /* width: 40px; */
  height: 17px;
  font-size: 1.1rem;
  border-radius: 5px;
  padding: 5px;
  font-weight: 800;
  /* color: #00000080; */
  border: 1px solid rgba(0,0,0,.1);
  /* border-radius: 50%; */
  margin-right: 4%;
  /* color: transparent; */
  /* background: #c8e7c947; */
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: sans-serif;
  text-shadow: 2px 2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, -2px -2px 0 #fff, 2px 0px 0 #fff, 0px 2px 0 #fff, -2px 0px 0 #fff, 0px -2px 0 #fff, 1px 1px 1px;
}
#top .steps{
    width:75%;
}

#top .steps .step{
    width:15px;
    height:15px;
    border-radius:50%;
    float:left;
}


#top .steps .step{
    border:2px solid rgba(127, 219, 255, .8);
    margin-right:1px;
}

.cockpit .steps .step-active{
    background:rgba(127, 219, 255, .9);
}

.cockpit .steps .step-active-current{
    background:rgba(127, 219, 255, .4);
}

#top .animation-box{
    width:55%;
    font-size:120%;
    height:100%;
    /* text-shadow : 1px 1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, -1px -1px 0 #fff, 1px 0px 0 #fff, 0px 1px 0 #fff, -1px 0px 0 #fff, 0px -1px 0 #fff, 2px 1px 11px #82c341 !important */
    text-shadow: 2px 2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, -2px -2px 0 #fff, 2px 0px 0 #fff, 0px 2px 0 #fff, -2px 0px 0 #fff, 0px -2px 0 #fff, 1px 1px 2px;

}

#top .animation-box .toast-nthLetter-reveal-ko{
    text-shadow: 2px 2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, -2px -2px 0 #fff, 2px 0px 0 #fff, 0px 2px 0 #fff, -2px 0px 0 #FFF, 0px -2px 0 #fff;
}

#top .animation-box span{
    font-size:120%;
    color : #ffc0cb !important;
    padding :4px;
}

#top .animation-box .toast-points.points-word-bad{
  /* border : 1px solid #FAA31B; */
  /* border-radius : 50%; */
  color : purple !import;
}

#top .animation-box .points-bonus{
  /* border : 1px solid #FAA31B; */
  /* border-radius : 50%; */
    color : #009688 !important;
    font-family: verdana;
}

#top .animation-box .toast-bonus{
    color : #FF9800 !important;
    font-family: verdana;
}


#top .animation-box-dynamic .top{
  position: absolute;
  /* border: 1px dashed #ffc0cb; */
  width: 83%;
  height: 14%;
  top: 1%;
  left: 8%;
  display:flex;
  align-items: center; /* Vertical center alignment */
  justify-content: center; /* Horizontal center alignment */
}

#top .animation-box-dynamic .top .toast-message{
  /* text-shadow : 1px 1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, -1px -1px 0 #fff, 1px 0px 0 #fff, 0px 1px 0 #fff, -1px 0px 0 #fff, 0px -1px 0 #fff, 2px 1px 11px #82c341 !important */
  text-shadow: -1px 1px 0 #fff, 1px 0px 0 #FFf, 0px 1px 0 #fff, 0px 0px 0 #fff, 1px 0px 0 #fff, 0px 0px 0 #fff, 0px 0px 0 #fff, 0px 1px 0 #fff, 0px 0px 0px !important;
  /* font-family: bubble; */
  font-size: 120%;
  /* width: 100% !important;
  position: absolute;
  left: 50%;
  top: 40%; */
  top: 20%;
  position:absolute;
  height:80%;
  width:40%;
}

#top .animation-box-dynamic .middle{
  position: absolute;
  /* border: 1px dashed #ffc0cb; */
  width: 54%;
  height: 10%;
  top: 0%;
  right: 10%;
  /* display:flex; */
  align-items: center; /* Vertical center alignment */
  justify-content: center; /* Horizontal center alignment */
  font-family: monospace;
  font-size: small;
  padding: 4px;
}

#top .animation-box-dynamic .bottom{
  font-family: monospace;
  font-size: small;
  padding: 4px;
}

#top .animation-box-dynamic .bottom .flying-message{
  display:none;
  position: absolute;
  top: 40%;
  left:170%;
  z-index: 1000000;
  width: 70%;
  font-family:big_john !important;
  font-size: 190%;
  font-weight: bold;
  color: #ff6251;
  text-shadow:-3px -1px #fff, 3px 0px 0 #FFf, 0px 3px 0 #fff, 0px 0px 0 #fff, 3px 0px 0 #fff, 0px 0px 0 #fff, 0px 0px 0 #fff, 0px 4px 0 #fff;
  text-align: center;
}


#top .animation-box-dynamic .middle .help-message{
  color: #ffffffbf!important;
  position: relative;
  font-size: x-small;
  float: right;
  top: 7%;
}

#top .animation-box-dynamic .middle .help-icon{
  font-size: small;
  color: #fff;
  /* background: #9addfb; */
  font-style: normal;
  border: .80px solid #ffffff6e;
  text-align: right;
  border-radius: 50px;
  display: flex;
  width: 15px;
  justify-content: center;
  float: left;
  margin-right: 4px;
}

#middle{
    height: 89.5%;
    width:99.5%;
}

#middle-left{
    margin:0.25% 0.125% 0.25% 0.25%;
    /*background : rgba(0,0,0,.1);*/
    /* float:right; */
}
#middle-right{
    margin:0% 0.25% 0.25% 0.125%;
    /*background : rgba(0,0,0,.1);*/
    padding: 1%;
    float:right;
    display:flex;
}

@media only screen and (orientation : portrait) {
    #middle-right.play-block{
        /* height:36% !important; */
        width:98% !important;
        float:right;
        /*border:1px dashed green !important;*/
        display:flex;
        align-items: center; /* Vertical center alignment */
        justify-content: center; /* Horizontal center alignment */

    }

    #middle-left.play-block{
        /* height:68% !important; */
        width:100% !important;
        float:right;
        /*border:1px dashed green !important;*/
    }

    .level-text{
        display:none;
    }
    .level-text-p{
        display:inline;
    }
    .level-num-point{
        display:inline;
    }
}

@media only screen
and (orientation : landscape) {
    .play-block{
        height: 98%;
        width : 48.1%;
        float : left;
        /*border:1px dashed green !important;*/
    }
/*    #middle-left.play-block{*/
/*            width : 55.1%;*/
/*    }*/
/*    #middle-right.play-block{*/
/*            width : 43.1%;*/
/*    }*/

    .level-text{
        display:inline;
    }
    .level-text-p{
        display:none;
    }
    .level-num-point{
        display:none;
    }
}

#ml-possible-letters{
    height:90%;width:90%;
    margin:auto;
    font-family:'cocogoose';
    /* Alignement des items*/
}

#bottom{
    width:99.5%;
    height: .5%;
    margin:auto;
    padding-left:40%;
    /*border-top:2px dashed yellow;*/
}

#bottom .extension{
    float:left;
    width:20%;
    height:10%;
/*    border:1px solid rgba(0,0,0,.2);*/
    /*background-color:rgba(0, 116, 217, .8);*/
    font-family:'skia';
    border-radius:20px;
    /*font-style:italic;*/
    padding-top:2.5px;
    padding-bottom:2.5px;
    left:55%;
    color:/*#7FDBFF*//*#88C6ED*/rgba(1,1,1,.5);
    position:absolute;
    bottom:0%;
    font-size:85%;
    font-weight:800;
    display:flex;
    align-items: center; /* Vertical center alignment */
    justify-content: center; /* Horizontal center alignment */
    text-shadow: 2px 2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, -2px -2px 0 #fff, 2px 0px 0 #fff, 0px 2px 0 #fff, -2px 0px 0 #fff, 0px -2px 0 #fff, 1px 1px 2px !important;

}

#bottom .extension:active{
/*    text-shadow:4px 4px gold;*/
color:orange;
}


#bottom .extension.credit{
    font-family:'digital-7';
    font-size:275%;
    left:70%;
    text-shadow: 0 1px 2px rgba(0,0,0,0.19);
}

#bottom .extension.nextstep-message{
    display:none;
    font-size:275%;
    left:1%;
    bottom:1%;
    width:98%;
    height:50%;
    font-family:'BIG_JOHN';
    text-shadow: 0 1px 2px rgba(0,0,0,0.19);
    text-align: center;
    background: #FFEB3B !important;
    /* background: linear-gradient(to right bottom, #FFEB3B, #FF7043)!important; */
    border-radius: 150px;
    box-shadow:-4px 3px 27px 4px #fff;
}

#bottom .extension.nextstep-message .nextstep-message-container{
  position: absolute;
  top: 1%;
  left: 4%;
  width: 96%;
  height: 100%;
  display: table;
  z-index: 10000000000;
}
#bottom .extension.nextstep-message .nextstep-message-container-child-1{
  display: table-cell;
  vertical-align: middle;
  padding-top: 0.1rem;
}

#bottom .extension.nextstep-message .nextstep-message-container-child-1 .label-num-container{
  position: relative;
  left: -4%;
  width: 100%;
}

#bottom .info-container{
  font-size: xx-small;
  font-family: verd;
  color: #1a237e;
  padding: .2rem;
}

#bottom .info-container .info-icon{
  padding: 0px;
  /* border: 1px solid #ff5722; */
  border-radius: 50px;
  margin: 2px;
  text-align: right;
  font-size: large;
  color: #fd5d35;
  font-style: normal;
}


#bottom .extension.nextstep-message .nextstep-message-container .level-label,
#bottom .extension.nextstep-message .nextstep-message-container .level-num {
  text-shadow: 2px 2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, -2px -2px 0 #fff, 2px 0px 0 #fff, 0px 2px 0 #fff, -2px 0px 0 #fff, 0px -2px 0 #fff, 1px 1px 2px;
}

/* #bottom .extension.nextstep-message .nextstep-message-item{
  display: table-cell;
  vertical-align: middle;
} */

#bottom .nextstep-message .start-nextstep-manually{
     /* text-shadow: 0 0px 4px rgba(255,255,255,0.58); */
     padding-top: 4px;
     padding-bottom: 4px;
     color:#fd5d35;
     text-shadow: 4px 4px 0 #fff, 4px -4px 0 #fff, -4px 4px 0 #fff, -4px -4px 0 #fff, 4px 0px 0 #fff, 0px 4px 0 #fff, -4px 0px 0 #fff, 0px -4px 0 #fff;
     padding-left:4%;
     position: relative;
     left: -2%;
}

#bottom .nextstep-message .start-nextstep-manually:active{
    color: rgba(255,255,255,0.58);
}

/* #bottom .countdown-icon{
    left:8%;
    font-family:times;
} */
#bottom .countdown-box{
    color:#7FDBFF;
    font-size:275%;
    font-family:'digital-7';
    font-weight:bold;
    /*    border:1px solid rgba(0,0,0,.2);*/
    width:45%;
    height:11%;
    left:0%;
    /* border-radius:50%; */
/*    text-shadow: 1px 1px -1px #7FDBFF;*/
    text-shadow: 0 1px 2px rgba(0,0,0,0.19);
    /* float:left;*/
    /* display:flex;*/ /* Flex utility */
    /* align-items: center;*/ /* Vertical center alignment */
    /* justify-content: center;*/ /* Horizontal center alignment */

}

#bottom .countdown-box .item{
  height:100%;
  /* border: 1px solid green; */
  display:flex; /* Flex utility */
  align-items: center; /* Vertical center alignment */
  justify-content: center; /* Horizontal center alignment */
  /* padding: 5px 5px;  */
}

#bottom .countdown-box .icon{
  padding-left: 4px;
  padding-right: 4px;
}

#bottom .countdown-box .time{
  padding-left: 5px;
  padding-right: 5px;
}


#bottom .extension.restart:active{
}

#bottom .extension.first-letter_{
    font-weight:normal;
    font-style:italic;
    left:30%;
}

#bottom .extension.second-letter{
    font-weight:normal;
    font-style:italic;
    left:42%;
}

#bottom .extension.valids-letter{
    font-weight:normal;
    font-style:italic;
    left:54%;
}

/*#bottom .count-down-icon{*/
/*    position:absolute;*/
/*    left:14%;*/
/*}*/

#bottom .gameOver-container{
    display:none;
    position: absolute;
    left: 1%;
    bottom:1%;
    width:98%;
    height:50%;
    background: #fd5d35;
    /* background: linear-gradient(to right bottom, #880E4F, #FF7043); */
    border-radius: 150px;
    z-index:100000000;
    box-shadow: -4px 3px 27px 4px #fff;
}

#bottom .gameOver-container-child-0{
  color: #81d4facc;
  text-shadow: rgba(129, 212, 250, 0.4) 1px 0px 1px;
  position: absolute;
  top: 1%;
  left: 4%;
  width: 96%;
  height: 100%;
  display: table;
}

#bottom .gameOver-container-child-1{
  display: table-cell;
  vertical-align: middle;
  padding-top: 0.1rem;
}

#bottom .extension .gameOver{
  position: relative;
  width: 90%;
  height: 15%;
  /* display: none; */
  /* bottom: 61%; */
  left: -9%;
  font-size: 200%;
  font-weight: bold;
  font-family: 'cocogoose' !important;
  color: #7f3131 !important;
  text-shadow: 2px 2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, -2px -2px 0 #fff, 2px 0px 0 #fff, 0px 2px 0 #fff, -2px 0px 0 #fff, 0px -2px 0 #fff, 1px 1px 2px !important;
}

#bottom .extension.restart{
  width: 76%;
  position: relative;
  height: 15%;
  /* bottom: 36%; */
  left: 15%;
  font-size: 200%;
  font-weight: bold;
  font-family: 'cocogoose';
  color: #fd5d35 !important;
  /* text-decoration: blink; */
  /* text-shadow: 0 1px 2px rgba(0,0,0,0.19); */
  text-shadow: 4px 4px 0 #fff, 4px -4px 0 #fff, -4px 4px 0 #fff, -4px -4px 0 #fff, 4px 0px 0 #fff, 0px 4px 0 #fff, -4px 0px 0 #fff, 0px -4px 0 #fff;
  /* border: 1px dashed #ff0; */
  /* background: #ffff001a; */
  border-radius: 4%;
  /* display: none; */
  text-align: center;
  margin-top: 1%;
  padding-top: 4px;
  padding-bottom: 4px;
}

#bottom .extension .gameOver.congratulation-message{
  color : #FFEB3B !important;
}

#bottom .gameOver-container .info-container{
  position: relative;
  top: 20%;
  left: 14%;
  text-shadow:1px 1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, -1px -1px 0 #fff, 1px 0px 0 #fff, 0px 1px 0 #fff, -1px 0px 0 #fff, 0px -1px 0 #fff !important;
}

#bottom .gameOver-container .info-container .info-icon{
  color:#ffeb3b;
}


/* #bottom .gameOver-container .info-container .info-label{
  color: #fff;
} */

#bottom .extension:active{
  color:orange;
    /*font-size:200%;*/
/*    background-color:rgba(213, 71, 153, .2);*/
}

#homepage .virtual-element-digital-7{
  /* display:none; */
  font-family: 'digital-7' !important;
}

.extension .badge{
    border-radius: 50%;
    width: 17px;
    height: 17px;
    font-size: 10px;
/*    border: 1px solid #666;*/
    display:flex;
    align-items: center; /* Vertical center alignment */
    justify-content: center; /* Horizontal center alignment */
    position:relative;
    bottom:1.5px;
    right:-2px;
    background:orange;
    color:#000;

}
.extension .badge span {
    text-align: center;
    line-height: 14px;
    display: block;
}

#bottom .start-screen{
  display: none;
  position: absolute;
  top: 4%;
  top: 4%;
}

#bottom .elevator-buttons{
  position: absolute;
  font-size: 4em;
  color: #0ff;
  bottom: 27%;
  right: 0%;
  font-family: monospace;
  font-weight: bolder;
  margin-right: 4px;
}

#bottom .elevator-buttons .elevator-item{
  display: none;
  color: #FFA726;
  text-shadow: 3px 3px 0 #fff, 3px -3px 0 #fff, -3px 3px 0 #fff, -3px -3px 0 #fff, 3px 0px 0 #fff, 0px 3px 0 #fff, -3px 0px 0 #fff, 0px -3px 0 #fff;
}

/* #bottom .elevator-buttons .elevator-top{
  display: none;
} */
/* ISOTOPE */
.grid{
    width: 100% !important;
    /* height: 100% !important; */
    /* padding-left:.5em; */
    /* padding-right:.5em; */
    padding-bottom: 28%;
    margin:auto !important;
    margin-top: 2% !important;
    display:flex;
    align-items: center; /* Vertical center alignment */
    justify-content: center; /* Horizontal center alignment */
    left:.5%;
}
.grid-item {
    position: relative;
    float: left;
    padding: 1rem;
    /*background: #888;*/
    color: white;
    text-transform:uppercase;
    /*background: #F00; background: hsl(   0, 100%, 50%);*/
/*    border :1px solid rgba(0,0,0,.1);*/
    font-size:140%;
    font-weight:bold;
    font-family:'cocogoose';
    text-align:center;
    display:flex;
    align-items: center; /* Vertical center alignment */
    justify-content: center; /* Horizontal center alignment */
}

.is-showing-items .grid-item {
    opacity: 1; /* reveal when ready */
}

.grid .grid-item {
  background : rgba(57, 75, 160, 1);
  border-radius:50%;
  width:50px;
  height: 50px;
  text-shadow: 2px 2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, -2px -2px 0 #fff, 2px 0px 0 #fff, 0px 2px 0 #fff, -2px 0px 0 #fff, 0px -2px 0 #fff, 1px 1px 2px;
}

.grid .grid-item:active{
/*    background : rgba(255, 220, 0, .2) !important;*/
/*    opacity:.1 !important;*/
}


.grid-item-selected{
    border:1px solid rgba(255, 220, 0, .7);
}

.grid2{
    width: 100%;
    height: 100%;
    margin-left:auto !important;
    /* padding:auto !important; */
    left: .2rem;
}

.grid2 .grid-item {
    position: relative;
    float: left;
    /* width: 9.1rem; */
    height: 35px;
    margin-bottom: 2px !important;
    padding:1% 1.8% 4% 1.8%;
    color: white;
    background: none;
    border-radius: 20px;
    font-size:145%;
    font-weight:bold;
    text-align:center;
    vertical-align:center;
}


.grid2 .toast-message{
  /* text-shadow : 1px 1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, -1px -1px 0 #fff, 1px 0px 0 #fff, 0px 1px 0 #fff, -1px 0px 0 #fff, 0px -1px 0 #fff, 2px 1px 11px #82c341 !important */
  text-shadow: 4px 4px 0 #fff, 4px -4px 0 #fff, -4px 4px 0 #fff, -4px -4px 0 #fff, 4px 0px 0 #fff, 0px 4px 0 #fff, -4px 0px 0 #fff, 0px -4px 0 #fff, 1px 1px 2px;

  font-family: verdana;
  font-size: 175%;
  /* width: 100% !important;
  position: absolute;
  left: 50%;
  top: 40%; */
  /* top: 20%; */
  position:fixed !important;
  /* height:80%; */
  /* width:40%; */
  padding: 1%;
}

/*Iphone 5 */
@media only screen and (min-device-width: 320px) and (max-device-width: 568px) and (orientation : landscape){
/*    .grid2 .grid-item{width: 127px;}*/
 .grid2 .grid-item {width: 45%;}
}

/*Iphone 6*/
@media only screen
and (min-device-width : 375px)
and (max-device-width : 667px)
and (orientation : portrait) { /* STYLES GO HERE */
/*    .grid2 .grid-item {width: 145px;}*/
 .grid2 .grid-item {width: 45%;}
}
/*Iphone 6Plus*/
@media only screen
and (min-device-width : 414px)
and (max-device-width : 736px) { /* STYLES GO HERE */
/*    .grid2 .grid-item {width: 145px;}*/
    .grid2 .grid-item {width: 45%;}
}

@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
/*and (orientation : landscape)*/
and (-webkit-min-device-pixel-ratio: 2)
{
/* STYLES GO HERE */
/*    .grid2 .grid-item {width: 180px;}*/
 .grid2 .grid-item {width: 45%;}
}

.grid2 .grid-item .letter{
    float: left;
    width: 1.8rem;
/*     border:2px dotted rgba(127, 219, 255,.35); */
	  /* border : 2px dashed rgba(255, 220, 0, .7); */
    color:rgba(255, 193, 7, 1);
/*    border-bottom : 2px solid rgba(255, 193, 7, 1);*/
    margin:2px;
    padding: .25rem;
    /* padding-left: .25rem; */
    /* padding-right: .25rem; */
/*    border-radius:40%;*/
    display:flex;
    /* font-family: 'BIG_JOHN'; */
    align-items: center;
    justify-content: center;
    text-shadow: 2px 2px 0 #fff, 2px -2px 0 #fff, -2px 2px 0 #fff, -2px -2px 0 #fff, 2px 0px 0 #fff, 0px 2px 0 #fff, -2px 0px 0 #fff, 0px -2px 0 #fff, 1px 1px 2px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    border-bottom-width: 6px;
    border-bottom-style: solid;
}

/* clear fix */
.grid:after {
    content: '';
    display: block;
    clear: both;
}

/*CUSTOM POPUP SPECIALLY CREATED FOR THE CURRENT APP*/
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    /* padding-top: 100px; /* Location of the box */ */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
/*    background-color: rgb(255, 255, 255); */
/*    background-color: rgba(255, 255, 255, .1);*/
}

/* Modal Content */
.modal-content {
    text-align:center;
    position: relative;
    text-shadow: 0 1px 2px rgba(0,0,0,0.19);
    font-family:'cocogoose';
    font-weight:bold;
    font-size:250%;
/*    color:white;*/
   /* background-color: #fefefe; */
    margin: auto;
    padding: 0;
    /*border: 1px solid #888;*/
    width: auto;
    height: 100%;
    /* padding-bottom:2%; */
    /*box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);*/
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}

/* The Close Button */
.modal .close {
    color: #ffc000;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal .close:hover,
.modal .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal .modal-header {
    /* padding: 2px 0px; */
    /*background-color: #5cb85c;*/
    color: #ffc000;
    text-align: right;
}

.modal-body {
    min-height: 100%;
    height: 100%;
    /* padding: 2px 2px; */
    /* margin-bottom:5%; */
    font-size: 58%;
    text-shadow: none !important;
    /* We first create a flex layout context */
    display: flex;

    /* Then we define the flow direction
       and if we allow the items to wrap
     * Remember this is the same as:
     * flex-direction: row;
     * flex-wrap: wrap;
     */
    flex-flow: row wrap;

    /* Then we define how is distributed the remaining space */
    justify-content: space-around;
    align-items: center;
    justify-content: center;
  }

.modal-body img{
    position:relative;
    /* top:10%; */
    /* left:40%; */
    width: 100%;
    height: 100%;
  }

  @media screen and (min-width: 612px) { /* Specific to this particular image */
    .modal-body img {
      width: 612px;
      /* height: 1821px; */
    }
  }

.modal-footer {
    /* padding: 2px 16px; */
    /*background-color: #5cb85c;*/
    color: #ffeb3b;
    position: absolute;
    bottom: 0;
    font-size: 30%;
    text-align: center;
    width: 100%;
}


.tooltip{z-index:101010000;display:none;position:absolute;width:250px;height:200px;left:0;bottom:-20;}
.tooltip:before {
    position: absolute;
    z-index:1010100000;
    content: attr(data-tooltip);
    width: 50%;
    padding: 14px 14px;
    margin: 8px 0 0 0px;
    background: orange;
    color: white;
    border-radius: 3px;
    font-size:10px;
    /* overflow:scroll; */
}

.tooltip:after {
    z-index:101010;
    content: '';
    position: absolute;
    margin: 0px 0 0 0px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-right: 10px solid orange;
    border-bottom: 5px solid transparent;
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
}


/* Loaders */

.loader {
   width:50px;
   height:50px;
   display:inline-block;
   padding:0px;
   opacity:0.5;
   border:3px solid #09acfd;
   -webkit-animation: loader 1s ease-in-out infinite alternate;
   animation: loader 1s ease-in-out infinite alternate;
}

.loader:before {
  content: " ";
  position: absolute;
  z-index: -1;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: 3px solid #09acfd;
}

.loader:after {
  content: " ";
  position: absolute;
  z-index: -1;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 3px solid #09acfd;
}

@keyframes loader {
   from {transform: rotate(0deg) scale(1,1);border-radius:0px;}
   to {transform: rotate(360deg) scale(0, 0);border-radius:50px;}
}
@-webkit-keyframes loader {
   from {-webkit-transform: rotate(0deg) scale(1, 1);border-radius:0px;}
   to {-webkit-transform: rotate(360deg) scale(0,0 );border-radius:50px;}
}

.loader1 {
   display:inline-block;
   font-size:0px;
   padding:0px;
}
.loader1 span {
   vertical-align:middle;
   border-radius:100%;

   display:inline-block;
   width:25px;
   height:25px;
   margin:3px 2px;
   -webkit-animation:loader1 0.8s linear infinite alternate;
   animation:loader1 0.8s linear infinite alternate;
}
.loader1 span:nth-child(1) {
   -webkit-animation-delay:-1s;
   animation-delay:-1s;
  background:rgba(9, 172, 253,0.6);
}
.loader1 span:nth-child(2) {
   -webkit-animation-delay:-0.8s;
   animation-delay:-0.8s;
  background:rgba(9, 172, 253,0.8);
}
.loader1 span:nth-child(3) {
   -webkit-animation-delay:-0.26666s;
   animation-delay:-0.26666s;
  background:rgba(9, 172, 253,1);
}
.loader1 span:nth-child(4) {
   -webkit-animation-delay:-0.8s;
   animation-delay:-0.8s;
  background:rgba(9, 172, 253,0.8);

}
.loader1 span:nth-child(5) {
   -webkit-animation-delay:-1s;
   animation-delay:-1s;
  background:rgba(9, 172, 253,0.4);
}

@keyframes loader1 {
   from {transform: scale(0, 0);}
   to {transform: scale(1, 1);}
}
@-webkit-keyframes loader1 {
   from {-webkit-transform: scale(0, 0);}
   to {-webkit-transform: scale(1, 1);}
}

.loader2 {
   width:25px;
   height:25px;
   display:inline-block;
   padding:0px;
   border-radius:100%;
   border:5px solid;
   border-top-color:rgba(254, 168, 23, 0.65);
   border-bottom-color:rgba(57, 154, 219, 0.65);
   border-left-color:rgba(188, 84, 93, 0.95);
   border-right-color:rgba(137, 188, 79, 0.95);
   -webkit-animation: loader2 2s ease-in-out infinite alternate;
   animation: loader2 2s ease-in-out infinite alternate;
}
@keyframes loader2 {
   from {transform: rotate(0deg);}
   to {transform: rotate(720deg);}
}
@-webkit-keyframes loader2 {
   from {-webkit-transform: rotate(0deg);}
   to {-webkit-transform: rotate(720deg);}
}

.loader3 {
   width:50px;
   height:50px;
   display:inline-block;
   padding:0px;
   text-align:left;
}
.loader3 span {
   position:absolute;
   display:inline-block;
   width:50px;
   height:50px;
   border-radius:100%;
   background:rgba(135, 211, 124,1);
   -webkit-animation:loader3 1.5s linear infinite;
   animation:loader3 1.5s linear infinite;
}
.loader3 span:last-child {
   animation-delay:-0.9s;
   -webkit-animation-delay:-0.9s;
}
@keyframes loader3 {
   0% {transform: scale(0, 0);opacity:0.8;}
   100% {transform: scale(1, 1);opacity:0;}
}
@-webkit-keyframes loader3 {
   0% {-webkit-transform: scale(0, 0);opacity:0.8;}
   100% {-webkit-transform: scale(1, 1);opacity:0;}
}

.loader4 {
   width:45px;
   height:45px;
   display:inline-block;
   padding:0px;
   border-radius:100%;
   border:5px solid;
   border-top-color:rgba(246, 36, 89, 1);
   border-bottom-color:rgba(255,255,255, 0.3);
   border-left-color:rgba(246, 36, 89, 1);
   border-right-color:rgba(255,255,255, 0.3);
   -webkit-animation: loader4 1s ease-in-out infinite;
   animation: loader4 1s ease-in-out infinite;
}
@keyframes loader4 {
   from {transform: rotate(0deg);}
   to {transform: rotate(360deg);}
}
@-webkit-keyframes loader4 {
   from {-webkit-transform: rotate(0deg);}
   to {-webkit-transform: rotate(360deg);}
}

.loader5 {
  display:inline-block;
  width: 0;
	height:0;
	border-left: 10px solid transparent;
	border-right: 10px solid transparent;
	border-bottom: 10px solid #4183D7;
  border-top: 10px solid #F5AB35;
   -webkit-animation: loader5 1.2s ease-in-out infinite alternate;
   animation: loader5 1.2s ease-in-out infinite alternate;
}

@keyframes loader5 {
   from {transform: rotate(0deg);}
   to {transform: rotate(720deg);}
}
@-webkit-keyframes loader5 {
   from {-webkit-transform: rotate(0deg);}
   to {-webkit-transform: rotate(720deg);}
}

.loader6 {
  display:inline-block;
  width: 20px;
	height:20px;
	border-left: 2px solid transparent;
	border-right: 2px solid transparent;
	border-bottom: 2px solid #D24D57;
  border-top: 2px solid #D24D57;
  -webkit-animation: loader6 1.8s ease-in-out infinite alternate;
  animation: loader6 1.8s ease-in-out infinite alternate;
}

.loader6:before {
  content: " ";
  position: absolute;
  z-index: -1;
  top: 5px;
  left: 0px;
  right: 0px;
  bottom: 5px;
  border-left: 2px solid #D24D57;
  border-right: 2px solid #D24D57;
}

@keyframes loader6 {
   from {transform: rotate(0deg);}
   to {transform: rotate(720deg);}
}
@-webkit-keyframes loader6 {
   from {-webkit-transform: rotate(0deg);}
   to {-webkit-transform: rotate(720deg);}
}


.loader7 {
  display:inline-block;
   width: 30px;
   height: 4px;
   background:#BE90D4;
    -webkit-animation: loader7 1.5s linear infinite;
  animation: loader7 1.5s linear infinite;
}


@keyframes loader7 {
   from {transform: rotate(0deg);}
  to {transform: rotate(720deg);}
}
@-webkit-keyframes loader7 {
   from {-webkit-transform: rotate(0deg);}
  to {-webkit-transform: rotate(720deg);}
}
.loader8 {
  display:inline-block;
    background: rgba(247, 202, 24,0.6);
    width: 30px;
    height: 30px;
    position: relative;
    text-align: center;

    -webkit-transform: rotate(20deg);
       -moz-transform: rotate(20deg);
        -ms-transform: rotate(20deg);
         -o-transform: rotate(20eg);
      -webkit-animation: loader7 3s linear infinite;
  animation: loader7 3s linear infinite;
}
.loader8:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 30px;
    width: 30px;
    background: rgba(247, 202, 24,0.5);
    -webkit-transform: rotate(135deg);
       -moz-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
         -o-transform: rotate(135deg);
}

.loader9 {
  display:inline-block;
    position: relative;
    width: 50px;
    height: 50px;
  -webkit-animation:loader9 1.5s linear infinite;
   animation:loader9 1.5s linear infinite;
}
.loader9:before,
.loader9:after {
    position: absolute;
    content: "";
    left: 30px;
    top: 0;
    width: 30px;
    height: 50px;
    background: red;
    -moz-border-radius: 30px 30px 0 0;
    border-radius: 30px 30px 0 0;
    -webkit-transform: rotate(-45deg);
       -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
         -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
    -webkit-transform-origin: 0 100%;
       -moz-transform-origin: 0 100%;
        -ms-transform-origin: 0 100%;
         -o-transform-origin: 0 100%;
            transform-origin: 0 100%;
}
.loader9:after {
    left: 0;
    -webkit-transform: rotate(45deg);
       -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
         -o-transform: rotate(45deg);
            transform: rotate(45deg);
    -webkit-transform-origin: 100% 100%;
       -moz-transform-origin: 100% 100%;
        -ms-transform-origin: 100% 100%;
         -o-transform-origin: 100% 100%;
            transform-origin :100% 100%;
}

@keyframes loader9 {
   0% {transform: scale(0, 0);opacity:0;}
   100% {transform: scale(1, 1);opacity:1;}
}
@-webkit-keyframes loader9 {
   0% {-webkit-transform: scale(0, 0);opacity:0;}
   100% {-webkit-transform: scale(1, 1);opacity:1;}
}
