* { margin: 0; padding: 0; border: 0;  font-size: 13px; vertical-align: baseline}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block}
body { line-height: 1; font-family: Tahoma, Geneva, sans-serif;
background: url('/images/banner-abstract.png') top center no-repeat, url('/images/bg_header.png') top left repeat-x #fcfcfc}
blockquote, q { quotes: none}
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none}
table { border-collapse: collapse; border-spacing: 0}

h1{ line-height: 50px; background: url('/images/h1.png') center center no-repeat; padding: 0 30px; font-size: 18px; color:#B7B49B; text-shadow: 1px 1px 2px #fff}
h1 a{  font-size: 20px}
h2 { font-size: 150%; line-height: 150%;color:#B7B49B;}
h3 { font-size: 110%; line-height: 210%; display: inline; font-weight: bold; /* ! use for a secondary title */ }

dl { list-style : none}
dt { font-weight: bold}
dd { margin-left: 15px}
.floatright {float: right}
.floatleft {float: left}
a:link, a:visited { text-decoration: none; color: #466370}
a:hover { text-decoration: none; color: #fff}

#site-logo {float:left}
img.text_logo {margin:31px 0 26px 0}

#header, #footer, #main, #nav { width: 100%; clear: both}
.inner, #content { width: 970px; margin: 0 auto;}
#header {
	padding: 9px 0 0px 0;
}
#nav { background: #e4f2ff url('/images/menu_bg.png') repeat-x center top;height:33px;padding-top:2px }
#main {padding-top:10px; background-color: #FCFCFC}

/* ===== menu top, rss i wyszukiwarka ===== */

#menu-top {text-align: left;font-family: Verdana, Arial, Sans-Serif;width:970px;margin:0 auto}
#menu-top ul { list-style: none;}
#menu-top li { float: left; position: relative}
#menu-top ul li.item-submenu > a { background: transparent url('/images/arrow1.gif') right center no-repeat; padding-right: 17px}
#menu-top ul li a { color:#000; display: inline-block; min-height: 32px; line-height: 40px; padding: 0 20px;text-shadow: 1px 1px 3px #fff;background: transparent url('/images/bg_right_menu.png') right center no-repeat;}
#menu-top ul li a:hover { color:#000; text-shadow: 1px 1px 3px #fff; background-color: rgba(255, 255, 255, 0.8)}
#menu-top ul.children li.item-submenu > a { background: transparent url('/images/arrow2.gif') right center no-repeat; padding-right: 5px}
#menu-top ul li.current_page_item > a {
	background-color: rgba(255, 255, 255, 0.6);
	color: #227720;
}

#menu-top ul ul {border: 1px #c0d6ea solid;  display: none; position: absolute;
left: 0; top: 100%; float: left; width: 230px; z-index: 999}
#menu-top ul ul ul { left: 100%; top: -1px}
#menu-top ul ul li { padding: 0}
#menu-top ul ul a { width: 220px}

.column { width: 630px; float: left;}
#content { background: transparent url('/images/bg_content.png') bottom left no-repeat;}
#content .column-narrow .post-entry img {max-width: 612px}
#content .column-wide .post-entry img { max-width: 912px}
#content .hentry ul, #content .hentry ol, #content .comment-body ul, #content .comment-body ol { padding-left: 20px}
#content .hentry li, #content .comment-body li { padding: 3px 0}

#sidebar { float: right;width: 330px; padding: 10px 0;background: transparent url('/images/sidebar3.png') top center no-repeat;margin: 10px 0}
#sidebar  h3{  border-left: px solid #ccc}
#sidebar ul { list-style: none}
#sidebar a { color:#2153B0}
#sidebar li.widget-container ul, #sidebar li.widget-container div.textwidget, #sidebar li.widget-container div.tagcloud { padding: 10px; line-height: 24px}
#sidebar li.widget-container { margin-bottom: 5px}
#sidebar li.widget-container .widget-title { background-color: #f9f9f9;display: block; padding: 0 10px; height: 26px; line-height: 26px; border-bottom: 1px solid #ddd; font-size: 12px; font-weight: bold; text-shadow: 1px 1px 3px #ccc}
#sidebar li.widget-container ul li ul { padding: 0}
#sidebar li.widget-container ul li { display: block; padding: 0 6px 0 12px; background: transparent url('/images/icon-li.png') 2px 8px no-repeat}

#footer { background: url('/images/bg_footer.png') top center no-repeat ; }
#footer , #footer h2{text-align:center;font-size:70%;color:#389F42; height:90px ;padding:5px 10px;width:950px;margin:0 auto;}
#footer  ul {list-style: none;font-size: 11px; margin:10px 10px 10px 0;width:180px}
#footer  ul li{margin-top:3px}
#footer  ul li a{color:#2153B0}
#footer b {font-size:13px;padding-bottom:3px;text-transform:capitalize;color:#676764}
#footer a{color:#389F42}

.post-entry { font-size: 13px; padding: 10px 0px 40px 10px; line-height: 22px; overflow: hidden}
.post-entry p { padding-top: 7px; padding-bottom: 7px}
.post-entry a:link, .post-entry a:visited {text-decoration: none;color: #158cc3}
.post-entry a:hover, .post-entry a:focus, .post-entry a:active {  color: #333}

a.more-link { background: url('/images/icon-more.png') 6px center no-repeat transparent; padding: 20px;float:right}

.page-link { margin: 15px 0 10px}
.page-link-item { display: inline-block; padding: 0 8px; margin: 0 3px; line-height: 22px; background-color: #f0f0f0; font-weight: bold}
.page-link a .page-link-item { font-weight: normal}
.page-link a:hover .page-link-item { background-color: #f9f9f9; text-decoration: none}
.page-link a:hover { text-decoration: none}

.navigation { clear: both}
.navigation-archives { padding: 10px 0 5px}
.navigation-single { padding: 0 0 10px}
.navigation .alignleft
{ display: inline-block; line-height: 16px; background: url('/images/icon-navi.png') left 0 no-repeat transparent; padding-left: 22px}
.navigation .alignright
{ display: inline-block; line-height: 16px; background: url('/images/icon-navi.png') right -16px no-repeat transparent; padding-right: 22px}
.sticky { padding: 10px; margin-bottom: 15px; border: 1px solid #efefff}
.post-entry .thumbnail { float: right; border: 1px #f0f0f0 solid; padding: 4px; margin: 0 0 10px 10px}


input[type="text"],
input[type="password"],
textarea {
background: #f9f9f9;
border: 1px solid #ccc;
box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
-moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
-webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
padding: 2px;
}

.box { padding: 0 !important} /* ! use for page template - links */
.box li { padding: 0; list-style: none; clear: both}
.box li .box-title { display: block; padding: 0 10px; line-height: 26px; font-size: 12px; font-weight: bold; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; background-color: #eeeeee}
.box li ul li { float: left; clear: none; list-style: none; padding: 0 10px; width: 145px; line-height: 26px}

/* ===== WordPress Elements (required) ===== */

.aligncenter { display: block;margin: auto}
.alignleft { float: left}
.alignright { float: right}
.post-entry img { margin: 5px 0}
.post-entry img.wp-smiley { margin: 0}
.post-entry .alignleft { margin-right: 10px; margin-top: 5px; margin-bottom: 10px}
.post-entry .alignright { margin-left: 15px; margin-top: 10px; margin-bottom: 10px}
.post-entry .aligncenter { margin-top: 5px; margin-bottom: 5px}
.wp-caption { background: #F5FAFF;border:solid 1px #A0E0F0; line-height: 12px; margin-bottom: 5px;  text-align: center}
.wp-caption img { margin: 2px 2px 0}
.wp-caption-text { color: #888888; font-size: 12px}
.wp-smiley { margin: 0}
.gallery { margin: 0 auto 10px}
.gallery img { border: 2px solid #cfcfcf}
.gallery .gallery-item { float: left; margin-top: 10px; text-align: center; width: 33%}
.gallery-columns-2 .attachment-medium { max-width: 92%; height: auto}
.gallery-columns-2 .gallery-item { width: 50%}
.gallery-columns-4 .attachment-thumbnail { max-width: 84%; height: auto}
.gallery-columns-4 .gallery-item { width: 25%}
.gallery .gallery-caption { color: #888888; font-size: 12px; margin: 5px 0 10px}
.gallery dl { margin: 0}
.gallery img { border: 8px solid #eeeeee}
.gallery br+br { display: none}
.attachment .post-entry img { display: block; margin: 0 auto}


/* ===== HTML Elements ===== */

blockquote { background: url('/images/blockquote.png') no-repeat 10px 10px #efefff; border-left: 5px solid #ddd; padding: 10px 20px 10px 50px; margin: 10px 10px}
pre { background-color: #eeeeee; border: 1px dashed #ddd; padding: 10px 20px; margin: 10px 10px}
code { font-family: 'Courier New'}
.column table { margin: 5px 0 10px 0}
.column table td, .column table th { padding: 5px}
.column table, .column table td, .column  table th { background-color: #f9f9f9; border: 2px solid #ddd}
abbr[title], acronym[title] { border-bottom: thin dotted; cursor: help}
label, label a { color: #555555}
fieldset { border: 1px solid #ddd; margin: 0 0 15px 0; padding: 15px}
fieldset legend { background: #ffffff; font-weight: bold; padding: 0 10px}

/* ===== Language Selector (KISS Refactor) ===== */
#lang_sel_list.lang_sel_list_vertical {
  width: 149px;
  position: relative;
  z-index: 99;
  font-family: verdana, arial, sans-serif;
}
#lang_sel_list.lang_sel_list_vertical ul {
  padding: 0 !important;
  margin: 0 !important;
  list-style-type: none !important;
}
#lang_sel_list.lang_sel_list_vertical li {
  width: 149px;
  float: left;
  position: relative;
  padding: 0 !important;
  margin: 0 !important;
  list-style-type: none !important;
}
#lang_sel_list.lang_sel_list_vertical li:before {
  content: '' !important;
}
#lang_sel_list.lang_sel_list_vertical a, #lang_sel_list.lang_sel_list_vertical a:visited {
  display: block;
  font-size: 11px;
  text-decoration: none !important;
  color: #444444;
  background: #fff6;
  line-height: 18px;
  border-top-width: 0;
  margin-top: 2px;
  padding: 5px;
}
#lang_sel_list.lang_sel_list_vertical a.lang_sel_sel {
  font-weight: bold;
}
#lang_sel_list img.iclflag {
  width: 18px;
  height: 12px;
  position: relative;
  top: 1px;
  vertical-align: middle;
  margin-right: 4px;
  border: none;
}

/* ===== Gallery & Thumbnails (KISS Refactor) ===== */
.ngg-galleryoverview {
  overflow: hidden;
  margin-top: 40px;
  margin-bottom: 50px;
  width: 100%;
  clear: both;
  display: block !important;
}
.ngg-gallery-thumbnail-box {
  float: left;
  max-width: 100% !important;
}
.ngg-gallery-thumbnail {
  text-align: center;
  max-width: 100% !important;
  background-color: #FFFFFF;
  border: 1px solid #A9A9A9;
  margin: 5px;
}
.ngg-gallery-thumbnail a {
  display: block;
  margin: 4px;
  border: none;
  box-shadow: none;
}
.ngg-gallery-thumbnail img {
  display: block;
  margin: 0;
  padding: 0;
  position: relative;
  max-width: 100% !important;
  height: auto;
}
.ngg-gallery-thumbnail span {
  font-size: 90%;
  padding-left: 5px;
  display: block;
}
.ngg-gallery-thumbnail-box.ngg-1-columns { width: 100%; float: left !important; }
.ngg-gallery-thumbnail-box.ngg-2-columns { width: 50%; float: left !important; }
.ngg-gallery-thumbnail-box.ngg-3-columns { width: 33.33333%; float: left !important; }
.ngg-gallery-thumbnail-box.ngg-4-columns { width: 25%; float: left !important; }
.ngg-gallery-thumbnail-box.ngg-5-columns { width: 20%; float: left !important; }
.ngg-gallery-thumbnail-box.ngg-6-columns { width: 16.6666%; float: left !important; }
.ngg-gallery-thumbnail-box.ngg-7-columns { width: 14.2857%; float: left !important; }
.ngg-gallery-thumbnail-box.ngg-8-columns { width: 12.5%; float: left !important; }
.ngg-gallery-thumbnail-box.ngg-9-columns { width: 11.1111%; float: left !important; }
.ngg-gallery-thumbnail-box.ngg-10-columns { width: 10%; float: left !important; }
.ngg-clear { clear: both; }



/* Modern self-clearing clearfix to replace HTML <div class="clr"></div> */
#header::after, .post-entry::after, #content::after, #footer::after, .inner::after {
    content: "";
    display: table;
    clear: both;
}
