body {
    font-family: 'Lato', sans-serif;
    font-size: 13px;
    line-height: 1.4615em;
    color: #333466;
    padding: 0;
    margin: 0;
    background: #fff;
}

header,
nav,
section,
article,
aside,
footer {
    display: block;
}

p {
    font-size: 1em;
    line-height: 1.4615em;
    margin: 0 0 1.4615em 0;
}

h1 {
    font-size: 1.8462em;
    line-height: 1.5833em;
    margin-top: .7917em;
    margin-bottom: .0000em;
    padding: 0 0px;
	color:#cc3433 !important;
}

h2 {
    font-size: 1.3em;
    line-height: 1.7273em;
    margin-top: .8636em;
    margin-bottom: .0000em;
}

h3 {
    font-size: 1.5385em;
    line-height: 1.9000em;
    margin-top: .9500em;
    margin-bottom: .0000em;
}

h4 {
    font-size: 1.3846em;
    line-height: 1.0556em;
    margin-top: 1.0556em;
    margin-bottom: .0000em;
}

h5 {
    font-size: 1.2308em;
    line-height: 1.1875em;
    margin-top: 1.1875em;
    margin-bottom: .0000em;
}

h6 {
    font-size: 1.0769em;
    line-height: 1.3571em;
    margin-top: 1.3571em;
    margin-bottom: .0000em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #333466;
    text-decoration: none;
}

a {
    color: #cc3433;
    text-decoration: none;
}

a:hover {
    
}

a:active,
a:focus {
    
}

#wrapper {
    margin: 0 auto;
}

#top,
#top a {
    color: #000;
	text-shadow:none;
}

#small {
    font-size: 13px!important;
}

#medium {
    font-size: 14px!important;
}

#large {
    font-size: 16px!important;
}

@media(max-width:880px) {
    section,
    aside,
    .banner {
        width: 96%;
    }
    .hideme {
        display: none;
    }
    nav a {
        border-bottom: 1px solid #6C6C58;
    }
    nav li ul {
        text-align: center;
    }
}

@media(min-width:881px) {
    #wrapper {
        width: 100%;
    }
    section {
        width: 60%;
        float: left;
    }
    aside,
    .banner {
        width: 31%;
        float: right;
    }
    nav {
        height: 36px;
    }
    .postepowania {
      

        vertical-align: top;
        padding: 0px 0px 0px 8px;
		width:20%;
    }
    nav li {
        display: inline-block;
        width: 12.65%;
    }
    nav li ul {
        position: absolute;
    }
    nav li:hover ul {
        display: block;
    }
    nav li ul li {
        width: 100%;
    }
    nav li ul {
        text-align: left;
    }
}

@media(min-width:1100px) {
    #wrapper {
        width: 1100px;
    }
}

aside,
section,
section h1 {

}

header,
nav,
nav li ul,
aside,
section,
footer,
nav a:hover,
#rozklady a:hover,
aside img:hover,
#skiplink {

}

header {
    height: 210px;
    clear: both;
    background-image: url(../img/head_mpk.jpg);
	background-repeat:no-repeat;

    padding: 10px;
    position: relative;
}

nav,
footer {
    background-color: #333466;
}

nav a,
#rozklady a {
    font-weight: 700;
    -webkit-transition: background-color .2s linear;
    -moz-transition: background-color .2s linear;
    -o-transition: background-color .2s linear;
    -ms-transition: background-color .2s linear;
    transition: background-color .2s linear;

}

nav a {
    display: block;
    color: #ffffff;
    padding: 8px;
    font-size: 1em;
}

nav a:hover {
    background-color: #444788;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

nav li {
    position: relative;
}

nav li ul {
    display: none;
    background-color: #333466;
}

nav li ul li {
    display: block;
}

.rotate {
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;
    position: absolute;
    left: 10px;
    float: left;
    top: 9px;
    color: #EDF0F3;
    background-color: #333466;
}

nav a:hover .rotate {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    background-color: #444788;
}

section {
    padding: 9px 2%;
    margin-bottom: 9px;

}

section:nth-of-type(1) {

    text-align: center;
}

section:nth-of-type(1) article {
    border-top: none;
}

section:nth-of-type(1) h3 {
    font-size: 1.3846em;
    line-height: 1em;
    margin: 0;
}

article,
.hideme {
    border-top: 1px #c2c2c2 solid;
}

article p a {
    text-decoration: underline;
}

article .data {
    float: right;
}

aside {
    margin: 9px 0;
    padding: 9px 2%;

}

#rozklady {
    padding: 0;
}

#rozklady li {
    list-style: none;
    text-align: center;
    float: left;
}

#rozklady a {
    color: #FEFEFA;
    display: block;
    margin: 3px;
    width: 36px;
    height: 24px;
    background-color: #43601A;

}

.dzienna {
    background-color: #43601A;
    color: #FEFEFA;
}

#rozklady a:hover {
    background-color: #EDF0F3;
}

#rozklady .wybiegi,
.wybiegi {
    background-color: #3A6574;
    color: #FEFEFA;
}

#rozklady .sezonowa,
.sezonowa {
    background-color: #631818;
    color: #FEFEFA;
}

#rozklady .nocna,
.nocna {
    background-color: #333;
    color: #FEFEFA;
}

#rozklady .zastepcza,
.zastepcza {
    background-color: #84720E;
    color: #FEFEFA;
}

.dzienna,
.wybiegi,
.sezonowa,
.nocna,
.zastepcza {
    font-weight: 700;
    text-align: center;
}

#links {
    border-top: 1px #425925 solid;
    margin-top: 23px;
    padding-top: 5px;
    text-align: center;
}

#links a {
    margin: 0 20px;
}

footer {
    clear: both;
    padding: 9px;
    text-align: center;

    color: #fff;
}

footer a {
    color: #fff;
}

tr:nth-child(even) {
    background: #FFF;
}

tr:nth-child(odd) {
    background: #EDF0F3;
}

th {
    background: #333466;
    color: #FFF;
}

td {
    vertical-align: top;
}

.gallery img {
    margin: 3px;
    border: 1px solid #252E36;
    padding: 3px;
    width: 133px;
    height: 100px;
}

#skiplink {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#skiplink:focus,
#siplink:active {
    position: absolute;
    left: auto;
    top: 30px;
    width: auto;
    height: auto;
    overflow: hidden;
    background: white;
    padding: 5px;
}

.aa {
    display: inline-block;
    margin: 0 10px;
}

.AstyleDef {
    color: black;
    background-color: white;
    border: 1px black solid;
    text-shadow: none;
}

.AstyleCont {
    color: white;
    background-color: black;
    border: 1px white solid;
    text-shadow: none;
}

.fb {
    position: relative;
    top: 2px;
}

.bip {
    color: #cc3433;
    font-weight: 700;
    background-color: white;
    text-shadow: none;
    margin-left: 10px;
}

.asideLink {
    font-weight: 700;
    font-size: 1.2em;
}

.left {
    float: left;
}

.right {
    float: right;
}

.center {
    text-align: center;
}

.clear {
    clear: both;
}

.none {
    display: none;
}

.height10 {
    height: 10px;
}

.paddt10 {
    padding-top: 10px;
}

.w50 {
    width: 50%;
}

.mw270 {
    min-width: 280px;
}

.darkred {
    color: darkred;
}

.bold {
    font-weight: 700;
}

form {
    position: relative;
}

.jakdojade {
    position: absolute;
    left: 80px;
    width: 60%;
}

.brackets ol {
    counter-reset: list;
    margin: 0
}

.brackets ol>li {
    list-style: none;
    position: relative
}

.brackets ol>li:before {
    counter-increment: list;
    content: counter(list, decimal) ") ";
    position: absolute;
    left: -1.4em
}

#cookies-message {
    padding: 2px;
    border-top: 1px solid #EDF0F3;
    text-align: center;
    position: fixed;
    bottom: 0;
    background-color: #333466;
    color: #EDF0F3;
    width: 100%;
    z-index: 999;
}

#accept-cookies-checkbox {
    background-color: darkred;
    padding: 1px 5px;
    color: #FFF;

    display: inline-block;
    margin-left: 10px;
    text-decoration: none;
    cursor: pointer;
}

@media print {
    body {
        font: 12pt Georgia, "Times New Roman", Times, serif;
        line-height: 1.3;
        background: #FFF;
        margin: 0;
        padding: 0;
        color: #000;
    }
    #wrapper {
        width: 100%;
    }
    h1 {
        font-size: 18pt;
    }
    h2 {
        font-size: 14pt;
        margin-top: 25px;
    }
    section,
    h1 {
        background: #FFF;
    }
    section {
        box-shadow: none;
        -moz-box-shadow: none;
        -webkit-box-shadow: none;
    }
    .noprint,
    header,
    nav,
    section:nth-of-type(1),
    aside,
    footer {
        display: none;
    }
}

#lbOverlay {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    cursor: pointer;
}

#lbCenter,
#lbBottomContainer {
    position: absolute;
    z-index: 9999;
    overflow: hidden;
    background-color: #fff;
}

.lbLoading {
    background: #fff url(loading.gif) no-repeat center;
}

#lbImage {
    position: absolute;
    left: 0;
    top: 0;
    border: 10px solid #fff;
    background-repeat: no-repeat;
}

#lbPrevLink,
#lbNextLink {
    display: block;
    position: absolute;
    top: 0;
    width: 50%;
    outline: none;
}

#lbPrevLink {
    left: 0;
}

#lbPrevLink:hover {
    background: transparent url(prevlabel.gif) no-repeat 0 15%;
}

#lbNextLink {
    right: 0;
}

#lbNextLink:hover {
    background: transparent url(nextlabel.gif) no-repeat 100% 15%;
}

#lbBottom {
    font-family: 'Lato', Arial, Geneva, Helvetica, sans-serif;
    font-size: 10px;
    color: #666;
    line-height: 1.4em;
    text-align: left;
    border: 10px solid #fff;
    border-top-style: none;
}

#lbCloseLink {
    display: block;
    float: right;
    width: 66px;
    height: 22px;
    background: transparent url(closelabel.gif) no-repeat center;
    margin: 5px 0;
    outline: none;
}

#lbCaption,
#lbNumber {
    margin-right: 71px;
}

#lbCaption {
    font-weight: 700;
}