/*   
Theme Name: bescript
Theme URI: http://www.bescript.de
Description: Theme for bescript
Author: Benjamin-Timm Broich
Author URI: http://psax.de
*/

* {
    margin: 0;
    padding: 0;
    border: 0;
    border-spacing: 0;
}

body {
    font-family: Verdana;
    font-size: 12px;
    color: #413F3F;
    background: url(/wp-content/themes/bescript/images/bg.jpg);
    background-attachment:fixed;
    margin-bottom: 20px;
}

h2 {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 5px; 
}

#wrapper {
    width: 870px;
    margin: 0 auto;
}

#header {
    margin-top: 20px;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

    #header #logo {
        float: left;
        width: 300px;
    }
    
    #header #teaser {
        margin-left: 360px;
        color: #336023;
    }

        #header #teaser h1 {
            font-size: 17px;
            font-family: Georgia;
        }
        
        #header #teaser h2 {
            font-size: 12px;
            font-weight: normal;
            letter-spacing: 0.5px;
            font-family: Georgia
        }
        
.commentlist {
    margin-left: 20px;	
}

.url { color: #000000; }

#contentWrapper {
    background-image: url(/wp-content/themes/bescript/images/content-wrapper-bg.gif);    
    background-repeat: repeat-y;
    padding-bottom: 15px;
}
       
       #contentWrapper #content .post {
            width: 100%;
       }
       
            #contentWrapper #content .post h1 {
				border-bottom: 1px solid #333333;
				margin-bottom: 15px;
				font-size: 22px;
				font-family: Georgia;
				letter-spacing: 1px;
            }
       
	       #contentWrapper #content .post h1 a {
	            color: #000000;
	            text-decoration: none;
	       }

	       #contentWrapper #content .post .theContent a {
				background: #F0F5E1;
				padding: 1px;
				text-decoration: none;
				border-bottom: 1px solid #8BBB13;
				color: #56730B;
	       }
       
	           #contentWrapper #content .post .theContent a:hover {
	               background: #8BBB13;
	               color: #ffffff;
	           }
	           
           #contentWrapper #content .details a {
                background: #F0F5E1;
                padding: 1px;
                text-decoration: none;
                border-bottom: 1px solid #8BBB13;
                color: #56730B;
           }
       
               #contentWrapper #content .details a:hover {
                   background: #8BBB13;
                   color: #ffffff;
               }
	           
            /* wordpres specific */
            #contentWrapper #content .post .theContent .more-link {
                background: none;
                font-weight: bold;
            }

#content {
    float: left;
    width: 590px;
    padding-right: 25px;
}

    #content small a {
		background: #F0F5E1;
		padding: 1px;
		text-decoration: none;
		border-bottom: 1px solid #8BBB13;
		color: #56730B;
		line-height: 18px;
    }
    
        #content small a:hover {
			background: #8BBB13;
			color: #ffffff;
        }

    #content h3 {
        border-bottom: 1px solid #333333;
        margin-bottom: 15px;
        font-size: 22px;
        font-family: Georgia;
        letter-spacing: 1px;
    }
    
        #content h3 a {
            color: #000000;
            text-decoration: none;
        }
    
    #content h4 {
        margin-top: 15px;
        margin-bottom: 5px;
        font-size: 17px;
        font-family: Georgia;
        letter-spacing: 1px;
    }
    
    #content h5 {
        font-size: 16px;
    }
    
    #content p {
        margin-bottom: 10px;
        line-height: 1.61em;
    }
    
       #content p strong {
           color: #413F3F;
           white-space: nowrap;
       }
       
    #content ul {
       margin-top: 10px;
       margin-bottom: 10px;
       margin-left: 25px;
    }
    
       #content ul li {
           margin-top: 0.8em;
       }
       
           #content ul li:first-child {
               margin-top: 0em;
           }
    
    #content hr {
        margin-top: 5px;
        margin-bottom: 5px;
        border-bottom: 1px dashed #A2A2A2;
    }
    
#sidebar {
    width: 200px;
    margin-left: 635px;
    padding: 5px;
}

    #sidebar p {
        font-size: 12px;
    }
    
    #sidebar h4 {
        font-size: 15px;
        margin-bottom: 10px;
        font-family: Georgia;
        letter-spacing: 0.5px;
    }
    
    #sidebar ol {
        padding-left: 20px; 
    }
    
        #sidebar ol li {
            margin-top: 5px;
        }
        
            #sidebar ol li:first-child {
                margin: 0;
            }
    
    #sidebar ul {

    }
    
        #sidebar ul li {
            border-bottom: 1px solid #333333;
            list-style-type: none;
        }
        
            #sidebar ul li:first-child {
                border-top: 1px solid #333333;
            }
        
            #sidebar ul li a {
                padding: 5px;
                display: block;
                color: #51711A;
                background: #ffffff;
                text-decoration: none;
                border-bottom: 0;
            }
            
                #sidebar ul li a:hover {
                    background: #8BBB13;
                    color: #ffffff;
                }
                
                #sidebar ul li.active {
                    font-weight: bold;
                }
                
                    #sidebar ul li.active a {
                        cursor: default;
                        background: #F0F5E1;
                    }
                    
                       #sidebar ul li.active a:hover {
                           color: #51711A;
                       }

    .tags p {
        line-height: 21px;
        display: inline;
    }

    .innerBox a {
        background: #F0F5E1;
        padding: 2px;
        text-decoration: none;
        border-bottom: 1px solid #8BBB13;
        color: #56730B;
    }
    
        .innerBox a:hover {
            background: #8BBB13;
            color: #ffffff;
        }

#footer {
    text-align: right;
    color: #ABABAB;
    font-size: 11px;
    margin-top: 10px;
}

    #footer a {
        color: #ABABAB;
    }
    
        #footer a:hover {
            text-decoration: none;
        }

#border {
    padding: 10px;
    background: #ffffff; 
    border-left: 1px solid #D6D6D6; 
    border-right: 1px solid #D6D6D6; 
    border-bottom: 1px solid #D6D6D6;
}

#behind {
    position: absolute;
    top: 0px;
    right: 0px; 
}

#indexBoxLeft {
    width: 280px;
    float: left;
}

    #indexBoxLeft h4 {
        margin-top: 0px;
        text-align: left;
    }

#indexBoxRight {
    float: right;
    width: 280px;
}

    #indexBoxRight h4 {
        margin-top: 0px;
        text-align: left;
    }

.errors {
    padding: 5px;
    border: 2px solid #D90000;
    background: #FFF4F4;
    margin-bottom: 20px;    
}

.success {
    padding: 5px;
    border: 2px solid #8CBB13;
    background: #F3FFD4;
    margin-bottom: 20px;    
}

    .success p {
        margin-bottom: 0px;
        padding-bottom: 0px;
    }  

/* ref boxes */
.refBox {
    height: 180px;
    margin-bottom: 10px;
}

    .refBox .logo {
        width: 260px;
        height: 150px;
        float: left;
        border-right: 1px solid #efefef;
        text-align: center;
        vertical-align: middle;
        line-height: 150px;
    }
    
    .refBox .content {
        margin-left: 280px;
    }

/* forms */
.labelBox {
    margin-bottom: 10px;    
}

    .labelBox .floatLabel {
        float: left;
        width: 170px;
        cursor: pointer;
    }
    
    .labelBox .required {
        font-weight: bold;
    }
    
label {
    cursor: pointer;
}

.inputText {
    background: url(/wp-content/themes/bescript/images/form-input-bg.gif);
    background-repeat: repeat-x;
    border: 1px solid #bbbbbb;
    padding: 2px;
}

    .inputText:focus {
        border: 1px solid #8C8C8C;
    }
    
    .errorField {
        border: 1px solid #D90000;
        background: #FFF4F4;    
    }
    
.inputSubmit, .inputButton {
    margin-left: 170px;
    background-image:url(/wp-content/themes/bescript/images/form-button-bg.png);
    border-color: #000000 #808080 #808080 #000000;
    border-style: solid;
    border-width: 1px;
    cursor: pointer;
    padding: 2px;   
}

.inputSelect {
    background-image: url(/wp-content/themes/bescript/images/form-input-bg.gif);
    background-repeat: repeat-x;
    background-color: transparent;
    border: 1px solid #bbbbbb;
    padding: 2px;
}

.noMargin {
    margin: 0;  
}

.imageBorder {
    padding: 2px;
    border: 1px dashed #8CBB13;
}

/* the holy clearfix */
.clearfix:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

.clearit {
    clear: both;
    visibility: hidden;
}

/* menu */
#menu{margin-top:10px;height:30px;background:#689619;background-image:url(http://www.bescript.de/images/menuBg.png);line-height:30px;}
#menuShadow{background-image:url(http://www.bescript.de/images/menu-shadow.png);background-repeat:no-repeat;width:850px;height:20px;}

.navigation {padding:0; margin:0; list-style:none; z-index:1000; font-family:arial, verdana, sans-serif; }
.navigation li {float:left; margin-right:1px;}
.navigation li a {display:block; float:left; height:20px; line-height:20px; color:#ffffff; letter-spacing: -0.2px; text-decoration:none; font-size:14px; font-weight: bold; padding: 5px; padding-left: 18px; padding-right: 18px }
.navigation table {border-collapse:collapse; width:0; height:0; position:absolute; top:-6px; left:0;}
.navigation li a:hover {z-index:200; position:relative;color:#ffffff;}
.navigation li:hover {position:relative; z-index:200;background-image:url(/wp-content/themes/bescript/images/li_hover_tl.png);background-position:top left;}
.navigation li:hover > a {color:#fff; background-image:url(/wp-content/themes/bescript/images/a_hover_tr.png);background-position:top right;background-repeat:no-repeat}
.navigation li:hover > a.sub {color:#fff; background-color:#689619;}
.navigation li.current a {color:#fff; background:#689619;}
.navigation li a.sub {background: #333 url(/wp-content/themes/bescript/images/right-arrow.gif) no-repeat right center;}
.navigation li.current a.sub {color:#fff; background:#840 url(/wp-content/themes/bescript/images/right-arrow.gif) no-repeat right center;;}
.navigation :hover ul {left:0; top:30px; width:180px;}
.navigation ul, .navigation :hover ul ul {position:absolute; left:-9999px; top:-9999px; width:0; height:0; margin:0; padding:0; list-style:none;}
.navigation :hover ul :hover ul {left:206px; top:-1px; white-space:nowrap; width:180px; z-index:200; height:auto;}
.navigation :hover ul li {margin:0;}
.navigation :hover ul li a {width:200px; padding:3px; text-indent:5px; background:#588711; font-weight: normal; color:#ffffff; height:20px; line-height:20px;text-align: left}
.navigation :hover ul li a.fly {background:#333 url(/wp-content/themes/bescript/images/right-arrow.gif) no-repeat right center;}
.navigation :hover ul :hover {background-color:#6a9819; color:#e1ead1;}
.navigation :hover ul :hover a.fly {background-color:#689619; color:#fff;}
.navigation :hover ul li.currentsub a {background:#840; color:#fff;}
.navigation :hover ul li.currentsub a.fly {background:#689619 url(/wp-content/themes/bescript/images/right-arrow.gif) no-repeat right center; color:#ffffff;}
.navigation :hover ul :hover ul li a {width:190px; padding:3px; text-indent:10px; background:#588711; color:#ffffff;}
.navigation :hover ul :hover ul :hover {background-color:#689619; color:#e1ead1;}
.navigation :hover ul :hover ul li.currentfly a, .navigation :hover ul :hover ul li.currentfly a:hover {background:#689619; color:#ffffff;}
.navigation .hide {display: none;}

/* wordpress */
.alignleft {
    float: left;	
}

.alignright {
    float: right;	
}

.navigation a {
    color: #000000;
}

div#contactFormButton span { display: block; }
div#contactFormButton {background: #F1FFCC;border-top: 1px dotted #8CBB13;border-right: 1px dotted #8CBB13;border-bottom: 1px dotted #8CBB13;cursor: pointer;color: #346023;position: fixed;top: 190px;left: 0px;margin: 0 auto;width: 20px;padding: 10px 2px 10px 0;text-align: center;font-weight: bold;}
div#contactFormButton a { color: #346023 }
div#contactFormButton:hover {background: #8CBB13;color: #ffffff;}
div#contactFormButton:hover a {color: #ffffff;}