.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
    margin:0;
    padding:0;
    border:0;
    outline:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

body {
    line-height:1;
}

article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
	display:block;
}

nav ul {
    list-style:none;
}

blockquote, q {
    quotes:none;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content:'';
    content:none;
}

a {
    margin:0;
    padding:0;
    font-size:100%;
    vertical-align:baseline;
    background:transparent;
}

/* change colours to suit your needs */
ins {
    background-color:#ff9;
    color:#000;
    text-decoration:none;
}

/* change colours to suit your needs */
mark {
    background-color:#ff9;
    color:#000; 
    font-style:italic;
    font-weight:bold;
}

del {
    text-decoration: line-through;
}

abbr[title], dfn[title] {
    border-bottom:1px dotted;
    cursor:help;
}

table {
    border-collapse:collapse;
    border-spacing:0;
}

/* change border colour to suit your needs */
hr {
    display:block;
    height:1px;
    border:0;   
    border-top:1px solid #cccccc;
    margin:1em 0;
    padding:0;
}

input, select {
    vertical-align:middle;
}




body{
	background:#FFDC00 url(/img2/bg.png) repeat-x center top;
	color:#4f3802;
	font-family:arial;
	/*border:7px solid #fff;*/
	font-size:13px;
	line-height:20px;
}
a{
	color:#4f3802;
}
nav.cartoon{
	text-align:right;
	padding-right:40px;
	position:relative;
	z-index:999;
	top:2px;
}
nav.cartoon li, nav.cartoon a{
	display:inline-block;
	zoom:1;
	display:inline;
}
nav.cartoon a{
	background:#d68000;
	padding:5px 10px;
	font-weight:bold;
	color:#fff;
	text-decoration:none;
	margin:0px 5px;
	
	-webkit-border-bottom-right-radius:14px;
	-webkit-border-bottom-left-radius:14px;
	-moz-border-radius-bottomright:14px;
	-moz-border-radius-bottomleft:14px;
	border-bottom-right-radius:14px;
	border-bottom-left-radius:14px;
	
	-moz-box-shadow: 3px 3px 0px #FFEF6A;
	-khtml-box-shadow: 3px 3px 0px #FFEF6A;
	-webkit-box-shadow: 3px 3px 0px #FFEF6A;
}
nav.cartoon a:hover{
	background:#EC9000;
}
#allcartoons{
	position:absolute;
	left:470px;
	top:80px;
	text-decoration:none;
	color:#D68000;
	font-weight:bold;
}
#allcartoons:hover{
	text-decoration:underline;
}
#cont{
	width:530px;
	background:#FFFCE5;
	border:12px solid #FFFACD;
	-moz-border-radius: 20px;
	-khtml-border-radius: 20px;
	-webkit-box-border-radius: 20px;
	border-radius: 20px;
	margin-left:65px;
	
	display:inline-block;
	zoom:1;
	*display:inline;
}
#continner, #asideinner{
	border:1px solid #FFDC00;
	-moz-border-radius: 14px;
	-khtml-border-radius: 14px;
	-webkit-box-border-radius: 14px;
	border-radius: 14px;
	position:relative;
}
#bg{
	width:1000px;
	background:url(/img2/bg2.png) no-repeat;
}
#descr{
	padding:40px;
}
h1, h2{
	color:#d68000;
	padding-bottom:10px;
	margin-top:20px;
	font-size:18px;
}
h3{
	color:#d68000;
	margin:10px 0px;
}
#tv{
	width:580px;
	height:194px;
	background:url(/img2/baner.png);
	margin:50px -67px 40px -67px;
	position:relative;
}
#tv img.tele{
	position:absolute;
	left:160px;
	top:-80px;
} 
#tv img.edges, #tv canvas, #tv var{
	position:absolute;
	left:175px;
	top:21px;
} 
#galeria img, #kolorowanki img{
	padding:3px;
	border:3px solid #FFDC00;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-box-border-radius: 5px;
	/*
	-moz-box-shadow: 3px 3px 0px #EC9000;
	-khtml-box-shadow: 3px 3px 0px #EC9000;
	-webkit-box-shadow: 3px 3px 0px #EC9000;*/
}
#galeria, #kolorowanki{
	margin:0px -25px;
}
#galeria a, #kolorowanki a{
	text-decoration:none;
}
#galeria li, #kolorowanki li{
	display:inline-block;
	zoom:1;
	*display:inline;
	vertical-align:top;
	width:166px;
	text-align:center;
}
#galeria figcaption, #kolorowanki figcaption{
	margin:5px 5px;
	padding:2px 5px;
	background:#FFF5A3;
	border:1px solid #F3DB91;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-box-border-radius: 5px;
	color:#7C5D04;
}
aside{
	display:inline-block;
	zoom:1;
	*display:inline;
	vertical-align:top;
	margin-left:20px;
	
	width:328px;
	
	background:#FFFCE5;
	border:12px solid #FFFACD;
	-moz-border-radius: 20px;
	-khtml-border-radius: 20px;
	-webkit-box-border-radius: 20px;
	border-radius: 20px;
}
#asideinner{
	padding:10px;
}



#ocen{
	margin:15px 0px 0px 0px;
	padding:5px;
	background:#FFF5A3;
	border:1px solid #F3DB91;
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-box-border-radius: 8px;
}
#ocen li{
	height:65px;
	overflow:hidden;
	display:inline-block;
	zoom:1;
	*display:inline;
}		
#ocen a{
	text-indent:-9999px;
	display:inline-block;
	zoom:1;
	*display:inline;
	height:65px;
	cursor:pointer;
	background-position:0px -65px;
}
#ocen a:hover, #ocen a:focus{
	background-position:0px 0px;
}
#ocen a.notSet{
	background-position:0px -65px; !important;
	cursor:default;
}
#ocen a.set{
	background-position:0px 0px; !important;
	cursor:default;
}
#ocen1{
	width:49px;
	background:url(/images/ocena_1.png);
}
#ocen2{
	width:50px;
	background:url(/images/ocena_2.png);
}
#ocen3{
	width:56px;
	background:url(/images/ocena_3.png);
}
#ocen4{
	width:56px;
	background:url(/images/ocena_4.png);
}
#ocen5{
	width:75px;
	background:url(/images/ocena_5.png)
}

#srednia{
	margin:15px 0px 0px 0px;
	padding:5px;
	background:#FFF5A3;
	border:1px solid #F3DB91;
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-box-border-radius: 8px;
	font-weight:bold;
	font-size:28px;
	color:#7C5D04;
}
#ad{
	margin:5px 0px 0px 0px;
	padding:5px; 
	background:#FFF5A3;
	border:1px solid #F3DB91;
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	-webkit-box-border-radius: 8px;
	font-weight:bold;
	font-size:28px;
	color:#7C5D04;
}
#ad div{
	display:inline-block;
	zoom:1;
	*display:inline;
	margin:0px 8px;
} 
#srednia img{
	vertical-align:middle;
}	
footer{
	margin:20px 0px;
	width:510px;
	margin-left:85px;
	text-align:justify;
}
footer li, footer a{
	display:inline-block;
	zoom:1;
	*display:inline;
}
footer ul{
	margin-bottom:10px;
}




#main nav li{
	display:inline-block;
	zoom:1;
	*display:inline;
	margin-bottom:30px;
}


.tv{
	position:relative;
	height:299px;
	width:285px;
	margin-top:-25px;
}

#main .tv{
	height:250px;
}
.tv .tele{
	position:absolute;left:29px;top:-1px;
}
.tv .edges, .tv canvas, .tv var{
	position:absolute;left:45px;top:100px;
}
#main .tv .edges, #main .tv canvas, #main .tv var{
	left:42px;top:80px;
}
#main figcaption{
	margin:5px 5px;
	padding:2px 5px;
	background:#FFF5A3;
	border:1px solid #F3DB91;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-box-border-radius: 5px;
	color:#7C5D04;
	text-align:center;
}
