/*
Theme Name: MTB 2009
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 */
#header {
	width: 100%;
}
.container {
  background: #F2F1E1;
  font-family: Arial;
}
body {
   background: #555;
}
#breadcrumb {
  line-height: 150%;
  background: Black;
  padding: 8px 0px;
  color: #aaa;
}
#breadcrumb .inner {
	padding: 0px 8px;
}
#breadcrumb a,#breadcrumb a:visited  {
  color: #ccc;
}
#nav-rotator {
  background: #e0e0e0;
  height: 238px;
  overflow:hidden;
  background: #FFDD55 url('/cssimages/nav-bg.jpg') no-repeat;
}
#nav-rotator #nav {
  float: left;
  width: 330px;
}
#nav-rotator #rotator {
  z-index: 80;
  float: right;
  width: 660px;
}
#nav ul {
  width: 190px;
  margin: 0;
  margin-top: 18px !important;
  margin-left: -15px !important;
  padding: 0 !important;
  z-index: 100;
  list-style-type: none !important;
  position: absolute;
}
#nav ul li {
  display: block;
  margin:  0 !important;
  padding: 0 !important;
  font-size: 0.5em !important;
}
#nav ul li a {
  background: transparent url('/cssimages/mtbmenu.png') no-repeat !important;
  display: block !important;
  margin-left: 20px !important;
  text-indent: -9000px !important;
  position: relative !important;
  height: 34px !important;
  z-index: 100 !important;
}
#nav ul li.current_page_item, #nav ul li.current_page_item {
  background: transparent url('/cssimages/mtb-bar.png') no-repeat !important;
  background-position: 0px -3px !important;
  margin-left: 0px !important;
  width: 395px !important;
  height: 120px !important;
  margin-bottom: -40px !important;
  margin-top: -46px !important;
  border: 1px solid transparent !important; 
}
#nav ul li.current_page_item a,#nav ul li.current_page_item a {
  background-position: -225px inherit;
  display: block;
  width: 200px !important;
  margin-top: 46px !important; 
  padding-top: -46px !important; 
}
#nav ul li.page-item-2 a {
  background-position: 0px 0px !important;
}
#nav ul li.page-item-478 a {
  background-position: 0px -32px !important;
}
#nav ul li.page-item-29 a {
  background-position: 0px -65px !important;
}
#nav ul li.page-item-4 a {
  background-position: 0px -98px !important;
}
#nav ul li.page-item-37 a {
  background-position: 0px -130px !important;
}
#nav ul li.page-item-101 a {
  background-position: 0px -162px !important;
}
#nav ul li.page-item-2 a:hover,#nav ul li.page-item-2 a.current_page_item,#nav ul li.page-item-2 a.hover {
  background-position: -225px 0px !important;
}
#nav ul li.page-item-478 a:hover,#nav ul li.page-item-478 a.current_page_item, #nav ul li.page-item-478 a.hover  {
  background-position: -225px -32px !important;
}
#nav ul li.page-item-29 a:hover, #nav ul li.page-item-29 a.current_page_item,#nav ul li.page-item-29 a.hover {
  background-position: -225px -65px !important;
}
#nav ul li.page-item-4 a:hover,#nav ul li.page-item-4 a.current_page_item, #nav ul li.page-item-4 a.hover {
  background-position: -225px -98px !important;
}
#nav ul li.page-item-37 a:hover,#nav ul li.page-item-37 a.current_page_item, #nav ul li.page-item-37 a.hover {
  background-position: -225px -130px !important;
}
#nav ul li.page-item-101 a:hover,#nav ul li.page-item-101 a.current_page_item, #nav ul li.page-item-101 a.hover {
  background-position: -225px -162px !important;
}

#main h2,#main h1, #main h3 {
  font-family: Georgia !important;
  font-weight: normal;
  line-height: 120%;
}
#main h2 {
  font-size: 1.6em;
}
#main h1 {
  font-size: 2em;
}
#main h3 {
  font-size: 1.5em;
}
.indexpage h2 {
  font-size: 2em !important;
}
h1 small {
  color: #666;
  font-size: 0.7em;
}
.post {
  font-family: Arial!important;
  border-bottom: 1px solid #E1DFBB;
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.container a {
  color: #164B50;
}
.post img {
  border: 1px solid #ccc;
  padding: 3px;
  background: White;
}
.post img.alignleft {
  float: left;
  margin-right: 1em;
}
.post ul {
  list-style-position:inside;
}  
#sidebar {
  padding-top: 2em;
}
#sidebar .block{
  background: #333;
  margin-top: 1em;
  padding: 1em;
  color: #dedede;
}
#sidebar .simpleblock{
  margin-top: 1em;
}

#sidebar .block h2 {
  font-family: Georgia;
  font-weight: normal;
color: #ddd;
  margin-top: 0.3em;
 
}
#sidebar .block ul {
  list-style-type: none;
  margin-left: 0px;
  font-size: 1.2em;
  line-height: 150%;
}
#sidebar a {
  color: #FFCE06;
  text-decoration: none;
}
#sidebar a:hover {
  text-decoration: underline;
}

.wp-pagenavi {
  text-align: center;
  font-size: 1.2em;
  line-height: 1.5em;
  margin-top: 20px;
  font-family: Arial;
}
.wp-pagenavi a, .wp-pagenavi a:visited {
	padding: 6px;
	margin: 4px;
	text-decoration: none;
        font-weight: bold;
        font-size: 1em;
}
.wp-pagenavi a:hover {
	color: #114477;
	background-color: #ddd;
}
.wp-pagenavi span.pages {
        font-size: 1em;
	padding: 4px;
	margin: 4px;
	color: #000000;
}
.wp-pagenavi span.current {
        font-size: 1em;
	padding: 6px;
	margin: 4px;
	font-weight: bold;
	color: #fff;
	background-color: #333;
}
.wp-pagenavi span.extend {
	padding: 4px;
        font-size: 1em;
	margin: 4px;
	color: #000000;
}
#sidebar ul {
  font-size: 1.2em !important;
  width: 270px;
}
#sidebar ul ul {
  width: auto;
}
#sidebar ul ul {
  font-size: 1em !important;
}
#sidebar ul li a{
  margin-left: 0px;
  display: block;
  padding-left: 10px;
  border-bottom: 1px solid #303030 !important;
  padding-bottom: 3px;
  padding-top: 3px;
  background: #363636;
}
#sidebar ul li a:hover {
  background: Black;
  text-decoration:none;
}
#footer {
  background: Black;
  margin-top: 3em;
}
#footer .inner {
  padding: 8px;
  color: #ccc;
}
#footer .inner .ibex {
  float: right;
  color: #888;
}
#footer .inner a {
  color: #ccc;
}
.alignright {
  float: right;
  margin-left: 1em;
}
.alignleft {
  float: left;
  margin-right: 1em;
}
.post small.meta {
  margin-top: -10px;
  font-size: 0.9em;
  color: #777;
  display: block;
  margin-bottom: 10px;
  
}
a.feed {
  background: url('/img/feed-icon-28x28.gif') left center no-repeat;
  height: 30px;
  line-height: 26px;
  display: block;
  padding-left: 35px;
  font-weight: bold;
  font-size: 1.2em;
}
form#subscribe_email {
  padding: 0px !important;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
form#subscribe_email p {
  margin: 0px !important;
}
form#subscribe_email input#input_email {
  margin-right: 10px;
  font-size: 1em;
  font-family: Arial;
  line-height: 1em;
  height: 32x;
  width: 170px;
}
form#subscribe_email input.submit {
  font-size: 1em;
  font-family: Arial;
}
.post iframe {
  margin-top: 10px;
  padding: 2px;
  border: 1px solid #ccc;
  background: white;
}