/* Reset CSS */
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset, img {
    border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal;
}

ol, ul {
    list-style: none;
}

caption, th {
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}

q:before, q:after {
    content: '';
}

abbr, acronym {
    border: 0;
}

/* Global */
.clear {
	clear: both;
}

html, body {
    width: 100%;
    _text-align: center; /* Hack for IE 5.5 */
    font-family: Calibri, Verdana, Ariel, sans-serif;
}

#main {
	width: 1000px;
	margin: 0 auto 0;
	text-align: left;
}

#topmenu {
	background-color: #016fae;
	width: 100%;
	height: 40px;
	overflow: hidden;
}

#topmenu ul, #topmenu li {
	display: block;
	list-style: none;
	float: left;
	height: 100%;
}

#topmenu ul {
	width: 900px;
	color: #fff;
	font-style: italic;
}

#topmenu li {
	line-height: 40px;
	font-size: 16px;
	padding: 0 4px 0 4px;
}

#topmenu li:before {
	content:'| ';
}

#topmenu li:first-child:before {
	content: '' !important;
	margin-left: 8px;
}

#topmenu a {
	color: #fff;
	text-decoration: none;
}

#topmenu a:hover {
	border-top: 1px dashed #fff;
}

#rss {
	float: right;
	width: 100px;
	text-align: center;
}

#rss img {
	margin: 3px 5px;
	vertical-align: middle;
}

#rss a {
	color: #fff;
	font-size: 10px;
	border: none !important;
}

#topmiddle {
	width: 100%;
	height: 90px;
	margin: 5px 0 5px;
	background: url(images/goniecinternetowy.png) no-repeat 0 0;
	_background: url(images/goniecinternetowy.gif);
	overflow: hidden;
}

#topmiddle img {
	float: left;
}

#adtop {
	float: right;
}

#categorymenu {
	position: relative;
	width: 100%;
	height: 55px;
	background: url(images/catmenubg.png) repeat-x;
	_background: url(images/catmenubg.gif);
}

#categorymenu ul {
	width: 770px;
	overflow: hidden;
}

#categorymenu li:before {
	content: '- ';
}

#categorymenu li:first-child:before {
	content: '' !important;
}

#categorymenu li {
	margin: 15px 4px auto 4px;
	font-size: 18px;
	font-style: italic; 
	float: left;
}

#categorymenu li.first {
	margin-left: 15px !important;
}

#categorymenu a {
	color: #000;
	text-decoration: none;
}

#categorymenu a:hover {
	color: #016FAE;
}

#search {
	position: absolute;
	top: 12px;
	right: 5px;
}

#search p {
	float: left;
}

#searchbox {
	border: 1px solid #016fae;
	height: 28px;
	width: 180px;
}

#searchbutton {
	margin: 2px 4px;
}

#content {
	background: url(images/contentbg.jpg) repeat-x #f7f7f7;
	width: 100%;
}

#contentleft {
	width: 612px;
	float: left;
}

.post {
	margin: 10px;
	background-color: #fff;
	padding: 10px;
}

.underpost {
	font-size: 11px;
	margin: 5px;
	color: #fff;
	background-color: #016FAE;
	padding: 3px;
}

.underpost a {
	color: #fff;
	border-bottom: 1px dashed #fff;
}

.underpost a:hover {
	border: none;
}

.alignright {
	margin-right: 15px;
	float: right;
}

.alignleft {
	margin-left: 15px;
	float: left;
}

.navigation {
	display: block;
	text-align: center;
}

#contentleft form {
	margin: 10px;
	background-color: #fff;
	padding: 10px;
}

#contentleft input, #contentleft textarea {
	border: 1px solid #016fae;
	margin: 4px auto;
	padding: 3px;
}

.red {
	color: red;
}

#contentleft form p, #contentright form p {
	display: block;
	clear: both;
}

#contentleft p {
	margin: 5px 8px;
}

small {
	font-size: 12px;
}

h1 {
	font-size: 35px;
}

h3 {
	font-size: 30px;
}

h2 {
	font-size: 35px;
}

h1, h2, h3 {
	font-weight: bold;
	margin: 5px 30px;
	color: #016FAE;
	font-style: italic;
}

a {
	color: #016FAE;
	border-bottom: 1px dashed #016FAE;
	text-decoration: none;
}

a:hover {
	border-top: 1px dashed #016FAE;
	border-bottom: none;
}

h1 a, h2 a, h3 a, h4 a {
	color: #016FAE;
	border: 0;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover {
	border: 0;
	border-left: 5px solid #016FAE;
	padding-left: 5px;
}

#contentright {
	padding-top: 15px;
	width: 388px;
	float: right;
}

#contentright ul {
	background-color: #fff;
	padding: 10px;
	width: 358px;
	list-style-image: url('images/list.gif');
	float: none;
}

#contentright li {
	float: none;
	margin-left: 22px;
}

.ad {
	margin: 10px;
}

#bvad {
	margin: 5px 0px 10px -6px;
}

.ad iframe, .ad img {
	margin: 3px;
}

.adinpost {
	margin: 10px auto;
}

.adinpost iframe, .adinpost img {
	border: 5px solid #f7f7f7;
	margin: 2px;
}

.sidead {
	display: block;
	border: 15px solid #fff;
	margin: 10px auto;
	width: 336px;
}

.side {
	background-color: #fff;
	padding: 10px;
	width: 358px;
	margin-bottom: 15px;
}

#contentright h2 {
	color: #016FAE;
	font-style: italic;
	line-height: 70%;
}

.wp-pagenavi {
	margin: 10px 10px;
	background-color: #fff;
	padding: 10px;
}

.current {
	background-color: #fff;
	color:#016FAE;
	font-weight: bold;
	margin: auto 5px;
}

.pages, .page, .nextpostslink, .last, .previouspostslink {
	background-color:#016FAE;
	padding: 3px;
	color: #fff;
}

.page, .nextpostslink, .last, .previouspostslink {
	margin: auto 5px;
}

.more-link {
	background-color:#016FAE;
	color: #fff;
	font-style: italic;
	padding: 0 5px;
}

#footer {
	margin: 10px auto;
	text-align: right;
}

#footer a {
	background-color:#016FAE;
	padding: 3px;
	color: #fff;
}

.floatleft {
margin-top: 10px;
margin-left: 25px;
float: left;
}
