@charset "UTF-8";
/*
 * site.css - update5 (phones and tablets: the block at the end)
 *
 * The whole stylesheet of the public pages in one static file. It used to be
 * built by css/core.php on every request from core.css + classes.css +
 * fancybox.css + form.css + forum.css; Apache now serves this file directly and
 * browsers cache it (the header links it as site.css?v=<mtime>).
 *
 * Edit THIS file from now on - core.php and the five part files are no longer
 * used by the public pages. fancybox.css is gone together with the fancybox
 * lightbox (replaced by <dialog class="lightbox">, styles at the end).
 */


/* ======================================================================
   core.css (update5)
   ====================================================================== */

* {
	font-family:"Trebuchet MS",Helvetica,Jamrul,sans-serif;
	font-size:13px;
	margin:0px;
	padding:0px;
	outline:none;
	color:#dedede;
	font-weight: 100;
}
body {
	background:#333333;
	text-align:center;
}
p {
	padding-bottom:14px;
}
a:hover {
	color: #fff;
}
ol,ul {
	margin-left: 14px;
	padding-left: 14px;
}
/* reset ul */
#pnv,#nav,#forum_feed,#social,.games,.news {
	margin: 0;
	padding: 0;
}
#out,#hd,#cnt,.cl,.dev,#ft { 
	width:100%;
}
#out {
	background: url(../images/structure/bg_out.png) repeat-x 0 0 #666666;
}
#out_two {
	background: url(../images/structure/top.png) repeat-x center 127px;
}
#out_three {
	background: url(../images/structure/bottom.png) repeat-x bottom center;
}
#wr {
	text-align:left;
	width:1000px;
	margin:0px auto 0px auto;
}
#header {
	height: 128px;
	width: 1000px;
	position: relative;
	background: url(../images/structure/logo.png) no-repeat 0 0;
}
.logo,.logo a {
	width: 250px;
	height: 40px;
}
.logo {
	position: absolute;
	top:14px;
	left: 20px;
}
.logo a {
	float: left;
	display: block;
	text-indent: -999999em;
}
#header h1 {
	position: absolute;
	top: 28px;
	left: 285px;
	color: #ffffff;
	font-size: 13px;
	text-shadow: 0 1px 2px #000;
}
#search {
	position: absolute;
	top:0px;
	right: 0px;
}
.inp_search {
	margin: 8px;
	height: 18px;
	border: 1px solid #626262;
	background: url(../images/structure/search_bg.png) repeat-x 0 0 #515151;
	font-style: italic;
	padding: 5px 10px;
	font-size: 12px;
	color: #a3a3a3;
	width: 308px;
}
#search-results {
	position: absolute;
	right: 8px;
	top: 36px;
	width: 328px;
	background: #4a4a4a;
	border: 1px solid #626262;
	max-height: 320px;
	overflow-y: auto;
	display: none;
	z-index: 9999;
	box-shadow: 0 3px 8px rgba(0,0,0,0.5);
}
#search-results a {
	display: block;
	padding: 6px 8px;
	text-decoration: none;
	color: #dedede;
	border-bottom: 1px solid #555;
	overflow: hidden;
}
#search-results a:hover {
	background: #5a5a5a;
	color: #fff;
}
#search-results a img {
	float: left;
	width: 30px;
	height: 30px;
	margin-right: 8px;
	border: 1px solid #666;
}
#search-results a span {
	display: block;
	line-height: 15px;
	padding-top: 2px;
	font-size: 12px;
	font-style: normal;
	color: #dedede;
}
#cnt,#left,#right,#cont {
	float:left;
}
#cnt {
	min-height: 400px;
	line-height: 22px;
	padding: 20px 0px;
}
#pnv {
	list-style: none;
	position: absolute;
	top:24px;
	right: 5px;
}
#pnv li {
	float: left;
	display: block;
	margin-left: 45px;
}
#pnv li a {
	color: #bfbfbf;
	font-size: 12px;
	text-shadow: 0 1px 0 #000;
	text-decoration: none;
}
#pnv li a:hover,#pnv li.act a:hover,#pnv li.act a {
	color: #fff;
}
#navigation {
	position: absolute;
	bottom:16px;
	width: 998px;
	height: 46px;
	background: url(../images/structure/nav.png) repeat-x 0 0;
	border: 1px solid #535353;
	-webkit-box-shadow: 0 2px 4px #222;
	-moz-box-shadow: 0 2px 4px #222;
}
#nav {
	list-style: none;
	background: url(../images/structure/nav_ul.png) 0 0;
	display: block;
	float: left;
	height: 46px;
	width: 657px;
}
#nav li,#nav a {
	float: left;
	height: 46px;
	display: block;
	text-decoration: none;
}
#nav li.gry a {
	background: url(../images/structure/nav_ul.png) 0 46px;
	width: 100px;
}
#nav li.emulatory a {
	background: url(../images/structure/nav_ul.png) -100px 46px;
	width: 115px;
}
#nav li.kody a {
	background: url(../images/structure/nav_ul.png) -215px 46px;
	width: 100px;
}
#nav li.solucje a {
	background: url(../images/structure/nav_ul.png) -315px 46px;
	width: 115px;
}
#nav li.dodatki a {
	background: url(../images/structure/nav_ul.png) -430px 46px;
	width: 100px;
}
#nav li.forum a {
	background: url(../images/structure/nav_ul.png) -530px 46px;
	width: 115px;
}
#nav li a {
	text-indent: -999999em;
	text-decoration: none;

}
#nav li.gry a:hover,#nav li.gry a.act:hover,#nav li.gry a.act {
	background: url(../images/structure/nav_ul.png) 0 0px;
	width: 100px;
}
#nav li.emulatory a:hover,#nav li.emulatory a.act:hover,#nav li.emulatory a.act {
	background: url(../images/structure/nav_ul.png) -100px 0px;
	width: 115px;
}
#nav li.kody a:hover,#nav li.kody a.act:hover,#nav li.kody a.act {
	background: url(../images/structure/nav_ul.png) -215px 0px;
	width: 100px;
}
#nav li.solucje a:hover,#nav li.solucje a.act:hover,#nav li.solucje a.act {
	background: url(../images/structure/nav_ul.png) -315px 0px;
	width: 115px;
}
#nav li.dodatki a:hover,#nav li.dodatki a.act:hover,#nav li.dodatki a.act {
	background: url(../images/structure/nav_ul.png) -430px 0px;
	width: 100px;
}
#nav li.forum a:hover,#nav li.forum a.act:hover,#nav li.forum a.act {
	background: url(../images/structure/nav_ul.png) -530px 0px;
	width: 115px;
}
#left {
	width: 286px;
	margin-right: 29px;
}
#right {
	width: 685px;
	position: relative;	
}
#cont {
	width: 1000px;
}
#footer_wr {
	background: url(../images/structure/ft_wr.png) repeat-x 0 -1px #333333;
}
#footer {
	width: 1000px;
	margin: 0 auto;
	text-align:center;
	padding-top: 20px;
}
#footer p {

	color: #bfbfbf;
	font-size: 12px;
	line-height: 19px;
	text-shadow: 0 1px 0 #000;
}
#footer p a {
	text-decoration: none;
	font-size: 12px;
}
#ftl,#ftr {
	padding: 0px 0px 6px 0px;
	float:left;
	width:50%;	
	text-align: left;
}
#ftr {
	text-align: right;
}
.footer_nav a {
	color: #bfbfbf;
	font-size: 12px;
	margin-left: 45px;
	text-shadow: 0 1px 0 #000;
}
.footer_nav a:hover,.footer_nav a.act,.footer_nav a.act:hover {
	color: #fff;
}
.btn_oauth {
	display: inline-block;
	padding: 8px 16px;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	border-radius: 3px;
	margin: 3px 0;
}
.btn_google {
	background: #4285F4;
}
.btn_google:hover {
	background: #3367D6;
	color: #fff;
}
.btn_facebook {
	background: #1877F2;
}
.btn_facebook:hover {
	background: #1565C0;
	color: #fff;
}



/* ---------------------------------------------------------------------------
   update5 - responsiveness on touch screens (INP)
   ------------------------------------------------------------------------ */

/* Without a mobile viewport, phones wait ~300 ms after every tap to see whether
   a second tap (double-tap-to-zoom) follows. manipulation keeps pinch-zoom and
   scrolling but drops that wait, so taps are handled immediately. */
html {
	touch-action: manipulation;
}

/* sort menus ("Alfabetycznie", "Tematycznie", "Rok wydania"...): the header is a
   button that opens its list on tap; functions.js also opens it on mouse hover */
.paging-nav li button.sort-toggle {
	padding: 3px 10px;
	font: inherit;
	font-size: 11px;
	line-height: 14px; /* same box as the inline links next to it: 14 + 2 x 3 padding + 2 x 1 border = 22 px */
	color: inherit;
	background: #666;
	border: 1px solid #787878;
	border-radius: 0;
	margin: 0;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
.paging-nav li button.sort-toggle:hover,
.paging-nav li.open > button.sort-toggle,
.paging-nav li.act > button.sort-toggle {
	background: #555;
}
ul.paging-nav li.open > ul {
	display: block;
}


/* ======================================================================
   classes.css
   ====================================================================== */

.cl,.dev {
	line-height:0;
	font-size:0;
	width:100%;
	clear:both;
}
.cl {
	height:0;
}
.italic {
	font-style: italic;
}
.dev {
	height:14px;
}
.dn {
	display: none;
}
.br_ft {
	border-bottom: 1px solid #575757;
}
.bld,.bold {
	font-weight:bold;
}
.f_l,.left,.fl_l {
	float:left;
}
.f_r,.right,.fl_r {
	float:right;
}
.ta_c {
	text-align: center;
}
.border {
	background: url(../images/structure/dev.gif) repeat-x 0 0;
}
.br_td {
	border-top: 1px dashed #8b8b8b;
}
h1,h1 a,h2,h2 a {
	font-size:17px;
	color:#fefefe;
	padding-bottom:14px;
	text-shadow: 0 1px 2px #222;
	
}
h1 {
	text-decoration: none;
}
h3 {
	padding-bottom: 14px;
}
h3,h3 a,h3 span {
	font-size: 15px;
	color: #98cdf2;
	text-decoration: none;
}
h3 a:hover {
	text-decoration: underline;
	color: inherit;
}
h3.h3_sidebar {
	font-size: 13px;
	text-transform: uppercase;
	color: #ff5a3d;
	padding-bottom: 10px;
	text-shadow: 0 1px 2px #000000;
}
h4 {
	font-size: 14px;
	color: #98cdf2;
	padding-bottom: 10px;
}
.red {
	color:#fd504b;
}
.green,.stats span {
	color:#aad533 !important;
}
.yellow,.yellow:hover {
	color: #eac658 !important;
}
.pr_20 {
	padding-right: 20px;
}

.mr_20 {
	margin-right: 20px;
}
.mr_r4 {
	margin-right: 4px;
}
.pd_b0 {
	padding-bottom:0;
}

.pd_t85 {
	padding-top:82px;
}

.sidebar_box {
	display: block;
	background: #202020;
	border: 1px solid #797979;
	padding: 16px;
	margin-bottom: 20px;
	-moz-box-shadow: 0px 2px 4px #444;
	-webkit-box-shadow: 0px 2px 4px #444;
}
.sidebar_box,.sidebar_box p {
	color: #a1a1a1;
	font-size: 12px;
}
.advert {
	display: block;
	text-align: center;
	line-height: 48px;
	font-size: 12px;
	color: #cfcfcf;
	background: #292929;
	border:1px solid #343434;
	height: 48px;
	text-decoration: none;
}
#forum_feed {
	list-style: none;
}
#forum_feed li {
	font-size: 12px;
	border-bottom: 1px solid #282828;
	margin-bottom: 14px;
}
p.forum_feed_author,p.forum_feed_author a {
	font-size: 11px;
	font-style: italic;
	color: #7a7a7a;
}
p.forum_feed_author a {
	text-decoration: underline;
}
p.forum_feed_author a:hover {
	color: #a1a1a1;
}
#social {
	list-style: none;
	background: url(../images/structure/social.png) no-repeat 0 0;
	font-size: 12px;
	padding-left: 70px; 
}
#social li {
	padding: 2px 0px 20px 0px;
	color: #a1a1a1;
}
#social li a {
	color: #d2d2d2;
}
#social li a:hover {
	text-decoration: underline;
}
#social li.last {
	padding-bottom: 4px;
}
.ft_ads {
	padding-bottom: 14px;
}
.ft_ads,.ft_ads a {
	font-size: 12px;
	color: #767676;
	text-shadow: 0px 0px 1px #000;
	text-decoration: none;
}
.ft_ads a:hover {
	color: #949393;
}
ul.news {
	list-style: none;
}
ul.news li {
	display: block;
	margin-bottom: 14px;
	padding: 20px;
	background: #575757;
	border: 1px solid #787878;	
}
ul.news li img,ul.games li img,.img_thumb {
	float: left;
	margin-right: 16px;
	border: 1px solid #787878;
	-webkit-box-shadow: 0 2px 4px #222;
	-moz-box-shadow: 0 2px 4px #222;
}
.ul_comments li img {
	margin: 0px 0px 5px 14px;
	border: 1px solid #787878;
	-webkit-box-shadow: 0 2px 4px #222;
	-moz-box-shadow: 0 2px 4px #222;	
}
ul.news li p {
	font-size: 12px;
}
ul.games {
	list-style: none;
}
ul.games li {
	display: block;
	margin-bottom: 14px;
	padding:10px 20px;
	background: #575757;
	border: 1px solid #787878;
}
ul.games li.master {
	background:#333;
}
ul.games li img {
	border: 1px solid #787878;
	-webkit-box-shadow: 0 2px 4px #222;
	-moz-box-shadow: 0 2px 4px #222;
}
ul.games li h3 {
	padding-bottom: 10px;
}
ul.suggestion {
	float: left;
	display: block;
	width: 100%;
		list-style: none;
        margin-left: 0px;
        padding-left: 0px;
}
ul.suggestion li {
	width: 215px;
    margin-right: 5px;
	float: left;
	display: block;
	margin-bottom: 5px;
	padding:3px 3px 3px 3px;
	background: #575757;
	border: 1px solid #787878;
}
ul.suggestion li img { 
	float: left;
	margin-top: 7px;
	margin-bottom: 7px;
    margin-right: 5px; 
	border: 1px solid #787878;
	-webkit-box-shadow: 0 2px 4px #222;
	-moz-box-shadow: 0 2px 4px #222;
}
ul.note {
	border: none;
	margin: 0;
	padding: 0;
	float: left;
	display: block;
	list-style: none;
}
ul.note.darker li {
	color: #aeaeae;
}
ul.note li {
	background: none;
	color: #989898;
	font-style: italic;
	border: none;
	margin: 0;
	padding: 0;
	float: left;
	margin-right: 32px;	
}
ul.note li,ul.note li a {
	font-size: 12px;
}
ul.note li a {
	text-decoration: none;
}
ul.note li a:hover {
	text-decoration: underline;
	color: #fff;
}
.download,.download_dark {
	padding:3px 10px;
	font-size: 11px;
	background:#666;
	border: 1px solid #787878;
	text-decoration: none;
	cursor: pointer;
	
}
.download_dark {
	background: #444;
}
.download_dark:hover {
}
.paging {
	position: relative;
	width: 683px;
	padding: 0px;
	background: #525252;
	display: block;
	height: 28px;
	border: 1px solid #787878;

}
.page-of {
	position: absolute;
	margin: 3px 0px 0px 10px;
	font-size: 11px;
}
.paging-nav {
	position: absolute;
	right: 2px;
	top: 2px;
	float: left;
	list-style: none;
	display: block;
	clear: both;
	margin: 0;
	padding: 0;
}
.paging-nav li {
	float: left;
	margin-left: 2px;
	position: relative;
}
.paging-nav li a,.paging-nav li span {
	padding:3px 10px;
	font-size: 11px;
	background:#666;
	border: 1px solid #787878;
	text-decoration: none;
	cursor: pointer;
}
.paging-nav li a.act,.paging-nav li.act a {
	background: #555;
}
.paging-nav li a:hover {
	background: #555;
}
.paging-nav li span {
	color: #777;
	cursor: default;
}
ul.paging-nav li ul {
	position:absolute;
	z-index: 1000;
	top:24px;
	left:0px;
	margin:0;
	padding:0;
	list-style: none;
	background:#555;
	border: 1px solid #787878;
}
ul.paging-nav li #alfa {
	width: 87px
}
ul.paging-nav li #alfa li {
	width: 85px;
}
ul.paging-nav li #temat {
	width: 120px;
}
ul.paging-nav li #temat li {
	width: 118px;
}
ul.paging-nav li #year {
	width: 225px;
}
ul.paging-nav li #year li {
	width: 75px;
	float: left;
}
ul.paging-nav li #platform {
	width: 130px;
}
ul.paging-nav li #platform li {
	width: 128px;
}
ul.paging-nav li ul li {	
	margin:0;
	/* clear: both; */
	text-align: center;
	display: block;
	background: none;
	border: none;
}
ul.paging-nav li ul a,ul.paging-nav li.act ul a {
	display:block;
	float:none;
	padding: 1px 0px;
	text-transform:none;
	background: none;
	border: none;
}
ul.paging-nav li ul li a:hover,ul.paging-nav li ul li.act a,ul.paging-nav li ul li.act a:hover {	
	color: #fff;
}
.half {
	float: left;
	display: block;
	width: 332px;
}
#terms_box {
	height: 300px;
	padding: 14px;
	overflow: auto;
	border:1px dashed #444444;
	background: #555555;
	display: block;
	margin-bottom: 14px;
}
.logo_topup {
	background: #fff;
	padding: 14px 0px;
	text-align: center;
	display: block;
	width: 100%;
}
.gallery {
	width: 683px;
	height:160px;
	border: 1px solid #444444;
	background: #555555;
	clear: both;
	float: left;
	display: block;
	overflow: hidden;
}
.img_gall {
	list-style: none;
	width: 663px;
	height: 140px;
	float: left;
	display: block;
	padding: 10px;
	margin: 0px;

}
ul.img_gall li {
	float: left;
	display: block;
	padding: 5px 9px 5px 8px;
}
ul.img_gall li a:hover {
	-webkit-box-shadow: 0 3px 8px #222;
	-moz-box-shadow: 0 3px 8px #222;
}
.gal_wr {
	position: relative;
	display: block;
}
.nav {
	position: absolute;
	right: 0px;
	top:2px;
	background: url(../images/structure/gal_nav.jpg) no-repeat 0 -30px;
	height: 30px;
	width: 65px;
}
#prev1 {
	background: url(../images/structure/gal_nav.jpg) no-repeat 0px 0px;
}
#next1 {
	background: url(../images/structure/gal_nav.jpg) no-repeat -32px 0px;
}
.nav a {
	height: 30px;
	width: 32px;
	display: block;
	float: left;
	text-indent: -999999em;
}
#prev1:hover,#next1:hover {
	background: none;
}
ul.ul_comments {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
}
ul.ul_comments li {
	padding: 14px;
	float: left;
	display: block;
	width: 663px;
	border: 1px solid #444444;
	background: #555555;
	margin-bottom: 14px;
}
ul.ul_comments li p {
	font-size: 12px;
}
.stars {
	position: absolute;
	top:0;
	right: 0;
}
.star_box {
	list-style: none;
	margin: 0;
	padding: 0;
}
.star_box li,.star_box li a {
	width: 32px;
	height: 32px;
	float: left;
	display: block;
}
.star_full,.star_box li a:hover {
	background: url(../images/structure/stars/star.png) no-repeat 0 0;
}
.star_one {
	background: url(../images/structure/stars/star_first.png) no-repeat 0 0;
}
.star_third {
	background: url(../images/structure/stars/star_third.png) no-repeat 0 0;
}
.star_empty {
	background: url(../images/structure/stars/star_empty.png) no-repeat 0 0;
}
.ul_side_nav {
	margin: 0;
}
.ul_side_nav li.act a,.ul_side_nav li.act a:hover,.ul_side_nav li a:hover {
	color: #fff;
}
ul.share {
	position: absolute;
	margin: 0;
	padding: 0;
	top: 45px;
	right: 0;
	list-style: none;
	background: url(../images/structure/share.png) no-repeat 0 0;
	height: 29px;
	width: 125px;
}
ul.share li {
	width: 30px;
	height: 29px;
	margin-right: 1px;
	float: left;
	display: block;
}
.share li a {
	float: left;
	display: block;
	width: 30px;
	height: 29px;
	text-indent: -999999em;
}
.share li.sh_tw a {
	background: url(../images/structure/share.png) no-repeat 0 -29px;
}
.share li.sh_fb a {
	background: url(../images/structure/share.png) no-repeat -31px -29px;
}
.share li.sh_gg a {
	background: url(../images/structure/share.png) no-repeat -62px -29px;
}
.share li.sh_nk a {
	background: url(../images/structure/share.png) no-repeat -93px -29px;
}
.share li a:hover {
	background: none;
}
.img_captcha {
	margin: 14px 0px;
	border: 1px solid #444;
	padding: 14px;
	background: #555;
}
.warn {
	color: #ffa393;
}
#tooltip {
	position: absolute;
	z-index: 3000;
	background-color: #000;
	padding:5px 10px;
	opacity: 0.85;
	-moz-border-radius:4px;
	-webkit-border-radius:4px;
	border-radius: 4px;
}
#tooltip * { 
	margin: 0; 
	padding: 0;
	font-size:12px;
	color: #fff;
}
.list_heading {
	background: #525252;
	border: solid 1px #787878;
	width:653px;
	padding: 3px 15px;
	margin-bottom:7px;
	float: left;
}
.list_heading h2 {
	padding: 0;
	margin: 0;
	font-size: 14px;
}
.list {
	width:685px;
	float: left;
	margin-bottom:10px;
}
.blink,.dark_red {
	color: #900;
	font-weight: bold;
}
.forum_search_container {
	display: block;
	margin-bottom: 7px;
	padding:7px 10px;
	background: #575757;
	border: 1px solid #787878;
}
.ad_banner {
	border: none;
	margin-bottom: 14px;
}
.column_link {
	display:block;
	width:100%;
	padding-bottom:4px;
}
#rating {
	right: 0;
	top: 5px;
	float: right;
	margin-right: 45px;
}


/* ======================================================================
   form.css
   ====================================================================== */

th,td {
	vertical-align: top;
	text-align: left;
}
.fld {
	background: #555;
	border:1px solid #444;
	width:671px;
	padding:5px 6px 5px 6px;
}
.fld:focus,.fld:active {
	background: #4c4c4c;
}
.fld_ar {
	height: 200px;
}
.fld_sh {
	width: 317px;
}
.fld_left {
	width: 238px;
}
.fld_tiny {
	width:200px;
	padding:2px 3px;
	border: 1px solid #626262;
	background: url(../images/structure/search_bg.png) repeat-x 0 bottom #515151;
	font-style: italic;
	font-size: 12px;
	color: #a3a3a3;
}
.sbm,.btn {
	width:165px;
	display:block;
	text-align:center;
	overflow:hidden;
	text-decoration:none;
	float:left;
	border: none;
}
.btn {
	height:27px;
	cursor:pointer;
	background:transparent;
	text-shadow: 0px 1px 2px #000;
	color:#c0c0c0;
}
.sbm {
	margin-top:10px;
	height:27px;
	border:1px solid #343434;
	background: url(../images/structure/button.png) repeat-x 0 0;	
}
a.side_btn {
	border:1px solid #1b1b1b;
	cursor:pointer;
	color:#e2e2e2;
	text-align: center;
	text-decoration: none;
	height:27px;
	width: 165px;
	float: left;
	display: block;
	background: url(../images/structure/sbm.png) repeat-x 0 0;
	padding-top: 3px;
	text-shadow: 0px 1px 2px #000;
}
a.side_btn:hover {
	background: #5d5d5d;
}
a.button {
	border:1px solid #343434;
	cursor:pointer;
	color:#c0c0c0;
	text-align: center;
	text-decoration: none;
	height:27px;
	width: 165px;
	float: left;
	display: block;
	background: url(../images/structure/button.png) repeat-x 0 0;
	padding-top: 3px;
	text-shadow: 0px 1px 2px #000;
}
a.button:hover,.btn:hover {
	background: #3b3b3b;
}
.valid_general {
	background:#9c1b00;
	margin-bottom:14px;
	color:#fff;
	padding:7px 10px;
}
.valid_general_ok {
	background:#83BC32;
	margin-bottom:14px;
	color:#fff;
	padding:7px 10px;
}


.tbl_insert {
	width: 100%;
}


/* ======================================================================
   forum.css
   ====================================================================== */

.tbl_forum {
	width: 684px;
	float: left;
	background: #575757;
	border-top: 1px solid #787878;
	border-left: 1px solid #787878;
	margin-bottom: 14px;
}

.tbl_forum td,.tbl_forum th {
	padding: 8px 14px;
	border-bottom: 1px solid #787878;
	border-right: 1px solid #787878;
}
.tbl_forum th {
	background: #444;
	font-size: 11px;
	padding: 2px 14px;
}
.tbl_forum caption {
	background: #202020;
	text-align: left;
	padding: 8px 14px;
	border-right: 1px solid #787878;	
	border-top: 1px solid #787878;
	border-left: 1px solid #787878;
}
.tbl_forum span {
	font-size: 11px;
	color: #999;
}
.tbl_forum span a {
	font-size: 11px;
	text-decoration: none;
}
.ptwenty {
	width: 20%;
}
.pthirdy {
	width: 30%;
}
.pforty {
	width: 40%;
}
.pten {
	width: 10%;
}
.phandrid {
	width: 100%;
}


/* ======================================================================
   update5 - components that replaced the jQuery plugins
   ====================================================================== */

/* registration: the terms box stays closed while JavaScript runs; "Regulaminu"
   opens it (site.js). Without JavaScript it is simply visible, as before. */
.js #terms_box {
	display: none;
}
.js #terms_box.open {
	display: block;
}

/* forms sent in the background: visible feedback in the same frame as the tap */
form.busy {
	cursor: progress;
}
form.busy input[type=submit],
form.busy button[type=submit] {
	opacity: 0.6;
	cursor: progress;
}

/* game / emulator gallery: one strip that scrolls sideways and snaps to a
   thumbnail; "Poprzedni" / "Następny" scroll it by one width (site.js) */
.gallery {
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-padding-left: 10px;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #777 #555;
}
.gallery ul.img_gall {
	display: flex;
	flex-wrap: nowrap;
	width: -webkit-max-content;
	width: max-content;
	height: auto;
	float: none;
}
.gallery ul.img_gall li {
	float: none;
	flex: 0 0 auto;
	scroll-snap-align: start;
}
.gal_wr .nav button {
	display: block;
	float: left;
	width: 32px;
	height: 30px;
	padding: 0;
	margin: 0;
	border: 0;
	overflow: hidden;
	text-indent: -999999em;
	color: transparent;
	background-color: transparent;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

/* screenshot lightbox (native <dialog>, built by site.js on the first tap) */
dialog.lightbox {
	margin: auto; /* centred; the global "* { margin: 0 }" rule would pin it to the corner */
	padding: 0;
	border: 0;
	background: transparent;
	overflow: visible;
	max-width: 94vw;
	max-height: 94vh;
}
dialog.lightbox::backdrop {
	background: rgba(0, 0, 0, 0.85);
}
dialog.lightbox figure {
	margin: 0;
	text-align: center;
}
dialog.lightbox img {
	display: block;
	width: auto;
	height: auto;
	max-width: 94vw;
	max-height: 84vh;
	margin: 0 auto;
	border: 3px solid #dedede;
	background: #333;
}
dialog.lightbox figcaption {
	padding: 8px 48px 0;
	font-size: 13px;
	color: #dedede;
}
dialog.lightbox button {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	font-size: 34px;
	line-height: 1;
	font-weight: normal;
	color: #fff;
	background: rgba(0, 0, 0, 0.55);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
dialog.lightbox button:hover,
dialog.lightbox button:focus-visible {
	background: rgba(0, 0, 0, 0.85);
}
dialog.lightbox .lb-close {
	top: 9px;
	right: 9px;
	width: 40px;
	height: 40px;
	border-radius: 20px;
	font-size: 30px;
}
dialog.lightbox .lb-prev,
dialog.lightbox .lb-next {
	top: 50%;
	width: 44px;
	height: 72px;
	margin-top: -50px;
}
dialog.lightbox .lb-prev {
	left: 3px;
}
dialog.lightbox .lb-next {
	right: 3px;
}

/* star rating (plugins/content/rating.php, js/rating.js) - the images and the
   spacing of the old raty plugin: 16 px stars, 4 px apart */
#rating {
	white-space: nowrap;
}
/* font-size / line-height 0: the 16 px stars are the only content, so the box
   sits on the text baseline exactly like the old <img> stars did */
#rating .stars {
	position: relative;
	display: inline-block;
	vertical-align: baseline;
	white-space: nowrap;
	font-size: 0;
	line-height: 0;
}
#rating .stars i,
#rating .stars button {
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: 0 4px 0 0;
	padding: 0;
	border: 0;
	vertical-align: baseline;
	background: url(../js/rating/img/star-off.png) no-repeat 0 0;
}
#rating .stars i:last-of-type,
#rating .stars button:last-of-type {
	margin-right: 0;
}
#rating .stars-on {
	position: absolute;
	top: 0;
	left: 0;
	height: 16px;
	overflow: hidden;
}
#rating .stars-on i {
	background-image: url(../js/rating/img/star-on.png);
}
#rating .stars button {
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}
/* preview: every star up to the one under the mouse / keyboard focus lights up */
#rating.stars-rate .stars:hover button,
#rating.stars-rate .stars:focus-within button {
	background-image: url(../js/rating/img/star-on.png);
}
#rating.stars-rate .stars button:hover ~ button,
#rating.stars-rate .stars button:focus ~ button {
	background-image: url(../js/rating/img/star-off.png);
}
/* the chosen stars stay lit while the vote is being sent */
#rating .stars[data-picked="1"] button:nth-child(-n+1),
#rating .stars[data-picked="2"] button:nth-child(-n+2),
#rating .stars[data-picked="3"] button:nth-child(-n+3),
#rating .stars[data-picked="4"] button:nth-child(-n+4),
#rating .stars[data-picked="5"] button:nth-child(-n+5) {
	background-image: url(../js/rating/img/star-on.png);
}
#rating.busy {
	cursor: progress;
}
#rating .stars-thanks {
	color: #9c3;
}


/* ======================================================================
   update5 - phones and tablets

   The header now carries a mobile viewport (header.php), so phones show the
   page at its real size instead of a zoomed-out 1000 px desktop page.
   Everything below applies only to screens narrower than the desktop
   layout: on a computer the site is exactly as before.

     up to 1019 px : the 1000 px frame becomes fluid, two columns
     up to  759 px : one column - content first, sidebar after it
   ====================================================================== */

@media (max-width: 1019px) {

	html {
		-webkit-text-size-adjust: 100%;
		text-size-adjust: 100%;
	}
	img,
	iframe,
	video,
	embed,
	object {
		max-width: 100%;
	}
	img {
		height: auto;
	}

	/* frame */
	#wr,
	#cont,
	#footer {
		width: auto;
	}
	#wr {
		padding: 0 10px;
	}
	#cnt {
		min-height: 0;
	}
	/* the textured band under the header starts at a fixed 127 px on the desktop;
	   the header is taller here, so the band moves to the top of the content */
	#out_two {
		background-image: none;
	}
	#cnt {
		float: none;
		width: auto;
		margin: 0 -10px;
		padding-left: 10px;
		padding-right: 10px;
		background: url(../images/structure/top.png) repeat-x center 0;
	}

	/* header: logo, small menu, main menu and search box in the normal flow.
	   It is taller than the desktop one, so it paints its own full-width dark
	   background (the page background turns light at a fixed 127 px). */
	#header {
		width: auto;
		height: auto;
		margin: 0 -10px;
		padding: 64px 10px 14px; /* 64 px: the logo image */
		z-index: 2; /* its own layer (for the background below) that stays above the
		               content, so the search suggestions can drop down over it */
		background: none;
	}
	#header::before {
		content: "";
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: -1;
		/* same gradient as the page background for the first 127 px (the logo image
		   has it baked in), then flat dark for the rest of the taller header */
		background: url(../images/structure/logo.png) no-repeat 10px 0, linear-gradient(#454545 0, #323232 126px, #323232 100%);
		border-bottom: 1px solid #6c6c6c;
	}
	.logo {
		left: 30px;
	}
	#header h1 {
		top: 24px;
		left: auto;
		right: 10px;
		max-width: 40%;
		text-align: right;
		line-height: 16px;
	}
	#pnv {
		position: static;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-end;
		margin: -6px 0 6px;
	}
	#pnv li {
		float: none;
		margin: 0 0 0 4px;
	}
	#pnv li a {
		display: block;
		padding: 8px 8px;
		font-size: 13px;
	}
	#navigation {
		position: relative;
		bottom: auto;
		width: auto;
		height: auto;
		background: #1c1c1c;
		border-color: #535353;
	}
	#nav {
		float: none;
		width: auto;
		height: auto;
		background: none;
		display: flex;
		flex-wrap: wrap;
	}
	#nav li {
		float: none;
		height: auto;
		flex: 1 1 16%; /* one row of six on tablets... */
	}
	/* the desktop menu is an image sprite; here the words themselves, same colours */
	#navigation #nav li a,
	#navigation #nav li a:hover,
	#navigation #nav li a.act {
		float: none;
		width: auto;
		height: auto;
		background: none;
		text-indent: 0;
		padding: 11px 4px;
		text-align: center;
		text-transform: uppercase;
		font-size: 15px;
		line-height: 20px;
		color: #eacb59;
		text-shadow: 0 1px 1px #000;
	}
	#navigation #nav li a:hover,
	#navigation #nav li a.act {
		color: #ababab;
	}
	#search {
		position: relative;
		top: auto;
		right: auto;
		padding: 0 8px 8px;
	}
	.inp_search {
		display: block;
		width: 100%;
		height: 38px;
		margin: 0;
		box-sizing: border-box;
		font-size: 16px; /* 16 px: phones do not zoom in when the field gets focus */
	}
	#search-results {
		left: 8px;
		right: 8px;
		top: 38px;
		width: auto;
	}

	/* two fluid columns; the wrapper must not size itself to its widest child
	   (the gallery strip is wider than the screen on purpose - it scrolls) */
	#cont {
		float: none;
	}
	#right,
	#left {
		min-width: 0;
	}
	#left {
		width: 30%;
		margin-right: 2%;
	}
	#right {
		width: 68%;
	}
	.sidebar_box {
		box-sizing: border-box;
		max-width: 100%;
	}

	/* blocks that were sized for the 685 px desktop column */
	.paging,
	.gallery,
	.list,
	.list_heading,
	.tbl_forum,
	ul.ul_comments li,
	.half {
		width: auto;
		max-width: 100%;
		box-sizing: border-box;
	}
	.list_heading,
	.list,
	ul.ul_comments li,
	.half {
		float: none;
	}
	.fld,
	.fld_sh,
	.fld_left,
	.fld_tiny {
		max-width: 100%;
		box-sizing: border-box;
	}
	.fld {
		width: 100%;
	}

	/* sort and page bars: a row of buttons that wraps instead of a fixed 28 px strip */
	.paging {
		height: auto;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		padding: 2px;
	}
	.page-of {
		position: static;
		margin: 0 8px 0 6px;
	}
	.paging-nav {
		position: static;
		display: flex;
		flex-wrap: wrap;
		float: none;
	}
	.paging-nav li {
		float: none;
		margin: 2px;
		position: static;
	}
	.paging-nav li a,
	.paging-nav li span,
	.paging-nav li button.sort-toggle {
		display: block;
		padding: 7px 10px;
		font-size: 13px;
		line-height: 18px;
	}
	/* a sort menu opens as a full-width panel under the bar */
	ul.paging-nav li ul {
		top: 100%;
		left: 0;
		right: 0;
		width: auto !important;
		display: none;
	}
	ul.paging-nav li.open > ul {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	}
	ul.paging-nav li ul li {
		width: auto !important;
		float: none;
		margin: 0;
	}
	ul.paging-nav li ul li a {
		padding: 9px 4px;
		font-size: 13px;
	}

	/* "related games": as many 215 px boxes as fit */
	ul.suggestion li {
		width: calc(50% - 5px);
		box-sizing: border-box;
	}

	/* footer: both halves stacked */
	#footer {
		padding-left: 10px;
		padding-right: 10px;
	}
	#ftl,
	#ftr {
		float: none;
		width: auto;
		text-align: left;
	}
	.footer_nav a {
		display: inline-block;
		margin: 0 16px 0 0;
		padding: 6px 0;
	}
}

@media (max-width: 759px) {

	#nav li {
		flex-basis: 33%; /* ...two rows of three on phones */
	}

	/* one column: the page content first, the sidebar (login box, forum feed,
	   adverts, social links) after it */
	#cont {
		display: flex;
		flex-direction: column;
	}
	#right {
		order: 1;
		width: auto;
		float: none;
	}
	#left {
		order: 2;
		width: auto;
		float: none;
		margin: 20px 0 0;
	}
	#cnt {
		padding-top: 14px;
		padding-bottom: 14px;
	}

	/* header: the logo alone in the first row, the tagline is kept for search
	   engines and screen readers but not shown */
	#header h1 {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		clip-path: inset(50%);
		white-space: nowrap;
	}
	#pnv {
		justify-content: center;
		margin: 0 0 6px;
	}
	#pnv li {
		margin: 0;
	}

	/* list entries: thumbnail, title, then the details in two columns */
	ul.games > li,
	ul.news > li {
		padding: 10px 12px;
	}
	ul.note li {
		margin-right: 18px;
	}

	/* "related games": two per row */
	ul.suggestion {
		display: flex;
		flex-wrap: wrap;
		gap: 6px;
	}
	ul.suggestion li {
		width: calc(50% - 3px);
		margin: 0;
		float: none;
	}

	/* small dark buttons ("Zaloguj teraz", "Pobierz", "Doładuj konto"...): finger-sized */
	.download,
	.download_dark {
		display: inline-block;
		padding: 8px 14px;
		font-size: 13px;
		line-height: 18px;
	}

	/* star rating: the same 16 px stars, but each one is a 32 px target,
	   centred on the "Oceń:" line */
	#rating {
		float: none;
		margin: 0;
	}
	#rating.stars-rate .stars {
		vertical-align: middle;
	}
	#rating.stars-rate .stars button {
		width: 32px;
		height: 32px;
		margin: 0;
		vertical-align: middle;
		background-position: center;
	}

	.sbm,
	.btn,
	a.side_btn {
		max-width: 100%;
	}

	/* 16 px text in every text field: iPhones zoom the page in when a field with
	   smaller text gets focus */
	input[type="text"],
	input[type="password"],
	input[type="email"],
	input[type="search"],
	textarea,
	select,
	.fld {
		font-size: 16px;
	}

	/* forum front page: every row of the table becomes a card - the forum's
	   name and description, the counts on one line, then the last post */
	.tbl_forum,
	.tbl_forum tbody,
	.tbl_forum tr,
	.tbl_forum td,
	.tbl_forum caption {
		display: block;
		width: auto;
	}
	.tbl_forum {
		float: none;
		border-right: 1px solid #787878;
	}
	.tbl_forum caption {
		border-left: 0;
		border-right: 0;
	}
	.tbl_forum th {
		display: none;
	}
	.tbl_forum tr {
		border-bottom: 1px solid #787878;
		padding: 8px 0;
	}
	.tbl_forum tr:first-child {
		padding: 0;
		border-bottom: 0;
	}
	.tbl_forum td {
		border: 0;
		padding: 3px 14px;
	}
	.tbl_forum td.stats br {
		display: none;
	}
	.tbl_forum td.stats span ~ span {
		margin-left: 14px;
	}
	.tbl_forum span,
	.tbl_forum span a {
		font-size: 12px;
	}
}

@media (max-width: 400px) {
	/* the 352 px logo image is scaled to fit next to nothing on small phones */
	#header {
		padding-top: 52px;
	}
	#header::before {
		background-size: 264px auto, auto;
	}
	.logo,
	.logo a {
		width: 200px;
		height: 32px;
	}
	.logo {
		top: 10px;
		left: 24px;
	}
	#pnv li a {
		padding: 8px 6px;
	}
}


/* ======================================================================
   update5 - ad slots: keep the space of the in-content AdSense unit
   (game pages) so the page does not jump down when the ad arrives.
   No ad code is changed - only the room the ad will take is kept free.

   Measured with real ads: in a column of 468 px or more AdSense draws this
   unit 280 px tall (desktop 685x280, tablet 509x280, phone 470x280...),
   filled or not; in a narrower column - phones up to 487 px wide - it draws
   a full-width square, as tall as the screen is wide.
   ====================================================================== */
#right > ins.adsbygoogle {
	min-height: 280px;
}
@media (max-width: 487px) {
	#right > ins.adsbygoogle {
		min-height: 100vw;
	}
}
