/*
Theme Name: Aparaty sluchowe
Theme URI: 
Description: 
Version: 1.0
Author: ibex.pl
*/

.clearfix:after {
        content:".";
        display:block;
        height:0;
        clear:both;
        visibility:hidden;
}
.clearfix { display:inline-block; }
/* Hide from IE Mac \*/
.clearfix {display:block;}
/* End hide from IE Mac */

body {
  background: #0E1016 url('/wp-content/themes/aparaty-sluchowe/images/body_bg.png') left top repeat-x; 
  margin:0;
  padding: 0px;
  font-family: Verdana;
}
.container {
  width: 990px;
  margin: 0 auto;
  position: relative;
}
#logo {
  background: url('/wp-content/themes/aparaty-sluchowe/images/logo.png') 20px 18px no-repeat; 
}
#logo a {
  width: 100%;
  height: 195px;
  display: block;
  z-index: 100;
  text-indent: -9000px;
}
a, a:visited {
  color: #B52926;
  text-decoration: none;
}
a:hover {
  color: #B52424;
}
#header {
  background: url('/wp-content/themes/aparaty-sluchowe/images/kamed.jpg') left top no-repeat; 
  height: 220px;
}
#navbar {
  margin-top: -58px;
  margin-bottom: 20px;
}
#nav {
  margin:0;
  padding-left: 20px;
  padding-top: 9px;
}
#nav li {
  padding-left: 5px;
  padding-right: 5px;
	
}
#nav li a {
  text-indent: -9000px;
  margin-right: 10px;
  background: url('/wp-content/themes/aparaty-sluchowe/images/menu.png') left -2px no-repeat; 
  height: 22px;
}
#nav li a:hover {
}
#nav li.page-item-2 a {
  background: url('/wp-content/themes/aparaty-sluchowe/images/menu.png') left 0px no-repeat; 
  width: 92px;
}
#nav li.page-item-2 a:hover, #nav li.page-item-2 a.current_page_item {
  background-position: left -23px;
}
#nav li.page-item-6 a {
  width: 90px;
  background-position: -125px 0px;
}
#nav li.page-item-6 a:hover, #nav li.page-item-6 a.current_page_item  {
  background-position: -125px -23px;
}
#nav li.page-item-8 a {
  width: 174px;
  background-position: -246px 0px;
}
#nav li.page-item-8 a:hover, #nav li.page-item-8 a.current_page_item  {
  background-position: -246px -23px;
}

#nav li.page-item-10 a {
  width: 182px;
  background-position: -454px 0px;
}
#nav li.page-item-10 a:hover, #nav li.page-item-10 a.current_page_item  {
  background-position: -454px -23px;
}

#nav li.page-item-12 a {
  width: 162px;
  background-position: -670px 0px;
}
#nav li.page-item-12 a:hover, #nav li.page-item-12 a.current_page_item  {
  background-position: -670px -23px;
}

#nav li.page-item-14 a {
  width: 56px;
  background-position: -863px 0px;
}
#nav li.page-item-14 a:hover, #nav li.page-item-14 a.current_page_item  {
  background-position: -863px -23px;
}

#nav li {
  display: inline;
  font-family: Arial;
  float:left; 
}
#nav li a {
  padding: 6px;
  padding-bottom: 2px;
  padding-top: 0px;
  text-decoration: none;
  font-weight: bold;
  color: White;
  font-size: 1em;
  display: block;
  text-align: center;
  letter-spacing: 0px;
}
#nav li a.longer {
  width: 210px;
}
#nav li a:hover {
  color: #cc0000;
}

#content {
  background: url('/wp-content/themes/aparaty-sluchowe/images/page_bg.png') left top repeat-y; 
  padding: 0px;
  padding-left: 23px;
  padding-right: 23px;
  margin: 0px !important;
  display: block;
  position: relative;
  padding-top: 0px;
}
#footer {
  background: transparent url('/wp-content/themes/aparaty-sluchowe/images/footer_bg.png') left top no-repeat; 
  display: block;
  height: 50px;
  margin: 0 auto;
  width: 990px;
}
#content .inner {
}
.main {
  width: 480px;
  float: left;
  margin-top: 10px;
  font-size: 0.9em;
}
#sidebar {
  width: 420px;
  float: right;
  line-height: 150%;
  font-size: 0.9em;
  text-align: justify;
  display: block;
}
#sidebar h3 {
  margin-top: 0px;
  line-height: 30px !important;
  margin-bottom: 5px;
  font-family: Arial;
}
#sidebar ul#adresy {
  list-style-type:none;
}
#sidebar ul#adresy li {
  overflow: hidden;
  padding-bottom: 10px;
  padding-top: 0px;
}
#sidebar ul#adresy li p {
  float: right;
  margin: 0;
  padding: 0;
  width: 310px;
  font-size: 0.9em;
  line-height: 140%;
  text-align: left;
}
#sidebar ul#adresy li img {
  width: 75px;
  height: 75px;
  float: left;
  border: 1px solid #eee;
  padding: 3px;
  background: white;
  display: block;
}
#sidebar ul {
  margin-left: 0px;
  padding-left: 20px;
}

#sidebar ul.poradniki {
  margin-top: 0px;
  list-style-type: none;
  padding-left: 10px;
}
#sidebar ul.poradniki li {
  font-size: 0.8em;
  font-weight: bold;
}
#footer .inner {
  padding-left: 15px;
  padding-right: 15px;
  font-size: 0.6em;
  padding-top: 25px;
  color: #aaa;
}

#footer a,#footer a:visited {
  color: #ccc;
}

.post {
  line-height: 150%;
  text-align: justify;
  font-size: 0.9em;
}
h1,.post h2 {
  letter-spacing: -1px;
  line-height: 30px;
  font-size: 1.6em;
  font-family: Arial;
  font-weight: normal;
  color: #344C33;
  text-align: left !important;
  clear: both;
}
.post h2  {
  margin-bottom: 0.5em;
  margin-top: 0px;
}
h1 {
  margin-top: 0px;
  margin-bottom: 10px;
  font-size: 1.8em;
}
.post h3 {
  margin-top: 0px;
  margin-bottom: 0em;
  line-height: 30px;
  font-size: 1.5em;
  font-family: Arial;
  font-weight: normal;
  text-align: left !important;
}
.post small {
  color: #aaa;
}

.post ul, .post ol {
  margin-top: 0.5em;
  padding-top: 0px;
  margin-bottom: 1em;
}
.post p {
  margin-bottom: 0px;
}
.post img {
  background: White;
  border: 1px solid #CCCCAA;
}
.post img.aligncenter {
  margin: 0 auto;
  display: block;
  border: 1px solid #f0f0f0;
  padding: 5px;
  background: white;
}
.post {
  border-bottom: 1px solid #ddd;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.post ol li {
  font-size: 1em;
  margin-bottom: 0.2em;
}
.post ol li strong{
 font-size: 1.1em;
 color: #344C33;
}
.post ol li em {
  color: #585834;
}
.more-link {
  text-align: right;
  display: block;
  font-weight: bold;
  margin-top: 0.5em;
}
#sidebar .block {
  background: #CCCCAA; 
  -webkit-border-radius: 5px; 
  -moz-border-radius: 5px;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

#comments {
  margin-top:20px;
  font-size: 1.2em !important;
}

.commentlist {
  list-style-type: none;
  margin-left: 0;
  padding-left: 20px;
}
.commentlist li {
  border-bottom: 1px solid #ddd;
  margin-bottom: 3px;
  padding-bottom: 3px;
}
.commentlist li cite {
  font-weight: bold;
  font-style: normal;
  display: inline;
}
.commentlist li small {
  font-size: 1em;
}
.commentbody {
  padding: 10px;
}
.commentbody p{
  margin-top: 0px;
}
a#ibex, a#ibex:visited {
  display: block;
  float: right;
  color: #888;
}
.mapa {
	width: 490px;
	margin: 0 auto;
	border: 1px solid #ddd;
	padding: 5px;
}

.alignright {
  float: right;
  border: 1px solid #ddd;
  padding: 4px;
  margin-left: 10px;
}

.alignleft {
  float: left;
  border: 1px solid #ddd;
  padding: 4px;
  margin-right: 10px;
}
.post img.border {
  background: white;
  padding: 1px;
 
}
.aparaty-logo  {
  margin-top:1em;
}
.aparaty-logo img {
  width: 100px;
  height: 49px;
  padding: 2px;
  padding-left: 4px;
  padding-right: 4px;
  border: 1px solid #eee;
  margin-right: 10px;
}
.aparaty-logo a {
}