/*
Theme Name: SIEVERS® Fenster und Türen Version 
Theme URI: <private>
Description:
Version: 2011.04
Author: All Things WordPress Torsten Liebig (Screendesign von Sebastian Lachermeier)
Author URI: http://torsten-liebig.de/
*/


/* load the style that will format /kontakt/formular */
@import "style_cforms.css";





html {
    background: white;
    width: 100%;
    height: 100%;

    padding: 0;
    margin: 0;
}


body {
    background: white;
    width: 100%;
    height: 100%;

    padding: 0;
    margin: 0;

	font: 62.5% Arial, Helvetica, sans-serif; /* Resets 1em to 10px */

    overflow-x: hidden;
}

img {
    border: 0;
}


#page {
    position: relative;
    top: 120px;
    left: 0;

    margin: 0 auto;

    width: 899px; /* plus 28px padding makes for 955 x 655 px (the same size as the background image) */
    height: 599px;

    margin-left: auto;
    margin-right: auto;

    padding: 28px;

    background: url("./_images/page-background.gif") center center no-repeat;
    overflow: visible;
}


#header #headerimg {
    position: absolute;
    top: -83px;
    right: 5px;

    z-index: 21;
    overflow: hidden;
}


    #headerimg h1 {
        width: 217px;
        height: 72px;

        background: url("./_images/logo.jpg");
        line-height: 30em;
        overflow: hidden;

        margin: 0;
    }

    #headerimg h1 a {
        position: absolute;
        top: 0;
        left: 0;

        width: 100%;
        height: 100%;
    }


    #headerimg .description {
        display: none;
    }

    #header ul#nav_main {
        position: absolute;
        bottom: 28px;
        right: 28px;

        z-index: 22;
    }

        #header ul#nav_main li {
            list-style-type: none;
            position: relative;
            float: left;

            width: 143px;
            height: 46px;

            margin-left: 6px;
            overflow: hidden;
            border: 1px solid #BBBCC0;
        }

        #header ul#nav_main li a {
            position: absolute;
            bottom: 0;
            right: 0;

            width: 100%;
            height: 100%;
            text-align: right;
            vertical-align: bottom;
            color: #434C51;
            font-size: 13px;
            padding-right: 9px;
            letter-spacing: -0.025em;
            line-height: 67px;

            font-family: 'PT Sans', arial, serif;
        }

        #header ul#nav_main li a:hover {
            background-color: #F0F0F0;
        }

            /*
            #header ul#nav_main li.page-item-16 {
                display: none;
            }

            #header ul#nav_main li.page-item-16 a {
                background: url('./_images/nav_main_home.png') top center no-repeat;
            }

            #header ul#nav_main li.page-item-16.current_page_item a,
            #header ul#nav_main li.page-item-16.current_page_ancestor a,
            #header ul#nav_main li.page-item-16 a:hover {
                background: url('./_images/nav_main_home_aktiv.png') top center no-repeat;
            }

            #header ul#nav_main li.page-item-6 a {
                background: url('./_images/nav_main_produkte.png') top center no-repeat;
            }

            #header ul#nav_main li.page-item-6.current_page_item a,
            #header ul#nav_main li.page-item-6.current_page_ancestor a,
            #header ul#nav_main li.page-item-6 a:hover {
                background: url('./_images/nav_main_produkte_aktiv.png') top center no-repeat;
            }

            #header ul#nav_main li.page-item-37 a {
                background: url('./_images/nav_main_referenzen.png') top center no-repeat;
            }

            #header ul#nav_main li.page-item-37.current_page_item a,
            #header ul#nav_main li.page-item-37.current_page_ancestor a,
            #header ul#nav_main li.page-item-37 a:hover {
                background: url('./_images/nav_main_referenzen_aktiv.png') top center no-repeat;
            }

            #header ul#nav_main li.page-item-71 a {
                background: url('./_images/nav_main_passivhaus.png') top center no-repeat;
            }

            #header ul#nav_main li.page-item-71.current_page_item a,
            #header ul#nav_main li.page-item-71.current_page_ancestor a,
            #header ul#nav_main li.page-item-71 a:hover {
                background: url('./_images/nav_main_passivhaus_aktiv.png') top center no-repeat;
            }

            #header ul#nav_main li.page-item-74 a {
                background: url('./_images/nav_main_aktuelles.png') top center no-repeat;
            }

            #header ul#nav_main li.page-item-74.current_page_item a,
            #header ul#nav_main li.page-item-74.current_page_ancestor a,
            #header ul#nav_main li.page-item-74 a:hover {
                background: url('./_images/nav_main_aktuelles_aktiv.png') top center no-repeat;
            }
            */

#page-content {
    position: relative;

    width: 899px;
    height: 535px;

    overflow: hidden;

    z-index: 200;
}

#page-content .post {
    max-height: 430px;
}


        #page-content h2.the_title {
            position: absolute;

            width: 295px;

            left: 0;
            bottom: 0;

            font-size: 1.6em;
            color: rgb(87,96,103);

            background: none;
            padding: 0;
            margin-bottom: 0.4em;
        }

        #page-content h1 {
            font-size: 1.6em;

            padding-top: 2em; /* This is what IE understands, too */
            margin-top: 0;
            padding-bottom: 1em;
            margin-bottom: 0;

            min-height: 35px;

            color: rgb(87,98,104);
        }

        #page-content h2 {
            font-size: 1.2em;

            margin-top: 2em;
            margin-bottom: 0.7em;

            color: rgb(64,73,78);
            background: rgb(199,204,208);
            padding: 1px 5px;

        }

        #page-content table tr.firstrow h1, #page-content table tr.firstrow h2, #page-content table tr.firstrow h3,
        #page-content table tr.firstrow h4, #page-content table tr.firstrow h5, #page-content table tr.firstrow h6 {
            margin-top: 0;
        }

        #page-content table tr.firstrow p {
            margin-top: 0;
            margin-bottom: 8px;
        }


        #page-content p, #page-content ul, #page-content ol {
            margin-top: 0;

            font-size: 1.2em;

            color: rgb(64,70,77);

            margin-bottom: 8px; /* taken from the screen design, the amount of space that is left below the image with the page roster */
        }

        /* Die nächsten beiden Regeln werden benötigt, weil durch TinyMCE der erste Texteintrag in Tabellenzellen nicht als Absatz formatiert werden kann. */
        /* Lösung: Die Textgröße und -farbe wird über die Tabellenzelle an den Absatz vererbt, der dann als Textgröße 100% definiert hat */
        /* Zusätzlich wird der Absatz durch margin-top statt margin-bottom definiert, damit sich der erste Absatz korrekt vom darüberliegenden Text absetzt */
        #page-content td {
            font-size: 1.2em;
            color: rgb(64,70,77);
        }

        #page-content td p, #page-content td ul,  #page-content td ol {
            font-size: 1em;

            margin-top: 8px;
            margin-bottom: 0;
        }

        #page-content ul, #page-content td ul {
            /* this fixes thickbox.css' margin:0 and padding: 0 for * elements */
            padding-left: 1.75em;
            margin-bottom: 8px;
        }

        #page-content ul li {
            /* this fixes thickbox.css' margin:0 and padding: 0 for * elements */
            padding-left: 0.4em;
            line-height: 1.4em;
        }

        #page-content p.eingerueckt {
            padding-left: 5px;
        }

        #page_content table tr.firstrow h1, #page_content table tr.firstrow h2, #page_content table tr.firstrow h3, #page_content table tr.firstrow h4,
        #page_content table tr.firstrow h5, #page_content table tr.firstrow h6, #page_content table tr.firstrow p {
            margin-top: 0;
        }

        #page-content table.zweispalter {
            width: 920px; /* 900px +20px for the border on both sides that is subtracted through the margins */

            border: 0;
            border-collapse: separate;
            border-spacing: 10px;

            *border-collapse: expression('separate', cellSpacing = '10px'); /* IE fix: http://vacskamati.blogspot.com/2007/03/eliminating-cellspacing-and-cellpadding.html */

            margin: -10px; /* remove the outer border from the table, so that border-spacing only effects the inner spacings between the cells */
        }

        #page-content table.zweispalter td {
            padding: 0;
            margin: 0;
        }

        #page-content table.zweispalter td.spalte1,
        #page-content table.zweispalter td.spalte2 {
            width: 50%;
        }

        #page-content table.teaser, #page-content table.referenzen {
            width: 914px;

            border: 0;
            border-collapse: separate;
            border-spacing: 7px;

            *border-collapse: expression('separate', cellSpacing = '7px'); /* IE fix: http://vacskamati.blogspot.com/2007/03/eliminating-cellspacing-and-cellpadding.html */

            margin: -7px; /* remove the outer border from the table, so that border-spacing only effects the inner spacings between the cells */
            padding: 0;
        }

        #page-content table.teaser tbody, #page-content table.teaser tr, #page-content table.teaser td,
        #page-content table.referenzen tbody, #page-content table.referenzen tr, #page-content table.referenzen td {
            line-height: 0; /* if not set, the default line height will cause a 3-4px padding-like spacing at the bottom */
        }


        #page-content div.entry {
            position: relative;

            width: 899px;
            height: 430px;

            overflow: auto;
            overflow-x: hidden;
        }

        #page-content div.entry.noscroll {
            overflow:  visible; /* ensures that there is no scroll bar on the rubrick-uebersichtsseiten */
        }


        #page-content div.entry p.rollovertext {
            position: absolute;
            bottom: -104px;
            right: 0;

            width: 598px;
            font-size: 1.2em;
            color: rgb(47,56,61);
        }

        #TB_window {
            z-index: 1000 !important;
        }

        #TB_overlay {
            z-index: 900 !important;
        }

		#TB_load{
            z-index: 1003 !important;
		}
		
        #page-content div.search-result {
            float: left;
            width: 440px;
            height: 9em;

            position: relative;

            margin: 0;
            padding: 0;
            padding-bottom: 2.5em;
        }

        #page-content div.search-result.odd {
            margin-right: 10px;
            clear: both;
        }

        #page-content div.search-result h3 {
            margin: 0;
            padding: 0;

            margin-bottom: -0.5em;

            font-size: 1.2em;

            padding-top: 1em;
        }

        #page-content div.search-result p.permalink {
          position: absolute;
          bottom: 1em;

          width: 100%;
        }

        #page-content div.search-result p.permalink a {
          position: absolute;
          bottom: 0;
          left: 0;

          width: 100%;
          padding-top: 5em;
          padding-bottom: 0.5em;
        }

        #page-content #search_results_info {
            position: absolute;
            top: 4.5em;
            left: 0;
        }


        #page-content div#search_pagination {
            clear: both;
            position: absolute;

            bottom: 120px;
        }

        #page-content div#search_pagination #page_counter {
            display: block;
            float: left;

            position: absolute;
            top: 0;
            left: 300px;
            width: 300px;
            text-align: center;
        }

        #page-content div#search_pagination #page_counter a {
            border: 1px solid rgb(199,204,208);
            padding: 0 3px;
            margin-right: 2px;
        }

        #page-content div#search_pagination #page_counter a.current_result_page {
            border: 1px solid rgb(178,178,178);
            background: rgb(199,204,208);

            color: white;
        }

        .alignleft {
            clear: both;
            float: left;
        }

        hr {
            visibility: hidden;
            clear: both;
        }


        .alignright {
            clear: both;
            float: right;
        }

        .spalte2.bilderspalte {
            text-align: right;
        }

        .wp-caption-text {
            text-align: left;
        }


        a {
            color: rgb(128,128,128);
            text-decoration: none;
        }

        #page-content a {
            text-decoration: underline;
        }

        #page-content #wp_link_pages {
            position: absolute;

            bottom: 80px; /* same as div#search_pagination */
            left: 0;
        }

        #page-content #wp_link_pages a {
            margin-right: 1em;
            text-decoration: none;
        }


        #page-content #edit_post_link {
            position: absolute;
            bottom: 0;
            right: 0;
        }

        #stoerer_startseite {
            position: absolute;
            right: 2px;
            top: 50px;
            z-index: 1000;
        }

        #stoerer_zielseite {
            position: absolute;
            right: 2px;
            top: 30px;
            z-index: 1000;
        }

        #stoerer_referenzseite {
            position: absolute;
            right: 2px;
            top: 495px;
            z-index: 1000;
        }

        #stoerer_anfragen {
            position: absolute;
            right: 2px;
            top: 55px;
            z-index: 1000;
        }


#footer {
    position: absolute; /* is larger than the content and gets stacked behind to ensure links within the content stay clickable */

    top: -23px;
    left: 0;

    width: 955px;
    height: 700px;

    overflow: visible;
}

    #footer ul#nav_meta {
        position: absolute;
        top: 3px;
        left: 15px;

        margin: 0;
        padding: 0;
    }

    #footer ul#nav_meta > * {
        float: left;
    }


        #footer ul#nav_meta li {
            list-style-type: none;
            position: relative;
            float: left;

            margin-right: 6px;
        }

        #footer ul#nav_meta li a, #footer ul#nav_meta li #searchform label {
            position: relative;

            width: auto;
            height: 100%;

            color: #434C51;

            font-size: 13px;
            padding-right: 9px;
            letter-spacing: 0;

            font-family: 'PT Sans', arial, serif;

            padding-left: 10px;
            line-height: 1.6em;
        }

        #footer ul#nav_meta li a:hover, #footer ul#nav_meta li #searchform:hover {
            background: url('_images/nav_meta_bg_aktiv.jpg') -5px center no-repeat;
        }

        #footer ul#nav_meta li.page-item-search #searchform {
            width: 253px;
            position: relative;
            top: -1px;
        }

        #footer ul#nav_meta #searchform #s {
            background: url('./_images/s_background.jpg') bottom left;
            border: none;
            width: 155px;

            font-size: 1.1em;
            padding-left: 3px;
        }

        #footer ul#nav_meta #searchform label.hidden {
            visibility: hidden;
        }

        #footer ul#nav_meta #searchform #searchsubmit {
            position: relative;
            top: 5px;
        }
            /*
            #footer ul#nav_meta li.page-item-65 {
                width: 94px;
            }

            #footer ul#nav_meta li.page-item-65 a {
                background: url('./_images/nav_meta_unternehmen.gif') left 0.5em no-repeat;
            }

            #footer ul#nav_meta li.page-item-65.current_page_item a,
            #footer ul#nav_meta li.page-item-65.current_page_ancestor a,
            #footer ul#nav_meta li.page-item-65 a:hover {
                background: url('./_images/nav_meta_unternehmen_aktiv.gif') left 0.5em no-repeat;
            }

            #footer ul#nav_meta li.page-item-67 {
                width: 57px;
            }

            #footer ul#nav_meta li.page-item-67 a {
                background: url('./_images/nav_meta_service.gif') left 0.5em no-repeat;
            }

            #footer ul#nav_meta li.page-item-67.current_page_item a,
            #footer ul#nav_meta li.page-item-67.current_page_ancestor a,
            #footer ul#nav_meta li.page-item-67 a:hover {
                background: url('./_images/nav_meta_service_aktiv.gif') left 0.5em no-repeat;
            }

            #footer ul#nav_meta li.page-item-69 {
                width: 64px;
            }

            #footer ul#nav_meta li.page-item-69 a {
                background: url('./_images/nav_meta_kontakt.gif') left 0.5em no-repeat;
            }

            #footer ul#nav_meta li.page-item-69.current_page_item a,
            #footer ul#nav_meta li.page-item-69.current_page_ancestor a,
            #footer ul#nav_meta li.page-item-69 a:hover {
                background: url('./_images/nav_meta_kontakt_aktiv.gif') left 0.5em no-repeat;
            }

            #footer ul#nav_meta li#nav_meta_forum {
                width: 56px;
            }

            #footer ul#nav_meta li#nav_meta_forum a {
                background: url('./_images/nav_meta_forum.gif') left 0.5em no-repeat;
            }

            #footer ul#nav_meta li#nav_meta_forum.current_page_item a,
            #footer ul#nav_meta li#nav_meta_forum.current_page_ancestor a,
            #footer ul#nav_meta li#nav_meta_forum a:hover {
                background: url('./_images/nav_meta_forum_aktiv.gif') left 0.5em no-repeat;
            }

            #footer ul#nav_meta li.page-item-9289 {
                width: 78px;
            }

            #footer ul#nav_meta li.page-item-9289 a {
                background: url('./_images/nav_meta_newsletter.gif') left 0.5em no-repeat;
            }

            #footer ul#nav_meta li.page-item-9289.current_page_item a,
            #footer ul#nav_meta li.page-item-9289.current_page_ancestor a,
            #footer ul#nav_meta li.page-item-9289 a:hover {
                background: url('./_images/nav_meta_newsletter_aktiv.gif') left 0.5em no-repeat;
            }

            #footer ul#nav_meta li.page-item-search.current_page_item,
            #footer ul#nav_meta li.page-item-search.current_page_ancestor {
                background: url('./_images/nav_meta_suche_aktiv.gif') left 0.5em no-repeat;
            }

        #footer ul#nav_meta li a {
            position: absolute;

            width: 100%;
            height: 100%;

            line-height: 30em;
        }
       */




        #footer p#copyright_notice {
            position: absolute;
            bottom: 10px;
            right: 10px;

            font-size: 1.1em;

            margin: 0;
            padding: 0;
        }

        #footer a#link_impressum {
            text-transform: uppercase;
            color: rgb(47,56,61);
            text-decoration: none;
        }







div#meta_hinweis_backend {
    display: none;
}





.clearfloat {
    clear: both;
}


