/*
Theme Name: RollyPlay
Text Domain: RollyPlay
*/

/*-----------------
   IMPORT STYLES
-----------------*/

@import url(css/iconfont.css);

/*-----------------
   GLOBAL
-----------------*/

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

html {
  cursor: url(images/cursor.png), auto;
}

* {
  padding: 0;
  margin: 0;
}

body {
  color: #fff;
  background: #21194c;
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6em;
}

input, textarea {
  border: 1px solid rgba(250,250,250,0.1);
  outline: none;
  border-radius: 20px;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
}

.right {
  float: right;
}

a, a:active, a:visited { text-decoration: none; -o-transition:.3s; -ms-transition:.3s; -moz-transition:.3s; -webkit-transition:.3s; transition:.3s; color: #dd2033; border: none; outline: none; }
a:hover { color: #fff; cursor: url(images/cursorhand.png), auto; }

h1 { font-size: 22px; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }

.ad728, .ad336 {
  width: 728px;
  height: 90px;
  margin: 25px auto;
}

.ad336 {
  width: 336px;
  height: 280px;
}

.adbelowgame {
 width:100%;
 float:left;
 height:135px;
}

/********************/

/*  MAIN ELEMENTS   */

/********************/

.main,.main-game, .main-buddypress {
  background: url(images/blackspace.png);
  overflow: hidden;
  margin: 20px;
  padding: 10px;
}

.main-game {
  padding: 10px;
  margin: 0 auto;
  /* margin-bottom: 25px; */
}

#myarcade_game {
  z-index: 1051;
  position: relative;
}

.lgtbxbg-pofi {
  position:fixed;
  top:0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: auto;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  outline: 0;
  background-color: #000;
}

.single_game_wrap {
  position: relative;
  width: 100%;
  /* float: left; */
}

.single_game_wrap h1 {
  text-align: center;
}

.main-buddypress {
  color: #000;
  background: #fff;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}

.main-buddypress .title-special {
  color: #fff;
}

.border-radius {
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
}

.padding-10 {
  padding: 10px;
}

.padding-both {
  padding-top: 10px;
  padding-bottom: 10px;
}

.spacer, .spacer-special {
  height: 1px;
  float: left;
  background: url(images/blackspace.png);
  border-bottom: 1px solid rgba(250,250,250,0.05);
  width: 100%;
  margin: 25px 0;
}

.spacer-special {
  display: none;
  margin: 15px 0;
}

/* */

#header {
  background: #423780 url(images/dg.png) repeat-x bottom;
  height: 80px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
  border-bottom: 1px solid #423780;
  /* margin-bottom: 40px; */
  width: 100%;
  display: inline-block;
}

#header .logo {
  float: left;
}

#header .logo img {
  outline: none;
  border: none;
}

.header_wrap {
  padding: 0 20px;
}

.header-search {
  float: right;
  margin: 20px 15px;
}

.header-search input {
  float: right;
  width: 130px;
  color: #fff;
  padding: 10px 25px;
  background: url(images/blackspace.png);
  -o-transition:.3s; -ms-transition:.3s; -moz-transition:.3s; -webkit-transition:.3s; transition:.3s;
}

.header-search input.text {
  color: #fff;
  color: rgba(250,250,250,0.3);
  font-style: italic;
}

.header-search input:focus {
  color: #fff;
  width: 135px;
  background: url(images/whitespace.png);
}

.header-search .submit {
  float: right;
  background: url(images/search.png) no-repeat;
  background-position: 5px 5px;
  height: 30px;
  width: 30px;
  padding: 4px;
  border: none;
  margin-left: 10px;
  margin-top: 6px;
}

/* Menu */

.menu {
  margin: 0px 10px;
  float: left;
}

.menu span.icon:before {
  font-size: 16px;
  color: #dd2033;
  margin: 0 10px 0 0;
}

.menu a.btn {
  margin: 17px 0;
  float: right;
  color: #fff;
  padding: 10px 10px 10px 25px;
  background: url(images/whitespace.png);
    -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  font-weight: 400;
  font-size: 13px;
  border: 1px solid rgba(250,250,250,0.1);
}

.menu a.btn:hover {
  background: #dd2033;
}

.menu a.btn:hover span.icon:before {
  color: #fff;
}

.menu ul.actions {
    display:none;
    position: absolute;
    background: #fff;
    z-index: 99;
    width: 170px;
    border-radius: 8px;
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    margin: 60px 0 0 10px;
    padding: 5px 0;
}

/* Step 1: Build the Animation */
@-webkit-keyframes aniload {
  from {opacity:0}
  to   {opacity:1}
}

@-moz-keyframes aniload {
  from {opacity:0}
  to   {opacity:1}
}

@-ms-keyframes aniload {
  from {opacity:0}
  to   {opacity:1}
}

@-o-keyframes aniload {
  from {opacity:0}
  to   {opacity:1}
}

@keyframes aniload {
  from {opacity:0}
  to   {opacity:1}
}

.menu ul.actions {
  -webkit-animation:aniload 0.3s;
    -moz-animation:aniload 0.3s;
    -ms-animation:aniload 0.3s;
    -o-animation:aniload 0.3s;
    animation:aniload 0.3s;
}
.menu ul.actions a {
  color: #dd2033;
}

.menu:hover ul.actions {
    display: block;
}

.menu ul.actions li {
  list-style: none;
}

.menu ul.actions li a {
  list-style: none;
  display: block;
  width: 100%;
  padding: 8px 15px;
}

/* */

.social span.icon:before {
  font-size: 12px;
}

.social ul {
  float: right;
  list-style: none;
  padding-left: 15px;
  margin: 0;
}

.social ul a {
  color: #fff;
}

.social ul li {
  margin: 28px 0;
  display: inline-block;
  margin-left: 5px;
}

.social ul li a {
  border-radius: 50%;
  height: 50px;
  width: 50px;
  background: url(images/blackspace.png);
  padding: 4px 5px 6px 5px;
}

.social ul li.facebook a {
  background: #2b60b8;
}

.social ul li.twitter a {
  background: #459ae2;
}

.social ul li.gplus a {
  background: #d84a38;
}

.social ul li.youtube a {
  background: #c50000;
}

.social ul li a:hover {
  background: #dd2033;
}

/* */

.btns span.icon:before {
  font-size: 14px;
}

.btns ul {
  padding-left: 15px;
  float: left;
  list-style: none;
  margin: 0;
}

.btns ul a {
  color: #fff;
}

.btns ul li {
  margin: 17px 5px 17px 0;
  text-align: center;
  display: inline-block;
  border-radius: 50%;
  height: 20px;
  width: 20px;
  background: url(images/blackspace.png);
  padding: 10px 11px 10px 9px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.btns ul li.empty {
  background: none;
  padding: 10px 0;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  filter: alpha(opacity=30);
  -moz-opacity: 0.3;
  -khtml-opacity: 0.3;
  opacity: 0.3;
}

.btns ul li.empty:hover {
  background: none;
  -webkit-transform: none; -moz-transform: none; -o-transform: none; -ms-transform: none; transform: none;
}

.btns ul li:hover a {
  color: #fff;
}

.btns ul li:hover {
  background: #dd2033;
  -webkit-transform: rotate(360deg) scale(1.1); -moz-transform: rotate(360deg) scale(1.1); -o-transform: rotate(360deg) scale(1.1); -ms-transform: rotate(360deg) scale(1.1); transform: rotate(360deg) scale(1.1);
}

#feat {
  background: url(images/blackspace.png);
  display: none;
  height: 140px;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,0.1);
  -moz-box-shadow: inset 0 -4px 0 rgba(0,0,0,0.1);
  -webkit-box-shadow: inset 0 -4px 0 rgba(0,0,0,0.1);
}

/* */
#games_wrap {/* padding: 15px 0; */margin: 0 auto;text-align: center;}
#games_wrap::after, #games::after {
  clear: both;
  content: "";
  display: block;
}

#games {
  margin: 15px auto;
}

.play_wrap {
  /* position: relative; */
  /* width: 90%; */
  margin: 20px;
  padding: 0;
}

.container-flex {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
 }

.games .thumb {
  background: #000;
  width: 93px;
  height: 93px;
  float: left;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
}

.games img {
  outline: none;
  border: none;
  width: 93px;
  height: 93px;
  float: left;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
  -o-transition:.3s; -ms-transition:.3s; -moz-transition:.3s; -webkit-transition:.3s; transition:.3s;
}

.games:hover img {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
  -khtml-opacity: 0.5;
  opacity: 0.5;
}

.games {
  float: left;
  width: 93px;
  height: 93px;
  margin: 7px;
  background: #423780 url(images/gamesbg.png) no-repeat;
  padding: 4px;
  border: 1px solid rgba(250,250,250,0.1);
  box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
  -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
  -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

.games:hover {
  background-color: #dd2033;
}

.games .play {
  display: none;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  background: #dd2033;
  width: 20px;
  height: 20px;
  /*text-align: center;*/
  padding: 5px;
  position: absolute;
  z-index: 5;
  color: #fff;
  margin: 35px
}

.games:hover .play {
  display: block;
}

/* Enhanced hover effects for game tiles */
.rpCardHoverFX {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--rp-card);
  border: 1px solid var(--rp-border);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
  will-change: transform;
}

.rpCardHoverFX a,
.rpCardHoverFX .thumb,
.rpCardHoverFX img {
  transition: transform .35s ease, opacity .35s ease;
}

.rpCardHoverFX .thumb { position: relative; }
.rpCardHoverFX .thumb:after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  background: radial-gradient(60% 60% at 30% 20%, rgba(88,178,252,0.25), transparent 60%),
              linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,.35));
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.rpCardHoverFX a::after {
  content: attr(title);
  position: absolute;
  left: 8px; right: 8px; bottom: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
  color: #fff;
  background: rgba(0,0,0,.45);
  transform: translateY(6px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  pointer-events: none;
}

.rpCardHoverFX .play {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px; height: 46px;
  margin: 0;
  border-radius: 50%;
  background: var(--rp-accent-2);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,.35), 0 0 0 2px rgba(255,255,255,.06) inset;
  display: grid; place-items: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.85);
  transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
  pointer-events: none;
}
.rpCardHoverFX .play .icon:before { font-size: 18px; }

.rpCardHoverFX:hover { 
  transform: translateY(-6px);
  background: var(--rp-card);
  box-shadow: 0 12px 30px rgba(0,0,0,.35), 0 0 0 1px var(--rp-border) inset;
}
.rpCardHoverFX:hover img { opacity: 1; transform: scale(1.08); }
.rpCardHoverFX:hover .thumb:after { opacity: 1; }
.rpCardHoverFX:hover a::after { opacity: 1; transform: translateY(0); }
.rpCardHoverFX:hover .play { opacity: 1; transform: translate(-50%, -50%) scale(1); }

@media (prefers-reduced-motion: reduce) {
  .rpCardHoverFX,
  .rpCardHoverFX a,
  .rpCardHoverFX .thumb,
  .rpCardHoverFX img {
    transition: none;
  }
}

/* MJX grid cards hover (no size change) */
.mjx-card {
  position: relative;
  overflow: hidden;
  background: var(--rp-card);
  border: 1px solid var(--rp-border);
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
  will-change: transform;
}
.mjx-card a { position: relative; display: block; }
.mjx-card__img { display: block; width: 100%; height: auto; transition: transform .35s ease, opacity .35s ease; }
.mjx-card::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background: radial-gradient(60% 60% at 35% 20%, rgba(88,178,252,0.25), transparent 60%),
              linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,.38));
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.mjx-card::before {
  content: "\e830"; /* iconfont youtube-play */
  font-family: 'iconfont';
  font-size: 18px;
  line-height: 1;
  color: #fff;
  position: absolute; left: 50%; top: 50%;
  width: 46px; height: 46px; margin: 0;
  border-radius: 50%;
  background: var(--rp-accent-2);
  display: grid; place-items: center;
  box-shadow: 0 10px 24px rgba(0,0,0,.35), 0 0 0 2px rgba(255,255,255,.06) inset;
  opacity: 0;
  transform: translate(-50%, -50%) scale(.85);
  transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
  pointer-events: none;
}
.mjx-card__title {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 600; font-size: 12px;
  color: #fff; background: rgba(0,0,0,.45);
  transform: translateY(6px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.mjx-card:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,.35), 0 0 0 1px var(--rp-border) inset; }
.mjx-card:hover .mjx-card__img { transform: scale(1.06); }
.mjx-card:hover::after { opacity: 1; }
.mjx-card:hover::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.mjx-card:hover .mjx-card__title { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .mjx-card, .mjx-card__img, .mjx-card::before, .mjx-card::after, .mjx-card__title { transition: none; }
}

/* MJX overrides — stronger specificity to ensure desired behavior */
.mjx-grid .mjx-card { position: relative; overflow: hidden; }
.mjx-grid .mjx-card__img { transition: transform .35s ease; will-change: transform; }
.mjx-grid .mjx-card::after { z-index: 1; }
.mjx-grid .mjx-card__title {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  z-index: 2;
  transform: translateY(14px);
  opacity: 0;
  pointer-events: none;
  transition: transform .28s ease, opacity .28s ease;
  will-change: transform, opacity;
}
.mjx-grid .mjx-card:hover .mjx-card__title { opacity: 1; transform: translateY(0); }

/* MJX final overrides: force title slide-up without resizing */
.mjx-grid > .mjx-card { position: relative; overflow: hidden; transform: translateZ(0); transition: transform .25s ease, box-shadow .25s ease; }
.mjx-grid > .mjx-card > a { position: relative; display: block; }
.mjx-grid > .mjx-card > a > .mjx-card__title {
  position: absolute !important; left: 8px; right: 8px; bottom: 8px;
  margin: 0; padding: 6px 10px; border-radius: 8px;
  background: rgba(0,0,0,.45); color: #fff; font-weight: 600; font-size: 12px;
  transform: translateY(14px); opacity: 0; visibility: hidden;
  transition: transform .28s ease, opacity .28s ease, visibility 0s linear .28s;
  z-index: 2; pointer-events: none; will-change: transform, opacity;
}
.mjx-grid > .mjx-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 2px #aee700, /* light stroke */
    0 0 18px rgba(174,231,0,.45), /* subtle glow */
    0 12px 30px rgba(0,0,0,.35),
    0 0 0 1px var(--rp-border) inset;
}
.mjx-grid > .mjx-card:hover > a > .mjx-card__title { transform: translateY(0); opacity: 1; visibility: visible; transition-delay: 0s; }

/* */

.notfound {
  text-align: center;
  padding: 150px 0;
}

/* */

#footer {
  color: #fff;
  padding: 10px;
  background: url(images/blackspace.png);
  border-top: 1px solid rgba(250,250,250,0.1);
}

#footer a {
  color: #fff;
}

/* Removed legacy IE6 footer expression for modern compatibility */

#footer .menu-footer {
  float: left;
}

#footer .menu-footer ul {
  text-align: right;
}

#footer .menu-footer ul li {
  display: inline-block;
  list-style: none;
  margin-right: 10px;
  padding-right: 10px;
}

#footer .powered {
  float: left;
}

/* Infinite Scroll */

a#inifiniteLoader{
  color: #fff;
  font-size: 13px;
  background: rgba(0,0,0,0.2);
  padding: 10px 20px;
  bottom: 40px;
  right: 10px;
  position: fixed;
  z-index: 2;
  display: none;
}

a#inifiniteLoaderEnd{
  color: #fff;
  font-size: 13px;
  background: rgba(0,0,0,0.2);
  padding: 10px 20px;
  bottom: 40px;
  right: 10px;
  position: fixed;
  z-index: 2;
  display: none;
}

/* Single */

.title-special {
  background: #423780 url(images/dg.png) repeat-x bottom;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
  border-bottom: 1px solid #423780;
  float: left;
  width: 100%;
  margin-bottom: 15px;
}

.single h1 {
  font-size: 22px;
}

.single .player {
  width: 100%;
  float: left;
  margin-top: 10px;
  /* min-height: 450px; */
  text-align: center;
}

.single .player .game {
  display: none;
}

.single .player .control ul li {
  display: inline-block;
  list-style: none;
  margin-right: 5px;
  font-weight: 700;
}

.single .player .control ul li a { color: #fff; }

.single .player .control ul li:hover {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
}

.single .player .control span.icon:before { font-size: 18px; margin-top: 5px; }


.single .related .games {
  margin: 10px 8px 10px 8px;
}

.description {
  padding: 10px;
}

.description .tags span {
  float: left;
  margin-right: 5px;
  margin-top: 5px;
  color: #dd2033;
}

.description .tags ul li {
  list-style: none;
  display: inline-block;
  margin: 0 5px 5px 0;
  background: url(images/blackspace.png) repeat;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  border-radius: 8px;
  padding: 5px 10px;
}

.description .tags ul li a {
  color: #fff;
  font-weight: 700;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
}

.description .thumb {
  float: left;
  width: 80px;
  height: 80px;
  margin: 0 15px 5px 0;
  background: #423780 url(images/gamesbg.png) no-repeat;
  padding: 4px;
  border: 1px solid rgba(250,250,250,0.1);
  box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
  -moz-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
  -webkit-box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
}

.description .thumb img {
  width: 80px;
  height: 80px;
  float: left;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
  -o-transition:.3s; -ms-transition:.3s; -moz-transition:.3s; -webkit-transition:.3s; transition:.3s;
}

.description .spacer {
  margin: 10px 0;
}

/* Comments */

.comments {
  width: 100%;
  float: left;
  margin-top: 10px;
}

.comments .spacer {
  margin: 10px 0;
}

.comments li {
  background: url(images/blackspace.png);
  float: left;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  width: 100%;
  margin-bottom: 5px;
}

.comments .comment-avatar {
  float: left;
  margin-right: 10px;
}

.comments input, .comments textarea {
  font-family: 'Open Sans', Arial, Helvetica;
  border-radius: 8px;
  -moz-border-radius: 8px;
  -webkit-border-radius: 8px;
  padding: 10px;
  margin-bottom: 10px;
  background: url(images/blackspace.png);
  margin-right: 10px;
  width: 95%;
  -o-transition:.3s; -ms-transition:.3s; -moz-transition:.3s; -webkit-transition:.3s; transition:.3s;
  color: #fff;
  color: rgba(250,250,250,0.3);
}

.comments input:focus, .comments textarea:focus {
  color: #fff;
  color: rgba(250,250,250,1);
  background: url(images/whitespace.png);
}

.comments .submit {
  width: 100px;
  background: #423780 url(images/dg.png) repeat-x bottom;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
  border-bottom: 1px solid #423780;
  padding: 10px;
  color: #fff;
}

@media only screen and (min-width: 768px) and (max-width: 959px) {
  #footer .menu-footer, #feat {
    display: none;
  }

  .header-search input:focus {
      color: #fff;
      width: 130px;
      background: url(images/whitespace.png);
    }
}
@media only screen and (max-width: 815px) {
  .btns {
    display: none;
  }
}
@media only screen and (max-width: 767px) {

  .btns, #footer .menu-footer, #footer .powered, .breadcrumb {
    display: none;
  }

  #header {
    height: auto;
  }

  .header-search {
      float: right;
      /*margin: 50px 15px 0 15px;*/
    }

    .header-search input {
      float: right;
      width: 100px;
      color: #fff;
      padding: 10px 25px;
      background: url(images/blackspace.png);
      -o-transition:.3s;
      -ms-transition:.3s;
      -moz-transition:.3s;
      -webkit-transition:.3s;
      transition:.3s;
    }

    .header-search input.text {
      color: #fff;
      color: rgba(250,250,250,0.3);
      font-style: italic;
    }

    .header-search input:focus {
      color: #fff;
      width: 100px;
      background: url(images/whitespace.png);
    }

    .social ul {
      float: left;
    }

    .spacer-special {
      display: block;
    }

    /* removed empty rule for #games_wrap */
}
@media only screen and (max-width: 728px) {

  .ad728, .adbelowgame {
    display: none;
  }
}
@media only screen and (max-width: 615px) {
  .menu {
    display:none;
  }
}
@media only screen and (max-width: 450px) {
    #header .logo {
    float: none;
    display: block;
    text-align: center;
  }
  .header-search {
    display: none;
  }
}


