ul.g
{
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	padding-top: 10px;
}

ul.g li
{
	float: left;
	display: block;
	width: 180px;
	margin: 0 !important;
	padding: 0 !important;
	text-align: center;
	height: 170px;
	font-size: 11px;
	color: #666;
	font-weight: bold;
	background: transparent !important;
}

ul.g li span
{
	color: #999;
	font-weight: normal;
}

ul.g li img, img.g
{
	padding: 11px;
	background: url('/images/ramka.png');
	background-repeat: no-repeat;
	border: 0 !important;
	display: block;
	margin: 0 auto;
	margin-bottom: 6px;
	width: 150px;
	height: 118px;
	width/* */:/**/128px; 
	width: /**/128px;
	height/* */:/**/96px; 
	height: /**/96px;
}

ul.g li img:hover
{
	background: url('/images/ramka2.png');
}

table.tabelka {
	border: 0;
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	border-spacing: 0px;
	border-collapse: collapse;
	background-color: #ffffff;
}
table.tabelka th {
	border: 0;
	border-left: 1px solid #ddd;
	border-top: 1px solid #ddd;
	padding: 5px;
	font-weight: bold;
	background-color: #fafafa;
}
table.tabelka td {
	border: 0;
	border-left: 1px solid #ddd;
	border-top: 1px solid #ddd;
	padding: 2px;
}

table.kal td {
text-align: center;
height: 40px;
}

.download {
padding: 5px;
background-color: #fafafa;
border: 1px solid #ddd;
margin: 10px 0 10px 10px;
float: right;
}

.linki {
margin: 0;
margin-left: 35px;
padding: 0;
list-style: none;
}

.linki li {
float: left;
display: block;
margin: 2px;
}

.linki li div {
text-align: center;
}

.linki li div img {
border: 1px solid black;
padding: 1px;
margin: 2px;
}

.thumb, .thumb2 {
float: right;
margin: 3px;
padding: 3px;
border: 1px solid #ddd;
background: #fcfcfc;
}

.thumb {
width: 110px;
}

.thumb img, .thumb2 img {
border: 1px solid black;
padding: 1px;
margin: 0 auto;
}

.thumb div, .thumb2 div {
text-align: center;
font-size: 85%;
color: #666;
clear: left;
}

#tworczosc {
display: block;
margin: 8px auto !important;
padding: 0 !important;
padding-top: 6px !important;
width: 535px;
list-style: none !important;
border-top: 1px solid #ddd;
background: white !important;
}

#tworczosc li {
float: left;
margin-right: 4px !important;
padding: 0 !important;
background: transparent !important;
}

#tworczosc li a {
display: block;
border: 1px solid #ddd;
background-color: #eee;
color: black !important;
width: 100px;
text-align: center;
padding-top: 55px;
padding-bottom: 3px;
background-repeat: no-repeat;
font-size: 95%;
background-position: 50% 7px;
margin-bottom: 2px;
}

.rysunki a {
background-image: url('http://otorowski.com/images/icons/rysunki.png');
}

.stronywww a {
background-image: url('http://otorowski.com/images/icons/stronywww.png');
}

.publikacje a {
background-image: url('http://otorowski.com/images/icons/publikacje.png');
}

.grafika2d a {
background-image: url('http://otorowski.com/images/icons/grafika2d.png');
}

.grafika3d a {
background-image: url('http://otorowski.com/images/icons/grafika3d.png');
}

.gry a {
background-image: url('http://otorowski.com/images/icons/gry.png');
}

.filmy a {
background-image: url('http://otorowski.com/images/icons/filmy.png');
}

#tworczosc li#tworczosc-selected a {
font-weight: bold;
border-bottom: 3px solid rgb(108,170,202);
}

#tworczosc li a:hover, #tworczosc li#tworczosc-selected a:hover, #tworczosc li#tworczosc-selected a {
background-color: white;
border-bottom: 3px solid rgb(108,170,202) !important;
margin-bottom: 0px;
}

.gallery img
{
	margin: 2px;
	width: 128px;
	height: 98px;
	border: 0;
}

.gallery 
{
	list-style: none;
	display: block;
	clear: both;
	margin: 0 !important;
	padding: 0 !important;
}

.gallery li
{
	float: left;
	border: 1px solid #ddd !important;
	margin: 2px !important;
	padding: 0 !important;
	background-image: url('http://otorowski.com/images/loading.gif') !important;
	background-repeat: no-repeat !important;
	background-position: center center !important;
}

.commentlist
{
	padding: 0;
	list-style: none;
	margin: 0;
}

.commentlist li
{
	margin: 5px 0 3px 0;
	padding: 3px;
	background: white;
	border-left: 4px solid #ddd;
	padding-left: 6px;
}

.commentlist li cite
{
	font-size: 0.93em;
	font-style: normal;
	font-weight: bold;
}

.commentlist li small
{
	font-size: 0.9em;
	font-style: normal;
	color: gray;
}

.commentlist li p
{
	font-size: 0.92em;
	margin: 0;
	padding: 1px;
}

.commentlist li.alt
{
	background: #f2f2f2;
}

.commentlist li a
{
	color: black !important;
	text-decoration: none !important;
	font-style: normal !important;
}

.commentlist li a:hover
{
	text-decoration: underline !important;
}
	
.alignright
{
	float: right;
}

table.gallery
{
	border: 1px solid #ccc;
	margin: 2px;
	padding: 2px;
	background-color: white;
}

table.wikitable td, table.wikitable th
{
	border-top: 1px solid #dcdcdc;
}

table.wikitable,
table.prettytable {
	margin: 1em 1em 1em 0;
	background: #f9f9f9;
	border-collapse: collapse;
	font-size: 0.93em;
	border: 0;
	border-bottom: 1px solid #dcdcdc;
}
table.wikitable tbody,
table.prettytable tbody {
	background: #fff;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
	/*border: 1px #aaa solid;*/
	padding: 0.2em;
}

table.wikitable th,
table.prettytable th {
	background: #f2f2f2;
	text-align: center;
}

table.wikitable caption,
table.prettytable caption {
	margin-left: inherit;
	margin-right: inherit;
}

table.gallery tr {
	vertical-align: top;
}

table.gallery td {
	vertical-align: top;
	background-color: #f9f9f9;
	border: solid 2px white;
}

table.gallery td.galleryheader {
	text-align: center;
	font-weight: bold;
}

div.gallerybox {
	margin: 2px;
	width:  150px;
}

div.gallerybox div.thumb {
	text-align: center;
	border: 1px solid #ccc;
	margin: 2px;
}

div.gallerytext {
	font-size: 1em;
	padding: 2px 4px;
}

blockquote {
	margin: 10px;
 	padding: 0 0 0 28px;  
    border: 1px solid #f2f2f2; 
  	background: #fafafa url(../images/quote.gif) no-repeat 5px 5px;    
}

textarea {
	width:400px;
	padding:2px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #eee;
	height:100px;
	display:block;
	color:#777;
}

pre {
margin-left: 10px;
border-left: 5px solid #eee;
padding: 2px;
padding-left: 4px;
width: auto;
}

.download a {
display: block;
padding: 4px;
margin: 1px;
background-color: #fcfcfc;
background-image: url('../images/download.gif');
background-repeat: no-repeat;
background-position: 3px 3px;
border: 1px solid #dfdfdf;
color: #666;
text-decoration: none;
padding-left: 20px;
}

.download a:hover {
background-color: #dcdcdc;
color: white;
border: 1px solid #bbb;
}

fieldset
{
	margin: 3px;
	padding: 7px;
	border: 1px solid #dedede;
}

fieldset ul
{
	list-style: none;
	margin: 2px;
	padding: 1px;
}

fieldset ul li
{
	margin: 1px;
	padding: 0px;
	font-size: 11px;
}

fieldset legend
{
	margin-left: 25px;
}

.navigation
{
	border-top: 1px solid #486984;
	margin-top: 10px;
	padding: 4px;
	font-size: 0.95em;
}

.navigation a:hover
{
	color: black !important;
}
