/*
Theme Name: gamesbarq
Theme URI: 
Author: Your Name
Author URI: 
Description: A WordPress theme designed for HTML5 games.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: html5, games, responsive-layout
Text Domain: gamesbarq

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@100..900&family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");


*, :after, :before{box-sizing: border-box}
html, body {margin: 0; padding: 0 ;background:#000;font-size: 14px;font-family: 'Noto Sans Arabic', sans-serif;font-weight: 400;color:#fff}


.container {
    max-width: 980px;
    margin: 0 auto;
    overflow: hidden;
}

.single{
    width: 100%;
    float: right;
	position: relative;
}

.content {
    width: 100%;
    float: right;
    padding: 0;
    position: relative;
}

.newGame {
    width: 100%;
    float: right;
    padding: 0;
    position: relative;
    
}

.newGame ul {
    width: 100%;
    float: right;
    padding: 0;
    position: relative;
    list-style-type: none;
    display: inline;

}
.newGame li {
	float: right;
	width: 105px;
	height: 110px;
    margin:0 5px 5px 5px;
    padding:5px;

}
.newGame .NewGameThumbnail {
	width: 100%;
	height: 100%;
	    display: inline-flex;
        margin: 0px auto;

}
.newGame .NewGameThumbnail img {
	width: 100px;
	height: 100px;
        overflow: hidden;
	display: flex;
        border-radius: 16px;
}
.newGame a{
    display: flex;
    position: relative;
    justify-content: center;
    flex-direction: column;
     color: #b0cd75;
    align-items: center;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    line-height: 1.8em;
}
.newGame li:hover {
  -ms-transform: scale(1.07); /* IE 9 */
  -webkit-transform: scale(1.07); /* Safari 3-8 */
  transform: scale(1.07); 
}
.NewGameThumbnail span {
  font-Size: 13px;
  text-shadow: -1px 0 #160e0e, 0 1px #160e0e, 1px 0 #160e0e, 0 -1px #160e0e;
  background: linear-gradient(transparent 10%, rgb(3 7 12 / 50%) 75%);
  border-radius: 16px;
  line-Height: 17px;
  position: absolute;
  right: 0px;
  bottom: 0;
  left: 0px;
  padding: 4px;
  color: #fff;
  font-weight: 700;
  text-align: center;
  z-index: 3;
  opacity: 0;

}

.NewGameThumbnail:hover span {
  opacity: 1;
  transform: translate(0px, 0px);
}

#cat-name {
    display: inline-flex;
    float: right;
    border-radius: 16px;
    justify-content: center;
    flex-direction: column;
    background: linear-gradient(45deg, rgb(74, 124, 63) 9%, rgb(76, 167, 83) 61%, rgb(57, 122, 44) 100%);
    padding: 10px 16px;
    align-items: center;
    width: 220px;
    height: 100px;
    margin: 5px 5px 5px 5px;
    padding: 5px;
    color: #fff;
    font-size: 12px;
    	float: right;
}
.search {
    width: 300px;
    float: right;
    padding: 0;
    position: relative;
 }
.game {
    display: inline-table;
    width: 100px;
    height: 100px;
    margin: 0 0 5px 5px; 
    padding: 10px;
}
.game a{
    display: flex;
    justify-content: center;
    flex-direction: column;
     color: #b0cd75;
    align-items: center;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    line-height: 20px
}
.sidebar {
    width: 300px;
    float: right;
    padding: 0 10px 0 0;
    overflow: hidden;
    overflow-y: auto;
}
header.main{
    max-width: 980px;
    margin: 0 auto;
    padding-bottom: 5px;
    text-align:center
}

.category{
    width: 100%;
    float: right;
    padding: 0;
    position: relative;
}

footer.main{
    padding: 10px 10px 80px 10px;
    text-align:center;
    clear: both;
    line-height:2
}
footer.main a{
color:white
}
.down_widget {
	width: 85px;
    margin: 0;
	text-align: center;
	padding: 6px 0 0 0;
	height:25px;
    display: flex;
}

.textLink{
text-align:center;
padding-top: 4px;
direction: rtl;
   color: #fff;
    font-size: 13px;
    font-weight: bold;
    line-height: 18px
}
.pcOnly{
padding:10px;position: absolute;z-index: 10;color: white;font-size: 16px;font-weight: bold;direction: rtl;text-align: center;line-height:1
}
.disableLink {
   pointer-events: none;
   cursor: default;
}

.play {

  width: 100%;
  height: 130px;
  max-width: 250px;
  margin: auto;
  display: flex;
}
.play a {

   display: flex;
}
.play img {
    width: 120px;
    height: 120px;
    overflow: hidden;
    display: flex;
    border-radius: 16px;
}

.play .btn {

  height: 120px;
  width: 120px;
  background-color: #457f02;
  color: white;
  font-size: 28px;
  font-weight: 700;
  padding: 33px 11px;
  border: none;
  border-radius: 16px;
  text-align: center;
 

}

 @keyframes glowing {
        0% {
          background-color: #99c506;
          box-shadow: 0 0 2px #99c506;
        }
        50% {
          background-color: #457f02;
          box-shadow: 0 0 5px #457f02;
        }
        100% {
          background-color: #99c506;
          box-shadow: 0 0 2px #99c506;
        }
      }
      .btn {
        animation: glowing 1500ms infinite;
      }
      .column {

  padding: 2px;
}
.letsPlay{
  width: 112px;
  height: 46px;
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: -242px;
  right: -120px;
  text-align: center;
  top: 73px;
  font-size: 32px;
  background: #2f393f;
  opacity: 0.79;
  color: #fff;
  border-radius: 16px;
  animation: pulse-animation 0.9s infinite;
  font-family: sans-serif;
  line-height: 46px;
  }
  @keyframes pulse-animation {
    0% {
      box-shadow: 0 0 0 0px rgba(134, 189, 221);
    }
    100% {
      box-shadow: 0 0 0 10px rgba(193, 244, 246, 0);
    }
  }
.lds-dual-ring{width: 200px;height: 200px;position: absolute;margin-left: auto;margin-right: auto;left: 0;right: 0;text-align: center;top: 25px;}
.lds-dual-ring:after{content: " ";display: block;width: 110px;height: 110px;margin: -17px;border-radius: 50%;border: 20px solid #F8F2F2;border-color: #ECF0F1 transparent #6495ED transparent;animation: lds-dual-ring 0.7s linear infinite;}
@keyframes lds-dual-ring{0% {transform: rotate(0deg);}100% {transform: rotate(360deg);}}
.Info{
display: block;
padding:10px;
margin:0px 10px 10px 10px;
direction:rtl;
font-size:16px;
background-color:#343a40;
border-radius: 10px
}
.Info a{
color:white
}
.Info strong{
font-size:16px
}

.gameDescription{
direction:rtl;
font-size:14px;
display: block;
}

.catInfo {
  display: block;
  padding: 10px;
  margin: 0px 10px 10px 10px;
  direction: rtl;
  font-size: 16px;
  background-color: #343a40;
  border-radius: 10px;

}

.catInfo a {
    color: #b0cd75;
    text-decoration: none; /* Remove underline from links */
}

.catInfo ol {

    margin: 0;
    padding: 0 15px ;
}

.catInfo li {

    padding: 10px 0; /* Adjust padding as needed */
}

.catInfo strong {
    font-size: 16px;
}

.catInfo h3 {
    font-size: 22px;
    color: white;
}
.catDescription {
    direction: rtl;
    font-size: 14px;
        

}

.breadcrumb {
  background-color: #343a40;
  padding: 2px;
    display: flex;
}

.breadcrumb ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;

  align-items: center;
}

.breadcrumb li {
  display: inline-block;
  margin-right: 5px;
  color: #fff;
}

.breadcrumb a {
  text-decoration: none;
  color: #b0cd75;
}

.breadcrumb li:last-child {
  color: #b0cd75;
}

.breadcrumb li::after {
  content: "\00BB";
  margin-right: 5px;
}

.breadcrumb li:last-child::after {
  content: none;
}

.down_widget ol:last-child {
    margin: 0;
    border-radius: 0 2px 2px 0;
}

.game-article {
  display: table;
  width: 99%;
  padding: 10px;
  margin: 10px 10px 10px 10px;
  direction: rtl;
  font-size: 16px;
  background-color: #343a40;
  border-radius: 10px;
}
.game-article ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}
.game-article a {
    color: #b0cd75;
    text-decoration: none; 
}
.game-article li {

    padding: 5px 0; 
}
.game-article h4 {
    font-size: 17px;
    padding: 5px 0;
    margin: 5px 0;
}
.game-article p {
    padding: 5px 0;
    margin: 5px 0;
}

.myBtn {
      margin: 0;
    list-style: none;
    text-align: center;
    text-align: center;
    vertical-align: middle;
    background-color: #27a844;
    width: 50%;
    text-align: center;
    height: 32px;
    padding: 4px 0 1px;
    border-radius: 7px;
    margin-right: 5px;
}

.myBtnnn {
      margin: 0;
    list-style: none;
    text-align: center;
    text-align: center;
    vertical-align: middle;
    background-color: #27a844;
    width: 50%;
    text-align: center;
    height: 32px;
    padding: 4px 0 1px;
    border-radius: 7px;
    margin-right: 5px;
}

.down_widget img {
    width: 18px;
    display: inline-block;
    height: auto;
}


.logo {
    width: 80px;
    margin: 5px 0 0 0
}
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0,0,0);
  background-color: rgba(0,0,0,0.4);
}
.modal-content {
  max-width: 980px;    
  display: block;
  background-color: #202325;
  border-radius: 25px;
  margin: auto;
  padding: 20px;
  border: 2px solid #fff;
  width: 80%;
  color: #fff;
  direction:rtl
}
.close {
  color: red;
  float: left;
  font-size: 50px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: coral;
  text-decoration: none;
  cursor: pointer;
}

.Input-text {
  display: inline;
  margin: 0;
  padding: 10px 2px 4px 0px;
  border: none;
  border-radius: 2px;

}

.Input-text::placeholder {
  color: #B0BEC5;
}
.button{
  background-color: #e7e7e7;
  padding: 2px 10px;
  text-align: center;
  font-size: 23px;
  display: inline-block;
  border: none;
  margin: 4px 2px;
  cursor: pointer;

}
#myBtn{
cursor: pointer;
}
#myBtnnn{
cursor: pointer;
}

	.align{margin:0 auto;width: 90px;}
	.logo, .down_widget{text-align: center;}
	
.lastGames{max-width: 480px;margin: 0 auto;}

.progress-container {
  margin: 0px auto;
  width: 100%;
  text-align: center;
  display:none
}
.progress {
  padding: 6px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25), 0 1px rgba(255, 255, 255, 0.08);
}
.progress-bar {	
  height: 18px;
  background-color: #ee303c;  
  border-radius: 4px; 
  transition: 0.4s linear;  
  transition-property: width, background-color;    
}
.progress-striped .progress-bar { 	
  background-color: #FCBC51; 
  width: 100%; 
  background-image: linear-gradient(
        45deg, rgb(252,163,17) 25%, 
        transparent 25%, transparent 50%, 
        rgb(252,163,17) 50%, rgb(252,163,17) 75%,
        transparent 75%, transparent); 
  animation: progressAnimationStrike 6s;
}
@keyframes progressAnimationStrike {
     from { width: 0 }
     to   { width: 100% }
}
	.align {float:none;margin:0 auto;height:80px;width: 100%}
	.logo, .down_widget{float: right}
	.gameTitle{clear: both;
    font-size: 18px;
    margin: -28px 127px 0 0;
    float: right;
    padding: 0}
	h1{font-size: 18px !important;padding: 0 0 0 6px;margin: 0}
	.logo{margin: 5px 0 0 0}
.backBtn {
    position: fixed;
    z-index: 101;
    top: 60px;
    left: 0;
    width: 60px;
    height: 40px;
    background: #fff;
	color: green;
	font-size:16px;
	font-weight:bold;
    box-shadow: 0 16px 32px rgba(0,0,0,.24);
    border-radius: 0 16px 16px 0;
    overflow: hidden;
	display: none;
	line-height: 38px;
	padding-left: 2px;
    animation: mymove 2s;
    animation-iteration-count: 2;
}

@keyframes mymove {
  from {top: 5px;}
  to {top: 70px;}
}

.x300{
width:300px;height:600px;float:left;text-align:center;color:#000
}

.x300T{
width:300px;height:250px;float:left;text-align:center;color:#000;margin-bottom:10px;display:none
}

.x160L{
width:160px;height:600px;float:left;text-align:center;color:#000
}

.x160R{
width:160px;height:600px;float:left;text-align:center;color:#000;display:none
}

.n{
width:80px;
height:80px
}
.v{
float:right;
margin: 0 5px 10px 5px;
display: flex;
align-items: center;
border-radius: 16px;
width: 23%;
height: 94px;
direction:rtl;
text-decoration: none;
box-shadow: 0 0px 12px 0 grey;
}
.v:hover {
  -ms-transform: scale(1.03); /* IE 9 */
  -webkit-transform: scale(1.03); /* Safari 3-8 */
  transform: scale(1.03); 
}
.m{
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #000;
    font: bold 14px 'Noto Sans Arabic', sans-serif;
    letter-spacing: 0px;
    background: #fff;
    flex-grow: 1;
    height: 100%;
    padding: 0 15px 0 0;
    border-radius: 16px 0 0 16px;
}

.pagination{
	clear:both;
	padding:20px 20px 10px 10px;
	 text-align: center;
	direction:rtl;
}
         .pagination a{padding:10px 14px;color:#fff;margin:2px;border:1px solid #b0cd75;text-decoration:none;display:inline-block}
         .pagination b{padding:10px 14px;color:#fff;margin:2px;border:1px solid #b0cd75;background-color: #b0cd75;text-decoration:none;display:inline-block}
         .pagination a:hover:not(.active) {background-color: #b0cd75;}



@media only screen and (max-width: 960px) {
	.displayed{width:110px;height:110px}
    .lastGames{max-width:360px}
}
@media only screen and (max-width: 730px) {
	.v{width: 31%}
}

@media only screen and (max-width: 600px) {
	.sidebar {
		display:none
	}
    	.content {
		width: 500px;
		margin: 0 auto;
		float:none;

	}

	.newGame ul{
	    	width: 500px;
		float:right;

	}
	.newGame li{width:90px;height:90px;margin-bottom: 12px;}
	#cat-name {width:180px;height:90px;margin: 5px 7px 5px 10px;}
    
	.newGame .NewGameThumbnail{display: inline-flex;width:82px;height:85px;}
	.newGame .NewGameThumbnail img{width:80px;height:80px;margin:auto;}
	.align {float:none;margin:0 auto;height:90px}
	.down_widget {
	width: 80px;
    margin: 0;
	text-align: center;
	padding: 1px 0 0 0;
	height:26px;
    display: flex;
}
	.category{width:500px;margin:0 auto}
	.v{float:right;width: 47%;margin:0 10px 10px 3px}
	.m{padding: 0 20px;}
}






.playBtnCont{width:280px;height:40px;margin:5px auto}
.playBtn{width: 100%;height: 100%;border-radius: 10px;display: block;cursor: pointer;outline: none;border: none;font-size: 25px;background: #27a844;color: white;background-repeat:no-repeat;background-position: top right 45px;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAABn0lEQVRYhe2YO07FMBBFPYCQXo+QEAWCGhZAgyhhOVSIPVC9ArEF6BAdG6BGwBIoED9RUMKhwJHmWU7iX0yKd6vIHt85mkwcJ8YkCDgBSFkbq4UaSXI0B8yVF5A/PecYl+rRrgquAi8ppg0ccJ9EpeQFFBGxlyvAa4yhqtyDiOzkwAUlaxQZn125YKmk74Fx9eB08pCYWpv3XDESY4wBdlsDRG7b5oB1EXlyxpK8+gBbe0dtORrCjd8WkccUr+JiVpujezh8QENCFj0sAIcl/VIhznKrCPw4rbKfAxQEA2zY4Ts19qXju5QF5zPoAge+e3iu+7xi4Lzv1j7wZi4kMfBpl0yKwHVBApdBSQK8suBs7IeNXU6ByoEMPjIl9U8FL226FlrxQL9ykNbrfHRVBG5o0VgAZ0yA6WgAgYvijTzrf1S8gqWlvbNOMwNDToxJBNQn4wGrOS3iAlw5D3LUnwiPX7EdwTU+ztly3K2rKJyTaC8GFFiqAtaSXGuxZ36rKpwPpAXs7d/AFNCpe9tDb+fwH9JWGqjKB3yKgIPYNb/pICVe+XdB8wAAAABJRU5ErkJggg==');
}
#vote{float: left}
.gblike, .gbdislike{float:left;text-align: center;width: 40px;height: 32px;padding-top: 40px;font-size: 12px;cursor: pointer;background-image:url('https://gamesbarq.com/templates/images/like.png');background-repeat: no-repeat}
.gblike{background-position: right}
.theGame{
float: left;
display:none;
}
#gamesFrame{
width:100%;
height:100%;
border:none;
overflow: hidden
}
.xrightSpace, .xleftSpace{ 
width:150px;
display:none;
float:left;
}
.xrightSpace a{ 
justify-content: center;
display:flex; 
}
.xleft{
	float:left;color:black;text-align:right
}
.xgame{
	margin:0 auto;
	color:white;
	text-align:center;
	  visibility: visible;

}
.xright{
	float:left;color:black;text-align:left
}
.row{
	max-width:1600px;
	margin:0 auto;
}
.row:after {
	content: "";
	display: table;
	clear: both;
}

@media only screen and (max-width: 915px) {
	.theGame{
		width:100%;
		margin:0 auto;
		padding-bottom: 30px;
	}
}
@media only screen and (min-width: 601px) {
	.MPU{width:auto;height:320px;margin:0 auto}
}
@media only screen and (max-width: 600px) {
	.related-container{max-width: 300px;margin: 0 auto}
	.align{padding-right:0px}
}

@media only screen and (max-width: 500px) {
	.sidebar {
		display:none
	}
    	.content {
		width: 400px;
		margin: 0 auto;
		float:none;

	}

	.newGame ul{
	    	width: 400px;
		float:right;

	}
	#cat-name {width:180px;height:90px;margin: 5px 7px 5px 10px;}
	.category{width:400px;margin:0 auto}
	.v{float:none;width: 85%;margin:0 0 10px 25px}
	.m{padding: 0 30px;}
	.playBtnCont{width:280px;height:40px;margin:5px auto}
.playBtn{width: 100%;height: 100%;border-radius: 10px;display: block;cursor: pointer;outline: none;border: none;font-size: 25px;background: #27a844;color: white;background-repeat:no-repeat;background-position: top right 45px;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAABn0lEQVRYhe2YO07FMBBFPYCQXo+QEAWCGhZAgyhhOVSIPVC9ArEF6BAdG6BGwBIoED9RUMKhwJHmWU7iX0yKd6vIHt85mkwcJ8YkCDgBSFkbq4UaSXI0B8yVF5A/PecYl+rRrgquAi8ppg0ccJ9EpeQFFBGxlyvAa4yhqtyDiOzkwAUlaxQZn125YKmk74Fx9eB08pCYWpv3XDESY4wBdlsDRG7b5oB1EXlyxpK8+gBbe0dtORrCjd8WkccUr+JiVpujezh8QENCFj0sAIcl/VIhznKrCPw4rbKfAxQEA2zY4Ts19qXju5QF5zPoAge+e3iu+7xi4Lzv1j7wZi4kMfBpl0yKwHVBApdBSQK8suBs7IeNXU6ByoEMPjIl9U8FL226FlrxQL9ykNbrfHRVBG5o0VgAZ0yA6WgAgYvijTzrf1S8gqWlvbNOMwNDToxJBNQn4wGrOS3iAlw5D3LUnwiPX7EdwTU+ztly3K2rKJyTaC8GFFiqAtaSXGuxZ36rKpwPpAXs7d/AFNCpe9tDb+fwH9JWGqjKB3yKgIPYNb/pICVe+XdB8wAAAABJRU5ErkJggg==');
}
#vote{float: left}
.gblike, .gbdislike{float:left;text-align: center;width: 40px;height: 32px;padding-top: 40px;font-size: 12px;cursor: pointer;background-image:url('https://gamesbarq.com/templates/images/like.png');background-repeat: no-repeat}
.gblike{background-position: right}
.theGame{
float: left;
display:none;
margin:0 auto
}
#gamesFrame{
width:100%;
height:100%;
border:none;
overflow: hidden
}
.xrightSpace, .xleftSpace{ 
width:150px;
display:none;
float:left;
}
.xleft{
	float:left;color:black;text-align:right
}
.xgame{
	margin:0 auto;
	color:white;
	text-align:center;
	  visibility: visible;

}
.xright{
	float:left;color:black;text-align:left
}
.row{
	max-width:1600px;
	margin:0 auto;
}
.row:after {
	content: "";
	display: table;
	clear: both;
}
.related-container{
max-width: 100%;margin: 0 auto
}
}
@media only screen and (max-width: 400px) {
	.sidebar {
		display:none
	}
    	.content {
		width: 300px;
		margin: 0 auto;
		float:none;

	}

	.newGame ul{
	    	width: 300px;
		margin: 0 auto;
		float:right;

	}
	#cat-name {width:180px;height:90px;margin: 5px 7px 12px 5px;}
	.category{width:300px;margin:0 auto}
	.v{float:none;width: 288px;margin:0 0 10px 0}
	.m{padding: 0 65px;}
	.playBtnCont{width:280px;height:40px;margin:5px auto}
.playBtn{width: 100%;height: 100%;border-radius: 10px;display: block;cursor: pointer;outline: none;border: none;font-size: 25px;background: #27a844;color: white;background-repeat:no-repeat;background-position: top right 45px;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAABn0lEQVRYhe2YO07FMBBFPYCQXo+QEAWCGhZAgyhhOVSIPVC9ArEF6BAdG6BGwBIoED9RUMKhwJHmWU7iX0yKd6vIHt85mkwcJ8YkCDgBSFkbq4UaSXI0B8yVF5A/PecYl+rRrgquAi8ppg0ccJ9EpeQFFBGxlyvAa4yhqtyDiOzkwAUlaxQZn125YKmk74Fx9eB08pCYWpv3XDESY4wBdlsDRG7b5oB1EXlyxpK8+gBbe0dtORrCjd8WkccUr+JiVpujezh8QENCFj0sAIcl/VIhznKrCPw4rbKfAxQEA2zY4Ts19qXju5QF5zPoAge+e3iu+7xi4Lzv1j7wZi4kMfBpl0yKwHVBApdBSQK8suBs7IeNXU6ByoEMPjIl9U8FL226FlrxQL9ykNbrfHRVBG5o0VgAZ0yA6WgAgYvijTzrf1S8gqWlvbNOMwNDToxJBNQn4wGrOS3iAlw5D3LUnwiPX7EdwTU+ztly3K2rKJyTaC8GFFiqAtaSXGuxZ36rKpwPpAXs7d/AFNCpe9tDb+fwH9JWGqjKB3yKgIPYNb/pICVe+XdB8wAAAABJRU5ErkJggg==');
}
#vote{float: left}
.gblike, .gbdislike{float:left;text-align: center;width: 40px;height: 32px;padding-top: 40px;font-size: 12px;cursor: pointer;background-image:url('https://gamesbarq.com/templates/images/like.png');background-repeat: no-repeat}
.gblike{background-position: right}
.theGame{
float: left;
display:none;
margin:0 auto
}
#gamesFrame{
width:100%;
height:100%;
border:none;
overflow: hidden


}
.xrightSpace, .xleftSpace{ 
width:150px;
display:none;
float:left;
}
.xleft{
	float:left;color:black;text-align:right
}
.xgame{
	margin:0 auto;
	color:white;
	text-align:center;
	  visibility: visible;

}
.xright{
	float:left;color:black;text-align:left
}
.row{
	max-width:1600px;
	margin:0 auto;
}
.row:after {
	content: "";
	display: table;
	clear: both;
}
.related-container{
max-width: 100%;margin: 0 auto
}
}

/* نموذج البحث الكامل */
#fullscreen-search.hidden {
    display: none;
}

#fullscreen-search {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    direction: rtl; /* للغة العربية */
}

.search-inner {
    max-width: 600px;
    width: 100%;
    position: relative;
}

#fullscreen-search input {
    width: 100%;
    padding: 20px;
    font-size: 22px;
    border: 2px solid #ccc;
    border-radius: 10px;
}

#search-results {
    margin-top: 15px;
    font-size: 16px;
}

#close-search {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    font-size: 36px;
    color: #444;
    cursor: pointer;
}

/* واجهة البحث */
.live-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 15, 0.98);
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding-top: 100px;
    z-index: 9998;
    overflow-y: auto;
    transition: opacity 0.3s ease;
}
.live-search-overlay.active {
    display: flex;
}
.live-search-box {
    width: 90%;
    max-width: 600px;
    position: relative;
}
.live-search-input {
    width: 100%;
    padding: 15px;
    font-size: 20px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0 10px #000;
}
.live-search-close {
    position: absolute;
    top: -50px;
    right: 0;
    font-size: 36px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}
.live-search-results {
    margin-top: 15px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.search-result-item {
    display: flex;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #eee;
    align-items: center;
}
.search-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
}
.search-title {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    text-decoration: none;
}
.search-excerpt {
    font-size: 14px;
    color: #666;
}

#theGame, #row, #backBtn {
  display: none;
}

