*{
	margin:0;
	padding:0;
}
body{
	background:#fff url(http://nkatalog.pl/templates/default/images/arkaplan.gif) repeat-x top;
	font:12px/20px Tahoma,Helvetica,sans-serif;
	color:#2a2a2a;
}
#home-bg{
	background:#fff url(http://nkatalog.pl/templates/default/images/arkaplan2.gif) repeat-x top;
}

/* Layout Styles Starts */

#wrapper{
	width:960px;
	margin:0 auto;
}
#header-top{
	height:62px;
	overflow:hidden;
	padding:25px 0 0 0;
	width: 980px;
}
#logo{
	width:245px;
	float:left;
}	
#logo h1{
	background:url(http://nkatalog.pl/templates/default/images/logo.png) no-repeat;
	
}
#logo h1 a{
	display:block;
	height:50px;
}
#logo h1 a span{
	display:none;
}
#menu{
	float:right;
	width: 730px!important;
	margin-left:5px;
	
}
#menu li{
	list-style:none;
	margin:0 0 0 5px;
}
#menu li, #menu li a, #menu li a span, #menu li a.current, #menu li a.current span{
	display:block;
	float:left;
	height:35px;
	line-height:35px;
	text-decoration:none;
	text-transform:uppercase;
	cursor:pointer;
}
#menu li a, #menu li a.current{
	color:#fff;
	padding:0 0 0 12px;
}
#menu li a span, #menu li a.current span{
	color:#2a2a2a;
	padding:0 18px 0 9px;
}
#menu li a:hover, #menu li a.current{
	background:url(http://nkatalog.pl/templates/default/images/menu-sol.gif) no-repeat left;
	color:#fff;
}
#menu li a:hover span, #menu li a.current span{
	background:url(http://nkatalog.pl/templates/default/images/menu-sag.gif) no-repeat right;
	color:#fff;
}
#header{
	height:328px;
	background:url(http://nkatalog.pl/templates/default/images/banner.png) no-repeat;
	overflow:hidden;
	padding:0 18px 0 0;
}
#domain-search{
	width:395px;
	height:35px;
	margin:250px 0 0 0;
	padding:12px 0 0 0;
	color:#2a2a2a;
	font-size:11px;
	float:right;
}
.search-input{
	background:#fff;
	border:2px solid #dbdbdb;
	margin:0 4px;
	padding:1px;
}
#domain-search select{
	width:55px;
}
.search-btn{
	width:47px;
	height:20px;
	background:url(http://nkatalog.pl/templates/default/images/kontrol.gif) no-repeat;
	border:0;
	outline:0;
	margin:0 0 0 5px;
	cursor:pointer;
}
#container{
	margin:30px 0;
}
#sidearea{
	width:220px;
	float:left;
}
.sblock1{
	background:#fff url(http://nkatalog.pl/templates/default/images/blok-bg.gif) repeat-y top;
	margin:0 0 20px 0;
	width:200px;
}
.sblock1-top{
	background:url(http://nkatalog.pl/templates/default/images/blok-ust.gif) no-repeat top;
	height:34px;
	line-height:34px;
	color:#2a2a2a;
	text-indent:20px;
	font-weight:bold;
	font-size:12px;
        border-bottom:1px solid #d0d0d0; 
}
.sblock1-bottom{
	background:url(http://nkatalog.pl/templates/default/images/blok-alt.gif) no-repeat bottom;
	padding:16px;
	color:#2a2a2a;
}
#mainarea{
        width:715px;
	float:right;
}
#mainarea h2{
	margin:0 0 25px 0;
}
#mainarea h2 span{
	color:#e73830;
	font-weight:bold;
}
.mblock1{
	width:193px;
	height:135px;
	float:left;
	display:block;
	margin:0 18px 0 0;
	background:url(http://nkatalog.pl/templates/default/images/yesil-kutu.gif) no-repeat;
	padding:15px;
	color:#fff;
}
.mblock2.blue{
	width:193px;
	height:135px;
	float:left;
	display:block;
	margin:0 18px 0 0;
	background:url(http://nkatalog.pl/templates/default/images/mavi-kutu.gif) no-repeat;
	padding:15px;
	color:#fff;
}
.mblock1.orange{
	background:url(http://nkatalog.pl/templates/default/images/kirmizi-kutu.gif) no-repeat;
}
.mblock1.nomargin{
	margin:0;
        background:url(http://nkatalog.pl/templates/default/images/mavi-kutu.gif) no-repeat
}
#container .mblock1 h2{
	color:#fff;
	font-weight:bold;
	font-size:20px;
	margin:0 0 8px 0;
}
#container .mblock1 ul{
	list-style:none;
	margin:5px 0 0 3px;
}
.mblock1 li{
	font-size:10px;
	background:url(http://nkatalog.pl/templates/default/images/bullet.gif) no-repeat left;
	padding:0 0 2px 20px;
}



/* Layout Styles Ends */



/* Links Styles Starts */

#container p.hr{
	border:solid #d3d3d3;
	border-width:1px 0 0 0;
	margin:0;
	outline:none;
}

/* Links Styles Ends */

/* Form Styles */

.login-input{
	background:#f8f8f8 url(http://nkatalog.pl/templates/default/images/giris-input-arkaplan.gif) repeat-x;
	border:1px solid #c4c4c4;
	padding:3px 5px;
	width:155px;
	font-size:11px;
	font-weight:bold;
}
.login-btn{
	background:url(http://nkatalog.pl/templates/default/images/kontrol.gif) no-repeat;
	width:79px;
	height:33px;
	border:none;
	outline:none;
	cursor:pointer;
	margin:5px 0 0 0;
}
#mainarea form{
	padding:0 5px;
}
#mainarea form p{
	margin:0 0 5px 0;
}
#mainarea form p.floatleft{
	margin-right:15px;
}
.input{
	border:1px solid #c4c4c4;
	background:none;
	cursor:text;
	margin:5px 0;
	padding:2px;
	width:200px;
        font-family: Tahoma;
        font-size:12px;
        font-weight:bolder;  
}
textarea.input{
	width:415px;
	height:100px;
        font-family: Tahoma;
        font-size:12px;
        font-weight:bolder;  
}
.input:focus, .textarea:focus{
	border:1px solid #000;
}
.signin-btn, .button1{
	background:#d82929;
	margin:8px 0;
	padding:5px 10px;
	color:#fff;
	font-weight:bold;
	border:none;
	outline:none;
	cursor:pointer;
}

/* Form Styles */


/* Paragraph and list Styles */

#container p{
	margin:0 0 15px 0;
}
#container form p{
	margin:0 0 5px 0;
}
#container p img.floatleft{
	margin:10px 10px 0 0;
}
#container p img.floatright{
	margin:10px 0 0 10px;
}
#mainarea img.floatleft, #mainarea p img.floatleft{
	margin:10px 10px 10px 0;
}
#mainarea img.floatright, #mainarea p img.floatright{
	margin:10px;
}
#container ul, #container ol{
	margin:0 0 0 20px;
}
#container ol{
	margin:0 0 0 30px;	
}
#container dt{
	font-weight:bold;
	margin:5px 0;
}

/* Paragraph Styles */

/* Genric Styles Starts */

.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
.clearfix {
	display: inline-block;
	width: 400px;
	margin-left: -25px;
}
html[xmlns] .clearfix {
	display: block;
}
* html .clearfix {
	height: 1%;
}
a {
	color:#2a2a2a;
	text-decoration:none;
	font-weight:bold;
}

a#link-header {color:#545454; line-height:13px!important } 

a:hover {text-decoration:underline;color:#e73830;}
h1{font-size:32px;}
h2{font-size:24px;}
h3{font-size:18px;}
h4{font-size:16px;}
h5, h6{font-size:14px;}
h1,h2,h3,h4,h5,h6{margin:0 0 15px 0;font-family:"Trebuchet MS";font-weight:normal;}
img{border:none;}
.clear{clear:both;}
.floatleft{float:left;}
.floatright{float:right;}
.center{text-align:center;}
.text-left{text-align:left;}
.text-right{text-align:right;}
.normal, .normal a{font-weight:normal;}
.textbold{font-weight:bold;}
#container .nomargin, .nomargin{margin:0;}
#container.nobg, .nobg{background:none;}

/* Genric Styles Ends */


/* Table Styles */

table.tablecr{
	font-family:Arial,Helvetica,sans-serif;
	color:#292929;
	font-size:12px;
	width:100%;
}
table.tablecr td{
	height:25px;
}
table.tablecr th{
	height:25px;
	font-size:13px;
	color:#ffffff;
}
.tbwidth{
	width:15%;
	text-align:center;
}
table.tablecr tr.features{
	background: #292929; 
	color:#fff;
}
.style77 {width: 15%; font-weight: bold; text-align:center;}
.critem{
	background-color: #fef3f3;
}

/* Table Styles */

img {
	border:0px;
}

a img {
	text-decoration:none;
}

form {
	font:11px Verdana, Sans-serif;
	margin:0 0 20px 10px;
	color:#000000;
	text-align:justify;
	line-height:17px;
	
}	

.szukaj {
font:11px Verdana, Sans-serif;
	margin:0 0 20px 10px;
	color:#000000;
	text-align:center;
	line-height:17px;
	margin-top: -22px;
	width: 320px!important;
	
	}

.loading {
	height:30px;
	background:url('../images/working.gif') 50% 50% no-repeat;
	width:100%;
	text-align:center;
	margin:0 auto;
}

#wrap {
   width:820px;
   background:#CCCCCC url('../images/content.jpg') repeat-y;
   margin:0 auto;
   text-align:left;
   overflow:hidden;
}

#header_left {
	margin:0px;
	padding:35px 0 0 45px;
	float:left;
	width:400px;
}

#header_left img {
	margin:8px 5px 0 0; 
	padding:0;
    border:0;
    float:left;
}

#header_left h1, #header_left h1 a, #header_left h1 a:hover {
	margin:0; 
	padding:0;
	font:bold 35px Tahoma, Sans-serif;
	color:#FFFFFF;
	text-decoration:none;
    letter-spacing:1px;	
    float:left;
}

#header_left h2 {
    margin:0;
    padding:0 0 0 0;
    font: bold 13px Tahoma, Sans-serif;
    color:#FFFFFF;
    letter-spacing:0.3px;
    float:left;
    width:340px;       
}

#header_right {
	margin:0px;
	padding:50px 50px 0 0;
	float:right;
}

.button {
    height:20px;
    width:auto;
    border:1px solid #558E31;
    cursor:pointer;
    color:#FFFFFF;
    background:url('../images/button.jpg') repeat-x;
}

#error {
	width:728px;
	margin:8px auto;
	padding:5px;
	font:bold 11px Verdana;
	color:#cc0000;
	border:2px solid #cc0000;
	text-align:center;
	background-color:#ffffff;
}

#info {
	width:728px;
	margin:8px auto;
	padding:5px;
	font:bold 11px Verdana;
	color:#1d771d;
	border:2px solid #1d771d;
	text-align:center;
	background-color:#ffffff;
}

#content-wrap {
	width: 985px!important;
	margin: 0 auto;
	clear:both;
	margin-left:-10px;
	margin-bottom: 10px;
}

#sidebar {
	float:left;
	padding:0; 
	margin:0;
	width:200px;
margin-top:10px;	
}

.right {
	margin-left:5px!important;
	float:right!important;
}

#sidebar h3 {	
	font:bold 12px Verdana;
	text-align:left;
	padding:5px;
	margin:5px 5px 0 0;
	background:url('../images/sidebar_h3.gif') no-repeat;	
	color:#FFFFFF;
}

#sidebar ul {
    padding:0;
    margin:8px 10px 10px 5px;
}

#sidebar ul li {
	margin: 5px 0 0 0;
	list-style:none;
	font: 11px Verdana;
	color:#000000;	
}

#sidebar ul li.premium {
	width:180px;
}

img.premium {
	border:1px solid #BABABA;
	padding:0;
	margin:4px 0px 4px 0px;
    width:150px;
    height:110px;
}

img.premium-home{
	border:1px solid #BABABA;
	padding:0;
	margin:4px 0px 4px 0px;
    width:220px;
    height:140px;
}

div#napis {width:450px; font-size:15px ; color:white; margin-left: -60px;}





#sidebar ul li.premium a {
	text-align:center;
	padding:0;
	margin:0;
}

#sidebar ul li.premium a:hover {
	text-align:center;
	padding:0;
	margin:0;
}

#sidebar ul li.in {
	margin: 5px 0 0 0;
	list-style:none; 
	background: url('../images/sidebar_li.gif') no-repeat left top;	
	border-bottom: 1px solid #BABABA;
	font: 11px Verdana;
	color:#000000;		
}

#sidebar ul li.out {
	margin: 5px 0 0 0;
	list-style:none; 
	background: url('../images/sidebar_li_2.gif') no-repeat left 40%;	
	border-bottom: 1px solid #BABABA;
	font: 11px Verdana;
	color:#000000;			
}

#sidebar ul li.pr {
    padding:0;
    height:15px;
}

#sidebar ul li img.pr {
    margin:0; 
    padding:0;
    float:left; 
}

#sidebar ul li .pr_text {
	float:right; 
	width:80px; 
	text-align:right;
}

#sidebar ul li a.pr {
	text-align:right;
	font-weight:bold;
}

#sidebar ul li a.pr:hover {
	text-align:right;
	font-weight:bold;
	text-decoration:underline;
}

#sidebar ul li a {
	font-weight: normal;
	margin:0 0 5px 20px;
	display: block;
	font: 11px Verdana;
	text-decoration: none;
	text-align: left;
}

#sidebar ul li a.select {
	text-decoration: underline;
}

#sidebar ul li a:hover{
	margin:0 0 5px 20px;	
	text-align: left;
	display: block;
	text-decoration:underline;
}
	   
#sidebar ul li .text {
	margin:0 0 5px 20px;
}

#sidebar ul li.rss {
	margin:8px 0 0 0;
}

#sidebar ul li h2 {
	background: url('../images/content_h2.png') no-repeat left top;	
	padding:0 0 5px 20px;
	margin:0;
	text-align:left;
}

#sidebar ul li h2 a, #sidebar ul li h2 a:hover {
	color:#a60808;
	font:bold 11px Verdana;
	text-decoration:underline;
	margin:0;
	padding:0;
}

#sidebar ul li p {
	font:11px Verdana, Sans-serif;
	margin:0 0 5px 0;
	color:#000000;
	text-align:left;
	line-height:17px;
}

#sidebar ul li small {	
	color:#666666;
	font:normal 10px Verdana;
	text-align:left;	
}

#sidebar ul li small a { 
	color:#666666;
	font:normal 10px Verdana;
	margin:0;
	padding:0;
	display:inline;
	text-decoration:none;
}

#sidebar ul li small a:hover {
	color:#666666;
	font:normal 10px Verdana;	
	text-decoration:underline;
	margin:0;
	padding:0;
	display:inline;	
}

#content {
	float:left;
	width:545px;
	margin-left: 10px;
	margin-right: 15px;
	margin-top: 10px;
}

#content h1 {
	margin-top:5px;
	font:bold 15px Verdana, Sans-serif;
	color:#A60808;
	padding:5px 0 5px 5px; 	
	border-bottom:1px solid #BABABA;
	background:#FFFFFF url('../images/content_h1.png') no-repeat left 50%;
	clear:both;
}

#content h1 a {
	text-decoration:none;
	font:bold 15px Verdana, Sans-serif;
		
}		

#content h1 a:hover {
	text-decoration:none;
	color:#000000;
}

#content p {
	font:11px Verdana, Sans-serif;
	margin:0 0 20px 10px;
	color:#000000;
	text-align:justify;
	line-height:17px;
}

#content div.site {
	height:100%; 
	overflow:hidden;
	padding:0 0 10px 10px; 
}

div.site a {
color: #000000!important;
font-weight:normal;
}

#content div.site img {
	border:1px solid #BABABA;
	padding:0;
	margin:0 8px 4px 0px;
    width:190px;
    height:145px;
    float:left;
}	

#content div.site p {
	font:11px Verdana, Sans-serif;
	margin:0;
	color:#000000;
	text-align:justify;
	line-height:17px;
}

#content a.sub {
	
	font:10px Verdana;
	text-decoration:none;
	text-align:left;	
}

#content a.sub:hover {
	
	font:10px Verdana;
	text-decoration:underline;
	text-align:left;
}

#content table {
	margin:0 0 20px 10px;
	clear:both;
cell-spacing: 30px!important;	
}

#content table tr td {
	padding-bottom:10px;
}

#content table tr td h2 {
	background: url('../images/content_h2.png') no-repeat left top;	
	padding:0 0 8px 20px;
	margin:0;
	text-align:left;
}

#content table tr td h2 a {
	color:#a60808;
	font:bold 11px Verdana;
	text-decoration:underline;
}

#content table tr td small {	
	color:#666666;
	font:normal 10px Verdana;
	text-align:left;	
}

#content table tr td small a {
	color:#666666;
	font:normal 10px Verdana;
	text-decoration:none;
}

#content table tr td small a:hover { 	
	color:#666666;
	font:normal 10px Verdana;
	text-decoration:underline;
}

#content table tr td img {
    padding:3px 3px 0 0;
}

#content h3 {	
	font:bold 12px Verdana;
	text-align:left;
	padding:5px;
	margin-top:15px;
	background:url('../images/content_h3.gif') no-repeat;	
	color:#FFFFFF;
	float:left;
	width:100%;
	clear:both;
}

#content h3 a {	
	font:normal 12px Verdana;
	text-align:left;	
	color:#FFFFFF;
	text-decoration:none;	
}

#content h3 a:hover {	
	font:normal 12px Verdana;
	text-align:left;	
	color:#FFFFFF;
	text-decoration:underline;
}

#content #tags {
	margin:0 0 10px 10px;
	line-height:17px;	
}

#content #sites {
	margin:15px 0 20px 10px;
}

#content #sites ul {
    padding:0;
    margin:0;
    float:left;
    width:532px;
}

#content #sites ul li {
	margin: 5px 0 8px 0;	
	list-style:none; 
		
}

#wpis {
	height: 143px;
	border-bottom:1px solid #BABABA;
	margin-bottom: 12px!important;
	
}

li#wpis p {height:104px!important}



#content #sites ul li.premium {
	background-color:#FFFFA0; 
	border:1px solid #FF00FF;
	padding:2px;
}

#content #sites h2 {
	color:#a60808;
	font:bold 11px Verdana;	
	background: url('../images/content_h2.png') no-repeat left top;	
	padding:0 0 5px 20px;
	margin:0;
	text-align:left;
	margin-top:6px;
}

#content #sites h2 a {
	color:#a60808;
	font:bold 11px Verdana;
	text-decoration:underline;
}

#content #sites p {
	font:11px Verdana, Sans-serif;
	margin:0 0 0px 0;
	color:#000000;
	text-align:justify;
	line-height:17px;
}

#content #sites small {	
	color:#666666;
	font:normal 10px Verdana;
	text-align:left;
	width:100%;
}

#content #sites small.right {	
	color:#666666;
	font:normal 10px Verdana;
	text-align:right;
	float:right;
	width:100%;
	padding:5px 0 5px 0;
}

#content #sites small a { 
	color:#A60808;
	font:normal 10px Verdana;
	text-decoration:none;
}

#content #sites small a:hover { 
	text-decoration:underline;
}

#content ul.site {
    padding:0;
    margin:0 10px 10px 10px;
    /* margin-top: 53px; */
}

#content ul.site li {
	margin: 5px 0 0 0;
	list-style:none;
	font: 11px Verdana;
	color:#000000;
}

#content ul.site li.in {
	margin: 5px 0 0 0;
	list-style:none; 
	background: url('../images/sidebar_li.gif') no-repeat left top;	
	border-bottom: 1px solid #BABABA;
	font: 11px Verdana;
	color:#000000;
	padding:0 0 5px 20px;
}	

#content ul.site li.report {
	margin:0;
	list-style:none; 
	background: url('../images/report.gif') no-repeat 0px 3px;	
	border-bottom: 1px solid #BABABA;
	font: 11px Verdana;
	color:#000000;
	padding:5px 0 5px 20px;
}	

#content ul.site li.edit {
	margin:0;
	list-style:none; 
	background: url('../images/edit.gif') no-repeat 2px 3px;	
	border-bottom: 1px solid #BABABA;
	font: 11px Verdana;
	color:#000000;
	padding:5px 0 5px 20px;
}	

#content ul.site li.premium {
	margin:0;
	list-style:none; 
	background: url('../images/premium.gif') no-repeat 2px 3px;	
	border-bottom: 1px solid #BABABA;
	font: 11px Verdana;
	color:#000000;
	padding:5px 0 5px 20px;
}	

#content ul.site li .site_cat {
	width:300px;
	display:block;
	margin:5px 0 0 100px;
}

#content ul.site li a {

	font-weight: normal;
	margin:0;
	font: 11px Verdana;
	text-decoration: none;
	text-align: left;
}

#content ul.site li a:hover{
	margin:0;	
	text-align: left;
	color: #E73830;
	text-decoration:underline;
}

#content ul.unit-rating {
	padding:0;
	margin:0;
	border:0px;
}

#content ul.unit-rating li {
	padding:0;
	margin:0;
	border:0px;
}

#content ul.unit-rating li a {
	display:block;
	border:0;
}

#content ul.unit-rating li a:hover {
	padding:0;
	margin:0;
	display:block;
	text-decoration:none;
	border:0;
}

.miniaturka {
	float:left; 
	width:120px; 
	height:110px; 
	margin-right:10px; 
	margin-bottom:10px; 
	border: 1px solid #c90d09;
	margin-top:5px;
	padding:1px;
}

.przerywnik {
text-align: center;
color: gray;
}

#footer-outer{
	background:url(http://nkatalog.pl/templates/default/images/altplan.gif) repeat-x;
}
#footer{
	width:960px;
	margin:0 auto;
	height:50px;
	line-height:50px;
	overflow:hidden;
	padding:0 10px;
	color:#e2e2e2;
	font-size:10px;
	text-align:center;
}
#footer a{
	color:#fff;
	text-decoration:none;
	margin:0 6px;
}
#footer a:hover{
	color:#ff5a5a;
	text-decoration:underline;
}
 









 <img style="" src="<?=thumbnail($sites[$i]['url'], '3');?>" alt="<?=$sites[$i]['title'];?>" />