body, html { background:white;
             color:black; 
             font-size: 14px;
             padding:0px; 
             margin:0px; 
             text-align:left; 
             font-family: sans-serif;
             background-position: center;
             
}
* { margin:0px; padding:0px; }
p {
    margin-bottom: 15px;
    font-size: 1em !important;
    
}
ul {
    margin: 15px 0px 0px 15px;
}
li {
    margin-bottom: 0px;
}

a { 
    color: #DE0307; 
    text-decoration: none;
}
a img { border: 0; }

h1, h2, h3, h4 { font-weight: normal;  }
.mainCol h3 {color: #005524; font-size: 22px}
h1 { font-size:23px; }
h2 {  font-size: 1.5em;}
h4 { font-size:16px; }

.clr, .clear { font-size:0px; line-height:0px; height:0px; clear:both; }
.gora_strony {
    height: 133px;
    position: relative;
}
.gora_strony a {
    color: black;
}
.wrapper {
    padding-left: 20px;
    padding-right: 20px;
}
.padwrapper {
    width: 1040px;
    margin: auto;
}
.logo {
    background-image: url("../images/logo.png"); 
    display: block;
    width: 239px;
    height: 135px;
    position: absolute;
    top: 0px;
    left: 0px;

}
.gora_strony .menuright {
    position: absolute;
    top: 60px;
    right: 0px;
}
.gora_strony .menuright ul {
    margin: 0px;
    padding: 0px;
}
.gora_strony .menuright li a{
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    text-align: center;
    margin-right: 3px;
    margin-left: 3px;
    padding: 7px 14px;
    display: block;
    color: #818181;
    font-size: 14px;
}
.gora_strony .menuright li{
    list-style: none;
    float: left;
    text-transform: uppercase;
    margin-left: 4px;
}
.gora_strony .menuright li.active a{
    color: #E30004;
    font-weight: bold;
}

/* linki na stronie głównej */
#home-links a {
    
    display: table-cell;
    text-align: center;
}
#home-links a span {
    border: 1px solid #D6D6D6;
    border-radius: 10px;
    text-align: center;
    margin-right: 5px;
    margin-left: 5px;
    padding: 10px 17px;
    display: block;
    color: #818181;
}
#home-links a:hover span {
    border: 1px solid #E0000A;
    color: #E0000A;
}
#home-links a:first-child span {
    margin-left: 0px;
}
#home-links a:last-child span {
    margin-right: 0px;
}
#home-links {
    display: table;
    width: 100%;
    table-layout: fixed;
    margin-bottom: 40px;
}
.slider {
    padding-bottom: 40px;
}
.cols .col1, .cols .col2 {
    width: 471px;
}
.cols .col1 {
    float: left;
}
.cols .col2 {
    float: right;
}
.cols {
    margin-bottom: 50px;
}
.contactMain {
    background-color: #8F8F8F;
    min-height: 340px;
    padding: 32px 50px 50px;
    font-size: 13px;
}
.contactMain, .contactMain a {
    color: white;
}
.footer {
    min-height: 44px;
    padding-top: 40px;
    color: #868686;
}
.footer a {
    color: #868686;
}
.cols a {
    font-weight: bold;
}
.cols h2 {
    text-align: center;
    border-bottom: 1px solid #DFDFDF;
    color: #DE0307;
    margin-bottom: 40px;
    padding-bottom: 16px;
}
.cols h3, .cols h3 a {
    color: #DE0307;
    font-weight: bold;
}
.cols h3.news {
    margin-bottom: 20px;
}
.cols .news {
    margin-bottom: 50px;
}
/* formularz kontaktowy na stronie głównej */
.contactMain .moduletable{
    float: left;
    width: 25%;
}
.contactMain .moduletable.span3 {
    float: left;
    width: 25%;
}
.contactMain .moduletable.span6 {
    float: left;
    width: 50%;
}
.contactMain .page-header {
    text-align: center;
    font-size: 28px;
    border-bottom: 1px solid #AFAFAF;
    margin: auto;
    width: 500px;
    margin-bottom: 50px;
    
}
.contactMain h3 {
    font-weight: bold;
    margin-bottom: 15px;
}
.contactMain input {
    width: 175px;
    border: 1px solid #CCCCCC;
    padding: 10px 15px;
    border-radius: 5px;
    background-color: #8F8F8F;
    color: white;
    margin-bottom: 15px;
}
.contactMain textarea {
    border: 1px solid #CCCCCC;
    padding: 10px 15px;
    background-color: #8F8F8F;
    color: white;
    border-radius: 5px;
    width: 175px;
    height: 122px;
    top: 0px;
    left: 220px;
    position: absolute;
}
/* formularz kontaktowy na podstronie */
.contact .moduletable{
    float: left;
    width: 25%;
}
.contact .moduletable.span3 {
    float: left;
    width: 25%;
}
.contact .moduletable.span6 {
    float: left;
    width: 50%;
}
.contact .page-header {
    text-align: center;
    font-size: 28px;
    border-bottom: 1px solid #AFAFAF;
    margin: auto;
    width: 500px;
    margin-bottom: 50px;
    
}
.contact h3 {
    font-weight: bold;
    margin-bottom: 15px;
}
.contact input, .contact button {
    width: 280px;
    border: 1px solid #CCCCCC;
    padding: 10px 15px;
    border-radius: 5px;
    
    
    margin-bottom: 15px;
}
.contact textarea {
    border: 1px solid #CCCCCC;
    padding: 10px 15px;
    
    
    border-radius: 5px;
    height: 153px;
    width: 620px;
}
legend {
    padding-bottom: 5px;
}
fieldset {
    border: 0px;
}
.wiadomosc {
    float: right;
    margin-right: 0px;
}
/* koniec formularz kontaktowy na podstronie */
.sp_quickcontact {
    position: relative;
}
#sp_qc_submit {
    float: right;
    margin-right: 22px;
}
.item-page, .blog {
    position: relative;
}
.item-page .page-header, .blog>.page-header{
    position: absolute;
    top: -80px;
    height: 22px;
    width: 100%;
    background-color: #AFB0B4;
    color: white;
    padding-top: 12px;
    padding-bottom: 16px;
    text-transform: uppercase;
}
.item-page .page-header h2, .blog>.page-header h1{
    padding-left: 28px;
}
.item-page .page-header a, .blog>.page-header a {
    color: white;
}
.items-leading>div {
    border: 1px solid #D4D4D4;
    border-radius: 5px;
    padding: 10px;
    position: relative;
    margin-bottom: 75px;
}
.items-leading>div{
    color: #343434;
}
.items-leading>div .page-header {
    position: absolute;
    top: -35px;
    
}
.items-leading>div .page-header h2, .items-leading>div .page-header h2 a {
   
    color: #7E7E7E;
    font-weight: bold;
}
.items-leading {
    padding-top: 30px;
}
.readmore {
    text-align: right;
    padding: 15px 0px 0px;
}
.readmore .btn, .pagenav li, .przycisk{
    padding: 10px 20px;
    border: 1px solid #E1E1E1;
    border-radius: 5px;
    list-style: none;
    display: inline-block;
    margin-left: 5px;
    margin-right: 5px;
    color: #DE0307;
}
ul.pager.pagenav {
    margin: 0;
    padding: 10px 0px 0px;
}

.newsflash-title {
    font-size: 22px;
}
.pagination {
    text-align: center;
}
.pagination ul {
    
}
.pagination ul li{
    list-style: none;
    display: inline-block;
    padding: 3px 5px;
}

.pagination ul li a{
    font-weight: bold;
}

  .nav.menu.nav-pills {position:relative;}
  .nav.menu > li a {position:relative; z-index:2;background-color:white;}
  
  .menuright ul.nav-child{
    position:absolute;
    left:0;
    top: 26px;
    z-index:1;
    width:100%;
    background-color:white;
    margin: 0;
    padding: 10px 0 8px 0;
    text-align:left;
    -moz-column-count: 3;
    column-count: 3;
    border: 1px solid #d6d6d6;
    border-radius: 8px;
    
    display:none;
    
  }
  .menuright .nav > li:hover .nav-child{display:block;}
  .menuright ul.nav-child li{
    display: inline-block;
    float:none;
    
  }
  .menuright ul.nav-child li a{
    background-color:white;
    border-width: 0;
  }
  
  .menuright li.active ul.nav-child li a{
	color:#818181;
	font-weight: normal;
  }
  
  .menuright li ul.nav-child li:hover a, .menuright li ul.nav-child li:hover a {color:#e30004;text-decoration:underline;}