::-webkit-input-placeholder{color:#000}

:-moz-placeholder{color:#000;opacity:1}

::-moz-placeholder{color:#000;opacity:1}

:-ms-input-placeholder{color:#000}

@font-face {

  font-family: 'Coffee At Midnight';

  src: url(../fonts/CoffeeAtMidnightDemo.woff);

}

@font-face {

  font-family: 'DK Prince Frog';

  src: url(../fonts/DK-Prince-Frog.woff);

}
body {
    background-image: linear-gradient(to bottom, rgb(81, 163, 247) 0%, rgb(16, 48, 80) 9%);
    text-align: center;
}

/*body {*/
    /*background-image: linear-gradient(to bottom, rgb(173, 123, 57) 0%, rgb(252, 185, 85) 9%);*/
    /*text-align: center*/
/*}*/

ul.logo{padding:0 10px 0 0;cursor:pointer;margin-right:5px}

ul.logo h1{display:block;float:left;cursor: pointer;

    font: bold 30px/50px "Coffee At Midnight";

    padding-left: 5px;

    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.1);}

 ul.logo h1:first-letter{

    font-size: 35px;

    font-weight: bolder;

}

 a.logo span {

    color: #fff;

    font: bold 35px "DK Prince Frog",Arial;

    text-shadow: 1px 1px rgba(0, 0, 0, 0.5);

}

a.logo {

    margin-left: 5px;

}

.logo h1 a {
	font-size: 30px;
    color: rgba(0, 0, 0, 0.6);
    line-height: 50px;
    text-decoration: none;

}

.search-box{border-left:1px solid rgba(0, 0, 0, 0.1);box-shadow:-1px 0 rgba(255, 255, 255, 0.1);height:50px}

.search-box input {
    padding: 7px 10px;
    margin: 9px 8px 8px 10px;
    background: #9fc440 none repeat scroll 0 0;
    border: 1px solid rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 1px rgba(255, 255, 255, 0.8);
    outline: none;
    width: 180px;
}

.fav-box{height:50px;border-left:1px solid rgba(255, 255, 255, 0.1);box-shadow:-1px 0 rgba(0, 0, 0, 0.1);padding-left:10px;padding-right:10px}

.fav-box a{display:block;height:30px;margin:9px 0 10px;float:left;line-height:31px;text-decoration:none;color:#fff;border:1px solid rgb(131, 152, 77);border-left:0;font-size:12px;font-weight:700;font-family:Gotham,Helvetica,Arial,sans-serif,"Helvetica Neue";box-shadow:-1px 0 rgba(0, 0, 0, 0.3);padding:0 10px;transition:all 300ms linear}

.fav-box a:first-child{border-left:1px solid rgba(0, 0, 0, 0.4);box-shadow:none}

.fav-box a:not(.selected):hover{background:rgba(255, 255, 255, 0.5)}

.fav-box a.selected{background-color: green;}

.game-box, .advertising-box {
    background-image: -webkit-linear-gradient(bottom, #83984d 0%, #83984d 54%, #83984d 100%);
    float: left;
    margin: 10px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 3px;
    border: 1px solid #fff6e8;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.main ul:not(.advertising-box)::before, .main ul:not(.advertising-box)::after {
  box-sizing: border-box;
  content: '';
  position: absolute;
}
li::before, li::after {
  box-sizing: border-box;
  content: '';
  position: absolute;
}
.game-box{
  -webkit-transition: color 0.25s;
  transition: color 0.25s;
cursor:pointer
}
.game-box::before, .game-box::after {
  border: 3px solid transparent;
  width: 0;
  height: 0;
}
.game-box::before {
  top: 0;
  left: 0;
}
.game-box::after {
  bottom: 0;
  right: 0;
}
.game-box:hover {
  color: #FFF;
}
.game-box::before, .game-box::after {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  -webkit-transform-origin: center;
          transform-origin: center;
}
.game-box::before {
  border-top: 3px solid #FFFFFF;
  border-bottom: 3px solid #FFFFFF;
  -webkit-transform: scale3d(0, 1, 1);
          transform: scale3d(0, 1, 1);
}
.game-box::after {
  border-left: 3px solid #FFFFFF;
  border-right: 3px solid #FFFFFF;
  -webkit-transform: scale3d(1, 0, 1);
          transform: scale3d(1, 0, 1);
}
.game-box:hover::before, .game-box:hover::after {
  -webkit-transform: scale3d(1, 1, 1);
          transform: scale3d(1, 1, 1);
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
  transition: transform 0.5s, -webkit-transform 0.5s;}
.game-box a{display:block;width:110px;height:110px}

.game-box a img{position: sticky; width:100%;height:100%}

.img-shadow{position:absolute;left:2px;top:2px;right:2px;bottom:2px;box-shadow:0 0 5px #666 inset;z-index:1}

.shadow-box {
    bottom: 3px;
    box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.6) inset;
    left: 3px;
    position: absolute;
    right: 3px;
    top: 3px;
    z-index: 2;
}

.game-box .name{position:absolute;left:3px;bottom:3px;right:3px;background:rgba(0,0,0,0.4);display:none;padding:5px;text-align:center;font-weight:700;font-family:Gotham,"Helvetica Neue",Helvetica,Arial,sans-serif;text-transform:uppercase;text-shadow:1px 1px 1px #000;font-size:15px;color:#FFF;}

.featured,.new,.hot{position:absolute;width:100px;text-align:center;padding:4px 5px 4px 10px;font-size:12px;color:#FFF;font-family:Arial,sans-serif;box-shadow:0 1px #666;z-index: 10;}

.featured{background-color:#090;right:-35px;top:10px;transform:rotate(45deg)}

.new{background-color:red;left:-40px;top:10px;transform:rotate(-45deg)}

.hot{background-color:#ff0;left:-40px;top:10px;transform:rotate(-45deg);color:green}

.clear-all{clear:both;height:0}