/* Start of CMSMS style sheet 'Podstawowy' */
body {
    margin: 0;
    padding: 0;
	background: #042007 url('uploads/images/site/bg.jpg') top repeat-x;
	font-size: 63%;
	font-family: Arial, Helvetica, sans-serif;
	color: #ffffff;
}

img {border: 0;}

a {
	color: #81f1ff;
}

h1 {
	font-size: 1.8em;
}

h2 {
    display: block;
    clear: both;
	font-size: 1.6em;
}

    h2 span {
        position: absolute;
        text-indent: -2000px;
    }

#content h2.second {
    margin-bottom: 0;
}

h3 {
    display: block;
    clear: both;
    font-size: 1.4em;
    margin-bottom: 0px;
}

p {
    clear: both;
}

ul {
    list-style: none;
}

.clear {
    clear: both;
    height: 0px;
    font-size: 0;
}

.left {
    float: left;
}

.right {
    float: right;
}

.yellow {
    color: #fdce4a;
}

.address {
    width: 50%;
}

strong.summary {
    display: block;
    clear: both;
    margin-bottom: 5px;
}

ul.column {
    display: block;
    padding: 0;
    margin: 0 20px 0 0;
    list-style: none;
}

    ul.column li {
        clear: both;
        margin-bottom: 25px;
    }



#container {
    display: block;
    clear: both;
    position: relative;
    margin: 0 auto;
    padding: 0 0 0 81px;
    width: 858px;
    height: 880px;
    background: url('uploads/images/site/container_bg.png') top no-repeat;
    font-size: 1.1em;
    z-index: 0;
}


/* TOP ************************************************************************/
#top {
    display: block;
    position: relative;
    clear: both;
    margin: 0;
    width: 779px;
    height: 319px;
    background: url('uploads/top/img/foto1.jpg') top no-repeat;
}

    #flashTop {
        display: block;
        margin: 0 !important;
        padding: 0 !important;
        height: 260px;
    }

    h1#logo {
        display: block;
        position: absolute; top: 265px; left: 667px;
        margin: 0;
        padding: 0;
        width: 101px;
        height: 111px;
        background: url('uploads/images/site/dcs_logo.jpg') no-repeat;
        z-index: 10;
    }
    
        h1#logo a {
            display: block;
            margin: 0;
            width: 101px;
            height: 98px;
            text-decoration: none;
            outline: none;
        }
        
        h1#logo a span {
            position: absolute;
            text-indent: -2000px;
        }

    ul#mainMenu {
        display: block;
        position: absolute; bottom: 0;
        clear: both;
        margin: 0;
        padding: 0 0 0 42px;
        width: 737px;
        height: 60px;
        background: url('uploads/images/site/mainMenu_bg.jpg') no-repeat;
        list-style: none;
    }
    
    ul#mainMenu.subpage {
        background: url('uploads/images/site/mainMenuSubpage_bg.jpg') no-repeat;
    }
    
        ul#mainMenu li {
            display: inline;
            float: left;
            margin: 0 9px;
            padding: 0;
        }
        
        ul#mainMenu a {
            display: block;
            height: 44px;
        }
* html ul#mainMenu a {float: left}
        
        ul#mainMenu a span {
            position: absolute;
            text-indent: -2000px;
        }
        
        /* Strona głowna */
        a#index_mbtn.menuactive {
            background: url('uploads/images/site/aboutus_mbtn_over.jpg') no-repeat;
        }
        a#index_mbtn.menuactive img {
            visibility: hidden;
        }


        /* Oferta */
        a#oferta_mbtn.menuactive {
            background: url('uploads/images/site/offer_mbtn_over.jpg') no-repeat;
        }
        a#oferta_mbtn.menuactive img {
            visibility: hidden;
        }

        
        /* Maszyny */
        a#maszyny_mbtn.menuactive {
            background: url('uploads/images/site/machines_mbtn_over.jpg') no-repeat;
        }
        a#maszyny_mbtn.menuactive img {
            visibility: hidden;
        }


        /* Osprzęt */        
        a#osprzet_mbtn.menuactive {
            display: block; height: 44px;
            background: url('uploads/images/site/components_mbtn_over.jpg') top no-repeat;
        }
        a#osprzet_mbtn.menuactive img {
            visibility: hidden;
        }


        /* Serwis */
        a#serwis_mbtn.menuactive {
            background: url('uploads/images/site/service_mbtn_over.jpg') no-repeat;
        }
        a#serwis_mbtn.menuactive img {
            visibility: hidden;
        }

        
        /* Kontakt */
        a#kontakt_mbtn.menuactive {
            background: url('uploads/images/site/contact_mbtn_over.jpg') no-repeat;
        }
        a#kontakt_mbtn.menuactive img {
            visibility: hidden;
        }
/************************************************************************ TOP */



/* CONTENT ********************************************************************/
#content {
    display: block;
    clear: both;
    position: relative;
    margin: 0;
    padding: 0 6px 0 5px;
    width: 768px;
    min-height: 880px;
    background: url('uploads/images/site/content_bg.jpg') left top no-repeat;
}

    a.more, span.more a {
        display: block;
        margin: 5px 0;
        float: right;
        clear: both;
        width: 75px;
        height: 25px;
        background: url('uploads/images/site/more_btn.png') no-repeat;
    }
    
        a.more span {
            display: none;
        }

    #content h2 {
        display: block;
        float: left;
        clear: both;
        margin: 0 0 5px 20px;
        padding: 0;
        width: 100%;
        height: 24px;
    }
    
    h2#welcome {
        margin-top: 10px;
        background: url('uploads/images/site/welcome_h.png') no-repeat;
    }
    
    h2#page_oferta {
        background: url('uploads/images/site/offer_h.png') no-repeat;
    }
    
    h2#news {
        background: url('uploads/images/site/news_h.png') no-repeat;
    }

/* ********************************************************************** */

    h2#page_maszyny {
        background: url('uploads/images/site/machines_h.png') no-repeat;
    }

    h2#page_wiertnice-nowe {
        background: url('uploads/images/site/page_wiertnice-nowe_h.png') no-repeat;
    }

    h2#page_wiertnice-uzywane {
        background: url('uploads/images/site/page_wiertnice-uzywane_h.png') no-repeat;
    }

    h2#page_urzadzenia-mieszajace {
        background: url('uploads/images/site/page_urzadzenia-mieszajace_h.png') no-repeat;
    }
/* ********************************************************************** */

/* ********************************************************************** */
    h2#page_osprzet {
        background: url('uploads/images/site/components_h.png') no-repeat;
    }

    h2#page_zerdzie-wiertnicze {
        background: url('uploads/images/site/page_zerdzie-wiertnicze_h.png') no-repeat;
    }

    h2#page_kretliki {
        background: url('uploads/images/site/page_kretliki_h.png') no-repeat;
    }

    h2#page_poszerzacze {
        background: url('uploads/images/site/page_poszerzacze_h.png') no-repeat;
    }

    h2#page_obudowy-sondy {
        background: url('uploads/images/site/page_obudowy-sondy_h.png') no-repeat;
    }

    h2#page_sprzet-laboratoryjny {
        background: url('uploads/images/site/page_sprzet-laboratoryjny_h.png') no-repeat;
    }

    h2#page_pompy-pluczkowe {
        background: url('uploads/images/site/page_pompy-pluczkowe_h.png') no-repeat;
    }

    h2#page_gasienice-metalowo-gumowe {
        background: url('uploads/images/site/page_gasienice-metalowo-gumowe_h.png') no-repeat;
    }

    h2#page_materialy-do-regeneracji-osprzetu {
        background: url('uploads/images/site/page_materialy-do-regeneracji-osprzetu_h.png') no-repeat;
    }

    h2#page_czesci-do-wiertnic {
        background: url('uploads/images/site/page_czesci-do-wiertnic_h.png') no-repeat;
    }

    h2#page_glowice-ciagnace {
        background: url('uploads/images/site/page_glowice-ciagnace_h.png') no-repeat;
    }

    h2#page_zamowienia-nietypowe {
        background: url('uploads/images/site/page_zamowienia-nietypowe_h.png') no-repeat;
    }
/* ********************************************************************** */

    h2#page_serwis {
        background: url('uploads/images/site/service_h.png') no-repeat;
    }

    h2#page_serwis-inzynierski {
        background: url('uploads/images/site/page_serwis-inzynierski_h.png') no-repeat;
    }

    h2#page_serwis-pluczkowy {
        background: url('uploads/images/site/page_serwis-pluczkowy_h.png') no-repeat;
    }

    h2#page_serwis-maszyn {
        background: url('uploads/images/site/page_serwis-maszyn_h.png') no-repeat;
    }

    h2#page_serwis-czesci {
        background: url('uploads/images/site/page_serwis-czesci_h.png') no-repeat;
    }

    h2#page_systemy-lokalizacji, h2#page_systemy-lokalizacji-2 {
        background: url('uploads/images/site/page_systemy-lokalizacji_h.png') no-repeat;
    }
    
    h2#contact {
        background: url('uploads/images/site/contact_h.png') no-repeat;
    }

    h2#page_kontakt {
        margin-top: 10px;
        background: url('uploads/images/site/contactForm_h.png') no-repeat;
    }
    
    #content p {
        margin-left: 24px;
    }

    #main {
        display: block;
        float: left;
        width: 488px;
    }
    
        #sub {
            margin-right: 25px;        
        }
    
        #subcontentContainer {
            display: block;
            clear: both;
            margin: 0;
            width: 488px;
        }
        
            #subcontentContainer.subpage {
                width: 100%;
            }
            
            #subcontent {
                display: block;
                clear: both;
                padding: 4px 20px 5px 20px;
                width: 448px;
                background: #60854f;
            }

            #subcontent p {
                margin-left: 0;
            }
            
#subcontent strong a {text-decoration: none; color: #fff}

            #subcontentContainer.subpage #subcontent {
                width: 728px;
            }
            
                #subcontent .yellow {
                    display: block;
                    clear: right;
                }
            
            #subcontentTopBg {
                display: block;
                width: 488px;
                height: 38px;
                background: url('uploads/images/site/subcontent_topBg.png') no-repeat;
            }
            
            #subcontentContainer.subpage #subcontentTopBg {
                width: 768px;
                height: 31px;
                background: url('uploads/images/site/subcontentSubpage_topBg.png') no-repeat;
            }
            
            #subcontentBottomBg {
                display: block;
                width: 488px;
                height: 20px;
                background: url('uploads/images/site/subcontent_bottomBg.png') no-repeat;
            }
            
            #subcontentContainer.subpage #subcontentBottomBg {
                width: 768px;
                height: 22px;
                background: url('uploads/images/site/subcontentSubpage_bottomBg.png') no-repeat;
            }
    
    
    #sidebar {
        display: block;
        float: right;
        padding: 105px 0 0 0;
        width: 280px;
        background: url('uploads/images/site/sidebar_bg.jpg') top no-repeat;
    }
    
        #sidebar h2 {
            margin-left: 0;
        }
        
        #sidebarSub {
            display: block;
            clear: both;
            padding: 20px 20px 10px;
            min-height: 295px;
            background: #3a3a3a url('uploads/images/site/newsList_bg.jpg') top no-repeat;
        }

        #content.subpage #sidebarSub.news {
            padding-top: 35px;
        }

        #sidebarSub p {
            margin-left: 0;
        }
        
            ul#newsList {
                display: block;
                clear: both;
                margin: 0;
                padding: 0;
                min-height: 268px;
                list-style: none;
            }
        
                ul#newsList li {
                    clear: both;
                    margin: 0 0 9px 0;
                    padding: 0;
                }

                ul#newsList li img {
                    max-width: 220px;
                    width:expression(this.width > 220 ? 220: true);
                }
            
                ul#newsList p {
                    margin: 0;
                }
               
                ul#newsList a {
                    color: #fff;
                    text-decoration: none;
                }

                ul#newsList a:hover {
                    text-decoration: underline;
                }
            
                .date {
                    display: block;
                    clear: both;
                    margin: 3px 0;
                }

        #subBox {
            display: block;
            position: relative;
            clear: both;
            padding: 54px 20px 0;
            width: 240px;
            min-height: 48px;
            background: #424242 url('uploads/images/site/subBox_bg.jpg') top no-repeat;
        }
        
            #subBox p {
                margin: auto 0 auto auto;
            }

    #sidebarBottomBg {
        display: block;
        clear: both;
        margin-bottom: 40px;
        width: 280px;
        height: 72px;
        background: url('uploads/images/site/subBox_bottomBg.png') no-repeat;
    }
/******************************************************************** CONTENT */



/* FOOTER *********************************************************************/
#footer {
    display: block;
    clear: both;
    margin: 0 0 0 5px;
    width: 768px;
    height: 63px;
    background: url('uploads/images/site/footer_bg.png') no-repeat;
}

    #copyright {
        float: right;
        margin-right: 26px;
        color: #819280;
        line-height: 50px;
    }
    
        #copyright a {
            color: #819280;
            text-decoration: none;
        }
        
        #copyright a:hover {
            text-decoration: underline;
        }

    ul#footerMenu {
        display: block;
        float: left;
        margin: 0 0 0 25px;
        padding: 0;
        list-style: none;
        color: #fff;
    }
    
        ul#footerMenu li {
            float: left;
            margin-left: 13px;
            padding-right: 16px;
            background: url('uploads/images/site/footerMenuItemsSeparator.gif') right no-repeat;
        }
        
        ul#footerMenu li.last-child {
            background-image: none;
        }
    
        ul#footerMenu a {
            line-height: 50px;
            color: #fff;
            text-decoration: none;   
        }
        
        ul#footerMenu a:hover {
            text-decoration: underline;
        }
/********************************************************************* FOOTER */

a.album, #subpagesList ul a, #subpagesList ul h3 {display: block; clear: both; margin: 5px 0; padding: 3px 3px 3px 6px; background: #575757; text-decoration: none; color: #fff;}

a.album:hover, #subpagesList ul a:hover {background: #2f2f2f;}

#subpagesList ul h3 {font-size: 1em; font-weight: normal; background: #2f2f2f;}
#subpagesList ul {margin: 0; padding: 0;}
#subpagesList ul a dfn, #subpagesList ul h3 dfn {display: none;}

.album_content h3 {display: none;}

#subpagesList a.active {background:#2F2F2F none repeat scroll 0%;}
/* End of 'Podstawowy' */

