/***********TABS**************/

#main {
    clear:both;
    margin-left:auto;
    margin-right:auto;
    margin-top:1px;
    width:920px;
}

div.main-columns {
    border: 1px solid #B2BFCA;
    width: 918px;
}

div.only-column {
    padding: 10px;
    width: 898px;
}

#secondary-menu-container {
    height:30px;
    background:#D5DBE0 none repeat scroll 0 0;
    width:920px;
    clear:both;
    margin-left:auto;
    margin-right:auto;
}

#contents {
    background: #FFFFFF;
    min-height: 300px;
}

#top-nav {
    position: relative;
    width: 920px;
    margin-left: auto;
    margin-right: auto;
    height: 3em;
    margin-bottom: 3px;
}

#top-nav ul#primary {
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: -1px;
    width: 98%; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
}

#top-nav ul#primary li  {
    display: inline;
    list-style: none;
    margin: 0;
}

#top-nav ul#primary a,#top-nav ul#primary span,#top-nav ul#primary a.current {
    zz-width: 8em;
    display: block;
    float: left;
    padding: 4px 1em;
    margin: 1px 8px 0 0;
    text-align: center;
    font-family: Arial,Helvetica,sans-serif;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    color: #00477F;
}



#top-nav ul#primary span,#top-nav ul#primary a.current,#top-nav ul#primary a.current:hover {
    border: 1px solid #C0C0C0;
    border-bottom: none;
    background: #E2E2E2;
    padding-bottom: 6px;
    margin-top: 0;
}

#top-nav ul#primary a.current {
    color: #C00000;
}

#top-nav ul#primary a.current:hover {
    color: #C00000;
    text-decoration: underline;
}
#top-nav ul#primary a {
    background: #F8F8F8 url(../images/sideblock_back.png) repeat-x scroll 0 0;
    border: 1px solid #AAA;
    border-bottom: none;
}

/* Styl nadajacy czerwony kolor pozycji 'Krok po kroku' */
#top-nav ul#primary li:nth-child(6) a{
    color:red;
}
/* ***************************** */

#top-nav ul#primary a:hover {
    margin-top: 0;
    border-color: #666;
    padding-bottom: 5px;
    color: #cccccc;
    text-decoration: underline;
}

#top-nav ul#secondary {
    position: absolute;
    margin:0 0 -3px;
    padding: 0;
    bottom: -25px;
    left: 5px;
    width: 75em; /* a width is required for Opera, older Mozilla browsers, and Konqueror browsers */
    line-height: 15px;
}

#top-nav ul#secondary li a,#top-nav ul#secondary li span {
    width: auto;
    display: block;
    float: left;
    padding: 3px 10px;
    margin: 0;
    text-align: auto;
    border: none;
    background: #184466;
    margin-right: 2px;
    font-size: 11px;
}

#top-nav ul#secondary li a {
    color: #fff;
    text-decoration: none;
}

#top-nav ul#secondary li a:hover {
    padding: 3px 10px;
    border: none;
    margin-right: 2px; /*dotted #AAA;*/
    text-decoration: underline;
    color: #fff;
}

#top-nav ul#secondary li a:active {
    color: #000;
    background: transparent;
}

#top-nav ul#secondary li a.current2 {
    background: #F80000;
}

#top-nav ul#secondary li:last-child a { border: none; }

/**************NAVBAR******************/

#ribbon {
    height: 44px;
    background: #F80000;
    position: relative;
}

#ribbonleft {
    zfloat: left;
    zheight: 44px;
}

#ribbonright {
    position: absolute;
    right: 0;
    top:  0;
    height: 44px;
    background: #7F7E83;
    width: 50%;
}

#ribbonmiddle {
    display: block;
    position: relative;
    z-index: 1;
    height: 44px;
    width: 920px;
    margin-left: auto;
    margin-right: auto;
    background: #7F7E83 url(../images/mp_logo.gif) no-repeat;
}

#ribbonmiddle:link, #ribbonmiddle:visited, #ribbonmiddle:hover {
    text-decoration: none;
}

#top {
    width: 920px;
    text-align: right;
    height: 18px;
    margin-left: auto;
    margin-right: auto;
    padding: 6px 0;

}

#login-info {
    text-align: left;
    font-size: 10px;
    float: left;
    width: 50%;
}

#tagline {
    color: #C00000;
    font: bold 12px/12px Arial, Verdana, sans-serif;
    margin: 0;
}

#nav-bar {
    min-height: 21px;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 10px;
}

.bar {
    background: #fff url(../images/tlo_searchbox.gif) top left repeat-y;
}

.inverse-bar {
    background: #fff url(../images/tlo_kuniec.gif) top left repeat-y;
}

ul.breadcrumbs {
    min-height: 20px;
    padding-left: 24px;
    background: transparent url(../images/home.gif) left 50% no-repeat;
    vertical-align: middle;
}

ul.breadcrumbs li {
    list-style-type: none;
    display: inline;
    padding: 0 0 0 15px;
    margin: 0;
    background: transparent url(../images/breadcrumb-bullet.png) 0% 50% no-repeat;
    font-size: 10px;
    line-height: 20px;
    font-family: Arial, Verdana, sans-serif;
}

ul.breadcrumbs li a {
    background: none;
    text-decoration: none;
}

ul.breadcrumbs li a:hover {
    text-decoration: underline;
}

ul.breadcrumbs li.first {
    background: none;
    padding-left: 0;
}

ul.breadcrumbs a {
    color: #666;
}


.columns {
    overflow: hidden;
    width:99.8%;
}

#common-links {
    height: 21px;
    padding-top: 8px;
    padding-left: 10px;
    font-size: 11px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#common-links a img {
    vertical-align: middle;
}

#bottom-ribbon {
    display: block;
    background: url(../images/logo_stopka.gif) no-repeat;
    width: 920px;
    height: 24px;
    margin-top: 15px;
    margin-bottom: 15px;

}

ul#bottom-links {
    display: block;
    margin: 10px auto;
    padding: 0;
    text-align: center;
}

ul#bottom-links li {
    display: inline;
    font: bold 11px/14px Arial, Verdana, sans-serif;
    color: #999999;
    padding-left: 5px;
    border-left: 1px solid #999999;
    margin-left: 5px;
}

ul#bottom-links li.first {
    border-left: none;
}

ul#bottom-links a {
    color: #999999;
    text-decoration: none;
}

ul#bottom-links a:hover {
    text-decoration: underline;
}

#bottom-copyright {
    font-size: 10px;
    color: #999999;
}


.source, .date {
    color: #666666;
    font: bold 10px/14px Arial, Verdana, sans-serif;
    padding-bottom: 5px;
}

/******************CONTENT***************/

#contents {
    width: 100%;
    overflow: auto;
    font-size: 12px;
    line-height: 18px;
}

#main {
    border-bottom: 20px solid #ffffff;
}

.col-wide li {
  padding-left: 10px;
  margin-left: 10px;
}

.row {
    width: 100%;
    overflow: auto;
}

.col-wide {
    float: left;
    padding: 10px 0 10px 10px;
    width: 65%;
}

.col-wide p {
    text-align: justify ;
}

.col-wide h1{
    text-align: left ;
}

.col-narrow {
    float: left;
    width: 31%;
    padding: 5px 3px 5px 8px;
}

.sideblock {
    background: #FFFBED;
    border: 1px solid #E2D0A2;
    padding: 6px;
    font-size: 90%;
    margin: 5px auto;
    clear: both;
}

.sideblock p, .sideblock ul, .sideblock ol {
    zz-font-size: 10px;
}

.sideblock h3 {
    font: bold 12px/18px Arial, Verdana, sans-serif;
}

.sideblock2-top {
    background: #ffffff url(../images/round-bright-top-right.gif) right top no-repeat;
    height: 4px;
    margin: 5px auto 0;
    font-size: 1px;
    zwidth: 294px;
}

.sideblock2-top div {
    background: #ffffff url(../images/round-bright-top-left.gif) left top no-repeat;
    width: 3px;
    height: 4px;
    font-size: 1px;
    float: left;
}

.sideblock2-bottom {
    background: #ffffff url(../images/round-bright-bottom-right.gif) right bottom no-repeat;
    height: 4px;
    margin: 0 auto 15px;
    font-size: 1px;
}

.sideblock2-bottom div {
    background: #ffffff url(../images/round-bright-bottom-left.gif) left bottom no-repeat;
    width: 3px;
    height: 4px;
    font-size: 1px;
    float: left;
}

.sideblock2 {
    background: #FFFFFF url(../images/sideblock_back.png) repeat-x scroll 0 0;
    border-left: 4px solid #EBEBEB;
    border-right: 4px solid #EBEBEB;
    padding: 6px;
    font-size: 90%;
}

.sideblock2 .more {
    float: right;
    width: 50px;
    background: #EBEBEB url(../images/raquo-on-grey.gif) 90% 60% no-repeat;
    margin-top: -6px;
    margin-right: -6px;
    font: bold 10px/20px Arial, Helvetica, sans-serif;
    padding-left: 5px;
    text-decoration: none;
}

.sideblock2 .more:link,
.sideblock2 .more:visited {
       color: #666666;
       text-decoration: none;
}

.sideblock2 .more:hover {
    text-decoration: underline;
}
.sideblock2 h3 {
    font: bold 15px/normal Arial, Helvetica, sans-serif;
    color: #C00000;
}

.belka-box {
    margin-top: 5px;
    margin-bottom: 10px;
    border-left: 1px solid #EBEBEB;
    padding: 3px;
    padding-left: 0;
}

.belka-box h2 {
    font: bold 17px/normal Arial, Helvetica, sans-serif;
    background: #EBEBEB;
    padding: 4px;
    padding-left: 10px;
}

.belka-box .more {
    float: right;
    width: 50px;
    margin-top: 3px;
    background: #EBEBEB url(../images/raquo-on-grey.gif) 90% 60% no-repeat;
    font: bold 10px/20px Arial, Helvetica, sans-serif;
    padding-left: 5px;
    text-decoration: none;
}

.center {
    text-align: center;
}

.lower {
    margin-top: 10px;
}

body {
    xxbackground-image: url(../images/tlo_naglowek.gif);
    background-position: left 110px;
    background-repeat: repeat-x;
}

#background-container {
  width: 100%;
  background-image: url(../images/tlo_naglowek.gif);
  padding-top: 1px;
  margin-top: -2px;
  background-repeat: repeat-x;
}
