@import url("base.css");
@import url("text.css");
@import url("background.css");

html * { margin: 0; padding: 0; outline: 0; }

.replace {
    left: 0;
    top: 0;
}

.hide {
    width: 0;
    height: 0;
    margin: 0 !important;
}

input[type='text'], input[type='password'], select, textarea {
    padding: 3px;
}

input[type='submit'], input[type='button'], input[type='reset'] {
    height: 19px;
    padding: 0 20px;
}

button, .button {
    padding-left: 2px;
}

button .content {
    height: 12px;
    padding: 4px 21px 3px;
}

.button .content {
    height: 12px;
    padding: 2px 21px 5px;
}

button .corner, .button .corner {
    width: auto !important;
    padding-right: 2px;
}

.file_button {
    padding: 4px;
}

/* .button { padding: 3px 20px; } */

#header_wrapper {
    width: 980px;
    margin: 0 auto;
}

    #header {
        width: 980px;
        height: 175px;
        margin: 0 auto;
    }

        h1, h1 .replace {
            width: 255px;
            height: 85px;
        }
        
            h1 {
                height: 80px;
                padding-top: 5px;
                left: 11px;
                top: 15px;
            }

        #top_nav {
            right: 15px;
            top: 18px;
        }
        
            .arrow_list a {
                padding-left: 15px;
                margin-left: 18px;
            }
        
        #nav {
            left: 318px;
            top: 44px;
            padding: 0 15px 0 15px;
        }
        
            #nav a.header, #nav a.header .replace {
                height: 23px;
                padding-top: 8px;
            }

                #nav1, #nav1 .replace { width: 105px; }
                #nav2, #nav2 .replace { width: 107px; }
                #nav3, #nav3 .replace { width: 88px; }
                #nav4, #nav4 .replace { width: 99px; }
                #nav5, #nav5 .replace { width: 93px; }
                #nav6, #nav6 .replace { width: 65px; }
                #nav7, #nav7 .replace { width: 75px; }
        
            #nav ul {
                left: 0;
                top: 29px;
            }
        
                #nav ul {
                    padding: 0 8px 8px 12px;
                }
                
                    #nav ul a {
                        width: 100%;
                        min-width: 69px;
                        padding: 4px 0;
                    }
        
        #breadcrumbs {
            width: 315px;
            left: 0;
            top: 130px;
        }
        
            #breadcrumbs a, #breadcrumbs span { margin-left: 5px; }
        
        #search_form {
            width: 650px;
            left: 340px;
            top: 85px;
        }
        
            #search_form h2, #search_form h2 .replace {
                width: 85px;
                height: 22px;
            }
        
            #id_keyword { width: 250px; }
        
            #id_model { width: 113px; }
        
            #search_form button {
                left: 545px;
                top: 3px;
            }
        
        #authentication_form, #user_nav {
            width: 770px;
            left: 340px;
            top: 135px;
        }
        
            #authentication_form h2, #authentication_form h2 .replace {
                width: 60px;
                height: 22px;
            }
        
                #p_username label, #p_password label { left: -9999px; }
                
                #p_remember {
                    left: 503px;
                    top: -7px;
                }
                
                    #p_remember input[type='checkbox'] { margin: 3px 5px 0 0; }
        
                #authentication_form input[type='text'], #authentication_form input[type='password'] { width: 134px; }
                
                #authentication_form p.submit { margin-right: 0; }
                
            #authentication_links {
                width: 200px;
                padding: 10px 0 0;
                left: 485px;
                top: 2px;
            }
            
            #user_nav h2, #user_nav h2 .replace {
                width: 140px;
                height: 20px;
            }
        
            #user_nav h3, #user_nav .title { margin-bottom: 3px; }

            #nav_profile_link { min-width: 77px; }
            #nav_settings_link { min-width: 104px; }

            #user_links a .replace {
                width: 100%;
                height: 14px;
            }
        
            #user_nav .button {
                left: 545px;
                top: 5px;
            }
            
        .horizontal_form fieldset { padding-top: 2px; }
                
            .horizontal_form h2, #user_nav h2, #logged_as, #user_nav li { margin-right: 30px; }
            
            #search_form label, #search_form input, #search_form select, #authentication_form p { margin-right: 18px; }
        
        #welcome_box {
            width: 240px;
            left: 740px;
            top: 211px;
        }
        
            #welcome_box h2, #welcome_box h2 .replace {
                width: 210px;
                height: 23px;
            }
        
                #welcome_box h2 {
                    width: 205px;
                    margin: 0 0 5px 30px;
                    padding: 4px 5px 0 0;
                }
                
            #welcome_box .description { margin-bottom: 10px; }
        
                #welcome_box img.right { margin-left: 10px; }
                
                #welcome_box p { margin-bottom: 10px; }
                
            #register_button .content {
                height: 22px;
                padding: 0 20px 3px;
            }
        
        #czy_wiesz {
            width: 580px;
            height: 288px;
            left: 140px;
            top: 145px;
        }
        
            #czy_wiesz .box {
                width: 180px;
                padding: 12px 13px 10px;
                left: 20px;
                bottom: 20px;
            }
        
                #czy_wiesz h2 { margin-bottom: 6px; }

#banner {
    width: 980px;
    margin: 0 auto 10px;
    padding: 0 0 25px;
}

    #banner img { margin: 0 auto; }

#container_wrapper {
    padding-top: 50px;
}

#container {
    width: 980px;
    margin: 0 auto;
}

    #content {
        width: 640px;
        margin-right: 20px;
        padding-bottom: 40px;
    }
    
        .text p, form p { margin-bottom: 15px; }
        
        .text p.footnote { margin-bottom: 5px; }
        
        .text h4 { margin-bottom: 15px; }
        
        .text h5 { margin-bottom: 10px; }
        
        .text ul, .text ol {
            margin-bottom: 15px;
            margin-left: 13px;
        }
        
        .content_image { margin: 0 auto; }
        
        .content_image.left { margin: 0 15px 0 0; }
        
        .content_image.right { margin: 0 0 0 15px; }
        
        .content_image p.image {
            margin-bottom: 5px;
        }
    
        .intro { margin-bottom: 25px; }
        
        .errorlist { margin-bottom: 3px; }
        
        #content h2, h3 { margin-bottom: 10px; }
        
        #content h2 .subtitle { margin-bottom: 5px; }
        
        #content .list_box {
            min-height: 80px;
            margin-bottom: 30px;
        }
        
        #sidebar .list_box { margin-bottom: 5px; }
        
            .list_box h3 { margin-bottom: 4px; }
        
            #content .list_box h3 { margin-bottom: 8px; }
        
            .list_box h4 { margin-bottom: 10px; }
        
            .list_detail.object_detail .main_image { margin: 0 auto 15px; }
        
            .list_box .url { margin-bottom: 10px; }
        
            .list_detail ul.info li {
                padding-right: 5px;
                margin: 0 5px 8px 0;
            }
        
            .list_detail.object_detail ul.info li { margin-bottom: 13px; }
        
                .list_detail ul.info li.tags {
                    padding: 0 0 0 2px;
                    margin: 0 0 5px 0;
                }
                
                    .list_detail ul.info li.tags .corner {
                        padding: 0 2px 0 0;
                    }
                
                    .list_detail ul.info li.tags .content {
                        height: 12px;
                        padding: 5px 3px;
                    }
                
                .list_detail.object_detail ul.info li.tags { margin-bottom: 15px; }
                
            .list_box .description { margin-bottom: 10px; }
        
            .list_detail.object_detail .description { margin-bottom: 30px; }
        
            .list_box .thumb {
                padding-bottom: 11px;
                left: 0;
                top: 0;
            }
        
            .list_box .comment_box { padding-top: 10px; }
        
            .list_box .comment_link a, .list_box .options_links a, .list_detail .options .title, .list_detail .options .details { padding-left: 15px; }
            
            .list_detail .options, #category_list .options {
                padding: 15px 0 10px 0;
                margin-bottom: 10px;
            }
        
                .list_detail .option { margin-right: 10px; }
            
                    .rate .title { margin-right: 10px; }
                
                    .rate .ratings { padding-top: 3px; }
        
            .list_box .options_links {
                left: 0;
                top: 92px;
            }
        
                .rating, .rating .replace {
                    width: 8px;
                    height: 8px;
                    margin-right: 4px;
                }
                
        #content .list_box.section_list {
            padding-left: 260px;
            min-height: 100px;
        }
        
            .list_box.section_list h3 { margin-bottom: 10px; }
        
                    .section_list h3 .replace {
                        height: 32px;
                        top: 2px;
                    }
        
            .list_box.section_list .description { padding-bottom: 5px; }

        ul.term_list li:after { margin-right: 2px; }
        
            ul.term_list li:after { content: " |"; }
            
                ul.term_list li:last-child:after { content: ""; }

        .see_more { padding-left: 18px; }
        
        .list_toolbar {
            padding: 5px 15px;
            margin-bottom: 20px;
        }
        
            .list_toolbar p { margin: 0 30px 0 0; }
                
                .list_toolbar .total {
                    margin: 0;
                    padding-top: 3px;
                }
        
                .list_toolbar label { margin-right: 10px; }
        
                .list_toolbar select { min-width: 100px; }
        
        #text_tools {
            right: 0;
            top: -5px;
        }
        
            body.flatpage #text_tools { top: 30px; }
            body.flatpage.contact #text_tools { top: 50px; }
            body.ciekawostki #text_tools { top: 90px; }
            body.ciekawostki.slowa-mistrza #text_tools { top: 115px; }
        
            #text_tools li { margin-left: 20px; }
        
                #text_tools a.font-size { margin-left: 3px; }
                
                .addthis_button_print { padding: 3px 22px 1px 0; }
                
                .addthis_button_email:after { content: " | "; }
        
        .success_message {
            padding: 5px;
            margin-bottom: 15px;
        }
        
        .directed .replace {
            width: 100px;
            height: 24px;
        }
        
        .small_title, .small_title .replace {
            width: 640px;
            height: 16px;
        }
        
            #kilka_slow {
                height: 14px;
            }
        
        #tag_list h2 .replace {
            width: 45px;
            height: 29px;
        }
        
        #pagination {
            padding: 8px;
            margin-bottom: 30px;
            min-height: 14px;
        }
            
            #pagination .prev {
                left: 15px;
                top: 8px;
            }
        
            #pagination .next {
                right: 15px;
                top: 8px;
            }
            
            #pagination .page.numbered a, #pagination .page.numbered strong {
                padding: 3px 5px;
            }
        
        #comments .header {
            margin-bottom: 10px;
            padding-bottom: 20px;
        }
        
            #comments .header h3 { width: 540px; }
        
                #comments .header h3 .replace {
                    width: 215px;
                    height: 26px;
                    top: 2px;
                }
            
            #comments .header .comment_count { margin-top: 26px; }
            
        .comment { margin-bottom: 25px; }
        
            .comment p:last-child { margin-bottom: 0; }

        .abs-corner {
            width: 4px;
            height: 4px;
        }
        
            .abs-corner.top-left {
                left: 0;
                top: 0;
            }
            
            .abs-corner.top-right {
                right: 0;
                top: 0;
            }

            .abs-corner.bottom-left {
                left: 0;
                bottom: 0;
            }
            
            .abs-corner.bottom-right {
                right: 0;
                bottom: 0;
            }

#sidebar { width: 320px; }

    .sidebar_list { margin-bottom: 50px; }

        .sidebar_list h2, .sidebar_gallery_list h2, #tag_list h2 { margin-bottom: 15px; }
        
    .sidebar_gallery_list { margin-bottom: 25px; }
    
    .sidebar_gallery_list .gallery_box {
        width: 115px;
        min-height: 79px;
        padding-left: 95px;
        margin: 0 20px 25px 0;
    }
    
        .sidebar_gallery_list.favorite .gallery_box {
            width: 85px;
            margin: 0 30px 15px 0;
            padding: 90px 0 0 0;
        }
    
        .sidebar_gallery_list .gallery_box.two, .sidebar_gallery_list .gallery_box.three { margin-right: 0; }
        
        .sidebar_gallery_list h3 { margin-bottom: 10px; }
        
            .sidebar_gallery_list.favorite h3 { margin-bottom: 3px; }
        
        .sidebar_gallery_list .image {
            left: 0;
            top: 0;
        }

    .bottom_link { padding-top: 15px; }
    
    #tag_list { margin-bottom: 40px; }

#footer {
    width: 980px;
    margin: 0 auto;
    padding: 15px 0 25px;
}

    #footer_term_list {
        margin-bottom: 20px;
        padding-bottom: 23px;
    }
    
        #footer_term_list h2, #footer_term_list h2 .replace {
            width: 256px;
            height: 47px;
        }

            #footer_term_list h2 { margin-right: 20px; }
            
                #footer_term_list h2 .small { margin-left: 165px; }
    
    #footer_nav { padding-top: 12px; }
    
        #footer_nav li { margin-left: 30px; }
        
            #footer_nav1 { min-width: 75px; }
            #footer_nav2 { min-width: 80px; }
            #footer_nav3 { min-width: 61px; }
            #footer_nav4 { min-width: 70px; }
            #footer_nav5 { min-width: 65px; }
            #footer_nav6 { min-width: 40px; }
            #footer_nav7 { min-width: 50px; }
        
            #footer_nav li .replace {
                width: 100%;
                height: 14px;
            }
    
/* Strona główna { */

body.main #header { height: 492px; }

body.main #authentication_form, body.main #user_nav {
    width: 770px;
    left: 160px;
    top: 450px;
}

    body.main #logout_button { margin-top: 10px; }

body.main #content { width: 500px; }

    body.main #content h2 { margin-bottom: 15px; }
    
    body.main #news_list { padding-top: 57px; }
    
        #news_list .list_box { padding-left: 180px; }
    
        #news_list h2 {
            height: 63px;
            left: -10px;
            top: -23px;
            padding: 23px 0 0 72px;
        }
        
            #news_list h2 .replace {
                width: 165px;
                height: 34px;
                left: 72px;
                top: 23px;
            }
        
        #news_list .list_link {
            right: 0;
            top: 17px;
            padding-left: 15px;
        }
    
    #forum_last { padding: 10px 20px; }
    
        #forum_last h2, #forum_last h2 .replace {
            width: 185px;
            height: 45px;
        }
    
        #forum_last li { margin-bottom: 15px; }

body.main #sidebar { width: 460px; }

    #encyclopedia_short { margin-bottom: 10px; }
    
        #encyclopedia_short h2, #encyclopedia_short h2 .replace {
            width: 360px;
            height: 45px;
        }
    
            #encyclopedia_short h2 { margin-bottom: 7px; }

        #encyclopedia_short ul.term_list {
            min-height: 150px;
            padding-left: 210px;
        }

    #calendar_card {
        min-height: 55px;
        padding: 10px;
        margin-bottom: 15px;
    }
    
        #calendar_card h2 {
            margin-right: 15px;
            padding: 8px 0 0 70px;
        }
        
            #calendar_card h2 .replace {
                width: 135px;
                height: 43px;
                left: 62px;
                top: 8px;
            }
        
            #calendar_card h2 .small { margin-left: -8px; }
        
    body.main #sidebar .banner { margin-bottom: 15px; }
    
    #audio_last {
        width: 500px;
        min-height: 134px;
        margin-bottom: 15px;
    }
    
        #audio_last h2, #audio_last h2 .replace {
            width: 320px;
            height: 47px;
        }
    
            #audio_last h2 { margin-bottom: 15px; }
        
        #audio_last li { margin-bottom: 7px; }
    
    body.main #gallery_last h2, body.main #gallery_last h2 .replace, body.main #video_last h2, body.main #video_last h2 .replace {
        width: 220px;
        height: 45px;
    }
    
/* } Strona główna */

/* Logowanie { */

body.login #content h2, body.login #content h2 .replace {
    width: 220px;
    height: 55px;
}

body.registration #content h2, body.registration #content h2 .replace {
    width: 260px;
    height: 55px;
}

body.password_reset #content h2, body.password_reset #content h2 .replace {
    width: 380px;
    height: 55px;
}

#registration_form {
    padding-bottom: 17px;
    margin-bottom: 20px;
}

    #registration_form .errorlist { margin-left: 165px; }

    #registration_form label {
        width: 155px;
        margin-right: 10px;
    }
    
    #registration_form input[type='text'], #registration_form input[type='password'] {
        width: 320px;
    }
    
    #registration_form button .content {
        padding-left: 40px;
        padding-right: 40px;
    }

/* } Logowanie */

/* Twoje konto { */

body.profile #content h2, body.profile #content h2 .replace {
    width: 640px;
    height: 55px;
}

    body.settings #content h2, body.settings #content h2 .replace { width: 350px; }

    body.profile #content h2 { margin-bottom: 25px; }

#settings_link, #settings_link .replace {
    width: 180px;
    height: 16px;
}

#settings_link {
    right: 0;
    top: 25px;
}

#profile { margin-bottom: 60px; }

    #account_image {
        margin-right: 40px;
    }
    
    #profile textarea {
        width: 630px;
        margin-bottom: 15px;
    }
    
    #account_details ul {
        width: 240px;
        margin-bottom: 20px;
    }
    
        #account_details ul.second { width: 280px; }
    
        #account_details ul.errorlist { margin-bottom: 3px; }
    
        #account_details li {
            width: 210px;
            padding: 10px 20px 10px 0;
        }
        
            #account_details.static li { padding: 5px 20px 5px 0; }
        
            #account_details ul.errorlist li {
                width: 130px;
                padding: 0 25px 0 0;
                float: right;
            }
        
            #account_details input { width: 120px; }
        
                #id_birth_date_wrapper { width: 126px; }
        
                    input#id_birth_date {
                        width: 100px;
                        margin-right: 3px;
                    }
        
            #account_details ul.second ul.errorlist li { width: 195px; padding: 0; }
        
            #account_details ul.second li { width: 260px; }
        
                #account_details ul.second input { width: 200px; }
    
#account_subjects { margin-bottom: 30px; }

    #account_subjects h3, #account_subjects h3 .replace {
        width: 484px;
        height: 29px;
    }

        #account_subjects h3 { margin-bottom: 20px; }
    
    #account_subjects li { margin-bottom: 10px; }
    
        #account_subjects h4 { margin-bottom: 2px; }

#avatar_form {
    width: 332px;
    margin-bottom: 30px;
}

    #avatar_form .file_wrapper { width: 237px; }
    
    #avatar_form input[type='text'] { width: 150px; }
    
    #avatar_form p.submit { width: 95px; }

#password_change_form label { width: 70px; }

#password_change_form input[type='password'] { width: 255px; }

#password_change_form .errorlist { margin-left: 70px; }

#password_change_form p.submit { width: 332px; }

#news_favorite h2, #news_favorite h2 .replace {
    width: 270px;
    height: 29px;
}

#gallery_favorite h2, #gallery_favorite h2 .replace {
    width: 220px;
    height: 29px;
}

/* } Twoje konto */

/* Aktualności { */

body.news-list #container_wrapper { padding-top: 25px; }

body.news #content { padding-top: 67px; }

    body.news #content h2 {
        height: 84px;
        left: 0;
        top: -30px;
        padding: 20px 0 0 75px;
    }
    
        body.news #content h2 .replace {
            width: 230px;
            height: 45px;
            left: 75px;
            top: 20px;
        }

    #news_options {
        left: 350px;
        top: 5px;
    }

        #news_options .list_toolbar { width: 600px; }
        
            #archive_form {
                margin: 0;
                right: 15px;
                top: 5px;
            }
        
        #options_submit {
/*             padding: 0 40px; */
            right: 0;
            top: 40px;
        }
        
            #options_submit .content {
                padding-left: 40px;
                padding-right: 40px;
            }

body.news #sidebar { padding-top: 100px; }

#news_directed h2, #news_directed h2 .replace {
    width: 200px;
    height: 48px;
}

#news_last h2, #news_last h2 .replace {
    width: 230px;
    height: 29px;
}

#news_related h2, #news_related h2 .replace {
    width: 220px;
    height: 29px;
}


/* } Aktualności */

/* Encyklopedia { */

body.encyklopedia #content {
    width: 100%;
    margin-right: 0;
}

    body.encyklopedia #content h2 { margin-bottom: 30px; }
    
    #category_list .subcategory {
        width: 300px;
        margin: 0 40px 40px 0;
    }
    
        #category_list .info_wrapper {
            margin-bottom: 10px;
        }
    
        #category_list h3 { margin-bottom: 30px; }
        
        #category_list .header { padding-top: 95px; }
        
            #category_list .header .thumb {
                left: 0;
                top: 0;
            }
            
            #category_list h4 { margin-bottom: 10px; }
        
        #category_list .description { margin-bottom: 10px; }
            
        #category_list .terms { padding-left: 15px; }
            
            .terms li { margin-bottom: 4px; }

    body.encyklopedia.term_detail #content, body.encyklopedia.subcategory_detail #content {
        width: 640px;
        margin-right: 20px;
    }
    
    body.encyklopedia.subcategory_detail .terms { margin-bottom: 30px; }
    
    #sidebar_category_list h3, #sidebar_category_list h4 { margin-bottom: 10px; }
    
        #sidebar_category_list h3 { margin-top: 10px; }
    
    #sidebar_category_list .terms { margin-bottom: 20px; }
    
/* } Encyklopedia */

/* Kalendarz { */

body.calendar #content { padding-top: 67px; }

    body.calendar #content h2 {
        height: 84px;
        left: 0;
        top: -30px;
        padding: 20px 0 0 80px;
    }
    
        body.calendar #content h2 .replace {
            width: 200px;
            height: 43px;
            left: 80px;
            top: 20px;
        }
    
    body.calendar #content h3 { margin-bottom: 20px; }

#calendar { padding-bottom: 35px; }

    #calendar h2 { margin-bottom: 15px; }
    
        #calendar h2 .replace {
            width: 250px;
            height: 29px;
        }
    
    #month_list { width: 110px; }
    
        #month_list li { margin-bottom: 5px; }
    
    #calendar_table { border-spacing: 0 8px; }
    
        #calendar_table a, #calendar_table strong {
            width: 10px;
            padding: 0 5px;
        }

#calendar_pdf, #calendar_pdf .replace {
    width: 330px;
    height: 39px;
}

        #calendar_pdf { margin-bottom: 30px; }
        
        #calendar_pdf .replace { top: -3px; }

/* } Kalendarz */

/* Ciekawostki { */

body.ciekawostki #content { padding-top: 125px; }
body.ciekawostki.slowa-mistrza #content { padding-top: 145px; }

    body.ciekawostki.with_tag #content { padding-top: 110px; }

    body.ciekawostki #content h2 {
        height: 144px;
        left: -10px;
        top: -30px;
        padding: 30px 0 0 150px;
    }
    
        body.ciekawostki #content h2 .replace {
            width: 240px;
            height: 43px;
            left: 150px;
            top: 34px;
        }
        
        body.ciekawostki #content h2 .subtitle .replace {
            width: 160px;
            height: 32px;
            left: 120px;
            top: 2px;
        }

        body.ciekawostki.slowa-mistrza #content h2 .subtitle .replace {
            width: 330px;
            height: 70px;
            left: 120px;
            top: 2px;
        }

    body.ciekawostki.slowa-mistrza h2 .subtitle, body.ciekawostki.slowa-mistrza #content h2 .small {
        padding-left: 120px;
    }

    body.ciekawostki .section_list h3, body.ciekawostki .section_list h3 .replace { width: 160px; }

    body.ciekawostki #mistrz_section h3, body.ciekawostki #mistrz_section h3 .replace {
        width: 330px;
        height: 70px;
    }
    
    #curio_list .list_box { padding-left: 180px; }
    
        #curio_list .list_box .description { padding-bottom: 10px; }

    #curio_directed h2, #cite_directed h2 { margin-bottom: 10px; }

    #curio_directed h2, #cite_directed h2, #curio_directed h2 .replace, #cite_directed h2 .replace {
        width: 200px;
        height: 52px;
    }

    .cite-simple-item {
        margin-bottom: 30px;
    }

/* } Ciekawostki */

/* Multimedia { */

body.multimedia #content { padding-top: 100px; }

    body.multimedia #content h2 {
        height: 144px;
        left: -10px;
        top: -35px;
        padding: 50px 0 0 160px;
    }
    
        body.multimedia #content h2 .replace {
            width: 230px;
            height: 43px;
            left: 160px;
            top: 50px;
        }

    #audio_section h3, #audio_section h3 .replace { width: 300px; }
    #gallery_section h3, #gallery_section h3 .replace { width: 150px; }
    #video_section h3, #video_section h3 .replace { width: 145px; }
    #files_section h3, #files_section h3 .replace { width: 230px; }

/* } Multimedia */

/* Pliki, Video i Audio { */

body.files #content, body.video #content { padding-top: 140px; }

    body.files #content h2, body.video #content h2 {
        height: 144px;
        left: -10px;
        top: -10px;
        padding: 25px 0 0 170px;
    }
    
        body.files #content h2, body.files #content h2 .replace, body.video #content h2, body.video #content h2 .replace { width: 475px; }
        
            body.files #content h2 .replace, body.video #content h2 .replace {
                height: 56px;
                left: 170px;
                top: 28px;
            }

    body.files .list_link.multimedia, body.video .list_link.multimedia {
        right: 5px;
        top: 0;
    }
    
        body.video.detail .list_link.multimedia, body.files.detail .list_link.multimedia { top: 80px; }
    
    body.video .list_link.index, body.files .list_link.index {
        top: 80px;
        left: 165px;
    }
    
    body.files .list_toolbar, body.video .list_toolbar {
        width: 445px;
        left: 160px;
        top: 75px;
    }
    
        body.files.with_tag .list_toolbar, body.video.with_tag .list_toolbar { top: 90px; }
    
    #file_list .list_box { padding-left: 65px; }

        body.video #file_list .list_box {
            min-height: 120px;
            padding-left: 95px;
        }

    body.video.detail #content .list_detail { margin-bottom: 0; }
    
    body.files .list_detail .option { margin-right: 55px; }
    
        body.files .list_detail #share { margin-right: 0; }
    
    #video_flash object { margin: 0 auto 30px; }
    
    #audio_flash embed { margin: 0 auto; }
    
    .button.audio .content { padding-left: 35px; }
    
    #audio_directed h2, #audio_directed h2 .replace, #video_directed h2, #video_directed h2 .replace {
        width: 210px;
        height: 52px;
    }
    
    #files_directed h2, #files_directed h2 .replace {
        width: 260px;
        height: 30px;
    }
    
/* } Pliki, Video i Audio */

/* Galerie zdjęć { */

body.gallery #content { padding-top: 135px; }

    body.gallery #content h2 {
        height: 144px;
        left: -10px;
        top: -23px;
        padding: 30px 0 0 190px;
    }
    
        body.gallery #content h2 .replace {
            width: 245px;
            height: 50px;
            left: 190px;
            top: 34px;
        }
    
    body.gallery .list_link.multimedia {
        right: 5px;
        top: 35px;
    }
    
        body.gallery.detail .list_link.multimedia { top: 70px; }
    
    body.gallery .list_link.index {
        top: 70px;
        left: 185px;
    }
    
    body.gallery .list_toolbar {
        width: 425px;
        left: 180px;
        top: 65px;
    }
    
        body.gallery.with_tag .list_toolbar { top: 80px; }

    #gallery_list .list_box { padding-left: 95px; }
    
    .photo_list img { margin: 0 31px 15px 0; }
    
        .photo_list img.last { margin-right: 0; }

    #gallery_last h2 .replace {
        width: 230px;
        height: 29px;
    }
    
    #gallery_related h2 .replace {
        width: 215px;
        height: 29px;
    }

    #gallery_directed h2 .replace {
        width: 250px;
        height: 29px;
    }

    .photo-large {
        margin-bottom: 30px;
    }

/* } Galerie zdjęć */

/* Forum { */

body.forum #content { width: 100%; }

    body.forum #content h2, body.forum #content h2 .replace {
        width: 140px;
        height: 47px;
    }

    #forum_info { margin-top: 35px; }

    .section_title, #category_table th, #category_table td { padding: 5px 15px; }

    .category_title, .category_box { padding: 18px 15px; }
    
        .category_title h3 { margin: 0; }
        
        .category_title #new_subject {
            right: 15px;
            top: 15px;
        }
    
    .section_title, .category_title, .category_box, .post { margin-bottom: 3px; }
    
        .category_box .description {
            width: 445px;
            margin-right: 30px;
        }

            .category_box h4 { margin-bottom: 7px; }
        
        #forum_info li, .category_info .subject_count {
            margin-right: 5px;
            padding-right: 5px;
        }
        
            .category_info .subject_count { margin-top: 2px; }
        
        #forum_header { padding-top: 33px; }
    
        #forum_header.subject { padding: 100px 0 0 5px; }
        
        #subject_date {
            padding-left: 5px;
            margin-bottom: 10px;
        }
    
        #forum_header #forum_parents {
            left: 0;
            top: 0;
            width: 100%;
        }
        
    .subject-pagination { font-weight: normal; }
    .subject-pagination a { font-weight: bold; padding: 0 0 0 4px; }
    .subject-pagination a:hover { text-decoration: underline; color: #000; }

    #post_list { margin-bottom: 20px; }
        
    .post { padding: 20px; }
    
        .post .author {
            width: 80px;
            margin-right: 25px;
            padding-top: 90px;
        }
        
            .post .author .avatar {
                left: 0;
                top: 0;
            }
        
        .post .content { width: 835px; }
        
            .post .date {
                margin-bottom: 8px;
                padding-bottom: 5px;
            }
    
    #forum_parents .title, #subject_date .title, .post .date .title {
        left: -999px;
        top: -999px;
    }
    
    #category_table {
        border-spacing: 1px 3px;
        margin-bottom: 30px;
    }
    
        #category_table tbody th { width: 475px; }

    body.forum #buttons_row { margin-bottom: 25px; }

    body.forum #pagination {
        width: 600px;
        margin: 0 auto 25px;
    }

    #forum_form .post {
        padding-bottom: 0;
        margin-bottom: 10px;
    }
    
    #forum_form .errorlist { margin-left: 50px; }
    
    #forum_form label { width: 50px; }

    #forum_form input[type='text'], #forum_form textarea {
        width: 778px;
    }
    
/* } Forum */

/* Kontakt { */

body.contact #content { padding-top: 90px; }

    body.contact #content h2 {
        height: 75px;
        left: -10px;
        top: -23px;
        padding: 23px 0 0 150px;
    }
    
    body.contact #content h2, body.contact #content h2 .replace { width: 170px; }
    
        body.contact #content h2 .replace {
            height: 50px;
            left: 150px;
            top: 25px;
        }
        
    #redakcja_section h3, #redakcja_section h3 .replace {
        width: 115px;
        height: 32px;
    }

    #linki_section h3, #linki_section h3 .replace {
        width: 70px;
        height: 32px;
    }

    #kontakt_section h3, #kontakt_section h3 .replace {
        width: 190px;
        height: 32px;
    }
    
    body.redakcja #content h2, body.redakcja #content h2 .replace { width: 180px; }
    body.linki #content h2, body.linki #content h2 .replace { width: 110px; }
    body.contact_form #content h2, body.contact_form #content h2 .replace { width: 320px; }
    
    #link_list .list_box { padding-left: 180px; }
    
        #link_list .list_box h3 { margin-bottom: 0; }
        
    .contact_person {
        width: 160px;
        margin: 0 80px 30px 0;
    }
    
    #contact_form h3 { margin-bottom: 15px; }
    
    #contact_form input { margin-bottom: 15px; }
    
    #id_contact-email {
        width: 310px;
        margin-right: 20px;
    }
    
    #id_contact-section { width: 300px; }
    
    #id_contact-body {
        width: 630px;
        margin-bottom: 15px;
    }
        
    #contact_form .buttons input { margin-left: 10px; }

/* } Kontakt */

/* Wyszukiwanie { */

body.search #content h2, body.search #content h2 .replace {
    width: 430px;
    height: 55px;
}

    body.search #content h2 { margin-bottom: 20px; }

body.search .options_form {
    margin-bottom: 15px;
    padding-bottom: 13px;
}

    #search_toolbar {
        height: 19px;
        padding: 6px 15px;
        margin-bottom: 10px;
    }
    
        body.search #paginate_by_form {
            margin: 0;
            right: 0;
            top: -50px;
        }
        
        #keyword { padding-top: 2px; }
        
        #where_form {
            margin: 0;
            right: 98px;
            top: 5px;
        }
        
        #search_toolbar .submit {
            margin: 0;
            right: 8px;
            top: 6px;
        }
    
    #count_results {
        margin-bottom: 10px;
        padding-left: 10px;
    }
    
    .gallery_list {
        height: 80px;
        padding-left: 95px;
    }
    
    .search_subtitle, .search_subtitle .replace {
        width: 320px;
        height: 45px;
    }

/* } Wyszukiwanie */

/* Komentarze { */

#comment_form h4 { margin-bottom: 15px; }

#comment_form .errorlist { margin-left: 70px; }

#comment_form label { width: 100px; }

#comment_form input[type='text'], #comment_form textarea { width: 530px; }

/* } Komentarze */

/* Sklepy { */

body.sklepy #content h2, body.sklepy #content h2 .replace {
    width: 660px;
    height: 55px;
}

/* } Sklepy */
.addthis_icon {
display: inline-block;
margin: 20px;
vertical-align: top;
}
.addthis_icon iframe {
width: 70px;
}



#facebox {
    background-color:#ffffff;
    padding:15px;
    display:none;
    width:300px;
    border:8px solid #666;
    border:8px solid rgba(82, 82, 82, 0.698);
    border-radius:8px;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
}
 
#facebox h2 {
    display:block;
    /*text-align:center;*/
    margin-bottom:10px;
    font-size:2em;
}

#facebox .close,
#facebox .close:after {
    height:30px;
    line-height:30px;
    width:30px;
    display:block;    
}

#facebox .close {
    position: absolute;
    top:1px;
    right:1px;
    cursor:pointer;
}

#facebox .close:after {
    content:"x";
    color:#bbbbbb;
    text-align:center;
    font-weight:900;
    font-size:2em;
}

#facebox .close:hover:after {
    color:#666666;
}