.itemSize, 
._item{
	width: 190px;
	height: 190px;
}

ul.items li .itemBorder, 
._item{
	padding: 4px;
}

.itemMargin, 
._item{
	margin: 5px;
}
/*
.r_1280 .itemSize, 
.r_1280 ._item{
	width: 160px;
	height: 160px;
}

.r_1280 ul.items li .itemBorder, 
.r_1280 ._item{
	padding: 3px;
}

.r_1280 .itemMargin, 
.r_1280 ._item{
	margin: 4px;
}
.r_1280 {
	font-size: 90%;
}
*/
.r_1024 .itemSize,
.r_1024 ._item{
	width: 140px;
	height: 140px;
}

.r_1024 ul.items li .itemBorder,
.r_1024 ._item{
	padding: 2px;
}

.r_1024 .itemMargin,
.r_1024 ._item{
	margin: 3px;
}

.r_1024 {
	font-size: 80%;
}

.r_800 ul.items li .itemBorder,
.r_800 ._item{
	padding: 2px;
}

.r_800 .itemSize,
.r_800 ._item{
	width: 120px;
	height: 120px;
}

.r_800 {
	font-size: 70%;
}
/*
body.r1280 .icon-control{
	transform: scale(0.8);
}

body.r1024 .icon-control{
	transform: scale(0.8);
}*/
/**koniec dynamicznej konfiguracji**/

a, img{
	border: none;
	outline: none;
}
html, body { width: 100%; height: 100%;}	

body {
	font-family: 'Trebuchet MS', tahoma, verdana;
	font-size: 16px;
	background: #000;
	
	padding: 0;
	margin: 0;
	line-height: 1;
	color: #fff;
	background-size: 100% 100%;
	background-image: url("img/bg4.png");
	background-attachment: fixed;
}

.main-bg {
	position: fixed; 
	width: 100%;
	top: 0;
	left: 0;
}

ul, li{
	list-style: none outside none;
    margin: 0;
    padding: 0;
}

a, a:active, a:visited {
    text-decoration: none;
}

ul.items {
	/*background: #13181d;*//*#EFF4F9;*/
    float: left;
    width: 100%;
	/*min-height: 150px;*/
	padding-bottom: 2.4em;
}

.r_mobile ul.items{
	padding-bottom: 0;
	padding-top: 2.4em;
}

ul.items li {
	color: #fff;
    display: inline;
    float: left;
    font-size: 1em;
    padding: 0;
    text-align: left;
	outline: none;
}

ul.items li img{
	width: 100%;
	height: 100%;
	position: relative;

}

ul.items li a.season {
	background: #c7cb7c;/*#dee2e7;*/
}

ul.items li a.watched {
	background: #444444;
}

ul.items li a {
    color: #fff;/*#2B99D3;*/
	background: #fffffe;/*#dee2e7;*/
    font-weight: bold;
	display: block;
	text-align: left;
	-webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3); 
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

ul.items li a:hover, ul.items li a:focus {
    background: #ffad36;
	color: #ffad36;
	/*border-radius: 5px 5px 5px 5px;*/
}

.roundify {
/*
	behavior:url(css/pie/pie.php);
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	border-radius:5px;*/
	position: relative;
}

a.payable::after{
	position: absolute;
	bottom: 10px;
	right: 10px;
	content: "$";
}
a.payable {
	background: #444 !important;
}
a.payable img{
	opacity: 0.4;
}

.imageContainer{
	position: relative;
	margin: 0;
	padding: 0;
}

.imageContainer .imageMask{
	behavior:url(css/pie/pie.php);
	background: url(img/bg_overlay.png) repeat scroll 0 0 transparent;
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 35%;
	left: 0;
	/*border-radius: 0px 0px 5px 5px;*/
}

.imageContainer .shortcut{
	position: absolute;
	top: 0;
	right: 0;
	font-size: 1.2em;
	text-align: center;
	background: url(img/bg_overlay.png) repeat scroll 0 0 transparent;
	color: #fff;
	text-shadow: 1px 1px 0 #000;
	width: 1.8em;
	height: 1.8em;
	border-radius: 0px 5px 0 5px;
	behavior:url(css/pie/pie.php);
	line-height: 1.8em;
}


.imageContainer .imageMask div{
	margin: 3px;
	text-shadow: 1px 1px 0 #000000;
}

.imageContainer .imageMask .subtitle{
	font-weight: normal;
	font-size: 0.8em;
}

h1{
	font-weight: bold;
	font-size: 1.1em;
	color: #FFAD36;
	text-align: center;
}

#overlay{
	background: url(img/ajax-loader.gif) no-repeat scroll 50% 50% #000;
	position: fixed;
    top: 0;
    left: 0;
    filter:alpha(opacity=70);
    -moz-opacity:0.7;
    -khtml-opacity: 0.7;
    opacity: 0.7;
    z-index: 10000;
	width: 100%; 
	height: 100%;
}

.icon-control, #footer nav {
	background: url(img/keyboard_sprite.png) no-repeat scroll 0 0 transparent;
	background-size: 400%;
	display: block;
	float: right;
	min-width: 2.6em;
	min-height: 1.7em;
}

.icon-control {
	width: 2.6em;
	height: 1.7em;
	/*width: 2.8em;
	height: 1.7em;/*
	display: block; 
	/*text-indent: -99999px;*/ 
	overflow: hidden; 
	float: right;
	border-radius: 2px;
	margin-left: 0.2em;
	font-size: 110%;
	text-align: center;
	color: #000;
	text-shadow: none;
	/*line-height: 24px;*/
	line-height: 170%;
}

/* positioning */
.icon-control-403{ background-position: 0 80%; }
.icon-control-404{ background-position: 33.33% 80%; }
.icon-control-405{ background-position: 66.66% 80%; }
.icon-control-406{ background-position: 100% 80%; }
.icon-control-415{ background-position: 0 40%; }
.icon-control-457{ background-position: 0 20%; }
.icon-control-9{ background-position: 33.33% 20%; }
.icon-control-461 { background-position: 66.66% 0; }
.icon-control-1001 { background-position: 100% 0; }
.icon-control-48, .icon-control-49 { background-position: 100% 100%; }
.icon-control-33 { background-position: 33.33% 100%; }
.icon-control-34{ background-position: 0 100%; }
.icon-control-menu{ background-position: 0% 60%;}

#content{
	padding: 4px;
	z-index: 100;
	height: 100%;
	box-sizing: border-box;
}

#footer{
    background:url("img/bg-header-default.png") repeat-x scroll 50% 50% #000000;
    border-top: 1px solid #111;
    bottom: 0;
    padding: 0;
    position: fixed;
    width: 100%;
	font-size: 80%;
	height: 2.4em;
}


.r_mobile #footer{
	top: 0;
	font-size: 120%;
}

.r_mobile #footer li{
	display: none;
}

#footer ul li.menu{
	display: none;
	width: auto !important;
}

.r_mobile #footer li.menu{
	display: block;
}

.r_mobile #footer ul{
	float: right;
	position: absolute;
	right: 0;
	/*top: 2.4em;*/
}
.r_mobile #footer ul li{
	background:url("img/bg-header-default.png") repeat-x scroll 50% 50% #000000;
	float: none;
	width: 200px;
}

#footer ul{
	border-top: 1px solid #333;
	padding: 0;
	margin: 0;
}

#footer li, #footer #logo {
	line-height: 170%;
	margin-right: 20%;
	padding: 0 0;
	margin: 0;
	float: right;
	display: block;
	border-right: 1px solid #111;
	border-left: 1px solid #333;
	background: none;
}

#footer #logo {
	float: left;
	color: #ffad36;
	font-weight: bold;
	padding: 0.16em 0.25em;
	box-shadow: none;
	-webkit-box-shadow: 1px 0 0 rgba(255, 255, 255, 0.1);
	-moz-box-shadow: 1px 0 0 rgba(255, 255, 255, 0.1);
	box-shadow: /*-1px 0 0 rgba(255, 255, 255, 0.1) inset,*/ 1px 0 0 rgba(255, 255, 255, 0.1);
	border: none;
	border-right: 1px solid #111;
}

#footer #logo  span{
	color: #c7cb7c;
}

#footer li a{
	color: #fff;
	cursor: pointer;
	display: block;
	height: 1.9em;
	padding: 0.16em 0.25em;
	text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.95);
	background: none;
}

#footer li a:hover {
	background: #ffad36;
}

.show{
	display: block !important;
}

select{
	font-size: 1em;
}

._item{
	display: none;
}